@cheerlyai/agentlib-widget 0.1.0

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/widget.js ADDED
@@ -0,0 +1,427 @@
1
+ "use strict";(()=>{var wD=Object.create;var Wh=Object.defineProperty;var ID=Object.getOwnPropertyDescriptor;var AD=Object.getOwnPropertyNames;var kD=Object.getPrototypeOf,CD=Object.prototype.hasOwnProperty;var Pt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Tn=(e,t)=>{for(var n in t)Wh(e,n,{get:t[n],enumerable:!0})},OD=(e,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of AD(t))!CD.call(e,r)&&r!==n&&Wh(e,r,{get:()=>t[r],enumerable:!(a=ID(t,r))||a.enumerable});return e};var ct=(e,t,n)=>(n=e!=null?wD(kD(e)):{},OD(t||!e||!e.__esModule?Wh(n,"default",{value:e,enumerable:!0}):n,e));var OS=Pt(et=>{"use strict";function rg(e,t){var n=e.length;e.push(t);e:for(;0<n;){var a=n-1>>>1,r=e[a];if(0<_d(r,t))e[a]=t,e[n]=r,n=a;else break e}}function yr(e){return e.length===0?null:e[0]}function xd(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var a=0,r=e.length,i=r>>>1;a<i;){var o=2*(a+1)-1,s=e[o],u=o+1,l=e[u];if(0>_d(s,n))u<r&&0>_d(l,s)?(e[a]=l,e[u]=n,a=u):(e[a]=s,e[o]=n,a=o);else if(u<r&&0>_d(l,n))e[a]=l,e[u]=n,a=u;else break e}}return t}function _d(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}et.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(TS=performance,et.unstable_now=function(){return TS.now()}):(eg=Date,xS=eg.now(),et.unstable_now=function(){return eg.now()-xS});var TS,eg,xS,Fr=[],wa=[],ND=1,zn=null,zt=3,ag=!1,Lu=!1,Pu=!1,ig=!1,wS=typeof setTimeout=="function"?setTimeout:null,IS=typeof clearTimeout=="function"?clearTimeout:null,ES=typeof setImmediate<"u"?setImmediate:null;function Td(e){for(var t=yr(wa);t!==null;){if(t.callback===null)xd(wa);else if(t.startTime<=e)xd(wa),t.sortIndex=t.expirationTime,rg(Fr,t);else break;t=yr(wa)}}function og(e){if(Pu=!1,Td(e),!Lu)if(yr(Fr)!==null)Lu=!0,Mo||(Mo=!0,Ro());else{var t=yr(wa);t!==null&&sg(og,t.startTime-e)}}var Mo=!1,zu=-1,AS=5,kS=-1;function CS(){return ig?!0:!(et.unstable_now()-kS<AS)}function tg(){if(ig=!1,Mo){var e=et.unstable_now();kS=e;var t=!0;try{e:{Lu=!1,Pu&&(Pu=!1,IS(zu),zu=-1),ag=!0;var n=zt;try{t:{for(Td(e),zn=yr(Fr);zn!==null&&!(zn.expirationTime>e&&CS());){var a=zn.callback;if(typeof a=="function"){zn.callback=null,zt=zn.priorityLevel;var r=a(zn.expirationTime<=e);if(e=et.unstable_now(),typeof r=="function"){zn.callback=r,Td(e),t=!0;break t}zn===yr(Fr)&&xd(Fr),Td(e)}else xd(Fr);zn=yr(Fr)}if(zn!==null)t=!0;else{var i=yr(wa);i!==null&&sg(og,i.startTime-e),t=!1}}break e}finally{zn=null,zt=n,ag=!1}t=void 0}}finally{t?Ro():Mo=!1}}}var Ro;typeof ES=="function"?Ro=function(){ES(tg)}:typeof MessageChannel<"u"?(ng=new MessageChannel,SS=ng.port2,ng.port1.onmessage=tg,Ro=function(){SS.postMessage(null)}):Ro=function(){wS(tg,0)};var ng,SS;function sg(e,t){zu=wS(function(){e(et.unstable_now())},t)}et.unstable_IdlePriority=5;et.unstable_ImmediatePriority=1;et.unstable_LowPriority=4;et.unstable_NormalPriority=3;et.unstable_Profiling=null;et.unstable_UserBlockingPriority=2;et.unstable_cancelCallback=function(e){e.callback=null};et.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"):AS=0<e?Math.floor(1e3/e):5};et.unstable_getCurrentPriorityLevel=function(){return zt};et.unstable_next=function(e){switch(zt){case 1:case 2:case 3:var t=3;break;default:t=zt}var n=zt;zt=t;try{return e()}finally{zt=n}};et.unstable_requestPaint=function(){ig=!0};et.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=zt;zt=e;try{return t()}finally{zt=n}};et.unstable_scheduleCallback=function(e,t,n){var a=et.unstable_now();switch(typeof n=="object"&&n!==null?(n=n.delay,n=typeof n=="number"&&0<n?a+n:a):n=a,e){case 1:var r=-1;break;case 2:r=250;break;case 5:r=1073741823;break;case 4:r=1e4;break;default:r=5e3}return r=n+r,e={id:ND++,callback:t,priorityLevel:e,startTime:n,expirationTime:r,sortIndex:-1},n>a?(e.sortIndex=n,rg(wa,e),yr(Fr)===null&&e===yr(wa)&&(Pu?(IS(zu),zu=-1):Pu=!0,sg(og,n-a))):(e.sortIndex=r,rg(Fr,e),Lu||ag||(Lu=!0,Mo||(Mo=!0,Ro()))),e};et.unstable_shouldYield=CS;et.unstable_wrapCallback=function(e){var t=zt;return function(){var n=zt;zt=t;try{return e.apply(this,arguments)}finally{zt=n}}}});var RS=Pt((mG,NS)=>{"use strict";NS.exports=OS()});var HS=Pt(he=>{"use strict";var cg=Symbol.for("react.transitional.element"),RD=Symbol.for("react.portal"),MD=Symbol.for("react.fragment"),DD=Symbol.for("react.strict_mode"),$D=Symbol.for("react.profiler"),LD=Symbol.for("react.consumer"),PD=Symbol.for("react.context"),zD=Symbol.for("react.forward_ref"),UD=Symbol.for("react.suspense"),jD=Symbol.for("react.memo"),PS=Symbol.for("react.lazy"),BD=Symbol.for("react.activity"),MS=Symbol.iterator;function FD(e){return e===null||typeof e!="object"?null:(e=MS&&e[MS]||e["@@iterator"],typeof e=="function"?e:null)}var zS={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},US=Object.assign,jS={};function $o(e,t,n){this.props=e,this.context=t,this.refs=jS,this.updater=n||zS}$o.prototype.isReactComponent={};$o.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};$o.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function BS(){}BS.prototype=$o.prototype;function dg(e,t,n){this.props=e,this.context=t,this.refs=jS,this.updater=n||zS}var fg=dg.prototype=new BS;fg.constructor=dg;US(fg,$o.prototype);fg.isPureReactComponent=!0;var DS=Array.isArray;function lg(){}var Ke={H:null,A:null,T:null,S:null},FS=Object.prototype.hasOwnProperty;function pg(e,t,n){var a=n.ref;return{$$typeof:cg,type:e,key:t,ref:a!==void 0?a:null,props:n}}function HD(e,t){return pg(e.type,t,e.props)}function mg(e){return typeof e=="object"&&e!==null&&e.$$typeof===cg}function ZD(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var $S=/\/+/g;function ug(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ZD(""+e.key):t.toString(36)}function qD(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(lg,lg):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function Do(e,t,n,a,r){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"bigint":case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case cg:case RD:o=!0;break;case PS:return o=e._init,Do(o(e._payload),t,n,a,r)}}if(o)return r=r(e),o=a===""?"."+ug(e,0):a,DS(r)?(n="",o!=null&&(n=o.replace($S,"$&/")+"/"),Do(r,t,n,"",function(l){return l})):r!=null&&(mg(r)&&(r=HD(r,n+(r.key==null||e&&e.key===r.key?"":(""+r.key).replace($S,"$&/")+"/")+o)),t.push(r)),1;o=0;var s=a===""?".":a+":";if(DS(e))for(var u=0;u<e.length;u++)a=e[u],i=s+ug(a,u),o+=Do(a,t,n,i,r);else if(u=FD(e),typeof u=="function")for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,i=s+ug(a,u++),o+=Do(a,t,n,i,r);else if(i==="object"){if(typeof e.then=="function")return Do(qD(e),t,n,a,r);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return o}function Ed(e,t,n){if(e==null)return e;var a=[],r=0;return Do(e,a,"","",function(i){return t.call(n,i,r++)}),a}function VD(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var LS=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},YD={map:Ed,forEach:function(e,t,n){Ed(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ed(e,function(){t++}),t},toArray:function(e){return Ed(e,function(t){return t})||[]},only:function(e){if(!mg(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};he.Activity=BD;he.Children=YD;he.Component=$o;he.Fragment=MD;he.Profiler=$D;he.PureComponent=dg;he.StrictMode=DD;he.Suspense=UD;he.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ke;he.__COMPILER_RUNTIME={__proto__:null,c:function(e){return Ke.H.useMemoCache(e)}};he.cache=function(e){return function(){return e.apply(null,arguments)}};he.cacheSignal=function(){return null};he.cloneElement=function(e,t,n){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var a=US({},e.props),r=e.key;if(t!=null)for(i in t.key!==void 0&&(r=""+t.key),t)!FS.call(t,i)||i==="key"||i==="__self"||i==="__source"||i==="ref"&&t.ref===void 0||(a[i]=t[i]);var i=arguments.length-2;if(i===1)a.children=n;else if(1<i){for(var o=Array(i),s=0;s<i;s++)o[s]=arguments[s+2];a.children=o}return pg(e.type,r,a)};he.createContext=function(e){return e={$$typeof:PD,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:LD,_context:e},e};he.createElement=function(e,t,n){var a,r={},i=null;if(t!=null)for(a in t.key!==void 0&&(i=""+t.key),t)FS.call(t,a)&&a!=="key"&&a!=="__self"&&a!=="__source"&&(r[a]=t[a]);var o=arguments.length-2;if(o===1)r.children=n;else if(1<o){for(var s=Array(o),u=0;u<o;u++)s[u]=arguments[u+2];r.children=s}if(e&&e.defaultProps)for(a in o=e.defaultProps,o)r[a]===void 0&&(r[a]=o[a]);return pg(e,i,r)};he.createRef=function(){return{current:null}};he.forwardRef=function(e){return{$$typeof:zD,render:e}};he.isValidElement=mg;he.lazy=function(e){return{$$typeof:PS,_payload:{_status:-1,_result:e},_init:VD}};he.memo=function(e,t){return{$$typeof:jD,type:e,compare:t===void 0?null:t}};he.startTransition=function(e){var t=Ke.T,n={};Ke.T=n;try{var a=e(),r=Ke.S;r!==null&&r(n,a),typeof a=="object"&&a!==null&&typeof a.then=="function"&&a.then(lg,LS)}catch(i){LS(i)}finally{t!==null&&n.types!==null&&(t.types=n.types),Ke.T=t}};he.unstable_useCacheRefresh=function(){return Ke.H.useCacheRefresh()};he.use=function(e){return Ke.H.use(e)};he.useActionState=function(e,t,n){return Ke.H.useActionState(e,t,n)};he.useCallback=function(e,t){return Ke.H.useCallback(e,t)};he.useContext=function(e){return Ke.H.useContext(e)};he.useDebugValue=function(){};he.useDeferredValue=function(e,t){return Ke.H.useDeferredValue(e,t)};he.useEffect=function(e,t){return Ke.H.useEffect(e,t)};he.useEffectEvent=function(e){return Ke.H.useEffectEvent(e)};he.useId=function(){return Ke.H.useId()};he.useImperativeHandle=function(e,t,n){return Ke.H.useImperativeHandle(e,t,n)};he.useInsertionEffect=function(e,t){return Ke.H.useInsertionEffect(e,t)};he.useLayoutEffect=function(e,t){return Ke.H.useLayoutEffect(e,t)};he.useMemo=function(e,t){return Ke.H.useMemo(e,t)};he.useOptimistic=function(e,t){return Ke.H.useOptimistic(e,t)};he.useReducer=function(e,t,n){return Ke.H.useReducer(e,t,n)};he.useRef=function(e){return Ke.H.useRef(e)};he.useState=function(e){return Ke.H.useState(e)};he.useSyncExternalStore=function(e,t,n){return Ke.H.useSyncExternalStore(e,t,n)};he.useTransition=function(){return Ke.H.useTransition()};he.version="19.2.8"});var xn=Pt((gG,ZS)=>{"use strict";ZS.exports=HS()});var VS=Pt(Vt=>{"use strict";var GD=xn();function qS(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}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."}function Ia(){}var qt={d:{f:Ia,r:function(){throw Error(qS(522))},D:Ia,C:Ia,L:Ia,m:Ia,X:Ia,S:Ia,M:Ia},p:0,findDOMNode:null},KD=Symbol.for("react.portal");function JD(e,t,n){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:KD,key:a==null?null:""+a,children:e,containerInfo:t,implementation:n}}var Uu=GD.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Sd(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}Vt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=qt;Vt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(qS(299));return JD(e,t,null,n)};Vt.flushSync=function(e){var t=Uu.T,n=qt.p;try{if(Uu.T=null,qt.p=2,e)return e()}finally{Uu.T=t,qt.p=n,qt.d.f()}};Vt.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,qt.d.C(e,t))};Vt.prefetchDNS=function(e){typeof e=="string"&&qt.d.D(e)};Vt.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var n=t.as,a=Sd(n,t.crossOrigin),r=typeof t.integrity=="string"?t.integrity:void 0,i=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;n==="style"?qt.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:a,integrity:r,fetchPriority:i}):n==="script"&&qt.d.X(e,{crossOrigin:a,integrity:r,fetchPriority:i,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};Vt.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var n=Sd(t.as,t.crossOrigin);qt.d.M(e,{crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&qt.d.M(e)};Vt.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var n=t.as,a=Sd(n,t.crossOrigin);qt.d.L(e,n,{crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};Vt.preloadModule=function(e,t){if(typeof e=="string")if(t){var n=Sd(t.as,t.crossOrigin);qt.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else qt.d.m(e)};Vt.requestFormReset=function(e){qt.d.r(e)};Vt.unstable_batchedUpdates=function(e,t){return e(t)};Vt.useFormState=function(e,t,n){return Uu.H.useFormState(e,t,n)};Vt.useFormStatus=function(){return Uu.H.useHostTransitionStatus()};Vt.version="19.2.8"});var KS=Pt((yG,GS)=>{"use strict";function YS(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(YS)}catch(e){console.error(e)}}YS(),GS.exports=VS()});var sk=Pt(Jf=>{"use strict";var Tt=RS(),Tw=xn(),XD=KS();function U(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}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."}function xw(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function wl(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Ew(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Sw(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function JS(e){if(wl(e)!==e)throw Error(U(188))}function QD(e){var t=e.alternate;if(!t){if(t=wl(e),t===null)throw Error(U(188));return t!==e?null:e}for(var n=e,a=t;;){var r=n.return;if(r===null)break;var i=r.alternate;if(i===null){if(a=r.return,a!==null){n=a;continue}break}if(r.child===i.child){for(i=r.child;i;){if(i===n)return JS(r),e;if(i===a)return JS(r),t;i=i.sibling}throw Error(U(188))}if(n.return!==a.return)n=r,a=i;else{for(var o=!1,s=r.child;s;){if(s===n){o=!0,n=r,a=i;break}if(s===a){o=!0,a=r,n=i;break}s=s.sibling}if(!o){for(s=i.child;s;){if(s===n){o=!0,n=i,a=r;break}if(s===a){o=!0,a=i,n=r;break}s=s.sibling}if(!o)throw Error(U(189))}}if(n.alternate!==a)throw Error(U(190))}if(n.tag!==3)throw Error(U(188));return n.stateNode.current===n?e:t}function ww(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=ww(e),t!==null)return t;e=e.sibling}return null}var Qe=Object.assign,WD=Symbol.for("react.element"),wd=Symbol.for("react.transitional.element"),Yu=Symbol.for("react.portal"),Bo=Symbol.for("react.fragment"),Iw=Symbol.for("react.strict_mode"),Gg=Symbol.for("react.profiler"),Aw=Symbol.for("react.consumer"),Jr=Symbol.for("react.context"),H0=Symbol.for("react.forward_ref"),Kg=Symbol.for("react.suspense"),Jg=Symbol.for("react.suspense_list"),Z0=Symbol.for("react.memo"),Aa=Symbol.for("react.lazy"),Xg=Symbol.for("react.activity"),e$=Symbol.for("react.memo_cache_sentinel"),XS=Symbol.iterator;function ju(e){return e===null||typeof e!="object"?null:(e=XS&&e[XS]||e["@@iterator"],typeof e=="function"?e:null)}var t$=Symbol.for("react.client.reference");function Qg(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===t$?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Bo:return"Fragment";case Gg:return"Profiler";case Iw:return"StrictMode";case Kg:return"Suspense";case Jg:return"SuspenseList";case Xg:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case Yu:return"Portal";case Jr:return e.displayName||"Context";case Aw:return(e._context.displayName||"Context")+".Consumer";case H0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Z0:return t=e.displayName||null,t!==null?t:Qg(e.type)||"Memo";case Aa:t=e._payload,e=e._init;try{return Qg(e(t))}catch{}}return null}var Gu=Array.isArray,de=Tw.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Me=XD.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$i={pending:!1,data:null,method:null,action:null},Wg=[],Fo=-1;function Er(e){return{current:e}}function It(e){0>Fo||(e.current=Wg[Fo],Wg[Fo]=null,Fo--)}function Ve(e,t){Fo++,Wg[Fo]=e.current,e.current=t}var xr=Er(null),dl=Er(null),za=Er(null),af=Er(null);function of(e,t){switch(Ve(za,t),Ve(dl,e),Ve(xr,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?aw(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=aw(t),e=YA(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}It(xr),Ve(xr,e)}function os(){It(xr),It(dl),It(za)}function e0(e){e.memoizedState!==null&&Ve(af,e);var t=xr.current,n=YA(t,e.type);t!==n&&(Ve(dl,e),Ve(xr,n))}function sf(e){dl.current===e&&(It(xr),It(dl)),af.current===e&&(It(af),xl._currentValue=$i)}var hg,QS;function Ni(e){if(hg===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);hg=t&&t[1]||"",QS=-1<n.stack.indexOf(`
2
+ at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
3
+ `+hg+e+QS}var gg=!1;function vg(e,t){if(!e||gg)return"";gg=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var f=function(){throw Error()};if(Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(p){var m=p}Reflect.construct(e,[],f)}else{try{f.call()}catch(p){m=p}e.call(f.prototype)}}else{try{throw Error()}catch(p){m=p}(f=e())&&typeof f.catch=="function"&&f.catch(function(){})}}catch(p){if(p&&m&&typeof p.stack=="string")return[p.stack,m.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=a.DetermineComponentFrameRoot(),o=i[0],s=i[1];if(o&&s){var u=o.split(`
4
+ `),l=s.split(`
5
+ `);for(r=a=0;a<u.length&&!u[a].includes("DetermineComponentFrameRoot");)a++;for(;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;if(a===u.length||r===l.length)for(a=u.length-1,r=l.length-1;1<=a&&0<=r&&u[a]!==l[r];)r--;for(;1<=a&&0<=r;a--,r--)if(u[a]!==l[r]){if(a!==1||r!==1)do if(a--,r--,0>r||u[a]!==l[r]){var c=`
6
+ `+u[a].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=a&&0<=r);break}}}finally{gg=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Ni(n):""}function n$(e,t){switch(e.tag){case 26:case 27:case 5:return Ni(e.type);case 16:return Ni("Lazy");case 13:return e.child!==t&&t!==null?Ni("Suspense Fallback"):Ni("Suspense");case 19:return Ni("SuspenseList");case 0:case 15:return vg(e.type,!1);case 11:return vg(e.type.render,!1);case 1:return vg(e.type,!0);case 31:return Ni("Activity");default:return""}}function WS(e){try{var t="",n=null;do t+=n$(e,n),n=e,e=e.return;while(e);return t}catch(a){return`
7
+ Error generating stack: `+a.message+`
8
+ `+a.stack}}var t0=Object.prototype.hasOwnProperty,q0=Tt.unstable_scheduleCallback,yg=Tt.unstable_cancelCallback,r$=Tt.unstable_shouldYield,a$=Tt.unstable_requestPaint,An=Tt.unstable_now,i$=Tt.unstable_getCurrentPriorityLevel,kw=Tt.unstable_ImmediatePriority,Cw=Tt.unstable_UserBlockingPriority,uf=Tt.unstable_NormalPriority,o$=Tt.unstable_LowPriority,Ow=Tt.unstable_IdlePriority,s$=Tt.log,u$=Tt.unstable_setDisableYieldValue,Il=null,kn=null;function Ma(e){if(typeof s$=="function"&&u$(e),kn&&typeof kn.setStrictMode=="function")try{kn.setStrictMode(Il,e)}catch{}}var Cn=Math.clz32?Math.clz32:d$,l$=Math.log,c$=Math.LN2;function d$(e){return e>>>=0,e===0?32:31-(l$(e)/c$|0)|0}var Id=256,Ad=262144,kd=4194304;function Ri(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Df(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=a&134217727;return s!==0?(a=s&~i,a!==0?r=Ri(a):(o&=s,o!==0?r=Ri(o):n||(n=s&~e,n!==0&&(r=Ri(n))))):(s=a&~i,s!==0?r=Ri(s):o!==0?r=Ri(o):n||(n=a&~e,n!==0&&(r=Ri(n)))),r===0?0:t!==0&&t!==r&&(t&i)===0&&(i=r&-r,n=t&-t,i>=n||i===32&&(n&4194048)!==0)?t:r}function Al(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function f$(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Nw(){var e=kd;return kd<<=1,(kd&62914560)===0&&(kd=4194304),e}function bg(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function kl(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function p$(e,t,n,a,r,i){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,u=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var c=31-Cn(n),f=1<<c;s[c]=0,u[c]=-1;var m=l[c];if(m!==null)for(l[c]=null,c=0;c<m.length;c++){var p=m[c];p!==null&&(p.lane&=-536870913)}n&=~f}a!==0&&Rw(e,a,0),i!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=i&~(o&~t))}function Rw(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-Cn(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&261930}function Mw(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-Cn(n),r=1<<a;r&t|e[a]&t&&(e[a]|=t),n&=~r}}function Dw(e,t){var n=t&-t;return n=(n&42)!==0?1:V0(n),(n&(e.suspendedLanes|t))!==0?0:n}function V0(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Y0(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function $w(){var e=Me.p;return e!==0?e:(e=window.event,e===void 0?32:ak(e.type))}function e2(e,t){var n=Me.p;try{return Me.p=e,t()}finally{Me.p=n}}var Xa=Math.random().toString(36).slice(2),Rt="__reactFiber$"+Xa,cn="__reactProps$"+Xa,vs="__reactContainer$"+Xa,n0="__reactEvents$"+Xa,m$="__reactListeners$"+Xa,h$="__reactHandles$"+Xa,t2="__reactResources$"+Xa,Cl="__reactMarker$"+Xa;function G0(e){delete e[Rt],delete e[cn],delete e[n0],delete e[m$],delete e[h$]}function Ho(e){var t=e[Rt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[vs]||n[Rt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=lw(e);e!==null;){if(n=e[Rt])return n;e=lw(e)}return t}e=n,n=e.parentNode}return null}function ys(e){if(e=e[Rt]||e[vs]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ku(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(U(33))}function Wo(e){var t=e[t2];return t||(t=e[t2]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function wt(e){e[Cl]=!0}var Lw=new Set,Pw={};function qi(e,t){ss(e,t),ss(e+"Capture",t)}function ss(e,t){for(Pw[e]=t,e=0;e<t.length;e++)Lw.add(t[e])}var g$=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),n2={},r2={};function v$(e){return t0.call(r2,e)?!0:t0.call(n2,e)?!1:g$.test(e)?r2[e]=!0:(n2[e]=!0,!1)}function Hd(e,t,n){if(v$(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function Cd(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function Hr(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+a)}}function jn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function zw(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function y$(e,t,n){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var r=a.get,i=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(o){n=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(o){n=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function r0(e){if(!e._valueTracker){var t=zw(e)?"checked":"value";e._valueTracker=y$(e,t,""+e[t])}}function Uw(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=zw(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function lf(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var b$=/[\n"\\]/g;function Hn(e){return e.replace(b$,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function a0(e,t,n,a,r,i,o,s){e.name="",o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?e.type=o:e.removeAttribute("type"),t!=null?o==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+jn(t)):e.value!==""+jn(t)&&(e.value=""+jn(t)):o!=="submit"&&o!=="reset"||e.removeAttribute("value"),t!=null?i0(e,o,jn(t)):n!=null?i0(e,o,jn(n)):a!=null&&e.removeAttribute("value"),r==null&&i!=null&&(e.defaultChecked=!!i),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.name=""+jn(s):e.removeAttribute("name")}function jw(e,t,n,a,r,i,o,s){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||n!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){r0(e);return}n=n!=null?""+jn(n):"",t=t!=null?""+jn(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}a=a??r,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=s?e.checked:!!a,e.defaultChecked=!!a,o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(e.name=o),r0(e)}function i0(e,t,n){t==="number"&&lf(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function es(e,t,n,a){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&a&&(e[n].defaultSelected=!0)}else{for(n=""+jn(n),t=null,r=0;r<e.length;r++){if(e[r].value===n){e[r].selected=!0,a&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function Bw(e,t,n){if(t!=null&&(t=""+jn(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+jn(n):""}function Fw(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error(U(92));if(Gu(a)){if(1<a.length)throw Error(U(93));a=a[0]}n=a}n==null&&(n=""),t=n}n=jn(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a),r0(e)}function us(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var _$=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function a2(e,t,n){var a=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!="number"||n===0||_$.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Hw(e,t,n){if(t!=null&&typeof t!="object")throw Error(U(62));if(e=e.style,n!=null){for(var a in n)!n.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var r in t)a=t[r],t.hasOwnProperty(r)&&n[r]!==a&&a2(e,r,a)}else for(var i in t)t.hasOwnProperty(i)&&a2(e,i,t[i])}function K0(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var T$=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),x$=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Zd(e){return x$.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Xr(){}var o0=null;function J0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Zo=null,ts=null;function i2(e){var t=ys(e);if(t&&(e=t.stateNode)){var n=e[cn]||null;e:switch(e=t.stateNode,t.type){case"input":if(a0(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Hn(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var r=a[cn]||null;if(!r)throw Error(U(90));a0(a,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&Uw(a)}break e;case"textarea":Bw(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&es(e,!!n.multiple,t,!1)}}}var _g=!1;function Zw(e,t,n){if(_g)return e(t,n);_g=!0;try{var a=e(t);return a}finally{if(_g=!1,(Zo!==null||ts!==null)&&(Vf(),Zo&&(t=Zo,e=ts,ts=Zo=null,i2(t),e)))for(t=0;t<e.length;t++)i2(e[t])}}function fl(e,t){var n=e.stateNode;if(n===null)return null;var a=n[cn]||null;if(a===null)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)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(U(231,t,typeof n));return n}var na=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),s0=!1;if(na)try{Lo={},Object.defineProperty(Lo,"passive",{get:function(){s0=!0}}),window.addEventListener("test",Lo,Lo),window.removeEventListener("test",Lo,Lo)}catch{s0=!1}var Lo,Da=null,X0=null,qd=null;function qw(){if(qd)return qd;var e,t=X0,n=t.length,a,r="value"in Da?Da.value:Da.textContent,i=r.length;for(e=0;e<n&&t[e]===r[e];e++);var o=n-e;for(a=1;a<=o&&t[n-a]===r[i-a];a++);return qd=r.slice(e,1<a?1-a:void 0)}function Vd(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Od(){return!0}function o2(){return!1}function dn(e){function t(n,a,r,i,o){this._reactName=n,this._targetInst=r,this.type=a,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(i):i[s]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Od:o2,this.isPropagationStopped=o2,this}return Qe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Od)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Od)},persist:function(){},isPersistent:Od}),t}var Vi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$f=dn(Vi),Ol=Qe({},Vi,{view:0,detail:0}),E$=dn(Ol),Tg,xg,Bu,Lf=Qe({},Ol,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Q0,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Bu&&(Bu&&e.type==="mousemove"?(Tg=e.screenX-Bu.screenX,xg=e.screenY-Bu.screenY):xg=Tg=0,Bu=e),Tg)},movementY:function(e){return"movementY"in e?e.movementY:xg}}),s2=dn(Lf),S$=Qe({},Lf,{dataTransfer:0}),w$=dn(S$),I$=Qe({},Ol,{relatedTarget:0}),Eg=dn(I$),A$=Qe({},Vi,{animationName:0,elapsedTime:0,pseudoElement:0}),k$=dn(A$),C$=Qe({},Vi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),O$=dn(C$),N$=Qe({},Vi,{data:0}),u2=dn(N$),R$={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},M$={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"},D$={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function $$(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=D$[e])?!!t[e]:!1}function Q0(){return $$}var L$=Qe({},Ol,{key:function(e){if(e.key){var t=R$[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Vd(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?M$[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Q0,charCode:function(e){return e.type==="keypress"?Vd(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Vd(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),P$=dn(L$),z$=Qe({},Lf,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),l2=dn(z$),U$=Qe({},Ol,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Q0}),j$=dn(U$),B$=Qe({},Vi,{propertyName:0,elapsedTime:0,pseudoElement:0}),F$=dn(B$),H$=Qe({},Lf,{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}),Z$=dn(H$),q$=Qe({},Vi,{newState:0,oldState:0}),V$=dn(q$),Y$=[9,13,27,32],W0=na&&"CompositionEvent"in window,Qu=null;na&&"documentMode"in document&&(Qu=document.documentMode);var G$=na&&"TextEvent"in window&&!Qu,Vw=na&&(!W0||Qu&&8<Qu&&11>=Qu),c2=" ",d2=!1;function Yw(e,t){switch(e){case"keyup":return Y$.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gw(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var qo=!1;function K$(e,t){switch(e){case"compositionend":return Gw(t);case"keypress":return t.which!==32?null:(d2=!0,c2);case"textInput":return e=t.data,e===c2&&d2?null:e;default:return null}}function J$(e,t){if(qo)return e==="compositionend"||!W0&&Yw(e,t)?(e=qw(),qd=X0=Da=null,qo=!1,e):null;switch(e){case"paste":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 Vw&&t.locale!=="ko"?null:t.data;default:return null}}var X$={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 f2(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!X$[e.type]:t==="textarea"}function Kw(e,t,n,a){Zo?ts?ts.push(a):ts=[a]:Zo=a,t=Af(t,"onChange"),0<t.length&&(n=new $f("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var Wu=null,pl=null;function Q$(e){ZA(e,0)}function Pf(e){var t=Ku(e);if(Uw(t))return e}function p2(e,t){if(e==="change")return t}var Jw=!1;na&&(na?(Rd="oninput"in document,Rd||(Sg=document.createElement("div"),Sg.setAttribute("oninput","return;"),Rd=typeof Sg.oninput=="function"),Nd=Rd):Nd=!1,Jw=Nd&&(!document.documentMode||9<document.documentMode));var Nd,Rd,Sg;function m2(){Wu&&(Wu.detachEvent("onpropertychange",Xw),pl=Wu=null)}function Xw(e){if(e.propertyName==="value"&&Pf(pl)){var t=[];Kw(t,pl,e,J0(e)),Zw(Q$,t)}}function W$(e,t,n){e==="focusin"?(m2(),Wu=t,pl=n,Wu.attachEvent("onpropertychange",Xw)):e==="focusout"&&m2()}function eL(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Pf(pl)}function tL(e,t){if(e==="click")return Pf(t)}function nL(e,t){if(e==="input"||e==="change")return Pf(t)}function rL(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Nn=typeof Object.is=="function"?Object.is:rL;function ml(e,t){if(Nn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var r=n[a];if(!t0.call(t,r)||!Nn(e[r],t[r]))return!1}return!0}function h2(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function g2(e,t){var n=h2(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=h2(n)}}function Qw(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Qw(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ww(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=lf(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=lf(e.document)}return t}function ev(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var aL=na&&"documentMode"in document&&11>=document.documentMode,Vo=null,u0=null,el=null,l0=!1;function v2(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;l0||Vo==null||Vo!==lf(a)||(a=Vo,"selectionStart"in a&&ev(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),el&&ml(el,a)||(el=a,a=Af(u0,"onSelect"),0<a.length&&(t=new $f("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=Vo)))}function Oi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Yo={animationend:Oi("Animation","AnimationEnd"),animationiteration:Oi("Animation","AnimationIteration"),animationstart:Oi("Animation","AnimationStart"),transitionrun:Oi("Transition","TransitionRun"),transitionstart:Oi("Transition","TransitionStart"),transitioncancel:Oi("Transition","TransitionCancel"),transitionend:Oi("Transition","TransitionEnd")},wg={},eI={};na&&(eI=document.createElement("div").style,"AnimationEvent"in window||(delete Yo.animationend.animation,delete Yo.animationiteration.animation,delete Yo.animationstart.animation),"TransitionEvent"in window||delete Yo.transitionend.transition);function Yi(e){if(wg[e])return wg[e];if(!Yo[e])return e;var t=Yo[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in eI)return wg[e]=t[n];return e}var tI=Yi("animationend"),nI=Yi("animationiteration"),rI=Yi("animationstart"),iL=Yi("transitionrun"),oL=Yi("transitionstart"),sL=Yi("transitioncancel"),aI=Yi("transitionend"),iI=new Map,c0="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");c0.push("scrollEnd");function or(e,t){iI.set(e,t),qi(t,[e])}var cf=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Un=[],Go=0,tv=0;function zf(){for(var e=Go,t=tv=Go=0;t<e;){var n=Un[t];Un[t++]=null;var a=Un[t];Un[t++]=null;var r=Un[t];Un[t++]=null;var i=Un[t];if(Un[t++]=null,a!==null&&r!==null){var o=a.pending;o===null?r.next=r:(r.next=o.next,o.next=r),a.pending=r}i!==0&&oI(n,r,i)}}function Uf(e,t,n,a){Un[Go++]=e,Un[Go++]=t,Un[Go++]=n,Un[Go++]=a,tv|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function nv(e,t,n,a){return Uf(e,t,n,a),df(e)}function Gi(e,t){return Uf(e,null,null,t),df(e)}function oI(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var r=!1,i=e.return;i!==null;)i.childLanes|=n,a=i.alternate,a!==null&&(a.childLanes|=n),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(r=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,r&&t!==null&&(r=31-Cn(n),e=i.hiddenUpdates,a=e[r],a===null?e[r]=[t]:a.push(t),t.lane=n|536870912),i):null}function df(e){if(50<ll)throw ll=0,N0=null,Error(U(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Ko={};function uL(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function wn(e,t,n,a){return new uL(e,t,n,a)}function rv(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Wr(e,t){var n=e.alternate;return n===null?(n=wn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function sI(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Yd(e,t,n,a,r,i){var o=0;if(a=e,typeof e=="function")rv(e)&&(o=1);else if(typeof e=="string")o=dP(e,n,xr.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Xg:return e=wn(31,n,t,r),e.elementType=Xg,e.lanes=i,e;case Bo:return Li(n.children,r,i,t);case Iw:o=8,r|=24;break;case Gg:return e=wn(12,n,t,r|2),e.elementType=Gg,e.lanes=i,e;case Kg:return e=wn(13,n,t,r),e.elementType=Kg,e.lanes=i,e;case Jg:return e=wn(19,n,t,r),e.elementType=Jg,e.lanes=i,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Jr:o=10;break e;case Aw:o=9;break e;case H0:o=11;break e;case Z0:o=14;break e;case Aa:o=16,a=null;break e}o=29,n=Error(U(130,e===null?"null":typeof e,"")),a=null}return t=wn(o,n,t,r),t.elementType=e,t.type=a,t.lanes=i,t}function Li(e,t,n,a){return e=wn(7,e,a,t),e.lanes=n,e}function Ig(e,t,n){return e=wn(6,e,null,t),e.lanes=n,e}function uI(e){var t=wn(18,null,null,0);return t.stateNode=e,t}function Ag(e,t,n){return t=wn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var y2=new WeakMap;function Zn(e,t){if(typeof e=="object"&&e!==null){var n=y2.get(e);return n!==void 0?n:(t={value:e,source:t,stack:WS(t)},y2.set(e,t),t)}return{value:e,source:t,stack:WS(t)}}var Jo=[],Xo=0,ff=null,hl=0,Bn=[],Fn=0,Ya=null,br=1,_r="";function Gr(e,t){Jo[Xo++]=hl,Jo[Xo++]=ff,ff=e,hl=t}function lI(e,t,n){Bn[Fn++]=br,Bn[Fn++]=_r,Bn[Fn++]=Ya,Ya=e;var a=br;e=_r;var r=32-Cn(a)-1;a&=~(1<<r),n+=1;var i=32-Cn(t)+r;if(30<i){var o=r-r%5;i=(a&(1<<o)-1).toString(32),a>>=o,r-=o,br=1<<32-Cn(t)+r|n<<r|a,_r=i+e}else br=1<<i|n<<r|a,_r=e}function av(e){e.return!==null&&(Gr(e,1),lI(e,1,0))}function iv(e){for(;e===ff;)ff=Jo[--Xo],Jo[Xo]=null,hl=Jo[--Xo],Jo[Xo]=null;for(;e===Ya;)Ya=Bn[--Fn],Bn[Fn]=null,_r=Bn[--Fn],Bn[Fn]=null,br=Bn[--Fn],Bn[Fn]=null}function cI(e,t){Bn[Fn++]=br,Bn[Fn++]=_r,Bn[Fn++]=Ya,br=t.id,_r=t.overflow,Ya=e}var Mt=null,Xe=null,Oe=!1,Ua=null,qn=!1,d0=Error(U(519));function Ga(e){var t=Error(U(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw gl(Zn(t,e)),d0}function b2(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[Rt]=e,t[cn]=a,n){case"dialog":xe("cancel",t),xe("close",t);break;case"iframe":case"object":case"embed":xe("load",t);break;case"video":case"audio":for(n=0;n<_l.length;n++)xe(_l[n],t);break;case"source":xe("error",t);break;case"img":case"image":case"link":xe("error",t),xe("load",t);break;case"details":xe("toggle",t);break;case"input":xe("invalid",t),jw(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":xe("invalid",t);break;case"textarea":xe("invalid",t),Fw(t,a.value,a.defaultValue,a.children)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||VA(t.textContent,n)?(a.popover!=null&&(xe("beforetoggle",t),xe("toggle",t)),a.onScroll!=null&&xe("scroll",t),a.onScrollEnd!=null&&xe("scrollend",t),a.onClick!=null&&(t.onclick=Xr),t=!0):t=!1,t||Ga(e,!0)}function _2(e){for(Mt=e.return;Mt;)switch(Mt.tag){case 5:case 31:case 13:qn=!1;return;case 27:case 3:qn=!0;return;default:Mt=Mt.return}}function Po(e){if(e!==Mt)return!1;if(!Oe)return _2(e),Oe=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||L0(e.type,e.memoizedProps)),n=!n),n&&Xe&&Ga(e),_2(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(U(317));Xe=uw(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(U(317));Xe=uw(e)}else t===27?(t=Xe,Qa(e.type)?(e=j0,j0=null,Xe=e):Xe=t):Xe=Mt?Yn(e.stateNode.nextSibling):null;return!0}function ji(){Xe=Mt=null,Oe=!1}function kg(){var e=Ua;return e!==null&&(un===null?un=e:un.push.apply(un,e),Ua=null),e}function gl(e){Ua===null?Ua=[e]:Ua.push(e)}var f0=Er(null),Ki=null,Qr=null;function Ca(e,t,n){Ve(f0,t._currentValue),t._currentValue=n}function ea(e){e._currentValue=f0.current,It(f0)}function p0(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}}function m0(e,t,n,a){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var i=r.dependencies;if(i!==null){var o=r.child;i=i.firstContext;e:for(;i!==null;){var s=i;i=r;for(var u=0;u<t.length;u++)if(s.context===t[u]){i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),p0(i.return,n,e),a||(o=null);break e}i=s.next}}else if(r.tag===18){if(o=r.return,o===null)throw Error(U(341));o.lanes|=n,i=o.alternate,i!==null&&(i.lanes|=n),p0(o,n,e),o=null}else o=r.child;if(o!==null)o.return=r;else for(o=r;o!==null;){if(o===e){o=null;break}if(r=o.sibling,r!==null){r.return=o.return,o=r;break}o=o.return}r=o}}function bs(e,t,n,a){e=null;for(var r=t,i=!1;r!==null;){if(!i){if((r.flags&524288)!==0)i=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var o=r.alternate;if(o===null)throw Error(U(387));if(o=o.memoizedProps,o!==null){var s=r.type;Nn(r.pendingProps.value,o.value)||(e!==null?e.push(s):e=[s])}}else if(r===af.current){if(o=r.alternate,o===null)throw Error(U(387));o.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(xl):e=[xl])}r=r.return}e!==null&&m0(t,e,n,a),t.flags|=262144}function pf(e){for(e=e.firstContext;e!==null;){if(!Nn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Bi(e){Ki=e,Qr=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Dt(e){return dI(Ki,e)}function Md(e,t){return Ki===null&&Bi(e),dI(e,t)}function dI(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Qr===null){if(e===null)throw Error(U(308));Qr=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Qr=Qr.next=t;return n}var lL=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},cL=Tt.unstable_scheduleCallback,dL=Tt.unstable_NormalPriority,vt={$$typeof:Jr,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ov(){return{controller:new lL,data:new Map,refCount:0}}function Nl(e){e.refCount--,e.refCount===0&&cL(dL,function(){e.controller.abort()})}var tl=null,h0=0,ls=0,ns=null;function fL(e,t){if(tl===null){var n=tl=[];h0=0,ls=Nv(),ns={status:"pending",value:void 0,then:function(a){n.push(a)}}}return h0++,t.then(T2,T2),t}function T2(){if(--h0===0&&tl!==null){ns!==null&&(ns.status="fulfilled");var e=tl;tl=null,ls=0,ns=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function pL(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(r){n.push(r)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var r=0;r<n.length;r++)(0,n[r])(t)},function(r){for(a.status="rejected",a.reason=r,r=0;r<n.length;r++)(0,n[r])(void 0)}),a}var x2=de.S;de.S=function(e,t){wA=An(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&fL(e,t),x2!==null&&x2(e,t)};var Pi=Er(null);function sv(){var e=Pi.current;return e!==null?e:Ze.pooledCache}function Gd(e,t){t===null?Ve(Pi,Pi.current):Ve(Pi,t.pool)}function fI(){var e=sv();return e===null?null:{parent:vt._currentValue,pool:e}}var _s=Error(U(460)),uv=Error(U(474)),jf=Error(U(542)),mf={then:function(){}};function E2(e){return e=e.status,e==="fulfilled"||e==="rejected"}function pI(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Xr,Xr),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,w2(e),e;default:if(typeof t.status=="string")t.then(Xr,Xr);else{if(e=Ze,e!==null&&100<e.shellSuspendCounter)throw Error(U(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var r=t;r.status="fulfilled",r.value=a}},function(a){if(t.status==="pending"){var r=t;r.status="rejected",r.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,w2(e),e}throw zi=t,_s}}function Mi(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(zi=n,_s):n}}var zi=null;function S2(){if(zi===null)throw Error(U(459));var e=zi;return zi=null,e}function w2(e){if(e===_s||e===jf)throw Error(U(483))}var rs=null,vl=0;function Dd(e){var t=vl;return vl+=1,rs===null&&(rs=[]),pI(rs,e,t)}function Fu(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function $d(e,t){throw t.$$typeof===WD?Error(U(525)):(e=Object.prototype.toString.call(t),Error(U(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function mI(e){function t(v,y){if(e){var T=v.deletions;T===null?(v.deletions=[y],v.flags|=16):T.push(y)}}function n(v,y){if(!e)return null;for(;y!==null;)t(v,y),y=y.sibling;return null}function a(v){for(var y=new Map;v!==null;)v.key!==null?y.set(v.key,v):y.set(v.index,v),v=v.sibling;return y}function r(v,y){return v=Wr(v,y),v.index=0,v.sibling=null,v}function i(v,y,T){return v.index=T,e?(T=v.alternate,T!==null?(T=T.index,T<y?(v.flags|=67108866,y):T):(v.flags|=67108866,y)):(v.flags|=1048576,y)}function o(v){return e&&v.alternate===null&&(v.flags|=67108866),v}function s(v,y,T,A){return y===null||y.tag!==6?(y=Ig(T,v.mode,A),y.return=v,y):(y=r(y,T),y.return=v,y)}function u(v,y,T,A){var O=T.type;return O===Bo?c(v,y,T.props.children,A,T.key):y!==null&&(y.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===Aa&&Mi(O)===y.type)?(y=r(y,T.props),Fu(y,T),y.return=v,y):(y=Yd(T.type,T.key,T.props,null,v.mode,A),Fu(y,T),y.return=v,y)}function l(v,y,T,A){return y===null||y.tag!==4||y.stateNode.containerInfo!==T.containerInfo||y.stateNode.implementation!==T.implementation?(y=Ag(T,v.mode,A),y.return=v,y):(y=r(y,T.children||[]),y.return=v,y)}function c(v,y,T,A,O){return y===null||y.tag!==7?(y=Li(T,v.mode,A,O),y.return=v,y):(y=r(y,T),y.return=v,y)}function f(v,y,T){if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return y=Ig(""+y,v.mode,T),y.return=v,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case wd:return T=Yd(y.type,y.key,y.props,null,v.mode,T),Fu(T,y),T.return=v,T;case Yu:return y=Ag(y,v.mode,T),y.return=v,y;case Aa:return y=Mi(y),f(v,y,T)}if(Gu(y)||ju(y))return y=Li(y,v.mode,T,null),y.return=v,y;if(typeof y.then=="function")return f(v,Dd(y),T);if(y.$$typeof===Jr)return f(v,Md(v,y),T);$d(v,y)}return null}function m(v,y,T,A){var O=y!==null?y.key:null;if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return O!==null?null:s(v,y,""+T,A);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case wd:return T.key===O?u(v,y,T,A):null;case Yu:return T.key===O?l(v,y,T,A):null;case Aa:return T=Mi(T),m(v,y,T,A)}if(Gu(T)||ju(T))return O!==null?null:c(v,y,T,A,null);if(typeof T.then=="function")return m(v,y,Dd(T),A);if(T.$$typeof===Jr)return m(v,y,Md(v,T),A);$d(v,T)}return null}function p(v,y,T,A,O){if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return v=v.get(T)||null,s(y,v,""+A,O);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case wd:return v=v.get(A.key===null?T:A.key)||null,u(y,v,A,O);case Yu:return v=v.get(A.key===null?T:A.key)||null,l(y,v,A,O);case Aa:return A=Mi(A),p(v,y,T,A,O)}if(Gu(A)||ju(A))return v=v.get(T)||null,c(y,v,A,O,null);if(typeof A.then=="function")return p(v,y,T,Dd(A),O);if(A.$$typeof===Jr)return p(v,y,T,Md(y,A),O);$d(y,A)}return null}function b(v,y,T,A){for(var O=null,g=null,N=y,L=y=0,P=null;N!==null&&L<T.length;L++){N.index>L?(P=N,N=null):P=N.sibling;var I=m(v,N,T[L],A);if(I===null){N===null&&(N=P);break}e&&N&&I.alternate===null&&t(v,N),y=i(I,y,L),g===null?O=I:g.sibling=I,g=I,N=P}if(L===T.length)return n(v,N),Oe&&Gr(v,L),O;if(N===null){for(;L<T.length;L++)N=f(v,T[L],A),N!==null&&(y=i(N,y,L),g===null?O=N:g.sibling=N,g=N);return Oe&&Gr(v,L),O}for(N=a(N);L<T.length;L++)P=p(N,v,L,T[L],A),P!==null&&(e&&P.alternate!==null&&N.delete(P.key===null?L:P.key),y=i(P,y,L),g===null?O=P:g.sibling=P,g=P);return e&&N.forEach(function(re){return t(v,re)}),Oe&&Gr(v,L),O}function S(v,y,T,A){if(T==null)throw Error(U(151));for(var O=null,g=null,N=y,L=y=0,P=null,I=T.next();N!==null&&!I.done;L++,I=T.next()){N.index>L?(P=N,N=null):P=N.sibling;var re=m(v,N,I.value,A);if(re===null){N===null&&(N=P);break}e&&N&&re.alternate===null&&t(v,N),y=i(re,y,L),g===null?O=re:g.sibling=re,g=re,N=P}if(I.done)return n(v,N),Oe&&Gr(v,L),O;if(N===null){for(;!I.done;L++,I=T.next())I=f(v,I.value,A),I!==null&&(y=i(I,y,L),g===null?O=I:g.sibling=I,g=I);return Oe&&Gr(v,L),O}for(N=a(N);!I.done;L++,I=T.next())I=p(N,v,L,I.value,A),I!==null&&(e&&I.alternate!==null&&N.delete(I.key===null?L:I.key),y=i(I,y,L),g===null?O=I:g.sibling=I,g=I);return e&&N.forEach(function(ne){return t(v,ne)}),Oe&&Gr(v,L),O}function C(v,y,T,A){if(typeof T=="object"&&T!==null&&T.type===Bo&&T.key===null&&(T=T.props.children),typeof T=="object"&&T!==null){switch(T.$$typeof){case wd:e:{for(var O=T.key;y!==null;){if(y.key===O){if(O=T.type,O===Bo){if(y.tag===7){n(v,y.sibling),A=r(y,T.props.children),A.return=v,v=A;break e}}else if(y.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===Aa&&Mi(O)===y.type){n(v,y.sibling),A=r(y,T.props),Fu(A,T),A.return=v,v=A;break e}n(v,y);break}else t(v,y);y=y.sibling}T.type===Bo?(A=Li(T.props.children,v.mode,A,T.key),A.return=v,v=A):(A=Yd(T.type,T.key,T.props,null,v.mode,A),Fu(A,T),A.return=v,v=A)}return o(v);case Yu:e:{for(O=T.key;y!==null;){if(y.key===O)if(y.tag===4&&y.stateNode.containerInfo===T.containerInfo&&y.stateNode.implementation===T.implementation){n(v,y.sibling),A=r(y,T.children||[]),A.return=v,v=A;break e}else{n(v,y);break}else t(v,y);y=y.sibling}A=Ag(T,v.mode,A),A.return=v,v=A}return o(v);case Aa:return T=Mi(T),C(v,y,T,A)}if(Gu(T))return b(v,y,T,A);if(ju(T)){if(O=ju(T),typeof O!="function")throw Error(U(150));return T=O.call(T),S(v,y,T,A)}if(typeof T.then=="function")return C(v,y,Dd(T),A);if(T.$$typeof===Jr)return C(v,y,Md(v,T),A);$d(v,T)}return typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint"?(T=""+T,y!==null&&y.tag===6?(n(v,y.sibling),A=r(y,T),A.return=v,v=A):(n(v,y),A=Ig(T,v.mode,A),A.return=v,v=A),o(v)):n(v,y)}return function(v,y,T,A){try{vl=0;var O=C(v,y,T,A);return rs=null,O}catch(N){if(N===_s||N===jf)throw N;var g=wn(29,N,null,v.mode);return g.lanes=A,g.return=v,g}}}var Fi=mI(!0),hI=mI(!1),ka=!1;function lv(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function g0(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ja(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ba(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Re&2)!==0){var r=a.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),a.pending=t,t=df(e),oI(e,null,n),t}return Uf(e,a,t,n),df(e)}function nl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Mw(e,n)}}function Cg(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var r=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};i===null?r=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?r=i=t:i=i.next=t}else r=i=t;n={baseState:a.baseState,firstBaseUpdate:r,lastBaseUpdate:i,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var v0=!1;function rl(){if(v0){var e=ns;if(e!==null)throw e}}function al(e,t,n,a){v0=!1;var r=e.updateQueue;ka=!1;var i=r.firstBaseUpdate,o=r.lastBaseUpdate,s=r.shared.pending;if(s!==null){r.shared.pending=null;var u=s,l=u.next;u.next=null,o===null?i=l:o.next=l,o=u;var c=e.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==o&&(s===null?c.firstBaseUpdate=l:s.next=l,c.lastBaseUpdate=u))}if(i!==null){var f=r.baseState;o=0,c=l=u=null,s=i;do{var m=s.lane&-536870913,p=m!==s.lane;if(p?(we&m)===m:(a&m)===m){m!==0&&m===ls&&(v0=!0),c!==null&&(c=c.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var b=e,S=s;m=t;var C=n;switch(S.tag){case 1:if(b=S.payload,typeof b=="function"){f=b.call(C,f,m);break e}f=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=S.payload,m=typeof b=="function"?b.call(C,f,m):b,m==null)break e;f=Qe({},f,m);break e;case 2:ka=!0}}m=s.callback,m!==null&&(e.flags|=64,p&&(e.flags|=8192),p=r.callbacks,p===null?r.callbacks=[m]:p.push(m))}else p={lane:m,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(l=c=p,u=f):c=c.next=p,o|=m;if(s=s.next,s===null){if(s=r.shared.pending,s===null)break;p=s,s=p.next,p.next=null,r.lastBaseUpdate=p,r.shared.pending=null}}while(!0);c===null&&(u=f),r.baseState=u,r.firstBaseUpdate=l,r.lastBaseUpdate=c,i===null&&(r.shared.lanes=0),Ja|=o,e.lanes=o,e.memoizedState=f}}function gI(e,t){if(typeof e!="function")throw Error(U(191,e));e.call(t)}function vI(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)gI(n[e],t)}var cs=Er(null),hf=Er(0);function I2(e,t){e=oa,Ve(hf,e),Ve(cs,t),oa=e|t.baseLanes}function y0(){Ve(hf,oa),Ve(cs,cs.current)}function cv(){oa=hf.current,It(cs),It(hf)}var Rn=Er(null),Vn=null;function Oa(e){var t=e.alternate;Ve(dt,dt.current&1),Ve(Rn,e),Vn===null&&(t===null||cs.current!==null||t.memoizedState!==null)&&(Vn=e)}function b0(e){Ve(dt,dt.current),Ve(Rn,e),Vn===null&&(Vn=e)}function yI(e){e.tag===22?(Ve(dt,dt.current),Ve(Rn,e),Vn===null&&(Vn=e)):Na(e)}function Na(){Ve(dt,dt.current),Ve(Rn,Rn.current)}function Sn(e){It(Rn),Vn===e&&(Vn=null),It(dt)}var dt=Er(0);function gf(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||z0(n)||U0(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ra=0,ge=null,je=null,ht=null,vf=!1,as=!1,Hi=!1,yf=0,yl=0,is=null,mL=0;function it(){throw Error(U(321))}function dv(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Nn(e[n],t[n]))return!1;return!0}function fv(e,t,n,a,r,i){return ra=i,ge=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,de.H=e===null||e.memoizedState===null?KI:Ev,Hi=!1,i=n(a,r),Hi=!1,as&&(i=_I(t,n,a,r)),bI(e),i}function bI(e){de.H=bl;var t=je!==null&&je.next!==null;if(ra=0,ht=je=ge=null,vf=!1,yl=0,is=null,t)throw Error(U(300));e===null||yt||(e=e.dependencies,e!==null&&pf(e)&&(yt=!0))}function _I(e,t,n,a){ge=e;var r=0;do{if(as&&(is=null),yl=0,as=!1,25<=r)throw Error(U(301));if(r+=1,ht=je=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}de.H=JI,i=t(n,a)}while(as);return i}function hL(){var e=de.H,t=e.useState()[0];return t=typeof t.then=="function"?Rl(t):t,e=e.useState()[0],(je!==null?je.memoizedState:null)!==e&&(ge.flags|=1024),t}function pv(){var e=yf!==0;return yf=0,e}function mv(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function hv(e){if(vf){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}vf=!1}ra=0,ht=je=ge=null,as=!1,yl=yf=0,is=null}function Yt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ht===null?ge.memoizedState=ht=e:ht=ht.next=e,ht}function ft(){if(je===null){var e=ge.alternate;e=e!==null?e.memoizedState:null}else e=je.next;var t=ht===null?ge.memoizedState:ht.next;if(t!==null)ht=t,je=e;else{if(e===null)throw ge.alternate===null?Error(U(467)):Error(U(310));je=e,e={memoizedState:je.memoizedState,baseState:je.baseState,baseQueue:je.baseQueue,queue:je.queue,next:null},ht===null?ge.memoizedState=ht=e:ht=ht.next=e}return ht}function Bf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Rl(e){var t=yl;return yl+=1,is===null&&(is=[]),e=pI(is,e,t),t=ge,(ht===null?t.memoizedState:ht.next)===null&&(t=t.alternate,de.H=t===null||t.memoizedState===null?KI:Ev),e}function Ff(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Rl(e);if(e.$$typeof===Jr)return Dt(e)}throw Error(U(438,String(e)))}function gv(e){var t=null,n=ge.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=ge.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(r){return r.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Bf(),ge.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=e$;return t.index++,n}function aa(e,t){return typeof t=="function"?t(e):t}function Kd(e){var t=ft();return vv(t,je,e)}function vv(e,t,n){var a=e.queue;if(a===null)throw Error(U(311));a.lastRenderedReducer=n;var r=e.baseQueue,i=a.pending;if(i!==null){if(r!==null){var o=r.next;r.next=i.next,i.next=o}t.baseQueue=r=i,a.pending=null}if(i=e.baseState,r===null)e.memoizedState=i;else{t=r.next;var s=o=null,u=null,l=t,c=!1;do{var f=l.lane&-536870913;if(f!==l.lane?(we&f)===f:(ra&f)===f){var m=l.revertLane;if(m===0)u!==null&&(u=u.next={lane:0,revertLane:0,gesture:null,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),f===ls&&(c=!0);else if((ra&m)===m){l=l.next,m===ls&&(c=!0);continue}else f={lane:0,revertLane:l.revertLane,gesture:null,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null},u===null?(s=u=f,o=i):u=u.next=f,ge.lanes|=m,Ja|=m;f=l.action,Hi&&n(i,f),i=l.hasEagerState?l.eagerState:n(i,f)}else m={lane:f,revertLane:l.revertLane,gesture:l.gesture,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null},u===null?(s=u=m,o=i):u=u.next=m,ge.lanes|=f,Ja|=f;l=l.next}while(l!==null&&l!==t);if(u===null?o=i:u.next=s,!Nn(i,e.memoizedState)&&(yt=!0,c&&(n=ns,n!==null)))throw n;e.memoizedState=i,e.baseState=o,e.baseQueue=u,a.lastRenderedState=i}return r===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function Og(e){var t=ft(),n=t.queue;if(n===null)throw Error(U(311));n.lastRenderedReducer=e;var a=n.dispatch,r=n.pending,i=t.memoizedState;if(r!==null){n.pending=null;var o=r=r.next;do i=e(i,o.action),o=o.next;while(o!==r);Nn(i,t.memoizedState)||(yt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,a]}function TI(e,t,n){var a=ge,r=ft(),i=Oe;if(i){if(n===void 0)throw Error(U(407));n=n()}else n=t();var o=!Nn((je||r).memoizedState,n);if(o&&(r.memoizedState=n,yt=!0),r=r.queue,yv(SI.bind(null,a,r,e),[e]),r.getSnapshot!==t||o||ht!==null&&ht.memoizedState.tag&1){if(a.flags|=2048,ds(9,{destroy:void 0},EI.bind(null,a,r,n,t),null),Ze===null)throw Error(U(349));i||(ra&127)!==0||xI(a,t,n)}return n}function xI(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ge.updateQueue,t===null?(t=Bf(),ge.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function EI(e,t,n,a){t.value=n,t.getSnapshot=a,wI(t)&&II(e)}function SI(e,t,n){return n(function(){wI(t)&&II(e)})}function wI(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Nn(e,n)}catch{return!0}}function II(e){var t=Gi(e,2);t!==null&&ln(t,e,2)}function _0(e){var t=Yt();if(typeof e=="function"){var n=e;if(e=n(),Hi){Ma(!0);try{n()}finally{Ma(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:aa,lastRenderedState:e},t}function AI(e,t,n,a){return e.baseState=n,vv(e,je,typeof a=="function"?a:aa)}function gL(e,t,n,a,r){if(Zf(e))throw Error(U(485));if(e=t.action,e!==null){var i={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(o){i.listeners.push(o)}};de.T!==null?n(!0):i.isTransition=!1,a(i),n=t.pending,n===null?(i.next=t.pending=i,kI(t,i)):(i.next=n.next,t.pending=n.next=i)}}function kI(e,t){var n=t.action,a=t.payload,r=e.state;if(t.isTransition){var i=de.T,o={};de.T=o;try{var s=n(r,a),u=de.S;u!==null&&u(o,s),A2(e,t,s)}catch(l){T0(e,t,l)}finally{i!==null&&o.types!==null&&(i.types=o.types),de.T=i}}else try{i=n(r,a),A2(e,t,i)}catch(l){T0(e,t,l)}}function A2(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){k2(e,t,a)},function(a){return T0(e,t,a)}):k2(e,t,n)}function k2(e,t,n){t.status="fulfilled",t.value=n,CI(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,kI(e,n)))}function T0(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,CI(t),t=t.next;while(t!==a)}e.action=null}function CI(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function OI(e,t){return t}function C2(e,t){if(Oe){var n=Ze.formState;if(n!==null){e:{var a=ge;if(Oe){if(Xe){t:{for(var r=Xe,i=qn;r.nodeType!==8;){if(!i){r=null;break t}if(r=Yn(r.nextSibling),r===null){r=null;break t}}i=r.data,r=i==="F!"||i==="F"?r:null}if(r){Xe=Yn(r.nextSibling),a=r.data==="F!";break e}}Ga(a)}a=!1}a&&(t=n[0])}}return n=Yt(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:OI,lastRenderedState:t},n.queue=a,n=VI.bind(null,ge,a),a.dispatch=n,a=_0(!1),i=xv.bind(null,ge,!1,a.queue),a=Yt(),r={state:t,dispatch:null,action:e,pending:null},a.queue=r,n=gL.bind(null,ge,r,i,n),r.dispatch=n,a.memoizedState=e,[t,n,!1]}function O2(e){var t=ft();return NI(t,je,e)}function NI(e,t,n){if(t=vv(e,t,OI)[0],e=Kd(aa)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=Rl(t)}catch(o){throw o===_s?jf:o}else a=t;t=ft();var r=t.queue,i=r.dispatch;return n!==t.memoizedState&&(ge.flags|=2048,ds(9,{destroy:void 0},vL.bind(null,r,n),null)),[a,i,e]}function vL(e,t){e.action=t}function N2(e){var t=ft(),n=je;if(n!==null)return NI(t,n,e);ft(),t=t.memoizedState,n=ft();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function ds(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=ge.updateQueue,t===null&&(t=Bf(),ge.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function RI(){return ft().memoizedState}function Jd(e,t,n,a){var r=Yt();ge.flags|=e,r.memoizedState=ds(1|t,{destroy:void 0},n,a===void 0?null:a)}function Hf(e,t,n,a){var r=ft();a=a===void 0?null:a;var i=r.memoizedState.inst;je!==null&&a!==null&&dv(a,je.memoizedState.deps)?r.memoizedState=ds(t,i,n,a):(ge.flags|=e,r.memoizedState=ds(1|t,i,n,a))}function R2(e,t){Jd(8390656,8,e,t)}function yv(e,t){Hf(2048,8,e,t)}function yL(e){ge.flags|=4;var t=ge.updateQueue;if(t===null)t=Bf(),ge.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function MI(e){var t=ft().memoizedState;return yL({ref:t,nextImpl:e}),function(){if((Re&2)!==0)throw Error(U(440));return t.impl.apply(void 0,arguments)}}function DI(e,t){return Hf(4,2,e,t)}function $I(e,t){return Hf(4,4,e,t)}function LI(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function PI(e,t,n){n=n!=null?n.concat([e]):null,Hf(4,4,LI.bind(null,t,e),n)}function bv(){}function zI(e,t){var n=ft();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&dv(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function UI(e,t){var n=ft();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&dv(t,a[1]))return a[0];if(a=e(),Hi){Ma(!0);try{e()}finally{Ma(!1)}}return n.memoizedState=[a,t],a}function _v(e,t,n){return n===void 0||(ra&1073741824)!==0&&(we&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=AA(),ge.lanes|=e,Ja|=e,n)}function jI(e,t,n,a){return Nn(n,t)?n:cs.current!==null?(e=_v(e,n,a),Nn(e,t)||(yt=!0),e):(ra&42)===0||(ra&1073741824)!==0&&(we&261930)===0?(yt=!0,e.memoizedState=n):(e=AA(),ge.lanes|=e,Ja|=e,t)}function BI(e,t,n,a,r){var i=Me.p;Me.p=i!==0&&8>i?i:8;var o=de.T,s={};de.T=s,xv(e,!1,t,n);try{var u=r(),l=de.S;if(l!==null&&l(s,u),u!==null&&typeof u=="object"&&typeof u.then=="function"){var c=pL(u,a);il(e,t,c,On(e))}else il(e,t,a,On(e))}catch(f){il(e,t,{then:function(){},status:"rejected",reason:f},On())}finally{Me.p=i,o!==null&&s.types!==null&&(o.types=s.types),de.T=o}}function bL(){}function x0(e,t,n,a){if(e.tag!==5)throw Error(U(476));var r=FI(e).queue;BI(e,r,t,$i,n===null?bL:function(){return HI(e),n(a)})}function FI(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:$i,baseState:$i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:aa,lastRenderedState:$i},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:aa,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function HI(e){var t=FI(e);t.next===null&&(t=e.alternate.memoizedState),il(e,t.next.queue,{},On())}function Tv(){return Dt(xl)}function ZI(){return ft().memoizedState}function qI(){return ft().memoizedState}function _L(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=On();e=ja(n);var a=Ba(t,e,n);a!==null&&(ln(a,t,n),nl(a,t,n)),t={cache:ov()},e.payload=t;return}t=t.return}}function TL(e,t,n){var a=On();n={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Zf(e)?YI(t,n):(n=nv(e,t,n,a),n!==null&&(ln(n,e,a),GI(n,t,a)))}function VI(e,t,n){var a=On();il(e,t,n,a)}function il(e,t,n,a){var r={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Zf(e))YI(t,r);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,s=i(o,n);if(r.hasEagerState=!0,r.eagerState=s,Nn(s,o))return Uf(e,t,r,0),Ze===null&&zf(),!1}catch{}if(n=nv(e,t,r,a),n!==null)return ln(n,e,a),GI(n,t,a),!0}return!1}function xv(e,t,n,a){if(a={lane:2,revertLane:Nv(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Zf(e)){if(t)throw Error(U(479))}else t=nv(e,n,a,2),t!==null&&ln(t,e,2)}function Zf(e){var t=e.alternate;return e===ge||t!==null&&t===ge}function YI(e,t){as=vf=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function GI(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Mw(e,n)}}var bl={readContext:Dt,use:Ff,useCallback:it,useContext:it,useEffect:it,useImperativeHandle:it,useLayoutEffect:it,useInsertionEffect:it,useMemo:it,useReducer:it,useRef:it,useState:it,useDebugValue:it,useDeferredValue:it,useTransition:it,useSyncExternalStore:it,useId:it,useHostTransitionStatus:it,useFormState:it,useActionState:it,useOptimistic:it,useMemoCache:it,useCacheRefresh:it};bl.useEffectEvent=it;var KI={readContext:Dt,use:Ff,useCallback:function(e,t){return Yt().memoizedState=[e,t===void 0?null:t],e},useContext:Dt,useEffect:R2,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,Jd(4194308,4,LI.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Jd(4194308,4,e,t)},useInsertionEffect:function(e,t){Jd(4,2,e,t)},useMemo:function(e,t){var n=Yt();t=t===void 0?null:t;var a=e();if(Hi){Ma(!0);try{e()}finally{Ma(!1)}}return n.memoizedState=[a,t],a},useReducer:function(e,t,n){var a=Yt();if(n!==void 0){var r=n(t);if(Hi){Ma(!0);try{n(t)}finally{Ma(!1)}}}else r=t;return a.memoizedState=a.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},a.queue=e,e=e.dispatch=TL.bind(null,ge,e),[a.memoizedState,e]},useRef:function(e){var t=Yt();return e={current:e},t.memoizedState=e},useState:function(e){e=_0(e);var t=e.queue,n=VI.bind(null,ge,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:bv,useDeferredValue:function(e,t){var n=Yt();return _v(n,e,t)},useTransition:function(){var e=_0(!1);return e=BI.bind(null,ge,e.queue,!0,!1),Yt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var a=ge,r=Yt();if(Oe){if(n===void 0)throw Error(U(407));n=n()}else{if(n=t(),Ze===null)throw Error(U(349));(we&127)!==0||xI(a,t,n)}r.memoizedState=n;var i={value:n,getSnapshot:t};return r.queue=i,R2(SI.bind(null,a,i,e),[e]),a.flags|=2048,ds(9,{destroy:void 0},EI.bind(null,a,i,n,t),null),n},useId:function(){var e=Yt(),t=Ze.identifierPrefix;if(Oe){var n=_r,a=br;n=(a&~(1<<32-Cn(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=yf++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=mL++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Tv,useFormState:C2,useActionState:C2,useOptimistic:function(e){var t=Yt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=xv.bind(null,ge,!0,n),n.dispatch=t,[e,t]},useMemoCache:gv,useCacheRefresh:function(){return Yt().memoizedState=_L.bind(null,ge)},useEffectEvent:function(e){var t=Yt(),n={impl:e};return t.memoizedState=n,function(){if((Re&2)!==0)throw Error(U(440));return n.impl.apply(void 0,arguments)}}},Ev={readContext:Dt,use:Ff,useCallback:zI,useContext:Dt,useEffect:yv,useImperativeHandle:PI,useInsertionEffect:DI,useLayoutEffect:$I,useMemo:UI,useReducer:Kd,useRef:RI,useState:function(){return Kd(aa)},useDebugValue:bv,useDeferredValue:function(e,t){var n=ft();return jI(n,je.memoizedState,e,t)},useTransition:function(){var e=Kd(aa)[0],t=ft().memoizedState;return[typeof e=="boolean"?e:Rl(e),t]},useSyncExternalStore:TI,useId:ZI,useHostTransitionStatus:Tv,useFormState:O2,useActionState:O2,useOptimistic:function(e,t){var n=ft();return AI(n,je,e,t)},useMemoCache:gv,useCacheRefresh:qI};Ev.useEffectEvent=MI;var JI={readContext:Dt,use:Ff,useCallback:zI,useContext:Dt,useEffect:yv,useImperativeHandle:PI,useInsertionEffect:DI,useLayoutEffect:$I,useMemo:UI,useReducer:Og,useRef:RI,useState:function(){return Og(aa)},useDebugValue:bv,useDeferredValue:function(e,t){var n=ft();return je===null?_v(n,e,t):jI(n,je.memoizedState,e,t)},useTransition:function(){var e=Og(aa)[0],t=ft().memoizedState;return[typeof e=="boolean"?e:Rl(e),t]},useSyncExternalStore:TI,useId:ZI,useHostTransitionStatus:Tv,useFormState:N2,useActionState:N2,useOptimistic:function(e,t){var n=ft();return je!==null?AI(n,je,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:gv,useCacheRefresh:qI};JI.useEffectEvent=MI;function Ng(e,t,n,a){t=e.memoizedState,n=n(a,t),n=n==null?t:Qe({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var E0={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=On(),r=ja(a);r.payload=t,n!=null&&(r.callback=n),t=Ba(e,r,a),t!==null&&(ln(t,e,a),nl(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=On(),r=ja(a);r.tag=1,r.payload=t,n!=null&&(r.callback=n),t=Ba(e,r,a),t!==null&&(ln(t,e,a),nl(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=On(),a=ja(n);a.tag=2,t!=null&&(a.callback=t),t=Ba(e,a,n),t!==null&&(ln(t,e,n),nl(t,e,n))}};function M2(e,t,n,a,r,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,i,o):t.prototype&&t.prototype.isPureReactComponent?!ml(n,a)||!ml(r,i):!0}function D2(e,t,n,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&E0.enqueueReplaceState(t,t.state,null)}function Zi(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=Qe({},n));for(var r in e)n[r]===void 0&&(n[r]=e[r])}return n}function XI(e){cf(e)}function QI(e){console.error(e)}function WI(e){cf(e)}function bf(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function $2(e,t,n){try{var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function S0(e,t,n){return n=ja(n),n.tag=3,n.payload={element:null},n.callback=function(){bf(e,t)},n}function eA(e){return e=ja(e),e.tag=3,e}function tA(e,t,n,a){var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var i=a.value;e.payload=function(){return r(i)},e.callback=function(){$2(t,n,a)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch=="function"&&(e.callback=function(){$2(t,n,a),typeof r!="function"&&(Fa===null?Fa=new Set([this]):Fa.add(this));var s=a.stack;this.componentDidCatch(a.value,{componentStack:s!==null?s:""})})}function xL(e,t,n,a,r){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&bs(t,n,r,!0),n=Rn.current,n!==null){switch(n.tag){case 31:case 13:return Vn===null?Sf():n.alternate===null&&ot===0&&(ot=3),n.flags&=-257,n.flags|=65536,n.lanes=r,a===mf?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),Fg(e,a,r)),!1;case 22:return n.flags|=65536,a===mf?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([a]):n.add(a)),Fg(e,a,r)),!1}throw Error(U(435,n.tag))}return Fg(e,a,r),Sf(),!1}if(Oe)return t=Rn.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,a!==d0&&(e=Error(U(422),{cause:a}),gl(Zn(e,n)))):(a!==d0&&(t=Error(U(423),{cause:a}),gl(Zn(t,n))),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,a=Zn(a,n),r=S0(e.stateNode,a,r),Cg(e,r),ot!==4&&(ot=2)),!1;var i=Error(U(520),{cause:a});if(i=Zn(i,n),ul===null?ul=[i]:ul.push(i),ot!==4&&(ot=2),t===null)return!0;a=Zn(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=r&-r,n.lanes|=e,e=S0(n.stateNode,a,e),Cg(n,e),!1;case 1:if(t=n.type,i=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(Fa===null||!Fa.has(i))))return n.flags|=65536,r&=-r,n.lanes|=r,r=eA(r),tA(r,e,n,a),Cg(n,r),!1}n=n.return}while(n!==null);return!1}var Sv=Error(U(461)),yt=!1;function Nt(e,t,n,a){t.child=e===null?hI(t,null,n,a):Fi(t,e.child,n,a)}function L2(e,t,n,a,r){n=n.render;var i=t.ref;if("ref"in a){var o={};for(var s in a)s!=="ref"&&(o[s]=a[s])}else o=a;return Bi(t),a=fv(e,t,n,o,i,r),s=pv(),e!==null&&!yt?(mv(e,t,r),ia(e,t,r)):(Oe&&s&&av(t),t.flags|=1,Nt(e,t,a,r),t.child)}function P2(e,t,n,a,r){if(e===null){var i=n.type;return typeof i=="function"&&!rv(i)&&i.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=i,nA(e,t,i,a,r)):(e=Yd(n.type,null,a,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!wv(e,r)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:ml,n(o,a)&&e.ref===t.ref)return ia(e,t,r)}return t.flags|=1,e=Wr(i,a),e.ref=t.ref,e.return=t,t.child=e}function nA(e,t,n,a,r){if(e!==null){var i=e.memoizedProps;if(ml(i,a)&&e.ref===t.ref)if(yt=!1,t.pendingProps=a=i,wv(e,r))(e.flags&131072)!==0&&(yt=!0);else return t.lanes=e.lanes,ia(e,t,r)}return w0(e,t,n,a,r)}function rA(e,t,n,a){var r=a.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|n:n,e!==null){for(a=t.child=e.child,r=0;a!==null;)r=r|a.lanes|a.childLanes,a=a.sibling;a=r&~i}else a=0,t.child=null;return z2(e,t,i,n,a)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Gd(t,i!==null?i.cachePool:null),i!==null?I2(t,i):y0(),yI(t);else return a=t.lanes=536870912,z2(e,t,i!==null?i.baseLanes|n:n,n,a)}else i!==null?(Gd(t,i.cachePool),I2(t,i),Na(t),t.memoizedState=null):(e!==null&&Gd(t,null),y0(),Na(t));return Nt(e,t,r,n),t.child}function Ju(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function z2(e,t,n,a,r){var i=sv();return i=i===null?null:{parent:vt._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},e!==null&&Gd(t,null),y0(),yI(t),e!==null&&bs(e,t,a,!0),t.childLanes=r,null}function Xd(e,t){return t=_f({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function U2(e,t,n){return Fi(t,e.child,null,n),e=Xd(t,t.pendingProps),e.flags|=2,Sn(t),t.memoizedState=null,e}function EL(e,t,n){var a=t.pendingProps,r=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Oe){if(a.mode==="hidden")return e=Xd(t,a),t.lanes=536870912,Ju(null,e);if(b0(t),(e=Xe)?(e=KA(e,qn),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ya!==null?{id:br,overflow:_r}:null,retryLane:536870912,hydrationErrors:null},n=uI(e),n.return=t,t.child=n,Mt=t,Xe=null)):e=null,e===null)throw Ga(t);return t.lanes=536870912,null}return Xd(t,a)}var i=e.memoizedState;if(i!==null){var o=i.dehydrated;if(b0(t),r)if(t.flags&256)t.flags&=-257,t=U2(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(U(558));else if(yt||bs(e,t,n,!1),r=(n&e.childLanes)!==0,yt||r){if(a=Ze,a!==null&&(o=Dw(a,n),o!==0&&o!==i.retryLane))throw i.retryLane=o,Gi(e,o),ln(a,e,o),Sv;Sf(),t=U2(e,t,n)}else e=i.treeContext,Xe=Yn(o.nextSibling),Mt=t,Oe=!0,Ua=null,qn=!1,e!==null&&cI(t,e),t=Xd(t,a),t.flags|=4096;return t}return e=Wr(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Qd(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(U(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function w0(e,t,n,a,r){return Bi(t),n=fv(e,t,n,a,void 0,r),a=pv(),e!==null&&!yt?(mv(e,t,r),ia(e,t,r)):(Oe&&a&&av(t),t.flags|=1,Nt(e,t,n,r),t.child)}function j2(e,t,n,a,r,i){return Bi(t),t.updateQueue=null,n=_I(t,a,n,r),bI(e),a=pv(),e!==null&&!yt?(mv(e,t,i),ia(e,t,i)):(Oe&&a&&av(t),t.flags|=1,Nt(e,t,n,i),t.child)}function B2(e,t,n,a,r){if(Bi(t),t.stateNode===null){var i=Ko,o=n.contextType;typeof o=="object"&&o!==null&&(i=Dt(o)),i=new n(a,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=E0,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=a,i.state=t.memoizedState,i.refs={},lv(t),o=n.contextType,i.context=typeof o=="object"&&o!==null?Dt(o):Ko,i.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o=="function"&&(Ng(t,n,o,a),i.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(o=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),o!==i.state&&E0.enqueueReplaceState(i,i.state,null),al(t,a,i,r),rl(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){i=t.stateNode;var s=t.memoizedProps,u=Zi(n,s);i.props=u;var l=i.context,c=n.contextType;o=Ko,typeof c=="object"&&c!==null&&(o=Dt(c));var f=n.getDerivedStateFromProps;c=typeof f=="function"||typeof i.getSnapshotBeforeUpdate=="function",s=t.pendingProps!==s,c||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s||l!==o)&&D2(t,i,a,o),ka=!1;var m=t.memoizedState;i.state=m,al(t,a,i,r),rl(),l=t.memoizedState,s||m!==l||ka?(typeof f=="function"&&(Ng(t,n,f,a),l=t.memoizedState),(u=ka||M2(t,n,u,a,m,l,o))?(c||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=l),i.props=a,i.state=l,i.context=o,a=u):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{i=t.stateNode,g0(e,t),o=t.memoizedProps,c=Zi(n,o),i.props=c,f=t.pendingProps,m=i.context,l=n.contextType,u=Ko,typeof l=="object"&&l!==null&&(u=Dt(l)),s=n.getDerivedStateFromProps,(l=typeof s=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o!==f||m!==u)&&D2(t,i,a,u),ka=!1,m=t.memoizedState,i.state=m,al(t,a,i,r),rl();var p=t.memoizedState;o!==f||m!==p||ka||e!==null&&e.dependencies!==null&&pf(e.dependencies)?(typeof s=="function"&&(Ng(t,n,s,a),p=t.memoizedState),(c=ka||M2(t,n,c,a,m,p,u)||e!==null&&e.dependencies!==null&&pf(e.dependencies))?(l||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,p,u),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,p,u)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||o===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=p),i.props=a,i.state=p,i.context=u,a=c):(typeof i.componentDidUpdate!="function"||o===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),a=!1)}return i=a,Qd(e,t),a=(t.flags&128)!==0,i||a?(i=t.stateNode,n=a&&typeof n.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&a?(t.child=Fi(t,e.child,null,r),t.child=Fi(t,null,n,r)):Nt(e,t,n,r),t.memoizedState=i.state,e=t.child):e=ia(e,t,r),e}function F2(e,t,n,a){return ji(),t.flags|=256,Nt(e,t,n,a),t.child}var Rg={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Mg(e){return{baseLanes:e,cachePool:fI()}}function Dg(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=In),e}function aA(e,t,n){var a=t.pendingProps,r=!1,i=(t.flags&128)!==0,o;if((o=i)||(o=e!==null&&e.memoizedState===null?!1:(dt.current&2)!==0),o&&(r=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(Oe){if(r?Oa(t):Na(t),(e=Xe)?(e=KA(e,qn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ya!==null?{id:br,overflow:_r}:null,retryLane:536870912,hydrationErrors:null},n=uI(e),n.return=t,t.child=n,Mt=t,Xe=null)):e=null,e===null)throw Ga(t);return U0(e)?t.lanes=32:t.lanes=536870912,null}var s=a.children;return a=a.fallback,r?(Na(t),r=t.mode,s=_f({mode:"hidden",children:s},r),a=Li(a,r,n,null),s.return=t,a.return=t,s.sibling=a,t.child=s,a=t.child,a.memoizedState=Mg(n),a.childLanes=Dg(e,o,n),t.memoizedState=Rg,Ju(null,a)):(Oa(t),I0(t,s))}var u=e.memoizedState;if(u!==null&&(s=u.dehydrated,s!==null)){if(i)t.flags&256?(Oa(t),t.flags&=-257,t=$g(e,t,n)):t.memoizedState!==null?(Na(t),t.child=e.child,t.flags|=128,t=null):(Na(t),s=a.fallback,r=t.mode,a=_f({mode:"visible",children:a.children},r),s=Li(s,r,n,null),s.flags|=2,a.return=t,s.return=t,a.sibling=s,t.child=a,Fi(t,e.child,null,n),a=t.child,a.memoizedState=Mg(n),a.childLanes=Dg(e,o,n),t.memoizedState=Rg,t=Ju(null,a));else if(Oa(t),U0(s)){if(o=s.nextSibling&&s.nextSibling.dataset,o)var l=o.dgst;o=l,a=Error(U(419)),a.stack="",a.digest=o,gl({value:a,source:null,stack:null}),t=$g(e,t,n)}else if(yt||bs(e,t,n,!1),o=(n&e.childLanes)!==0,yt||o){if(o=Ze,o!==null&&(a=Dw(o,n),a!==0&&a!==u.retryLane))throw u.retryLane=a,Gi(e,a),ln(o,e,a),Sv;z0(s)||Sf(),t=$g(e,t,n)}else z0(s)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,Xe=Yn(s.nextSibling),Mt=t,Oe=!0,Ua=null,qn=!1,e!==null&&cI(t,e),t=I0(t,a.children),t.flags|=4096);return t}return r?(Na(t),s=a.fallback,r=t.mode,u=e.child,l=u.sibling,a=Wr(u,{mode:"hidden",children:a.children}),a.subtreeFlags=u.subtreeFlags&65011712,l!==null?s=Wr(l,s):(s=Li(s,r,n,null),s.flags|=2),s.return=t,a.return=t,a.sibling=s,t.child=a,Ju(null,a),a=t.child,s=e.child.memoizedState,s===null?s=Mg(n):(r=s.cachePool,r!==null?(u=vt._currentValue,r=r.parent!==u?{parent:u,pool:u}:r):r=fI(),s={baseLanes:s.baseLanes|n,cachePool:r}),a.memoizedState=s,a.childLanes=Dg(e,o,n),t.memoizedState=Rg,Ju(e.child,a)):(Oa(t),n=e.child,e=n.sibling,n=Wr(n,{mode:"visible",children:a.children}),n.return=t,n.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function I0(e,t){return t=_f({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function _f(e,t){return e=wn(22,e,null,t),e.lanes=0,e}function $g(e,t,n){return Fi(t,e.child,null,n),e=I0(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function H2(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),p0(e.return,t,n)}function Lg(e,t,n,a,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:r,treeForkCount:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=a,o.tail=n,o.tailMode=r,o.treeForkCount=i)}function iA(e,t,n){var a=t.pendingProps,r=a.revealOrder,i=a.tail;a=a.children;var o=dt.current,s=(o&2)!==0;if(s?(o=o&1|2,t.flags|=128):o&=1,Ve(dt,o),Nt(e,t,a,n),a=Oe?hl:0,!s&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&H2(e,n,t);else if(e.tag===19)H2(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(r){case"forwards":for(n=t.child,r=null;n!==null;)e=n.alternate,e!==null&&gf(e)===null&&(r=n),n=n.sibling;n=r,n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),Lg(t,!1,r,n,i,a);break;case"backwards":case"unstable_legacy-backwards":for(n=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&gf(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}Lg(t,!0,n,null,i,a);break;case"together":Lg(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function ia(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ja|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(bs(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(U(153));if(t.child!==null){for(e=t.child,n=Wr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Wr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function wv(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&pf(e)))}function SL(e,t,n){switch(t.tag){case 3:of(t,t.stateNode.containerInfo),Ca(t,vt,e.memoizedState.cache),ji();break;case 27:case 5:e0(t);break;case 4:of(t,t.stateNode.containerInfo);break;case 10:Ca(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,b0(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(Oa(t),t.flags|=128,null):(n&t.child.childLanes)!==0?aA(e,t,n):(Oa(t),e=ia(e,t,n),e!==null?e.sibling:null);Oa(t);break;case 19:var r=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(bs(e,t,n,!1),a=(n&t.childLanes)!==0),r){if(a)return iA(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Ve(dt,dt.current),a)break;return null;case 22:return t.lanes=0,rA(e,t,n,t.pendingProps);case 24:Ca(t,vt,e.memoizedState.cache)}return ia(e,t,n)}function oA(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)yt=!0;else{if(!wv(e,n)&&(t.flags&128)===0)return yt=!1,SL(e,t,n);yt=(e.flags&131072)!==0}else yt=!1,Oe&&(t.flags&1048576)!==0&&lI(t,hl,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=Mi(t.elementType),t.type=e,typeof e=="function")rv(e)?(a=Zi(e,a),t.tag=1,t=B2(null,t,e,a,n)):(t.tag=0,t=w0(null,t,e,a,n));else{if(e!=null){var r=e.$$typeof;if(r===H0){t.tag=11,t=L2(null,t,e,a,n);break e}else if(r===Z0){t.tag=14,t=P2(null,t,e,a,n);break e}}throw t=Qg(e)||e,Error(U(306,t,""))}}return t;case 0:return w0(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,r=Zi(a,t.pendingProps),B2(e,t,a,r,n);case 3:e:{if(of(t,t.stateNode.containerInfo),e===null)throw Error(U(387));a=t.pendingProps;var i=t.memoizedState;r=i.element,g0(e,t),al(t,a,null,n);var o=t.memoizedState;if(a=o.cache,Ca(t,vt,a),a!==i.cache&&m0(t,[vt],n,!0),rl(),a=o.element,i.isDehydrated)if(i={element:a,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=F2(e,t,a,n);break e}else if(a!==r){r=Zn(Error(U(424)),t),gl(r),t=F2(e,t,a,n);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,Xe=Yn(e.firstChild),Mt=t,Oe=!0,Ua=null,qn=!0,n=hI(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ji(),a===r){t=ia(e,t,n);break e}Nt(e,t,a,n)}t=t.child}return t;case 26:return Qd(e,t),e===null?(n=dw(t.type,null,t.pendingProps,null))?t.memoizedState=n:Oe||(n=t.type,e=t.pendingProps,a=kf(za.current).createElement(n),a[Rt]=t,a[cn]=e,$t(a,n,e),wt(a),t.stateNode=a):t.memoizedState=dw(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return e0(t),e===null&&Oe&&(a=t.stateNode=JA(t.type,t.pendingProps,za.current),Mt=t,qn=!0,r=Xe,Qa(t.type)?(j0=r,Xe=Yn(a.firstChild)):Xe=r),Nt(e,t,t.pendingProps.children,n),Qd(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Oe&&((r=a=Xe)&&(a=QL(a,t.type,t.pendingProps,qn),a!==null?(t.stateNode=a,Mt=t,Xe=Yn(a.firstChild),qn=!1,r=!0):r=!1),r||Ga(t)),e0(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,L0(r,i)?a=null:o!==null&&L0(r,o)&&(t.flags|=32),t.memoizedState!==null&&(r=fv(e,t,hL,null,null,n),xl._currentValue=r),Qd(e,t),Nt(e,t,a,n),t.child;case 6:return e===null&&Oe&&((e=n=Xe)&&(n=WL(n,t.pendingProps,qn),n!==null?(t.stateNode=n,Mt=t,Xe=null,e=!0):e=!1),e||Ga(t)),null;case 13:return aA(e,t,n);case 4:return of(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Fi(t,null,a,n):Nt(e,t,a,n),t.child;case 11:return L2(e,t,t.type,t.pendingProps,n);case 7:return Nt(e,t,t.pendingProps,n),t.child;case 8:return Nt(e,t,t.pendingProps.children,n),t.child;case 12:return Nt(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.pendingProps,Ca(t,t.type,a.value),Nt(e,t,a.children,n),t.child;case 9:return r=t.type._context,a=t.pendingProps.children,Bi(t),r=Dt(r),a=a(r),t.flags|=1,Nt(e,t,a,n),t.child;case 14:return P2(e,t,t.type,t.pendingProps,n);case 15:return nA(e,t,t.type,t.pendingProps,n);case 19:return iA(e,t,n);case 31:return EL(e,t,n);case 22:return rA(e,t,n,t.pendingProps);case 24:return Bi(t),a=Dt(vt),e===null?(r=sv(),r===null&&(r=Ze,i=ov(),r.pooledCache=i,i.refCount++,i!==null&&(r.pooledCacheLanes|=n),r=i),t.memoizedState={parent:a,cache:r},lv(t),Ca(t,vt,r)):((e.lanes&n)!==0&&(g0(e,t),al(t,null,null,n),rl()),r=e.memoizedState,i=t.memoizedState,r.parent!==a?(r={parent:a,cache:a},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),Ca(t,vt,a)):(a=i.cache,Ca(t,vt,a),a!==r.cache&&m0(t,[vt],n,!0))),Nt(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(U(156,t.tag))}function Zr(e){e.flags|=4}function Pg(e,t,n,a,r){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(r&335544128)===r)if(e.stateNode.complete)e.flags|=8192;else if(OA())e.flags|=8192;else throw zi=mf,uv}else e.flags&=-16777217}function Z2(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!WA(t))if(OA())e.flags|=8192;else throw zi=mf,uv}function Ld(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Nw():536870912,e.lanes|=t,fs|=t)}function Hu(e,t){if(!Oe)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Je(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)for(var r=e.child;r!==null;)n|=r.lanes|r.childLanes,a|=r.subtreeFlags&65011712,a|=r.flags&65011712,r.return=e,r=r.sibling;else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,a|=r.subtreeFlags,a|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function wL(e,t,n){var a=t.pendingProps;switch(iv(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Je(t),null;case 1:return Je(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),ea(vt),os(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Po(t)?Zr(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,kg())),Je(t),null;case 26:var r=t.type,i=t.memoizedState;return e===null?(Zr(t),i!==null?(Je(t),Z2(t,i)):(Je(t),Pg(t,r,null,a,n))):i?i!==e.memoizedState?(Zr(t),Je(t),Z2(t,i)):(Je(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&Zr(t),Je(t),Pg(t,r,e,a,n)),null;case 27:if(sf(t),n=za.current,r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Zr(t);else{if(!a){if(t.stateNode===null)throw Error(U(166));return Je(t),null}e=xr.current,Po(t)?b2(t,e):(e=JA(r,a,n),t.stateNode=e,Zr(t))}return Je(t),null;case 5:if(sf(t),r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Zr(t);else{if(!a){if(t.stateNode===null)throw Error(U(166));return Je(t),null}if(i=xr.current,Po(t))b2(t,i);else{var o=kf(za.current);switch(i){case 1:i=o.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:i=o.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":i=o.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":i=o.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":i=o.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof a.is=="string"?o.createElement("select",{is:a.is}):o.createElement("select"),a.multiple?i.multiple=!0:a.size&&(i.size=a.size);break;default:i=typeof a.is=="string"?o.createElement(r,{is:a.is}):o.createElement(r)}}i[Rt]=t,i[cn]=a;e:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)i.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;o.sibling===null;){if(o.return===null||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=i;e:switch($t(i,r,a),r){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&Zr(t)}}return Je(t),Pg(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&Zr(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(U(166));if(e=za.current,Po(t)){if(e=t.stateNode,n=t.memoizedProps,a=null,r=Mt,r!==null)switch(r.tag){case 27:case 5:a=r.memoizedProps}e[Rt]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||VA(e.nodeValue,n)),e||Ga(t,!0)}else e=kf(e).createTextNode(a),e[Rt]=t,t.stateNode=e}return Je(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=Po(t),n!==null){if(e===null){if(!a)throw Error(U(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(U(557));e[Rt]=t}else ji(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Je(t),e=!1}else n=kg(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Sn(t),t):(Sn(t),null);if((t.flags&128)!==0)throw Error(U(558))}return Je(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=Po(t),a!==null&&a.dehydrated!==null){if(e===null){if(!r)throw Error(U(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(U(317));r[Rt]=t}else ji(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Je(t),r=!1}else r=kg(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(Sn(t),t):(Sn(t),null)}return Sn(t),(t.flags&128)!==0?(t.lanes=n,t):(n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,r=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(r=a.alternate.memoizedState.cachePool.pool),i=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),i!==r&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Ld(t,t.updateQueue),Je(t),null);case 4:return os(),e===null&&Rv(t.stateNode.containerInfo),Je(t),null;case 10:return ea(t.type),Je(t),null;case 19:if(It(dt),a=t.memoizedState,a===null)return Je(t),null;if(r=(t.flags&128)!==0,i=a.rendering,i===null)if(r)Hu(a,!1);else{if(ot!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=gf(e),i!==null){for(t.flags|=128,Hu(a,!1),e=i.updateQueue,t.updateQueue=e,Ld(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)sI(n,e),n=n.sibling;return Ve(dt,dt.current&1|2),Oe&&Gr(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&An()>xf&&(t.flags|=128,r=!0,Hu(a,!1),t.lanes=4194304)}else{if(!r)if(e=gf(i),e!==null){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,Ld(t,e),Hu(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!Oe)return Je(t),null}else 2*An()-a.renderingStartTime>xf&&n!==536870912&&(t.flags|=128,r=!0,Hu(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(e=a.last,e!==null?e.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=An(),e.sibling=null,n=dt.current,Ve(dt,r?n&1|2:n&1),Oe&&Gr(t,a.treeForkCount),e):(Je(t),null);case 22:case 23:return Sn(t),cv(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(Je(t),t.subtreeFlags&6&&(t.flags|=8192)):Je(t),n=t.updateQueue,n!==null&&Ld(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&It(Pi),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ea(vt),Je(t),null;case 25:return null;case 30:return null}throw Error(U(156,t.tag))}function IL(e,t){switch(iv(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ea(vt),os(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return sf(t),null;case 31:if(t.memoizedState!==null){if(Sn(t),t.alternate===null)throw Error(U(340));ji()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Sn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(U(340));ji()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return It(dt),null;case 4:return os(),null;case 10:return ea(t.type),null;case 22:case 23:return Sn(t),cv(),e!==null&&It(Pi),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ea(vt),null;case 25:return null;default:return null}}function sA(e,t){switch(iv(t),t.tag){case 3:ea(vt),os();break;case 26:case 27:case 5:sf(t);break;case 4:os();break;case 31:t.memoizedState!==null&&Sn(t);break;case 13:Sn(t);break;case 19:It(dt);break;case 10:ea(t.type);break;case 22:case 23:Sn(t),cv(),e!==null&&It(Pi);break;case 24:ea(vt)}}function Ml(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var r=a.next;n=r;do{if((n.tag&e)===e){a=void 0;var i=n.create,o=n.inst;a=i(),o.destroy=a}n=n.next}while(n!==r)}}catch(s){Pe(t,t.return,s)}}function Ka(e,t,n){try{var a=t.updateQueue,r=a!==null?a.lastEffect:null;if(r!==null){var i=r.next;a=i;do{if((a.tag&e)===e){var o=a.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,r=t;var u=n,l=s;try{l()}catch(c){Pe(r,u,c)}}}a=a.next}while(a!==i)}}catch(c){Pe(t,t.return,c)}}function uA(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{vI(t,n)}catch(a){Pe(e,e.return,a)}}}function lA(e,t,n){n.props=Zi(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(a){Pe(e,t,a)}}function ol(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof n=="function"?e.refCleanup=n(a):n.current=a}}catch(r){Pe(e,t,r)}}function Tr(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(r){Pe(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(r){Pe(e,t,r)}else n.current=null}function cA(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break e;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(r){Pe(e,e.return,r)}}function zg(e,t,n){try{var a=e.stateNode;VL(a,e.type,n,t),a[cn]=t}catch(r){Pe(e,e.return,r)}}function dA(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Qa(e.type)||e.tag===4}function Ug(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||dA(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Qa(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function A0(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Xr));else if(a!==4&&(a===27&&Qa(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(A0(e,t,n),e=e.sibling;e!==null;)A0(e,t,n),e=e.sibling}function Tf(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(a===27&&Qa(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Tf(e,t,n),e=e.sibling;e!==null;)Tf(e,t,n),e=e.sibling}function fA(e){var t=e.stateNode,n=e.memoizedProps;try{for(var a=e.type,r=t.attributes;r.length;)t.removeAttributeNode(r[0]);$t(t,a,n),t[Rt]=e,t[cn]=n}catch(i){Pe(e,e.return,i)}}var Kr=!1,gt=!1,jg=!1,q2=typeof WeakSet=="function"?WeakSet:Set,St=null;function AL(e,t){if(e=e.containerInfo,D0=Rf,e=Ww(e),ev(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var r=a.anchorOffset,i=a.focusNode;a=a.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,s=-1,u=-1,l=0,c=0,f=e,m=null;t:for(;;){for(var p;f!==n||r!==0&&f.nodeType!==3||(s=o+r),f!==i||a!==0&&f.nodeType!==3||(u=o+a),f.nodeType===3&&(o+=f.nodeValue.length),(p=f.firstChild)!==null;)m=f,f=p;for(;;){if(f===e)break t;if(m===n&&++l===r&&(s=o),m===i&&++c===a&&(u=o),(p=f.nextSibling)!==null)break;f=m,m=f.parentNode}f=p}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for($0={focusedElem:e,selectionRange:n},Rf=!1,St=t;St!==null;)if(t=St,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,St=e;else for(;St!==null;){switch(t=St,i=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)r=e[n],r.ref.impl=r.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&i!==null){e=void 0,n=t,r=i.memoizedProps,i=i.memoizedState,a=n.stateNode;try{var b=Zi(n.type,r);e=a.getSnapshotBeforeUpdate(b,i),a.__reactInternalSnapshotBeforeUpdate=e}catch(S){Pe(n,n.return,S)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)P0(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":P0(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(U(163))}if(e=t.sibling,e!==null){e.return=t.return,St=e;break}St=t.return}}function pA(e,t,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:Vr(e,n),a&4&&Ml(5,n);break;case 1:if(Vr(e,n),a&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(o){Pe(n,n.return,o)}else{var r=Zi(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(r,t,e.__reactInternalSnapshotBeforeUpdate)}catch(o){Pe(n,n.return,o)}}a&64&&uA(n),a&512&&ol(n,n.return);break;case 3:if(Vr(e,n),a&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{vI(e,t)}catch(o){Pe(n,n.return,o)}}break;case 27:t===null&&a&4&&fA(n);case 26:case 5:Vr(e,n),t===null&&a&4&&cA(n),a&512&&ol(n,n.return);break;case 12:Vr(e,n);break;case 31:Vr(e,n),a&4&&gA(e,n);break;case 13:Vr(e,n),a&4&&vA(e,n),a&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=LL.bind(null,n),eP(e,n))));break;case 22:if(a=n.memoizedState!==null||Kr,!a){t=t!==null&&t.memoizedState!==null||gt,r=Kr;var i=gt;Kr=a,(gt=t)&&!i?Yr(e,n,(n.subtreeFlags&8772)!==0):Vr(e,n),Kr=r,gt=i}break;case 30:break;default:Vr(e,n)}}function mA(e){var t=e.alternate;t!==null&&(e.alternate=null,mA(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&G0(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var tt=null,sn=!1;function qr(e,t,n){for(n=n.child;n!==null;)hA(e,t,n),n=n.sibling}function hA(e,t,n){if(kn&&typeof kn.onCommitFiberUnmount=="function")try{kn.onCommitFiberUnmount(Il,n)}catch{}switch(n.tag){case 26:gt||Tr(n,t),qr(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:gt||Tr(n,t);var a=tt,r=sn;Qa(n.type)&&(tt=n.stateNode,sn=!1),qr(e,t,n),cl(n.stateNode),tt=a,sn=r;break;case 5:gt||Tr(n,t);case 6:if(a=tt,r=sn,tt=null,qr(e,t,n),tt=a,sn=r,tt!==null)if(sn)try{(tt.nodeType===9?tt.body:tt.nodeName==="HTML"?tt.ownerDocument.body:tt).removeChild(n.stateNode)}catch(i){Pe(n,t,i)}else try{tt.removeChild(n.stateNode)}catch(i){Pe(n,t,i)}break;case 18:tt!==null&&(sn?(e=tt,ow(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),gs(e)):ow(tt,n.stateNode));break;case 4:a=tt,r=sn,tt=n.stateNode.containerInfo,sn=!0,qr(e,t,n),tt=a,sn=r;break;case 0:case 11:case 14:case 15:Ka(2,n,t),gt||Ka(4,n,t),qr(e,t,n);break;case 1:gt||(Tr(n,t),a=n.stateNode,typeof a.componentWillUnmount=="function"&&lA(n,t,a)),qr(e,t,n);break;case 21:qr(e,t,n);break;case 22:gt=(a=gt)||n.memoizedState!==null,qr(e,t,n),gt=a;break;default:qr(e,t,n)}}function gA(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{gs(e)}catch(n){Pe(t,t.return,n)}}}function vA(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{gs(e)}catch(n){Pe(t,t.return,n)}}function kL(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new q2),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new q2),t;default:throw Error(U(435,e.tag))}}function Pd(e,t){var n=kL(e);t.forEach(function(a){if(!n.has(a)){n.add(a);var r=PL.bind(null,e,a);a.then(r,r)}})}function an(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var r=n[a],i=e,o=t,s=o;e:for(;s!==null;){switch(s.tag){case 27:if(Qa(s.type)){tt=s.stateNode,sn=!1;break e}break;case 5:tt=s.stateNode,sn=!1;break e;case 3:case 4:tt=s.stateNode.containerInfo,sn=!0;break e}s=s.return}if(tt===null)throw Error(U(160));hA(i,o,r),tt=null,sn=!1,i=r.alternate,i!==null&&(i.return=null),r.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)yA(t,e),t=t.sibling}var ir=null;function yA(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:an(t,e),on(e),a&4&&(Ka(3,e,e.return),Ml(3,e),Ka(5,e,e.return));break;case 1:an(t,e),on(e),a&512&&(gt||n===null||Tr(n,n.return)),a&64&&Kr&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?a:n.concat(a))));break;case 26:var r=ir;if(an(t,e),on(e),a&512&&(gt||n===null||Tr(n,n.return)),a&4){var i=n!==null?n.memoizedState:null;if(a=e.memoizedState,n===null)if(a===null)if(e.stateNode===null){e:{a=e.type,n=e.memoizedProps,r=r.ownerDocument||r;t:switch(a){case"title":i=r.getElementsByTagName("title")[0],(!i||i[Cl]||i[Rt]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=r.createElement(a),r.head.insertBefore(i,r.querySelector("head > title"))),$t(i,a,n),i[Rt]=e,wt(i),a=i;break e;case"link":var o=pw("link","href",r).get(a+(n.href||""));if(o){for(var s=0;s<o.length;s++)if(i=o[s],i.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&i.getAttribute("rel")===(n.rel==null?null:n.rel)&&i.getAttribute("title")===(n.title==null?null:n.title)&&i.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){o.splice(s,1);break t}}i=r.createElement(a),$t(i,a,n),r.head.appendChild(i);break;case"meta":if(o=pw("meta","content",r).get(a+(n.content||""))){for(s=0;s<o.length;s++)if(i=o[s],i.getAttribute("content")===(n.content==null?null:""+n.content)&&i.getAttribute("name")===(n.name==null?null:n.name)&&i.getAttribute("property")===(n.property==null?null:n.property)&&i.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&i.getAttribute("charset")===(n.charSet==null?null:n.charSet)){o.splice(s,1);break t}}i=r.createElement(a),$t(i,a,n),r.head.appendChild(i);break;default:throw Error(U(468,a))}i[Rt]=e,wt(i),a=i}e.stateNode=a}else mw(r,e.type,e.stateNode);else e.stateNode=fw(r,a,e.memoizedProps);else i!==a?(i===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):i.count--,a===null?mw(r,e.type,e.stateNode):fw(r,a,e.memoizedProps)):a===null&&e.stateNode!==null&&zg(e,e.memoizedProps,n.memoizedProps)}break;case 27:an(t,e),on(e),a&512&&(gt||n===null||Tr(n,n.return)),n!==null&&a&4&&zg(e,e.memoizedProps,n.memoizedProps);break;case 5:if(an(t,e),on(e),a&512&&(gt||n===null||Tr(n,n.return)),e.flags&32){r=e.stateNode;try{us(r,"")}catch(b){Pe(e,e.return,b)}}a&4&&e.stateNode!=null&&(r=e.memoizedProps,zg(e,r,n!==null?n.memoizedProps:r)),a&1024&&(jg=!0);break;case 6:if(an(t,e),on(e),a&4){if(e.stateNode===null)throw Error(U(162));a=e.memoizedProps,n=e.stateNode;try{n.nodeValue=a}catch(b){Pe(e,e.return,b)}}break;case 3:if(tf=null,r=ir,ir=Cf(t.containerInfo),an(t,e),ir=r,on(e),a&4&&n!==null&&n.memoizedState.isDehydrated)try{gs(t.containerInfo)}catch(b){Pe(e,e.return,b)}jg&&(jg=!1,bA(e));break;case 4:a=ir,ir=Cf(e.stateNode.containerInfo),an(t,e),on(e),ir=a;break;case 12:an(t,e),on(e);break;case 31:an(t,e),on(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Pd(e,a)));break;case 13:an(t,e),on(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(qf=An()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Pd(e,a)));break;case 22:r=e.memoizedState!==null;var u=n!==null&&n.memoizedState!==null,l=Kr,c=gt;if(Kr=l||r,gt=c||u,an(t,e),gt=c,Kr=l,on(e),a&8192)e:for(t=e.stateNode,t._visibility=r?t._visibility&-2:t._visibility|1,r&&(n===null||u||Kr||gt||Di(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){u=n=t;try{if(i=u.stateNode,r)o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none";else{s=u.stateNode;var f=u.memoizedProps.style,m=f!=null&&f.hasOwnProperty("display")?f.display:null;s.style.display=m==null||typeof m=="boolean"?"":(""+m).trim()}}catch(b){Pe(u,u.return,b)}}}else if(t.tag===6){if(n===null){u=t;try{u.stateNode.nodeValue=r?"":u.memoizedProps}catch(b){Pe(u,u.return,b)}}}else if(t.tag===18){if(n===null){u=t;try{var p=u.stateNode;r?sw(p,!0):sw(u.stateNode,!1)}catch(b){Pe(u,u.return,b)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(n=a.retryQueue,n!==null&&(a.retryQueue=null,Pd(e,n))));break;case 19:an(t,e),on(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Pd(e,a)));break;case 30:break;case 21:break;default:an(t,e),on(e)}}function on(e){var t=e.flags;if(t&2){try{for(var n,a=e.return;a!==null;){if(dA(a)){n=a;break}a=a.return}if(n==null)throw Error(U(160));switch(n.tag){case 27:var r=n.stateNode,i=Ug(e);Tf(e,i,r);break;case 5:var o=n.stateNode;n.flags&32&&(us(o,""),n.flags&=-33);var s=Ug(e);Tf(e,s,o);break;case 3:case 4:var u=n.stateNode.containerInfo,l=Ug(e);A0(e,l,u);break;default:throw Error(U(161))}}catch(c){Pe(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function bA(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;bA(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Vr(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)pA(e,t.alternate,t),t=t.sibling}function Di(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Ka(4,t,t.return),Di(t);break;case 1:Tr(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&lA(t,t.return,n),Di(t);break;case 27:cl(t.stateNode);case 26:case 5:Tr(t,t.return),Di(t);break;case 22:t.memoizedState===null&&Di(t);break;case 30:Di(t);break;default:Di(t)}e=e.sibling}}function Yr(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,r=e,i=t,o=i.flags;switch(i.tag){case 0:case 11:case 15:Yr(r,i,n),Ml(4,i);break;case 1:if(Yr(r,i,n),a=i,r=a.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(l){Pe(a,a.return,l)}if(a=i,r=a.updateQueue,r!==null){var s=a.stateNode;try{var u=r.shared.hiddenCallbacks;if(u!==null)for(r.shared.hiddenCallbacks=null,r=0;r<u.length;r++)gI(u[r],s)}catch(l){Pe(a,a.return,l)}}n&&o&64&&uA(i),ol(i,i.return);break;case 27:fA(i);case 26:case 5:Yr(r,i,n),n&&a===null&&o&4&&cA(i),ol(i,i.return);break;case 12:Yr(r,i,n);break;case 31:Yr(r,i,n),n&&o&4&&gA(r,i);break;case 13:Yr(r,i,n),n&&o&4&&vA(r,i);break;case 22:i.memoizedState===null&&Yr(r,i,n),ol(i,i.return);break;case 30:break;default:Yr(r,i,n)}t=t.sibling}}function Iv(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Nl(n))}function Av(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Nl(e))}function ar(e,t,n,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)_A(e,t,n,a),t=t.sibling}function _A(e,t,n,a){var r=t.flags;switch(t.tag){case 0:case 11:case 15:ar(e,t,n,a),r&2048&&Ml(9,t);break;case 1:ar(e,t,n,a);break;case 3:ar(e,t,n,a),r&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Nl(e)));break;case 12:if(r&2048){ar(e,t,n,a),e=t.stateNode;try{var i=t.memoizedProps,o=i.id,s=i.onPostCommit;typeof s=="function"&&s(o,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(u){Pe(t,t.return,u)}}else ar(e,t,n,a);break;case 31:ar(e,t,n,a);break;case 13:ar(e,t,n,a);break;case 23:break;case 22:i=t.stateNode,o=t.alternate,t.memoizedState!==null?i._visibility&2?ar(e,t,n,a):sl(e,t):i._visibility&2?ar(e,t,n,a):(i._visibility|=2,Uo(e,t,n,a,(t.subtreeFlags&10256)!==0||!1)),r&2048&&Iv(o,t);break;case 24:ar(e,t,n,a),r&2048&&Av(t.alternate,t);break;default:ar(e,t,n,a)}}function Uo(e,t,n,a,r){for(r=r&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var i=e,o=t,s=n,u=a,l=o.flags;switch(o.tag){case 0:case 11:case 15:Uo(i,o,s,u,r),Ml(8,o);break;case 23:break;case 22:var c=o.stateNode;o.memoizedState!==null?c._visibility&2?Uo(i,o,s,u,r):sl(i,o):(c._visibility|=2,Uo(i,o,s,u,r)),r&&l&2048&&Iv(o.alternate,o);break;case 24:Uo(i,o,s,u,r),r&&l&2048&&Av(o.alternate,o);break;default:Uo(i,o,s,u,r)}t=t.sibling}}function sl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,a=t,r=a.flags;switch(a.tag){case 22:sl(n,a),r&2048&&Iv(a.alternate,a);break;case 24:sl(n,a),r&2048&&Av(a.alternate,a);break;default:sl(n,a)}t=t.sibling}}var Xu=8192;function zo(e,t,n){if(e.subtreeFlags&Xu)for(e=e.child;e!==null;)TA(e,t,n),e=e.sibling}function TA(e,t,n){switch(e.tag){case 26:zo(e,t,n),e.flags&Xu&&e.memoizedState!==null&&fP(n,ir,e.memoizedState,e.memoizedProps);break;case 5:zo(e,t,n);break;case 3:case 4:var a=ir;ir=Cf(e.stateNode.containerInfo),zo(e,t,n),ir=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=Xu,Xu=16777216,zo(e,t,n),Xu=a):zo(e,t,n));break;default:zo(e,t,n)}}function xA(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Zu(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];St=a,SA(a,e)}xA(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)EA(e),e=e.sibling}function EA(e){switch(e.tag){case 0:case 11:case 15:Zu(e),e.flags&2048&&Ka(9,e,e.return);break;case 3:Zu(e);break;case 12:Zu(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Wd(e)):Zu(e);break;default:Zu(e)}}function Wd(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];St=a,SA(a,e)}xA(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ka(8,t,t.return),Wd(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Wd(t));break;default:Wd(t)}e=e.sibling}}function SA(e,t){for(;St!==null;){var n=St;switch(n.tag){case 0:case 11:case 15:Ka(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var a=n.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Nl(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,St=a;else e:for(n=e;St!==null;){a=St;var r=a.sibling,i=a.return;if(mA(a),a===n){St=null;break e}if(r!==null){r.return=i,St=r;break e}St=i}}}var CL={getCacheForType:function(e){var t=Dt(vt),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Dt(vt).controller.signal}},OL=typeof WeakMap=="function"?WeakMap:Map,Re=0,Ze=null,Ee=null,we=0,Le=0,En=null,$a=!1,Ts=!1,kv=!1,oa=0,ot=0,Ja=0,Ui=0,Cv=0,In=0,fs=0,ul=null,un=null,k0=!1,qf=0,wA=0,xf=1/0,Ef=null,Fa=null,_t=0,Ha=null,ps=null,ta=0,C0=0,O0=null,IA=null,ll=0,N0=null;function On(){return(Re&2)!==0&&we!==0?we&-we:de.T!==null?Nv():$w()}function AA(){if(In===0)if((we&536870912)===0||Oe){var e=Ad;Ad<<=1,(Ad&3932160)===0&&(Ad=262144),In=e}else In=536870912;return e=Rn.current,e!==null&&(e.flags|=32),In}function ln(e,t,n){(e===Ze&&(Le===2||Le===9)||e.cancelPendingCommit!==null)&&(ms(e,0),La(e,we,In,!1)),kl(e,n),((Re&2)===0||e!==Ze)&&(e===Ze&&((Re&2)===0&&(Ui|=n),ot===4&&La(e,we,In,!1)),Sr(e))}function kA(e,t,n){if((Re&6)!==0)throw Error(U(327));var a=!n&&(t&127)===0&&(t&e.expiredLanes)===0||Al(e,t),r=a?ML(e,t):Bg(e,t,!0),i=a;do{if(r===0){Ts&&!a&&La(e,t,0,!1);break}else{if(n=e.current.alternate,i&&!NL(n)){r=Bg(e,t,!1),i=!1;continue}if(r===2){if(i=t,e.errorRecoveryDisabledLanes&i)var o=0;else o=e.pendingLanes&-536870913,o=o!==0?o:o&536870912?536870912:0;if(o!==0){t=o;e:{var s=e;r=ul;var u=s.current.memoizedState.isDehydrated;if(u&&(ms(s,o).flags|=256),o=Bg(s,o,!1),o!==2){if(kv&&!u){s.errorRecoveryDisabledLanes|=i,Ui|=i,r=4;break e}i=un,un=r,i!==null&&(un===null?un=i:un.push.apply(un,i))}r=o}if(i=!1,r!==2)continue}}if(r===1){ms(e,0),La(e,t,0,!0);break}e:{switch(a=e,i=r,i){case 0:case 1:throw Error(U(345));case 4:if((t&4194048)!==t)break;case 6:La(a,t,In,!$a);break e;case 2:un=null;break;case 3:case 5:break;default:throw Error(U(329))}if((t&62914560)===t&&(r=qf+300-An(),10<r)){if(La(a,t,In,!$a),Df(a,0,!0)!==0)break e;ta=t,a.timeoutHandle=GA(V2.bind(null,a,n,un,Ef,k0,t,In,Ui,fs,$a,i,"Throttled",-0,0),r);break e}V2(a,n,un,Ef,k0,t,In,Ui,fs,$a,i,null,-0,0)}}break}while(!0);Sr(e)}function V2(e,t,n,a,r,i,o,s,u,l,c,f,m,p){if(e.timeoutHandle=-1,f=t.subtreeFlags,f&8192||(f&16785408)===16785408){f={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Xr},TA(t,i,f);var b=(i&62914560)===i?qf-An():(i&4194048)===i?wA-An():0;if(b=pP(f,b),b!==null){ta=i,e.cancelPendingCommit=b(G2.bind(null,e,t,i,n,a,r,o,s,u,c,f,null,m,p)),La(e,i,o,!l);return}}G2(e,t,i,n,a,r,o,s,u)}function NL(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var r=n[a],i=r.getSnapshot;r=r.value;try{if(!Nn(i(),r))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function La(e,t,n,a){t&=~Cv,t&=~Ui,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var r=t;0<r;){var i=31-Cn(r),o=1<<i;a[i]=-1,r&=~o}n!==0&&Rw(e,n,t)}function Vf(){return(Re&6)===0?(Dl(0,!1),!1):!0}function Ov(){if(Ee!==null){if(Le===0)var e=Ee.return;else e=Ee,Qr=Ki=null,hv(e),rs=null,vl=0,e=Ee;for(;e!==null;)sA(e.alternate,e),e=e.return;Ee=null}}function ms(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,KL(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),ta=0,Ov(),Ze=e,Ee=n=Wr(e.current,null),we=t,Le=0,En=null,$a=!1,Ts=Al(e,t),kv=!1,fs=In=Cv=Ui=Ja=ot=0,un=ul=null,k0=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var r=31-Cn(a),i=1<<r;t|=e[r],a&=~i}return oa=t,zf(),n}function CA(e,t){ge=null,de.H=bl,t===_s||t===jf?(t=S2(),Le=3):t===uv?(t=S2(),Le=4):Le=t===Sv?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,En=t,Ee===null&&(ot=1,bf(e,Zn(t,e.current)))}function OA(){var e=Rn.current;return e===null?!0:(we&4194048)===we?Vn===null:(we&62914560)===we||(we&536870912)!==0?e===Vn:!1}function NA(){var e=de.H;return de.H=bl,e===null?bl:e}function RA(){var e=de.A;return de.A=CL,e}function Sf(){ot=4,$a||(we&4194048)!==we&&Rn.current!==null||(Ts=!0),(Ja&134217727)===0&&(Ui&134217727)===0||Ze===null||La(Ze,we,In,!1)}function Bg(e,t,n){var a=Re;Re|=2;var r=NA(),i=RA();(Ze!==e||we!==t)&&(Ef=null,ms(e,t)),t=!1;var o=ot;e:do try{if(Le!==0&&Ee!==null){var s=Ee,u=En;switch(Le){case 8:Ov(),o=6;break e;case 3:case 2:case 9:case 6:Rn.current===null&&(t=!0);var l=Le;if(Le=0,En=null,Qo(e,s,u,l),n&&Ts){o=0;break e}break;default:l=Le,Le=0,En=null,Qo(e,s,u,l)}}RL(),o=ot;break}catch(c){CA(e,c)}while(!0);return t&&e.shellSuspendCounter++,Qr=Ki=null,Re=a,de.H=r,de.A=i,Ee===null&&(Ze=null,we=0,zf()),o}function RL(){for(;Ee!==null;)MA(Ee)}function ML(e,t){var n=Re;Re|=2;var a=NA(),r=RA();Ze!==e||we!==t?(Ef=null,xf=An()+500,ms(e,t)):Ts=Al(e,t);e:do try{if(Le!==0&&Ee!==null){t=Ee;var i=En;t:switch(Le){case 1:Le=0,En=null,Qo(e,t,i,1);break;case 2:case 9:if(E2(i)){Le=0,En=null,Y2(t);break}t=function(){Le!==2&&Le!==9||Ze!==e||(Le=7),Sr(e)},i.then(t,t);break e;case 3:Le=7;break e;case 4:Le=5;break e;case 7:E2(i)?(Le=0,En=null,Y2(t)):(Le=0,En=null,Qo(e,t,i,7));break;case 5:var o=null;switch(Ee.tag){case 26:o=Ee.memoizedState;case 5:case 27:var s=Ee;if(o?WA(o):s.stateNode.complete){Le=0,En=null;var u=s.sibling;if(u!==null)Ee=u;else{var l=s.return;l!==null?(Ee=l,Yf(l)):Ee=null}break t}}Le=0,En=null,Qo(e,t,i,5);break;case 6:Le=0,En=null,Qo(e,t,i,6);break;case 8:Ov(),ot=6;break e;default:throw Error(U(462))}}DL();break}catch(c){CA(e,c)}while(!0);return Qr=Ki=null,de.H=a,de.A=r,Re=n,Ee!==null?0:(Ze=null,we=0,zf(),ot)}function DL(){for(;Ee!==null&&!r$();)MA(Ee)}function MA(e){var t=oA(e.alternate,e,oa);e.memoizedProps=e.pendingProps,t===null?Yf(e):Ee=t}function Y2(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=j2(n,t,t.pendingProps,t.type,void 0,we);break;case 11:t=j2(n,t,t.pendingProps,t.type.render,t.ref,we);break;case 5:hv(t);default:sA(n,t),t=Ee=sI(t,oa),t=oA(n,t,oa)}e.memoizedProps=e.pendingProps,t===null?Yf(e):Ee=t}function Qo(e,t,n,a){Qr=Ki=null,hv(t),rs=null,vl=0;var r=t.return;try{if(xL(e,r,t,n,we)){ot=1,bf(e,Zn(n,e.current)),Ee=null;return}}catch(i){if(r!==null)throw Ee=r,i;ot=1,bf(e,Zn(n,e.current)),Ee=null;return}t.flags&32768?(Oe||a===1?e=!0:Ts||(we&536870912)!==0?e=!1:($a=e=!0,(a===2||a===9||a===3||a===6)&&(a=Rn.current,a!==null&&a.tag===13&&(a.flags|=16384))),DA(t,e)):Yf(t)}function Yf(e){var t=e;do{if((t.flags&32768)!==0){DA(t,$a);return}e=t.return;var n=wL(t.alternate,t,oa);if(n!==null){Ee=n;return}if(t=t.sibling,t!==null){Ee=t;return}Ee=t=e}while(t!==null);ot===0&&(ot=5)}function DA(e,t){do{var n=IL(e.alternate,e);if(n!==null){n.flags&=32767,Ee=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Ee=e;return}Ee=e=n}while(e!==null);ot=6,Ee=null}function G2(e,t,n,a,r,i,o,s,u){e.cancelPendingCommit=null;do Gf();while(_t!==0);if((Re&6)!==0)throw Error(U(327));if(t!==null){if(t===e.current)throw Error(U(177));if(i=t.lanes|t.childLanes,i|=tv,p$(e,n,i,o,s,u),e===Ze&&(Ee=Ze=null,we=0),ps=t,Ha=e,ta=n,C0=i,O0=r,IA=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,zL(uf,function(){return UA(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=de.T,de.T=null,r=Me.p,Me.p=2,o=Re,Re|=4;try{AL(e,t,n)}finally{Re=o,Me.p=r,de.T=a}}_t=1,$A(),LA(),PA()}}function $A(){if(_t===1){_t=0;var e=Ha,t=ps,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=de.T,de.T=null;var a=Me.p;Me.p=2;var r=Re;Re|=4;try{yA(t,e);var i=$0,o=Ww(e.containerInfo),s=i.focusedElem,u=i.selectionRange;if(o!==s&&s&&s.ownerDocument&&Qw(s.ownerDocument.documentElement,s)){if(u!==null&&ev(s)){var l=u.start,c=u.end;if(c===void 0&&(c=l),"selectionStart"in s)s.selectionStart=l,s.selectionEnd=Math.min(c,s.value.length);else{var f=s.ownerDocument||document,m=f&&f.defaultView||window;if(m.getSelection){var p=m.getSelection(),b=s.textContent.length,S=Math.min(u.start,b),C=u.end===void 0?S:Math.min(u.end,b);!p.extend&&S>C&&(o=C,C=S,S=o);var v=g2(s,S),y=g2(s,C);if(v&&y&&(p.rangeCount!==1||p.anchorNode!==v.node||p.anchorOffset!==v.offset||p.focusNode!==y.node||p.focusOffset!==y.offset)){var T=f.createRange();T.setStart(v.node,v.offset),p.removeAllRanges(),S>C?(p.addRange(T),p.extend(y.node,y.offset)):(T.setEnd(y.node,y.offset),p.addRange(T))}}}}for(f=[],p=s;p=p.parentNode;)p.nodeType===1&&f.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<f.length;s++){var A=f[s];A.element.scrollLeft=A.left,A.element.scrollTop=A.top}}Rf=!!D0,$0=D0=null}finally{Re=r,Me.p=a,de.T=n}}e.current=t,_t=2}}function LA(){if(_t===2){_t=0;var e=Ha,t=ps,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=de.T,de.T=null;var a=Me.p;Me.p=2;var r=Re;Re|=4;try{pA(e,t.alternate,t)}finally{Re=r,Me.p=a,de.T=n}}_t=3}}function PA(){if(_t===4||_t===3){_t=0,a$();var e=Ha,t=ps,n=ta,a=IA;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?_t=5:(_t=0,ps=Ha=null,zA(e,e.pendingLanes));var r=e.pendingLanes;if(r===0&&(Fa=null),Y0(n),t=t.stateNode,kn&&typeof kn.onCommitFiberRoot=="function")try{kn.onCommitFiberRoot(Il,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=de.T,r=Me.p,Me.p=2,de.T=null;try{for(var i=e.onRecoverableError,o=0;o<a.length;o++){var s=a[o];i(s.value,{componentStack:s.stack})}}finally{de.T=t,Me.p=r}}(ta&3)!==0&&Gf(),Sr(e),r=e.pendingLanes,(n&261930)!==0&&(r&42)!==0?e===N0?ll++:(ll=0,N0=e):ll=0,Dl(0,!1)}}function zA(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Nl(t)))}function Gf(){return $A(),LA(),PA(),UA()}function UA(){if(_t!==5)return!1;var e=Ha,t=C0;C0=0;var n=Y0(ta),a=de.T,r=Me.p;try{Me.p=32>n?32:n,de.T=null,n=O0,O0=null;var i=Ha,o=ta;if(_t=0,ps=Ha=null,ta=0,(Re&6)!==0)throw Error(U(331));var s=Re;if(Re|=4,EA(i.current),_A(i,i.current,o,n),Re=s,Dl(0,!1),kn&&typeof kn.onPostCommitFiberRoot=="function")try{kn.onPostCommitFiberRoot(Il,i)}catch{}return!0}finally{Me.p=r,de.T=a,zA(e,t)}}function K2(e,t,n){t=Zn(n,t),t=S0(e.stateNode,t,2),e=Ba(e,t,2),e!==null&&(kl(e,2),Sr(e))}function Pe(e,t,n){if(e.tag===3)K2(e,e,n);else for(;t!==null;){if(t.tag===3){K2(t,e,n);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Fa===null||!Fa.has(a))){e=Zn(n,e),n=eA(2),a=Ba(t,n,2),a!==null&&(tA(n,a,t,e),kl(a,2),Sr(a));break}}t=t.return}}function Fg(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new OL;var r=new Set;a.set(t,r)}else r=a.get(t),r===void 0&&(r=new Set,a.set(t,r));r.has(n)||(kv=!0,r.add(n),e=$L.bind(null,e,t,n),t.then(e,e))}function $L(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Ze===e&&(we&n)===n&&(ot===4||ot===3&&(we&62914560)===we&&300>An()-qf?(Re&2)===0&&ms(e,0):Cv|=n,fs===we&&(fs=0)),Sr(e)}function jA(e,t){t===0&&(t=Nw()),e=Gi(e,t),e!==null&&(kl(e,t),Sr(e))}function LL(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),jA(e,n)}function PL(e,t){var n=0;switch(e.tag){case 31:case 13:var a=e.stateNode,r=e.memoizedState;r!==null&&(n=r.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(U(314))}a!==null&&a.delete(t),jA(e,n)}function zL(e,t){return q0(e,t)}var wf=null,jo=null,R0=!1,If=!1,Hg=!1,Pa=0;function Sr(e){e!==jo&&e.next===null&&(jo===null?wf=jo=e:jo=jo.next=e),If=!0,R0||(R0=!0,jL())}function Dl(e,t){if(!Hg&&If){Hg=!0;do for(var n=!1,a=wf;a!==null;){if(!t)if(e!==0){var r=a.pendingLanes;if(r===0)var i=0;else{var o=a.suspendedLanes,s=a.pingedLanes;i=(1<<31-Cn(42|e)+1)-1,i&=r&~(o&~s),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(n=!0,J2(a,i))}else i=we,i=Df(a,a===Ze?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(i&3)===0||Al(a,i)||(n=!0,J2(a,i));a=a.next}while(n);Hg=!1}}function UL(){BA()}function BA(){If=R0=!1;var e=0;Pa!==0&&GL()&&(e=Pa);for(var t=An(),n=null,a=wf;a!==null;){var r=a.next,i=FA(a,t);i===0?(a.next=null,n===null?wf=r:n.next=r,r===null&&(jo=n)):(n=a,(e!==0||(i&3)!==0)&&(If=!0)),a=r}_t!==0&&_t!==5||Dl(e,!1),Pa!==0&&(Pa=0)}function FA(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,r=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var o=31-Cn(i),s=1<<o,u=r[o];u===-1?((s&n)===0||(s&a)!==0)&&(r[o]=f$(s,t)):u<=t&&(e.expiredLanes|=s),i&=~s}if(t=Ze,n=we,n=Df(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,n===0||e===t&&(Le===2||Le===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&yg(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Al(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(a!==null&&yg(a),Y0(n)){case 2:case 8:n=Cw;break;case 32:n=uf;break;case 268435456:n=Ow;break;default:n=uf}return a=HA.bind(null,e),n=q0(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&a!==null&&yg(a),e.callbackPriority=2,e.callbackNode=null,2}function HA(e,t){if(_t!==0&&_t!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Gf()&&e.callbackNode!==n)return null;var a=we;return a=Df(e,e===Ze?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(kA(e,a,t),FA(e,An()),e.callbackNode!=null&&e.callbackNode===n?HA.bind(null,e):null)}function J2(e,t){if(Gf())return null;kA(e,t,!0)}function jL(){JL(function(){(Re&6)!==0?q0(kw,UL):BA()})}function Nv(){if(Pa===0){var e=ls;e===0&&(e=Id,Id<<=1,(Id&261888)===0&&(Id=256)),Pa=e}return Pa}function X2(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Zd(""+e)}function Q2(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function BL(e,t,n,a,r){if(t==="submit"&&n&&n.stateNode===r){var i=X2((r[cn]||null).action),o=a.submitter;o&&(t=(t=o[cn]||null)?X2(t.formAction):o.getAttribute("formAction"),t!==null&&(i=t,o=null));var s=new $f("action","action",null,a,r);e.push({event:s,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Pa!==0){var u=o?Q2(r,o):new FormData(r);x0(n,{pending:!0,data:u,method:r.method,action:i},null,u)}}else typeof i=="function"&&(s.preventDefault(),u=o?Q2(r,o):new FormData(r),x0(n,{pending:!0,data:u,method:r.method,action:i},i,u))},currentTarget:r}]})}}for(zd=0;zd<c0.length;zd++)Ud=c0[zd],W2=Ud.toLowerCase(),ew=Ud[0].toUpperCase()+Ud.slice(1),or(W2,"on"+ew);var Ud,W2,ew,zd;or(tI,"onAnimationEnd");or(nI,"onAnimationIteration");or(rI,"onAnimationStart");or("dblclick","onDoubleClick");or("focusin","onFocus");or("focusout","onBlur");or(iL,"onTransitionRun");or(oL,"onTransitionStart");or(sL,"onTransitionCancel");or(aI,"onTransitionEnd");ss("onMouseEnter",["mouseout","mouseover"]);ss("onMouseLeave",["mouseout","mouseover"]);ss("onPointerEnter",["pointerout","pointerover"]);ss("onPointerLeave",["pointerout","pointerover"]);qi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));qi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));qi("onBeforeInput",["compositionend","keypress","textInput","paste"]);qi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));qi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));qi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var _l="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(" "),FL=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(_l));function ZA(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n],r=a.event;a=a.listeners;e:{var i=void 0;if(t)for(var o=a.length-1;0<=o;o--){var s=a[o],u=s.instance,l=s.currentTarget;if(s=s.listener,u!==i&&r.isPropagationStopped())break e;i=s,r.currentTarget=l;try{i(r)}catch(c){cf(c)}r.currentTarget=null,i=u}else for(o=0;o<a.length;o++){if(s=a[o],u=s.instance,l=s.currentTarget,s=s.listener,u!==i&&r.isPropagationStopped())break e;i=s,r.currentTarget=l;try{i(r)}catch(c){cf(c)}r.currentTarget=null,i=u}}}}function xe(e,t){var n=t[n0];n===void 0&&(n=t[n0]=new Set);var a=e+"__bubble";n.has(a)||(qA(t,e,2,!1),n.add(a))}function Zg(e,t,n){var a=0;t&&(a|=4),qA(n,e,a,t)}var jd="_reactListening"+Math.random().toString(36).slice(2);function Rv(e){if(!e[jd]){e[jd]=!0,Lw.forEach(function(n){n!=="selectionchange"&&(FL.has(n)||Zg(n,!1,e),Zg(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[jd]||(t[jd]=!0,Zg("selectionchange",!1,t))}}function qA(e,t,n,a){switch(ak(t)){case 2:var r=gP;break;case 8:r=vP;break;default:r=Lv}n=r.bind(null,t,n,e),r=void 0,!s0||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),a?r!==void 0?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):r!==void 0?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function qg(e,t,n,a,r){var i=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var o=a.tag;if(o===3||o===4){var s=a.stateNode.containerInfo;if(s===r)break;if(o===4)for(o=a.return;o!==null;){var u=o.tag;if((u===3||u===4)&&o.stateNode.containerInfo===r)return;o=o.return}for(;s!==null;){if(o=Ho(s),o===null)return;if(u=o.tag,u===5||u===6||u===26||u===27){a=i=o;continue e}s=s.parentNode}}a=a.return}Zw(function(){var l=i,c=J0(n),f=[];e:{var m=iI.get(e);if(m!==void 0){var p=$f,b=e;switch(e){case"keypress":if(Vd(n)===0)break e;case"keydown":case"keyup":p=P$;break;case"focusin":b="focus",p=Eg;break;case"focusout":b="blur",p=Eg;break;case"beforeblur":case"afterblur":p=Eg;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=s2;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=w$;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=j$;break;case tI:case nI:case rI:p=k$;break;case aI:p=F$;break;case"scroll":case"scrollend":p=E$;break;case"wheel":p=Z$;break;case"copy":case"cut":case"paste":p=O$;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=l2;break;case"toggle":case"beforetoggle":p=V$}var S=(t&4)!==0,C=!S&&(e==="scroll"||e==="scrollend"),v=S?m!==null?m+"Capture":null:m;S=[];for(var y=l,T;y!==null;){var A=y;if(T=A.stateNode,A=A.tag,A!==5&&A!==26&&A!==27||T===null||v===null||(A=fl(y,v),A!=null&&S.push(Tl(y,A,T))),C)break;y=y.return}0<S.length&&(m=new p(m,b,null,n,c),f.push({event:m,listeners:S}))}}if((t&7)===0){e:{if(m=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",m&&n!==o0&&(b=n.relatedTarget||n.fromElement)&&(Ho(b)||b[vs]))break e;if((p||m)&&(m=c.window===c?c:(m=c.ownerDocument)?m.defaultView||m.parentWindow:window,p?(b=n.relatedTarget||n.toElement,p=l,b=b?Ho(b):null,b!==null&&(C=wl(b),S=b.tag,b!==C||S!==5&&S!==27&&S!==6)&&(b=null)):(p=null,b=l),p!==b)){if(S=s2,A="onMouseLeave",v="onMouseEnter",y="mouse",(e==="pointerout"||e==="pointerover")&&(S=l2,A="onPointerLeave",v="onPointerEnter",y="pointer"),C=p==null?m:Ku(p),T=b==null?m:Ku(b),m=new S(A,y+"leave",p,n,c),m.target=C,m.relatedTarget=T,A=null,Ho(c)===l&&(S=new S(v,y+"enter",b,n,c),S.target=T,S.relatedTarget=C,A=S),C=A,p&&b)t:{for(S=HL,v=p,y=b,T=0,A=v;A;A=S(A))T++;A=0;for(var O=y;O;O=S(O))A++;for(;0<T-A;)v=S(v),T--;for(;0<A-T;)y=S(y),A--;for(;T--;){if(v===y||y!==null&&v===y.alternate){S=v;break t}v=S(v),y=S(y)}S=null}else S=null;p!==null&&tw(f,m,p,S,!1),b!==null&&C!==null&&tw(f,C,b,S,!0)}}e:{if(m=l?Ku(l):window,p=m.nodeName&&m.nodeName.toLowerCase(),p==="select"||p==="input"&&m.type==="file")var g=p2;else if(f2(m))if(Jw)g=nL;else{g=eL;var N=W$}else p=m.nodeName,!p||p.toLowerCase()!=="input"||m.type!=="checkbox"&&m.type!=="radio"?l&&K0(l.elementType)&&(g=p2):g=tL;if(g&&(g=g(e,l))){Kw(f,g,n,c);break e}N&&N(e,m,l),e==="focusout"&&l&&m.type==="number"&&l.memoizedProps.value!=null&&i0(m,"number",m.value)}switch(N=l?Ku(l):window,e){case"focusin":(f2(N)||N.contentEditable==="true")&&(Vo=N,u0=l,el=null);break;case"focusout":el=u0=Vo=null;break;case"mousedown":l0=!0;break;case"contextmenu":case"mouseup":case"dragend":l0=!1,v2(f,n,c);break;case"selectionchange":if(aL)break;case"keydown":case"keyup":v2(f,n,c)}var L;if(W0)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else qo?Yw(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(Vw&&n.locale!=="ko"&&(qo||P!=="onCompositionStart"?P==="onCompositionEnd"&&qo&&(L=qw()):(Da=c,X0="value"in Da?Da.value:Da.textContent,qo=!0)),N=Af(l,P),0<N.length&&(P=new u2(P,e,null,n,c),f.push({event:P,listeners:N}),L?P.data=L:(L=Gw(n),L!==null&&(P.data=L)))),(L=G$?K$(e,n):J$(e,n))&&(P=Af(l,"onBeforeInput"),0<P.length&&(N=new u2("onBeforeInput","beforeinput",null,n,c),f.push({event:N,listeners:P}),N.data=L)),BL(f,e,l,n,c)}ZA(f,t)})}function Tl(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Af(e,t){for(var n=t+"Capture",a=[];e!==null;){var r=e,i=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||i===null||(r=fl(e,n),r!=null&&a.unshift(Tl(e,r,i)),r=fl(e,t),r!=null&&a.push(Tl(e,r,i))),e.tag===3)return a;e=e.return}return[]}function HL(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function tw(e,t,n,a,r){for(var i=t._reactName,o=[];n!==null&&n!==a;){var s=n,u=s.alternate,l=s.stateNode;if(s=s.tag,u!==null&&u===a)break;s!==5&&s!==26&&s!==27||l===null||(u=l,r?(l=fl(n,i),l!=null&&o.unshift(Tl(n,l,u))):r||(l=fl(n,i),l!=null&&o.push(Tl(n,l,u)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var ZL=/\r\n?/g,qL=/\u0000|\uFFFD/g;function nw(e){return(typeof e=="string"?e:""+e).replace(ZL,`
9
+ `).replace(qL,"")}function VA(e,t){return t=nw(t),nw(e)===t}function Ue(e,t,n,a,r,i){switch(n){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||us(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&us(e,""+a);break;case"className":Cd(e,"class",a);break;case"tabIndex":Cd(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Cd(e,n,a);break;case"style":Hw(e,a,i);break;case"data":if(t!=="object"){Cd(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=Zd(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i=="function"&&(n==="formAction"?(t!=="input"&&Ue(e,t,"name",r.name,r,null),Ue(e,t,"formEncType",r.formEncType,r,null),Ue(e,t,"formMethod",r.formMethod,r,null),Ue(e,t,"formTarget",r.formTarget,r,null)):(Ue(e,t,"encType",r.encType,r,null),Ue(e,t,"method",r.method,r,null),Ue(e,t,"target",r.target,r,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=Zd(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(e.onclick=Xr);break;case"onScroll":a!=null&&xe("scroll",e);break;case"onScrollEnd":a!=null&&xe("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(U(61));if(n=a.__html,n!=null){if(r.children!=null)throw Error(U(60));e.innerHTML=n}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}n=Zd(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""+a):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,a):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(n,a):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(n):e.setAttribute(n,a);break;case"popover":xe("beforetoggle",e),xe("toggle",e),Hd(e,"popover",a);break;case"xlinkActuate":Hr(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Hr(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Hr(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Hr(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Hr(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Hr(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Hr(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Hr(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Hr(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Hd(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=T$.get(n)||n,Hd(e,n,a))}}function M0(e,t,n,a,r,i){switch(n){case"style":Hw(e,a,i);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(U(61));if(n=a.__html,n!=null){if(r.children!=null)throw Error(U(60));e.innerHTML=n}}break;case"children":typeof a=="string"?us(e,a):(typeof a=="number"||typeof a=="bigint")&&us(e,""+a);break;case"onScroll":a!=null&&xe("scroll",e);break;case"onScrollEnd":a!=null&&xe("scrollend",e);break;case"onClick":a!=null&&(e.onclick=Xr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Pw.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(r=n.endsWith("Capture"),t=n.slice(2,r?n.length-7:void 0),i=e[cn]||null,i=i!=null?i[n]:null,typeof i=="function"&&e.removeEventListener(t,i,r),typeof a=="function")){typeof i!="function"&&i!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,r);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):Hd(e,n,a)}}}function $t(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":xe("error",e),xe("load",e);var a=!1,r=!1,i;for(i in n)if(n.hasOwnProperty(i)){var o=n[i];if(o!=null)switch(i){case"src":a=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(U(137,t));default:Ue(e,t,i,o,n,null)}}r&&Ue(e,t,"srcSet",n.srcSet,n,null),a&&Ue(e,t,"src",n.src,n,null);return;case"input":xe("invalid",e);var s=i=o=r=null,u=null,l=null;for(a in n)if(n.hasOwnProperty(a)){var c=n[a];if(c!=null)switch(a){case"name":r=c;break;case"type":o=c;break;case"checked":u=c;break;case"defaultChecked":l=c;break;case"value":i=c;break;case"defaultValue":s=c;break;case"children":case"dangerouslySetInnerHTML":if(c!=null)throw Error(U(137,t));break;default:Ue(e,t,a,c,n,null)}}jw(e,i,s,u,l,o,r,!1);return;case"select":xe("invalid",e),a=o=i=null;for(r in n)if(n.hasOwnProperty(r)&&(s=n[r],s!=null))switch(r){case"value":i=s;break;case"defaultValue":o=s;break;case"multiple":a=s;default:Ue(e,t,r,s,n,null)}t=i,n=o,e.multiple=!!a,t!=null?es(e,!!a,t,!1):n!=null&&es(e,!!a,n,!0);return;case"textarea":xe("invalid",e),i=r=a=null;for(o in n)if(n.hasOwnProperty(o)&&(s=n[o],s!=null))switch(o){case"value":a=s;break;case"defaultValue":r=s;break;case"children":i=s;break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(U(91));break;default:Ue(e,t,o,s,n,null)}Fw(e,a,r,i);return;case"option":for(u in n)n.hasOwnProperty(u)&&(a=n[u],a!=null)&&(u==="selected"?e.selected=a&&typeof a!="function"&&typeof a!="symbol":Ue(e,t,u,a,n,null));return;case"dialog":xe("beforetoggle",e),xe("toggle",e),xe("cancel",e),xe("close",e);break;case"iframe":case"object":xe("load",e);break;case"video":case"audio":for(a=0;a<_l.length;a++)xe(_l[a],e);break;case"image":xe("error",e),xe("load",e);break;case"details":xe("toggle",e);break;case"embed":case"source":case"link":xe("error",e),xe("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(l in n)if(n.hasOwnProperty(l)&&(a=n[l],a!=null))switch(l){case"children":case"dangerouslySetInnerHTML":throw Error(U(137,t));default:Ue(e,t,l,a,n,null)}return;default:if(K0(t)){for(c in n)n.hasOwnProperty(c)&&(a=n[c],a!==void 0&&M0(e,t,c,a,n,void 0));return}}for(s in n)n.hasOwnProperty(s)&&(a=n[s],a!=null&&Ue(e,t,s,a,n,null))}function VL(e,t,n,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,i=null,o=null,s=null,u=null,l=null,c=null;for(p in n){var f=n[p];if(n.hasOwnProperty(p)&&f!=null)switch(p){case"checked":break;case"value":break;case"defaultValue":u=f;default:a.hasOwnProperty(p)||Ue(e,t,p,null,a,f)}}for(var m in a){var p=a[m];if(f=n[m],a.hasOwnProperty(m)&&(p!=null||f!=null))switch(m){case"type":i=p;break;case"name":r=p;break;case"checked":l=p;break;case"defaultChecked":c=p;break;case"value":o=p;break;case"defaultValue":s=p;break;case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(U(137,t));break;default:p!==f&&Ue(e,t,m,p,a,f)}}a0(e,o,s,u,l,c,i,r);return;case"select":p=o=s=m=null;for(i in n)if(u=n[i],n.hasOwnProperty(i)&&u!=null)switch(i){case"value":break;case"multiple":p=u;default:a.hasOwnProperty(i)||Ue(e,t,i,null,a,u)}for(r in a)if(i=a[r],u=n[r],a.hasOwnProperty(r)&&(i!=null||u!=null))switch(r){case"value":m=i;break;case"defaultValue":s=i;break;case"multiple":o=i;default:i!==u&&Ue(e,t,r,i,a,u)}t=s,n=o,a=p,m!=null?es(e,!!n,m,!1):!!a!=!!n&&(t!=null?es(e,!!n,t,!0):es(e,!!n,n?[]:"",!1));return;case"textarea":p=m=null;for(s in n)if(r=n[s],n.hasOwnProperty(s)&&r!=null&&!a.hasOwnProperty(s))switch(s){case"value":break;case"children":break;default:Ue(e,t,s,null,a,r)}for(o in a)if(r=a[o],i=n[o],a.hasOwnProperty(o)&&(r!=null||i!=null))switch(o){case"value":m=r;break;case"defaultValue":p=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(U(91));break;default:r!==i&&Ue(e,t,o,r,a,i)}Bw(e,m,p);return;case"option":for(var b in n)m=n[b],n.hasOwnProperty(b)&&m!=null&&!a.hasOwnProperty(b)&&(b==="selected"?e.selected=!1:Ue(e,t,b,null,a,m));for(u in a)m=a[u],p=n[u],a.hasOwnProperty(u)&&m!==p&&(m!=null||p!=null)&&(u==="selected"?e.selected=m&&typeof m!="function"&&typeof m!="symbol":Ue(e,t,u,m,a,p));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var S in n)m=n[S],n.hasOwnProperty(S)&&m!=null&&!a.hasOwnProperty(S)&&Ue(e,t,S,null,a,m);for(l in a)if(m=a[l],p=n[l],a.hasOwnProperty(l)&&m!==p&&(m!=null||p!=null))switch(l){case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(U(137,t));break;default:Ue(e,t,l,m,a,p)}return;default:if(K0(t)){for(var C in n)m=n[C],n.hasOwnProperty(C)&&m!==void 0&&!a.hasOwnProperty(C)&&M0(e,t,C,void 0,a,m);for(c in a)m=a[c],p=n[c],!a.hasOwnProperty(c)||m===p||m===void 0&&p===void 0||M0(e,t,c,m,a,p);return}}for(var v in n)m=n[v],n.hasOwnProperty(v)&&m!=null&&!a.hasOwnProperty(v)&&Ue(e,t,v,null,a,m);for(f in a)m=a[f],p=n[f],!a.hasOwnProperty(f)||m===p||m==null&&p==null||Ue(e,t,f,m,a,p)}function rw(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function YL(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var r=n[a],i=r.transferSize,o=r.initiatorType,s=r.duration;if(i&&s&&rw(o)){for(o=0,s=r.responseEnd,a+=1;a<n.length;a++){var u=n[a],l=u.startTime;if(l>s)break;var c=u.transferSize,f=u.initiatorType;c&&rw(f)&&(u=u.responseEnd,o+=c*(u<s?1:(s-l)/(u-l)))}if(--a,t+=8*(i+o)/(r.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var D0=null,$0=null;function kf(e){return e.nodeType===9?e:e.ownerDocument}function aw(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function YA(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function L0(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Vg=null;function GL(){var e=window.event;return e&&e.type==="popstate"?e===Vg?!1:(Vg=e,!0):(Vg=null,!1)}var GA=typeof setTimeout=="function"?setTimeout:void 0,KL=typeof clearTimeout=="function"?clearTimeout:void 0,iw=typeof Promise=="function"?Promise:void 0,JL=typeof queueMicrotask=="function"?queueMicrotask:typeof iw<"u"?function(e){return iw.resolve(null).then(e).catch(XL)}:GA;function XL(e){setTimeout(function(){throw e})}function Qa(e){return e==="head"}function ow(e,t){var n=t,a=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&r.nodeType===8)if(n=r.data,n==="/$"||n==="/&"){if(a===0){e.removeChild(r),gs(t);return}a--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")a++;else if(n==="html")cl(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,cl(n);for(var i=n.firstChild;i;){var o=i.nextSibling,s=i.nodeName;i[Cl]||s==="SCRIPT"||s==="STYLE"||s==="LINK"&&i.rel.toLowerCase()==="stylesheet"||n.removeChild(i),i=o}}else n==="body"&&cl(e.ownerDocument.body);n=r}while(n);gs(t)}function sw(e,t){var n=e;e=0;do{var a=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=a}while(n)}function P0(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":P0(n),G0(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function QL(e,t,n,a){for(;e.nodeType===1;){var r=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[Cl])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=Yn(e.nextSibling),e===null)break}return null}function WL(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Yn(e.nextSibling),e===null))return null;return e}function KA(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Yn(e.nextSibling),e===null))return null;return e}function z0(e){return e.data==="$?"||e.data==="$~"}function U0(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function eP(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Yn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var j0=null;function uw(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return Yn(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function lw(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function JA(e,t,n){switch(t=kf(n),e){case"html":if(e=t.documentElement,!e)throw Error(U(452));return e;case"head":if(e=t.head,!e)throw Error(U(453));return e;case"body":if(e=t.body,!e)throw Error(U(454));return e;default:throw Error(U(451))}}function cl(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);G0(e)}var Gn=new Map,cw=new Set;function Cf(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var sa=Me.d;Me.d={f:tP,r:nP,D:rP,C:aP,L:iP,m:oP,X:uP,S:sP,M:lP};function tP(){var e=sa.f(),t=Vf();return e||t}function nP(e){var t=ys(e);t!==null&&t.tag===5&&t.type==="form"?HI(t):sa.r(e)}var xs=typeof document>"u"?null:document;function XA(e,t,n){var a=xs;if(a&&typeof t=="string"&&t){var r=Hn(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),cw.has(r)||(cw.add(r),e={rel:e,crossOrigin:n,href:t},a.querySelector(r)===null&&(t=a.createElement("link"),$t(t,"link",e),wt(t),a.head.appendChild(t)))}}function rP(e){sa.D(e),XA("dns-prefetch",e,null)}function aP(e,t){sa.C(e,t),XA("preconnect",e,t)}function iP(e,t,n){sa.L(e,t,n);var a=xs;if(a&&e&&t){var r='link[rel="preload"][as="'+Hn(t)+'"]';t==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+Hn(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+Hn(n.imageSizes)+'"]')):r+='[href="'+Hn(e)+'"]';var i=r;switch(t){case"style":i=hs(e);break;case"script":i=Es(e)}Gn.has(i)||(e=Qe({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Gn.set(i,e),a.querySelector(r)!==null||t==="style"&&a.querySelector($l(i))||t==="script"&&a.querySelector(Ll(i))||(t=a.createElement("link"),$t(t,"link",e),wt(t),a.head.appendChild(t)))}}function oP(e,t){sa.m(e,t);var n=xs;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+Hn(a)+'"][href="'+Hn(e)+'"]',i=r;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Es(e)}if(!Gn.has(i)&&(e=Qe({rel:"modulepreload",href:e},t),Gn.set(i,e),n.querySelector(r)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Ll(i)))return}a=n.createElement("link"),$t(a,"link",e),wt(a),n.head.appendChild(a)}}}function sP(e,t,n){sa.S(e,t,n);var a=xs;if(a&&e){var r=Wo(a).hoistableStyles,i=hs(e);t=t||"default";var o=r.get(i);if(!o){var s={loading:0,preload:null};if(o=a.querySelector($l(i)))s.loading=5;else{e=Qe({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Gn.get(i))&&Mv(e,n);var u=o=a.createElement("link");wt(u),$t(u,"link",e),u._p=new Promise(function(l,c){u.onload=l,u.onerror=c}),u.addEventListener("load",function(){s.loading|=1}),u.addEventListener("error",function(){s.loading|=2}),s.loading|=4,ef(o,t,a)}o={type:"stylesheet",instance:o,count:1,state:s},r.set(i,o)}}}function uP(e,t){sa.X(e,t);var n=xs;if(n&&e){var a=Wo(n).hoistableScripts,r=Es(e),i=a.get(r);i||(i=n.querySelector(Ll(r)),i||(e=Qe({src:e,async:!0},t),(t=Gn.get(r))&&Dv(e,t),i=n.createElement("script"),wt(i),$t(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(r,i))}}function lP(e,t){sa.M(e,t);var n=xs;if(n&&e){var a=Wo(n).hoistableScripts,r=Es(e),i=a.get(r);i||(i=n.querySelector(Ll(r)),i||(e=Qe({src:e,async:!0,type:"module"},t),(t=Gn.get(r))&&Dv(e,t),i=n.createElement("script"),wt(i),$t(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(r,i))}}function dw(e,t,n,a){var r=(r=za.current)?Cf(r):null;if(!r)throw Error(U(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=hs(n.href),n=Wo(r).hoistableStyles,a=n.get(t),a||(a={type:"style",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=hs(n.href);var i=Wo(r).hoistableStyles,o=i.get(e);if(o||(r=r.ownerDocument||r,o={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,o),(i=r.querySelector($l(e)))&&!i._p&&(o.instance=i,o.state.loading=5),Gn.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Gn.set(e,n),i||cP(r,e,n,o.state))),t&&a===null)throw Error(U(528,""));return o}if(t&&a!==null)throw Error(U(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Es(n),n=Wo(r).hoistableScripts,a=n.get(t),a||(a={type:"script",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(U(444,e))}}function hs(e){return'href="'+Hn(e)+'"'}function $l(e){return'link[rel="stylesheet"]['+e+"]"}function QA(e){return Qe({},e,{"data-precedence":e.precedence,precedence:null})}function cP(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),$t(t,"link",n),wt(t),e.head.appendChild(t))}function Es(e){return'[src="'+Hn(e)+'"]'}function Ll(e){return"script[async]"+e}function fw(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Hn(n.href)+'"]');if(a)return t.instance=a,wt(a),a;var r=Qe({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),wt(a),$t(a,"style",r),ef(a,n.precedence,e),t.instance=a;case"stylesheet":r=hs(n.href);var i=e.querySelector($l(r));if(i)return t.state.loading|=4,t.instance=i,wt(i),i;a=QA(n),(r=Gn.get(r))&&Mv(a,r),i=(e.ownerDocument||e).createElement("link"),wt(i);var o=i;return o._p=new Promise(function(s,u){o.onload=s,o.onerror=u}),$t(i,"link",a),t.state.loading|=4,ef(i,n.precedence,e),t.instance=i;case"script":return i=Es(n.src),(r=e.querySelector(Ll(i)))?(t.instance=r,wt(r),r):(a=n,(r=Gn.get(i))&&(a=Qe({},n),Dv(a,r)),e=e.ownerDocument||e,r=e.createElement("script"),wt(r),$t(r,"link",a),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(U(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,ef(a,n.precedence,e));return t.instance}function ef(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=a.length?a[a.length-1]:null,i=r,o=0;o<a.length;o++){var s=a[o];if(s.dataset.precedence===t)i=s;else if(i!==r)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Mv(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Dv(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var tf=null;function pw(e,t,n){if(tf===null){var a=new Map,r=tf=new Map;r.set(n,a)}else r=tf,a=r.get(n),a||(a=new Map,r.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),r=0;r<n.length;r++){var i=n[r];if(!(i[Cl]||i[Rt]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var o=i.getAttribute(t)||"";o=e+o;var s=a.get(o);s?s.push(i):a.set(o,[i])}}return a}function mw(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function dP(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function WA(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function fP(e,t,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var r=hs(a.href),i=t.querySelector($l(r));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Of.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=i,wt(i);return}i=t.ownerDocument||t,a=QA(a),(r=Gn.get(r))&&Mv(a,r),i=i.createElement("link"),wt(i);var o=i;o._p=new Promise(function(s,u){o.onload=s,o.onerror=u}),$t(i,"link",a),n.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=Of.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var Yg=0;function pP(e,t){return e.stylesheets&&e.count===0&&nf(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var a=setTimeout(function(){if(e.stylesheets&&nf(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0<e.imgBytes&&Yg===0&&(Yg=62500*YL());var r=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&nf(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>Yg?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(r)}}:null}function Of(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)nf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Nf=null;function nf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Nf=new Map,t.forEach(mP,e),Nf=null,Of.call(e))}function mP(e,t){if(!(t.state.loading&4)){var n=Nf.get(e);if(n)var a=n.get(null);else{n=new Map,Nf.set(e,n);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<r.length;i++){var o=r[i];(o.nodeName==="LINK"||o.getAttribute("media")!=="not all")&&(n.set(o.dataset.precedence,o),a=o)}a&&n.set(null,a)}r=t.instance,o=r.getAttribute("data-precedence"),i=n.get(o)||a,i===a&&n.set(null,r),n.set(o,r),this.count++,a=Of.bind(this),r.addEventListener("load",a),r.addEventListener("error",a),i?i.parentNode.insertBefore(r,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=4}}var xl={$$typeof:Jr,Provider:null,Consumer:null,_currentValue:$i,_currentValue2:$i,_threadCount:0};function hP(e,t,n,a,r,i,o,s,u){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=bg(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bg(0),this.hiddenUpdates=bg(null),this.identifierPrefix=a,this.onUncaughtError=r,this.onCaughtError=i,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=u,this.incompleteTransitions=new Map}function ek(e,t,n,a,r,i,o,s,u,l,c,f){return e=new hP(e,t,n,o,u,l,c,f,s),t=1,i===!0&&(t|=24),i=wn(3,null,null,t),e.current=i,i.stateNode=e,t=ov(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:a,isDehydrated:n,cache:t},lv(i),e}function tk(e){return e?(e=Ko,e):Ko}function nk(e,t,n,a,r,i){r=tk(r),a.context===null?a.context=r:a.pendingContext=r,a=ja(t),a.payload={element:n},i=i===void 0?null:i,i!==null&&(a.callback=i),n=Ba(e,a,t),n!==null&&(ln(n,e,t),nl(n,e,t))}function hw(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function $v(e,t){hw(e,t),(e=e.alternate)&&hw(e,t)}function rk(e){if(e.tag===13||e.tag===31){var t=Gi(e,67108864);t!==null&&ln(t,e,67108864),$v(e,67108864)}}function gw(e){if(e.tag===13||e.tag===31){var t=On();t=V0(t);var n=Gi(e,t);n!==null&&ln(n,e,t),$v(e,t)}}var Rf=!0;function gP(e,t,n,a){var r=de.T;de.T=null;var i=Me.p;try{Me.p=2,Lv(e,t,n,a)}finally{Me.p=i,de.T=r}}function vP(e,t,n,a){var r=de.T;de.T=null;var i=Me.p;try{Me.p=8,Lv(e,t,n,a)}finally{Me.p=i,de.T=r}}function Lv(e,t,n,a){if(Rf){var r=B0(a);if(r===null)qg(e,t,a,Mf,n),vw(e,a);else if(bP(r,e,t,n,a))a.stopPropagation();else if(vw(e,a),t&4&&-1<yP.indexOf(e)){for(;r!==null;){var i=ys(r);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var o=Ri(i.pendingLanes);if(o!==0){var s=i;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var u=1<<31-Cn(o);s.entanglements[1]|=u,o&=~u}Sr(i),(Re&6)===0&&(xf=An()+500,Dl(0,!1))}}break;case 31:case 13:s=Gi(i,2),s!==null&&ln(s,i,2),Vf(),$v(i,2)}if(i=B0(a),i===null&&qg(e,t,a,Mf,n),i===r)break;r=i}r!==null&&a.stopPropagation()}else qg(e,t,a,null,n)}}function B0(e){return e=J0(e),Pv(e)}var Mf=null;function Pv(e){if(Mf=null,e=Ho(e),e!==null){var t=wl(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=Ew(t),e!==null)return e;e=null}else if(n===31){if(e=Sw(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Mf=e,null}function ak(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(i$()){case kw:return 2;case Cw:return 8;case uf:case o$:return 32;case Ow:return 268435456;default:return 32}default:return 32}}var F0=!1,Za=null,qa=null,Va=null,El=new Map,Sl=new Map,Ra=[],yP="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function vw(e,t){switch(e){case"focusin":case"focusout":Za=null;break;case"dragenter":case"dragleave":qa=null;break;case"mouseover":case"mouseout":Va=null;break;case"pointerover":case"pointerout":El.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Sl.delete(t.pointerId)}}function qu(e,t,n,a,r,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:i,targetContainers:[r]},t!==null&&(t=ys(t),t!==null&&rk(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function bP(e,t,n,a,r){switch(t){case"focusin":return Za=qu(Za,e,t,n,a,r),!0;case"dragenter":return qa=qu(qa,e,t,n,a,r),!0;case"mouseover":return Va=qu(Va,e,t,n,a,r),!0;case"pointerover":var i=r.pointerId;return El.set(i,qu(El.get(i)||null,e,t,n,a,r)),!0;case"gotpointercapture":return i=r.pointerId,Sl.set(i,qu(Sl.get(i)||null,e,t,n,a,r)),!0}return!1}function ik(e){var t=Ho(e.target);if(t!==null){var n=wl(t);if(n!==null){if(t=n.tag,t===13){if(t=Ew(n),t!==null){e.blockedOn=t,e2(e.priority,function(){gw(n)});return}}else if(t===31){if(t=Sw(n),t!==null){e.blockedOn=t,e2(e.priority,function(){gw(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function rf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=B0(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n);o0=a,n.target.dispatchEvent(a),o0=null}else return t=ys(n),t!==null&&rk(t),e.blockedOn=n,!1;t.shift()}return!0}function yw(e,t,n){rf(e)&&n.delete(t)}function _P(){F0=!1,Za!==null&&rf(Za)&&(Za=null),qa!==null&&rf(qa)&&(qa=null),Va!==null&&rf(Va)&&(Va=null),El.forEach(yw),Sl.forEach(yw)}function Bd(e,t){e.blockedOn===t&&(e.blockedOn=null,F0||(F0=!0,Tt.unstable_scheduleCallback(Tt.unstable_NormalPriority,_P)))}var Fd=null;function bw(e){Fd!==e&&(Fd=e,Tt.unstable_scheduleCallback(Tt.unstable_NormalPriority,function(){Fd===e&&(Fd=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],r=e[t+2];if(typeof a!="function"){if(Pv(a||n)===null)continue;break}var i=ys(n);i!==null&&(e.splice(t,3),t-=3,x0(i,{pending:!0,data:r,method:n.method,action:a},a,r))}}))}function gs(e){function t(u){return Bd(u,e)}Za!==null&&Bd(Za,e),qa!==null&&Bd(qa,e),Va!==null&&Bd(Va,e),El.forEach(t),Sl.forEach(t);for(var n=0;n<Ra.length;n++){var a=Ra[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Ra.length&&(n=Ra[0],n.blockedOn===null);)ik(n),n.blockedOn===null&&Ra.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var r=n[a],i=n[a+1],o=r[cn]||null;if(typeof i=="function")o||bw(n);else if(o){var s=null;if(i&&i.hasAttribute("formAction")){if(r=i,o=i[cn]||null)s=o.formAction;else if(Pv(r)!==null)continue}else s=o.action;typeof s=="function"?n[a+1]=s:(n.splice(a,3),a-=3),bw(n)}}}function ok(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(o){return r=o})},focusReset:"manual",scroll:"manual"})}function t(){r!==null&&(r(),r=null),a||setTimeout(n,20)}function n(){if(!a&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,r=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),r!==null&&(r(),r=null)}}}function zv(e){this._internalRoot=e}Kf.prototype.render=zv.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(U(409));var n=t.current,a=On();nk(n,a,e,t,null,null)};Kf.prototype.unmount=zv.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;nk(e.current,2,null,e,null,null),Vf(),t[vs]=null}};function Kf(e){this._internalRoot=e}Kf.prototype.unstable_scheduleHydration=function(e){if(e){var t=$w();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ra.length&&t!==0&&t<Ra[n].priority;n++);Ra.splice(n,0,e),n===0&&ik(e)}};var _w=Tw.version;if(_w!=="19.2.8")throw Error(U(527,_w,"19.2.8"));Me.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(U(188)):(e=Object.keys(e).join(","),Error(U(268,e)));return e=QD(t),e=e!==null?ww(e):null,e=e===null?null:e.stateNode,e};var TP={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:de,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Vu=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Vu.isDisabled&&Vu.supportsFiber))try{Il=Vu.inject(TP),kn=Vu}catch{}var Vu;Jf.createRoot=function(e,t){if(!xw(e))throw Error(U(299));var n=!1,a="",r=XI,i=QI,o=WI;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=ek(e,1,!1,null,null,n,a,null,r,i,o,ok),e[vs]=t.current,Rv(e),new zv(t)};Jf.hydrateRoot=function(e,t,n){if(!xw(e))throw Error(U(299));var a=!1,r="",i=XI,o=QI,s=WI,u=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onUncaughtError!==void 0&&(i=n.onUncaughtError),n.onCaughtError!==void 0&&(o=n.onCaughtError),n.onRecoverableError!==void 0&&(s=n.onRecoverableError),n.formState!==void 0&&(u=n.formState)),t=ek(e,1,!0,t,n??null,a,r,u,i,o,s,ok),t.context=tk(null),n=t.current,a=On(),a=V0(a),r=ja(a),r.callback=null,Ba(n,r,a),n=a,t.current.lanes=n,kl(t,n),Sr(t),e[vs]=t.current,Rv(e),new Kf(t)};Jf.version="19.2.8"});var ck=Pt((_G,lk)=>{"use strict";function uk(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(uk)}catch(e){console.error(e)}}uk(),lk.exports=sk()});var l4=Pt((pee,u4)=>{"use strict";function pB(e,t){if(typeof e!="function")throw new TypeError(`Expected the first argument to be a \`function\`, got \`${typeof e}\`.`);let n,a=0;return function(...i){clearTimeout(n);let o=Date.now(),s=o-a,u=t-s;u<=0?(a=o,e.apply(this,i)):n=setTimeout(()=>{a=Date.now(),e.apply(this,i)},u)}}u4.exports=pB});var d4=Pt(Fm=>{"use strict";var mB=Symbol.for("react.transitional.element"),hB=Symbol.for("react.fragment");function c4(e,t,n){var a=null;if(n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),"key"in t){n={};for(var r in t)r!=="key"&&(n[r]=t[r])}else n=t;return t=n.ref,{$$typeof:mB,type:e,key:a,ref:t!==void 0?t:null,props:n}}Fm.Fragment=hB;Fm.jsx=c4;Fm.jsxs=c4});var mi=Pt((hee,f4)=>{"use strict";f4.exports=d4()});var k4=Pt((wte,A4)=>{"use strict";var E4=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,CB=/\n/g,OB=/^\s*/,NB=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,RB=/^:\s*/,MB=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,DB=/^[;\s]*/,$B=/^\s+|\s+$/g,LB=`
10
+ `,S4="/",w4="*",mo="",PB="comment",zB="declaration";function UB(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,a=1;function r(b){var S=b.match(CB);S&&(n+=S.length);var C=b.lastIndexOf(LB);a=~C?b.length-C:a+b.length}function i(){var b={line:n,column:a};return function(S){return S.position=new o(b),l(),S}}function o(b){this.start=b,this.end={line:n,column:a},this.source=t.source}o.prototype.content=e;function s(b){var S=new Error(t.source+":"+n+":"+a+": "+b);if(S.reason=b,S.filename=t.source,S.line=n,S.column=a,S.source=e,!t.silent)throw S}function u(b){var S=b.exec(e);if(S){var C=S[0];return r(C),e=e.slice(C.length),S}}function l(){u(OB)}function c(b){var S;for(b=b||[];S=f();)S!==!1&&b.push(S);return b}function f(){var b=i();if(!(S4!=e.charAt(0)||w4!=e.charAt(1))){for(var S=2;mo!=e.charAt(S)&&(w4!=e.charAt(S)||S4!=e.charAt(S+1));)++S;if(S+=2,mo===e.charAt(S-1))return s("End of comment missing");var C=e.slice(2,S-2);return a+=2,r(C),e=e.slice(S),a+=2,b({type:PB,comment:C})}}function m(){var b=i(),S=u(NB);if(S){if(f(),!u(RB))return s("property missing ':'");var C=u(MB),v=b({type:zB,property:I4(S[0].replace(E4,mo)),value:C?I4(C[0].replace(E4,mo)):mo});return u(DB),v}}function p(){var b=[];c(b);for(var S;S=m();)S!==!1&&(b.push(S),c(b));return b}return l(),p()}function I4(e){return e?e.replace($B,mo):mo}A4.exports=UB});var C4=Pt(Bc=>{"use strict";var jB=Bc&&Bc.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Bc,"__esModule",{value:!0});Bc.default=FB;var BB=jB(k4());function FB(e,t){let n=null;if(!e||typeof e!="string")return n;let a=(0,BB.default)(e),r=typeof t=="function";return a.forEach(i=>{if(i.type!=="declaration")return;let{property:o,value:s}=i;r?t(o,s,i):s&&(n=n||{},n[o]=s)}),n}});var N4=Pt(Wm=>{"use strict";Object.defineProperty(Wm,"__esModule",{value:!0});Wm.camelCase=void 0;var HB=/^--[a-zA-Z0-9_-]+$/,ZB=/-([a-z])/g,qB=/^[^-]+$/,VB=/^-(webkit|moz|ms|o|khtml)-/,YB=/^-(ms)-/,GB=function(e){return!e||qB.test(e)||HB.test(e)},KB=function(e,t){return t.toUpperCase()},O4=function(e,t){return"".concat(t,"-")},JB=function(e,t){return t===void 0&&(t={}),GB(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(YB,O4):e=e.replace(VB,O4),e.replace(ZB,KB))};Wm.camelCase=JB});var M4=Pt((bx,R4)=>{"use strict";var XB=bx&&bx.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},QB=XB(C4()),WB=N4();function yx(e,t){var n={};return!e||typeof e!="string"||(0,QB.default)(e,function(a,r){a&&r&&(n[(0,WB.camelCase)(a,t)]=r)}),n}yx.default=yx;R4.exports=yx});var aR=Pt((tse,rR)=>{"use strict";var xh=Object.prototype.hasOwnProperty,nR=Object.prototype.toString,J3=Object.defineProperty,X3=Object.getOwnPropertyDescriptor,Q3=function(t){return typeof Array.isArray=="function"?Array.isArray(t):nR.call(t)==="[object Array]"},W3=function(t){if(!t||nR.call(t)!=="[object Object]")return!1;var n=xh.call(t,"constructor"),a=t.constructor&&t.constructor.prototype&&xh.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!a)return!1;var r;for(r in t);return typeof r>"u"||xh.call(t,r)},eR=function(t,n){J3&&n.name==="__proto__"?J3(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},tR=function(t,n){if(n==="__proto__")if(xh.call(t,n)){if(X3)return X3(t,n).value}else return;return t[n]};rR.exports=function e(){var t,n,a,r,i,o,s=arguments[0],u=1,l=arguments.length,c=!1;for(typeof s=="boolean"&&(c=s,s=arguments[1]||{},u=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});u<l;++u)if(t=arguments[u],t!=null)for(n in t)a=tR(s,n),r=tR(t,n),s!==r&&(c&&r&&(W3(r)||(i=Q3(r)))?(i?(i=!1,o=a&&Q3(a)?a:[]):o=a&&W3(a)?a:{},eR(s,{name:n,newValue:e(c,o,r)})):typeof r<"u"&&eR(s,{name:n,newValue:r}));return s}});var vD=ct(ck(),1);var xP=["bar","line","area","stacked_bar"],EP=8;function fk(e){let t;try{t=JSON.parse(e)}catch{return null}if(typeof t!="object"||t===null)return null;let n=t;if(typeof n.type!="string"||!xP.includes(n.type)||!Array.isArray(n.x)||n.x.length===0||!Array.isArray(n.series)||n.series.length===0)return null;let a=n.x.map(String),r=[];for(let i of n.series.slice(0,EP)){if(typeof i!="object"||i===null)return null;let o=i;if(!Array.isArray(o.values))return null;let s=o.values.map(u=>typeof u=="number"&&Number.isFinite(u)?u:NaN);if(s.length!==a.length||s.some(Number.isNaN))return null;r.push({label:typeof o.label=="string"?o.label:"",values:s})}return r.length===0?null:{type:n.type,title:typeof n.title=="string"?n.title:void 0,unit:typeof n.unit=="string"?n.unit:void 0,x:a,series:r}}var dk=/(?:^|\n)\s{0,3}(?:#{1,6}\s*)?(?:\*\*)?Sources\s*:?(?:\*\*)?\s*:?\s*(?:\n|$)/gi;function pk(e){let t=new RegExp(dk.source,dk.flags),n=null;for(let r;r=t.exec(e);)n=r;if(!n)return{body:e,sources:null};let a=e.slice(n.index+n[0].length).trim();return a?{body:e.slice(0,n.index).trimEnd(),sources:a}:{body:e,sources:null}}var Zk="vercel.ai.error",SP=Symbol.for(Zk),mk,hk,Se=class qk extends(hk=Error,mk=SP,hk){constructor({name:t,message:n,cause:a}){super(n),this[mk]=!0,this.name=t,this.cause=a}static isInstance(t){return qk.hasMarker(t,Zk)}static hasMarker(t,n){let a=Symbol.for(n);return t!=null&&typeof t=="object"&&a in t&&typeof t[a]=="boolean"&&t[a]===!0}},Vk="AI_APICallError",Yk=`vercel.ai.error.${Vk}`,wP=Symbol.for(Yk),gk,vk,xG=class extends(vk=Se,gk=wP,vk){constructor({message:e,url:t,requestBodyValues:n,statusCode:a,responseHeaders:r,responseBody:i,cause:o,isRetryable:s=a!=null&&(a===408||a===409||a===429||a>=500),data:u}){super({name:Vk,message:e,cause:o}),this[gk]=!0,this.url=t,this.requestBodyValues=n,this.statusCode=a,this.responseHeaders=r,this.responseBody=i,this.isRetryable=s,this.data=u}static isInstance(e){return Se.hasMarker(e,Yk)}},Gk="AI_EmptyResponseBodyError",Kk=`vercel.ai.error.${Gk}`,IP=Symbol.for(Kk),yk,bk,EG=class extends(bk=Se,yk=IP,bk){constructor({message:e="Empty response body"}={}){super({name:Gk,message:e}),this[yk]=!0}static isInstance(e){return Se.hasMarker(e,Kk)}};function jv(e){return e==null?"unknown error":typeof e=="string"?e:e instanceof Error?e.toString():JSON.stringify(e)}var Jk="AI_InvalidArgumentError",Xk=`vercel.ai.error.${Jk}`,AP=Symbol.for(Xk),_k,Tk,Qk=class extends(Tk=Se,_k=AP,Tk){constructor({message:e,cause:t,argument:n}){super({name:Jk,message:e,cause:t}),this[_k]=!0,this.argument=n}static isInstance(e){return Se.hasMarker(e,Xk)}},Wk="AI_InvalidPromptError",eC=`vercel.ai.error.${Wk}`,kP=Symbol.for(eC),xk,Ek,SG=class extends(Ek=Se,xk=kP,Ek){constructor({prompt:e,message:t,cause:n}){super({name:Wk,message:`Invalid prompt: ${t}`,cause:n}),this[xk]=!0,this.prompt=e}static isInstance(e){return Se.hasMarker(e,eC)}},tC="AI_InvalidResponseDataError",nC=`vercel.ai.error.${tC}`,CP=Symbol.for(nC),Sk,wk,wG=class extends(wk=Se,Sk=CP,wk){constructor({data:e,message:t=`Invalid response data: ${JSON.stringify(e)}.`}){super({name:tC,message:t}),this[Sk]=!0,this.data=e}static isInstance(e){return Se.hasMarker(e,nC)}},rC="AI_JSONParseError",aC=`vercel.ai.error.${rC}`,OP=Symbol.for(aC),Ik,Ak,Bv=class extends(Ak=Se,Ik=OP,Ak){constructor({text:e,cause:t}){super({name:rC,message:`JSON parsing failed: Text: ${e}.
11
+ Error message: ${jv(t)}`,cause:t}),this[Ik]=!0,this.text=e}static isInstance(e){return Se.hasMarker(e,aC)}},iC="AI_LoadAPIKeyError",oC=`vercel.ai.error.${iC}`,NP=Symbol.for(oC),kk,Ck,IG=class extends(Ck=Se,kk=NP,Ck){constructor({message:e}){super({name:iC,message:e}),this[kk]=!0}static isInstance(e){return Se.hasMarker(e,oC)}},sC="AI_LoadSettingError",uC=`vercel.ai.error.${sC}`,RP=Symbol.for(uC),Ok,Nk,AG=class extends(Nk=Se,Ok=RP,Nk){constructor({message:e}){super({name:sC,message:e}),this[Ok]=!0}static isInstance(e){return Se.hasMarker(e,uC)}},lC="AI_NoContentGeneratedError",cC=`vercel.ai.error.${lC}`,MP=Symbol.for(cC),Rk,Mk,kG=class extends(Mk=Se,Rk=MP,Mk){constructor({message:e="No content generated."}={}){super({name:lC,message:e}),this[Rk]=!0}static isInstance(e){return Se.hasMarker(e,cC)}},dC="AI_NoSuchModelError",fC=`vercel.ai.error.${dC}`,DP=Symbol.for(fC),Dk,$k,CG=class extends($k=Se,Dk=DP,$k){constructor({errorName:e=dC,modelId:t,modelType:n,message:a=`No such ${n}: ${t}`}){super({name:e,message:a}),this[Dk]=!0,this.modelId=t,this.modelType=n}static isInstance(e){return Se.hasMarker(e,fC)}},pC="AI_NoSuchProviderReferenceError",mC=`vercel.ai.error.${pC}`,$P=Symbol.for(mC),Lk,Pk,OG=class extends(Pk=Se,Lk=$P,Pk){constructor({provider:e,reference:t,message:n=`No provider reference found for provider '${e}'. Available providers: ${Object.keys(t).join(", ")}`}){super({name:pC,message:n}),this[Lk]=!0,this.provider=e,this.reference=t}static isInstance(e){return Se.hasMarker(e,mC)}},hC="AI_TooManyEmbeddingValuesForCallError",gC=`vercel.ai.error.${hC}`,LP=Symbol.for(gC),zk,Uk,NG=class extends(Uk=Se,zk=LP,Uk){constructor(e){super({name:hC,message:`Too many values for a single embedding call. The ${e.provider} model "${e.modelId}" can only embed up to ${e.maxEmbeddingsPerCall} values per call, but ${e.values.length} values were provided.`}),this[zk]=!0,this.provider=e.provider,this.modelId=e.modelId,this.maxEmbeddingsPerCall=e.maxEmbeddingsPerCall,this.values=e.values}static isInstance(e){return Se.hasMarker(e,gC)}},vC="AI_TypeValidationError",yC=`vercel.ai.error.${vC}`,PP=Symbol.for(yC),jk,Bk,wr=class Uv extends(Bk=Se,jk=PP,Bk){constructor({value:t,cause:n,context:a}){let r="Type validation failed";if(a?.field&&(r+=` for ${a.field}`),a?.entityName||a?.entityId){r+=" (";let i=[];a.entityName&&i.push(a.entityName),a.entityId&&i.push(`id: "${a.entityId}"`),r+=i.join(", "),r+=")"}super({name:vC,message:`${r}: Value: ${JSON.stringify(t)}.
12
+ Error message: ${jv(n)}`,cause:n}),this[jk]=!0,this.value=t,this.context=a}static isInstance(t){return Se.hasMarker(t,yC)}static wrap({value:t,cause:n,context:a}){var r,i,o;return Uv.isInstance(n)&&n.value===t&&((r=n.context)==null?void 0:r.field)===a?.field&&((i=n.context)==null?void 0:i.entityName)===a?.entityName&&((o=n.context)==null?void 0:o.entityId)===a?.entityId?n:new Uv({value:t,cause:n,context:a})}},bC="AI_UnsupportedFunctionalityError",_C=`vercel.ai.error.${bC}`,zP=Symbol.for(_C),Fk,Hk,RG=class extends(Hk=Se,Fk=zP,Hk){constructor({functionality:e,message:t=`'${e}' functionality not supported.`}){super({name:bC,message:t}),this[Fk]=!0,this.functionality=e}static isInstance(e){return Se.hasMarker(e,_C)}};var h={};Tn(h,{$brand:()=>Hv,$input:()=>c_,$output:()=>l_,NEVER:()=>Fv,TimePrecision:()=>m_,ZodAny:()=>nT,ZodArray:()=>oT,ZodBase64:()=>xm,ZodBase64URL:()=>Em,ZodBigInt:()=>tu,ZodBigIntFormat:()=>Im,ZodBoolean:()=>eu,ZodCIDRv4:()=>_m,ZodCIDRv6:()=>Tm,ZodCUID:()=>pm,ZodCUID2:()=>mm,ZodCatch:()=>kT,ZodCodec:()=>hc,ZodCustom:()=>gc,ZodCustomStringFormat:()=>Qs,ZodDate:()=>cc,ZodDefault:()=>xT,ZodDiscriminatedUnion:()=>uT,ZodE164:()=>Sm,ZodEmail:()=>cm,ZodEmoji:()=>dm,ZodEnum:()=>Js,ZodError:()=>h8,ZodExactOptional:()=>bT,ZodFile:()=>vT,ZodFirstPartyTypeKind:()=>BT,ZodFunction:()=>zT,ZodGUID:()=>ic,ZodIPv4:()=>ym,ZodIPv6:()=>bm,ZodISODate:()=>am,ZodISODateTime:()=>rm,ZodISODuration:()=>om,ZodISOTime:()=>im,ZodIntersection:()=>lT,ZodIssueCode:()=>v8,ZodJWT:()=>wm,ZodKSUID:()=>vm,ZodLazy:()=>$T,ZodLiteral:()=>gT,ZodMAC:()=>K1,ZodMap:()=>mT,ZodNaN:()=>OT,ZodNanoID:()=>fm,ZodNever:()=>aT,ZodNonOptional:()=>Rm,ZodNull:()=>eT,ZodNullable:()=>TT,ZodNumber:()=>Ws,ZodNumberFormat:()=>ao,ZodObject:()=>fc,ZodOptional:()=>Nm,ZodPipe:()=>mc,ZodPrefault:()=>ST,ZodPreprocess:()=>NT,ZodPromise:()=>PT,ZodReadonly:()=>RT,ZodRealError:()=>mn,ZodRecord:()=>Ks,ZodSet:()=>hT,ZodString:()=>Xs,ZodStringFormat:()=>Fe,ZodSuccess:()=>AT,ZodSymbol:()=>Q1,ZodTemplateLiteral:()=>DT,ZodTransform:()=>yT,ZodTuple:()=>dT,ZodType:()=>ve,ZodULID:()=>hm,ZodURL:()=>lc,ZodUUID:()=>Cr,ZodUndefined:()=>W1,ZodUnion:()=>pc,ZodUnknown:()=>rT,ZodVoid:()=>iT,ZodXID:()=>gm,ZodXor:()=>sT,_ZodString:()=>lm,_default:()=>ET,_function:()=>uN,any:()=>UO,array:()=>dc,base64:()=>xO,base64url:()=>EO,bigint:()=>DO,boolean:()=>X1,catch:()=>CT,check:()=>lN,cidrv4:()=>_O,cidrv6:()=>TO,clone:()=>Gt,codec:()=>aN,coerce:()=>FT,config:()=>st,core:()=>ca,cuid:()=>fO,cuid2:()=>pO,custom:()=>cN,date:()=>BO,decode:()=>F1,decodeAsync:()=>Z1,describe:()=>dN,discriminatedUnion:()=>YO,e164:()=>SO,email:()=>nO,emoji:()=>cO,encode:()=>B1,encodeAsync:()=>H1,endsWith:()=>zs,enum:()=>Cm,exactOptional:()=>_T,file:()=>eN,flattenError:()=>Zl,float32:()=>OO,float64:()=>NO,formatError:()=>ql,fromJSONSchema:()=>yN,function:()=>uN,getErrorMap:()=>b8,globalRegistry:()=>Lt,gt:()=>Ar,gte:()=>Jt,guid:()=>rO,hash:()=>CO,hex:()=>kO,hostname:()=>AO,httpUrl:()=>lO,includes:()=>Ls,instanceof:()=>pN,int:()=>sm,int32:()=>RO,int64:()=>$O,intersection:()=>cT,invertCodec:()=>iN,ipv4:()=>vO,ipv6:()=>bO,iso:()=>Gs,json:()=>hN,jwt:()=>wO,keyof:()=>FO,ksuid:()=>gO,lazy:()=>LT,length:()=>no,literal:()=>WO,locales:()=>Wl,looseObject:()=>qO,looseRecord:()=>KO,lowercase:()=>Ds,lt:()=>Ir,lte:()=>Dn,mac:()=>yO,map:()=>JO,maxLength:()=>to,maxSize:()=>ii,meta:()=>fN,mime:()=>Us,minLength:()=>la,minSize:()=>kr,multipleOf:()=>ai,nan:()=>rN,nanoid:()=>dO,nativeEnum:()=>QO,negative:()=>Gp,never:()=>Am,nonnegative:()=>Jp,nonoptional:()=>IT,nonpositive:()=>Kp,normalize:()=>js,null:()=>tT,nullable:()=>sc,nullish:()=>tN,number:()=>J1,object:()=>HO,optional:()=>oc,overwrite:()=>ur,parse:()=>z1,parseAsync:()=>U1,partialRecord:()=>GO,pipe:()=>um,positive:()=>Yp,prefault:()=>wT,preprocess:()=>gN,prettifyError:()=>ny,promise:()=>sN,property:()=>Xp,readonly:()=>MT,record:()=>pT,refine:()=>UT,regex:()=>Ms,regexes:()=>Mn,registry:()=>Ip,safeDecode:()=>V1,safeDecodeAsync:()=>G1,safeEncode:()=>q1,safeEncodeAsync:()=>Y1,safeParse:()=>j1,safeParseAsync:()=>rc,set:()=>XO,setErrorMap:()=>y8,size:()=>eo,slugify:()=>Zs,startsWith:()=>Ps,strictObject:()=>ZO,string:()=>ac,stringFormat:()=>IO,stringbool:()=>mN,success:()=>nN,superRefine:()=>jT,symbol:()=>PO,templateLiteral:()=>oN,toJSONSchema:()=>Ys,toLowerCase:()=>Fs,toUpperCase:()=>Hs,transform:()=>Om,treeifyError:()=>ty,trim:()=>Bs,tuple:()=>fT,uint32:()=>MO,uint64:()=>LO,ulid:()=>mO,undefined:()=>zO,union:()=>km,unknown:()=>ro,uppercase:()=>$s,url:()=>uO,util:()=>H,uuid:()=>aO,uuidv4:()=>iO,uuidv6:()=>oO,uuidv7:()=>sO,void:()=>jO,xid:()=>hO,xor:()=>VO});var ca={};Tn(ca,{$ZodAny:()=>Nb,$ZodArray:()=>Lb,$ZodAsyncError:()=>sr,$ZodBase64:()=>Tb,$ZodBase64URL:()=>xb,$ZodBigInt:()=>yp,$ZodBigIntFormat:()=>Ab,$ZodBoolean:()=>Kl,$ZodCIDRv4:()=>yb,$ZodCIDRv6:()=>bb,$ZodCUID:()=>ob,$ZodCUID2:()=>sb,$ZodCatch:()=>e_,$ZodCheck:()=>qe,$ZodCheckBigIntFormat:()=>Ly,$ZodCheckEndsWith:()=>Gy,$ZodCheckGreaterThan:()=>fp,$ZodCheckIncludes:()=>Vy,$ZodCheckLengthEquals:()=>Fy,$ZodCheckLessThan:()=>dp,$ZodCheckLowerCase:()=>Zy,$ZodCheckMaxLength:()=>jy,$ZodCheckMaxSize:()=>Py,$ZodCheckMimeType:()=>Jy,$ZodCheckMinLength:()=>By,$ZodCheckMinSize:()=>zy,$ZodCheckMultipleOf:()=>Dy,$ZodCheckNumberFormat:()=>$y,$ZodCheckOverwrite:()=>Xy,$ZodCheckProperty:()=>Ky,$ZodCheckRegex:()=>Hy,$ZodCheckSizeEquals:()=>Uy,$ZodCheckStartsWith:()=>Yy,$ZodCheckStringFormat:()=>Ns,$ZodCheckUpperCase:()=>qy,$ZodCodec:()=>Xl,$ZodCustom:()=>u_,$ZodCustomStringFormat:()=>wb,$ZodDate:()=>$b,$ZodDefault:()=>Jb,$ZodDiscriminatedUnion:()=>Ub,$ZodE164:()=>Eb,$ZodEmail:()=>nb,$ZodEmoji:()=>ab,$ZodEncodeError:()=>Wa,$ZodEnum:()=>Zb,$ZodError:()=>Hl,$ZodExactOptional:()=>Gb,$ZodFile:()=>Vb,$ZodFunction:()=>i_,$ZodGUID:()=>eb,$ZodIPv4:()=>hb,$ZodIPv6:()=>gb,$ZodISODate:()=>fb,$ZodISODateTime:()=>db,$ZodISODuration:()=>mb,$ZodISOTime:()=>pb,$ZodIntersection:()=>jb,$ZodJWT:()=>Sb,$ZodKSUID:()=>cb,$ZodLazy:()=>s_,$ZodLiteral:()=>qb,$ZodMAC:()=>vb,$ZodMap:()=>Fb,$ZodNaN:()=>t_,$ZodNanoID:()=>ib,$ZodNever:()=>Mb,$ZodNonOptional:()=>Qb,$ZodNull:()=>Ob,$ZodNullable:()=>Kb,$ZodNumber:()=>vp,$ZodNumberFormat:()=>Ib,$ZodObject:()=>XC,$ZodObjectJIT:()=>Pb,$ZodOptional:()=>_p,$ZodPipe:()=>Tp,$ZodPrefault:()=>Xb,$ZodPreprocess:()=>n_,$ZodPromise:()=>o_,$ZodReadonly:()=>r_,$ZodRealError:()=>pn,$ZodRecord:()=>Bb,$ZodRegistry:()=>wp,$ZodSet:()=>Hb,$ZodString:()=>Wi,$ZodStringFormat:()=>Be,$ZodSuccess:()=>Wb,$ZodSymbol:()=>kb,$ZodTemplateLiteral:()=>a_,$ZodTransform:()=>Yb,$ZodTuple:()=>bp,$ZodType:()=>pe,$ZodULID:()=>ub,$ZodURL:()=>rb,$ZodUUID:()=>tb,$ZodUndefined:()=>Cb,$ZodUnion:()=>Jl,$ZodUnknown:()=>Rb,$ZodVoid:()=>Db,$ZodXID:()=>lb,$ZodXor:()=>zb,$brand:()=>Hv,$constructor:()=>R,$input:()=>c_,$output:()=>l_,Doc:()=>Gl,JSONSchema:()=>W6,JSONSchemaGenerator:()=>tm,NEVER:()=>Fv,TimePrecision:()=>m_,_any:()=>$_,_array:()=>F_,_base64:()=>Hp,_base64url:()=>Zp,_bigint:()=>k_,_boolean:()=>I_,_catch:()=>s8,_check:()=>Q6,_cidrv4:()=>Bp,_cidrv6:()=>Fp,_coercedBigint:()=>C_,_coercedBoolean:()=>A_,_coercedDate:()=>j_,_coercedNumber:()=>__,_coercedString:()=>f_,_cuid:()=>Dp,_cuid2:()=>$p,_custom:()=>Z_,_date:()=>U_,_decode:()=>np,_decodeAsync:()=>ap,_default:()=>a8,_discriminatedUnion:()=>VU,_e164:()=>qp,_email:()=>Ap,_emoji:()=>Rp,_encode:()=>tp,_encodeAsync:()=>rp,_endsWith:()=>zs,_enum:()=>QU,_file:()=>H_,_float32:()=>x_,_float64:()=>E_,_gt:()=>Ar,_gte:()=>Jt,_guid:()=>ec,_includes:()=>Ls,_int:()=>T_,_int32:()=>S_,_int64:()=>O_,_intersection:()=>YU,_ipv4:()=>Up,_ipv6:()=>jp,_isoDate:()=>g_,_isoDateTime:()=>h_,_isoDuration:()=>y_,_isoTime:()=>v_,_jwt:()=>Vp,_ksuid:()=>zp,_lazy:()=>d8,_length:()=>no,_literal:()=>e8,_lowercase:()=>Ds,_lt:()=>Ir,_lte:()=>Dn,_mac:()=>p_,_map:()=>JU,_max:()=>Dn,_maxLength:()=>to,_maxSize:()=>ii,_mime:()=>Us,_min:()=>Jt,_minLength:()=>la,_minSize:()=>kr,_multipleOf:()=>ai,_nan:()=>B_,_nanoid:()=>Mp,_nativeEnum:()=>WU,_negative:()=>Gp,_never:()=>P_,_nonnegative:()=>Jp,_nonoptional:()=>i8,_nonpositive:()=>Kp,_normalize:()=>js,_null:()=>D_,_nullable:()=>r8,_number:()=>b_,_optional:()=>n8,_overwrite:()=>ur,_parse:()=>As,_parseAsync:()=>ks,_pipe:()=>u8,_positive:()=>Yp,_promise:()=>f8,_property:()=>Xp,_readonly:()=>l8,_record:()=>KU,_refine:()=>q_,_regex:()=>Ms,_safeDecode:()=>op,_safeDecodeAsync:()=>up,_safeEncode:()=>ip,_safeEncodeAsync:()=>sp,_safeParse:()=>Cs,_safeParseAsync:()=>Os,_set:()=>XU,_size:()=>eo,_slugify:()=>Zs,_startsWith:()=>Ps,_string:()=>d_,_stringFormat:()=>qs,_stringbool:()=>K_,_success:()=>o8,_superRefine:()=>V_,_symbol:()=>R_,_templateLiteral:()=>c8,_toLowerCase:()=>Fs,_toUpperCase:()=>Hs,_transform:()=>t8,_trim:()=>Bs,_tuple:()=>GU,_uint32:()=>w_,_uint64:()=>N_,_ulid:()=>Lp,_undefined:()=>M_,_union:()=>ZU,_unknown:()=>L_,_uppercase:()=>$s,_url:()=>tc,_uuid:()=>kp,_uuidv4:()=>Cp,_uuidv6:()=>Op,_uuidv7:()=>Np,_void:()=>z_,_xid:()=>Pp,_xor:()=>qU,clone:()=>Gt,config:()=>st,createStandardJSONSchemaMethod:()=>Vs,createToJSONSchemaMethod:()=>J_,decode:()=>fz,decodeAsync:()=>mz,describe:()=>Y_,encode:()=>dz,encodeAsync:()=>pz,extractDefs:()=>si,finalize:()=>ui,flattenError:()=>Zl,formatError:()=>ql,globalConfig:()=>Ji,globalRegistry:()=>Lt,initializeContext:()=>oi,isValidBase64:()=>_b,isValidBase64URL:()=>YC,isValidJWT:()=>GC,locales:()=>Wl,meta:()=>G_,parse:()=>Wf,parseAsync:()=>ep,prettifyError:()=>ny,process:()=>De,regexes:()=>Mn,registry:()=>Ip,safeDecode:()=>gz,safeDecodeAsync:()=>yz,safeEncode:()=>hz,safeEncodeAsync:()=>vz,safeParse:()=>ry,safeParseAsync:()=>ay,toDotPath:()=>IC,toJSONSchema:()=>Ys,treeifyError:()=>ty,util:()=>H,version:()=>Qy});var TC,Fv=Object.freeze({status:"aborted"});function R(e,t,n){function a(s,u){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:u,constr:o,traits:new Set},enumerable:!1}),s._zod.traits.has(e))return;s._zod.traits.add(e),t(s,u);let l=o.prototype,c=Object.keys(l);for(let f=0;f<c.length;f++){let m=c[f];m in s||(s[m]=l[m].bind(s))}}let r=n?.Parent??Object;class i extends r{}Object.defineProperty(i,"name",{value:e});function o(s){var u;let l=n?.Parent?new i:this;a(l,s),(u=l._zod).deferred??(u.deferred=[]);for(let c of l._zod.deferred)c();return l}return Object.defineProperty(o,"init",{value:a}),Object.defineProperty(o,Symbol.hasInstance,{value:s=>n?.Parent&&s instanceof n.Parent?!0:s?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}var Hv=Symbol("zod_brand"),sr=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},Wa=class extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}};(TC=globalThis).__zod_globalConfig??(TC.__zod_globalConfig={});var Ji=globalThis.__zod_globalConfig;function st(e){return e&&Object.assign(Ji,e),Ji}var H={};Tn(H,{BIGINT_FORMAT_RANGES:()=>Wv,Class:()=>qv,NUMBER_FORMAT_RANGES:()=>Qv,aborted:()=>ri,allowsEval:()=>Gv,assert:()=>HP,assertEqual:()=>UP,assertIs:()=>BP,assertNever:()=>FP,assertNotEqual:()=>jP,assignProp:()=>ti,base64ToUint8Array:()=>EC,base64urlToUint8Array:()=>oz,cached:()=>ws,captureStackTrace:()=>Qf,cleanEnum:()=>iz,cleanRegex:()=>Ul,clone:()=>Gt,cloneDef:()=>qP,createTransparentProxy:()=>XP,defineLazy:()=>be,esc:()=>Xf,escapeRegex:()=>Kn,explicitlyAborted:()=>ey,extend:()=>ez,finalizeIssue:()=>Kt,floatSafeRemainder:()=>Vv,getElementAtPath:()=>VP,getEnumValues:()=>zl,getLengthableOrigin:()=>Fl,getParsedType:()=>JP,getSizableOrigin:()=>Bl,hexToUint8Array:()=>uz,isObject:()=>Xi,isPlainObject:()=>ni,issue:()=>Is,joinValues:()=>D,jsonStringifyReplacer:()=>Ss,merge:()=>nz,mergeDefs:()=>ua,normalizeParams:()=>G,nullish:()=>ei,numKeys:()=>KP,objectClone:()=>ZP,omit:()=>WP,optionalKeys:()=>Xv,parsedType:()=>F,partial:()=>rz,pick:()=>QP,prefixIssues:()=>fn,primitiveTypes:()=>Jv,promiseAllObject:()=>YP,propertyKeyTypes:()=>jl,randomString:()=>GP,required:()=>az,safeExtend:()=>tz,shallowClone:()=>Kv,slugify:()=>Yv,stringifyPrimitive:()=>B,uint8ArrayToBase64:()=>SC,uint8ArrayToBase64url:()=>sz,uint8ArrayToHex:()=>lz,unwrapMessage:()=>Pl});function UP(e){return e}function jP(e){return e}function BP(e){}function FP(e){throw new Error("Unexpected value in exhaustive check")}function HP(e){}function zl(e){let t=Object.values(e).filter(a=>typeof a=="number");return Object.entries(e).filter(([a,r])=>t.indexOf(+a)===-1).map(([a,r])=>r)}function D(e,t="|"){return e.map(n=>B(n)).join(t)}function Ss(e,t){return typeof t=="bigint"?t.toString():t}function ws(e){return{get value(){{let n=e();return Object.defineProperty(this,"value",{value:n}),n}throw new Error("cached value already set")}}}function ei(e){return e==null}function Ul(e){let t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function Vv(e,t){let n=e/t,a=Math.round(n),r=Number.EPSILON*Math.max(Math.abs(n),1);return Math.abs(n-a)<r?0:n-a}var xC=Symbol("evaluating");function be(e,t,n){let a;Object.defineProperty(e,t,{get(){if(a!==xC)return a===void 0&&(a=xC,a=n()),a},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function ZP(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function ti(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function ua(...e){let t={};for(let n of e){let a=Object.getOwnPropertyDescriptors(n);Object.assign(t,a)}return Object.defineProperties({},t)}function qP(e){return ua(e._zod.def)}function VP(e,t){return t?t.reduce((n,a)=>n?.[a],e):e}function YP(e){let t=Object.keys(e),n=t.map(a=>e[a]);return Promise.all(n).then(a=>{let r={};for(let i=0;i<t.length;i++)r[t[i]]=a[i];return r})}function GP(e=10){let t="abcdefghijklmnopqrstuvwxyz",n="";for(let a=0;a<e;a++)n+=t[Math.floor(Math.random()*t.length)];return n}function Xf(e){return JSON.stringify(e)}function Yv(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var Qf="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Xi(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var Gv=ws(()=>{if(Ji.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function ni(e){if(Xi(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let n=t.prototype;return!(Xi(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function Kv(e){return ni(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function KP(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}var JP=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":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"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 new Error(`Unknown data type: ${t}`)}},jl=new Set(["string","number","symbol"]),Jv=new Set(["string","number","bigint","boolean","symbol","undefined"]);function Kn(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Gt(e,t,n){let a=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(a._zod.parent=e),a}function G(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function XP(e){let t;return new Proxy({},{get(n,a,r){return t??(t=e()),Reflect.get(t,a,r)},set(n,a,r,i){return t??(t=e()),Reflect.set(t,a,r,i)},has(n,a){return t??(t=e()),Reflect.has(t,a)},deleteProperty(n,a){return t??(t=e()),Reflect.deleteProperty(t,a)},ownKeys(n){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(n,a){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,a)},defineProperty(n,a,r){return t??(t=e()),Reflect.defineProperty(t,a,r)}})}function B(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function Xv(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}var Qv={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Wv={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function QP(e,t){let n=e._zod.def,a=n.checks;if(a&&a.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");let i=ua(e._zod.def,{get shape(){let o={};for(let s in t){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&(o[s]=n.shape[s])}return ti(this,"shape",o),o},checks:[]});return Gt(e,i)}function WP(e,t){let n=e._zod.def,a=n.checks;if(a&&a.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");let i=ua(e._zod.def,{get shape(){let o={...e._zod.def.shape};for(let s in t){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&delete o[s]}return ti(this,"shape",o),o},checks:[]});return Gt(e,i)}function ez(e,t){if(!ni(t))throw new Error("Invalid input to extend: expected a plain object");let n=e._zod.def.checks;if(n&&n.length>0){let i=e._zod.def.shape;for(let o in t)if(Object.getOwnPropertyDescriptor(i,o)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let r=ua(e._zod.def,{get shape(){let i={...e._zod.def.shape,...t};return ti(this,"shape",i),i}});return Gt(e,r)}function tz(e,t){if(!ni(t))throw new Error("Invalid input to safeExtend: expected a plain object");let n=ua(e._zod.def,{get shape(){let a={...e._zod.def.shape,...t};return ti(this,"shape",a),a}});return Gt(e,n)}function nz(e,t){if(e._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let n=ua(e._zod.def,{get shape(){let a={...e._zod.def.shape,...t._zod.def.shape};return ti(this,"shape",a),a},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return Gt(e,n)}function rz(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");let o=ua(t._zod.def,{get shape(){let s=t._zod.def.shape,u={...s};if(n)for(let l in n){if(!(l in s))throw new Error(`Unrecognized key: "${l}"`);n[l]&&(u[l]=e?new e({type:"optional",innerType:s[l]}):s[l])}else for(let l in s)u[l]=e?new e({type:"optional",innerType:s[l]}):s[l];return ti(this,"shape",u),u},checks:[]});return Gt(t,o)}function az(e,t,n){let a=ua(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let o in n){if(!(o in i))throw new Error(`Unrecognized key: "${o}"`);n[o]&&(i[o]=new e({type:"nonoptional",innerType:r[o]}))}else for(let o in r)i[o]=new e({type:"nonoptional",innerType:r[o]});return ti(this,"shape",i),i}});return Gt(t,a)}function ri(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function ey(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function fn(e,t){return t.map(n=>{var a;return(a=n).path??(a.path=[]),n.path.unshift(e),n})}function Pl(e){return typeof e=="string"?e:e?.message}function Kt(e,t,n){let a=e.message?e.message:Pl(e.inst?._zod.def?.error?.(e))??Pl(t?.error?.(e))??Pl(n.customError?.(e))??Pl(n.localeError?.(e))??"Invalid input",{inst:r,continue:i,input:o,...s}=e;return s.path??(s.path=[]),s.message=a,t?.reportInput&&(s.input=o),s}function Bl(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function Fl(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function F(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let n=e;if(n&&Object.getPrototypeOf(n)!==Object.prototype&&"constructor"in n&&n.constructor)return n.constructor.name}}return t}function Is(...e){let[t,n,a]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:a}:{...t}}function iz(e){return Object.entries(e).filter(([t,n])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function EC(e){let t=atob(e),n=new Uint8Array(t.length);for(let a=0;a<t.length;a++)n[a]=t.charCodeAt(a);return n}function SC(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}function oz(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),n="=".repeat((4-t.length%4)%4);return EC(t+n)}function sz(e){return SC(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function uz(e){let t=e.replace(/^0x/,"");if(t.length%2!==0)throw new Error("Invalid hex string length");let n=new Uint8Array(t.length/2);for(let a=0;a<t.length;a+=2)n[a/2]=Number.parseInt(t.slice(a,a+2),16);return n}function lz(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}var qv=class{constructor(...t){}};var wC=(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,Ss,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},Hl=R("$ZodError",wC),pn=R("$ZodError",wC,{Parent:Error});function Zl(e,t=n=>n.message){let n={},a=[];for(let r of e.issues)r.path.length>0?(n[r.path[0]]=n[r.path[0]]||[],n[r.path[0]].push(t(r))):a.push(t(r));return{formErrors:a,fieldErrors:n}}function ql(e,t=n=>n.message){let n={_errors:[]},a=(r,i=[])=>{for(let o of r.issues)if(o.code==="invalid_union"&&o.errors.length)o.errors.map(s=>a({issues:s},[...i,...o.path]));else if(o.code==="invalid_key")a({issues:o.issues},[...i,...o.path]);else if(o.code==="invalid_element")a({issues:o.issues},[...i,...o.path]);else{let s=[...i,...o.path];if(s.length===0)n._errors.push(t(o));else{let u=n,l=0;for(;l<s.length;){let c=s[l];l===s.length-1?(u[c]=u[c]||{_errors:[]},u[c]._errors.push(t(o))):u[c]=u[c]||{_errors:[]},u=u[c],l++}}}};return a(e),n}function ty(e,t=n=>n.message){let n={errors:[]},a=(r,i=[])=>{var o,s;for(let u of r.issues)if(u.code==="invalid_union"&&u.errors.length)u.errors.map(l=>a({issues:l},[...i,...u.path]));else if(u.code==="invalid_key")a({issues:u.issues},[...i,...u.path]);else if(u.code==="invalid_element")a({issues:u.issues},[...i,...u.path]);else{let l=[...i,...u.path];if(l.length===0){n.errors.push(t(u));continue}let c=n,f=0;for(;f<l.length;){let m=l[f],p=f===l.length-1;typeof m=="string"?(c.properties??(c.properties={}),(o=c.properties)[m]??(o[m]={errors:[]}),c=c.properties[m]):(c.items??(c.items=[]),(s=c.items)[m]??(s[m]={errors:[]}),c=c.items[m]),p&&c.errors.push(t(u)),f++}}};return a(e),n}function IC(e){let t=[],n=e.map(a=>typeof a=="object"?a.key:a);for(let a of n)typeof a=="number"?t.push(`[${a}]`):typeof a=="symbol"?t.push(`[${JSON.stringify(String(a))}]`):/[^\w$]/.test(a)?t.push(`[${JSON.stringify(a)}]`):(t.length&&t.push("."),t.push(a));return t.join("")}function ny(e){let t=[],n=[...e.issues].sort((a,r)=>(a.path??[]).length-(r.path??[]).length);for(let a of n)t.push(`\u2716 ${a.message}`),a.path?.length&&t.push(` \u2192 at ${IC(a.path)}`);return t.join(`
13
+ `)}var As=e=>(t,n,a,r)=>{let i=a?{...a,async:!1}:{async:!1},o=t._zod.run({value:n,issues:[]},i);if(o instanceof Promise)throw new sr;if(o.issues.length){let s=new(r?.Err??e)(o.issues.map(u=>Kt(u,i,st())));throw Qf(s,r?.callee),s}return o.value},Wf=As(pn),ks=e=>async(t,n,a,r)=>{let i=a?{...a,async:!0}:{async:!0},o=t._zod.run({value:n,issues:[]},i);if(o instanceof Promise&&(o=await o),o.issues.length){let s=new(r?.Err??e)(o.issues.map(u=>Kt(u,i,st())));throw Qf(s,r?.callee),s}return o.value},ep=ks(pn),Cs=e=>(t,n,a)=>{let r=a?{...a,async:!1}:{async:!1},i=t._zod.run({value:n,issues:[]},r);if(i instanceof Promise)throw new sr;return i.issues.length?{success:!1,error:new(e??Hl)(i.issues.map(o=>Kt(o,r,st())))}:{success:!0,data:i.value}},ry=Cs(pn),Os=e=>async(t,n,a)=>{let r=a?{...a,async:!0}:{async:!0},i=t._zod.run({value:n,issues:[]},r);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new e(i.issues.map(o=>Kt(o,r,st())))}:{success:!0,data:i.value}},ay=Os(pn),tp=e=>(t,n,a)=>{let r=a?{...a,direction:"backward"}:{direction:"backward"};return As(e)(t,n,r)},dz=tp(pn),np=e=>(t,n,a)=>As(e)(t,n,a),fz=np(pn),rp=e=>async(t,n,a)=>{let r=a?{...a,direction:"backward"}:{direction:"backward"};return ks(e)(t,n,r)},pz=rp(pn),ap=e=>async(t,n,a)=>ks(e)(t,n,a),mz=ap(pn),ip=e=>(t,n,a)=>{let r=a?{...a,direction:"backward"}:{direction:"backward"};return Cs(e)(t,n,r)},hz=ip(pn),op=e=>(t,n,a)=>Cs(e)(t,n,a),gz=op(pn),sp=e=>async(t,n,a)=>{let r=a?{...a,direction:"backward"}:{direction:"backward"};return Os(e)(t,n,r)},vz=sp(pn),up=e=>async(t,n,a)=>Os(e)(t,n,a),yz=up(pn);var Mn={};Tn(Mn,{base64:()=>_y,base64url:()=>lp,bigint:()=>Ay,boolean:()=>Cy,browserEmail:()=>Iz,cidrv4:()=>yy,cidrv6:()=>by,cuid:()=>iy,cuid2:()=>oy,date:()=>Ey,datetime:()=>wy,domain:()=>Cz,duration:()=>dy,e164:()=>xy,email:()=>py,emoji:()=>my,extendedDuration:()=>bz,guid:()=>fy,hex:()=>Oz,hostname:()=>kz,html5Email:()=>Ez,httpProtocol:()=>Ty,idnEmail:()=>wz,integer:()=>ky,ipv4:()=>hy,ipv6:()=>gy,ksuid:()=>ly,lowercase:()=>Ry,mac:()=>vy,md5_base64:()=>Rz,md5_base64url:()=>Mz,md5_hex:()=>Nz,nanoid:()=>cy,null:()=>Oy,number:()=>cp,rfc5322Email:()=>Sz,sha1_base64:()=>$z,sha1_base64url:()=>Lz,sha1_hex:()=>Dz,sha256_base64:()=>zz,sha256_base64url:()=>Uz,sha256_hex:()=>Pz,sha384_base64:()=>Bz,sha384_base64url:()=>Fz,sha384_hex:()=>jz,sha512_base64:()=>Zz,sha512_base64url:()=>qz,sha512_hex:()=>Hz,string:()=>Iy,time:()=>Sy,ulid:()=>sy,undefined:()=>Ny,unicodeEmail:()=>AC,uppercase:()=>My,uuid:()=>Qi,uuid4:()=>_z,uuid6:()=>Tz,uuid7:()=>xz,xid:()=>uy});var iy=/^[cC][0-9a-z]{6,}$/,oy=/^[0-9a-z]+$/,sy=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,uy=/^[0-9a-vA-V]{20}$/,ly=/^[A-Za-z0-9]{27}$/,cy=/^[a-zA-Z0-9_-]{21}$/,dy=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,bz=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,fy=/^([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})$/,Qi=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)$/,_z=Qi(4),Tz=Qi(6),xz=Qi(7),py=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Ez=/^[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])?)*$/,Sz=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,AC=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,wz=AC,Iz=/^[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])?)*$/,Az="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function my(){return new RegExp(Az,"u")}var hy=/^(?:(?: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])$/,gy=/^(([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}|:))$/,vy=e=>{let t=Kn(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},yy=/^((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])$/,by=/^(([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])$/,_y=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,lp=/^[A-Za-z0-9_-]*$/,kz=/^(?=.{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])?)*\.?$/,Cz=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,Ty=/^https?$/,xy=/^\+[1-9]\d{6,14}$/,kC="(?:(?:\\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])))",Ey=new RegExp(`^${kC}$`);function CC(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Sy(e){return new RegExp(`^${CC(e)}$`)}function wy(e){let t=CC({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let a=`${t}(?:${n.join("|")})`;return new RegExp(`^${kC}T(?:${a})$`)}var Iy=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},Ay=/^-?\d+n?$/,ky=/^-?\d+$/,cp=/^-?\d+(?:\.\d+)?$/,Cy=/^(?:true|false)$/i,Oy=/^null$/i;var Ny=/^undefined$/i;var Ry=/^[^A-Z]*$/,My=/^[^a-z]*$/,Oz=/^[0-9a-fA-F]*$/;function Vl(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function Yl(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var Nz=/^[0-9a-fA-F]{32}$/,Rz=Vl(22,"=="),Mz=Yl(22),Dz=/^[0-9a-fA-F]{40}$/,$z=Vl(27,"="),Lz=Yl(27),Pz=/^[0-9a-fA-F]{64}$/,zz=Vl(43,"="),Uz=Yl(43),jz=/^[0-9a-fA-F]{96}$/,Bz=Vl(64,""),Fz=Yl(64),Hz=/^[0-9a-fA-F]{128}$/,Zz=Vl(86,"=="),qz=Yl(86);var qe=R("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),NC={number:"number",bigint:"bigint",object:"date"},dp=R("$ZodCheckLessThan",(e,t)=>{qe.init(e,t);let n=NC[typeof t.value];e._zod.onattach.push(a=>{let r=a._zod.bag,i=(t.inclusive?r.maximum:r.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<i&&(t.inclusive?r.maximum=t.value:r.exclusiveMaximum=t.value)}),e._zod.check=a=>{(t.inclusive?a.value<=t.value:a.value<t.value)||a.issues.push({origin:n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:a.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),fp=R("$ZodCheckGreaterThan",(e,t)=>{qe.init(e,t);let n=NC[typeof t.value];e._zod.onattach.push(a=>{let r=a._zod.bag,i=(t.inclusive?r.minimum:r.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>i&&(t.inclusive?r.minimum=t.value:r.exclusiveMinimum=t.value)}),e._zod.check=a=>{(t.inclusive?a.value>=t.value:a.value>t.value)||a.issues.push({origin:n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:a.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Dy=R("$ZodCheckMultipleOf",(e,t)=>{qe.init(e,t),e._zod.onattach.push(n=>{var a;(a=n._zod.bag).multipleOf??(a.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%t.value===BigInt(0):Vv(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),$y=R("$ZodCheckNumberFormat",(e,t)=>{qe.init(e,t),t.format=t.format||"float64";let n=t.format?.includes("int"),a=n?"int":"number",[r,i]=Qv[t.format];e._zod.onattach.push(o=>{let s=o._zod.bag;s.format=t.format,s.minimum=r,s.maximum=i,n&&(s.pattern=ky)}),e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:a,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:a,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:a,inclusive:!0,continue:!t.abort});return}}s<r&&o.issues.push({origin:"number",input:s,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),s>i&&o.issues.push({origin:"number",input:s,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),Ly=R("$ZodCheckBigIntFormat",(e,t)=>{qe.init(e,t);let[n,a]=Wv[t.format];e._zod.onattach.push(r=>{let i=r._zod.bag;i.format=t.format,i.minimum=n,i.maximum=a}),e._zod.check=r=>{let i=r.value;i<n&&r.issues.push({origin:"bigint",input:i,code:"too_small",minimum:n,inclusive:!0,inst:e,continue:!t.abort}),i>a&&r.issues.push({origin:"bigint",input:i,code:"too_big",maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),Py=R("$ZodCheckMaxSize",(e,t)=>{var n;qe.init(e,t),(n=e._zod.def).when??(n.when=a=>{let r=a.value;return!ei(r)&&r.size!==void 0}),e._zod.onattach.push(a=>{let r=a._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(a._zod.bag.maximum=t.maximum)}),e._zod.check=a=>{let r=a.value;r.size<=t.maximum||a.issues.push({origin:Bl(r),code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),zy=R("$ZodCheckMinSize",(e,t)=>{var n;qe.init(e,t),(n=e._zod.def).when??(n.when=a=>{let r=a.value;return!ei(r)&&r.size!==void 0}),e._zod.onattach.push(a=>{let r=a._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(a._zod.bag.minimum=t.minimum)}),e._zod.check=a=>{let r=a.value;r.size>=t.minimum||a.issues.push({origin:Bl(r),code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Uy=R("$ZodCheckSizeEquals",(e,t)=>{var n;qe.init(e,t),(n=e._zod.def).when??(n.when=a=>{let r=a.value;return!ei(r)&&r.size!==void 0}),e._zod.onattach.push(a=>{let r=a._zod.bag;r.minimum=t.size,r.maximum=t.size,r.size=t.size}),e._zod.check=a=>{let r=a.value,i=r.size;if(i===t.size)return;let o=i>t.size;a.issues.push({origin:Bl(r),...o?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:a.value,inst:e,continue:!t.abort})}}),jy=R("$ZodCheckMaxLength",(e,t)=>{var n;qe.init(e,t),(n=e._zod.def).when??(n.when=a=>{let r=a.value;return!ei(r)&&r.length!==void 0}),e._zod.onattach.push(a=>{let r=a._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(a._zod.bag.maximum=t.maximum)}),e._zod.check=a=>{let r=a.value;if(r.length<=t.maximum)return;let o=Fl(r);a.issues.push({origin:o,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),By=R("$ZodCheckMinLength",(e,t)=>{var n;qe.init(e,t),(n=e._zod.def).when??(n.when=a=>{let r=a.value;return!ei(r)&&r.length!==void 0}),e._zod.onattach.push(a=>{let r=a._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(a._zod.bag.minimum=t.minimum)}),e._zod.check=a=>{let r=a.value;if(r.length>=t.minimum)return;let o=Fl(r);a.issues.push({origin:o,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Fy=R("$ZodCheckLengthEquals",(e,t)=>{var n;qe.init(e,t),(n=e._zod.def).when??(n.when=a=>{let r=a.value;return!ei(r)&&r.length!==void 0}),e._zod.onattach.push(a=>{let r=a._zod.bag;r.minimum=t.length,r.maximum=t.length,r.length=t.length}),e._zod.check=a=>{let r=a.value,i=r.length;if(i===t.length)return;let o=Fl(r),s=i>t.length;a.issues.push({origin:o,...s?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:a.value,inst:e,continue:!t.abort})}}),Ns=R("$ZodCheckStringFormat",(e,t)=>{var n,a;qe.init(e,t),e._zod.onattach.push(r=>{let i=r._zod.bag;i.format=t.format,t.pattern&&(i.patterns??(i.patterns=new Set),i.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.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})}):(a=e._zod).check??(a.check=()=>{})}),Hy=R("$ZodCheckRegex",(e,t)=>{Ns.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Zy=R("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=Ry),Ns.init(e,t)}),qy=R("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=My),Ns.init(e,t)}),Vy=R("$ZodCheckIncludes",(e,t)=>{qe.init(e,t);let n=Kn(t.includes),a=new RegExp(typeof t.position=="number"?`^.{${t.position}}${n}`:n);t.pattern=a,e._zod.onattach.push(r=>{let i=r._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(a)}),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})}}),Yy=R("$ZodCheckStartsWith",(e,t)=>{qe.init(e,t);let n=new RegExp(`^${Kn(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(a=>{let r=a._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),e._zod.check=a=>{a.value.startsWith(t.prefix)||a.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:a.value,inst:e,continue:!t.abort})}}),Gy=R("$ZodCheckEndsWith",(e,t)=>{qe.init(e,t);let n=new RegExp(`.*${Kn(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(a=>{let r=a._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),e._zod.check=a=>{a.value.endsWith(t.suffix)||a.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:a.value,inst:e,continue:!t.abort})}});function OC(e,t,n){e.issues.length&&t.issues.push(...fn(n,e.issues))}var Ky=R("$ZodCheckProperty",(e,t)=>{qe.init(e,t),e._zod.check=n=>{let a=t.schema._zod.run({value:n.value[t.property],issues:[]},{});if(a instanceof Promise)return a.then(r=>OC(r,n,t.property));OC(a,n,t.property)}}),Jy=R("$ZodCheckMimeType",(e,t)=>{qe.init(e,t);let n=new Set(t.mime);e._zod.onattach.push(a=>{a._zod.bag.mime=t.mime}),e._zod.check=a=>{n.has(a.value.type)||a.issues.push({code:"invalid_value",values:t.mime,input:a.value.type,inst:e,continue:!t.abort})}}),Xy=R("$ZodCheckOverwrite",(e,t)=>{qe.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});var Gl=class{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let a=t.split(`
14
+ `).filter(o=>o),r=Math.min(...a.map(o=>o.length-o.trimStart().length)),i=a.map(o=>o.slice(r)).map(o=>" ".repeat(this.indent*2)+o);for(let o of i)this.content.push(o)}compile(){let t=Function,n=this?.args,r=[...(this?.content??[""]).map(i=>` ${i}`)];return new t(...n,r.join(`
15
+ `))}};var Qy={major:4,minor:4,patch:3};var pe=R("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Qy;let a=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&a.unshift(e);for(let r of a)for(let i of r._zod.onattach)i(e);if(a.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let r=(o,s,u)=>{let l=ri(o),c;for(let f of s){if(f._zod.def.when){if(ey(o)||!f._zod.def.when(o))continue}else if(l)continue;let m=o.issues.length,p=f._zod.check(o);if(p instanceof Promise&&u?.async===!1)throw new sr;if(c||p instanceof Promise)c=(c??Promise.resolve()).then(async()=>{await p,o.issues.length!==m&&(l||(l=ri(o,m)))});else{if(o.issues.length===m)continue;l||(l=ri(o,m))}}return c?c.then(()=>o):o},i=(o,s,u)=>{if(ri(o))return o.aborted=!0,o;let l=r(s,a,u);if(l instanceof Promise){if(u.async===!1)throw new sr;return l.then(c=>e._zod.parse(c,u))}return e._zod.parse(l,u)};e._zod.run=(o,s)=>{if(s.skipChecks)return e._zod.parse(o,s);if(s.direction==="backward"){let l=e._zod.parse({value:o.value,issues:[]},{...s,skipChecks:!0});return l instanceof Promise?l.then(c=>i(c,o,s)):i(l,o,s)}let u=e._zod.parse(o,s);if(u instanceof Promise){if(s.async===!1)throw new sr;return u.then(l=>r(l,a,s))}return r(u,a,s)}}be(e,"~standard",()=>({validate:r=>{try{let i=ry(e,r);return i.success?{value:i.data}:{issues:i.error?.issues}}catch{return ay(e,r).then(o=>o.success?{value:o.data}:{issues:o.error?.issues})}},vendor:"zod",version:1}))}),Wi=R("$ZodString",(e,t)=>{pe.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Iy(e._zod.bag),e._zod.parse=(n,a)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),Be=R("$ZodStringFormat",(e,t)=>{Ns.init(e,t),Wi.init(e,t)}),eb=R("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=fy),Be.init(e,t)}),tb=R("$ZodUUID",(e,t)=>{if(t.version){let a={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(a===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=Qi(a))}else t.pattern??(t.pattern=Qi());Be.init(e,t)}),nb=R("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=py),Be.init(e,t)}),rb=R("$ZodURL",(e,t)=>{Be.init(e,t),e._zod.check=n=>{try{let a=n.value.trim();if(!t.normalize&&t.protocol?.source===Ty.source&&!/^https?:\/\//i.test(a)){n.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:n.value,inst:e,continue:!t.abort});return}let r=new URL(a);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(r.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(r.protocol.endsWith(":")?r.protocol.slice(0,-1):r.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=r.href:n.value=a;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),ab=R("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=my()),Be.init(e,t)}),ib=R("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=cy),Be.init(e,t)}),ob=R("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=iy),Be.init(e,t)}),sb=R("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=oy),Be.init(e,t)}),ub=R("$ZodULID",(e,t)=>{t.pattern??(t.pattern=sy),Be.init(e,t)}),lb=R("$ZodXID",(e,t)=>{t.pattern??(t.pattern=uy),Be.init(e,t)}),cb=R("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=ly),Be.init(e,t)}),db=R("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=wy(t)),Be.init(e,t)}),fb=R("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=Ey),Be.init(e,t)}),pb=R("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=Sy(t)),Be.init(e,t)}),mb=R("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=dy),Be.init(e,t)}),hb=R("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=hy),Be.init(e,t),e._zod.bag.format="ipv4"}),gb=R("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=gy),Be.init(e,t),e._zod.bag.format="ipv6",e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),vb=R("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=vy(t.delimiter)),Be.init(e,t),e._zod.bag.format="mac"}),yb=R("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=yy),Be.init(e,t)}),bb=R("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=by),Be.init(e,t),e._zod.check=n=>{let a=n.value.split("/");try{if(a.length!==2)throw new Error;let[r,i]=a;if(!i)throw new Error;let o=Number(i);if(`${o}`!==i)throw new Error;if(o<0||o>128)throw new Error;new URL(`http://[${r}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});function _b(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var Tb=R("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=_y),Be.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{_b(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}});function YC(e){if(!lp.test(e))return!1;let t=e.replace(/[-_]/g,a=>a==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return _b(n)}var xb=R("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=lp),Be.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=n=>{YC(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),Eb=R("$ZodE164",(e,t)=>{t.pattern??(t.pattern=xy),Be.init(e,t)});function GC(e,t=null){try{let n=e.split(".");if(n.length!==3)return!1;let[a]=n;if(!a)return!1;let r=JSON.parse(atob(a));return!("typ"in r&&r?.typ!=="JWT"||!r.alg||t&&(!("alg"in r)||r.alg!==t))}catch{return!1}}var Sb=R("$ZodJWT",(e,t)=>{Be.init(e,t),e._zod.check=n=>{GC(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),wb=R("$ZodCustomStringFormat",(e,t)=>{Be.init(e,t),e._zod.check=n=>{t.fn(n.value)||n.issues.push({code:"invalid_format",format:t.format,input:n.value,inst:e,continue:!t.abort})}}),vp=R("$ZodNumber",(e,t)=>{pe.init(e,t),e._zod.pattern=e._zod.bag.pattern??cp,e._zod.parse=(n,a)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let r=n.value;if(typeof r=="number"&&!Number.isNaN(r)&&Number.isFinite(r))return n;let i=typeof r=="number"?Number.isNaN(r)?"NaN":Number.isFinite(r)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:r,inst:e,...i?{received:i}:{}}),n}}),Ib=R("$ZodNumberFormat",(e,t)=>{$y.init(e,t),vp.init(e,t)}),Kl=R("$ZodBoolean",(e,t)=>{pe.init(e,t),e._zod.pattern=Cy,e._zod.parse=(n,a)=>{if(t.coerce)try{n.value=!!n.value}catch{}let r=n.value;return typeof r=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:r,inst:e}),n}}),yp=R("$ZodBigInt",(e,t)=>{pe.init(e,t),e._zod.pattern=Ay,e._zod.parse=(n,a)=>{if(t.coerce)try{n.value=BigInt(n.value)}catch{}return typeof n.value=="bigint"||n.issues.push({expected:"bigint",code:"invalid_type",input:n.value,inst:e}),n}}),Ab=R("$ZodBigIntFormat",(e,t)=>{Ly.init(e,t),yp.init(e,t)}),kb=R("$ZodSymbol",(e,t)=>{pe.init(e,t),e._zod.parse=(n,a)=>{let r=n.value;return typeof r=="symbol"||n.issues.push({expected:"symbol",code:"invalid_type",input:r,inst:e}),n}}),Cb=R("$ZodUndefined",(e,t)=>{pe.init(e,t),e._zod.pattern=Ny,e._zod.values=new Set([void 0]),e._zod.parse=(n,a)=>{let r=n.value;return typeof r>"u"||n.issues.push({expected:"undefined",code:"invalid_type",input:r,inst:e}),n}}),Ob=R("$ZodNull",(e,t)=>{pe.init(e,t),e._zod.pattern=Oy,e._zod.values=new Set([null]),e._zod.parse=(n,a)=>{let r=n.value;return r===null||n.issues.push({expected:"null",code:"invalid_type",input:r,inst:e}),n}}),Nb=R("$ZodAny",(e,t)=>{pe.init(e,t),e._zod.parse=n=>n}),Rb=R("$ZodUnknown",(e,t)=>{pe.init(e,t),e._zod.parse=n=>n}),Mb=R("$ZodNever",(e,t)=>{pe.init(e,t),e._zod.parse=(n,a)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)}),Db=R("$ZodVoid",(e,t)=>{pe.init(e,t),e._zod.parse=(n,a)=>{let r=n.value;return typeof r>"u"||n.issues.push({expected:"void",code:"invalid_type",input:r,inst:e}),n}}),$b=R("$ZodDate",(e,t)=>{pe.init(e,t),e._zod.parse=(n,a)=>{if(t.coerce)try{n.value=new Date(n.value)}catch{}let r=n.value,i=r instanceof Date;return i&&!Number.isNaN(r.getTime())||n.issues.push({expected:"date",code:"invalid_type",input:r,...i?{received:"Invalid Date"}:{},inst:e}),n}});function MC(e,t,n){e.issues.length&&t.issues.push(...fn(n,e.issues)),t.value[n]=e.value}var Lb=R("$ZodArray",(e,t)=>{pe.init(e,t),e._zod.parse=(n,a)=>{let r=n.value;if(!Array.isArray(r))return n.issues.push({expected:"array",code:"invalid_type",input:r,inst:e}),n;n.value=Array(r.length);let i=[];for(let o=0;o<r.length;o++){let s=r[o],u=t.element._zod.run({value:s,issues:[]},a);u instanceof Promise?i.push(u.then(l=>MC(l,n,o))):MC(u,n,o)}return i.length?Promise.all(i).then(()=>n):n}});function gp(e,t,n,a,r,i){let o=n in a;if(e.issues.length){if(r&&i&&!o)return;t.issues.push(...fn(n,e.issues))}if(!o&&!r){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}e.value===void 0?o&&(t.value[n]=void 0):t.value[n]=e.value}function KC(e){let t=Object.keys(e.shape);for(let a of t)if(!e.shape?.[a]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${a}": expected a Zod schema`);let n=Xv(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function JC(e,t,n,a,r,i){let o=[],s=r.keySet,u=r.catchall._zod,l=u.def.type,c=u.optin==="optional",f=u.optout==="optional";for(let m in t){if(m==="__proto__"||s.has(m))continue;if(l==="never"){o.push(m);continue}let p=u.run({value:t[m],issues:[]},a);p instanceof Promise?e.push(p.then(b=>gp(b,n,m,t,c,f))):gp(p,n,m,t,c,f)}return o.length&&n.issues.push({code:"unrecognized_keys",keys:o,input:t,inst:i}),e.length?Promise.all(e).then(()=>n):n}var XC=R("$ZodObject",(e,t)=>{if(pe.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){let s=t.shape;Object.defineProperty(t,"shape",{get:()=>{let u={...s};return Object.defineProperty(t,"shape",{value:u}),u}})}let a=ws(()=>KC(t));be(e._zod,"propValues",()=>{let s=t.shape,u={};for(let l in s){let c=s[l]._zod;if(c.values){u[l]??(u[l]=new Set);for(let f of c.values)u[l].add(f)}}return u});let r=Xi,i=t.catchall,o;e._zod.parse=(s,u)=>{o??(o=a.value);let l=s.value;if(!r(l))return s.issues.push({expected:"object",code:"invalid_type",input:l,inst:e}),s;s.value={};let c=[],f=o.shape;for(let m of o.keys){let p=f[m],b=p._zod.optin==="optional",S=p._zod.optout==="optional",C=p._zod.run({value:l[m],issues:[]},u);C instanceof Promise?c.push(C.then(v=>gp(v,s,m,l,b,S))):gp(C,s,m,l,b,S)}return i?JC(c,l,s,u,a.value,e):c.length?Promise.all(c).then(()=>s):s}}),Pb=R("$ZodObjectJIT",(e,t)=>{XC.init(e,t);let n=e._zod.parse,a=ws(()=>KC(t)),r=m=>{let p=new Gl(["shape","payload","ctx"]),b=a.value,S=T=>{let A=Xf(T);return`shape[${A}]._zod.run({ value: input[${A}], issues: [] }, ctx)`};p.write("const input = payload.value;");let C=Object.create(null),v=0;for(let T of b.keys)C[T]=`key_${v++}`;p.write("const newResult = {};");for(let T of b.keys){let A=C[T],O=Xf(T),g=m[T],N=g?._zod?.optin==="optional",L=g?._zod?.optout==="optional";p.write(`const ${A} = ${S(T)};`),N&&L?p.write(`
16
+ if (${A}.issues.length) {
17
+ if (${O} in input) {
18
+ payload.issues = payload.issues.concat(${A}.issues.map(iss => ({
19
+ ...iss,
20
+ path: iss.path ? [${O}, ...iss.path] : [${O}]
21
+ })));
22
+ }
23
+ }
24
+
25
+ if (${A}.value === undefined) {
26
+ if (${O} in input) {
27
+ newResult[${O}] = undefined;
28
+ }
29
+ } else {
30
+ newResult[${O}] = ${A}.value;
31
+ }
32
+
33
+ `):N?p.write(`
34
+ if (${A}.issues.length) {
35
+ payload.issues = payload.issues.concat(${A}.issues.map(iss => ({
36
+ ...iss,
37
+ path: iss.path ? [${O}, ...iss.path] : [${O}]
38
+ })));
39
+ }
40
+
41
+ if (${A}.value === undefined) {
42
+ if (${O} in input) {
43
+ newResult[${O}] = undefined;
44
+ }
45
+ } else {
46
+ newResult[${O}] = ${A}.value;
47
+ }
48
+
49
+ `):p.write(`
50
+ const ${A}_present = ${O} in input;
51
+ if (${A}.issues.length) {
52
+ payload.issues = payload.issues.concat(${A}.issues.map(iss => ({
53
+ ...iss,
54
+ path: iss.path ? [${O}, ...iss.path] : [${O}]
55
+ })));
56
+ }
57
+ if (!${A}_present && !${A}.issues.length) {
58
+ payload.issues.push({
59
+ code: "invalid_type",
60
+ expected: "nonoptional",
61
+ input: undefined,
62
+ path: [${O}]
63
+ });
64
+ }
65
+
66
+ if (${A}_present) {
67
+ if (${A}.value === undefined) {
68
+ newResult[${O}] = undefined;
69
+ } else {
70
+ newResult[${O}] = ${A}.value;
71
+ }
72
+ }
73
+
74
+ `)}p.write("payload.value = newResult;"),p.write("return payload;");let y=p.compile();return(T,A)=>y(m,T,A)},i,o=Xi,s=!Ji.jitless,l=s&&Gv.value,c=t.catchall,f;e._zod.parse=(m,p)=>{f??(f=a.value);let b=m.value;return o(b)?s&&l&&p?.async===!1&&p.jitless!==!0?(i||(i=r(t.shape)),m=i(m,p),c?JC([],b,m,p,f,e):m):n(m,p):(m.issues.push({expected:"object",code:"invalid_type",input:b,inst:e}),m)}});function DC(e,t,n,a){for(let i of e)if(i.issues.length===0)return t.value=i.value,t;let r=e.filter(i=>!ri(i));return r.length===1?(t.value=r[0].value,r[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(i=>i.issues.map(o=>Kt(o,a,st())))}),t)}var Jl=R("$ZodUnion",(e,t)=>{pe.init(e,t),be(e._zod,"optin",()=>t.options.some(a=>a._zod.optin==="optional")?"optional":void 0),be(e._zod,"optout",()=>t.options.some(a=>a._zod.optout==="optional")?"optional":void 0),be(e._zod,"values",()=>{if(t.options.every(a=>a._zod.values))return new Set(t.options.flatMap(a=>Array.from(a._zod.values)))}),be(e._zod,"pattern",()=>{if(t.options.every(a=>a._zod.pattern)){let a=t.options.map(r=>r._zod.pattern);return new RegExp(`^(${a.map(r=>Ul(r.source)).join("|")})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(a,r)=>{if(n)return n(a,r);let i=!1,o=[];for(let s of t.options){let u=s._zod.run({value:a.value,issues:[]},r);if(u instanceof Promise)o.push(u),i=!0;else{if(u.issues.length===0)return u;o.push(u)}}return i?Promise.all(o).then(s=>DC(s,a,e,r)):DC(o,a,e,r)}});function $C(e,t,n,a){let r=e.filter(i=>i.issues.length===0);return r.length===1?(t.value=r[0].value,t):(r.length===0?t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(i=>i.issues.map(o=>Kt(o,a,st())))}):t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:[],inclusive:!1}),t)}var zb=R("$ZodXor",(e,t)=>{Jl.init(e,t),t.inclusive=!1;let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(a,r)=>{if(n)return n(a,r);let i=!1,o=[];for(let s of t.options){let u=s._zod.run({value:a.value,issues:[]},r);u instanceof Promise?(o.push(u),i=!0):o.push(u)}return i?Promise.all(o).then(s=>$C(s,a,e,r)):$C(o,a,e,r)}}),Ub=R("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,Jl.init(e,t);let n=e._zod.parse;be(e._zod,"propValues",()=>{let r={};for(let i of t.options){let o=i._zod.propValues;if(!o||Object.keys(o).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(i)}"`);for(let[s,u]of Object.entries(o)){r[s]||(r[s]=new Set);for(let l of u)r[s].add(l)}}return r});let a=ws(()=>{let r=t.options,i=new Map;for(let o of r){let s=o._zod.propValues?.[t.discriminator];if(!s||s.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(o)}"`);for(let u of s){if(i.has(u))throw new Error(`Duplicate discriminator value "${String(u)}"`);i.set(u,o)}}return i});e._zod.parse=(r,i)=>{let o=r.value;if(!Xi(o))return r.issues.push({code:"invalid_type",expected:"object",input:o,inst:e}),r;let s=a.value.get(o?.[t.discriminator]);return s?s._zod.run(r,i):t.unionFallback||i.direction==="backward"?n(r,i):(r.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(a.value.keys()),input:o,path:[t.discriminator],inst:e}),r)}}),jb=R("$ZodIntersection",(e,t)=>{pe.init(e,t),e._zod.parse=(n,a)=>{let r=n.value,i=t.left._zod.run({value:r,issues:[]},a),o=t.right._zod.run({value:r,issues:[]},a);return i instanceof Promise||o instanceof Promise?Promise.all([i,o]).then(([u,l])=>LC(n,u,l)):LC(n,i,o)}});function Wy(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(ni(e)&&ni(t)){let n=Object.keys(t),a=Object.keys(e).filter(i=>n.indexOf(i)!==-1),r={...e,...t};for(let i of a){let o=Wy(e[i],t[i]);if(!o.valid)return{valid:!1,mergeErrorPath:[i,...o.mergeErrorPath]};r[i]=o.data}return{valid:!0,data:r}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let a=0;a<e.length;a++){let r=e[a],i=t[a],o=Wy(r,i);if(!o.valid)return{valid:!1,mergeErrorPath:[a,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function LC(e,t,n){let a=new Map,r;for(let s of t.issues)if(s.code==="unrecognized_keys"){r??(r=s);for(let u of s.keys)a.has(u)||a.set(u,{}),a.get(u).l=!0}else e.issues.push(s);for(let s of n.issues)if(s.code==="unrecognized_keys")for(let u of s.keys)a.has(u)||a.set(u,{}),a.get(u).r=!0;else e.issues.push(s);let i=[...a].filter(([,s])=>s.l&&s.r).map(([s])=>s);if(i.length&&r&&e.issues.push({...r,keys:i}),ri(e))return e;let o=Wy(t.value,n.value);if(!o.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}var bp=R("$ZodTuple",(e,t)=>{pe.init(e,t);let n=t.items;e._zod.parse=(a,r)=>{let i=a.value;if(!Array.isArray(i))return a.issues.push({input:i,inst:e,expected:"tuple",code:"invalid_type"}),a;a.value=[];let o=[],s=PC(n,"optin"),u=PC(n,"optout");if(!t.rest){if(i.length<s)return a.issues.push({code:"too_small",minimum:s,inclusive:!0,input:i,inst:e,origin:"array"}),a;i.length>n.length&&a.issues.push({code:"too_big",maximum:n.length,inclusive:!0,input:i,inst:e,origin:"array"})}let l=new Array(n.length);for(let c=0;c<n.length;c++){let f=n[c]._zod.run({value:i[c],issues:[]},r);f instanceof Promise?o.push(f.then(m=>{l[c]=m})):l[c]=f}if(t.rest){let c=n.length-1,f=i.slice(n.length);for(let m of f){c++;let p=t.rest._zod.run({value:m,issues:[]},r);p instanceof Promise?o.push(p.then(b=>zC(b,a,c))):zC(p,a,c)}}return o.length?Promise.all(o).then(()=>UC(l,a,n,i,u)):UC(l,a,n,i,u)}});function PC(e,t){for(let n=e.length-1;n>=0;n--)if(e[n]._zod[t]!=="optional")return n+1;return 0}function zC(e,t,n){e.issues.length&&t.issues.push(...fn(n,e.issues)),t.value[n]=e.value}function UC(e,t,n,a,r){for(let i=0;i<n.length;i++){let o=e[i],s=i<a.length;if(o.issues.length){if(!s&&i>=r){t.value.length=i;break}t.issues.push(...fn(i,o.issues))}t.value[i]=o.value}for(let i=t.value.length-1;i>=a.length&&(n[i]._zod.optout==="optional"&&t.value[i]===void 0);i--)t.value.length=i;return t}var Bb=R("$ZodRecord",(e,t)=>{pe.init(e,t),e._zod.parse=(n,a)=>{let r=n.value;if(!ni(r))return n.issues.push({expected:"record",code:"invalid_type",input:r,inst:e}),n;let i=[],o=t.keyType._zod.values;if(o){n.value={};let s=new Set;for(let l of o)if(typeof l=="string"||typeof l=="number"||typeof l=="symbol"){s.add(typeof l=="number"?l.toString():l);let c=t.keyType._zod.run({value:l,issues:[]},a);if(c instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(c.issues.length){n.issues.push({code:"invalid_key",origin:"record",issues:c.issues.map(p=>Kt(p,a,st())),input:l,path:[l],inst:e});continue}let f=c.value,m=t.valueType._zod.run({value:r[l],issues:[]},a);m instanceof Promise?i.push(m.then(p=>{p.issues.length&&n.issues.push(...fn(l,p.issues)),n.value[f]=p.value})):(m.issues.length&&n.issues.push(...fn(l,m.issues)),n.value[f]=m.value)}let u;for(let l in r)s.has(l)||(u=u??[],u.push(l));u&&u.length>0&&n.issues.push({code:"unrecognized_keys",input:r,inst:e,keys:u})}else{n.value={};for(let s of Reflect.ownKeys(r)){if(s==="__proto__"||!Object.prototype.propertyIsEnumerable.call(r,s))continue;let u=t.keyType._zod.run({value:s,issues:[]},a);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof s=="string"&&cp.test(s)&&u.issues.length){let f=t.keyType._zod.run({value:Number(s),issues:[]},a);if(f instanceof Promise)throw new Error("Async schemas not supported in object keys currently");f.issues.length===0&&(u=f)}if(u.issues.length){t.mode==="loose"?n.value[s]=r[s]:n.issues.push({code:"invalid_key",origin:"record",issues:u.issues.map(f=>Kt(f,a,st())),input:s,path:[s],inst:e});continue}let c=t.valueType._zod.run({value:r[s],issues:[]},a);c instanceof Promise?i.push(c.then(f=>{f.issues.length&&n.issues.push(...fn(s,f.issues)),n.value[u.value]=f.value})):(c.issues.length&&n.issues.push(...fn(s,c.issues)),n.value[u.value]=c.value)}}return i.length?Promise.all(i).then(()=>n):n}}),Fb=R("$ZodMap",(e,t)=>{pe.init(e,t),e._zod.parse=(n,a)=>{let r=n.value;if(!(r instanceof Map))return n.issues.push({expected:"map",code:"invalid_type",input:r,inst:e}),n;let i=[];n.value=new Map;for(let[o,s]of r){let u=t.keyType._zod.run({value:o,issues:[]},a),l=t.valueType._zod.run({value:s,issues:[]},a);u instanceof Promise||l instanceof Promise?i.push(Promise.all([u,l]).then(([c,f])=>{jC(c,f,n,o,r,e,a)})):jC(u,l,n,o,r,e,a)}return i.length?Promise.all(i).then(()=>n):n}});function jC(e,t,n,a,r,i,o){e.issues.length&&(jl.has(typeof a)?n.issues.push(...fn(a,e.issues)):n.issues.push({code:"invalid_key",origin:"map",input:r,inst:i,issues:e.issues.map(s=>Kt(s,o,st()))})),t.issues.length&&(jl.has(typeof a)?n.issues.push(...fn(a,t.issues)):n.issues.push({origin:"map",code:"invalid_element",input:r,inst:i,key:a,issues:t.issues.map(s=>Kt(s,o,st()))})),n.value.set(e.value,t.value)}var Hb=R("$ZodSet",(e,t)=>{pe.init(e,t),e._zod.parse=(n,a)=>{let r=n.value;if(!(r instanceof Set))return n.issues.push({input:r,inst:e,expected:"set",code:"invalid_type"}),n;let i=[];n.value=new Set;for(let o of r){let s=t.valueType._zod.run({value:o,issues:[]},a);s instanceof Promise?i.push(s.then(u=>BC(u,n))):BC(s,n)}return i.length?Promise.all(i).then(()=>n):n}});function BC(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}var Zb=R("$ZodEnum",(e,t)=>{pe.init(e,t);let n=zl(t.entries),a=new Set(n);e._zod.values=a,e._zod.pattern=new RegExp(`^(${n.filter(r=>jl.has(typeof r)).map(r=>typeof r=="string"?Kn(r):r.toString()).join("|")})$`),e._zod.parse=(r,i)=>{let o=r.value;return a.has(o)||r.issues.push({code:"invalid_value",values:n,input:o,inst:e}),r}}),qb=R("$ZodLiteral",(e,t)=>{if(pe.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");let n=new Set(t.values);e._zod.values=n,e._zod.pattern=new RegExp(`^(${t.values.map(a=>typeof a=="string"?Kn(a):a?Kn(a.toString()):String(a)).join("|")})$`),e._zod.parse=(a,r)=>{let i=a.value;return n.has(i)||a.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),a}}),Vb=R("$ZodFile",(e,t)=>{pe.init(e,t),e._zod.parse=(n,a)=>{let r=n.value;return r instanceof File||n.issues.push({expected:"file",code:"invalid_type",input:r,inst:e}),n}}),Yb=R("$ZodTransform",(e,t)=>{pe.init(e,t),e._zod.optin="optional",e._zod.parse=(n,a)=>{if(a.direction==="backward")throw new Wa(e.constructor.name);let r=t.transform(n.value,n);if(a.async)return(r instanceof Promise?r:Promise.resolve(r)).then(o=>(n.value=o,n.fallback=!0,n));if(r instanceof Promise)throw new sr;return n.value=r,n.fallback=!0,n}});function FC(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}var _p=R("$ZodOptional",(e,t)=>{pe.init(e,t),e._zod.optin="optional",e._zod.optout="optional",be(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),be(e._zod,"pattern",()=>{let n=t.innerType._zod.pattern;return n?new RegExp(`^(${Ul(n.source)})?$`):void 0}),e._zod.parse=(n,a)=>{if(t.innerType._zod.optin==="optional"){let r=n.value,i=t.innerType._zod.run(n,a);return i instanceof Promise?i.then(o=>FC(o,r)):FC(i,r)}return n.value===void 0?n:t.innerType._zod.run(n,a)}}),Gb=R("$ZodExactOptional",(e,t)=>{_p.init(e,t),be(e._zod,"values",()=>t.innerType._zod.values),be(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(n,a)=>t.innerType._zod.run(n,a)}),Kb=R("$ZodNullable",(e,t)=>{pe.init(e,t),be(e._zod,"optin",()=>t.innerType._zod.optin),be(e._zod,"optout",()=>t.innerType._zod.optout),be(e._zod,"pattern",()=>{let n=t.innerType._zod.pattern;return n?new RegExp(`^(${Ul(n.source)}|null)$`):void 0}),be(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(n,a)=>n.value===null?n:t.innerType._zod.run(n,a)}),Jb=R("$ZodDefault",(e,t)=>{pe.init(e,t),e._zod.optin="optional",be(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,a)=>{if(a.direction==="backward")return t.innerType._zod.run(n,a);if(n.value===void 0)return n.value=t.defaultValue,n;let r=t.innerType._zod.run(n,a);return r instanceof Promise?r.then(i=>HC(i,t)):HC(r,t)}});function HC(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var Xb=R("$ZodPrefault",(e,t)=>{pe.init(e,t),e._zod.optin="optional",be(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,a)=>(a.direction==="backward"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,a))}),Qb=R("$ZodNonOptional",(e,t)=>{pe.init(e,t),be(e._zod,"values",()=>{let n=t.innerType._zod.values;return n?new Set([...n].filter(a=>a!==void 0)):void 0}),e._zod.parse=(n,a)=>{let r=t.innerType._zod.run(n,a);return r instanceof Promise?r.then(i=>ZC(i,e)):ZC(r,e)}});function ZC(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}var Wb=R("$ZodSuccess",(e,t)=>{pe.init(e,t),e._zod.parse=(n,a)=>{if(a.direction==="backward")throw new Wa("ZodSuccess");let r=t.innerType._zod.run(n,a);return r instanceof Promise?r.then(i=>(n.value=i.issues.length===0,n)):(n.value=r.issues.length===0,n)}}),e_=R("$ZodCatch",(e,t)=>{pe.init(e,t),e._zod.optin="optional",be(e._zod,"optout",()=>t.innerType._zod.optout),be(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,a)=>{if(a.direction==="backward")return t.innerType._zod.run(n,a);let r=t.innerType._zod.run(n,a);return r instanceof Promise?r.then(i=>(n.value=i.value,i.issues.length&&(n.value=t.catchValue({...n,error:{issues:i.issues.map(o=>Kt(o,a,st()))},input:n.value}),n.issues=[],n.fallback=!0),n)):(n.value=r.value,r.issues.length&&(n.value=t.catchValue({...n,error:{issues:r.issues.map(i=>Kt(i,a,st()))},input:n.value}),n.issues=[],n.fallback=!0),n)}}),t_=R("$ZodNaN",(e,t)=>{pe.init(e,t),e._zod.parse=(n,a)=>((typeof n.value!="number"||!Number.isNaN(n.value))&&n.issues.push({input:n.value,inst:e,expected:"nan",code:"invalid_type"}),n)}),Tp=R("$ZodPipe",(e,t)=>{pe.init(e,t),be(e._zod,"values",()=>t.in._zod.values),be(e._zod,"optin",()=>t.in._zod.optin),be(e._zod,"optout",()=>t.out._zod.optout),be(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(n,a)=>{if(a.direction==="backward"){let i=t.out._zod.run(n,a);return i instanceof Promise?i.then(o=>pp(o,t.in,a)):pp(i,t.in,a)}let r=t.in._zod.run(n,a);return r instanceof Promise?r.then(i=>pp(i,t.out,a)):pp(r,t.out,a)}});function pp(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},n)}var Xl=R("$ZodCodec",(e,t)=>{pe.init(e,t),be(e._zod,"values",()=>t.in._zod.values),be(e._zod,"optin",()=>t.in._zod.optin),be(e._zod,"optout",()=>t.out._zod.optout),be(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(n,a)=>{if((a.direction||"forward")==="forward"){let i=t.in._zod.run(n,a);return i instanceof Promise?i.then(o=>mp(o,t,a)):mp(i,t,a)}else{let i=t.out._zod.run(n,a);return i instanceof Promise?i.then(o=>mp(o,t,a)):mp(i,t,a)}}});function mp(e,t,n){if(e.issues.length)return e.aborted=!0,e;if((n.direction||"forward")==="forward"){let r=t.transform(e.value,e);return r instanceof Promise?r.then(i=>hp(e,i,t.out,n)):hp(e,r,t.out,n)}else{let r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(i=>hp(e,i,t.in,n)):hp(e,r,t.in,n)}}function hp(e,t,n,a){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:t,issues:e.issues},a)}var n_=R("$ZodPreprocess",(e,t)=>{Tp.init(e,t)}),r_=R("$ZodReadonly",(e,t)=>{pe.init(e,t),be(e._zod,"propValues",()=>t.innerType._zod.propValues),be(e._zod,"values",()=>t.innerType._zod.values),be(e._zod,"optin",()=>t.innerType?._zod?.optin),be(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(n,a)=>{if(a.direction==="backward")return t.innerType._zod.run(n,a);let r=t.innerType._zod.run(n,a);return r instanceof Promise?r.then(qC):qC(r)}});function qC(e){return e.value=Object.freeze(e.value),e}var a_=R("$ZodTemplateLiteral",(e,t)=>{pe.init(e,t);let n=[];for(let a of t.parts)if(typeof a=="object"&&a!==null){if(!a._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...a._zod.traits].shift()}`);let r=a._zod.pattern instanceof RegExp?a._zod.pattern.source:a._zod.pattern;if(!r)throw new Error(`Invalid template literal part: ${a._zod.traits}`);let i=r.startsWith("^")?1:0,o=r.endsWith("$")?r.length-1:r.length;n.push(r.slice(i,o))}else if(a===null||Jv.has(typeof a))n.push(Kn(`${a}`));else throw new Error(`Invalid template literal part: ${a}`);e._zod.pattern=new RegExp(`^${n.join("")}$`),e._zod.parse=(a,r)=>typeof a.value!="string"?(a.issues.push({input:a.value,inst:e,expected:"string",code:"invalid_type"}),a):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(a.value)||a.issues.push({input:a.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source}),a)}),i_=R("$ZodFunction",(e,t)=>(pe.init(e,t),e._def=t,e._zod.def=t,e.implement=n=>{if(typeof n!="function")throw new Error("implement() must be called with a function");return function(...a){let r=e._def.input?Wf(e._def.input,a):a,i=Reflect.apply(n,this,r);return e._def.output?Wf(e._def.output,i):i}},e.implementAsync=n=>{if(typeof n!="function")throw new Error("implementAsync() must be called with a function");return async function(...a){let r=e._def.input?await ep(e._def.input,a):a,i=await Reflect.apply(n,this,r);return e._def.output?await ep(e._def.output,i):i}},e._zod.parse=(n,a)=>typeof n.value!="function"?(n.issues.push({code:"invalid_type",expected:"function",input:n.value,inst:e}),n):(e._def.output&&e._def.output._zod.def.type==="promise"?n.value=e.implementAsync(n.value):n.value=e.implement(n.value),n),e.input=(...n)=>{let a=e.constructor;return Array.isArray(n[0])?new a({type:"function",input:new bp({type:"tuple",items:n[0],rest:n[1]}),output:e._def.output}):new a({type:"function",input:n[0],output:e._def.output})},e.output=n=>{let a=e.constructor;return new a({type:"function",input:e._def.input,output:n})},e)),o_=R("$ZodPromise",(e,t)=>{pe.init(e,t),e._zod.parse=(n,a)=>Promise.resolve(n.value).then(r=>t.innerType._zod.run({value:r,issues:[]},a))}),s_=R("$ZodLazy",(e,t)=>{pe.init(e,t),be(e._zod,"innerType",()=>{let n=t;return n._cachedInner||(n._cachedInner=t.getter()),n._cachedInner}),be(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),be(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),be(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),be(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(n,a)=>e._zod.innerType._zod.run(n,a)}),u_=R("$ZodCustom",(e,t)=>{qe.init(e,t),pe.init(e,t),e._zod.parse=(n,a)=>n,e._zod.check=n=>{let a=n.value,r=t.fn(a);if(r instanceof Promise)return r.then(i=>VC(i,n,a,e));VC(r,n,a,e)}});function VC(e,t,n,a){if(!e){let r={code:"custom",input:n,inst:a,path:[...a._zod.def.path??[]],continue:!a._zod.def.abort};a._zod.def.params&&(r.params=a._zod.def.params),t.issues.push(Is(r))}}var Wl={};Tn(Wl,{ar:()=>QC,az:()=>WC,be:()=>t6,bg:()=>n6,ca:()=>r6,cs:()=>a6,da:()=>i6,de:()=>o6,el:()=>s6,en:()=>xp,eo:()=>u6,es:()=>l6,fa:()=>c6,fi:()=>d6,fr:()=>f6,frCA:()=>p6,he:()=>m6,hr:()=>h6,hu:()=>g6,hy:()=>y6,id:()=>b6,is:()=>_6,it:()=>T6,ja:()=>x6,ka:()=>E6,kh:()=>S6,km:()=>Ep,ko:()=>w6,lt:()=>A6,mk:()=>k6,ms:()=>C6,nl:()=>O6,no:()=>N6,ota:()=>R6,pl:()=>D6,ps:()=>M6,pt:()=>$6,ro:()=>L6,ru:()=>z6,sl:()=>U6,sv:()=>j6,ta:()=>B6,th:()=>F6,tr:()=>H6,ua:()=>Z6,uk:()=>Sp,ur:()=>q6,uz:()=>V6,vi:()=>Y6,yo:()=>J6,zhCN:()=>G6,zhTW:()=>K6});var Yz=()=>{let e={string:{unit:"\u062D\u0631\u0641",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},file:{unit:"\u0628\u0627\u064A\u062A",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},array:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},set:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"}};function t(r){return e[r]??null}let n={regex:"\u0645\u062F\u062E\u0644",email:"\u0628\u0631\u064A\u062F \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",url:"\u0631\u0627\u0628\u0637",emoji:"\u0625\u064A\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u064A\u062E \u0648\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",date:"\u062A\u0627\u0631\u064A\u062E \u0628\u0645\u0639\u064A\u0627\u0631 ISO",time:"\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",duration:"\u0645\u062F\u0629 \u0628\u0645\u0639\u064A\u0627\u0631 ISO",ipv4:"\u0639\u0646\u0648\u0627\u0646 IPv4",ipv6:"\u0639\u0646\u0648\u0627\u0646 IPv6",cidrv4:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv4",cidrv6:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv6",base64:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64-encoded",base64url:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64url-encoded",json_string:"\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",e164:"\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",jwt:"JWT",template_literal:"\u0645\u062F\u062E\u0644"},a={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 instanceof ${r.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${s}`:`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${i}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${s}`}case"invalid_value":return r.values.length===1?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${B(r.values[0])}`:`\u0627\u062E\u062A\u064A\u0627\u0631 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062A\u0648\u0642\u0639 \u0627\u0646\u062A\u0642\u0627\u0621 \u0623\u062D\u062F \u0647\u0630\u0647 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A: ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?` \u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${r.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${i} ${r.maximum.toString()} ${o.unit??"\u0639\u0646\u0635\u0631"}`:`\u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${r.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${i} ${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${r.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${i} ${r.minimum.toString()} ${o.unit}`:`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${r.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${i} ${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0628\u062F\u0623 \u0628\u0640 "${r.prefix}"`:i.format==="ends_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0646\u062A\u0647\u064A \u0628\u0640 "${i.suffix}"`:i.format==="includes"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0636\u0645\u0651\u064E\u0646 "${i.includes}"`:i.format==="regex"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0637\u0627\u0628\u0642 \u0627\u0644\u0646\u0645\u0637 ${i.pattern}`:`${n[i.format]??r.format} \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644`}case"not_multiple_of":return`\u0631\u0642\u0645 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0645\u0646 \u0645\u0636\u0627\u0639\u0641\u0627\u062A ${r.divisor}`;case"unrecognized_keys":return`\u0645\u0639\u0631\u0641${r.keys.length>1?"\u0627\u062A":""} \u063A\u0631\u064A\u0628${r.keys.length>1?"\u0629":""}: ${D(r.keys,"\u060C ")}`;case"invalid_key":return`\u0645\u0639\u0631\u0641 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${r.origin}`;case"invalid_union":return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644";case"invalid_element":return`\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${r.origin}`;default:return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644"}}};function QC(){return{localeError:Yz()}}var Gz=()=>{let e={string:{unit:"simvol",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"element",verb:"olmal\u0131d\u0131r"},set:{unit:"element",verb:"olmal\u0131d\u0131r"}};function t(r){return e[r]??null}let 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"},a={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n instanceof ${r.expected}, daxil olan ${s}`:`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${i}, daxil olan ${s}`}case"invalid_value":return r.values.length===1?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${B(r.values[0])}`:`Yanl\u0131\u015F se\xE7im: a\u015Fa\u011F\u0131dak\u0131lardan biri olmal\u0131d\u0131r: ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${r.origin??"d\u0259y\u0259r"} ${i}${r.maximum.toString()} ${o.unit??"element"}`:`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${r.origin??"d\u0259y\u0259r"} ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${r.origin} ${i}${r.minimum.toString()} ${o.unit}`:`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${r.origin} ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Yanl\u0131\u015F m\u0259tn: "${i.prefix}" il\u0259 ba\u015Flamal\u0131d\u0131r`:i.format==="ends_with"?`Yanl\u0131\u015F m\u0259tn: "${i.suffix}" il\u0259 bitm\u0259lidir`:i.format==="includes"?`Yanl\u0131\u015F m\u0259tn: "${i.includes}" daxil olmal\u0131d\u0131r`:i.format==="regex"?`Yanl\u0131\u015F m\u0259tn: ${i.pattern} \u015Fablonuna uy\u011Fun olmal\u0131d\u0131r`:`Yanl\u0131\u015F ${n[i.format]??r.format}`}case"not_multiple_of":return`Yanl\u0131\u015F \u0259d\u0259d: ${r.divisor} il\u0259 b\xF6l\xFCn\u0259 bil\u0259n olmal\u0131d\u0131r`;case"unrecognized_keys":return`Tan\u0131nmayan a\xE7ar${r.keys.length>1?"lar":""}: ${D(r.keys,", ")}`;case"invalid_key":return`${r.origin} daxilind\u0259 yanl\u0131\u015F a\xE7ar`;case"invalid_union":return"Yanl\u0131\u015F d\u0259y\u0259r";case"invalid_element":return`${r.origin} daxilind\u0259 yanl\u0131\u015F d\u0259y\u0259r`;default:return"Yanl\u0131\u015F d\u0259y\u0259r"}}};function WC(){return{localeError:Gz()}}function e6(e,t,n,a){let r=Math.abs(e),i=r%10,o=r%100;return o>=11&&o<=19?a:i===1?t:i>=2&&i<=4?n:a}var Kz=()=>{let e={string:{unit:{one:"\u0441\u0456\u043C\u0432\u0430\u043B",few:"\u0441\u0456\u043C\u0432\u0430\u043B\u044B",many:"\u0441\u0456\u043C\u0432\u0430\u043B\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u044B",many:"\u0431\u0430\u0439\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"}};function t(r){return e[r]??null}let n={regex:"\u0443\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0430\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0456 \u0447\u0430\u0441",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0447\u0430\u0441",duration:"ISO \u043F\u0440\u0430\u0446\u044F\u0433\u043B\u0430\u0441\u0446\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0430\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0430\u0441",cidrv4:"IPv4 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",base64:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64",base64url:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64url",json_string:"JSON \u0440\u0430\u0434\u043E\u043A",e164:"\u043D\u0443\u043C\u0430\u0440 E.164",jwt:"JWT",template_literal:"\u0443\u0432\u043E\u0434"},a={nan:"NaN",number:"\u043B\u0456\u043A",array:"\u043C\u0430\u0441\u0456\u045E"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F instanceof ${r.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${s}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${i}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${s}`}case"invalid_value":return r.values.length===1?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F ${B(r.values[0])}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0432\u0430\u0440\u044B\u044F\u043D\u0442: \u0447\u0430\u043A\u0430\u045E\u0441\u044F \u0430\u0434\u0437\u0456\u043D \u0437 ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);if(o){let s=Number(r.maximum),u=e6(s,o.unit.one,o.unit.few,o.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${o.verb} ${i}${r.maximum.toString()} ${u}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);if(o){let s=Number(r.minimum),u=e6(s,o.unit.one,o.unit.few,o.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${o.verb} ${i}${r.minimum.toString()} ${u}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u043F\u0430\u0447\u044B\u043D\u0430\u0446\u0446\u0430 \u0437 "${i.prefix}"`:i.format==="ends_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u0430\u043A\u0430\u043D\u0447\u0432\u0430\u0446\u0446\u0430 \u043D\u0430 "${i.suffix}"`:i.format==="includes"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u043C\u044F\u0448\u0447\u0430\u0446\u044C "${i.includes}"`:i.format==="regex"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0430\u0434\u043F\u0430\u0432\u044F\u0434\u0430\u0446\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${i.pattern}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B ${n[i.format]??r.format}`}case"not_multiple_of":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043B\u0456\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0431\u044B\u0446\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u043D\u044B ${r.keys.length>1?"\u043A\u043B\u044E\u0447\u044B":"\u043A\u043B\u044E\u0447"}: ${D(r.keys,", ")}`;case"invalid_key":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043A\u043B\u044E\u0447 \u0443 ${r.origin}`;case"invalid_union":return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434";case"invalid_element":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u0430\u0435 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435 \u045E ${r.origin}`;default:return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434"}}};function t6(){return{localeError:Kz()}}var Jz=()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},file:{unit:"\u0431\u0430\u0439\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"}};function t(r){return e[r]??null}let n={regex:"\u0432\u0445\u043E\u0434",email:"\u0438\u043C\u0435\u0439\u043B \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0436\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E\u0441\u0442",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"base64-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",base64url:"base64url-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",json_string:"JSON \u043D\u0438\u0437",e164:"E.164 \u043D\u043E\u043C\u0435\u0440",jwt:"JWT",template_literal:"\u0432\u0445\u043E\u0434"},a={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D instanceof ${r.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${s}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${i}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${s}`}case"invalid_value":return r.values.length===1?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${B(r.values[0])}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u043E\u043F\u0446\u0438\u044F: \u043E\u0447\u0430\u043A\u0432\u0430\u043D\u043E \u0435\u0434\u043D\u043E \u043E\u0442 ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${r.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${i}${r.maximum.toString()} ${o.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430"}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${r.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0431\u044A\u0434\u0435 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${r.origin} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${i}${r.minimum.toString()} ${o.unit}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${r.origin} \u0434\u0430 \u0431\u044A\u0434\u0435 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;if(i.format==="starts_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u0432\u0430 \u0441 "${i.prefix}"`;if(i.format==="ends_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u0432\u044A\u0440\u0448\u0432\u0430 \u0441 "${i.suffix}"`;if(i.format==="includes")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0432\u043A\u043B\u044E\u0447\u0432\u0430 "${i.includes}"`;if(i.format==="regex")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0441\u044A\u0432\u043F\u0430\u0434\u0430 \u0441 ${i.pattern}`;let o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D";return i.format==="emoji"&&(o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),i.format==="datetime"&&(o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),i.format==="date"&&(o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),i.format==="time"&&(o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),i.format==="duration"&&(o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),`${o} ${n[i.format]??r.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E \u0447\u0438\u0441\u043B\u043E: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043A\u0440\u0430\u0442\u043D\u043E \u043D\u0430 ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0437\u043F\u043E\u0437\u043D\u0430\u0442${r.keys.length>1?"\u0438":""} \u043A\u043B\u044E\u0447${r.keys.length>1?"\u043E\u0432\u0435":""}: ${D(r.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043A\u043B\u044E\u0447 \u0432 ${r.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434";case"invalid_element":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442 \u0432 ${r.origin}`;default:return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434"}}};function n6(){return{localeError:Jz()}}var Xz=()=>{let e={string:{unit:"car\xE0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function t(r){return e[r]??null}let n={regex:"entrada",email:"adre\xE7a electr\xF2nica",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\xE7a IPv4",ipv6:"adre\xE7a IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},a={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Tipus inv\xE0lid: s'esperava instanceof ${r.expected}, s'ha rebut ${s}`:`Tipus inv\xE0lid: s'esperava ${i}, s'ha rebut ${s}`}case"invalid_value":return r.values.length===1?`Valor inv\xE0lid: s'esperava ${B(r.values[0])}`:`Opci\xF3 inv\xE0lida: s'esperava una de ${D(r.values," o ")}`;case"too_big":{let i=r.inclusive?"com a m\xE0xim":"menys de",o=t(r.origin);return o?`Massa gran: s'esperava que ${r.origin??"el valor"} contingu\xE9s ${i} ${r.maximum.toString()} ${o.unit??"elements"}`:`Massa gran: s'esperava que ${r.origin??"el valor"} fos ${i} ${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?"com a m\xEDnim":"m\xE9s de",o=t(r.origin);return o?`Massa petit: s'esperava que ${r.origin} contingu\xE9s ${i} ${r.minimum.toString()} ${o.unit}`:`Massa petit: s'esperava que ${r.origin} fos ${i} ${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Format inv\xE0lid: ha de comen\xE7ar amb "${i.prefix}"`:i.format==="ends_with"?`Format inv\xE0lid: ha d'acabar amb "${i.suffix}"`:i.format==="includes"?`Format inv\xE0lid: ha d'incloure "${i.includes}"`:i.format==="regex"?`Format inv\xE0lid: ha de coincidir amb el patr\xF3 ${i.pattern}`:`Format inv\xE0lid per a ${n[i.format]??r.format}`}case"not_multiple_of":return`N\xFAmero inv\xE0lid: ha de ser m\xFAltiple de ${r.divisor}`;case"unrecognized_keys":return`Clau${r.keys.length>1?"s":""} no reconeguda${r.keys.length>1?"s":""}: ${D(r.keys,", ")}`;case"invalid_key":return`Clau inv\xE0lida a ${r.origin}`;case"invalid_union":return"Entrada inv\xE0lida";case"invalid_element":return`Element inv\xE0lid a ${r.origin}`;default:return"Entrada inv\xE0lida"}}};function r6(){return{localeError:Xz()}}var Qz=()=>{let e={string:{unit:"znak\u016F",verb:"m\xEDt"},file:{unit:"bajt\u016F",verb:"m\xEDt"},array:{unit:"prvk\u016F",verb:"m\xEDt"},set:{unit:"prvk\u016F",verb:"m\xEDt"}};function t(r){return e[r]??null}let n={regex:"regul\xE1rn\xED v\xFDraz",email:"e-mailov\xE1 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 \u010Das ve form\xE1tu ISO",date:"datum ve form\xE1tu ISO",time:"\u010Das ve form\xE1tu ISO",duration:"doba trv\xE1n\xED ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64",base64url:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64url",json_string:"\u0159et\u011Bzec ve form\xE1tu JSON",e164:"\u010D\xEDslo E.164",jwt:"JWT",template_literal:"vstup"},a={nan:"NaN",number:"\u010D\xEDslo",string:"\u0159et\u011Bzec",function:"funkce",array:"pole"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no instanceof ${r.expected}, obdr\u017Eeno ${s}`:`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${i}, obdr\u017Eeno ${s}`}case"invalid_value":return r.values.length===1?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${B(r.values[0])}`:`Neplatn\xE1 mo\u017Enost: o\u010Dek\xE1v\xE1na jedna z hodnot ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${r.origin??"hodnota"} mus\xED m\xEDt ${i}${r.maximum.toString()} ${o.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${r.origin??"hodnota"} mus\xED b\xFDt ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${r.origin??"hodnota"} mus\xED m\xEDt ${i}${r.minimum.toString()} ${o.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${r.origin??"hodnota"} mus\xED b\xFDt ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED za\u010D\xEDnat na "${i.prefix}"`:i.format==="ends_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED kon\u010Dit na "${i.suffix}"`:i.format==="includes"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED obsahovat "${i.includes}"`:i.format==="regex"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED odpov\xEDdat vzoru ${i.pattern}`:`Neplatn\xFD form\xE1t ${n[i.format]??r.format}`}case"not_multiple_of":return`Neplatn\xE9 \u010D\xEDslo: mus\xED b\xFDt n\xE1sobkem ${r.divisor}`;case"unrecognized_keys":return`Nezn\xE1m\xE9 kl\xED\u010De: ${D(r.keys,", ")}`;case"invalid_key":return`Neplatn\xFD kl\xED\u010D v ${r.origin}`;case"invalid_union":return"Neplatn\xFD vstup";case"invalid_element":return`Neplatn\xE1 hodnota v ${r.origin}`;default:return"Neplatn\xFD vstup"}}};function a6(){return{localeError:Qz()}}var Wz=()=>{let e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function t(r){return e[r]??null}let n={regex:"input",email:"e-mailadresse",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 klokkesl\xE6t",date:"ISO-dato",time:"ISO-klokkesl\xE6t",duration:"ISO-varighed",ipv4:"IPv4-omr\xE5de",ipv6:"IPv6-omr\xE5de",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},a={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"s\xE6t",file:"fil"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Ugyldigt input: forventede instanceof ${r.expected}, fik ${s}`:`Ugyldigt input: forventede ${i}, fik ${s}`}case"invalid_value":return r.values.length===1?`Ugyldig v\xE6rdi: forventede ${B(r.values[0])}`:`Ugyldigt valg: forventede en af f\xF8lgende ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin),s=a[r.origin]??r.origin;return o?`For stor: forventede ${s??"value"} ${o.verb} ${i} ${r.maximum.toString()} ${o.unit??"elementer"}`:`For stor: forventede ${s??"value"} havde ${i} ${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin),s=a[r.origin]??r.origin;return o?`For lille: forventede ${s} ${o.verb} ${i} ${r.minimum.toString()} ${o.unit}`:`For lille: forventede ${s} havde ${i} ${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Ugyldig streng: skal starte med "${i.prefix}"`:i.format==="ends_with"?`Ugyldig streng: skal ende med "${i.suffix}"`:i.format==="includes"?`Ugyldig streng: skal indeholde "${i.includes}"`:i.format==="regex"?`Ugyldig streng: skal matche m\xF8nsteret ${i.pattern}`:`Ugyldig ${n[i.format]??r.format}`}case"not_multiple_of":return`Ugyldigt tal: skal v\xE6re deleligt med ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ukendte n\xF8gler":"Ukendt n\xF8gle"}: ${D(r.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8gle i ${r.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig v\xE6rdi i ${r.origin}`;default:return"Ugyldigt input"}}};function i6(){return{localeError:Wz()}}var eU=()=>{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(r){return e[r]??null}let 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"},a={nan:"NaN",number:"Zahl",array:"Array"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Ung\xFCltige Eingabe: erwartet instanceof ${r.expected}, erhalten ${s}`:`Ung\xFCltige Eingabe: erwartet ${i}, erhalten ${s}`}case"invalid_value":return r.values.length===1?`Ung\xFCltige Eingabe: erwartet ${B(r.values[0])}`:`Ung\xFCltige Option: erwartet eine von ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`Zu gro\xDF: erwartet, dass ${r.origin??"Wert"} ${i}${r.maximum.toString()} ${o.unit??"Elemente"} hat`:`Zu gro\xDF: erwartet, dass ${r.origin??"Wert"} ${i}${r.maximum.toString()} ist`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`Zu klein: erwartet, dass ${r.origin} ${i}${r.minimum.toString()} ${o.unit} hat`:`Zu klein: erwartet, dass ${r.origin} ${i}${r.minimum.toString()} ist`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Ung\xFCltiger String: muss mit "${i.prefix}" beginnen`:i.format==="ends_with"?`Ung\xFCltiger String: muss mit "${i.suffix}" enden`:i.format==="includes"?`Ung\xFCltiger String: muss "${i.includes}" enthalten`:i.format==="regex"?`Ung\xFCltiger String: muss dem Muster ${i.pattern} entsprechen`:`Ung\xFCltig: ${n[i.format]??r.format}`}case"not_multiple_of":return`Ung\xFCltige Zahl: muss ein Vielfaches von ${r.divisor} sein`;case"unrecognized_keys":return`${r.keys.length>1?"Unbekannte Schl\xFCssel":"Unbekannter Schl\xFCssel"}: ${D(r.keys,", ")}`;case"invalid_key":return`Ung\xFCltiger Schl\xFCssel in ${r.origin}`;case"invalid_union":return"Ung\xFCltige Eingabe";case"invalid_element":return`Ung\xFCltiger Wert in ${r.origin}`;default:return"Ung\xFCltige Eingabe"}}};function o6(){return{localeError:eU()}}var tU=()=>{let e={string:{unit:"\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"},file:{unit:"bytes",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"},array:{unit:"\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"},set:{unit:"\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"},map:{unit:"\u03BA\u03B1\u03C4\u03B1\u03C7\u03C9\u03C1\u03AE\u03C3\u03B5\u03B9\u03C2",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"}};function t(r){return e[r]??null}let n={regex:"\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2",email:"\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 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 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03BA\u03B1\u03B9 \u03CE\u03C1\u03B1",date:"ISO \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1",time:"ISO \u03CE\u03C1\u03B1",duration:"ISO \u03B4\u03B9\u03AC\u03C1\u03BA\u03B5\u03B9\u03B1",ipv4:"\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 IPv4",ipv6:"\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 IPv6",mac:"\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 MAC",cidrv4:"\u03B5\u03CD\u03C1\u03BF\u03C2 IPv4",cidrv6:"\u03B5\u03CD\u03C1\u03BF\u03C2 IPv6",base64:"\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC \u03BA\u03C9\u03B4\u03B9\u03BA\u03BF\u03C0\u03BF\u03B9\u03B7\u03BC\u03AD\u03BD\u03B7 \u03C3\u03B5 base64",base64url:"\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC \u03BA\u03C9\u03B4\u03B9\u03BA\u03BF\u03C0\u03BF\u03B9\u03B7\u03BC\u03AD\u03BD\u03B7 \u03C3\u03B5 base64url",json_string:"\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC JSON",e164:"\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 E.164",jwt:"JWT",template_literal:"\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2"},a={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return typeof r.expected=="string"&&/^[A-Z]/.test(r.expected)?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD instanceof ${r.expected}, \u03BB\u03AE\u03C6\u03B8\u03B7\u03BA\u03B5 ${s}`:`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${i}, \u03BB\u03AE\u03C6\u03B8\u03B7\u03BA\u03B5 ${s}`}case"invalid_value":return r.values.length===1?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${B(r.values[0])}`:`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD \u03AD\u03BD\u03B1 \u03B1\u03C0\u03CC ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`\u03A0\u03BF\u03BB\u03CD \u03BC\u03B5\u03B3\u03AC\u03BB\u03BF: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${r.origin??"\u03C4\u03B9\u03BC\u03AE"} \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 ${i}${r.maximum.toString()} ${o.unit??"\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1"}`:`\u03A0\u03BF\u03BB\u03CD \u03BC\u03B5\u03B3\u03AC\u03BB\u03BF: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${r.origin??"\u03C4\u03B9\u03BC\u03AE"} \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`\u03A0\u03BF\u03BB\u03CD \u03BC\u03B9\u03BA\u03C1\u03CC: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${r.origin} \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 ${i}${r.minimum.toString()} ${o.unit}`:`\u03A0\u03BF\u03BB\u03CD \u03BC\u03B9\u03BA\u03C1\u03CC: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${r.origin} \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03BE\u03B5\u03BA\u03B9\u03BD\u03AC \u03BC\u03B5 "${i.prefix}"`:i.format==="ends_with"?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C4\u03B5\u03BB\u03B5\u03B9\u03CE\u03BD\u03B5\u03B9 \u03BC\u03B5 "${i.suffix}"`:i.format==="includes"?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C0\u03B5\u03C1\u03B9\u03AD\u03C7\u03B5\u03B9 "${i.includes}"`:i.format==="regex"?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C4\u03B1\u03B9\u03C1\u03B9\u03AC\u03B6\u03B5\u03B9 \u03BC\u03B5 \u03C4\u03BF \u03BC\u03BF\u03C4\u03AF\u03B2\u03BF ${i.pattern}`:`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF: ${n[i.format]??r.format}`}case"not_multiple_of":return`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF\u03C2 \u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03BF\u03BB\u03BB\u03B1\u03C0\u03BB\u03AC\u03C3\u03B9\u03BF \u03C4\u03BF\u03C5 ${r.divisor}`;case"unrecognized_keys":return`\u0386\u03B3\u03BD\u03C9\u03C3\u03C4${r.keys.length>1?"\u03B1":"\u03BF"} \u03BA\u03BB\u03B5\u03B9\u03B4${r.keys.length>1?"\u03B9\u03AC":"\u03AF"}: ${D(r.keys,", ")}`;case"invalid_key":return`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF \u03BA\u03BB\u03B5\u03B9\u03B4\u03AF \u03C3\u03C4\u03BF ${r.origin}`;case"invalid_union":return"\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2";case"invalid_element":return`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C4\u03B9\u03BC\u03AE \u03C3\u03C4\u03BF ${r.origin}`;default:return"\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2"}}};function s6(){return{localeError:tU()}}var nU=()=>{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"},map:{unit:"entries",verb:"to have"}};function t(r){return e[r]??null}let 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",mac:"MAC 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"},a={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return`Invalid input: expected ${i}, received ${s}`}case"invalid_value":return r.values.length===1?`Invalid input: expected ${B(r.values[0])}`:`Invalid option: expected one of ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`Too big: expected ${r.origin??"value"} to have ${i}${r.maximum.toString()} ${o.unit??"elements"}`:`Too big: expected ${r.origin??"value"} to be ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`Too small: expected ${r.origin} to have ${i}${r.minimum.toString()} ${o.unit}`:`Too small: expected ${r.origin} to be ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Invalid string: must start with "${i.prefix}"`:i.format==="ends_with"?`Invalid string: must end with "${i.suffix}"`:i.format==="includes"?`Invalid string: must include "${i.includes}"`:i.format==="regex"?`Invalid string: must match pattern ${i.pattern}`:`Invalid ${n[i.format]??r.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${r.divisor}`;case"unrecognized_keys":return`Unrecognized key${r.keys.length>1?"s":""}: ${D(r.keys,", ")}`;case"invalid_key":return`Invalid key in ${r.origin}`;case"invalid_union":return r.options&&Array.isArray(r.options)&&r.options.length>0?`Invalid discriminator value. Expected ${r.options.map(o=>`'${o}'`).join(" | ")}`:"Invalid input";case"invalid_element":return`Invalid value in ${r.origin}`;default:return"Invalid input"}}};function xp(){return{localeError:nU()}}var rU=()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function t(r){return e[r]??null}let n={regex:"enigo",email:"retadreso",url:"URL",emoji:"emo\u011Dio",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\u016Dro",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"},a={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Nevalida enigo: atendi\u011Dis instanceof ${r.expected}, ricevi\u011Dis ${s}`:`Nevalida enigo: atendi\u011Dis ${i}, ricevi\u011Dis ${s}`}case"invalid_value":return r.values.length===1?`Nevalida enigo: atendi\u011Dis ${B(r.values[0])}`:`Nevalida opcio: atendi\u011Dis unu el ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`Tro granda: atendi\u011Dis ke ${r.origin??"valoro"} havu ${i}${r.maximum.toString()} ${o.unit??"elementojn"}`:`Tro granda: atendi\u011Dis ke ${r.origin??"valoro"} havu ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`Tro malgranda: atendi\u011Dis ke ${r.origin} havu ${i}${r.minimum.toString()} ${o.unit}`:`Tro malgranda: atendi\u011Dis ke ${r.origin} estu ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Nevalida karaktraro: devas komenci\u011Di per "${i.prefix}"`:i.format==="ends_with"?`Nevalida karaktraro: devas fini\u011Di per "${i.suffix}"`:i.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${i.includes}"`:i.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${i.pattern}`:`Nevalida ${n[i.format]??r.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${r.divisor}`;case"unrecognized_keys":return`Nekonata${r.keys.length>1?"j":""} \u015Dlosilo${r.keys.length>1?"j":""}: ${D(r.keys,", ")}`;case"invalid_key":return`Nevalida \u015Dlosilo en ${r.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${r.origin}`;default:return"Nevalida enigo"}}};function u6(){return{localeError:rU()}}var aU=()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function t(r){return e[r]??null}let n={regex:"entrada",email:"direcci\xF3n de correo electr\xF3nico",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\xF3n ISO",ipv4:"direcci\xF3n IPv4",ipv6:"direcci\xF3n IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},a={nan:"NaN",string:"texto",number:"n\xFAmero",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"n\xFAmero grande",symbol:"s\xEDmbolo",undefined:"indefinido",null:"nulo",function:"funci\xF3n",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeraci\xF3n",union:"uni\xF3n",literal:"literal",promise:"promesa",void:"vac\xEDo",never:"nunca",unknown:"desconocido",any:"cualquiera"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Entrada inv\xE1lida: se esperaba instanceof ${r.expected}, recibido ${s}`:`Entrada inv\xE1lida: se esperaba ${i}, recibido ${s}`}case"invalid_value":return r.values.length===1?`Entrada inv\xE1lida: se esperaba ${B(r.values[0])}`:`Opci\xF3n inv\xE1lida: se esperaba una de ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin),s=a[r.origin]??r.origin;return o?`Demasiado grande: se esperaba que ${s??"valor"} tuviera ${i}${r.maximum.toString()} ${o.unit??"elementos"}`:`Demasiado grande: se esperaba que ${s??"valor"} fuera ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin),s=a[r.origin]??r.origin;return o?`Demasiado peque\xF1o: se esperaba que ${s} tuviera ${i}${r.minimum.toString()} ${o.unit}`:`Demasiado peque\xF1o: se esperaba que ${s} fuera ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Cadena inv\xE1lida: debe comenzar con "${i.prefix}"`:i.format==="ends_with"?`Cadena inv\xE1lida: debe terminar en "${i.suffix}"`:i.format==="includes"?`Cadena inv\xE1lida: debe incluir "${i.includes}"`:i.format==="regex"?`Cadena inv\xE1lida: debe coincidir con el patr\xF3n ${i.pattern}`:`Inv\xE1lido ${n[i.format]??r.format}`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: debe ser m\xFAltiplo de ${r.divisor}`;case"unrecognized_keys":return`Llave${r.keys.length>1?"s":""} desconocida${r.keys.length>1?"s":""}: ${D(r.keys,", ")}`;case"invalid_key":return`Llave inv\xE1lida en ${a[r.origin]??r.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido en ${a[r.origin]??r.origin}`;default:return"Entrada inv\xE1lida"}}};function l6(){return{localeError:aU()}}var iU=()=>{let e={string:{unit:"\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},file:{unit:"\u0628\u0627\u06CC\u062A",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},array:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},set:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"}};function t(r){return e[r]??null}let n={regex:"\u0648\u0631\u0648\u062F\u06CC",email:"\u0622\u062F\u0631\u0633 \u0627\u06CC\u0645\u06CC\u0644",url:"URL",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u06CC\u062E \u0648 \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",date:"\u062A\u0627\u0631\u06CC\u062E \u0627\u06CC\u0632\u0648",time:"\u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",duration:"\u0645\u062F\u062A \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",ipv4:"IPv4 \u0622\u062F\u0631\u0633",ipv6:"IPv6 \u0622\u062F\u0631\u0633",cidrv4:"IPv4 \u062F\u0627\u0645\u0646\u0647",cidrv6:"IPv6 \u062F\u0627\u0645\u0646\u0647",base64:"base64-encoded \u0631\u0634\u062A\u0647",base64url:"base64url-encoded \u0631\u0634\u062A\u0647",json_string:"JSON \u0631\u0634\u062A\u0647",e164:"E.164 \u0639\u062F\u062F",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u06CC"},a={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0622\u0631\u0627\u06CC\u0647"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A instanceof ${r.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${s} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`:`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${i} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${s} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`}case"invalid_value":return r.values.length===1?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${B(r.values[0])} \u0645\u06CC\u200C\u0628\u0648\u062F`:`\u06AF\u0632\u06CC\u0646\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A \u06CC\u06A9\u06CC \u0627\u0632 ${D(r.values,"|")} \u0645\u06CC\u200C\u0628\u0648\u062F`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${r.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${i}${r.maximum.toString()} ${o.unit??"\u0639\u0646\u0635\u0631"} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${r.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${i}${r.maximum.toString()} \u0628\u0627\u0634\u062F`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${r.origin} \u0628\u0627\u06CC\u062F ${i}${r.minimum.toString()} ${o.unit} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${r.origin} \u0628\u0627\u06CC\u062F ${i}${r.minimum.toString()} \u0628\u0627\u0634\u062F`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${i.prefix}" \u0634\u0631\u0648\u0639 \u0634\u0648\u062F`:i.format==="ends_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${i.suffix}" \u062A\u0645\u0627\u0645 \u0634\u0648\u062F`:i.format==="includes"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0634\u0627\u0645\u0644 "${i.includes}" \u0628\u0627\u0634\u062F`:i.format==="regex"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 \u0627\u0644\u06AF\u0648\u06CC ${i.pattern} \u0645\u0637\u0627\u0628\u0642\u062A \u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F`:`${n[i.format]??r.format} \u0646\u0627\u0645\u0639\u062A\u0628\u0631`}case"not_multiple_of":return`\u0639\u062F\u062F \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0645\u0636\u0631\u0628 ${r.divisor} \u0628\u0627\u0634\u062F`;case"unrecognized_keys":return`\u06A9\u0644\u06CC\u062F${r.keys.length>1?"\u0647\u0627\u06CC":""} \u0646\u0627\u0634\u0646\u0627\u0633: ${D(r.keys,", ")}`;case"invalid_key":return`\u06A9\u0644\u06CC\u062F \u0646\u0627\u0634\u0646\u0627\u0633 \u062F\u0631 ${r.origin}`;case"invalid_union":return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631";case"invalid_element":return`\u0645\u0642\u062F\u0627\u0631 \u0646\u0627\u0645\u0639\u062A\u0628\u0631 \u062F\u0631 ${r.origin}`;default:return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631"}}};function c6(){return{localeError:iU()}}var oU=()=>{let e={string:{unit:"merkki\xE4",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\xE4iv\xE4m\xE4\xE4r\xE4n"}};function t(r){return e[r]??null}let n={regex:"s\xE4\xE4nn\xF6llinen lauseke",email:"s\xE4hk\xF6postiosoite",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\xE4iv\xE4m\xE4\xE4r\xE4",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"},a={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Virheellinen tyyppi: odotettiin instanceof ${r.expected}, oli ${s}`:`Virheellinen tyyppi: odotettiin ${i}, oli ${s}`}case"invalid_value":return r.values.length===1?`Virheellinen sy\xF6te: t\xE4ytyy olla ${B(r.values[0])}`:`Virheellinen valinta: t\xE4ytyy olla yksi seuraavista: ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`Liian suuri: ${o.subject} t\xE4ytyy olla ${i}${r.maximum.toString()} ${o.unit}`.trim():`Liian suuri: arvon t\xE4ytyy olla ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`Liian pieni: ${o.subject} t\xE4ytyy olla ${i}${r.minimum.toString()} ${o.unit}`.trim():`Liian pieni: arvon t\xE4ytyy olla ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Virheellinen sy\xF6te: t\xE4ytyy alkaa "${i.prefix}"`:i.format==="ends_with"?`Virheellinen sy\xF6te: t\xE4ytyy loppua "${i.suffix}"`:i.format==="includes"?`Virheellinen sy\xF6te: t\xE4ytyy sis\xE4lt\xE4\xE4 "${i.includes}"`:i.format==="regex"?`Virheellinen sy\xF6te: t\xE4ytyy vastata s\xE4\xE4nn\xF6llist\xE4 lauseketta ${i.pattern}`:`Virheellinen ${n[i.format]??r.format}`}case"not_multiple_of":return`Virheellinen luku: t\xE4ytyy olla luvun ${r.divisor} monikerta`;case"unrecognized_keys":return`${r.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${D(r.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\xF6te"}}};function d6(){return{localeError:oU()}}var sU=()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(r){return e[r]??null}let n={regex:"entr\xE9e",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\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"},a={string:"cha\xEEne",number:"nombre",int:"entier",boolean:"bool\xE9en",bigint:"grand entier",symbol:"symbole",undefined:"ind\xE9fini",null:"null",never:"jamais",void:"vide",date:"date",array:"tableau",object:"objet",tuple:"tuple",record:"enregistrement",map:"carte",set:"ensemble",file:"fichier",nonoptional:"non-optionnel",nan:"NaN",function:"fonction"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Entr\xE9e invalide : instanceof ${r.expected} attendu, ${s} re\xE7u`:`Entr\xE9e invalide : ${i} attendu, ${s} re\xE7u`}case"invalid_value":return r.values.length===1?`Entr\xE9e invalide : ${B(r.values[0])} attendu`:`Option invalide : une valeur parmi ${D(r.values,"|")} attendue`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`Trop grand : ${a[r.origin]??"valeur"} doit ${o.verb} ${i}${r.maximum.toString()} ${o.unit??"\xE9l\xE9ment(s)"}`:`Trop grand : ${a[r.origin]??"valeur"} doit \xEAtre ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`Trop petit : ${a[r.origin]??"valeur"} doit ${o.verb} ${i}${r.minimum.toString()} ${o.unit}`:`Trop petit : ${a[r.origin]??"valeur"} doit \xEAtre ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${i.prefix}"`:i.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${i.suffix}"`:i.format==="includes"?`Cha\xEEne invalide : doit inclure "${i.includes}"`:i.format==="regex"?`Cha\xEEne invalide : doit correspondre au mod\xE8le ${i.pattern}`:`${n[i.format]??r.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${r.divisor}`;case"unrecognized_keys":return`Cl\xE9${r.keys.length>1?"s":""} non reconnue${r.keys.length>1?"s":""} : ${D(r.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${r.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${r.origin}`;default:return"Entr\xE9e invalide"}}};function f6(){return{localeError:sU()}}var uU=()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(r){return e[r]??null}let n={regex:"entr\xE9e",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\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"},a={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Entr\xE9e invalide : attendu instanceof ${r.expected}, re\xE7u ${s}`:`Entr\xE9e invalide : attendu ${i}, re\xE7u ${s}`}case"invalid_value":return r.values.length===1?`Entr\xE9e invalide : attendu ${B(r.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"\u2264":"<",o=t(r.origin);return o?`Trop grand : attendu que ${r.origin??"la valeur"} ait ${i}${r.maximum.toString()} ${o.unit}`:`Trop grand : attendu que ${r.origin??"la valeur"} soit ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?"\u2265":">",o=t(r.origin);return o?`Trop petit : attendu que ${r.origin} ait ${i}${r.minimum.toString()} ${o.unit}`:`Trop petit : attendu que ${r.origin} soit ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${i.prefix}"`:i.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${i.suffix}"`:i.format==="includes"?`Cha\xEEne invalide : doit inclure "${i.includes}"`:i.format==="regex"?`Cha\xEEne invalide : doit correspondre au motif ${i.pattern}`:`${n[i.format]??r.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${r.divisor}`;case"unrecognized_keys":return`Cl\xE9${r.keys.length>1?"s":""} non reconnue${r.keys.length>1?"s":""} : ${D(r.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${r.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${r.origin}`;default:return"Entr\xE9e invalide"}}};function p6(){return{localeError:uU()}}var lU=()=>{let e={string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA",gender:"f"},number:{label:"\u05DE\u05E1\u05E4\u05E8",gender:"m"},boolean:{label:"\u05E2\u05E8\u05DA \u05D1\u05D5\u05DC\u05D9\u05D0\u05E0\u05D9",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA",gender:"m"},array:{label:"\u05DE\u05E2\u05E8\u05DA",gender:"m"},object:{label:"\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8",gender:"m"},null:{label:"\u05E2\u05E8\u05DA \u05E8\u05D9\u05E7 (null)",gender:"m"},undefined:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05DE\u05D5\u05D2\u05D3\u05E8 (undefined)",gender:"m"},symbol:{label:"\u05E1\u05D9\u05DE\u05D1\u05D5\u05DC (Symbol)",gender:"m"},function:{label:"\u05E4\u05D5\u05E0\u05E7\u05E6\u05D9\u05D4",gender:"f"},map:{label:"\u05DE\u05E4\u05D4 (Map)",gender:"f"},set:{label:"\u05E7\u05D1\u05D5\u05E6\u05D4 (Set)",gender:"f"},file:{label:"\u05E7\u05D5\u05D1\u05E5",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05D9\u05D3\u05D5\u05E2",gender:"m"},value:{label:"\u05E2\u05E8\u05DA",gender:"m"}},t={string:{unit:"\u05EA\u05D5\u05D5\u05D9\u05DD",shortLabel:"\u05E7\u05E6\u05E8",longLabel:"\u05D0\u05E8\u05D5\u05DA"},file:{unit:"\u05D1\u05D9\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},array:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},set:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},number:{unit:"",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"}},n=l=>l?e[l]:void 0,a=l=>{let c=n(l);return c?c.label:l??e.unknown.label},r=l=>`\u05D4${a(l)}`,i=l=>(n(l)?.gender??"m")==="f"?"\u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05D9\u05D5\u05EA":"\u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA",o=l=>l?t[l]??null:null,s={regex:{label:"\u05E7\u05DC\u05D8",gender:"m"},email:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC",gender:"f"},url:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05E8\u05E9\u05EA",gender:"f"},emoji:{label:"\u05D0\u05D9\u05DE\u05D5\u05D2'\u05D9",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D5\u05D6\u05DE\u05DF ISO",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA ISO",gender:"m"},time:{label:"\u05D6\u05DE\u05DF ISO",gender:"m"},duration:{label:"\u05DE\u05E9\u05DA \u05D6\u05DE\u05DF ISO",gender:"m"},ipv4:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv4",gender:"f"},ipv6:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv6",gender:"f"},cidrv4:{label:"\u05D8\u05D5\u05D5\u05D7 IPv4",gender:"m"},cidrv6:{label:"\u05D8\u05D5\u05D5\u05D7 IPv6",gender:"m"},base64:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64",gender:"f"},base64url:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64 \u05DC\u05DB\u05EA\u05D5\u05D1\u05D5\u05EA \u05E8\u05E9\u05EA",gender:"f"},json_string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON",gender:"f"},e164:{label:"\u05DE\u05E1\u05E4\u05E8 E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},includes:{label:"\u05E7\u05DC\u05D8",gender:"m"},lowercase:{label:"\u05E7\u05DC\u05D8",gender:"m"},starts_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},uppercase:{label:"\u05E7\u05DC\u05D8",gender:"m"}},u={nan:"NaN"};return l=>{switch(l.code){case"invalid_type":{let c=l.expected,f=u[c??""]??a(c),m=F(l.input),p=u[m]??e[m]?.label??m;return/^[A-Z]/.test(l.expected)?`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA instanceof ${l.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${p}`:`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${f}, \u05D4\u05EA\u05E7\u05D1\u05DC ${p}`}case"invalid_value":{if(l.values.length===1)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05E2\u05E8\u05DA \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA ${B(l.values[0])}`;let c=l.values.map(p=>B(p));if(l.values.length===2)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${c[0]} \u05D0\u05D5 ${c[1]}`;let f=c[c.length-1];return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${c.slice(0,-1).join(", ")} \u05D0\u05D5 ${f}`}case"too_big":{let c=o(l.origin),f=r(l.origin??"value");if(l.origin==="string")return`${c?.longLabel??"\u05D0\u05E8\u05D5\u05DA"} \u05DE\u05D3\u05D9: ${f} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${l.maximum.toString()} ${c?.unit??""} ${l.inclusive?"\u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA":"\u05DC\u05DB\u05DC \u05D4\u05D9\u05D5\u05EA\u05E8"}`.trim();if(l.origin==="number"){let b=l.inclusive?`\u05E7\u05D8\u05DF \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${l.maximum}`:`\u05E7\u05D8\u05DF \u05DE-${l.maximum}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${f} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${b}`}if(l.origin==="array"||l.origin==="set"){let b=l.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA",S=l.inclusive?`${l.maximum} ${c?.unit??""} \u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA`:`\u05E4\u05D7\u05D5\u05EA \u05DE-${l.maximum} ${c?.unit??""}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${f} ${b} \u05DC\u05D4\u05DB\u05D9\u05DC ${S}`.trim()}let m=l.inclusive?"<=":"<",p=i(l.origin??"value");return c?.unit?`${c.longLabel} \u05DE\u05D3\u05D9: ${f} ${p} ${m}${l.maximum.toString()} ${c.unit}`:`${c?.longLabel??"\u05D2\u05D3\u05D5\u05DC"} \u05DE\u05D3\u05D9: ${f} ${p} ${m}${l.maximum.toString()}`}case"too_small":{let c=o(l.origin),f=r(l.origin??"value");if(l.origin==="string")return`${c?.shortLabel??"\u05E7\u05E6\u05E8"} \u05DE\u05D3\u05D9: ${f} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${l.minimum.toString()} ${c?.unit??""} ${l.inclusive?"\u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8":"\u05DC\u05E4\u05D7\u05D5\u05EA"}`.trim();if(l.origin==="number"){let b=l.inclusive?`\u05D2\u05D3\u05D5\u05DC \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${l.minimum}`:`\u05D2\u05D3\u05D5\u05DC \u05DE-${l.minimum}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${f} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${b}`}if(l.origin==="array"||l.origin==="set"){let b=l.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA";if(l.minimum===1&&l.inclusive){let C=(l.origin==="set","\u05DC\u05E4\u05D7\u05D5\u05EA \u05E4\u05E8\u05D9\u05D8 \u05D0\u05D7\u05D3");return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${f} ${b} \u05DC\u05D4\u05DB\u05D9\u05DC ${C}`}let S=l.inclusive?`${l.minimum} ${c?.unit??""} \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8`:`\u05D9\u05D5\u05EA\u05E8 \u05DE-${l.minimum} ${c?.unit??""}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${f} ${b} \u05DC\u05D4\u05DB\u05D9\u05DC ${S}`.trim()}let m=l.inclusive?">=":">",p=i(l.origin??"value");return c?.unit?`${c.shortLabel} \u05DE\u05D3\u05D9: ${f} ${p} ${m}${l.minimum.toString()} ${c.unit}`:`${c?.shortLabel??"\u05E7\u05D8\u05DF"} \u05DE\u05D3\u05D9: ${f} ${p} ${m}${l.minimum.toString()}`}case"invalid_format":{let c=l;if(c.format==="starts_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1 "${c.prefix}"`;if(c.format==="ends_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05E1\u05EA\u05D9\u05D9\u05DD \u05D1 "${c.suffix}"`;if(c.format==="includes")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05DB\u05DC\u05D5\u05DC "${c.includes}"`;if(c.format==="regex")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D0\u05D9\u05DD \u05DC\u05EA\u05D1\u05E0\u05D9\u05EA ${c.pattern}`;let f=s[c.format],m=f?.label??c.format,b=(f?.gender??"m")==="f"?"\u05EA\u05E7\u05D9\u05E0\u05D4":"\u05EA\u05E7\u05D9\u05DF";return`${m} \u05DC\u05D0 ${b}`}case"not_multiple_of":return`\u05DE\u05E1\u05E4\u05E8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DE\u05DB\u05E4\u05DC\u05D4 \u05E9\u05DC ${l.divisor}`;case"unrecognized_keys":return`\u05DE\u05E4\u05EA\u05D7${l.keys.length>1?"\u05D5\u05EA":""} \u05DC\u05D0 \u05DE\u05D6\u05D5\u05D4${l.keys.length>1?"\u05D9\u05DD":"\u05D4"}: ${D(l.keys,", ")}`;case"invalid_key":return"\u05E9\u05D3\u05D4 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8";case"invalid_union":return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF";case"invalid_element":return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1${r(l.origin??"array")}`;default:return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF"}}};function m6(){return{localeError:lU()}}var cU=()=>{let e={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function t(r){return e[r]??null}let n={regex:"unos",email:"email 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:"ISO datum i vrijeme",date:"ISO datum",time:"ISO vrijeme",duration:"ISO trajanje",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",jwt:"JWT",template_literal:"unos"},a={nan:"NaN",string:"tekst",number:"broj",boolean:"boolean",array:"niz",object:"objekt",set:"skup",file:"datoteka",date:"datum",bigint:"bigint",symbol:"simbol",undefined:"undefined",null:"null",function:"funkcija",map:"mapa"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Neispravan unos: o\u010Dekuje se instanceof ${r.expected}, a primljeno je ${s}`:`Neispravan unos: o\u010Dekuje se ${i}, a primljeno je ${s}`}case"invalid_value":return r.values.length===1?`Neispravna vrijednost: o\u010Dekivano ${B(r.values[0])}`:`Neispravna opcija: o\u010Dekivano jedno od ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin),s=a[r.origin]??r.origin;return o?`Preveliko: o\u010Dekivano da ${s??"vrijednost"} ima ${i}${r.maximum.toString()} ${o.unit??"elemenata"}`:`Preveliko: o\u010Dekivano da ${s??"vrijednost"} bude ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin),s=a[r.origin]??r.origin;return o?`Premalo: o\u010Dekivano da ${s} ima ${i}${r.minimum.toString()} ${o.unit}`:`Premalo: o\u010Dekivano da ${s} bude ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Neispravan tekst: mora zapo\u010Dinjati s "${i.prefix}"`:i.format==="ends_with"?`Neispravan tekst: mora zavr\u0161avati s "${i.suffix}"`:i.format==="includes"?`Neispravan tekst: mora sadr\u017Eavati "${i.includes}"`:i.format==="regex"?`Neispravan tekst: mora odgovarati uzorku ${i.pattern}`:`Neispravna ${n[i.format]??r.format}`}case"not_multiple_of":return`Neispravan broj: mora biti vi\u0161ekratnik od ${r.divisor}`;case"unrecognized_keys":return`Neprepoznat${r.keys.length>1?"i klju\u010Devi":" klju\u010D"}: ${D(r.keys,", ")}`;case"invalid_key":return`Neispravan klju\u010D u ${a[r.origin]??r.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${a[r.origin]??r.origin}`;default:return"Neispravan unos"}}};function h6(){return{localeError:cU()}}var dU=()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function t(r){return e[r]??null}let n={regex:"bemenet",email:"email c\xEDm",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\u0151b\xE9lyeg",date:"ISO d\xE1tum",time:"ISO id\u0151",duration:"ISO id\u0151intervallum",ipv4:"IPv4 c\xEDm",ipv6:"IPv6 c\xEDm",cidrv4:"IPv4 tartom\xE1ny",cidrv6:"IPv6 tartom\xE1ny",base64:"base64-k\xF3dolt string",base64url:"base64url-k\xF3dolt string",json_string:"JSON string",e164:"E.164 sz\xE1m",jwt:"JWT",template_literal:"bemenet"},a={nan:"NaN",number:"sz\xE1m",array:"t\xF6mb"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k instanceof ${r.expected}, a kapott \xE9rt\xE9k ${s}`:`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${i}, a kapott \xE9rt\xE9k ${s}`}case"invalid_value":return r.values.length===1?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${B(r.values[0])}`:`\xC9rv\xE9nytelen opci\xF3: valamelyik \xE9rt\xE9k v\xE1rt ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`T\xFAl nagy: ${r.origin??"\xE9rt\xE9k"} m\xE9rete t\xFAl nagy ${i}${r.maximum.toString()} ${o.unit??"elem"}`:`T\xFAl nagy: a bemeneti \xE9rt\xE9k ${r.origin??"\xE9rt\xE9k"} t\xFAl nagy: ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${r.origin} m\xE9rete t\xFAl kicsi ${i}${r.minimum.toString()} ${o.unit}`:`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${r.origin} t\xFAl kicsi ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\xC9rv\xE9nytelen string: "${i.prefix}" \xE9rt\xE9kkel kell kezd\u0151dnie`:i.format==="ends_with"?`\xC9rv\xE9nytelen string: "${i.suffix}" \xE9rt\xE9kkel kell v\xE9gz\u0151dnie`:i.format==="includes"?`\xC9rv\xE9nytelen string: "${i.includes}" \xE9rt\xE9ket kell tartalmaznia`:i.format==="regex"?`\xC9rv\xE9nytelen string: ${i.pattern} mint\xE1nak kell megfelelnie`:`\xC9rv\xE9nytelen ${n[i.format]??r.format}`}case"not_multiple_of":return`\xC9rv\xE9nytelen sz\xE1m: ${r.divisor} t\xF6bbsz\xF6r\xF6s\xE9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${r.keys.length>1?"s":""}: ${D(r.keys,", ")}`;case"invalid_key":return`\xC9rv\xE9nytelen kulcs ${r.origin}`;case"invalid_union":return"\xC9rv\xE9nytelen bemenet";case"invalid_element":return`\xC9rv\xE9nytelen \xE9rt\xE9k: ${r.origin}`;default:return"\xC9rv\xE9nytelen bemenet"}}};function g6(){return{localeError:dU()}}function v6(e,t,n){return Math.abs(e)===1?t:n}function Rs(e){if(!e)return"";let t=["\u0561","\u0565","\u0568","\u056B","\u0578","\u0578\u0582","\u0585"],n=e[e.length-1];return e+(t.includes(n)?"\u0576":"\u0568")}var fU=()=>{let e={string:{unit:{one:"\u0576\u0577\u0561\u0576",many:"\u0576\u0577\u0561\u0576\u0576\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},file:{unit:{one:"\u0562\u0561\u0575\u0569",many:"\u0562\u0561\u0575\u0569\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},array:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},set:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"}};function t(r){return e[r]??null}let n={regex:"\u0574\u0578\u0582\u057F\u0584",email:"\u0567\u056C. \u0570\u0561\u057D\u0581\u0565",url:"URL",emoji:"\u0567\u0574\u0578\u057B\u056B",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E \u0587 \u056A\u0561\u0574",date:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E",time:"ISO \u056A\u0561\u0574",duration:"ISO \u057F\u0587\u0578\u0572\u0578\u0582\u0569\u0575\u0578\u0582\u0576",ipv4:"IPv4 \u0570\u0561\u057D\u0581\u0565",ipv6:"IPv6 \u0570\u0561\u057D\u0581\u0565",cidrv4:"IPv4 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",cidrv6:"IPv6 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",base64:"base64 \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",base64url:"base64url \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",json_string:"JSON \u057F\u0578\u0572",e164:"E.164 \u0570\u0561\u0574\u0561\u0580",jwt:"JWT",template_literal:"\u0574\u0578\u0582\u057F\u0584"},a={nan:"NaN",number:"\u0569\u056B\u057E",array:"\u0566\u0561\u0576\u0563\u057E\u0561\u056E"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 instanceof ${r.expected}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${s}`:`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${i}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${s}`}case"invalid_value":return r.values.length===1?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${B(r.values[1])}`:`\u054D\u056D\u0561\u056C \u057F\u0561\u0580\u0562\u0565\u0580\u0561\u056F\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 \u0570\u0565\u057F\u0587\u0575\u0561\u056C\u0576\u0565\u0580\u056B\u0581 \u0574\u0565\u056F\u0568\u055D ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);if(o){let s=Number(r.maximum),u=v6(s,o.unit.one,o.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Rs(r.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${i}${r.maximum.toString()} ${u}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Rs(r.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056C\u056B\u0576\u056B ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);if(o){let s=Number(r.minimum),u=v6(s,o.unit.one,o.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Rs(r.origin)} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${i}${r.minimum.toString()} ${u}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Rs(r.origin)} \u056C\u056B\u0576\u056B ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057D\u056F\u057D\u057E\u056B "${i.prefix}"-\u0578\u057E`:i.format==="ends_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0561\u057E\u0561\u0580\u057F\u057E\u056B "${i.suffix}"-\u0578\u057E`:i.format==="includes"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057A\u0561\u0580\u0578\u0582\u0576\u0561\u056F\u056B "${i.includes}"`:i.format==="regex"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0570\u0561\u0574\u0561\u057A\u0561\u057F\u0561\u057D\u056D\u0561\u0576\u056B ${i.pattern} \u0571\u0587\u0561\u0579\u0561\u0583\u056B\u0576`:`\u054D\u056D\u0561\u056C ${n[i.format]??r.format}`}case"not_multiple_of":return`\u054D\u056D\u0561\u056C \u0569\u056B\u057E\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0562\u0561\u0566\u0574\u0561\u057A\u0561\u057F\u056B\u056F \u056C\u056B\u0576\u056B ${r.divisor}-\u056B`;case"unrecognized_keys":return`\u0549\u0573\u0561\u0576\u0561\u0579\u057E\u0561\u056E \u0562\u0561\u0576\u0561\u056C\u056B${r.keys.length>1?"\u0576\u0565\u0580":""}. ${D(r.keys,", ")}`;case"invalid_key":return`\u054D\u056D\u0561\u056C \u0562\u0561\u0576\u0561\u056C\u056B ${Rs(r.origin)}-\u0578\u0582\u0574`;case"invalid_union":return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574";case"invalid_element":return`\u054D\u056D\u0561\u056C \u0561\u0580\u056A\u0565\u0584 ${Rs(r.origin)}-\u0578\u0582\u0574`;default:return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574"}}};function y6(){return{localeError:fU()}}var pU=()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function t(r){return e[r]??null}let 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"},a={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Input tidak valid: diharapkan instanceof ${r.expected}, diterima ${s}`:`Input tidak valid: diharapkan ${i}, diterima ${s}`}case"invalid_value":return r.values.length===1?`Input tidak valid: diharapkan ${B(r.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`Terlalu besar: diharapkan ${r.origin??"value"} memiliki ${i}${r.maximum.toString()} ${o.unit??"elemen"}`:`Terlalu besar: diharapkan ${r.origin??"value"} menjadi ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`Terlalu kecil: diharapkan ${r.origin} memiliki ${i}${r.minimum.toString()} ${o.unit}`:`Terlalu kecil: diharapkan ${r.origin} menjadi ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`String tidak valid: harus dimulai dengan "${i.prefix}"`:i.format==="ends_with"?`String tidak valid: harus berakhir dengan "${i.suffix}"`:i.format==="includes"?`String tidak valid: harus menyertakan "${i.includes}"`:i.format==="regex"?`String tidak valid: harus sesuai pola ${i.pattern}`:`${n[i.format]??r.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${r.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${r.keys.length>1?"s":""}: ${D(r.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${r.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${r.origin}`;default:return"Input tidak valid"}}};function b6(){return{localeError:pU()}}var mU=()=>{let e={string:{unit:"stafi",verb:"a\xF0 hafa"},file:{unit:"b\xE6ti",verb:"a\xF0 hafa"},array:{unit:"hluti",verb:"a\xF0 hafa"},set:{unit:"hluti",verb:"a\xF0 hafa"}};function t(r){return e[r]??null}let n={regex:"gildi",email:"netfang",url:"vefsl\xF3\xF0",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og t\xEDmi",date:"ISO dagsetning",time:"ISO t\xEDmi",duration:"ISO t\xEDmalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 t\xF6lugildi",jwt:"JWT",template_literal:"gildi"},a={nan:"NaN",number:"n\xFAmer",array:"fylki"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Rangt gildi: \xDE\xFA sl\xF3st inn ${s} \xFEar sem \xE1 a\xF0 vera instanceof ${r.expected}`:`Rangt gildi: \xDE\xFA sl\xF3st inn ${s} \xFEar sem \xE1 a\xF0 vera ${i}`}case"invalid_value":return r.values.length===1?`Rangt gildi: gert r\xE1\xF0 fyrir ${B(r.values[0])}`:`\xD3gilt val: m\xE1 vera eitt af eftirfarandi ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${r.origin??"gildi"} hafi ${i}${r.maximum.toString()} ${o.unit??"hluti"}`:`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${r.origin??"gildi"} s\xE9 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${r.origin} hafi ${i}${r.minimum.toString()} ${o.unit}`:`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${r.origin} s\xE9 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 byrja \xE1 "${i.prefix}"`:i.format==="ends_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 enda \xE1 "${i.suffix}"`:i.format==="includes"?`\xD3gildur strengur: ver\xF0ur a\xF0 innihalda "${i.includes}"`:i.format==="regex"?`\xD3gildur strengur: ver\xF0ur a\xF0 fylgja mynstri ${i.pattern}`:`Rangt ${n[i.format]??r.format}`}case"not_multiple_of":return`R\xF6ng tala: ver\xF0ur a\xF0 vera margfeldi af ${r.divisor}`;case"unrecognized_keys":return`\xD3\xFEekkt ${r.keys.length>1?"ir lyklar":"ur lykill"}: ${D(r.keys,", ")}`;case"invalid_key":return`Rangur lykill \xED ${r.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi \xED ${r.origin}`;default:return"Rangt gildi"}}};function _6(){return{localeError:mU()}}var hU=()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function t(r){return e[r]??null}let 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"},a={nan:"NaN",number:"numero",array:"vettore"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Input non valido: atteso instanceof ${r.expected}, ricevuto ${s}`:`Input non valido: atteso ${i}, ricevuto ${s}`}case"invalid_value":return r.values.length===1?`Input non valido: atteso ${B(r.values[0])}`:`Opzione non valida: atteso uno tra ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`Troppo grande: ${r.origin??"valore"} deve avere ${i}${r.maximum.toString()} ${o.unit??"elementi"}`:`Troppo grande: ${r.origin??"valore"} deve essere ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`Troppo piccolo: ${r.origin} deve avere ${i}${r.minimum.toString()} ${o.unit}`:`Troppo piccolo: ${r.origin} deve essere ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Stringa non valida: deve iniziare con "${i.prefix}"`:i.format==="ends_with"?`Stringa non valida: deve terminare con "${i.suffix}"`:i.format==="includes"?`Stringa non valida: deve includere "${i.includes}"`:i.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${i.pattern}`:`Input non valido: ${n[i.format]??r.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${r.divisor}`;case"unrecognized_keys":return`Chiav${r.keys.length>1?"i":"e"} non riconosciut${r.keys.length>1?"e":"a"}: ${D(r.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${r.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${r.origin}`;default:return"Input non valido"}}};function T6(){return{localeError:hU()}}var gU=()=>{let e={string:{unit:"\u6587\u5B57",verb:"\u3067\u3042\u308B"},file:{unit:"\u30D0\u30A4\u30C8",verb:"\u3067\u3042\u308B"},array:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"},set:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"}};function t(r){return e[r]??null}let n={regex:"\u5165\u529B\u5024",email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",url:"URL",emoji:"\u7D75\u6587\u5B57",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u6642",date:"ISO\u65E5\u4ED8",time:"ISO\u6642\u523B",duration:"ISO\u671F\u9593",ipv4:"IPv4\u30A2\u30C9\u30EC\u30B9",ipv6:"IPv6\u30A2\u30C9\u30EC\u30B9",cidrv4:"IPv4\u7BC4\u56F2",cidrv6:"IPv6\u7BC4\u56F2",base64:"base64\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",base64url:"base64url\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",json_string:"JSON\u6587\u5B57\u5217",e164:"E.164\u756A\u53F7",jwt:"JWT",template_literal:"\u5165\u529B\u5024"},a={nan:"NaN",number:"\u6570\u5024",array:"\u914D\u5217"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\u7121\u52B9\u306A\u5165\u529B: instanceof ${r.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${s}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u5165\u529B: ${i}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${s}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`}case"invalid_value":return r.values.length===1?`\u7121\u52B9\u306A\u5165\u529B: ${B(r.values[0])}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u9078\u629E: ${D(r.values,"\u3001")}\u306E\u3044\u305A\u308C\u304B\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"too_big":{let i=r.inclusive?"\u4EE5\u4E0B\u3067\u3042\u308B":"\u3088\u308A\u5C0F\u3055\u3044",o=t(r.origin);return o?`\u5927\u304D\u3059\u304E\u308B\u5024: ${r.origin??"\u5024"}\u306F${r.maximum.toString()}${o.unit??"\u8981\u7D20"}${i}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5927\u304D\u3059\u304E\u308B\u5024: ${r.origin??"\u5024"}\u306F${r.maximum.toString()}${i}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"too_small":{let i=r.inclusive?"\u4EE5\u4E0A\u3067\u3042\u308B":"\u3088\u308A\u5927\u304D\u3044",o=t(r.origin);return o?`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${r.origin}\u306F${r.minimum.toString()}${o.unit}${i}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${r.origin}\u306F${r.minimum.toString()}${i}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${i.prefix}"\u3067\u59CB\u307E\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:i.format==="ends_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${i.suffix}"\u3067\u7D42\u308F\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:i.format==="includes"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${i.includes}"\u3092\u542B\u3080\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:i.format==="regex"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: \u30D1\u30BF\u30FC\u30F3${i.pattern}\u306B\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u7121\u52B9\u306A${n[i.format]??r.format}`}case"not_multiple_of":return`\u7121\u52B9\u306A\u6570\u5024: ${r.divisor}\u306E\u500D\u6570\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"unrecognized_keys":return`\u8A8D\u8B58\u3055\u308C\u3066\u3044\u306A\u3044\u30AD\u30FC${r.keys.length>1?"\u7FA4":""}: ${D(r.keys,"\u3001")}`;case"invalid_key":return`${r.origin}\u5185\u306E\u7121\u52B9\u306A\u30AD\u30FC`;case"invalid_union":return"\u7121\u52B9\u306A\u5165\u529B";case"invalid_element":return`${r.origin}\u5185\u306E\u7121\u52B9\u306A\u5024`;default:return"\u7121\u52B9\u306A\u5165\u529B"}}};function x6(){return{localeError:gU()}}var vU=()=>{let e={string:{unit:"\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},file:{unit:"\u10D1\u10D0\u10D8\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},array:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},set:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"}};function t(r){return e[r]??null}let n={regex:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0",email:"\u10D4\u10DA-\u10E4\u10DD\u10E1\u10E2\u10D8\u10E1 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",url:"URL",emoji:"\u10D4\u10DB\u10DD\u10EF\u10D8",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8-\u10D3\u10E0\u10DD",date:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8",time:"\u10D3\u10E0\u10DD",duration:"\u10EE\u10D0\u10DC\u10D2\u10E0\u10EB\u10DA\u10D8\u10D5\u10DD\u10D1\u10D0",ipv4:"IPv4 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",ipv6:"IPv6 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",cidrv4:"IPv4 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",cidrv6:"IPv6 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",base64:"base64-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10D5\u10D4\u10DA\u10D8",base64url:"base64url-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10D5\u10D4\u10DA\u10D8",json_string:"JSON \u10D5\u10D4\u10DA\u10D8",e164:"E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",jwt:"JWT",template_literal:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"},a={nan:"NaN",number:"\u10E0\u10D8\u10EA\u10EE\u10D5\u10D8",string:"\u10D5\u10D4\u10DA\u10D8",boolean:"\u10D1\u10E3\u10DA\u10D4\u10D0\u10DC\u10D8",function:"\u10E4\u10E3\u10DC\u10E5\u10EA\u10D8\u10D0",array:"\u10DB\u10D0\u10E1\u10D8\u10D5\u10D8"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 instanceof ${r.expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${s}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${i}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${s}`}case"invalid_value":return r.values.length===1?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${B(r.values[0])}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D0\u10E0\u10D8\u10D0\u10DC\u10E2\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8\u10D0 \u10D4\u10E0\u10D7-\u10D4\u10E0\u10D7\u10D8 ${D(r.values,"|")}-\u10D3\u10D0\u10DC`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${r.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} ${o.verb} ${i}${r.maximum.toString()} ${o.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${r.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} \u10D8\u10E7\u10DD\u10E1 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${r.origin} ${o.verb} ${i}${r.minimum.toString()} ${o.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${r.origin} \u10D8\u10E7\u10DD\u10E1 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10EC\u10E7\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${i.prefix}"-\u10D8\u10D7`:i.format==="ends_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10DB\u10D7\u10D0\u10D5\u10E0\u10D3\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${i.suffix}"-\u10D8\u10D7`:i.format==="includes"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1 "${i.includes}"-\u10E1`:i.format==="regex"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D4\u10E1\u10D0\u10D1\u10D0\u10DB\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 \u10E8\u10D0\u10D1\u10DA\u10DD\u10DC\u10E1 ${i.pattern}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 ${n[i.format]??r.format}`}case"not_multiple_of":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E0\u10D8\u10EA\u10EE\u10D5\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10E7\u10DD\u10E1 ${r.divisor}-\u10D8\u10E1 \u10EF\u10D4\u10E0\u10D0\u10D3\u10D8`;case"unrecognized_keys":return`\u10E3\u10EA\u10DC\u10DD\u10D1\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1${r.keys.length>1?"\u10D4\u10D1\u10D8":"\u10D8"}: ${D(r.keys,", ")}`;case"invalid_key":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1\u10D8 ${r.origin}-\u10E8\u10D8`;case"invalid_union":return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0";case"invalid_element":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0 ${r.origin}-\u10E8\u10D8`;default:return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"}}};function E6(){return{localeError:vU()}}var yU=()=>{let e={string:{unit:"\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},file:{unit:"\u1794\u17C3",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},array:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},set:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"}};function t(r){return e[r]??null}let n={regex:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B",email:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793\u17A2\u17CA\u17B8\u1798\u17C2\u179B",url:"URL",emoji:"\u179F\u1789\u17D2\u1789\u17B6\u17A2\u17B6\u179A\u1798\u17D2\u1798\u178E\u17CD",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 \u1793\u17B7\u1784\u1798\u17C9\u17C4\u1784 ISO",date:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 ISO",time:"\u1798\u17C9\u17C4\u1784 ISO",duration:"\u179A\u1799\u17C8\u1796\u17C1\u179B ISO",ipv4:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",ipv6:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",cidrv4:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",cidrv6:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",base64:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64",base64url:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64url",json_string:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",e164:"\u179B\u17C1\u1781 E.164",jwt:"JWT",template_literal:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"},a={nan:"NaN",number:"\u179B\u17C1\u1781",array:"\u17A2\u17B6\u179A\u17C1 (Array)",null:"\u1782\u17D2\u1798\u17B6\u1793\u178F\u1798\u17D2\u179B\u17C3 (null)"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A instanceof ${r.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${s}`:`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${i} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${s}`}case"invalid_value":return r.values.length===1?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${B(r.values[0])}`:`\u1787\u1798\u17D2\u179A\u17BE\u179F\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1787\u17B6\u1798\u17BD\u1799\u1780\u17D2\u1793\u17BB\u1784\u1785\u17C6\u178E\u17C4\u1798 ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${i} ${r.maximum.toString()} ${o.unit??"\u1792\u17B6\u178F\u17BB"}`:`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${i} ${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin} ${i} ${r.minimum.toString()} ${o.unit}`:`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin} ${i} ${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1785\u17B6\u1794\u17CB\u1795\u17D2\u178F\u17BE\u1798\u178A\u17C4\u1799 "${i.prefix}"`:i.format==="ends_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1794\u1789\u17D2\u1785\u1794\u17CB\u178A\u17C4\u1799 "${i.suffix}"`:i.format==="includes"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1798\u17B6\u1793 "${i.includes}"`:i.format==="regex"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1795\u17D2\u1782\u17BC\u1795\u17D2\u1782\u1784\u1793\u17B9\u1784\u1791\u1798\u17D2\u179A\u1784\u17CB\u178A\u17C2\u179B\u1794\u17B6\u1793\u1780\u17C6\u178E\u178F\u17CB ${i.pattern}`:`\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 ${n[i.format]??r.format}`}case"not_multiple_of":return`\u179B\u17C1\u1781\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1787\u17B6\u1796\u17A0\u17BB\u1782\u17BB\u178E\u1793\u17C3 ${r.divisor}`;case"unrecognized_keys":return`\u179A\u1780\u1783\u17BE\u1789\u179F\u17C4\u1798\u17B7\u1793\u179F\u17D2\u1782\u17B6\u179B\u17CB\u17D6 ${D(r.keys,", ")}`;case"invalid_key":return`\u179F\u17C4\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${r.origin}`;case"invalid_union":return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C";case"invalid_element":return`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${r.origin}`;default:return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C"}}};function Ep(){return{localeError:yU()}}function S6(){return Ep()}var bU=()=>{let e={string:{unit:"\uBB38\uC790",verb:"to have"},file:{unit:"\uBC14\uC774\uD2B8",verb:"to have"},array:{unit:"\uAC1C",verb:"to have"},set:{unit:"\uAC1C",verb:"to have"}};function t(r){return e[r]??null}let n={regex:"\uC785\uB825",email:"\uC774\uBA54\uC77C \uC8FC\uC18C",url:"URL",emoji:"\uC774\uBAA8\uC9C0",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \uB0A0\uC9DC\uC2DC\uAC04",date:"ISO \uB0A0\uC9DC",time:"ISO \uC2DC\uAC04",duration:"ISO \uAE30\uAC04",ipv4:"IPv4 \uC8FC\uC18C",ipv6:"IPv6 \uC8FC\uC18C",cidrv4:"IPv4 \uBC94\uC704",cidrv6:"IPv6 \uBC94\uC704",base64:"base64 \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",base64url:"base64url \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",json_string:"JSON \uBB38\uC790\uC5F4",e164:"E.164 \uBC88\uD638",jwt:"JWT",template_literal:"\uC785\uB825"},a={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 instanceof ${r.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${s}\uC785\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${i}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${s}\uC785\uB2C8\uB2E4`}case"invalid_value":return r.values.length===1?`\uC798\uBABB\uB41C \uC785\uB825: \uAC12\uC740 ${B(r.values[0])} \uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC635\uC158: ${D(r.values,"\uB610\uB294 ")} \uC911 \uD558\uB098\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"too_big":{let i=r.inclusive?"\uC774\uD558":"\uBBF8\uB9CC",o=i==="\uBBF8\uB9CC"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",s=t(r.origin),u=s?.unit??"\uC694\uC18C";return s?`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${r.maximum.toString()}${u} ${i}${o}`:`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${r.maximum.toString()} ${i}${o}`}case"too_small":{let i=r.inclusive?"\uC774\uC0C1":"\uCD08\uACFC",o=i==="\uC774\uC0C1"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",s=t(r.origin),u=s?.unit??"\uC694\uC18C";return s?`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${r.minimum.toString()}${u} ${i}${o}`:`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${r.minimum.toString()} ${i}${o}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${i.prefix}"(\uC73C)\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4`:i.format==="ends_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${i.suffix}"(\uC73C)\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4`:i.format==="includes"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${i.includes}"\uC744(\uB97C) \uD3EC\uD568\uD574\uC57C \uD569\uB2C8\uB2E4`:i.format==="regex"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: \uC815\uADDC\uC2DD ${i.pattern} \uD328\uD134\uACFC \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C ${n[i.format]??r.format}`}case"not_multiple_of":return`\uC798\uBABB\uB41C \uC22B\uC790: ${r.divisor}\uC758 \uBC30\uC218\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"unrecognized_keys":return`\uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 \uD0A4: ${D(r.keys,", ")}`;case"invalid_key":return`\uC798\uBABB\uB41C \uD0A4: ${r.origin}`;case"invalid_union":return"\uC798\uBABB\uB41C \uC785\uB825";case"invalid_element":return`\uC798\uBABB\uB41C \uAC12: ${r.origin}`;default:return"\uC798\uBABB\uB41C \uC785\uB825"}}};function w6(){return{localeError:bU()}}var Ql=e=>e.charAt(0).toUpperCase()+e.slice(1);function I6(e){let t=Math.abs(e),n=t%10,a=t%100;return a>=11&&a<=19||n===0?"many":n===1?"one":"few"}var _U=()=>{let e={string:{unit:{one:"simbolis",few:"simboliai",many:"simboli\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne ilgesn\u0117 kaip",notInclusive:"turi b\u016Bti trumpesn\u0117 kaip"},bigger:{inclusive:"turi b\u016Bti ne trumpesn\u0117 kaip",notInclusive:"turi b\u016Bti ilgesn\u0117 kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"bait\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne didesnis kaip",notInclusive:"turi b\u016Bti ma\u017Eesnis kaip"},bigger:{inclusive:"turi b\u016Bti ne ma\u017Eesnis kaip",notInclusive:"turi b\u016Bti didesnis kaip"}}},array:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}},set:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}}};function t(r,i,o,s){let u=e[r]??null;return u===null?u:{unit:u.unit[i],verb:u.verb[s][o?"inclusive":"notInclusive"]}}let n={regex:"\u012Fvestis",email:"el. pa\u0161to adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukm\u0117",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 u\u017Ekoduota eilut\u0117",base64url:"base64url u\u017Ekoduota eilut\u0117",json_string:"JSON eilut\u0117",e164:"E.164 numeris",jwt:"JWT",template_literal:"\u012Fvestis"},a={nan:"NaN",number:"skai\u010Dius",bigint:"sveikasis skai\u010Dius",string:"eilut\u0117",boolean:"login\u0117 reik\u0161m\u0117",undefined:"neapibr\u0117\u017Eta reik\u0161m\u0117",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulin\u0117 reik\u0161m\u0117"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Gautas tipas ${s}, o tik\u0117tasi - instanceof ${r.expected}`:`Gautas tipas ${s}, o tik\u0117tasi - ${i}`}case"invalid_value":return r.values.length===1?`Privalo b\u016Bti ${B(r.values[0])}`:`Privalo b\u016Bti vienas i\u0161 ${D(r.values,"|")} pasirinkim\u0173`;case"too_big":{let i=a[r.origin]??r.origin,o=t(r.origin,I6(Number(r.maximum)),r.inclusive??!1,"smaller");if(o?.verb)return`${Ql(i??r.origin??"reik\u0161m\u0117")} ${o.verb} ${r.maximum.toString()} ${o.unit??"element\u0173"}`;let s=r.inclusive?"ne didesnis kaip":"ma\u017Eesnis kaip";return`${Ql(i??r.origin??"reik\u0161m\u0117")} turi b\u016Bti ${s} ${r.maximum.toString()} ${o?.unit}`}case"too_small":{let i=a[r.origin]??r.origin,o=t(r.origin,I6(Number(r.minimum)),r.inclusive??!1,"bigger");if(o?.verb)return`${Ql(i??r.origin??"reik\u0161m\u0117")} ${o.verb} ${r.minimum.toString()} ${o.unit??"element\u0173"}`;let s=r.inclusive?"ne ma\u017Eesnis kaip":"didesnis kaip";return`${Ql(i??r.origin??"reik\u0161m\u0117")} turi b\u016Bti ${s} ${r.minimum.toString()} ${o?.unit}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Eilut\u0117 privalo prasid\u0117ti "${i.prefix}"`:i.format==="ends_with"?`Eilut\u0117 privalo pasibaigti "${i.suffix}"`:i.format==="includes"?`Eilut\u0117 privalo \u012Ftraukti "${i.includes}"`:i.format==="regex"?`Eilut\u0117 privalo atitikti ${i.pattern}`:`Neteisingas ${n[i.format]??r.format}`}case"not_multiple_of":return`Skai\u010Dius privalo b\u016Bti ${r.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpa\u017Eint${r.keys.length>1?"i":"as"} rakt${r.keys.length>1?"ai":"as"}: ${D(r.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga \u012Fvestis";case"invalid_element":{let i=a[r.origin]??r.origin;return`${Ql(i??r.origin??"reik\u0161m\u0117")} turi klaiding\u0105 \u012Fvest\u012F`}default:return"Klaidinga \u012Fvestis"}}};function A6(){return{localeError:_U()}}var TU=()=>{let e={string:{unit:"\u0437\u043D\u0430\u0446\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},file:{unit:"\u0431\u0430\u0458\u0442\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},array:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},set:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"}};function t(r){return e[r]??null}let n={regex:"\u0432\u043D\u0435\u0441",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u043D\u0430 \u0435-\u043F\u043E\u0448\u0442\u0430",url:"URL",emoji:"\u0435\u043C\u043E\u045F\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0443\u043C \u0438 \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0443\u043C",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u0432\u0440\u0435\u043C\u0435\u0442\u0440\u0430\u0435\u045A\u0435",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441\u0430",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441\u0430",cidrv4:"IPv4 \u043E\u043F\u0441\u0435\u0433",cidrv6:"IPv6 \u043E\u043F\u0441\u0435\u0433",base64:"base64-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",base64url:"base64url-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",json_string:"JSON \u043D\u0438\u0437\u0430",e164:"E.164 \u0431\u0440\u043E\u0458",jwt:"JWT",template_literal:"\u0432\u043D\u0435\u0441"},a={nan:"NaN",number:"\u0431\u0440\u043E\u0458",array:"\u043D\u0438\u0437\u0430"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 instanceof ${r.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${s}`:`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${i}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${s}`}case"invalid_value":return r.values.length===1?`Invalid input: expected ${B(r.values[0])}`:`\u0413\u0440\u0435\u0448\u0430\u043D\u0430 \u043E\u043F\u0446\u0438\u0458\u0430: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 \u0435\u0434\u043D\u0430 ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0438\u043C\u0430 ${i}${r.maximum.toString()} ${o.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438"}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0431\u0438\u0434\u0435 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin} \u0434\u0430 \u0438\u043C\u0430 ${i}${r.minimum.toString()} ${o.unit}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin} \u0434\u0430 \u0431\u0438\u0434\u0435 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0443\u0432\u0430 \u0441\u043E "${i.prefix}"`:i.format==="ends_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u0432\u0440\u0448\u0443\u0432\u0430 \u0441\u043E "${i.suffix}"`:i.format==="includes"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0432\u043A\u043B\u0443\u0447\u0443\u0432\u0430 "${i.includes}"`:i.format==="regex"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u043E\u0434\u0433\u043E\u0430\u0440\u0430 \u043D\u0430 \u043F\u0430\u0442\u0435\u0440\u043D\u043E\u0442 ${i.pattern}`:`Invalid ${n[i.format]??r.format}`}case"not_multiple_of":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0431\u0440\u043E\u0458: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0431\u0438\u0434\u0435 \u0434\u0435\u043B\u0438\u0432 \u0441\u043E ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D\u0438 \u043A\u043B\u0443\u0447\u0435\u0432\u0438":"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D \u043A\u043B\u0443\u0447"}: ${D(r.keys,", ")}`;case"invalid_key":return`\u0413\u0440\u0435\u0448\u0435\u043D \u043A\u043B\u0443\u0447 \u0432\u043E ${r.origin}`;case"invalid_union":return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441";case"invalid_element":return`\u0413\u0440\u0435\u0448\u043D\u0430 \u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442 \u0432\u043E ${r.origin}`;default:return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441"}}};function k6(){return{localeError:TU()}}var xU=()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function t(r){return e[r]??null}let 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"},a={nan:"NaN",number:"nombor"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Input tidak sah: dijangka instanceof ${r.expected}, diterima ${s}`:`Input tidak sah: dijangka ${i}, diterima ${s}`}case"invalid_value":return r.values.length===1?`Input tidak sah: dijangka ${B(r.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`Terlalu besar: dijangka ${r.origin??"nilai"} ${o.verb} ${i}${r.maximum.toString()} ${o.unit??"elemen"}`:`Terlalu besar: dijangka ${r.origin??"nilai"} adalah ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`Terlalu kecil: dijangka ${r.origin} ${o.verb} ${i}${r.minimum.toString()} ${o.unit}`:`Terlalu kecil: dijangka ${r.origin} adalah ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`String tidak sah: mesti bermula dengan "${i.prefix}"`:i.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${i.suffix}"`:i.format==="includes"?`String tidak sah: mesti mengandungi "${i.includes}"`:i.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${i.pattern}`:`${n[i.format]??r.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${r.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${D(r.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${r.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${r.origin}`;default:return"Input tidak sah"}}};function C6(){return{localeError:xU()}}var EU=()=>{let e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function t(r){return e[r]??null}let 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"},a={nan:"NaN",number:"getal"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Ongeldige invoer: verwacht instanceof ${r.expected}, ontving ${s}`:`Ongeldige invoer: verwacht ${i}, ontving ${s}`}case"invalid_value":return r.values.length===1?`Ongeldige invoer: verwacht ${B(r.values[0])}`:`Ongeldige optie: verwacht \xE9\xE9n van ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin),s=r.origin==="date"?"laat":r.origin==="string"?"lang":"groot";return o?`Te ${s}: verwacht dat ${r.origin??"waarde"} ${i}${r.maximum.toString()} ${o.unit??"elementen"} ${o.verb}`:`Te ${s}: verwacht dat ${r.origin??"waarde"} ${i}${r.maximum.toString()} is`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin),s=r.origin==="date"?"vroeg":r.origin==="string"?"kort":"klein";return o?`Te ${s}: verwacht dat ${r.origin} ${i}${r.minimum.toString()} ${o.unit} ${o.verb}`:`Te ${s}: verwacht dat ${r.origin} ${i}${r.minimum.toString()} is`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Ongeldige tekst: moet met "${i.prefix}" beginnen`:i.format==="ends_with"?`Ongeldige tekst: moet op "${i.suffix}" eindigen`:i.format==="includes"?`Ongeldige tekst: moet "${i.includes}" bevatten`:i.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${i.pattern}`:`Ongeldig: ${n[i.format]??r.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${r.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${r.keys.length>1?"s":""}: ${D(r.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${r.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${r.origin}`;default:return"Ongeldige invoer"}}};function O6(){return{localeError:EU()}}var SU=()=>{let e={string:{unit:"tegn",verb:"\xE5 ha"},file:{unit:"bytes",verb:"\xE5 ha"},array:{unit:"elementer",verb:"\xE5 inneholde"},set:{unit:"elementer",verb:"\xE5 inneholde"}};function t(r){return e[r]??null}let 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\xE5de",ipv6:"IPv6-omr\xE5de",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"},a={nan:"NaN",number:"tall",array:"liste"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Ugyldig input: forventet instanceof ${r.expected}, fikk ${s}`:`Ugyldig input: forventet ${i}, fikk ${s}`}case"invalid_value":return r.values.length===1?`Ugyldig verdi: forventet ${B(r.values[0])}`:`Ugyldig valg: forventet en av ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`For stor(t): forventet ${r.origin??"value"} til \xE5 ha ${i}${r.maximum.toString()} ${o.unit??"elementer"}`:`For stor(t): forventet ${r.origin??"value"} til \xE5 ha ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`For lite(n): forventet ${r.origin} til \xE5 ha ${i}${r.minimum.toString()} ${o.unit}`:`For lite(n): forventet ${r.origin} til \xE5 ha ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Ugyldig streng: m\xE5 starte med "${i.prefix}"`:i.format==="ends_with"?`Ugyldig streng: m\xE5 ende med "${i.suffix}"`:i.format==="includes"?`Ugyldig streng: m\xE5 inneholde "${i.includes}"`:i.format==="regex"?`Ugyldig streng: m\xE5 matche m\xF8nsteret ${i.pattern}`:`Ugyldig ${n[i.format]??r.format}`}case"not_multiple_of":return`Ugyldig tall: m\xE5 v\xE6re et multiplum av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ukjente n\xF8kler":"Ukjent n\xF8kkel"}: ${D(r.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8kkel i ${r.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${r.origin}`;default:return"Ugyldig input"}}};function N6(){return{localeError:SU()}}var wU=()=>{let e={string:{unit:"harf",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"unsur",verb:"olmal\u0131d\u0131r"},set:{unit:"unsur",verb:"olmal\u0131d\u0131r"}};function t(r){return e[r]??null}let n={regex:"giren",email:"epostag\xE2h",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\xE2m\u0131",date:"ISO tarihi",time:"ISO zaman\u0131",duration:"ISO m\xFCddeti",ipv4:"IPv4 ni\u015F\xE2n\u0131",ipv6:"IPv6 ni\u015F\xE2n\u0131",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-\u015Fifreli metin",base64url:"base64url-\u015Fifreli metin",json_string:"JSON metin",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"giren"},a={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`F\xE2sit giren: umulan instanceof ${r.expected}, al\u0131nan ${s}`:`F\xE2sit giren: umulan ${i}, al\u0131nan ${s}`}case"invalid_value":return r.values.length===1?`F\xE2sit giren: umulan ${B(r.values[0])}`:`F\xE2sit tercih: m\xFBteberler ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`Fazla b\xFCy\xFCk: ${r.origin??"value"}, ${i}${r.maximum.toString()} ${o.unit??"elements"} sahip olmal\u0131yd\u0131.`:`Fazla b\xFCy\xFCk: ${r.origin??"value"}, ${i}${r.maximum.toString()} olmal\u0131yd\u0131.`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`Fazla k\xFC\xE7\xFCk: ${r.origin}, ${i}${r.minimum.toString()} ${o.unit} sahip olmal\u0131yd\u0131.`:`Fazla k\xFC\xE7\xFCk: ${r.origin}, ${i}${r.minimum.toString()} olmal\u0131yd\u0131.`}case"invalid_format":{let i=r;return i.format==="starts_with"?`F\xE2sit metin: "${i.prefix}" ile ba\u015Flamal\u0131.`:i.format==="ends_with"?`F\xE2sit metin: "${i.suffix}" ile bitmeli.`:i.format==="includes"?`F\xE2sit metin: "${i.includes}" ihtiv\xE2 etmeli.`:i.format==="regex"?`F\xE2sit metin: ${i.pattern} nak\u015F\u0131na uymal\u0131.`:`F\xE2sit ${n[i.format]??r.format}`}case"not_multiple_of":return`F\xE2sit say\u0131: ${r.divisor} kat\u0131 olmal\u0131yd\u0131.`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar ${r.keys.length>1?"s":""}: ${D(r.keys,", ")}`;case"invalid_key":return`${r.origin} i\xE7in tan\u0131nmayan anahtar var.`;case"invalid_union":return"Giren tan\u0131namad\u0131.";case"invalid_element":return`${r.origin} i\xE7in tan\u0131nmayan k\u0131ymet var.`;default:return"K\u0131ymet tan\u0131namad\u0131."}}};function R6(){return{localeError:wU()}}var IU=()=>{let e={string:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},file:{unit:"\u0628\u0627\u06CC\u067C\u0633",verb:"\u0648\u0644\u0631\u064A"},array:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},set:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"}};function t(r){return e[r]??null}let n={regex:"\u0648\u0631\u0648\u062F\u064A",email:"\u0628\u0631\u06CC\u069A\u0646\u0627\u0644\u06CC\u06A9",url:"\u06CC\u0648 \u0622\u0631 \u0627\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0646\u06CC\u067C\u0647 \u0627\u0648 \u0648\u062E\u062A",date:"\u0646\u06D0\u067C\u0647",time:"\u0648\u062E\u062A",duration:"\u0645\u0648\u062F\u0647",ipv4:"\u062F IPv4 \u067E\u062A\u0647",ipv6:"\u062F IPv6 \u067E\u062A\u0647",cidrv4:"\u062F IPv4 \u0633\u0627\u062D\u0647",cidrv6:"\u062F IPv6 \u0633\u0627\u062D\u0647",base64:"base64-encoded \u0645\u062A\u0646",base64url:"base64url-encoded \u0645\u062A\u0646",json_string:"JSON \u0645\u062A\u0646",e164:"\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u064A"},a={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0627\u0631\u06D0"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F instanceof ${r.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${s} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`:`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${i} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${s} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`}case"invalid_value":return r.values.length===1?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${B(r.values[0])} \u0648\u0627\u06CC`:`\u0646\u0627\u0633\u0645 \u0627\u0646\u062A\u062E\u0627\u0628: \u0628\u0627\u06CC\u062F \u06CC\u0648 \u0644\u0647 ${D(r.values,"|")} \u0685\u062E\u0647 \u0648\u0627\u06CC`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${r.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${i}${r.maximum.toString()} ${o.unit??"\u0639\u0646\u0635\u0631\u0648\u0646\u0647"} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${r.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${i}${r.maximum.toString()} \u0648\u064A`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${r.origin} \u0628\u0627\u06CC\u062F ${i}${r.minimum.toString()} ${o.unit} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${r.origin} \u0628\u0627\u06CC\u062F ${i}${r.minimum.toString()} \u0648\u064A`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${i.prefix}" \u0633\u0631\u0647 \u067E\u06CC\u0644 \u0634\u064A`:i.format==="ends_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${i.suffix}" \u0633\u0631\u0647 \u067E\u0627\u06CC \u062A\u0647 \u0648\u0631\u0633\u064A\u0696\u064A`:i.format==="includes"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F "${i.includes}" \u0648\u0644\u0631\u064A`:i.format==="regex"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F ${i.pattern} \u0633\u0631\u0647 \u0645\u0637\u0627\u0628\u0642\u062A \u0648\u0644\u0631\u064A`:`${n[i.format]??r.format} \u0646\u0627\u0633\u0645 \u062F\u06CC`}case"not_multiple_of":return`\u0646\u0627\u0633\u0645 \u0639\u062F\u062F: \u0628\u0627\u06CC\u062F \u062F ${r.divisor} \u0645\u0636\u0631\u0628 \u0648\u064A`;case"unrecognized_keys":return`\u0646\u0627\u0633\u0645 ${r.keys.length>1?"\u06A9\u0644\u06CC\u0689\u0648\u0646\u0647":"\u06A9\u0644\u06CC\u0689"}: ${D(r.keys,", ")}`;case"invalid_key":return`\u0646\u0627\u0633\u0645 \u06A9\u0644\u06CC\u0689 \u067E\u0647 ${r.origin} \u06A9\u06D0`;case"invalid_union":return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A";case"invalid_element":return`\u0646\u0627\u0633\u0645 \u0639\u0646\u0635\u0631 \u067E\u0647 ${r.origin} \u06A9\u06D0`;default:return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A"}}};function M6(){return{localeError:IU()}}var AU=()=>{let e={string:{unit:"znak\xF3w",verb:"mie\u0107"},file:{unit:"bajt\xF3w",verb:"mie\u0107"},array:{unit:"element\xF3w",verb:"mie\u0107"},set:{unit:"element\xF3w",verb:"mie\u0107"}};function t(r){return e[r]??null}let n={regex:"wyra\u017Cenie",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\u0105g znak\xF3w zakodowany w formacie base64",base64url:"ci\u0105g znak\xF3w zakodowany w formacie base64url",json_string:"ci\u0105g znak\xF3w w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wej\u015Bcie"},a={nan:"NaN",number:"liczba",array:"tablica"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano instanceof ${r.expected}, otrzymano ${s}`:`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${i}, otrzymano ${s}`}case"invalid_value":return r.values.length===1?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${B(r.values[0])}`:`Nieprawid\u0142owa opcja: oczekiwano jednej z warto\u015Bci ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`Za du\u017Ca warto\u015B\u0107: oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${i}${r.maximum.toString()} ${o.unit??"element\xF3w"}`:`Zbyt du\u017C(y/a/e): oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`Za ma\u0142a warto\u015B\u0107: oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${i}${r.minimum.toString()} ${o.unit??"element\xF3w"}`:`Zbyt ma\u0142(y/a/e): oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zaczyna\u0107 si\u0119 od "${i.prefix}"`:i.format==="ends_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi ko\u0144czy\u0107 si\u0119 na "${i.suffix}"`:i.format==="includes"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zawiera\u0107 "${i.includes}"`:i.format==="regex"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi odpowiada\u0107 wzorcowi ${i.pattern}`:`Nieprawid\u0142ow(y/a/e) ${n[i.format]??r.format}`}case"not_multiple_of":return`Nieprawid\u0142owa liczba: musi by\u0107 wielokrotno\u015Bci\u0105 ${r.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${r.keys.length>1?"s":""}: ${D(r.keys,", ")}`;case"invalid_key":return`Nieprawid\u0142owy klucz w ${r.origin}`;case"invalid_union":return"Nieprawid\u0142owe dane wej\u015Bciowe";case"invalid_element":return`Nieprawid\u0142owa warto\u015B\u0107 w ${r.origin}`;default:return"Nieprawid\u0142owe dane wej\u015Bciowe"}}};function D6(){return{localeError:AU()}}var kU=()=>{let e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function t(r){return e[r]??null}let n={regex:"padr\xE3o",email:"endere\xE7o 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\xE7\xE3o ISO",ipv4:"endere\xE7o IPv4",ipv6:"endere\xE7o 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\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},a={nan:"NaN",number:"n\xFAmero",null:"nulo"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Tipo inv\xE1lido: esperado instanceof ${r.expected}, recebido ${s}`:`Tipo inv\xE1lido: esperado ${i}, recebido ${s}`}case"invalid_value":return r.values.length===1?`Entrada inv\xE1lida: esperado ${B(r.values[0])}`:`Op\xE7\xE3o inv\xE1lida: esperada uma das ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`Muito grande: esperado que ${r.origin??"valor"} tivesse ${i}${r.maximum.toString()} ${o.unit??"elementos"}`:`Muito grande: esperado que ${r.origin??"valor"} fosse ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`Muito pequeno: esperado que ${r.origin} tivesse ${i}${r.minimum.toString()} ${o.unit}`:`Muito pequeno: esperado que ${r.origin} fosse ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Texto inv\xE1lido: deve come\xE7ar com "${i.prefix}"`:i.format==="ends_with"?`Texto inv\xE1lido: deve terminar com "${i.suffix}"`:i.format==="includes"?`Texto inv\xE1lido: deve incluir "${i.includes}"`:i.format==="regex"?`Texto inv\xE1lido: deve corresponder ao padr\xE3o ${i.pattern}`:`${n[i.format]??r.format} inv\xE1lido`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: deve ser m\xFAltiplo de ${r.divisor}`;case"unrecognized_keys":return`Chave${r.keys.length>1?"s":""} desconhecida${r.keys.length>1?"s":""}: ${D(r.keys,", ")}`;case"invalid_key":return`Chave inv\xE1lida em ${r.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido em ${r.origin}`;default:return"Campo inv\xE1lido"}}};function $6(){return{localeError:kU()}}var CU=()=>{let e={string:{unit:"caractere",verb:"s\u0103 aib\u0103"},file:{unit:"octe\u021Bi",verb:"s\u0103 aib\u0103"},array:{unit:"elemente",verb:"s\u0103 aib\u0103"},set:{unit:"elemente",verb:"s\u0103 aib\u0103"},map:{unit:"intr\u0103ri",verb:"s\u0103 aib\u0103"}};function t(r){return e[r]??null}let n={regex:"intrare",email:"adres\u0103 de 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:"dat\u0103 \u0219i or\u0103 ISO",date:"dat\u0103 ISO",time:"or\u0103 ISO",duration:"durat\u0103 ISO",ipv4:"adres\u0103 IPv4",ipv6:"adres\u0103 IPv6",mac:"adres\u0103 MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"\u0219ir codat base64",base64url:"\u0219ir codat base64url",json_string:"\u0219ir JSON",e164:"num\u0103r E.164",jwt:"JWT",template_literal:"intrare"},a={nan:"NaN",string:"\u0219ir",number:"num\u0103r",boolean:"boolean",function:"func\u021Bie",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"num\u0103r mare",void:"void",never:"never",map:"hart\u0103",set:"set"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return`Intrare invalid\u0103: a\u0219teptat ${i}, primit ${s}`}case"invalid_value":return r.values.length===1?`Intrare invalid\u0103: a\u0219teptat ${B(r.values[0])}`:`Op\u021Biune invalid\u0103: a\u0219teptat una dintre ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`Prea mare: a\u0219teptat ca ${r.origin??"valoarea"} ${o.verb} ${i}${r.maximum.toString()} ${o.unit??"elemente"}`:`Prea mare: a\u0219teptat ca ${r.origin??"valoarea"} s\u0103 fie ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`Prea mic: a\u0219teptat ca ${r.origin} ${o.verb} ${i}${r.minimum.toString()} ${o.unit}`:`Prea mic: a\u0219teptat ca ${r.origin} s\u0103 fie ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0218ir invalid: trebuie s\u0103 \xEEnceap\u0103 cu "${i.prefix}"`:i.format==="ends_with"?`\u0218ir invalid: trebuie s\u0103 se termine cu "${i.suffix}"`:i.format==="includes"?`\u0218ir invalid: trebuie s\u0103 includ\u0103 "${i.includes}"`:i.format==="regex"?`\u0218ir invalid: trebuie s\u0103 se potriveasc\u0103 cu modelul ${i.pattern}`:`Format invalid: ${n[i.format]??r.format}`}case"not_multiple_of":return`Num\u0103r invalid: trebuie s\u0103 fie multiplu de ${r.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${D(r.keys,", ")}`;case"invalid_key":return`Cheie invalid\u0103 \xEEn ${r.origin}`;case"invalid_union":return"Intrare invalid\u0103";case"invalid_element":return`Valoare invalid\u0103 \xEEn ${r.origin}`;default:return"Intrare invalid\u0103"}}};function L6(){return{localeError:CU()}}function P6(e,t,n,a){let r=Math.abs(e),i=r%10,o=r%100;return o>=11&&o<=19?a:i===1?t:i>=2&&i<=4?n:a}var OU=()=>{let e={string:{unit:{one:"\u0441\u0438\u043C\u0432\u043E\u043B",few:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",many:"\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u0430",many:"\u0431\u0430\u0439\u0442"},verb:"\u0438\u043C\u0435\u0442\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"}};function t(r){return e[r]??null}let n={regex:"\u0432\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u044F",duration:"ISO \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64",base64url:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64url",json_string:"JSON \u0441\u0442\u0440\u043E\u043A\u0430",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0432\u043E\u0434"},a={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0441\u0438\u0432"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C instanceof ${r.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${s}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${i}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${s}`}case"invalid_value":return r.values.length===1?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${B(r.values[0])}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0434\u043D\u043E \u0438\u0437 ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);if(o){let s=Number(r.maximum),u=P6(s,o.unit.one,o.unit.few,o.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${i}${r.maximum.toString()} ${u}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);if(o){let s=Number(r.minimum),u=P6(s,o.unit.one,o.unit.few,o.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${i}${r.minimum.toString()} ${u}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin} \u0431\u0443\u0434\u0435\u0442 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0430\u0447\u0438\u043D\u0430\u0442\u044C\u0441\u044F \u0441 "${i.prefix}"`:i.format==="ends_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043D\u0430 "${i.suffix}"`:i.format==="includes"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C "${i.includes}"`:i.format==="regex"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${i.pattern}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 ${n[i.format]??r.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0447\u0438\u0441\u043B\u043E: \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043D${r.keys.length>1?"\u044B\u0435":"\u044B\u0439"} \u043A\u043B\u044E\u0447${r.keys.length>1?"\u0438":""}: ${D(r.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u0432 ${r.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435";case"invalid_element":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432 ${r.origin}`;default:return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435"}}};function z6(){return{localeError:OU()}}var NU=()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function t(r){return e[r]??null}let n={regex:"vnos",email:"e-po\u0161tni 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 \u010Das",date:"ISO datum",time:"ISO \u010Das",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 \u0161tevilka",jwt:"JWT",template_literal:"vnos"},a={nan:"NaN",number:"\u0161tevilo",array:"tabela"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Neveljaven vnos: pri\u010Dakovano instanceof ${r.expected}, prejeto ${s}`:`Neveljaven vnos: pri\u010Dakovano ${i}, prejeto ${s}`}case"invalid_value":return r.values.length===1?`Neveljaven vnos: pri\u010Dakovano ${B(r.values[0])}`:`Neveljavna mo\u017Enost: pri\u010Dakovano eno izmed ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`Preveliko: pri\u010Dakovano, da bo ${r.origin??"vrednost"} imelo ${i}${r.maximum.toString()} ${o.unit??"elementov"}`:`Preveliko: pri\u010Dakovano, da bo ${r.origin??"vrednost"} ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`Premajhno: pri\u010Dakovano, da bo ${r.origin} imelo ${i}${r.minimum.toString()} ${o.unit}`:`Premajhno: pri\u010Dakovano, da bo ${r.origin} ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Neveljaven niz: mora se za\u010Deti z "${i.prefix}"`:i.format==="ends_with"?`Neveljaven niz: mora se kon\u010Dati z "${i.suffix}"`:i.format==="includes"?`Neveljaven niz: mora vsebovati "${i.includes}"`:i.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${i.pattern}`:`Neveljaven ${n[i.format]??r.format}`}case"not_multiple_of":return`Neveljavno \u0161tevilo: mora biti ve\u010Dkratnik ${r.divisor}`;case"unrecognized_keys":return`Neprepoznan${r.keys.length>1?"i klju\u010Di":" klju\u010D"}: ${D(r.keys,", ")}`;case"invalid_key":return`Neveljaven klju\u010D v ${r.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${r.origin}`;default:return"Neveljaven vnos"}}};function U6(){return{localeError:NU()}}var RU=()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att inneh\xE5lla"},set:{unit:"objekt",verb:"att inneh\xE5lla"}};function t(r){return e[r]??null}let n={regex:"regulj\xE4rt 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\xE4ng",base64url:"base64url-kodad str\xE4ng",json_string:"JSON-str\xE4ng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},a={nan:"NaN",number:"antal",array:"lista"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Ogiltig inmatning: f\xF6rv\xE4ntat instanceof ${r.expected}, fick ${s}`:`Ogiltig inmatning: f\xF6rv\xE4ntat ${i}, fick ${s}`}case"invalid_value":return r.values.length===1?`Ogiltig inmatning: f\xF6rv\xE4ntat ${B(r.values[0])}`:`Ogiltigt val: f\xF6rv\xE4ntade en av ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`F\xF6r stor(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${i}${r.maximum.toString()} ${o.unit??"element"}`:`F\xF6r stor(t): f\xF6rv\xE4ntat ${r.origin??"v\xE4rdet"} att ha ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`F\xF6r lite(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${i}${r.minimum.toString()} ${o.unit}`:`F\xF6r lite(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Ogiltig str\xE4ng: m\xE5ste b\xF6rja med "${i.prefix}"`:i.format==="ends_with"?`Ogiltig str\xE4ng: m\xE5ste sluta med "${i.suffix}"`:i.format==="includes"?`Ogiltig str\xE4ng: m\xE5ste inneh\xE5lla "${i.includes}"`:i.format==="regex"?`Ogiltig str\xE4ng: m\xE5ste matcha m\xF6nstret "${i.pattern}"`:`Ogiltig(t) ${n[i.format]??r.format}`}case"not_multiple_of":return`Ogiltigt tal: m\xE5ste vara en multipel av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ok\xE4nda nycklar":"Ok\xE4nd nyckel"}: ${D(r.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${r.origin??"v\xE4rdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xE4rde i ${r.origin??"v\xE4rdet"}`;default:return"Ogiltig input"}}};function j6(){return{localeError:RU()}}var MU=()=>{let e={string:{unit:"\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},file:{unit:"\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},array:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},set:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"}};function t(r){return e[r]??null}let n={regex:"\u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1",email:"\u0BAE\u0BBF\u0BA9\u0BCD\u0BA9\u0B9E\u0BCD\u0B9A\u0BB2\u0BCD \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",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 \u0BA4\u0BC7\u0BA4\u0BBF \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",date:"ISO \u0BA4\u0BC7\u0BA4\u0BBF",time:"ISO \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",duration:"ISO \u0B95\u0BBE\u0BB2 \u0B85\u0BB3\u0BB5\u0BC1",ipv4:"IPv4 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",ipv6:"IPv6 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",cidrv4:"IPv4 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",cidrv6:"IPv6 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",base64:"base64-encoded \u0B9A\u0BB0\u0BAE\u0BCD",base64url:"base64url-encoded \u0B9A\u0BB0\u0BAE\u0BCD",json_string:"JSON \u0B9A\u0BB0\u0BAE\u0BCD",e164:"E.164 \u0B8E\u0BA3\u0BCD",jwt:"JWT",template_literal:"input"},a={nan:"NaN",number:"\u0B8E\u0BA3\u0BCD",array:"\u0B85\u0BA3\u0BBF",null:"\u0BB5\u0BC6\u0BB1\u0BC1\u0BAE\u0BC8"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 instanceof ${r.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${s}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${i}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${s}`}case"invalid_value":return r.values.length===1?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${B(r.values[0])}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0BB0\u0BC1\u0BAA\u0BCD\u0BAA\u0BAE\u0BCD: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${D(r.values,"|")} \u0B87\u0BB2\u0BCD \u0B92\u0BA9\u0BCD\u0BB1\u0BC1`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${i}${r.maximum.toString()} ${o.unit??"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD"} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${i}${r.maximum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin} ${i}${r.minimum.toString()} ${o.unit} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin} ${i}${r.minimum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${i.prefix}" \u0B87\u0BB2\u0BCD \u0BA4\u0BCA\u0B9F\u0B99\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:i.format==="ends_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${i.suffix}" \u0B87\u0BB2\u0BCD \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0B9F\u0BC8\u0BAF \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:i.format==="includes"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${i.includes}" \u0B90 \u0B89\u0BB3\u0BCD\u0BB3\u0B9F\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:i.format==="regex"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: ${i.pattern} \u0BAE\u0BC1\u0BB1\u0BC8\u0BAA\u0BBE\u0B9F\u0BCD\u0B9F\u0BC1\u0B9F\u0BA9\u0BCD \u0BAA\u0BCA\u0BB0\u0BC1\u0BA8\u0BCD\u0BA4 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 ${n[i.format]??r.format}`}case"not_multiple_of":return`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B8E\u0BA3\u0BCD: ${r.divisor} \u0B87\u0BA9\u0BCD \u0BAA\u0BB2\u0BAE\u0BBE\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`;case"unrecognized_keys":return`\u0B85\u0B9F\u0BC8\u0BAF\u0BBE\u0BB3\u0BAE\u0BCD \u0BA4\u0BC6\u0BB0\u0BBF\u0BAF\u0BBE\u0BA4 \u0BB5\u0BBF\u0B9A\u0BC8${r.keys.length>1?"\u0B95\u0BB3\u0BCD":""}: ${D(r.keys,", ")}`;case"invalid_key":return`${r.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0B9A\u0BC8`;case"invalid_union":return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1";case"invalid_element":return`${r.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1`;default:return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1"}}};function B6(){return{localeError:MU()}}var DU=()=>{let e={string:{unit:"\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},file:{unit:"\u0E44\u0E1A\u0E15\u0E4C",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},array:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},set:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"}};function t(r){return e[r]??null}let n={regex:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19",email:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E2D\u0E35\u0E40\u0E21\u0E25",url:"URL",emoji:"\u0E2D\u0E34\u0E42\u0E21\u0E08\u0E34",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",date:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E41\u0E1A\u0E1A ISO",time:"\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",duration:"\u0E0A\u0E48\u0E27\u0E07\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",ipv4:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv4",ipv6:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv6",cidrv4:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv4",cidrv6:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv6",base64:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64",base64url:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64 \u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A URL",json_string:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",e164:"\u0E40\u0E1A\u0E2D\u0E23\u0E4C\u0E42\u0E17\u0E23\u0E28\u0E31\u0E1E\u0E17\u0E4C\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28 (E.164)",jwt:"\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",template_literal:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"},a={nan:"NaN",number:"\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02",array:"\u0E2D\u0E32\u0E23\u0E4C\u0E40\u0E23\u0E22\u0E4C (Array)",null:"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E04\u0E48\u0E32 (null)"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 instanceof ${r.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${s}`:`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${i} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${s}`}case"invalid_value":return r.values.length===1?`\u0E04\u0E48\u0E32\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${B(r.values[0])}`:`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19 ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19":"\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",o=t(r.origin);return o?`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${i} ${r.maximum.toString()} ${o.unit??"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"}`:`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${i} ${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?"\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22":"\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",o=t(r.origin);return o?`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${i} ${r.minimum.toString()} ${o.unit}`:`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${i} ${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E02\u0E36\u0E49\u0E19\u0E15\u0E49\u0E19\u0E14\u0E49\u0E27\u0E22 "${i.prefix}"`:i.format==="ends_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E25\u0E07\u0E17\u0E49\u0E32\u0E22\u0E14\u0E49\u0E27\u0E22 "${i.suffix}"`:i.format==="includes"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35 "${i.includes}" \u0E2D\u0E22\u0E39\u0E48\u0E43\u0E19\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21`:i.format==="regex"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14 ${i.pattern}`:`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: ${n[i.format]??r.format}`}case"not_multiple_of":return`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E1B\u0E47\u0E19\u0E08\u0E33\u0E19\u0E27\u0E19\u0E17\u0E35\u0E48\u0E2B\u0E32\u0E23\u0E14\u0E49\u0E27\u0E22 ${r.divisor} \u0E44\u0E14\u0E49\u0E25\u0E07\u0E15\u0E31\u0E27`;case"unrecognized_keys":return`\u0E1E\u0E1A\u0E04\u0E35\u0E22\u0E4C\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E23\u0E39\u0E49\u0E08\u0E31\u0E01: ${D(r.keys,", ")}`;case"invalid_key":return`\u0E04\u0E35\u0E22\u0E4C\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${r.origin}`;case"invalid_union":return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E44\u0E21\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E22\u0E39\u0E40\u0E19\u0E35\u0E22\u0E19\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E44\u0E27\u0E49";case"invalid_element":return`\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${r.origin}`;default:return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07"}}};function F6(){return{localeError:DU()}}var $U=()=>{let e={string:{unit:"karakter",verb:"olmal\u0131"},file:{unit:"bayt",verb:"olmal\u0131"},array:{unit:"\xF6\u011Fe",verb:"olmal\u0131"},set:{unit:"\xF6\u011Fe",verb:"olmal\u0131"}};function t(r){return e[r]??null}let n={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\xFCre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aral\u0131\u011F\u0131",cidrv6:"IPv6 aral\u0131\u011F\u0131",base64:"base64 ile \u015Fifrelenmi\u015F metin",base64url:"base64url ile \u015Fifrelenmi\u015F metin",json_string:"JSON dizesi",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"\u015Eablon dizesi"},a={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Ge\xE7ersiz de\u011Fer: beklenen instanceof ${r.expected}, al\u0131nan ${s}`:`Ge\xE7ersiz de\u011Fer: beklenen ${i}, al\u0131nan ${s}`}case"invalid_value":return r.values.length===1?`Ge\xE7ersiz de\u011Fer: beklenen ${B(r.values[0])}`:`Ge\xE7ersiz se\xE7enek: a\u015Fa\u011F\u0131dakilerden biri olmal\u0131: ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`\xC7ok b\xFCy\xFCk: beklenen ${r.origin??"de\u011Fer"} ${i}${r.maximum.toString()} ${o.unit??"\xF6\u011Fe"}`:`\xC7ok b\xFCy\xFCk: beklenen ${r.origin??"de\u011Fer"} ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`\xC7ok k\xFC\xE7\xFCk: beklenen ${r.origin} ${i}${r.minimum.toString()} ${o.unit}`:`\xC7ok k\xFC\xE7\xFCk: beklenen ${r.origin} ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Ge\xE7ersiz metin: "${i.prefix}" ile ba\u015Flamal\u0131`:i.format==="ends_with"?`Ge\xE7ersiz metin: "${i.suffix}" ile bitmeli`:i.format==="includes"?`Ge\xE7ersiz metin: "${i.includes}" i\xE7ermeli`:i.format==="regex"?`Ge\xE7ersiz metin: ${i.pattern} desenine uymal\u0131`:`Ge\xE7ersiz ${n[i.format]??r.format}`}case"not_multiple_of":return`Ge\xE7ersiz say\u0131: ${r.divisor} ile tam b\xF6l\xFCnebilmeli`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar${r.keys.length>1?"lar":""}: ${D(r.keys,", ")}`;case"invalid_key":return`${r.origin} i\xE7inde ge\xE7ersiz anahtar`;case"invalid_union":return"Ge\xE7ersiz de\u011Fer";case"invalid_element":return`${r.origin} i\xE7inde ge\xE7ersiz de\u011Fer`;default:return"Ge\xE7ersiz de\u011Fer"}}};function H6(){return{localeError:$U()}}var LU=()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},file:{unit:"\u0431\u0430\u0439\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"}};function t(r){return e[r]??null}let n={regex:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u0435\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0457 \u043F\u043E\u0448\u0442\u0438",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0434\u0430\u0442\u0430 \u0442\u0430 \u0447\u0430\u0441 ISO",date:"\u0434\u0430\u0442\u0430 ISO",time:"\u0447\u0430\u0441 ISO",duration:"\u0442\u0440\u0438\u0432\u0430\u043B\u0456\u0441\u0442\u044C ISO",ipv4:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv4",ipv6:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv6",cidrv4:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv4",cidrv6:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv6",base64:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64",base64url:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64url",json_string:"\u0440\u044F\u0434\u043E\u043A JSON",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"},a={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F instanceof ${r.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${s}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${i}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${s}`}case"invalid_value":return r.values.length===1?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${B(r.values[0])}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0430 \u043E\u043F\u0446\u0456\u044F: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F \u043E\u0434\u043D\u0435 \u0437 ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} ${o.verb} ${i}${r.maximum.toString()} ${o.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432"}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} \u0431\u0443\u0434\u0435 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin} ${o.verb} ${i}${r.minimum.toString()} ${o.unit}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin} \u0431\u0443\u0434\u0435 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043F\u043E\u0447\u0438\u043D\u0430\u0442\u0438\u0441\u044F \u0437 "${i.prefix}"`:i.format==="ends_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0437\u0430\u043A\u0456\u043D\u0447\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043D\u0430 "${i.suffix}"`:i.format==="includes"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0456\u0441\u0442\u0438\u0442\u0438 "${i.includes}"`:i.format==="regex"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${i.pattern}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 ${n[i.format]??r.format}`}case"not_multiple_of":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0447\u0438\u0441\u043B\u043E: \u043F\u043E\u0432\u0438\u043D\u043D\u043E \u0431\u0443\u0442\u0438 \u043A\u0440\u0430\u0442\u043D\u0438\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u043D\u0438\u0439 \u043A\u043B\u044E\u0447${r.keys.length>1?"\u0456":""}: ${D(r.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u043A\u043B\u044E\u0447 \u0443 ${r.origin}`;case"invalid_union":return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456";case"invalid_element":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0443 ${r.origin}`;default:return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"}}};function Sp(){return{localeError:LU()}}function Z6(){return Sp()}var PU=()=>{let e={string:{unit:"\u062D\u0631\u0648\u0641",verb:"\u06C1\u0648\u0646\u0627"},file:{unit:"\u0628\u0627\u0626\u0679\u0633",verb:"\u06C1\u0648\u0646\u0627"},array:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"},set:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"}};function t(r){return e[r]??null}let n={regex:"\u0627\u0646 \u067E\u0679",email:"\u0627\u06CC \u0645\u06CC\u0644 \u0627\u06CC\u0688\u0631\u06CC\u0633",url:"\u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",uuidv4:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 4",uuidv6:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 6",nanoid:"\u0646\u06CC\u0646\u0648 \u0622\u0626\u06CC \u0688\u06CC",guid:"\u062C\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid2:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC 2",ulid:"\u06CC\u0648 \u0627\u06CC\u0644 \u0622\u0626\u06CC \u0688\u06CC",xid:"\u0627\u06CC\u06A9\u0633 \u0622\u0626\u06CC \u0688\u06CC",ksuid:"\u06A9\u06D2 \u0627\u06CC\u0633 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",datetime:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0688\u06CC\u0679 \u0679\u0627\u0626\u0645",date:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u062A\u0627\u0631\u06CC\u062E",time:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0648\u0642\u062A",duration:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0645\u062F\u062A",ipv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0627\u06CC\u0688\u0631\u06CC\u0633",ipv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0627\u06CC\u0688\u0631\u06CC\u0633",cidrv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0631\u06CC\u0646\u062C",cidrv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0631\u06CC\u0646\u062C",base64:"\u0628\u06CC\u0633 64 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",base64url:"\u0628\u06CC\u0633 64 \u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",json_string:"\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",e164:"\u0627\u06CC 164 \u0646\u0645\u0628\u0631",jwt:"\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",template_literal:"\u0627\u0646 \u067E\u0679"},a={nan:"NaN",number:"\u0646\u0645\u0628\u0631",array:"\u0622\u0631\u06D2",null:"\u0646\u0644"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: instanceof ${r.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${s} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`:`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${i} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${s} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`}case"invalid_value":return r.values.length===1?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${B(r.values[0])} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`:`\u063A\u0644\u0637 \u0622\u067E\u0634\u0646: ${D(r.values,"|")} \u0645\u06CC\u06BA \u0633\u06D2 \u0627\u06CC\u06A9 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`\u0628\u06C1\u062A \u0628\u0691\u0627: ${r.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u06D2 ${i}${r.maximum.toString()} ${o.unit??"\u0639\u0646\u0627\u0635\u0631"} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0628\u0691\u0627: ${r.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u0627 ${i}${r.maximum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${r.origin} \u06A9\u06D2 ${i}${r.minimum.toString()} ${o.unit} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${r.origin} \u06A9\u0627 ${i}${r.minimum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${i.prefix}" \u0633\u06D2 \u0634\u0631\u0648\u0639 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:i.format==="ends_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${i.suffix}" \u067E\u0631 \u062E\u062A\u0645 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:i.format==="includes"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${i.includes}" \u0634\u0627\u0645\u0644 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:i.format==="regex"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: \u067E\u06CC\u0679\u0631\u0646 ${i.pattern} \u0633\u06D2 \u0645\u06CC\u0686 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:`\u063A\u0644\u0637 ${n[i.format]??r.format}`}case"not_multiple_of":return`\u063A\u0644\u0637 \u0646\u0645\u0628\u0631: ${r.divisor} \u06A9\u0627 \u0645\u0636\u0627\u0639\u0641 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`;case"unrecognized_keys":return`\u063A\u06CC\u0631 \u062A\u0633\u0644\u06CC\u0645 \u0634\u062F\u06C1 \u06A9\u06CC${r.keys.length>1?"\u0632":""}: ${D(r.keys,"\u060C ")}`;case"invalid_key":return`${r.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u06A9\u06CC`;case"invalid_union":return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679";case"invalid_element":return`${r.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u0648\u06CC\u0644\u06CC\u0648`;default:return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679"}}};function q6(){return{localeError:PU()}}var zU=()=>{let e={string:{unit:"belgi",verb:"bo\u2018lishi kerak"},file:{unit:"bayt",verb:"bo\u2018lishi kerak"},array:{unit:"element",verb:"bo\u2018lishi kerak"},set:{unit:"element",verb:"bo\u2018lishi kerak"},map:{unit:"yozuv",verb:"bo\u2018lishi kerak"}};function t(r){return e[r]??null}let n={regex:"kirish",email:"elektron pochta manzili",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 sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},a={nan:"NaN",number:"raqam",array:"massiv"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`Noto\u2018g\u2018ri kirish: kutilgan instanceof ${r.expected}, qabul qilingan ${s}`:`Noto\u2018g\u2018ri kirish: kutilgan ${i}, qabul qilingan ${s}`}case"invalid_value":return r.values.length===1?`Noto\u2018g\u2018ri kirish: kutilgan ${B(r.values[0])}`:`Noto\u2018g\u2018ri variant: quyidagilardan biri kutilgan ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`Juda katta: kutilgan ${r.origin??"qiymat"} ${i}${r.maximum.toString()} ${o.unit} ${o.verb}`:`Juda katta: kutilgan ${r.origin??"qiymat"} ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`Juda kichik: kutilgan ${r.origin} ${i}${r.minimum.toString()} ${o.unit} ${o.verb}`:`Juda kichik: kutilgan ${r.origin} ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Noto\u2018g\u2018ri satr: "${i.prefix}" bilan boshlanishi kerak`:i.format==="ends_with"?`Noto\u2018g\u2018ri satr: "${i.suffix}" bilan tugashi kerak`:i.format==="includes"?`Noto\u2018g\u2018ri satr: "${i.includes}" ni o\u2018z ichiga olishi kerak`:i.format==="regex"?`Noto\u2018g\u2018ri satr: ${i.pattern} shabloniga mos kelishi kerak`:`Noto\u2018g\u2018ri ${n[i.format]??r.format}`}case"not_multiple_of":return`Noto\u2018g\u2018ri raqam: ${r.divisor} ning karralisi bo\u2018lishi kerak`;case"unrecognized_keys":return`Noma\u2019lum kalit${r.keys.length>1?"lar":""}: ${D(r.keys,", ")}`;case"invalid_key":return`${r.origin} dagi kalit noto\u2018g\u2018ri`;case"invalid_union":return"Noto\u2018g\u2018ri kirish";case"invalid_element":return`${r.origin} da noto\u2018g\u2018ri qiymat`;default:return"Noto\u2018g\u2018ri kirish"}}};function V6(){return{localeError:zU()}}var UU=()=>{let e={string:{unit:"k\xFD t\u1EF1",verb:"c\xF3"},file:{unit:"byte",verb:"c\xF3"},array:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"},set:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"}};function t(r){return e[r]??null}let n={regex:"\u0111\u1EA7u v\xE0o",email:"\u0111\u1ECBa ch\u1EC9 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\xE0y gi\u1EDD ISO",date:"ng\xE0y ISO",time:"gi\u1EDD ISO",duration:"kho\u1EA3ng th\u1EDDi gian ISO",ipv4:"\u0111\u1ECBa ch\u1EC9 IPv4",ipv6:"\u0111\u1ECBa ch\u1EC9 IPv6",cidrv4:"d\u1EA3i IPv4",cidrv6:"d\u1EA3i IPv6",base64:"chu\u1ED7i m\xE3 h\xF3a base64",base64url:"chu\u1ED7i m\xE3 h\xF3a base64url",json_string:"chu\u1ED7i JSON",e164:"s\u1ED1 E.164",jwt:"JWT",template_literal:"\u0111\u1EA7u v\xE0o"},a={nan:"NaN",number:"s\u1ED1",array:"m\u1EA3ng"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i instanceof ${r.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${s}`:`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${i}, nh\u1EADn \u0111\u01B0\u1EE3c ${s}`}case"invalid_value":return r.values.length===1?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${B(r.values[0])}`:`T\xF9y ch\u1ECDn kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i m\u1ED9t trong c\xE1c gi\xE1 tr\u1ECB ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${r.origin??"gi\xE1 tr\u1ECB"} ${o.verb} ${i}${r.maximum.toString()} ${o.unit??"ph\u1EA7n t\u1EED"}`:`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${r.origin??"gi\xE1 tr\u1ECB"} ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${r.origin} ${o.verb} ${i}${r.minimum.toString()} ${o.unit}`:`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${r.origin} ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i b\u1EAFt \u0111\u1EA7u b\u1EB1ng "${i.prefix}"`:i.format==="ends_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i k\u1EBFt th\xFAc b\u1EB1ng "${i.suffix}"`:i.format==="includes"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i bao g\u1ED3m "${i.includes}"`:i.format==="regex"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i kh\u1EDBp v\u1EDBi m\u1EABu ${i.pattern}`:`${n[i.format]??r.format} kh\xF4ng h\u1EE3p l\u1EC7`}case"not_multiple_of":return`S\u1ED1 kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i l\xE0 b\u1ED9i s\u1ED1 c\u1EE7a ${r.divisor}`;case"unrecognized_keys":return`Kh\xF3a kh\xF4ng \u0111\u01B0\u1EE3c nh\u1EADn d\u1EA1ng: ${D(r.keys,", ")}`;case"invalid_key":return`Kh\xF3a kh\xF4ng h\u1EE3p l\u1EC7 trong ${r.origin}`;case"invalid_union":return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7";case"invalid_element":return`Gi\xE1 tr\u1ECB kh\xF4ng h\u1EE3p l\u1EC7 trong ${r.origin}`;default:return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7"}}};function Y6(){return{localeError:UU()}}var jU=()=>{let e={string:{unit:"\u5B57\u7B26",verb:"\u5305\u542B"},file:{unit:"\u5B57\u8282",verb:"\u5305\u542B"},array:{unit:"\u9879",verb:"\u5305\u542B"},set:{unit:"\u9879",verb:"\u5305\u542B"}};function t(r){return e[r]??null}let n={regex:"\u8F93\u5165",email:"\u7535\u5B50\u90AE\u4EF6",url:"URL",emoji:"\u8868\u60C5\u7B26\u53F7",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u671F\u65F6\u95F4",date:"ISO\u65E5\u671F",time:"ISO\u65F6\u95F4",duration:"ISO\u65F6\u957F",ipv4:"IPv4\u5730\u5740",ipv6:"IPv6\u5730\u5740",cidrv4:"IPv4\u7F51\u6BB5",cidrv6:"IPv6\u7F51\u6BB5",base64:"base64\u7F16\u7801\u5B57\u7B26\u4E32",base64url:"base64url\u7F16\u7801\u5B57\u7B26\u4E32",json_string:"JSON\u5B57\u7B26\u4E32",e164:"E.164\u53F7\u7801",jwt:"JWT",template_literal:"\u8F93\u5165"},a={nan:"NaN",number:"\u6570\u5B57",array:"\u6570\u7EC4",null:"\u7A7A\u503C(null)"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B instanceof ${r.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${s}`:`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${i}\uFF0C\u5B9E\u9645\u63A5\u6536 ${s}`}case"invalid_value":return r.values.length===1?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${B(r.values[0])}`:`\u65E0\u6548\u9009\u9879\uFF1A\u671F\u671B\u4EE5\u4E0B\u4E4B\u4E00 ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${r.origin??"\u503C"} ${i}${r.maximum.toString()} ${o.unit??"\u4E2A\u5143\u7D20"}`:`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${r.origin??"\u503C"} ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${r.origin} ${i}${r.minimum.toString()} ${o.unit}`:`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${r.origin} ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${i.prefix}" \u5F00\u5934`:i.format==="ends_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${i.suffix}" \u7ED3\u5C3E`:i.format==="includes"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u5305\u542B "${i.includes}"`:i.format==="regex"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u6EE1\u8DB3\u6B63\u5219\u8868\u8FBE\u5F0F ${i.pattern}`:`\u65E0\u6548${n[i.format]??r.format}`}case"not_multiple_of":return`\u65E0\u6548\u6570\u5B57\uFF1A\u5FC5\u987B\u662F ${r.divisor} \u7684\u500D\u6570`;case"unrecognized_keys":return`\u51FA\u73B0\u672A\u77E5\u7684\u952E(key): ${D(r.keys,", ")}`;case"invalid_key":return`${r.origin} \u4E2D\u7684\u952E(key)\u65E0\u6548`;case"invalid_union":return"\u65E0\u6548\u8F93\u5165";case"invalid_element":return`${r.origin} \u4E2D\u5305\u542B\u65E0\u6548\u503C(value)`;default:return"\u65E0\u6548\u8F93\u5165"}}};function G6(){return{localeError:jU()}}var BU=()=>{let e={string:{unit:"\u5B57\u5143",verb:"\u64C1\u6709"},file:{unit:"\u4F4D\u5143\u7D44",verb:"\u64C1\u6709"},array:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"},set:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"}};function t(r){return e[r]??null}let n={regex:"\u8F38\u5165",email:"\u90F5\u4EF6\u5730\u5740",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 \u65E5\u671F\u6642\u9593",date:"ISO \u65E5\u671F",time:"ISO \u6642\u9593",duration:"ISO \u671F\u9593",ipv4:"IPv4 \u4F4D\u5740",ipv6:"IPv6 \u4F4D\u5740",cidrv4:"IPv4 \u7BC4\u570D",cidrv6:"IPv6 \u7BC4\u570D",base64:"base64 \u7DE8\u78BC\u5B57\u4E32",base64url:"base64url \u7DE8\u78BC\u5B57\u4E32",json_string:"JSON \u5B57\u4E32",e164:"E.164 \u6578\u503C",jwt:"JWT",template_literal:"\u8F38\u5165"},a={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA instanceof ${r.expected}\uFF0C\u4F46\u6536\u5230 ${s}`:`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${i}\uFF0C\u4F46\u6536\u5230 ${s}`}case"invalid_value":return r.values.length===1?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${B(r.values[0])}`:`\u7121\u6548\u7684\u9078\u9805\uFF1A\u9810\u671F\u70BA\u4EE5\u4E0B\u5176\u4E2D\u4E4B\u4E00 ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${r.origin??"\u503C"} \u61C9\u70BA ${i}${r.maximum.toString()} ${o.unit??"\u500B\u5143\u7D20"}`:`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${r.origin??"\u503C"} \u61C9\u70BA ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${r.origin} \u61C9\u70BA ${i}${r.minimum.toString()} ${o.unit}`:`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${r.origin} \u61C9\u70BA ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${i.prefix}" \u958B\u982D`:i.format==="ends_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${i.suffix}" \u7D50\u5C3E`:i.format==="includes"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u5305\u542B "${i.includes}"`:i.format==="regex"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u7B26\u5408\u683C\u5F0F ${i.pattern}`:`\u7121\u6548\u7684 ${n[i.format]??r.format}`}case"not_multiple_of":return`\u7121\u6548\u7684\u6578\u5B57\uFF1A\u5FC5\u9808\u70BA ${r.divisor} \u7684\u500D\u6578`;case"unrecognized_keys":return`\u7121\u6CD5\u8B58\u5225\u7684\u9375\u503C${r.keys.length>1?"\u5011":""}\uFF1A${D(r.keys,"\u3001")}`;case"invalid_key":return`${r.origin} \u4E2D\u6709\u7121\u6548\u7684\u9375\u503C`;case"invalid_union":return"\u7121\u6548\u7684\u8F38\u5165\u503C";case"invalid_element":return`${r.origin} \u4E2D\u6709\u7121\u6548\u7684\u503C`;default:return"\u7121\u6548\u7684\u8F38\u5165\u503C"}}};function K6(){return{localeError:BU()}}var FU=()=>{let e={string:{unit:"\xE0mi",verb:"n\xED"},file:{unit:"bytes",verb:"n\xED"},array:{unit:"nkan",verb:"n\xED"},set:{unit:"nkan",verb:"n\xED"}};function t(r){return e[r]??null}let n={regex:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9",email:"\xE0d\xEDr\u1EB9\u0301s\xEC \xECm\u1EB9\u0301l\xEC",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:"\xE0k\xF3k\xF2 ISO",date:"\u1ECDj\u1ECD\u0301 ISO",time:"\xE0k\xF3k\xF2 ISO",duration:"\xE0k\xF3k\xF2 t\xF3 p\xE9 ISO",ipv4:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv4",ipv6:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv6",cidrv4:"\xE0gb\xE8gb\xE8 IPv4",cidrv6:"\xE0gb\xE8gb\xE8 IPv6",base64:"\u1ECD\u0300r\u1ECD\u0300 t\xED a k\u1ECD\u0301 n\xED base64",base64url:"\u1ECD\u0300r\u1ECD\u0300 base64url",json_string:"\u1ECD\u0300r\u1ECD\u0300 JSON",e164:"n\u1ECD\u0301mb\xE0 E.164",jwt:"JWT",template_literal:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9"},a={nan:"NaN",number:"n\u1ECD\u0301mb\xE0",array:"akop\u1ECD"};return r=>{switch(r.code){case"invalid_type":{let i=a[r.expected]??r.expected,o=F(r.input),s=a[o]??o;return/^[A-Z]/.test(r.expected)?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi instanceof ${r.expected}, \xE0m\u1ECD\u0300 a r\xED ${s}`:`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${i}, \xE0m\u1ECD\u0300 a r\xED ${s}`}case"invalid_value":return r.values.length===1?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${B(r.values[0])}`:`\xC0\u1E63\xE0y\xE0n a\u1E63\xEC\u1E63e: yan \u1ECD\u0300kan l\xE1ra ${D(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",o=t(r.origin);return o?`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${r.origin??"iye"} ${o.verb} ${i}${r.maximum} ${o.unit}`:`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 ${i}${r.maximum}`}case"too_small":{let i=r.inclusive?">=":">",o=t(r.origin);return o?`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${r.origin} ${o.verb} ${i}${r.minimum} ${o.unit}`:`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 ${i}${r.minimum}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\u1EB9\u0300r\u1EB9\u0300 p\u1EB9\u0300l\xFA "${i.prefix}"`:i.format==="ends_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 par\xED p\u1EB9\u0300l\xFA "${i.suffix}"`:i.format==="includes"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 n\xED "${i.includes}"`:i.format==="regex"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\xE1 \xE0p\u1EB9\u1EB9r\u1EB9 mu ${i.pattern}`:`A\u1E63\xEC\u1E63e: ${n[i.format]??r.format}`}case"not_multiple_of":return`N\u1ECD\u0301mb\xE0 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 j\u1EB9\u0301 \xE8y\xE0 p\xEDp\xEDn ti ${r.divisor}`;case"unrecognized_keys":return`B\u1ECDt\xECn\xEC \xE0\xECm\u1ECD\u0300: ${D(r.keys,", ")}`;case"invalid_key":return`B\u1ECDt\xECn\xEC a\u1E63\xEC\u1E63e n\xEDn\xFA ${r.origin}`;case"invalid_union":return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e";case"invalid_element":return`Iye a\u1E63\xEC\u1E63e n\xEDn\xFA ${r.origin}`;default:return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e"}}};function J6(){return{localeError:FU()}}var X6,l_=Symbol("ZodOutput"),c_=Symbol("ZodInput"),wp=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){let a=n[0];return this._map.set(t,a),a&&typeof a=="object"&&"id"in a&&this._idmap.set(a.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){let n=t._zod.parent;if(n){let a={...this.get(n)??{}};delete a.id;let r={...a,...this._map.get(t)};return Object.keys(r).length?r:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};function Ip(){return new wp}(X6=globalThis).__zod_globalRegistry??(X6.__zod_globalRegistry=Ip());var Lt=globalThis.__zod_globalRegistry;function d_(e,t){return new e({type:"string",...G(t)})}function f_(e,t){return new e({type:"string",coerce:!0,...G(t)})}function Ap(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...G(t)})}function ec(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...G(t)})}function kp(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...G(t)})}function Cp(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...G(t)})}function Op(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...G(t)})}function Np(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...G(t)})}function tc(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...G(t)})}function Rp(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...G(t)})}function Mp(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...G(t)})}function Dp(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...G(t)})}function $p(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...G(t)})}function Lp(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...G(t)})}function Pp(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...G(t)})}function zp(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...G(t)})}function Up(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...G(t)})}function jp(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...G(t)})}function p_(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...G(t)})}function Bp(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...G(t)})}function Fp(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...G(t)})}function Hp(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...G(t)})}function Zp(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...G(t)})}function qp(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...G(t)})}function Vp(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...G(t)})}var m_={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function h_(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...G(t)})}function g_(e,t){return new e({type:"string",format:"date",check:"string_format",...G(t)})}function v_(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...G(t)})}function y_(e,t){return new e({type:"string",format:"duration",check:"string_format",...G(t)})}function b_(e,t){return new e({type:"number",checks:[],...G(t)})}function __(e,t){return new e({type:"number",coerce:!0,checks:[],...G(t)})}function T_(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...G(t)})}function x_(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...G(t)})}function E_(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...G(t)})}function S_(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...G(t)})}function w_(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...G(t)})}function I_(e,t){return new e({type:"boolean",...G(t)})}function A_(e,t){return new e({type:"boolean",coerce:!0,...G(t)})}function k_(e,t){return new e({type:"bigint",...G(t)})}function C_(e,t){return new e({type:"bigint",coerce:!0,...G(t)})}function O_(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...G(t)})}function N_(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...G(t)})}function R_(e,t){return new e({type:"symbol",...G(t)})}function M_(e,t){return new e({type:"undefined",...G(t)})}function D_(e,t){return new e({type:"null",...G(t)})}function $_(e){return new e({type:"any"})}function L_(e){return new e({type:"unknown"})}function P_(e,t){return new e({type:"never",...G(t)})}function z_(e,t){return new e({type:"void",...G(t)})}function U_(e,t){return new e({type:"date",...G(t)})}function j_(e,t){return new e({type:"date",coerce:!0,...G(t)})}function B_(e,t){return new e({type:"nan",...G(t)})}function Ir(e,t){return new dp({check:"less_than",...G(t),value:e,inclusive:!1})}function Dn(e,t){return new dp({check:"less_than",...G(t),value:e,inclusive:!0})}function Ar(e,t){return new fp({check:"greater_than",...G(t),value:e,inclusive:!1})}function Jt(e,t){return new fp({check:"greater_than",...G(t),value:e,inclusive:!0})}function Yp(e){return Ar(0,e)}function Gp(e){return Ir(0,e)}function Kp(e){return Dn(0,e)}function Jp(e){return Jt(0,e)}function ai(e,t){return new Dy({check:"multiple_of",...G(t),value:e})}function ii(e,t){return new Py({check:"max_size",...G(t),maximum:e})}function kr(e,t){return new zy({check:"min_size",...G(t),minimum:e})}function eo(e,t){return new Uy({check:"size_equals",...G(t),size:e})}function to(e,t){return new jy({check:"max_length",...G(t),maximum:e})}function la(e,t){return new By({check:"min_length",...G(t),minimum:e})}function no(e,t){return new Fy({check:"length_equals",...G(t),length:e})}function Ms(e,t){return new Hy({check:"string_format",format:"regex",...G(t),pattern:e})}function Ds(e){return new Zy({check:"string_format",format:"lowercase",...G(e)})}function $s(e){return new qy({check:"string_format",format:"uppercase",...G(e)})}function Ls(e,t){return new Vy({check:"string_format",format:"includes",...G(t),includes:e})}function Ps(e,t){return new Yy({check:"string_format",format:"starts_with",...G(t),prefix:e})}function zs(e,t){return new Gy({check:"string_format",format:"ends_with",...G(t),suffix:e})}function Xp(e,t,n){return new Ky({check:"property",property:e,schema:t,...G(n)})}function Us(e,t){return new Jy({check:"mime_type",mime:e,...G(t)})}function ur(e){return new Xy({check:"overwrite",tx:e})}function js(e){return ur(t=>t.normalize(e))}function Bs(){return ur(e=>e.trim())}function Fs(){return ur(e=>e.toLowerCase())}function Hs(){return ur(e=>e.toUpperCase())}function Zs(){return ur(e=>Yv(e))}function F_(e,t,n){return new e({type:"array",element:t,...G(n)})}function ZU(e,t,n){return new e({type:"union",options:t,...G(n)})}function qU(e,t,n){return new e({type:"union",options:t,inclusive:!1,...G(n)})}function VU(e,t,n,a){return new e({type:"union",options:n,discriminator:t,...G(a)})}function YU(e,t,n){return new e({type:"intersection",left:t,right:n})}function GU(e,t,n,a){let r=n instanceof pe,i=r?a:n,o=r?n:null;return new e({type:"tuple",items:t,rest:o,...G(i)})}function KU(e,t,n,a){return new e({type:"record",keyType:t,valueType:n,...G(a)})}function JU(e,t,n,a){return new e({type:"map",keyType:t,valueType:n,...G(a)})}function XU(e,t,n){return new e({type:"set",valueType:t,...G(n)})}function QU(e,t,n){let a=Array.isArray(t)?Object.fromEntries(t.map(r=>[r,r])):t;return new e({type:"enum",entries:a,...G(n)})}function WU(e,t,n){return new e({type:"enum",entries:t,...G(n)})}function e8(e,t,n){return new e({type:"literal",values:Array.isArray(t)?t:[t],...G(n)})}function H_(e,t){return new e({type:"file",...G(t)})}function t8(e,t){return new e({type:"transform",transform:t})}function n8(e,t){return new e({type:"optional",innerType:t})}function r8(e,t){return new e({type:"nullable",innerType:t})}function a8(e,t,n){return new e({type:"default",innerType:t,get defaultValue(){return typeof n=="function"?n():Kv(n)}})}function i8(e,t,n){return new e({type:"nonoptional",innerType:t,...G(n)})}function o8(e,t){return new e({type:"success",innerType:t})}function s8(e,t,n){return new e({type:"catch",innerType:t,catchValue:typeof n=="function"?n:()=>n})}function u8(e,t,n){return new e({type:"pipe",in:t,out:n})}function l8(e,t){return new e({type:"readonly",innerType:t})}function c8(e,t,n){return new e({type:"template_literal",parts:t,...G(n)})}function d8(e,t){return new e({type:"lazy",getter:t})}function f8(e,t){return new e({type:"promise",innerType:t})}function Z_(e,t,n){let a=G(n);return a.abort??(a.abort=!0),new e({type:"custom",check:"custom",fn:t,...a})}function q_(e,t,n){return new e({type:"custom",check:"custom",fn:t,...G(n)})}function V_(e,t){let n=Q6(a=>(a.addIssue=r=>{if(typeof r=="string")a.issues.push(Is(r,a.value,n._zod.def));else{let i=r;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),i.input??(i.input=a.value),i.inst??(i.inst=n),i.continue??(i.continue=!n._zod.def.abort),a.issues.push(Is(i))}},e(a.value,a)),t);return n}function Q6(e,t){let n=new qe({check:"custom",...G(t)});return n._zod.check=e,n}function Y_(e){let t=new qe({check:"describe"});return t._zod.onattach=[n=>{let a=Lt.get(n)??{};Lt.add(n,{...a,description:e})}],t._zod.check=()=>{},t}function G_(e){let t=new qe({check:"meta"});return t._zod.onattach=[n=>{let a=Lt.get(n)??{};Lt.add(n,{...a,...e})}],t._zod.check=()=>{},t}function K_(e,t){let n=G(t),a=n.truthy??["true","1","yes","on","y","enabled"],r=n.falsy??["false","0","no","off","n","disabled"];n.case!=="sensitive"&&(a=a.map(p=>typeof p=="string"?p.toLowerCase():p),r=r.map(p=>typeof p=="string"?p.toLowerCase():p));let i=new Set(a),o=new Set(r),s=e.Codec??Xl,u=e.Boolean??Kl,l=e.String??Wi,c=new l({type:"string",error:n.error}),f=new u({type:"boolean",error:n.error}),m=new s({type:"pipe",in:c,out:f,transform:((p,b)=>{let S=p;return n.case!=="sensitive"&&(S=S.toLowerCase()),i.has(S)?!0:o.has(S)?!1:(b.issues.push({code:"invalid_value",expected:"stringbool",values:[...i,...o],input:b.value,inst:m,continue:!1}),{})}),reverseTransform:((p,b)=>p===!0?a[0]||"true":r[0]||"false"),error:n.error});return m}function qs(e,t,n,a={}){let r=G(a),i={...G(a),check:"string_format",type:"string",format:t,fn:typeof n=="function"?n:s=>n.test(s),...r};return n instanceof RegExp&&(i.pattern=n),new e(i)}function oi(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??Lt,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function De(e,t,n={path:[],schemaPath:[]}){var a;let r=e._zod.def,i=t.seen.get(e);if(i)return i.count++,n.schemaPath.includes(e)&&(i.cycle=n.path),i.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let c={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,c);else{let m=o.schema,p=t.processors[r.type];if(!p)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${r.type}`);p(e,t,m,c)}let f=e._zod.parent;f&&(o.ref||(o.ref=f),De(f,t,c),t.seen.get(f).isParent=!0)}let u=t.metadataRegistry.get(e);return u&&Object.assign(o.schema,u),t.io==="input"&&Xt(e)&&(delete o.schema.examples,delete o.schema.default),t.io==="input"&&"_prefault"in o.schema&&((a=o.schema).default??(a.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function si(e,t){let n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");let a=new Map;for(let o of e.seen.entries()){let s=e.metadataRegistry.get(o[0])?.id;if(s){let u=a.get(s);if(u&&u!==o[0])throw new Error(`Duplicate schema id "${s}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);a.set(s,o[0])}}let r=o=>{let s=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let f=e.external.registry.get(o[0])?.id,m=e.external.uri??(b=>b);if(f)return{ref:m(f)};let p=o[1].defId??o[1].schema.id??`schema${e.counter++}`;return o[1].defId=p,{defId:p,ref:`${m("__shared")}#/${s}/${p}`}}if(o[1]===n)return{ref:"#"};let l=`#/${s}/`,c=o[1].schema.id??`__schema${e.counter++}`;return{defId:c,ref:l+c}},i=o=>{if(o[1].schema.$ref)return;let s=o[1],{ref:u,defId:l}=r(o);s.def={...s.schema},l&&(s.defId=l);let c=s.schema;for(let f in c)delete c[f];c.$ref=u};if(e.cycles==="throw")for(let o of e.seen.entries()){let s=o[1];if(s.cycle)throw new Error(`Cycle detected: #/${s.cycle?.join("/")}/<root>
75
+
76
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let o of e.seen.entries()){let s=o[1];if(t===o[0]){i(o);continue}if(e.external){let l=e.external.registry.get(o[0])?.id;if(t!==o[0]&&l){i(o);continue}}if(e.metadataRegistry.get(o[0])?.id){i(o);continue}if(s.cycle){i(o);continue}if(s.count>1&&e.reused==="ref"){i(o);continue}}}function ui(e,t){let n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");let a=s=>{let u=e.seen.get(s);if(u.ref===null)return;let l=u.def??u.schema,c={...l},f=u.ref;if(u.ref=null,f){a(f);let p=e.seen.get(f),b=p.schema;if(b.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(l.allOf=l.allOf??[],l.allOf.push(b)):Object.assign(l,b),Object.assign(l,c),s._zod.parent===f)for(let C in l)C==="$ref"||C==="allOf"||C in c||delete l[C];if(b.$ref&&p.def)for(let C in l)C==="$ref"||C==="allOf"||C in p.def&&JSON.stringify(l[C])===JSON.stringify(p.def[C])&&delete l[C]}let m=s._zod.parent;if(m&&m!==f){a(m);let p=e.seen.get(m);if(p?.schema.$ref&&(l.$ref=p.schema.$ref,p.def))for(let b in l)b==="$ref"||b==="allOf"||b in p.def&&JSON.stringify(l[b])===JSON.stringify(p.def[b])&&delete l[b]}e.override({zodSchema:s,jsonSchema:l,path:u.path??[]})};for(let s of[...e.seen.entries()].reverse())a(s[0]);let r={};if(e.target==="draft-2020-12"?r.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?r.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?r.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let s=e.external.registry.get(t)?.id;if(!s)throw new Error("Schema is missing an `id` property");r.$id=e.external.uri(s)}Object.assign(r,n.def??n.schema);let i=e.metadataRegistry.get(t)?.id;i!==void 0&&r.id===i&&delete r.id;let o=e.external?.defs??{};for(let s of e.seen.entries()){let u=s[1];u.def&&u.defId&&(u.def.id===u.defId&&delete u.def.id,o[u.defId]=u.def)}e.external||Object.keys(o).length>0&&(e.target==="draft-2020-12"?r.$defs=o:r.definitions=o);try{let s=JSON.parse(JSON.stringify(r));return Object.defineProperty(s,"~standard",{value:{...t["~standard"],jsonSchema:{input:Vs(t,"input",e.processors),output:Vs(t,"output",e.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error("Error converting schema to JSON.")}}function Xt(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let a=e._zod.def;if(a.type==="transform")return!0;if(a.type==="array")return Xt(a.element,n);if(a.type==="set")return Xt(a.valueType,n);if(a.type==="lazy")return Xt(a.getter(),n);if(a.type==="promise"||a.type==="optional"||a.type==="nonoptional"||a.type==="nullable"||a.type==="readonly"||a.type==="default"||a.type==="prefault")return Xt(a.innerType,n);if(a.type==="intersection")return Xt(a.left,n)||Xt(a.right,n);if(a.type==="record"||a.type==="map")return Xt(a.keyType,n)||Xt(a.valueType,n);if(a.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:Xt(a.in,n)||Xt(a.out,n);if(a.type==="object"){for(let r in a.shape)if(Xt(a.shape[r],n))return!0;return!1}if(a.type==="union"){for(let r of a.options)if(Xt(r,n))return!0;return!1}if(a.type==="tuple"){for(let r of a.items)if(Xt(r,n))return!0;return!!(a.rest&&Xt(a.rest,n))}return!1}var J_=(e,t={})=>n=>{let a=oi({...n,processors:t});return De(e,a),si(a,e),ui(a,e)},Vs=(e,t,n={})=>a=>{let{libraryOptions:r,target:i}=a??{},o=oi({...r??{},target:i,io:t,processors:n});return De(e,o),si(o,e),ui(o,e)};var p8={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},X_=(e,t,n,a)=>{let r=n;r.type="string";let{minimum:i,maximum:o,format:s,patterns:u,contentEncoding:l}=e._zod.bag;if(typeof i=="number"&&(r.minLength=i),typeof o=="number"&&(r.maxLength=o),s&&(r.format=p8[s]??s,r.format===""&&delete r.format,s==="time"&&delete r.format),l&&(r.contentEncoding=l),u&&u.size>0){let c=[...u];c.length===1?r.pattern=c[0].source:c.length>1&&(r.allOf=[...c.map(f=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:f.source}))])}},Q_=(e,t,n,a)=>{let r=n,{minimum:i,maximum:o,format:s,multipleOf:u,exclusiveMaximum:l,exclusiveMinimum:c}=e._zod.bag;typeof s=="string"&&s.includes("int")?r.type="integer":r.type="number";let f=typeof c=="number"&&c>=(i??Number.NEGATIVE_INFINITY),m=typeof l=="number"&&l<=(o??Number.POSITIVE_INFINITY),p=t.target==="draft-04"||t.target==="openapi-3.0";f?p?(r.minimum=c,r.exclusiveMinimum=!0):r.exclusiveMinimum=c:typeof i=="number"&&(r.minimum=i),m?p?(r.maximum=l,r.exclusiveMaximum=!0):r.exclusiveMaximum=l:typeof o=="number"&&(r.maximum=o),typeof u=="number"&&(r.multipleOf=u)},W_=(e,t,n,a)=>{n.type="boolean"},e1=(e,t,n,a)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},t1=(e,t,n,a)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},n1=(e,t,n,a)=>{t.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},r1=(e,t,n,a)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},a1=(e,t,n,a)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},i1=(e,t,n,a)=>{n.not={}},o1=(e,t,n,a)=>{},s1=(e,t,n,a)=>{},u1=(e,t,n,a)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},l1=(e,t,n,a)=>{let r=e._zod.def,i=zl(r.entries);i.every(o=>typeof o=="number")&&(n.type="number"),i.every(o=>typeof o=="string")&&(n.type="string"),n.enum=i},c1=(e,t,n,a)=>{let r=e._zod.def,i=[];for(let o of r.values)if(o===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof o=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");i.push(Number(o))}else i.push(o);if(i.length!==0)if(i.length===1){let o=i[0];n.type=o===null?"null":typeof o,t.target==="draft-04"||t.target==="openapi-3.0"?n.enum=[o]:n.const=o}else i.every(o=>typeof o=="number")&&(n.type="number"),i.every(o=>typeof o=="string")&&(n.type="string"),i.every(o=>typeof o=="boolean")&&(n.type="boolean"),i.every(o=>o===null)&&(n.type="null"),n.enum=i},d1=(e,t,n,a)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},f1=(e,t,n,a)=>{let r=n,i=e._zod.pattern;if(!i)throw new Error("Pattern not found in template literal");r.type="string",r.pattern=i.source},p1=(e,t,n,a)=>{let r=n,i={type:"string",format:"binary",contentEncoding:"binary"},{minimum:o,maximum:s,mime:u}=e._zod.bag;o!==void 0&&(i.minLength=o),s!==void 0&&(i.maxLength=s),u?u.length===1?(i.contentMediaType=u[0],Object.assign(r,i)):(Object.assign(r,i),r.anyOf=u.map(l=>({contentMediaType:l}))):Object.assign(r,i)},m1=(e,t,n,a)=>{n.type="boolean"},h1=(e,t,n,a)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},g1=(e,t,n,a)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},v1=(e,t,n,a)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},y1=(e,t,n,a)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},b1=(e,t,n,a)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},_1=(e,t,n,a)=>{let r=n,i=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o=="number"&&(r.minItems=o),typeof s=="number"&&(r.maxItems=s),r.type="array",r.items=De(i.element,t,{...a,path:[...a.path,"items"]})},T1=(e,t,n,a)=>{let r=n,i=e._zod.def;r.type="object",r.properties={};let o=i.shape;for(let l in o)r.properties[l]=De(o[l],t,{...a,path:[...a.path,"properties",l]});let s=new Set(Object.keys(o)),u=new Set([...s].filter(l=>{let c=i.shape[l]._zod;return t.io==="input"?c.optin===void 0:c.optout===void 0}));u.size>0&&(r.required=Array.from(u)),i.catchall?._zod.def.type==="never"?r.additionalProperties=!1:i.catchall?i.catchall&&(r.additionalProperties=De(i.catchall,t,{...a,path:[...a.path,"additionalProperties"]})):t.io==="output"&&(r.additionalProperties=!1)},Wp=(e,t,n,a)=>{let r=e._zod.def,i=r.inclusive===!1,o=r.options.map((s,u)=>De(s,t,{...a,path:[...a.path,i?"oneOf":"anyOf",u]}));i?n.oneOf=o:n.anyOf=o},x1=(e,t,n,a)=>{let r=e._zod.def,i=De(r.left,t,{...a,path:[...a.path,"allOf",0]}),o=De(r.right,t,{...a,path:[...a.path,"allOf",1]}),s=l=>"allOf"in l&&Object.keys(l).length===1,u=[...s(i)?i.allOf:[i],...s(o)?o.allOf:[o]];n.allOf=u},E1=(e,t,n,a)=>{let r=n,i=e._zod.def;r.type="array";let o=t.target==="draft-2020-12"?"prefixItems":"items",s=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",u=i.items.map((m,p)=>De(m,t,{...a,path:[...a.path,o,p]})),l=i.rest?De(i.rest,t,{...a,path:[...a.path,s,...t.target==="openapi-3.0"?[i.items.length]:[]]}):null;t.target==="draft-2020-12"?(r.prefixItems=u,l&&(r.items=l)):t.target==="openapi-3.0"?(r.items={anyOf:u},l&&r.items.anyOf.push(l),r.minItems=u.length,l||(r.maxItems=u.length)):(r.items=u,l&&(r.additionalItems=l));let{minimum:c,maximum:f}=e._zod.bag;typeof c=="number"&&(r.minItems=c),typeof f=="number"&&(r.maxItems=f)},S1=(e,t,n,a)=>{let r=n,i=e._zod.def;r.type="object";let o=i.keyType,u=o._zod.bag?.patterns;if(i.mode==="loose"&&u&&u.size>0){let c=De(i.valueType,t,{...a,path:[...a.path,"patternProperties","*"]});r.patternProperties={};for(let f of u)r.patternProperties[f.source]=c}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(r.propertyNames=De(i.keyType,t,{...a,path:[...a.path,"propertyNames"]})),r.additionalProperties=De(i.valueType,t,{...a,path:[...a.path,"additionalProperties"]});let l=o._zod.values;if(l){let c=[...l].filter(f=>typeof f=="string"||typeof f=="number");c.length>0&&(r.required=c)}},w1=(e,t,n,a)=>{let r=e._zod.def,i=De(r.innerType,t,a),o=t.seen.get(e);t.target==="openapi-3.0"?(o.ref=r.innerType,n.nullable=!0):n.anyOf=[i,{type:"null"}]},I1=(e,t,n,a)=>{let r=e._zod.def;De(r.innerType,t,a);let i=t.seen.get(e);i.ref=r.innerType},A1=(e,t,n,a)=>{let r=e._zod.def;De(r.innerType,t,a);let i=t.seen.get(e);i.ref=r.innerType,n.default=JSON.parse(JSON.stringify(r.defaultValue))},k1=(e,t,n,a)=>{let r=e._zod.def;De(r.innerType,t,a);let i=t.seen.get(e);i.ref=r.innerType,t.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(r.defaultValue)))},C1=(e,t,n,a)=>{let r=e._zod.def;De(r.innerType,t,a);let i=t.seen.get(e);i.ref=r.innerType;let o;try{o=r.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=o},O1=(e,t,n,a)=>{let r=e._zod.def,i=r.in._zod.traits.has("$ZodTransform"),o=t.io==="input"?i?r.out:r.in:r.out;De(o,t,a);let s=t.seen.get(e);s.ref=o},N1=(e,t,n,a)=>{let r=e._zod.def;De(r.innerType,t,a);let i=t.seen.get(e);i.ref=r.innerType,n.readOnly=!0},R1=(e,t,n,a)=>{let r=e._zod.def;De(r.innerType,t,a);let i=t.seen.get(e);i.ref=r.innerType},em=(e,t,n,a)=>{let r=e._zod.def;De(r.innerType,t,a);let i=t.seen.get(e);i.ref=r.innerType},M1=(e,t,n,a)=>{let r=e._zod.innerType;De(r,t,a);let i=t.seen.get(e);i.ref=r},Qp={string:X_,number:Q_,boolean:W_,bigint:e1,symbol:t1,null:n1,undefined:r1,void:a1,never:i1,any:o1,unknown:s1,date:u1,enum:l1,literal:c1,nan:d1,template_literal:f1,file:p1,success:m1,custom:h1,function:g1,transform:v1,map:y1,set:b1,array:_1,object:T1,union:Wp,intersection:x1,tuple:E1,record:S1,nullable:w1,nonoptional:I1,default:A1,prefault:k1,catch:C1,pipe:O1,readonly:N1,promise:R1,optional:em,lazy:M1};function Ys(e,t){if("_idmap"in e){let a=e,r=oi({...t,processors:Qp}),i={};for(let u of a._idmap.entries()){let[l,c]=u;De(c,r)}let o={},s={registry:a,uri:t?.uri,defs:i};r.external=s;for(let u of a._idmap.entries()){let[l,c]=u;si(r,c),o[l]=ui(r,c)}if(Object.keys(i).length>0){let u=r.target==="draft-2020-12"?"$defs":"definitions";o.__shared={[u]:i}}return{schemas:o}}let n=oi({...t,processors:Qp});return De(e,n),si(n,e),ui(n,e)}var tm=class{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(t){this.ctx.counter=t}get seen(){return this.ctx.seen}constructor(t){let n=t?.target??"draft-2020-12";n==="draft-4"&&(n="draft-04"),n==="draft-7"&&(n="draft-07"),this.ctx=oi({processors:Qp,target:n,...t?.metadata&&{metadata:t.metadata},...t?.unrepresentable&&{unrepresentable:t.unrepresentable},...t?.override&&{override:t.override},...t?.io&&{io:t.io}})}process(t,n={path:[],schemaPath:[]}){return De(t,this.ctx,n)}emit(t,n){n&&(n.cycles&&(this.ctx.cycles=n.cycles),n.reused&&(this.ctx.reused=n.reused),n.external&&(this.ctx.external=n.external)),si(this.ctx,t);let a=ui(this.ctx,t),{"~standard":r,...i}=a;return i}};var W6={};var nc={};Tn(nc,{ZodAny:()=>nT,ZodArray:()=>oT,ZodBase64:()=>xm,ZodBase64URL:()=>Em,ZodBigInt:()=>tu,ZodBigIntFormat:()=>Im,ZodBoolean:()=>eu,ZodCIDRv4:()=>_m,ZodCIDRv6:()=>Tm,ZodCUID:()=>pm,ZodCUID2:()=>mm,ZodCatch:()=>kT,ZodCodec:()=>hc,ZodCustom:()=>gc,ZodCustomStringFormat:()=>Qs,ZodDate:()=>cc,ZodDefault:()=>xT,ZodDiscriminatedUnion:()=>uT,ZodE164:()=>Sm,ZodEmail:()=>cm,ZodEmoji:()=>dm,ZodEnum:()=>Js,ZodExactOptional:()=>bT,ZodFile:()=>vT,ZodFunction:()=>zT,ZodGUID:()=>ic,ZodIPv4:()=>ym,ZodIPv6:()=>bm,ZodIntersection:()=>lT,ZodJWT:()=>wm,ZodKSUID:()=>vm,ZodLazy:()=>$T,ZodLiteral:()=>gT,ZodMAC:()=>K1,ZodMap:()=>mT,ZodNaN:()=>OT,ZodNanoID:()=>fm,ZodNever:()=>aT,ZodNonOptional:()=>Rm,ZodNull:()=>eT,ZodNullable:()=>TT,ZodNumber:()=>Ws,ZodNumberFormat:()=>ao,ZodObject:()=>fc,ZodOptional:()=>Nm,ZodPipe:()=>mc,ZodPrefault:()=>ST,ZodPreprocess:()=>NT,ZodPromise:()=>PT,ZodReadonly:()=>RT,ZodRecord:()=>Ks,ZodSet:()=>hT,ZodString:()=>Xs,ZodStringFormat:()=>Fe,ZodSuccess:()=>AT,ZodSymbol:()=>Q1,ZodTemplateLiteral:()=>DT,ZodTransform:()=>yT,ZodTuple:()=>dT,ZodType:()=>ve,ZodULID:()=>hm,ZodURL:()=>lc,ZodUUID:()=>Cr,ZodUndefined:()=>W1,ZodUnion:()=>pc,ZodUnknown:()=>rT,ZodVoid:()=>iT,ZodXID:()=>gm,ZodXor:()=>sT,_ZodString:()=>lm,_default:()=>ET,_function:()=>uN,any:()=>UO,array:()=>dc,base64:()=>xO,base64url:()=>EO,bigint:()=>DO,boolean:()=>X1,catch:()=>CT,check:()=>lN,cidrv4:()=>_O,cidrv6:()=>TO,codec:()=>aN,cuid:()=>fO,cuid2:()=>pO,custom:()=>cN,date:()=>BO,describe:()=>dN,discriminatedUnion:()=>YO,e164:()=>SO,email:()=>nO,emoji:()=>cO,enum:()=>Cm,exactOptional:()=>_T,file:()=>eN,float32:()=>OO,float64:()=>NO,function:()=>uN,guid:()=>rO,hash:()=>CO,hex:()=>kO,hostname:()=>AO,httpUrl:()=>lO,instanceof:()=>pN,int:()=>sm,int32:()=>RO,int64:()=>$O,intersection:()=>cT,invertCodec:()=>iN,ipv4:()=>vO,ipv6:()=>bO,json:()=>hN,jwt:()=>wO,keyof:()=>FO,ksuid:()=>gO,lazy:()=>LT,literal:()=>WO,looseObject:()=>qO,looseRecord:()=>KO,mac:()=>yO,map:()=>JO,meta:()=>fN,nan:()=>rN,nanoid:()=>dO,nativeEnum:()=>QO,never:()=>Am,nonoptional:()=>IT,null:()=>tT,nullable:()=>sc,nullish:()=>tN,number:()=>J1,object:()=>HO,optional:()=>oc,partialRecord:()=>GO,pipe:()=>um,prefault:()=>wT,preprocess:()=>gN,promise:()=>sN,readonly:()=>MT,record:()=>pT,refine:()=>UT,set:()=>XO,strictObject:()=>ZO,string:()=>ac,stringFormat:()=>IO,stringbool:()=>mN,success:()=>nN,superRefine:()=>jT,symbol:()=>PO,templateLiteral:()=>oN,transform:()=>Om,tuple:()=>fT,uint32:()=>MO,uint64:()=>LO,ulid:()=>mO,undefined:()=>zO,union:()=>km,unknown:()=>ro,url:()=>uO,uuid:()=>aO,uuidv4:()=>iO,uuidv6:()=>oO,uuidv7:()=>sO,void:()=>jO,xid:()=>hO,xor:()=>VO});var nm={};Tn(nm,{endsWith:()=>zs,gt:()=>Ar,gte:()=>Jt,includes:()=>Ls,length:()=>no,lowercase:()=>Ds,lt:()=>Ir,lte:()=>Dn,maxLength:()=>to,maxSize:()=>ii,mime:()=>Us,minLength:()=>la,minSize:()=>kr,multipleOf:()=>ai,negative:()=>Gp,nonnegative:()=>Jp,nonpositive:()=>Kp,normalize:()=>js,overwrite:()=>ur,positive:()=>Yp,property:()=>Xp,regex:()=>Ms,size:()=>eo,slugify:()=>Zs,startsWith:()=>Ps,toLowerCase:()=>Fs,toUpperCase:()=>Hs,trim:()=>Bs,uppercase:()=>$s});var Gs={};Tn(Gs,{ZodISODate:()=>am,ZodISODateTime:()=>rm,ZodISODuration:()=>om,ZodISOTime:()=>im,date:()=>$1,datetime:()=>D1,duration:()=>P1,time:()=>L1});var rm=R("ZodISODateTime",(e,t)=>{db.init(e,t),Fe.init(e,t)});function D1(e){return h_(rm,e)}var am=R("ZodISODate",(e,t)=>{fb.init(e,t),Fe.init(e,t)});function $1(e){return g_(am,e)}var im=R("ZodISOTime",(e,t)=>{pb.init(e,t),Fe.init(e,t)});function L1(e){return v_(im,e)}var om=R("ZodISODuration",(e,t)=>{mb.init(e,t),Fe.init(e,t)});function P1(e){return y_(om,e)}var eO=(e,t)=>{Hl.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:n=>ql(e,n)},flatten:{value:n=>Zl(e,n)},addIssue:{value:n=>{e.issues.push(n),e.message=JSON.stringify(e.issues,Ss,2)}},addIssues:{value:n=>{e.issues.push(...n),e.message=JSON.stringify(e.issues,Ss,2)}},isEmpty:{get(){return e.issues.length===0}}})},h8=R("ZodError",eO),mn=R("ZodError",eO,{Parent:Error});var z1=As(mn),U1=ks(mn),j1=Cs(mn),rc=Os(mn),B1=tp(mn),F1=np(mn),H1=rp(mn),Z1=ap(mn),q1=ip(mn),V1=op(mn),Y1=sp(mn),G1=up(mn);var tO=new WeakMap;function uc(e,t,n){let a=Object.getPrototypeOf(e),r=tO.get(a);if(r||(r=new Set,tO.set(a,r)),!r.has(t)){r.add(t);for(let i in n){let o=n[i];Object.defineProperty(a,i,{configurable:!0,enumerable:!1,get(){let s=o.bind(this);return Object.defineProperty(this,i,{configurable:!0,writable:!0,enumerable:!0,value:s}),s},set(s){Object.defineProperty(this,i,{configurable:!0,writable:!0,enumerable:!0,value:s})}})}}}var ve=R("ZodType",(e,t)=>(pe.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:Vs(e,"input"),output:Vs(e,"output")}}),e.toJSONSchema=J_(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(n,a)=>z1(e,n,a,{callee:e.parse}),e.safeParse=(n,a)=>j1(e,n,a),e.parseAsync=async(n,a)=>U1(e,n,a,{callee:e.parseAsync}),e.safeParseAsync=async(n,a)=>rc(e,n,a),e.spa=e.safeParseAsync,e.encode=(n,a)=>B1(e,n,a),e.decode=(n,a)=>F1(e,n,a),e.encodeAsync=async(n,a)=>H1(e,n,a),e.decodeAsync=async(n,a)=>Z1(e,n,a),e.safeEncode=(n,a)=>q1(e,n,a),e.safeDecode=(n,a)=>V1(e,n,a),e.safeEncodeAsync=async(n,a)=>Y1(e,n,a),e.safeDecodeAsync=async(n,a)=>G1(e,n,a),uc(e,"ZodType",{check(...n){let a=this.def;return this.clone(H.mergeDefs(a,{checks:[...a.checks??[],...n.map(r=>typeof r=="function"?{_zod:{check:r,def:{check:"custom"},onattach:[]}}:r)]}),{parent:!0})},with(...n){return this.check(...n)},clone(n,a){return Gt(this,n,a)},brand(){return this},register(n,a){return n.add(this,a),this},refine(n,a){return this.check(UT(n,a))},superRefine(n,a){return this.check(jT(n,a))},overwrite(n){return this.check(ur(n))},optional(){return oc(this)},exactOptional(){return _T(this)},nullable(){return sc(this)},nullish(){return oc(sc(this))},nonoptional(n){return IT(this,n)},array(){return dc(this)},or(n){return km([this,n])},and(n){return cT(this,n)},transform(n){return um(this,Om(n))},default(n){return ET(this,n)},prefault(n){return wT(this,n)},catch(n){return CT(this,n)},pipe(n){return um(this,n)},readonly(){return MT(this)},describe(n){let a=this.clone();return Lt.add(a,{description:n}),a},meta(...n){if(n.length===0)return Lt.get(this);let a=this.clone();return Lt.add(a,n[0]),a},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(n){return n(this)}}),Object.defineProperty(e,"description",{get(){return Lt.get(e)?.description},configurable:!0}),e)),lm=R("_ZodString",(e,t)=>{Wi.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(a,r,i)=>X_(e,a,r,i);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,uc(e,"_ZodString",{regex(...a){return this.check(Ms(...a))},includes(...a){return this.check(Ls(...a))},startsWith(...a){return this.check(Ps(...a))},endsWith(...a){return this.check(zs(...a))},min(...a){return this.check(la(...a))},max(...a){return this.check(to(...a))},length(...a){return this.check(no(...a))},nonempty(...a){return this.check(la(1,...a))},lowercase(a){return this.check(Ds(a))},uppercase(a){return this.check($s(a))},trim(){return this.check(Bs())},normalize(...a){return this.check(js(...a))},toLowerCase(){return this.check(Fs())},toUpperCase(){return this.check(Hs())},slugify(){return this.check(Zs())}})}),Xs=R("ZodString",(e,t)=>{Wi.init(e,t),lm.init(e,t),e.email=n=>e.check(Ap(cm,n)),e.url=n=>e.check(tc(lc,n)),e.jwt=n=>e.check(Vp(wm,n)),e.emoji=n=>e.check(Rp(dm,n)),e.guid=n=>e.check(ec(ic,n)),e.uuid=n=>e.check(kp(Cr,n)),e.uuidv4=n=>e.check(Cp(Cr,n)),e.uuidv6=n=>e.check(Op(Cr,n)),e.uuidv7=n=>e.check(Np(Cr,n)),e.nanoid=n=>e.check(Mp(fm,n)),e.guid=n=>e.check(ec(ic,n)),e.cuid=n=>e.check(Dp(pm,n)),e.cuid2=n=>e.check($p(mm,n)),e.ulid=n=>e.check(Lp(hm,n)),e.base64=n=>e.check(Hp(xm,n)),e.base64url=n=>e.check(Zp(Em,n)),e.xid=n=>e.check(Pp(gm,n)),e.ksuid=n=>e.check(zp(vm,n)),e.ipv4=n=>e.check(Up(ym,n)),e.ipv6=n=>e.check(jp(bm,n)),e.cidrv4=n=>e.check(Bp(_m,n)),e.cidrv6=n=>e.check(Fp(Tm,n)),e.e164=n=>e.check(qp(Sm,n)),e.datetime=n=>e.check(D1(n)),e.date=n=>e.check($1(n)),e.time=n=>e.check(L1(n)),e.duration=n=>e.check(P1(n))});function ac(e){return d_(Xs,e)}var Fe=R("ZodStringFormat",(e,t)=>{Be.init(e,t),lm.init(e,t)}),cm=R("ZodEmail",(e,t)=>{nb.init(e,t),Fe.init(e,t)});function nO(e){return Ap(cm,e)}var ic=R("ZodGUID",(e,t)=>{eb.init(e,t),Fe.init(e,t)});function rO(e){return ec(ic,e)}var Cr=R("ZodUUID",(e,t)=>{tb.init(e,t),Fe.init(e,t)});function aO(e){return kp(Cr,e)}function iO(e){return Cp(Cr,e)}function oO(e){return Op(Cr,e)}function sO(e){return Np(Cr,e)}var lc=R("ZodURL",(e,t)=>{rb.init(e,t),Fe.init(e,t)});function uO(e){return tc(lc,e)}function lO(e){return tc(lc,{protocol:Mn.httpProtocol,hostname:Mn.domain,...H.normalizeParams(e)})}var dm=R("ZodEmoji",(e,t)=>{ab.init(e,t),Fe.init(e,t)});function cO(e){return Rp(dm,e)}var fm=R("ZodNanoID",(e,t)=>{ib.init(e,t),Fe.init(e,t)});function dO(e){return Mp(fm,e)}var pm=R("ZodCUID",(e,t)=>{ob.init(e,t),Fe.init(e,t)});function fO(e){return Dp(pm,e)}var mm=R("ZodCUID2",(e,t)=>{sb.init(e,t),Fe.init(e,t)});function pO(e){return $p(mm,e)}var hm=R("ZodULID",(e,t)=>{ub.init(e,t),Fe.init(e,t)});function mO(e){return Lp(hm,e)}var gm=R("ZodXID",(e,t)=>{lb.init(e,t),Fe.init(e,t)});function hO(e){return Pp(gm,e)}var vm=R("ZodKSUID",(e,t)=>{cb.init(e,t),Fe.init(e,t)});function gO(e){return zp(vm,e)}var ym=R("ZodIPv4",(e,t)=>{hb.init(e,t),Fe.init(e,t)});function vO(e){return Up(ym,e)}var K1=R("ZodMAC",(e,t)=>{vb.init(e,t),Fe.init(e,t)});function yO(e){return p_(K1,e)}var bm=R("ZodIPv6",(e,t)=>{gb.init(e,t),Fe.init(e,t)});function bO(e){return jp(bm,e)}var _m=R("ZodCIDRv4",(e,t)=>{yb.init(e,t),Fe.init(e,t)});function _O(e){return Bp(_m,e)}var Tm=R("ZodCIDRv6",(e,t)=>{bb.init(e,t),Fe.init(e,t)});function TO(e){return Fp(Tm,e)}var xm=R("ZodBase64",(e,t)=>{Tb.init(e,t),Fe.init(e,t)});function xO(e){return Hp(xm,e)}var Em=R("ZodBase64URL",(e,t)=>{xb.init(e,t),Fe.init(e,t)});function EO(e){return Zp(Em,e)}var Sm=R("ZodE164",(e,t)=>{Eb.init(e,t),Fe.init(e,t)});function SO(e){return qp(Sm,e)}var wm=R("ZodJWT",(e,t)=>{Sb.init(e,t),Fe.init(e,t)});function wO(e){return Vp(wm,e)}var Qs=R("ZodCustomStringFormat",(e,t)=>{wb.init(e,t),Fe.init(e,t)});function IO(e,t,n={}){return qs(Qs,e,t,n)}function AO(e){return qs(Qs,"hostname",Mn.hostname,e)}function kO(e){return qs(Qs,"hex",Mn.hex,e)}function CO(e,t){let n=t?.enc??"hex",a=`${e}_${n}`,r=Mn[a];if(!r)throw new Error(`Unrecognized hash format: ${a}`);return qs(Qs,a,r,t)}var Ws=R("ZodNumber",(e,t)=>{vp.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(a,r,i)=>Q_(e,a,r,i),uc(e,"ZodNumber",{gt(a,r){return this.check(Ar(a,r))},gte(a,r){return this.check(Jt(a,r))},min(a,r){return this.check(Jt(a,r))},lt(a,r){return this.check(Ir(a,r))},lte(a,r){return this.check(Dn(a,r))},max(a,r){return this.check(Dn(a,r))},int(a){return this.check(sm(a))},safe(a){return this.check(sm(a))},positive(a){return this.check(Ar(0,a))},nonnegative(a){return this.check(Jt(0,a))},negative(a){return this.check(Ir(0,a))},nonpositive(a){return this.check(Dn(0,a))},multipleOf(a,r){return this.check(ai(a,r))},step(a,r){return this.check(ai(a,r))},finite(){return this}});let n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function J1(e){return b_(Ws,e)}var ao=R("ZodNumberFormat",(e,t)=>{Ib.init(e,t),Ws.init(e,t)});function sm(e){return T_(ao,e)}function OO(e){return x_(ao,e)}function NO(e){return E_(ao,e)}function RO(e){return S_(ao,e)}function MO(e){return w_(ao,e)}var eu=R("ZodBoolean",(e,t)=>{Kl.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>W_(e,n,a,r)});function X1(e){return I_(eu,e)}var tu=R("ZodBigInt",(e,t)=>{yp.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(a,r,i)=>e1(e,a,r,i),e.gte=(a,r)=>e.check(Jt(a,r)),e.min=(a,r)=>e.check(Jt(a,r)),e.gt=(a,r)=>e.check(Ar(a,r)),e.gte=(a,r)=>e.check(Jt(a,r)),e.min=(a,r)=>e.check(Jt(a,r)),e.lt=(a,r)=>e.check(Ir(a,r)),e.lte=(a,r)=>e.check(Dn(a,r)),e.max=(a,r)=>e.check(Dn(a,r)),e.positive=a=>e.check(Ar(BigInt(0),a)),e.negative=a=>e.check(Ir(BigInt(0),a)),e.nonpositive=a=>e.check(Dn(BigInt(0),a)),e.nonnegative=a=>e.check(Jt(BigInt(0),a)),e.multipleOf=(a,r)=>e.check(ai(a,r));let n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null});function DO(e){return k_(tu,e)}var Im=R("ZodBigIntFormat",(e,t)=>{Ab.init(e,t),tu.init(e,t)});function $O(e){return O_(Im,e)}function LO(e){return N_(Im,e)}var Q1=R("ZodSymbol",(e,t)=>{kb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>t1(e,n,a,r)});function PO(e){return R_(Q1,e)}var W1=R("ZodUndefined",(e,t)=>{Cb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>r1(e,n,a,r)});function zO(e){return M_(W1,e)}var eT=R("ZodNull",(e,t)=>{Ob.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>n1(e,n,a,r)});function tT(e){return D_(eT,e)}var nT=R("ZodAny",(e,t)=>{Nb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>o1(e,n,a,r)});function UO(){return $_(nT)}var rT=R("ZodUnknown",(e,t)=>{Rb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>s1(e,n,a,r)});function ro(){return L_(rT)}var aT=R("ZodNever",(e,t)=>{Mb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>i1(e,n,a,r)});function Am(e){return P_(aT,e)}var iT=R("ZodVoid",(e,t)=>{Db.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>a1(e,n,a,r)});function jO(e){return z_(iT,e)}var cc=R("ZodDate",(e,t)=>{$b.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(a,r,i)=>u1(e,a,r,i),e.min=(a,r)=>e.check(Jt(a,r)),e.max=(a,r)=>e.check(Dn(a,r));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});function BO(e){return U_(cc,e)}var oT=R("ZodArray",(e,t)=>{Lb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>_1(e,n,a,r),e.element=t.element,uc(e,"ZodArray",{min(n,a){return this.check(la(n,a))},nonempty(n){return this.check(la(1,n))},max(n,a){return this.check(to(n,a))},length(n,a){return this.check(no(n,a))},unwrap(){return this.element}})});function dc(e,t){return F_(oT,e,t)}function FO(e){let t=e._zod.def.shape;return Cm(Object.keys(t))}var fc=R("ZodObject",(e,t)=>{Pb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>T1(e,n,a,r),H.defineLazy(e,"shape",()=>t.shape),uc(e,"ZodObject",{keyof(){return Cm(Object.keys(this._zod.def.shape))},catchall(n){return this.clone({...this._zod.def,catchall:n})},passthrough(){return this.clone({...this._zod.def,catchall:ro()})},loose(){return this.clone({...this._zod.def,catchall:ro()})},strict(){return this.clone({...this._zod.def,catchall:Am()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(n){return H.extend(this,n)},safeExtend(n){return H.safeExtend(this,n)},merge(n){return H.merge(this,n)},pick(n){return H.pick(this,n)},omit(n){return H.omit(this,n)},partial(...n){return H.partial(Nm,this,n[0])},required(...n){return H.required(Rm,this,n[0])}})});function HO(e,t){let n={type:"object",shape:e??{},...H.normalizeParams(t)};return new fc(n)}function ZO(e,t){return new fc({type:"object",shape:e,catchall:Am(),...H.normalizeParams(t)})}function qO(e,t){return new fc({type:"object",shape:e,catchall:ro(),...H.normalizeParams(t)})}var pc=R("ZodUnion",(e,t)=>{Jl.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>Wp(e,n,a,r),e.options=t.options});function km(e,t){return new pc({type:"union",options:e,...H.normalizeParams(t)})}var sT=R("ZodXor",(e,t)=>{pc.init(e,t),zb.init(e,t),e._zod.processJSONSchema=(n,a,r)=>Wp(e,n,a,r),e.options=t.options});function VO(e,t){return new sT({type:"union",options:e,inclusive:!1,...H.normalizeParams(t)})}var uT=R("ZodDiscriminatedUnion",(e,t)=>{pc.init(e,t),Ub.init(e,t)});function YO(e,t,n){return new uT({type:"union",options:t,discriminator:e,...H.normalizeParams(n)})}var lT=R("ZodIntersection",(e,t)=>{jb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>x1(e,n,a,r)});function cT(e,t){return new lT({type:"intersection",left:e,right:t})}var dT=R("ZodTuple",(e,t)=>{bp.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>E1(e,n,a,r),e.rest=n=>e.clone({...e._zod.def,rest:n})});function fT(e,t,n){let a=t instanceof pe,r=a?n:t,i=a?t:null;return new dT({type:"tuple",items:e,rest:i,...H.normalizeParams(r)})}var Ks=R("ZodRecord",(e,t)=>{Bb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>S1(e,n,a,r),e.keyType=t.keyType,e.valueType=t.valueType});function pT(e,t,n){return!t||!t._zod?new Ks({type:"record",keyType:ac(),valueType:e,...H.normalizeParams(t)}):new Ks({type:"record",keyType:e,valueType:t,...H.normalizeParams(n)})}function GO(e,t,n){let a=Gt(e);return a._zod.values=void 0,new Ks({type:"record",keyType:a,valueType:t,...H.normalizeParams(n)})}function KO(e,t,n){return new Ks({type:"record",keyType:e,valueType:t,mode:"loose",...H.normalizeParams(n)})}var mT=R("ZodMap",(e,t)=>{Fb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>y1(e,n,a,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...n)=>e.check(kr(...n)),e.nonempty=n=>e.check(kr(1,n)),e.max=(...n)=>e.check(ii(...n)),e.size=(...n)=>e.check(eo(...n))});function JO(e,t,n){return new mT({type:"map",keyType:e,valueType:t,...H.normalizeParams(n)})}var hT=R("ZodSet",(e,t)=>{Hb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>b1(e,n,a,r),e.min=(...n)=>e.check(kr(...n)),e.nonempty=n=>e.check(kr(1,n)),e.max=(...n)=>e.check(ii(...n)),e.size=(...n)=>e.check(eo(...n))});function XO(e,t){return new hT({type:"set",valueType:e,...H.normalizeParams(t)})}var Js=R("ZodEnum",(e,t)=>{Zb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(a,r,i)=>l1(e,a,r,i),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(a,r)=>{let i={};for(let o of a)if(n.has(o))i[o]=t.entries[o];else throw new Error(`Key ${o} not found in enum`);return new Js({...t,checks:[],...H.normalizeParams(r),entries:i})},e.exclude=(a,r)=>{let i={...t.entries};for(let o of a)if(n.has(o))delete i[o];else throw new Error(`Key ${o} not found in enum`);return new Js({...t,checks:[],...H.normalizeParams(r),entries:i})}});function Cm(e,t){let n=Array.isArray(e)?Object.fromEntries(e.map(a=>[a,a])):e;return new Js({type:"enum",entries:n,...H.normalizeParams(t)})}function QO(e,t){return new Js({type:"enum",entries:e,...H.normalizeParams(t)})}var gT=R("ZodLiteral",(e,t)=>{qb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>c1(e,n,a,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function WO(e,t){return new gT({type:"literal",values:Array.isArray(e)?e:[e],...H.normalizeParams(t)})}var vT=R("ZodFile",(e,t)=>{Vb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>p1(e,n,a,r),e.min=(n,a)=>e.check(kr(n,a)),e.max=(n,a)=>e.check(ii(n,a)),e.mime=(n,a)=>e.check(Us(Array.isArray(n)?n:[n],a))});function eN(e){return H_(vT,e)}var yT=R("ZodTransform",(e,t)=>{Yb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>v1(e,n,a,r),e._zod.parse=(n,a)=>{if(a.direction==="backward")throw new Wa(e.constructor.name);n.addIssue=i=>{if(typeof i=="string")n.issues.push(H.issue(i,n.value,t));else{let o=i;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=n.value),o.inst??(o.inst=e),n.issues.push(H.issue(o))}};let r=t.transform(n.value,n);return r instanceof Promise?r.then(i=>(n.value=i,n.fallback=!0,n)):(n.value=r,n.fallback=!0,n)}});function Om(e){return new yT({type:"transform",transform:e})}var Nm=R("ZodOptional",(e,t)=>{_p.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>em(e,n,a,r),e.unwrap=()=>e._zod.def.innerType});function oc(e){return new Nm({type:"optional",innerType:e})}var bT=R("ZodExactOptional",(e,t)=>{Gb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>em(e,n,a,r),e.unwrap=()=>e._zod.def.innerType});function _T(e){return new bT({type:"optional",innerType:e})}var TT=R("ZodNullable",(e,t)=>{Kb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>w1(e,n,a,r),e.unwrap=()=>e._zod.def.innerType});function sc(e){return new TT({type:"nullable",innerType:e})}function tN(e){return oc(sc(e))}var xT=R("ZodDefault",(e,t)=>{Jb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>A1(e,n,a,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function ET(e,t){return new xT({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():H.shallowClone(t)}})}var ST=R("ZodPrefault",(e,t)=>{Xb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>k1(e,n,a,r),e.unwrap=()=>e._zod.def.innerType});function wT(e,t){return new ST({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():H.shallowClone(t)}})}var Rm=R("ZodNonOptional",(e,t)=>{Qb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>I1(e,n,a,r),e.unwrap=()=>e._zod.def.innerType});function IT(e,t){return new Rm({type:"nonoptional",innerType:e,...H.normalizeParams(t)})}var AT=R("ZodSuccess",(e,t)=>{Wb.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>m1(e,n,a,r),e.unwrap=()=>e._zod.def.innerType});function nN(e){return new AT({type:"success",innerType:e})}var kT=R("ZodCatch",(e,t)=>{e_.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>C1(e,n,a,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function CT(e,t){return new kT({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}var OT=R("ZodNaN",(e,t)=>{t_.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>d1(e,n,a,r)});function rN(e){return B_(OT,e)}var mc=R("ZodPipe",(e,t)=>{Tp.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>O1(e,n,a,r),e.in=t.in,e.out=t.out});function um(e,t){return new mc({type:"pipe",in:e,out:t})}var hc=R("ZodCodec",(e,t)=>{mc.init(e,t),Xl.init(e,t)});function aN(e,t,n){return new hc({type:"pipe",in:e,out:t,transform:n.decode,reverseTransform:n.encode})}function iN(e){let t=e._zod.def;return new hc({type:"pipe",in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}var NT=R("ZodPreprocess",(e,t)=>{mc.init(e,t),n_.init(e,t)}),RT=R("ZodReadonly",(e,t)=>{r_.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>N1(e,n,a,r),e.unwrap=()=>e._zod.def.innerType});function MT(e){return new RT({type:"readonly",innerType:e})}var DT=R("ZodTemplateLiteral",(e,t)=>{a_.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>f1(e,n,a,r)});function oN(e,t){return new DT({type:"template_literal",parts:e,...H.normalizeParams(t)})}var $T=R("ZodLazy",(e,t)=>{s_.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>M1(e,n,a,r),e.unwrap=()=>e._zod.def.getter()});function LT(e){return new $T({type:"lazy",getter:e})}var PT=R("ZodPromise",(e,t)=>{o_.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>R1(e,n,a,r),e.unwrap=()=>e._zod.def.innerType});function sN(e){return new PT({type:"promise",innerType:e})}var zT=R("ZodFunction",(e,t)=>{i_.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>g1(e,n,a,r)});function uN(e){return new zT({type:"function",input:Array.isArray(e?.input)?fT(e?.input):e?.input??dc(ro()),output:e?.output??ro()})}var gc=R("ZodCustom",(e,t)=>{u_.init(e,t),ve.init(e,t),e._zod.processJSONSchema=(n,a,r)=>h1(e,n,a,r)});function lN(e){let t=new qe({check:"custom"});return t._zod.check=e,t}function cN(e,t){return Z_(gc,e??(()=>!0),t)}function UT(e,t={}){return q_(gc,e,t)}function jT(e,t){return V_(e,t)}var dN=Y_,fN=G_;function pN(e,t={}){let n=new gc({type:"custom",check:"custom",fn:a=>a instanceof e,abort:!0,...H.normalizeParams(t)});return n._zod.bag.Class=e,n._zod.check=a=>{a.value instanceof e||a.issues.push({code:"invalid_type",expected:e.name,input:a.value,inst:n,path:[...n._zod.def.path??[]]})},n}var mN=(...e)=>K_({Codec:hc,Boolean:eu,String:Xs},...e);function hN(e){let t=LT(()=>km([ac(e),J1(),X1(),tT(),dc(t),pT(ac(),t)]));return t}function gN(e,t){return new NT({type:"pipe",in:Om(e),out:t})}var v8={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 y8(e){st({customError:e})}function b8(){return st().customError}var BT;BT||(BT={});var J={...nc,...nm,iso:Gs},_8=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function T8(e,t){let n=e.$schema;return n==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":n==="http://json-schema.org/draft-07/schema#"?"draft-7":n==="http://json-schema.org/draft-04/schema#"?"draft-4":t??"draft-2020-12"}function x8(e,t){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");let n=e.slice(1).split("/").filter(Boolean);if(n.length===0)return t.rootSchema;let a=t.version==="draft-2020-12"?"$defs":"definitions";if(n[0]===a){let r=n[1];if(!r||!t.defs[r])throw new Error(`Reference not found: ${e}`);return t.defs[r]}throw new Error(`Reference not found: ${e}`)}function vN(e,t){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return J.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){let r=e.$ref;if(t.refs.has(r))return t.refs.get(r);if(t.processing.has(r))return J.lazy(()=>{if(!t.refs.has(r))throw new Error(`Circular reference not resolved: ${r}`);return t.refs.get(r)});t.processing.add(r);let i=x8(r,t),o=Ut(i,t);return t.refs.set(r,o),t.processing.delete(r),o}if(e.enum!==void 0){let r=e.enum;if(t.version==="openapi-3.0"&&e.nullable===!0&&r.length===1&&r[0]===null)return J.null();if(r.length===0)return J.never();if(r.length===1)return J.literal(r[0]);if(r.every(o=>typeof o=="string"))return J.enum(r);let i=r.map(o=>J.literal(o));return i.length<2?i[0]:J.union([i[0],i[1],...i.slice(2)])}if(e.const!==void 0)return J.literal(e.const);let n=e.type;if(Array.isArray(n)){let r=n.map(i=>{let o={...e,type:i};return vN(o,t)});return r.length===0?J.never():r.length===1?r[0]:J.union(r)}if(!n)return J.any();let a;switch(n){case"string":{let r=J.string();if(e.format){let i=e.format;i==="email"?r=r.check(J.email()):i==="uri"||i==="uri-reference"?r=r.check(J.url()):i==="uuid"||i==="guid"?r=r.check(J.uuid()):i==="date-time"?r=r.check(J.iso.datetime()):i==="date"?r=r.check(J.iso.date()):i==="time"?r=r.check(J.iso.time()):i==="duration"?r=r.check(J.iso.duration()):i==="ipv4"?r=r.check(J.ipv4()):i==="ipv6"?r=r.check(J.ipv6()):i==="mac"?r=r.check(J.mac()):i==="cidr"?r=r.check(J.cidrv4()):i==="cidr-v6"?r=r.check(J.cidrv6()):i==="base64"?r=r.check(J.base64()):i==="base64url"?r=r.check(J.base64url()):i==="e164"?r=r.check(J.e164()):i==="jwt"?r=r.check(J.jwt()):i==="emoji"?r=r.check(J.emoji()):i==="nanoid"?r=r.check(J.nanoid()):i==="cuid"?r=r.check(J.cuid()):i==="cuid2"?r=r.check(J.cuid2()):i==="ulid"?r=r.check(J.ulid()):i==="xid"?r=r.check(J.xid()):i==="ksuid"&&(r=r.check(J.ksuid()))}typeof e.minLength=="number"&&(r=r.min(e.minLength)),typeof e.maxLength=="number"&&(r=r.max(e.maxLength)),e.pattern&&(r=r.regex(new RegExp(e.pattern))),a=r;break}case"number":case"integer":{let r=n==="integer"?J.number().int():J.number();typeof e.minimum=="number"&&(r=r.min(e.minimum)),typeof e.maximum=="number"&&(r=r.max(e.maximum)),typeof e.exclusiveMinimum=="number"?r=r.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(r=r.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?r=r.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(r=r.lt(e.maximum)),typeof e.multipleOf=="number"&&(r=r.multipleOf(e.multipleOf)),a=r;break}case"boolean":{a=J.boolean();break}case"null":{a=J.null();break}case"object":{let r={},i=e.properties||{},o=new Set(e.required||[]);for(let[u,l]of Object.entries(i)){let c=Ut(l,t);r[u]=o.has(u)?c:c.optional()}if(e.propertyNames){let u=Ut(e.propertyNames,t),l=e.additionalProperties&&typeof e.additionalProperties=="object"?Ut(e.additionalProperties,t):J.any();if(Object.keys(r).length===0){a=J.record(u,l);break}let c=J.object(r).passthrough(),f=J.looseRecord(u,l);a=J.intersection(c,f);break}if(e.patternProperties){let u=e.patternProperties,l=Object.keys(u),c=[];for(let m of l){let p=Ut(u[m],t),b=J.string().regex(new RegExp(m));c.push(J.looseRecord(b,p))}let f=[];if(Object.keys(r).length>0&&f.push(J.object(r).passthrough()),f.push(...c),f.length===0)a=J.object({}).passthrough();else if(f.length===1)a=f[0];else{let m=J.intersection(f[0],f[1]);for(let p=2;p<f.length;p++)m=J.intersection(m,f[p]);a=m}break}let s=J.object(r);e.additionalProperties===!1?a=s.strict():typeof e.additionalProperties=="object"?a=s.catchall(Ut(e.additionalProperties,t)):a=s.passthrough();break}case"array":{let r=e.prefixItems,i=e.items;if(r&&Array.isArray(r)){let o=r.map(u=>Ut(u,t)),s=i&&typeof i=="object"&&!Array.isArray(i)?Ut(i,t):void 0;s?a=J.tuple(o).rest(s):a=J.tuple(o),typeof e.minItems=="number"&&(a=a.check(J.minLength(e.minItems))),typeof e.maxItems=="number"&&(a=a.check(J.maxLength(e.maxItems)))}else if(Array.isArray(i)){let o=i.map(u=>Ut(u,t)),s=e.additionalItems&&typeof e.additionalItems=="object"?Ut(e.additionalItems,t):void 0;s?a=J.tuple(o).rest(s):a=J.tuple(o),typeof e.minItems=="number"&&(a=a.check(J.minLength(e.minItems))),typeof e.maxItems=="number"&&(a=a.check(J.maxLength(e.maxItems)))}else if(i!==void 0){let o=Ut(i,t),s=J.array(o);typeof e.minItems=="number"&&(s=s.min(e.minItems)),typeof e.maxItems=="number"&&(s=s.max(e.maxItems)),a=s}else a=J.array(J.any());break}default:throw new Error(`Unsupported type: ${n}`)}return a}function Ut(e,t){if(typeof e=="boolean")return e?J.any():J.never();let n=vN(e,t),a=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let s=e.anyOf.map(l=>Ut(l,t)),u=J.union(s);n=a?J.intersection(n,u):u}if(e.oneOf&&Array.isArray(e.oneOf)){let s=e.oneOf.map(l=>Ut(l,t)),u=J.xor(s);n=a?J.intersection(n,u):u}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)n=a?n:J.any();else{let s=a?n:Ut(e.allOf[0],t),u=a?0:1;for(let l=u;l<e.allOf.length;l++)s=J.intersection(s,Ut(e.allOf[l],t));n=s}e.nullable===!0&&t.version==="openapi-3.0"&&(n=J.nullable(n)),e.readOnly===!0&&(n=J.readonly(n)),e.default!==void 0&&(n=n.default(e.default));let r={},i=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let s of i)s in e&&(r[s]=e[s]);let o=["contentEncoding","contentMediaType","contentSchema"];for(let s of o)s in e&&(r[s]=e[s]);for(let s of Object.keys(e))_8.has(s)||(r[s]=e[s]);return Object.keys(r).length>0&&t.registry.add(n,r),e.description&&(n=n.describe(e.description)),n}function yN(e,t){if(typeof e=="boolean")return e?J.any():J.never();let n;try{n=JSON.parse(JSON.stringify(e))}catch{throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let a=T8(n,t?.defaultTarget),r=n.$defs||n.definitions||{},i={version:a,defs:r,refs:new Map,processing:new Set,rootSchema:n,registry:t?.registry??Lt};return Ut(n,i)}var FT={};Tn(FT,{bigint:()=>I8,boolean:()=>w8,date:()=>A8,number:()=>S8,string:()=>E8});function E8(e){return f_(Xs,e)}function S8(e){return __(Ws,e)}function w8(e){return A_(eu,e)}function I8(e){return C_(tu,e)}function A8(e){return j_(cc,e)}st(xp());var Ie;(function(e){e.assertEqual=r=>{};function t(r){}e.assertIs=t;function n(r){throw new Error}e.assertNever=n,e.arrayToEnum=r=>{let i={};for(let o of r)i[o]=o;return i},e.getValidEnumValues=r=>{let i=e.objectKeys(r).filter(s=>typeof r[r[s]]!="number"),o={};for(let s of i)o[s]=r[s];return e.objectValues(o)},e.objectValues=r=>e.objectKeys(r).map(function(i){return r[i]}),e.objectKeys=typeof Object.keys=="function"?r=>Object.keys(r):r=>{let i=[];for(let o in r)Object.prototype.hasOwnProperty.call(r,o)&&i.push(o);return i},e.find=(r,i)=>{for(let o of r)if(i(o))return o},e.isInteger=typeof Number.isInteger=="function"?r=>Number.isInteger(r):r=>typeof r=="number"&&Number.isFinite(r)&&Math.floor(r)===r;function a(r,i=" | "){return r.map(o=>typeof o=="string"?`'${o}'`:o).join(i)}e.joinValues=a,e.jsonStringifyReplacer=(r,i)=>typeof i=="bigint"?i.toString():i})(Ie||(Ie={}));var bN;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(bN||(bN={}));var ee=Ie.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),da=e=>{switch(typeof e){case"undefined":return ee.undefined;case"string":return ee.string;case"number":return Number.isNaN(e)?ee.nan:ee.number;case"boolean":return ee.boolean;case"function":return ee.function;case"bigint":return ee.bigint;case"symbol":return ee.symbol;case"object":return Array.isArray(e)?ee.array:e===null?ee.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?ee.promise:typeof Map<"u"&&e instanceof Map?ee.map:typeof Set<"u"&&e instanceof Set?ee.set:typeof Date<"u"&&e instanceof Date?ee.date:ee.object;default:return ee.unknown}};var Z=Ie.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);var $n=class e extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=a=>{this.issues=[...this.issues,a]},this.addIssues=(a=[])=>{this.issues=[...this.issues,...a]};let n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){let n=t||function(i){return i.message},a={_errors:[]},r=i=>{for(let o of i.issues)if(o.code==="invalid_union")o.unionErrors.map(r);else if(o.code==="invalid_return_type")r(o.returnTypeError);else if(o.code==="invalid_arguments")r(o.argumentsError);else if(o.path.length===0)a._errors.push(n(o));else{let s=a,u=0;for(;u<o.path.length;){let l=o.path[u];u===o.path.length-1?(s[l]=s[l]||{_errors:[]},s[l]._errors.push(n(o))):s[l]=s[l]||{_errors:[]},s=s[l],u++}}};return r(this),a}static assert(t){if(!(t instanceof e))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Ie.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){let n=Object.create(null),a=[];for(let r of this.issues)if(r.path.length>0){let i=r.path[0];n[i]=n[i]||[],n[i].push(t(r))}else a.push(t(r));return{formErrors:a,fieldErrors:n}}get formErrors(){return this.flatten()}};$n.create=e=>new $n(e);var k8=(e,t)=>{let n;switch(e.code){case Z.invalid_type:e.received===ee.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case Z.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Ie.jsonStringifyReplacer)}`;break;case Z.unrecognized_keys:n=`Unrecognized key(s) in object: ${Ie.joinValues(e.keys,", ")}`;break;case Z.invalid_union:n="Invalid input";break;case Z.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Ie.joinValues(e.options)}`;break;case Z.invalid_enum_value:n=`Invalid enum value. Expected ${Ie.joinValues(e.options)}, received '${e.received}'`;break;case Z.invalid_arguments:n="Invalid function arguments";break;case Z.invalid_return_type:n="Invalid function return type";break;case Z.invalid_date:n="Invalid date";break;case Z.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Ie.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case Z.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case Z.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case Z.custom:n="Invalid input";break;case Z.invalid_intersection_types:n="Intersection results could not be merged";break;case Z.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case Z.not_finite:n="Number must be finite";break;default:n=t.defaultError,Ie.assertNever(e)}return{message:n}},li=k8;var C8=li;function vc(){return C8}var Mm=e=>{let{data:t,path:n,errorMaps:a,issueData:r}=e,i=[...n,...r.path||[]],o={...r,path:i};if(r.message!==void 0)return{...r,path:i,message:r.message};let s="",u=a.filter(l=>!!l).slice().reverse();for(let l of u)s=l(o,{data:t,defaultError:s}).message;return{...r,path:i,message:s}};function X(e,t){let n=vc(),a=Mm({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===li?void 0:li].filter(r=>!!r)});e.common.issues.push(a)}var jt=class e{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){let a=[];for(let r of n){if(r.status==="aborted")return ce;r.status==="dirty"&&t.dirty(),a.push(r.value)}return{status:t.value,value:a}}static async mergeObjectAsync(t,n){let a=[];for(let r of n){let i=await r.key,o=await r.value;a.push({key:i,value:o})}return e.mergeObjectSync(t,a)}static mergeObjectSync(t,n){let a={};for(let r of n){let{key:i,value:o}=r;if(i.status==="aborted"||o.status==="aborted")return ce;i.status==="dirty"&&t.dirty(),o.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof o.value<"u"||r.alwaysSet)&&(a[i.value]=o.value)}return{status:t.value,value:a}}},ce=Object.freeze({status:"aborted"}),nu=e=>({status:"dirty",value:e}),Qt=e=>({status:"valid",value:e}),HT=e=>e.status==="aborted",ZT=e=>e.status==="dirty",io=e=>e.status==="valid",yc=e=>typeof Promise<"u"&&e instanceof Promise;var ae;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(ae||(ae={}));var Jn=class{constructor(t,n,a,r){this._cachedPath=[],this.parent=t,this.data=n,this._path=a,this._key=r}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},_N=(e,t)=>{if(io(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let n=new $n(e.common.issues);return this._error=n,this._error}}};function ye(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:a,description:r}=e;if(t&&(n||a))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:r}:{errorMap:(o,s)=>{let{message:u}=e;return o.code==="invalid_enum_value"?{message:u??s.defaultError}:typeof s.data>"u"?{message:u??a??s.defaultError}:o.code!=="invalid_type"?{message:s.defaultError}:{message:u??n??s.defaultError}},description:r}}var _e=class{get description(){return this._def.description}_getType(t){return da(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:da(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new jt,ctx:{common:t.parent.common,data:t.data,parsedType:da(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){let n=this._parse(t);if(yc(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){let n=this._parse(t);return Promise.resolve(n)}parse(t,n){let a=this.safeParse(t,n);if(a.success)return a.data;throw a.error}safeParse(t,n){let a={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:da(t)},r=this._parseSync({data:t,path:a.path,parent:a});return _N(a,r)}"~validate"(t){let n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:da(t)};if(!this["~standard"].async)try{let a=this._parseSync({data:t,path:[],parent:n});return io(a)?{value:a.value}:{issues:n.common.issues}}catch(a){a?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(a=>io(a)?{value:a.value}:{issues:n.common.issues})}async parseAsync(t,n){let a=await this.safeParseAsync(t,n);if(a.success)return a.data;throw a.error}async safeParseAsync(t,n){let a={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:da(t)},r=this._parse({data:t,path:a.path,parent:a}),i=await(yc(r)?r:Promise.resolve(r));return _N(a,i)}refine(t,n){let a=r=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(r):n;return this._refinement((r,i)=>{let o=t(r),s=()=>i.addIssue({code:Z.custom,...a(r)});return typeof Promise<"u"&&o instanceof Promise?o.then(u=>u?!0:(s(),!1)):o?!0:(s(),!1)})}refinement(t,n){return this._refinement((a,r)=>t(a)?!0:(r.addIssue(typeof n=="function"?n(a,r):n),!1))}_refinement(t){return new cr({schema:this,typeName:Y.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return lr.create(this,this._def)}nullable(){return ma.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return di.create(this)}promise(){return oo.create(this,this._def)}or(t){return su.create([this,t],this._def)}and(t){return uu.create(this,t,this._def)}transform(t){return new cr({...ye(this._def),schema:this,typeName:Y.ZodEffects,effect:{type:"transform",transform:t}})}default(t){let n=typeof t=="function"?t:()=>t;return new pu({...ye(this._def),innerType:this,defaultValue:n,typeName:Y.ZodDefault})}brand(){return new Dm({typeName:Y.ZodBranded,type:this,...ye(this._def)})}catch(t){let n=typeof t=="function"?t:()=>t;return new mu({...ye(this._def),innerType:this,catchValue:n,typeName:Y.ZodCatch})}describe(t){let n=this.constructor;return new n({...this._def,description:t})}pipe(t){return $m.create(this,t)}readonly(){return hu.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},O8=/^c[^\s-]{8,}$/i,N8=/^[0-9a-z]+$/,R8=/^[0-9A-HJKMNP-TV-Z]{26}$/i,M8=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,D8=/^[a-z0-9_-]{21}$/i,$8=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,L8=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,P8=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,z8="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",qT,U8=/^(?:(?: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])$/,j8=/^(?:(?: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])\/(3[0-2]|[12]?[0-9])$/,B8=/^(([0-9a-fA-F]{1,4}:){7,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}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,F8=/^(([0-9a-fA-F]{1,4}:){7,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}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,H8=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Z8=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,TN="((\\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])))",q8=new RegExp(`^${TN}$`);function xN(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);let n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function V8(e){return new RegExp(`^${xN(e)}$`)}function Y8(e){let t=`${TN}T${xN(e)}`,n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function G8(e,t){return!!((t==="v4"||!t)&&U8.test(e)||(t==="v6"||!t)&&B8.test(e))}function K8(e,t){if(!$8.test(e))return!1;try{let[n]=e.split(".");if(!n)return!1;let a=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),r=JSON.parse(atob(a));return!(typeof r!="object"||r===null||"typ"in r&&r?.typ!=="JWT"||!r.alg||t&&r.alg!==t)}catch{return!1}}function J8(e,t){return!!((t==="v4"||!t)&&j8.test(e)||(t==="v6"||!t)&&F8.test(e))}var au=class e extends _e{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==ee.string){let i=this._getOrReturnCtx(t);return X(i,{code:Z.invalid_type,expected:ee.string,received:i.parsedType}),ce}let a=new jt,r;for(let i of this._def.checks)if(i.kind==="min")t.data.length<i.value&&(r=this._getOrReturnCtx(t,r),X(r,{code:Z.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),a.dirty());else if(i.kind==="max")t.data.length>i.value&&(r=this._getOrReturnCtx(t,r),X(r,{code:Z.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),a.dirty());else if(i.kind==="length"){let o=t.data.length>i.value,s=t.data.length<i.value;(o||s)&&(r=this._getOrReturnCtx(t,r),o?X(r,{code:Z.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):s&&X(r,{code:Z.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),a.dirty())}else if(i.kind==="email")P8.test(t.data)||(r=this._getOrReturnCtx(t,r),X(r,{validation:"email",code:Z.invalid_string,message:i.message}),a.dirty());else if(i.kind==="emoji")qT||(qT=new RegExp(z8,"u")),qT.test(t.data)||(r=this._getOrReturnCtx(t,r),X(r,{validation:"emoji",code:Z.invalid_string,message:i.message}),a.dirty());else if(i.kind==="uuid")M8.test(t.data)||(r=this._getOrReturnCtx(t,r),X(r,{validation:"uuid",code:Z.invalid_string,message:i.message}),a.dirty());else if(i.kind==="nanoid")D8.test(t.data)||(r=this._getOrReturnCtx(t,r),X(r,{validation:"nanoid",code:Z.invalid_string,message:i.message}),a.dirty());else if(i.kind==="cuid")O8.test(t.data)||(r=this._getOrReturnCtx(t,r),X(r,{validation:"cuid",code:Z.invalid_string,message:i.message}),a.dirty());else if(i.kind==="cuid2")N8.test(t.data)||(r=this._getOrReturnCtx(t,r),X(r,{validation:"cuid2",code:Z.invalid_string,message:i.message}),a.dirty());else if(i.kind==="ulid")R8.test(t.data)||(r=this._getOrReturnCtx(t,r),X(r,{validation:"ulid",code:Z.invalid_string,message:i.message}),a.dirty());else if(i.kind==="url")try{new URL(t.data)}catch{r=this._getOrReturnCtx(t,r),X(r,{validation:"url",code:Z.invalid_string,message:i.message}),a.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(t.data)||(r=this._getOrReturnCtx(t,r),X(r,{validation:"regex",code:Z.invalid_string,message:i.message}),a.dirty())):i.kind==="trim"?t.data=t.data.trim():i.kind==="includes"?t.data.includes(i.value,i.position)||(r=this._getOrReturnCtx(t,r),X(r,{code:Z.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),a.dirty()):i.kind==="toLowerCase"?t.data=t.data.toLowerCase():i.kind==="toUpperCase"?t.data=t.data.toUpperCase():i.kind==="startsWith"?t.data.startsWith(i.value)||(r=this._getOrReturnCtx(t,r),X(r,{code:Z.invalid_string,validation:{startsWith:i.value},message:i.message}),a.dirty()):i.kind==="endsWith"?t.data.endsWith(i.value)||(r=this._getOrReturnCtx(t,r),X(r,{code:Z.invalid_string,validation:{endsWith:i.value},message:i.message}),a.dirty()):i.kind==="datetime"?Y8(i).test(t.data)||(r=this._getOrReturnCtx(t,r),X(r,{code:Z.invalid_string,validation:"datetime",message:i.message}),a.dirty()):i.kind==="date"?q8.test(t.data)||(r=this._getOrReturnCtx(t,r),X(r,{code:Z.invalid_string,validation:"date",message:i.message}),a.dirty()):i.kind==="time"?V8(i).test(t.data)||(r=this._getOrReturnCtx(t,r),X(r,{code:Z.invalid_string,validation:"time",message:i.message}),a.dirty()):i.kind==="duration"?L8.test(t.data)||(r=this._getOrReturnCtx(t,r),X(r,{validation:"duration",code:Z.invalid_string,message:i.message}),a.dirty()):i.kind==="ip"?G8(t.data,i.version)||(r=this._getOrReturnCtx(t,r),X(r,{validation:"ip",code:Z.invalid_string,message:i.message}),a.dirty()):i.kind==="jwt"?K8(t.data,i.alg)||(r=this._getOrReturnCtx(t,r),X(r,{validation:"jwt",code:Z.invalid_string,message:i.message}),a.dirty()):i.kind==="cidr"?J8(t.data,i.version)||(r=this._getOrReturnCtx(t,r),X(r,{validation:"cidr",code:Z.invalid_string,message:i.message}),a.dirty()):i.kind==="base64"?H8.test(t.data)||(r=this._getOrReturnCtx(t,r),X(r,{validation:"base64",code:Z.invalid_string,message:i.message}),a.dirty()):i.kind==="base64url"?Z8.test(t.data)||(r=this._getOrReturnCtx(t,r),X(r,{validation:"base64url",code:Z.invalid_string,message:i.message}),a.dirty()):Ie.assertNever(i);return{status:a.value,value:t.data}}_regex(t,n,a){return this.refinement(r=>t.test(r),{validation:n,code:Z.invalid_string,...ae.errToObj(a)})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...ae.errToObj(t)})}url(t){return this._addCheck({kind:"url",...ae.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...ae.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...ae.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...ae.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...ae.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...ae.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...ae.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...ae.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...ae.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...ae.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...ae.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...ae.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:t?.offset??!1,local:t?.local??!1,...ae.errToObj(t?.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof t?.precision>"u"?null:t?.precision,...ae.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...ae.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...ae.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n?.position,...ae.errToObj(n?.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...ae.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...ae.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...ae.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...ae.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...ae.errToObj(n)})}nonempty(t){return this.min(1,ae.errToObj(t))}trim(){return new e({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new e({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new e({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(let n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(let n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}};au.create=e=>new au({checks:[],typeName:Y.ZodString,coerce:e?.coerce??!1,...ye(e)});function X8(e,t){let n=(e.toString().split(".")[1]||"").length,a=(t.toString().split(".")[1]||"").length,r=n>a?n:a,i=Number.parseInt(e.toFixed(r).replace(".","")),o=Number.parseInt(t.toFixed(r).replace(".",""));return i%o/10**r}var bc=class e extends _e{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==ee.number){let i=this._getOrReturnCtx(t);return X(i,{code:Z.invalid_type,expected:ee.number,received:i.parsedType}),ce}let a,r=new jt;for(let i of this._def.checks)i.kind==="int"?Ie.isInteger(t.data)||(a=this._getOrReturnCtx(t,a),X(a,{code:Z.invalid_type,expected:"integer",received:"float",message:i.message}),r.dirty()):i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(a=this._getOrReturnCtx(t,a),X(a,{code:Z.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),r.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(a=this._getOrReturnCtx(t,a),X(a,{code:Z.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),r.dirty()):i.kind==="multipleOf"?X8(t.data,i.value)!==0&&(a=this._getOrReturnCtx(t,a),X(a,{code:Z.not_multiple_of,multipleOf:i.value,message:i.message}),r.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(a=this._getOrReturnCtx(t,a),X(a,{code:Z.not_finite,message:i.message}),r.dirty()):Ie.assertNever(i);return{status:r.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,ae.toString(n))}gt(t,n){return this.setLimit("min",t,!1,ae.toString(n))}lte(t,n){return this.setLimit("max",t,!0,ae.toString(n))}lt(t,n){return this.setLimit("max",t,!1,ae.toString(n))}setLimit(t,n,a,r){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:a,message:ae.toString(r)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:ae.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:ae.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:ae.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:ae.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:ae.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:ae.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:ae.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:ae.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:ae.toString(t)})}get minValue(){let t=null;for(let n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(let n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&Ie.isInteger(t.value))}get isFinite(){let t=null,n=null;for(let a of this._def.checks){if(a.kind==="finite"||a.kind==="int"||a.kind==="multipleOf")return!0;a.kind==="min"?(n===null||a.value>n)&&(n=a.value):a.kind==="max"&&(t===null||a.value<t)&&(t=a.value)}return Number.isFinite(n)&&Number.isFinite(t)}};bc.create=e=>new bc({checks:[],typeName:Y.ZodNumber,coerce:e?.coerce||!1,...ye(e)});var _c=class e extends _e{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==ee.bigint)return this._getInvalidInput(t);let a,r=new jt;for(let i of this._def.checks)i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(a=this._getOrReturnCtx(t,a),X(a,{code:Z.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),r.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(a=this._getOrReturnCtx(t,a),X(a,{code:Z.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),r.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(a=this._getOrReturnCtx(t,a),X(a,{code:Z.not_multiple_of,multipleOf:i.value,message:i.message}),r.dirty()):Ie.assertNever(i);return{status:r.value,value:t.data}}_getInvalidInput(t){let n=this._getOrReturnCtx(t);return X(n,{code:Z.invalid_type,expected:ee.bigint,received:n.parsedType}),ce}gte(t,n){return this.setLimit("min",t,!0,ae.toString(n))}gt(t,n){return this.setLimit("min",t,!1,ae.toString(n))}lte(t,n){return this.setLimit("max",t,!0,ae.toString(n))}lt(t,n){return this.setLimit("max",t,!1,ae.toString(n))}setLimit(t,n,a,r){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:a,message:ae.toString(r)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:ae.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:ae.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:ae.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:ae.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:ae.toString(n)})}get minValue(){let t=null;for(let n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(let n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}};_c.create=e=>new _c({checks:[],typeName:Y.ZodBigInt,coerce:e?.coerce??!1,...ye(e)});var Tc=class extends _e{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==ee.boolean){let a=this._getOrReturnCtx(t);return X(a,{code:Z.invalid_type,expected:ee.boolean,received:a.parsedType}),ce}return Qt(t.data)}};Tc.create=e=>new Tc({typeName:Y.ZodBoolean,coerce:e?.coerce||!1,...ye(e)});var xc=class e extends _e{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==ee.date){let i=this._getOrReturnCtx(t);return X(i,{code:Z.invalid_type,expected:ee.date,received:i.parsedType}),ce}if(Number.isNaN(t.data.getTime())){let i=this._getOrReturnCtx(t);return X(i,{code:Z.invalid_date}),ce}let a=new jt,r;for(let i of this._def.checks)i.kind==="min"?t.data.getTime()<i.value&&(r=this._getOrReturnCtx(t,r),X(r,{code:Z.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),a.dirty()):i.kind==="max"?t.data.getTime()>i.value&&(r=this._getOrReturnCtx(t,r),X(r,{code:Z.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),a.dirty()):Ie.assertNever(i);return{status:a.value,value:new Date(t.data.getTime())}}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:ae.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:ae.toString(n)})}get minDate(){let t=null;for(let n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(let n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}};xc.create=e=>new xc({checks:[],coerce:e?.coerce||!1,typeName:Y.ZodDate,...ye(e)});var Ec=class extends _e{_parse(t){if(this._getType(t)!==ee.symbol){let a=this._getOrReturnCtx(t);return X(a,{code:Z.invalid_type,expected:ee.symbol,received:a.parsedType}),ce}return Qt(t.data)}};Ec.create=e=>new Ec({typeName:Y.ZodSymbol,...ye(e)});var iu=class extends _e{_parse(t){if(this._getType(t)!==ee.undefined){let a=this._getOrReturnCtx(t);return X(a,{code:Z.invalid_type,expected:ee.undefined,received:a.parsedType}),ce}return Qt(t.data)}};iu.create=e=>new iu({typeName:Y.ZodUndefined,...ye(e)});var ou=class extends _e{_parse(t){if(this._getType(t)!==ee.null){let a=this._getOrReturnCtx(t);return X(a,{code:Z.invalid_type,expected:ee.null,received:a.parsedType}),ce}return Qt(t.data)}};ou.create=e=>new ou({typeName:Y.ZodNull,...ye(e)});var Sc=class extends _e{constructor(){super(...arguments),this._any=!0}_parse(t){return Qt(t.data)}};Sc.create=e=>new Sc({typeName:Y.ZodAny,...ye(e)});var ci=class extends _e{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Qt(t.data)}};ci.create=e=>new ci({typeName:Y.ZodUnknown,...ye(e)});var Or=class extends _e{_parse(t){let n=this._getOrReturnCtx(t);return X(n,{code:Z.invalid_type,expected:ee.never,received:n.parsedType}),ce}};Or.create=e=>new Or({typeName:Y.ZodNever,...ye(e)});var wc=class extends _e{_parse(t){if(this._getType(t)!==ee.undefined){let a=this._getOrReturnCtx(t);return X(a,{code:Z.invalid_type,expected:ee.void,received:a.parsedType}),ce}return Qt(t.data)}};wc.create=e=>new wc({typeName:Y.ZodVoid,...ye(e)});var di=class e extends _e{_parse(t){let{ctx:n,status:a}=this._processInputParams(t),r=this._def;if(n.parsedType!==ee.array)return X(n,{code:Z.invalid_type,expected:ee.array,received:n.parsedType}),ce;if(r.exactLength!==null){let o=n.data.length>r.exactLength.value,s=n.data.length<r.exactLength.value;(o||s)&&(X(n,{code:o?Z.too_big:Z.too_small,minimum:s?r.exactLength.value:void 0,maximum:o?r.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),a.dirty())}if(r.minLength!==null&&n.data.length<r.minLength.value&&(X(n,{code:Z.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,message:r.minLength.message}),a.dirty()),r.maxLength!==null&&n.data.length>r.maxLength.value&&(X(n,{code:Z.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),a.dirty()),n.common.async)return Promise.all([...n.data].map((o,s)=>r.type._parseAsync(new Jn(n,o,n.path,s)))).then(o=>jt.mergeArray(a,o));let i=[...n.data].map((o,s)=>r.type._parseSync(new Jn(n,o,n.path,s)));return jt.mergeArray(a,i)}get element(){return this._def.type}min(t,n){return new e({...this._def,minLength:{value:t,message:ae.toString(n)}})}max(t,n){return new e({...this._def,maxLength:{value:t,message:ae.toString(n)}})}length(t,n){return new e({...this._def,exactLength:{value:t,message:ae.toString(n)}})}nonempty(t){return this.min(1,t)}};di.create=(e,t)=>new di({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Y.ZodArray,...ye(t)});function ru(e){if(e instanceof Ln){let t={};for(let n in e.shape){let a=e.shape[n];t[n]=lr.create(ru(a))}return new Ln({...e._def,shape:()=>t})}else return e instanceof di?new di({...e._def,type:ru(e.element)}):e instanceof lr?lr.create(ru(e.unwrap())):e instanceof ma?ma.create(ru(e.unwrap())):e instanceof pa?pa.create(e.items.map(t=>ru(t))):e}var Ln=class e extends _e{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let t=this._def.shape(),n=Ie.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==ee.object){let l=this._getOrReturnCtx(t);return X(l,{code:Z.invalid_type,expected:ee.object,received:l.parsedType}),ce}let{status:a,ctx:r}=this._processInputParams(t),{shape:i,keys:o}=this._getCached(),s=[];if(!(this._def.catchall instanceof Or&&this._def.unknownKeys==="strip"))for(let l in r.data)o.includes(l)||s.push(l);let u=[];for(let l of o){let c=i[l],f=r.data[l];u.push({key:{status:"valid",value:l},value:c._parse(new Jn(r,f,r.path,l)),alwaysSet:l in r.data})}if(this._def.catchall instanceof Or){let l=this._def.unknownKeys;if(l==="passthrough")for(let c of s)u.push({key:{status:"valid",value:c},value:{status:"valid",value:r.data[c]}});else if(l==="strict")s.length>0&&(X(r,{code:Z.unrecognized_keys,keys:s}),a.dirty());else if(l!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let l=this._def.catchall;for(let c of s){let f=r.data[c];u.push({key:{status:"valid",value:c},value:l._parse(new Jn(r,f,r.path,c)),alwaysSet:c in r.data})}}return r.common.async?Promise.resolve().then(async()=>{let l=[];for(let c of u){let f=await c.key,m=await c.value;l.push({key:f,value:m,alwaysSet:c.alwaysSet})}return l}).then(l=>jt.mergeObjectSync(a,l)):jt.mergeObjectSync(a,u)}get shape(){return this._def.shape()}strict(t){return ae.errToObj,new e({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,a)=>{let r=this._def.errorMap?.(n,a).message??a.defaultError;return n.code==="unrecognized_keys"?{message:ae.errToObj(t).message??r}:{message:r}}}:{}})}strip(){return new e({...this._def,unknownKeys:"strip"})}passthrough(){return new e({...this._def,unknownKeys:"passthrough"})}extend(t){return new e({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new e({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Y.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new e({...this._def,catchall:t})}pick(t){let n={};for(let a of Ie.objectKeys(t))t[a]&&this.shape[a]&&(n[a]=this.shape[a]);return new e({...this._def,shape:()=>n})}omit(t){let n={};for(let a of Ie.objectKeys(this.shape))t[a]||(n[a]=this.shape[a]);return new e({...this._def,shape:()=>n})}deepPartial(){return ru(this)}partial(t){let n={};for(let a of Ie.objectKeys(this.shape)){let r=this.shape[a];t&&!t[a]?n[a]=r:n[a]=r.optional()}return new e({...this._def,shape:()=>n})}required(t){let n={};for(let a of Ie.objectKeys(this.shape))if(t&&!t[a])n[a]=this.shape[a];else{let i=this.shape[a];for(;i instanceof lr;)i=i._def.innerType;n[a]=i}return new e({...this._def,shape:()=>n})}keyof(){return EN(Ie.objectKeys(this.shape))}};Ln.create=(e,t)=>new Ln({shape:()=>e,unknownKeys:"strip",catchall:Or.create(),typeName:Y.ZodObject,...ye(t)});Ln.strictCreate=(e,t)=>new Ln({shape:()=>e,unknownKeys:"strict",catchall:Or.create(),typeName:Y.ZodObject,...ye(t)});Ln.lazycreate=(e,t)=>new Ln({shape:e,unknownKeys:"strip",catchall:Or.create(),typeName:Y.ZodObject,...ye(t)});var su=class extends _e{_parse(t){let{ctx:n}=this._processInputParams(t),a=this._def.options;function r(i){for(let s of i)if(s.result.status==="valid")return s.result;for(let s of i)if(s.result.status==="dirty")return n.common.issues.push(...s.ctx.common.issues),s.result;let o=i.map(s=>new $n(s.ctx.common.issues));return X(n,{code:Z.invalid_union,unionErrors:o}),ce}if(n.common.async)return Promise.all(a.map(async i=>{let o={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:o}),ctx:o}})).then(r);{let i,o=[];for(let u of a){let l={...n,common:{...n.common,issues:[]},parent:null},c=u._parseSync({data:n.data,path:n.path,parent:l});if(c.status==="valid")return c;c.status==="dirty"&&!i&&(i={result:c,ctx:l}),l.common.issues.length&&o.push(l.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;let s=o.map(u=>new $n(u));return X(n,{code:Z.invalid_union,unionErrors:s}),ce}}get options(){return this._def.options}};su.create=(e,t)=>new su({options:e,typeName:Y.ZodUnion,...ye(t)});var fa=e=>e instanceof lu?fa(e.schema):e instanceof cr?fa(e.innerType()):e instanceof cu?[e.value]:e instanceof du?e.options:e instanceof fu?Ie.objectValues(e.enum):e instanceof pu?fa(e._def.innerType):e instanceof iu?[void 0]:e instanceof ou?[null]:e instanceof lr?[void 0,...fa(e.unwrap())]:e instanceof ma?[null,...fa(e.unwrap())]:e instanceof Dm||e instanceof hu?fa(e.unwrap()):e instanceof mu?fa(e._def.innerType):[],VT=class e extends _e{_parse(t){let{ctx:n}=this._processInputParams(t);if(n.parsedType!==ee.object)return X(n,{code:Z.invalid_type,expected:ee.object,received:n.parsedType}),ce;let a=this.discriminator,r=n.data[a],i=this.optionsMap.get(r);return i?n.common.async?i._parseAsync({data:n.data,path:n.path,parent:n}):i._parseSync({data:n.data,path:n.path,parent:n}):(X(n,{code:Z.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[a]}),ce)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,a){let r=new Map;for(let i of n){let o=fa(i.shape[t]);if(!o.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(let s of o){if(r.has(s))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(s)}`);r.set(s,i)}}return new e({typeName:Y.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:r,...ye(a)})}};function YT(e,t){let n=da(e),a=da(t);if(e===t)return{valid:!0,data:e};if(n===ee.object&&a===ee.object){let r=Ie.objectKeys(t),i=Ie.objectKeys(e).filter(s=>r.indexOf(s)!==-1),o={...e,...t};for(let s of i){let u=YT(e[s],t[s]);if(!u.valid)return{valid:!1};o[s]=u.data}return{valid:!0,data:o}}else if(n===ee.array&&a===ee.array){if(e.length!==t.length)return{valid:!1};let r=[];for(let i=0;i<e.length;i++){let o=e[i],s=t[i],u=YT(o,s);if(!u.valid)return{valid:!1};r.push(u.data)}return{valid:!0,data:r}}else return n===ee.date&&a===ee.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}var uu=class extends _e{_parse(t){let{status:n,ctx:a}=this._processInputParams(t),r=(i,o)=>{if(HT(i)||HT(o))return ce;let s=YT(i.value,o.value);return s.valid?((ZT(i)||ZT(o))&&n.dirty(),{status:n.value,value:s.data}):(X(a,{code:Z.invalid_intersection_types}),ce)};return a.common.async?Promise.all([this._def.left._parseAsync({data:a.data,path:a.path,parent:a}),this._def.right._parseAsync({data:a.data,path:a.path,parent:a})]).then(([i,o])=>r(i,o)):r(this._def.left._parseSync({data:a.data,path:a.path,parent:a}),this._def.right._parseSync({data:a.data,path:a.path,parent:a}))}};uu.create=(e,t,n)=>new uu({left:e,right:t,typeName:Y.ZodIntersection,...ye(n)});var pa=class e extends _e{_parse(t){let{status:n,ctx:a}=this._processInputParams(t);if(a.parsedType!==ee.array)return X(a,{code:Z.invalid_type,expected:ee.array,received:a.parsedType}),ce;if(a.data.length<this._def.items.length)return X(a,{code:Z.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),ce;!this._def.rest&&a.data.length>this._def.items.length&&(X(a,{code:Z.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());let i=[...a.data].map((o,s)=>{let u=this._def.items[s]||this._def.rest;return u?u._parse(new Jn(a,o,a.path,s)):null}).filter(o=>!!o);return a.common.async?Promise.all(i).then(o=>jt.mergeArray(n,o)):jt.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new e({...this._def,rest:t})}};pa.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new pa({items:e,typeName:Y.ZodTuple,rest:null,...ye(t)})};var GT=class e extends _e{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){let{status:n,ctx:a}=this._processInputParams(t);if(a.parsedType!==ee.object)return X(a,{code:Z.invalid_type,expected:ee.object,received:a.parsedType}),ce;let r=[],i=this._def.keyType,o=this._def.valueType;for(let s in a.data)r.push({key:i._parse(new Jn(a,s,a.path,s)),value:o._parse(new Jn(a,a.data[s],a.path,s)),alwaysSet:s in a.data});return a.common.async?jt.mergeObjectAsync(n,r):jt.mergeObjectSync(n,r)}get element(){return this._def.valueType}static create(t,n,a){return n instanceof _e?new e({keyType:t,valueType:n,typeName:Y.ZodRecord,...ye(a)}):new e({keyType:au.create(),valueType:t,typeName:Y.ZodRecord,...ye(n)})}},Ic=class extends _e{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){let{status:n,ctx:a}=this._processInputParams(t);if(a.parsedType!==ee.map)return X(a,{code:Z.invalid_type,expected:ee.map,received:a.parsedType}),ce;let r=this._def.keyType,i=this._def.valueType,o=[...a.data.entries()].map(([s,u],l)=>({key:r._parse(new Jn(a,s,a.path,[l,"key"])),value:i._parse(new Jn(a,u,a.path,[l,"value"]))}));if(a.common.async){let s=new Map;return Promise.resolve().then(async()=>{for(let u of o){let l=await u.key,c=await u.value;if(l.status==="aborted"||c.status==="aborted")return ce;(l.status==="dirty"||c.status==="dirty")&&n.dirty(),s.set(l.value,c.value)}return{status:n.value,value:s}})}else{let s=new Map;for(let u of o){let l=u.key,c=u.value;if(l.status==="aborted"||c.status==="aborted")return ce;(l.status==="dirty"||c.status==="dirty")&&n.dirty(),s.set(l.value,c.value)}return{status:n.value,value:s}}}};Ic.create=(e,t,n)=>new Ic({valueType:t,keyType:e,typeName:Y.ZodMap,...ye(n)});var Ac=class e extends _e{_parse(t){let{status:n,ctx:a}=this._processInputParams(t);if(a.parsedType!==ee.set)return X(a,{code:Z.invalid_type,expected:ee.set,received:a.parsedType}),ce;let r=this._def;r.minSize!==null&&a.data.size<r.minSize.value&&(X(a,{code:Z.too_small,minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,message:r.minSize.message}),n.dirty()),r.maxSize!==null&&a.data.size>r.maxSize.value&&(X(a,{code:Z.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),n.dirty());let i=this._def.valueType;function o(u){let l=new Set;for(let c of u){if(c.status==="aborted")return ce;c.status==="dirty"&&n.dirty(),l.add(c.value)}return{status:n.value,value:l}}let s=[...a.data.values()].map((u,l)=>i._parse(new Jn(a,u,a.path,l)));return a.common.async?Promise.all(s).then(u=>o(u)):o(s)}min(t,n){return new e({...this._def,minSize:{value:t,message:ae.toString(n)}})}max(t,n){return new e({...this._def,maxSize:{value:t,message:ae.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}};Ac.create=(e,t)=>new Ac({valueType:e,minSize:null,maxSize:null,typeName:Y.ZodSet,...ye(t)});var KT=class e extends _e{constructor(){super(...arguments),this.validate=this.implement}_parse(t){let{ctx:n}=this._processInputParams(t);if(n.parsedType!==ee.function)return X(n,{code:Z.invalid_type,expected:ee.function,received:n.parsedType}),ce;function a(s,u){return Mm({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,vc(),li].filter(l=>!!l),issueData:{code:Z.invalid_arguments,argumentsError:u}})}function r(s,u){return Mm({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,vc(),li].filter(l=>!!l),issueData:{code:Z.invalid_return_type,returnTypeError:u}})}let i={errorMap:n.common.contextualErrorMap},o=n.data;if(this._def.returns instanceof oo){let s=this;return Qt(async function(...u){let l=new $n([]),c=await s._def.args.parseAsync(u,i).catch(p=>{throw l.addIssue(a(u,p)),l}),f=await Reflect.apply(o,this,c);return await s._def.returns._def.type.parseAsync(f,i).catch(p=>{throw l.addIssue(r(f,p)),l})})}else{let s=this;return Qt(function(...u){let l=s._def.args.safeParse(u,i);if(!l.success)throw new $n([a(u,l.error)]);let c=Reflect.apply(o,this,l.data),f=s._def.returns.safeParse(c,i);if(!f.success)throw new $n([r(c,f.error)]);return f.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new e({...this._def,args:pa.create(t).rest(ci.create())})}returns(t){return new e({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,a){return new e({args:t||pa.create([]).rest(ci.create()),returns:n||ci.create(),typeName:Y.ZodFunction,...ye(a)})}},lu=class extends _e{get schema(){return this._def.getter()}_parse(t){let{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}};lu.create=(e,t)=>new lu({getter:e,typeName:Y.ZodLazy,...ye(t)});var cu=class extends _e{_parse(t){if(t.data!==this._def.value){let n=this._getOrReturnCtx(t);return X(n,{received:n.data,code:Z.invalid_literal,expected:this._def.value}),ce}return{status:"valid",value:t.data}}get value(){return this._def.value}};cu.create=(e,t)=>new cu({value:e,typeName:Y.ZodLiteral,...ye(t)});function EN(e,t){return new du({values:e,typeName:Y.ZodEnum,...ye(t)})}var du=class e extends _e{_parse(t){if(typeof t.data!="string"){let n=this._getOrReturnCtx(t),a=this._def.values;return X(n,{expected:Ie.joinValues(a),received:n.parsedType,code:Z.invalid_type}),ce}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){let n=this._getOrReturnCtx(t),a=this._def.values;return X(n,{received:n.data,code:Z.invalid_enum_value,options:a}),ce}return Qt(t.data)}get options(){return this._def.values}get enum(){let t={};for(let n of this._def.values)t[n]=n;return t}get Values(){let t={};for(let n of this._def.values)t[n]=n;return t}get Enum(){let t={};for(let n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return e.create(t,{...this._def,...n})}exclude(t,n=this._def){return e.create(this.options.filter(a=>!t.includes(a)),{...this._def,...n})}};du.create=EN;var fu=class extends _e{_parse(t){let n=Ie.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(t);if(a.parsedType!==ee.string&&a.parsedType!==ee.number){let r=Ie.objectValues(n);return X(a,{expected:Ie.joinValues(r),received:a.parsedType,code:Z.invalid_type}),ce}if(this._cache||(this._cache=new Set(Ie.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){let r=Ie.objectValues(n);return X(a,{received:a.data,code:Z.invalid_enum_value,options:r}),ce}return Qt(t.data)}get enum(){return this._def.values}};fu.create=(e,t)=>new fu({values:e,typeName:Y.ZodNativeEnum,...ye(t)});var oo=class extends _e{unwrap(){return this._def.type}_parse(t){let{ctx:n}=this._processInputParams(t);if(n.parsedType!==ee.promise&&n.common.async===!1)return X(n,{code:Z.invalid_type,expected:ee.promise,received:n.parsedType}),ce;let a=n.parsedType===ee.promise?n.data:Promise.resolve(n.data);return Qt(a.then(r=>this._def.type.parseAsync(r,{path:n.path,errorMap:n.common.contextualErrorMap})))}};oo.create=(e,t)=>new oo({type:e,typeName:Y.ZodPromise,...ye(t)});var cr=class extends _e{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Y.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){let{status:n,ctx:a}=this._processInputParams(t),r=this._def.effect||null,i={addIssue:o=>{X(a,o),o.fatal?n.abort():n.dirty()},get path(){return a.path}};if(i.addIssue=i.addIssue.bind(i),r.type==="preprocess"){let o=r.transform(a.data,i);if(a.common.async)return Promise.resolve(o).then(async s=>{if(n.value==="aborted")return ce;let u=await this._def.schema._parseAsync({data:s,path:a.path,parent:a});return u.status==="aborted"?ce:u.status==="dirty"?nu(u.value):n.value==="dirty"?nu(u.value):u});{if(n.value==="aborted")return ce;let s=this._def.schema._parseSync({data:o,path:a.path,parent:a});return s.status==="aborted"?ce:s.status==="dirty"?nu(s.value):n.value==="dirty"?nu(s.value):s}}if(r.type==="refinement"){let o=s=>{let u=r.refinement(s,i);if(a.common.async)return Promise.resolve(u);if(u instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(a.common.async===!1){let s=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});return s.status==="aborted"?ce:(s.status==="dirty"&&n.dirty(),o(s.value),{status:n.value,value:s.value})}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(s=>s.status==="aborted"?ce:(s.status==="dirty"&&n.dirty(),o(s.value).then(()=>({status:n.value,value:s.value}))))}if(r.type==="transform")if(a.common.async===!1){let o=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});if(!io(o))return ce;let s=r.transform(o.value,i);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:s}}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(o=>io(o)?Promise.resolve(r.transform(o.value,i)).then(s=>({status:n.value,value:s})):ce);Ie.assertNever(r)}};cr.create=(e,t,n)=>new cr({schema:e,typeName:Y.ZodEffects,effect:t,...ye(n)});cr.createWithPreprocess=(e,t,n)=>new cr({schema:t,effect:{type:"preprocess",transform:e},typeName:Y.ZodEffects,...ye(n)});var lr=class extends _e{_parse(t){return this._getType(t)===ee.undefined?Qt(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}};lr.create=(e,t)=>new lr({innerType:e,typeName:Y.ZodOptional,...ye(t)});var ma=class extends _e{_parse(t){return this._getType(t)===ee.null?Qt(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}};ma.create=(e,t)=>new ma({innerType:e,typeName:Y.ZodNullable,...ye(t)});var pu=class extends _e{_parse(t){let{ctx:n}=this._processInputParams(t),a=n.data;return n.parsedType===ee.undefined&&(a=this._def.defaultValue()),this._def.innerType._parse({data:a,path:n.path,parent:n})}removeDefault(){return this._def.innerType}};pu.create=(e,t)=>new pu({innerType:e,typeName:Y.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...ye(t)});var mu=class extends _e{_parse(t){let{ctx:n}=this._processInputParams(t),a={...n,common:{...n.common,issues:[]}},r=this._def.innerType._parse({data:a.data,path:a.path,parent:{...a}});return yc(r)?r.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new $n(a.common.issues)},input:a.data})})):{status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new $n(a.common.issues)},input:a.data})}}removeCatch(){return this._def.innerType}};mu.create=(e,t)=>new mu({innerType:e,typeName:Y.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...ye(t)});var kc=class extends _e{_parse(t){if(this._getType(t)!==ee.nan){let a=this._getOrReturnCtx(t);return X(a,{code:Z.invalid_type,expected:ee.nan,received:a.parsedType}),ce}return{status:"valid",value:t.data}}};kc.create=e=>new kc({typeName:Y.ZodNaN,...ye(e)});var Dm=class extends _e{_parse(t){let{ctx:n}=this._processInputParams(t),a=n.data;return this._def.type._parse({data:a,path:n.path,parent:n})}unwrap(){return this._def.type}},$m=class e extends _e{_parse(t){let{status:n,ctx:a}=this._processInputParams(t);if(a.common.async)return(async()=>{let i=await this._def.in._parseAsync({data:a.data,path:a.path,parent:a});return i.status==="aborted"?ce:i.status==="dirty"?(n.dirty(),nu(i.value)):this._def.out._parseAsync({data:i.value,path:a.path,parent:a})})();{let r=this._def.in._parseSync({data:a.data,path:a.path,parent:a});return r.status==="aborted"?ce:r.status==="dirty"?(n.dirty(),{status:"dirty",value:r.value}):this._def.out._parseSync({data:r.value,path:a.path,parent:a})}}static create(t,n){return new e({in:t,out:n,typeName:Y.ZodPipeline})}},hu=class extends _e{_parse(t){let n=this._def.innerType._parse(t),a=r=>(io(r)&&(r.value=Object.freeze(r.value)),r);return yc(n)?n.then(r=>a(r)):a(n)}unwrap(){return this._def.innerType}};hu.create=(e,t)=>new hu({innerType:e,typeName:Y.ZodReadonly,...ye(t)});var iQ={object:Ln.lazycreate},Y;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(Y||(Y={}));var oQ=au.create,sQ=bc.create,uQ=kc.create,lQ=_c.create,cQ=Tc.create,dQ=xc.create,fQ=Ec.create,pQ=iu.create,mQ=ou.create,hQ=Sc.create,gQ=ci.create,vQ=Or.create,yQ=wc.create,bQ=di.create,_Q=Ln.create,TQ=Ln.strictCreate,xQ=su.create,EQ=VT.create,SQ=uu.create,wQ=pa.create,IQ=GT.create,AQ=Ic.create,kQ=Ac.create,CQ=KT.create,OQ=lu.create,NQ=cu.create,RQ=du.create,MQ=fu.create,DQ=oo.create,$Q=cr.create,LQ=lr.create,PQ=ma.create,zQ=cr.createWithPreprocess,UQ=$m.create;var Cc=class extends Error{constructor(t,n){super(t),this.name="ParseError",this.type=n.type,this.field=n.field,this.value=n.value,this.line=n.line}},SN=10,Q8=13,so=32;function JT(e){}function AN(e){if(typeof e=="function")throw new TypeError("`config` must be an object, got a function instead. Did you mean `createParser({onEvent: fn})`?");let{onEvent:t=JT,onError:n=JT,onRetry:a=JT,onComment:r,maxBufferSize:i}=e,o=[],s=0,u=!0,l,c="",f=0,m,p=!1;function b(O){if(p)throw new Error("Cannot feed parser: it was terminated after exceeding the configured max buffer size. Call `reset()` to resume parsing.");if(u&&(u=!1,O.charCodeAt(0)===239&&O.charCodeAt(1)===187&&O.charCodeAt(2)===191&&(O=O.slice(3))),o.length===0){let L=C(O);L!==""&&(o.push(L),s=L.length),S();return}if(O.indexOf(`
77
+ `)===-1&&O.indexOf("\r")===-1){o.push(O),s+=O.length,S();return}o.push(O);let g=o.join("");o.length=0,s=0;let N=C(g);N!==""&&(o.push(N),s=N.length),S()}function S(){i!==void 0&&(s+c.length<=i||(p=!0,o.length=0,s=0,l=void 0,c="",f=0,m=void 0,n(new Cc(`Buffered data exceeded max buffer size of ${i} characters`,{type:"max-buffer-size-exceeded"}))))}function C(O){let g=0;if(O.indexOf("\r")===-1){let N=O.indexOf(`
78
+ `,g);for(;N!==-1;){if(g===N){f>0&&t({id:l,event:m,data:c}),l=void 0,c="",f=0,m=void 0,g=N+1,N=O.indexOf(`
79
+ `,g);continue}let L=O.charCodeAt(g);if(wN(O,g,L)){let P=O.charCodeAt(g+5)===so?g+6:g+5,I=O.slice(P,N);if(f===0&&O.charCodeAt(N+1)===SN){t({id:l,event:m,data:I}),l=void 0,c="",m=void 0,g=N+2,N=O.indexOf(`
80
+ `,g);continue}c=f===0?I:`${c}
81
+ ${I}`,f++}else IN(O,g,L)?m=O.slice(O.charCodeAt(g+6)===so?g+7:g+6,N)||void 0:v(O,g,N);g=N+1,N=O.indexOf(`
82
+ `,g)}return O.slice(g)}for(;g<O.length;){let N=O.indexOf("\r",g),L=O.indexOf(`
83
+ `,g),P=-1;if(N!==-1&&L!==-1?P=N<L?N:L:N!==-1?N===O.length-1?P=-1:P=N:L!==-1&&(P=L),P===-1)break;v(O,g,P),g=P+1,O.charCodeAt(g-1)===Q8&&O.charCodeAt(g)===SN&&g++}return O.slice(g)}function v(O,g,N){if(g===N){T();return}let L=O.charCodeAt(g);if(wN(O,g,L)){let oe=O.charCodeAt(g+5)===so?g+6:g+5,le=O.slice(oe,N);c=f===0?le:`${c}
84
+ ${le}`,f++;return}if(IN(O,g,L)){m=O.slice(O.charCodeAt(g+6)===so?g+7:g+6,N)||void 0;return}if(L===105&&O.charCodeAt(g+1)===100&&O.charCodeAt(g+2)===58){let oe=O.slice(O.charCodeAt(g+3)===so?g+4:g+3,N);l=oe.includes("\0")?void 0:oe;return}if(L===58){if(r){let oe=O.slice(g,N);r(oe.slice(O.charCodeAt(g+1)===so?2:1))}return}let P=O.slice(g,N),I=P.indexOf(":");if(I===-1){y(P,"",P);return}let re=P.slice(0,I),ne=P.charCodeAt(I+1)===so?2:1,W=P.slice(I+ne);y(re,W,P)}function y(O,g,N){switch(O){case"event":m=g||void 0;break;case"data":c=f===0?g:`${c}
85
+ ${g}`,f++;break;case"id":l=g.includes("\0")?void 0:g;break;case"retry":/^\d+$/.test(g)?a(parseInt(g,10)):n(new Cc(`Invalid \`retry\` value: "${g}"`,{type:"invalid-retry",value:g,line:N}));break;default:n(new Cc(`Unknown field "${O.length>20?`${O.slice(0,20)}\u2026`:O}"`,{type:"unknown-field",field:O,value:g,line:N}));break}}function T(){f>0&&t({id:l,event:m,data:c}),l=void 0,c="",f=0,m=void 0}function A(O={}){if(O.consume&&o.length>0){let g=o.join("");v(g,0,g.length)}u=!0,l=void 0,c="",f=0,m=void 0,o.length=0,s=0,p=!1}return{feed:b,reset:A}}function wN(e,t,n){return n===100&&e.charCodeAt(t+1)===97&&e.charCodeAt(t+2)===116&&e.charCodeAt(t+3)===97&&e.charCodeAt(t+4)===58}function IN(e,t,n){return n===101&&e.charCodeAt(t+1)===118&&e.charCodeAt(t+2)===101&&e.charCodeAt(t+3)===110&&e.charCodeAt(t+4)===116&&e.charCodeAt(t+5)===58}var Lm=class extends TransformStream{constructor({onError:t,onRetry:n,onComment:a,maxBufferSize:r}={}){let i;super({start(o){i=AN({onEvent:s=>{o.enqueue(s)},onError(s){typeof t=="function"&&t(s),(t==="terminate"||s.type==="max-buffer-size-exceeded")&&o.error(s)},onRetry:n,onComment:a,maxBufferSize:r})},transform(o){i.feed(o)}})}};var GQ=new TextDecoder;var{btoa:KQ,atob:JQ}=globalThis;var W8=[{mediaType:"audio/mpeg",bytesPrefix:[255,251]},{mediaType:"audio/mpeg",bytesPrefix:[255,250]},{mediaType:"audio/mpeg",bytesPrefix:[255,243]},{mediaType:"audio/mpeg",bytesPrefix:[255,242]},{mediaType:"audio/mpeg",bytesPrefix:[255,227]},{mediaType:"audio/mpeg",bytesPrefix:[255,226]},{mediaType:"audio/wav",bytesPrefix:[82,73,70,70,null,null,null,null,87,65,86,69]},{mediaType:"audio/ogg",bytesPrefix:[79,103,103,83]},{mediaType:"audio/flac",bytesPrefix:[102,76,97,67]},{mediaType:"audio/aac",bytesPrefix:[64,21,0,0]},{mediaType:"audio/webm",bytesPrefix:[26,69,223,163]}],XQ=[...W8,{mediaType:"audio/mp4",bytesPrefix:[0,0,0,null,102,116,121,112]}];var e5=12,t5=128*1024,QQ=t5+e5;async function Pm(e){var t;try{await((t=e.body)==null?void 0:t.cancel())}catch{}}var DN="AI_DownloadError",$N=`vercel.ai.error.${DN}`,n5=Symbol.for($N),kN,CN,hn=class extends(CN=Se,kN=n5,CN){constructor({url:e,statusCode:t,statusText:n,cause:a,message:r=a==null?`Failed to download ${e}: ${t} ${n}`:`Failed to download ${e}: ${a}`}){super({name:DN,message:r,cause:a}),this[kN]=!0,this.url=e,this.statusCode=t,this.statusText=n}static isInstance(e){return Se.hasMarker(e,$N)}};function r5(e=globalThis){return e.window!=null}function ON(e,t){try{return new URL(e).origin===new URL(t).origin}catch{return!1}}var a5=["connection","keep-alive","te","trailer","transfer-encoding","upgrade","host","forwarded","proxy-authorization","via","x-forwarded-for","x-forwarded-host","x-forwarded-proto","x-real-ip","metadata","metadata-flavor","x-aws-ec2-metadata-token","x-metadata-token","cookie","set-cookie"];function i5(e){let t=new Headers(e);for(let n of a5)t.delete(n);return t}function o5(e){let t;try{t=new URL(e)}catch{throw new hn({url:e,message:`Invalid URL: ${e}`})}if(t.protocol==="data:")return;if(t.protocol!=="http:"&&t.protocol!=="https:")throw new hn({url:e,message:`URL scheme must be http, https, or data, got ${t.protocol}`});let n=t.hostname.toLowerCase().replace(/\.+$/,"");if(!n)throw new hn({url:e,message:"URL must have a hostname"});if(n==="localhost"||n.endsWith(".local")||n.endsWith(".localhost"))throw new hn({url:e,message:`URL with hostname ${n} is not allowed`});if(n.startsWith("[")&&n.endsWith("]")){let a=n.slice(1,-1);if(u5(a))throw new hn({url:e,message:`URL with IPv6 address ${n} is not allowed`});return}if(LN(n)){if(PN(n))throw new hn({url:e,message:`URL with IP address ${n} is not allowed`});return}}function LN(e){let t=e.split(".");return t.length!==4?!1:t.every(n=>{let a=Number(n);return Number.isInteger(a)&&a>=0&&a<=255&&String(a)===n})}function PN(e){let t=e.split(".").map(Number),[n,a,r]=t;return n===0||n===10||n===100&&a>=64&&a<=127||n===127||n===169&&a===254||n===172&&a>=16&&a<=31||n===192&&a===0&&r===0||n===192&&a===0&&r===2||n===192&&a===168||n===198&&(a===18||a===19)||n===198&&a===51&&r===100||n===203&&a===0&&r===113||n>=224}function s5(e){let t=e.toLowerCase(),n=t.indexOf("%");n!==-1&&(t=t.slice(0,n));let a=t.split("::");if(a.length>2)return null;let r=o=>{if(o==="")return[];let s=[],u=o.split(":");for(let l=0;l<u.length;l++){let c=u[l];if(c.includes(".")){if(l!==u.length-1||!LN(c))return null;let[f,m,p,b]=c.split(".").map(Number);s.push(f<<8|m,p<<8|b);continue}if(!/^[0-9a-f]{1,4}$/.test(c))return null;s.push(parseInt(c,16))}return s},i=r(a[0]);if(i===null)return null;if(a.length===2){let o=r(a[1]);if(o===null)return null;let s=8-i.length-o.length;return s<0?null:[...i,...new Array(s).fill(0),...o]}return i.length===8?i:null}function u5(e){let t=s5(e);if(t===null)return!0;let n=r=>t.slice(0,r).every(i=>i===0);if(n(7)&&(t[7]===0||t[7]===1)||(t[0]&65024)===64512||(t[0]&65472)===65152||(t[0]&65472)===65216||(t[0]&65280)===65280||t[0]===8193&&t[1]===3512||t[0]===16383&&(t[1]&61440)===0)return!0;if(n(6)||n(5)&&t[5]===65535||n(4)&&t[4]===65535&&t[5]===0||t[0]===100&&t[1]===65435&&t[2]===0&&t[3]===0&&t[4]===0&&t[5]===0||t[0]===100&&t[1]===65435&&t[2]===1){let r=t[6]>>8&255,i=t[6]&255,o=t[7]>>8&255,s=t[7]&255;return PN(`${r}.${i}.${o}.${s}`)}return!1}var l5=10,c5=new Set([301,302,303,307,308]);async function zN({url:e,headers:t,abortSignal:n,maxRedirects:a=l5,fetch:r=globalThis.fetch,trustedOrigin:i}){let o=t===void 0?void 0:i5(t),s=l=>{let c={signal:n,redirect:l};return o!==void 0&&(c.headers=new Headers(o)),c},u=e;for(let l=0;l<=a;l++){(i===void 0||!ON(u,i))&&o5(u);let c=await r(u,s("manual"));if(c.type==="opaqueredirect"){if(!r5())throw new hn({url:e,message:`Redirect from ${u} could not be validated and was blocked`});return await r(u,s("follow"))}let f=c.headers.get("location");if(c5.has(c.status)&&f){await Pm(c);let m=new URL(f,u).toString();if(o!==void 0&&!ON(m,u)){let p=o.get("user-agent");o=new Headers(p==null?void 0:{"user-agent":p})}u=m;continue}return c}throw new hn({url:e,message:`Too many redirects (max ${a})`})}var tx=2*1024*1024*1024;async function UN({response:e,url:t,maxBytes:n=tx}){let a=e.headers.get("content-length");if(a!=null){let c=parseInt(a,10);if(!isNaN(c)&&c>n)throw await Pm(e),new hn({url:t,message:`Download of ${t} exceeded maximum size of ${n} bytes (Content-Length: ${c}).`})}let r=e.body;if(r==null)return new Uint8Array(0);let i=r.getReader(),o=[],s=0;try{for(;;){let{done:c,value:f}=await i.read();if(c)break;if(s+=f.length,s>n)throw new hn({url:t,message:`Download of ${t} exceeded maximum size of ${n} bytes.`});o.push(f)}}finally{try{await i.cancel()}finally{i.releaseLock()}}let u=new Uint8Array(s),l=0;for(let c of o)u.set(c,l),l+=c.length;return u}var bt=({prefix:e,size:t=16,alphabet:n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",separator:a="-"}={})=>{let r=()=>{let i=n.length,o=new Array(t);for(let s=0;s<t;s++)o[s]=n[Math.random()*i|0];return o.join("")};if(e==null)return r;if(n.includes(a))throw new Qk({argument:"separator",message:`The separator "${a}" must not be part of the alphabet "${n}".`});return()=>`${e}${a}${r()}`},jN=bt();function BN(e=globalThis){var t,n,a;return e.window?"runtime/browser":(t=e.navigator)!=null&&t.userAgent?`runtime/${e.navigator.userAgent.toLowerCase()}`:(a=(n=e.process)==null?void 0:n.versions)!=null&&a.node?`runtime/node.js/${e.process.version.substring(0)}`:e.EdgeRuntime?"runtime/vercel-edge":"runtime/unknown"}function fi(e){if(e==null)return{};let t={};if(e instanceof Headers)e.forEach((n,a)=>{t[a.toLowerCase()]=n});else{Array.isArray(e)||(e=Object.entries(e));for(let[n,a]of e)a!=null&&(t[n.toLowerCase()]=a)}return t}function gu(e,...t){let n=new Headers(fi(e)),a=n.get("user-agent")||"";return n.set("user-agent",[a,...t].filter(Boolean).join(" ")),Object.fromEntries(n.entries())}function FN(e){var t,n;return(n=(t=globalThis.Buffer)==null?void 0:t.isBuffer(e))!=null?n:!1}var d5=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,f5=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;function NN(e){let t=JSON.parse(e);return t===null||typeof t!="object"||d5.test(e)===!1&&f5.test(e)===!1?t:p5(t)}function p5(e){let t=[e];for(;t.length;){let n=t;t=[];for(let a of n){if(Object.prototype.hasOwnProperty.call(a,"__proto__"))throw new SyntaxError("Object contains forbidden prototype property");if(Object.prototype.hasOwnProperty.call(a,"constructor")&&a.constructor!==null&&typeof a.constructor=="object"&&Object.prototype.hasOwnProperty.call(a.constructor,"prototype"))throw new SyntaxError("Object contains forbidden prototype property");for(let r in a){let i=a[r];i&&typeof i=="object"&&t.push(i)}}}return e}function m5(e){let{stackTraceLimit:t}=Error;try{Error.stackTraceLimit=0}catch{return NN(e)}try{return NN(e)}finally{Error.stackTraceLimit=t}}function nx(e){if(e.type==="object"||Array.isArray(e.type)&&e.type.includes("object")){e.additionalProperties=!1;let{properties:n}=e;if(n!=null)for(let a of Object.keys(n))n[a]=uo(n[a])}e.items!=null&&(e.items=Array.isArray(e.items)?e.items.map(uo):uo(e.items)),e.anyOf!=null&&(e.anyOf=e.anyOf.map(uo)),e.allOf!=null&&(e.allOf=e.allOf.map(uo)),e.oneOf!=null&&(e.oneOf=e.oneOf.map(uo));let{definitions:t}=e;if(t!=null)for(let n of Object.keys(t))t[n]=uo(t[n]);return e}function uo(e){return typeof e=="boolean"?e:nx(e)}var h5=Symbol("Let zodToJsonSchema decide on which parser to use"),RN={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",strictUnions:!1,definitions:{},errorMessages:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref"},g5=e=>typeof e=="string"?{...RN,name:e}:{...RN,...e};function Pn(){return{}}function v5(e,t){var n,a,r;let i={type:"array"};return(n=e.type)!=null&&n._def&&((r=(a=e.type)==null?void 0:a._def)==null?void 0:r.typeName)!==Y.ZodAny&&(i.items=ze(e.type._def,{...t,currentPath:[...t.currentPath,"items"]})),e.minLength&&(i.minItems=e.minLength.value),e.maxLength&&(i.maxItems=e.maxLength.value),e.exactLength&&(i.minItems=e.exactLength.value,i.maxItems=e.exactLength.value),i}function y5(e){let t={type:"integer",format:"int64"};if(!e.checks)return t;for(let n of e.checks)switch(n.kind){case"min":n.inclusive?t.minimum=n.value:t.exclusiveMinimum=n.value;break;case"max":n.inclusive?t.maximum=n.value:t.exclusiveMaximum=n.value;break;case"multipleOf":t.multipleOf=n.value;break}return t}function b5(){return{type:"boolean"}}function HN(e,t){return ze(e.type._def,t)}var _5=(e,t)=>ze(e.innerType._def,t);function ZN(e,t,n){let a=n??t.dateStrategy;if(Array.isArray(a))return{anyOf:a.map(r=>ZN(e,t,r))};switch(a){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return T5(e)}}var T5=e=>{let t={type:"integer",format:"unix-time"};for(let n of e.checks)switch(n.kind){case"min":t.minimum=n.value;break;case"max":t.maximum=n.value;break}return t};function x5(e,t){return{...ze(e.innerType._def,t),default:e.defaultValue()}}function E5(e,t){return t.effectStrategy==="input"?ze(e.schema._def,t):Pn()}function S5(e){return{type:"string",enum:Array.from(e.values)}}var w5=e=>"type"in e&&e.type==="string"?!1:"allOf"in e;function I5(e,t){let n=[ze(e.left._def,{...t,currentPath:[...t.currentPath,"allOf","0"]}),ze(e.right._def,{...t,currentPath:[...t.currentPath,"allOf","1"]})].filter(r=>!!r),a=[];return n.forEach(r=>{if(w5(r))a.push(...r.allOf);else{let i=r;if("additionalProperties"in r&&r.additionalProperties===!1){let{additionalProperties:o,...s}=r;i=s}a.push(i)}}),a.length?{allOf:a}:void 0}function A5(e){let t=typeof e.value;return t!=="bigint"&&t!=="number"&&t!=="boolean"&&t!=="string"?{type:Array.isArray(e.value)?"array":"object"}:{type:t==="bigint"?"integer":t,const:e.value}}var XT=void 0,dr={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>(XT===void 0&&(XT=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),XT),uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?: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])$/,ipv4Cidr:/^(?:(?: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])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,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}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function qN(e,t){let n={type:"string"};if(e.checks)for(let a of e.checks)switch(a.kind){case"min":n.minLength=typeof n.minLength=="number"?Math.max(n.minLength,a.value):a.value;break;case"max":n.maxLength=typeof n.maxLength=="number"?Math.min(n.maxLength,a.value):a.value;break;case"email":switch(t.emailStrategy){case"format:email":fr(n,"email",a.message,t);break;case"format:idn-email":fr(n,"idn-email",a.message,t);break;case"pattern:zod":Wt(n,dr.email,a.message,t);break}break;case"url":fr(n,"uri",a.message,t);break;case"uuid":fr(n,"uuid",a.message,t);break;case"regex":Wt(n,a.regex,a.message,t);break;case"cuid":Wt(n,dr.cuid,a.message,t);break;case"cuid2":Wt(n,dr.cuid2,a.message,t);break;case"startsWith":Wt(n,RegExp(`^${QT(a.value,t)}`),a.message,t);break;case"endsWith":Wt(n,RegExp(`${QT(a.value,t)}$`),a.message,t);break;case"datetime":fr(n,"date-time",a.message,t);break;case"date":fr(n,"date",a.message,t);break;case"time":fr(n,"time",a.message,t);break;case"duration":fr(n,"duration",a.message,t);break;case"length":n.minLength=typeof n.minLength=="number"?Math.max(n.minLength,a.value):a.value,n.maxLength=typeof n.maxLength=="number"?Math.min(n.maxLength,a.value):a.value;break;case"includes":{Wt(n,RegExp(QT(a.value,t)),a.message,t);break}case"ip":{a.version!=="v6"&&fr(n,"ipv4",a.message,t),a.version!=="v4"&&fr(n,"ipv6",a.message,t);break}case"base64url":Wt(n,dr.base64url,a.message,t);break;case"jwt":Wt(n,dr.jwt,a.message,t);break;case"cidr":{a.version!=="v6"&&Wt(n,dr.ipv4Cidr,a.message,t),a.version!=="v4"&&Wt(n,dr.ipv6Cidr,a.message,t);break}case"emoji":Wt(n,dr.emoji(),a.message,t);break;case"ulid":{Wt(n,dr.ulid,a.message,t);break}case"base64":{switch(t.base64Strategy){case"format:binary":{fr(n,"binary",a.message,t);break}case"contentEncoding:base64":{n.contentEncoding="base64";break}case"pattern:zod":{Wt(n,dr.base64,a.message,t);break}}break}case"nanoid":Wt(n,dr.nanoid,a.message,t);case"toLowerCase":case"toUpperCase":case"trim":break;default:}return n}function QT(e,t){return t.patternStrategy==="escape"?C5(e):e}var k5=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function C5(e){let t="";for(let n=0;n<e.length;n++)k5.has(e[n])||(t+="\\"),t+=e[n];return t}function fr(e,t,n,a){var r;e.format||(r=e.anyOf)!=null&&r.some(i=>i.format)?(e.anyOf||(e.anyOf=[]),e.format&&(e.anyOf.push({format:e.format}),delete e.format),e.anyOf.push({format:t,...n&&a.errorMessages&&{errorMessage:{format:n}}})):e.format=t}function Wt(e,t,n,a){var r;e.pattern||(r=e.allOf)!=null&&r.some(i=>i.pattern)?(e.allOf||(e.allOf=[]),e.pattern&&(e.allOf.push({pattern:e.pattern}),delete e.pattern),e.allOf.push({pattern:MN(t,a),...n&&a.errorMessages&&{errorMessage:{pattern:n}}})):e.pattern=MN(t,a)}function MN(e,t){var n;if(!t.applyRegexFlags||!e.flags)return e.source;let a={i:e.flags.includes("i"),m:e.flags.includes("m"),s:e.flags.includes("s")},r=a.i?e.source.toLowerCase():e.source,i="",o=!1,s=!1,u=!1;for(let l=0;l<r.length;l++){if(o){i+=r[l],o=!1;continue}if(a.i){if(s){if(r[l].match(/[a-z]/)){u?(i+=r[l],i+=`${r[l-2]}-${r[l]}`.toUpperCase(),u=!1):r[l+1]==="-"&&((n=r[l+2])!=null&&n.match(/[a-z]/))?(i+=r[l],u=!0):i+=`${r[l]}${r[l].toUpperCase()}`;continue}}else if(r[l].match(/[a-z]/)){i+=`[${r[l]}${r[l].toUpperCase()}]`;continue}}if(a.m){if(r[l]==="^"){i+=`(^|(?<=[\r
86
+ ]))`;continue}else if(r[l]==="$"){i+=`($|(?=[\r
87
+ ]))`;continue}}if(a.s&&r[l]==="."){i+=s?`${r[l]}\r
88
+ `:`[${r[l]}\r
89
+ ]`;continue}i+=r[l],r[l]==="\\"?o=!0:s&&r[l]==="]"?s=!1:!s&&r[l]==="["&&(s=!0)}try{new RegExp(i)}catch{return console.warn(`Could not convert regex pattern at ${t.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),e.source}return i}function VN(e,t){var n,a,r,i,o,s;let u={type:"object",additionalProperties:(n=ze(e.valueType._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]}))!=null?n:t.allowedAdditionalProperties};if(((a=e.keyType)==null?void 0:a._def.typeName)===Y.ZodString&&((r=e.keyType._def.checks)!=null&&r.length)){let{type:l,...c}=qN(e.keyType._def,t);return{...u,propertyNames:c}}else{if(((i=e.keyType)==null?void 0:i._def.typeName)===Y.ZodEnum)return{...u,propertyNames:{enum:e.keyType._def.values}};if(((o=e.keyType)==null?void 0:o._def.typeName)===Y.ZodBranded&&e.keyType._def.type._def.typeName===Y.ZodString&&((s=e.keyType._def.type._def.checks)!=null&&s.length)){let{type:l,...c}=HN(e.keyType._def,t);return{...u,propertyNames:c}}}return u}function O5(e,t){if(t.mapStrategy==="record")return VN(e,t);let n=ze(e.keyType._def,{...t,currentPath:[...t.currentPath,"items","items","0"]})||Pn(),a=ze(e.valueType._def,{...t,currentPath:[...t.currentPath,"items","items","1"]})||Pn();return{type:"array",maxItems:125,items:{type:"array",items:[n,a],minItems:2,maxItems:2}}}function N5(e){let t=e.values,a=Object.keys(e.values).filter(i=>typeof t[t[i]]!="number").map(i=>t[i]),r=Array.from(new Set(a.map(i=>typeof i)));return{type:r.length===1?r[0]==="string"?"string":"number":["string","number"],enum:a}}function R5(){return{not:Pn()}}function M5(){return{type:"null"}}var WT={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function D5(e,t){let n=e.options instanceof Map?Array.from(e.options.values()):e.options;if(n.every(a=>a._def.typeName in WT&&(!a._def.checks||!a._def.checks.length))){let a=n.reduce((r,i)=>{let o=WT[i._def.typeName];return o&&!r.includes(o)?[...r,o]:r},[]);return{type:a.length>1?a:a[0]}}else if(n.every(a=>a._def.typeName==="ZodLiteral"&&!a.description)){let a=n.reduce((r,i)=>{let o=typeof i._def.value;switch(o){case"string":case"number":case"boolean":return[...r,o];case"bigint":return[...r,"integer"];case"object":if(i._def.value===null)return[...r,"null"];default:return r}},[]);if(a.length===n.length){let r=a.filter((i,o,s)=>s.indexOf(i)===o);return{type:r.length>1?r:r[0],enum:n.reduce((i,o)=>i.includes(o._def.value)?i:[...i,o._def.value],[])}}}else if(n.every(a=>a._def.typeName==="ZodEnum"))return{type:"string",enum:n.reduce((a,r)=>[...a,...r._def.values.filter(i=>!a.includes(i))],[])};return $5(e,t)}var $5=(e,t)=>{let n=(e.options instanceof Map?Array.from(e.options.values()):e.options).map((a,r)=>ze(a._def,{...t,currentPath:[...t.currentPath,"anyOf",`${r}`]})).filter(a=>!!a&&(!t.strictUnions||typeof a=="object"&&Object.keys(a).length>0));return n.length?{anyOf:n}:void 0};function L5(e,t){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(e.innerType._def.typeName)&&(!e.innerType._def.checks||!e.innerType._def.checks.length))return{type:[WT[e.innerType._def.typeName],"null"]};let n=ze(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","0"]});return n&&{anyOf:[n,{type:"null"}]}}function P5(e){let t={type:"number"};if(!e.checks)return t;for(let n of e.checks)switch(n.kind){case"int":t.type="integer";break;case"min":n.inclusive?t.minimum=n.value:t.exclusiveMinimum=n.value;break;case"max":n.inclusive?t.maximum=n.value:t.exclusiveMaximum=n.value;break;case"multipleOf":t.multipleOf=n.value;break}return t}function z5(e,t){let n={type:"object",properties:{}},a=[],r=e.shape();for(let o in r){let s=r[o];if(s===void 0||s._def===void 0)continue;let u=j5(s),l=ze(s._def,{...t,currentPath:[...t.currentPath,"properties",o],propertyPath:[...t.currentPath,"properties",o]});l!==void 0&&(n.properties[o]=l,u||a.push(o))}a.length&&(n.required=a);let i=U5(e,t);return i!==void 0&&(n.additionalProperties=i),n}function U5(e,t){if(e.catchall._def.typeName!=="ZodNever")return ze(e.catchall._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]});switch(e.unknownKeys){case"passthrough":return t.allowedAdditionalProperties;case"strict":return t.rejectedAdditionalProperties;case"strip":return t.removeAdditionalStrategy==="strict"?t.allowedAdditionalProperties:t.rejectedAdditionalProperties}}function j5(e){try{return e.isOptional()}catch{return!0}}var B5=(e,t)=>{var n;if(t.currentPath.toString()===((n=t.propertyPath)==null?void 0:n.toString()))return ze(e.innerType._def,t);let a=ze(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","1"]});return a?{anyOf:[{not:Pn()},a]}:Pn()},F5=(e,t)=>{if(t.pipeStrategy==="input")return ze(e.in._def,t);if(t.pipeStrategy==="output")return ze(e.out._def,t);let n=ze(e.in._def,{...t,currentPath:[...t.currentPath,"allOf","0"]}),a=ze(e.out._def,{...t,currentPath:[...t.currentPath,"allOf",n?"1":"0"]});return{allOf:[n,a].filter(r=>r!==void 0)}};function H5(e,t){return ze(e.type._def,t)}function Z5(e,t){let a={type:"array",uniqueItems:!0,items:ze(e.valueType._def,{...t,currentPath:[...t.currentPath,"items"]})};return e.minSize&&(a.minItems=e.minSize.value),e.maxSize&&(a.maxItems=e.maxSize.value),a}function q5(e,t){return e.rest?{type:"array",minItems:e.items.length,items:e.items.map((n,a)=>ze(n._def,{...t,currentPath:[...t.currentPath,"items",`${a}`]})).reduce((n,a)=>a===void 0?n:[...n,a],[]),additionalItems:ze(e.rest._def,{...t,currentPath:[...t.currentPath,"additionalItems"]})}:{type:"array",minItems:e.items.length,maxItems:e.items.length,items:e.items.map((n,a)=>ze(n._def,{...t,currentPath:[...t.currentPath,"items",`${a}`]})).reduce((n,a)=>a===void 0?n:[...n,a],[])}}function V5(){return{not:Pn()}}function Y5(){return Pn()}var G5=(e,t)=>ze(e.innerType._def,t),K5=(e,t,n)=>{switch(t){case Y.ZodString:return qN(e,n);case Y.ZodNumber:return P5(e);case Y.ZodObject:return z5(e,n);case Y.ZodBigInt:return y5(e);case Y.ZodBoolean:return b5();case Y.ZodDate:return ZN(e,n);case Y.ZodUndefined:return V5();case Y.ZodNull:return M5();case Y.ZodArray:return v5(e,n);case Y.ZodUnion:case Y.ZodDiscriminatedUnion:return D5(e,n);case Y.ZodIntersection:return I5(e,n);case Y.ZodTuple:return q5(e,n);case Y.ZodRecord:return VN(e,n);case Y.ZodLiteral:return A5(e);case Y.ZodEnum:return S5(e);case Y.ZodNativeEnum:return N5(e);case Y.ZodNullable:return L5(e,n);case Y.ZodOptional:return B5(e,n);case Y.ZodMap:return O5(e,n);case Y.ZodSet:return Z5(e,n);case Y.ZodLazy:return()=>e.getter()._def;case Y.ZodPromise:return H5(e,n);case Y.ZodNaN:case Y.ZodNever:return R5();case Y.ZodEffects:return E5(e,n);case Y.ZodAny:return Pn();case Y.ZodUnknown:return Y5();case Y.ZodDefault:return x5(e,n);case Y.ZodBranded:return HN(e,n);case Y.ZodReadonly:return G5(e,n);case Y.ZodCatch:return _5(e,n);case Y.ZodPipeline:return F5(e,n);case Y.ZodFunction:case Y.ZodVoid:case Y.ZodSymbol:return;default:return(a=>{})(t)}},J5=(e,t)=>{let n=0;for(;n<e.length&&n<t.length&&e[n]===t[n];n++);return[(e.length-n).toString(),...t.slice(n)].join("/")};function ze(e,t,n=!1){var a;let r=t.seen.get(e);if(t.override){let u=(a=t.override)==null?void 0:a.call(t,e,t,r,n);if(u!==h5)return u}if(r&&!n){let u=X5(r,t);if(u!==void 0)return u}let i={def:e,path:t.currentPath,jsonSchema:void 0};t.seen.set(e,i);let o=K5(e,e.typeName,t),s=typeof o=="function"?ze(o(),t):o;if(s&&Q5(e,t,s),t.postProcess){let u=t.postProcess(s,e,t);return i.jsonSchema=s,u}return i.jsonSchema=s,s}var X5=(e,t)=>{switch(t.$refStrategy){case"root":return{$ref:e.path.join("/")};case"relative":return{$ref:J5(t.currentPath,e.path)};case"none":case"seen":return e.path.length<t.currentPath.length&&e.path.every((n,a)=>t.currentPath[a]===n)?(console.warn(`Recursive reference detected at ${t.currentPath.join("/")}! Defaulting to any`),Pn()):t.$refStrategy==="seen"?Pn():void 0}},Q5=(e,t,n)=>(e.description&&(n.description=e.description),n),W5=e=>{let t=g5(e),n=t.name!==void 0?[...t.basePath,t.definitionPath,t.name]:t.basePath;return{...t,currentPath:n,propertyPath:void 0,seen:new Map(Object.entries(t.definitions).map(([a,r])=>[r._def,{def:r._def,path:[...t.basePath,t.definitionPath,a],jsonSchema:void 0}]))}},e9=(e,t)=>{var n;let a=W5(t),r=typeof t=="object"&&t.definitions?Object.entries(t.definitions).reduce((l,[c,f])=>{var m;return{...l,[c]:(m=ze(f._def,{...a,currentPath:[...a.basePath,a.definitionPath,c]},!0))!=null?m:Pn()}},{}):void 0,i=typeof t=="string"?t:t?.nameStrategy==="title"?void 0:t?.name,o=(n=ze(e._def,i===void 0?a:{...a,currentPath:[...a.basePath,a.definitionPath,i]},!1))!=null?n:Pn(),s=typeof t=="object"&&t.name!==void 0&&t.nameStrategy==="title"?t.name:void 0;s!==void 0&&(o.title=s);let u=i===void 0?r?{...o,[a.definitionPath]:r}:o:{$ref:[...a.$refStrategy==="relative"?[]:a.basePath,a.definitionPath,i].join("/"),[a.definitionPath]:{...r,[i]:o}};return u.$schema="http://json-schema.org/draft-07/schema#",u},ex=Symbol.for("vercel.ai.schema");function zm(e){let t;return()=>(t==null&&(t=e()),t)}function Um(e,{validate:t}={}){return{[ex]:!0,_type:void 0,get jsonSchema(){return typeof e=="function"&&(e=e()),e},validate:t}}function t9(e){return typeof e=="object"&&e!==null&&ex in e&&e[ex]===!0&&"jsonSchema"in e&&"validate"in e}function jm(e){return e==null?Um({type:"object",properties:{},additionalProperties:!1}):t9(e)?e:"~standard"in e?e["~standard"].vendor==="zod"?Oc(e):n9(e):e()}function n9(e){return Um(()=>{if(!r9(e))throw new Error(`Standard schema vendor '${e["~standard"].vendor}' does not support JSON Schema conversion.`);return nx(e["~standard"].jsonSchema.input({target:"draft-07"}))},{validate:async t=>{let n=await e["~standard"].validate(t);return"value"in n?{success:!0,value:n.value}:{success:!1,error:new wr({value:t,cause:n.issues})}}})}function r9(e){return e["~standard"].jsonSchema!=null}function a9(e,t){var n;let a=(n=t?.useReferences)!=null?n:!1;return Um(()=>e9(e,{$refStrategy:a?"root":"none"}),{validate:async r=>{let i=await e.safeParseAsync(r);return i.success?{success:!0,value:i.data}:{success:!1,error:i.error}}})}function i9(e,t){var n;let a=(n=t?.useReferences)!=null?n:!1;return Um(()=>nx(Ys(e,{target:"draft-7",io:"input",reused:a?"ref":"inline"})),{validate:async r=>{let i=await rc(e,r);return i.success?{success:!0,value:i.data}:{success:!1,error:i.error}}})}function o9(e){return"_zod"in e}function Oc(e,t){return o9(e)?i9(e,t):a9(e,t)}async function Bm({value:e,schema:t,context:n}){let a=await vu({value:e,schema:t,context:n});if(!a.success)throw wr.wrap({value:e,cause:a.error,context:n});return a.value}async function vu({value:e,schema:t,context:n}){let a=jm(t);try{if(a.validate==null)return{success:!0,value:e,rawValue:e};let r=await a.validate(e);return r.success?{success:!0,value:r.value,rawValue:e}:{success:!1,error:wr.wrap({value:e,cause:r.error,context:n}),rawValue:e}}catch(r){return{success:!1,error:wr.wrap({value:e,cause:r,context:n}),rawValue:e}}}async function ha({text:e,schema:t}){try{let n=m5(e);return t==null?{success:!0,value:n,rawValue:n}:await vu({value:n,schema:t})}catch(n){return{success:!1,error:Bv.isInstance(n)?n:new Bv({text:e,cause:n}),rawValue:void 0}}}function YN({stream:e,schema:t}){return e.pipeThrough(new TextDecoderStream).pipeThrough(new Lm).pipeThrough(new TransformStream({async transform({data:n},a){n!=="[DONE]"&&a.enqueue(await ha({text:n,schema:t}))}}))}async function Nr(e){return typeof e=="function"&&(e=e()),Promise.resolve(e)}var uW=new TextDecoder;var l9=Object.defineProperty,c9=(e,t)=>{for(var n in t)l9(e,n,{get:t[n],enumerable:!0})},d9="AI_InvalidArgumentError",f9=`vercel.ai.error.${d9}`,p9=Symbol.for(f9),m9;m9=p9;var h9="AI_InvalidStreamPartError",g9=`vercel.ai.error.${h9}`,v9=Symbol.for(g9),y9;y9=v9;var b9="AI_InvalidToolApprovalError",_9=`vercel.ai.error.${b9}`,T9=Symbol.for(_9),x9;x9=T9;var E9="AI_InvalidToolApprovalSignatureError",S9=`vercel.ai.error.${E9}`,w9=Symbol.for(S9),I9;I9=w9;var A9="AI_InvalidToolInputError",k9=`vercel.ai.error.${A9}`,C9=Symbol.for(k9),O9;O9=C9;var N9="AI_ToolCallNotFoundForApprovalError",R9=`vercel.ai.error.${N9}`,M9=Symbol.for(R9),D9;D9=M9;var $9="AI_MissingToolResultsError",L9=`vercel.ai.error.${$9}`,P9=Symbol.for(L9),z9;z9=P9;var U9="AI_NoImageGeneratedError",j9=`vercel.ai.error.${U9}`,B9=Symbol.for(j9),F9;F9=B9;var KN="AI_NoObjectGeneratedError",JN=`vercel.ai.error.${KN}`,H9=Symbol.for(JN),XN,pi=class extends Se{constructor({message:e="No object generated.",cause:t,text:n,response:a,usage:r,finishReason:i}){super({name:KN,message:e,cause:t}),this[XN]=!0,this.text=n,this.response=a,this.usage=r,this.finishReason=i}static isInstance(e){return Se.hasMarker(e,JN)}};XN=H9;var Z9="AI_NoOutputGeneratedError",q9=`vercel.ai.error.${Z9}`,V9=Symbol.for(q9),Y9;Y9=V9;var G9="AI_NoSpeechGeneratedError",K9=`vercel.ai.error.${G9}`,J9=Symbol.for(K9),X9;X9=J9;var Q9="AI_NoTranscriptGeneratedError",W9=`vercel.ai.error.${Q9}`,ej=Symbol.for(W9),tj;tj=ej;var nj="AI_NoVideoGeneratedError",rj=`vercel.ai.error.${nj}`,aj=Symbol.for(rj),ij;ij=aj;var oj="AI_NoSuchToolError",sj=`vercel.ai.error.${oj}`,uj=Symbol.for(sj),lj;lj=uj;var cj="AI_ToolCallRepairError",dj=`vercel.ai.error.${cj}`,fj=Symbol.for(dj),pj;pj=fj;var QN="AI_UIMessageStreamError",WN=`vercel.ai.error.${QN}`,mj=Symbol.for(WN),e4,lo=class extends Se{constructor({chunkType:e,chunkId:t,message:n}){super({name:QN,message:n}),this[e4]=!0,this.chunkType=e,this.chunkId=t}static isInstance(e){return Se.hasMarker(e,WN)}};e4=mj;var hj="AI_InvalidDataContentError",gj=`vercel.ai.error.${hj}`,vj=Symbol.for(gj),yj;yj=vj;var bj="AI_InvalidMessageRoleError",_j=`vercel.ai.error.${bj}`,Tj=Symbol.for(_j),xj;xj=Tj;var Ej="AI_MessageConversionError",Sj=`vercel.ai.error.${Ej}`,wj=Symbol.for(Sj),Ij;Ij=wj;var Aj="AI_RetryError",kj=`vercel.ai.error.${Aj}`,Cj=Symbol.for(kj),Oj;Oj=Cj;var Nj="7.0.34",Rj=async({url:e,maxBytes:t,abortSignal:n})=>{var a;let r=e.toString();try{let i=gu({},`ai-sdk/${Nj}`,BN()),o=await zN({url:r,headers:i,abortSignal:n});if(!o.ok)throw await Pm(o),new hn({url:r,statusCode:o.status,statusText:o.statusText});return{data:await UN({response:o,url:r,maxBytes:t??tx}),mediaType:(a=o.headers.get("content-type"))!=null?a:void 0}}catch(i){throw hn.isInstance(i)?i:new hn({url:r,cause:i})}};function t4(e,t){if(e===void 0&&t===void 0)return;if(e===void 0)return t;if(t===void 0)return e;let n={...e};for(let a in t)if(!(a==="__proto__"||a==="constructor"||a==="prototype")&&Object.prototype.hasOwnProperty.call(t,a)){let r=t[a];if(r===void 0)continue;let i=a in e?e[a]:void 0,o=r!==null&&typeof r=="object"&&!Array.isArray(r)&&!(r instanceof Date)&&!(r instanceof RegExp),s=i!=null&&typeof i=="object"&&!Array.isArray(i)&&!(i instanceof Date)&&!(i instanceof RegExp);o&&s?n[a]=t4(i,r):n[a]=r}return n}var co=h.lazy(()=>h.union([h.null(),h.string(),h.number(),h.boolean(),h.record(h.string(),co.optional()),h.array(co)])),te=h.record(h.string(),h.record(h.string(),co.optional())),Mc=h.union([h.string(),h.instanceof(Uint8Array),h.instanceof(ArrayBuffer),h.custom(FN,{message:"Must be a Buffer"})]),ax=h.record(h.string(),h.string()),n4=h.object({type:h.literal("text"),text:h.string(),providerOptions:te.optional()}),Mj=h.object({type:h.literal("image"),image:h.union([Mc,h.instanceof(URL),ax]),mediaType:h.string().optional(),providerOptions:te.optional()}),r4=h.discriminatedUnion("type",[h.object({type:h.literal("data"),data:Mc}),h.object({type:h.literal("url"),url:h.instanceof(URL)}),h.object({type:h.literal("reference"),reference:ax}),h.object({type:h.literal("text"),text:h.string()})]),Dj=h.discriminatedUnion("type",[h.object({type:h.literal("data"),data:Mc}),h.object({type:h.literal("url"),url:h.instanceof(URL)})]),a4=h.object({type:h.literal("file"),data:h.union([r4,Mc,h.instanceof(URL),ax]),filename:h.string().optional(),mediaType:h.string(),providerOptions:te.optional()}),$j=h.object({type:h.literal("reasoning"),text:h.string(),providerOptions:te.optional()}),Lj=h.object({type:h.literal("custom"),kind:h.string().transform(e=>e),providerOptions:te.optional()}),Pj=h.object({type:h.literal("reasoning-file"),data:h.union([Dj,Mc,h.instanceof(URL)]),mediaType:h.string(),providerOptions:te.optional()}),zj=h.object({type:h.literal("tool-call"),toolCallId:h.string(),toolName:h.string(),input:h.unknown(),providerOptions:te.optional(),providerExecuted:h.boolean().optional()}),Uj=h.discriminatedUnion("type",[h.object({type:h.literal("text"),value:h.string(),providerOptions:te.optional()}),h.object({type:h.literal("json"),value:co,providerOptions:te.optional()}),h.object({type:h.literal("execution-denied"),reason:h.string().optional(),providerOptions:te.optional()}),h.object({type:h.literal("error-text"),value:h.string(),providerOptions:te.optional()}),h.object({type:h.literal("error-json"),value:co,providerOptions:te.optional()}),h.object({type:h.literal("content"),value:h.array(h.union([h.object({type:h.literal("text"),text:h.string(),providerOptions:te.optional()}),h.object({type:h.literal("file"),data:r4,mediaType:h.string(),filename:h.string().optional(),providerOptions:te.optional()}),h.object({type:h.literal("file-data"),data:h.string(),mediaType:h.string(),filename:h.string().optional(),providerOptions:te.optional()}),h.object({type:h.literal("file-url"),url:h.string(),mediaType:h.string().optional(),providerOptions:te.optional()}),h.object({type:h.literal("file-id"),fileId:h.union([h.string(),h.record(h.string(),h.string())]),providerOptions:te.optional()}),h.object({type:h.literal("file-reference"),providerReference:h.record(h.string(),h.string()),providerOptions:te.optional()}),h.object({type:h.literal("image-data"),data:h.string(),mediaType:h.string(),providerOptions:te.optional()}),h.object({type:h.literal("image-url"),url:h.string(),providerOptions:te.optional()}),h.object({type:h.literal("image-file-id"),fileId:h.union([h.string(),h.record(h.string(),h.string())]),providerOptions:te.optional()}),h.object({type:h.literal("image-file-reference"),providerReference:h.record(h.string(),h.string()),providerOptions:te.optional()}),h.object({type:h.literal("custom"),providerOptions:te.optional()})]))})]),i4=h.object({type:h.literal("tool-result"),toolCallId:h.string(),toolName:h.string(),output:Uj,providerOptions:te.optional()}),jj=h.object({type:h.literal("tool-approval-request"),approvalId:h.string(),toolCallId:h.string()}),Bj=h.object({type:h.literal("tool-approval-response"),approvalId:h.string(),approved:h.boolean(),reason:h.string().optional()}),Fj=h.object({role:h.literal("system"),content:h.string(),providerOptions:te.optional()}),Hj=h.object({role:h.literal("user"),content:h.union([h.string(),h.array(h.union([n4,Mj,a4]))]),providerOptions:te.optional()}),Zj=h.object({role:h.literal("assistant"),content:h.union([h.string(),h.array(h.union([n4,Lj,a4,$j,Pj,zj,i4,jj]))]),providerOptions:te.optional()}),qj=h.object({role:h.literal("tool"),content:h.array(h.union([i4,Bj])),providerOptions:te.optional()}),EW=h.union([Fj,Hj,Zj,qj]);var Vj={};c9(Vj,{array:()=>Jj,choice:()=>Xj,json:()=>Qj,object:()=>Kj,text:()=>Gj});function Yj(e){let t=["ROOT"],n=-1,a=null,r=0;function i(c){return c>="0"&&c<="9"||c>="A"&&c<="F"||c>="a"&&c<="f"}function o(c,f,m){switch(c){case'"':{n=f,t.pop(),t.push(m),t.push("INSIDE_STRING");break}case"f":case"t":case"n":{n=f,a=f,t.pop(),t.push(m),t.push("INSIDE_LITERAL");break}case"-":{t.pop(),t.push(m),t.push("INSIDE_NUMBER");break}case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":{n=f,t.pop(),t.push(m),t.push("INSIDE_NUMBER");break}case"{":{n=f,t.pop(),t.push(m),t.push("INSIDE_OBJECT_START");break}case"[":{n=f,t.pop(),t.push(m),t.push("INSIDE_ARRAY_START");break}}}function s(c,f){switch(c){case",":{t.pop(),t.push("INSIDE_OBJECT_AFTER_COMMA");break}case"}":{n=f,t.pop();break}}}function u(c,f){switch(c){case",":{t.pop(),t.push("INSIDE_ARRAY_AFTER_COMMA");break}case"]":{n=f,t.pop();break}}}for(let c=0;c<e.length;c++){let f=e[c];switch(t[t.length-1]){case"ROOT":o(f,c,"FINISH");break;case"INSIDE_OBJECT_START":{switch(f){case'"':{t.pop(),t.push("INSIDE_OBJECT_KEY");break}case"}":{n=c,t.pop();break}}break}case"INSIDE_OBJECT_AFTER_COMMA":{f==='"'&&(t.pop(),t.push("INSIDE_OBJECT_KEY"));break}case"INSIDE_OBJECT_KEY":{f==='"'&&(t.pop(),t.push("INSIDE_OBJECT_AFTER_KEY"));break}case"INSIDE_OBJECT_AFTER_KEY":{f===":"&&(t.pop(),t.push("INSIDE_OBJECT_BEFORE_VALUE"));break}case"INSIDE_OBJECT_BEFORE_VALUE":{o(f,c,"INSIDE_OBJECT_AFTER_VALUE");break}case"INSIDE_OBJECT_AFTER_VALUE":{s(f,c);break}case"INSIDE_STRING":{switch(f){case'"':{t.pop(),n=c;break}case"\\":{t.push("INSIDE_STRING_ESCAPE");break}default:n=c}break}case"INSIDE_ARRAY_START":{f==="]"?(n=c,t.pop()):(n=c,o(f,c,"INSIDE_ARRAY_AFTER_VALUE"));break}case"INSIDE_ARRAY_AFTER_VALUE":{switch(f){case",":{t.pop(),t.push("INSIDE_ARRAY_AFTER_COMMA");break}case"]":{n=c,t.pop();break}default:{n=c;break}}break}case"INSIDE_ARRAY_AFTER_COMMA":{o(f,c,"INSIDE_ARRAY_AFTER_VALUE");break}case"INSIDE_STRING_ESCAPE":{t.pop(),f==="u"?(r=0,t.push("INSIDE_STRING_UNICODE_ESCAPE")):n=c;break}case"INSIDE_STRING_UNICODE_ESCAPE":{i(f)&&(r++,r===4&&(t.pop(),n=c));break}case"INSIDE_NUMBER":{switch(f){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":{n=c;break}case"e":case"E":case"-":case".":break;case",":{t.pop(),t[t.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&u(f,c),t[t.length-1]==="INSIDE_OBJECT_AFTER_VALUE"&&s(f,c);break}case"}":{t.pop(),t[t.length-1]==="INSIDE_OBJECT_AFTER_VALUE"&&s(f,c);break}case"]":{t.pop(),t[t.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&u(f,c);break}default:{t.pop();break}}break}case"INSIDE_LITERAL":{let p=e.substring(a,c+1);!"false".startsWith(p)&&!"true".startsWith(p)&&!"null".startsWith(p)?(t.pop(),t[t.length-1]==="INSIDE_OBJECT_AFTER_VALUE"?s(f,c):t[t.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&u(f,c)):n=c;break}}}let l=e.slice(0,n+1);for(let c=t.length-1;c>=0;c--)switch(t[c]){case"INSIDE_STRING":{l+='"';break}case"INSIDE_OBJECT_KEY":case"INSIDE_OBJECT_AFTER_KEY":case"INSIDE_OBJECT_AFTER_COMMA":case"INSIDE_OBJECT_START":case"INSIDE_OBJECT_BEFORE_VALUE":case"INSIDE_OBJECT_AFTER_VALUE":{l+="}";break}case"INSIDE_ARRAY_START":case"INSIDE_ARRAY_AFTER_COMMA":case"INSIDE_ARRAY_AFTER_VALUE":{l+="]";break}case"INSIDE_LITERAL":{let m=e.substring(a,e.length);"true".startsWith(m)?l+="true".slice(m.length):"false".startsWith(m)?l+="false".slice(m.length):"null".startsWith(m)&&(l+="null".slice(m.length))}}return l}async function Dc(e){if(e===void 0)return{value:void 0,state:"undefined-input"};let t=await ha({text:e});return t.success?{value:t.value,state:"successful-parse"}:(t=await ha({text:Yj(e)}),t.success?{value:t.value,state:"repaired-parse"}:{value:void 0,state:"failed-parse"})}var Gj=()=>({name:"text",responseFormat:Promise.resolve({type:"text"}),async parseCompleteOutput({text:e}){return e},async parsePartialOutput({text:e}){return{partial:e}},createElementStreamTransform(){}}),Kj=({schema:e,name:t,description:n})=>{let a=jm(e);return{name:"object",responseFormat:Nr(a.jsonSchema).then(r=>({type:"json",schema:r,...t!=null&&{name:t},...n!=null&&{description:n}})),async parseCompleteOutput({text:r},i){let o=await ha({text:r});if(!o.success)throw new pi({message:"No object generated: could not parse the response.",cause:o.error,text:r,response:i.response,usage:i.usage,finishReason:i.finishReason});let s=await vu({value:o.value,schema:a});if(!s.success)throw new pi({message:"No object generated: response did not match schema.",cause:s.error,text:r,response:i.response,usage:i.usage,finishReason:i.finishReason});return s.value},async parsePartialOutput({text:r}){let i=await Dc(r);switch(i.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":return{partial:i.value}}},createElementStreamTransform(){}}},Jj=({element:e,name:t,description:n})=>{let a=jm(e);return{name:"array",responseFormat:Nr(a.jsonSchema).then(r=>{let{$schema:i,...o}=r;return{type:"json",schema:{$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{elements:{type:"array",items:o}},required:["elements"],additionalProperties:!1},...t!=null&&{name:t},...n!=null&&{description:n}}}),async parseCompleteOutput({text:r},i){let o=await ha({text:r});if(!o.success)throw new pi({message:"No object generated: could not parse the response.",cause:o.error,text:r,response:i.response,usage:i.usage,finishReason:i.finishReason});let s=o.value;if(s==null||typeof s!="object"||!("elements"in s)||!Array.isArray(s.elements))throw new pi({message:"No object generated: response did not match schema.",cause:new wr({value:s,cause:"response must be an object with an elements array"}),text:r,response:i.response,usage:i.usage,finishReason:i.finishReason});let u=[];for(let l of s.elements){let c=await vu({value:l,schema:a});if(!c.success)throw new pi({message:"No object generated: response did not match schema.",cause:c.error,text:r,response:i.response,usage:i.usage,finishReason:i.finishReason});u.push(c.value)}return u},async parsePartialOutput({text:r}){let i=await Dc(r);switch(i.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":{let o=i.value;if(o==null||typeof o!="object"||!("elements"in o)||!Array.isArray(o.elements))return;let s=i.state==="repaired-parse"&&o.elements.length>0?o.elements.slice(0,-1):o.elements,u=[];for(let l of s){let c=await vu({value:l,schema:a});c.success&&u.push(c.value)}return{partial:u}}}},createElementStreamTransform(){let r=0;return new TransformStream({transform({partialOutput:i},o){if(i!=null)for(;r<i.length;r++)o.enqueue(i[r])}})}}},Xj=({options:e,name:t,description:n})=>({name:"choice",responseFormat:Promise.resolve({type:"json",schema:{$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{result:{type:"string",enum:e}},required:["result"],additionalProperties:!1},...t!=null&&{name:t},...n!=null&&{description:n}}),async parseCompleteOutput({text:a},r){let i=await ha({text:a});if(!i.success)throw new pi({message:"No object generated: could not parse the response.",cause:i.error,text:a,response:r.response,usage:r.usage,finishReason:r.finishReason});let o=i.value;if(o==null||typeof o!="object"||!("result"in o)||typeof o.result!="string"||!e.includes(o.result))throw new pi({message:"No object generated: response did not match schema.",cause:new wr({value:o,cause:"response must be an object that contains a choice value."}),text:a,response:r.response,usage:r.usage,finishReason:r.finishReason});return o.result},async parsePartialOutput({text:a}){let r=await Dc(a);switch(r.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":{let i=r.value;if(i==null||typeof i!="object"||!("result"in i)||typeof i.result!="string")return;let o=e.filter(s=>s.startsWith(i.result));return r.state==="successful-parse"?o.includes(i.result)?{partial:i.result}:void 0:o.length===1?{partial:o[0]}:void 0}}},createElementStreamTransform(){}}),Qj=({name:e,description:t}={})=>({name:"json",responseFormat:Promise.resolve({type:"json",...e!=null&&{name:e},...t!=null&&{description:t}}),async parseCompleteOutput({text:n},a){let r=await ha({text:n});if(!r.success)throw new pi({message:"No object generated: could not parse the response.",cause:r.error,text:n,response:a.response,usage:a.usage,finishReason:a.finishReason});return r.value},async parsePartialOutput({text:n}){let a=await Dc(n);switch(a.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":return a.value===void 0?void 0:{partial:a.value}}},createElementStreamTransform(){}});var AW=new TextEncoder;var kW=new TextEncoder;var CW=bt({prefix:"aitxt",size:24}),OW=bt({prefix:"call",size:24});var RW=class extends TransformStream{constructor(){super({transform(e,t){t.enqueue(`data: ${JSON.stringify(e)}
90
+
91
+ `)},flush(e){e.enqueue(`data: [DONE]
92
+
93
+ `)}})}};var Nc=h.record(h.string(),co.optional()),Wj=zm(()=>Oc(h.union([h.looseObject({type:h.literal("text-start"),id:h.string(),providerMetadata:te.optional()}),h.looseObject({type:h.literal("text-delta"),id:h.string(),delta:h.string(),providerMetadata:te.optional()}),h.looseObject({type:h.literal("text-end"),id:h.string(),providerMetadata:te.optional()}),h.looseObject({type:h.literal("error"),errorText:h.string()}),h.looseObject({type:h.literal("tool-input-start"),toolCallId:h.string(),toolName:h.string(),providerExecuted:h.boolean().optional(),providerMetadata:te.optional(),toolMetadata:Nc.optional(),dynamic:h.boolean().optional(),title:h.string().optional()}),h.looseObject({type:h.literal("tool-input-delta"),toolCallId:h.string(),inputTextDelta:h.string()}),h.looseObject({type:h.literal("tool-input-available"),toolCallId:h.string(),toolName:h.string(),input:h.unknown(),providerExecuted:h.boolean().optional(),providerMetadata:te.optional(),toolMetadata:Nc.optional(),dynamic:h.boolean().optional(),title:h.string().optional()}),h.looseObject({type:h.literal("tool-input-error"),toolCallId:h.string(),toolName:h.string(),input:h.unknown(),providerExecuted:h.boolean().optional(),providerMetadata:te.optional(),toolMetadata:Nc.optional(),dynamic:h.boolean().optional(),errorText:h.string(),title:h.string().optional()}),h.looseObject({type:h.literal("tool-approval-request"),approvalId:h.string(),toolCallId:h.string(),isAutomatic:h.boolean().optional(),signature:h.string().optional()}),h.looseObject({type:h.literal("tool-approval-response"),approvalId:h.string(),approved:h.boolean(),reason:h.string().optional(),providerExecuted:h.boolean().optional(),providerMetadata:te.optional()}),h.looseObject({type:h.literal("tool-output-available"),toolCallId:h.string(),output:h.unknown(),providerExecuted:h.boolean().optional(),providerMetadata:te.optional(),toolMetadata:Nc.optional(),dynamic:h.boolean().optional(),preliminary:h.boolean().optional()}),h.looseObject({type:h.literal("tool-output-error"),toolCallId:h.string(),errorText:h.string(),providerExecuted:h.boolean().optional(),providerMetadata:te.optional(),toolMetadata:Nc.optional(),dynamic:h.boolean().optional()}),h.looseObject({type:h.literal("tool-output-denied"),toolCallId:h.string()}),h.looseObject({type:h.literal("reasoning-start"),id:h.string(),providerMetadata:te.optional()}),h.looseObject({type:h.literal("reasoning-delta"),id:h.string(),delta:h.string(),providerMetadata:te.optional()}),h.looseObject({type:h.literal("reasoning-end"),id:h.string(),providerMetadata:te.optional()}),h.looseObject({type:h.literal("custom"),kind:h.string().transform(e=>e),providerMetadata:te.optional()}),h.looseObject({type:h.literal("source-url"),sourceId:h.string(),url:h.string(),title:h.string().optional(),providerMetadata:te.optional()}),h.looseObject({type:h.literal("source-document"),sourceId:h.string(),mediaType:h.string(),title:h.string(),filename:h.string().optional(),providerMetadata:te.optional()}),h.looseObject({type:h.literal("file"),url:h.string(),mediaType:h.string(),providerMetadata:te.optional()}),h.looseObject({type:h.literal("reasoning-file"),url:h.string(),mediaType:h.string(),providerMetadata:te.optional()}),h.looseObject({type:h.custom(e=>typeof e=="string"&&e.startsWith("data-"),{message:'Type must start with "data-"'}),id:h.string().optional(),data:h.unknown(),transient:h.boolean().optional()}),h.looseObject({type:h.literal("start-step")}),h.looseObject({type:h.literal("finish-step")}),h.looseObject({type:h.literal("start"),messageId:h.string().optional(),messageMetadata:h.unknown().optional()}),h.looseObject({type:h.literal("finish"),finishReason:h.enum(["stop","length","content-filter","tool-calls","error","other"]).optional(),messageMetadata:h.unknown().optional()}),h.looseObject({type:h.literal("abort"),reason:h.string().optional()}),h.looseObject({type:h.literal("message-metadata"),messageMetadata:h.unknown()})])));function eB(e){return e.type.startsWith("data-")}function Rc(){return Object.create(null)}function rx(e){return e.type.startsWith("tool-")}function tB(e){return e.type==="dynamic-tool"}function yu(e){return rx(e)||tB(e)}function GN(e){return e.type.split("-").slice(1).join("-")}function nB({lastMessage:e,messageId:t}){return{message:e?.role==="assistant"?e:{id:t,metadata:void 0,role:"assistant",parts:[]},activeTextParts:Rc(),activeReasoningParts:Rc(),partialToolCalls:Rc()}}function rB({stream:e,messageMetadataSchema:t,dataPartSchemas:n,runUpdateMessageJob:a,onError:r,onToolCall:i,onData:o}){return e.pipeThrough(new TransformStream({async transform(s,u){await a(async({state:l,write:c})=>{var f,m,p,b;function S(){let g=l.message.parts,N=g.length-1;for(;N>=0&&g[N].type!=="step-start";)N--;return g.slice(N+1)}function C(){return S().filter(yu)}function v(g){let L=C().find(P=>P.toolCallId===g);if(L==null){let P=l.message.parts;for(let I=P.length-1;I>=0;I--){let re=P[I];if(yu(re)&&re.toolCallId===g){L=re;break}}}if(L==null)throw new lo({chunkType:"tool-invocation",chunkId:g,message:`No tool invocation found for tool call ID "${g}".`});return L}function y(g){let L=l.message.parts.filter(yu).find(P=>{var I;return((I=P.approval)==null?void 0:I.id)===g});if(L==null)throw new lo({chunkType:"tool-approval-response",chunkId:g,message:`No tool invocation found for approval ID "${g}".`});return L}function T(g,N){var L;let P=N??S().find(ne=>rx(ne)&&ne.toolCallId===g.toolCallId),I=g,re=P;if(P!=null){P.state=g.state,re.input=I.input,re.output=I.output,re.errorText=I.errorText,re.rawInput=I.rawInput,re.preliminary=I.preliminary,g.title!==void 0&&(re.title=g.title),g.toolMetadata!==void 0&&(re.toolMetadata=g.toolMetadata),re.providerExecuted=(L=I.providerExecuted)!=null?L:P.providerExecuted;let ne=I.providerMetadata;if(ne!=null)if(g.state==="output-available"||g.state==="output-error"){let W=P;W.resultProviderMetadata=ne}else P.callProviderMetadata=ne}else l.message.parts.push({type:`tool-${g.toolName}`,toolCallId:g.toolCallId,state:g.state,title:g.title,...g.toolMetadata!==void 0?{toolMetadata:g.toolMetadata}:{},input:I.input,output:I.output,rawInput:I.rawInput,errorText:I.errorText,providerExecuted:I.providerExecuted,preliminary:I.preliminary,...I.providerMetadata!=null&&(g.state==="output-available"||g.state==="output-error")?{resultProviderMetadata:I.providerMetadata}:{},...I.providerMetadata!=null&&!(g.state==="output-available"||g.state==="output-error")?{callProviderMetadata:I.providerMetadata}:{}})}function A(g,N){var L,P;let I=N??S().find(W=>W.type==="dynamic-tool"&&W.toolCallId===g.toolCallId),re=g,ne=I;if(I!=null){I.state=g.state,ne.toolName=g.toolName,ne.input=re.input,ne.output=re.output,ne.errorText=re.errorText,ne.rawInput=(L=re.rawInput)!=null?L:ne.rawInput,ne.preliminary=re.preliminary,g.title!==void 0&&(ne.title=g.title),g.toolMetadata!==void 0&&(ne.toolMetadata=g.toolMetadata),ne.providerExecuted=(P=re.providerExecuted)!=null?P:I.providerExecuted;let W=re.providerMetadata;if(W!=null)if(g.state==="output-available"||g.state==="output-error"){let oe=I;oe.resultProviderMetadata=W}else I.callProviderMetadata=W}else l.message.parts.push({type:"dynamic-tool",toolName:g.toolName,toolCallId:g.toolCallId,state:g.state,input:re.input,output:re.output,errorText:re.errorText,preliminary:re.preliminary,providerExecuted:re.providerExecuted,title:g.title,...g.toolMetadata!==void 0?{toolMetadata:g.toolMetadata}:{},...re.providerMetadata!=null&&(g.state==="output-available"||g.state==="output-error")?{resultProviderMetadata:re.providerMetadata}:{},...re.providerMetadata!=null&&!(g.state==="output-available"||g.state==="output-error")?{callProviderMetadata:re.providerMetadata}:{}})}async function O(g){if(g!=null){let N=l.message.metadata!=null?t4(l.message.metadata,g):g;t!=null&&await Bm({value:N,schema:t,context:{field:"message.metadata",entityId:l.message.id}}),l.message.metadata=N}}switch(s.type){case"text-start":{let g={type:"text",text:"",providerMetadata:s.providerMetadata,state:"streaming"};l.activeTextParts[s.id]=g,l.message.parts.push(g),c();break}case"text-delta":{let g=l.activeTextParts[s.id];if(g==null)throw new lo({chunkType:"text-delta",chunkId:s.id,message:`Received text-delta for missing text part with ID "${s.id}". Ensure a "text-start" chunk is sent before any "text-delta" chunks.`});g.text+=s.delta,g.providerMetadata=(f=s.providerMetadata)!=null?f:g.providerMetadata,c();break}case"text-end":{let g=l.activeTextParts[s.id];if(g==null)throw new lo({chunkType:"text-end",chunkId:s.id,message:`Received text-end for missing text part with ID "${s.id}". Ensure a "text-start" chunk is sent before any "text-end" chunks.`});g.state="done",g.providerMetadata=(m=s.providerMetadata)!=null?m:g.providerMetadata,delete l.activeTextParts[s.id],c();break}case"custom":{let g={type:"custom",kind:s.kind,providerMetadata:s.providerMetadata};l.message.parts.push(g),c();break}case"reasoning-start":{let g={type:"reasoning",text:"",providerMetadata:s.providerMetadata,state:"streaming"};l.activeReasoningParts[s.id]=g,l.message.parts.push(g),c();break}case"reasoning-delta":{let g=l.activeReasoningParts[s.id];if(g==null)throw new lo({chunkType:"reasoning-delta",chunkId:s.id,message:`Received reasoning-delta for missing reasoning part with ID "${s.id}". Ensure a "reasoning-start" chunk is sent before any "reasoning-delta" chunks.`});g.text+=s.delta,g.providerMetadata=(p=s.providerMetadata)!=null?p:g.providerMetadata,c();break}case"reasoning-end":{let g=l.activeReasoningParts[s.id];if(g==null)throw new lo({chunkType:"reasoning-end",chunkId:s.id,message:`Received reasoning-end for missing reasoning part with ID "${s.id}". Ensure a "reasoning-start" chunk is sent before any "reasoning-end" chunks.`});g.providerMetadata=(b=s.providerMetadata)!=null?b:g.providerMetadata,g.state="done",delete l.activeReasoningParts[s.id],c();break}case"file":case"reasoning-file":{l.message.parts.push({type:s.type,mediaType:s.mediaType,url:s.url,...s.providerMetadata!=null?{providerMetadata:s.providerMetadata}:{}}),c();break}case"source-url":{l.message.parts.push({type:"source-url",sourceId:s.sourceId,url:s.url,title:s.title,providerMetadata:s.providerMetadata}),c();break}case"source-document":{l.message.parts.push({type:"source-document",sourceId:s.sourceId,mediaType:s.mediaType,title:s.title,filename:s.filename,providerMetadata:s.providerMetadata}),c();break}case"tool-input-start":{let g=S().filter(rx);l.partialToolCalls[s.toolCallId]={text:"",toolName:s.toolName,index:g.length,dynamic:s.dynamic,title:s.title,toolMetadata:s.toolMetadata},s.dynamic?A({toolCallId:s.toolCallId,toolName:s.toolName,state:"input-streaming",input:void 0,providerExecuted:s.providerExecuted,title:s.title,toolMetadata:s.toolMetadata,providerMetadata:s.providerMetadata}):T({toolCallId:s.toolCallId,toolName:s.toolName,state:"input-streaming",input:void 0,providerExecuted:s.providerExecuted,title:s.title,toolMetadata:s.toolMetadata,providerMetadata:s.providerMetadata}),c();break}case"tool-input-delta":{let g=l.partialToolCalls[s.toolCallId];if(g==null)throw new lo({chunkType:"tool-input-delta",chunkId:s.toolCallId,message:`Received tool-input-delta for missing tool call with ID "${s.toolCallId}". Ensure a "tool-input-start" chunk is sent before any "tool-input-delta" chunks.`});g.text+=s.inputTextDelta;let{value:N}=await Dc(g.text);g.dynamic?A({toolCallId:s.toolCallId,toolName:g.toolName,state:"input-streaming",input:N,title:g.title,toolMetadata:g.toolMetadata}):T({toolCallId:s.toolCallId,toolName:g.toolName,state:"input-streaming",input:N,title:g.title,toolMetadata:g.toolMetadata}),c();break}case"tool-input-available":{s.dynamic?A({toolCallId:s.toolCallId,toolName:s.toolName,state:"input-available",input:s.input,providerExecuted:s.providerExecuted,providerMetadata:s.providerMetadata,title:s.title,toolMetadata:s.toolMetadata}):T({toolCallId:s.toolCallId,toolName:s.toolName,state:"input-available",input:s.input,providerExecuted:s.providerExecuted,providerMetadata:s.providerMetadata,title:s.title,toolMetadata:s.toolMetadata}),c(),i&&!s.providerExecuted&&await i({toolCall:s});break}case"tool-input-error":{let g=S().filter(yu).find(L=>L.toolCallId===s.toolCallId);(g!=null?g.type==="dynamic-tool":!!s.dynamic)?A({toolCallId:s.toolCallId,toolName:s.toolName,state:"output-error",input:s.input,errorText:s.errorText,providerExecuted:s.providerExecuted,providerMetadata:s.providerMetadata,toolMetadata:s.toolMetadata}):T({toolCallId:s.toolCallId,toolName:s.toolName,state:"output-error",input:void 0,rawInput:s.input,errorText:s.errorText,providerExecuted:s.providerExecuted,providerMetadata:s.providerMetadata,toolMetadata:s.toolMetadata}),c();break}case"tool-approval-request":{let g=v(s.toolCallId);g.state="approval-requested",g.approval={id:s.approvalId,...s.isAutomatic===!0?{isAutomatic:!0}:{},...s.signature!=null?{signature:s.signature}:{}},c();break}case"tool-approval-response":{let g=y(s.approvalId),N=g.approval==null?{id:s.approvalId}:g.approval;g.state="approval-responded",g.approval={id:s.approvalId,approved:s.approved,...s.reason!=null?{reason:s.reason}:{},...N.isAutomatic===!0?{isAutomatic:!0}:{},...N.signature!=null?{signature:N.signature}:{}},s.providerExecuted!=null&&(g.providerExecuted=s.providerExecuted),s.providerMetadata!=null&&(g.callProviderMetadata=s.providerMetadata),c();break}case"tool-output-denied":{let g=v(s.toolCallId);g.state="output-denied",c();break}case"tool-output-available":{let g=v(s.toolCallId);g.type==="dynamic-tool"?A({toolCallId:s.toolCallId,toolName:g.toolName,state:"output-available",input:g.input,output:s.output,preliminary:s.preliminary,providerExecuted:s.providerExecuted,providerMetadata:s.providerMetadata,title:g.title,toolMetadata:g.toolMetadata},g):T({toolCallId:s.toolCallId,toolName:GN(g),state:"output-available",input:g.input,output:s.output,providerExecuted:s.providerExecuted,preliminary:s.preliminary,providerMetadata:s.providerMetadata,title:g.title,toolMetadata:g.toolMetadata},g),c();break}case"tool-output-error":{let g=v(s.toolCallId);g.type==="dynamic-tool"?A({toolCallId:s.toolCallId,toolName:g.toolName,state:"output-error",input:g.input,errorText:s.errorText,providerExecuted:s.providerExecuted,providerMetadata:s.providerMetadata,title:g.title,toolMetadata:g.toolMetadata},g):T({toolCallId:s.toolCallId,toolName:GN(g),state:"output-error",input:g.input,rawInput:g.rawInput,errorText:s.errorText,providerExecuted:s.providerExecuted,providerMetadata:s.providerMetadata,title:g.title,toolMetadata:g.toolMetadata},g),c();break}case"start-step":{l.message.parts.push({type:"step-start"});break}case"finish-step":{l.activeTextParts=Rc(),l.activeReasoningParts=Rc();break}case"start":{s.messageId!=null&&(l.message.id=s.messageId),await O(s.messageMetadata),(s.messageId!=null||s.messageMetadata!=null)&&c();break}case"finish":{s.finishReason!=null&&(l.finishReason=s.finishReason),await O(s.messageMetadata),s.messageMetadata!=null&&c();break}case"message-metadata":{await O(s.messageMetadata),s.messageMetadata!=null&&c();break}case"error":{r?.(new Error(s.errorText));break}default:if(eB(s)){if(n?.[s.type]!=null){let L=l.message.parts.findIndex(I=>"id"in I&&"data"in I&&I.id===s.id&&I.type===s.type),P=L>=0?L:l.message.parts.length;await Bm({value:s.data,schema:n[s.type],context:{field:`message.parts[${P}].data`,entityName:s.type,entityId:s.id}})}let g=s;if(g.transient){o?.(g);break}let N=g.id!=null?l.message.parts.find(L=>g.type===L.type&&g.id===L.id):void 0;N!=null?N.data=g.data:l.message.parts.push(g),o?.(g),c()}}u.enqueue(s)})}}))}async function aB({stream:e,onError:t}){let n=e.getReader();try{for(;;){let{done:a}=await n.read();if(a)break}}catch(a){t?.(a)}finally{n.releaseLock()}}var PW=bt({prefix:"aitxt",size:24}),zW=bt({prefix:"call",size:24});var UW=bt({prefix:"aitxt",size:24}),jW=bt({prefix:"call",size:24});var gn=h.record(h.string(),co.optional()),iB=h.record(h.string(),h.string()),HW=zm(()=>Oc(h.array(h.object({id:h.string(),role:h.enum(["system","user","assistant"]),metadata:h.unknown().optional(),parts:h.array(h.union([h.object({type:h.literal("text"),text:h.string(),state:h.enum(["streaming","done"]).optional(),providerMetadata:te.optional()}),h.object({type:h.literal("reasoning"),text:h.string(),state:h.enum(["streaming","done"]).optional(),providerMetadata:te.optional()}),h.object({type:h.literal("custom"),kind:h.string(),providerMetadata:te.optional()}),h.object({type:h.literal("source-url"),sourceId:h.string(),url:h.string(),title:h.string().optional(),providerMetadata:te.optional()}),h.object({type:h.literal("source-document"),sourceId:h.string(),mediaType:h.string(),title:h.string(),filename:h.string().optional(),providerMetadata:te.optional()}),h.object({type:h.literal("file"),mediaType:h.string(),filename:h.string().optional(),url:h.string(),providerReference:iB.optional(),providerMetadata:te.optional()}),h.object({type:h.literal("reasoning-file"),mediaType:h.string(),url:h.string(),providerMetadata:te.optional()}),h.object({type:h.literal("step-start")}),h.object({type:h.string().startsWith("data-"),id:h.string().optional(),data:h.unknown()}),h.object({type:h.literal("dynamic-tool"),toolName:h.string(),toolCallId:h.string(),toolMetadata:gn.optional(),state:h.literal("input-streaming"),input:h.unknown().optional(),providerExecuted:h.boolean().optional(),callProviderMetadata:te.optional(),output:h.never().optional(),errorText:h.never().optional(),approval:h.never().optional()}),h.object({type:h.literal("dynamic-tool"),toolName:h.string(),toolCallId:h.string(),toolMetadata:gn.optional(),state:h.literal("input-available"),input:h.unknown(),providerExecuted:h.boolean().optional(),output:h.never().optional(),errorText:h.never().optional(),callProviderMetadata:te.optional(),approval:h.never().optional()}),h.object({type:h.literal("dynamic-tool"),toolName:h.string(),toolCallId:h.string(),toolMetadata:gn.optional(),state:h.literal("approval-requested"),input:h.unknown(),providerExecuted:h.boolean().optional(),output:h.never().optional(),errorText:h.never().optional(),callProviderMetadata:te.optional(),approval:h.object({id:h.string(),approved:h.never().optional(),reason:h.never().optional(),isAutomatic:h.boolean().optional(),signature:h.string().optional()})}),h.object({type:h.literal("dynamic-tool"),toolName:h.string(),toolCallId:h.string(),toolMetadata:gn.optional(),state:h.literal("approval-responded"),input:h.unknown(),providerExecuted:h.boolean().optional(),output:h.never().optional(),errorText:h.never().optional(),callProviderMetadata:te.optional(),approval:h.object({id:h.string(),approved:h.boolean(),reason:h.string().optional(),isAutomatic:h.boolean().optional(),signature:h.string().optional()})}),h.object({type:h.literal("dynamic-tool"),toolName:h.string(),toolCallId:h.string(),toolMetadata:gn.optional(),state:h.literal("output-available"),input:h.unknown(),providerExecuted:h.boolean().optional(),output:h.unknown(),errorText:h.never().optional(),callProviderMetadata:te.optional(),resultProviderMetadata:te.optional(),preliminary:h.boolean().optional(),approval:h.object({id:h.string(),approved:h.literal(!0),reason:h.string().optional(),isAutomatic:h.boolean().optional(),signature:h.string().optional()}).optional()}),h.object({type:h.literal("dynamic-tool"),toolName:h.string(),toolCallId:h.string(),toolMetadata:gn.optional(),state:h.literal("output-error"),input:h.unknown().optional(),rawInput:h.unknown().optional(),providerExecuted:h.boolean().optional(),output:h.never().optional(),errorText:h.string(),callProviderMetadata:te.optional(),resultProviderMetadata:te.optional(),approval:h.object({id:h.string(),approved:h.literal(!0),reason:h.string().optional(),isAutomatic:h.boolean().optional(),signature:h.string().optional()}).optional()}),h.object({type:h.literal("dynamic-tool"),toolName:h.string(),toolCallId:h.string(),toolMetadata:gn.optional(),state:h.literal("output-denied"),input:h.unknown(),providerExecuted:h.boolean().optional(),output:h.never().optional(),errorText:h.never().optional(),callProviderMetadata:te.optional(),approval:h.object({id:h.string(),approved:h.literal(!1),reason:h.string().optional(),isAutomatic:h.boolean().optional(),signature:h.string().optional()})}),h.object({type:h.string().startsWith("tool-"),toolCallId:h.string(),toolMetadata:gn.optional(),state:h.literal("input-streaming"),providerExecuted:h.boolean().optional(),callProviderMetadata:te.optional(),input:h.unknown().optional(),output:h.never().optional(),errorText:h.never().optional(),approval:h.never().optional()}),h.object({type:h.string().startsWith("tool-"),toolCallId:h.string(),toolMetadata:gn.optional(),state:h.literal("input-available"),providerExecuted:h.boolean().optional(),input:h.unknown(),output:h.never().optional(),errorText:h.never().optional(),callProviderMetadata:te.optional(),approval:h.never().optional()}),h.object({type:h.string().startsWith("tool-"),toolCallId:h.string(),toolMetadata:gn.optional(),state:h.literal("approval-requested"),input:h.unknown(),providerExecuted:h.boolean().optional(),output:h.never().optional(),errorText:h.never().optional(),callProviderMetadata:te.optional(),approval:h.object({id:h.string(),approved:h.never().optional(),reason:h.never().optional(),isAutomatic:h.boolean().optional(),signature:h.string().optional()})}),h.object({type:h.string().startsWith("tool-"),toolCallId:h.string(),toolMetadata:gn.optional(),state:h.literal("approval-responded"),input:h.unknown(),providerExecuted:h.boolean().optional(),output:h.never().optional(),errorText:h.never().optional(),callProviderMetadata:te.optional(),approval:h.object({id:h.string(),approved:h.boolean(),reason:h.string().optional(),isAutomatic:h.boolean().optional(),signature:h.string().optional()})}),h.object({type:h.string().startsWith("tool-"),toolCallId:h.string(),toolMetadata:gn.optional(),state:h.literal("output-available"),providerExecuted:h.boolean().optional(),input:h.unknown(),output:h.unknown(),errorText:h.never().optional(),callProviderMetadata:te.optional(),resultProviderMetadata:te.optional(),preliminary:h.boolean().optional(),approval:h.object({id:h.string(),approved:h.literal(!0),reason:h.string().optional(),isAutomatic:h.boolean().optional(),signature:h.string().optional()}).optional()}),h.object({type:h.string().startsWith("tool-"),toolCallId:h.string(),toolMetadata:gn.optional(),state:h.literal("output-error"),providerExecuted:h.boolean().optional(),input:h.unknown().optional(),rawInput:h.unknown().optional(),output:h.never().optional(),errorText:h.string(),callProviderMetadata:te.optional(),resultProviderMetadata:te.optional(),approval:h.object({id:h.string(),approved:h.literal(!0),reason:h.string().optional(),isAutomatic:h.boolean().optional(),signature:h.string().optional()}).optional()}),h.object({type:h.string().startsWith("tool-"),toolCallId:h.string(),toolMetadata:gn.optional(),state:h.literal("output-denied"),providerExecuted:h.boolean().optional(),input:h.unknown(),output:h.never().optional(),errorText:h.never().optional(),callProviderMetadata:te.optional(),approval:h.object({id:h.string(),approved:h.literal(!1),reason:h.string().optional(),isAutomatic:h.boolean().optional(),signature:h.string().optional()})})]))}).superRefine((e,t)=>{e.role!=="assistant"&&e.parts.length===0&&t.addIssue({origin:"array",code:"too_small",minimum:1,inclusive:!0,input:e.parts,path:["parts"],message:"Message must contain at least one part"})})).nonempty("Messages array must not be empty")));var qW=bt({prefix:"call",size:24});var YW=bt({prefix:"call",size:24});var KW=bt({prefix:"aiobj",size:24});function o4(e){return({url:t,abortSignal:n})=>Rj({url:t,maxBytes:e?.maxBytes,abortSignal:n})}var oB=class{constructor(){this.queue=[],this.isProcessing=!1}async processQueue(){if(!this.isProcessing){for(this.isProcessing=!0;this.queue.length>0;)await this.queue[0](),this.queue.shift();this.isProcessing=!1}}async run(e){return new Promise((t,n)=>{this.queue.push(async()=>{try{await e(),t()}catch(a){n(a)}}),this.processQueue()})}};var XW=bt({prefix:"aiobj",size:24});var QW=o4();var sB="AI_NoSuchProviderError",uB=`vercel.ai.error.${sB}`,lB=Symbol.for(uB),cB;cB=lB;var eee=bt({prefix:"call",size:24});var tee=o4();async function dB(e){if(e==null)return[];if(!globalThis.FileList||!(e instanceof globalThis.FileList))throw new Error("FileList is not supported in the current environment");return Promise.all(Array.from(e).map(async t=>{let{name:n,type:a}=t,r=await new Promise((i,o)=>{let s=new FileReader;s.onload=u=>{var l;i((l=u.target)==null?void 0:l.result)},s.onerror=u=>o(u),s.readAsDataURL(t)});return{type:"file",mediaType:a,filename:n,url:r}}))}var fB=class{constructor({api:e="/api/chat",credentials:t,headers:n,body:a,fetch:r,prepareSendMessagesRequest:i,prepareReconnectToStreamRequest:o}){this.api=e,this.credentials=t,this.headers=n,this.body=a,this.fetch=r,this.prepareSendMessagesRequest=i,this.prepareReconnectToStreamRequest=o}async sendMessages({abortSignal:e,...t}){var n,a,r,i,o;let s=await Nr(this.body),u=await Nr(this.headers),l=await Nr(this.credentials),c={...fi(u),...fi(t.headers)},f=await((n=this.prepareSendMessagesRequest)==null?void 0:n.call(this,{api:this.api,id:t.chatId,messages:t.messages,body:{...s,...t.body},headers:c,credentials:l,requestMetadata:t.metadata,trigger:t.trigger,messageId:t.messageId})),m=(a=f?.api)!=null?a:this.api,p=f?.headers!==void 0?fi(f.headers):c,b=f?.body!==void 0?f.body:{...s,...t.body,id:t.chatId,messages:t.messages,trigger:t.trigger,messageId:t.messageId},S=(r=f?.credentials)!=null?r:l,v=await((i=this.fetch)!=null?i:globalThis.fetch)(m,{method:"POST",headers:{"Content-Type":"application/json",...p},body:JSON.stringify(b),credentials:S,signal:e});if(!v.ok)throw new Error((o=await v.text())!=null?o:"Failed to fetch the chat response.");if(!v.body)throw new Error("The response body is empty.");return this.processResponseStream(v.body)}async reconnectToStream(e){var t,n,a,r,i;let o=await Nr(this.body),s=await Nr(this.headers),u=await Nr(this.credentials),l={...fi(s),...fi(e.headers)},c=await((t=this.prepareReconnectToStreamRequest)==null?void 0:t.call(this,{api:this.api,id:e.chatId,body:{...o,...e.body},headers:l,credentials:u,requestMetadata:e.metadata})),f=(n=c?.api)!=null?n:`${this.api}/${e.chatId}/stream`,m=c?.headers!==void 0?fi(c.headers):l,p=(a=c?.credentials)!=null?a:u,S=await((r=this.fetch)!=null?r:globalThis.fetch)(f,{method:"GET",headers:m,credentials:p});if(S.status===204)return null;if(!S.ok)throw new Error((i=await S.text())!=null?i:"Failed to fetch the chat response.");if(!S.body)throw new Error("The response body is empty.");return this.processResponseStream(S.body)}},$c=class extends fB{constructor(e={}){super(e)}processResponseStream(e){return YN({stream:e,schema:Wj}).pipeThrough(new TransformStream({async transform(t,n){if(!t.success)throw t.error;n.enqueue(t.value)}}))}},s4=class{constructor({generateId:e=jN,id:t=e(),transport:n=new $c,messageMetadataSchema:a,dataPartSchemas:r,state:i,onError:o,onToolCall:s,onFinish:u,onData:l,sendAutomaticallyWhen:c}){this.activeResponse=void 0,this.jobExecutor=new oB,this.sendMessage=async(f,m)=>{var p,b,S,C;if(f==null){await this.makeRequest({trigger:"submit-message",messageId:(p=this.lastMessage)==null?void 0:p.id,...m});return}let v;if("text"in f||"files"in f?v={parts:[...Array.isArray(f.files)?f.files:await dB(f.files),..."text"in f&&f.text!=null?[{type:"text",text:f.text}]:[]]}:v=f,f.messageId!=null){let y=this.state.messages.findIndex(T=>T.id===f.messageId);if(y===-1)throw new Error(`message with id ${f.messageId} not found`);if(this.state.messages[y].role!=="user")throw new Error(`message with id ${f.messageId} is not a user message`);this.state.messages=this.state.messages.slice(0,y+1),this.state.replaceMessage(y,{...v,id:f.messageId,role:(b=v.role)!=null?b:"user",metadata:f.metadata})}else this.state.pushMessage({...v,id:(S=v.id)!=null?S:this.generateId(),role:(C=v.role)!=null?C:"user",metadata:f.metadata});await this.makeRequest({trigger:"submit-message",messageId:f.messageId,...m})},this.regenerate=async({messageId:f,...m}={})=>{let p=f==null?this.state.messages.length-1:this.state.messages.findIndex(b=>b.id===f);if(p===-1)throw new Error(`message ${f} not found`);this.state.messages=this.state.messages.slice(0,this.messages[p].role==="assistant"?p:p+1),await this.makeRequest({trigger:"regenerate-message",messageId:f,...m})},this.resumeStream=async(f={})=>{await this.makeRequest({trigger:"resume-stream",...f})},this.clearError=()=>{this.status==="error"&&(this.state.error=void 0,this.setStatus({status:"ready"}))},this.addToolApprovalResponse=async({id:f,approved:m,reason:p,options:b})=>this.jobExecutor.run(async()=>{let S=this.state.messages,C=S[S.length-1],v=y=>yu(y)&&y.state==="approval-requested"&&y.approval.id===f?{...y,state:"approval-responded",approval:{...y.approval,id:f,approved:m,reason:p}}:y;this.state.replaceMessage(S.length-1,{...C,parts:C.parts.map(v)}),this.activeResponse&&(this.activeResponse.state.message.parts=this.activeResponse.state.message.parts.map(v)),this.status!=="streaming"&&this.status!=="submitted"&&this.sendAutomaticallyWhen&&this.shouldSendAutomatically().then(y=>{var T;y&&this.makeRequest({trigger:"submit-message",messageId:(T=this.lastMessage)==null?void 0:T.id,...b})})}),this.addToolOutput=async({state:f="output-available",toolCallId:m,output:p,errorText:b,options:S})=>this.jobExecutor.run(async()=>{let C=this.state.messages,v=C[C.length-1],y=T=>yu(T)&&T.toolCallId===m?{...T,state:f,output:p,errorText:b}:T;this.state.replaceMessage(C.length-1,{...v,parts:v.parts.map(y)}),this.activeResponse&&(this.activeResponse.state.message.parts=this.activeResponse.state.message.parts.map(y)),this.status!=="streaming"&&this.status!=="submitted"&&this.sendAutomaticallyWhen&&this.shouldSendAutomatically().then(T=>{var A;T&&this.makeRequest({trigger:"submit-message",messageId:(A=this.lastMessage)==null?void 0:A.id,...S})})}),this.addToolResult=this.addToolOutput,this.stop=async()=>{var f;this.status!=="streaming"&&this.status!=="submitted"||(f=this.activeResponse)!=null&&f.abortController&&this.activeResponse.abortController.abort()},this.id=t,this.transport=n,this.generateId=e,this.messageMetadataSchema=a,this.dataPartSchemas=r,this.state=i,this.onError=o,this.onToolCall=s,this.onFinish=u,this.onData=l,this.sendAutomaticallyWhen=c}get status(){return this.state.status}setStatus({status:e,error:t}){this.status!==e&&(this.state.status=e,this.state.error=t)}get error(){return this.state.error}get messages(){return this.state.messages}get lastMessage(){return this.state.messages[this.state.messages.length-1]}set messages(e){this.state.messages=e}async shouldSendAutomatically(){if(!this.sendAutomaticallyWhen)return!1;let e=this.sendAutomaticallyWhen({messages:this.state.messages});return e&&typeof e=="object"&&"then"in e?await e:e}async makeRequest({trigger:e,metadata:t,headers:n,body:a,messageId:r}){var i,o;let s;if(e==="resume-stream")try{let p=await this.transport.reconnectToStream({chatId:this.id,metadata:t,headers:n,body:a});if(p==null)return;s=p}catch(p){this.onError&&p instanceof Error&&this.onError(p),this.setStatus({status:"error",error:p});return}this.setStatus({status:"submitted",error:void 0});let u=this.lastMessage,l=!1,c=!1,f=!1,m;try{let p={state:nB({lastMessage:this.state.snapshot(u),messageId:this.generateId()}),abortController:new AbortController};m=p,p.abortController.signal.addEventListener("abort",()=>{l=!0}),this.activeResponse=p;let b;e==="resume-stream"?b=s:b=await this.transport.sendMessages({chatId:this.id,messages:this.state.messages,abortSignal:p.abortController.signal,metadata:t,headers:n,body:a,trigger:e,messageId:r});let S=C=>this.jobExecutor.run(()=>C({state:p.state,write:()=>{var v;this.setStatus({status:"streaming"}),p.state.message.id===((v=this.lastMessage)==null?void 0:v.id)?this.state.replaceMessage(this.state.messages.length-1,p.state.message):this.state.pushMessage(p.state.message)}}));await aB({stream:rB({stream:b,onToolCall:this.onToolCall,onData:this.onData,messageMetadataSchema:this.messageMetadataSchema,dataPartSchemas:this.dataPartSchemas,runUpdateMessageJob:S,onError:C=>{throw C}}),onError:C=>{throw C}}),this.setStatus({status:"ready"})}catch(p){if(l||p.name==="AbortError")return l=!0,this.setStatus({status:"ready"}),null;f=!0,p instanceof TypeError&&(p.message.toLowerCase().includes("fetch")||p.message.toLowerCase().includes("network"))&&(c=!0),this.onError&&p instanceof Error&&this.onError(p),this.setStatus({status:"error",error:p})}finally{try{m&&((i=this.onFinish)==null||i.call(this,{message:m.state.message,messages:this.state.messages,isAbort:l,isDisconnect:c,isError:f,finishReason:m.state.finishReason}))}catch(p){console.error(p)}this.activeResponse===m&&(this.activeResponse=void 0)}!f&&await this.shouldSendAutomatically()&&await this.makeRequest({trigger:"submit-message",messageId:(o=this.lastMessage)==null?void 0:o.id,metadata:t,headers:n,body:a})}};var qm=ct(xn(),1);var Qn=ct(xn(),1);var h4=ct(l4(),1);var Uc=ct(xn(),1);var Vm=ct(xn(),1),v4=ct(xn(),1),sx=ct(xn(),1);var yB=ct(mi(),1),bB=ct(mi(),1),m4=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},We=(e,t,n)=>(m4(e,t,"read from private field"),n?n.call(e):t.get(e)),Rr=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},hi=(e,t,n,a)=>(m4(e,t,"write to private field"),a?a.call(e,n):t.set(e,n),n);function gB(e,t){return t!=null?(0,h4.default)(e,t):e}var Xn,Hm,Zm,Lc,Pc,zc,bu,ix,ox,vB=class{constructor(e=[]){Rr(this,Xn,void 0),Rr(this,Hm,"ready"),Rr(this,Zm,void 0),Rr(this,Lc,new Set),Rr(this,Pc,new Set),Rr(this,zc,new Set),this.pushMessage=t=>{hi(this,Xn,We(this,Xn).concat(t)),We(this,bu).call(this)},this.popMessage=()=>{hi(this,Xn,We(this,Xn).slice(0,-1)),We(this,bu).call(this)},this.replaceMessage=(t,n)=>{hi(this,Xn,[...We(this,Xn).slice(0,t),this.snapshot(n),...We(this,Xn).slice(t+1)]),We(this,bu).call(this)},this.snapshot=t=>structuredClone(t),this["~registerMessagesCallback"]=(t,n)=>{let a=n?gB(t,n):t;return We(this,Lc).add(a),()=>{We(this,Lc).delete(a)}},this["~registerStatusCallback"]=t=>(We(this,Pc).add(t),()=>{We(this,Pc).delete(t)}),this["~registerErrorCallback"]=t=>(We(this,zc).add(t),()=>{We(this,zc).delete(t)}),Rr(this,bu,()=>{We(this,Lc).forEach(t=>t())}),Rr(this,ix,()=>{We(this,Pc).forEach(t=>t())}),Rr(this,ox,()=>{We(this,zc).forEach(t=>t())}),hi(this,Xn,e)}get status(){return We(this,Hm)}set status(e){hi(this,Hm,e),We(this,ix).call(this)}get error(){return We(this,Zm)}set error(e){hi(this,Zm,e),We(this,ox).call(this)}get messages(){return We(this,Xn)}set messages(e){hi(this,Xn,[...e]),We(this,bu).call(this)}};Xn=new WeakMap;Hm=new WeakMap;Zm=new WeakMap;Lc=new WeakMap;Pc=new WeakMap;zc=new WeakMap;bu=new WeakMap;ix=new WeakMap;ox=new WeakMap;var _u,p4=class extends s4{constructor({messages:e,...t}){let n=new vB(e);super({...t,state:n}),Rr(this,_u,void 0),this["~registerMessagesCallback"]=(a,r)=>We(this,_u)["~registerMessagesCallback"](a,r),this["~registerStatusCallback"]=a=>We(this,_u)["~registerStatusCallback"](a),this["~registerErrorCallback"]=a=>We(this,_u)["~registerErrorCallback"](a),hi(this,_u,n)}};_u=new WeakMap;function g4({throttle:e,experimental_throttle:t,resume:n=!1,...a}={}){let r=e??t,i=(0,Qn.useRef)({});"chat"in a||(i.current={onToolCall:a.onToolCall,onData:a.onData,onFinish:a.onFinish,onError:a.onError,sendAutomaticallyWhen:a.sendAutomaticallyWhen,transport:a.transport});let o,s=()=>{var C;return(C=i.current.transport)!=null?C:o??(o=new $c)},u={...a,transport:{sendMessages:C=>s().sendMessages(C),reconnectToStream:C=>s().reconnectToStream(C)},onToolCall:C=>{var v,y;return(y=(v=i.current).onToolCall)==null?void 0:y.call(v,C)},onData:C=>{var v,y;return(y=(v=i.current).onData)==null?void 0:y.call(v,C)},onFinish:C=>{var v,y;return(y=(v=i.current).onFinish)==null?void 0:y.call(v,C)},onError:C=>{var v,y;return(y=(v=i.current).onError)==null?void 0:y.call(v,C)},sendAutomaticallyWhen:C=>{var v,y,T;return(T=(y=(v=i.current).sendAutomaticallyWhen)==null?void 0:y.call(v,C))!=null?T:!1}},l=(0,Qn.useRef)("chat"in a?a.chat:new p4(u));("chat"in a&&a.chat!==l.current||"id"in a&&a.id!=null&&l.current.id!==a.id)&&(l.current="chat"in a?a.chat:new p4(u));let f=(0,Qn.useCallback)(C=>l.current["~registerMessagesCallback"](C,r),[r,l.current.id]),m=(0,Qn.useSyncExternalStore)(f,()=>l.current.messages,()=>l.current.messages),p=(0,Qn.useSyncExternalStore)(l.current["~registerStatusCallback"],()=>l.current.status,()=>l.current.status),b=(0,Qn.useSyncExternalStore)(l.current["~registerErrorCallback"],()=>l.current.error,()=>l.current.error),S=(0,Qn.useCallback)(C=>{typeof C=="function"&&(C=C(l.current.messages)),l.current.messages=C},[l]);return(0,Qn.useEffect)(()=>{n&&l.current.resumeStream()},[n,l]),{id:l.current.id,messages:m,setMessages:S,sendMessage:l.current.sendMessage,regenerate:l.current.regenerate,clearError:l.current.clearError,stop:l.current.stop,error:b,resumeStream:l.current.resumeStream,status:p,addToolResult:l.current.addToolOutput,addToolOutput:l.current.addToolOutput,addToolApprovalResponse:l.current.addToolApprovalResponse}}var nn=ct(xn(),1),hD=ct(xn(),1);function ux(e){let t=[],n=String(e||""),a=n.indexOf(","),r=0,i=!1;for(;!i;){a===-1&&(a=n.length,i=!0);let o=n.slice(r,a).trim();(o||!i)&&t.push(o),r=a+1,a=n.indexOf(",",r)}return t}function Ym(e,t){let n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var _B=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,TB=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,xB={};function Gm(e,t){return((t||xB).jsx?TB:_B).test(e)}var EB=/[ \t\n\f\r]/g;function lx(e){return typeof e=="object"?e.type==="text"?y4(e.value):!1:y4(e)}function y4(e){return e.replace(EB,"")===""}var ga=class{constructor(t,n,a){this.normal=n,this.property=t,a&&(this.space=a)}};ga.prototype.normal={};ga.prototype.property={};ga.prototype.space=void 0;function cx(e,t){let n={},a={};for(let r of e)Object.assign(n,r.property),Object.assign(a,r.normal);return new ga(n,a,t)}function va(e){return e.toLowerCase()}var At=class{constructor(t,n){this.attribute=n,this.property=t}};At.prototype.attribute="";At.prototype.booleanish=!1;At.prototype.boolean=!1;At.prototype.commaOrSpaceSeparated=!1;At.prototype.commaSeparated=!1;At.prototype.defined=!1;At.prototype.mustUseProperty=!1;At.prototype.number=!1;At.prototype.overloadedBoolean=!1;At.prototype.property="";At.prototype.spaceSeparated=!1;At.prototype.space=void 0;var jc={};Tn(jc,{boolean:()=>fe,booleanish:()=>ut,commaOrSpaceSeparated:()=>vn,commaSeparated:()=>ya,number:()=>V,overloadedBoolean:()=>Km,spaceSeparated:()=>$e});var SB=0,fe=fo(),ut=fo(),Km=fo(),V=fo(),$e=fo(),ya=fo(),vn=fo();function fo(){return 2**++SB}var dx=Object.keys(jc),po=class extends At{constructor(t,n,a,r){let i=-1;if(super(t,n),b4(this,"space",r),typeof a=="number")for(;++i<dx.length;){let o=dx[i];b4(this,dx[i],(a&jc[o])===jc[o])}}};po.prototype.defined=!0;function b4(e,t,n){n&&(e[t]=n)}function Wn(e){let t={},n={};for(let[a,r]of Object.entries(e.properties)){let i=new po(a,e.transform(e.attributes||{},a),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(a)&&(i.mustUseProperty=!0),t[a]=i,n[va(a)]=a,n[va(i.attribute)]=a}return new ga(t,n,e.space)}var fx=Wn({properties:{ariaActiveDescendant:null,ariaAtomic:ut,ariaAutoComplete:null,ariaBusy:ut,ariaChecked:ut,ariaColCount:V,ariaColIndex:V,ariaColSpan:V,ariaControls:$e,ariaCurrent:null,ariaDescribedBy:$e,ariaDetails:null,ariaDisabled:ut,ariaDropEffect:$e,ariaErrorMessage:null,ariaExpanded:ut,ariaFlowTo:$e,ariaGrabbed:ut,ariaHasPopup:null,ariaHidden:ut,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:$e,ariaLevel:V,ariaLive:null,ariaModal:ut,ariaMultiLine:ut,ariaMultiSelectable:ut,ariaOrientation:null,ariaOwns:$e,ariaPlaceholder:null,ariaPosInSet:V,ariaPressed:ut,ariaReadOnly:ut,ariaRelevant:null,ariaRequired:ut,ariaRoleDescription:$e,ariaRowCount:V,ariaRowIndex:V,ariaRowSpan:V,ariaSelected:ut,ariaSetSize:V,ariaSort:null,ariaValueMax:V,ariaValueMin:V,ariaValueNow:V,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Jm(e,t){return t in e?e[t]:t}function Xm(e,t){return Jm(e,t.toLowerCase())}var _4=Wn({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ya,acceptCharset:$e,accessKey:$e,action:null,allow:null,allowFullScreen:fe,allowPaymentRequest:fe,allowUserMedia:fe,alpha:fe,alt:null,as:null,async:fe,autoCapitalize:null,autoComplete:$e,autoFocus:fe,autoPlay:fe,blocking:$e,capture:null,charSet:null,checked:fe,cite:null,className:$e,closedBy:null,colorSpace:null,cols:V,colSpan:V,command:null,commandFor:null,content:null,contentEditable:ut,controls:fe,controlsList:$e,coords:V|ya,crossOrigin:null,data:null,dateTime:null,decoding:null,default:fe,defer:fe,dir:null,dirName:null,disabled:fe,download:Km,draggable:ut,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:fe,formTarget:null,headers:$e,height:V,hidden:Km,high:V,href:null,hrefLang:null,htmlFor:$e,httpEquiv:$e,id:null,imageSizes:null,imageSrcSet:null,inert:fe,inputMode:null,integrity:null,is:null,isMap:fe,itemId:null,itemProp:$e,itemRef:$e,itemScope:fe,itemType:$e,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:fe,low:V,manifest:null,max:null,maxLength:V,media:null,method:null,min:null,minLength:V,multiple:fe,muted:fe,name:null,nonce:null,noModule:fe,noValidate:fe,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:fe,optimum:V,pattern:null,ping:$e,placeholder:null,playsInline:fe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:fe,referrerPolicy:null,rel:$e,required:fe,reversed:fe,rows:V,rowSpan:V,sandbox:$e,scope:null,scoped:fe,seamless:fe,selected:fe,shadowRootClonable:fe,shadowRootCustomElementRegistry:fe,shadowRootDelegatesFocus:fe,shadowRootMode:null,shadowRootSerializable:fe,shape:null,size:V,sizes:null,slot:null,span:V,spellCheck:ut,src:null,srcDoc:null,srcLang:null,srcSet:null,start:V,step:null,style:null,tabIndex:V,target:null,title:null,translate:null,type:null,typeMustMatch:fe,useMap:null,value:ut,width:V,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:$e,axis:null,background:null,bgColor:null,border:V,borderColor:null,bottomMargin:V,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:fe,declare:fe,event:null,face:null,frame:null,frameBorder:null,hSpace:V,leftMargin:V,link:null,longDesc:null,lowSrc:null,marginHeight:V,marginWidth:V,noResize:fe,noHref:fe,noShade:fe,noWrap:fe,object:null,profile:null,prompt:null,rev:null,rightMargin:V,rules:null,scheme:null,scrolling:ut,standby:null,summary:null,text:null,topMargin:V,valueType:null,version:null,vAlign:null,vLink:null,vSpace:V,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:fe,disablePictureInPicture:fe,disableRemotePlayback:fe,exportParts:ya,part:$e,prefix:null,property:null,results:V,security:null,unselectable:null},space:"html",transform:Xm});var T4=Wn({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:vn,accentHeight:V,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:V,amplitude:V,arabicForm:null,ascent:V,attributeName:null,attributeType:null,azimuth:V,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:V,by:null,calcMode:null,capHeight:V,className:$e,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:V,diffuseConstant:V,direction:null,display:null,dur:null,divisor:V,dominantBaseline:null,download:fe,dx:null,dy:null,edgeMode:null,editable:null,elevation:V,enableBackground:null,end:null,event:null,exponent:V,externalResourcesRequired:null,fill:null,fillOpacity:V,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ya,g2:ya,glyphName:ya,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:V,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:V,horizOriginX:V,horizOriginY:V,id:null,ideographic:V,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:V,k:V,k1:V,k2:V,k3:V,k4:V,kernelMatrix:vn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:V,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:V,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:V,overlineThickness:V,paintOrder:null,panose1:null,path:null,pathLength:V,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:$e,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:V,pointsAtY:V,pointsAtZ:V,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:vn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:vn,rev:vn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:vn,requiredFeatures:vn,requiredFonts:vn,requiredFormats:vn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:V,specularExponent:V,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:V,strikethroughThickness:V,string:null,stroke:null,strokeDashArray:vn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:V,strokeOpacity:V,strokeWidth:null,style:null,surfaceScale:V,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:vn,tabIndex:V,tableValues:null,target:null,targetX:V,targetY:V,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:vn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:V,underlineThickness:V,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:V,values:null,vAlphabetic:V,vMathematical:V,vectorEffect:null,vHanging:V,vIdeographic:V,version:null,vertAdvY:V,vertOriginX:V,vertOriginY:V,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:V,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Jm});var px=Wn({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}});var mx=Wn({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Xm});var hx=Wn({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}});var gx={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var wB=/[A-Z]/g,x4=/-[a-z]/g,IB=/^data[-\w.:]+$/i;function ba(e,t){let n=va(t),a=t,r=At;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&IB.test(t)){if(t.charAt(4)==="-"){let i=t.slice(5).replace(x4,kB);a="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{let i=t.slice(4);if(!x4.test(i)){let o=i.replace(wB,AB);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}r=po}return new r(a,t)}function AB(e){return"-"+e.toLowerCase()}function kB(e){return e.charAt(1).toUpperCase()}var _a=cx([fx,_4,px,mx,hx],"html"),er=cx([fx,T4,px,mx,hx],"svg");function vx(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Qm(e){return e.join(" ").trim()}var P4=ct(M4(),1);var ho=D4("end"),yn=D4("start");function D4(e){return t;function t(n){let a=n&&n.position&&n.position[e]||{};if(typeof a.line=="number"&&a.line>0&&typeof a.column=="number"&&a.column>0)return{line:a.line,column:a.column,offset:typeof a.offset=="number"&&a.offset>-1?a.offset:void 0}}}function Fc(e){let t=yn(e),n=ho(e);if(t&&n)return{start:t,end:n}}function gi(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?$4(e.position):"start"in e||"end"in e?$4(e):"line"in e||"column"in e?_x(e):""}function _x(e){return L4(e&&e.line)+":"+L4(e&&e.column)}function $4(e){return _x(e&&e.start)+"-"+_x(e&&e.end)}function L4(e){return e&&typeof e=="number"?e:1}var pt=class extends Error{constructor(t,n,a){super(),typeof n=="string"&&(a=n,n=void 0);let r="",i={},o=!1;if(n&&("line"in n&&"column"in n?i={place:n}:"start"in n&&"end"in n?i={place:n}:"type"in n?i={ancestors:[n],place:n.position}:i={...n}),typeof t=="string"?r=t:!i.cause&&t&&(o=!0,r=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof a=="string"){let u=a.indexOf(":");u===-1?i.ruleId=a:(i.source=a.slice(0,u),i.ruleId=a.slice(u+1))}if(!i.place&&i.ancestors&&i.ancestors){let u=i.ancestors[i.ancestors.length-1];u&&(i.place=u.position)}let s=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=s?s.line:void 0,this.name=gi(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=o&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};pt.prototype.file="";pt.prototype.name="";pt.prototype.reason="";pt.prototype.message="";pt.prototype.stack="";pt.prototype.column=void 0;pt.prototype.line=void 0;pt.prototype.ancestors=void 0;pt.prototype.cause=void 0;pt.prototype.fatal=void 0;pt.prototype.place=void 0;pt.prototype.ruleId=void 0;pt.prototype.source=void 0;var Tx={}.hasOwnProperty,e7=new Map,t7=/[A-Z]/g,n7=new Set(["table","tbody","thead","tfoot","tr"]),r7=new Set(["td","th"]),z4="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function xx(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");let n=t.filePath||void 0,a;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");a=d7(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");a=c7(n,t.jsx,t.jsxs)}let r={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:a,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?er:_a,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=U4(r,e,void 0);return i&&typeof i!="string"?i:r.create(e,r.Fragment,{children:i||void 0},void 0)}function U4(e,t,n){if(t.type==="element")return a7(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return i7(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return s7(e,t,n);if(t.type==="mdxjsEsm")return o7(e,t);if(t.type==="root")return u7(e,t,n);if(t.type==="text")return l7(e,t)}function a7(e,t,n){let a=e.schema,r=a;t.tagName.toLowerCase()==="svg"&&a.space==="html"&&(r=er,e.schema=r),e.ancestors.push(t);let i=B4(e,t.tagName,!1),o=f7(e,t),s=Sx(e,t);return n7.has(t.tagName)&&(s=s.filter(function(u){return typeof u=="string"?!lx(u):!0})),j4(e,o,i,t),Ex(o,s),e.ancestors.pop(),e.schema=a,e.create(t,i,o,n)}function i7(e,t){if(t.data&&t.data.estree&&e.evaluater){let a=t.data.estree.body[0];return a.type,e.evaluater.evaluateExpression(a.expression)}Hc(e,t.position)}function o7(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Hc(e,t.position)}function s7(e,t,n){let a=e.schema,r=a;t.name==="svg"&&a.space==="html"&&(r=er,e.schema=r),e.ancestors.push(t);let i=t.name===null?e.Fragment:B4(e,t.name,!0),o=p7(e,t),s=Sx(e,t);return j4(e,o,i,t),Ex(o,s),e.ancestors.pop(),e.schema=a,e.create(t,i,o,n)}function u7(e,t,n){let a={};return Ex(a,Sx(e,t)),e.create(t,e.Fragment,a,n)}function l7(e,t){return t.value}function j4(e,t,n,a){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=a)}function Ex(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function c7(e,t,n){return a;function a(r,i,o,s){let l=Array.isArray(o.children)?n:t;return s?l(i,o,s):l(i,o)}}function d7(e,t){return n;function n(a,r,i,o){let s=Array.isArray(i.children),u=yn(a);return t(r,i,o,s,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function f7(e,t){let n={},a,r;for(r in t.properties)if(r!=="children"&&Tx.call(t.properties,r)){let i=m7(e,r,t.properties[r]);if(i){let[o,s]=i;e.tableCellAlignToStyle&&o==="align"&&typeof s=="string"&&r7.has(t.tagName)?a=s:n[o]=s}}if(a){let i=n.style||(n.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=a}return n}function p7(e,t){let n={};for(let a of t.attributes)if(a.type==="mdxJsxExpressionAttribute")if(a.data&&a.data.estree&&e.evaluater){let i=a.data.estree.body[0];i.type;let o=i.expression;o.type;let s=o.properties[0];s.type,Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else Hc(e,t.position);else{let r=a.name,i;if(a.value&&typeof a.value=="object")if(a.value.data&&a.value.data.estree&&e.evaluater){let s=a.value.data.estree.body[0];s.type,i=e.evaluater.evaluateExpression(s.expression)}else Hc(e,t.position);else i=a.value===null?!0:a.value;n[r]=i}return n}function Sx(e,t){let n=[],a=-1,r=e.passKeys?new Map:e7;for(;++a<t.children.length;){let i=t.children[a],o;if(e.passKeys){let u=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(u){let l=r.get(u)||0;o=u+"-"+l,r.set(u,l+1)}}let s=U4(e,i,o);s!==void 0&&n.push(s)}return n}function m7(e,t,n){let a=ba(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=a.commaSeparated?Ym(n):Qm(n)),a.property==="style"){let r=typeof n=="object"?n:h7(e,String(n));return e.stylePropertyNameCase==="css"&&(r=g7(r)),["style",r]}return[e.elementAttributeNameCase==="react"&&a.space?gx[a.property]||a.property:a.attribute,n]}}function h7(e,t){try{return(0,P4.default)(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let a=n,r=new pt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:a,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=z4+"#cannot-parse-style-attribute",r}}function B4(e,t,n){let a;if(!n)a={type:"Literal",value:t};else if(t.includes(".")){let r=t.split("."),i=-1,o;for(;++i<r.length;){let s=Gm(r[i])?{type:"Identifier",name:r[i]}:{type:"Literal",value:r[i]};o=o?{type:"MemberExpression",object:o,property:s,computed:!!(i&&s.type==="Literal"),optional:!1}:s}a=o}else a=Gm(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(a.type==="Literal"){let r=a.value;return Tx.call(e.components,r)?e.components[r]:r}if(e.evaluater)return e.evaluater.evaluateExpression(a);Hc(e)}function Hc(e,t){let n=new pt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=z4+"#cannot-handle-mdx-estrees-without-createevaluater",n}function g7(e){let t={},n;for(n in e)Tx.call(e,n)&&(t[v7(n)]=e[n]);return t}function v7(e){let t=e.replace(t7,y7);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function y7(e){return"-"+e.toLowerCase()}var Zc={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var Eu=ct(mi(),1),mR=ct(xn(),1);var b7={};function go(e,t){let n=t||b7,a=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,r=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return H4(e,a,r)}function H4(e,t,n){if(_7(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return F4(e.children,t,n)}return Array.isArray(e)?F4(e,t,n):""}function F4(e,t,n){let a=[],r=-1;for(;++r<e.length;)a[r]=H4(e[r],t,n);return a.join("")}function _7(e){return!!(e&&typeof e=="object")}var Z4=document.createElement("i");function Tu(e){let t="&"+e+";";Z4.innerHTML=t;let n=Z4.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function mt(e,t,n,a){let r=e.length,i=0,o;if(t<0?t=-t>r?0:r+t:t=t>r?r:t,n=n>0?n:0,a.length<1e4)o=Array.from(a),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);i<a.length;)o=a.slice(i,i+1e4),o.unshift(t,0),e.splice(...o),i+=1e4,t+=1e4}function en(e,t){return e.length>0?(mt(e,e.length,0,t),e):t}var q4={}.hasOwnProperty;function eh(e){let t={},n=-1;for(;++n<e.length;)T7(t,e[n]);return t}function T7(e,t){let n;for(n in t){let r=(q4.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],o;if(i)for(o in i){q4.call(r,o)||(r[o]=[]);let s=i[o];x7(r[o],Array.isArray(s)?s:s?[s]:[])}}}function x7(e,t){let n=-1,a=[];for(;++n<t.length;)(t[n].add==="after"?e:a).push(t[n]);mt(e,0,0,a)}function th(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCodePoint(n)}function Bt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var xt=vi(/[A-Za-z]/),lt=vi(/[\dA-Za-z]/),V4=vi(/[#-'*+\--9=?A-Z^-~]/);function vo(e){return e!==null&&(e<32||e===127)}var qc=vi(/\d/),Y4=vi(/[\dA-Fa-f]/),G4=vi(/[!-/:-@[-`{-~]/);function Q(e){return e!==null&&e<-2}function Te(e){return e!==null&&(e<0||e===32)}function ue(e){return e===-2||e===-1||e===32}var yo=vi(/\p{P}|\p{S}/u),Mr=vi(/\s/);function vi(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function tr(e){let t=[],n=-1,a=0,r=0;for(;++n<e.length;){let i=e.charCodeAt(n),o="";if(i===37&&lt(e.charCodeAt(n+1))&&lt(e.charCodeAt(n+2)))r=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(o=String.fromCharCode(i));else if(i>55295&&i<57344){let s=e.charCodeAt(n+1);i<56320&&s>56319&&s<57344?(o=String.fromCharCode(i,s),r=1):o="\uFFFD"}else o=String.fromCharCode(i);o&&(t.push(e.slice(a,n),encodeURIComponent(o)),a=n+r+1,o=""),r&&(n+=r,r=0)}return t.join("")+e.slice(a)}function ie(e,t,n,a){let r=a?a-1:Number.POSITIVE_INFINITY,i=0;return o;function o(u){return ue(u)?(e.enter(n),s(u)):t(u)}function s(u){return ue(u)&&i++<r?(e.consume(u),s):(e.exit(n),t(u))}}var K4={tokenize:E7};function E7(e){let t=e.attempt(this.parser.constructs.contentInitial,a,r),n;return t;function a(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),ie(e,t,"linePrefix")}function r(s){return e.enter("paragraph"),i(s)}function i(s){let u=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=u),n=u,o(s)}function o(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return Q(s)?(e.consume(s),e.exit("chunkText"),i):(e.consume(s),o)}}var X4={tokenize:S7},J4={tokenize:w7};function S7(e){let t=this,n=[],a=0,r,i,o;return s;function s(T){if(a<n.length){let A=n[a];return t.containerState=A[1],e.attempt(A[0].continuation,u,l)(T)}return l(T)}function u(T){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&y();let A=t.events.length,O=A,g;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){g=t.events[O][1].end;break}v(a);let N=A;for(;N<t.events.length;)t.events[N][1].end={...g},N++;return mt(t.events,O+1,0,t.events.slice(A)),t.events.length=N,l(T)}return s(T)}function l(T){if(a===n.length){if(!r)return m(T);if(r.currentConstruct&&r.currentConstruct.concrete)return b(T);t.interrupt=!!(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(J4,c,f)(T)}function c(T){return r&&y(),v(a),m(T)}function f(T){return t.parser.lazy[t.now().line]=a!==n.length,o=t.now().offset,b(T)}function m(T){return t.containerState={},e.attempt(J4,p,b)(T)}function p(T){return a++,n.push([t.currentConstruct,t.containerState]),m(T)}function b(T){if(T===null){r&&y(),v(0),e.consume(T);return}return r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:i}),S(T)}function S(T){if(T===null){C(e.exit("chunkFlow"),!0),v(0),e.consume(T);return}return Q(T)?(e.consume(T),C(e.exit("chunkFlow")),a=0,t.interrupt=void 0,s):(e.consume(T),S)}function C(T,A){let O=t.sliceStream(T);if(A&&O.push(null),T.previous=i,i&&(i.next=T),i=T,r.defineSkip(T.start),r.write(O),t.parser.lazy[T.start.line]){let g=r.events.length;for(;g--;)if(r.events[g][1].start.offset<o&&(!r.events[g][1].end||r.events[g][1].end.offset>o))return;let N=t.events.length,L=N,P,I;for(;L--;)if(t.events[L][0]==="exit"&&t.events[L][1].type==="chunkFlow"){if(P){I=t.events[L][1].end;break}P=!0}for(v(a),g=N;g<t.events.length;)t.events[g][1].end={...I},g++;mt(t.events,L+1,0,t.events.slice(N)),t.events.length=g}}function v(T){let A=n.length;for(;A-- >T;){let O=n[A];t.containerState=O[1],O[0].exit.call(t,e)}n.length=T}function y(){r.write([null]),i=void 0,r=void 0,t.containerState._closeFlow=void 0}}function w7(e,t,n){return ie(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Ta(e){if(e===null||Te(e)||Mr(e))return 1;if(yo(e))return 2}function yi(e,t,n){let a=[],r=-1;for(;++r<e.length;){let i=e[r].resolveAll;i&&!a.includes(i)&&(t=i(t,n),a.push(i))}return t}var Vc={name:"attention",resolveAll:I7,tokenize:A7};function I7(e,t){let n=-1,a,r,i,o,s,u,l,c;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(a=n;a--;)if(e[a][0]==="exit"&&e[a][1].type==="attentionSequence"&&e[a][1]._open&&t.sliceSerialize(e[a][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[a][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[a][1].end.offset-e[a][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;u=e[a][1].end.offset-e[a][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let f={...e[a][1].end},m={...e[n][1].start};Q4(f,-u),Q4(m,u),o={type:u>1?"strongSequence":"emphasisSequence",start:f,end:{...e[a][1].end}},s={type:u>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:m},i={type:u>1?"strongText":"emphasisText",start:{...e[a][1].end},end:{...e[n][1].start}},r={type:u>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[a][1].end={...o.start},e[n][1].start={...s.end},l=[],e[a][1].end.offset-e[a][1].start.offset&&(l=en(l,[["enter",e[a][1],t],["exit",e[a][1],t]])),l=en(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=en(l,yi(t.parser.constructs.insideSpan.null,e.slice(a+1,n),t)),l=en(l,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,l=en(l,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,mt(e,a-1,n-a+3,l),n=a+l.length-c-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function A7(e,t){let n=this.parser.constructs.attentionMarkers.null,a=this.previous,r=Ta(a),i;return o;function o(u){return i=u,e.enter("attentionSequence"),s(u)}function s(u){if(u===i)return e.consume(u),s;let l=e.exit("attentionSequence"),c=Ta(u),f=!c||c===2&&r||n.includes(u),m=!r||r===2&&c||n.includes(a);return l._open=!!(i===42?f:f&&(r||!m)),l._close=!!(i===42?m:m&&(c||!f)),t(u)}}function Q4(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var wx={name:"autolink",tokenize:k7};function k7(e,t,n){let a=0;return r;function r(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(p){return xt(p)?(e.consume(p),o):p===64?n(p):l(p)}function o(p){return p===43||p===45||p===46||lt(p)?(a=1,s(p)):l(p)}function s(p){return p===58?(e.consume(p),a=0,u):(p===43||p===45||p===46||lt(p))&&a++<32?(e.consume(p),s):(a=0,l(p))}function u(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||vo(p)?n(p):(e.consume(p),u)}function l(p){return p===64?(e.consume(p),c):V4(p)?(e.consume(p),l):n(p)}function c(p){return lt(p)?f(p):n(p)}function f(p){return p===46?(e.consume(p),a=0,c):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):m(p)}function m(p){if((p===45||lt(p))&&a++<63){let b=p===45?m:f;return e.consume(p),b}return n(p)}}var Dr={partial:!0,tokenize:C7};function C7(e,t,n){return a;function a(i){return ue(i)?ie(e,r,"linePrefix")(i):r(i)}function r(i){return i===null||Q(i)?t(i):n(i)}}var nh={continuation:{tokenize:N7},exit:R7,name:"blockQuote",tokenize:O7};function O7(e,t,n){let a=this;return r;function r(o){if(o===62){let s=a.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),i}return n(o)}function i(o){return ue(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function N7(e,t,n){let a=this;return r;function r(o){return ue(o)?ie(e,i,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):i(o)}function i(o){return e.attempt(nh,t,n)(o)}}function R7(e){e.exit("blockQuote")}var rh={name:"characterEscape",tokenize:M7};function M7(e,t,n){return a;function a(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),r}function r(i){return G4(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}var ah={name:"characterReference",tokenize:D7};function D7(e,t,n){let a=this,r=0,i,o;return s;function s(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),u}function u(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),i=31,o=lt,c(f))}function l(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=Y4,c):(e.enter("characterReferenceValue"),i=7,o=qc,c(f))}function c(f){if(f===59&&r){let m=e.exit("characterReferenceValue");return o===lt&&!Tu(a.sliceSerialize(m))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(f)&&r++<i?(e.consume(f),c):n(f)}}var W4={partial:!0,tokenize:L7},ih={concrete:!0,name:"codeFenced",tokenize:$7};function $7(e,t,n){let a=this,r={partial:!0,tokenize:O},i=0,o=0,s;return u;function u(g){return l(g)}function l(g){let N=a.events[a.events.length-1];return i=N&&N[1].type==="linePrefix"?N[2].sliceSerialize(N[1],!0).length:0,s=g,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(g)}function c(g){return g===s?(o++,e.consume(g),c):o<3?n(g):(e.exit("codeFencedFenceSequence"),ue(g)?ie(e,f,"whitespace")(g):f(g))}function f(g){return g===null||Q(g)?(e.exit("codeFencedFence"),a.interrupt?t(g):e.check(W4,S,A)(g)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(g))}function m(g){return g===null||Q(g)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(g)):ue(g)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ie(e,p,"whitespace")(g)):g===96&&g===s?n(g):(e.consume(g),m)}function p(g){return g===null||Q(g)?f(g):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),b(g))}function b(g){return g===null||Q(g)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(g)):g===96&&g===s?n(g):(e.consume(g),b)}function S(g){return e.attempt(r,A,C)(g)}function C(g){return e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),v}function v(g){return i>0&&ue(g)?ie(e,y,"linePrefix",i+1)(g):y(g)}function y(g){return g===null||Q(g)?e.check(W4,S,A)(g):(e.enter("codeFlowValue"),T(g))}function T(g){return g===null||Q(g)?(e.exit("codeFlowValue"),y(g)):(e.consume(g),T)}function A(g){return e.exit("codeFenced"),t(g)}function O(g,N,L){let P=0;return I;function I(le){return g.enter("lineEnding"),g.consume(le),g.exit("lineEnding"),re}function re(le){return g.enter("codeFencedFence"),ue(le)?ie(g,ne,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(le):ne(le)}function ne(le){return le===s?(g.enter("codeFencedFenceSequence"),W(le)):L(le)}function W(le){return le===s?(P++,g.consume(le),W):P>=o?(g.exit("codeFencedFenceSequence"),ue(le)?ie(g,oe,"whitespace")(le):oe(le)):L(le)}function oe(le){return le===null||Q(le)?(g.exit("codeFencedFence"),N(le)):L(le)}}}function L7(e,t,n){let a=this;return r;function r(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i)}function i(o){return a.parser.lazy[a.now().line]?n(o):t(o)}}var Yc={name:"codeIndented",tokenize:z7},P7={partial:!0,tokenize:U7};function z7(e,t,n){let a=this;return r;function r(l){return e.enter("codeIndented"),ie(e,i,"linePrefix",5)(l)}function i(l){let c=a.events[a.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?o(l):n(l)}function o(l){return l===null?u(l):Q(l)?e.attempt(P7,o,u)(l):(e.enter("codeFlowValue"),s(l))}function s(l){return l===null||Q(l)?(e.exit("codeFlowValue"),o(l)):(e.consume(l),s)}function u(l){return e.exit("codeIndented"),t(l)}}function U7(e,t,n){let a=this;return r;function r(o){return a.parser.lazy[a.now().line]?n(o):Q(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),r):ie(e,i,"linePrefix",5)(o)}function i(o){let s=a.events[a.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):Q(o)?r(o):n(o)}}var Ix={name:"codeText",previous:B7,resolve:j7,tokenize:F7};function j7(e){let t=e.length-4,n=3,a,r;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(a=n;++a<t;)if(e[a][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(a=n-1,t++;++a<=t;)r===void 0?a!==t&&e[a][1].type!=="lineEnding"&&(r=a):(a===t||e[a][1].type==="lineEnding")&&(e[r][1].type="codeTextData",a!==r+2&&(e[r][1].end=e[a-1][1].end,e.splice(r+2,a-r-2),t-=a-r-2,a=r+2),r=void 0);return e}function B7(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function F7(e,t,n){let a=this,r=0,i,o;return s;function s(m){return e.enter("codeText"),e.enter("codeTextSequence"),u(m)}function u(m){return m===96?(e.consume(m),r++,u):(e.exit("codeTextSequence"),l(m))}function l(m){return m===null?n(m):m===32?(e.enter("space"),e.consume(m),e.exit("space"),l):m===96?(o=e.enter("codeTextSequence"),i=0,f(m)):Q(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(m))}function c(m){return m===null||m===32||m===96||Q(m)?(e.exit("codeTextData"),l(m)):(e.consume(m),c)}function f(m){return m===96?(e.consume(m),i++,f):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(m)):(o.type="codeTextData",c(m))}}var oh=class{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){let a=n??Number.POSITIVE_INFINITY;return a<this.left.length?this.left.slice(t,a):t>this.left.length?this.right.slice(this.right.length-a+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-a+this.left.length).reverse())}splice(t,n,a){let r=n||0;this.setCursor(Math.trunc(t));let i=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return a&&Gc(this.left,a),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Gc(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Gc(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){let n=this.left.splice(t,Number.POSITIVE_INFINITY);Gc(this.right,n.reverse())}else{let n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Gc(this.left,n.reverse())}}};function Gc(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function sh(e){let t={},n=-1,a,r,i,o,s,u,l,c=new oh(e);for(;++n<c.length;){for(;n in t;)n=t[n];if(a=c.get(n),n&&a[1].type==="chunkFlow"&&c.get(n-1)[1].type==="listItemPrefix"&&(u=a[1]._tokenizer.events,i=0,i<u.length&&u[i][1].type==="lineEndingBlank"&&(i+=2),i<u.length&&u[i][1].type==="content"))for(;++i<u.length&&u[i][1].type!=="content";)u[i][1].type==="chunkText"&&(u[i][1]._isInFirstContentOfListItem=!0,i++);if(a[0]==="enter")a[1].contentType&&(Object.assign(t,H7(c,n)),n=t[n],l=!0);else if(a[1]._container){for(i=n,r=void 0;i--;)if(o=c.get(i),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(r&&(c.get(r)[1].type="lineEndingBlank"),o[1].type="lineEnding",r=i);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;r&&(a[1].end={...c.get(r)[1].start},s=c.slice(r,n),s.unshift(a),c.splice(r,n-r+1,s))}}return mt(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!l}function H7(e,t){let n=e.get(t)[1],a=e.get(t)[2],r=t-1,i=[],o=n._tokenizer;o||(o=a.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));let s=o.events,u=[],l={},c,f,m=-1,p=n,b=0,S=0,C=[S];for(;p;){for(;e.get(++r)[1]!==p;);i.push(r),p._tokenizer||(c=a.sliceStream(p),p.next||c.push(null),f&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(c),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=n;++m<s.length;)s[m][0]==="exit"&&s[m-1][0]==="enter"&&s[m][1].type===s[m-1][1].type&&s[m][1].start.line!==s[m][1].end.line&&(S=m+1,C.push(S),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):C.pop(),m=C.length;m--;){let v=s.slice(C[m],C[m+1]),y=i.pop();u.push([y,y+v.length-1]),e.splice(y,2,v)}for(u.reverse(),m=-1;++m<u.length;)l[b+u[m][0]]=b+u[m][1],b+=u[m][1]-u[m][0]-1;return l}var Ax={resolve:q7,tokenize:V7},Z7={partial:!0,tokenize:Y7};function q7(e){return sh(e),e}function V7(e,t){let n;return a;function a(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(s)}function r(s){return s===null?i(s):Q(s)?e.check(Z7,o,i)(s):(e.consume(s),r)}function i(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function o(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}function Y7(e,t,n){let a=this;return r;function r(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),ie(e,i,"linePrefix")}function i(o){if(o===null||Q(o))return n(o);let s=a.events[a.events.length-1];return!a.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):e.interrupt(a.parser.constructs.flow,n,t)(o)}}function uh(e,t,n,a,r,i,o,s,u){let l=u||Number.POSITIVE_INFINITY,c=0;return f;function f(v){return v===60?(e.enter(a),e.enter(r),e.enter(i),e.consume(v),e.exit(i),m):v===null||v===32||v===41||vo(v)?n(v):(e.enter(a),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),S(v))}function m(v){return v===62?(e.enter(i),e.consume(v),e.exit(i),e.exit(r),e.exit(a),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(v))}function p(v){return v===62?(e.exit("chunkString"),e.exit(s),m(v)):v===null||v===60||Q(v)?n(v):(e.consume(v),v===92?b:p)}function b(v){return v===60||v===62||v===92?(e.consume(v),p):p(v)}function S(v){return!c&&(v===null||v===41||Te(v))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(a),t(v)):c<l&&v===40?(e.consume(v),c++,S):v===41?(e.consume(v),c--,S):v===null||v===32||v===40||vo(v)?n(v):(e.consume(v),v===92?C:S)}function C(v){return v===40||v===41||v===92?(e.consume(v),S):S(v)}}function lh(e,t,n,a,r,i){let o=this,s=0,u;return l;function l(p){return e.enter(a),e.enter(r),e.consume(p),e.exit(r),e.enter(i),c}function c(p){return s>999||p===null||p===91||p===93&&!u||p===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?n(p):p===93?(e.exit(i),e.enter(r),e.consume(p),e.exit(r),e.exit(a),t):Q(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||Q(p)||s++>999?(e.exit("chunkString"),c(p)):(e.consume(p),u||(u=!ue(p)),p===92?m:f)}function m(p){return p===91||p===92||p===93?(e.consume(p),s++,f):f(p)}}function ch(e,t,n,a,r,i){let o;return s;function s(m){return m===34||m===39||m===40?(e.enter(a),e.enter(r),e.consume(m),e.exit(r),o=m===40?41:m,u):n(m)}function u(m){return m===o?(e.enter(r),e.consume(m),e.exit(r),e.exit(a),t):(e.enter(i),l(m))}function l(m){return m===o?(e.exit(i),u(o)):m===null?n(m):Q(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),ie(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(m))}function c(m){return m===o||m===null||Q(m)?(e.exit("chunkString"),l(m)):(e.consume(m),m===92?f:c)}function f(m){return m===o||m===92?(e.consume(m),c):c(m)}}function bo(e,t){let n;return a;function a(r){return Q(r)?(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n=!0,a):ue(r)?ie(e,a,n?"linePrefix":"lineSuffix")(r):t(r)}}var kx={name:"definition",tokenize:K7},G7={partial:!0,tokenize:J7};function K7(e,t,n){let a=this,r;return i;function i(p){return e.enter("definition"),o(p)}function o(p){return lh.call(a,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return r=Bt(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),u):n(p)}function u(p){return Te(p)?bo(e,l)(p):l(p)}function l(p){return uh(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function c(p){return e.attempt(G7,f,f)(p)}function f(p){return ue(p)?ie(e,m,"whitespace")(p):m(p)}function m(p){return p===null||Q(p)?(e.exit("definition"),a.parser.defined.push(r),t(p)):n(p)}}function J7(e,t,n){return a;function a(s){return Te(s)?bo(e,r)(s):n(s)}function r(s){return ch(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function i(s){return ue(s)?ie(e,o,"whitespace")(s):o(s)}function o(s){return s===null||Q(s)?t(s):n(s)}}var Cx={name:"hardBreakEscape",tokenize:X7};function X7(e,t,n){return a;function a(i){return e.enter("hardBreakEscape"),e.consume(i),r}function r(i){return Q(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}var Ox={name:"headingAtx",resolve:Q7,tokenize:W7};function Q7(e,t){let n=e.length-2,a=3,r,i;return e[a][1].type==="whitespace"&&(a+=2),n-2>a&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(a===n-1||n-4>a&&e[n-2][1].type==="whitespace")&&(n-=a+1===n?2:4),n>a&&(r={type:"atxHeadingText",start:e[a][1].start,end:e[n][1].end},i={type:"chunkText",start:e[a][1].start,end:e[n][1].end,contentType:"text"},mt(e,a,n-a+1,[["enter",r,t],["enter",i,t],["exit",i,t],["exit",r,t]])),e}function W7(e,t,n){let a=0;return r;function r(c){return e.enter("atxHeading"),i(c)}function i(c){return e.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&a++<6?(e.consume(c),o):c===null||Te(c)?(e.exit("atxHeadingSequence"),s(c)):n(c)}function s(c){return c===35?(e.enter("atxHeadingSequence"),u(c)):c===null||Q(c)?(e.exit("atxHeading"),t(c)):ue(c)?ie(e,s,"whitespace")(c):(e.enter("atxHeadingText"),l(c))}function u(c){return c===35?(e.consume(c),u):(e.exit("atxHeadingSequence"),s(c))}function l(c){return c===null||c===35||Te(c)?(e.exit("atxHeadingText"),s(c)):(e.consume(c),l)}}var e3=["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","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Nx=["pre","script","style","textarea"];var Rx={concrete:!0,name:"htmlFlow",resolveTo:nF,tokenize:rF},eF={partial:!0,tokenize:iF},tF={partial:!0,tokenize:aF};function nF(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function rF(e,t,n){let a=this,r,i,o,s,u;return l;function l(k){return c(k)}function c(k){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(k),f}function f(k){return k===33?(e.consume(k),m):k===47?(e.consume(k),i=!0,S):k===63?(e.consume(k),r=3,a.interrupt?t:w):xt(k)?(e.consume(k),o=String.fromCharCode(k),C):n(k)}function m(k){return k===45?(e.consume(k),r=2,p):k===91?(e.consume(k),r=5,s=0,b):xt(k)?(e.consume(k),r=4,a.interrupt?t:w):n(k)}function p(k){return k===45?(e.consume(k),a.interrupt?t:w):n(k)}function b(k){let Et="CDATA[";return k===Et.charCodeAt(s++)?(e.consume(k),s===Et.length?a.interrupt?t:ne:b):n(k)}function S(k){return xt(k)?(e.consume(k),o=String.fromCharCode(k),C):n(k)}function C(k){if(k===null||k===47||k===62||Te(k)){let Et=k===47,Ai=o.toLowerCase();return!Et&&!i&&Nx.includes(Ai)?(r=1,a.interrupt?t(k):ne(k)):e3.includes(o.toLowerCase())?(r=6,Et?(e.consume(k),v):a.interrupt?t(k):ne(k)):(r=7,a.interrupt&&!a.parser.lazy[a.now().line]?n(k):i?y(k):T(k))}return k===45||lt(k)?(e.consume(k),o+=String.fromCharCode(k),C):n(k)}function v(k){return k===62?(e.consume(k),a.interrupt?t:ne):n(k)}function y(k){return ue(k)?(e.consume(k),y):I(k)}function T(k){return k===47?(e.consume(k),I):k===58||k===95||xt(k)?(e.consume(k),A):ue(k)?(e.consume(k),T):I(k)}function A(k){return k===45||k===46||k===58||k===95||lt(k)?(e.consume(k),A):O(k)}function O(k){return k===61?(e.consume(k),g):ue(k)?(e.consume(k),O):T(k)}function g(k){return k===null||k===60||k===61||k===62||k===96?n(k):k===34||k===39?(e.consume(k),u=k,N):ue(k)?(e.consume(k),g):L(k)}function N(k){return k===u?(e.consume(k),u=null,P):k===null||Q(k)?n(k):(e.consume(k),N)}function L(k){return k===null||k===34||k===39||k===47||k===60||k===61||k===62||k===96||Te(k)?O(k):(e.consume(k),L)}function P(k){return k===47||k===62||ue(k)?T(k):n(k)}function I(k){return k===62?(e.consume(k),re):n(k)}function re(k){return k===null||Q(k)?ne(k):ue(k)?(e.consume(k),re):n(k)}function ne(k){return k===45&&r===2?(e.consume(k),Ge):k===60&&r===1?(e.consume(k),rt):k===62&&r===4?(e.consume(k),at):k===63&&r===3?(e.consume(k),w):k===93&&r===5?(e.consume(k),se):Q(k)&&(r===6||r===7)?(e.exit("htmlFlowData"),e.check(eF,rn,W)(k)):k===null||Q(k)?(e.exit("htmlFlowData"),W(k)):(e.consume(k),ne)}function W(k){return e.check(tF,oe,rn)(k)}function oe(k){return e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),le}function le(k){return k===null||Q(k)?W(k):(e.enter("htmlFlowData"),ne(k))}function Ge(k){return k===45?(e.consume(k),w):ne(k)}function rt(k){return k===47?(e.consume(k),o="",bn):ne(k)}function bn(k){if(k===62){let Et=o.toLowerCase();return Nx.includes(Et)?(e.consume(k),at):ne(k)}return xt(k)&&o.length<8?(e.consume(k),o+=String.fromCharCode(k),bn):ne(k)}function se(k){return k===93?(e.consume(k),w):ne(k)}function w(k){return k===62?(e.consume(k),at):k===45&&r===2?(e.consume(k),w):ne(k)}function at(k){return k===null||Q(k)?(e.exit("htmlFlowData"),rn(k)):(e.consume(k),at)}function rn(k){return e.exit("htmlFlow"),t(k)}}function aF(e,t,n){let a=this;return r;function r(o){return Q(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):n(o)}function i(o){return a.parser.lazy[a.now().line]?n(o):t(o)}}function iF(e,t,n){return a;function a(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Dr,t,n)}}var Mx={name:"htmlText",tokenize:oF};function oF(e,t,n){let a=this,r,i,o;return s;function s(w){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(w),u}function u(w){return w===33?(e.consume(w),l):w===47?(e.consume(w),O):w===63?(e.consume(w),T):xt(w)?(e.consume(w),L):n(w)}function l(w){return w===45?(e.consume(w),c):w===91?(e.consume(w),i=0,b):xt(w)?(e.consume(w),y):n(w)}function c(w){return w===45?(e.consume(w),p):n(w)}function f(w){return w===null?n(w):w===45?(e.consume(w),m):Q(w)?(o=f,rt(w)):(e.consume(w),f)}function m(w){return w===45?(e.consume(w),p):f(w)}function p(w){return w===62?Ge(w):w===45?m(w):f(w)}function b(w){let at="CDATA[";return w===at.charCodeAt(i++)?(e.consume(w),i===at.length?S:b):n(w)}function S(w){return w===null?n(w):w===93?(e.consume(w),C):Q(w)?(o=S,rt(w)):(e.consume(w),S)}function C(w){return w===93?(e.consume(w),v):S(w)}function v(w){return w===62?Ge(w):w===93?(e.consume(w),v):S(w)}function y(w){return w===null||w===62?Ge(w):Q(w)?(o=y,rt(w)):(e.consume(w),y)}function T(w){return w===null?n(w):w===63?(e.consume(w),A):Q(w)?(o=T,rt(w)):(e.consume(w),T)}function A(w){return w===62?Ge(w):T(w)}function O(w){return xt(w)?(e.consume(w),g):n(w)}function g(w){return w===45||lt(w)?(e.consume(w),g):N(w)}function N(w){return Q(w)?(o=N,rt(w)):ue(w)?(e.consume(w),N):Ge(w)}function L(w){return w===45||lt(w)?(e.consume(w),L):w===47||w===62||Te(w)?P(w):n(w)}function P(w){return w===47?(e.consume(w),Ge):w===58||w===95||xt(w)?(e.consume(w),I):Q(w)?(o=P,rt(w)):ue(w)?(e.consume(w),P):Ge(w)}function I(w){return w===45||w===46||w===58||w===95||lt(w)?(e.consume(w),I):re(w)}function re(w){return w===61?(e.consume(w),ne):Q(w)?(o=re,rt(w)):ue(w)?(e.consume(w),re):P(w)}function ne(w){return w===null||w===60||w===61||w===62||w===96?n(w):w===34||w===39?(e.consume(w),r=w,W):Q(w)?(o=ne,rt(w)):ue(w)?(e.consume(w),ne):(e.consume(w),oe)}function W(w){return w===r?(e.consume(w),r=void 0,le):w===null?n(w):Q(w)?(o=W,rt(w)):(e.consume(w),W)}function oe(w){return w===null||w===34||w===39||w===60||w===61||w===96?n(w):w===47||w===62||Te(w)?P(w):(e.consume(w),oe)}function le(w){return w===47||w===62||Te(w)?P(w):n(w)}function Ge(w){return w===62?(e.consume(w),e.exit("htmlTextData"),e.exit("htmlText"),t):n(w)}function rt(w){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),bn}function bn(w){return ue(w)?ie(e,se,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):se(w)}function se(w){return e.enter("htmlTextData"),o(w)}}var _o={name:"labelEnd",resolveAll:cF,resolveTo:dF,tokenize:fF},sF={tokenize:pF},uF={tokenize:mF},lF={tokenize:hF};function cF(e){let t=-1,n=[];for(;++t<e.length;){let a=e[t][1];if(n.push(e[t]),a.type==="labelImage"||a.type==="labelLink"||a.type==="labelEnd"){let r=a.type==="labelImage"?4:2;a.type="data",t+=r}}return e.length!==n.length&&mt(e,0,e.length,n),e}function dF(e,t){let n=e.length,a=0,r,i,o,s;for(;n--;)if(r=e[n][1],i){if(r.type==="link"||r.type==="labelLink"&&r._inactive)break;e[n][0]==="enter"&&r.type==="labelLink"&&(r._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(r.type==="labelImage"||r.type==="labelLink")&&!r._balanced&&(i=n,r.type!=="labelLink")){a=2;break}}else r.type==="labelEnd"&&(o=n);let u={type:e[i][1].type==="labelLink"?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},l={type:"label",start:{...e[i][1].start},end:{...e[o][1].end}},c={type:"labelText",start:{...e[i+a+2][1].end},end:{...e[o-2][1].start}};return s=[["enter",u,t],["enter",l,t]],s=en(s,e.slice(i+1,i+a+3)),s=en(s,[["enter",c,t]]),s=en(s,yi(t.parser.constructs.insideSpan.null,e.slice(i+a+4,o-3),t)),s=en(s,[["exit",c,t],e[o-2],e[o-1],["exit",l,t]]),s=en(s,e.slice(o+1)),s=en(s,[["exit",u,t]]),mt(e,i,e.length,s),e}function fF(e,t,n){let a=this,r=a.events.length,i,o;for(;r--;)if((a.events[r][1].type==="labelImage"||a.events[r][1].type==="labelLink")&&!a.events[r][1]._balanced){i=a.events[r][1];break}return s;function s(m){return i?i._inactive?f(m):(o=a.parser.defined.includes(Bt(a.sliceSerialize({start:i.end,end:a.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(m),e.exit("labelMarker"),e.exit("labelEnd"),u):n(m)}function u(m){return m===40?e.attempt(sF,c,o?c:f)(m):m===91?e.attempt(uF,c,o?l:f)(m):o?c(m):f(m)}function l(m){return e.attempt(lF,c,f)(m)}function c(m){return t(m)}function f(m){return i._balanced=!0,n(m)}}function pF(e,t,n){return a;function a(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),r}function r(f){return Te(f)?bo(e,i)(f):i(f)}function i(f){return f===41?c(f):uh(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function o(f){return Te(f)?bo(e,u)(f):c(f)}function s(f){return n(f)}function u(f){return f===34||f===39||f===40?ch(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function l(f){return Te(f)?bo(e,c)(f):c(f)}function c(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function mF(e,t,n){let a=this;return r;function r(s){return lh.call(a,e,i,o,"reference","referenceMarker","referenceString")(s)}function i(s){return a.parser.defined.includes(Bt(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function o(s){return n(s)}}function hF(e,t,n){return a;function a(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),r}function r(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}var Dx={name:"labelStartImage",resolveAll:_o.resolveAll,tokenize:gF};function gF(e,t,n){let a=this;return r;function r(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),i}function i(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),o):n(s)}function o(s){return s===94&&"_hiddenFootnoteSupport"in a.parser.constructs?n(s):t(s)}}var $x={name:"labelStartLink",resolveAll:_o.resolveAll,tokenize:vF};function vF(e,t,n){let a=this;return r;function r(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),i}function i(o){return o===94&&"_hiddenFootnoteSupport"in a.parser.constructs?n(o):t(o)}}var Kc={name:"lineEnding",tokenize:yF};function yF(e,t){return n;function n(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),ie(e,t,"linePrefix")}}var To={name:"thematicBreak",tokenize:bF};function bF(e,t,n){let a=0,r;return i;function i(l){return e.enter("thematicBreak"),o(l)}function o(l){return r=l,s(l)}function s(l){return l===r?(e.enter("thematicBreakSequence"),u(l)):a>=3&&(l===null||Q(l))?(e.exit("thematicBreak"),t(l)):n(l)}function u(l){return l===r?(e.consume(l),a++,u):(e.exit("thematicBreakSequence"),ue(l)?ie(e,s,"whitespace")(l):s(l))}}var Ft={continuation:{tokenize:EF},exit:wF,name:"list",tokenize:xF},_F={partial:!0,tokenize:IF},TF={partial:!0,tokenize:SF};function xF(e,t,n){let a=this,r=a.events[a.events.length-1],i=r&&r[1].type==="linePrefix"?r[2].sliceSerialize(r[1],!0).length:0,o=0;return s;function s(p){let b=a.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!a.containerState.marker||p===a.containerState.marker:qc(p)){if(a.containerState.type||(a.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(To,n,l)(p):l(p);if(!a.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(p)}return n(p)}function u(p){return qc(p)&&++o<10?(e.consume(p),u):(!a.interrupt||o<2)&&(a.containerState.marker?p===a.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),l(p)):n(p)}function l(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),a.containerState.marker=a.containerState.marker||p,e.check(Dr,a.interrupt?n:c,e.attempt(_F,m,f))}function c(p){return a.containerState.initialBlankLine=!0,i++,m(p)}function f(p){return ue(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),m):n(p)}function m(p){return a.containerState.size=i+a.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function EF(e,t,n){let a=this;return a.containerState._closeFlow=void 0,e.check(Dr,r,i);function r(s){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,ie(e,t,"listItemIndent",a.containerState.size+1)(s)}function i(s){return a.containerState.furtherBlankLines||!ue(s)?(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,o(s)):(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,e.attempt(TF,t,o)(s))}function o(s){return a.containerState._closeFlow=!0,a.interrupt=void 0,ie(e,e.attempt(Ft,t,n),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function SF(e,t,n){let a=this;return ie(e,r,"listItemIndent",a.containerState.size+1);function r(i){let o=a.events[a.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===a.containerState.size?t(i):n(i)}}function wF(e){e.exit(this.containerState.type)}function IF(e,t,n){let a=this;return ie(e,r,"listItemPrefixWhitespace",a.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function r(i){let o=a.events[a.events.length-1];return!ue(i)&&o&&o[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}var dh={name:"setextUnderline",resolveTo:AF,tokenize:kF};function AF(e,t){let n=e.length,a,r,i;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){a=n;break}e[n][1].type==="paragraph"&&(r=n)}else e[n][1].type==="content"&&e.splice(n,1),!i&&e[n][1].type==="definition"&&(i=n);let o={type:"setextHeading",start:{...e[a][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",o,t]),e.splice(i+1,0,["exit",e[a][1],t]),e[a][1].end={...e[i][1].end}):e[a][1]=o,e.push(["exit",o,t]),e}function kF(e,t,n){let a=this,r;return i;function i(l){let c=a.events.length,f;for(;c--;)if(a.events[c][1].type!=="lineEnding"&&a.events[c][1].type!=="linePrefix"&&a.events[c][1].type!=="content"){f=a.events[c][1].type==="paragraph";break}return!a.parser.lazy[a.now().line]&&(a.interrupt||f)?(e.enter("setextHeadingLine"),r=l,o(l)):n(l)}function o(l){return e.enter("setextHeadingLineSequence"),s(l)}function s(l){return l===r?(e.consume(l),s):(e.exit("setextHeadingLineSequence"),ue(l)?ie(e,u,"lineSuffix")(l):u(l))}function u(l){return l===null||Q(l)?(e.exit("setextHeadingLine"),t(l)):n(l)}}var t3={tokenize:CF};function CF(e){let t=this,n=e.attempt(Dr,a,e.attempt(this.parser.constructs.flowInitial,r,ie(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Ax,r)),"linePrefix")));return n;function a(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function r(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}var n3={resolveAll:o3()},r3=i3("string"),a3=i3("text");function i3(e){return{resolveAll:o3(e==="text"?OF:void 0),tokenize:t};function t(n){let a=this,r=this.parser.constructs[e],i=n.attempt(r,o,s);return o;function o(c){return l(c)?i(c):s(c)}function s(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),u}function u(c){return l(c)?(n.exit("data"),i(c)):(n.consume(c),u)}function l(c){if(c===null)return!0;let f=r[c],m=-1;if(f)for(;++m<f.length;){let p=f[m];if(!p.previous||p.previous.call(a,a.previous))return!0}return!1}}}function o3(e){return t;function t(n,a){let r=-1,i;for(;++r<=n.length;)i===void 0?n[r]&&n[r][1].type==="data"&&(i=r,r++):(!n[r]||n[r][1].type!=="data")&&(r!==i+2&&(n[i][1].end=n[r-1][1].end,n.splice(i+2,r-i-2),r=i+2),i=void 0);return e?e(n,a):n}}function OF(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){let a=e[n-1][1],r=t.sliceStream(a),i=r.length,o=-1,s=0,u;for(;i--;){let l=r[i];if(typeof l=="string"){for(o=l.length;l.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(l===-2)u=!0,s++;else if(l!==-1){i++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let l={type:n===e.length||u||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?o:a.start._bufferIndex+o,_index:a.start._index+i,line:a.end.line,column:a.end.column-s,offset:a.end.offset-s},end:{...a.end}};a.end={...l.start},a.start.offset===a.end.offset?Object.assign(a,l):(e.splice(n,0,["enter",l,t],["exit",l,t]),n+=2)}n++}return e}var Lx={};Tn(Lx,{attentionMarkers:()=>zF,contentInitial:()=>RF,disable:()=>UF,document:()=>NF,flow:()=>DF,flowInitial:()=>MF,insideSpan:()=>PF,string:()=>$F,text:()=>LF});var NF={42:Ft,43:Ft,45:Ft,48:Ft,49:Ft,50:Ft,51:Ft,52:Ft,53:Ft,54:Ft,55:Ft,56:Ft,57:Ft,62:nh},RF={91:kx},MF={[-2]:Yc,[-1]:Yc,32:Yc},DF={35:Ox,42:To,45:[dh,To],60:Rx,61:dh,95:To,96:ih,126:ih},$F={38:ah,92:rh},LF={[-5]:Kc,[-4]:Kc,[-3]:Kc,33:Dx,38:ah,42:Vc,60:[wx,Mx],91:$x,92:[Cx,rh],93:_o,95:Vc,96:Ix},PF={null:[Vc,n3]},zF={null:[42,95]},UF={null:[]};function s3(e,t,n){let a={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},r={},i=[],o=[],s=[],u=!0,l={attempt:P(N),check:P(L),consume:A,enter:O,exit:g,interrupt:P(L,{interrupt:!0})},c={code:null,containerState:{},defineSkip:v,events:[],now:C,parser:e,previous:null,sliceSerialize:b,sliceStream:S,write:p},f=t.tokenize.call(c,l),m;return t.resolveAll&&i.push(t),c;function p(W){return o=en(o,W),y(),o[o.length-1]!==null?[]:(I(t,0),c.events=yi(i,c.events,c),c.events)}function b(W,oe){return BF(S(W),oe)}function S(W){return jF(o,W)}function C(){let{_bufferIndex:W,_index:oe,line:le,column:Ge,offset:rt}=a;return{_bufferIndex:W,_index:oe,line:le,column:Ge,offset:rt}}function v(W){r[W.line]=W.column,ne()}function y(){let W;for(;a._index<o.length;){let oe=o[a._index];if(typeof oe=="string")for(W=a._index,a._bufferIndex<0&&(a._bufferIndex=0);a._index===W&&a._bufferIndex<oe.length;)T(oe.charCodeAt(a._bufferIndex));else T(oe)}}function T(W){u=void 0,m=W,f=f(W)}function A(W){Q(W)?(a.line++,a.column=1,a.offset+=W===-3?2:1,ne()):W!==-1&&(a.column++,a.offset++),a._bufferIndex<0?a._index++:(a._bufferIndex++,a._bufferIndex===o[a._index].length&&(a._bufferIndex=-1,a._index++)),c.previous=W,u=!0}function O(W,oe){let le=oe||{};return le.type=W,le.start=C(),c.events.push(["enter",le,c]),s.push(le),le}function g(W){let oe=s.pop();return oe.end=C(),c.events.push(["exit",oe,c]),oe}function N(W,oe){I(W,oe.from)}function L(W,oe){oe.restore()}function P(W,oe){return le;function le(Ge,rt,bn){let se,w,at,rn;return Array.isArray(Ge)?Et(Ge):"tokenize"in Ge?Et([Ge]):k(Ge);function k(Ot){return Mu;function Mu(Ur){let ki=Ur!==null&&Ot[Ur],Oo=Ur!==null&&Ot.null,Qh=[...Array.isArray(ki)?ki:ki?[ki]:[],...Array.isArray(Oo)?Oo:Oo?[Oo]:[]];return Et(Qh)(Ur)}}function Et(Ot){return se=Ot,w=0,Ot.length===0?bn:Ai(Ot[w])}function Ai(Ot){return Mu;function Mu(Ur){return rn=re(),at=Ot,Ot.partial||(c.currentConstruct=Ot),Ot.name&&c.parser.constructs.disable.null.includes(Ot.name)?bd(Ur):Ot.tokenize.call(oe?Object.assign(Object.create(c),oe):c,l,Xh,bd)(Ur)}}function Xh(Ot){return u=!0,W(at,rn),rt}function bd(Ot){return u=!0,rn.restore(),++w<se.length?Ai(se[w]):bn}}}function I(W,oe){W.resolveAll&&!i.includes(W)&&i.push(W),W.resolve&&mt(c.events,oe,c.events.length-oe,W.resolve(c.events.slice(oe),c)),W.resolveTo&&(c.events=W.resolveTo(c.events,c))}function re(){let W=C(),oe=c.previous,le=c.currentConstruct,Ge=c.events.length,rt=Array.from(s);return{from:Ge,restore:bn};function bn(){a=W,c.previous=oe,c.currentConstruct=le,c.events.length=Ge,s=rt,ne()}}function ne(){a.line in r&&a.column<2&&(a.column=r[a.line],a.offset+=r[a.line]-1)}}function jF(e,t){let n=t.start._index,a=t.start._bufferIndex,r=t.end._index,i=t.end._bufferIndex,o;if(n===r)o=[e[n].slice(a,i)];else{if(o=e.slice(n,r),a>-1){let s=o[0];typeof s=="string"?o[0]=s.slice(a):o.shift()}i>0&&o.push(e[r].slice(0,i))}return o}function BF(e,t){let n=-1,a=[],r;for(;++n<e.length;){let i=e[n],o;if(typeof i=="string")o=i;else switch(i){case-5:{o="\r";break}case-4:{o=`
94
+ `;break}case-3:{o=`\r
95
+ `;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&r)continue;o=" ";break}default:o=String.fromCharCode(i)}r=i===-2,a.push(o)}return a.join("")}function Px(e){let a={constructs:eh([Lx,...(e||{}).extensions||[]]),content:r(K4),defined:[],document:r(X4),flow:r(t3),lazy:{},string:r(r3),text:r(a3)};return a;function r(i){return o;function o(s){return s3(a,i,s)}}}function zx(e){for(;!sh(e););return e}var u3=/[\0\t\n\r]/g;function Ux(){let e=1,t="",n=!0,a;return r;function r(i,o,s){let u=[],l,c,f,m,p;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(o||void 0).decode(i)),f=0,t="",n&&(i.charCodeAt(0)===65279&&f++,n=void 0);f<i.length;){if(u3.lastIndex=f,l=u3.exec(i),m=l&&l.index!==void 0?l.index:i.length,p=i.charCodeAt(m),!l){t=i.slice(f);break}if(p===10&&f===m&&a)u.push(-3),a=void 0;else switch(a&&(u.push(-5),a=void 0),f<m&&(u.push(i.slice(f,m)),e+=m-f),p){case 0:{u.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,u.push(-2);e++<c;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:a=!0,e=1}f=m+1}return s&&(a&&u.push(-5),t&&u.push(t),u.push(null)),u}}var FF=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function l3(e){return e.replace(FF,HF)}function HF(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let r=n.charCodeAt(1),i=r===120||r===88;return th(n.slice(i?2:1),i?16:10)}return Tu(n)||e}var d3={}.hasOwnProperty;function jx(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),ZF(n)(zx(Px(n).document().write(Ux()(e,t,!0))))}function ZF(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(bS),autolinkProtocol:P,autolinkEmail:P,atxHeading:i(gS),blockQuote:i(Ur),characterEscape:P,characterReference:P,codeFenced:i(ki),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:i(ki,o),codeText:i(Oo,o),codeTextData:P,data:P,codeFlowValue:P,definition:i(Qh),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:i(yD),hardBreakEscape:i(vS),hardBreakTrailing:i(vS),htmlFlow:i(yS,o),htmlFlowData:P,htmlText:i(yS,o),htmlTextData:P,image:i(bD),label:o,link:i(bS),listItem:i(_D),listItemValue:m,listOrdered:i(_S,f),listUnordered:i(_S),paragraph:i(TD),reference:k,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:i(gS),strong:i(xD),thematicBreak:i(SD)},exit:{atxHeading:u(),atxHeadingSequence:O,autolink:u(),autolinkEmail:Mu,autolinkProtocol:Ot,blockQuote:u(),characterEscapeValue:I,characterReferenceMarkerHexadecimal:Ai,characterReferenceMarkerNumeric:Ai,characterReferenceValue:Xh,characterReference:bd,codeFenced:u(C),codeFencedFence:S,codeFencedFenceInfo:p,codeFencedFenceMeta:b,codeFlowValue:I,codeIndented:u(v),codeText:u(le),codeTextData:I,data:I,definition:u(),definitionDestinationString:A,definitionLabelString:y,definitionTitleString:T,emphasis:u(),hardBreakEscape:u(ne),hardBreakTrailing:u(ne),htmlFlow:u(W),htmlFlowData:I,htmlText:u(oe),htmlTextData:I,image:u(rt),label:se,labelText:bn,lineEnding:re,link:u(Ge),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:Et,resourceDestinationString:w,resourceTitleString:at,resource:rn,setextHeading:u(L),setextHeadingLineSequence:N,setextHeadingText:g,strong:u(),thematicBreak:u()}};f3(t,(e||{}).mdastExtensions||[]);let n={};return a;function a(z){let K={type:"root",children:[]},me={stack:[K],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:c,data:n},Ce=[],He=-1;for(;++He<z.length;)if(z[He][1].type==="listOrdered"||z[He][1].type==="listUnordered")if(z[He][0]==="enter")Ce.push(He);else{let rr=Ce.pop();He=r(z,rr,He)}for(He=-1;++He<z.length;){let rr=t[z[He][0]];d3.call(rr,z[He][1].type)&&rr[z[He][1].type].call(Object.assign({sliceSerialize:z[He][2].sliceSerialize},me),z[He][1])}if(me.tokenStack.length>0){let rr=me.tokenStack[me.tokenStack.length-1];(rr[1]||c3).call(me,void 0,rr[0])}for(K.position={start:bi(z.length>0?z[0][1].start:{line:1,column:1,offset:0}),end:bi(z.length>0?z[z.length-2][1].end:{line:1,column:1,offset:0})},He=-1;++He<t.transforms.length;)K=t.transforms[He](K)||K;return K}function r(z,K,me){let Ce=K-1,He=-1,rr=!1,Ci,jr,Du,$u;for(;++Ce<=me;){let _n=z[Ce];switch(_n[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{_n[0]==="enter"?He++:He--,$u=void 0;break}case"lineEndingBlank":{_n[0]==="enter"&&(Ci&&!$u&&!He&&!Du&&(Du=Ce),$u=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:$u=void 0}if(!He&&_n[0]==="enter"&&_n[1].type==="listItemPrefix"||He===-1&&_n[0]==="exit"&&(_n[1].type==="listUnordered"||_n[1].type==="listOrdered")){if(Ci){let No=Ce;for(jr=void 0;No--;){let Br=z[No];if(Br[1].type==="lineEnding"||Br[1].type==="lineEndingBlank"){if(Br[0]==="exit")continue;jr&&(z[jr][1].type="lineEndingBlank",rr=!0),Br[1].type="lineEnding",jr=No}else if(!(Br[1].type==="linePrefix"||Br[1].type==="blockQuotePrefix"||Br[1].type==="blockQuotePrefixWhitespace"||Br[1].type==="blockQuoteMarker"||Br[1].type==="listItemIndent"))break}Du&&(!jr||Du<jr)&&(Ci._spread=!0),Ci.end=Object.assign({},jr?z[jr][1].start:_n[1].end),z.splice(jr||Ce,0,["exit",Ci,_n[2]]),Ce++,me++}if(_n[1].type==="listItemPrefix"){let No={type:"listItem",_spread:!1,start:Object.assign({},_n[1].start),end:void 0};Ci=No,z.splice(Ce,0,["enter",No,_n[2]]),Ce++,me++,Du=void 0,$u=!0}}}return z[K][1]._spread=rr,me}function i(z,K){return me;function me(Ce){s.call(this,z(Ce),Ce),K&&K.call(this,Ce)}}function o(){this.stack.push({type:"fragment",children:[]})}function s(z,K,me){this.stack[this.stack.length-1].children.push(z),this.stack.push(z),this.tokenStack.push([K,me||void 0]),z.position={start:bi(K.start),end:void 0}}function u(z){return K;function K(me){z&&z.call(this,me),l.call(this,me)}}function l(z,K){let me=this.stack.pop(),Ce=this.tokenStack.pop();if(Ce)Ce[0].type!==z.type&&(K?K.call(this,z,Ce[0]):(Ce[1]||c3).call(this,z,Ce[0]));else throw new Error("Cannot close `"+z.type+"` ("+gi({start:z.start,end:z.end})+"): it\u2019s not open");me.position.end=bi(z.end)}function c(){return go(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function m(z){if(this.data.expectingFirstListItemValue){let K=this.stack[this.stack.length-2];K.start=Number.parseInt(this.sliceSerialize(z),10),this.data.expectingFirstListItemValue=void 0}}function p(){let z=this.resume(),K=this.stack[this.stack.length-1];K.lang=z}function b(){let z=this.resume(),K=this.stack[this.stack.length-1];K.meta=z}function S(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function C(){let z=this.resume(),K=this.stack[this.stack.length-1];K.value=z.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){let z=this.resume(),K=this.stack[this.stack.length-1];K.value=z.replace(/(\r?\n|\r)$/g,"")}function y(z){let K=this.resume(),me=this.stack[this.stack.length-1];me.label=K,me.identifier=Bt(this.sliceSerialize(z)).toLowerCase()}function T(){let z=this.resume(),K=this.stack[this.stack.length-1];K.title=z}function A(){let z=this.resume(),K=this.stack[this.stack.length-1];K.url=z}function O(z){let K=this.stack[this.stack.length-1];if(!K.depth){let me=this.sliceSerialize(z).length;K.depth=me}}function g(){this.data.setextHeadingSlurpLineEnding=!0}function N(z){let K=this.stack[this.stack.length-1];K.depth=this.sliceSerialize(z).codePointAt(0)===61?1:2}function L(){this.data.setextHeadingSlurpLineEnding=void 0}function P(z){let me=this.stack[this.stack.length-1].children,Ce=me[me.length-1];(!Ce||Ce.type!=="text")&&(Ce=ED(),Ce.position={start:bi(z.start),end:void 0},me.push(Ce)),this.stack.push(Ce)}function I(z){let K=this.stack.pop();K.value+=this.sliceSerialize(z),K.position.end=bi(z.end)}function re(z){let K=this.stack[this.stack.length-1];if(this.data.atHardBreak){let me=K.children[K.children.length-1];me.position.end=bi(z.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(K.type)&&(P.call(this,z),I.call(this,z))}function ne(){this.data.atHardBreak=!0}function W(){let z=this.resume(),K=this.stack[this.stack.length-1];K.value=z}function oe(){let z=this.resume(),K=this.stack[this.stack.length-1];K.value=z}function le(){let z=this.resume(),K=this.stack[this.stack.length-1];K.value=z}function Ge(){let z=this.stack[this.stack.length-1];if(this.data.inReference){let K=this.data.referenceType||"shortcut";z.type+="Reference",z.referenceType=K,delete z.url,delete z.title}else delete z.identifier,delete z.label;this.data.referenceType=void 0}function rt(){let z=this.stack[this.stack.length-1];if(this.data.inReference){let K=this.data.referenceType||"shortcut";z.type+="Reference",z.referenceType=K,delete z.url,delete z.title}else delete z.identifier,delete z.label;this.data.referenceType=void 0}function bn(z){let K=this.sliceSerialize(z),me=this.stack[this.stack.length-2];me.label=l3(K),me.identifier=Bt(K).toLowerCase()}function se(){let z=this.stack[this.stack.length-1],K=this.resume(),me=this.stack[this.stack.length-1];if(this.data.inReference=!0,me.type==="link"){let Ce=z.children;me.children=Ce}else me.alt=K}function w(){let z=this.resume(),K=this.stack[this.stack.length-1];K.url=z}function at(){let z=this.resume(),K=this.stack[this.stack.length-1];K.title=z}function rn(){this.data.inReference=void 0}function k(){this.data.referenceType="collapsed"}function Et(z){let K=this.resume(),me=this.stack[this.stack.length-1];me.label=K,me.identifier=Bt(this.sliceSerialize(z)).toLowerCase(),this.data.referenceType="full"}function Ai(z){this.data.characterReferenceType=z.type}function Xh(z){let K=this.sliceSerialize(z),me=this.data.characterReferenceType,Ce;me?(Ce=th(K,me==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ce=Tu(K);let He=this.stack[this.stack.length-1];He.value+=Ce}function bd(z){let K=this.stack.pop();K.position.end=bi(z.end)}function Ot(z){I.call(this,z);let K=this.stack[this.stack.length-1];K.url=this.sliceSerialize(z)}function Mu(z){I.call(this,z);let K=this.stack[this.stack.length-1];K.url="mailto:"+this.sliceSerialize(z)}function Ur(){return{type:"blockquote",children:[]}}function ki(){return{type:"code",lang:null,meta:null,value:""}}function Oo(){return{type:"inlineCode",value:""}}function Qh(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function yD(){return{type:"emphasis",children:[]}}function gS(){return{type:"heading",depth:0,children:[]}}function vS(){return{type:"break"}}function yS(){return{type:"html",value:""}}function bD(){return{type:"image",title:null,url:"",alt:null}}function bS(){return{type:"link",title:null,url:"",children:[]}}function _S(z){return{type:"list",ordered:z.type==="listOrdered",start:null,spread:z._spread,children:[]}}function _D(z){return{type:"listItem",spread:z._spread,checked:null,children:[]}}function TD(){return{type:"paragraph",children:[]}}function xD(){return{type:"strong",children:[]}}function ED(){return{type:"text",value:""}}function SD(){return{type:"thematicBreak"}}}function bi(e){return{line:e.line,column:e.column,offset:e.offset}}function f3(e,t){let n=-1;for(;++n<t.length;){let a=t[n];Array.isArray(a)?f3(e,a):qF(e,a)}}function qF(e,t){let n;for(n in t)if(d3.call(t,n))switch(n){case"canContainEols":{let a=t[n];a&&e[n].push(...a);break}case"transforms":{let a=t[n];a&&e[n].push(...a);break}case"enter":case"exit":{let a=t[n];a&&Object.assign(e[n],a);break}}}function c3(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+gi({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+gi({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+gi({start:t.start,end:t.end})+") is still open")}function fh(e){let t=this;t.parser=n;function n(a){return jx(a,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function p3(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function m3(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
96
+ `}]}function h3(e,t){let n=t.value?t.value+`
97
+ `:"",a={},r=t.lang?t.lang.split(/\s+/):[];r.length>0&&(a.className=["language-"+r[0]]);let i={type:"element",tagName:"code",properties:a,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function g3(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function v3(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function y3(e,t){let n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",a=String(t.identifier).toUpperCase(),r=tr(a.toLowerCase()),i=e.footnoteOrder.indexOf(a),o,s=e.footnoteCounts.get(a);s===void 0?(s=0,e.footnoteOrder.push(a),o=e.footnoteOrder.length):o=i+1,s+=1,e.footnoteCounts.set(a,s);let u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+r,id:n+"fnref-"+r+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,u);let l={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,l),e.applyData(t,l)}function b3(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function _3(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function ph(e,t){let n=t.referenceType,a="]";if(n==="collapsed"?a+="[]":n==="full"&&(a+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+a}];let r=e.all(t),i=r[0];i&&i.type==="text"?i.value="["+i.value:r.unshift({type:"text",value:"["});let o=r[r.length-1];return o&&o.type==="text"?o.value+=a:r.push({type:"text",value:a}),r}function T3(e,t){let n=String(t.identifier).toUpperCase(),a=e.definitionById.get(n);if(!a)return ph(e,t);let r={src:tr(a.url||""),alt:t.alt};a.title!==null&&a.title!==void 0&&(r.title=a.title);let i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)}function x3(e,t){let n={src:tr(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);let a={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,a),e.applyData(t,a)}function E3(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let a={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,a),e.applyData(t,a)}function S3(e,t){let n=String(t.identifier).toUpperCase(),a=e.definitionById.get(n);if(!a)return ph(e,t);let r={href:tr(a.url||"")};a.title!==null&&a.title!==void 0&&(r.title=a.title);let i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function w3(e,t){let n={href:tr(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);let a={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function I3(e,t,n){let a=e.all(t),r=n?VF(n):A3(t),i={},o=[];if(typeof t.checked=="boolean"){let c=a[0],f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},a.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s<a.length;){let c=a[s];(r||s!==0||c.type!=="element"||c.tagName!=="p")&&o.push({type:"text",value:`
98
+ `}),c.type==="element"&&c.tagName==="p"&&!r?o.push(...c.children):o.push(c)}let u=a[a.length-1];u&&(r||u.type!=="element"||u.tagName!=="p")&&o.push({type:"text",value:`
99
+ `});let l={type:"element",tagName:"li",properties:i,children:o};return e.patch(t,l),e.applyData(t,l)}function VF(e){let t=!1;if(e.type==="list"){t=e.spread||!1;let n=e.children,a=-1;for(;!t&&++a<n.length;)t=A3(n[a])}return t}function A3(e){let t=e.spread;return t??e.children.length>1}function k3(e,t){let n={},a=e.all(t),r=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++r<a.length;){let o=a[r];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)}function C3(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function O3(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function N3(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function R3(e,t){let n=e.all(t),a=n.shift(),r=[];if(a){let o={type:"element",tagName:"thead",properties:{},children:e.wrap([a],!0)};e.patch(t.children[0],o),r.push(o)}if(n.length>0){let o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=yn(t.children[1]),u=ho(t.children[t.children.length-1]);s&&u&&(o.position={start:s,end:u}),r.push(o)}let i={type:"element",tagName:"table",properties:{},children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)}function M3(e,t,n){let a=n?n.children:void 0,i=(a?a.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,s=o?o.length:t.children.length,u=-1,l=[];for(;++u<s;){let f=t.children[u],m={},p=o?o[u]:void 0;p&&(m.align=p);let b={type:"element",tagName:i,properties:m,children:[]};f&&(b.children=e.all(f),e.patch(f,b),b=e.applyData(f,b)),l.push(b)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)}function D3(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function L3(e){let t=String(e),n=/\r?\n|\r/g,a=n.exec(t),r=0,i=[];for(;a;)i.push($3(t.slice(r,a.index),r>0,!0),a[0]),r=a.index+a[0].length,a=n.exec(t);return i.push($3(t.slice(r),r>0,!1)),i.join("")}function $3(e,t,n){let a=0,r=e.length;if(t){let i=e.codePointAt(a);for(;i===9||i===32;)a++,i=e.codePointAt(a)}if(n){let i=e.codePointAt(r-1);for(;i===9||i===32;)r--,i=e.codePointAt(r-1)}return r>a?e.slice(a,r):""}function P3(e,t){let n={type:"text",value:L3(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function z3(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var U3={blockquote:p3,break:m3,code:h3,delete:g3,emphasis:v3,footnoteReference:y3,heading:b3,html:_3,imageReference:T3,image:x3,inlineCode:E3,linkReference:S3,link:w3,listItem:I3,list:k3,paragraph:C3,root:O3,strong:N3,table:R3,tableCell:D3,tableRow:M3,text:P3,thematicBreak:z3,toml:mh,yaml:mh,definition:mh,footnoteDefinition:mh};function mh(){}var q3=typeof self=="object"?self:globalThis,j3=(e,t)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new q3[e](t)},JF=(e,t)=>{let n=(r,i)=>(e.set(i,r),r),a=r=>{if(e.has(r))return e.get(r);let[i,o]=t[r];switch(i){case 0:case-1:return n(o,r);case 1:{let s=n([],r);for(let u of o)s.push(a(u));return s}case 2:{let s=n({},r);for(let[u,l]of o)s[a(u)]=a(l);return s}case 3:return n(new Date(o),r);case 4:{let{source:s,flags:u}=o;return n(new RegExp(s,u),r)}case 5:{let s=n(new Map,r);for(let[u,l]of o)s.set(a(u),a(l));return s}case 6:{let s=n(new Set,r);for(let u of o)s.add(a(u));return s}case 7:{let{name:s,message:u}=o;return n(typeof q3[s]=="function"?j3(s,u):new Error(u),r)}case 8:return n(BigInt(o),r);case"BigInt":return n(Object(BigInt(o)),r);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{let{buffer:s}=new Uint8Array(o);return n(new DataView(s),o)}}return n(j3(i,o),r)};return a},Hx=e=>JF(new Map,e)(0);var xo="",{toString:XF}={},{keys:QF}=Object,Jc=e=>{let t=typeof e;if(t!=="object"||!e)return[0,t];let n=XF.call(e).slice(8,-1);switch(n){case"Array":return[1,xo];case"Object":return[2,xo];case"Date":return[3,xo];case"RegExp":return[4,xo];case"Map":return[5,xo];case"Set":return[6,xo];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:e instanceof Error?[7,e.name||"Error"]:[2,n]},gh=([e,t])=>e===0&&(t==="function"||t==="symbol"),WF=(e,t,n,a)=>{let r=(o,s)=>{let u=a.push(o)-1;return n.set(s,u),u},i=o=>{if(n.has(o))return n.get(o);let[s,u]=Jc(o);switch(s){case 0:{let c=o;switch(u){case"bigint":s=8,c=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);c=null;break;case"undefined":return r([-1],o)}return r([s,c],o)}case 1:{if(u){let m=o;return u==="DataView"?m=new Uint8Array(o.buffer):u==="ArrayBuffer"&&(m=new Uint8Array(o)),r([u,[...m]],o)}let c=[],f=r([s,c],o);for(let m of o)c.push(i(m));return f}case 2:{if(u)switch(u){case"BigInt":return r([u,o.toString()],o);case"Boolean":case"Number":case"String":return r([u,o.valueOf()],o)}if(t&&"toJSON"in o)return i(o.toJSON());let c=[],f=r([s,c],o);for(let m of QF(o))(e||!gh(Jc(o[m])))&&c.push([i(m),i(o[m])]);return f}case 3:return r([s,isNaN(o.getTime())?xo:o.toISOString()],o);case 4:{let{source:c,flags:f}=o;return r([s,{source:c,flags:f}],o)}case 5:{let c=[],f=r([s,c],o);for(let[m,p]of o)(e||!(gh(Jc(m))||gh(Jc(p))))&&c.push([i(m),i(p)]);return f}case 6:{let c=[],f=r([s,c],o);for(let m of o)(e||!gh(Jc(m)))&&c.push(i(m));return f}}let{message:l}=o;return r([s,{name:u,message:l}],o)};return i},Zx=(e,{json:t,lossy:n}={})=>{let a=[];return WF(!(t||n),!!t,new Map,a)(e),a};var pr=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Hx(Zx(e,t)):structuredClone(e):(e,t)=>Hx(Zx(e,t));function eH(e,t){let n=[{type:"text",value:"\u21A9"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function tH(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function V3(e){let t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||eH,a=e.options.footnoteBackLabel||tH,r=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[],u=-1;for(;++u<e.footnoteOrder.length;){let l=e.footnoteById.get(e.footnoteOrder[u]);if(!l)continue;let c=e.all(l),f=String(l.identifier).toUpperCase(),m=tr(f.toLowerCase()),p=0,b=[],S=e.footnoteCounts.get(f);for(;S!==void 0&&++p<=S;){b.length>0&&b.push({type:"text",value:" "});let y=typeof n=="string"?n:n(u,p);typeof y=="string"&&(y={type:"text",value:y}),b.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+m+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof a=="string"?a:a(u,p),className:["data-footnote-backref"]},children:Array.isArray(y)?y:[y]})}let C=c[c.length-1];if(C&&C.type==="element"&&C.tagName==="p"){let y=C.children[C.children.length-1];y&&y.type==="text"?y.value+=" ":C.children.push({type:"text",value:" "}),C.children.push(...b)}else c.push(...b);let v={type:"element",tagName:"li",properties:{id:t+"fn-"+m},children:e.wrap(c,!0)};e.patch(l,v),s.push(v)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...pr(o),id:"footnote-label"},children:[{type:"text",value:r}]},{type:"text",value:`
100
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:`
101
+ `}]}}var _i=(function(e){if(e==null)return iH;if(typeof e=="function")return vh(e);if(typeof e=="object")return Array.isArray(e)?nH(e):rH(e);if(typeof e=="string")return aH(e);throw new Error("Expected function, string, or object as test")});function nH(e){let t=[],n=-1;for(;++n<e.length;)t[n]=_i(e[n]);return vh(a);function a(...r){let i=-1;for(;++i<t.length;)if(t[i].apply(this,r))return!0;return!1}}function rH(e){let t=e;return vh(n);function n(a){let r=a,i;for(i in e)if(r[i]!==t[i])return!1;return!0}}function aH(e){return vh(t);function t(n){return n&&n.type===e}}function vh(e){return t;function t(n,a,r){return!!(oH(n)&&e.call(this,n,typeof a=="number"?a:void 0,r||void 0))}}function iH(){return!0}function oH(e){return e!==null&&typeof e=="object"&&"type"in e}var Y3=[],yh=!0,Eo=!1,bh="skip";function Xc(e,t,n,a){let r;typeof t=="function"&&typeof n!="function"?(a=n,n=t):r=t;let i=_i(r),o=a?-1:1;s(e,void 0,[])();function s(u,l,c){let f=u&&typeof u=="object"?u:{};if(typeof f.type=="string"){let p=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(m,"name",{value:"node ("+(u.type+(p?"<"+p+">":""))+")"})}return m;function m(){let p=Y3,b,S,C;if((!t||i(u,l,c[c.length-1]||void 0))&&(p=sH(n(u,c)),p[0]===Eo))return p;if("children"in u&&u.children){let v=u;if(v.children&&p[0]!==bh)for(S=(a?v.children.length:-1)+o,C=c.concat(v);S>-1&&S<v.children.length;){let y=v.children[S];if(b=s(y,S,C)(),b[0]===Eo)return b;S=typeof b[1]=="number"?b[1]:S+o}}return p}}}function sH(e){return Array.isArray(e)?e:typeof e=="number"?[yh,e]:e==null?Y3:[e]}function xa(e,t,n,a){let r,i,o;typeof t=="function"&&typeof n!="function"?(i=void 0,o=t,r=n):(i=t,o=n,r=a),Xc(e,i,s,r);function s(u,l){let c=l[l.length-1],f=c?c.children.indexOf(u):void 0;return o(u,f,c)}}var qx={}.hasOwnProperty,uH={};function K3(e,t){let n=t||uH,a=new Map,r=new Map,i=new Map,o={...U3,...n.handlers},s={all:l,applyData:cH,definitionById:a,footnoteById:r,footnoteCounts:i,footnoteOrder:[],handlers:o,one:u,options:n,patch:lH,wrap:fH};return xa(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){let f=c.type==="definition"?a:r,m=String(c.identifier).toUpperCase();f.has(m)||f.set(m,c)}}),s;function u(c,f){let m=c.type,p=s.handlers[m];if(qx.call(s.handlers,m)&&p)return p(s,c,f);if(s.options.passThrough&&s.options.passThrough.includes(m)){if("children"in c){let{children:S,...C}=c,v=pr(C);return v.children=s.all(c),v}return pr(c)}return(s.options.unknownHandler||dH)(s,c,f)}function l(c){let f=[];if("children"in c){let m=c.children,p=-1;for(;++p<m.length;){let b=s.one(m[p],c);if(b){if(p&&m[p-1].type==="break"&&(!Array.isArray(b)&&b.type==="text"&&(b.value=G3(b.value)),!Array.isArray(b)&&b.type==="element")){let S=b.children[0];S&&S.type==="text"&&(S.value=G3(S.value))}Array.isArray(b)?f.push(...b):f.push(b)}}}return f}}function lH(e,t){e.position&&(t.position=Fc(e))}function cH(e,t){let n=t;if(e&&e.data){let a=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;if(typeof a=="string")if(n.type==="element")n.tagName=a;else{let o="children"in n?n.children:[n];n={type:"element",tagName:a,properties:{},children:o}}n.type==="element"&&i&&Object.assign(n.properties,pr(i)),"children"in n&&n.children&&r!==null&&r!==void 0&&(n.children=r)}return n}function dH(e,t){let n=t.data||{},a="value"in t&&!(qx.call(n,"hProperties")||qx.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function fH(e,t){let n=[],a=-1;for(t&&n.push({type:"text",value:`
102
+ `});++a<e.length;)a&&n.push({type:"text",value:`
103
+ `}),n.push(e[a]);return t&&e.length>0&&n.push({type:"text",value:`
104
+ `}),n}function G3(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function _h(e,t){let n=K3(e,t),a=n.one(e,void 0),r=V3(n),i=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return r&&("children"in i,i.children.push({type:"text",value:`
105
+ `},r)),i}function Th(e,t){return e&&"run"in e?async function(n,a){let r=_h(n,{file:a,...t});await e.run(r,a)}:function(n,a){return _h(n,{file:a,...e||t})}}function Vx(e){if(e)throw e}var Sh=ct(aR(),1);function Qc(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Yx(){let e=[],t={run:n,use:a};return t;function n(...r){let i=-1,o=r.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);s(null,...r);function s(u,...l){let c=e[++i],f=-1;if(u){o(u);return}for(;++f<r.length;)(l[f]===null||l[f]===void 0)&&(l[f]=r[f]);r=l,c?iR(c,s)(...l):o(null,...l)}}function a(r){if(typeof r!="function")throw new TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}}function iR(e,t){let n;return a;function a(...o){let s=e.length>o.length,u;s&&o.push(r);try{u=e.apply(this,o)}catch(l){let c=l;if(s&&n)throw c;return r(c)}s||(u&&u.then&&typeof u.then=="function"?u.then(i,r):u instanceof Error?r(u):i(u))}function r(o,...s){n||(n=!0,t(o,...s))}function i(o){r(null,o)}}var mr={basename:pH,dirname:mH,extname:hH,join:gH,sep:"/"};function pH(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Wc(e);let n=0,a=-1,r=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;r--;)if(e.codePointAt(r)===47){if(i){n=r+1;break}}else a<0&&(i=!0,a=r+1);return a<0?"":e.slice(n,a)}if(t===e)return"";let o=-1,s=t.length-1;for(;r--;)if(e.codePointAt(r)===47){if(i){n=r+1;break}}else o<0&&(i=!0,o=r+1),s>-1&&(e.codePointAt(r)===t.codePointAt(s--)?s<0&&(a=r):(s=-1,a=o));return n===a?a=o:a<0&&(a=e.length),e.slice(n,a)}function mH(e){if(Wc(e),e.length===0)return".";let t=-1,n=e.length,a;for(;--n;)if(e.codePointAt(n)===47){if(a){t=n;break}}else a||(a=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function hH(e){Wc(e);let t=e.length,n=-1,a=0,r=-1,i=0,o;for(;t--;){let s=e.codePointAt(t);if(s===47){if(o){a=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?r<0?r=t:i!==1&&(i=1):r>-1&&(i=-1)}return r<0||n<0||i===0||i===1&&r===n-1&&r===a+1?"":e.slice(r,n)}function gH(...e){let t=-1,n;for(;++t<e.length;)Wc(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":vH(n)}function vH(e){Wc(e);let t=e.codePointAt(0)===47,n=yH(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function yH(e,t){let n="",a=0,r=-1,i=0,o=-1,s,u;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else{if(s===47)break;s=47}if(s===47){if(!(r===o-1||i===1))if(r!==o-1&&i===2){if(n.length<2||a!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(u=n.lastIndexOf("/"),u!==n.length-1){u<0?(n="",a=0):(n=n.slice(0,u),a=n.length-1-n.lastIndexOf("/")),r=o,i=0;continue}}else if(n.length>0){n="",a=0,r=o,i=0;continue}}t&&(n=n.length>0?n+"/..":"..",a=2)}else n.length>0?n+="/"+e.slice(r+1,o):n=e.slice(r+1,o),a=o-r-1;r=o,i=0}else s===46&&i>-1?i++:i=-1}return n}function Wc(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var oR={cwd:bH};function bH(){return"/"}function xu(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function sR(e){if(typeof e=="string")e=new URL(e);else if(!xu(e)){let t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){let t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return _H(e)}function _H(e){if(e.hostname!==""){let a=new TypeError('File URL host must be "localhost" or empty on darwin');throw a.code="ERR_INVALID_FILE_URL_HOST",a}let t=e.pathname,n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){let a=t.codePointAt(n+2);if(a===70||a===102){let r=new TypeError("File URL path must not include encoded / characters");throw r.code="ERR_INVALID_FILE_URL_PATH",r}}return decodeURIComponent(t)}var Gx=["history","path","basename","stem","extname","dirname"],So=class{constructor(t){let n;t?xu(t)?n={path:t}:typeof t=="string"||TH(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":oR.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a=-1;for(;++a<Gx.length;){let i=Gx[a];i in n&&n[i]!==void 0&&n[i]!==null&&(this[i]=i==="history"?[...n[i]]:n[i])}let r;for(r in n)Gx.includes(r)||(this[r]=n[r])}get basename(){return typeof this.path=="string"?mr.basename(this.path):void 0}set basename(t){Jx(t,"basename"),Kx(t,"basename"),this.path=mr.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?mr.dirname(this.path):void 0}set dirname(t){uR(this.basename,"dirname"),this.path=mr.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?mr.extname(this.path):void 0}set extname(t){if(Kx(t,"extname"),uR(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=mr.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){xu(t)&&(t=sR(t)),Jx(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?mr.basename(this.path,this.extname):void 0}set stem(t){Jx(t,"stem"),Kx(t,"stem"),this.path=mr.join(this.dirname||"",t+(this.extname||""))}fail(t,n,a){let r=this.message(t,n,a);throw r.fatal=!0,r}info(t,n,a){let r=this.message(t,n,a);return r.fatal=void 0,r}message(t,n,a){let r=new pt(t,n,a);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}};function Kx(e,t){if(e&&e.includes(mr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+mr.sep+"`")}function Jx(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function uR(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function TH(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var lR=(function(e){let a=this.constructor.prototype,r=a[e],i=function(){return r.apply(i,arguments)};return Object.setPrototypeOf(i,a),i});var xH={}.hasOwnProperty,eE=class e extends lR{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Yx()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let a=this.attachers[n];t.use(...a)}return t.data((0,Sh.default)(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Wx("data",this.frozen),this.namespace[t]=n,this):xH.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Wx("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;let t=this;for(;++this.freezeIndex<this.attachers.length;){let[n,...a]=this.attachers[this.freezeIndex];if(a[0]===!1)continue;a[0]===!0&&(a[0]=void 0);let r=n.call(t,...a);typeof r=="function"&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();let n=Eh(t),a=this.parser||this.Parser;return Xx("parse",a),a(String(n),n)}process(t,n){let a=this;return this.freeze(),Xx("process",this.parser||this.Parser),Qx("process",this.compiler||this.Compiler),n?r(void 0,n):new Promise(r);function r(i,o){let s=Eh(t),u=a.parse(s);a.run(u,s,function(c,f,m){if(c||!f||!m)return l(c);let p=f,b=a.stringify(p,m);SH(b)?m.value=b:m.result=b,l(c,m)});function l(c,f){c||!f?o(c):i?i(f):n(void 0,f)}}}processSync(t){let n=!1,a;return this.freeze(),Xx("processSync",this.parser||this.Parser),Qx("processSync",this.compiler||this.Compiler),this.process(t,r),dR("processSync","process",n),a;function r(i,o){n=!0,Vx(i),a=o}}run(t,n,a){cR(t),this.freeze();let r=this.transformers;return!a&&typeof n=="function"&&(a=n,n=void 0),a?i(void 0,a):new Promise(i);function i(o,s){let u=Eh(n);r.run(t,u,l);function l(c,f,m){let p=f||t;c?s(c):o?o(p):a(void 0,p,m)}}}runSync(t,n){let a=!1,r;return this.run(t,n,i),dR("runSync","run",a),r;function i(o,s){Vx(o),r=s,a=!0}}stringify(t,n){this.freeze();let a=Eh(n),r=this.compiler||this.Compiler;return Qx("stringify",r),cR(t),r(t,a)}use(t,...n){let a=this.attachers,r=this.namespace;if(Wx("use",this.frozen),t!=null)if(typeof t=="function")u(t,n);else if(typeof t=="object")Array.isArray(t)?s(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(l){if(typeof l=="function")u(l,[]);else if(typeof l=="object")if(Array.isArray(l)){let[c,...f]=l;u(c,f)}else o(l);else throw new TypeError("Expected usable value, not `"+l+"`")}function o(l){if(!("plugins"in l)&&!("settings"in l))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(l.plugins),l.settings&&(r.settings=(0,Sh.default)(!0,r.settings,l.settings))}function s(l){let c=-1;if(l!=null)if(Array.isArray(l))for(;++c<l.length;){let f=l[c];i(f)}else throw new TypeError("Expected a list of plugins, not `"+l+"`")}function u(l,c){let f=-1,m=-1;for(;++f<a.length;)if(a[f][0]===l){m=f;break}if(m===-1)a.push([l,...c]);else if(c.length>0){let[p,...b]=c,S=a[m][1];Qc(S)&&Qc(p)&&(p=(0,Sh.default)(!0,S,p)),a[m]=[l,p,...b]}}}},tE=new eE().freeze();function Xx(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Qx(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Wx(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function cR(e){if(!Qc(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function dR(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Eh(e){return EH(e)?e:new So(e)}function EH(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function SH(e){return typeof e=="string"||wH(e)}function wH(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var IH="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",fR=[],pR={allowDangerousHtml:!0},AH=/^(https?|ircs?|mailto|xmpp)$/i,kH=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function wh(e){let t=CH(e),n=OH(e);return NH(t.runSync(t.parse(n),n),e)}function CH(e){let t=e.rehypePlugins||fR,n=e.remarkPlugins||fR,a=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...pR}:pR;return tE().use(fh).use(n).use(Th,a).use(t)}function OH(e){let t=e.children||"",n=new So;return typeof t=="string"?n.value=t:(""+t,void 0),n}function NH(e,t){let n=t.allowedElements,a=t.allowElement,r=t.components,i=t.disallowedElements,o=t.skipHtml,s=t.unwrapDisallowed,u=t.urlTransform||hR;for(let c of kH)Object.hasOwn(t,c.from)&&(""+c.from+(c.to?"use `"+c.to+"` instead":"remove it")+IH+c.id,void 0);return n&&i&&void 0,xa(e,l),xx(e,{Fragment:Eu.Fragment,components:r,ignoreInvalidStyle:!0,jsx:Eu.jsx,jsxs:Eu.jsxs,passKeys:!0,passNode:!0});function l(c,f,m){if(c.type==="raw"&&m&&typeof f=="number")return o?m.children.splice(f,1):m.children[f]={type:"text",value:c.value},f;if(c.type==="element"){let p;for(p in Zc)if(Object.hasOwn(Zc,p)&&Object.hasOwn(c.properties,p)){let b=c.properties[p],S=Zc[p];(S===null||S.includes(c.tagName))&&(c.properties[p]=u(String(b||""),p,c))}}if(c.type==="element"){let p=n?!n.includes(c.tagName):i?i.includes(c.tagName):!1;if(!p&&a&&typeof f=="number"&&(p=!a(c,f,m)),p&&m&&typeof f=="number")return s&&c.children?m.children.splice(f,1,...c.children):m.children.splice(f,1),f}}}function hR(e){let t=e.indexOf(":"),n=e.indexOf("?"),a=e.indexOf("#"),r=e.indexOf("/");return t===-1||r!==-1&&t>r||n!==-1&&t>n||a!==-1&&t>a||AH.test(e.slice(0,t))?e:""}var gR=/[#.]/g;function nE(e,t){let n=e||"",a={},r=0,i,o;for(;r<n.length;){gR.lastIndex=r;let s=gR.exec(n),u=n.slice(r,s?s.index:n.length);u&&(i?i==="#"?a.id=u:Array.isArray(a.className)?a.className.push(u):a.className=[u]:o=u,r+=u.length),s&&(i=s[0],r++)}return{type:"element",tagName:o||t||"div",properties:a,children:[]}}function aE(e,t,n){let a=n?$H(n):void 0;function r(i,o,...s){let u;if(i==null){u={type:"root",children:[]};let l=o;s.unshift(l)}else{u=nE(i,t);let l=u.tagName.toLowerCase(),c=a?a.get(l):void 0;if(u.tagName=c||l,RH(o))s.unshift(o);else for(let[f,m]of Object.entries(o))MH(e,u.properties,f,m)}for(let l of s)rE(u.children,l);return u.type==="element"&&u.tagName==="template"&&(u.content={type:"root",children:u.children},u.children=[]),u}return r}function RH(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;let t=e,n=Object.keys(e);for(let a of n){let r=t[a];if(r&&typeof r=="object"){if(!Array.isArray(r))return!0;let i=r;for(let o of i)if(typeof o!="number"&&typeof o!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function MH(e,t,n,a){let r=ba(e,n),i;if(a!=null){if(typeof a=="number"){if(Number.isNaN(a))return;i=a}else typeof a=="boolean"?i=a:typeof a=="string"?r.spaceSeparated?i=vx(a):r.commaSeparated?i=ux(a):r.commaOrSpaceSeparated?i=vx(ux(a).join(" ")):i=vR(r,r.property,a):Array.isArray(a)?i=[...a]:i=r.property==="style"?DH(a):String(a);if(Array.isArray(i)){let o=[];for(let s of i)o.push(vR(r,r.property,s));i=o}r.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[r.property]=i}}function rE(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(let n of t)rE(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?rE(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function vR(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||va(n)===va(t)))return!0}return n}function DH(e){let t=[];for(let[n,a]of Object.entries(e))t.push([n,a].join(": "));return t.join("; ")}function $H(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}var yR=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"];var iE=aE(_a,"div"),oE=aE(er,"g",yR);function sE(e){let t=String(e),n=[];return{toOffset:r,toPoint:a};function a(i){if(typeof i=="number"&&i>-1&&i<=t.length){let o=0;for(;;){let s=n[o];if(s===void 0){let u=bR(t,n[o-1]);s=u===-1?t.length+1:u+1,n[o]=s}if(s>i)return{line:o+1,column:i-(o>0?n[o-1]:0)+1,offset:i};o++}}}function r(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;n.length<i.line;){let s=n[n.length-1],u=bR(t,s),l=u===-1?t.length+1:u+1;if(s===l)break;n.push(l)}let o=(i.line>1?n[i.line-2]:0)+i.column-1;if(o<n[i.line-1])return o}}}function bR(e,t){let n=e.indexOf("\r",t),a=e.indexOf(`
106
+ `,t);return a===-1?n:n===-1||n+1===a?a:n<a?n:a}var $r={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};var TR={}.hasOwnProperty,LH=Object.prototype;function uE(e,t){let n=t||{};return lE({file:n.file||void 0,location:!1,schema:n.space==="svg"?er:_a,verbose:n.verbose||!1},e)}function lE(e,t){let n;switch(t.nodeName){case"#comment":{let a=t;return n={type:"comment",value:a.data},Ih(e,a,n),n}case"#document":case"#document-fragment":{let a=t,r="mode"in a?a.mode==="quirks"||a.mode==="limited-quirks":!1;if(n={type:"root",children:xR(e,t.childNodes),data:{quirksMode:r}},e.file&&e.location){let i=String(e.file),o=sE(i),s=o.toPoint(0),u=o.toPoint(i.length);n.position={start:s,end:u}}return n}case"#documentType":{let a=t;return n={type:"doctype"},Ih(e,a,n),n}case"#text":{let a=t;return n={type:"text",value:a.value},Ih(e,a,n),n}default:return n=PH(e,t),n}}function xR(e,t){let n=-1,a=[];for(;++n<t.length;){let r=lE(e,t[n]);a.push(r)}return a}function PH(e,t){let n=e.schema;e.schema=t.namespaceURI===$r.svg?er:_a;let a=-1,r={};for(;++a<t.attrs.length;){let s=t.attrs[a],u=(s.prefix?s.prefix+":":"")+s.name;TR.call(LH,u)||(r[u]=s.value)}let o=(e.schema.space==="svg"?oE:iE)(t.tagName,r,xR(e,t.childNodes));if(Ih(e,t,o),o.tagName==="template"){let s=t,u=s.sourceCodeLocation,l=u&&u.startTag&&Su(u.startTag),c=u&&u.endTag&&Su(u.endTag),f=lE(e,s.content);l&&c&&e.file&&(f.position={start:l.end,end:c.start}),o.content=f}return e.schema=n,o}function Ih(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){let a=zH(e,n,t.sourceCodeLocation);a&&(e.location=!0,n.position=a)}}function zH(e,t,n){let a=Su(n);if(t.type==="element"){let r=t.children[t.children.length-1];if(a&&!n.endTag&&r&&r.position&&r.position.end&&(a.end=Object.assign({},r.position.end)),e.verbose){let i={},o;if(n.attrs)for(o in n.attrs)TR.call(n.attrs,o)&&(i[ba(e.schema,o).property]=Su(n.attrs[o]));n.startTag;let s=Su(n.startTag),u=n.endTag?Su(n.endTag):void 0,l={opening:s};u&&(l.closing=u),l.properties=i,t.data={position:l}}}return a}function Su(e){let t=_R({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=_R({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function _R(e){return e.line&&e.column?e:void 0}var ER={}.hasOwnProperty;function Ah(e,t){let n=t||{};function a(r,...i){let o=a.invalid,s=a.handlers;if(r&&ER.call(r,e)){let u=String(r[e]);o=ER.call(s,u)?s[u]:a.unknown}if(o)return o.call(this,r,...i)}return a.handlers=n.handlers||{},a.invalid=n.invalid,a.unknown=n.unknown,a}var UH={},jH={}.hasOwnProperty,SR=Ah("type",{handlers:{root:BH,element:VH,text:ZH,comment:qH,doctype:HH}});function cE(e,t){let a=(t||UH).space;return SR(e,a==="svg"?er:_a)}function BH(e,t){let n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=dE(e.children,n,t),wu(e,n),n}function FH(e,t){let n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=dE(e.children,n,t),wu(e,n),n}function HH(e){let t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return wu(e,t),t}function ZH(e){let t={nodeName:"#text",value:e.value,parentNode:null};return wu(e,t),t}function qH(e){let t={nodeName:"#comment",data:e.value,parentNode:null};return wu(e,t),t}function VH(e,t){let n=t,a=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(a=er);let r=[],i;if(e.properties){for(i in e.properties)if(i!=="children"&&jH.call(e.properties,i)){let u=YH(a,i,e.properties[i]);u&&r.push(u)}}let o=a.space;let s={nodeName:e.tagName,tagName:e.tagName,attrs:r,namespaceURI:$r[o],childNodes:[],parentNode:null};return s.childNodes=dE(e.children,s,a),wu(e,s),e.tagName==="template"&&e.content&&(s.content=FH(e.content,a)),s}function YH(e,t,n){let a=ba(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&a.boolean)return;Array.isArray(n)&&(n=a.commaSeparated?Ym(n):Qm(n));let r={name:a.attribute,value:n===!0?"":String(n)};if(a.space&&a.space!=="html"&&a.space!=="svg"){let i=r.name.indexOf(":");i<0?r.prefix="":(r.name=r.name.slice(i+1),r.prefix=a.attribute.slice(0,i)),r.namespace=$r[a.space]}return r}function dE(e,t,n){let a=-1,r=[];if(e)for(;++a<e.length;){let i=SR(e[a],n);i.parentNode=t,r.push(i)}return r}function wu(e,t){let n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}var wR=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];var GH=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),Ye="\uFFFD",_;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(_||(_={}));var tn={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function kh(e){return e>=55296&&e<=57343}function IR(e){return e>=56320&&e<=57343}function AR(e,t){return(e-55296)*1024+9216+t}function Ch(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Oh(e){return e>=64976&&e<=65007||GH.has(e)}var $;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})($||($={}));var JH=65536,Nh=class{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=JH,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){let{line:a,col:r,offset:i}=this,o=r+n,s=i+n;return{code:t,startLine:a,endLine:a,startCol:o,endCol:o,startOffset:s,endOffset:s}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){let n=this.html.charCodeAt(this.pos+1);if(IR(n))return this.pos++,this._addGap(),AR(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,_.EOF;return this._err($.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let a=0;a<t.length;a++)if((this.html.charCodeAt(this.pos+a)|32)!==t.charCodeAt(a))return!1;return!0}peek(t){let n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,_.EOF;let a=this.html.charCodeAt(n);return a===_.CARRIAGE_RETURN?_.LINE_FEED:a}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,_.EOF;let t=this.html.charCodeAt(this.pos);return t===_.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,_.LINE_FEED):t===_.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,kh(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===_.LINE_FEED||t===_.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Ch(t)?this._err($.controlCharacterInInputStream):Oh(t)&&this._err($.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}};var Ti={};Tn(Ti,{TokenType:()=>Ae,getTokenAttr:()=>ed});var Ae;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(Ae||(Ae={}));function ed(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}var Rh=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(e=>e.charCodeAt(0)));var fE,XH=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),kR=(fE=String.fromCodePoint)!==null&&fE!==void 0?fE:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function pE(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=XH.get(e))!==null&&t!==void 0?t:e}var Ct;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Ct||(Ct={}));var WH=32,xi;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(xi||(xi={}));function mE(e){return e>=Ct.ZERO&&e<=Ct.NINE}function eZ(e){return e>=Ct.UPPER_A&&e<=Ct.UPPER_F||e>=Ct.LOWER_A&&e<=Ct.LOWER_F}function tZ(e){return e>=Ct.UPPER_A&&e<=Ct.UPPER_Z||e>=Ct.LOWER_A&&e<=Ct.LOWER_Z||mE(e)}function nZ(e){return e===Ct.EQUALS||tZ(e)}var kt;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(kt||(kt={}));var Lr;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Lr||(Lr={}));var Mh=class{constructor(t,n,a){this.decodeTree=t,this.emitCodePoint=n,this.errors=a,this.state=kt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Lr.Strict}startEntity(t){this.decodeMode=t,this.state=kt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case kt.EntityStart:return t.charCodeAt(n)===Ct.NUM?(this.state=kt.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=kt.NamedEntity,this.stateNamedEntity(t,n));case kt.NumericStart:return this.stateNumericStart(t,n);case kt.NumericDecimal:return this.stateNumericDecimal(t,n);case kt.NumericHex:return this.stateNumericHex(t,n);case kt.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|WH)===Ct.LOWER_X?(this.state=kt.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=kt.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,a,r){if(n!==a){let i=a-n;this.result=this.result*Math.pow(r,i)+Number.parseInt(t.substr(n,i),r),this.consumed+=i}}stateNumericHex(t,n){let a=n;for(;n<t.length;){let r=t.charCodeAt(n);if(mE(r)||eZ(r))n+=1;else return this.addToNumericResult(t,a,n,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(t,a,n,16),-1}stateNumericDecimal(t,n){let a=n;for(;n<t.length;){let r=t.charCodeAt(n);if(mE(r))n+=1;else return this.addToNumericResult(t,a,n,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(t,a,n,10),-1}emitNumericEntity(t,n){var a;if(this.consumed<=n)return(a=this.errors)===null||a===void 0||a.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Ct.SEMI)this.consumed+=1;else if(this.decodeMode===Lr.Strict)return 0;return this.emitCodePoint(pE(this.result),this.consumed),this.errors&&(t!==Ct.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){let{decodeTree:a}=this,r=a[this.treeIndex],i=(r&xi.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){let o=t.charCodeAt(n);if(this.treeIndex=rZ(a,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return this.result===0||this.decodeMode===Lr.Attribute&&(i===0||nZ(o))?0:this.emitNotTerminatedNamedEntity();if(r=a[this.treeIndex],i=(r&xi.VALUE_LENGTH)>>14,i!==0){if(o===Ct.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Lr.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;let{result:n,decodeTree:a}=this,r=(a[n]&xi.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,r,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,a){let{decodeTree:r}=this;return this.emitCodePoint(n===1?r[t]&~xi.VALUE_LENGTH:r[t+1],a),n===3&&this.emitCodePoint(r[t+2],a),a}end(){var t;switch(this.state){case kt.NamedEntity:return this.result!==0&&(this.decodeMode!==Lr.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case kt.NumericDecimal:return this.emitNumericEntity(0,2);case kt.NumericHex:return this.emitNumericEntity(0,3);case kt.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case kt.EntityStart:return 0}}};function rZ(e,t,n,a){let r=(t&xi.BRANCH_LENGTH)>>7,i=t&xi.JUMP_TABLE;if(r===0)return i!==0&&a===i?n:-1;if(i){let u=a-i;return u<0||u>=r?-1:e[n+u]-1}let o=n,s=o+r-1;for(;o<=s;){let u=o+s>>>1,l=e[u];if(l<a)o=u+1;else if(l>a)s=u-1;else return e[u+r]}return-1}var td={};Tn(td,{ATTRS:()=>Pr,DOCUMENT_MODE:()=>Ht,NS:()=>j,NUMBERED_HEADERS:()=>Iu,SPECIAL_ELEMENTS:()=>hE,TAG_ID:()=>d,TAG_NAMES:()=>M,getTagID:()=>Ei,hasUnescapedText:()=>CR});var j;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(j||(j={}));var Pr;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(Pr||(Pr={}));var Ht;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Ht||(Ht={}));var M;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(M||(M={}));var d;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(d||(d={}));var aZ=new Map([[M.A,d.A],[M.ADDRESS,d.ADDRESS],[M.ANNOTATION_XML,d.ANNOTATION_XML],[M.APPLET,d.APPLET],[M.AREA,d.AREA],[M.ARTICLE,d.ARTICLE],[M.ASIDE,d.ASIDE],[M.B,d.B],[M.BASE,d.BASE],[M.BASEFONT,d.BASEFONT],[M.BGSOUND,d.BGSOUND],[M.BIG,d.BIG],[M.BLOCKQUOTE,d.BLOCKQUOTE],[M.BODY,d.BODY],[M.BR,d.BR],[M.BUTTON,d.BUTTON],[M.CAPTION,d.CAPTION],[M.CENTER,d.CENTER],[M.CODE,d.CODE],[M.COL,d.COL],[M.COLGROUP,d.COLGROUP],[M.DD,d.DD],[M.DESC,d.DESC],[M.DETAILS,d.DETAILS],[M.DIALOG,d.DIALOG],[M.DIR,d.DIR],[M.DIV,d.DIV],[M.DL,d.DL],[M.DT,d.DT],[M.EM,d.EM],[M.EMBED,d.EMBED],[M.FIELDSET,d.FIELDSET],[M.FIGCAPTION,d.FIGCAPTION],[M.FIGURE,d.FIGURE],[M.FONT,d.FONT],[M.FOOTER,d.FOOTER],[M.FOREIGN_OBJECT,d.FOREIGN_OBJECT],[M.FORM,d.FORM],[M.FRAME,d.FRAME],[M.FRAMESET,d.FRAMESET],[M.H1,d.H1],[M.H2,d.H2],[M.H3,d.H3],[M.H4,d.H4],[M.H5,d.H5],[M.H6,d.H6],[M.HEAD,d.HEAD],[M.HEADER,d.HEADER],[M.HGROUP,d.HGROUP],[M.HR,d.HR],[M.HTML,d.HTML],[M.I,d.I],[M.IMG,d.IMG],[M.IMAGE,d.IMAGE],[M.INPUT,d.INPUT],[M.IFRAME,d.IFRAME],[M.KEYGEN,d.KEYGEN],[M.LABEL,d.LABEL],[M.LI,d.LI],[M.LINK,d.LINK],[M.LISTING,d.LISTING],[M.MAIN,d.MAIN],[M.MALIGNMARK,d.MALIGNMARK],[M.MARQUEE,d.MARQUEE],[M.MATH,d.MATH],[M.MENU,d.MENU],[M.META,d.META],[M.MGLYPH,d.MGLYPH],[M.MI,d.MI],[M.MO,d.MO],[M.MN,d.MN],[M.MS,d.MS],[M.MTEXT,d.MTEXT],[M.NAV,d.NAV],[M.NOBR,d.NOBR],[M.NOFRAMES,d.NOFRAMES],[M.NOEMBED,d.NOEMBED],[M.NOSCRIPT,d.NOSCRIPT],[M.OBJECT,d.OBJECT],[M.OL,d.OL],[M.OPTGROUP,d.OPTGROUP],[M.OPTION,d.OPTION],[M.P,d.P],[M.PARAM,d.PARAM],[M.PLAINTEXT,d.PLAINTEXT],[M.PRE,d.PRE],[M.RB,d.RB],[M.RP,d.RP],[M.RT,d.RT],[M.RTC,d.RTC],[M.RUBY,d.RUBY],[M.S,d.S],[M.SCRIPT,d.SCRIPT],[M.SEARCH,d.SEARCH],[M.SECTION,d.SECTION],[M.SELECT,d.SELECT],[M.SOURCE,d.SOURCE],[M.SMALL,d.SMALL],[M.SPAN,d.SPAN],[M.STRIKE,d.STRIKE],[M.STRONG,d.STRONG],[M.STYLE,d.STYLE],[M.SUB,d.SUB],[M.SUMMARY,d.SUMMARY],[M.SUP,d.SUP],[M.TABLE,d.TABLE],[M.TBODY,d.TBODY],[M.TEMPLATE,d.TEMPLATE],[M.TEXTAREA,d.TEXTAREA],[M.TFOOT,d.TFOOT],[M.TD,d.TD],[M.TH,d.TH],[M.THEAD,d.THEAD],[M.TITLE,d.TITLE],[M.TR,d.TR],[M.TRACK,d.TRACK],[M.TT,d.TT],[M.U,d.U],[M.UL,d.UL],[M.SVG,d.SVG],[M.VAR,d.VAR],[M.WBR,d.WBR],[M.XMP,d.XMP]]);function Ei(e){var t;return(t=aZ.get(e))!==null&&t!==void 0?t:d.UNKNOWN}var q=d,hE={[j.HTML]:new Set([q.ADDRESS,q.APPLET,q.AREA,q.ARTICLE,q.ASIDE,q.BASE,q.BASEFONT,q.BGSOUND,q.BLOCKQUOTE,q.BODY,q.BR,q.BUTTON,q.CAPTION,q.CENTER,q.COL,q.COLGROUP,q.DD,q.DETAILS,q.DIR,q.DIV,q.DL,q.DT,q.EMBED,q.FIELDSET,q.FIGCAPTION,q.FIGURE,q.FOOTER,q.FORM,q.FRAME,q.FRAMESET,q.H1,q.H2,q.H3,q.H4,q.H5,q.H6,q.HEAD,q.HEADER,q.HGROUP,q.HR,q.HTML,q.IFRAME,q.IMG,q.INPUT,q.LI,q.LINK,q.LISTING,q.MAIN,q.MARQUEE,q.MENU,q.META,q.NAV,q.NOEMBED,q.NOFRAMES,q.NOSCRIPT,q.OBJECT,q.OL,q.P,q.PARAM,q.PLAINTEXT,q.PRE,q.SCRIPT,q.SECTION,q.SELECT,q.SOURCE,q.STYLE,q.SUMMARY,q.TABLE,q.TBODY,q.TD,q.TEMPLATE,q.TEXTAREA,q.TFOOT,q.TH,q.THEAD,q.TITLE,q.TR,q.TRACK,q.UL,q.WBR,q.XMP]),[j.MATHML]:new Set([q.MI,q.MO,q.MN,q.MS,q.MTEXT,q.ANNOTATION_XML]),[j.SVG]:new Set([q.TITLE,q.FOREIGN_OBJECT,q.DESC]),[j.XLINK]:new Set,[j.XML]:new Set,[j.XMLNS]:new Set},Iu=new Set([q.H1,q.H2,q.H3,q.H4,q.H5,q.H6]),iZ=new Set([M.STYLE,M.SCRIPT,M.XMP,M.IFRAME,M.NOEMBED,M.NOFRAMES,M.PLAINTEXT]);function CR(e,t){return iZ.has(e)||t&&e===M.NOSCRIPT}var x;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(x||(x={}));var nt={DATA:x.DATA,RCDATA:x.RCDATA,RAWTEXT:x.RAWTEXT,SCRIPT_DATA:x.SCRIPT_DATA,PLAINTEXT:x.PLAINTEXT,CDATA_SECTION:x.CDATA_SECTION};function oZ(e){return e>=_.DIGIT_0&&e<=_.DIGIT_9}function nd(e){return e>=_.LATIN_CAPITAL_A&&e<=_.LATIN_CAPITAL_Z}function sZ(e){return e>=_.LATIN_SMALL_A&&e<=_.LATIN_SMALL_Z}function Si(e){return sZ(e)||nd(e)}function OR(e){return Si(e)||oZ(e)}function Dh(e){return e+32}function RR(e){return e===_.SPACE||e===_.LINE_FEED||e===_.TABULATION||e===_.FORM_FEED}function NR(e){return RR(e)||e===_.SOLIDUS||e===_.GREATER_THAN_SIGN}function uZ(e){return e===_.NULL?$.nullCharacterReference:e>1114111?$.characterReferenceOutsideUnicodeRange:kh(e)?$.surrogateCharacterReference:Oh(e)?$.noncharacterCharacterReference:Ch(e)||e===_.CARRIAGE_RETURN?$.controlCharacterReference:null}var rd=class{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=x.DATA,this.returnState=x.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Nh(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Mh(Rh,(a,r)=>{this.preprocessor.pos=this.entityStartPos+r-1,this._flushCodePointConsumedAsCharacterReference(a)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err($.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:a=>{this._err($.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+a)},validateNumericCharacterReference:a=>{let r=uZ(a);r&&this._err(r,1)}}:void 0)}_err(t,n=0){var a,r;(r=(a=this.handler).onParseError)===null||r===void 0||r.call(a,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t?.())}write(t,n,a){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||a?.()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Ae.START_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Ae.END_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Ae.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Ae.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;let a=this.currentToken;if(ed(a,this.currentAttr.name)===null){if(a.attrs.push(this.currentAttr),a.location&&this.currentLocation){let r=(t=(n=a.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);r[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err($.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let t=this.currentToken;this.prepareToken(t),t.tagID=Ei(t.tagName),t.type===Ae.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err($.endTagWithAttributes),t.selfClosing&&this._err($.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case Ae.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Ae.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Ae.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){let t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:Ae.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){let n=RR(t)?Ae.WHITESPACE_CHARACTER:t===_.NULL?Ae.NULL_CHARACTER:Ae.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Ae.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=x.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Lr.Attribute:Lr.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===x.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===x.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===x.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case x.DATA:{this._stateData(t);break}case x.RCDATA:{this._stateRcdata(t);break}case x.RAWTEXT:{this._stateRawtext(t);break}case x.SCRIPT_DATA:{this._stateScriptData(t);break}case x.PLAINTEXT:{this._statePlaintext(t);break}case x.TAG_OPEN:{this._stateTagOpen(t);break}case x.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case x.TAG_NAME:{this._stateTagName(t);break}case x.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case x.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case x.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case x.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case x.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case x.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case x.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case x.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case x.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case x.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case x.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case x.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case x.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case x.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case x.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case x.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case x.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case x.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case x.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case x.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case x.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case x.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case x.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case x.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case x.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case x.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case x.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case x.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case x.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case x.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case x.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case x.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case x.BOGUS_COMMENT:{this._stateBogusComment(t);break}case x.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case x.COMMENT_START:{this._stateCommentStart(t);break}case x.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case x.COMMENT:{this._stateComment(t);break}case x.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case x.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case x.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case x.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case x.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case x.COMMENT_END:{this._stateCommentEnd(t);break}case x.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case x.DOCTYPE:{this._stateDoctype(t);break}case x.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case x.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case x.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case x.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case x.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case x.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case x.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case x.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case x.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case x.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case x.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case x.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case x.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case x.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case x.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case x.CDATA_SECTION:{this._stateCdataSection(t);break}case x.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case x.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case x.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case x.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case _.LESS_THAN_SIGN:{this.state=x.TAG_OPEN;break}case _.AMPERSAND:{this._startCharacterReference();break}case _.NULL:{this._err($.unexpectedNullCharacter),this._emitCodePoint(t);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case _.AMPERSAND:{this._startCharacterReference();break}case _.LESS_THAN_SIGN:{this.state=x.RCDATA_LESS_THAN_SIGN;break}case _.NULL:{this._err($.unexpectedNullCharacter),this._emitChars(Ye);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case _.LESS_THAN_SIGN:{this.state=x.RAWTEXT_LESS_THAN_SIGN;break}case _.NULL:{this._err($.unexpectedNullCharacter),this._emitChars(Ye);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case _.LESS_THAN_SIGN:{this.state=x.SCRIPT_DATA_LESS_THAN_SIGN;break}case _.NULL:{this._err($.unexpectedNullCharacter),this._emitChars(Ye);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case _.NULL:{this._err($.unexpectedNullCharacter),this._emitChars(Ye);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Si(t))this._createStartTagToken(),this.state=x.TAG_NAME,this._stateTagName(t);else switch(t){case _.EXCLAMATION_MARK:{this.state=x.MARKUP_DECLARATION_OPEN;break}case _.SOLIDUS:{this.state=x.END_TAG_OPEN;break}case _.QUESTION_MARK:{this._err($.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=x.BOGUS_COMMENT,this._stateBogusComment(t);break}case _.EOF:{this._err($.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err($.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=x.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Si(t))this._createEndTagToken(),this.state=x.TAG_NAME,this._stateTagName(t);else switch(t){case _.GREATER_THAN_SIGN:{this._err($.missingEndTagName),this.state=x.DATA;break}case _.EOF:{this._err($.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err($.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=x.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){let n=this.currentToken;switch(t){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=x.BEFORE_ATTRIBUTE_NAME;break}case _.SOLIDUS:{this.state=x.SELF_CLOSING_START_TAG;break}case _.GREATER_THAN_SIGN:{this.state=x.DATA,this.emitCurrentTagToken();break}case _.NULL:{this._err($.unexpectedNullCharacter),n.tagName+=Ye;break}case _.EOF:{this._err($.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(nd(t)?Dh(t):t)}}_stateRcdataLessThanSign(t){t===_.SOLIDUS?this.state=x.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=x.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Si(t)?(this.state=x.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=x.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();let n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=x.BEFORE_ATTRIBUTE_NAME,!1;case _.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=x.SELF_CLOSING_START_TAG,!1;case _.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=x.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=x.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===_.SOLIDUS?this.state=x.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=x.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Si(t)?(this.state=x.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=x.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=x.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case _.SOLIDUS:{this.state=x.SCRIPT_DATA_END_TAG_OPEN;break}case _.EXCLAMATION_MARK:{this.state=x.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=x.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Si(t)?(this.state=x.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=x.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=x.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===_.HYPHEN_MINUS?(this.state=x.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=x.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===_.HYPHEN_MINUS?(this.state=x.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=x.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case _.HYPHEN_MINUS:{this.state=x.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=x.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case _.NULL:{this._err($.unexpectedNullCharacter),this._emitChars(Ye);break}case _.EOF:{this._err($.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case _.HYPHEN_MINUS:{this.state=x.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=x.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case _.NULL:{this._err($.unexpectedNullCharacter),this.state=x.SCRIPT_DATA_ESCAPED,this._emitChars(Ye);break}case _.EOF:{this._err($.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=x.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case _.HYPHEN_MINUS:{this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=x.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case _.GREATER_THAN_SIGN:{this.state=x.SCRIPT_DATA,this._emitChars(">");break}case _.NULL:{this._err($.unexpectedNullCharacter),this.state=x.SCRIPT_DATA_ESCAPED,this._emitChars(Ye);break}case _.EOF:{this._err($.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=x.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===_.SOLIDUS?this.state=x.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Si(t)?(this._emitChars("<"),this.state=x.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=x.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Si(t)?(this.state=x.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=x.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=x.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(tn.SCRIPT,!1)&&NR(this.preprocessor.peek(tn.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<tn.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=x.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case _.HYPHEN_MINUS:{this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case _.NULL:{this._err($.unexpectedNullCharacter),this._emitChars(Ye);break}case _.EOF:{this._err($.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case _.HYPHEN_MINUS:{this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case _.NULL:{this._err($.unexpectedNullCharacter),this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ye);break}case _.EOF:{this._err($.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case _.HYPHEN_MINUS:{this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case _.GREATER_THAN_SIGN:{this.state=x.SCRIPT_DATA,this._emitChars(">");break}case _.NULL:{this._err($.unexpectedNullCharacter),this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ye);break}case _.EOF:{this._err($.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===_.SOLIDUS?(this.state=x.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(tn.SCRIPT,!1)&&NR(this.preprocessor.peek(tn.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<tn.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=x.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.SOLIDUS:case _.GREATER_THAN_SIGN:case _.EOF:{this.state=x.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case _.EQUALS_SIGN:{this._err($.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=x.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=x.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:case _.SOLIDUS:case _.GREATER_THAN_SIGN:case _.EOF:{this._leaveAttrName(),this.state=x.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case _.EQUALS_SIGN:{this._leaveAttrName(),this.state=x.BEFORE_ATTRIBUTE_VALUE;break}case _.QUOTATION_MARK:case _.APOSTROPHE:case _.LESS_THAN_SIGN:{this._err($.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case _.NULL:{this._err($.unexpectedNullCharacter),this.currentAttr.name+=Ye;break}default:this.currentAttr.name+=String.fromCodePoint(nd(t)?Dh(t):t)}}_stateAfterAttributeName(t){switch(t){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.SOLIDUS:{this.state=x.SELF_CLOSING_START_TAG;break}case _.EQUALS_SIGN:{this.state=x.BEFORE_ATTRIBUTE_VALUE;break}case _.GREATER_THAN_SIGN:{this.state=x.DATA,this.emitCurrentTagToken();break}case _.EOF:{this._err($.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=x.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.QUOTATION_MARK:{this.state=x.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case _.APOSTROPHE:{this.state=x.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err($.missingAttributeValue),this.state=x.DATA,this.emitCurrentTagToken();break}default:this.state=x.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case _.QUOTATION_MARK:{this.state=x.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case _.AMPERSAND:{this._startCharacterReference();break}case _.NULL:{this._err($.unexpectedNullCharacter),this.currentAttr.value+=Ye;break}case _.EOF:{this._err($.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case _.APOSTROPHE:{this.state=x.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case _.AMPERSAND:{this._startCharacterReference();break}case _.NULL:{this._err($.unexpectedNullCharacter),this.currentAttr.value+=Ye;break}case _.EOF:{this._err($.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this._leaveAttrValue(),this.state=x.BEFORE_ATTRIBUTE_NAME;break}case _.AMPERSAND:{this._startCharacterReference();break}case _.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=x.DATA,this.emitCurrentTagToken();break}case _.NULL:{this._err($.unexpectedNullCharacter),this.currentAttr.value+=Ye;break}case _.QUOTATION_MARK:case _.APOSTROPHE:case _.LESS_THAN_SIGN:case _.EQUALS_SIGN:case _.GRAVE_ACCENT:{this._err($.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case _.EOF:{this._err($.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this._leaveAttrValue(),this.state=x.BEFORE_ATTRIBUTE_NAME;break}case _.SOLIDUS:{this._leaveAttrValue(),this.state=x.SELF_CLOSING_START_TAG;break}case _.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=x.DATA,this.emitCurrentTagToken();break}case _.EOF:{this._err($.eofInTag),this._emitEOFToken();break}default:this._err($.missingWhitespaceBetweenAttributes),this.state=x.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case _.GREATER_THAN_SIGN:{let n=this.currentToken;n.selfClosing=!0,this.state=x.DATA,this.emitCurrentTagToken();break}case _.EOF:{this._err($.eofInTag),this._emitEOFToken();break}default:this._err($.unexpectedSolidusInTag),this.state=x.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){let n=this.currentToken;switch(t){case _.GREATER_THAN_SIGN:{this.state=x.DATA,this.emitCurrentComment(n);break}case _.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case _.NULL:{this._err($.unexpectedNullCharacter),n.data+=Ye;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(tn.DASH_DASH,!0)?(this._createCommentToken(tn.DASH_DASH.length+1),this.state=x.COMMENT_START):this._consumeSequenceIfMatch(tn.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(tn.DOCTYPE.length+1),this.state=x.DOCTYPE):this._consumeSequenceIfMatch(tn.CDATA_START,!0)?this.inForeignNode?this.state=x.CDATA_SECTION:(this._err($.cdataInHtmlContent),this._createCommentToken(tn.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=x.BOGUS_COMMENT):this._ensureHibernation()||(this._err($.incorrectlyOpenedComment),this._createCommentToken(2),this.state=x.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case _.HYPHEN_MINUS:{this.state=x.COMMENT_START_DASH;break}case _.GREATER_THAN_SIGN:{this._err($.abruptClosingOfEmptyComment),this.state=x.DATA;let n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=x.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){let n=this.currentToken;switch(t){case _.HYPHEN_MINUS:{this.state=x.COMMENT_END;break}case _.GREATER_THAN_SIGN:{this._err($.abruptClosingOfEmptyComment),this.state=x.DATA,this.emitCurrentComment(n);break}case _.EOF:{this._err($.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=x.COMMENT,this._stateComment(t)}}_stateComment(t){let n=this.currentToken;switch(t){case _.HYPHEN_MINUS:{this.state=x.COMMENT_END_DASH;break}case _.LESS_THAN_SIGN:{n.data+="<",this.state=x.COMMENT_LESS_THAN_SIGN;break}case _.NULL:{this._err($.unexpectedNullCharacter),n.data+=Ye;break}case _.EOF:{this._err($.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){let n=this.currentToken;switch(t){case _.EXCLAMATION_MARK:{n.data+="!",this.state=x.COMMENT_LESS_THAN_SIGN_BANG;break}case _.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=x.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===_.HYPHEN_MINUS?this.state=x.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=x.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===_.HYPHEN_MINUS?this.state=x.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=x.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==_.GREATER_THAN_SIGN&&t!==_.EOF&&this._err($.nestedComment),this.state=x.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){let n=this.currentToken;switch(t){case _.HYPHEN_MINUS:{this.state=x.COMMENT_END;break}case _.EOF:{this._err($.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=x.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){let n=this.currentToken;switch(t){case _.GREATER_THAN_SIGN:{this.state=x.DATA,this.emitCurrentComment(n);break}case _.EXCLAMATION_MARK:{this.state=x.COMMENT_END_BANG;break}case _.HYPHEN_MINUS:{n.data+="-";break}case _.EOF:{this._err($.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=x.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){let n=this.currentToken;switch(t){case _.HYPHEN_MINUS:{n.data+="--!",this.state=x.COMMENT_END_DASH;break}case _.GREATER_THAN_SIGN:{this._err($.incorrectlyClosedComment),this.state=x.DATA,this.emitCurrentComment(n);break}case _.EOF:{this._err($.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=x.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=x.BEFORE_DOCTYPE_NAME;break}case _.GREATER_THAN_SIGN:{this.state=x.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case _.EOF:{this._err($.eofInDoctype),this._createDoctypeToken(null);let n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err($.missingWhitespaceBeforeDoctypeName),this.state=x.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(nd(t))this._createDoctypeToken(String.fromCharCode(Dh(t))),this.state=x.DOCTYPE_NAME;else switch(t){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.NULL:{this._err($.unexpectedNullCharacter),this._createDoctypeToken(Ye),this.state=x.DOCTYPE_NAME;break}case _.GREATER_THAN_SIGN:{this._err($.missingDoctypeName),this._createDoctypeToken(null);let n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=x.DATA;break}case _.EOF:{this._err($.eofInDoctype),this._createDoctypeToken(null);let n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=x.DOCTYPE_NAME}}_stateDoctypeName(t){let n=this.currentToken;switch(t){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=x.AFTER_DOCTYPE_NAME;break}case _.GREATER_THAN_SIGN:{this.state=x.DATA,this.emitCurrentDoctype(n);break}case _.NULL:{this._err($.unexpectedNullCharacter),n.name+=Ye;break}case _.EOF:{this._err($.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(nd(t)?Dh(t):t)}}_stateAfterDoctypeName(t){let n=this.currentToken;switch(t){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.GREATER_THAN_SIGN:{this.state=x.DATA,this.emitCurrentDoctype(n);break}case _.EOF:{this._err($.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(tn.PUBLIC,!1)?this.state=x.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(tn.SYSTEM,!1)?this.state=x.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err($.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=x.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){let n=this.currentToken;switch(t){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=x.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case _.QUOTATION_MARK:{this._err($.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=x.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{this._err($.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=x.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err($.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=x.DATA,this.emitCurrentDoctype(n);break}case _.EOF:{this._err($.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err($.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=x.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){let n=this.currentToken;switch(t){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.QUOTATION_MARK:{n.publicId="",this.state=x.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{n.publicId="",this.state=x.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err($.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=x.DATA,this.emitCurrentDoctype(n);break}case _.EOF:{this._err($.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err($.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=x.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){let n=this.currentToken;switch(t){case _.QUOTATION_MARK:{this.state=x.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case _.NULL:{this._err($.unexpectedNullCharacter),n.publicId+=Ye;break}case _.GREATER_THAN_SIGN:{this._err($.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=x.DATA;break}case _.EOF:{this._err($.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){let n=this.currentToken;switch(t){case _.APOSTROPHE:{this.state=x.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case _.NULL:{this._err($.unexpectedNullCharacter),n.publicId+=Ye;break}case _.GREATER_THAN_SIGN:{this._err($.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=x.DATA;break}case _.EOF:{this._err($.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){let n=this.currentToken;switch(t){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=x.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case _.GREATER_THAN_SIGN:{this.state=x.DATA,this.emitCurrentDoctype(n);break}case _.QUOTATION_MARK:{this._err($.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=x.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{this._err($.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=x.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case _.EOF:{this._err($.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err($.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=x.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){let n=this.currentToken;switch(t){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=x.DATA;break}case _.QUOTATION_MARK:{n.systemId="",this.state=x.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{n.systemId="",this.state=x.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case _.EOF:{this._err($.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err($.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=x.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){let n=this.currentToken;switch(t){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=x.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case _.QUOTATION_MARK:{this._err($.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=x.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{this._err($.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=x.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err($.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=x.DATA,this.emitCurrentDoctype(n);break}case _.EOF:{this._err($.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err($.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=x.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){let n=this.currentToken;switch(t){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.QUOTATION_MARK:{n.systemId="",this.state=x.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{n.systemId="",this.state=x.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err($.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=x.DATA,this.emitCurrentDoctype(n);break}case _.EOF:{this._err($.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err($.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=x.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){let n=this.currentToken;switch(t){case _.QUOTATION_MARK:{this.state=x.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case _.NULL:{this._err($.unexpectedNullCharacter),n.systemId+=Ye;break}case _.GREATER_THAN_SIGN:{this._err($.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=x.DATA;break}case _.EOF:{this._err($.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){let n=this.currentToken;switch(t){case _.APOSTROPHE:{this.state=x.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case _.NULL:{this._err($.unexpectedNullCharacter),n.systemId+=Ye;break}case _.GREATER_THAN_SIGN:{this._err($.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=x.DATA;break}case _.EOF:{this._err($.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){let n=this.currentToken;switch(t){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=x.DATA;break}case _.EOF:{this._err($.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err($.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=x.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){let n=this.currentToken;switch(t){case _.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=x.DATA;break}case _.NULL:{this._err($.unexpectedNullCharacter);break}case _.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}default:}}_stateCdataSection(t){switch(t){case _.RIGHT_SQUARE_BRACKET:{this.state=x.CDATA_SECTION_BRACKET;break}case _.EOF:{this._err($.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===_.RIGHT_SQUARE_BRACKET?this.state=x.CDATA_SECTION_END:(this._emitChars("]"),this.state=x.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case _.GREATER_THAN_SIGN:{this.state=x.DATA;break}case _.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=x.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(_.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&OR(this.preprocessor.peek(1))?x.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){OR(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===_.SEMICOLON&&this._err($.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}};var LR=new Set([d.DD,d.DT,d.LI,d.OPTGROUP,d.OPTION,d.P,d.RB,d.RP,d.RT,d.RTC]),MR=new Set([...LR,d.CAPTION,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]),$h=new Set([d.APPLET,d.CAPTION,d.HTML,d.MARQUEE,d.OBJECT,d.TABLE,d.TD,d.TEMPLATE,d.TH]),lZ=new Set([...$h,d.OL,d.UL]),cZ=new Set([...$h,d.BUTTON]),DR=new Set([d.ANNOTATION_XML,d.MI,d.MN,d.MO,d.MS,d.MTEXT]),$R=new Set([d.DESC,d.FOREIGN_OBJECT,d.TITLE]),dZ=new Set([d.TR,d.TEMPLATE,d.HTML]),fZ=new Set([d.TBODY,d.TFOOT,d.THEAD,d.TEMPLATE,d.HTML]),pZ=new Set([d.TABLE,d.TEMPLATE,d.HTML]),mZ=new Set([d.TD,d.TH]),Lh=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,a){this.treeAdapter=n,this.handler=a,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=d.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===d.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===j.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){let a=this._indexOf(t);this.items[a]=n,a===this.stackTop&&(this.current=n)}insertAfter(t,n,a){let r=this._indexOf(t)+1;this.items.splice(r,0,n),this.tagIDs.splice(r,0,a),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==j.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){let n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){let n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){let a=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(a,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(Iu,j.HTML)}popUntilTableCellPopped(){this.popUntilPopped(mZ,j.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let a=this.stackTop;a>=0;a--)if(t.has(this.tagIDs[a])&&this.treeAdapter.getNamespaceURI(this.items[a])===n)return a;return-1}clearBackTo(t,n){let a=this._indexOfTagNames(t,n);this.shortenToLength(a+1)}clearBackToTableContext(){this.clearBackTo(pZ,j.HTML)}clearBackToTableBodyContext(){this.clearBackTo(fZ,j.HTML)}clearBackToTableRowContext(){this.clearBackTo(dZ,j.HTML)}remove(t){let n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===d.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){let n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===d.HTML}hasInDynamicScope(t,n){for(let a=this.stackTop;a>=0;a--){let r=this.tagIDs[a];switch(this.treeAdapter.getNamespaceURI(this.items[a])){case j.HTML:{if(r===t)return!0;if(n.has(r))return!1;break}case j.SVG:{if($R.has(r))return!1;break}case j.MATHML:{if(DR.has(r))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,$h)}hasInListItemScope(t){return this.hasInDynamicScope(t,lZ)}hasInButtonScope(t){return this.hasInDynamicScope(t,cZ)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case j.HTML:{if(Iu.has(n))return!0;if($h.has(n))return!1;break}case j.SVG:{if($R.has(n))return!1;break}case j.MATHML:{if(DR.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===j.HTML)switch(this.tagIDs[n]){case t:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===j.HTML)switch(this.tagIDs[t]){case d.TBODY:case d.THEAD:case d.TFOOT:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===j.HTML)switch(this.tagIDs[n]){case t:return!0;case d.OPTION:case d.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&LR.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&MR.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&MR.has(this.currentTagId);)this.pop()}};var hr;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(hr||(hr={}));var PR={type:hr.Marker},Ph=class{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){let a=[],r=n.length,i=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t);for(let s=0;s<this.entries.length;s++){let u=this.entries[s];if(u.type===hr.Marker)break;let{element:l}=u;if(this.treeAdapter.getTagName(l)===i&&this.treeAdapter.getNamespaceURI(l)===o){let c=this.treeAdapter.getAttrList(l);c.length===r&&a.push({idx:s,attrs:c})}}return a}_ensureNoahArkCondition(t){if(this.entries.length<3)return;let n=this.treeAdapter.getAttrList(t),a=this._getNoahArkConditionCandidates(t,n);if(a.length<3)return;let r=new Map(n.map(o=>[o.name,o.value])),i=0;for(let o=0;o<a.length;o++){let s=a[o];s.attrs.every(u=>r.get(u.name)===u.value)&&(i+=1,i>=3&&this.entries.splice(s.idx,1))}}insertMarker(){this.entries.unshift(PR)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:hr.Element,element:t,token:n})}insertElementAfterBookmark(t,n){let a=this.entries.indexOf(this.bookmark);this.entries.splice(a,0,{type:hr.Element,element:t,token:n})}removeEntry(t){let n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){let t=this.entries.indexOf(PR);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){let n=this.entries.find(a=>a.type===hr.Marker||this.treeAdapter.getTagName(a.element)===t);return n&&n.type===hr.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===hr.Element&&n.element===t)}};var gr={createDocument(){return{nodeName:"#document",mode:Ht.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let a=e.childNodes.indexOf(n);e.childNodes.splice(a,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,a){let r=e.childNodes.find(i=>i.nodeName==="#documentType");if(r)r.name=t,r.publicId=n,r.systemId=a;else{let i={nodeName:"#documentType",name:t,publicId:n,systemId:a,parentNode:null};gr.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(gr.isTextNode(n)){n.value+=t;return}}gr.appendChild(e,gr.createTextNode(t))},insertTextBefore(e,t,n){let a=e.childNodes[e.childNodes.indexOf(n)-1];a&&gr.isTextNode(a)?a.value+=t:gr.insertBefore(e,gr.createTextNode(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(a=>a.name));for(let a=0;a<t.length;a++)n.has(t[a].name)||e.attrs.push(t[a])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}};var UR="html",hZ="about:legacy-compat",gZ="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",jR=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],vZ=[...jR,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],yZ=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),BR=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],bZ=[...BR,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function zR(e,t){return t.some(n=>e.startsWith(n))}function FR(e){return e.name===UR&&e.publicId===null&&(e.systemId===null||e.systemId===hZ)}function HR(e){if(e.name!==UR)return Ht.QUIRKS;let{systemId:t}=e;if(t&&t.toLowerCase()===gZ)return Ht.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),yZ.has(n))return Ht.QUIRKS;let a=t===null?vZ:jR;if(zR(n,a))return Ht.QUIRKS;if(a=t===null?BR:bZ,zR(n,a))return Ht.LIMITED_QUIRKS}return Ht.NO_QUIRKS}var ZR={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},TZ="definitionurl",xZ="definitionURL",EZ=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),SZ=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:j.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:j.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:j.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:j.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:j.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:j.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:j.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:j.XML}],["xml:space",{prefix:"xml",name:"space",namespace:j.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:j.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:j.XMLNS}]]),wZ=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),IZ=new Set([d.B,d.BIG,d.BLOCKQUOTE,d.BODY,d.BR,d.CENTER,d.CODE,d.DD,d.DIV,d.DL,d.DT,d.EM,d.EMBED,d.H1,d.H2,d.H3,d.H4,d.H5,d.H6,d.HEAD,d.HR,d.I,d.IMG,d.LI,d.LISTING,d.MENU,d.META,d.NOBR,d.OL,d.P,d.PRE,d.RUBY,d.S,d.SMALL,d.SPAN,d.STRONG,d.STRIKE,d.SUB,d.SUP,d.TABLE,d.TT,d.U,d.UL,d.VAR]);function qR(e){let t=e.tagID;return t===d.FONT&&e.attrs.some(({name:a})=>a===Pr.COLOR||a===Pr.SIZE||a===Pr.FACE)||IZ.has(t)}function gE(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===TZ){e.attrs[t].name=xZ;break}}function vE(e){for(let t=0;t<e.attrs.length;t++){let n=EZ.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function zh(e){for(let t=0;t<e.attrs.length;t++){let n=SZ.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function VR(e){let t=wZ.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Ei(e.tagName))}function AZ(e,t){return t===j.MATHML&&(e===d.MI||e===d.MO||e===d.MN||e===d.MS||e===d.MTEXT)}function kZ(e,t,n){if(t===j.MATHML&&e===d.ANNOTATION_XML){for(let a=0;a<n.length;a++)if(n[a].name===Pr.ENCODING){let r=n[a].value.toLowerCase();return r===ZR.TEXT_HTML||r===ZR.APPLICATION_XML}}return t===j.SVG&&(e===d.FOREIGN_OBJECT||e===d.DESC||e===d.TITLE)}function YR(e,t,n,a){return(!a||a===j.HTML)&&kZ(e,t,n)||(!a||a===j.MATHML)&&AZ(e,t)}var CZ="hidden",OZ=8,NZ=3,E;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(E||(E={}));var RZ={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},QR=new Set([d.TABLE,d.TBODY,d.TFOOT,d.THEAD,d.TR]),KR={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:gr,onParseError:null},wo=class{constructor(t,n,a=null,r=null){this.fragmentContext=a,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=E.INITIAL,this.originalInsertionMode=E.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...KR,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new rd(this.options,this),this.activeFormattingElements=new Ph(this.treeAdapter),this.fragmentContextID=a?Ei(this.treeAdapter.getTagName(a)):d.UNKNOWN,this._setContextModes(a??this.document,this.fragmentContextID),this.openElements=new Lh(this.document,this.treeAdapter,this)}static parse(t,n){let a=new this(n);return a.tokenizer.write(t,!0),a.document}static getFragmentParser(t,n){let a={...KR,...n};t??(t=a.treeAdapter.createElement(M.TEMPLATE,j.HTML,[]));let r=a.treeAdapter.createElement("documentmock",j.HTML,[]),i=new this(a,r,t);return i.fragmentContextID===d.TEMPLATE&&i.tmplInsertionModeStack.unshift(E.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){let t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,a){var r;if(!this.onParseError)return;let i=(r=t.location)!==null&&r!==void 0?r:RZ,o={code:n,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:a?i.startLine:i.endLine,endCol:a?i.startCol:i.endCol,endOffset:a?i.startOffset:i.endOffset};this.onParseError(o)}onItemPush(t,n,a){var r,i;(i=(r=this.treeAdapter).onItemPush)===null||i===void 0||i.call(r,t),a&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var a,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(r=(a=this.treeAdapter).onItemPop)===null||r===void 0||r.call(a,t,this.openElements.current),n){let i,o;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,o=this.fragmentContextID):{current:i,currentTagId:o}=this.openElements,this._setContextModes(i,o)}}_setContextModes(t,n){let a=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===j.HTML;this.currentNotInHTML=!a,this.tokenizer.inForeignNode=!a&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,j.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=E.TEXT}switchToPlaintextParsing(){this.insertionMode=E.TEXT,this.originalInsertionMode=E.IN_BODY,this.tokenizer.state=nt.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===M.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==j.HTML))switch(this.fragmentContextID){case d.TITLE:case d.TEXTAREA:{this.tokenizer.state=nt.RCDATA;break}case d.STYLE:case d.XMP:case d.IFRAME:case d.NOEMBED:case d.NOFRAMES:case d.NOSCRIPT:{this.tokenizer.state=nt.RAWTEXT;break}case d.SCRIPT:{this.tokenizer.state=nt.SCRIPT_DATA;break}case d.PLAINTEXT:{this.tokenizer.state=nt.PLAINTEXT;break}default:}}_setDocumentType(t){let n=t.name||"",a=t.publicId||"",r=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,a,r),t.location){let o=this.treeAdapter.getChildNodes(this.document).find(s=>this.treeAdapter.isDocumentTypeNode(s));o&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){let a=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,a)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{let a=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(a??this.document,t)}}_appendElement(t,n){let a=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(a,t.location)}_insertElement(t,n){let a=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(a,t.location),this.openElements.push(a,t.tagID)}_insertFakeElement(t,n){let a=this.treeAdapter.createElement(t,j.HTML,[]);this._attachElementToTree(a,null),this.openElements.push(a,n)}_insertTemplate(t){let n=this.treeAdapter.createElement(t.tagName,j.HTML,t.attrs),a=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,a),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,null)}_insertFakeRootElement(){let t=this.treeAdapter.createElement(M.HTML,j.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,d.HTML)}_appendCommentNode(t,n){let a=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,a),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}_insertCharacters(t){let n,a;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:a}=this._findFosterParentingLocation(),a?this.treeAdapter.insertTextBefore(n,t.chars,a):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;let r=this.treeAdapter.getChildNodes(n),i=a?r.lastIndexOf(a):r.length,o=r[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){let{endLine:u,endCol:l,endOffset:c}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:u,endCol:l,endOffset:c})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}_adoptNodes(t,n){for(let a=this.treeAdapter.getFirstChild(t);a;a=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(a),this.treeAdapter.appendChild(n,a)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){let a=n.location,r=this.treeAdapter.getTagName(t),i=n.type===Ae.END_TAG&&r===n.tagName?{endTag:{...a},endLine:a.endLine,endCol:a.endCol,endOffset:a.endOffset}:{endLine:a.startLine,endCol:a.startCol,endOffset:a.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,a;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,a=this.fragmentContextID):{current:n,currentTagId:a}=this.openElements,t.tagID===d.SVG&&this.treeAdapter.getTagName(n)===M.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===j.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===d.MGLYPH||t.tagID===d.MALIGNMARK)&&a!==void 0&&!this._isIntegrationPoint(a,n,j.HTML)}_processToken(t){switch(t.type){case Ae.CHARACTER:{this.onCharacter(t);break}case Ae.NULL_CHARACTER:{this.onNullCharacter(t);break}case Ae.COMMENT:{this.onComment(t);break}case Ae.DOCTYPE:{this.onDoctype(t);break}case Ae.START_TAG:{this._processStartTag(t);break}case Ae.END_TAG:{this.onEndTag(t);break}case Ae.EOF:{this.onEof(t);break}case Ae.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,a){let r=this.treeAdapter.getNamespaceURI(n),i=this.treeAdapter.getAttrList(n);return YR(t,r,i,a)}_reconstructActiveFormattingElements(){let t=this.activeFormattingElements.entries.length;if(t){let n=this.activeFormattingElements.entries.findIndex(r=>r.type===hr.Marker||this.openElements.contains(r.element)),a=n===-1?t-1:n-1;for(let r=a;r>=0;r--){let i=this.activeFormattingElements.entries[r];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=E.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(d.P),this.openElements.popUntilTagNamePopped(d.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case d.TR:{this.insertionMode=E.IN_ROW;return}case d.TBODY:case d.THEAD:case d.TFOOT:{this.insertionMode=E.IN_TABLE_BODY;return}case d.CAPTION:{this.insertionMode=E.IN_CAPTION;return}case d.COLGROUP:{this.insertionMode=E.IN_COLUMN_GROUP;return}case d.TABLE:{this.insertionMode=E.IN_TABLE;return}case d.BODY:{this.insertionMode=E.IN_BODY;return}case d.FRAMESET:{this.insertionMode=E.IN_FRAMESET;return}case d.SELECT:{this._resetInsertionModeForSelect(t);return}case d.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case d.HTML:{this.insertionMode=this.headElement?E.AFTER_HEAD:E.BEFORE_HEAD;return}case d.TD:case d.TH:{if(t>0){this.insertionMode=E.IN_CELL;return}break}case d.HEAD:{if(t>0){this.insertionMode=E.IN_HEAD;return}break}}this.insertionMode=E.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){let a=this.openElements.tagIDs[n];if(a===d.TEMPLATE)break;if(a===d.TABLE){this.insertionMode=E.IN_SELECT_IN_TABLE;return}}this.insertionMode=E.IN_SELECT}_isElementCausesFosterParenting(t){return QR.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){let n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case d.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===j.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case d.TABLE:{let a=this.treeAdapter.getParentNode(n);return a?{parent:a,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){let n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){let a=this.treeAdapter.getNamespaceURI(t);return hE[a].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){uV(this,t);return}switch(this.insertionMode){case E.INITIAL:{ad(this,t);break}case E.BEFORE_HTML:{od(this,t);break}case E.BEFORE_HEAD:{sd(this,t);break}case E.IN_HEAD:{ud(this,t);break}case E.IN_HEAD_NO_SCRIPT:{ld(this,t);break}case E.AFTER_HEAD:{cd(this,t);break}case E.IN_BODY:case E.IN_CAPTION:case E.IN_CELL:case E.IN_TEMPLATE:{eM(this,t);break}case E.TEXT:case E.IN_SELECT:case E.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case E.IN_TABLE:case E.IN_TABLE_BODY:case E.IN_ROW:{yE(this,t);break}case E.IN_TABLE_TEXT:{oM(this,t);break}case E.IN_COLUMN_GROUP:{jh(this,t);break}case E.AFTER_BODY:{Bh(this,t);break}case E.AFTER_AFTER_BODY:{Uh(this,t);break}default:}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){sV(this,t);return}switch(this.insertionMode){case E.INITIAL:{ad(this,t);break}case E.BEFORE_HTML:{od(this,t);break}case E.BEFORE_HEAD:{sd(this,t);break}case E.IN_HEAD:{ud(this,t);break}case E.IN_HEAD_NO_SCRIPT:{ld(this,t);break}case E.AFTER_HEAD:{cd(this,t);break}case E.TEXT:{this._insertCharacters(t);break}case E.IN_TABLE:case E.IN_TABLE_BODY:case E.IN_ROW:{yE(this,t);break}case E.IN_COLUMN_GROUP:{jh(this,t);break}case E.AFTER_BODY:{Bh(this,t);break}case E.AFTER_AFTER_BODY:{Uh(this,t);break}default:}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){bE(this,t);return}switch(this.insertionMode){case E.INITIAL:case E.BEFORE_HTML:case E.BEFORE_HEAD:case E.IN_HEAD:case E.IN_HEAD_NO_SCRIPT:case E.AFTER_HEAD:case E.IN_BODY:case E.IN_TABLE:case E.IN_CAPTION:case E.IN_COLUMN_GROUP:case E.IN_TABLE_BODY:case E.IN_ROW:case E.IN_CELL:case E.IN_SELECT:case E.IN_SELECT_IN_TABLE:case E.IN_TEMPLATE:case E.IN_FRAMESET:case E.AFTER_FRAMESET:{bE(this,t);break}case E.IN_TABLE_TEXT:{id(this,t);break}case E.AFTER_BODY:{UZ(this,t);break}case E.AFTER_AFTER_BODY:case E.AFTER_AFTER_FRAMESET:{jZ(this,t);break}default:}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case E.INITIAL:{BZ(this,t);break}case E.BEFORE_HEAD:case E.IN_HEAD:case E.IN_HEAD_NO_SCRIPT:case E.AFTER_HEAD:{this._err(t,$.misplacedDoctype);break}case E.IN_TABLE_TEXT:{id(this,t);break}default:}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,$.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?lV(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case E.INITIAL:{ad(this,t);break}case E.BEFORE_HTML:{FZ(this,t);break}case E.BEFORE_HEAD:{ZZ(this,t);break}case E.IN_HEAD:{vr(this,t);break}case E.IN_HEAD_NO_SCRIPT:{YZ(this,t);break}case E.AFTER_HEAD:{KZ(this,t);break}case E.IN_BODY:{Zt(this,t);break}case E.IN_TABLE:{Au(this,t);break}case E.IN_TABLE_TEXT:{id(this,t);break}case E.IN_CAPTION:{qq(this,t);break}case E.IN_COLUMN_GROUP:{EE(this,t);break}case E.IN_TABLE_BODY:{Zh(this,t);break}case E.IN_ROW:{qh(this,t);break}case E.IN_CELL:{Gq(this,t);break}case E.IN_SELECT:{lM(this,t);break}case E.IN_SELECT_IN_TABLE:{Jq(this,t);break}case E.IN_TEMPLATE:{Qq(this,t);break}case E.AFTER_BODY:{eV(this,t);break}case E.IN_FRAMESET:{tV(this,t);break}case E.AFTER_FRAMESET:{rV(this,t);break}case E.AFTER_AFTER_BODY:{iV(this,t);break}case E.AFTER_AFTER_FRAMESET:{oV(this,t);break}default:}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?cV(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case E.INITIAL:{ad(this,t);break}case E.BEFORE_HTML:{HZ(this,t);break}case E.BEFORE_HEAD:{qZ(this,t);break}case E.IN_HEAD:{VZ(this,t);break}case E.IN_HEAD_NO_SCRIPT:{GZ(this,t);break}case E.AFTER_HEAD:{JZ(this,t);break}case E.IN_BODY:{Hh(this,t);break}case E.TEXT:{$q(this,t);break}case E.IN_TABLE:{dd(this,t);break}case E.IN_TABLE_TEXT:{id(this,t);break}case E.IN_CAPTION:{Vq(this,t);break}case E.IN_COLUMN_GROUP:{Yq(this,t);break}case E.IN_TABLE_BODY:{_E(this,t);break}case E.IN_ROW:{uM(this,t);break}case E.IN_CELL:{Kq(this,t);break}case E.IN_SELECT:{cM(this,t);break}case E.IN_SELECT_IN_TABLE:{Xq(this,t);break}case E.IN_TEMPLATE:{Wq(this,t);break}case E.AFTER_BODY:{fM(this,t);break}case E.IN_FRAMESET:{nV(this,t);break}case E.AFTER_FRAMESET:{aV(this,t);break}case E.AFTER_AFTER_BODY:{Uh(this,t);break}default:}}onEof(t){switch(this.insertionMode){case E.INITIAL:{ad(this,t);break}case E.BEFORE_HTML:{od(this,t);break}case E.BEFORE_HEAD:{sd(this,t);break}case E.IN_HEAD:{ud(this,t);break}case E.IN_HEAD_NO_SCRIPT:{ld(this,t);break}case E.AFTER_HEAD:{cd(this,t);break}case E.IN_BODY:case E.IN_TABLE:case E.IN_CAPTION:case E.IN_COLUMN_GROUP:case E.IN_TABLE_BODY:case E.IN_ROW:case E.IN_CELL:case E.IN_SELECT:case E.IN_SELECT_IN_TABLE:{aM(this,t);break}case E.TEXT:{Lq(this,t);break}case E.IN_TABLE_TEXT:{id(this,t);break}case E.IN_TEMPLATE:{dM(this,t);break}case E.AFTER_BODY:case E.IN_FRAMESET:case E.AFTER_FRAMESET:case E.AFTER_AFTER_BODY:case E.AFTER_AFTER_FRAMESET:{xE(this,t);break}default:}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===_.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case E.IN_HEAD:case E.IN_HEAD_NO_SCRIPT:case E.AFTER_HEAD:case E.TEXT:case E.IN_COLUMN_GROUP:case E.IN_SELECT:case E.IN_SELECT_IN_TABLE:case E.IN_FRAMESET:case E.AFTER_FRAMESET:{this._insertCharacters(t);break}case E.IN_BODY:case E.IN_CAPTION:case E.IN_CELL:case E.IN_TEMPLATE:case E.AFTER_BODY:case E.AFTER_AFTER_BODY:case E.AFTER_AFTER_FRAMESET:{WR(this,t);break}case E.IN_TABLE:case E.IN_TABLE_BODY:case E.IN_ROW:{yE(this,t);break}case E.IN_TABLE_TEXT:{iM(this,t);break}default:}}};function MZ(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):rM(e,t),n}function DZ(e,t){let n=null,a=e.openElements.stackTop;for(;a>=0;a--){let r=e.openElements.items[a];if(r===t.element)break;e._isSpecialElement(r,e.openElements.tagIDs[a])&&(n=r)}return n||(e.openElements.shortenToLength(Math.max(a,0)),e.activeFormattingElements.removeEntry(t)),n}function $Z(e,t,n){let a=t,r=e.openElements.getCommonAncestor(t);for(let i=0,o=r;o!==n;i++,o=r){r=e.openElements.getCommonAncestor(o);let s=e.activeFormattingElements.getElementEntry(o),u=s&&i>=NZ;!s||u?(u&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(o)):(o=LZ(e,s),a===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(a),e.treeAdapter.appendChild(o,a),a=o)}return a}function LZ(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),a=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,a),t.element=a,a}function PZ(e,t,n){let a=e.treeAdapter.getTagName(t),r=Ei(a);if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{let i=e.treeAdapter.getNamespaceURI(t);r===d.TEMPLATE&&i===j.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function zZ(e,t,n){let a=e.treeAdapter.getNamespaceURI(n.element),{token:r}=n,i=e.treeAdapter.createElement(r.tagName,a,r.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,r),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,r.tagID)}function TE(e,t){for(let n=0;n<OZ;n++){let a=MZ(e,t);if(!a)break;let r=DZ(e,a);if(!r)break;e.activeFormattingElements.bookmark=a;let i=$Z(e,r,a.element),o=e.openElements.getCommonAncestor(a.element);e.treeAdapter.detachNode(i),o&&PZ(e,o,i),zZ(e,r,a)}}function bE(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function UZ(e,t){e._appendCommentNode(t,e.openElements.items[0])}function jZ(e,t){e._appendCommentNode(t,e.document)}function xE(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let a=e.openElements.stackTop;a>=n;a--)e._setEndLocation(e.openElements.items[a],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let a=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(a);if(r&&!r.endTag&&(e._setEndLocation(a,t),e.openElements.stackTop>=1)){let i=e.openElements.items[1],o=e.treeAdapter.getNodeSourceCodeLocation(i);o&&!o.endTag&&e._setEndLocation(i,t)}}}}function BZ(e,t){e._setDocumentType(t);let n=t.forceQuirks?Ht.QUIRKS:HR(t);FR(t)||e._err(t,$.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=E.BEFORE_HTML}function ad(e,t){e._err(t,$.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Ht.QUIRKS),e.insertionMode=E.BEFORE_HTML,e._processToken(t)}function FZ(e,t){t.tagID===d.HTML?(e._insertElement(t,j.HTML),e.insertionMode=E.BEFORE_HEAD):od(e,t)}function HZ(e,t){let n=t.tagID;(n===d.HTML||n===d.HEAD||n===d.BODY||n===d.BR)&&od(e,t)}function od(e,t){e._insertFakeRootElement(),e.insertionMode=E.BEFORE_HEAD,e._processToken(t)}function ZZ(e,t){switch(t.tagID){case d.HTML:{Zt(e,t);break}case d.HEAD:{e._insertElement(t,j.HTML),e.headElement=e.openElements.current,e.insertionMode=E.IN_HEAD;break}default:sd(e,t)}}function qZ(e,t){let n=t.tagID;n===d.HEAD||n===d.BODY||n===d.HTML||n===d.BR?sd(e,t):e._err(t,$.endTagWithoutMatchingOpenElement)}function sd(e,t){e._insertFakeElement(M.HEAD,d.HEAD),e.headElement=e.openElements.current,e.insertionMode=E.IN_HEAD,e._processToken(t)}function vr(e,t){switch(t.tagID){case d.HTML:{Zt(e,t);break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:{e._appendElement(t,j.HTML),t.ackSelfClosing=!0;break}case d.TITLE:{e._switchToTextParsing(t,nt.RCDATA);break}case d.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,nt.RAWTEXT):(e._insertElement(t,j.HTML),e.insertionMode=E.IN_HEAD_NO_SCRIPT);break}case d.NOFRAMES:case d.STYLE:{e._switchToTextParsing(t,nt.RAWTEXT);break}case d.SCRIPT:{e._switchToTextParsing(t,nt.SCRIPT_DATA);break}case d.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=E.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(E.IN_TEMPLATE);break}case d.HEAD:{e._err(t,$.misplacedStartTagForHeadElement);break}default:ud(e,t)}}function VZ(e,t){switch(t.tagID){case d.HEAD:{e.openElements.pop(),e.insertionMode=E.AFTER_HEAD;break}case d.BODY:case d.BR:case d.HTML:{ud(e,t);break}case d.TEMPLATE:{Io(e,t);break}default:e._err(t,$.endTagWithoutMatchingOpenElement)}}function Io(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==d.TEMPLATE&&e._err(t,$.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,$.endTagWithoutMatchingOpenElement)}function ud(e,t){e.openElements.pop(),e.insertionMode=E.AFTER_HEAD,e._processToken(t)}function YZ(e,t){switch(t.tagID){case d.HTML:{Zt(e,t);break}case d.BASEFONT:case d.BGSOUND:case d.HEAD:case d.LINK:case d.META:case d.NOFRAMES:case d.STYLE:{vr(e,t);break}case d.NOSCRIPT:{e._err(t,$.nestedNoscriptInHead);break}default:ld(e,t)}}function GZ(e,t){switch(t.tagID){case d.NOSCRIPT:{e.openElements.pop(),e.insertionMode=E.IN_HEAD;break}case d.BR:{ld(e,t);break}default:e._err(t,$.endTagWithoutMatchingOpenElement)}}function ld(e,t){let n=t.type===Ae.EOF?$.openElementsLeftAfterEof:$.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=E.IN_HEAD,e._processToken(t)}function KZ(e,t){switch(t.tagID){case d.HTML:{Zt(e,t);break}case d.BODY:{e._insertElement(t,j.HTML),e.framesetOk=!1,e.insertionMode=E.IN_BODY;break}case d.FRAMESET:{e._insertElement(t,j.HTML),e.insertionMode=E.IN_FRAMESET;break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{e._err(t,$.abandonedHeadElementChild),e.openElements.push(e.headElement,d.HEAD),vr(e,t),e.openElements.remove(e.headElement);break}case d.HEAD:{e._err(t,$.misplacedStartTagForHeadElement);break}default:cd(e,t)}}function JZ(e,t){switch(t.tagID){case d.BODY:case d.HTML:case d.BR:{cd(e,t);break}case d.TEMPLATE:{Io(e,t);break}default:e._err(t,$.endTagWithoutMatchingOpenElement)}}function cd(e,t){e._insertFakeElement(M.BODY,d.BODY),e.insertionMode=E.IN_BODY,Fh(e,t)}function Fh(e,t){switch(t.type){case Ae.CHARACTER:{eM(e,t);break}case Ae.WHITESPACE_CHARACTER:{WR(e,t);break}case Ae.COMMENT:{bE(e,t);break}case Ae.START_TAG:{Zt(e,t);break}case Ae.END_TAG:{Hh(e,t);break}case Ae.EOF:{aM(e,t);break}default:}}function WR(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function eM(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function XZ(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function QZ(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function WZ(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,j.HTML),e.insertionMode=E.IN_FRAMESET)}function eq(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,j.HTML)}function tq(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&Iu.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,j.HTML)}function nq(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,j.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function rq(e,t){let n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,j.HTML),n||(e.formElement=e.openElements.current))}function aq(e,t){e.framesetOk=!1;let n=t.tagID;for(let a=e.openElements.stackTop;a>=0;a--){let r=e.openElements.tagIDs[a];if(n===d.LI&&r===d.LI||(n===d.DD||n===d.DT)&&(r===d.DD||r===d.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==d.ADDRESS&&r!==d.DIV&&r!==d.P&&e._isSpecialElement(e.openElements.items[a],r))break}e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,j.HTML)}function iq(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,j.HTML),e.tokenizer.state=nt.PLAINTEXT}function oq(e,t){e.openElements.hasInScope(d.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,j.HTML),e.framesetOk=!1}function sq(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(M.A);n&&(TE(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,j.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function uq(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,j.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function lq(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(d.NOBR)&&(TE(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,j.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function cq(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,j.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function dq(e,t){e.treeAdapter.getDocumentMode(e.document)!==Ht.QUIRKS&&e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,j.HTML),e.framesetOk=!1,e.insertionMode=E.IN_TABLE}function tM(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,j.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function nM(e){let t=ed(e,Pr.TYPE);return t!=null&&t.toLowerCase()===CZ}function fq(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,j.HTML),nM(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function pq(e,t){e._appendElement(t,j.HTML),t.ackSelfClosing=!0}function mq(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._appendElement(t,j.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function hq(e,t){t.tagName=M.IMG,t.tagID=d.IMG,tM(e,t)}function gq(e,t){e._insertElement(t,j.HTML),e.skipNextNewLine=!0,e.tokenizer.state=nt.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=E.TEXT}function vq(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,nt.RAWTEXT)}function yq(e,t){e.framesetOk=!1,e._switchToTextParsing(t,nt.RAWTEXT)}function JR(e,t){e._switchToTextParsing(t,nt.RAWTEXT)}function bq(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,j.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===E.IN_TABLE||e.insertionMode===E.IN_CAPTION||e.insertionMode===E.IN_TABLE_BODY||e.insertionMode===E.IN_ROW||e.insertionMode===E.IN_CELL?E.IN_SELECT_IN_TABLE:E.IN_SELECT}function _q(e,t){e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,j.HTML)}function Tq(e,t){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,j.HTML)}function xq(e,t){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(d.RTC),e._insertElement(t,j.HTML)}function Eq(e,t){e._reconstructActiveFormattingElements(),gE(t),zh(t),t.selfClosing?e._appendElement(t,j.MATHML):e._insertElement(t,j.MATHML),t.ackSelfClosing=!0}function Sq(e,t){e._reconstructActiveFormattingElements(),vE(t),zh(t),t.selfClosing?e._appendElement(t,j.SVG):e._insertElement(t,j.SVG),t.ackSelfClosing=!0}function XR(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,j.HTML)}function Zt(e,t){switch(t.tagID){case d.I:case d.S:case d.B:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.SMALL:case d.STRIKE:case d.STRONG:{uq(e,t);break}case d.A:{sq(e,t);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{tq(e,t);break}case d.P:case d.DL:case d.OL:case d.UL:case d.DIV:case d.DIR:case d.NAV:case d.MAIN:case d.MENU:case d.ASIDE:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.DETAILS:case d.ADDRESS:case d.ARTICLE:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{eq(e,t);break}case d.LI:case d.DD:case d.DT:{aq(e,t);break}case d.BR:case d.IMG:case d.WBR:case d.AREA:case d.EMBED:case d.KEYGEN:{tM(e,t);break}case d.HR:{mq(e,t);break}case d.RB:case d.RTC:{Tq(e,t);break}case d.RT:case d.RP:{xq(e,t);break}case d.PRE:case d.LISTING:{nq(e,t);break}case d.XMP:{vq(e,t);break}case d.SVG:{Sq(e,t);break}case d.HTML:{XZ(e,t);break}case d.BASE:case d.LINK:case d.META:case d.STYLE:case d.TITLE:case d.SCRIPT:case d.BGSOUND:case d.BASEFONT:case d.TEMPLATE:{vr(e,t);break}case d.BODY:{QZ(e,t);break}case d.FORM:{rq(e,t);break}case d.NOBR:{lq(e,t);break}case d.MATH:{Eq(e,t);break}case d.TABLE:{dq(e,t);break}case d.INPUT:{fq(e,t);break}case d.PARAM:case d.TRACK:case d.SOURCE:{pq(e,t);break}case d.IMAGE:{hq(e,t);break}case d.BUTTON:{oq(e,t);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{cq(e,t);break}case d.IFRAME:{yq(e,t);break}case d.SELECT:{bq(e,t);break}case d.OPTION:case d.OPTGROUP:{_q(e,t);break}case d.NOEMBED:case d.NOFRAMES:{JR(e,t);break}case d.FRAMESET:{WZ(e,t);break}case d.TEXTAREA:{gq(e,t);break}case d.NOSCRIPT:{e.options.scriptingEnabled?JR(e,t):XR(e,t);break}case d.PLAINTEXT:{iq(e,t);break}case d.COL:case d.TH:case d.TD:case d.TR:case d.HEAD:case d.FRAME:case d.TBODY:case d.TFOOT:case d.THEAD:case d.CAPTION:case d.COLGROUP:break;default:XR(e,t)}}function wq(e,t){if(e.openElements.hasInScope(d.BODY)&&(e.insertionMode=E.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function Iq(e,t){e.openElements.hasInScope(d.BODY)&&(e.insertionMode=E.AFTER_BODY,fM(e,t))}function Aq(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function kq(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(d.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(d.FORM):n&&e.openElements.remove(n))}function Cq(e){e.openElements.hasInButtonScope(d.P)||e._insertFakeElement(M.P,d.P),e._closePElement()}function Oq(e){e.openElements.hasInListItemScope(d.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(d.LI),e.openElements.popUntilTagNamePopped(d.LI))}function Nq(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function Rq(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function Mq(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function Dq(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(M.BR,d.BR),e.openElements.pop(),e.framesetOk=!1}function rM(e,t){let n=t.tagName,a=t.tagID;for(let r=e.openElements.stackTop;r>0;r--){let i=e.openElements.items[r],o=e.openElements.tagIDs[r];if(a===o&&(a!==d.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.stackTop>=r&&e.openElements.shortenToLength(r);break}if(e._isSpecialElement(i,o))break}}function Hh(e,t){switch(t.tagID){case d.A:case d.B:case d.I:case d.S:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.NOBR:case d.SMALL:case d.STRIKE:case d.STRONG:{TE(e,t);break}case d.P:{Cq(e);break}case d.DL:case d.UL:case d.OL:case d.DIR:case d.DIV:case d.NAV:case d.PRE:case d.MAIN:case d.MENU:case d.ASIDE:case d.BUTTON:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.ADDRESS:case d.ARTICLE:case d.DETAILS:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.LISTING:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{Aq(e,t);break}case d.LI:{Oq(e);break}case d.DD:case d.DT:{Nq(e,t);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{Rq(e);break}case d.BR:{Dq(e);break}case d.BODY:{wq(e,t);break}case d.HTML:{Iq(e,t);break}case d.FORM:{kq(e);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{Mq(e,t);break}case d.TEMPLATE:{Io(e,t);break}default:rM(e,t)}}function aM(e,t){e.tmplInsertionModeStack.length>0?dM(e,t):xE(e,t)}function $q(e,t){var n;t.tagID===d.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Lq(e,t){e._err(t,$.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function yE(e,t){if(e.openElements.currentTagId!==void 0&&QR.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=E.IN_TABLE_TEXT,t.type){case Ae.CHARACTER:{oM(e,t);break}case Ae.WHITESPACE_CHARACTER:{iM(e,t);break}}else fd(e,t)}function Pq(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,j.HTML),e.insertionMode=E.IN_CAPTION}function zq(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,j.HTML),e.insertionMode=E.IN_COLUMN_GROUP}function Uq(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(M.COLGROUP,d.COLGROUP),e.insertionMode=E.IN_COLUMN_GROUP,EE(e,t)}function jq(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,j.HTML),e.insertionMode=E.IN_TABLE_BODY}function Bq(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(M.TBODY,d.TBODY),e.insertionMode=E.IN_TABLE_BODY,Zh(e,t)}function Fq(e,t){e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function Hq(e,t){nM(t)?e._appendElement(t,j.HTML):fd(e,t),t.ackSelfClosing=!0}function Zq(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,j.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Au(e,t){switch(t.tagID){case d.TD:case d.TH:case d.TR:{Bq(e,t);break}case d.STYLE:case d.SCRIPT:case d.TEMPLATE:{vr(e,t);break}case d.COL:{Uq(e,t);break}case d.FORM:{Zq(e,t);break}case d.TABLE:{Fq(e,t);break}case d.TBODY:case d.TFOOT:case d.THEAD:{jq(e,t);break}case d.INPUT:{Hq(e,t);break}case d.CAPTION:{Pq(e,t);break}case d.COLGROUP:{zq(e,t);break}default:fd(e,t)}}function dd(e,t){switch(t.tagID){case d.TABLE:{e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode());break}case d.TEMPLATE:{Io(e,t);break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:fd(e,t)}}function fd(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Fh(e,t),e.fosterParentingEnabled=n}function iM(e,t){e.pendingCharacterTokens.push(t)}function oM(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function id(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)fd(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}var sM=new Set([d.CAPTION,d.COL,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]);function qq(e,t){let n=t.tagID;sM.has(n)?e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=E.IN_TABLE,Au(e,t)):Zt(e,t)}function Vq(e,t){let n=t.tagID;switch(n){case d.CAPTION:case d.TABLE:{e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=E.IN_TABLE,n===d.TABLE&&dd(e,t));break}case d.BODY:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:Hh(e,t)}}function EE(e,t){switch(t.tagID){case d.HTML:{Zt(e,t);break}case d.COL:{e._appendElement(t,j.HTML),t.ackSelfClosing=!0;break}case d.TEMPLATE:{vr(e,t);break}default:jh(e,t)}}function Yq(e,t){switch(t.tagID){case d.COLGROUP:{e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=E.IN_TABLE);break}case d.TEMPLATE:{Io(e,t);break}case d.COL:break;default:jh(e,t)}}function jh(e,t){e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=E.IN_TABLE,e._processToken(t))}function Zh(e,t){switch(t.tagID){case d.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,j.HTML),e.insertionMode=E.IN_ROW;break}case d.TH:case d.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(M.TR,d.TR),e.insertionMode=E.IN_ROW,qh(e,t);break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=E.IN_TABLE,Au(e,t));break}default:Au(e,t)}}function _E(e,t){let n=t.tagID;switch(t.tagID){case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=E.IN_TABLE);break}case d.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=E.IN_TABLE,dd(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:case d.TR:break;default:dd(e,t)}}function qh(e,t){switch(t.tagID){case d.TH:case d.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,j.HTML),e.insertionMode=E.IN_CELL,e.activeFormattingElements.insertMarker();break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=E.IN_TABLE_BODY,Zh(e,t));break}default:Au(e,t)}}function uM(e,t){switch(t.tagID){case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=E.IN_TABLE_BODY);break}case d.TABLE:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=E.IN_TABLE_BODY,_E(e,t));break}case d.TBODY:case d.TFOOT:case d.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(d.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=E.IN_TABLE_BODY,_E(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:break;default:dd(e,t)}}function Gq(e,t){let n=t.tagID;sM.has(n)?(e.openElements.hasInTableScope(d.TD)||e.openElements.hasInTableScope(d.TH))&&(e._closeTableCell(),qh(e,t)):Zt(e,t)}function Kq(e,t){let n=t.tagID;switch(n){case d.TD:case d.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=E.IN_ROW);break}case d.TABLE:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),uM(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:break;default:Hh(e,t)}}function lM(e,t){switch(t.tagID){case d.HTML:{Zt(e,t);break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._insertElement(t,j.HTML);break}case d.OPTGROUP:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._insertElement(t,j.HTML);break}case d.HR:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._appendElement(t,j.HTML),t.ackSelfClosing=!0;break}case d.INPUT:case d.KEYGEN:case d.TEXTAREA:case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),t.tagID!==d.SELECT&&e._processStartTag(t));break}case d.SCRIPT:case d.TEMPLATE:{vr(e,t);break}default:}}function cM(e,t){switch(t.tagID){case d.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===d.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===d.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop();break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop();break}case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode());break}case d.TEMPLATE:{Io(e,t);break}default:}}function Jq(e,t){let n=t.tagID;n===d.CAPTION||n===d.TABLE||n===d.TBODY||n===d.TFOOT||n===d.THEAD||n===d.TR||n===d.TD||n===d.TH?(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e._processStartTag(t)):lM(e,t)}function Xq(e,t){let n=t.tagID;n===d.CAPTION||n===d.TABLE||n===d.TBODY||n===d.TFOOT||n===d.THEAD||n===d.TR||n===d.TD||n===d.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e.onEndTag(t)):cM(e,t)}function Qq(e,t){switch(t.tagID){case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{vr(e,t);break}case d.CAPTION:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.tmplInsertionModeStack[0]=E.IN_TABLE,e.insertionMode=E.IN_TABLE,Au(e,t);break}case d.COL:{e.tmplInsertionModeStack[0]=E.IN_COLUMN_GROUP,e.insertionMode=E.IN_COLUMN_GROUP,EE(e,t);break}case d.TR:{e.tmplInsertionModeStack[0]=E.IN_TABLE_BODY,e.insertionMode=E.IN_TABLE_BODY,Zh(e,t);break}case d.TD:case d.TH:{e.tmplInsertionModeStack[0]=E.IN_ROW,e.insertionMode=E.IN_ROW,qh(e,t);break}default:e.tmplInsertionModeStack[0]=E.IN_BODY,e.insertionMode=E.IN_BODY,Zt(e,t)}}function Wq(e,t){t.tagID===d.TEMPLATE&&Io(e,t)}function dM(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):xE(e,t)}function eV(e,t){t.tagID===d.HTML?Zt(e,t):Bh(e,t)}function fM(e,t){var n;if(t.tagID===d.HTML){if(e.fragmentContext||(e.insertionMode=E.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===d.HTML){e._setEndLocation(e.openElements.items[0],t);let a=e.openElements.items[1];a&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(a))===null||n===void 0)&&n.endTag)&&e._setEndLocation(a,t)}}else Bh(e,t)}function Bh(e,t){e.insertionMode=E.IN_BODY,Fh(e,t)}function tV(e,t){switch(t.tagID){case d.HTML:{Zt(e,t);break}case d.FRAMESET:{e._insertElement(t,j.HTML);break}case d.FRAME:{e._appendElement(t,j.HTML),t.ackSelfClosing=!0;break}case d.NOFRAMES:{vr(e,t);break}default:}}function nV(e,t){t.tagID===d.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==d.FRAMESET&&(e.insertionMode=E.AFTER_FRAMESET))}function rV(e,t){switch(t.tagID){case d.HTML:{Zt(e,t);break}case d.NOFRAMES:{vr(e,t);break}default:}}function aV(e,t){t.tagID===d.HTML&&(e.insertionMode=E.AFTER_AFTER_FRAMESET)}function iV(e,t){t.tagID===d.HTML?Zt(e,t):Uh(e,t)}function Uh(e,t){e.insertionMode=E.IN_BODY,Fh(e,t)}function oV(e,t){switch(t.tagID){case d.HTML:{Zt(e,t);break}case d.NOFRAMES:{vr(e,t);break}default:}}function sV(e,t){t.chars=Ye,e._insertCharacters(t)}function uV(e,t){e._insertCharacters(t),e.framesetOk=!1}function pM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==j.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function lV(e,t){if(qR(t))pM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),a=e.treeAdapter.getNamespaceURI(n);a===j.MATHML?gE(t):a===j.SVG&&(VR(t),vE(t)),zh(t),t.selfClosing?e._appendElement(t,a):e._insertElement(t,a),t.ackSelfClosing=!0}}function cV(e,t){if(t.tagID===d.P||t.tagID===d.BR){pM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let a=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(a)===j.HTML){e._endTagOutsideForeignContent(t);break}let r=e.treeAdapter.getTagName(a);if(r.toLowerCase()===t.tagName){t.tagName=r,e.openElements.shortenToLength(n);break}}}var ile=String.prototype.codePointAt==null?(e,t)=>(e.charCodeAt(t)&64512)===55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t):(e,t)=>e.codePointAt(t);var fle=new Set([M.AREA,M.BASE,M.BASEFONT,M.BGSOUND,M.BR,M.COL,M.EMBED,M.FRAME,M.HR,M.IMG,M.INPUT,M.KEYGEN,M.LINK,M.META,M.PARAM,M.SOURCE,M.TRACK,M.WBR]);var dV=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,fV=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),mM={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Vh(e,t){let n=xV(e),a=Ah("type",{handlers:{root:pV,element:mV,text:hV,comment:gM,doctype:gV,raw:yV},unknown:bV}),r={parser:n?new wo(mM):wo.getFragmentParser(void 0,mM),handle(s){a(s,r)},stitches:!1,options:t||{}};a(e,r),ku(r,yn());let i=n?r.parser.document:r.parser.getFragment(),o=uE(i,{file:r.options.file});return r.stitches&&xa(o,"comment",function(s,u,l){let c=s;if(c.value.stitch&&l&&u!==void 0){let f=l.children;return f[u]=c.value.stitch,u}}),o.type==="root"&&o.children.length===1&&o.children[0].type===e.type?o.children[0]:o}function hM(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function pV(e,t){hM(e.children,t)}function mV(e,t){_V(e,t),hM(e.children,t),TV(e,t)}function hV(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);let n={type:Ti.TokenType.CHARACTER,chars:e.value,location:pd(e)};ku(t,yn(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function gV(e,t){let n={type:Ti.TokenType.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:pd(e)};ku(t,yn(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function vV(e,t){t.stitches=!0;let n=EV(e);if("children"in e&&"children"in n){let a=Vh({type:"root",children:e.children},t.options);n.children=a.children}gM({type:"comment",value:{stitch:n}},t)}function gM(e,t){let n=e.value,a={type:Ti.TokenType.COMMENT,data:n,location:pd(e)};ku(t,yn(e)),t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken)}function yV(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,vM(t,yn(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(dV,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function bV(e,t){let n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))vV(n,t);else{let a="";throw fV.has(n.type)&&(a=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+a)}}function ku(e,t){vM(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=nt.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function vM(e,t){if(t&&t.offset!==void 0){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function _V(e,t){let n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===nt.PLAINTEXT)return;ku(t,yn(e));let a=t.parser.openElements.current,r="namespaceURI"in a?a.namespaceURI:$r.html;r===$r.html&&n==="svg"&&(r=$r.svg);let i=cE({...e,children:[]},{space:r===$r.svg?"svg":"html"}),o={type:Ti.TokenType.START_TAG,tagName:n,tagID:td.getTagID(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:pd(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function TV(e,t){let n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&wR.includes(n)||t.parser.tokenizer.state===nt.PLAINTEXT)return;ku(t,ho(e));let a={type:Ti.TokenType.END_TAG,tagName:n,tagID:td.getTagID(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:pd(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===nt.RCDATA||t.parser.tokenizer.state===nt.RAWTEXT||t.parser.tokenizer.state===nt.SCRIPT_DATA)&&(t.parser.tokenizer.state=nt.DATA)}function xV(e){let t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function pd(e){let t=yn(e)||{line:void 0,column:void 0,offset:void 0},n=ho(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function EV(e){return"children"in e?pr({...e,children:[]}):pr(e)}function md(e){return function(t,n){return Vh(t,{...e,file:n})}}var Ao=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],SE={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...Ao,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...Ao],h2:[["className","sr-only"]],img:[...Ao,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...Ao,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...Ao],table:[...Ao],ul:[...Ao,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]};var wi={}.hasOwnProperty;function wE(e,t){let n={type:"root",children:[]},a={schema:t?{...SE,...t}:SE,stack:[]},r=_M(a,e);return r&&(Array.isArray(r)?r.length===1?n=r[0]:n.children=r:n=r),n}function _M(e,t){if(t&&typeof t=="object"){let n=t;switch(typeof n.type=="string"?n.type:""){case"comment":return SV(e,n);case"doctype":return wV(e,n);case"element":return IV(e,n);case"root":return AV(e,n);case"text":return kV(e,n);default:}}}function SV(e,t){if(e.schema.allowComments){let n=typeof t.value=="string"?t.value:"",a=n.indexOf("-->"),i={type:"comment",value:a<0?n:n.slice(0,a)};return hd(i,t),i}}function wV(e,t){if(e.schema.allowDoctypes){let n={type:"doctype"};return hd(n,t),n}}function IV(e,t){let n=typeof t.tagName=="string"?t.tagName:"";e.stack.push(n);let a=TM(e,t.children),r=CV(e,t.properties);e.stack.pop();let i=!1;if(n&&n!=="*"&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(i=!0,e.schema.ancestors&&wi.call(e.schema.ancestors,n))){let s=e.schema.ancestors[n],u=-1;for(i=!1;++u<s.length;)e.stack.includes(s[u])&&(i=!0)}if(!i)return e.schema.strip&&!e.schema.strip.includes(n)?a:void 0;let o={type:"element",tagName:n,properties:r,children:a};return hd(o,t),o}function AV(e,t){let a={type:"root",children:TM(e,t.children)};return hd(a,t),a}function kV(e,t){let a={type:"text",value:typeof t.value=="string"?t.value:""};return hd(a,t),a}function TM(e,t){let n=[];if(Array.isArray(t)){let a=t,r=-1;for(;++r<a.length;){let i=_M(e,a[r]);i&&(Array.isArray(i)?n.push(...i):n.push(i))}}return n}function CV(e,t){let n=e.stack[e.stack.length-1],a=e.schema.attributes,r=e.schema.required,i=a&&wi.call(a,n)?a[n]:void 0,o=a&&wi.call(a,"*")?a["*"]:void 0,s=t&&typeof t=="object"?t:{},u={},l;for(l in s)if(wi.call(s,l)){let c=s[l],f=yM(e,bM(i,l),l,c);f==null&&(f=yM(e,bM(o,l),l,c)),f!=null&&(u[l]=f)}if(r&&wi.call(r,n)){let c=r[n];for(l in c)wi.call(c,l)&&!wi.call(u,l)&&(u[l]=c[l])}return u}function yM(e,t,n,a){return t?Array.isArray(a)?OV(e,t,n,a):xM(e,t,n,a):void 0}function OV(e,t,n,a){let r=-1,i=[];for(;++r<a.length;){let o=xM(e,t,n,a[r]);(typeof o=="number"||typeof o=="string")&&i.push(o)}return i}function xM(e,t,n,a){if(!(typeof a!="boolean"&&typeof a!="number"&&typeof a!="string")&&NV(e,n,a)){if(typeof t=="object"&&t.length>1){let r=!1,i=0;for(;++i<t.length;){let o=t[i];if(o&&typeof o=="object"&&"flags"in o){if(o.test(String(a))){r=!0;break}}else if(o===a){r=!0;break}}if(!r)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+a:a}}function NV(e,t,n){let a=e.schema.protocols&&wi.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!a||a.length===0)return!0;let r=String(n),i=r.indexOf(":"),o=r.indexOf("?"),s=r.indexOf("#"),u=r.indexOf("/");if(i<0||u>-1&&i>u||o>-1&&i>o||s>-1&&i>s)return!0;let l=-1;for(;++l<a.length;){let c=a[l];if(i===c.length&&r.slice(0,c.length)===c)return!0}return!1}function hd(e,t){let n=Fc(t);t.data&&(e.data=pr(t.data)),n&&(e.position=n)}function bM(e,t){let n,a=-1;if(e)for(;++a<e.length;){let r=e[a],i=typeof r=="string"?r:r[0];if(i===t)return r;i==="data*"&&(n=r)}if(t.length>4&&t.slice(0,4).toLowerCase()==="data")return n}function gd(e){return function(t){return wE(t,e)}}function IE(e,t){let n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let a=0,r=n.indexOf(t);for(;r!==-1;)a++,r=n.indexOf(t,r+t.length);return a}function AE(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function kE(e,t,n){let r=_i((n||{}).ignore||[]),i=RV(t),o=-1;for(;++o<i.length;)Xc(e,"text",s);function s(l,c){let f=-1,m;for(;++f<c.length;){let p=c[f],b=m?m.children:void 0;if(r(p,b?b.indexOf(p):void 0,m))return;m=p}if(m)return u(l,c)}function u(l,c){let f=c[c.length-1],m=i[o][0],p=i[o][1],b=0,C=f.children.indexOf(l),v=!1,y=[];m.lastIndex=0;let T=m.exec(l.value);for(;T;){let A=T.index,O={index:T.index,input:T.input,stack:[...c,l]},g=p(...T,O);if(typeof g=="string"&&(g=g.length>0?{type:"text",value:g}:void 0),g===!1?m.lastIndex=A+1:(b!==A&&y.push({type:"text",value:l.value.slice(b,A)}),Array.isArray(g)?y.push(...g):g&&y.push(g),b=A+T[0].length,v=!0),!m.global)break;T=m.exec(l.value)}return v?(b<l.value.length&&y.push({type:"text",value:l.value.slice(b)}),f.children.splice(C,1,...y)):y=[l],C+y.length}}function RV(e){let t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],a=-1;for(;++a<n.length;){let r=n[a];t.push([MV(r[0]),DV(r[1])])}return t}function MV(e){return typeof e=="string"?new RegExp(AE(e),"g"):e}function DV(e){return typeof e=="function"?e:function(){return e}}var CE="phrasing",OE=["autolink","link","image","label"];function RE(){return{transforms:[jV],enter:{literalAutolink:$V,literalAutolinkEmail:NE,literalAutolinkHttp:NE,literalAutolinkWww:NE},exit:{literalAutolink:UV,literalAutolinkEmail:zV,literalAutolinkHttp:LV,literalAutolinkWww:PV}}}function ME(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:CE,notInConstruct:OE},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:CE,notInConstruct:OE},{character:":",before:"[ps]",after:"\\/",inConstruct:CE,notInConstruct:OE}]}}function $V(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function NE(e){this.config.enter.autolinkProtocol.call(this,e)}function LV(e){this.config.exit.autolinkProtocol.call(this,e)}function PV(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function zV(e){this.config.exit.autolinkEmail.call(this,e)}function UV(e){this.exit(e)}function jV(e){kE(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,BV],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,FV]],{ignore:["link","linkReference"]})}function BV(e,t,n,a,r){let i="";if(!EM(r)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!HV(n)))return!1;let o=ZV(n+a);if(!o[0])return!1;let s={type:"link",title:null,url:i+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[s,{type:"text",value:o[1]}]:s}function FV(e,t,n,a){return!EM(a,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function HV(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function ZV(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),r=IE(e,"("),i=IE(e,")");for(;a!==-1&&r>i;)e+=n.slice(0,a+1),n=n.slice(a+1),a=n.indexOf(")"),i++;return[e,n]}function EM(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||Mr(n)||yo(n))&&(!t||n!==47)}SM.peek=WV;function qV(){this.buffer()}function VV(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function YV(){this.buffer()}function GV(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function KV(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Bt(this.sliceSerialize(e)).toLowerCase(),n.label=t}function JV(e){this.exit(e)}function XV(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Bt(this.sliceSerialize(e)).toLowerCase(),n.label=t}function QV(e){this.exit(e)}function WV(){return"["}function SM(e,t,n,a){let r=n.createTracker(a),i=r.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=r.move(n.safe(n.associationId(e),{after:"]",before:i})),s(),o(),i+=r.move("]"),i}function DE(){return{enter:{gfmFootnoteCallString:qV,gfmFootnoteCall:VV,gfmFootnoteDefinitionLabelString:YV,gfmFootnoteDefinition:GV},exit:{gfmFootnoteCallString:KV,gfmFootnoteCall:JV,gfmFootnoteDefinitionLabelString:XV,gfmFootnoteDefinition:QV}}}function $E(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:SM},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(a,r,i,o){let s=i.createTracker(o),u=s.move("[^"),l=i.enter("footnoteDefinition"),c=i.enter("label");return u+=s.move(i.safe(i.associationId(a),{before:u,after:"]"})),c(),u+=s.move("]:"),a.children&&a.children.length>0&&(s.shift(4),u+=s.move((t?`
107
+ `:" ")+i.indentLines(i.containerFlow(a,s.current()),t?wM:eY))),l(),u}}function eY(e,t,n){return t===0?e:wM(e,t,n)}function wM(e,t,n){return(n?"":" ")+e}var tY=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];IM.peek=aY;function LE(){return{canContainEols:["delete"],enter:{strikethrough:nY},exit:{strikethrough:rY}}}function PE(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:tY}],handlers:{delete:IM}}}function nY(e){this.enter({type:"delete",children:[]},e)}function rY(e){this.exit(e)}function IM(e,t,n,a){let r=n.createTracker(a),i=n.enter("strikethrough"),o=r.move("~~");return o+=n.containerPhrasing(e,{...r.current(),before:o,after:"~"}),o+=r.move("~~"),i(),o}function aY(){return"~"}function iY(e){return e.length}function kM(e,t){let n=t||{},a=(n.align||[]).concat(),r=n.stringLength||iY,i=[],o=[],s=[],u=[],l=0,c=-1;for(;++c<e.length;){let S=[],C=[],v=-1;for(e[c].length>l&&(l=e[c].length);++v<e[c].length;){let y=oY(e[c][v]);if(n.alignDelimiters!==!1){let T=r(y);C[v]=T,(u[v]===void 0||T>u[v])&&(u[v]=T)}S.push(y)}o[c]=S,s[c]=C}let f=-1;if(typeof a=="object"&&"length"in a)for(;++f<l;)i[f]=AM(a[f]);else{let S=AM(a);for(;++f<l;)i[f]=S}f=-1;let m=[],p=[];for(;++f<l;){let S=i[f],C="",v="";S===99?(C=":",v=":"):S===108?C=":":S===114&&(v=":");let y=n.alignDelimiters===!1?1:Math.max(1,u[f]-C.length-v.length),T=C+"-".repeat(y)+v;n.alignDelimiters!==!1&&(y=C.length+y+v.length,y>u[f]&&(u[f]=y),p[f]=y),m[f]=T}o.splice(1,0,m),s.splice(1,0,p),c=-1;let b=[];for(;++c<o.length;){let S=o[c],C=s[c];f=-1;let v=[];for(;++f<l;){let y=S[f]||"",T="",A="";if(n.alignDelimiters!==!1){let O=u[f]-(C[f]||0),g=i[f];g===114?T=" ".repeat(O):g===99?O%2?(T=" ".repeat(O/2+.5),A=" ".repeat(O/2-.5)):(T=" ".repeat(O/2),A=T):A=" ".repeat(O)}n.delimiterStart!==!1&&!f&&v.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&y==="")&&(n.delimiterStart!==!1||f)&&v.push(" "),n.alignDelimiters!==!1&&v.push(T),v.push(y),n.alignDelimiters!==!1&&v.push(A),n.padding!==!1&&v.push(" "),(n.delimiterEnd!==!1||f!==l-1)&&v.push("|")}b.push(n.delimiterEnd===!1?v.join("").replace(/ +$/,""):v.join(""))}return b.join(`
108
+ `)}function oY(e){return e==null?"":String(e)}function AM(e){let t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function CM(e,t,n,a){let r=n.enter("blockquote"),i=n.createTracker(a);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),sY);return r(),o}function sY(e,t,n){return">"+(n?"":" ")+e}function NM(e,t){return OM(e,t.inConstruct,!0)&&!OM(e,t.notInConstruct,!1)}function OM(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let a=-1;for(;++a<t.length;)if(e.includes(t[a]))return!0;return!1}function zE(e,t,n,a){let r=-1;for(;++r<n.unsafe.length;)if(n.unsafe[r].character===`
109
+ `&&NM(n.stack,n.unsafe[r]))return/[ \t]/.test(a.before)?"":" ";return`\\
110
+ `}function RM(e,t){let n=String(e),a=n.indexOf(t),r=a,i=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;a!==-1;)a===r?++i>o&&(o=i):i=1,r=a+t.length,a=n.indexOf(t,r);return o}function MM(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function DM(e){let t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function $M(e,t,n,a){let r=DM(n),i=e.value||"",o=r==="`"?"GraveAccent":"Tilde";if(MM(e,n)){let f=n.enter("codeIndented"),m=n.indentLines(i,uY);return f(),m}let s=n.createTracker(a),u=r.repeat(Math.max(RM(i,r)+1,3)),l=n.enter("codeFenced"),c=s.move(u);if(e.lang){let f=n.enter(`codeFencedLang${o}`);c+=s.move(n.safe(e.lang,{before:c,after:" ",encode:["`"],...s.current()})),f()}if(e.lang&&e.meta){let f=n.enter(`codeFencedMeta${o}`);c+=s.move(" "),c+=s.move(n.safe(e.meta,{before:c,after:`
111
+ `,encode:["`"],...s.current()})),f()}return c+=s.move(`
112
+ `),i&&(c+=s.move(i+`
113
+ `)),c+=s.move(u),l(),c}function uY(e,t,n){return(n?"":" ")+e}function Cu(e){let t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function LM(e,t,n,a){let r=Cu(n),i=r==='"'?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),u=n.createTracker(a),l=u.move("[");return l+=u.move(n.safe(n.associationId(e),{before:l,after:"]",...u.current()})),l+=u.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),l+=u.move("<"),l+=u.move(n.safe(e.url,{before:l,after:">",...u.current()})),l+=u.move(">")):(s=n.enter("destinationRaw"),l+=u.move(n.safe(e.url,{before:l,after:e.title?" ":`
114
+ `,...u.current()}))),s(),e.title&&(s=n.enter(`title${i}`),l+=u.move(" "+r),l+=u.move(n.safe(e.title,{before:l,after:r,...u.current()})),l+=u.move(r),s()),o(),l}function PM(e){let t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Ii(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Ou(e,t,n){let a=Ta(e),r=Ta(t);return a===void 0?r===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:r===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:a===1?r===void 0?{inside:!1,outside:!1}:r===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:r===void 0?{inside:!1,outside:!1}:r===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}UE.peek=lY;function UE(e,t,n,a){let r=PM(n),i=n.enter("emphasis"),o=n.createTracker(a),s=o.move(r),u=o.move(n.containerPhrasing(e,{after:r,before:s,...o.current()})),l=u.charCodeAt(0),c=Ou(a.before.charCodeAt(a.before.length-1),l,r);c.inside&&(u=Ii(l)+u.slice(1));let f=u.charCodeAt(u.length-1),m=Ou(a.after.charCodeAt(0),f,r);m.inside&&(u=u.slice(0,-1)+Ii(f));let p=o.move(r);return i(),n.attentionEncodeSurroundingInfo={after:m.outside,before:c.outside},s+u+p}function lY(e,t,n){return n.options.emphasis||"*"}function zM(e,t){let n=!1;return xa(e,function(a){if("value"in a&&/\r?\n|\r/.test(a.value)||a.type==="break")return n=!0,Eo}),!!((!e.depth||e.depth<3)&&go(e)&&(t.options.setext||n))}function UM(e,t,n,a){let r=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(a);if(zM(e,n)){let c=n.enter("headingSetext"),f=n.enter("phrasing"),m=n.containerPhrasing(e,{...i.current(),before:`
115
+ `,after:`
116
+ `});return f(),c(),m+`
117
+ `+(r===1?"=":"-").repeat(m.length-(Math.max(m.lastIndexOf("\r"),m.lastIndexOf(`
118
+ `))+1))}let o="#".repeat(r),s=n.enter("headingAtx"),u=n.enter("phrasing");i.move(o+" ");let l=n.containerPhrasing(e,{before:"# ",after:`
119
+ `,...i.current()});return/^[\t ]/.test(l)&&(l=Ii(l.charCodeAt(0))+l.slice(1)),l=l?o+" "+l:o,n.options.closeAtx&&(l+=" "+o),u(),s(),l}jE.peek=cY;function jE(e){return e.value||""}function cY(){return"<"}BE.peek=dY;function BE(e,t,n,a){let r=Cu(n),i=r==='"'?"Quote":"Apostrophe",o=n.enter("image"),s=n.enter("label"),u=n.createTracker(a),l=u.move("![");return l+=u.move(n.safe(e.alt,{before:l,after:"]",...u.current()})),l+=u.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),l+=u.move("<"),l+=u.move(n.safe(e.url,{before:l,after:">",...u.current()})),l+=u.move(">")):(s=n.enter("destinationRaw"),l+=u.move(n.safe(e.url,{before:l,after:e.title?" ":")",...u.current()}))),s(),e.title&&(s=n.enter(`title${i}`),l+=u.move(" "+r),l+=u.move(n.safe(e.title,{before:l,after:r,...u.current()})),l+=u.move(r),s()),l+=u.move(")"),o(),l}function dY(){return"!"}FE.peek=fY;function FE(e,t,n,a){let r=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(a),u=s.move("!["),l=n.safe(e.alt,{before:u,after:"]",...s.current()});u+=s.move(l+"]["),o();let c=n.stack;n.stack=[],o=n.enter("reference");let f=n.safe(n.associationId(e),{before:u,after:"]",...s.current()});return o(),n.stack=c,i(),r==="full"||!l||l!==f?u+=s.move(f+"]"):r==="shortcut"?u=u.slice(0,-1):u+=s.move("]"),u}function fY(){return"!"}HE.peek=pY;function HE(e,t,n){let a=e.value||"",r="`",i=-1;for(;new RegExp("(^|[^`])"+r+"([^`]|$)").test(a);)r+="`";for(/[^ \r\n]/.test(a)&&(/^[ \r\n]/.test(a)&&/[ \r\n]$/.test(a)||/^`|`$/.test(a))&&(a=" "+a+" ");++i<n.unsafe.length;){let o=n.unsafe[i],s=n.compilePattern(o),u;if(o.atBreak)for(;u=s.exec(a);){let l=u.index;a.charCodeAt(l)===10&&a.charCodeAt(l-1)===13&&l--,a=a.slice(0,l)+" "+a.slice(u.index+1)}}return r+a+r}function pY(){return"`"}function ZE(e,t){let n=go(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}qE.peek=mY;function qE(e,t,n,a){let r=Cu(n),i=r==='"'?"Quote":"Apostrophe",o=n.createTracker(a),s,u;if(ZE(e,n)){let c=n.stack;n.stack=[],s=n.enter("autolink");let f=o.move("<");return f+=o.move(n.containerPhrasing(e,{before:f,after:">",...o.current()})),f+=o.move(">"),s(),n.stack=c,f}s=n.enter("link"),u=n.enter("label");let l=o.move("[");return l+=o.move(n.containerPhrasing(e,{before:l,after:"](",...o.current()})),l+=o.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),l+=o.move("<"),l+=o.move(n.safe(e.url,{before:l,after:">",...o.current()})),l+=o.move(">")):(u=n.enter("destinationRaw"),l+=o.move(n.safe(e.url,{before:l,after:e.title?" ":")",...o.current()}))),u(),e.title&&(u=n.enter(`title${i}`),l+=o.move(" "+r),l+=o.move(n.safe(e.title,{before:l,after:r,...o.current()})),l+=o.move(r),u()),l+=o.move(")"),s(),l}function mY(e,t,n){return ZE(e,n)?"<":"["}VE.peek=hY;function VE(e,t,n,a){let r=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(a),u=s.move("["),l=n.containerPhrasing(e,{before:u,after:"]",...s.current()});u+=s.move(l+"]["),o();let c=n.stack;n.stack=[],o=n.enter("reference");let f=n.safe(n.associationId(e),{before:u,after:"]",...s.current()});return o(),n.stack=c,i(),r==="full"||!l||l!==f?u+=s.move(f+"]"):r==="shortcut"?u=u.slice(0,-1):u+=s.move("]"),u}function hY(){return"["}function Nu(e){let t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function jM(e){let t=Nu(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function BM(e){let t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function Yh(e){let t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function FM(e,t,n,a){let r=n.enter("list"),i=n.bulletCurrent,o=e.ordered?BM(n):Nu(n),s=e.ordered?o==="."?")":".":jM(n),u=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){let c=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&c&&(!c.children||!c.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(u=!0),Yh(n)===o&&c){let f=-1;for(;++f<e.children.length;){let m=e.children[f];if(m&&m.type==="listItem"&&m.children&&m.children[0]&&m.children[0].type==="thematicBreak"){u=!0;break}}}}u&&(o=s),n.bulletCurrent=o;let l=n.containerFlow(e,a);return n.bulletLastUsed=o,n.bulletCurrent=i,r(),l}function HM(e){let t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function ZM(e,t,n,a){let r=HM(n),i=n.bulletCurrent||Nu(n);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let o=i.length+1;(r==="tab"||r==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let s=n.createTracker(a);s.move(i+" ".repeat(o-i.length)),s.shift(o);let u=n.enter("listItem"),l=n.indentLines(n.containerFlow(e,s.current()),c);return u(),l;function c(f,m,p){return m?(p?"":" ".repeat(o))+f:(p?i:i+" ".repeat(o-i.length))+f}}function qM(e,t,n,a){let r=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,a);return i(),r(),o}var YE=_i(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function VM(e,t,n,a){return(e.children.some(function(o){return YE(o)})?n.containerPhrasing:n.containerFlow).call(n,e,a)}function YM(e){let t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}GE.peek=gY;function GE(e,t,n,a){let r=YM(n),i=n.enter("strong"),o=n.createTracker(a),s=o.move(r+r),u=o.move(n.containerPhrasing(e,{after:r,before:s,...o.current()})),l=u.charCodeAt(0),c=Ou(a.before.charCodeAt(a.before.length-1),l,r);c.inside&&(u=Ii(l)+u.slice(1));let f=u.charCodeAt(u.length-1),m=Ou(a.after.charCodeAt(0),f,r);m.inside&&(u=u.slice(0,-1)+Ii(f));let p=o.move(r+r);return i(),n.attentionEncodeSurroundingInfo={after:m.outside,before:c.outside},s+u+p}function gY(e,t,n){return n.options.strong||"*"}function GM(e,t,n,a){return n.safe(e.value,a)}function KM(e){let t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function JM(e,t,n){let a=(Yh(n)+(n.options.ruleSpaces?" ":"")).repeat(KM(n));return n.options.ruleSpaces?a.slice(0,-1):a}var vd={blockquote:CM,break:zE,code:$M,definition:LM,emphasis:UE,hardBreak:zE,heading:UM,html:jE,image:BE,imageReference:FE,inlineCode:HE,link:qE,linkReference:VE,list:FM,listItem:ZM,paragraph:qM,root:VM,strong:GE,text:GM,thematicBreak:JM};function JE(){return{enter:{table:vY,tableData:XM,tableHeader:XM,tableRow:bY},exit:{codeText:_Y,table:yY,tableData:KE,tableHeader:KE,tableRow:KE}}}function vY(e){let t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function yY(e){this.exit(e),this.data.inTable=void 0}function bY(e){this.enter({type:"tableRow",children:[]},e)}function KE(e){this.exit(e)}function XM(e){this.enter({type:"tableCell",children:[]},e)}function _Y(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,TY));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function TY(e,t){return t==="|"?t:e}function XE(e){let t=e||{},n=t.tableCellPadding,a=t.tablePipeAlign,r=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
120
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:m,table:o,tableCell:u,tableRow:s}};function o(p,b,S,C){return l(c(p,S,C),p.align)}function s(p,b,S,C){let v=f(p,S,C),y=l([v]);return y.slice(0,y.indexOf(`
121
+ `))}function u(p,b,S,C){let v=S.enter("tableCell"),y=S.enter("phrasing"),T=S.containerPhrasing(p,{...C,before:i,after:i});return y(),v(),T}function l(p,b){return kM(p,{align:b,alignDelimiters:a,padding:n,stringLength:r})}function c(p,b,S){let C=p.children,v=-1,y=[],T=b.enter("table");for(;++v<C.length;)y[v]=f(C[v],b,S);return T(),y}function f(p,b,S){let C=p.children,v=-1,y=[],T=b.enter("tableRow");for(;++v<C.length;)y[v]=u(C[v],p,b,S);return T(),y}function m(p,b,S){let C=vd.inlineCode(p,b,S);return S.stack.includes("tableCell")&&(C=C.replace(/\|/g,"\\$&")),C}}function QE(){return{exit:{taskListCheckValueChecked:QM,taskListCheckValueUnchecked:QM,paragraph:xY}}}function WE(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:EY}}}function QM(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function xY(e){let t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){let n=this.stack[this.stack.length-1];n.type;let a=n.children[0];if(a&&a.type==="text"){let r=t.children,i=-1,o;for(;++i<r.length;){let s=r[i];if(s.type==="paragraph"){o=s;break}}o===n&&(a.value=a.value.slice(1),a.value.length===0?n.children.shift():n.position&&a.position&&typeof a.position.start.offset=="number"&&(a.position.start.column++,a.position.start.offset++,n.position.start=Object.assign({},a.position.start)))}}this.exit(e)}function EY(e,t,n,a){let r=e.children[0],i=typeof e.checked=="boolean"&&r&&r.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",s=n.createTracker(a);i&&s.move(o);let u=vd.listItem(e,t,n,{...a,...s.current()});return i&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),u;function l(c){return c+o}}function eS(){return[RE(),DE(),LE(),JE(),QE()]}function tS(e){return{extensions:[ME(),$E(e),PE(),XE(e),WE()]}}var SY={tokenize:CY,partial:!0},WM={tokenize:OY,partial:!0},eD={tokenize:NY,partial:!0},tD={tokenize:RY,partial:!0},wY={tokenize:MY,partial:!0},nD={name:"wwwAutolink",tokenize:AY,previous:aD},rD={name:"protocolAutolink",tokenize:kY,previous:iD},Ea={name:"emailAutolink",tokenize:IY,previous:oD},zr={};function rS(){return{text:zr}}var ko=48;for(;ko<123;)zr[ko]=Ea,ko++,ko===58?ko=65:ko===91&&(ko=97);zr[43]=Ea;zr[45]=Ea;zr[46]=Ea;zr[95]=Ea;zr[72]=[Ea,rD];zr[104]=[Ea,rD];zr[87]=[Ea,nD];zr[119]=[Ea,nD];function IY(e,t,n){let a=this,r,i;return o;function o(f){return!nS(f)||!oD.call(a,a.previous)||aS(a.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(f))}function s(f){return nS(f)?(e.consume(f),s):f===64?(e.consume(f),u):n(f)}function u(f){return f===46?e.check(wY,c,l)(f):f===45||f===95||lt(f)?(i=!0,e.consume(f),u):c(f)}function l(f){return e.consume(f),r=!0,u}function c(f){return i&&r&&xt(a.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function AY(e,t,n){let a=this;return r;function r(o){return o!==87&&o!==119||!aD.call(a,a.previous)||aS(a.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(SY,e.attempt(WM,e.attempt(eD,i),n),n)(o))}function i(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function kY(e,t,n){let a=this,r="",i=!1;return o;function o(f){return(f===72||f===104)&&iD.call(a,a.previous)&&!aS(a.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),r+=String.fromCodePoint(f),e.consume(f),s):n(f)}function s(f){if(xt(f)&&r.length<5)return r+=String.fromCodePoint(f),e.consume(f),s;if(f===58){let m=r.toLowerCase();if(m==="http"||m==="https")return e.consume(f),u}return n(f)}function u(f){return f===47?(e.consume(f),i?l:(i=!0,u)):n(f)}function l(f){return f===null||vo(f)||Te(f)||Mr(f)||yo(f)?n(f):e.attempt(WM,e.attempt(eD,c),n)(f)}function c(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function CY(e,t,n){let a=0;return r;function r(o){return(o===87||o===119)&&a<3?(a++,e.consume(o),r):o===46&&a===3?(e.consume(o),i):n(o)}function i(o){return o===null?n(o):t(o)}}function OY(e,t,n){let a,r,i;return o;function o(l){return l===46||l===95?e.check(tD,u,s)(l):l===null||Te(l)||Mr(l)||l!==45&&yo(l)?u(l):(i=!0,e.consume(l),o)}function s(l){return l===95?a=!0:(r=a,a=void 0),e.consume(l),o}function u(l){return r||a||!i?n(l):t(l)}}function NY(e,t){let n=0,a=0;return r;function r(o){return o===40?(n++,e.consume(o),r):o===41&&a<n?i(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(tD,t,i)(o):o===null||Te(o)||Mr(o)?t(o):(e.consume(o),r)}function i(o){return o===41&&a++,e.consume(o),r}}function RY(e,t,n){return a;function a(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),a):s===38?(e.consume(s),i):s===93?(e.consume(s),r):s===60||s===null||Te(s)||Mr(s)?t(s):n(s)}function r(s){return s===null||s===40||s===91||Te(s)||Mr(s)?t(s):a(s)}function i(s){return xt(s)?o(s):n(s)}function o(s){return s===59?(e.consume(s),a):xt(s)?(e.consume(s),o):n(s)}}function MY(e,t,n){return a;function a(i){return e.consume(i),r}function r(i){return lt(i)?n(i):t(i)}}function aD(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Te(e)}function iD(e){return!xt(e)}function oD(e){return!(e===47||nS(e))}function nS(e){return e===43||e===45||e===46||e===95||lt(e)}function aS(e){let t=e.length,n=!1;for(;t--;){let a=e[t][1];if((a.type==="labelLink"||a.type==="labelImage")&&!a._balanced){n=!0;break}if(a._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}var DY={tokenize:BY,partial:!0};function iS(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:zY,continuation:{tokenize:UY},exit:jY}},text:{91:{name:"gfmFootnoteCall",tokenize:PY},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:$Y,resolveTo:LY}}}}function $Y(e,t,n){let a=this,r=a.events.length,i=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),o;for(;r--;){let u=a.events[r][1];if(u.type==="labelImage"){o=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return s;function s(u){if(!o||!o._balanced)return n(u);let l=Bt(a.sliceSerialize({start:o.end,end:a.now()}));return l.codePointAt(0)!==94||!i.includes(l.slice(1))?n(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function LY(e,t){let n=e.length,a;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){a=e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},u=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",o,t],["enter",s,t],["exit",s,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...u),e}function PY(e,t,n){let a=this,r=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),i=0,o;return s;function s(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),u}function u(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(f){if(i>999||f===93&&!o||f===null||f===91||Te(f))return n(f);if(f===93){e.exit("chunkString");let m=e.exit("gfmFootnoteCallString");return r.includes(Bt(a.sliceSerialize(m)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return Te(f)||(o=!0),i++,e.consume(f),f===92?c:l}function c(f){return f===91||f===92||f===93?(e.consume(f),i++,l):l(f)}}function zY(e,t,n){let a=this,r=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),i,o=0,s;return u;function u(b){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),l}function l(b){return b===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(b)}function c(b){if(o>999||b===93&&!s||b===null||b===91||Te(b))return n(b);if(b===93){e.exit("chunkString");let S=e.exit("gfmFootnoteDefinitionLabelString");return i=Bt(a.sliceSerialize(S)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m}return Te(b)||(s=!0),o++,e.consume(b),b===92?f:c}function f(b){return b===91||b===92||b===93?(e.consume(b),o++,c):c(b)}function m(b){return b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),r.includes(i)||r.push(i),ie(e,p,"gfmFootnoteDefinitionWhitespace")):n(b)}function p(b){return t(b)}}function UY(e,t,n){return e.check(Dr,t,e.attempt(DY,t,n))}function jY(e){e.exit("gfmFootnoteDefinition")}function BY(e,t,n){let a=this;return ie(e,r,"gfmFootnoteDefinitionIndent",5);function r(i){let o=a.events[a.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(i):n(i)}}function oS(e){let n=(e||{}).singleTilde,a={name:"strikethrough",tokenize:i,resolveAll:r};return n==null&&(n=!0),{text:{126:a},insideSpan:{null:[a]},attentionMarkers:{null:[126]}};function r(o,s){let u=-1;for(;++u<o.length;)if(o[u][0]==="enter"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._close){let l=u;for(;l--;)if(o[l][0]==="exit"&&o[l][1].type==="strikethroughSequenceTemporary"&&o[l][1]._open&&o[u][1].end.offset-o[u][1].start.offset===o[l][1].end.offset-o[l][1].start.offset){o[u][1].type="strikethroughSequence",o[l][1].type="strikethroughSequence";let c={type:"strikethrough",start:Object.assign({},o[l][1].start),end:Object.assign({},o[u][1].end)},f={type:"strikethroughText",start:Object.assign({},o[l][1].end),end:Object.assign({},o[u][1].start)},m=[["enter",c,s],["enter",o[l][1],s],["exit",o[l][1],s],["enter",f,s]],p=s.parser.constructs.insideSpan.null;p&&mt(m,m.length,0,yi(p,o.slice(l+1,u),s)),mt(m,m.length,0,[["exit",f,s],["enter",o[u][1],s],["exit",o[u][1],s],["exit",c,s]]),mt(o,l-1,u-l+3,m),u=l+m.length-2;break}}for(u=-1;++u<o.length;)o[u][1].type==="strikethroughSequenceTemporary"&&(o[u][1].type="data");return o}function i(o,s,u){let l=this.previous,c=this.events,f=0;return m;function m(b){return l===126&&c[c.length-1][1].type!=="characterEscape"?u(b):(o.enter("strikethroughSequenceTemporary"),p(b))}function p(b){let S=Ta(l);if(b===126)return f>1?u(b):(o.consume(b),f++,p);if(f<2&&!n)return u(b);let C=o.exit("strikethroughSequenceTemporary"),v=Ta(b);return C._open=!v||v===2&&!!S,C._close=!S||S===2&&!!v,s(b)}}}var Gh=class{constructor(){this.map=[]}add(t,n,a){FY(this,t,n,a)}consume(t){if(this.map.sort(function(i,o){return i[0]-o[0]}),this.map.length===0)return;let n=this.map.length,a=[];for(;n>0;)n-=1,a.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];a.push(t.slice()),t.length=0;let r=a.pop();for(;r;){for(let i of r)t.push(i);r=a.pop()}this.map.length=0}};function FY(e,t,n,a){let r=0;if(!(n===0&&a.length===0)){for(;r<e.map.length;){if(e.map[r][0]===t){e.map[r][1]+=n,e.map[r][2].push(...a);return}r+=1}e.map.push([t,n,a])}}function sD(e,t){let n=!1,a=[];for(;t<e.length;){let r=e[t];if(n){if(r[0]==="enter")r[1].type==="tableContent"&&a.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(r[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){let i=a.length-1;a[i]=a[i]==="left"?"center":"right"}}else if(r[1].type==="tableDelimiterRow")break}else r[0]==="enter"&&r[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return a}function sS(){return{flow:{null:{name:"table",tokenize:HY,resolveAll:ZY}}}}function HY(e,t,n){let a=this,r=0,i=0,o;return s;function s(I){let re=a.events.length-1;for(;re>-1;){let oe=a.events[re][1].type;if(oe==="lineEnding"||oe==="linePrefix")re--;else break}let ne=re>-1?a.events[re][1].type:null,W=ne==="tableHead"||ne==="tableRow"?g:u;return W===g&&a.parser.lazy[a.now().line]?n(I):W(I)}function u(I){return e.enter("tableHead"),e.enter("tableRow"),l(I)}function l(I){return I===124||(o=!0,i+=1),c(I)}function c(I){return I===null?n(I):Q(I)?i>1?(i=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),p):n(I):ue(I)?ie(e,c,"whitespace")(I):(i+=1,o&&(o=!1,r+=1),I===124?(e.enter("tableCellDivider"),e.consume(I),e.exit("tableCellDivider"),o=!0,c):(e.enter("data"),f(I)))}function f(I){return I===null||I===124||Te(I)?(e.exit("data"),c(I)):(e.consume(I),I===92?m:f)}function m(I){return I===92||I===124?(e.consume(I),f):f(I)}function p(I){return a.interrupt=!1,a.parser.lazy[a.now().line]?n(I):(e.enter("tableDelimiterRow"),o=!1,ue(I)?ie(e,b,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(I):b(I))}function b(I){return I===45||I===58?C(I):I===124?(o=!0,e.enter("tableCellDivider"),e.consume(I),e.exit("tableCellDivider"),S):O(I)}function S(I){return ue(I)?ie(e,C,"whitespace")(I):C(I)}function C(I){return I===58?(i+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(I),e.exit("tableDelimiterMarker"),v):I===45?(i+=1,v(I)):I===null||Q(I)?A(I):O(I)}function v(I){return I===45?(e.enter("tableDelimiterFiller"),y(I)):O(I)}function y(I){return I===45?(e.consume(I),y):I===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(I),e.exit("tableDelimiterMarker"),T):(e.exit("tableDelimiterFiller"),T(I))}function T(I){return ue(I)?ie(e,A,"whitespace")(I):A(I)}function A(I){return I===124?b(I):I===null||Q(I)?!o||r!==i?O(I):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(I)):O(I)}function O(I){return n(I)}function g(I){return e.enter("tableRow"),N(I)}function N(I){return I===124?(e.enter("tableCellDivider"),e.consume(I),e.exit("tableCellDivider"),N):I===null||Q(I)?(e.exit("tableRow"),t(I)):ue(I)?ie(e,N,"whitespace")(I):(e.enter("data"),L(I))}function L(I){return I===null||I===124||Te(I)?(e.exit("data"),N(I)):(e.consume(I),I===92?P:L)}function P(I){return I===92||I===124?(e.consume(I),L):L(I)}}function ZY(e,t){let n=-1,a=!0,r=0,i=[0,0,0,0],o=[0,0,0,0],s=!1,u=0,l,c,f,m=new Gh;for(;++n<e.length;){let p=e[n],b=p[1];p[0]==="enter"?b.type==="tableHead"?(s=!1,u!==0&&(uD(m,t,u,l,c),c=void 0,u=0),l={type:"table",start:Object.assign({},b.start),end:Object.assign({},b.end)},m.add(n,0,[["enter",l,t]])):b.type==="tableRow"||b.type==="tableDelimiterRow"?(a=!0,f=void 0,i=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,c={type:"tableBody",start:Object.assign({},b.start),end:Object.assign({},b.end)},m.add(n,0,[["enter",c,t]])),r=b.type==="tableDelimiterRow"?2:c?3:1):r&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")?(a=!1,o[2]===0&&(i[1]!==0&&(o[0]=o[1],f=Kh(m,t,i,r,void 0,f),i=[0,0,0,0]),o[2]=n)):b.type==="tableCellDivider"&&(a?a=!1:(i[1]!==0&&(o[0]=o[1],f=Kh(m,t,i,r,void 0,f)),i=o,o=[i[1],n,0,0])):b.type==="tableHead"?(s=!0,u=n):b.type==="tableRow"||b.type==="tableDelimiterRow"?(u=n,i[1]!==0?(o[0]=o[1],f=Kh(m,t,i,r,n,f)):o[1]!==0&&(f=Kh(m,t,o,r,n,f)),r=0):r&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")&&(o[3]=n)}for(u!==0&&uD(m,t,u,l,c),m.consume(t.events),n=-1;++n<t.events.length;){let p=t.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=sD(t.events,n))}return e}function Kh(e,t,n,a,r,i){let o=a===1?"tableHeader":a===2?"tableDelimiter":"tableData",s="tableContent";n[0]!==0&&(i.end=Object.assign({},Ru(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));let u=Ru(t.events,n[1]);if(i={type:o,start:Object.assign({},u),end:Object.assign({},u)},e.add(n[1],0,[["enter",i,t]]),n[2]!==0){let l=Ru(t.events,n[2]),c=Ru(t.events,n[3]),f={type:s,start:Object.assign({},l),end:Object.assign({},c)};if(e.add(n[2],0,[["enter",f,t]]),a!==2){let m=t.events[n[2]],p=t.events[n[3]];if(m[1].end=Object.assign({},p[1].end),m[1].type="chunkText",m[1].contentType="text",n[3]>n[2]+1){let b=n[2]+1,S=n[3]-n[2]-1;e.add(b,S,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return r!==void 0&&(i.end=Object.assign({},Ru(t.events,r)),e.add(r,0,[["exit",i,t]]),i=void 0),i}function uD(e,t,n,a,r){let i=[],o=Ru(t.events,n);r&&(r.end=Object.assign({},o),i.push(["exit",r,t])),a.end=Object.assign({},o),i.push(["exit",a,t]),e.add(n+1,0,i)}function Ru(e,t){let n=e[t],a=n[0]==="enter"?"start":"end";return n[1][a]}var qY={name:"tasklistCheck",tokenize:VY};function uS(){return{text:{91:qY}}}function VY(e,t,n){let a=this;return r;function r(u){return a.previous!==null||!a._gfmTasklistFirstContentOfListItem?n(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),i)}function i(u){return Te(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),o):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),o):n(u)}function o(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(u)}function s(u){return Q(u)?t(u):ue(u)?e.check({tokenize:YY},t,n)(u):n(u)}}function YY(e,t,n){return ie(e,a,"whitespace");function a(r){return r===null?n(r):t(r)}}function lD(e){return eh([rS(),iS(),oS(e),sS(),uS()])}var GY={};function yd(e){let t=this,n=e||GY,a=t.data(),r=a.micromarkExtensions||(a.micromarkExtensions=[]),i=a.fromMarkdownExtensions||(a.fromMarkdownExtensions=[]),o=a.toMarkdownExtensions||(a.toMarkdownExtensions=[]);r.push(lD(n)),i.push(eS()),o.push(tS(n))}var Jh=ct(xn(),1),Ne=ct(mi(),1),ke=ct(mi(),1),KY=8,dS=720,fS=300,Sa={top:16,right:16,bottom:34,left:52},lS={w:dS-Sa.left-Sa.right,h:fS-Sa.top-Sa.bottom};function JY(e,t,n=4){if(e===t)return[e];let a=(t-e)/n,r=10**Math.floor(Math.log10(a)),i=[1,2,5,10].map(s=>s*r).find(s=>s>=a)??r*10,o=[];for(let s=Math.floor(e/i)*i;s<=t+i/2;s+=i)o.push(Number(s.toFixed(10)));return o}function cD(e,t,n,a,r){let i=r?Math.max(0,Math.min(4,n/2,a)):0;return i===0?`M${e},${t} h${n} v${a} h${-n} Z`:`M${e},${t+a} L${e},${t+i} Q${e},${t} ${e+i},${t} L${e+n-i},${t} Q${e+n},${t} ${e+n},${t+i} L${e+n},${t+a} Z`}var dD=e=>Math.abs(e)>=1e3?e.toLocaleString("en-US"):String(Number(e.toFixed(2)));function XY({spec:e}){let[t,n]=(0,Jh.useState)(!1),a=(0,Jh.useId)(),{type:r,x:i,series:o,unit:s,title:u}=e,l=r==="stacked_bar",c=o.length>1,f=i.map((g,N)=>o.reduce((L,P)=>L+P.values[N],0)),m=o.flatMap(g=>g.values),p=Math.max(0,...l?f:m),b=Math.min(0,...l?f:m),S=JY(b,p),C=Math.max(...S,p),v=Math.min(...S,b),y=g=>Sa.top+lS.h-(g-v)/(C-v||1)*lS.h,T=lS.w/i.length,A=g=>Sa.left+T*g+T/2,O=g=>`var(--alx-s${g%KY+1})`;return(0,Ne.jsxs)("figure",{className:"alx-chart my-3 first:mt-0 last:mb-0",children:[(0,Ne.jsx)("style",{children:QY}),u?(0,Ne.jsx)("figcaption",{className:"alx-chart-title",children:u}):null,(0,Ne.jsxs)("svg",{viewBox:`0 0 ${dS} ${fS}`,className:"alx-chart-svg",role:"img","aria-labelledby":`${a}-t`,preserveAspectRatio:"xMidYMid meet",children:[(0,Ne.jsxs)("title",{id:`${a}-t`,children:[u??`${r} chart`,c?` \u2014 ${o.map(g=>g.label).join(", ")}`:""]}),S.map(g=>(0,Ne.jsxs)("g",{children:[(0,Ne.jsx)("line",{x1:Sa.left,x2:dS-Sa.right,y1:y(g),y2:y(g),className:"alx-grid"}),(0,Ne.jsx)("text",{x:Sa.left-8,y:y(g),className:"alx-tick",textAnchor:"end",children:dD(g)})]},g)),(r==="bar"||l)&&i.map((g,N)=>{let L=Math.min(T*.7,l?24:24*o.length),P=l?L:L/o.length,I=y(0);return(0,Ne.jsx)("g",{children:o.map((re,ne)=>{let W=re.values[N];if(l){let le=Math.abs(y(W)-y(0));return I-=le,(0,Ne.jsx)("path",{d:cD(A(N)-L/2,I+(ne>0?2:0),L,Math.max(0,le-(ne>0?2:0)),ne===o.length-1),fill:O(ne)},ne)}let oe=Math.min(y(W),y(0));return(0,Ne.jsx)("path",{d:cD(A(N)-L/2+ne*P+(ne>0?1:0),oe,Math.max(0,P-(c?2:0)),Math.abs(y(W)-y(0)),!0),fill:O(ne)},ne)})},N)}),(r==="line"||r==="area")&&o.map((g,N)=>{let L=g.values.map((P,I)=>`${A(I)},${y(P)}`).join(" ");return(0,Ne.jsxs)("g",{children:[r==="area"&&(0,Ne.jsx)("polygon",{points:`${A(0)},${y(Math.max(0,v))} ${L} ${A(i.length-1)},${y(Math.max(0,v))}`,fill:O(N),fillOpacity:.1}),(0,Ne.jsx)("polyline",{points:L,className:"alx-line",stroke:O(N)}),g.values.map((P,I)=>(0,Ne.jsx)("circle",{cx:A(I),cy:y(P),r:4,fill:O(N),className:"alx-dot"},I))]},N)}),i.map((g,N)=>(0,Ne.jsx)("text",{x:A(N),y:fS-12,className:"alx-tick",textAnchor:"middle",children:g.length>12?`${g.slice(0,11)}\u2026`:g},N))]}),c&&(0,Ne.jsx)("ul",{className:"alx-legend",children:o.map((g,N)=>(0,Ne.jsxs)("li",{children:[(0,Ne.jsx)("span",{className:"alx-swatch",style:{background:O(N)}}),g.label||`Series ${N+1}`]},N))}),(0,Ne.jsx)("button",{type:"button",className:"alx-table-toggle",onClick:()=>n(g=>!g),"aria-expanded":t,children:t?"Hide data":"Show data"}),t&&(0,Ne.jsx)("div",{className:"alx-table-wrap",children:(0,Ne.jsxs)("table",{className:"alx-table",children:[(0,Ne.jsx)("thead",{children:(0,Ne.jsxs)("tr",{children:[(0,Ne.jsx)("th",{}),i.map(g=>(0,Ne.jsx)("th",{children:g},g))]})}),(0,Ne.jsx)("tbody",{children:o.map((g,N)=>(0,Ne.jsxs)("tr",{children:[(0,Ne.jsxs)("th",{scope:"row",children:[(0,Ne.jsx)("span",{className:"alx-swatch",style:{background:O(N)}}),g.label||`Series ${N+1}`]}),g.values.map((L,P)=>(0,Ne.jsxs)("td",{children:[dD(L),s?` ${s}`:""]},P))]},N))})]})})]})}var QY=`
122
+ .alx-chart{--alx-surface:#fcfcfb;--alx-ink:#0b0b0b;--alx-ink-2:#52514e;--alx-grid:#e7e7e4;
123
+ --alx-s1:#2a78d6;--alx-s2:#eb6834;--alx-s3:#1baf7a;--alx-s4:#eda100;
124
+ --alx-s5:#e87ba4;--alx-s6:#008300;--alx-s7:#4a3aa7;--alx-s8:#e34948;}
125
+ @media (prefers-color-scheme:dark){:root:where(:not([data-theme="light"])) .alx-chart{
126
+ --alx-surface:#1a1a19;--alx-ink:#fff;--alx-ink-2:#c3c2b7;--alx-grid:#333331;
127
+ --alx-s1:#3987e5;--alx-s2:#d95926;--alx-s3:#199e70;--alx-s4:#c98500;
128
+ --alx-s5:#d55181;--alx-s6:#008300;--alx-s7:#9085e9;--alx-s8:#e66767;}}
129
+ :root[data-theme="dark"] .alx-chart{--alx-surface:#1a1a19;--alx-ink:#fff;--alx-ink-2:#c3c2b7;
130
+ --alx-grid:#333331;--alx-s1:#3987e5;--alx-s2:#d95926;--alx-s3:#199e70;--alx-s4:#c98500;
131
+ --alx-s5:#d55181;--alx-s6:#008300;--alx-s7:#9085e9;--alx-s8:#e66767;}
132
+ .alx-chart-title{font-size:13px;font-weight:600;color:var(--alx-ink);margin:0 0 6px}
133
+ .alx-chart-svg{width:100%;height:auto;display:block;overflow:visible}
134
+ .alx-grid{stroke:var(--alx-grid);stroke-width:1}
135
+ .alx-tick{font-size:11px;fill:var(--alx-ink-2);dominant-baseline:middle}
136
+ .alx-line{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
137
+ .alx-dot{stroke:var(--alx-surface);stroke-width:2}
138
+ .alx-legend{display:flex;flex-wrap:wrap;gap:4px 14px;list-style:none;margin:8px 0 0;padding:0;
139
+ font-size:12px;color:var(--alx-ink-2)}
140
+ .alx-legend li{display:flex;align-items:center;gap:6px}
141
+ .alx-swatch{width:9px;height:9px;border-radius:2px;display:inline-block;flex:none}
142
+ .alx-table-toggle{margin-top:6px;font-size:11px;color:var(--alx-ink-2);background:none;
143
+ border:0;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
144
+ .alx-table-wrap{overflow-x:auto;margin-top:6px}
145
+ .alx-table{border-collapse:collapse;font-size:12px;color:var(--alx-ink)}
146
+ .alx-table th,.alx-table td{border-bottom:1px solid var(--alx-grid);padding:3px 8px;text-align:right;
147
+ white-space:nowrap}
148
+ .alx-table th[scope=row]{text-align:left;font-weight:500;display:flex;align-items:center;gap:6px}
149
+ .alx-table thead th{color:var(--alx-ink-2);font-weight:500}
150
+ `,fD="agentlib:visitor";function pD(){return typeof crypto<"u"&&"randomUUID"in crypto?crypto.randomUUID():`v-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,10)}`}function WY(){try{let e=localStorage.getItem(fD);if(e)return e;let t=pD();return localStorage.setItem(fD,t),t}catch{return pD()}}function eG(e){return e?{"X-Agentlib-User":e.id,"X-Agentlib-User-Signature":e.signature,...e.data?{"X-Agentlib-User-Data":e.data}:{}}:{"X-Agentlib-Visitor":WY()}}function tG(e,t){return`agentlib:conversation:${e}:${t?`u:${t.id}`:"visitor"}`}var nG=`
151
+ .alw-root {
152
+ --alw-accent: #171717;
153
+ --alw-bg: #ffffff;
154
+ --alw-border: #e5e5e5;
155
+ --alw-text: #171717;
156
+ --alw-muted: #737373;
157
+ display: flex;
158
+ flex-direction: column;
159
+ height: 100%;
160
+ min-height: 0;
161
+ background: var(--alw-bg);
162
+ color: var(--alw-text);
163
+ font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
164
+ "Helvetica Neue", Arial, sans-serif;
165
+ font-size: 14px;
166
+ line-height: 1.55;
167
+ border: 1px solid var(--alw-border);
168
+ border-radius: 14px;
169
+ overflow: hidden;
170
+ box-sizing: border-box;
171
+ }
172
+ .alw-root *, .alw-root *::before, .alw-root *::after { box-sizing: border-box; }
173
+
174
+ .alw-header {
175
+ display: flex;
176
+ align-items: center;
177
+ justify-content: space-between;
178
+ gap: 8px;
179
+ padding: 10px 14px;
180
+ border-bottom: 1px solid var(--alw-border);
181
+ flex: none;
182
+ }
183
+ .alw-title { font-weight: 600; font-size: 14px; margin: 0; }
184
+ .alw-new {
185
+ border: 0;
186
+ background: none;
187
+ color: var(--alw-muted);
188
+ font: inherit;
189
+ font-size: 12px;
190
+ cursor: pointer;
191
+ padding: 4px 8px;
192
+ border-radius: 8px;
193
+ }
194
+ .alw-new:hover { background: #f5f5f5; color: var(--alw-text); }
195
+ .alw-new:disabled { opacity: 0; pointer-events: none; }
196
+
197
+ .alw-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 14px; }
198
+ .alw-empty { text-align: center; color: var(--alw-muted); padding: 40px 12px; }
199
+ .alw-empty-title { color: var(--alw-text); font-weight: 500; font-size: 15px; margin: 0 0 4px; }
200
+ .alw-empty-sub { font-size: 13px; margin: 0; }
201
+
202
+ .alw-messages { display: flex; flex-direction: column; gap: 12px; }
203
+ .alw-msg { display: flex; }
204
+ .alw-msg-user { justify-content: flex-end; }
205
+ .alw-bubble {
206
+ max-width: 85%;
207
+ padding: 8px 12px;
208
+ border-radius: 16px;
209
+ white-space: pre-wrap;
210
+ overflow-wrap: anywhere;
211
+ }
212
+ .alw-msg-user .alw-bubble {
213
+ background: var(--alw-accent);
214
+ color: #fff;
215
+ border-bottom-right-radius: 4px;
216
+ }
217
+ .alw-msg-assistant .alw-bubble {
218
+ background: #f5f5f5;
219
+ border-bottom-left-radius: 4px;
220
+ white-space: normal;
221
+ }
222
+ .alw-md p { margin: 0 0 8px; }
223
+ .alw-md p:last-child { margin-bottom: 0; }
224
+ .alw-md pre {
225
+ background: #171717;
226
+ color: #f5f5f5;
227
+ padding: 10px 12px;
228
+ border-radius: 8px;
229
+ overflow-x: auto;
230
+ font-size: 12.5px;
231
+ }
232
+ .alw-md code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }
233
+ .alw-md :not(pre) > code { background: #e8e8e8; padding: 1px 5px; border-radius: 4px; }
234
+ .alw-md a { color: inherit; text-decoration: underline; }
235
+ .alw-md ul, .alw-md ol { margin: 0 0 8px; padding-left: 20px; }
236
+ .alw-md table { border-collapse: collapse; margin: 0 0 8px; display: block; overflow-x: auto; }
237
+ .alw-md th, .alw-md td { border: 1px solid var(--alw-border); padding: 4px 8px; }
238
+
239
+ .alw-thinking { display: inline-flex; gap: 4px; padding: 10px 12px; }
240
+ .alw-thinking span {
241
+ width: 6px; height: 6px; border-radius: 50%;
242
+ background: var(--alw-muted);
243
+ animation: alw-pulse 1.2s ease-in-out infinite;
244
+ }
245
+ .alw-thinking span:nth-child(2) { animation-delay: 0.15s; }
246
+ .alw-thinking span:nth-child(3) { animation-delay: 0.3s; }
247
+ @keyframes alw-pulse {
248
+ 0%, 60%, 100% { opacity: 0.25; transform: translateY(0); }
249
+ 30% { opacity: 1; transform: translateY(-3px); }
250
+ }
251
+
252
+ .alw-error { color: #dc2626; font-size: 13px; margin: 4px 0 0; }
253
+ .alw-error button {
254
+ border: 0; background: none; color: inherit; font: inherit;
255
+ text-decoration: underline; cursor: pointer; padding: 0; margin-left: 4px;
256
+ }
257
+
258
+ .alw-composer { flex: none; padding: 10px 12px 12px; }
259
+ .alw-inputrow {
260
+ display: flex;
261
+ align-items: flex-end;
262
+ gap: 8px;
263
+ border: 1px solid var(--alw-border);
264
+ border-radius: 22px;
265
+ padding: 6px 6px 6px 14px;
266
+ background: var(--alw-bg);
267
+ transition: border-color 0.15s;
268
+ }
269
+ .alw-inputrow:focus-within { border-color: #a3a3a3; }
270
+ .alw-input {
271
+ flex: 1;
272
+ border: 0;
273
+ outline: none;
274
+ resize: none;
275
+ background: none;
276
+ font: inherit;
277
+ color: inherit;
278
+ max-height: 140px;
279
+ padding: 4px 0;
280
+ }
281
+ .alw-send {
282
+ flex: none;
283
+ width: 32px; height: 32px;
284
+ border: 0;
285
+ border-radius: 50%;
286
+ background: var(--alw-accent);
287
+ color: #fff;
288
+ cursor: pointer;
289
+ display: inline-flex;
290
+ align-items: center;
291
+ justify-content: center;
292
+ }
293
+ .alw-send:disabled { opacity: 0.35; cursor: default; }
294
+ .alw-powered {
295
+ text-align: center;
296
+ font-size: 11px;
297
+ color: var(--alw-muted);
298
+ margin: 8px 0 0;
299
+ }
300
+ .alw-powered a { color: inherit; text-decoration: none; }
301
+ `,mD="data-agentlib-styles";function pS(e){let n=e instanceof ShadowRoot?e:(e?.ownerDocument??document).head;if(n.querySelector?.(`style[${mD}]
302
+ .alw-sources {
303
+ margin-top: 10px;
304
+ padding: 8px 11px;
305
+ border: 1px solid var(--alw-border);
306
+ border-radius: 9px;
307
+ background: #f5f5f5;
308
+ }
309
+ .alw-sources-label {
310
+ margin: 0 0 2px;
311
+ font-size: 10px;
312
+ font-weight: 600;
313
+ letter-spacing: 0.06em;
314
+ text-transform: uppercase;
315
+ color: var(--alw-muted);
316
+ }
317
+ .alw-sources p,
318
+ .alw-sources ul,
319
+ .alw-sources ol {
320
+ margin: 2px 0;
321
+ font-size: 12.5px;
322
+ line-height: 1.55;
323
+ color: var(--alw-muted);
324
+ }
325
+ .alw-sources ul,
326
+ .alw-sources ol {
327
+ padding-left: 18px;
328
+ }
329
+ `))return;let a=document.createElement("style");a.setAttribute(mD,""),a.textContent=nG,n.appendChild(a)}function rG(e){try{return localStorage.getItem(e)}catch{return null}}function cS(e,t){try{t===null?localStorage.removeItem(e):localStorage.setItem(e,t)}catch{}}function aG(e){return e.parts.map(t=>t.type==="text"?t.text:"").join("")}function iG(){return(0,ke.jsx)("div",{className:"alw-msg alw-msg-assistant",children:(0,ke.jsxs)("div",{className:"alw-bubble alw-thinking","aria-label":"Thinking",children:[(0,ke.jsx)("span",{}),(0,ke.jsx)("span",{}),(0,ke.jsx)("span",{})]})})}function oG(){return(0,ke.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:(0,ke.jsx)("path",{d:"M12 19V5m0 0-6 6m6-6 6 6",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})})}function sG(e){if(!(0,hD.isValidElement)(e))return null;let t=e.props;if(!t.className?.split(/\s+/).includes("language-chart"))return null;let n=typeof t.children=="string"?t.children:null;return n?fk(n):null}function gD({baseUrl:e,agentId:t,publishableKey:n,user:a,title:r,placeholder:i="Ask anything\u2026",welcomeTitle:o="How can I help?",welcomeSubtitle:s="Replies stream in as the agent works.",accentColor:u,persistConversation:l=!0,className:c}){let f=`${e.replace(/\/$/,"")}/v1/embed`,m={Authorization:`Bearer ${n}`,...eG(a)},p=tG(t,a),b=(0,nn.useRef)(null),S=(0,nn.useRef)(null),C=(0,nn.useRef)(null),v=(0,nn.useRef)(!0),y=(0,nn.useRef)(l?rG(p):null),[T,A]=(0,nn.useState)(""),[O,g]=(0,nn.useState)(null),{messages:N,sendMessage:L,status:P,error:I,setMessages:re,clearError:ne,stop:W}=g4({transport:new $c({api:`${f}/agents/${encodeURIComponent(t)}/chat`,headers:m,prepareSendMessagesRequest:({api:se,id:w,messages:at,body:rn,trigger:k,messageId:Et})=>({api:y.current?`${se}?conversation_id=${y.current}`:se,body:{...rn,id:w,messages:at,trigger:k,messageId:Et}})}),onData:se=>{if(se.type==="data-run-info"){let w=se.data;w.conversation_id&&(y.current=w.conversation_id,l&&cS(p,w.conversation_id))}}});(0,nn.useLayoutEffect)(()=>{pS(b.current?.getRootNode())},[]),(0,nn.useEffect)(()=>{if(r)return;let se=!1;return fetch(`${f}/agents/${encodeURIComponent(t)}`,{headers:m}).then(w=>w.ok?w.json():null).then(w=>{!se&&w?.name&&g(w.name)}).catch(()=>{}),()=>{se=!0}},[t,e,r]),(0,nn.useEffect)(()=>{let se=y.current;if(!l||!se)return;let w=!1;return fetch(`${f}/conversations/${se}/ui-messages`,{headers:m}).then(at=>at.ok?at.json():null).then(at=>{w||(at?re(at):(y.current=null,cS(p,null)))}).catch(()=>{}),()=>{w=!0}},[]);function oe(){let se=S.current;se&&(v.current=se.scrollHeight-se.scrollTop-se.clientHeight<80)}(0,nn.useEffect)(()=>{let se=S.current;se&&v.current&&(se.scrollTop=se.scrollHeight)},[N,P]);let le=P==="submitted"||P==="streaming";function Ge(){let se=C.current;se&&(se.style.height="auto",se.style.height=`${Math.min(se.scrollHeight,140)}px`)}function rt(){let se=T.trim();!se||le||(A(""),requestAnimationFrame(Ge),L({text:se}))}function bn(){W(),re([]),ne(),y.current=null,cS(p,null),C.current?.focus()}return(0,ke.jsxs)("div",{ref:b,className:c?`alw-root ${c}`:"alw-root",style:u?{"--alw-accent":u}:void 0,children:[(0,ke.jsxs)("div",{className:"alw-header",children:[(0,ke.jsx)("p",{className:"alw-title",children:r??O??"Chat"}),(0,ke.jsx)("button",{type:"button",className:"alw-new",onClick:bn,disabled:N.length===0&&!I,children:"New chat"})]}),(0,ke.jsx)("div",{className:"alw-scroll",ref:S,onScroll:oe,children:N.length===0&&!le?(0,ke.jsxs)("div",{className:"alw-empty",children:[(0,ke.jsx)("p",{className:"alw-empty-title",children:o}),(0,ke.jsx)("p",{className:"alw-empty-sub",children:s})]}):(0,ke.jsxs)("div",{className:"alw-messages",children:[N.map(se=>{let w=aG(se);if(!w&&se.role==="assistant")return null;let{body:at,sources:rn}=se.role==="assistant"?pk(w):{body:w,sources:null};return(0,ke.jsx)("div",{className:`alw-msg ${se.role==="user"?"alw-msg-user":"alw-msg-assistant"}`,children:(0,ke.jsx)("div",{className:"alw-bubble",children:se.role==="assistant"?(0,ke.jsxs)("div",{className:"alw-md",children:[(0,ke.jsx)(wh,{remarkPlugins:[yd],rehypePlugins:[md,gd],components:{pre:({children:k})=>{let Et=sG(k);return Et?(0,ke.jsx)(XY,{spec:Et}):(0,ke.jsx)("pre",{children:k})}},children:at}),rn&&(0,ke.jsxs)("div",{className:"alw-sources",children:[(0,ke.jsx)("p",{className:"alw-sources-label",children:"Sources"}),(0,ke.jsx)(wh,{remarkPlugins:[yd],rehypePlugins:[md,gd],children:rn})]})]}):w})},se.id)}),P==="submitted"&&(0,ke.jsx)(iG,{}),I&&(0,ke.jsxs)("p",{className:"alw-error",children:[I.message||"Something went wrong.",(0,ke.jsx)("button",{type:"button",onClick:ne,children:"Dismiss"})]})]})}),(0,ke.jsxs)("div",{className:"alw-composer",children:[(0,ke.jsxs)("div",{className:"alw-inputrow",children:[(0,ke.jsx)("textarea",{ref:C,className:"alw-input",rows:1,value:T,placeholder:i,onChange:se=>{A(se.target.value),Ge()},onKeyDown:se=>{se.key==="Enter"&&!se.shiftKey&&(se.preventDefault(),rt())}}),(0,ke.jsx)("button",{type:"button",className:"alw-send",onClick:rt,disabled:!T.trim()||le,"aria-label":"Send",children:(0,ke.jsx)(oG,{})})]}),(0,ke.jsx)("p",{className:"alw-powered",children:"Powered by agentlib"})]})]})}var nr=ct(mi(),1),uG=`
330
+ :host { all: initial; }
331
+ .alw-widget {
332
+ position: fixed;
333
+ bottom: 20px;
334
+ z-index: 2147483000;
335
+ font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
336
+ }
337
+ .alw-widget.alw-right { right: 20px; }
338
+ .alw-widget.alw-left { left: 20px; }
339
+
340
+ .alw-launcher {
341
+ width: 56px; height: 56px;
342
+ border: 0;
343
+ border-radius: 50%;
344
+ background: var(--alw-accent, #171717);
345
+ color: #fff;
346
+ cursor: pointer;
347
+ display: flex;
348
+ align-items: center;
349
+ justify-content: center;
350
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
351
+ transition: transform 0.15s ease;
352
+ }
353
+ .alw-launcher:hover { transform: scale(1.06); }
354
+
355
+ .alw-panel {
356
+ position: absolute;
357
+ bottom: 72px;
358
+ width: min(380px, calc(100vw - 40px));
359
+ height: min(560px, calc(100vh - 110px));
360
+ border-radius: 14px;
361
+ overflow: hidden;
362
+ box-shadow: 0 12px 48px rgba(0, 0, 0, 0.24);
363
+ background: #fff;
364
+ display: none;
365
+ }
366
+ .alw-widget.alw-right .alw-panel { right: 0; }
367
+ .alw-widget.alw-left .alw-panel { left: 0; }
368
+ .alw-widget.alw-open .alw-panel { display: block; }
369
+ .alw-panel .alw-root { height: 100%; border: 0; border-radius: 0; }
370
+ `;function lG(){return(0,nr.jsx)("svg",{width:"26",height:"26",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:(0,nr.jsx)("path",{d:"M21 11.5a8.38 8.38 0 0 1-8.5 8.5c-1.56 0-3.03-.4-4.3-1.1L3 20l1.1-5.2A8.38 8.38 0 0 1 12.5 3 8.38 8.38 0 0 1 21 11.5Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function cG(){return(0,nr.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:(0,nr.jsx)("path",{d:"M6 6l12 12M18 6L6 18",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round"})})}var mS=class{constructor(t){this.options=t;this.isOpen=t.open??!1,this.host=document.createElement("div"),document.body.appendChild(this.host);let n=this.host.attachShadow({mode:"open"}),a=document.createElement("style");a.textContent=uG,n.appendChild(a),pS(n),this.container=document.createElement("div"),n.appendChild(this.container),this.root=(0,vD.createRoot)(this.container),this.render()}render(){let t=this.options,n=t.position==="bottom-left"?"alw-left":"alw-right";this.root.render((0,nr.jsxs)("div",{className:`alw-widget ${n}${this.isOpen?" alw-open":""}`,style:t.accentColor?{"--alw-accent":t.accentColor}:void 0,children:[(0,nr.jsx)("div",{className:"alw-panel",children:(0,nr.jsx)(gD,{baseUrl:t.baseUrl,agentId:t.agentId,publishableKey:t.publishableKey,user:t.user,title:t.title,placeholder:t.placeholder,welcomeTitle:t.welcomeTitle,welcomeSubtitle:t.welcomeSubtitle,accentColor:t.accentColor})}),(0,nr.jsx)("button",{type:"button",className:"alw-launcher","aria-label":this.isOpen?"Close chat":"Open chat",onClick:()=>this.isOpen?this.close():this.open(),children:this.isOpen?(0,nr.jsx)(cG,{}):(0,nr.jsx)(lG,{})})]}))}open(){this.isOpen=!0,this.render()}close(){this.isOpen=!1,this.render()}destroy(){this.root.unmount(),this.host.remove()}},Co=null;function hS(e){return Co?.destroy(),Co=new mS(e),Co}function dG(){let e=document.currentScript;if(!e)return;let t=e.dataset;if(!t.agentId||!t.publishableKey||!t.baseUrl)return;let n={baseUrl:t.baseUrl,agentId:t.agentId,publishableKey:t.publishableKey,title:t.title,placeholder:t.placeholder,welcomeTitle:t.welcomeTitle,welcomeSubtitle:t.welcomeSubtitle,accentColor:t.accentColor,position:t.position==="bottom-left"?"bottom-left":"bottom-right",open:t.open==="true"};document.body?hS(n):document.addEventListener("DOMContentLoaded",()=>hS(n))}window.AgentlibWidget={init:hS,open:()=>Co?.open(),close:()=>Co?.close(),destroy:()=>{Co?.destroy(),Co=null}};dG();})();
371
+ /*! Bundled license information:
372
+
373
+ scheduler/cjs/scheduler.production.js:
374
+ (**
375
+ * @license React
376
+ * scheduler.production.js
377
+ *
378
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
379
+ *
380
+ * This source code is licensed under the MIT license found in the
381
+ * LICENSE file in the root directory of this source tree.
382
+ *)
383
+
384
+ react/cjs/react.production.js:
385
+ (**
386
+ * @license React
387
+ * react.production.js
388
+ *
389
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
390
+ *
391
+ * This source code is licensed under the MIT license found in the
392
+ * LICENSE file in the root directory of this source tree.
393
+ *)
394
+
395
+ react-dom/cjs/react-dom.production.js:
396
+ (**
397
+ * @license React
398
+ * react-dom.production.js
399
+ *
400
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
401
+ *
402
+ * This source code is licensed under the MIT license found in the
403
+ * LICENSE file in the root directory of this source tree.
404
+ *)
405
+
406
+ react-dom/cjs/react-dom-client.production.js:
407
+ (**
408
+ * @license React
409
+ * react-dom-client.production.js
410
+ *
411
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
412
+ *
413
+ * This source code is licensed under the MIT license found in the
414
+ * LICENSE file in the root directory of this source tree.
415
+ *)
416
+
417
+ react/cjs/react-jsx-runtime.production.js:
418
+ (**
419
+ * @license React
420
+ * react-jsx-runtime.production.js
421
+ *
422
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
423
+ *
424
+ * This source code is licensed under the MIT license found in the
425
+ * LICENSE file in the root directory of this source tree.
426
+ *)
427
+ */