diff --git a/docs/playground/playground.js b/docs/playground/playground.js index 80041ef09..dba4dfe8b 100644 --- a/docs/playground/playground.js +++ b/docs/playground/playground.js @@ -1,4 +1,4 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}})();var Xy=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function oc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _p={exports:{}},ka={},Sp={exports:{}},ve={};/** +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}})();var Qy=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function oc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _p={exports:{}},ka={},Sp={exports:{}},ge={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Mo=Symbol.for("react.element"),Jy=Symbol.for("react.portal"),Zy=Symbol.for("react.fragment"),ev=Symbol.for("react.strict_mode"),tv=Symbol.for("react.profiler"),rv=Symbol.for("react.provider"),nv=Symbol.for("react.context"),iv=Symbol.for("react.forward_ref"),ov=Symbol.for("react.suspense"),sv=Symbol.for("react.memo"),av=Symbol.for("react.lazy"),ad=Symbol.iterator;function lv(e){return e===null||typeof e!="object"?null:(e=ad&&e[ad]||e["@@iterator"],typeof e=="function"?e:null)}var Op={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Np=Object.assign,Pp={};function Oi(e,t,r){this.props=e,this.context=t,this.refs=Pp,this.updater=r||Op}Oi.prototype.isReactComponent={};Oi.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Oi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ip(){}Ip.prototype=Oi.prototype;function sc(e,t,r){this.props=e,this.context=t,this.refs=Pp,this.updater=r||Op}var ac=sc.prototype=new Ip;ac.constructor=sc;Np(ac,Oi.prototype);ac.isPureReactComponent=!0;var ld=Array.isArray,Cp=Object.prototype.hasOwnProperty,lc={current:null},kp={key:!0,ref:!0,__self:!0,__source:!0};function Tp(e,t,r){var n,i={},o=null,s=null;if(t!=null)for(n in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)Cp.call(t,n)&&!kp.hasOwnProperty(n)&&(i[n]=t[n]);var a=arguments.length-2;if(a===1)i.children=r;else if(1>>1,V=z[C];if(0>>1;Ci(A,R))Ki(te,A)?(z[C]=te,z[K]=R,C=K):(z[C]=A,z[_]=R,C=_);else if(Ki(te,R))z[C]=te,z[K]=R,C=K;else break e}}return Q}function i(z,Q){var R=z.sortIndex-Q.sortIndex;return R!==0?R:z.id-Q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],f=[],d=1,m=null,N=3,S=!1,v=!1,O=!1,E=typeof setTimeout=="function"?setTimeout:null,u=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(z){for(var Q=r(f);Q!==null;){if(Q.callback===null)n(f);else if(Q.startTime<=z)n(f),Q.sortIndex=Q.expirationTime,t(l,Q);else break;Q=r(f)}}function P(z){if(O=!1,p(z),!v)if(r(l)!==null)v=!0,B(j);else{var Q=r(f);Q!==null&&Z(P,Q.startTime-z)}}function j(z,Q){v=!1,O&&(O=!1,u(h),h=-1),S=!0;var R=N;try{for(p(Q),m=r(l);m!==null&&(!(m.expirationTime>Q)||z&&!x());){var C=m.callback;if(typeof C=="function"){m.callback=null,N=m.priorityLevel;var V=C(m.expirationTime<=Q);Q=e.unstable_now(),typeof V=="function"?m.callback=V:m===r(l)&&n(l),p(Q)}else n(l);m=r(l)}if(m!==null)var M=!0;else{var _=r(f);_!==null&&Z(P,_.startTime-Q),M=!1}return M}finally{m=null,N=R,S=!1}}var g=!1,$=null,h=-1,I=5,y=-1;function x(){return!(e.unstable_now()-yz||125C?(z.sortIndex=R,t(f,z),r(l)===null&&z===r(f)&&(O?(u(h),h=-1):O=!0,Z(P,R-C))):(z.sortIndex=V,t(l,z),v||S||(v=!0,B(j))),z},e.unstable_shouldYield=x,e.unstable_wrapCallback=function(z){var Q=N;return function(){var R=N;N=Q;try{return z.apply(this,arguments)}finally{N=R}}}})(bp);jp.exports=bp;var wv=jp.exports;/** + */(function(e){function t(z,Q){var R=z.length;z.push(Q);e:for(;0>>1,V=z[C];if(0>>1;Ci(A,R))Ki(te,A)?(z[C]=te,z[K]=R,C=K):(z[C]=A,z[_]=R,C=_);else if(Ki(te,R))z[C]=te,z[K]=R,C=K;else break e}}return Q}function i(z,Q){var R=z.sortIndex-Q.sortIndex;return R!==0?R:z.id-Q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],f=[],d=1,m=null,N=3,S=!1,v=!1,O=!1,E=typeof setTimeout=="function"?setTimeout:null,u=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(z){for(var Q=r(f);Q!==null;){if(Q.callback===null)n(f);else if(Q.startTime<=z)n(f),Q.sortIndex=Q.expirationTime,t(l,Q);else break;Q=r(f)}}function I(z){if(O=!1,p(z),!v)if(r(l)!==null)v=!0,B(j);else{var Q=r(f);Q!==null&&Z(I,Q.startTime-z)}}function j(z,Q){v=!1,O&&(O=!1,u(h),h=-1),S=!0;var R=N;try{for(p(Q),m=r(l);m!==null&&(!(m.expirationTime>Q)||z&&!x());){var C=m.callback;if(typeof C=="function"){m.callback=null,N=m.priorityLevel;var V=C(m.expirationTime<=Q);Q=e.unstable_now(),typeof V=="function"?m.callback=V:m===r(l)&&n(l),p(Q)}else n(l);m=r(l)}if(m!==null)var M=!0;else{var _=r(f);_!==null&&Z(I,_.startTime-Q),M=!1}return M}finally{m=null,N=R,S=!1}}var g=!1,$=null,h=-1,P=5,y=-1;function x(){return!(e.unstable_now()-yz||125C?(z.sortIndex=R,t(f,z),r(l)===null&&z===r(f)&&(O?(u(h),h=-1):O=!0,Z(I,R-C))):(z.sortIndex=V,t(l,z),v||S||(v=!0,B(j))),z},e.unstable_shouldYield=x,e.unstable_wrapCallback=function(z){var Q=N;return function(){var R=N;N=Q;try{return z.apply(this,arguments)}finally{N=R}}}})(Dp);bp.exports=Dp;var vv=bp.exports;/** * @license React * react-dom.production.min.js * @@ -30,26 +30,26 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Dp=oe,Rt=wv;function ee(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ql=Object.prototype.hasOwnProperty,$v=/^[: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]*$/,cd={},fd={};function Ev(e){return ql.call(fd,e)?!0:ql.call(cd,e)?!1:$v.test(e)?fd[e]=!0:(cd[e]=!0,!1)}function _v(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Sv(e,t,r,n){if(t===null||typeof t>"u"||_v(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function gt(e,t,r,n,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var ot={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ot[e]=new gt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ot[t]=new gt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ot[e]=new gt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ot[e]=new gt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ot[e]=new gt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ot[e]=new gt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ot[e]=new gt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ot[e]=new gt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ot[e]=new gt(e,5,!1,e.toLowerCase(),null,!1,!1)});var cc=/[\-:]([a-z])/g;function fc(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(cc,fc);ot[t]=new gt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(cc,fc);ot[t]=new gt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(cc,fc);ot[t]=new gt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ot[e]=new gt(e,1,!1,e.toLowerCase(),null,!1,!1)});ot.xlinkHref=new gt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ot[e]=new gt(e,1,!1,e.toLowerCase(),null,!0,!0)});function dc(e,t,r,n){var i=ot.hasOwnProperty(t)?ot[t]:null;(i!==null?i.type!==0:n||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ql=Object.prototype.hasOwnProperty,$v=/^[: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]*$/,cd={},fd={};function Ev(e){return ql.call(fd,e)?!0:ql.call(cd,e)?!1:$v.test(e)?fd[e]=!0:(cd[e]=!0,!1)}function _v(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Sv(e,t,r,n){if(t===null||typeof t>"u"||_v(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function gt(e,t,r,n,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var ot={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ot[e]=new gt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ot[t]=new gt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ot[e]=new gt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ot[e]=new gt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ot[e]=new gt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ot[e]=new gt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ot[e]=new gt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ot[e]=new gt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ot[e]=new gt(e,5,!1,e.toLowerCase(),null,!1,!1)});var cc=/[\-:]([a-z])/g;function fc(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(cc,fc);ot[t]=new gt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(cc,fc);ot[t]=new gt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(cc,fc);ot[t]=new gt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ot[e]=new gt(e,1,!1,e.toLowerCase(),null,!1,!1)});ot.xlinkHref=new gt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ot[e]=new gt(e,1,!1,e.toLowerCase(),null,!0,!0)});function dc(e,t,r,n){var i=ot.hasOwnProperty(t)?ot[t]:null;(i!==null?i.type!==0:n||!(2a||i[s]!==o[a]){var l=` -`+i[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{il=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?qi(e):""}function Ov(e){switch(e.tag){case 5:return qi(e.type);case 16:return qi("Lazy");case 13:return qi("Suspense");case 19:return qi("SuspenseList");case 0:case 2:case 15:return e=ol(e.type,!1),e;case 11:return e=ol(e.type.render,!1),e;case 1:return e=ol(e.type,!0),e;default:return""}}function Jl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case qn:return"Fragment";case Wn:return"Portal";case Yl:return"Profiler";case hc:return"StrictMode";case Ql:return"Suspense";case Xl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Mp:return(e.displayName||"Context")+".Consumer";case xp:return(e._context.displayName||"Context")+".Provider";case pc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case mc:return t=e.displayName||null,t!==null?t:Jl(e.type)||"Memo";case Fr:t=e._payload,e=e._init;try{return Jl(e(t))}catch{}}return null}function Nv(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Jl(t);case 8:return t===hc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function nn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Vp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Pv(e){var t=Vp(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){n=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(s){n=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function is(e){e._valueTracker||(e._valueTracker=Pv(e))}function Up(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Vp(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Ys(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}}function Zl(e,t){var r=t.checked;return Me({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function hd(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=nn(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function zp(e,t){t=t.checked,t!=null&&dc(e,"checked",t,!1)}function eu(e,t){zp(e,t);var r=nn(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?tu(e,t.type,r):t.hasOwnProperty("defaultValue")&&tu(e,t.type,nn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function pd(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function tu(e,t,r){(t!=="number"||Ys(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Yi=Array.isArray;function si(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=os.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function vo(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var eo={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Iv=["Webkit","ms","Moz","O"];Object.keys(eo).forEach(function(e){Iv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),eo[t]=eo[e]})});function Gp(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||eo.hasOwnProperty(e)&&eo[e]?(""+t).trim():t+"px"}function Wp(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=Gp(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var Cv=Me({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function iu(e,t){if(t){if(Cv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ee(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ee(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(ee(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ee(62))}}function ou(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 su=null;function gc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var au=null,ai=null,li=null;function yd(e){if(e=Uo(e)){if(typeof au!="function")throw Error(ee(280));var t=e.stateNode;t&&(t=ba(t),au(e.stateNode,e.type,t))}}function qp(e){ai?li?li.push(e):li=[e]:ai=e}function Yp(){if(ai){var e=ai,t=li;if(li=ai=null,yd(e),t)for(e=0;e>>=0,e===0?32:31-(Fv(e)/Vv|0)|0}var ss=64,as=4194304;function Qi(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Zs(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,i=e.suspendedLanes,o=e.pingedLanes,s=r&268435455;if(s!==0){var a=s&~i;a!==0?n=Qi(a):(o&=s,o!==0&&(n=Qi(o)))}else s=r&~i,s!==0?n=Qi(s):o!==0&&(n=Qi(o));if(n===0)return 0;if(t!==0&&t!==n&&!(t&i)&&(i=n&-n,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function Fo(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-er(t),e[t]=r}function Hv(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=ro),Pd=" ",Id=!1;function mm(e,t){switch(e){case"keyup":return v0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Yn=!1;function $0(e,t){switch(e){case"compositionend":return gm(t);case"keypress":return t.which!==32?null:(Id=!0,Pd);case"textInput":return e=t.data,e===Pd&&Id?null:e;default:return null}}function E0(e,t){if(Yn)return e==="compositionend"||!Oc&&mm(e,t)?(e=hm(),bs=Ec=Br=null,Yn=!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)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Ad(r)}}function $m(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?$m(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Em(){for(var e=window,t=Ys();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Ys(e.document)}return t}function Nc(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")}function T0(e){var t=Em(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&$m(r.ownerDocument.documentElement,r)){if(n!==null&&Nc(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=r.textContent.length,o=Math.min(n.start,i);n=n.end===void 0?o:Math.min(n.end,i),!e.extend&&o>n&&(i=n,n=o,o=i),i=Rd(r,o);var s=Rd(r,n);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>n?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Qn=null,hu=null,io=null,pu=!1;function jd(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;pu||Qn==null||Qn!==Ys(n)||(n=Qn,"selectionStart"in n&&Nc(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),io&&Oo(io,n)||(io=n,n=ra(hu,"onSelect"),0Zn||(e.current=$u[Zn],$u[Zn]=null,Zn--)}function Pe(e,t){Zn++,$u[Zn]=e.current,e.current=t}var on={},ft=ln(on),St=ln(!1),kn=on;function mi(e,t){var r=e.type.contextTypes;if(!r)return on;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in r)i[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ot(e){return e=e.childContextTypes,e!=null}function ia(){Te(St),Te(ft)}function Vd(e,t,r){if(ft.current!==on)throw Error(ee(168));Pe(ft,t),Pe(St,r)}function Tm(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in t))throw Error(ee(108,Nv(e)||"Unknown",i));return Me({},r,n)}function oa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||on,kn=ft.current,Pe(ft,e),Pe(St,St.current),!0}function Ud(e,t,r){var n=e.stateNode;if(!n)throw Error(ee(169));r?(e=Tm(e,t,kn),n.__reactInternalMemoizedMergedChildContext=e,Te(St),Te(ft),Pe(ft,e)):Te(St),Pe(St,r)}var Sr=null,Da=!1,wl=!1;function Am(e){Sr===null?Sr=[e]:Sr.push(e)}function z0(e){Da=!0,Am(e)}function un(){if(!wl&&Sr!==null){wl=!0;var e=0,t=Oe;try{var r=Sr;for(Oe=1;e>=s,i-=s,Nr=1<<32-er(t)+i|r<h?(I=$,$=null):I=$.sibling;var y=N(u,$,p[h],P);if(y===null){$===null&&($=I);break}e&&$&&y.alternate===null&&t(u,$),c=o(y,c,h),g===null?j=y:g.sibling=y,g=y,$=I}if(h===p.length)return r(u,$),De&&mn(u,h),j;if($===null){for(;hh?(I=$,$=null):I=$.sibling;var x=N(u,$,y.value,P);if(x===null){$===null&&($=I);break}e&&$&&x.alternate===null&&t(u,$),c=o(x,c,h),g===null?j=x:g.sibling=x,g=x,$=I}if(y.done)return r(u,$),De&&mn(u,h),j;if($===null){for(;!y.done;h++,y=p.next())y=m(u,y.value,P),y!==null&&(c=o(y,c,h),g===null?j=y:g.sibling=y,g=y);return De&&mn(u,h),j}for($=n(u,$);!y.done;h++,y=p.next())y=S($,u,h,y.value,P),y!==null&&(e&&y.alternate!==null&&$.delete(y.key===null?h:y.key),c=o(y,c,h),g===null?j=y:g.sibling=y,g=y);return e&&$.forEach(function(F){return t(u,F)}),De&&mn(u,h),j}function E(u,c,p,P){if(typeof p=="object"&&p!==null&&p.type===qn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case ns:e:{for(var j=p.key,g=c;g!==null;){if(g.key===j){if(j=p.type,j===qn){if(g.tag===7){r(u,g.sibling),c=i(g,p.props.children),c.return=u,u=c;break e}}else if(g.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===Fr&&qd(j)===g.type){r(u,g.sibling),c=i(g,p.props),c.ref=Vi(u,g,p),c.return=u,u=c;break e}r(u,g);break}else t(u,g);g=g.sibling}p.type===qn?(c=In(p.props.children,u.mode,P,p.key),c.return=u,u=c):(P=zs(p.type,p.key,p.props,null,u.mode,P),P.ref=Vi(u,c,p),P.return=u,u=P)}return s(u);case Wn:e:{for(g=p.key;c!==null;){if(c.key===g)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){r(u,c.sibling),c=i(c,p.children||[]),c.return=u,u=c;break e}else{r(u,c);break}else t(u,c);c=c.sibling}c=Il(p,u.mode,P),c.return=u,u=c}return s(u);case Fr:return g=p._init,E(u,c,g(p._payload),P)}if(Yi(p))return v(u,c,p,P);if(Di(p))return O(u,c,p,P);ps(u,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(r(u,c.sibling),c=i(c,p),c.return=u,u=c):(r(u,c),c=Pl(p,u.mode,P),c.return=u,u=c),s(u)):r(u,c)}return E}var yi=Fm(!0),Vm=Fm(!1),zo={},yr=ln(zo),Co=ln(zo),ko=ln(zo);function Sn(e){if(e===zo)throw Error(ee(174));return e}function bc(e,t){switch(Pe(ko,t),Pe(Co,e),Pe(yr,zo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:nu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=nu(t,e)}Te(yr),Pe(yr,t)}function vi(){Te(yr),Te(Co),Te(ko)}function Um(e){Sn(ko.current);var t=Sn(yr.current),r=nu(t,e.type);t!==r&&(Pe(Co,e),Pe(yr,r))}function Dc(e){Co.current===e&&(Te(yr),Te(Co))}var Le=ln(0);function fa(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)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 $l=[];function Lc(){for(var e=0;e<$l.length;e++)$l[e]._workInProgressVersionPrimary=null;$l.length=0}var xs=br.ReactCurrentDispatcher,El=br.ReactCurrentBatchConfig,An=0,xe=null,Ye=null,Ze=null,da=!1,oo=!1,To=0,H0=0;function st(){throw Error(ee(321))}function xc(e,t){if(t===null)return!1;for(var r=0;rr?r:4,e(!0);var n=El.transition;El.transition={};try{e(!1),t()}finally{Oe=r,El.transition=n}}function ng(){return Ht().memoizedState}function G0(e,t,r){var n=Zr(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},ig(e))og(t,r);else if(r=Dm(e,t,r,n),r!==null){var i=pt();tr(r,e,n,i),sg(r,t,n)}}function W0(e,t,r){var n=Zr(e),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(ig(e))og(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,r);if(i.hasEagerState=!0,i.eagerState=a,nr(a,s)){var l=t.interleaved;l===null?(i.next=i,Rc(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}r=Dm(e,t,i,n),r!==null&&(i=pt(),tr(r,e,n,i),sg(r,t,n))}}function ig(e){var t=e.alternate;return e===xe||t!==null&&t===xe}function og(e,t){oo=da=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function sg(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,vc(e,r)}}var ha={readContext:Bt,useCallback:st,useContext:st,useEffect:st,useImperativeHandle:st,useInsertionEffect:st,useLayoutEffect:st,useMemo:st,useReducer:st,useRef:st,useState:st,useDebugValue:st,useDeferredValue:st,useTransition:st,useMutableSource:st,useSyncExternalStore:st,useId:st,unstable_isNewReconciler:!1},q0={readContext:Bt,useCallback:function(e,t){return dr().memoizedState=[e,t===void 0?null:t],e},useContext:Bt,useEffect:Qd,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Ms(4194308,4,Jm.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Ms(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ms(4,2,e,t)},useMemo:function(e,t){var r=dr();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=dr();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=G0.bind(null,xe,e),[n.memoizedState,e]},useRef:function(e){var t=dr();return e={current:e},t.memoizedState=e},useState:Yd,useDebugValue:Uc,useDeferredValue:function(e){return dr().memoizedState=e},useTransition:function(){var e=Yd(!1),t=e[0];return e=K0.bind(null,e[1]),dr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=xe,i=dr();if(De){if(r===void 0)throw Error(ee(407));r=r()}else{if(r=t(),et===null)throw Error(ee(349));An&30||Hm(n,t,r)}i.memoizedState=r;var o={value:r,getSnapshot:t};return i.queue=o,Qd(Gm.bind(null,n,o,e),[e]),n.flags|=2048,Ro(9,Km.bind(null,n,o,r,t),void 0,null),r},useId:function(){var e=dr(),t=et.identifierPrefix;if(De){var r=Pr,n=Nr;r=(n&~(1<<32-er(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=To++,0")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{il=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?qi(e):""}function Ov(e){switch(e.tag){case 5:return qi(e.type);case 16:return qi("Lazy");case 13:return qi("Suspense");case 19:return qi("SuspenseList");case 0:case 2:case 15:return e=ol(e.type,!1),e;case 11:return e=ol(e.type.render,!1),e;case 1:return e=ol(e.type,!0),e;default:return""}}function Jl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Wn:return"Fragment";case Gn:return"Portal";case Yl:return"Profiler";case hc:return"StrictMode";case Ql:return"Suspense";case Xl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Mp:return(e.displayName||"Context")+".Consumer";case xp:return(e._context.displayName||"Context")+".Provider";case pc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case mc:return t=e.displayName||null,t!==null?t:Jl(e.type)||"Memo";case Fr:t=e._payload,e=e._init;try{return Jl(e(t))}catch{}}return null}function Nv(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Jl(t);case 8:return t===hc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function nn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Vp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Iv(e){var t=Vp(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){n=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(s){n=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function is(e){e._valueTracker||(e._valueTracker=Iv(e))}function Up(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Vp(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Ys(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}}function Zl(e,t){var r=t.checked;return Me({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function hd(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=nn(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function zp(e,t){t=t.checked,t!=null&&dc(e,"checked",t,!1)}function eu(e,t){zp(e,t);var r=nn(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?tu(e,t.type,r):t.hasOwnProperty("defaultValue")&&tu(e,t.type,nn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function pd(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function tu(e,t,r){(t!=="number"||Ys(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Yi=Array.isArray;function oi(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=os.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function vo(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var eo={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Pv=["Webkit","ms","Moz","O"];Object.keys(eo).forEach(function(e){Pv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),eo[t]=eo[e]})});function Gp(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||eo.hasOwnProperty(e)&&eo[e]?(""+t).trim():t+"px"}function Wp(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=Gp(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var Cv=Me({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function iu(e,t){if(t){if(Cv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ee(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ee(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(ee(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ee(62))}}function ou(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 su=null;function gc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var au=null,si=null,ai=null;function yd(e){if(e=Uo(e)){if(typeof au!="function")throw Error(ee(280));var t=e.stateNode;t&&(t=ba(t),au(e.stateNode,e.type,t))}}function qp(e){si?ai?ai.push(e):ai=[e]:si=e}function Yp(){if(si){var e=si,t=ai;if(ai=si=null,yd(e),t)for(e=0;e>>=0,e===0?32:31-(Fv(e)/Vv|0)|0}var ss=64,as=4194304;function Qi(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Zs(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,i=e.suspendedLanes,o=e.pingedLanes,s=r&268435455;if(s!==0){var a=s&~i;a!==0?n=Qi(a):(o&=s,o!==0&&(n=Qi(o)))}else s=r&~i,s!==0?n=Qi(s):o!==0&&(n=Qi(o));if(n===0)return 0;if(t!==0&&t!==n&&!(t&i)&&(i=n&-n,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function Fo(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-er(t),e[t]=r}function Hv(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=ro),Id=" ",Pd=!1;function mm(e,t){switch(e){case"keyup":return v0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var qn=!1;function $0(e,t){switch(e){case"compositionend":return gm(t);case"keypress":return t.which!==32?null:(Pd=!0,Id);case"textInput":return e=t.data,e===Id&&Pd?null:e;default:return null}}function E0(e,t){if(qn)return e==="compositionend"||!Oc&&mm(e,t)?(e=hm(),bs=Ec=Br=null,qn=!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)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Ad(r)}}function $m(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?$m(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Em(){for(var e=window,t=Ys();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Ys(e.document)}return t}function Nc(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")}function T0(e){var t=Em(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&$m(r.ownerDocument.documentElement,r)){if(n!==null&&Nc(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=r.textContent.length,o=Math.min(n.start,i);n=n.end===void 0?o:Math.min(n.end,i),!e.extend&&o>n&&(i=n,n=o,o=i),i=Rd(r,o);var s=Rd(r,n);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>n?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Yn=null,hu=null,io=null,pu=!1;function jd(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;pu||Yn==null||Yn!==Ys(n)||(n=Yn,"selectionStart"in n&&Nc(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),io&&Oo(io,n)||(io=n,n=ra(hu,"onSelect"),0Jn||(e.current=$u[Jn],$u[Jn]=null,Jn--)}function Ie(e,t){Jn++,$u[Jn]=e.current,e.current=t}var on={},ft=ln(on),St=ln(!1),Cn=on;function mi(e,t){var r=e.type.contextTypes;if(!r)return on;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in r)i[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ot(e){return e=e.childContextTypes,e!=null}function ia(){Te(St),Te(ft)}function Vd(e,t,r){if(ft.current!==on)throw Error(ee(168));Ie(ft,t),Ie(St,r)}function Tm(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in t))throw Error(ee(108,Nv(e)||"Unknown",i));return Me({},r,n)}function oa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||on,Cn=ft.current,Ie(ft,e),Ie(St,St.current),!0}function Ud(e,t,r){var n=e.stateNode;if(!n)throw Error(ee(169));r?(e=Tm(e,t,Cn),n.__reactInternalMemoizedMergedChildContext=e,Te(St),Te(ft),Ie(ft,e)):Te(St),Ie(St,r)}var Sr=null,Da=!1,wl=!1;function Am(e){Sr===null?Sr=[e]:Sr.push(e)}function z0(e){Da=!0,Am(e)}function un(){if(!wl&&Sr!==null){wl=!0;var e=0,t=Oe;try{var r=Sr;for(Oe=1;e>=s,i-=s,Nr=1<<32-er(t)+i|r<h?(P=$,$=null):P=$.sibling;var y=N(u,$,p[h],I);if(y===null){$===null&&($=P);break}e&&$&&y.alternate===null&&t(u,$),c=o(y,c,h),g===null?j=y:g.sibling=y,g=y,$=P}if(h===p.length)return r(u,$),De&&mn(u,h),j;if($===null){for(;hh?(P=$,$=null):P=$.sibling;var x=N(u,$,y.value,I);if(x===null){$===null&&($=P);break}e&&$&&x.alternate===null&&t(u,$),c=o(x,c,h),g===null?j=x:g.sibling=x,g=x,$=P}if(y.done)return r(u,$),De&&mn(u,h),j;if($===null){for(;!y.done;h++,y=p.next())y=m(u,y.value,I),y!==null&&(c=o(y,c,h),g===null?j=y:g.sibling=y,g=y);return De&&mn(u,h),j}for($=n(u,$);!y.done;h++,y=p.next())y=S($,u,h,y.value,I),y!==null&&(e&&y.alternate!==null&&$.delete(y.key===null?h:y.key),c=o(y,c,h),g===null?j=y:g.sibling=y,g=y);return e&&$.forEach(function(F){return t(u,F)}),De&&mn(u,h),j}function E(u,c,p,I){if(typeof p=="object"&&p!==null&&p.type===Wn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case ns:e:{for(var j=p.key,g=c;g!==null;){if(g.key===j){if(j=p.type,j===Wn){if(g.tag===7){r(u,g.sibling),c=i(g,p.props.children),c.return=u,u=c;break e}}else if(g.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===Fr&&Hd(j)===g.type){r(u,g.sibling),c=i(g,p.props),c.ref=Vi(u,g,p),c.return=u,u=c;break e}r(u,g);break}else t(u,g);g=g.sibling}p.type===Wn?(c=Pn(p.props.children,u.mode,I,p.key),c.return=u,u=c):(I=zs(p.type,p.key,p.props,null,u.mode,I),I.ref=Vi(u,c,p),I.return=u,u=I)}return s(u);case Gn:e:{for(g=p.key;c!==null;){if(c.key===g)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){r(u,c.sibling),c=i(c,p.children||[]),c.return=u,u=c;break e}else{r(u,c);break}else t(u,c);c=c.sibling}c=Pl(p,u.mode,I),c.return=u,u=c}return s(u);case Fr:return g=p._init,E(u,c,g(p._payload),I)}if(Yi(p))return v(u,c,p,I);if(Di(p))return O(u,c,p,I);ps(u,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(r(u,c.sibling),c=i(c,p),c.return=u,u=c):(r(u,c),c=Il(p,u.mode,I),c.return=u,u=c),s(u)):r(u,c)}return E}var yi=Dm(!0),Lm=Dm(!1),la=ln(null),ua=null,ti=null,kc=null;function Tc(){kc=ti=ua=null}function Ac(e){var t=la.current;Te(la),e._currentValue=t}function Su(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function ui(e,t){ua=e,kc=ti=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Et=!0),e.firstContext=null)}function Bt(e){var t=e._currentValue;if(kc!==e)if(e={context:e,memoizedValue:t,next:null},ti===null){if(ua===null)throw Error(ee(308));ti=e,ua.dependencies={lanes:0,firstContext:e}}else ti=ti.next=e;return t}var _n=null;function Rc(e){_n===null?_n=[e]:_n.push(e)}function xm(e,t,r,n){var i=t.interleaved;return i===null?(r.next=r,Rc(t)):(r.next=i.next,i.next=r),t.interleaved=r,Rr(e,n)}function Rr(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var Vr=!1;function jc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Mm(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Pr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Xr(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,$e&2){var i=n.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),n.pending=t,Rr(e,r)}return i=n.interleaved,i===null?(t.next=t,Rc(n)):(t.next=i.next,i.next=t),n.interleaved=t,Rr(e,r)}function Ls(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,vc(e,r)}}function Kd(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,o=null;if(r=r.firstBaseUpdate,r!==null){do{var s={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};o===null?i=o=s:o=o.next=s,r=r.next}while(r!==null);o===null?i=o=t:o=o.next=t}else i=o=t;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function ca(e,t,r,n){var i=e.updateQueue;Vr=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,f=l.next;l.next=null,s===null?o=f:s.next=f,s=l;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==s&&(a===null?d.firstBaseUpdate=f:a.next=f,d.lastBaseUpdate=l))}if(o!==null){var m=i.baseState;s=0,d=f=l=null,a=o;do{var N=a.lane,S=a.eventTime;if((n&N)===N){d!==null&&(d=d.next={eventTime:S,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,O=a;switch(N=t,S=r,O.tag){case 1:if(v=O.payload,typeof v=="function"){m=v.call(S,m,N);break e}m=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=O.payload,N=typeof v=="function"?v.call(S,m,N):v,N==null)break e;m=Me({},m,N);break e;case 2:Vr=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,N=i.effects,N===null?i.effects=[a]:N.push(a))}else S={eventTime:S,lane:N,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(f=d=S,l=m):d=d.next=S,s|=N;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;N=a,a=N.next,N.next=null,i.lastBaseUpdate=N,i.shared.pending=null}}while(!0);if(d===null&&(l=m),i.baseState=l,i.firstBaseUpdate=f,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);An|=s,e.lanes=s,e.memoizedState=m}}function Gd(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;tr?r:4,e(!0);var n=El.transition;El.transition={};try{e(!1),t()}finally{Oe=r,El.transition=n}}function tg(){return Ht().memoizedState}function G0(e,t,r){var n=Zr(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},rg(e))ng(t,r);else if(r=xm(e,t,r,n),r!==null){var i=pt();tr(r,e,n,i),ig(r,t,n)}}function W0(e,t,r){var n=Zr(e),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(rg(e))ng(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,r);if(i.hasEagerState=!0,i.eagerState=a,nr(a,s)){var l=t.interleaved;l===null?(i.next=i,Rc(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}r=xm(e,t,i,n),r!==null&&(i=pt(),tr(r,e,n,i),ig(r,t,n))}}function rg(e){var t=e.alternate;return e===xe||t!==null&&t===xe}function ng(e,t){oo=da=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function ig(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,vc(e,r)}}var ha={readContext:Bt,useCallback:st,useContext:st,useEffect:st,useImperativeHandle:st,useInsertionEffect:st,useLayoutEffect:st,useMemo:st,useReducer:st,useRef:st,useState:st,useDebugValue:st,useDeferredValue:st,useTransition:st,useMutableSource:st,useSyncExternalStore:st,useId:st,unstable_isNewReconciler:!1},q0={readContext:Bt,useCallback:function(e,t){return dr().memoizedState=[e,t===void 0?null:t],e},useContext:Bt,useEffect:qd,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Ms(4194308,4,Qm.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Ms(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ms(4,2,e,t)},useMemo:function(e,t){var r=dr();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=dr();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=G0.bind(null,xe,e),[n.memoizedState,e]},useRef:function(e){var t=dr();return e={current:e},t.memoizedState=e},useState:Wd,useDebugValue:Uc,useDeferredValue:function(e){return dr().memoizedState=e},useTransition:function(){var e=Wd(!1),t=e[0];return e=K0.bind(null,e[1]),dr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=xe,i=dr();if(De){if(r===void 0)throw Error(ee(407));r=r()}else{if(r=t(),et===null)throw Error(ee(349));Tn&30||zm(n,t,r)}i.memoizedState=r;var o={value:r,getSnapshot:t};return i.queue=o,qd(Hm.bind(null,n,o,e),[e]),n.flags|=2048,Ro(9,Bm.bind(null,n,o,r,t),void 0,null),r},useId:function(){var e=dr(),t=et.identifierPrefix;if(De){var r=Ir,n=Nr;r=(n&~(1<<32-er(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=To++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=s.createElement(r,{is:n.is}):(e=s.createElement(r),r==="select"&&(s=e,n.multiple?s.multiple=!0:n.size&&(s.size=n.size))):e=s.createElementNS(e,r),e[hr]=t,e[Io]=n,mg(e,t,!1,!1),t.stateNode=e;e:{switch(s=ou(r,n),r){case"dialog":Ce("cancel",e),Ce("close",e),i=n;break;case"iframe":case"object":case"embed":Ce("load",e),i=n;break;case"video":case"audio":for(i=0;i$i&&(t.flags|=128,n=!0,Ui(o,!1),t.lanes=4194304)}else{if(!n)if(e=fa(s),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Ui(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!De)return at(t),null}else 2*Ge()-o.renderingStartTime>$i&&r!==1073741824&&(t.flags|=128,n=!0,Ui(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(r=o.last,r!==null?r.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ge(),t.sibling=null,r=Le.current,Pe(Le,n?r&1|2:r&1),t):(at(t),null);case 22:case 23:return Wc(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Ct&1073741824&&(at(t),t.subtreeFlags&6&&(t.flags|=8192)):at(t),null;case 24:return null;case 25:return null}throw Error(ee(156,t.tag))}function r1(e,t){switch(Ic(t),t.tag){case 1:return Ot(t.type)&&ia(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return vi(),Te(St),Te(ft),Lc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Dc(t),null;case 13:if(Te(Le),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ee(340));gi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Te(Le),null;case 4:return vi(),null;case 10:return Ac(t.type._context),null;case 22:case 23:return Wc(),null;case 24:return null;default:return null}}var gs=!1,ut=!1,n1=typeof WeakSet=="function"?WeakSet:Set,ie=null;function ni(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Fe(e,t,n)}else r.current=null}function Ru(e,t,r){try{r()}catch(n){Fe(e,t,n)}}var oh=!1;function i1(e,t){if(mu=ea,e=Em(),Nc(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var i=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break e}var s=0,a=-1,l=-1,f=0,d=0,m=e,N=null;t:for(;;){for(var S;m!==r||i!==0&&m.nodeType!==3||(a=s+i),m!==o||n!==0&&m.nodeType!==3||(l=s+n),m.nodeType===3&&(s+=m.nodeValue.length),(S=m.firstChild)!==null;)N=m,m=S;for(;;){if(m===e)break t;if(N===r&&++f===i&&(a=s),N===o&&++d===n&&(l=s),(S=m.nextSibling)!==null)break;m=N,N=m.parentNode}m=S}r=a===-1||l===-1?null:{start:a,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(gu={focusedElem:e,selectionRange:r},ea=!1,ie=t;ie!==null;)if(t=ie,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ie=e;else for(;ie!==null;){t=ie;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var O=v.memoizedProps,E=v.memoizedState,u=t.stateNode,c=u.getSnapshotBeforeUpdate(t.elementType===t.type?O:Qt(t.type,O),E);u.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ee(163))}}catch(P){Fe(t,t.return,P)}if(e=t.sibling,e!==null){e.return=t.return,ie=e;break}ie=t.return}return v=oh,oh=!1,v}function so(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Ru(t,r,o)}i=i.next}while(i!==n)}}function Ma(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function ju(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function vg(e){var t=e.alternate;t!==null&&(e.alternate=null,vg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[hr],delete t[Io],delete t[wu],delete t[V0],delete t[U0])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function wg(e){return e.tag===5||e.tag===3||e.tag===4}function sh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||wg(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.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 bu(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=na));else if(n!==4&&(e=e.child,e!==null))for(bu(e,t,r),e=e.sibling;e!==null;)bu(e,t,r),e=e.sibling}function Du(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Du(e,t,r),e=e.sibling;e!==null;)Du(e,t,r),e=e.sibling}var rt=null,Xt=!1;function Lr(e,t,r){for(r=r.child;r!==null;)$g(e,t,r),r=r.sibling}function $g(e,t,r){if(gr&&typeof gr.onCommitFiberUnmount=="function")try{gr.onCommitFiberUnmount(Ta,r)}catch{}switch(r.tag){case 5:ut||ni(r,t);case 6:var n=rt,i=Xt;rt=null,Lr(e,t,r),rt=n,Xt=i,rt!==null&&(Xt?(e=rt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):rt.removeChild(r.stateNode));break;case 18:rt!==null&&(Xt?(e=rt,r=r.stateNode,e.nodeType===8?vl(e.parentNode,r):e.nodeType===1&&vl(e,r),_o(e)):vl(rt,r.stateNode));break;case 4:n=rt,i=Xt,rt=r.stateNode.containerInfo,Xt=!0,Lr(e,t,r),rt=n,Xt=i;break;case 0:case 11:case 14:case 15:if(!ut&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&Ru(r,t,s),i=i.next}while(i!==n)}Lr(e,t,r);break;case 1:if(!ut&&(ni(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(a){Fe(r,t,a)}Lr(e,t,r);break;case 21:Lr(e,t,r);break;case 22:r.mode&1?(ut=(n=ut)||r.memoizedState!==null,Lr(e,t,r),ut=n):Lr(e,t,r);break;default:Lr(e,t,r)}}function ah(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new n1),t.forEach(function(n){var i=h1.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function Kt(e,t){var r=t.deletions;if(r!==null)for(var n=0;ni&&(i=s),n&=~o}if(n=i,n=Ge()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*s1(n/1960))-n,10e?16:e,Hr===null)var n=!1;else{if(e=Hr,Hr=null,ga=0,$e&6)throw Error(ee(331));var i=$e;for($e|=4,ie=e.current;ie!==null;){var o=ie,s=o.child;if(ie.flags&16){var a=o.deletions;if(a!==null){for(var l=0;lGe()-Kc?Pn(e,0):Hc|=r),Nt(e,t)}function Cg(e,t){t===0&&(e.mode&1?(t=as,as<<=1,!(as&130023424)&&(as=4194304)):t=1);var r=pt();e=Rr(e,t),e!==null&&(Fo(e,t,r),Nt(e,r))}function d1(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Cg(e,r)}function h1(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,i=e.memoizedState;i!==null&&(r=i.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(ee(314))}n!==null&&n.delete(t),Cg(e,r)}var kg;kg=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||St.current)Et=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return Et=!1,e1(e,t,r);Et=!!(e.flags&131072)}else Et=!1,De&&t.flags&1048576&&Rm(t,aa,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Fs(e,t),e=t.pendingProps;var i=mi(t,ft.current);ci(t,r),i=Mc(null,t,n,e,i,r);var o=Fc();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ot(n)?(o=!0,oa(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,jc(t),i.updater=La,t.stateNode=i,i._reactInternals=t,Nu(t,n,e,r),t=Cu(null,t,n,!0,o,r)):(t.tag=0,De&&o&&Pc(t),dt(null,t,i,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Fs(e,t),e=t.pendingProps,i=n._init,n=i(n._payload),t.type=n,i=t.tag=m1(n),e=Qt(n,e),i){case 0:t=Iu(null,t,n,e,r);break e;case 1:t=rh(null,t,n,e,r);break e;case 11:t=eh(null,t,n,e,r);break e;case 14:t=th(null,t,n,Qt(n.type,e),r);break e}throw Error(ee(306,n,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Qt(n,i),Iu(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Qt(n,i),rh(e,t,n,i,r);case 3:e:{if(dg(t),e===null)throw Error(ee(387));n=t.pendingProps,o=t.memoizedState,i=o.element,Lm(e,t),ca(t,n,null,r);var s=t.memoizedState;if(n=s.element,o.isDehydrated)if(o={element:n,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=wi(Error(ee(423)),t),t=nh(e,t,n,r,i);break e}else if(n!==i){i=wi(Error(ee(424)),t),t=nh(e,t,n,r,i);break e}else for(Tt=Qr(t.stateNode.containerInfo.firstChild),At=t,De=!0,Jt=null,r=Vm(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(gi(),n===i){t=jr(e,t,r);break e}dt(e,t,n,r)}t=t.child}return t;case 5:return Um(t),e===null&&_u(t),n=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,yu(n,i)?s=null:o!==null&&yu(n,o)&&(t.flags|=32),fg(e,t),dt(e,t,s,r),t.child;case 6:return e===null&&_u(t),null;case 13:return hg(e,t,r);case 4:return bc(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=yi(t,null,n,r):dt(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Qt(n,i),eh(e,t,n,i,r);case 7:return dt(e,t,t.pendingProps,r),t.child;case 8:return dt(e,t,t.pendingProps.children,r),t.child;case 12:return dt(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,Pe(la,n._currentValue),n._currentValue=s,o!==null)if(nr(o.value,s)){if(o.children===i.children&&!St.current){t=jr(e,t,r);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===n){if(o.tag===1){l=Ir(-1,r&-r),l.tag=2;var f=o.updateQueue;if(f!==null){f=f.shared;var d=f.pending;d===null?l.next=l:(l.next=d.next,d.next=l),f.pending=l}}o.lanes|=r,l=o.alternate,l!==null&&(l.lanes|=r),Su(o.return,r,t),a.lanes|=r;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(ee(341));s.lanes|=r,a=s.alternate,a!==null&&(a.lanes|=r),Su(s,r,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}dt(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=t.pendingProps.children,ci(t,r),i=Bt(i),n=n(i),t.flags|=1,dt(e,t,n,r),t.child;case 14:return n=t.type,i=Qt(n,t.pendingProps),i=Qt(n.type,i),th(e,t,n,i,r);case 15:return ug(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Qt(n,i),Fs(e,t),t.tag=1,Ot(n)?(e=!0,oa(t)):e=!1,ci(t,r),Mm(t,n,i),Nu(t,n,i,r),Cu(null,t,n,!0,e,r);case 19:return pg(e,t,r);case 22:return cg(e,t,r)}throw Error(ee(156,t.tag))};function Tg(e,t){return rm(e,t)}function p1(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ut(e,t,r,n){return new p1(e,t,r,n)}function Yc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function m1(e){if(typeof e=="function")return Yc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===pc)return 11;if(e===mc)return 14}return 2}function en(e,t){var r=e.alternate;return r===null?(r=Ut(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function zs(e,t,r,n,i,o){var s=2;if(n=e,typeof e=="function")Yc(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case qn:return In(r.children,i,o,t);case hc:s=8,i|=8;break;case Yl:return e=Ut(12,r,t,i|2),e.elementType=Yl,e.lanes=o,e;case Ql:return e=Ut(13,r,t,i),e.elementType=Ql,e.lanes=o,e;case Xl:return e=Ut(19,r,t,i),e.elementType=Xl,e.lanes=o,e;case Fp:return Va(r,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case xp:s=10;break e;case Mp:s=9;break e;case pc:s=11;break e;case mc:s=14;break e;case Fr:s=16,n=null;break e}throw Error(ee(130,e==null?e:typeof e,""))}return t=Ut(s,r,t,i),t.elementType=e,t.type=n,t.lanes=o,t}function In(e,t,r,n){return e=Ut(7,e,n,t),e.lanes=r,e}function Va(e,t,r,n){return e=Ut(22,e,n,t),e.elementType=Fp,e.lanes=r,e.stateNode={isHidden:!1},e}function Pl(e,t,r){return e=Ut(6,e,null,t),e.lanes=r,e}function Il(e,t,r){return t=Ut(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function g1(e,t,r,n,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=al(0),this.expirationTimes=al(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=al(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Qc(e,t,r,n,i,o,s,a,l){return e=new g1(e,t,r,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ut(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},jc(o),e}function y1(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(bg)}catch(e){console.error(e)}}bg(),Rp.exports=jt;var _1=Rp.exports,mh=_1;Wl.createRoot=mh.createRoot,Wl.hydrateRoot=mh.hydrateRoot;var S1=typeof window<"u",O1=function(e,t){return t!==void 0?t:S1?window.matchMedia(e).matches:!1},N1=function(e,t){var r=oe.useState(O1(e,t)),n=r[0],i=r[1];return oe.useEffect(function(){var o=!0,s=window.matchMedia(e),a=function(){o&&i(!!s.matches)};return s.addEventListener("change",a),i(s.matches),function(){o=!1,s.removeEventListener("change",a)}},[e]),n},Bo=class extends Error{constructor(e){super(e),Object.setPrototypeOf(this,Bo.prototype),this.name="OpenFeatureError"}},Cl={TARGETING_MATCH:"TARGETING_MATCH",SPLIT:"SPLIT",DISABLED:"DISABLED",DEFAULT:"DEFAULT",UNKNOWN:"UNKNOWN",STATIC:"STATIC",CACHED:"CACHED",ERROR:"ERROR"},Vu=class extends Bo{constructor(e){super(e),Object.setPrototypeOf(this,Vu.prototype),this.name="GeneralError",this.code="GENERAL"}},Uu=class extends Bo{constructor(e){super(e),Object.setPrototypeOf(this,Uu.prototype),this.name="FlagNotFoundError",this.code="FLAG_NOT_FOUND"}},Cn=class extends Bo{constructor(e){super(e),Object.setPrototypeOf(this,Cn.prototype),this.name="ParseError",this.code="PARSE_ERROR"}},zu=class extends Bo{constructor(e){super(e),Object.setPrototypeOf(this,zu.prototype),this.name="TypeMismatchError",this.code="TYPE_MISMATCH"}},Dg=class{error(...e){console.error(...e)}warn(...e){console.warn(...e)}info(){}debug(){}},P1=["error","warn","info","debug"],gh=class{constructor(e){this.fallbackLogger=new Dg;try{for(const t of P1)if(!e[t]||typeof e[t]!="function")throw new Error(`The provided logger is missing the ${t} method.`);this.logger=e}catch(t){console.error(t),console.error("Falling back to the default logger."),this.logger=this.fallbackLogger}}error(...e){this.log("error",...e)}warn(...e){this.log("warn",...e)}info(...e){this.log("info",...e)}debug(...e){this.log("debug",...e)}log(e,...t){try{this.logger[e](...t)}catch{this.fallbackLogger[e](...t)}}},Bu={exports:{}},Lg={},rr={},Ei={},Ho={},me={},bo={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends t{constructor(c){if(super(),!e.IDENTIFIER.test(c))throw new Error("CodeGen: name must be a valid identifier");this.str=c}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class n extends t{constructor(c){super(),this._items=typeof c=="string"?[c]:c}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const c=this._items[0];return c===""||c==='""'}get str(){var c;return(c=this._str)!==null&&c!==void 0?c:this._str=this._items.reduce((p,P)=>`${p}${P}`,"")}get names(){var c;return(c=this._names)!==null&&c!==void 0?c:this._names=this._items.reduce((p,P)=>(P instanceof r&&(p[P.str]=(p[P.str]||0)+1),p),{})}}e._Code=n,e.nil=new n("");function i(u,...c){const p=[u[0]];let P=0;for(;P{if(m.scopePath===void 0)throw new Error(`CodeGen: name "${m}" has no value`);return(0,t._)`${f}${m.scopePath}`})}scopeCode(f=this._values,d,m){return this._reduceValues(f,N=>{if(N.value===void 0)throw new Error(`CodeGen: name "${N}" has no value`);return N.value.code},d,m)}_reduceValues(f,d,m={},N){let S=t.nil;for(const v in f){const O=f[v];if(!O)continue;const E=m[v]=m[v]||new Map;O.forEach(u=>{if(E.has(u))return;E.set(u,n.Started);let c=d(u);if(c){const p=this.opts.es5?e.varKinds.var:e.varKinds.const;S=(0,t._)`${S}${p} ${u} = ${c};${this.opts._n}`}else if(c=N==null?void 0:N(u))S=(0,t._)`${S}${c}${this.opts._n}`;else throw new r(u);E.set(u,n.Completed)})}return S}}e.ValueScope=a})(Hu);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=bo,r=Hu;var n=bo;Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var i=Hu;Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return i.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return i.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return i.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return i.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class o{optimizeNodes(){return this}optimizeNames(_,A){return this}}class s extends o{constructor(_,A,K){super(),this.varKind=_,this.name=A,this.rhs=K}render({es5:_,_n:A}){const K=_?r.varKinds.var:this.varKind,te=this.rhs===void 0?"":` = ${this.rhs}`;return`${K} ${this.name}${te};`+A}optimizeNames(_,A){if(_[this.name.str])return this.rhs&&(this.rhs=U(this.rhs,_,A)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class a extends o{constructor(_,A,K){super(),this.lhs=_,this.rhs=A,this.sideEffects=K}render({_n:_}){return`${this.lhs} = ${this.rhs};`+_}optimizeNames(_,A){if(!(this.lhs instanceof t.Name&&!_[this.lhs.str]&&!this.sideEffects))return this.rhs=U(this.rhs,_,A),this}get names(){const _=this.lhs instanceof t.Name?{}:{...this.lhs.names};return Y(_,this.rhs)}}class l extends a{constructor(_,A,K,te){super(_,K,te),this.op=A}render({_n:_}){return`${this.lhs} ${this.op}= ${this.rhs};`+_}}class f extends o{constructor(_){super(),this.label=_,this.names={}}render({_n:_}){return`${this.label}:`+_}}class d extends o{constructor(_){super(),this.label=_,this.names={}}render({_n:_}){return`break${this.label?` ${this.label}`:""};`+_}}class m extends o{constructor(_){super(),this.error=_}render({_n:_}){return`throw ${this.error};`+_}get names(){return this.error.names}}class N extends o{constructor(_){super(),this.code=_}render({_n:_}){return`${this.code};`+_}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(_,A){return this.code=U(this.code,_,A),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class S extends o{constructor(_=[]){super(),this.nodes=_}render(_){return this.nodes.reduce((A,K)=>A+K.render(_),"")}optimizeNodes(){const{nodes:_}=this;let A=_.length;for(;A--;){const K=_[A].optimizeNodes();Array.isArray(K)?_.splice(A,1,...K):K?_[A]=K:_.splice(A,1)}return _.length>0?this:void 0}optimizeNames(_,A){const{nodes:K}=this;let te=K.length;for(;te--;){const q=K[te];q.optimizeNames(_,A)||(G(_,q.names),K.splice(te,1))}return K.length>0?this:void 0}get names(){return this.nodes.reduce((_,A)=>F(_,A.names),{})}}class v extends S{render(_){return"{"+_._n+super.render(_)+"}"+_._n}}class O extends S{}class E extends v{}E.kind="else";class u extends v{constructor(_,A){super(A),this.condition=_}render(_){let A=`if(${this.condition})`+super.render(_);return this.else&&(A+="else "+this.else.render(_)),A}optimizeNodes(){super.optimizeNodes();const _=this.condition;if(_===!0)return this.nodes;let A=this.else;if(A){const K=A.optimizeNodes();A=this.else=Array.isArray(K)?new E(K):K}if(A)return _===!1?A instanceof u?A:A.nodes:this.nodes.length?this:new u(B(_),A instanceof u?[A]:A.nodes);if(!(_===!1||!this.nodes.length))return this}optimizeNames(_,A){var K;if(this.else=(K=this.else)===null||K===void 0?void 0:K.optimizeNames(_,A),!!(super.optimizeNames(_,A)||this.else))return this.condition=U(this.condition,_,A),this}get names(){const _=super.names;return Y(_,this.condition),this.else&&F(_,this.else.names),_}}u.kind="if";class c extends v{}c.kind="for";class p extends c{constructor(_){super(),this.iteration=_}render(_){return`for(${this.iteration})`+super.render(_)}optimizeNames(_,A){if(super.optimizeNames(_,A))return this.iteration=U(this.iteration,_,A),this}get names(){return F(super.names,this.iteration.names)}}class P extends c{constructor(_,A,K,te){super(),this.varKind=_,this.name=A,this.from=K,this.to=te}render(_){const A=_.es5?r.varKinds.var:this.varKind,{name:K,from:te,to:q}=this;return`for(${A} ${K}=${te}; ${K}<${q}; ${K}++)`+super.render(_)}get names(){const _=Y(super.names,this.from);return Y(_,this.to)}}class j extends c{constructor(_,A,K,te){super(),this.loop=_,this.varKind=A,this.name=K,this.iterable=te}render(_){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(_)}optimizeNames(_,A){if(super.optimizeNames(_,A))return this.iterable=U(this.iterable,_,A),this}get names(){return F(super.names,this.iterable.names)}}class g extends v{constructor(_,A,K){super(),this.name=_,this.args=A,this.async=K}render(_){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(_)}}g.kind="func";class $ extends S{render(_){return"return "+super.render(_)}}$.kind="return";class h extends v{render(_){let A="try"+super.render(_);return this.catch&&(A+=this.catch.render(_)),this.finally&&(A+=this.finally.render(_)),A}optimizeNodes(){var _,A;return super.optimizeNodes(),(_=this.catch)===null||_===void 0||_.optimizeNodes(),(A=this.finally)===null||A===void 0||A.optimizeNodes(),this}optimizeNames(_,A){var K,te;return super.optimizeNames(_,A),(K=this.catch)===null||K===void 0||K.optimizeNames(_,A),(te=this.finally)===null||te===void 0||te.optimizeNames(_,A),this}get names(){const _=super.names;return this.catch&&F(_,this.catch.names),this.finally&&F(_,this.finally.names),_}}class I extends v{constructor(_){super(),this.error=_}render(_){return`catch(${this.error})`+super.render(_)}}I.kind="catch";class y extends v{render(_){return"finally"+super.render(_)}}y.kind="finally";class x{constructor(_,A={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...A,_n:A.lines?` -`:""},this._extScope=_,this._scope=new r.Scope({parent:_}),this._nodes=[new O]}toString(){return this._root.render(this.opts)}name(_){return this._scope.name(_)}scopeName(_){return this._extScope.name(_)}scopeValue(_,A){const K=this._extScope.value(_,A);return(this._values[K.prefix]||(this._values[K.prefix]=new Set)).add(K),K}getScopeValue(_,A){return this._extScope.getValue(_,A)}scopeRefs(_){return this._extScope.scopeRefs(_,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(_,A,K,te){const q=this._scope.toName(A);return K!==void 0&&te&&(this._constants[q.str]=K),this._leafNode(new s(_,q,K)),q}const(_,A,K){return this._def(r.varKinds.const,_,A,K)}let(_,A,K){return this._def(r.varKinds.let,_,A,K)}var(_,A,K){return this._def(r.varKinds.var,_,A,K)}assign(_,A,K){return this._leafNode(new a(_,A,K))}add(_,A){return this._leafNode(new l(_,e.operators.ADD,A))}code(_){return typeof _=="function"?_():_!==t.nil&&this._leafNode(new N(_)),this}object(..._){const A=["{"];for(const[K,te]of _)A.length>1&&A.push(","),A.push(K),(K!==te||this.opts.es5)&&(A.push(":"),(0,t.addCodeArg)(A,te));return A.push("}"),new t._Code(A)}if(_,A,K){if(this._blockNode(new u(_)),A&&K)this.code(A).else().code(K).endIf();else if(A)this.code(A).endIf();else if(K)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(_){return this._elseNode(new u(_))}else(){return this._elseNode(new E)}endIf(){return this._endBlockNode(u,E)}_for(_,A){return this._blockNode(_),A&&this.code(A).endFor(),this}for(_,A){return this._for(new p(_),A)}forRange(_,A,K,te,q=this.opts.es5?r.varKinds.var:r.varKinds.let){const w=this._scope.toName(_);return this._for(new P(q,w,A,K),()=>te(w))}forOf(_,A,K,te=r.varKinds.const){const q=this._scope.toName(_);if(this.opts.es5){const w=A instanceof t.Name?A:this.var("_arr",A);return this.forRange("_i",0,(0,t._)`${w}.length`,k=>{this.var(q,(0,t._)`${w}[${k}]`),K(q)})}return this._for(new j("of",te,q,A),()=>K(q))}forIn(_,A,K,te=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(_,(0,t._)`Object.keys(${A})`,K);const q=this._scope.toName(_);return this._for(new j("in",te,q,A),()=>K(q))}endFor(){return this._endBlockNode(c)}label(_){return this._leafNode(new f(_))}break(_){return this._leafNode(new d(_))}return(_){const A=new $;if(this._blockNode(A),this.code(_),A.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode($)}try(_,A,K){if(!A&&!K)throw new Error('CodeGen: "try" without "catch" and "finally"');const te=new h;if(this._blockNode(te),this.code(_),A){const q=this.name("e");this._currNode=te.catch=new I(q),A(q)}return K&&(this._currNode=te.finally=new y,this.code(K)),this._endBlockNode(I,y)}throw(_){return this._leafNode(new m(_))}block(_,A){return this._blockStarts.push(this._nodes.length),_&&this.code(_).endBlock(A),this}endBlock(_){const A=this._blockStarts.pop();if(A===void 0)throw new Error("CodeGen: not in self-balancing block");const K=this._nodes.length-A;if(K<0||_!==void 0&&K!==_)throw new Error(`CodeGen: wrong number of nodes: ${K} vs ${_} expected`);return this._nodes.length=A,this}func(_,A=t.nil,K,te){return this._blockNode(new g(_,A,K)),te&&this.code(te).endFunc(),this}endFunc(){return this._endBlockNode(g)}optimize(_=1){for(;_-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(_){return this._currNode.nodes.push(_),this}_blockNode(_){this._currNode.nodes.push(_),this._nodes.push(_)}_endBlockNode(_,A){const K=this._currNode;if(K instanceof _||A&&K instanceof A)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${A?`${_.kind}/${A.kind}`:_.kind}"`)}_elseNode(_){const A=this._currNode;if(!(A instanceof u))throw new Error('CodeGen: "else" without "if"');return this._currNode=A.else=_,this}get _root(){return this._nodes[0]}get _currNode(){const _=this._nodes;return _[_.length-1]}set _currNode(_){const A=this._nodes;A[A.length-1]=_}}e.CodeGen=x;function F(M,_){for(const A in _)M[A]=(M[A]||0)+(_[A]||0);return M}function Y(M,_){return _ instanceof t._CodeOrName?F(M,_.names):M}function U(M,_,A){if(M instanceof t.Name)return K(M);if(!te(M))return M;return new t._Code(M._items.reduce((q,w)=>(w instanceof t.Name&&(w=K(w)),w instanceof t._Code?q.push(...w._items):q.push(w),q),[]));function K(q){const w=A[q.str];return w===void 0||_[q.str]!==1?q:(delete _[q.str],w)}function te(q){return q instanceof t._Code&&q._items.some(w=>w instanceof t.Name&&_[w.str]===1&&A[w.str]!==void 0)}}function G(M,_){for(const A in _)M[A]=(M[A]||0)-(_[A]||0)}function B(M){return typeof M=="boolean"||typeof M=="number"||M===null?!M:(0,t._)`!${V(M)}`}e.not=B;const Z=C(e.operators.AND);function z(...M){return M.reduce(Z)}e.and=z;const Q=C(e.operators.OR);function R(...M){return M.reduce(Q)}e.or=R;function C(M){return(_,A)=>_===t.nil?A:A===t.nil?_:(0,t._)`${V(_)} ${M} ${V(A)}`}function V(M){return M instanceof t.Name?M:(0,t._)`(${M})`}})(me);var Ee={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.checkStrictMode=e.getErrorPath=e.Type=e.useFunc=e.setEvaluated=e.evaluatedPropsToName=e.mergeEvaluated=e.eachItem=e.unescapeJsonPointer=e.escapeJsonPointer=e.escapeFragment=e.unescapeFragment=e.schemaRefOrVal=e.schemaHasRulesButRef=e.schemaHasRules=e.checkUnknownRules=e.alwaysValidSchema=e.toHash=void 0;const t=me,r=bo;function n(g){const $={};for(const h of g)$[h]=!0;return $}e.toHash=n;function i(g,$){return typeof $=="boolean"?$:Object.keys($).length===0?!0:(o(g,$),!s($,g.self.RULES.all))}e.alwaysValidSchema=i;function o(g,$=g.schema){const{opts:h,self:I}=g;if(!h.strictSchema||typeof $=="boolean")return;const y=I.RULES.keywords;for(const x in $)y[x]||j(g,`unknown keyword: "${x}"`)}e.checkUnknownRules=o;function s(g,$){if(typeof g=="boolean")return!g;for(const h in g)if($[h])return!0;return!1}e.schemaHasRules=s;function a(g,$){if(typeof g=="boolean")return!g;for(const h in g)if(h!=="$ref"&&$.all[h])return!0;return!1}e.schemaHasRulesButRef=a;function l({topSchemaRef:g,schemaPath:$},h,I,y){if(!y){if(typeof h=="number"||typeof h=="boolean")return h;if(typeof h=="string")return(0,t._)`${h}`}return(0,t._)`${g}${$}${(0,t.getProperty)(I)}`}e.schemaRefOrVal=l;function f(g){return N(decodeURIComponent(g))}e.unescapeFragment=f;function d(g){return encodeURIComponent(m(g))}e.escapeFragment=d;function m(g){return typeof g=="number"?`${g}`:g.replace(/~/g,"~0").replace(/\//g,"~1")}e.escapeJsonPointer=m;function N(g){return g.replace(/~1/g,"/").replace(/~0/g,"~")}e.unescapeJsonPointer=N;function S(g,$){if(Array.isArray(g))for(const h of g)$(h);else $(g)}e.eachItem=S;function v({mergeNames:g,mergeToName:$,mergeValues:h,resultToName:I}){return(y,x,F,Y)=>{const U=F===void 0?x:F instanceof t.Name?(x instanceof t.Name?g(y,x,F):$(y,x,F),F):x instanceof t.Name?($(y,F,x),x):h(x,F);return Y===t.Name&&!(U instanceof t.Name)?I(y,U):U}}e.mergeEvaluated={props:v({mergeNames:(g,$,h)=>g.if((0,t._)`${h} !== true && ${$} !== undefined`,()=>{g.if((0,t._)`${$} === true`,()=>g.assign(h,!0),()=>g.assign(h,(0,t._)`${h} || {}`).code((0,t._)`Object.assign(${h}, ${$})`))}),mergeToName:(g,$,h)=>g.if((0,t._)`${h} !== true`,()=>{$===!0?g.assign(h,!0):(g.assign(h,(0,t._)`${h} || {}`),E(g,h,$))}),mergeValues:(g,$)=>g===!0?!0:{...g,...$},resultToName:O}),items:v({mergeNames:(g,$,h)=>g.if((0,t._)`${h} !== true && ${$} !== undefined`,()=>g.assign(h,(0,t._)`${$} === true ? true : ${h} > ${$} ? ${h} : ${$}`)),mergeToName:(g,$,h)=>g.if((0,t._)`${h} !== true`,()=>g.assign(h,$===!0?!0:(0,t._)`${h} > ${$} ? ${h} : ${$}`)),mergeValues:(g,$)=>g===!0?!0:Math.max(g,$),resultToName:(g,$)=>g.var("items",$)})};function O(g,$){if($===!0)return g.var("props",!0);const h=g.var("props",(0,t._)`{}`);return $!==void 0&&E(g,h,$),h}e.evaluatedPropsToName=O;function E(g,$,h){Object.keys(h).forEach(I=>g.assign((0,t._)`${$}${(0,t.getProperty)(I)}`,!0))}e.setEvaluated=E;const u={};function c(g,$){return g.scopeValue("func",{ref:$,code:u[$.code]||(u[$.code]=new r._Code($.code))})}e.useFunc=c;var p;(function(g){g[g.Num=0]="Num",g[g.Str=1]="Str"})(p=e.Type||(e.Type={}));function P(g,$,h){if(g instanceof t.Name){const I=$===p.Num;return h?I?(0,t._)`"[" + ${g} + "]"`:(0,t._)`"['" + ${g} + "']"`:I?(0,t._)`"/" + ${g}`:(0,t._)`"/" + ${g}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return h?(0,t.getProperty)(g).toString():"/"+m(g)}e.getErrorPath=P;function j(g,$,h=g.opts.strictSchema){if(h){if($=`strict mode: ${$}`,h===!0)throw new Error($);g.self.logger.warn($)}}e.checkStrictMode=j})(Ee);var vr={};Object.defineProperty(vr,"__esModule",{value:!0});const lt=me,I1={data:new lt.Name("data"),valCxt:new lt.Name("valCxt"),instancePath:new lt.Name("instancePath"),parentData:new lt.Name("parentData"),parentDataProperty:new lt.Name("parentDataProperty"),rootData:new lt.Name("rootData"),dynamicAnchors:new lt.Name("dynamicAnchors"),vErrors:new lt.Name("vErrors"),errors:new lt.Name("errors"),this:new lt.Name("this"),self:new lt.Name("self"),scope:new lt.Name("scope"),json:new lt.Name("json"),jsonPos:new lt.Name("jsonPos"),jsonLen:new lt.Name("jsonLen"),jsonPart:new lt.Name("jsonPart")};vr.default=I1;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=me,r=Ee,n=vr;e.keywordError={message:({keyword:E})=>(0,t.str)`must pass "${E}" keyword validation`},e.keyword$DataError={message:({keyword:E,schemaType:u})=>u?(0,t.str)`"${E}" keyword must be ${u} ($data)`:(0,t.str)`"${E}" keyword is invalid ($data)`};function i(E,u=e.keywordError,c,p){const{it:P}=E,{gen:j,compositeRule:g,allErrors:$}=P,h=m(E,u,c);p??(g||$)?l(j,h):f(P,(0,t._)`[${h}]`)}e.reportError=i;function o(E,u=e.keywordError,c){const{it:p}=E,{gen:P,compositeRule:j,allErrors:g}=p,$=m(E,u,c);l(P,$),j||g||f(p,n.default.vErrors)}e.reportExtraError=o;function s(E,u){E.assign(n.default.errors,u),E.if((0,t._)`${n.default.vErrors} !== null`,()=>E.if(u,()=>E.assign((0,t._)`${n.default.vErrors}.length`,u),()=>E.assign(n.default.vErrors,null)))}e.resetErrorsCount=s;function a({gen:E,keyword:u,schemaValue:c,data:p,errsCount:P,it:j}){if(P===void 0)throw new Error("ajv implementation error");const g=E.name("err");E.forRange("i",P,n.default.errors,$=>{E.const(g,(0,t._)`${n.default.vErrors}[${$}]`),E.if((0,t._)`${g}.instancePath === undefined`,()=>E.assign((0,t._)`${g}.instancePath`,(0,t.strConcat)(n.default.instancePath,j.errorPath))),E.assign((0,t._)`${g}.schemaPath`,(0,t.str)`${j.errSchemaPath}/${u}`),j.opts.verbose&&(E.assign((0,t._)`${g}.schema`,c),E.assign((0,t._)`${g}.data`,p))})}e.extendErrors=a;function l(E,u){const c=E.const("err",u);E.if((0,t._)`${n.default.vErrors} === null`,()=>E.assign(n.default.vErrors,(0,t._)`[${c}]`),(0,t._)`${n.default.vErrors}.push(${c})`),E.code((0,t._)`${n.default.errors}++`)}function f(E,u){const{gen:c,validateName:p,schemaEnv:P}=E;P.$async?c.throw((0,t._)`new ${E.ValidationError}(${u})`):(c.assign((0,t._)`${p}.errors`,u),c.return(!1))}const d={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function m(E,u,c){const{createErrors:p}=E.it;return p===!1?(0,t._)`{}`:N(E,u,c)}function N(E,u,c={}){const{gen:p,it:P}=E,j=[S(P,c),v(E,c)];return O(E,u,j),p.object(...j)}function S({errorPath:E},{instancePath:u}){const c=u?(0,t.str)`${E}${(0,r.getErrorPath)(u,r.Type.Str)}`:E;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,c)]}function v({keyword:E,it:{errSchemaPath:u}},{schemaPath:c,parentSchema:p}){let P=p?u:(0,t.str)`${u}/${E}`;return c&&(P=(0,t.str)`${P}${(0,r.getErrorPath)(c,r.Type.Str)}`),[d.schemaPath,P]}function O(E,{params:u,message:c},p){const{keyword:P,data:j,schemaValue:g,it:$}=E,{opts:h,propertyName:I,topSchemaRef:y,schemaPath:x}=$;p.push([d.keyword,P],[d.params,typeof u=="function"?u(E):u||(0,t._)`{}`]),h.messages&&p.push([d.message,typeof c=="function"?c(E):c]),h.verbose&&p.push([d.schema,g],[d.parentSchema,(0,t._)`${y}${x}`],[n.default.data,j]),I&&p.push([d.propertyName,I])}})(Ho);Object.defineProperty(Ei,"__esModule",{value:!0});Ei.boolOrEmptySchema=Ei.topBoolOrEmptySchema=void 0;const C1=Ho,k1=me,T1=vr,A1={message:"boolean schema is false"};function R1(e){const{gen:t,schema:r,validateName:n}=e;r===!1?xg(e,!1):typeof r=="object"&&r.$async===!0?t.return(T1.default.data):(t.assign((0,k1._)`${n}.errors`,null),t.return(!0))}Ei.topBoolOrEmptySchema=R1;function j1(e,t){const{gen:r,schema:n}=e;n===!1?(r.var(t,!1),xg(e)):r.var(t,!0)}Ei.boolOrEmptySchema=j1;function xg(e,t){const{gen:r,data:n}=e,i={gen:r,keyword:"false schema",data:n,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,C1.reportError)(i,A1,void 0,t)}var Ko={},bn={};Object.defineProperty(bn,"__esModule",{value:!0});bn.getRules=bn.isJSONType=void 0;const b1=["string","number","integer","boolean","null","object","array"],D1=new Set(b1);function L1(e){return typeof e=="string"&&D1.has(e)}bn.isJSONType=L1;function x1(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}bn.getRules=x1;var Cr={};Object.defineProperty(Cr,"__esModule",{value:!0});Cr.shouldUseRule=Cr.shouldUseGroup=Cr.schemaHasRulesForType=void 0;function M1({schema:e,self:t},r){const n=t.RULES.types[r];return n&&n!==!0&&Mg(e,n)}Cr.schemaHasRulesForType=M1;function Mg(e,t){return t.rules.some(r=>Fg(e,r))}Cr.shouldUseGroup=Mg;function Fg(e,t){var r;return e[t.keyword]!==void 0||((r=t.definition.implements)===null||r===void 0?void 0:r.some(n=>e[n]!==void 0))}Cr.shouldUseRule=Fg;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.reportTypeError=e.checkDataTypes=e.checkDataType=e.coerceAndCheckDataType=e.getJSONTypes=e.getSchemaTypes=e.DataType=void 0;const t=bn,r=Cr,n=Ho,i=me,o=Ee;var s;(function(p){p[p.Correct=0]="Correct",p[p.Wrong=1]="Wrong"})(s=e.DataType||(e.DataType={}));function a(p){const P=l(p.type);if(P.includes("null")){if(p.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!P.length&&p.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');p.nullable===!0&&P.push("null")}return P}e.getSchemaTypes=a;function l(p){const P=Array.isArray(p)?p:p?[p]:[];if(P.every(t.isJSONType))return P;throw new Error("type must be JSONType or JSONType[]: "+P.join(","))}e.getJSONTypes=l;function f(p,P){const{gen:j,data:g,opts:$}=p,h=m(P,$.coerceTypes),I=P.length>0&&!(h.length===0&&P.length===1&&(0,r.schemaHasRulesForType)(p,P[0]));if(I){const y=O(P,g,$.strictNumbers,s.Wrong);j.if(y,()=>{h.length?N(p,P,h):u(p)})}return I}e.coerceAndCheckDataType=f;const d=new Set(["string","number","integer","boolean","null"]);function m(p,P){return P?p.filter(j=>d.has(j)||P==="array"&&j==="array"):[]}function N(p,P,j){const{gen:g,data:$,opts:h}=p,I=g.let("dataType",(0,i._)`typeof ${$}`),y=g.let("coerced",(0,i._)`undefined`);h.coerceTypes==="array"&&g.if((0,i._)`${I} == 'object' && Array.isArray(${$}) && ${$}.length == 1`,()=>g.assign($,(0,i._)`${$}[0]`).assign(I,(0,i._)`typeof ${$}`).if(O(P,$,h.strictNumbers),()=>g.assign(y,$))),g.if((0,i._)`${y} !== undefined`);for(const F of j)(d.has(F)||F==="array"&&h.coerceTypes==="array")&&x(F);g.else(),u(p),g.endIf(),g.if((0,i._)`${y} !== undefined`,()=>{g.assign($,y),S(p,y)});function x(F){switch(F){case"string":g.elseIf((0,i._)`${I} == "number" || ${I} == "boolean"`).assign(y,(0,i._)`"" + ${$}`).elseIf((0,i._)`${$} === null`).assign(y,(0,i._)`""`);return;case"number":g.elseIf((0,i._)`${I} == "boolean" || ${$} === null - || (${I} == "string" && ${$} && ${$} == +${$})`).assign(y,(0,i._)`+${$}`);return;case"integer":g.elseIf((0,i._)`${I} === "boolean" || ${$} === null - || (${I} === "string" && ${$} && ${$} == +${$} && !(${$} % 1))`).assign(y,(0,i._)`+${$}`);return;case"boolean":g.elseIf((0,i._)`${$} === "false" || ${$} === 0 || ${$} === null`).assign(y,!1).elseIf((0,i._)`${$} === "true" || ${$} === 1`).assign(y,!0);return;case"null":g.elseIf((0,i._)`${$} === "" || ${$} === 0 || ${$} === false`),g.assign(y,null);return;case"array":g.elseIf((0,i._)`${I} === "string" || ${I} === "number" - || ${I} === "boolean" || ${$} === null`).assign(y,(0,i._)`[${$}]`)}}}function S({gen:p,parentData:P,parentDataProperty:j},g){p.if((0,i._)`${P} !== undefined`,()=>p.assign((0,i._)`${P}[${j}]`,g))}function v(p,P,j,g=s.Correct){const $=g===s.Correct?i.operators.EQ:i.operators.NEQ;let h;switch(p){case"null":return(0,i._)`${P} ${$} null`;case"array":h=(0,i._)`Array.isArray(${P})`;break;case"object":h=(0,i._)`${P} && typeof ${P} == "object" && !Array.isArray(${P})`;break;case"integer":h=I((0,i._)`!(${P} % 1) && !isNaN(${P})`);break;case"number":h=I();break;default:return(0,i._)`typeof ${P} ${$} ${p}`}return g===s.Correct?h:(0,i.not)(h);function I(y=i.nil){return(0,i.and)((0,i._)`typeof ${P} == "number"`,y,j?(0,i._)`isFinite(${P})`:i.nil)}}e.checkDataType=v;function O(p,P,j,g){if(p.length===1)return v(p[0],P,j,g);let $;const h=(0,o.toHash)(p);if(h.array&&h.object){const I=(0,i._)`typeof ${P} != "object"`;$=h.null?I:(0,i._)`!${P} || ${I}`,delete h.null,delete h.array,delete h.object}else $=i.nil;h.number&&delete h.integer;for(const I in h)$=(0,i.and)($,v(I,P,j,g));return $}e.checkDataTypes=O;const E={message:({schema:p})=>`must be ${p}`,params:({schema:p,schemaValue:P})=>typeof p=="string"?(0,i._)`{type: ${p}}`:(0,i._)`{type: ${P}}`};function u(p){const P=c(p);(0,n.reportError)(P,E)}e.reportTypeError=u;function c(p){const{gen:P,data:j,schema:g}=p,$=(0,o.schemaRefOrVal)(p,g,"type");return{gen:P,keyword:"type",data:j,schema:g.type,schemaCode:$,schemaValue:$,parentSchema:g,params:{},it:p}}})(Ko);var Ka={};Object.defineProperty(Ka,"__esModule",{value:!0});Ka.assignDefaults=void 0;const zn=me,F1=Ee;function V1(e,t){const{properties:r,items:n}=e.schema;if(t==="object"&&r)for(const i in r)yh(e,i,r[i].default);else t==="array"&&Array.isArray(n)&&n.forEach((i,o)=>yh(e,o,i.default))}Ka.assignDefaults=V1;function yh(e,t,r){const{gen:n,compositeRule:i,data:o,opts:s}=e;if(r===void 0)return;const a=(0,zn._)`${o}${(0,zn.getProperty)(t)}`;if(i){(0,F1.checkStrictMode)(e,`default is ignored for: ${a}`);return}let l=(0,zn._)`${a} === undefined`;s.useDefaults==="empty"&&(l=(0,zn._)`${l} || ${a} === null || ${a} === ""`),n.if(l,(0,zn._)`${a} = ${(0,zn.stringify)(r)}`)}var mr={},pe={};Object.defineProperty(pe,"__esModule",{value:!0});pe.validateUnion=pe.validateArray=pe.usePattern=pe.callValidateCode=pe.schemaProperties=pe.allSchemaProperties=pe.noPropertyInData=pe.propertyInData=pe.isOwnProperty=pe.hasPropFunc=pe.reportMissingProp=pe.checkMissingProp=pe.checkReportMissingProp=void 0;const ke=me,ef=Ee,xr=vr,U1=Ee;function z1(e,t){const{gen:r,data:n,it:i}=e;r.if(rf(r,n,t,i.opts.ownProperties),()=>{e.setParams({missingProperty:(0,ke._)`${t}`},!0),e.error()})}pe.checkReportMissingProp=z1;function B1({gen:e,data:t,it:{opts:r}},n,i){return(0,ke.or)(...n.map(o=>(0,ke.and)(rf(e,t,o,r.ownProperties),(0,ke._)`${i} = ${o}`)))}pe.checkMissingProp=B1;function H1(e,t){e.setParams({missingProperty:t},!0),e.error()}pe.reportMissingProp=H1;function Vg(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,ke._)`Object.prototype.hasOwnProperty`})}pe.hasPropFunc=Vg;function tf(e,t,r){return(0,ke._)`${Vg(e)}.call(${t}, ${r})`}pe.isOwnProperty=tf;function K1(e,t,r,n){const i=(0,ke._)`${t}${(0,ke.getProperty)(r)} !== undefined`;return n?(0,ke._)`${i} && ${tf(e,t,r)}`:i}pe.propertyInData=K1;function rf(e,t,r,n){const i=(0,ke._)`${t}${(0,ke.getProperty)(r)} === undefined`;return n?(0,ke.or)(i,(0,ke.not)(tf(e,t,r))):i}pe.noPropertyInData=rf;function Ug(e){return e?Object.keys(e).filter(t=>t!=="__proto__"):[]}pe.allSchemaProperties=Ug;function G1(e,t){return Ug(t).filter(r=>!(0,ef.alwaysValidSchema)(e,t[r]))}pe.schemaProperties=G1;function W1({schemaCode:e,data:t,it:{gen:r,topSchemaRef:n,schemaPath:i,errorPath:o},it:s},a,l,f){const d=f?(0,ke._)`${e}, ${t}, ${n}${i}`:t,m=[[xr.default.instancePath,(0,ke.strConcat)(xr.default.instancePath,o)],[xr.default.parentData,s.parentData],[xr.default.parentDataProperty,s.parentDataProperty],[xr.default.rootData,xr.default.rootData]];s.opts.dynamicRef&&m.push([xr.default.dynamicAnchors,xr.default.dynamicAnchors]);const N=(0,ke._)`${d}, ${r.object(...m)}`;return l!==ke.nil?(0,ke._)`${a}.call(${l}, ${N})`:(0,ke._)`${a}(${N})`}pe.callValidateCode=W1;const q1=(0,ke._)`new RegExp`;function Y1({gen:e,it:{opts:t}},r){const n=t.unicodeRegExp?"u":"",{regExp:i}=t.code,o=i(r,n);return e.scopeValue("pattern",{key:o.toString(),ref:o,code:(0,ke._)`${i.code==="new RegExp"?q1:(0,U1.useFunc)(e,i)}(${r}, ${n})`})}pe.usePattern=Y1;function Q1(e){const{gen:t,data:r,keyword:n,it:i}=e,o=t.name("valid");if(i.allErrors){const a=t.let("valid",!0);return s(()=>t.assign(a,!1)),a}return t.var(o,!0),s(()=>t.break()),o;function s(a){const l=t.const("len",(0,ke._)`${r}.length`);t.forRange("i",0,l,f=>{e.subschema({keyword:n,dataProp:f,dataPropType:ef.Type.Num},o),t.if((0,ke.not)(o),a)})}}pe.validateArray=Q1;function X1(e){const{gen:t,schema:r,keyword:n,it:i}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(r.some(l=>(0,ef.alwaysValidSchema)(i,l))&&!i.opts.unevaluated)return;const s=t.let("valid",!1),a=t.name("_valid");t.block(()=>r.forEach((l,f)=>{const d=e.subschema({keyword:n,schemaProp:f,compositeRule:!0},a);t.assign(s,(0,ke._)`${s} || ${a}`),e.mergeValidEvaluated(d,a)||t.if((0,ke.not)(s))})),e.result(s,()=>e.reset(),()=>e.error(!0))}pe.validateUnion=X1;Object.defineProperty(mr,"__esModule",{value:!0});mr.validateKeywordUsage=mr.validSchemaType=mr.funcKeywordCode=mr.macroKeywordCode=void 0;const ht=me,yn=vr,J1=pe,Z1=Ho;function ew(e,t){const{gen:r,keyword:n,schema:i,parentSchema:o,it:s}=e,a=t.macro.call(s.self,i,o,s),l=zg(r,n,a);s.opts.validateSchema!==!1&&s.self.validateSchema(a,!0);const f=r.name("valid");e.subschema({schema:a,schemaPath:ht.nil,errSchemaPath:`${s.errSchemaPath}/${n}`,topSchemaRef:l,compositeRule:!0},f),e.pass(f,()=>e.error(!0))}mr.macroKeywordCode=ew;function tw(e,t){var r;const{gen:n,keyword:i,schema:o,parentSchema:s,$data:a,it:l}=e;nw(l,t);const f=!a&&t.compile?t.compile.call(l.self,o,s,l):t.validate,d=zg(n,i,f),m=n.let("valid");e.block$data(m,N),e.ok((r=t.valid)!==null&&r!==void 0?r:m);function N(){if(t.errors===!1)O(),t.modifying&&vh(e),E(()=>e.error());else{const u=t.async?S():v();t.modifying&&vh(e),E(()=>rw(e,u))}}function S(){const u=n.let("ruleErrs",null);return n.try(()=>O((0,ht._)`await `),c=>n.assign(m,!1).if((0,ht._)`${c} instanceof ${l.ValidationError}`,()=>n.assign(u,(0,ht._)`${c}.errors`),()=>n.throw(c))),u}function v(){const u=(0,ht._)`${d}.errors`;return n.assign(u,null),O(ht.nil),u}function O(u=t.async?(0,ht._)`await `:ht.nil){const c=l.opts.passContext?yn.default.this:yn.default.self,p=!("compile"in t&&!a||t.schema===!1);n.assign(m,(0,ht._)`${u}${(0,J1.callValidateCode)(e,d,c,p)}`,t.modifying)}function E(u){var c;n.if((0,ht.not)((c=t.valid)!==null&&c!==void 0?c:m),u)}}mr.funcKeywordCode=tw;function vh(e){const{gen:t,data:r,it:n}=e;t.if(n.parentData,()=>t.assign(r,(0,ht._)`${n.parentData}[${n.parentDataProperty}]`))}function rw(e,t){const{gen:r}=e;r.if((0,ht._)`Array.isArray(${t})`,()=>{r.assign(yn.default.vErrors,(0,ht._)`${yn.default.vErrors} === null ? ${t} : ${yn.default.vErrors}.concat(${t})`).assign(yn.default.errors,(0,ht._)`${yn.default.vErrors}.length`),(0,Z1.extendErrors)(e)},()=>e.error())}function nw({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}function zg(e,t,r){if(r===void 0)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword",typeof r=="function"?{ref:r}:{ref:r,code:(0,ht.stringify)(r)})}function iw(e,t,r=!1){return!t.length||t.some(n=>n==="array"?Array.isArray(e):n==="object"?e&&typeof e=="object"&&!Array.isArray(e):typeof e==n||r&&typeof e>"u")}mr.validSchemaType=iw;function ow({schema:e,opts:t,self:r,errSchemaPath:n},i,o){if(Array.isArray(i.keyword)?!i.keyword.includes(o):i.keyword!==o)throw new Error("ajv implementation error");const s=i.dependencies;if(s!=null&&s.some(a=>!Object.prototype.hasOwnProperty.call(e,a)))throw new Error(`parent schema must have dependencies of ${o}: ${s.join(",")}`);if(i.validateSchema&&!i.validateSchema(e[o])){const l=`keyword "${o}" value is invalid at path "${n}": `+r.errorsText(i.validateSchema.errors);if(t.validateSchema==="log")r.logger.error(l);else throw new Error(l)}}mr.validateKeywordUsage=ow;var tn={};Object.defineProperty(tn,"__esModule",{value:!0});tn.extendSubschemaMode=tn.extendSubschemaData=tn.getSubschema=void 0;const pr=me,Bg=Ee;function sw(e,{keyword:t,schemaProp:r,schema:n,schemaPath:i,errSchemaPath:o,topSchemaRef:s}){if(t!==void 0&&n!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(t!==void 0){const a=e.schema[t];return r===void 0?{schema:a,schemaPath:(0,pr._)`${e.schemaPath}${(0,pr.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:a[r],schemaPath:(0,pr._)`${e.schemaPath}${(0,pr.getProperty)(t)}${(0,pr.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,Bg.escapeFragment)(r)}`}}if(n!==void 0){if(i===void 0||o===void 0||s===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:n,schemaPath:i,topSchemaRef:s,errSchemaPath:o}}throw new Error('either "keyword" or "schema" must be passed')}tn.getSubschema=sw;function aw(e,t,{dataProp:r,dataPropType:n,data:i,dataTypes:o,propertyName:s}){if(i!==void 0&&r!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:a}=t;if(r!==void 0){const{errorPath:f,dataPathArr:d,opts:m}=t,N=a.let("data",(0,pr._)`${t.data}${(0,pr.getProperty)(r)}`,!0);l(N),e.errorPath=(0,pr.str)`${f}${(0,Bg.getErrorPath)(r,n,m.jsPropertySyntax)}`,e.parentDataProperty=(0,pr._)`${r}`,e.dataPathArr=[...d,e.parentDataProperty]}if(i!==void 0){const f=i instanceof pr.Name?i:a.let("data",i,!0);l(f),s!==void 0&&(e.propertyName=s)}o&&(e.dataTypes=o);function l(f){e.data=f,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,f]}}tn.extendSubschemaData=aw;function lw(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:n,createErrors:i,allErrors:o}){n!==void 0&&(e.compositeRule=n),i!==void 0&&(e.createErrors=i),o!==void 0&&(e.allErrors=o),e.jtdDiscriminator=t,e.jtdMetadata=r}tn.extendSubschemaMode=lw;var nt={},Hg=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var n,i,o;if(Array.isArray(t)){if(n=t.length,n!=r.length)return!1;for(i=n;i--!==0;)if(!e(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(o=Object.keys(t),n=o.length,n!==Object.keys(r).length)return!1;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(r,o[i]))return!1;for(i=n;i--!==0;){var s=o[i];if(!e(t[s],r[s]))return!1}return!0}return t!==t&&r!==r},Kg={exports:{}},Kr=Kg.exports=function(e,t,r){typeof t=="function"&&(r=t,t={}),r=t.cb||r;var n=typeof r=="function"?r:r.pre||function(){},i=r.post||function(){};Bs(t,n,i,e,"",e)};Kr.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};Kr.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Kr.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Kr.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function Bs(e,t,r,n,i,o,s,a,l,f){if(n&&typeof n=="object"&&!Array.isArray(n)){t(n,i,o,s,a,l,f);for(var d in n){var m=n[d];if(Array.isArray(m)){if(d in Kr.arrayKeywords)for(var N=0;Nt+=Gg(n)),t===1/0))return 1/0}return t}function Wg(e,t="",r){r!==!1&&(t=di(t));const n=e.parse(t);return qg(e,n)}nt.getFullPath=Wg;function qg(e,t){return e.serialize(t).split("#")[0]+"#"}nt._getFullPath=qg;const yw=/#\/?$/;function di(e){return e?e.replace(yw,""):""}nt.normalizeId=di;function vw(e,t,r){return r=di(r),e.resolve(t,r)}nt.resolveUrl=vw;const ww=/^[a-z_][-a-z0-9._]*$/i;function $w(e,t){if(typeof e=="boolean")return{};const{schemaId:r,uriResolver:n}=this.opts,i=di(e[r]||t),o={"":i},s=Wg(n,i,!1),a={},l=new Set;return hw(e,{allKeys:!0},(m,N,S,v)=>{if(v===void 0)return;const O=s+N;let E=o[v];typeof m[r]=="string"&&(E=u.call(this,m[r])),c.call(this,m.$anchor),c.call(this,m.$dynamicAnchor),o[N]=E;function u(p){const P=this.opts.uriResolver.resolve;if(p=di(E?P(E,p):p),l.has(p))throw d(p);l.add(p);let j=this.refs[p];return typeof j=="string"&&(j=this.refs[j]),typeof j=="object"?f(m,j.schema,p):p!==di(O)&&(p[0]==="#"?(f(m,a[p],p),a[p]=m):this.refs[p]=O),p}function c(p){if(typeof p=="string"){if(!ww.test(p))throw new Error(`invalid anchor "${p}"`);u.call(this,`#${p}`)}}}),a;function f(m,N,S){if(N!==void 0&&!dw(m,N))throw d(S)}function d(m){return new Error(`reference "${m}" resolves to more than one schema`)}}nt.getSchemaRefs=$w;Object.defineProperty(rr,"__esModule",{value:!0});rr.getData=rr.KeywordCxt=rr.validateFunctionCode=void 0;const Yg=Ei,wh=Ko,nf=Cr,wa=Ko,Ew=Ka,uo=mr,kl=tn,se=me,ce=vr,_w=nt,kr=Ee,Bi=Ho;function Sw(e){if(Jg(e)&&(Zg(e),Xg(e))){Pw(e);return}Qg(e,()=>(0,Yg.topBoolOrEmptySchema)(e))}rr.validateFunctionCode=Sw;function Qg({gen:e,validateName:t,schema:r,schemaEnv:n,opts:i},o){i.code.es5?e.func(t,(0,se._)`${ce.default.data}, ${ce.default.valCxt}`,n.$async,()=>{e.code((0,se._)`"use strict"; ${$h(r,i)}`),Nw(e,i),e.code(o)}):e.func(t,(0,se._)`${ce.default.data}, ${Ow(i)}`,n.$async,()=>e.code($h(r,i)).code(o))}function Ow(e){return(0,se._)`{${ce.default.instancePath}="", ${ce.default.parentData}, ${ce.default.parentDataProperty}, ${ce.default.rootData}=${ce.default.data}${e.dynamicRef?(0,se._)`, ${ce.default.dynamicAnchors}={}`:se.nil}}={}`}function Nw(e,t){e.if(ce.default.valCxt,()=>{e.var(ce.default.instancePath,(0,se._)`${ce.default.valCxt}.${ce.default.instancePath}`),e.var(ce.default.parentData,(0,se._)`${ce.default.valCxt}.${ce.default.parentData}`),e.var(ce.default.parentDataProperty,(0,se._)`${ce.default.valCxt}.${ce.default.parentDataProperty}`),e.var(ce.default.rootData,(0,se._)`${ce.default.valCxt}.${ce.default.rootData}`),t.dynamicRef&&e.var(ce.default.dynamicAnchors,(0,se._)`${ce.default.valCxt}.${ce.default.dynamicAnchors}`)},()=>{e.var(ce.default.instancePath,(0,se._)`""`),e.var(ce.default.parentData,(0,se._)`undefined`),e.var(ce.default.parentDataProperty,(0,se._)`undefined`),e.var(ce.default.rootData,ce.default.data),t.dynamicRef&&e.var(ce.default.dynamicAnchors,(0,se._)`{}`)})}function Pw(e){const{schema:t,opts:r,gen:n}=e;Qg(e,()=>{r.$comment&&t.$comment&&ty(e),Aw(e),n.let(ce.default.vErrors,null),n.let(ce.default.errors,0),r.unevaluated&&Iw(e),ey(e),bw(e)})}function Iw(e){const{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",(0,se._)`${r}.evaluated`),t.if((0,se._)`${e.evaluated}.dynamicProps`,()=>t.assign((0,se._)`${e.evaluated}.props`,(0,se._)`undefined`)),t.if((0,se._)`${e.evaluated}.dynamicItems`,()=>t.assign((0,se._)`${e.evaluated}.items`,(0,se._)`undefined`))}function $h(e,t){const r=typeof e=="object"&&e[t.schemaId];return r&&(t.code.source||t.code.process)?(0,se._)`/*# sourceURL=${r} */`:se.nil}function Cw(e,t){if(Jg(e)&&(Zg(e),Xg(e))){kw(e,t);return}(0,Yg.boolOrEmptySchema)(e,t)}function Xg({schema:e,self:t}){if(typeof e=="boolean")return!e;for(const r in e)if(t.RULES.all[r])return!0;return!1}function Jg(e){return typeof e.schema!="boolean"}function kw(e,t){const{schema:r,gen:n,opts:i}=e;i.$comment&&r.$comment&&ty(e),Rw(e),jw(e);const o=n.const("_errs",ce.default.errors);ey(e,o),n.var(t,(0,se._)`${o} === ${ce.default.errors}`)}function Zg(e){(0,kr.checkUnknownRules)(e),Tw(e)}function ey(e,t){if(e.opts.jtd)return Eh(e,[],!1,t);const r=(0,wh.getSchemaTypes)(e.schema),n=(0,wh.coerceAndCheckDataType)(e,r);Eh(e,r,!n,t)}function Tw(e){const{schema:t,errSchemaPath:r,opts:n,self:i}=e;t.$ref&&n.ignoreKeywordsWithRef&&(0,kr.schemaHasRulesButRef)(t,i.RULES)&&i.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}function Aw(e){const{schema:t,opts:r}=e;t.default!==void 0&&r.useDefaults&&r.strictSchema&&(0,kr.checkStrictMode)(e,"default is ignored in the schema root")}function Rw(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,_w.resolveUrl)(e.opts.uriResolver,e.baseId,t))}function jw(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}function ty({gen:e,schemaEnv:t,schema:r,errSchemaPath:n,opts:i}){const o=r.$comment;if(i.$comment===!0)e.code((0,se._)`${ce.default.self}.logger.log(${o})`);else if(typeof i.$comment=="function"){const s=(0,se.str)`${n}/$comment`,a=e.scopeValue("root",{ref:t.root});e.code((0,se._)`${ce.default.self}.opts.$comment(${o}, ${s}, ${a}.schema)`)}}function bw(e){const{gen:t,schemaEnv:r,validateName:n,ValidationError:i,opts:o}=e;r.$async?t.if((0,se._)`${ce.default.errors} === 0`,()=>t.return(ce.default.data),()=>t.throw((0,se._)`new ${i}(${ce.default.vErrors})`)):(t.assign((0,se._)`${n}.errors`,ce.default.vErrors),o.unevaluated&&Dw(e),t.return((0,se._)`${ce.default.errors} === 0`))}function Dw({gen:e,evaluated:t,props:r,items:n}){r instanceof se.Name&&e.assign((0,se._)`${t}.props`,r),n instanceof se.Name&&e.assign((0,se._)`${t}.items`,n)}function Eh(e,t,r,n){const{gen:i,schema:o,data:s,allErrors:a,opts:l,self:f}=e,{RULES:d}=f;if(o.$ref&&(l.ignoreKeywordsWithRef||!(0,kr.schemaHasRulesButRef)(o,d))){i.block(()=>iy(e,"$ref",d.all.$ref.definition));return}l.jtd||Lw(e,t),i.block(()=>{for(const N of d.rules)m(N);m(d.post)});function m(N){(0,nf.shouldUseGroup)(o,N)&&(N.type?(i.if((0,wa.checkDataType)(N.type,s,l.strictNumbers)),_h(e,N),t.length===1&&t[0]===N.type&&r&&(i.else(),(0,wa.reportTypeError)(e)),i.endIf()):_h(e,N),a||i.if((0,se._)`${ce.default.errors} === ${n||0}`))}}function _h(e,t){const{gen:r,schema:n,opts:{useDefaults:i}}=e;i&&(0,Ew.assignDefaults)(e,t.type),r.block(()=>{for(const o of t.rules)(0,nf.shouldUseRule)(n,o)&&iy(e,o.keyword,o.definition,t.type)})}function Lw(e,t){e.schemaEnv.meta||!e.opts.strictTypes||(xw(e,t),e.opts.allowUnionTypes||Mw(e,t),Fw(e,e.dataTypes))}function xw(e,t){if(t.length){if(!e.dataTypes.length){e.dataTypes=t;return}t.forEach(r=>{ry(e.dataTypes,r)||of(e,`type "${r}" not allowed by context "${e.dataTypes.join(",")}"`)}),Uw(e,t)}}function Mw(e,t){t.length>1&&!(t.length===2&&t.includes("null"))&&of(e,"use allowUnionTypes to allow union type keyword")}function Fw(e,t){const r=e.self.RULES.all;for(const n in r){const i=r[n];if(typeof i=="object"&&(0,nf.shouldUseRule)(e.schema,i)){const{type:o}=i.definition;o.length&&!o.some(s=>Vw(t,s))&&of(e,`missing type "${o.join(",")}" for keyword "${n}"`)}}}function Vw(e,t){return e.includes(t)||t==="number"&&e.includes("integer")}function ry(e,t){return e.includes(t)||t==="integer"&&e.includes("number")}function Uw(e,t){const r=[];for(const n of e.dataTypes)ry(t,n)?r.push(n):t.includes("integer")&&n==="number"&&r.push("integer");e.dataTypes=r}function of(e,t){const r=e.schemaEnv.baseId+e.errSchemaPath;t+=` at "${r}" (strictTypes)`,(0,kr.checkStrictMode)(e,t,e.opts.strictTypes)}class ny{constructor(t,r,n){if((0,uo.validateKeywordUsage)(t,r,n),this.gen=t.gen,this.allErrors=t.allErrors,this.keyword=n,this.data=t.data,this.schema=t.schema[n],this.$data=r.$data&&t.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,kr.schemaRefOrVal)(t,this.schema,n,this.$data),this.schemaType=r.schemaType,this.parentSchema=t.schema,this.params={},this.it=t,this.def=r,this.$data)this.schemaCode=t.gen.const("vSchema",oy(this.$data,t));else if(this.schemaCode=this.schemaValue,!(0,uo.validSchemaType)(this.schema,r.schemaType,r.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(r.schemaType)}`);("code"in r?r.trackErrors:r.errors!==!1)&&(this.errsCount=t.gen.const("_errs",ce.default.errors))}result(t,r,n){this.failResult((0,se.not)(t),r,n)}failResult(t,r,n){this.gen.if(t),n?n():this.error(),r?(this.gen.else(),r(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(t,r){this.failResult((0,se.not)(t),void 0,r)}fail(t){if(t===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(t),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(t){if(!this.$data)return this.fail(t);const{schemaCode:r}=this;this.fail((0,se._)`${r} !== undefined && (${(0,se.or)(this.invalid$data(),t)})`)}error(t,r,n){if(r){this.setParams(r),this._error(t,n),this.setParams({});return}this._error(t,n)}_error(t,r){(t?Bi.reportExtraError:Bi.reportError)(this,this.def.error,r)}$dataError(){(0,Bi.reportError)(this,this.def.$dataError||Bi.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,Bi.resetErrorsCount)(this.gen,this.errsCount)}ok(t){this.allErrors||this.gen.if(t)}setParams(t,r){r?Object.assign(this.params,t):this.params=t}block$data(t,r,n=se.nil){this.gen.block(()=>{this.check$data(t,n),r()})}check$data(t=se.nil,r=se.nil){if(!this.$data)return;const{gen:n,schemaCode:i,schemaType:o,def:s}=this;n.if((0,se.or)((0,se._)`${i} === undefined`,r)),t!==se.nil&&n.assign(t,!0),(o.length||s.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),t!==se.nil&&n.assign(t,!1)),n.else()}invalid$data(){const{gen:t,schemaCode:r,schemaType:n,def:i,it:o}=this;return(0,se.or)(s(),a());function s(){if(n.length){if(!(r instanceof se.Name))throw new Error("ajv implementation error");const l=Array.isArray(n)?n:[n];return(0,se._)`${(0,wa.checkDataTypes)(l,r,o.opts.strictNumbers,wa.DataType.Wrong)}`}return se.nil}function a(){if(i.validateSchema){const l=t.scopeValue("validate$data",{ref:i.validateSchema});return(0,se._)`!${l}(${r})`}return se.nil}}subschema(t,r){const n=(0,kl.getSubschema)(this.it,t);(0,kl.extendSubschemaData)(n,this.it,t),(0,kl.extendSubschemaMode)(n,t);const i={...this.it,...n,items:void 0,props:void 0};return Cw(i,r),i}mergeEvaluated(t,r){const{it:n,gen:i}=this;n.opts.unevaluated&&(n.props!==!0&&t.props!==void 0&&(n.props=kr.mergeEvaluated.props(i,t.props,n.props,r)),n.items!==!0&&t.items!==void 0&&(n.items=kr.mergeEvaluated.items(i,t.items,n.items,r)))}mergeValidEvaluated(t,r){const{it:n,gen:i}=this;if(n.opts.unevaluated&&(n.props!==!0||n.items!==!0))return i.if(r,()=>this.mergeEvaluated(t,se.Name)),!0}}rr.KeywordCxt=ny;function iy(e,t,r,n){const i=new ny(e,r,t);"code"in r?r.code(i,n):i.$data&&r.validate?(0,uo.funcKeywordCode)(i,r):"macro"in r?(0,uo.macroKeywordCode)(i,r):(r.compile||r.validate)&&(0,uo.funcKeywordCode)(i,r)}const zw=/^\/(?:[^~]|~0|~1)*$/,Bw=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function oy(e,{dataLevel:t,dataNames:r,dataPathArr:n}){let i,o;if(e==="")return ce.default.rootData;if(e[0]==="/"){if(!zw.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);i=e,o=ce.default.rootData}else{const f=Bw.exec(e);if(!f)throw new Error(`Invalid JSON-pointer: ${e}`);const d=+f[1];if(i=f[2],i==="#"){if(d>=t)throw new Error(l("property/index",d));return n[t-d]}if(d>t)throw new Error(l("data",d));if(o=r[t-d],!i)return o}let s=o;const a=i.split("/");for(const f of a)f&&(o=(0,se._)`${o}${(0,se.getProperty)((0,kr.unescapeJsonPointer)(f))}`,s=(0,se._)`${s} && ${o}`);return s;function l(f,d){return`Cannot access ${f} ${d} levels up, current level is ${t}`}}rr.getData=oy;var Go={};Object.defineProperty(Go,"__esModule",{value:!0});class Hw extends Error{constructor(t){super("validation failed"),this.errors=t,this.ajv=this.validation=!0}}Go.default=Hw;var Wo={};Object.defineProperty(Wo,"__esModule",{value:!0});const Tl=nt;class Kw extends Error{constructor(t,r,n,i){super(i||`can't resolve reference ${n} from id ${r}`),this.missingRef=(0,Tl.resolveUrl)(t,r,n),this.missingSchema=(0,Tl.normalizeId)((0,Tl.getFullPath)(t,this.missingRef))}}Wo.default=Kw;var $t={};Object.defineProperty($t,"__esModule",{value:!0});$t.resolveSchema=$t.getCompilingSchema=$t.resolveRef=$t.compileSchema=$t.SchemaEnv=void 0;const Gt=me,Gw=Go,pn=vr,Zt=nt,Sh=Ee,Ww=rr;class Ga{constructor(t){var r;this.refs={},this.dynamicAnchors={};let n;typeof t.schema=="object"&&(n=t.schema),this.schema=t.schema,this.schemaId=t.schemaId,this.root=t.root||this,this.baseId=(r=t.baseId)!==null&&r!==void 0?r:(0,Zt.normalizeId)(n==null?void 0:n[t.schemaId||"$id"]),this.schemaPath=t.schemaPath,this.localRefs=t.localRefs,this.meta=t.meta,this.$async=n==null?void 0:n.$async,this.refs={}}}$t.SchemaEnv=Ga;function sf(e){const t=sy.call(this,e);if(t)return t;const r=(0,Zt.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:n,lines:i}=this.opts.code,{ownProperties:o}=this.opts,s=new Gt.CodeGen(this.scope,{es5:n,lines:i,ownProperties:o});let a;e.$async&&(a=s.scopeValue("Error",{ref:Gw.default,code:(0,Gt._)`require("ajv/dist/runtime/validation_error").default`}));const l=s.scopeName("validate");e.validateName=l;const f={gen:s,allErrors:this.opts.allErrors,data:pn.default.data,parentData:pn.default.parentData,parentDataProperty:pn.default.parentDataProperty,dataNames:[pn.default.data],dataPathArr:[Gt.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:s.scopeValue("schema",this.opts.code.source===!0?{ref:e.schema,code:(0,Gt.stringify)(e.schema)}:{ref:e.schema}),validateName:l,ValidationError:a,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:Gt.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,Gt._)`""`,opts:this.opts,self:this};let d;try{this._compilations.add(e),(0,Ww.validateFunctionCode)(f),s.optimize(this.opts.code.optimize);const m=s.toString();d=`${s.scopeRefs(pn.default.scope)}return ${m}`,this.opts.code.process&&(d=this.opts.code.process(d,e));const S=new Function(`${pn.default.self}`,`${pn.default.scope}`,d)(this,this.scope.get());if(this.scope.value(l,{ref:S}),S.errors=null,S.schema=e.schema,S.schemaEnv=e,e.$async&&(S.$async=!0),this.opts.code.source===!0&&(S.source={validateName:l,validateCode:m,scopeValues:s._values}),this.opts.unevaluated){const{props:v,items:O}=f;S.evaluated={props:v instanceof Gt.Name?void 0:v,items:O instanceof Gt.Name?void 0:O,dynamicProps:v instanceof Gt.Name,dynamicItems:O instanceof Gt.Name},S.source&&(S.source.evaluated=(0,Gt.stringify)(S.evaluated))}return e.validate=S,e}catch(m){throw delete e.validate,delete e.validateName,d&&this.logger.error("Error compiling schema, function code:",d),m}finally{this._compilations.delete(e)}}$t.compileSchema=sf;function qw(e,t,r){var n;r=(0,Zt.resolveUrl)(this.opts.uriResolver,t,r);const i=e.refs[r];if(i)return i;let o=Xw.call(this,e,r);if(o===void 0){const s=(n=e.localRefs)===null||n===void 0?void 0:n[r],{schemaId:a}=this.opts;s&&(o=new Ga({schema:s,schemaId:a,root:e,baseId:t}))}if(o!==void 0)return e.refs[r]=Yw.call(this,o)}$t.resolveRef=qw;function Yw(e){return(0,Zt.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:sf.call(this,e)}function sy(e){for(const t of this._compilations)if(Qw(t,e))return t}$t.getCompilingSchema=sy;function Qw(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function Xw(e,t){let r;for(;typeof(r=this.refs[t])=="string";)t=r;return r||this.schemas[t]||Wa.call(this,e,t)}function Wa(e,t){const r=this.opts.uriResolver.parse(t),n=(0,Zt._getFullPath)(this.opts.uriResolver,r);let i=(0,Zt.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&n===i)return Al.call(this,r,e);const o=(0,Zt.normalizeId)(n),s=this.refs[o]||this.schemas[o];if(typeof s=="string"){const a=Wa.call(this,e,s);return typeof(a==null?void 0:a.schema)!="object"?void 0:Al.call(this,r,a)}if(typeof(s==null?void 0:s.schema)=="object"){if(s.validate||sf.call(this,s),o===(0,Zt.normalizeId)(t)){const{schema:a}=s,{schemaId:l}=this.opts,f=a[l];return f&&(i=(0,Zt.resolveUrl)(this.opts.uriResolver,i,f)),new Ga({schema:a,schemaId:l,root:e,baseId:i})}return Al.call(this,r,s)}}$t.resolveSchema=Wa;const Jw=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function Al(e,{baseId:t,schema:r,root:n}){var i;if(((i=e.fragment)===null||i===void 0?void 0:i[0])!=="/")return;for(const a of e.fragment.slice(1).split("/")){if(typeof r=="boolean")return;const l=r[(0,Sh.unescapeFragment)(a)];if(l===void 0)return;r=l;const f=typeof r=="object"&&r[this.opts.schemaId];!Jw.has(a)&&f&&(t=(0,Zt.resolveUrl)(this.opts.uriResolver,t,f))}let o;if(typeof r!="boolean"&&r.$ref&&!(0,Sh.schemaHasRulesButRef)(r,this.RULES)){const a=(0,Zt.resolveUrl)(this.opts.uriResolver,t,r.$ref);o=Wa.call(this,n,a)}const{schemaId:s}=this.opts;if(o=o||new Ga({schema:r,schemaId:s,root:n,baseId:t}),o.schema!==o.root.schema)return o}const Zw="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",e$="Meta-schema for $data reference (JSON AnySchema extension proposal)",t$="object",r$=["$data"],n$={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},i$=!1,o$={$id:Zw,description:e$,type:t$,required:r$,properties:n$,additionalProperties:i$};var af={},Gu={exports:{}};/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */(function(e,t){(function(r,n){n(t)})(Xy,function(r){function n(){for(var b=arguments.length,T=Array(b),D=0;D1){T[0]=T[0].slice(0,-1);for(var W=T.length-1,H=1;H= 0x80 (not a basic code point)","invalid-input":"Invalid input"},x=O-E,F=Math.floor,Y=String.fromCharCode;function U(b){throw new RangeError(y[b])}function G(b,T){for(var D=[],W=b.length;W--;)D[W]=T(b[W]);return D}function B(b,T){var D=b.split("@"),W="";D.length>1&&(W=D[0]+"@",b=D[1]),b=b.replace(I,".");var H=b.split("."),ae=G(H,T).join(".");return W+ae}function Z(b){for(var T=[],D=0,W=b.length;D=55296&&H<=56319&&D>1,T+=F(T/D);T>x*u>>1;H+=O)T=F(T/x);return F(H+(x+1)*T/(T+c))},V=function(T){var D=[],W=T.length,H=0,ae=j,le=P,we=T.lastIndexOf(g);we<0&&(we=0);for(var Ie=0;Ie=128&&U("not-basic"),D.push(T.charCodeAt(Ie));for(var Be=we>0?we+1:0;Be=W&&U("invalid-input");var de=Q(T.charCodeAt(Be++));(de>=O||de>F((v-H)/Ne))&&U("overflow"),H+=de*Ne;var je=He<=le?E:He>=le+u?u:He-le;if(deF(v/We)&&U("overflow"),Ne*=We}var be=D.length+1;le=C(H-ye,be,ye==0),F(H/be)>v-ae&&U("overflow"),ae+=F(H/be),H%=be,D.splice(H++,0,ae)}return String.fromCodePoint.apply(String,D)},M=function(T){var D=[];T=Z(T);var W=T.length,H=j,ae=0,le=P,we=!0,Ie=!1,Be=void 0;try{for(var ye=T[Symbol.iterator](),Ne;!(we=(Ne=ye.next()).done);we=!0){var He=Ne.value;He<128&&D.push(Y(He))}}catch(bi){Ie=!0,Be=bi}finally{try{!we&&ye.return&&ye.return()}finally{if(Ie)throw Be}}var de=D.length,je=de;for(de&&D.push(g);je=H&&dnF((v-ae)/Lt)&&U("overflow"),ae+=(We-H)*Lt,H=We;var ur=!0,hn=!1,$r=void 0;try{for(var ji=T[Symbol.iterator](),nd;!(ur=(nd=ji.next()).done);ur=!0){var id=nd.value;if(idv&&U("overflow"),id==H){for(var Zo=ae,es=O;;es+=O){var ts=es<=le?E:es>=le+u?u:es-le;if(Zo>6|192).toString(16).toUpperCase()+"%"+(T&63|128).toString(16).toUpperCase():D="%"+(T>>12|224).toString(16).toUpperCase()+"%"+(T>>6&63|128).toString(16).toUpperCase()+"%"+(T&63|128).toString(16).toUpperCase(),D}function w(b){for(var T="",D=0,W=b.length;D=194&&H<224){if(W-D>=6){var ae=parseInt(b.substr(D+4,2),16);T+=String.fromCharCode((H&31)<<6|ae&63)}else T+=b.substr(D,6);D+=6}else if(H>=224){if(W-D>=9){var le=parseInt(b.substr(D+4,2),16),we=parseInt(b.substr(D+7,2),16);T+=String.fromCharCode((H&15)<<12|(le&63)<<6|we&63)}else T+=b.substr(D,9);D+=9}else T+=b.substr(D,3),D+=3}return T}function k(b,T){function D(W){var H=w(W);return H.match(T.UNRESERVED)?H:W}return b.scheme&&(b.scheme=String(b.scheme).replace(T.PCT_ENCODED,D).toLowerCase().replace(T.NOT_SCHEME,"")),b.userinfo!==void 0&&(b.userinfo=String(b.userinfo).replace(T.PCT_ENCODED,D).replace(T.NOT_USERINFO,q).replace(T.PCT_ENCODED,s)),b.host!==void 0&&(b.host=String(b.host).replace(T.PCT_ENCODED,D).toLowerCase().replace(T.NOT_HOST,q).replace(T.PCT_ENCODED,s)),b.path!==void 0&&(b.path=String(b.path).replace(T.PCT_ENCODED,D).replace(b.scheme?T.NOT_PATH:T.NOT_PATH_NOSCHEME,q).replace(T.PCT_ENCODED,s)),b.query!==void 0&&(b.query=String(b.query).replace(T.PCT_ENCODED,D).replace(T.NOT_QUERY,q).replace(T.PCT_ENCODED,s)),b.fragment!==void 0&&(b.fragment=String(b.fragment).replace(T.PCT_ENCODED,D).replace(T.NOT_FRAGMENT,q).replace(T.PCT_ENCODED,s)),b}function L(b){return b.replace(/^0*(.*)/,"$1")||"0"}function X(b,T){var D=b.match(T.IPV4ADDRESS)||[],W=N(D,2),H=W[1];return H?H.split(".").map(L).join("."):b}function J(b,T){var D=b.match(T.IPV6ADDRESS)||[],W=N(D,3),H=W[1],ae=W[2];if(H){for(var le=H.toLowerCase().split("::").reverse(),we=N(le,2),Ie=we[0],Be=we[1],ye=Be?Be.split(":").map(L):[],Ne=Ie.split(":").map(L),He=T.IPV4ADDRESS.test(Ne[Ne.length-1]),de=He?7:8,je=Ne.length-de,We=Array(de),be=0;be1){var Vn=We.slice(0,ar.index),dn=We.slice(ar.index+ar.length);lr=Vn.join(":")+"::"+dn.join(":")}else lr=We.join(":");return ae&&(lr+="%"+ae),lr}else return b}var re=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,he="".match(/(){0}/)[1]===void 0;function ge(b){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},D={},W=T.iri!==!1?m:d;T.reference==="suffix"&&(b=(T.scheme?T.scheme+":":"")+"//"+b);var H=b.match(re);if(H){he?(D.scheme=H[1],D.userinfo=H[3],D.host=H[4],D.port=parseInt(H[5],10),D.path=H[6]||"",D.query=H[7],D.fragment=H[8],isNaN(D.port)&&(D.port=H[5])):(D.scheme=H[1]||void 0,D.userinfo=b.indexOf("@")!==-1?H[3]:void 0,D.host=b.indexOf("//")!==-1?H[4]:void 0,D.port=parseInt(H[5],10),D.path=H[6]||"",D.query=b.indexOf("?")!==-1?H[7]:void 0,D.fragment=b.indexOf("#")!==-1?H[8]:void 0,isNaN(D.port)&&(D.port=b.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?H[4]:void 0)),D.host&&(D.host=J(X(D.host,W),W)),D.scheme===void 0&&D.userinfo===void 0&&D.host===void 0&&D.port===void 0&&!D.path&&D.query===void 0?D.reference="same-document":D.scheme===void 0?D.reference="relative":D.fragment===void 0?D.reference="absolute":D.reference="uri",T.reference&&T.reference!=="suffix"&&T.reference!==D.reference&&(D.error=D.error||"URI is not a "+T.reference+" reference.");var ae=te[(T.scheme||D.scheme||"").toLowerCase()];if(!T.unicodeSupport&&(!ae||!ae.unicodeSupport)){if(D.host&&(T.domainHost||ae&&ae.domainHost))try{D.host=K.toASCII(D.host.replace(W.PCT_ENCODED,w).toLowerCase())}catch(le){D.error=D.error||"Host's domain name can not be converted to ASCII via punycode: "+le}k(D,d)}else k(D,W);ae&&ae.parse&&ae.parse(D,T)}else D.error=D.error||"URI can not be parsed.";return D}function Ae(b,T){var D=T.iri!==!1?m:d,W=[];return b.userinfo!==void 0&&(W.push(b.userinfo),W.push("@")),b.host!==void 0&&W.push(J(X(String(b.host),D),D).replace(D.IPV6ADDRESS,function(H,ae,le){return"["+ae+(le?"%25"+le:"")+"]"})),(typeof b.port=="number"||typeof b.port=="string")&&(W.push(":"),W.push(String(b.port))),W.length?W.join(""):void 0}var Xe=/^\.\.?\//,Ve=/^\/\.(\/|$)/,Ue=/^\/\.\.(\/|$)/,Re=/^\/?(?:.|\n)*?(?=\/|$)/;function Se(b){for(var T=[];b.length;)if(b.match(Xe))b=b.replace(Xe,"");else if(b.match(Ve))b=b.replace(Ve,"/");else if(b.match(Ue))b=b.replace(Ue,"/"),T.pop();else if(b==="."||b==="..")b="";else{var D=b.match(Re);if(D){var W=D[0];b=b.slice(W.length),T.push(W)}else throw new Error("Unexpected dot segment condition")}return T.join("")}function ze(b){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},D=T.iri?m:d,W=[],H=te[(T.scheme||b.scheme||"").toLowerCase()];if(H&&H.serialize&&H.serialize(b,T),b.host&&!D.IPV6ADDRESS.test(b.host)){if(T.domainHost||H&&H.domainHost)try{b.host=T.iri?K.toUnicode(b.host):K.toASCII(b.host.replace(D.PCT_ENCODED,w).toLowerCase())}catch(we){b.error=b.error||"Host's domain name can not be converted to "+(T.iri?"Unicode":"ASCII")+" via punycode: "+we}}k(b,D),T.reference!=="suffix"&&b.scheme&&(W.push(b.scheme),W.push(":"));var ae=Ae(b,T);if(ae!==void 0&&(T.reference!=="suffix"&&W.push("//"),W.push(ae),b.path&&b.path.charAt(0)!=="/"&&W.push("/")),b.path!==void 0){var le=b.path;!T.absolutePath&&(!H||!H.absolutePath)&&(le=Se(le)),ae===void 0&&(le=le.replace(/^\/\//,"/%2F")),W.push(le)}return b.query!==void 0&&(W.push("?"),W.push(b.query)),b.fragment!==void 0&&(W.push("#"),W.push(b.fragment)),W.join("")}function wr(b,T){var D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},W=arguments[3],H={};return W||(b=ge(ze(b,D),D),T=ge(ze(T,D),D)),D=D||{},!D.tolerant&&T.scheme?(H.scheme=T.scheme,H.userinfo=T.userinfo,H.host=T.host,H.port=T.port,H.path=Se(T.path||""),H.query=T.query):(T.userinfo!==void 0||T.host!==void 0||T.port!==void 0?(H.userinfo=T.userinfo,H.host=T.host,H.port=T.port,H.path=Se(T.path||""),H.query=T.query):(T.path?(T.path.charAt(0)==="/"?H.path=Se(T.path):((b.userinfo!==void 0||b.host!==void 0||b.port!==void 0)&&!b.path?H.path="/"+T.path:b.path?H.path=b.path.slice(0,b.path.lastIndexOf("/")+1)+T.path:H.path=T.path,H.path=Se(H.path)),H.query=T.query):(H.path=b.path,T.query!==void 0?H.query=T.query:H.query=b.query),H.userinfo=b.userinfo,H.host=b.host,H.port=b.port),H.scheme=b.scheme),H.fragment=T.fragment,H}function Ti(b,T,D){var W=l({scheme:"null"},D);return ze(wr(ge(b,W),ge(T,W),W,!0),W)}function cn(b,T){return typeof b=="string"?b=ze(ge(b,T),T):o(b)==="object"&&(b=ge(ze(b,T),T)),b}function Ai(b,T,D){return typeof b=="string"?b=ze(ge(b,D),D):o(b)==="object"&&(b=ze(b,D)),typeof T=="string"?T=ze(ge(T,D),D):o(T)==="object"&&(T=ze(T,D)),b===T}function Jo(b,T){return b&&b.toString().replace(!T||!T.iri?d.ESCAPE:m.ESCAPE,q)}function Dt(b,T){return b&&b.toString().replace(!T||!T.iri?d.PCT_ENCODED:m.PCT_ENCODED,w)}var fn={scheme:"http",domainHost:!0,parse:function(T,D){return T.host||(T.error=T.error||"HTTP URIs must have a host."),T},serialize:function(T,D){var W=String(T.scheme).toLowerCase()==="https";return(T.port===(W?443:80)||T.port==="")&&(T.port=void 0),T.path||(T.path="/"),T}},Yf={scheme:"https",domainHost:fn.domainHost,parse:fn.parse,serialize:fn.serialize};function Qf(b){return typeof b.secure=="boolean"?b.secure:String(b.scheme).toLowerCase()==="wss"}var Ri={scheme:"ws",domainHost:!0,parse:function(T,D){var W=T;return W.secure=Qf(W),W.resourceName=(W.path||"/")+(W.query?"?"+W.query:""),W.path=void 0,W.query=void 0,W},serialize:function(T,D){if((T.port===(Qf(T)?443:80)||T.port==="")&&(T.port=void 0),typeof T.secure=="boolean"&&(T.scheme=T.secure?"wss":"ws",T.secure=void 0),T.resourceName){var W=T.resourceName.split("?"),H=N(W,2),ae=H[0],le=H[1];T.path=ae&&ae!=="/"?ae:void 0,T.query=le,T.resourceName=void 0}return T.fragment=void 0,T}},Xf={scheme:"wss",domainHost:Ri.domainHost,parse:Ri.parse,serialize:Ri.serialize},Vy={},Jf="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",sr="[0-9A-Fa-f]",Uy=i(i("%[EFef]"+sr+"%"+sr+sr+"%"+sr+sr)+"|"+i("%[89A-Fa-f]"+sr+"%"+sr+sr)+"|"+i("%"+sr+sr)),zy="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",By="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Hy=n(By,'[\\"\\\\]'),Ky="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Gy=new RegExp(Jf,"g"),Fn=new RegExp(Uy,"g"),Wy=new RegExp(n("[^]",zy,"[\\.]",'[\\"]',Hy),"g"),Zf=new RegExp(n("[^]",Jf,Ky),"g"),qy=Zf;function tl(b){var T=w(b);return T.match(Gy)?T:b}var ed={scheme:"mailto",parse:function(T,D){var W=T,H=W.to=W.path?W.path.split(","):[];if(W.path=void 0,W.query){for(var ae=!1,le={},we=W.query.split("&"),Ie=0,Be=we.length;Ienew RegExp(R,C);S.code="new RegExp";const v=["removeAdditional","useDefaults","coerceTypes"],O=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),E={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},u={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},c=200;function p(R){var C,V,M,_,A,K,te,q,w,k,L,X,J,re,he,ge,Ae,Xe,Ve,Ue,Re,Se,ze,wr,Ti;const cn=R.strict,Ai=(C=R.code)===null||C===void 0?void 0:C.optimize,Jo=Ai===!0||Ai===void 0?1:Ai||0,Dt=(M=(V=R.code)===null||V===void 0?void 0:V.regExp)!==null&&M!==void 0?M:S,fn=(_=R.uriResolver)!==null&&_!==void 0?_:N.default;return{strictSchema:(K=(A=R.strictSchema)!==null&&A!==void 0?A:cn)!==null&&K!==void 0?K:!0,strictNumbers:(q=(te=R.strictNumbers)!==null&&te!==void 0?te:cn)!==null&&q!==void 0?q:!0,strictTypes:(k=(w=R.strictTypes)!==null&&w!==void 0?w:cn)!==null&&k!==void 0?k:"log",strictTuples:(X=(L=R.strictTuples)!==null&&L!==void 0?L:cn)!==null&&X!==void 0?X:"log",strictRequired:(re=(J=R.strictRequired)!==null&&J!==void 0?J:cn)!==null&&re!==void 0?re:!1,code:R.code?{...R.code,optimize:Jo,regExp:Dt}:{optimize:Jo,regExp:Dt},loopRequired:(he=R.loopRequired)!==null&&he!==void 0?he:c,loopEnum:(ge=R.loopEnum)!==null&&ge!==void 0?ge:c,meta:(Ae=R.meta)!==null&&Ae!==void 0?Ae:!0,messages:(Xe=R.messages)!==null&&Xe!==void 0?Xe:!0,inlineRefs:(Ve=R.inlineRefs)!==null&&Ve!==void 0?Ve:!0,schemaId:(Ue=R.schemaId)!==null&&Ue!==void 0?Ue:"$id",addUsedSchema:(Re=R.addUsedSchema)!==null&&Re!==void 0?Re:!0,validateSchema:(Se=R.validateSchema)!==null&&Se!==void 0?Se:!0,validateFormats:(ze=R.validateFormats)!==null&&ze!==void 0?ze:!0,unicodeRegExp:(wr=R.unicodeRegExp)!==null&&wr!==void 0?wr:!0,int32range:(Ti=R.int32range)!==null&&Ti!==void 0?Ti:!0,uriResolver:fn}}class P{constructor(C={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,C=this.opts={...C,...p(C)};const{es5:V,lines:M}=this.opts.code;this.scope=new a.ValueScope({scope:{},prefixes:O,es5:V,lines:M}),this.logger=F(C.logger);const _=C.validateFormats;C.validateFormats=!1,this.RULES=(0,o.getRules)(),j.call(this,E,C,"NOT SUPPORTED"),j.call(this,u,C,"DEPRECATED","warn"),this._metaOpts=y.call(this),C.formats&&h.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),C.keywords&&I.call(this,C.keywords),typeof C.meta=="object"&&this.addMetaSchema(C.meta),$.call(this),C.validateFormats=_}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:C,meta:V,schemaId:M}=this.opts;let _=m;M==="id"&&(_={...m},_.id=_.$id,delete _.$id),V&&C&&this.addMetaSchema(_,_[M],!1)}defaultMeta(){const{meta:C,schemaId:V}=this.opts;return this.opts.defaultMeta=typeof C=="object"?C[V]||C:void 0}validate(C,V){let M;if(typeof C=="string"){if(M=this.getSchema(C),!M)throw new Error(`no schema with key or ref "${C}"`)}else M=this.compile(C);const _=M(V);return"$async"in M||(this.errors=M.errors),_}compile(C,V){const M=this._addSchema(C,V);return M.validate||this._compileSchemaEnv(M)}compileAsync(C,V){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:M}=this.opts;return _.call(this,C,V);async function _(k,L){await A.call(this,k.$schema);const X=this._addSchema(k,L);return X.validate||K.call(this,X)}async function A(k){k&&!this.getSchema(k)&&await _.call(this,{$ref:k},!0)}async function K(k){try{return this._compileSchemaEnv(k)}catch(L){if(!(L instanceof i.default))throw L;return te.call(this,L),await q.call(this,L.missingSchema),K.call(this,k)}}function te({missingSchema:k,missingRef:L}){if(this.refs[k])throw new Error(`AnySchema ${k} is loaded but ${L} cannot be resolved`)}async function q(k){const L=await w.call(this,k);this.refs[k]||await A.call(this,L.$schema),this.refs[k]||this.addSchema(L,k,V)}async function w(k){const L=this._loading[k];if(L)return L;try{return await(this._loading[k]=M(k))}finally{delete this._loading[k]}}}addSchema(C,V,M,_=this.opts.validateSchema){if(Array.isArray(C)){for(const K of C)this.addSchema(K,void 0,M,_);return this}let A;if(typeof C=="object"){const{schemaId:K}=this.opts;if(A=C[K],A!==void 0&&typeof A!="string")throw new Error(`schema ${K} must be string`)}return V=(0,l.normalizeId)(V||A),this._checkUnique(V),this.schemas[V]=this._addSchema(C,M,V,_,!0),this}addMetaSchema(C,V,M=this.opts.validateSchema){return this.addSchema(C,V,!0,M),this}validateSchema(C,V){if(typeof C=="boolean")return!0;let M;if(M=C.$schema,M!==void 0&&typeof M!="string")throw new Error("$schema must be a string");if(M=M||this.opts.defaultMeta||this.defaultMeta(),!M)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const _=this.validate(M,C);if(!_&&V){const A="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(A);else throw new Error(A)}return _}getSchema(C){let V;for(;typeof(V=g.call(this,C))=="string";)C=V;if(V===void 0){const{schemaId:M}=this.opts,_=new s.SchemaEnv({schema:{},schemaId:M});if(V=s.resolveSchema.call(this,_,C),!V)return;this.refs[C]=V}return V.validate||this._compileSchemaEnv(V)}removeSchema(C){if(C instanceof RegExp)return this._removeAllSchemas(this.schemas,C),this._removeAllSchemas(this.refs,C),this;switch(typeof C){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const V=g.call(this,C);return typeof V=="object"&&this._cache.delete(V.schema),delete this.schemas[C],delete this.refs[C],this}case"object":{const V=C;this._cache.delete(V);let M=C[this.opts.schemaId];return M&&(M=(0,l.normalizeId)(M),delete this.schemas[M],delete this.refs[M]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(C){for(const V of C)this.addKeyword(V);return this}addKeyword(C,V){let M;if(typeof C=="string")M=C,typeof V=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),V.keyword=M);else if(typeof C=="object"&&V===void 0){if(V=C,M=V.keyword,Array.isArray(M)&&!M.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(U.call(this,M,V),!V)return(0,d.eachItem)(M,A=>G.call(this,A)),this;Z.call(this,V);const _={...V,type:(0,f.getJSONTypes)(V.type),schemaType:(0,f.getJSONTypes)(V.schemaType)};return(0,d.eachItem)(M,_.type.length===0?A=>G.call(this,A,_):A=>_.type.forEach(K=>G.call(this,A,_,K))),this}getKeyword(C){const V=this.RULES.all[C];return typeof V=="object"?V.definition:!!V}removeKeyword(C){const{RULES:V}=this;delete V.keywords[C],delete V.all[C];for(const M of V.rules){const _=M.rules.findIndex(A=>A.keyword===C);_>=0&&M.rules.splice(_,1)}return this}addFormat(C,V){return typeof V=="string"&&(V=new RegExp(V)),this.formats[C]=V,this}errorsText(C=this.errors,{separator:V=", ",dataVar:M="data"}={}){return!C||C.length===0?"No errors":C.map(_=>`${M}${_.instancePath} ${_.message}`).reduce((_,A)=>_+V+A)}$dataMetaSchema(C,V){const M=this.RULES.all;C=JSON.parse(JSON.stringify(C));for(const _ of V){const A=_.split("/").slice(1);let K=C;for(const te of A)K=K[te];for(const te in M){const q=M[te];if(typeof q!="object")continue;const{$data:w}=q.definition,k=K[te];w&&k&&(K[te]=Q(k))}}return C}_removeAllSchemas(C,V){for(const M in C){const _=C[M];(!V||V.test(M))&&(typeof _=="string"?delete C[M]:_&&!_.meta&&(this._cache.delete(_.schema),delete C[M]))}}_addSchema(C,V,M,_=this.opts.validateSchema,A=this.opts.addUsedSchema){let K;const{schemaId:te}=this.opts;if(typeof C=="object")K=C[te];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof C!="boolean")throw new Error("schema must be object or boolean")}let q=this._cache.get(C);if(q!==void 0)return q;M=(0,l.normalizeId)(K||M);const w=l.getSchemaRefs.call(this,C,M);return q=new s.SchemaEnv({schema:C,schemaId:te,meta:V,baseId:M,localRefs:w}),this._cache.set(q.schema,q),A&&!M.startsWith("#")&&(M&&this._checkUnique(M),this.refs[M]=q),_&&this.validateSchema(C,!0),q}_checkUnique(C){if(this.schemas[C]||this.refs[C])throw new Error(`schema with key or id "${C}" already exists`)}_compileSchemaEnv(C){if(C.meta?this._compileMetaSchema(C):s.compileSchema.call(this,C),!C.validate)throw new Error("ajv implementation error");return C.validate}_compileMetaSchema(C){const V=this.opts;this.opts=this._metaOpts;try{s.compileSchema.call(this,C)}finally{this.opts=V}}}e.default=P,P.ValidationError=n.default,P.MissingRefError=i.default;function j(R,C,V,M="error"){for(const _ in R){const A=_;A in C&&this.logger[M](`${V}: option ${_}. ${R[A]}`)}}function g(R){return R=(0,l.normalizeId)(R),this.schemas[R]||this.refs[R]}function $(){const R=this.opts.schemas;if(R)if(Array.isArray(R))this.addSchema(R);else for(const C in R)this.addSchema(R[C],C)}function h(){for(const R in this.opts.formats){const C=this.opts.formats[R];C&&this.addFormat(R,C)}}function I(R){if(Array.isArray(R)){this.addVocabulary(R);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const C in R){const V=R[C];V.keyword||(V.keyword=C),this.addKeyword(V)}}function y(){const R={...this.opts};for(const C of v)delete R[C];return R}const x={log(){},warn(){},error(){}};function F(R){if(R===!1)return x;if(R===void 0)return console;if(R.log&&R.warn&&R.error)return R;throw new Error("logger must implement log, warn and error methods")}const Y=/^[a-z_$][a-z0-9_$:-]*$/i;function U(R,C){const{RULES:V}=this;if((0,d.eachItem)(R,M=>{if(V.keywords[M])throw new Error(`Keyword ${M} is already defined`);if(!Y.test(M))throw new Error(`Keyword ${M} has invalid name`)}),!!C&&C.$data&&!("code"in C||"validate"in C))throw new Error('$data keyword must have "code" or "validate" function')}function G(R,C,V){var M;const _=C==null?void 0:C.post;if(V&&_)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:A}=this;let K=_?A.post:A.rules.find(({type:q})=>q===V);if(K||(K={type:V,rules:[]},A.rules.push(K)),A.keywords[R]=!0,!C)return;const te={keyword:R,definition:{...C,type:(0,f.getJSONTypes)(C.type),schemaType:(0,f.getJSONTypes)(C.schemaType)}};C.before?B.call(this,K,te,C.before):K.rules.push(te),A.all[R]=te,(M=C.implements)===null||M===void 0||M.forEach(q=>this.addKeyword(q))}function B(R,C,V){const M=R.rules.findIndex(_=>_.keyword===V);M>=0?R.rules.splice(M,0,C):(R.rules.push(C),this.logger.warn(`rule ${V} is not defined`))}function Z(R){let{metaSchema:C}=R;C!==void 0&&(R.$data&&this.opts.$data&&(C=Q(C)),R.validateSchema=this.compile(C,!0))}const z={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function Q(R){return{anyOf:[R,z]}}})(Lg);var lf={},uf={},cf={};Object.defineProperty(cf,"__esModule",{value:!0});const a$={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};cf.default=a$;var Dn={};Object.defineProperty(Dn,"__esModule",{value:!0});Dn.callRef=Dn.getValidate=void 0;const l$=Wo,Oh=pe,vt=me,Bn=vr,Nh=$t,ws=Ee,u$={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:r,it:n}=e,{baseId:i,schemaEnv:o,validateName:s,opts:a,self:l}=n,{root:f}=o;if((r==="#"||r==="#/")&&i===f.baseId)return m();const d=Nh.resolveRef.call(l,f,i,r);if(d===void 0)throw new l$.default(n.opts.uriResolver,i,r);if(d instanceof Nh.SchemaEnv)return N(d);return S(d);function m(){if(o===f)return Hs(e,s,o,o.$async);const v=t.scopeValue("root",{ref:f});return Hs(e,(0,vt._)`${v}.validate`,f,f.$async)}function N(v){const O=ly(e,v);Hs(e,O,v,v.$async)}function S(v){const O=t.scopeValue("schema",a.code.source===!0?{ref:v,code:(0,vt.stringify)(v)}:{ref:v}),E=t.name("valid"),u=e.subschema({schema:v,dataTypes:[],schemaPath:vt.nil,topSchemaRef:O,errSchemaPath:r},E);e.mergeEvaluated(u),e.ok(E)}}};function ly(e,t){const{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):(0,vt._)`${r.scopeValue("wrapper",{ref:t})}.validate`}Dn.getValidate=ly;function Hs(e,t,r,n){const{gen:i,it:o}=e,{allErrors:s,schemaEnv:a,opts:l}=o,f=l.passContext?Bn.default.this:vt.nil;n?d():m();function d(){if(!a.$async)throw new Error("async schema referenced by sync schema");const v=i.let("valid");i.try(()=>{i.code((0,vt._)`await ${(0,Oh.callValidateCode)(e,t,f)}`),S(t),s||i.assign(v,!0)},O=>{i.if((0,vt._)`!(${O} instanceof ${o.ValidationError})`,()=>i.throw(O)),N(O),s||i.assign(v,!1)}),e.ok(v)}function m(){e.result((0,Oh.callValidateCode)(e,t,f),()=>S(t),()=>N(t))}function N(v){const O=(0,vt._)`${v}.errors`;i.assign(Bn.default.vErrors,(0,vt._)`${Bn.default.vErrors} === null ? ${O} : ${Bn.default.vErrors}.concat(${O})`),i.assign(Bn.default.errors,(0,vt._)`${Bn.default.vErrors}.length`)}function S(v){var O;if(!o.opts.unevaluated)return;const E=(O=r==null?void 0:r.validate)===null||O===void 0?void 0:O.evaluated;if(o.props!==!0)if(E&&!E.dynamicProps)E.props!==void 0&&(o.props=ws.mergeEvaluated.props(i,E.props,o.props));else{const u=i.var("props",(0,vt._)`${v}.evaluated.props`);o.props=ws.mergeEvaluated.props(i,u,o.props,vt.Name)}if(o.items!==!0)if(E&&!E.dynamicItems)E.items!==void 0&&(o.items=ws.mergeEvaluated.items(i,E.items,o.items));else{const u=i.var("items",(0,vt._)`${v}.evaluated.items`);o.items=ws.mergeEvaluated.items(i,u,o.items,vt.Name)}}}Dn.callRef=Hs;Dn.default=u$;Object.defineProperty(uf,"__esModule",{value:!0});const c$=cf,f$=Dn,d$=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",c$.default,f$.default];uf.default=d$;var ff={},df={};Object.defineProperty(df,"__esModule",{value:!0});const $a=me,Mr=$a.operators,Ea={maximum:{okStr:"<=",ok:Mr.LTE,fail:Mr.GT},minimum:{okStr:">=",ok:Mr.GTE,fail:Mr.LT},exclusiveMaximum:{okStr:"<",ok:Mr.LT,fail:Mr.GTE},exclusiveMinimum:{okStr:">",ok:Mr.GT,fail:Mr.LTE}},h$={message:({keyword:e,schemaCode:t})=>(0,$a.str)`must be ${Ea[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,$a._)`{comparison: ${Ea[e].okStr}, limit: ${t}}`},p$={keyword:Object.keys(Ea),type:"number",schemaType:"number",$data:!0,error:h$,code(e){const{keyword:t,data:r,schemaCode:n}=e;e.fail$data((0,$a._)`${r} ${Ea[t].fail} ${n} || isNaN(${r})`)}};df.default=p$;var hf={};Object.defineProperty(hf,"__esModule",{value:!0});const co=me,m$={message:({schemaCode:e})=>(0,co.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,co._)`{multipleOf: ${e}}`},g$={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:m$,code(e){const{gen:t,data:r,schemaCode:n,it:i}=e,o=i.opts.multipleOfPrecision,s=t.let("res"),a=o?(0,co._)`Math.abs(Math.round(${s}) - ${s}) > 1e-${o}`:(0,co._)`${s} !== parseInt(${s})`;e.fail$data((0,co._)`(${n} === 0 || (${s} = ${r}/${n}, ${a}))`)}};hf.default=g$;var pf={},mf={};Object.defineProperty(mf,"__esModule",{value:!0});function uy(e){const t=e.length;let r=0,n=0,i;for(;n=55296&&i<=56319&&n(0,vn._)`{limit: ${e}}`},$$={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:w$,code(e){const{keyword:t,data:r,schemaCode:n,it:i}=e,o=t==="maxLength"?vn.operators.GT:vn.operators.LT,s=i.opts.unicode===!1?(0,vn._)`${r}.length`:(0,vn._)`${(0,y$.useFunc)(e.gen,v$.default)}(${r})`;e.fail$data((0,vn._)`${s} ${o} ${n}`)}};pf.default=$$;var gf={};Object.defineProperty(gf,"__esModule",{value:!0});const E$=pe,_a=me,_$={message:({schemaCode:e})=>(0,_a.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,_a._)`{pattern: ${e}}`},S$={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:_$,code(e){const{data:t,$data:r,schema:n,schemaCode:i,it:o}=e,s=o.opts.unicodeRegExp?"u":"",a=r?(0,_a._)`(new RegExp(${i}, ${s}))`:(0,E$.usePattern)(e,n);e.fail$data((0,_a._)`!${a}.test(${t})`)}};gf.default=S$;var yf={};Object.defineProperty(yf,"__esModule",{value:!0});const fo=me,O$={message({keyword:e,schemaCode:t}){const r=e==="maxProperties"?"more":"fewer";return(0,fo.str)`must NOT have ${r} than ${t} properties`},params:({schemaCode:e})=>(0,fo._)`{limit: ${e}}`},N$={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:O$,code(e){const{keyword:t,data:r,schemaCode:n}=e,i=t==="maxProperties"?fo.operators.GT:fo.operators.LT;e.fail$data((0,fo._)`Object.keys(${r}).length ${i} ${n}`)}};yf.default=N$;var vf={};Object.defineProperty(vf,"__esModule",{value:!0});const Hi=pe,ho=me,P$=Ee,I$={message:({params:{missingProperty:e}})=>(0,ho.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,ho._)`{missingProperty: ${e}}`},C$={keyword:"required",type:"object",schemaType:"array",$data:!0,error:I$,code(e){const{gen:t,schema:r,schemaCode:n,data:i,$data:o,it:s}=e,{opts:a}=s;if(!o&&r.length===0)return;const l=r.length>=a.loopRequired;if(s.allErrors?f():d(),a.strictRequired){const S=e.parentSchema.properties,{definedProperties:v}=e.it;for(const O of r)if((S==null?void 0:S[O])===void 0&&!v.has(O)){const E=s.schemaEnv.baseId+s.errSchemaPath,u=`required property "${O}" is not defined at "${E}" (strictRequired)`;(0,P$.checkStrictMode)(s,u,s.opts.strictRequired)}}function f(){if(l||o)e.block$data(ho.nil,m);else for(const S of r)(0,Hi.checkReportMissingProp)(e,S)}function d(){const S=t.let("missing");if(l||o){const v=t.let("valid",!0);e.block$data(v,()=>N(S,v)),e.ok(v)}else t.if((0,Hi.checkMissingProp)(e,r,S)),(0,Hi.reportMissingProp)(e,S),t.else()}function m(){t.forOf("prop",n,S=>{e.setParams({missingProperty:S}),t.if((0,Hi.noPropertyInData)(t,i,S,a.ownProperties),()=>e.error())})}function N(S,v){e.setParams({missingProperty:S}),t.forOf(S,n,()=>{t.assign(v,(0,Hi.propertyInData)(t,i,S,a.ownProperties)),t.if((0,ho.not)(v),()=>{e.error(),t.break()})},ho.nil)}}};vf.default=C$;var wf={};Object.defineProperty(wf,"__esModule",{value:!0});const po=me,k$={message({keyword:e,schemaCode:t}){const r=e==="maxItems"?"more":"fewer";return(0,po.str)`must NOT have ${r} than ${t} items`},params:({schemaCode:e})=>(0,po._)`{limit: ${e}}`},T$={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:k$,code(e){const{keyword:t,data:r,schemaCode:n}=e,i=t==="maxItems"?po.operators.GT:po.operators.LT;e.fail$data((0,po._)`${r}.length ${i} ${n}`)}};wf.default=T$;var $f={},qo={};Object.defineProperty(qo,"__esModule",{value:!0});const cy=Hg;cy.code='require("ajv/dist/runtime/equal").default';qo.default=cy;Object.defineProperty($f,"__esModule",{value:!0});const Rl=Ko,tt=me,A$=Ee,R$=qo,j$={message:({params:{i:e,j:t}})=>(0,tt.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>(0,tt._)`{i: ${e}, j: ${t}}`},b$={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:j$,code(e){const{gen:t,data:r,$data:n,schema:i,parentSchema:o,schemaCode:s,it:a}=e;if(!n&&!i)return;const l=t.let("valid"),f=o.items?(0,Rl.getSchemaTypes)(o.items):[];e.block$data(l,d,(0,tt._)`${s} === false`),e.ok(l);function d(){const v=t.let("i",(0,tt._)`${r}.length`),O=t.let("j");e.setParams({i:v,j:O}),t.assign(l,!0),t.if((0,tt._)`${v} > 1`,()=>(m()?N:S)(v,O))}function m(){return f.length>0&&!f.some(v=>v==="object"||v==="array")}function N(v,O){const E=t.name("item"),u=(0,Rl.checkDataTypes)(f,E,a.opts.strictNumbers,Rl.DataType.Wrong),c=t.const("indices",(0,tt._)`{}`);t.for((0,tt._)`;${v}--;`,()=>{t.let(E,(0,tt._)`${r}[${v}]`),t.if(u,(0,tt._)`continue`),f.length>1&&t.if((0,tt._)`typeof ${E} == "string"`,(0,tt._)`${E} += "_"`),t.if((0,tt._)`typeof ${c}[${E}] == "number"`,()=>{t.assign(O,(0,tt._)`${c}[${E}]`),e.error(),t.assign(l,!1).break()}).code((0,tt._)`${c}[${E}] = ${v}`)})}function S(v,O){const E=(0,A$.useFunc)(t,R$.default),u=t.name("outer");t.label(u).for((0,tt._)`;${v}--;`,()=>t.for((0,tt._)`${O} = ${v}; ${O}--;`,()=>t.if((0,tt._)`${E}(${r}[${v}], ${r}[${O}])`,()=>{e.error(),t.assign(l,!1).break(u)})))}}};$f.default=b$;var Ef={};Object.defineProperty(Ef,"__esModule",{value:!0});const Wu=me,D$=Ee,L$=qo,x$={message:"must be equal to constant",params:({schemaCode:e})=>(0,Wu._)`{allowedValue: ${e}}`},M$={keyword:"const",$data:!0,error:x$,code(e){const{gen:t,data:r,$data:n,schemaCode:i,schema:o}=e;n||o&&typeof o=="object"?e.fail$data((0,Wu._)`!${(0,D$.useFunc)(t,L$.default)}(${r}, ${i})`):e.fail((0,Wu._)`${o} !== ${r}`)}};Ef.default=M$;var _f={};Object.defineProperty(_f,"__esModule",{value:!0});const Ji=me,F$=Ee,V$=qo,U$={message:"must be equal to one of the allowed values",params:({schemaCode:e})=>(0,Ji._)`{allowedValues: ${e}}`},z$={keyword:"enum",schemaType:"array",$data:!0,error:U$,code(e){const{gen:t,data:r,$data:n,schema:i,schemaCode:o,it:s}=e;if(!n&&i.length===0)throw new Error("enum must have non-empty array");const a=i.length>=s.opts.loopEnum;let l;const f=()=>l??(l=(0,F$.useFunc)(t,V$.default));let d;if(a||n)d=t.let("valid"),e.block$data(d,m);else{if(!Array.isArray(i))throw new Error("ajv implementation error");const S=t.const("vSchema",o);d=(0,Ji.or)(...i.map((v,O)=>N(S,O)))}e.pass(d);function m(){t.assign(d,!1),t.forOf("v",o,S=>t.if((0,Ji._)`${f()}(${r}, ${S})`,()=>t.assign(d,!0).break()))}function N(S,v){const O=i[v];return typeof O=="object"&&O!==null?(0,Ji._)`${f()}(${r}, ${S}[${v}])`:(0,Ji._)`${r} === ${O}`}}};_f.default=z$;Object.defineProperty(ff,"__esModule",{value:!0});const B$=df,H$=hf,K$=pf,G$=gf,W$=yf,q$=vf,Y$=wf,Q$=$f,X$=Ef,J$=_f,Z$=[B$.default,H$.default,K$.default,G$.default,W$.default,q$.default,Y$.default,Q$.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},X$.default,J$.default];ff.default=Z$;var Sf={},Ii={};Object.defineProperty(Ii,"__esModule",{value:!0});Ii.validateAdditionalItems=void 0;const wn=me,qu=Ee,eE={message:({params:{len:e}})=>(0,wn.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,wn._)`{limit: ${e}}`},tE={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:eE,code(e){const{parentSchema:t,it:r}=e,{items:n}=t;if(!Array.isArray(n)){(0,qu.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas');return}fy(e,n)}};function fy(e,t){const{gen:r,schema:n,data:i,keyword:o,it:s}=e;s.items=!0;const a=r.const("len",(0,wn._)`${i}.length`);if(n===!1)e.setParams({len:t.length}),e.pass((0,wn._)`${a} <= ${t.length}`);else if(typeof n=="object"&&!(0,qu.alwaysValidSchema)(s,n)){const f=r.var("valid",(0,wn._)`${a} <= ${t.length}`);r.if((0,wn.not)(f),()=>l(f)),e.ok(f)}function l(f){r.forRange("i",t.length,a,d=>{e.subschema({keyword:o,dataProp:d,dataPropType:qu.Type.Num},f),s.allErrors||r.if((0,wn.not)(f),()=>r.break())})}}Ii.validateAdditionalItems=fy;Ii.default=tE;var Of={},Ci={};Object.defineProperty(Ci,"__esModule",{value:!0});Ci.validateTuple=void 0;const Ph=me,Ks=Ee,rE=pe,nE={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:r}=e;if(Array.isArray(t))return dy(e,"additionalItems",t);r.items=!0,!(0,Ks.alwaysValidSchema)(r,t)&&e.ok((0,rE.validateArray)(e))}};function dy(e,t,r=e.schema){const{gen:n,parentSchema:i,data:o,keyword:s,it:a}=e;d(i),a.opts.unevaluated&&r.length&&a.items!==!0&&(a.items=Ks.mergeEvaluated.items(n,r.length,a.items));const l=n.name("valid"),f=n.const("len",(0,Ph._)`${o}.length`);r.forEach((m,N)=>{(0,Ks.alwaysValidSchema)(a,m)||(n.if((0,Ph._)`${f} > ${N}`,()=>e.subschema({keyword:s,schemaProp:N,dataProp:N},l)),e.ok(l))});function d(m){const{opts:N,errSchemaPath:S}=a,v=r.length,O=v===m.minItems&&(v===m.maxItems||m[t]===!1);if(N.strictTuples&&!O){const E=`"${s}" is ${v}-tuple, but minItems or maxItems/${t} are not specified or different at path "${S}"`;(0,Ks.checkStrictMode)(a,E,N.strictTuples)}}}Ci.validateTuple=dy;Ci.default=nE;Object.defineProperty(Of,"__esModule",{value:!0});const iE=Ci,oE={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,iE.validateTuple)(e,"items")};Of.default=oE;var Nf={};Object.defineProperty(Nf,"__esModule",{value:!0});const Ih=me,sE=Ee,aE=pe,lE=Ii,uE={message:({params:{len:e}})=>(0,Ih.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,Ih._)`{limit: ${e}}`},cE={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:uE,code(e){const{schema:t,parentSchema:r,it:n}=e,{prefixItems:i}=r;n.items=!0,!(0,sE.alwaysValidSchema)(n,t)&&(i?(0,lE.validateAdditionalItems)(e,i):e.ok((0,aE.validateArray)(e)))}};Nf.default=cE;var Pf={};Object.defineProperty(Pf,"__esModule",{value:!0});const Mt=me,$s=Ee,fE={message:({params:{min:e,max:t}})=>t===void 0?(0,Mt.str)`must contain at least ${e} valid item(s)`:(0,Mt.str)`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>t===void 0?(0,Mt._)`{minContains: ${e}}`:(0,Mt._)`{minContains: ${e}, maxContains: ${t}}`},dE={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:fE,code(e){const{gen:t,schema:r,parentSchema:n,data:i,it:o}=e;let s,a;const{minContains:l,maxContains:f}=n;o.opts.next?(s=l===void 0?1:l,a=f):s=1;const d=t.const("len",(0,Mt._)`${i}.length`);if(e.setParams({min:s,max:a}),a===void 0&&s===0){(0,$s.checkStrictMode)(o,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(a!==void 0&&s>a){(0,$s.checkStrictMode)(o,'"minContains" > "maxContains" is always invalid'),e.fail();return}if((0,$s.alwaysValidSchema)(o,r)){let O=(0,Mt._)`${d} >= ${s}`;a!==void 0&&(O=(0,Mt._)`${O} && ${d} <= ${a}`),e.pass(O);return}o.items=!0;const m=t.name("valid");a===void 0&&s===1?S(m,()=>t.if(m,()=>t.break())):s===0?(t.let(m,!0),a!==void 0&&t.if((0,Mt._)`${i}.length > 0`,N)):(t.let(m,!1),N()),e.result(m,()=>e.reset());function N(){const O=t.name("_valid"),E=t.let("count",0);S(O,()=>t.if(O,()=>v(E)))}function S(O,E){t.forRange("i",0,d,u=>{e.subschema({keyword:"contains",dataProp:u,dataPropType:$s.Type.Num,compositeRule:!0},O),E()})}function v(O){t.code((0,Mt._)`${O}++`),a===void 0?t.if((0,Mt._)`${O} >= ${s}`,()=>t.assign(m,!0).break()):(t.if((0,Mt._)`${O} > ${a}`,()=>t.assign(m,!1).break()),s===1?t.assign(m,!0):t.if((0,Mt._)`${O} >= ${s}`,()=>t.assign(m,!0)))}}};Pf.default=dE;var hy={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=me,r=Ee,n=pe;e.error={message:({params:{property:l,depsCount:f,deps:d}})=>{const m=f===1?"property":"properties";return(0,t.str)`must have ${m} ${d} when property ${l} is present`},params:({params:{property:l,depsCount:f,deps:d,missingProperty:m}})=>(0,t._)`{property: ${l}, +`+o.stack}return{value:e,source:t,stack:i,digest:null}}function Ol(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function Iu(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var X0=typeof WeakMap=="function"?WeakMap:Map;function sg(e,t,r){r=Pr(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){ma||(ma=!0,Lu=n),Iu(e,t)},r}function ag(e,t,r){r=Pr(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return n(i)},r.callback=function(){Iu(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){Iu(e,t),typeof n!="function"&&(Jr===null?Jr=new Set([this]):Jr.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),r}function Xd(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new X0;var i=new Set;n.set(t,i)}else i=n.get(t),i===void 0&&(i=new Set,n.set(t,i));i.has(r)||(i.add(r),e=f1.bind(null,e,t,r),t.then(e,e))}function Jd(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Zd(e,t,r,n,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=Pr(-1,1),t.tag=2,Xr(r,t,1))),r.lanes|=1),e)}var J0=br.ReactCurrentOwner,Et=!1;function dt(e,t,r,n){t.child=e===null?Lm(t,null,r,n):yi(t,e.child,r,n)}function eh(e,t,r,n,i){r=r.render;var o=t.ref;return ui(t,i),n=Mc(e,t,r,n,o,i),r=Fc(),e!==null&&!Et?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,jr(e,t,i)):(De&&r&&Ic(t),t.flags|=1,dt(e,t,n,i),t.child)}function th(e,t,r,n,i){if(e===null){var o=r.type;return typeof o=="function"&&!Yc(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=o,lg(e,t,o,n,i)):(e=zs(r.type,null,n,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(r=r.compare,r=r!==null?r:Oo,r(s,n)&&e.ref===t.ref)return jr(e,t,i)}return t.flags|=1,e=en(o,n),e.ref=t.ref,e.return=t,t.child=e}function lg(e,t,r,n,i){if(e!==null){var o=e.memoizedProps;if(Oo(o,n)&&e.ref===t.ref)if(Et=!1,t.pendingProps=n=o,(e.lanes&i)!==0)e.flags&131072&&(Et=!0);else return t.lanes=e.lanes,jr(e,t,i)}return Pu(e,t,r,n,i)}function ug(e,t,r){var n=t.pendingProps,i=n.children,o=e!==null?e.memoizedState:null;if(n.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ie(ni,Ct),Ct|=r;else{if(!(r&1073741824))return e=o!==null?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ie(ni,Ct),Ct|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=o!==null?o.baseLanes:r,Ie(ni,Ct),Ct|=n}else o!==null?(n=o.baseLanes|r,t.memoizedState=null):n=r,Ie(ni,Ct),Ct|=n;return dt(e,t,i,r),t.child}function cg(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Pu(e,t,r,n,i){var o=Ot(r)?Cn:ft.current;return o=mi(t,o),ui(t,i),r=Mc(e,t,r,n,o,i),n=Fc(),e!==null&&!Et?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,jr(e,t,i)):(De&&n&&Ic(t),t.flags|=1,dt(e,t,r,i),t.child)}function rh(e,t,r,n,i){if(Ot(r)){var o=!0;oa(t)}else o=!1;if(ui(t,i),t.stateNode===null)Fs(e,t),og(t,r,n),Nu(t,r,n,i),n=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,f=r.contextType;typeof f=="object"&&f!==null?f=Bt(f):(f=Ot(r)?Cn:ft.current,f=mi(t,f));var d=r.getDerivedStateFromProps,m=typeof d=="function"||typeof s.getSnapshotBeforeUpdate=="function";m||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==n||l!==f)&&Qd(t,s,n,f),Vr=!1;var N=t.memoizedState;s.state=N,ca(t,n,s,i),l=t.memoizedState,a!==n||N!==l||St.current||Vr?(typeof d=="function"&&(Ou(t,r,d,n),l=t.memoizedState),(a=Vr||Yd(t,r,a,n,N,l,f))?(m||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),s.props=n,s.state=l,s.context=f,n=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{s=t.stateNode,Mm(e,t),a=t.memoizedProps,f=t.type===t.elementType?a:Qt(t.type,a),s.props=f,m=t.pendingProps,N=s.context,l=r.contextType,typeof l=="object"&&l!==null?l=Bt(l):(l=Ot(r)?Cn:ft.current,l=mi(t,l));var S=r.getDerivedStateFromProps;(d=typeof S=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==m||N!==l)&&Qd(t,s,n,l),Vr=!1,N=t.memoizedState,s.state=N,ca(t,n,s,i);var v=t.memoizedState;a!==m||N!==v||St.current||Vr?(typeof S=="function"&&(Ou(t,r,S,n),v=t.memoizedState),(f=Vr||Yd(t,r,f,n,N,v,l)||!1)?(d||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(n,v,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(n,v,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&N===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&N===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=v),s.props=n,s.state=v,s.context=l,n=f):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&N===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&N===e.memoizedState||(t.flags|=1024),n=!1)}return Cu(e,t,r,n,o,i)}function Cu(e,t,r,n,i,o){cg(e,t);var s=(t.flags&128)!==0;if(!n&&!s)return i&&Ud(t,r,!1),jr(e,t,o);n=t.stateNode,J0.current=t;var a=s&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&s?(t.child=yi(t,e.child,null,o),t.child=yi(t,null,a,o)):dt(e,t,a,o),t.memoizedState=n.state,i&&Ud(t,r,!0),t.child}function fg(e){var t=e.stateNode;t.pendingContext?Vd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Vd(e,t.context,!1),bc(e,t.containerInfo)}function nh(e,t,r,n,i){return gi(),Cc(i),t.flags|=256,dt(e,t,r,n),t.child}var ku={dehydrated:null,treeContext:null,retryLane:0};function Tu(e){return{baseLanes:e,cachePool:null,transitions:null}}function dg(e,t,r){var n=t.pendingProps,i=Le.current,o=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Ie(Le,i&1),e===null)return _u(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=n.children,e=n.fallback,o?(n=t.mode,o=t.child,s={mode:"hidden",children:s},!(n&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Va(s,n,0,null),e=Pn(e,n,r,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Tu(r),t.memoizedState=ku,e):zc(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return Z0(e,t,s,n,a,i,r);if(o){o=n.fallback,s=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:n.children};return!(s&1)&&t.child!==i?(n=t.child,n.childLanes=0,n.pendingProps=l,t.deletions=null):(n=en(i,l),n.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=en(a,o):(o=Pn(o,s,r,null),o.flags|=2),o.return=t,n.return=t,n.sibling=o,t.child=n,n=o,o=t.child,s=e.child.memoizedState,s=s===null?Tu(r):{baseLanes:s.baseLanes|r,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~r,t.memoizedState=ku,n}return o=e.child,e=o.sibling,n=en(o,{mode:"visible",children:n.children}),!(t.mode&1)&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function zc(e,t){return t=Va({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ms(e,t,r,n){return n!==null&&Cc(n),yi(t,e.child,null,r),e=zc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Z0(e,t,r,n,i,o,s){if(r)return t.flags&256?(t.flags&=-257,n=Ol(Error(ee(422))),ms(e,t,s,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=n.fallback,i=t.mode,n=Va({mode:"visible",children:n.children},i,0,null),o=Pn(o,i,s,null),o.flags|=2,n.return=t,o.return=t,n.sibling=o,t.child=n,t.mode&1&&yi(t,e.child,null,s),t.child.memoizedState=Tu(s),t.memoizedState=ku,o);if(!(t.mode&1))return ms(e,t,s,null);if(i.data==="$!"){if(n=i.nextSibling&&i.nextSibling.dataset,n)var a=n.dgst;return n=a,o=Error(ee(419)),n=Ol(o,n,void 0),ms(e,t,s,n)}if(a=(s&e.childLanes)!==0,Et||a){if(n=et,n!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(n.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Rr(e,i),tr(n,e,i,-1))}return qc(),n=Ol(Error(ee(421))),ms(e,t,s,n)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=d1.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Tt=Qr(i.nextSibling),At=t,De=!0,Jt=null,e!==null&&(Ft[Vt++]=Nr,Ft[Vt++]=Ir,Ft[Vt++]=kn,Nr=e.id,Ir=e.overflow,kn=t),t=zc(t,n.children),t.flags|=4096,t)}function ih(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),Su(e.return,t,r)}function Nl(e,t,r,n,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=n,o.tail=r,o.tailMode=i)}function hg(e,t,r){var n=t.pendingProps,i=n.revealOrder,o=n.tail;if(dt(e,t,n.children,r),n=Le.current,n&2)n=n&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ih(e,r,t);else if(e.tag===19)ih(e,r,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}n&=1}if(Ie(Le,n),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(r=t.child,i=null;r!==null;)e=r.alternate,e!==null&&fa(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),Nl(t,!1,i,r,o);break;case"backwards":for(r=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&fa(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}Nl(t,!0,r,null,o);break;case"together":Nl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Fs(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function jr(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),An|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(ee(153));if(t.child!==null){for(e=t.child,r=en(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=en(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function e1(e,t,r){switch(t.tag){case 3:fg(t),gi();break;case 5:Fm(t);break;case 1:Ot(t.type)&&oa(t);break;case 4:bc(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,i=t.memoizedProps.value;Ie(la,n._currentValue),n._currentValue=i;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(Ie(Le,Le.current&1),t.flags|=128,null):r&t.child.childLanes?dg(e,t,r):(Ie(Le,Le.current&1),e=jr(e,t,r),e!==null?e.sibling:null);Ie(Le,Le.current&1);break;case 19:if(n=(r&t.childLanes)!==0,e.flags&128){if(n)return hg(e,t,r);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ie(Le,Le.current),n)break;return null;case 22:case 23:return t.lanes=0,ug(e,t,r)}return jr(e,t,r)}var pg,Au,mg,gg;pg=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};Au=function(){};mg=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,Sn(yr.current);var o=null;switch(r){case"input":i=Zl(e,i),n=Zl(e,n),o=[];break;case"select":i=Me({},i,{value:void 0}),n=Me({},n,{value:void 0}),o=[];break;case"textarea":i=ru(e,i),n=ru(e,n),o=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=na)}iu(r,n);var s;r=null;for(f in i)if(!n.hasOwnProperty(f)&&i.hasOwnProperty(f)&&i[f]!=null)if(f==="style"){var a=i[f];for(s in a)a.hasOwnProperty(s)&&(r||(r={}),r[s]="")}else f!=="dangerouslySetInnerHTML"&&f!=="children"&&f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(yo.hasOwnProperty(f)?o||(o=[]):(o=o||[]).push(f,null));for(f in n){var l=n[f];if(a=i!=null?i[f]:void 0,n.hasOwnProperty(f)&&l!==a&&(l!=null||a!=null))if(f==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(r||(r={}),r[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(r||(r={}),r[s]=l[s])}else r||(o||(o=[]),o.push(f,r)),r=l;else f==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(f,l)):f==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(f,""+l):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&(yo.hasOwnProperty(f)?(l!=null&&f==="onScroll"&&Ce("scroll",e),o||a===l||(o=[])):(o=o||[]).push(f,l))}r&&(o=o||[]).push("style",r);var f=o;(t.updateQueue=f)&&(t.flags|=4)}};gg=function(e,t,r,n){r!==n&&(t.flags|=4)};function Ui(e,t){if(!De)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function at(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var i=e.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags&14680064,n|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags,n|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function t1(e,t,r){var n=t.pendingProps;switch(Pc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return at(t),null;case 1:return Ot(t.type)&&ia(),at(t),null;case 3:return n=t.stateNode,vi(),Te(St),Te(ft),Lc(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(hs(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Jt!==null&&(Fu(Jt),Jt=null))),Au(e,t),at(t),null;case 5:Dc(t);var i=Sn(ko.current);if(r=t.type,e!==null&&t.stateNode!=null)mg(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(ee(166));return at(t),null}if(e=Sn(yr.current),hs(t)){n=t.stateNode,r=t.type;var o=t.memoizedProps;switch(n[hr]=t,n[Po]=o,e=(t.mode&1)!==0,r){case"dialog":Ce("cancel",n),Ce("close",n);break;case"iframe":case"object":case"embed":Ce("load",n);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=s.createElement(r,{is:n.is}):(e=s.createElement(r),r==="select"&&(s=e,n.multiple?s.multiple=!0:n.size&&(s.size=n.size))):e=s.createElementNS(e,r),e[hr]=t,e[Po]=n,pg(e,t,!1,!1),t.stateNode=e;e:{switch(s=ou(r,n),r){case"dialog":Ce("cancel",e),Ce("close",e),i=n;break;case"iframe":case"object":case"embed":Ce("load",e),i=n;break;case"video":case"audio":for(i=0;i$i&&(t.flags|=128,n=!0,Ui(o,!1),t.lanes=4194304)}else{if(!n)if(e=fa(s),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Ui(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!De)return at(t),null}else 2*Ge()-o.renderingStartTime>$i&&r!==1073741824&&(t.flags|=128,n=!0,Ui(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(r=o.last,r!==null?r.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ge(),t.sibling=null,r=Le.current,Ie(Le,n?r&1|2:r&1),t):(at(t),null);case 22:case 23:return Wc(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Ct&1073741824&&(at(t),t.subtreeFlags&6&&(t.flags|=8192)):at(t),null;case 24:return null;case 25:return null}throw Error(ee(156,t.tag))}function r1(e,t){switch(Pc(t),t.tag){case 1:return Ot(t.type)&&ia(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return vi(),Te(St),Te(ft),Lc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Dc(t),null;case 13:if(Te(Le),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ee(340));gi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Te(Le),null;case 4:return vi(),null;case 10:return Ac(t.type._context),null;case 22:case 23:return Wc(),null;case 24:return null;default:return null}}var gs=!1,ut=!1,n1=typeof WeakSet=="function"?WeakSet:Set,ie=null;function ri(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Fe(e,t,n)}else r.current=null}function Ru(e,t,r){try{r()}catch(n){Fe(e,t,n)}}var oh=!1;function i1(e,t){if(mu=ea,e=Em(),Nc(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var i=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break e}var s=0,a=-1,l=-1,f=0,d=0,m=e,N=null;t:for(;;){for(var S;m!==r||i!==0&&m.nodeType!==3||(a=s+i),m!==o||n!==0&&m.nodeType!==3||(l=s+n),m.nodeType===3&&(s+=m.nodeValue.length),(S=m.firstChild)!==null;)N=m,m=S;for(;;){if(m===e)break t;if(N===r&&++f===i&&(a=s),N===o&&++d===n&&(l=s),(S=m.nextSibling)!==null)break;m=N,N=m.parentNode}m=S}r=a===-1||l===-1?null:{start:a,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(gu={focusedElem:e,selectionRange:r},ea=!1,ie=t;ie!==null;)if(t=ie,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ie=e;else for(;ie!==null;){t=ie;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var O=v.memoizedProps,E=v.memoizedState,u=t.stateNode,c=u.getSnapshotBeforeUpdate(t.elementType===t.type?O:Qt(t.type,O),E);u.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ee(163))}}catch(I){Fe(t,t.return,I)}if(e=t.sibling,e!==null){e.return=t.return,ie=e;break}ie=t.return}return v=oh,oh=!1,v}function so(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Ru(t,r,o)}i=i.next}while(i!==n)}}function Ma(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function ju(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function yg(e){var t=e.alternate;t!==null&&(e.alternate=null,yg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[hr],delete t[Po],delete t[wu],delete t[V0],delete t[U0])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function vg(e){return e.tag===5||e.tag===3||e.tag===4}function sh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vg(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.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 bu(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=na));else if(n!==4&&(e=e.child,e!==null))for(bu(e,t,r),e=e.sibling;e!==null;)bu(e,t,r),e=e.sibling}function Du(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Du(e,t,r),e=e.sibling;e!==null;)Du(e,t,r),e=e.sibling}var rt=null,Xt=!1;function Lr(e,t,r){for(r=r.child;r!==null;)wg(e,t,r),r=r.sibling}function wg(e,t,r){if(gr&&typeof gr.onCommitFiberUnmount=="function")try{gr.onCommitFiberUnmount(Ta,r)}catch{}switch(r.tag){case 5:ut||ri(r,t);case 6:var n=rt,i=Xt;rt=null,Lr(e,t,r),rt=n,Xt=i,rt!==null&&(Xt?(e=rt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):rt.removeChild(r.stateNode));break;case 18:rt!==null&&(Xt?(e=rt,r=r.stateNode,e.nodeType===8?vl(e.parentNode,r):e.nodeType===1&&vl(e,r),_o(e)):vl(rt,r.stateNode));break;case 4:n=rt,i=Xt,rt=r.stateNode.containerInfo,Xt=!0,Lr(e,t,r),rt=n,Xt=i;break;case 0:case 11:case 14:case 15:if(!ut&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&Ru(r,t,s),i=i.next}while(i!==n)}Lr(e,t,r);break;case 1:if(!ut&&(ri(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(a){Fe(r,t,a)}Lr(e,t,r);break;case 21:Lr(e,t,r);break;case 22:r.mode&1?(ut=(n=ut)||r.memoizedState!==null,Lr(e,t,r),ut=n):Lr(e,t,r);break;default:Lr(e,t,r)}}function ah(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new n1),t.forEach(function(n){var i=h1.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function Kt(e,t){var r=t.deletions;if(r!==null)for(var n=0;ni&&(i=s),n&=~o}if(n=i,n=Ge()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*s1(n/1960))-n,10e?16:e,Hr===null)var n=!1;else{if(e=Hr,Hr=null,ga=0,$e&6)throw Error(ee(331));var i=$e;for($e|=4,ie=e.current;ie!==null;){var o=ie,s=o.child;if(ie.flags&16){var a=o.deletions;if(a!==null){for(var l=0;lGe()-Kc?In(e,0):Hc|=r),Nt(e,t)}function Pg(e,t){t===0&&(e.mode&1?(t=as,as<<=1,!(as&130023424)&&(as=4194304)):t=1);var r=pt();e=Rr(e,t),e!==null&&(Fo(e,t,r),Nt(e,r))}function d1(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Pg(e,r)}function h1(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,i=e.memoizedState;i!==null&&(r=i.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(ee(314))}n!==null&&n.delete(t),Pg(e,r)}var Cg;Cg=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||St.current)Et=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return Et=!1,e1(e,t,r);Et=!!(e.flags&131072)}else Et=!1,De&&t.flags&1048576&&Rm(t,aa,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Fs(e,t),e=t.pendingProps;var i=mi(t,ft.current);ui(t,r),i=Mc(null,t,n,e,i,r);var o=Fc();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ot(n)?(o=!0,oa(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,jc(t),i.updater=xa,t.stateNode=i,i._reactInternals=t,Nu(t,n,e,r),t=Cu(null,t,n,!0,o,r)):(t.tag=0,De&&o&&Ic(t),dt(null,t,i,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Fs(e,t),e=t.pendingProps,i=n._init,n=i(n._payload),t.type=n,i=t.tag=m1(n),e=Qt(n,e),i){case 0:t=Pu(null,t,n,e,r);break e;case 1:t=rh(null,t,n,e,r);break e;case 11:t=eh(null,t,n,e,r);break e;case 14:t=th(null,t,n,Qt(n.type,e),r);break e}throw Error(ee(306,n,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Qt(n,i),Pu(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Qt(n,i),rh(e,t,n,i,r);case 3:e:{if(fg(t),e===null)throw Error(ee(387));n=t.pendingProps,o=t.memoizedState,i=o.element,Mm(e,t),ca(t,n,null,r);var s=t.memoizedState;if(n=s.element,o.isDehydrated)if(o={element:n,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=wi(Error(ee(423)),t),t=nh(e,t,n,r,i);break e}else if(n!==i){i=wi(Error(ee(424)),t),t=nh(e,t,n,r,i);break e}else for(Tt=Qr(t.stateNode.containerInfo.firstChild),At=t,De=!0,Jt=null,r=Lm(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(gi(),n===i){t=jr(e,t,r);break e}dt(e,t,n,r)}t=t.child}return t;case 5:return Fm(t),e===null&&_u(t),n=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,yu(n,i)?s=null:o!==null&&yu(n,o)&&(t.flags|=32),cg(e,t),dt(e,t,s,r),t.child;case 6:return e===null&&_u(t),null;case 13:return dg(e,t,r);case 4:return bc(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=yi(t,null,n,r):dt(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Qt(n,i),eh(e,t,n,i,r);case 7:return dt(e,t,t.pendingProps,r),t.child;case 8:return dt(e,t,t.pendingProps.children,r),t.child;case 12:return dt(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,Ie(la,n._currentValue),n._currentValue=s,o!==null)if(nr(o.value,s)){if(o.children===i.children&&!St.current){t=jr(e,t,r);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===n){if(o.tag===1){l=Pr(-1,r&-r),l.tag=2;var f=o.updateQueue;if(f!==null){f=f.shared;var d=f.pending;d===null?l.next=l:(l.next=d.next,d.next=l),f.pending=l}}o.lanes|=r,l=o.alternate,l!==null&&(l.lanes|=r),Su(o.return,r,t),a.lanes|=r;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(ee(341));s.lanes|=r,a=s.alternate,a!==null&&(a.lanes|=r),Su(s,r,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}dt(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=t.pendingProps.children,ui(t,r),i=Bt(i),n=n(i),t.flags|=1,dt(e,t,n,r),t.child;case 14:return n=t.type,i=Qt(n,t.pendingProps),i=Qt(n.type,i),th(e,t,n,i,r);case 15:return lg(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Qt(n,i),Fs(e,t),t.tag=1,Ot(n)?(e=!0,oa(t)):e=!1,ui(t,r),og(t,n,i),Nu(t,n,i,r),Cu(null,t,n,!0,e,r);case 19:return hg(e,t,r);case 22:return ug(e,t,r)}throw Error(ee(156,t.tag))};function kg(e,t){return rm(e,t)}function p1(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ut(e,t,r,n){return new p1(e,t,r,n)}function Yc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function m1(e){if(typeof e=="function")return Yc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===pc)return 11;if(e===mc)return 14}return 2}function en(e,t){var r=e.alternate;return r===null?(r=Ut(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function zs(e,t,r,n,i,o){var s=2;if(n=e,typeof e=="function")Yc(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Wn:return Pn(r.children,i,o,t);case hc:s=8,i|=8;break;case Yl:return e=Ut(12,r,t,i|2),e.elementType=Yl,e.lanes=o,e;case Ql:return e=Ut(13,r,t,i),e.elementType=Ql,e.lanes=o,e;case Xl:return e=Ut(19,r,t,i),e.elementType=Xl,e.lanes=o,e;case Fp:return Va(r,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case xp:s=10;break e;case Mp:s=9;break e;case pc:s=11;break e;case mc:s=14;break e;case Fr:s=16,n=null;break e}throw Error(ee(130,e==null?e:typeof e,""))}return t=Ut(s,r,t,i),t.elementType=e,t.type=n,t.lanes=o,t}function Pn(e,t,r,n){return e=Ut(7,e,n,t),e.lanes=r,e}function Va(e,t,r,n){return e=Ut(22,e,n,t),e.elementType=Fp,e.lanes=r,e.stateNode={isHidden:!1},e}function Il(e,t,r){return e=Ut(6,e,null,t),e.lanes=r,e}function Pl(e,t,r){return t=Ut(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function g1(e,t,r,n,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=al(0),this.expirationTimes=al(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=al(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Qc(e,t,r,n,i,o,s,a,l){return e=new g1(e,t,r,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ut(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},jc(o),e}function y1(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(jg)}catch(e){console.error(e)}}jg(),jp.exports=jt;var _1=jp.exports,mh=_1;Wl.createRoot=mh.createRoot,Wl.hydrateRoot=mh.hydrateRoot;var S1=typeof window<"u",O1=function(e,t){return S1?window.matchMedia(e).matches:!1},N1=function(e,t){var r=oe.useState(O1(e)),n=r[0],i=r[1];return oe.useEffect(function(){var o=!0,s=window.matchMedia(e),a=function(){o&&i(!!s.matches)};return s.addEventListener("change",a),i(s.matches),function(){o=!1,s.removeEventListener("change",a)}},[e]),n},Bo=class extends Error{constructor(e){super(e),Object.setPrototypeOf(this,Bo.prototype),this.name="OpenFeatureError"}},Cl={TARGETING_MATCH:"TARGETING_MATCH",SPLIT:"SPLIT",DISABLED:"DISABLED",DEFAULT:"DEFAULT",UNKNOWN:"UNKNOWN",STATIC:"STATIC",CACHED:"CACHED",ERROR:"ERROR"},Vu=class extends Bo{constructor(e){super(e),Object.setPrototypeOf(this,Vu.prototype),this.name="GeneralError",this.code="GENERAL"}},Uu=class extends Bo{constructor(e){super(e),Object.setPrototypeOf(this,Uu.prototype),this.name="FlagNotFoundError",this.code="FLAG_NOT_FOUND"}},fi=class extends Bo{constructor(e){super(e),Object.setPrototypeOf(this,fi.prototype),this.name="ParseError",this.code="PARSE_ERROR"}},zu=class extends Bo{constructor(e){super(e),Object.setPrototypeOf(this,zu.prototype),this.name="TypeMismatchError",this.code="TYPE_MISMATCH"}},bg=class{error(...e){console.error(...e)}warn(...e){console.warn(...e)}info(){}debug(){}},I1=["error","warn","info","debug"],gh=class{constructor(e){this.fallbackLogger=new bg;try{for(const t of I1)if(!e[t]||typeof e[t]!="function")throw new Error(`The provided logger is missing the ${t} method.`);this.logger=e}catch(t){console.error(t),console.error("Falling back to the default logger."),this.logger=this.fallbackLogger}}error(...e){this.log("error",...e)}warn(...e){this.log("warn",...e)}info(...e){this.log("info",...e)}debug(...e){this.log("debug",...e)}log(e,...t){try{this.logger[e](...t)}catch{this.fallbackLogger[e](...t)}}},Bu={exports:{}},Dg={},rr={},Ei={},Ho={},me={},bo={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends t{constructor(c){if(super(),!e.IDENTIFIER.test(c))throw new Error("CodeGen: name must be a valid identifier");this.str=c}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class n extends t{constructor(c){super(),this._items=typeof c=="string"?[c]:c}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const c=this._items[0];return c===""||c==='""'}get str(){var c;return(c=this._str)!==null&&c!==void 0?c:this._str=this._items.reduce((p,I)=>`${p}${I}`,"")}get names(){var c;return(c=this._names)!==null&&c!==void 0?c:this._names=this._items.reduce((p,I)=>(I instanceof r&&(p[I.str]=(p[I.str]||0)+1),p),{})}}e._Code=n,e.nil=new n("");function i(u,...c){const p=[u[0]];let I=0;for(;I{if(m.scopePath===void 0)throw new Error(`CodeGen: name "${m}" has no value`);return(0,t._)`${f}${m.scopePath}`})}scopeCode(f=this._values,d,m){return this._reduceValues(f,N=>{if(N.value===void 0)throw new Error(`CodeGen: name "${N}" has no value`);return N.value.code},d,m)}_reduceValues(f,d,m={},N){let S=t.nil;for(const v in f){const O=f[v];if(!O)continue;const E=m[v]=m[v]||new Map;O.forEach(u=>{if(E.has(u))return;E.set(u,n.Started);let c=d(u);if(c){const p=this.opts.es5?e.varKinds.var:e.varKinds.const;S=(0,t._)`${S}${p} ${u} = ${c};${this.opts._n}`}else if(c=N==null?void 0:N(u))S=(0,t._)`${S}${c}${this.opts._n}`;else throw new r(u);E.set(u,n.Completed)})}return S}}e.ValueScope=a})(Hu);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=bo,r=Hu;var n=bo;Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var i=Hu;Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return i.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return i.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return i.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return i.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class o{optimizeNodes(){return this}optimizeNames(_,A){return this}}class s extends o{constructor(_,A,K){super(),this.varKind=_,this.name=A,this.rhs=K}render({es5:_,_n:A}){const K=_?r.varKinds.var:this.varKind,te=this.rhs===void 0?"":` = ${this.rhs}`;return`${K} ${this.name}${te};`+A}optimizeNames(_,A){if(_[this.name.str])return this.rhs&&(this.rhs=U(this.rhs,_,A)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class a extends o{constructor(_,A,K){super(),this.lhs=_,this.rhs=A,this.sideEffects=K}render({_n:_}){return`${this.lhs} = ${this.rhs};`+_}optimizeNames(_,A){if(!(this.lhs instanceof t.Name&&!_[this.lhs.str]&&!this.sideEffects))return this.rhs=U(this.rhs,_,A),this}get names(){const _=this.lhs instanceof t.Name?{}:{...this.lhs.names};return Y(_,this.rhs)}}class l extends a{constructor(_,A,K,te){super(_,K,te),this.op=A}render({_n:_}){return`${this.lhs} ${this.op}= ${this.rhs};`+_}}class f extends o{constructor(_){super(),this.label=_,this.names={}}render({_n:_}){return`${this.label}:`+_}}class d extends o{constructor(_){super(),this.label=_,this.names={}}render({_n:_}){return`break${this.label?` ${this.label}`:""};`+_}}class m extends o{constructor(_){super(),this.error=_}render({_n:_}){return`throw ${this.error};`+_}get names(){return this.error.names}}class N extends o{constructor(_){super(),this.code=_}render({_n:_}){return`${this.code};`+_}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(_,A){return this.code=U(this.code,_,A),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class S extends o{constructor(_=[]){super(),this.nodes=_}render(_){return this.nodes.reduce((A,K)=>A+K.render(_),"")}optimizeNodes(){const{nodes:_}=this;let A=_.length;for(;A--;){const K=_[A].optimizeNodes();Array.isArray(K)?_.splice(A,1,...K):K?_[A]=K:_.splice(A,1)}return _.length>0?this:void 0}optimizeNames(_,A){const{nodes:K}=this;let te=K.length;for(;te--;){const q=K[te];q.optimizeNames(_,A)||(G(_,q.names),K.splice(te,1))}return K.length>0?this:void 0}get names(){return this.nodes.reduce((_,A)=>F(_,A.names),{})}}class v extends S{render(_){return"{"+_._n+super.render(_)+"}"+_._n}}class O extends S{}class E extends v{}E.kind="else";class u extends v{constructor(_,A){super(A),this.condition=_}render(_){let A=`if(${this.condition})`+super.render(_);return this.else&&(A+="else "+this.else.render(_)),A}optimizeNodes(){super.optimizeNodes();const _=this.condition;if(_===!0)return this.nodes;let A=this.else;if(A){const K=A.optimizeNodes();A=this.else=Array.isArray(K)?new E(K):K}if(A)return _===!1?A instanceof u?A:A.nodes:this.nodes.length?this:new u(B(_),A instanceof u?[A]:A.nodes);if(!(_===!1||!this.nodes.length))return this}optimizeNames(_,A){var K;if(this.else=(K=this.else)===null||K===void 0?void 0:K.optimizeNames(_,A),!!(super.optimizeNames(_,A)||this.else))return this.condition=U(this.condition,_,A),this}get names(){const _=super.names;return Y(_,this.condition),this.else&&F(_,this.else.names),_}}u.kind="if";class c extends v{}c.kind="for";class p extends c{constructor(_){super(),this.iteration=_}render(_){return`for(${this.iteration})`+super.render(_)}optimizeNames(_,A){if(super.optimizeNames(_,A))return this.iteration=U(this.iteration,_,A),this}get names(){return F(super.names,this.iteration.names)}}class I extends c{constructor(_,A,K,te){super(),this.varKind=_,this.name=A,this.from=K,this.to=te}render(_){const A=_.es5?r.varKinds.var:this.varKind,{name:K,from:te,to:q}=this;return`for(${A} ${K}=${te}; ${K}<${q}; ${K}++)`+super.render(_)}get names(){const _=Y(super.names,this.from);return Y(_,this.to)}}class j extends c{constructor(_,A,K,te){super(),this.loop=_,this.varKind=A,this.name=K,this.iterable=te}render(_){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(_)}optimizeNames(_,A){if(super.optimizeNames(_,A))return this.iterable=U(this.iterable,_,A),this}get names(){return F(super.names,this.iterable.names)}}class g extends v{constructor(_,A,K){super(),this.name=_,this.args=A,this.async=K}render(_){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(_)}}g.kind="func";class $ extends S{render(_){return"return "+super.render(_)}}$.kind="return";class h extends v{render(_){let A="try"+super.render(_);return this.catch&&(A+=this.catch.render(_)),this.finally&&(A+=this.finally.render(_)),A}optimizeNodes(){var _,A;return super.optimizeNodes(),(_=this.catch)===null||_===void 0||_.optimizeNodes(),(A=this.finally)===null||A===void 0||A.optimizeNodes(),this}optimizeNames(_,A){var K,te;return super.optimizeNames(_,A),(K=this.catch)===null||K===void 0||K.optimizeNames(_,A),(te=this.finally)===null||te===void 0||te.optimizeNames(_,A),this}get names(){const _=super.names;return this.catch&&F(_,this.catch.names),this.finally&&F(_,this.finally.names),_}}class P extends v{constructor(_){super(),this.error=_}render(_){return`catch(${this.error})`+super.render(_)}}P.kind="catch";class y extends v{render(_){return"finally"+super.render(_)}}y.kind="finally";class x{constructor(_,A={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...A,_n:A.lines?` +`:""},this._extScope=_,this._scope=new r.Scope({parent:_}),this._nodes=[new O]}toString(){return this._root.render(this.opts)}name(_){return this._scope.name(_)}scopeName(_){return this._extScope.name(_)}scopeValue(_,A){const K=this._extScope.value(_,A);return(this._values[K.prefix]||(this._values[K.prefix]=new Set)).add(K),K}getScopeValue(_,A){return this._extScope.getValue(_,A)}scopeRefs(_){return this._extScope.scopeRefs(_,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(_,A,K,te){const q=this._scope.toName(A);return K!==void 0&&te&&(this._constants[q.str]=K),this._leafNode(new s(_,q,K)),q}const(_,A,K){return this._def(r.varKinds.const,_,A,K)}let(_,A,K){return this._def(r.varKinds.let,_,A,K)}var(_,A,K){return this._def(r.varKinds.var,_,A,K)}assign(_,A,K){return this._leafNode(new a(_,A,K))}add(_,A){return this._leafNode(new l(_,e.operators.ADD,A))}code(_){return typeof _=="function"?_():_!==t.nil&&this._leafNode(new N(_)),this}object(..._){const A=["{"];for(const[K,te]of _)A.length>1&&A.push(","),A.push(K),(K!==te||this.opts.es5)&&(A.push(":"),(0,t.addCodeArg)(A,te));return A.push("}"),new t._Code(A)}if(_,A,K){if(this._blockNode(new u(_)),A&&K)this.code(A).else().code(K).endIf();else if(A)this.code(A).endIf();else if(K)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(_){return this._elseNode(new u(_))}else(){return this._elseNode(new E)}endIf(){return this._endBlockNode(u,E)}_for(_,A){return this._blockNode(_),A&&this.code(A).endFor(),this}for(_,A){return this._for(new p(_),A)}forRange(_,A,K,te,q=this.opts.es5?r.varKinds.var:r.varKinds.let){const w=this._scope.toName(_);return this._for(new I(q,w,A,K),()=>te(w))}forOf(_,A,K,te=r.varKinds.const){const q=this._scope.toName(_);if(this.opts.es5){const w=A instanceof t.Name?A:this.var("_arr",A);return this.forRange("_i",0,(0,t._)`${w}.length`,k=>{this.var(q,(0,t._)`${w}[${k}]`),K(q)})}return this._for(new j("of",te,q,A),()=>K(q))}forIn(_,A,K,te=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(_,(0,t._)`Object.keys(${A})`,K);const q=this._scope.toName(_);return this._for(new j("in",te,q,A),()=>K(q))}endFor(){return this._endBlockNode(c)}label(_){return this._leafNode(new f(_))}break(_){return this._leafNode(new d(_))}return(_){const A=new $;if(this._blockNode(A),this.code(_),A.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode($)}try(_,A,K){if(!A&&!K)throw new Error('CodeGen: "try" without "catch" and "finally"');const te=new h;if(this._blockNode(te),this.code(_),A){const q=this.name("e");this._currNode=te.catch=new P(q),A(q)}return K&&(this._currNode=te.finally=new y,this.code(K)),this._endBlockNode(P,y)}throw(_){return this._leafNode(new m(_))}block(_,A){return this._blockStarts.push(this._nodes.length),_&&this.code(_).endBlock(A),this}endBlock(_){const A=this._blockStarts.pop();if(A===void 0)throw new Error("CodeGen: not in self-balancing block");const K=this._nodes.length-A;if(K<0||_!==void 0&&K!==_)throw new Error(`CodeGen: wrong number of nodes: ${K} vs ${_} expected`);return this._nodes.length=A,this}func(_,A=t.nil,K,te){return this._blockNode(new g(_,A,K)),te&&this.code(te).endFunc(),this}endFunc(){return this._endBlockNode(g)}optimize(_=1){for(;_-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(_){return this._currNode.nodes.push(_),this}_blockNode(_){this._currNode.nodes.push(_),this._nodes.push(_)}_endBlockNode(_,A){const K=this._currNode;if(K instanceof _||A&&K instanceof A)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${A?`${_.kind}/${A.kind}`:_.kind}"`)}_elseNode(_){const A=this._currNode;if(!(A instanceof u))throw new Error('CodeGen: "else" without "if"');return this._currNode=A.else=_,this}get _root(){return this._nodes[0]}get _currNode(){const _=this._nodes;return _[_.length-1]}set _currNode(_){const A=this._nodes;A[A.length-1]=_}}e.CodeGen=x;function F(M,_){for(const A in _)M[A]=(M[A]||0)+(_[A]||0);return M}function Y(M,_){return _ instanceof t._CodeOrName?F(M,_.names):M}function U(M,_,A){if(M instanceof t.Name)return K(M);if(!te(M))return M;return new t._Code(M._items.reduce((q,w)=>(w instanceof t.Name&&(w=K(w)),w instanceof t._Code?q.push(...w._items):q.push(w),q),[]));function K(q){const w=A[q.str];return w===void 0||_[q.str]!==1?q:(delete _[q.str],w)}function te(q){return q instanceof t._Code&&q._items.some(w=>w instanceof t.Name&&_[w.str]===1&&A[w.str]!==void 0)}}function G(M,_){for(const A in _)M[A]=(M[A]||0)-(_[A]||0)}function B(M){return typeof M=="boolean"||typeof M=="number"||M===null?!M:(0,t._)`!${V(M)}`}e.not=B;const Z=C(e.operators.AND);function z(...M){return M.reduce(Z)}e.and=z;const Q=C(e.operators.OR);function R(...M){return M.reduce(Q)}e.or=R;function C(M){return(_,A)=>_===t.nil?A:A===t.nil?_:(0,t._)`${V(_)} ${M} ${V(A)}`}function V(M){return M instanceof t.Name?M:(0,t._)`(${M})`}})(me);var Ee={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.checkStrictMode=e.getErrorPath=e.Type=e.useFunc=e.setEvaluated=e.evaluatedPropsToName=e.mergeEvaluated=e.eachItem=e.unescapeJsonPointer=e.escapeJsonPointer=e.escapeFragment=e.unescapeFragment=e.schemaRefOrVal=e.schemaHasRulesButRef=e.schemaHasRules=e.checkUnknownRules=e.alwaysValidSchema=e.toHash=void 0;const t=me,r=bo;function n(g){const $={};for(const h of g)$[h]=!0;return $}e.toHash=n;function i(g,$){return typeof $=="boolean"?$:Object.keys($).length===0?!0:(o(g,$),!s($,g.self.RULES.all))}e.alwaysValidSchema=i;function o(g,$=g.schema){const{opts:h,self:P}=g;if(!h.strictSchema||typeof $=="boolean")return;const y=P.RULES.keywords;for(const x in $)y[x]||j(g,`unknown keyword: "${x}"`)}e.checkUnknownRules=o;function s(g,$){if(typeof g=="boolean")return!g;for(const h in g)if($[h])return!0;return!1}e.schemaHasRules=s;function a(g,$){if(typeof g=="boolean")return!g;for(const h in g)if(h!=="$ref"&&$.all[h])return!0;return!1}e.schemaHasRulesButRef=a;function l({topSchemaRef:g,schemaPath:$},h,P,y){if(!y){if(typeof h=="number"||typeof h=="boolean")return h;if(typeof h=="string")return(0,t._)`${h}`}return(0,t._)`${g}${$}${(0,t.getProperty)(P)}`}e.schemaRefOrVal=l;function f(g){return N(decodeURIComponent(g))}e.unescapeFragment=f;function d(g){return encodeURIComponent(m(g))}e.escapeFragment=d;function m(g){return typeof g=="number"?`${g}`:g.replace(/~/g,"~0").replace(/\//g,"~1")}e.escapeJsonPointer=m;function N(g){return g.replace(/~1/g,"/").replace(/~0/g,"~")}e.unescapeJsonPointer=N;function S(g,$){if(Array.isArray(g))for(const h of g)$(h);else $(g)}e.eachItem=S;function v({mergeNames:g,mergeToName:$,mergeValues:h,resultToName:P}){return(y,x,F,Y)=>{const U=F===void 0?x:F instanceof t.Name?(x instanceof t.Name?g(y,x,F):$(y,x,F),F):x instanceof t.Name?($(y,F,x),x):h(x,F);return Y===t.Name&&!(U instanceof t.Name)?P(y,U):U}}e.mergeEvaluated={props:v({mergeNames:(g,$,h)=>g.if((0,t._)`${h} !== true && ${$} !== undefined`,()=>{g.if((0,t._)`${$} === true`,()=>g.assign(h,!0),()=>g.assign(h,(0,t._)`${h} || {}`).code((0,t._)`Object.assign(${h}, ${$})`))}),mergeToName:(g,$,h)=>g.if((0,t._)`${h} !== true`,()=>{$===!0?g.assign(h,!0):(g.assign(h,(0,t._)`${h} || {}`),E(g,h,$))}),mergeValues:(g,$)=>g===!0?!0:{...g,...$},resultToName:O}),items:v({mergeNames:(g,$,h)=>g.if((0,t._)`${h} !== true && ${$} !== undefined`,()=>g.assign(h,(0,t._)`${$} === true ? true : ${h} > ${$} ? ${h} : ${$}`)),mergeToName:(g,$,h)=>g.if((0,t._)`${h} !== true`,()=>g.assign(h,$===!0?!0:(0,t._)`${h} > ${$} ? ${h} : ${$}`)),mergeValues:(g,$)=>g===!0?!0:Math.max(g,$),resultToName:(g,$)=>g.var("items",$)})};function O(g,$){if($===!0)return g.var("props",!0);const h=g.var("props",(0,t._)`{}`);return $!==void 0&&E(g,h,$),h}e.evaluatedPropsToName=O;function E(g,$,h){Object.keys(h).forEach(P=>g.assign((0,t._)`${$}${(0,t.getProperty)(P)}`,!0))}e.setEvaluated=E;const u={};function c(g,$){return g.scopeValue("func",{ref:$,code:u[$.code]||(u[$.code]=new r._Code($.code))})}e.useFunc=c;var p;(function(g){g[g.Num=0]="Num",g[g.Str=1]="Str"})(p=e.Type||(e.Type={}));function I(g,$,h){if(g instanceof t.Name){const P=$===p.Num;return h?P?(0,t._)`"[" + ${g} + "]"`:(0,t._)`"['" + ${g} + "']"`:P?(0,t._)`"/" + ${g}`:(0,t._)`"/" + ${g}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return h?(0,t.getProperty)(g).toString():"/"+m(g)}e.getErrorPath=I;function j(g,$,h=g.opts.strictSchema){if(h){if($=`strict mode: ${$}`,h===!0)throw new Error($);g.self.logger.warn($)}}e.checkStrictMode=j})(Ee);var vr={};Object.defineProperty(vr,"__esModule",{value:!0});const lt=me,P1={data:new lt.Name("data"),valCxt:new lt.Name("valCxt"),instancePath:new lt.Name("instancePath"),parentData:new lt.Name("parentData"),parentDataProperty:new lt.Name("parentDataProperty"),rootData:new lt.Name("rootData"),dynamicAnchors:new lt.Name("dynamicAnchors"),vErrors:new lt.Name("vErrors"),errors:new lt.Name("errors"),this:new lt.Name("this"),self:new lt.Name("self"),scope:new lt.Name("scope"),json:new lt.Name("json"),jsonPos:new lt.Name("jsonPos"),jsonLen:new lt.Name("jsonLen"),jsonPart:new lt.Name("jsonPart")};vr.default=P1;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=me,r=Ee,n=vr;e.keywordError={message:({keyword:E})=>(0,t.str)`must pass "${E}" keyword validation`},e.keyword$DataError={message:({keyword:E,schemaType:u})=>u?(0,t.str)`"${E}" keyword must be ${u} ($data)`:(0,t.str)`"${E}" keyword is invalid ($data)`};function i(E,u=e.keywordError,c,p){const{it:I}=E,{gen:j,compositeRule:g,allErrors:$}=I,h=m(E,u,c);p??(g||$)?l(j,h):f(I,(0,t._)`[${h}]`)}e.reportError=i;function o(E,u=e.keywordError,c){const{it:p}=E,{gen:I,compositeRule:j,allErrors:g}=p,$=m(E,u,c);l(I,$),j||g||f(p,n.default.vErrors)}e.reportExtraError=o;function s(E,u){E.assign(n.default.errors,u),E.if((0,t._)`${n.default.vErrors} !== null`,()=>E.if(u,()=>E.assign((0,t._)`${n.default.vErrors}.length`,u),()=>E.assign(n.default.vErrors,null)))}e.resetErrorsCount=s;function a({gen:E,keyword:u,schemaValue:c,data:p,errsCount:I,it:j}){if(I===void 0)throw new Error("ajv implementation error");const g=E.name("err");E.forRange("i",I,n.default.errors,$=>{E.const(g,(0,t._)`${n.default.vErrors}[${$}]`),E.if((0,t._)`${g}.instancePath === undefined`,()=>E.assign((0,t._)`${g}.instancePath`,(0,t.strConcat)(n.default.instancePath,j.errorPath))),E.assign((0,t._)`${g}.schemaPath`,(0,t.str)`${j.errSchemaPath}/${u}`),j.opts.verbose&&(E.assign((0,t._)`${g}.schema`,c),E.assign((0,t._)`${g}.data`,p))})}e.extendErrors=a;function l(E,u){const c=E.const("err",u);E.if((0,t._)`${n.default.vErrors} === null`,()=>E.assign(n.default.vErrors,(0,t._)`[${c}]`),(0,t._)`${n.default.vErrors}.push(${c})`),E.code((0,t._)`${n.default.errors}++`)}function f(E,u){const{gen:c,validateName:p,schemaEnv:I}=E;I.$async?c.throw((0,t._)`new ${E.ValidationError}(${u})`):(c.assign((0,t._)`${p}.errors`,u),c.return(!1))}const d={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function m(E,u,c){const{createErrors:p}=E.it;return p===!1?(0,t._)`{}`:N(E,u,c)}function N(E,u,c={}){const{gen:p,it:I}=E,j=[S(I,c),v(E,c)];return O(E,u,j),p.object(...j)}function S({errorPath:E},{instancePath:u}){const c=u?(0,t.str)`${E}${(0,r.getErrorPath)(u,r.Type.Str)}`:E;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,c)]}function v({keyword:E,it:{errSchemaPath:u}},{schemaPath:c,parentSchema:p}){let I=p?u:(0,t.str)`${u}/${E}`;return c&&(I=(0,t.str)`${I}${(0,r.getErrorPath)(c,r.Type.Str)}`),[d.schemaPath,I]}function O(E,{params:u,message:c},p){const{keyword:I,data:j,schemaValue:g,it:$}=E,{opts:h,propertyName:P,topSchemaRef:y,schemaPath:x}=$;p.push([d.keyword,I],[d.params,typeof u=="function"?u(E):u||(0,t._)`{}`]),h.messages&&p.push([d.message,typeof c=="function"?c(E):c]),h.verbose&&p.push([d.schema,g],[d.parentSchema,(0,t._)`${y}${x}`],[n.default.data,j]),P&&p.push([d.propertyName,P])}})(Ho);Object.defineProperty(Ei,"__esModule",{value:!0});Ei.boolOrEmptySchema=Ei.topBoolOrEmptySchema=void 0;const C1=Ho,k1=me,T1=vr,A1={message:"boolean schema is false"};function R1(e){const{gen:t,schema:r,validateName:n}=e;r===!1?Lg(e,!1):typeof r=="object"&&r.$async===!0?t.return(T1.default.data):(t.assign((0,k1._)`${n}.errors`,null),t.return(!0))}Ei.topBoolOrEmptySchema=R1;function j1(e,t){const{gen:r,schema:n}=e;n===!1?(r.var(t,!1),Lg(e)):r.var(t,!0)}Ei.boolOrEmptySchema=j1;function Lg(e,t){const{gen:r,data:n}=e,i={gen:r,keyword:"false schema",data:n,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,C1.reportError)(i,A1,void 0,t)}var Ko={},jn={};Object.defineProperty(jn,"__esModule",{value:!0});jn.getRules=jn.isJSONType=void 0;const b1=["string","number","integer","boolean","null","object","array"],D1=new Set(b1);function L1(e){return typeof e=="string"&&D1.has(e)}jn.isJSONType=L1;function x1(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}jn.getRules=x1;var Cr={};Object.defineProperty(Cr,"__esModule",{value:!0});Cr.shouldUseRule=Cr.shouldUseGroup=Cr.schemaHasRulesForType=void 0;function M1({schema:e,self:t},r){const n=t.RULES.types[r];return n&&n!==!0&&xg(e,n)}Cr.schemaHasRulesForType=M1;function xg(e,t){return t.rules.some(r=>Mg(e,r))}Cr.shouldUseGroup=xg;function Mg(e,t){var r;return e[t.keyword]!==void 0||((r=t.definition.implements)===null||r===void 0?void 0:r.some(n=>e[n]!==void 0))}Cr.shouldUseRule=Mg;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.reportTypeError=e.checkDataTypes=e.checkDataType=e.coerceAndCheckDataType=e.getJSONTypes=e.getSchemaTypes=e.DataType=void 0;const t=jn,r=Cr,n=Ho,i=me,o=Ee;var s;(function(p){p[p.Correct=0]="Correct",p[p.Wrong=1]="Wrong"})(s=e.DataType||(e.DataType={}));function a(p){const I=l(p.type);if(I.includes("null")){if(p.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!I.length&&p.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');p.nullable===!0&&I.push("null")}return I}e.getSchemaTypes=a;function l(p){const I=Array.isArray(p)?p:p?[p]:[];if(I.every(t.isJSONType))return I;throw new Error("type must be JSONType or JSONType[]: "+I.join(","))}e.getJSONTypes=l;function f(p,I){const{gen:j,data:g,opts:$}=p,h=m(I,$.coerceTypes),P=I.length>0&&!(h.length===0&&I.length===1&&(0,r.schemaHasRulesForType)(p,I[0]));if(P){const y=O(I,g,$.strictNumbers,s.Wrong);j.if(y,()=>{h.length?N(p,I,h):u(p)})}return P}e.coerceAndCheckDataType=f;const d=new Set(["string","number","integer","boolean","null"]);function m(p,I){return I?p.filter(j=>d.has(j)||I==="array"&&j==="array"):[]}function N(p,I,j){const{gen:g,data:$,opts:h}=p,P=g.let("dataType",(0,i._)`typeof ${$}`),y=g.let("coerced",(0,i._)`undefined`);h.coerceTypes==="array"&&g.if((0,i._)`${P} == 'object' && Array.isArray(${$}) && ${$}.length == 1`,()=>g.assign($,(0,i._)`${$}[0]`).assign(P,(0,i._)`typeof ${$}`).if(O(I,$,h.strictNumbers),()=>g.assign(y,$))),g.if((0,i._)`${y} !== undefined`);for(const F of j)(d.has(F)||F==="array"&&h.coerceTypes==="array")&&x(F);g.else(),u(p),g.endIf(),g.if((0,i._)`${y} !== undefined`,()=>{g.assign($,y),S(p,y)});function x(F){switch(F){case"string":g.elseIf((0,i._)`${P} == "number" || ${P} == "boolean"`).assign(y,(0,i._)`"" + ${$}`).elseIf((0,i._)`${$} === null`).assign(y,(0,i._)`""`);return;case"number":g.elseIf((0,i._)`${P} == "boolean" || ${$} === null + || (${P} == "string" && ${$} && ${$} == +${$})`).assign(y,(0,i._)`+${$}`);return;case"integer":g.elseIf((0,i._)`${P} === "boolean" || ${$} === null + || (${P} === "string" && ${$} && ${$} == +${$} && !(${$} % 1))`).assign(y,(0,i._)`+${$}`);return;case"boolean":g.elseIf((0,i._)`${$} === "false" || ${$} === 0 || ${$} === null`).assign(y,!1).elseIf((0,i._)`${$} === "true" || ${$} === 1`).assign(y,!0);return;case"null":g.elseIf((0,i._)`${$} === "" || ${$} === 0 || ${$} === false`),g.assign(y,null);return;case"array":g.elseIf((0,i._)`${P} === "string" || ${P} === "number" + || ${P} === "boolean" || ${$} === null`).assign(y,(0,i._)`[${$}]`)}}}function S({gen:p,parentData:I,parentDataProperty:j},g){p.if((0,i._)`${I} !== undefined`,()=>p.assign((0,i._)`${I}[${j}]`,g))}function v(p,I,j,g=s.Correct){const $=g===s.Correct?i.operators.EQ:i.operators.NEQ;let h;switch(p){case"null":return(0,i._)`${I} ${$} null`;case"array":h=(0,i._)`Array.isArray(${I})`;break;case"object":h=(0,i._)`${I} && typeof ${I} == "object" && !Array.isArray(${I})`;break;case"integer":h=P((0,i._)`!(${I} % 1) && !isNaN(${I})`);break;case"number":h=P();break;default:return(0,i._)`typeof ${I} ${$} ${p}`}return g===s.Correct?h:(0,i.not)(h);function P(y=i.nil){return(0,i.and)((0,i._)`typeof ${I} == "number"`,y,j?(0,i._)`isFinite(${I})`:i.nil)}}e.checkDataType=v;function O(p,I,j,g){if(p.length===1)return v(p[0],I,j,g);let $;const h=(0,o.toHash)(p);if(h.array&&h.object){const P=(0,i._)`typeof ${I} != "object"`;$=h.null?P:(0,i._)`!${I} || ${P}`,delete h.null,delete h.array,delete h.object}else $=i.nil;h.number&&delete h.integer;for(const P in h)$=(0,i.and)($,v(P,I,j,g));return $}e.checkDataTypes=O;const E={message:({schema:p})=>`must be ${p}`,params:({schema:p,schemaValue:I})=>typeof p=="string"?(0,i._)`{type: ${p}}`:(0,i._)`{type: ${I}}`};function u(p){const I=c(p);(0,n.reportError)(I,E)}e.reportTypeError=u;function c(p){const{gen:I,data:j,schema:g}=p,$=(0,o.schemaRefOrVal)(p,g,"type");return{gen:I,keyword:"type",data:j,schema:g.type,schemaCode:$,schemaValue:$,parentSchema:g,params:{},it:p}}})(Ko);var Ka={};Object.defineProperty(Ka,"__esModule",{value:!0});Ka.assignDefaults=void 0;const Un=me,F1=Ee;function V1(e,t){const{properties:r,items:n}=e.schema;if(t==="object"&&r)for(const i in r)yh(e,i,r[i].default);else t==="array"&&Array.isArray(n)&&n.forEach((i,o)=>yh(e,o,i.default))}Ka.assignDefaults=V1;function yh(e,t,r){const{gen:n,compositeRule:i,data:o,opts:s}=e;if(r===void 0)return;const a=(0,Un._)`${o}${(0,Un.getProperty)(t)}`;if(i){(0,F1.checkStrictMode)(e,`default is ignored for: ${a}`);return}let l=(0,Un._)`${a} === undefined`;s.useDefaults==="empty"&&(l=(0,Un._)`${l} || ${a} === null || ${a} === ""`),n.if(l,(0,Un._)`${a} = ${(0,Un.stringify)(r)}`)}var mr={},pe={};Object.defineProperty(pe,"__esModule",{value:!0});pe.validateUnion=pe.validateArray=pe.usePattern=pe.callValidateCode=pe.schemaProperties=pe.allSchemaProperties=pe.noPropertyInData=pe.propertyInData=pe.isOwnProperty=pe.hasPropFunc=pe.reportMissingProp=pe.checkMissingProp=pe.checkReportMissingProp=void 0;const ke=me,ef=Ee,xr=vr,U1=Ee;function z1(e,t){const{gen:r,data:n,it:i}=e;r.if(rf(r,n,t,i.opts.ownProperties),()=>{e.setParams({missingProperty:(0,ke._)`${t}`},!0),e.error()})}pe.checkReportMissingProp=z1;function B1({gen:e,data:t,it:{opts:r}},n,i){return(0,ke.or)(...n.map(o=>(0,ke.and)(rf(e,t,o,r.ownProperties),(0,ke._)`${i} = ${o}`)))}pe.checkMissingProp=B1;function H1(e,t){e.setParams({missingProperty:t},!0),e.error()}pe.reportMissingProp=H1;function Fg(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,ke._)`Object.prototype.hasOwnProperty`})}pe.hasPropFunc=Fg;function tf(e,t,r){return(0,ke._)`${Fg(e)}.call(${t}, ${r})`}pe.isOwnProperty=tf;function K1(e,t,r,n){const i=(0,ke._)`${t}${(0,ke.getProperty)(r)} !== undefined`;return n?(0,ke._)`${i} && ${tf(e,t,r)}`:i}pe.propertyInData=K1;function rf(e,t,r,n){const i=(0,ke._)`${t}${(0,ke.getProperty)(r)} === undefined`;return n?(0,ke.or)(i,(0,ke.not)(tf(e,t,r))):i}pe.noPropertyInData=rf;function Vg(e){return e?Object.keys(e).filter(t=>t!=="__proto__"):[]}pe.allSchemaProperties=Vg;function G1(e,t){return Vg(t).filter(r=>!(0,ef.alwaysValidSchema)(e,t[r]))}pe.schemaProperties=G1;function W1({schemaCode:e,data:t,it:{gen:r,topSchemaRef:n,schemaPath:i,errorPath:o},it:s},a,l,f){const d=f?(0,ke._)`${e}, ${t}, ${n}${i}`:t,m=[[xr.default.instancePath,(0,ke.strConcat)(xr.default.instancePath,o)],[xr.default.parentData,s.parentData],[xr.default.parentDataProperty,s.parentDataProperty],[xr.default.rootData,xr.default.rootData]];s.opts.dynamicRef&&m.push([xr.default.dynamicAnchors,xr.default.dynamicAnchors]);const N=(0,ke._)`${d}, ${r.object(...m)}`;return l!==ke.nil?(0,ke._)`${a}.call(${l}, ${N})`:(0,ke._)`${a}(${N})`}pe.callValidateCode=W1;const q1=(0,ke._)`new RegExp`;function Y1({gen:e,it:{opts:t}},r){const n=t.unicodeRegExp?"u":"",{regExp:i}=t.code,o=i(r,n);return e.scopeValue("pattern",{key:o.toString(),ref:o,code:(0,ke._)`${i.code==="new RegExp"?q1:(0,U1.useFunc)(e,i)}(${r}, ${n})`})}pe.usePattern=Y1;function Q1(e){const{gen:t,data:r,keyword:n,it:i}=e,o=t.name("valid");if(i.allErrors){const a=t.let("valid",!0);return s(()=>t.assign(a,!1)),a}return t.var(o,!0),s(()=>t.break()),o;function s(a){const l=t.const("len",(0,ke._)`${r}.length`);t.forRange("i",0,l,f=>{e.subschema({keyword:n,dataProp:f,dataPropType:ef.Type.Num},o),t.if((0,ke.not)(o),a)})}}pe.validateArray=Q1;function X1(e){const{gen:t,schema:r,keyword:n,it:i}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(r.some(l=>(0,ef.alwaysValidSchema)(i,l))&&!i.opts.unevaluated)return;const s=t.let("valid",!1),a=t.name("_valid");t.block(()=>r.forEach((l,f)=>{const d=e.subschema({keyword:n,schemaProp:f,compositeRule:!0},a);t.assign(s,(0,ke._)`${s} || ${a}`),e.mergeValidEvaluated(d,a)||t.if((0,ke.not)(s))})),e.result(s,()=>e.reset(),()=>e.error(!0))}pe.validateUnion=X1;Object.defineProperty(mr,"__esModule",{value:!0});mr.validateKeywordUsage=mr.validSchemaType=mr.funcKeywordCode=mr.macroKeywordCode=void 0;const ht=me,yn=vr,J1=pe,Z1=Ho;function ew(e,t){const{gen:r,keyword:n,schema:i,parentSchema:o,it:s}=e,a=t.macro.call(s.self,i,o,s),l=Ug(r,n,a);s.opts.validateSchema!==!1&&s.self.validateSchema(a,!0);const f=r.name("valid");e.subschema({schema:a,schemaPath:ht.nil,errSchemaPath:`${s.errSchemaPath}/${n}`,topSchemaRef:l,compositeRule:!0},f),e.pass(f,()=>e.error(!0))}mr.macroKeywordCode=ew;function tw(e,t){var r;const{gen:n,keyword:i,schema:o,parentSchema:s,$data:a,it:l}=e;nw(l,t);const f=!a&&t.compile?t.compile.call(l.self,o,s,l):t.validate,d=Ug(n,i,f),m=n.let("valid");e.block$data(m,N),e.ok((r=t.valid)!==null&&r!==void 0?r:m);function N(){if(t.errors===!1)O(),t.modifying&&vh(e),E(()=>e.error());else{const u=t.async?S():v();t.modifying&&vh(e),E(()=>rw(e,u))}}function S(){const u=n.let("ruleErrs",null);return n.try(()=>O((0,ht._)`await `),c=>n.assign(m,!1).if((0,ht._)`${c} instanceof ${l.ValidationError}`,()=>n.assign(u,(0,ht._)`${c}.errors`),()=>n.throw(c))),u}function v(){const u=(0,ht._)`${d}.errors`;return n.assign(u,null),O(ht.nil),u}function O(u=t.async?(0,ht._)`await `:ht.nil){const c=l.opts.passContext?yn.default.this:yn.default.self,p=!("compile"in t&&!a||t.schema===!1);n.assign(m,(0,ht._)`${u}${(0,J1.callValidateCode)(e,d,c,p)}`,t.modifying)}function E(u){var c;n.if((0,ht.not)((c=t.valid)!==null&&c!==void 0?c:m),u)}}mr.funcKeywordCode=tw;function vh(e){const{gen:t,data:r,it:n}=e;t.if(n.parentData,()=>t.assign(r,(0,ht._)`${n.parentData}[${n.parentDataProperty}]`))}function rw(e,t){const{gen:r}=e;r.if((0,ht._)`Array.isArray(${t})`,()=>{r.assign(yn.default.vErrors,(0,ht._)`${yn.default.vErrors} === null ? ${t} : ${yn.default.vErrors}.concat(${t})`).assign(yn.default.errors,(0,ht._)`${yn.default.vErrors}.length`),(0,Z1.extendErrors)(e)},()=>e.error())}function nw({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}function Ug(e,t,r){if(r===void 0)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword",typeof r=="function"?{ref:r}:{ref:r,code:(0,ht.stringify)(r)})}function iw(e,t,r=!1){return!t.length||t.some(n=>n==="array"?Array.isArray(e):n==="object"?e&&typeof e=="object"&&!Array.isArray(e):typeof e==n||r&&typeof e>"u")}mr.validSchemaType=iw;function ow({schema:e,opts:t,self:r,errSchemaPath:n},i,o){if(Array.isArray(i.keyword)?!i.keyword.includes(o):i.keyword!==o)throw new Error("ajv implementation error");const s=i.dependencies;if(s!=null&&s.some(a=>!Object.prototype.hasOwnProperty.call(e,a)))throw new Error(`parent schema must have dependencies of ${o}: ${s.join(",")}`);if(i.validateSchema&&!i.validateSchema(e[o])){const l=`keyword "${o}" value is invalid at path "${n}": `+r.errorsText(i.validateSchema.errors);if(t.validateSchema==="log")r.logger.error(l);else throw new Error(l)}}mr.validateKeywordUsage=ow;var tn={};Object.defineProperty(tn,"__esModule",{value:!0});tn.extendSubschemaMode=tn.extendSubschemaData=tn.getSubschema=void 0;const pr=me,zg=Ee;function sw(e,{keyword:t,schemaProp:r,schema:n,schemaPath:i,errSchemaPath:o,topSchemaRef:s}){if(t!==void 0&&n!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(t!==void 0){const a=e.schema[t];return r===void 0?{schema:a,schemaPath:(0,pr._)`${e.schemaPath}${(0,pr.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:a[r],schemaPath:(0,pr._)`${e.schemaPath}${(0,pr.getProperty)(t)}${(0,pr.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,zg.escapeFragment)(r)}`}}if(n!==void 0){if(i===void 0||o===void 0||s===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:n,schemaPath:i,topSchemaRef:s,errSchemaPath:o}}throw new Error('either "keyword" or "schema" must be passed')}tn.getSubschema=sw;function aw(e,t,{dataProp:r,dataPropType:n,data:i,dataTypes:o,propertyName:s}){if(i!==void 0&&r!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:a}=t;if(r!==void 0){const{errorPath:f,dataPathArr:d,opts:m}=t,N=a.let("data",(0,pr._)`${t.data}${(0,pr.getProperty)(r)}`,!0);l(N),e.errorPath=(0,pr.str)`${f}${(0,zg.getErrorPath)(r,n,m.jsPropertySyntax)}`,e.parentDataProperty=(0,pr._)`${r}`,e.dataPathArr=[...d,e.parentDataProperty]}if(i!==void 0){const f=i instanceof pr.Name?i:a.let("data",i,!0);l(f),s!==void 0&&(e.propertyName=s)}o&&(e.dataTypes=o);function l(f){e.data=f,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,f]}}tn.extendSubschemaData=aw;function lw(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:n,createErrors:i,allErrors:o}){n!==void 0&&(e.compositeRule=n),i!==void 0&&(e.createErrors=i),o!==void 0&&(e.allErrors=o),e.jtdDiscriminator=t,e.jtdMetadata=r}tn.extendSubschemaMode=lw;var nt={},Bg=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var n,i,o;if(Array.isArray(t)){if(n=t.length,n!=r.length)return!1;for(i=n;i--!==0;)if(!e(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(o=Object.keys(t),n=o.length,n!==Object.keys(r).length)return!1;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(r,o[i]))return!1;for(i=n;i--!==0;){var s=o[i];if(!e(t[s],r[s]))return!1}return!0}return t!==t&&r!==r},Hg={exports:{}},Kr=Hg.exports=function(e,t,r){typeof t=="function"&&(r=t,t={}),r=t.cb||r;var n=typeof r=="function"?r:r.pre||function(){},i=r.post||function(){};Bs(t,n,i,e,"",e)};Kr.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};Kr.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Kr.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Kr.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function Bs(e,t,r,n,i,o,s,a,l,f){if(n&&typeof n=="object"&&!Array.isArray(n)){t(n,i,o,s,a,l,f);for(var d in n){var m=n[d];if(Array.isArray(m)){if(d in Kr.arrayKeywords)for(var N=0;Nt+=Kg(n)),t===1/0))return 1/0}return t}function Gg(e,t="",r){r!==!1&&(t=di(t));const n=e.parse(t);return Wg(e,n)}nt.getFullPath=Gg;function Wg(e,t){return e.serialize(t).split("#")[0]+"#"}nt._getFullPath=Wg;const yw=/#\/?$/;function di(e){return e?e.replace(yw,""):""}nt.normalizeId=di;function vw(e,t,r){return r=di(r),e.resolve(t,r)}nt.resolveUrl=vw;const ww=/^[a-z_][-a-z0-9._]*$/i;function $w(e,t){if(typeof e=="boolean")return{};const{schemaId:r,uriResolver:n}=this.opts,i=di(e[r]||t),o={"":i},s=Gg(n,i,!1),a={},l=new Set;return hw(e,{allKeys:!0},(m,N,S,v)=>{if(v===void 0)return;const O=s+N;let E=o[v];typeof m[r]=="string"&&(E=u.call(this,m[r])),c.call(this,m.$anchor),c.call(this,m.$dynamicAnchor),o[N]=E;function u(p){const I=this.opts.uriResolver.resolve;if(p=di(E?I(E,p):p),l.has(p))throw d(p);l.add(p);let j=this.refs[p];return typeof j=="string"&&(j=this.refs[j]),typeof j=="object"?f(m,j.schema,p):p!==di(O)&&(p[0]==="#"?(f(m,a[p],p),a[p]=m):this.refs[p]=O),p}function c(p){if(typeof p=="string"){if(!ww.test(p))throw new Error(`invalid anchor "${p}"`);u.call(this,`#${p}`)}}}),a;function f(m,N,S){if(N!==void 0&&!dw(m,N))throw d(S)}function d(m){return new Error(`reference "${m}" resolves to more than one schema`)}}nt.getSchemaRefs=$w;Object.defineProperty(rr,"__esModule",{value:!0});rr.getData=rr.KeywordCxt=rr.validateFunctionCode=void 0;const qg=Ei,wh=Ko,nf=Cr,wa=Ko,Ew=Ka,uo=mr,kl=tn,se=me,ce=vr,_w=nt,kr=Ee,Bi=Ho;function Sw(e){if(Xg(e)&&(Jg(e),Qg(e))){Iw(e);return}Yg(e,()=>(0,qg.topBoolOrEmptySchema)(e))}rr.validateFunctionCode=Sw;function Yg({gen:e,validateName:t,schema:r,schemaEnv:n,opts:i},o){i.code.es5?e.func(t,(0,se._)`${ce.default.data}, ${ce.default.valCxt}`,n.$async,()=>{e.code((0,se._)`"use strict"; ${$h(r,i)}`),Nw(e,i),e.code(o)}):e.func(t,(0,se._)`${ce.default.data}, ${Ow(i)}`,n.$async,()=>e.code($h(r,i)).code(o))}function Ow(e){return(0,se._)`{${ce.default.instancePath}="", ${ce.default.parentData}, ${ce.default.parentDataProperty}, ${ce.default.rootData}=${ce.default.data}${e.dynamicRef?(0,se._)`, ${ce.default.dynamicAnchors}={}`:se.nil}}={}`}function Nw(e,t){e.if(ce.default.valCxt,()=>{e.var(ce.default.instancePath,(0,se._)`${ce.default.valCxt}.${ce.default.instancePath}`),e.var(ce.default.parentData,(0,se._)`${ce.default.valCxt}.${ce.default.parentData}`),e.var(ce.default.parentDataProperty,(0,se._)`${ce.default.valCxt}.${ce.default.parentDataProperty}`),e.var(ce.default.rootData,(0,se._)`${ce.default.valCxt}.${ce.default.rootData}`),t.dynamicRef&&e.var(ce.default.dynamicAnchors,(0,se._)`${ce.default.valCxt}.${ce.default.dynamicAnchors}`)},()=>{e.var(ce.default.instancePath,(0,se._)`""`),e.var(ce.default.parentData,(0,se._)`undefined`),e.var(ce.default.parentDataProperty,(0,se._)`undefined`),e.var(ce.default.rootData,ce.default.data),t.dynamicRef&&e.var(ce.default.dynamicAnchors,(0,se._)`{}`)})}function Iw(e){const{schema:t,opts:r,gen:n}=e;Yg(e,()=>{r.$comment&&t.$comment&&ey(e),Aw(e),n.let(ce.default.vErrors,null),n.let(ce.default.errors,0),r.unevaluated&&Pw(e),Zg(e),bw(e)})}function Pw(e){const{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",(0,se._)`${r}.evaluated`),t.if((0,se._)`${e.evaluated}.dynamicProps`,()=>t.assign((0,se._)`${e.evaluated}.props`,(0,se._)`undefined`)),t.if((0,se._)`${e.evaluated}.dynamicItems`,()=>t.assign((0,se._)`${e.evaluated}.items`,(0,se._)`undefined`))}function $h(e,t){const r=typeof e=="object"&&e[t.schemaId];return r&&(t.code.source||t.code.process)?(0,se._)`/*# sourceURL=${r} */`:se.nil}function Cw(e,t){if(Xg(e)&&(Jg(e),Qg(e))){kw(e,t);return}(0,qg.boolOrEmptySchema)(e,t)}function Qg({schema:e,self:t}){if(typeof e=="boolean")return!e;for(const r in e)if(t.RULES.all[r])return!0;return!1}function Xg(e){return typeof e.schema!="boolean"}function kw(e,t){const{schema:r,gen:n,opts:i}=e;i.$comment&&r.$comment&&ey(e),Rw(e),jw(e);const o=n.const("_errs",ce.default.errors);Zg(e,o),n.var(t,(0,se._)`${o} === ${ce.default.errors}`)}function Jg(e){(0,kr.checkUnknownRules)(e),Tw(e)}function Zg(e,t){if(e.opts.jtd)return Eh(e,[],!1,t);const r=(0,wh.getSchemaTypes)(e.schema),n=(0,wh.coerceAndCheckDataType)(e,r);Eh(e,r,!n,t)}function Tw(e){const{schema:t,errSchemaPath:r,opts:n,self:i}=e;t.$ref&&n.ignoreKeywordsWithRef&&(0,kr.schemaHasRulesButRef)(t,i.RULES)&&i.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}function Aw(e){const{schema:t,opts:r}=e;t.default!==void 0&&r.useDefaults&&r.strictSchema&&(0,kr.checkStrictMode)(e,"default is ignored in the schema root")}function Rw(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,_w.resolveUrl)(e.opts.uriResolver,e.baseId,t))}function jw(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}function ey({gen:e,schemaEnv:t,schema:r,errSchemaPath:n,opts:i}){const o=r.$comment;if(i.$comment===!0)e.code((0,se._)`${ce.default.self}.logger.log(${o})`);else if(typeof i.$comment=="function"){const s=(0,se.str)`${n}/$comment`,a=e.scopeValue("root",{ref:t.root});e.code((0,se._)`${ce.default.self}.opts.$comment(${o}, ${s}, ${a}.schema)`)}}function bw(e){const{gen:t,schemaEnv:r,validateName:n,ValidationError:i,opts:o}=e;r.$async?t.if((0,se._)`${ce.default.errors} === 0`,()=>t.return(ce.default.data),()=>t.throw((0,se._)`new ${i}(${ce.default.vErrors})`)):(t.assign((0,se._)`${n}.errors`,ce.default.vErrors),o.unevaluated&&Dw(e),t.return((0,se._)`${ce.default.errors} === 0`))}function Dw({gen:e,evaluated:t,props:r,items:n}){r instanceof se.Name&&e.assign((0,se._)`${t}.props`,r),n instanceof se.Name&&e.assign((0,se._)`${t}.items`,n)}function Eh(e,t,r,n){const{gen:i,schema:o,data:s,allErrors:a,opts:l,self:f}=e,{RULES:d}=f;if(o.$ref&&(l.ignoreKeywordsWithRef||!(0,kr.schemaHasRulesButRef)(o,d))){i.block(()=>ny(e,"$ref",d.all.$ref.definition));return}l.jtd||Lw(e,t),i.block(()=>{for(const N of d.rules)m(N);m(d.post)});function m(N){(0,nf.shouldUseGroup)(o,N)&&(N.type?(i.if((0,wa.checkDataType)(N.type,s,l.strictNumbers)),_h(e,N),t.length===1&&t[0]===N.type&&r&&(i.else(),(0,wa.reportTypeError)(e)),i.endIf()):_h(e,N),a||i.if((0,se._)`${ce.default.errors} === ${n||0}`))}}function _h(e,t){const{gen:r,schema:n,opts:{useDefaults:i}}=e;i&&(0,Ew.assignDefaults)(e,t.type),r.block(()=>{for(const o of t.rules)(0,nf.shouldUseRule)(n,o)&&ny(e,o.keyword,o.definition,t.type)})}function Lw(e,t){e.schemaEnv.meta||!e.opts.strictTypes||(xw(e,t),e.opts.allowUnionTypes||Mw(e,t),Fw(e,e.dataTypes))}function xw(e,t){if(t.length){if(!e.dataTypes.length){e.dataTypes=t;return}t.forEach(r=>{ty(e.dataTypes,r)||of(e,`type "${r}" not allowed by context "${e.dataTypes.join(",")}"`)}),Uw(e,t)}}function Mw(e,t){t.length>1&&!(t.length===2&&t.includes("null"))&&of(e,"use allowUnionTypes to allow union type keyword")}function Fw(e,t){const r=e.self.RULES.all;for(const n in r){const i=r[n];if(typeof i=="object"&&(0,nf.shouldUseRule)(e.schema,i)){const{type:o}=i.definition;o.length&&!o.some(s=>Vw(t,s))&&of(e,`missing type "${o.join(",")}" for keyword "${n}"`)}}}function Vw(e,t){return e.includes(t)||t==="number"&&e.includes("integer")}function ty(e,t){return e.includes(t)||t==="integer"&&e.includes("number")}function Uw(e,t){const r=[];for(const n of e.dataTypes)ty(t,n)?r.push(n):t.includes("integer")&&n==="number"&&r.push("integer");e.dataTypes=r}function of(e,t){const r=e.schemaEnv.baseId+e.errSchemaPath;t+=` at "${r}" (strictTypes)`,(0,kr.checkStrictMode)(e,t,e.opts.strictTypes)}class ry{constructor(t,r,n){if((0,uo.validateKeywordUsage)(t,r,n),this.gen=t.gen,this.allErrors=t.allErrors,this.keyword=n,this.data=t.data,this.schema=t.schema[n],this.$data=r.$data&&t.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,kr.schemaRefOrVal)(t,this.schema,n,this.$data),this.schemaType=r.schemaType,this.parentSchema=t.schema,this.params={},this.it=t,this.def=r,this.$data)this.schemaCode=t.gen.const("vSchema",iy(this.$data,t));else if(this.schemaCode=this.schemaValue,!(0,uo.validSchemaType)(this.schema,r.schemaType,r.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(r.schemaType)}`);("code"in r?r.trackErrors:r.errors!==!1)&&(this.errsCount=t.gen.const("_errs",ce.default.errors))}result(t,r,n){this.failResult((0,se.not)(t),r,n)}failResult(t,r,n){this.gen.if(t),n?n():this.error(),r?(this.gen.else(),r(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(t,r){this.failResult((0,se.not)(t),void 0,r)}fail(t){if(t===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(t),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(t){if(!this.$data)return this.fail(t);const{schemaCode:r}=this;this.fail((0,se._)`${r} !== undefined && (${(0,se.or)(this.invalid$data(),t)})`)}error(t,r,n){if(r){this.setParams(r),this._error(t,n),this.setParams({});return}this._error(t,n)}_error(t,r){(t?Bi.reportExtraError:Bi.reportError)(this,this.def.error,r)}$dataError(){(0,Bi.reportError)(this,this.def.$dataError||Bi.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,Bi.resetErrorsCount)(this.gen,this.errsCount)}ok(t){this.allErrors||this.gen.if(t)}setParams(t,r){r?Object.assign(this.params,t):this.params=t}block$data(t,r,n=se.nil){this.gen.block(()=>{this.check$data(t,n),r()})}check$data(t=se.nil,r=se.nil){if(!this.$data)return;const{gen:n,schemaCode:i,schemaType:o,def:s}=this;n.if((0,se.or)((0,se._)`${i} === undefined`,r)),t!==se.nil&&n.assign(t,!0),(o.length||s.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),t!==se.nil&&n.assign(t,!1)),n.else()}invalid$data(){const{gen:t,schemaCode:r,schemaType:n,def:i,it:o}=this;return(0,se.or)(s(),a());function s(){if(n.length){if(!(r instanceof se.Name))throw new Error("ajv implementation error");const l=Array.isArray(n)?n:[n];return(0,se._)`${(0,wa.checkDataTypes)(l,r,o.opts.strictNumbers,wa.DataType.Wrong)}`}return se.nil}function a(){if(i.validateSchema){const l=t.scopeValue("validate$data",{ref:i.validateSchema});return(0,se._)`!${l}(${r})`}return se.nil}}subschema(t,r){const n=(0,kl.getSubschema)(this.it,t);(0,kl.extendSubschemaData)(n,this.it,t),(0,kl.extendSubschemaMode)(n,t);const i={...this.it,...n,items:void 0,props:void 0};return Cw(i,r),i}mergeEvaluated(t,r){const{it:n,gen:i}=this;n.opts.unevaluated&&(n.props!==!0&&t.props!==void 0&&(n.props=kr.mergeEvaluated.props(i,t.props,n.props,r)),n.items!==!0&&t.items!==void 0&&(n.items=kr.mergeEvaluated.items(i,t.items,n.items,r)))}mergeValidEvaluated(t,r){const{it:n,gen:i}=this;if(n.opts.unevaluated&&(n.props!==!0||n.items!==!0))return i.if(r,()=>this.mergeEvaluated(t,se.Name)),!0}}rr.KeywordCxt=ry;function ny(e,t,r,n){const i=new ry(e,r,t);"code"in r?r.code(i,n):i.$data&&r.validate?(0,uo.funcKeywordCode)(i,r):"macro"in r?(0,uo.macroKeywordCode)(i,r):(r.compile||r.validate)&&(0,uo.funcKeywordCode)(i,r)}const zw=/^\/(?:[^~]|~0|~1)*$/,Bw=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function iy(e,{dataLevel:t,dataNames:r,dataPathArr:n}){let i,o;if(e==="")return ce.default.rootData;if(e[0]==="/"){if(!zw.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);i=e,o=ce.default.rootData}else{const f=Bw.exec(e);if(!f)throw new Error(`Invalid JSON-pointer: ${e}`);const d=+f[1];if(i=f[2],i==="#"){if(d>=t)throw new Error(l("property/index",d));return n[t-d]}if(d>t)throw new Error(l("data",d));if(o=r[t-d],!i)return o}let s=o;const a=i.split("/");for(const f of a)f&&(o=(0,se._)`${o}${(0,se.getProperty)((0,kr.unescapeJsonPointer)(f))}`,s=(0,se._)`${s} && ${o}`);return s;function l(f,d){return`Cannot access ${f} ${d} levels up, current level is ${t}`}}rr.getData=iy;var Go={};Object.defineProperty(Go,"__esModule",{value:!0});class Hw extends Error{constructor(t){super("validation failed"),this.errors=t,this.ajv=this.validation=!0}}Go.default=Hw;var Wo={};Object.defineProperty(Wo,"__esModule",{value:!0});const Tl=nt;class Kw extends Error{constructor(t,r,n,i){super(i||`can't resolve reference ${n} from id ${r}`),this.missingRef=(0,Tl.resolveUrl)(t,r,n),this.missingSchema=(0,Tl.normalizeId)((0,Tl.getFullPath)(t,this.missingRef))}}Wo.default=Kw;var $t={};Object.defineProperty($t,"__esModule",{value:!0});$t.resolveSchema=$t.getCompilingSchema=$t.resolveRef=$t.compileSchema=$t.SchemaEnv=void 0;const Gt=me,Gw=Go,pn=vr,Zt=nt,Sh=Ee,Ww=rr;class Ga{constructor(t){var r;this.refs={},this.dynamicAnchors={};let n;typeof t.schema=="object"&&(n=t.schema),this.schema=t.schema,this.schemaId=t.schemaId,this.root=t.root||this,this.baseId=(r=t.baseId)!==null&&r!==void 0?r:(0,Zt.normalizeId)(n==null?void 0:n[t.schemaId||"$id"]),this.schemaPath=t.schemaPath,this.localRefs=t.localRefs,this.meta=t.meta,this.$async=n==null?void 0:n.$async,this.refs={}}}$t.SchemaEnv=Ga;function sf(e){const t=oy.call(this,e);if(t)return t;const r=(0,Zt.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:n,lines:i}=this.opts.code,{ownProperties:o}=this.opts,s=new Gt.CodeGen(this.scope,{es5:n,lines:i,ownProperties:o});let a;e.$async&&(a=s.scopeValue("Error",{ref:Gw.default,code:(0,Gt._)`require("ajv/dist/runtime/validation_error").default`}));const l=s.scopeName("validate");e.validateName=l;const f={gen:s,allErrors:this.opts.allErrors,data:pn.default.data,parentData:pn.default.parentData,parentDataProperty:pn.default.parentDataProperty,dataNames:[pn.default.data],dataPathArr:[Gt.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:s.scopeValue("schema",this.opts.code.source===!0?{ref:e.schema,code:(0,Gt.stringify)(e.schema)}:{ref:e.schema}),validateName:l,ValidationError:a,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:Gt.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,Gt._)`""`,opts:this.opts,self:this};let d;try{this._compilations.add(e),(0,Ww.validateFunctionCode)(f),s.optimize(this.opts.code.optimize);const m=s.toString();d=`${s.scopeRefs(pn.default.scope)}return ${m}`,this.opts.code.process&&(d=this.opts.code.process(d,e));const S=new Function(`${pn.default.self}`,`${pn.default.scope}`,d)(this,this.scope.get());if(this.scope.value(l,{ref:S}),S.errors=null,S.schema=e.schema,S.schemaEnv=e,e.$async&&(S.$async=!0),this.opts.code.source===!0&&(S.source={validateName:l,validateCode:m,scopeValues:s._values}),this.opts.unevaluated){const{props:v,items:O}=f;S.evaluated={props:v instanceof Gt.Name?void 0:v,items:O instanceof Gt.Name?void 0:O,dynamicProps:v instanceof Gt.Name,dynamicItems:O instanceof Gt.Name},S.source&&(S.source.evaluated=(0,Gt.stringify)(S.evaluated))}return e.validate=S,e}catch(m){throw delete e.validate,delete e.validateName,d&&this.logger.error("Error compiling schema, function code:",d),m}finally{this._compilations.delete(e)}}$t.compileSchema=sf;function qw(e,t,r){var n;r=(0,Zt.resolveUrl)(this.opts.uriResolver,t,r);const i=e.refs[r];if(i)return i;let o=Xw.call(this,e,r);if(o===void 0){const s=(n=e.localRefs)===null||n===void 0?void 0:n[r],{schemaId:a}=this.opts;s&&(o=new Ga({schema:s,schemaId:a,root:e,baseId:t}))}if(o!==void 0)return e.refs[r]=Yw.call(this,o)}$t.resolveRef=qw;function Yw(e){return(0,Zt.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:sf.call(this,e)}function oy(e){for(const t of this._compilations)if(Qw(t,e))return t}$t.getCompilingSchema=oy;function Qw(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function Xw(e,t){let r;for(;typeof(r=this.refs[t])=="string";)t=r;return r||this.schemas[t]||Wa.call(this,e,t)}function Wa(e,t){const r=this.opts.uriResolver.parse(t),n=(0,Zt._getFullPath)(this.opts.uriResolver,r);let i=(0,Zt.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&n===i)return Al.call(this,r,e);const o=(0,Zt.normalizeId)(n),s=this.refs[o]||this.schemas[o];if(typeof s=="string"){const a=Wa.call(this,e,s);return typeof(a==null?void 0:a.schema)!="object"?void 0:Al.call(this,r,a)}if(typeof(s==null?void 0:s.schema)=="object"){if(s.validate||sf.call(this,s),o===(0,Zt.normalizeId)(t)){const{schema:a}=s,{schemaId:l}=this.opts,f=a[l];return f&&(i=(0,Zt.resolveUrl)(this.opts.uriResolver,i,f)),new Ga({schema:a,schemaId:l,root:e,baseId:i})}return Al.call(this,r,s)}}$t.resolveSchema=Wa;const Jw=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function Al(e,{baseId:t,schema:r,root:n}){var i;if(((i=e.fragment)===null||i===void 0?void 0:i[0])!=="/")return;for(const a of e.fragment.slice(1).split("/")){if(typeof r=="boolean")return;const l=r[(0,Sh.unescapeFragment)(a)];if(l===void 0)return;r=l;const f=typeof r=="object"&&r[this.opts.schemaId];!Jw.has(a)&&f&&(t=(0,Zt.resolveUrl)(this.opts.uriResolver,t,f))}let o;if(typeof r!="boolean"&&r.$ref&&!(0,Sh.schemaHasRulesButRef)(r,this.RULES)){const a=(0,Zt.resolveUrl)(this.opts.uriResolver,t,r.$ref);o=Wa.call(this,n,a)}const{schemaId:s}=this.opts;if(o=o||new Ga({schema:r,schemaId:s,root:n,baseId:t}),o.schema!==o.root.schema)return o}const Zw="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",e$="Meta-schema for $data reference (JSON AnySchema extension proposal)",t$="object",r$=["$data"],n$={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},i$=!1,o$={$id:Zw,description:e$,type:t$,required:r$,properties:n$,additionalProperties:i$};var af={},Gu={exports:{}};/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */(function(e,t){(function(r,n){n(t)})(Qy,function(r){function n(){for(var b=arguments.length,T=Array(b),D=0;D1){T[0]=T[0].slice(0,-1);for(var W=T.length-1,H=1;H= 0x80 (not a basic code point)","invalid-input":"Invalid input"},x=O-E,F=Math.floor,Y=String.fromCharCode;function U(b){throw new RangeError(y[b])}function G(b,T){for(var D=[],W=b.length;W--;)D[W]=T(b[W]);return D}function B(b,T){var D=b.split("@"),W="";D.length>1&&(W=D[0]+"@",b=D[1]),b=b.replace(P,".");var H=b.split("."),ae=G(H,T).join(".");return W+ae}function Z(b){for(var T=[],D=0,W=b.length;D=55296&&H<=56319&&D>1,T+=F(T/D);T>x*u>>1;H+=O)T=F(T/x);return F(H+(x+1)*T/(T+c))},V=function(T){var D=[],W=T.length,H=0,ae=j,le=I,we=T.lastIndexOf(g);we<0&&(we=0);for(var Pe=0;Pe=128&&U("not-basic"),D.push(T.charCodeAt(Pe));for(var Be=we>0?we+1:0;Be=W&&U("invalid-input");var de=Q(T.charCodeAt(Be++));(de>=O||de>F((v-H)/Ne))&&U("overflow"),H+=de*Ne;var je=He<=le?E:He>=le+u?u:He-le;if(deF(v/We)&&U("overflow"),Ne*=We}var be=D.length+1;le=C(H-ve,be,ve==0),F(H/be)>v-ae&&U("overflow"),ae+=F(H/be),H%=be,D.splice(H++,0,ae)}return String.fromCodePoint.apply(String,D)},M=function(T){var D=[];T=Z(T);var W=T.length,H=j,ae=0,le=I,we=!0,Pe=!1,Be=void 0;try{for(var ve=T[Symbol.iterator](),Ne;!(we=(Ne=ve.next()).done);we=!0){var He=Ne.value;He<128&&D.push(Y(He))}}catch(bi){Pe=!0,Be=bi}finally{try{!we&&ve.return&&ve.return()}finally{if(Pe)throw Be}}var de=D.length,je=de;for(de&&D.push(g);je=H&&dnF((v-ae)/Lt)&&U("overflow"),ae+=(We-H)*Lt,H=We;var ur=!0,hn=!1,$r=void 0;try{for(var ji=T[Symbol.iterator](),nd;!(ur=(nd=ji.next()).done);ur=!0){var id=nd.value;if(idv&&U("overflow"),id==H){for(var Zo=ae,es=O;;es+=O){var ts=es<=le?E:es>=le+u?u:es-le;if(Zo>6|192).toString(16).toUpperCase()+"%"+(T&63|128).toString(16).toUpperCase():D="%"+(T>>12|224).toString(16).toUpperCase()+"%"+(T>>6&63|128).toString(16).toUpperCase()+"%"+(T&63|128).toString(16).toUpperCase(),D}function w(b){for(var T="",D=0,W=b.length;D=194&&H<224){if(W-D>=6){var ae=parseInt(b.substr(D+4,2),16);T+=String.fromCharCode((H&31)<<6|ae&63)}else T+=b.substr(D,6);D+=6}else if(H>=224){if(W-D>=9){var le=parseInt(b.substr(D+4,2),16),we=parseInt(b.substr(D+7,2),16);T+=String.fromCharCode((H&15)<<12|(le&63)<<6|we&63)}else T+=b.substr(D,9);D+=9}else T+=b.substr(D,3),D+=3}return T}function k(b,T){function D(W){var H=w(W);return H.match(T.UNRESERVED)?H:W}return b.scheme&&(b.scheme=String(b.scheme).replace(T.PCT_ENCODED,D).toLowerCase().replace(T.NOT_SCHEME,"")),b.userinfo!==void 0&&(b.userinfo=String(b.userinfo).replace(T.PCT_ENCODED,D).replace(T.NOT_USERINFO,q).replace(T.PCT_ENCODED,s)),b.host!==void 0&&(b.host=String(b.host).replace(T.PCT_ENCODED,D).toLowerCase().replace(T.NOT_HOST,q).replace(T.PCT_ENCODED,s)),b.path!==void 0&&(b.path=String(b.path).replace(T.PCT_ENCODED,D).replace(b.scheme?T.NOT_PATH:T.NOT_PATH_NOSCHEME,q).replace(T.PCT_ENCODED,s)),b.query!==void 0&&(b.query=String(b.query).replace(T.PCT_ENCODED,D).replace(T.NOT_QUERY,q).replace(T.PCT_ENCODED,s)),b.fragment!==void 0&&(b.fragment=String(b.fragment).replace(T.PCT_ENCODED,D).replace(T.NOT_FRAGMENT,q).replace(T.PCT_ENCODED,s)),b}function L(b){return b.replace(/^0*(.*)/,"$1")||"0"}function X(b,T){var D=b.match(T.IPV4ADDRESS)||[],W=N(D,2),H=W[1];return H?H.split(".").map(L).join("."):b}function J(b,T){var D=b.match(T.IPV6ADDRESS)||[],W=N(D,3),H=W[1],ae=W[2];if(H){for(var le=H.toLowerCase().split("::").reverse(),we=N(le,2),Pe=we[0],Be=we[1],ve=Be?Be.split(":").map(L):[],Ne=Pe.split(":").map(L),He=T.IPV4ADDRESS.test(Ne[Ne.length-1]),de=He?7:8,je=Ne.length-de,We=Array(de),be=0;be1){var Fn=We.slice(0,ar.index),dn=We.slice(ar.index+ar.length);lr=Fn.join(":")+"::"+dn.join(":")}else lr=We.join(":");return ae&&(lr+="%"+ae),lr}else return b}var re=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,he="".match(/(){0}/)[1]===void 0;function ye(b){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},D={},W=T.iri!==!1?m:d;T.reference==="suffix"&&(b=(T.scheme?T.scheme+":":"")+"//"+b);var H=b.match(re);if(H){he?(D.scheme=H[1],D.userinfo=H[3],D.host=H[4],D.port=parseInt(H[5],10),D.path=H[6]||"",D.query=H[7],D.fragment=H[8],isNaN(D.port)&&(D.port=H[5])):(D.scheme=H[1]||void 0,D.userinfo=b.indexOf("@")!==-1?H[3]:void 0,D.host=b.indexOf("//")!==-1?H[4]:void 0,D.port=parseInt(H[5],10),D.path=H[6]||"",D.query=b.indexOf("?")!==-1?H[7]:void 0,D.fragment=b.indexOf("#")!==-1?H[8]:void 0,isNaN(D.port)&&(D.port=b.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?H[4]:void 0)),D.host&&(D.host=J(X(D.host,W),W)),D.scheme===void 0&&D.userinfo===void 0&&D.host===void 0&&D.port===void 0&&!D.path&&D.query===void 0?D.reference="same-document":D.scheme===void 0?D.reference="relative":D.fragment===void 0?D.reference="absolute":D.reference="uri",T.reference&&T.reference!=="suffix"&&T.reference!==D.reference&&(D.error=D.error||"URI is not a "+T.reference+" reference.");var ae=te[(T.scheme||D.scheme||"").toLowerCase()];if(!T.unicodeSupport&&(!ae||!ae.unicodeSupport)){if(D.host&&(T.domainHost||ae&&ae.domainHost))try{D.host=K.toASCII(D.host.replace(W.PCT_ENCODED,w).toLowerCase())}catch(le){D.error=D.error||"Host's domain name can not be converted to ASCII via punycode: "+le}k(D,d)}else k(D,W);ae&&ae.parse&&ae.parse(D,T)}else D.error=D.error||"URI can not be parsed.";return D}function Ae(b,T){var D=T.iri!==!1?m:d,W=[];return b.userinfo!==void 0&&(W.push(b.userinfo),W.push("@")),b.host!==void 0&&W.push(J(X(String(b.host),D),D).replace(D.IPV6ADDRESS,function(H,ae,le){return"["+ae+(le?"%25"+le:"")+"]"})),(typeof b.port=="number"||typeof b.port=="string")&&(W.push(":"),W.push(String(b.port))),W.length?W.join(""):void 0}var Xe=/^\.\.?\//,Ve=/^\/\.(\/|$)/,Ue=/^\/\.\.(\/|$)/,Re=/^\/?(?:.|\n)*?(?=\/|$)/;function Se(b){for(var T=[];b.length;)if(b.match(Xe))b=b.replace(Xe,"");else if(b.match(Ve))b=b.replace(Ve,"/");else if(b.match(Ue))b=b.replace(Ue,"/"),T.pop();else if(b==="."||b==="..")b="";else{var D=b.match(Re);if(D){var W=D[0];b=b.slice(W.length),T.push(W)}else throw new Error("Unexpected dot segment condition")}return T.join("")}function ze(b){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},D=T.iri?m:d,W=[],H=te[(T.scheme||b.scheme||"").toLowerCase()];if(H&&H.serialize&&H.serialize(b,T),b.host&&!D.IPV6ADDRESS.test(b.host)){if(T.domainHost||H&&H.domainHost)try{b.host=T.iri?K.toUnicode(b.host):K.toASCII(b.host.replace(D.PCT_ENCODED,w).toLowerCase())}catch(we){b.error=b.error||"Host's domain name can not be converted to "+(T.iri?"Unicode":"ASCII")+" via punycode: "+we}}k(b,D),T.reference!=="suffix"&&b.scheme&&(W.push(b.scheme),W.push(":"));var ae=Ae(b,T);if(ae!==void 0&&(T.reference!=="suffix"&&W.push("//"),W.push(ae),b.path&&b.path.charAt(0)!=="/"&&W.push("/")),b.path!==void 0){var le=b.path;!T.absolutePath&&(!H||!H.absolutePath)&&(le=Se(le)),ae===void 0&&(le=le.replace(/^\/\//,"/%2F")),W.push(le)}return b.query!==void 0&&(W.push("?"),W.push(b.query)),b.fragment!==void 0&&(W.push("#"),W.push(b.fragment)),W.join("")}function wr(b,T){var D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},W=arguments[3],H={};return W||(b=ye(ze(b,D),D),T=ye(ze(T,D),D)),D=D||{},!D.tolerant&&T.scheme?(H.scheme=T.scheme,H.userinfo=T.userinfo,H.host=T.host,H.port=T.port,H.path=Se(T.path||""),H.query=T.query):(T.userinfo!==void 0||T.host!==void 0||T.port!==void 0?(H.userinfo=T.userinfo,H.host=T.host,H.port=T.port,H.path=Se(T.path||""),H.query=T.query):(T.path?(T.path.charAt(0)==="/"?H.path=Se(T.path):((b.userinfo!==void 0||b.host!==void 0||b.port!==void 0)&&!b.path?H.path="/"+T.path:b.path?H.path=b.path.slice(0,b.path.lastIndexOf("/")+1)+T.path:H.path=T.path,H.path=Se(H.path)),H.query=T.query):(H.path=b.path,T.query!==void 0?H.query=T.query:H.query=b.query),H.userinfo=b.userinfo,H.host=b.host,H.port=b.port),H.scheme=b.scheme),H.fragment=T.fragment,H}function Ti(b,T,D){var W=l({scheme:"null"},D);return ze(wr(ye(b,W),ye(T,W),W,!0),W)}function cn(b,T){return typeof b=="string"?b=ze(ye(b,T),T):o(b)==="object"&&(b=ye(ze(b,T),T)),b}function Ai(b,T,D){return typeof b=="string"?b=ze(ye(b,D),D):o(b)==="object"&&(b=ze(b,D)),typeof T=="string"?T=ze(ye(T,D),D):o(T)==="object"&&(T=ze(T,D)),b===T}function Jo(b,T){return b&&b.toString().replace(!T||!T.iri?d.ESCAPE:m.ESCAPE,q)}function Dt(b,T){return b&&b.toString().replace(!T||!T.iri?d.PCT_ENCODED:m.PCT_ENCODED,w)}var fn={scheme:"http",domainHost:!0,parse:function(T,D){return T.host||(T.error=T.error||"HTTP URIs must have a host."),T},serialize:function(T,D){var W=String(T.scheme).toLowerCase()==="https";return(T.port===(W?443:80)||T.port==="")&&(T.port=void 0),T.path||(T.path="/"),T}},Yf={scheme:"https",domainHost:fn.domainHost,parse:fn.parse,serialize:fn.serialize};function Qf(b){return typeof b.secure=="boolean"?b.secure:String(b.scheme).toLowerCase()==="wss"}var Ri={scheme:"ws",domainHost:!0,parse:function(T,D){var W=T;return W.secure=Qf(W),W.resourceName=(W.path||"/")+(W.query?"?"+W.query:""),W.path=void 0,W.query=void 0,W},serialize:function(T,D){if((T.port===(Qf(T)?443:80)||T.port==="")&&(T.port=void 0),typeof T.secure=="boolean"&&(T.scheme=T.secure?"wss":"ws",T.secure=void 0),T.resourceName){var W=T.resourceName.split("?"),H=N(W,2),ae=H[0],le=H[1];T.path=ae&&ae!=="/"?ae:void 0,T.query=le,T.resourceName=void 0}return T.fragment=void 0,T}},Xf={scheme:"wss",domainHost:Ri.domainHost,parse:Ri.parse,serialize:Ri.serialize},Fy={},Jf="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",sr="[0-9A-Fa-f]",Vy=i(i("%[EFef]"+sr+"%"+sr+sr+"%"+sr+sr)+"|"+i("%[89A-Fa-f]"+sr+"%"+sr+sr)+"|"+i("%"+sr+sr)),Uy="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",zy="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",By=n(zy,'[\\"\\\\]'),Hy="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Ky=new RegExp(Jf,"g"),Mn=new RegExp(Vy,"g"),Gy=new RegExp(n("[^]",Uy,"[\\.]",'[\\"]',By),"g"),Zf=new RegExp(n("[^]",Jf,Hy),"g"),Wy=Zf;function tl(b){var T=w(b);return T.match(Ky)?T:b}var ed={scheme:"mailto",parse:function(T,D){var W=T,H=W.to=W.path?W.path.split(","):[];if(W.path=void 0,W.query){for(var ae=!1,le={},we=W.query.split("&"),Pe=0,Be=we.length;Penew RegExp(R,C);S.code="new RegExp";const v=["removeAdditional","useDefaults","coerceTypes"],O=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),E={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},u={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},c=200;function p(R){var C,V,M,_,A,K,te,q,w,k,L,X,J,re,he,ye,Ae,Xe,Ve,Ue,Re,Se,ze,wr,Ti;const cn=R.strict,Ai=(C=R.code)===null||C===void 0?void 0:C.optimize,Jo=Ai===!0||Ai===void 0?1:Ai||0,Dt=(M=(V=R.code)===null||V===void 0?void 0:V.regExp)!==null&&M!==void 0?M:S,fn=(_=R.uriResolver)!==null&&_!==void 0?_:N.default;return{strictSchema:(K=(A=R.strictSchema)!==null&&A!==void 0?A:cn)!==null&&K!==void 0?K:!0,strictNumbers:(q=(te=R.strictNumbers)!==null&&te!==void 0?te:cn)!==null&&q!==void 0?q:!0,strictTypes:(k=(w=R.strictTypes)!==null&&w!==void 0?w:cn)!==null&&k!==void 0?k:"log",strictTuples:(X=(L=R.strictTuples)!==null&&L!==void 0?L:cn)!==null&&X!==void 0?X:"log",strictRequired:(re=(J=R.strictRequired)!==null&&J!==void 0?J:cn)!==null&&re!==void 0?re:!1,code:R.code?{...R.code,optimize:Jo,regExp:Dt}:{optimize:Jo,regExp:Dt},loopRequired:(he=R.loopRequired)!==null&&he!==void 0?he:c,loopEnum:(ye=R.loopEnum)!==null&&ye!==void 0?ye:c,meta:(Ae=R.meta)!==null&&Ae!==void 0?Ae:!0,messages:(Xe=R.messages)!==null&&Xe!==void 0?Xe:!0,inlineRefs:(Ve=R.inlineRefs)!==null&&Ve!==void 0?Ve:!0,schemaId:(Ue=R.schemaId)!==null&&Ue!==void 0?Ue:"$id",addUsedSchema:(Re=R.addUsedSchema)!==null&&Re!==void 0?Re:!0,validateSchema:(Se=R.validateSchema)!==null&&Se!==void 0?Se:!0,validateFormats:(ze=R.validateFormats)!==null&&ze!==void 0?ze:!0,unicodeRegExp:(wr=R.unicodeRegExp)!==null&&wr!==void 0?wr:!0,int32range:(Ti=R.int32range)!==null&&Ti!==void 0?Ti:!0,uriResolver:fn}}class I{constructor(C={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,C=this.opts={...C,...p(C)};const{es5:V,lines:M}=this.opts.code;this.scope=new a.ValueScope({scope:{},prefixes:O,es5:V,lines:M}),this.logger=F(C.logger);const _=C.validateFormats;C.validateFormats=!1,this.RULES=(0,o.getRules)(),j.call(this,E,C,"NOT SUPPORTED"),j.call(this,u,C,"DEPRECATED","warn"),this._metaOpts=y.call(this),C.formats&&h.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),C.keywords&&P.call(this,C.keywords),typeof C.meta=="object"&&this.addMetaSchema(C.meta),$.call(this),C.validateFormats=_}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:C,meta:V,schemaId:M}=this.opts;let _=m;M==="id"&&(_={...m},_.id=_.$id,delete _.$id),V&&C&&this.addMetaSchema(_,_[M],!1)}defaultMeta(){const{meta:C,schemaId:V}=this.opts;return this.opts.defaultMeta=typeof C=="object"?C[V]||C:void 0}validate(C,V){let M;if(typeof C=="string"){if(M=this.getSchema(C),!M)throw new Error(`no schema with key or ref "${C}"`)}else M=this.compile(C);const _=M(V);return"$async"in M||(this.errors=M.errors),_}compile(C,V){const M=this._addSchema(C,V);return M.validate||this._compileSchemaEnv(M)}compileAsync(C,V){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:M}=this.opts;return _.call(this,C,V);async function _(k,L){await A.call(this,k.$schema);const X=this._addSchema(k,L);return X.validate||K.call(this,X)}async function A(k){k&&!this.getSchema(k)&&await _.call(this,{$ref:k},!0)}async function K(k){try{return this._compileSchemaEnv(k)}catch(L){if(!(L instanceof i.default))throw L;return te.call(this,L),await q.call(this,L.missingSchema),K.call(this,k)}}function te({missingSchema:k,missingRef:L}){if(this.refs[k])throw new Error(`AnySchema ${k} is loaded but ${L} cannot be resolved`)}async function q(k){const L=await w.call(this,k);this.refs[k]||await A.call(this,L.$schema),this.refs[k]||this.addSchema(L,k,V)}async function w(k){const L=this._loading[k];if(L)return L;try{return await(this._loading[k]=M(k))}finally{delete this._loading[k]}}}addSchema(C,V,M,_=this.opts.validateSchema){if(Array.isArray(C)){for(const K of C)this.addSchema(K,void 0,M,_);return this}let A;if(typeof C=="object"){const{schemaId:K}=this.opts;if(A=C[K],A!==void 0&&typeof A!="string")throw new Error(`schema ${K} must be string`)}return V=(0,l.normalizeId)(V||A),this._checkUnique(V),this.schemas[V]=this._addSchema(C,M,V,_,!0),this}addMetaSchema(C,V,M=this.opts.validateSchema){return this.addSchema(C,V,!0,M),this}validateSchema(C,V){if(typeof C=="boolean")return!0;let M;if(M=C.$schema,M!==void 0&&typeof M!="string")throw new Error("$schema must be a string");if(M=M||this.opts.defaultMeta||this.defaultMeta(),!M)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const _=this.validate(M,C);if(!_&&V){const A="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(A);else throw new Error(A)}return _}getSchema(C){let V;for(;typeof(V=g.call(this,C))=="string";)C=V;if(V===void 0){const{schemaId:M}=this.opts,_=new s.SchemaEnv({schema:{},schemaId:M});if(V=s.resolveSchema.call(this,_,C),!V)return;this.refs[C]=V}return V.validate||this._compileSchemaEnv(V)}removeSchema(C){if(C instanceof RegExp)return this._removeAllSchemas(this.schemas,C),this._removeAllSchemas(this.refs,C),this;switch(typeof C){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const V=g.call(this,C);return typeof V=="object"&&this._cache.delete(V.schema),delete this.schemas[C],delete this.refs[C],this}case"object":{const V=C;this._cache.delete(V);let M=C[this.opts.schemaId];return M&&(M=(0,l.normalizeId)(M),delete this.schemas[M],delete this.refs[M]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(C){for(const V of C)this.addKeyword(V);return this}addKeyword(C,V){let M;if(typeof C=="string")M=C,typeof V=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),V.keyword=M);else if(typeof C=="object"&&V===void 0){if(V=C,M=V.keyword,Array.isArray(M)&&!M.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(U.call(this,M,V),!V)return(0,d.eachItem)(M,A=>G.call(this,A)),this;Z.call(this,V);const _={...V,type:(0,f.getJSONTypes)(V.type),schemaType:(0,f.getJSONTypes)(V.schemaType)};return(0,d.eachItem)(M,_.type.length===0?A=>G.call(this,A,_):A=>_.type.forEach(K=>G.call(this,A,_,K))),this}getKeyword(C){const V=this.RULES.all[C];return typeof V=="object"?V.definition:!!V}removeKeyword(C){const{RULES:V}=this;delete V.keywords[C],delete V.all[C];for(const M of V.rules){const _=M.rules.findIndex(A=>A.keyword===C);_>=0&&M.rules.splice(_,1)}return this}addFormat(C,V){return typeof V=="string"&&(V=new RegExp(V)),this.formats[C]=V,this}errorsText(C=this.errors,{separator:V=", ",dataVar:M="data"}={}){return!C||C.length===0?"No errors":C.map(_=>`${M}${_.instancePath} ${_.message}`).reduce((_,A)=>_+V+A)}$dataMetaSchema(C,V){const M=this.RULES.all;C=JSON.parse(JSON.stringify(C));for(const _ of V){const A=_.split("/").slice(1);let K=C;for(const te of A)K=K[te];for(const te in M){const q=M[te];if(typeof q!="object")continue;const{$data:w}=q.definition,k=K[te];w&&k&&(K[te]=Q(k))}}return C}_removeAllSchemas(C,V){for(const M in C){const _=C[M];(!V||V.test(M))&&(typeof _=="string"?delete C[M]:_&&!_.meta&&(this._cache.delete(_.schema),delete C[M]))}}_addSchema(C,V,M,_=this.opts.validateSchema,A=this.opts.addUsedSchema){let K;const{schemaId:te}=this.opts;if(typeof C=="object")K=C[te];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof C!="boolean")throw new Error("schema must be object or boolean")}let q=this._cache.get(C);if(q!==void 0)return q;M=(0,l.normalizeId)(K||M);const w=l.getSchemaRefs.call(this,C,M);return q=new s.SchemaEnv({schema:C,schemaId:te,meta:V,baseId:M,localRefs:w}),this._cache.set(q.schema,q),A&&!M.startsWith("#")&&(M&&this._checkUnique(M),this.refs[M]=q),_&&this.validateSchema(C,!0),q}_checkUnique(C){if(this.schemas[C]||this.refs[C])throw new Error(`schema with key or id "${C}" already exists`)}_compileSchemaEnv(C){if(C.meta?this._compileMetaSchema(C):s.compileSchema.call(this,C),!C.validate)throw new Error("ajv implementation error");return C.validate}_compileMetaSchema(C){const V=this.opts;this.opts=this._metaOpts;try{s.compileSchema.call(this,C)}finally{this.opts=V}}}e.default=I,I.ValidationError=n.default,I.MissingRefError=i.default;function j(R,C,V,M="error"){for(const _ in R){const A=_;A in C&&this.logger[M](`${V}: option ${_}. ${R[A]}`)}}function g(R){return R=(0,l.normalizeId)(R),this.schemas[R]||this.refs[R]}function $(){const R=this.opts.schemas;if(R)if(Array.isArray(R))this.addSchema(R);else for(const C in R)this.addSchema(R[C],C)}function h(){for(const R in this.opts.formats){const C=this.opts.formats[R];C&&this.addFormat(R,C)}}function P(R){if(Array.isArray(R)){this.addVocabulary(R);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const C in R){const V=R[C];V.keyword||(V.keyword=C),this.addKeyword(V)}}function y(){const R={...this.opts};for(const C of v)delete R[C];return R}const x={log(){},warn(){},error(){}};function F(R){if(R===!1)return x;if(R===void 0)return console;if(R.log&&R.warn&&R.error)return R;throw new Error("logger must implement log, warn and error methods")}const Y=/^[a-z_$][a-z0-9_$:-]*$/i;function U(R,C){const{RULES:V}=this;if((0,d.eachItem)(R,M=>{if(V.keywords[M])throw new Error(`Keyword ${M} is already defined`);if(!Y.test(M))throw new Error(`Keyword ${M} has invalid name`)}),!!C&&C.$data&&!("code"in C||"validate"in C))throw new Error('$data keyword must have "code" or "validate" function')}function G(R,C,V){var M;const _=C==null?void 0:C.post;if(V&&_)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:A}=this;let K=_?A.post:A.rules.find(({type:q})=>q===V);if(K||(K={type:V,rules:[]},A.rules.push(K)),A.keywords[R]=!0,!C)return;const te={keyword:R,definition:{...C,type:(0,f.getJSONTypes)(C.type),schemaType:(0,f.getJSONTypes)(C.schemaType)}};C.before?B.call(this,K,te,C.before):K.rules.push(te),A.all[R]=te,(M=C.implements)===null||M===void 0||M.forEach(q=>this.addKeyword(q))}function B(R,C,V){const M=R.rules.findIndex(_=>_.keyword===V);M>=0?R.rules.splice(M,0,C):(R.rules.push(C),this.logger.warn(`rule ${V} is not defined`))}function Z(R){let{metaSchema:C}=R;C!==void 0&&(R.$data&&this.opts.$data&&(C=Q(C)),R.validateSchema=this.compile(C,!0))}const z={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function Q(R){return{anyOf:[R,z]}}})(Dg);var lf={},uf={},cf={};Object.defineProperty(cf,"__esModule",{value:!0});const a$={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};cf.default=a$;var bn={};Object.defineProperty(bn,"__esModule",{value:!0});bn.callRef=bn.getValidate=void 0;const l$=Wo,Oh=pe,vt=me,zn=vr,Nh=$t,ws=Ee,u$={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:r,it:n}=e,{baseId:i,schemaEnv:o,validateName:s,opts:a,self:l}=n,{root:f}=o;if((r==="#"||r==="#/")&&i===f.baseId)return m();const d=Nh.resolveRef.call(l,f,i,r);if(d===void 0)throw new l$.default(n.opts.uriResolver,i,r);if(d instanceof Nh.SchemaEnv)return N(d);return S(d);function m(){if(o===f)return Hs(e,s,o,o.$async);const v=t.scopeValue("root",{ref:f});return Hs(e,(0,vt._)`${v}.validate`,f,f.$async)}function N(v){const O=ay(e,v);Hs(e,O,v,v.$async)}function S(v){const O=t.scopeValue("schema",a.code.source===!0?{ref:v,code:(0,vt.stringify)(v)}:{ref:v}),E=t.name("valid"),u=e.subschema({schema:v,dataTypes:[],schemaPath:vt.nil,topSchemaRef:O,errSchemaPath:r},E);e.mergeEvaluated(u),e.ok(E)}}};function ay(e,t){const{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):(0,vt._)`${r.scopeValue("wrapper",{ref:t})}.validate`}bn.getValidate=ay;function Hs(e,t,r,n){const{gen:i,it:o}=e,{allErrors:s,schemaEnv:a,opts:l}=o,f=l.passContext?zn.default.this:vt.nil;n?d():m();function d(){if(!a.$async)throw new Error("async schema referenced by sync schema");const v=i.let("valid");i.try(()=>{i.code((0,vt._)`await ${(0,Oh.callValidateCode)(e,t,f)}`),S(t),s||i.assign(v,!0)},O=>{i.if((0,vt._)`!(${O} instanceof ${o.ValidationError})`,()=>i.throw(O)),N(O),s||i.assign(v,!1)}),e.ok(v)}function m(){e.result((0,Oh.callValidateCode)(e,t,f),()=>S(t),()=>N(t))}function N(v){const O=(0,vt._)`${v}.errors`;i.assign(zn.default.vErrors,(0,vt._)`${zn.default.vErrors} === null ? ${O} : ${zn.default.vErrors}.concat(${O})`),i.assign(zn.default.errors,(0,vt._)`${zn.default.vErrors}.length`)}function S(v){var O;if(!o.opts.unevaluated)return;const E=(O=r==null?void 0:r.validate)===null||O===void 0?void 0:O.evaluated;if(o.props!==!0)if(E&&!E.dynamicProps)E.props!==void 0&&(o.props=ws.mergeEvaluated.props(i,E.props,o.props));else{const u=i.var("props",(0,vt._)`${v}.evaluated.props`);o.props=ws.mergeEvaluated.props(i,u,o.props,vt.Name)}if(o.items!==!0)if(E&&!E.dynamicItems)E.items!==void 0&&(o.items=ws.mergeEvaluated.items(i,E.items,o.items));else{const u=i.var("items",(0,vt._)`${v}.evaluated.items`);o.items=ws.mergeEvaluated.items(i,u,o.items,vt.Name)}}}bn.callRef=Hs;bn.default=u$;Object.defineProperty(uf,"__esModule",{value:!0});const c$=cf,f$=bn,d$=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",c$.default,f$.default];uf.default=d$;var ff={},df={};Object.defineProperty(df,"__esModule",{value:!0});const $a=me,Mr=$a.operators,Ea={maximum:{okStr:"<=",ok:Mr.LTE,fail:Mr.GT},minimum:{okStr:">=",ok:Mr.GTE,fail:Mr.LT},exclusiveMaximum:{okStr:"<",ok:Mr.LT,fail:Mr.GTE},exclusiveMinimum:{okStr:">",ok:Mr.GT,fail:Mr.LTE}},h$={message:({keyword:e,schemaCode:t})=>(0,$a.str)`must be ${Ea[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,$a._)`{comparison: ${Ea[e].okStr}, limit: ${t}}`},p$={keyword:Object.keys(Ea),type:"number",schemaType:"number",$data:!0,error:h$,code(e){const{keyword:t,data:r,schemaCode:n}=e;e.fail$data((0,$a._)`${r} ${Ea[t].fail} ${n} || isNaN(${r})`)}};df.default=p$;var hf={};Object.defineProperty(hf,"__esModule",{value:!0});const co=me,m$={message:({schemaCode:e})=>(0,co.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,co._)`{multipleOf: ${e}}`},g$={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:m$,code(e){const{gen:t,data:r,schemaCode:n,it:i}=e,o=i.opts.multipleOfPrecision,s=t.let("res"),a=o?(0,co._)`Math.abs(Math.round(${s}) - ${s}) > 1e-${o}`:(0,co._)`${s} !== parseInt(${s})`;e.fail$data((0,co._)`(${n} === 0 || (${s} = ${r}/${n}, ${a}))`)}};hf.default=g$;var pf={},mf={};Object.defineProperty(mf,"__esModule",{value:!0});function ly(e){const t=e.length;let r=0,n=0,i;for(;n=55296&&i<=56319&&n(0,vn._)`{limit: ${e}}`},$$={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:w$,code(e){const{keyword:t,data:r,schemaCode:n,it:i}=e,o=t==="maxLength"?vn.operators.GT:vn.operators.LT,s=i.opts.unicode===!1?(0,vn._)`${r}.length`:(0,vn._)`${(0,y$.useFunc)(e.gen,v$.default)}(${r})`;e.fail$data((0,vn._)`${s} ${o} ${n}`)}};pf.default=$$;var gf={};Object.defineProperty(gf,"__esModule",{value:!0});const E$=pe,_a=me,_$={message:({schemaCode:e})=>(0,_a.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,_a._)`{pattern: ${e}}`},S$={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:_$,code(e){const{data:t,$data:r,schema:n,schemaCode:i,it:o}=e,s=o.opts.unicodeRegExp?"u":"",a=r?(0,_a._)`(new RegExp(${i}, ${s}))`:(0,E$.usePattern)(e,n);e.fail$data((0,_a._)`!${a}.test(${t})`)}};gf.default=S$;var yf={};Object.defineProperty(yf,"__esModule",{value:!0});const fo=me,O$={message({keyword:e,schemaCode:t}){const r=e==="maxProperties"?"more":"fewer";return(0,fo.str)`must NOT have ${r} than ${t} properties`},params:({schemaCode:e})=>(0,fo._)`{limit: ${e}}`},N$={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:O$,code(e){const{keyword:t,data:r,schemaCode:n}=e,i=t==="maxProperties"?fo.operators.GT:fo.operators.LT;e.fail$data((0,fo._)`Object.keys(${r}).length ${i} ${n}`)}};yf.default=N$;var vf={};Object.defineProperty(vf,"__esModule",{value:!0});const Hi=pe,ho=me,I$=Ee,P$={message:({params:{missingProperty:e}})=>(0,ho.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,ho._)`{missingProperty: ${e}}`},C$={keyword:"required",type:"object",schemaType:"array",$data:!0,error:P$,code(e){const{gen:t,schema:r,schemaCode:n,data:i,$data:o,it:s}=e,{opts:a}=s;if(!o&&r.length===0)return;const l=r.length>=a.loopRequired;if(s.allErrors?f():d(),a.strictRequired){const S=e.parentSchema.properties,{definedProperties:v}=e.it;for(const O of r)if((S==null?void 0:S[O])===void 0&&!v.has(O)){const E=s.schemaEnv.baseId+s.errSchemaPath,u=`required property "${O}" is not defined at "${E}" (strictRequired)`;(0,I$.checkStrictMode)(s,u,s.opts.strictRequired)}}function f(){if(l||o)e.block$data(ho.nil,m);else for(const S of r)(0,Hi.checkReportMissingProp)(e,S)}function d(){const S=t.let("missing");if(l||o){const v=t.let("valid",!0);e.block$data(v,()=>N(S,v)),e.ok(v)}else t.if((0,Hi.checkMissingProp)(e,r,S)),(0,Hi.reportMissingProp)(e,S),t.else()}function m(){t.forOf("prop",n,S=>{e.setParams({missingProperty:S}),t.if((0,Hi.noPropertyInData)(t,i,S,a.ownProperties),()=>e.error())})}function N(S,v){e.setParams({missingProperty:S}),t.forOf(S,n,()=>{t.assign(v,(0,Hi.propertyInData)(t,i,S,a.ownProperties)),t.if((0,ho.not)(v),()=>{e.error(),t.break()})},ho.nil)}}};vf.default=C$;var wf={};Object.defineProperty(wf,"__esModule",{value:!0});const po=me,k$={message({keyword:e,schemaCode:t}){const r=e==="maxItems"?"more":"fewer";return(0,po.str)`must NOT have ${r} than ${t} items`},params:({schemaCode:e})=>(0,po._)`{limit: ${e}}`},T$={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:k$,code(e){const{keyword:t,data:r,schemaCode:n}=e,i=t==="maxItems"?po.operators.GT:po.operators.LT;e.fail$data((0,po._)`${r}.length ${i} ${n}`)}};wf.default=T$;var $f={},qo={};Object.defineProperty(qo,"__esModule",{value:!0});const uy=Bg;uy.code='require("ajv/dist/runtime/equal").default';qo.default=uy;Object.defineProperty($f,"__esModule",{value:!0});const Rl=Ko,tt=me,A$=Ee,R$=qo,j$={message:({params:{i:e,j:t}})=>(0,tt.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>(0,tt._)`{i: ${e}, j: ${t}}`},b$={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:j$,code(e){const{gen:t,data:r,$data:n,schema:i,parentSchema:o,schemaCode:s,it:a}=e;if(!n&&!i)return;const l=t.let("valid"),f=o.items?(0,Rl.getSchemaTypes)(o.items):[];e.block$data(l,d,(0,tt._)`${s} === false`),e.ok(l);function d(){const v=t.let("i",(0,tt._)`${r}.length`),O=t.let("j");e.setParams({i:v,j:O}),t.assign(l,!0),t.if((0,tt._)`${v} > 1`,()=>(m()?N:S)(v,O))}function m(){return f.length>0&&!f.some(v=>v==="object"||v==="array")}function N(v,O){const E=t.name("item"),u=(0,Rl.checkDataTypes)(f,E,a.opts.strictNumbers,Rl.DataType.Wrong),c=t.const("indices",(0,tt._)`{}`);t.for((0,tt._)`;${v}--;`,()=>{t.let(E,(0,tt._)`${r}[${v}]`),t.if(u,(0,tt._)`continue`),f.length>1&&t.if((0,tt._)`typeof ${E} == "string"`,(0,tt._)`${E} += "_"`),t.if((0,tt._)`typeof ${c}[${E}] == "number"`,()=>{t.assign(O,(0,tt._)`${c}[${E}]`),e.error(),t.assign(l,!1).break()}).code((0,tt._)`${c}[${E}] = ${v}`)})}function S(v,O){const E=(0,A$.useFunc)(t,R$.default),u=t.name("outer");t.label(u).for((0,tt._)`;${v}--;`,()=>t.for((0,tt._)`${O} = ${v}; ${O}--;`,()=>t.if((0,tt._)`${E}(${r}[${v}], ${r}[${O}])`,()=>{e.error(),t.assign(l,!1).break(u)})))}}};$f.default=b$;var Ef={};Object.defineProperty(Ef,"__esModule",{value:!0});const Wu=me,D$=Ee,L$=qo,x$={message:"must be equal to constant",params:({schemaCode:e})=>(0,Wu._)`{allowedValue: ${e}}`},M$={keyword:"const",$data:!0,error:x$,code(e){const{gen:t,data:r,$data:n,schemaCode:i,schema:o}=e;n||o&&typeof o=="object"?e.fail$data((0,Wu._)`!${(0,D$.useFunc)(t,L$.default)}(${r}, ${i})`):e.fail((0,Wu._)`${o} !== ${r}`)}};Ef.default=M$;var _f={};Object.defineProperty(_f,"__esModule",{value:!0});const Ji=me,F$=Ee,V$=qo,U$={message:"must be equal to one of the allowed values",params:({schemaCode:e})=>(0,Ji._)`{allowedValues: ${e}}`},z$={keyword:"enum",schemaType:"array",$data:!0,error:U$,code(e){const{gen:t,data:r,$data:n,schema:i,schemaCode:o,it:s}=e;if(!n&&i.length===0)throw new Error("enum must have non-empty array");const a=i.length>=s.opts.loopEnum;let l;const f=()=>l??(l=(0,F$.useFunc)(t,V$.default));let d;if(a||n)d=t.let("valid"),e.block$data(d,m);else{if(!Array.isArray(i))throw new Error("ajv implementation error");const S=t.const("vSchema",o);d=(0,Ji.or)(...i.map((v,O)=>N(S,O)))}e.pass(d);function m(){t.assign(d,!1),t.forOf("v",o,S=>t.if((0,Ji._)`${f()}(${r}, ${S})`,()=>t.assign(d,!0).break()))}function N(S,v){const O=i[v];return typeof O=="object"&&O!==null?(0,Ji._)`${f()}(${r}, ${S}[${v}])`:(0,Ji._)`${r} === ${O}`}}};_f.default=z$;Object.defineProperty(ff,"__esModule",{value:!0});const B$=df,H$=hf,K$=pf,G$=gf,W$=yf,q$=vf,Y$=wf,Q$=$f,X$=Ef,J$=_f,Z$=[B$.default,H$.default,K$.default,G$.default,W$.default,q$.default,Y$.default,Q$.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},X$.default,J$.default];ff.default=Z$;var Sf={},Pi={};Object.defineProperty(Pi,"__esModule",{value:!0});Pi.validateAdditionalItems=void 0;const wn=me,qu=Ee,eE={message:({params:{len:e}})=>(0,wn.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,wn._)`{limit: ${e}}`},tE={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:eE,code(e){const{parentSchema:t,it:r}=e,{items:n}=t;if(!Array.isArray(n)){(0,qu.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas');return}cy(e,n)}};function cy(e,t){const{gen:r,schema:n,data:i,keyword:o,it:s}=e;s.items=!0;const a=r.const("len",(0,wn._)`${i}.length`);if(n===!1)e.setParams({len:t.length}),e.pass((0,wn._)`${a} <= ${t.length}`);else if(typeof n=="object"&&!(0,qu.alwaysValidSchema)(s,n)){const f=r.var("valid",(0,wn._)`${a} <= ${t.length}`);r.if((0,wn.not)(f),()=>l(f)),e.ok(f)}function l(f){r.forRange("i",t.length,a,d=>{e.subschema({keyword:o,dataProp:d,dataPropType:qu.Type.Num},f),s.allErrors||r.if((0,wn.not)(f),()=>r.break())})}}Pi.validateAdditionalItems=cy;Pi.default=tE;var Of={},Ci={};Object.defineProperty(Ci,"__esModule",{value:!0});Ci.validateTuple=void 0;const Ih=me,Ks=Ee,rE=pe,nE={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:r}=e;if(Array.isArray(t))return fy(e,"additionalItems",t);r.items=!0,!(0,Ks.alwaysValidSchema)(r,t)&&e.ok((0,rE.validateArray)(e))}};function fy(e,t,r=e.schema){const{gen:n,parentSchema:i,data:o,keyword:s,it:a}=e;d(i),a.opts.unevaluated&&r.length&&a.items!==!0&&(a.items=Ks.mergeEvaluated.items(n,r.length,a.items));const l=n.name("valid"),f=n.const("len",(0,Ih._)`${o}.length`);r.forEach((m,N)=>{(0,Ks.alwaysValidSchema)(a,m)||(n.if((0,Ih._)`${f} > ${N}`,()=>e.subschema({keyword:s,schemaProp:N,dataProp:N},l)),e.ok(l))});function d(m){const{opts:N,errSchemaPath:S}=a,v=r.length,O=v===m.minItems&&(v===m.maxItems||m[t]===!1);if(N.strictTuples&&!O){const E=`"${s}" is ${v}-tuple, but minItems or maxItems/${t} are not specified or different at path "${S}"`;(0,Ks.checkStrictMode)(a,E,N.strictTuples)}}}Ci.validateTuple=fy;Ci.default=nE;Object.defineProperty(Of,"__esModule",{value:!0});const iE=Ci,oE={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,iE.validateTuple)(e,"items")};Of.default=oE;var Nf={};Object.defineProperty(Nf,"__esModule",{value:!0});const Ph=me,sE=Ee,aE=pe,lE=Pi,uE={message:({params:{len:e}})=>(0,Ph.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,Ph._)`{limit: ${e}}`},cE={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:uE,code(e){const{schema:t,parentSchema:r,it:n}=e,{prefixItems:i}=r;n.items=!0,!(0,sE.alwaysValidSchema)(n,t)&&(i?(0,lE.validateAdditionalItems)(e,i):e.ok((0,aE.validateArray)(e)))}};Nf.default=cE;var If={};Object.defineProperty(If,"__esModule",{value:!0});const Mt=me,$s=Ee,fE={message:({params:{min:e,max:t}})=>t===void 0?(0,Mt.str)`must contain at least ${e} valid item(s)`:(0,Mt.str)`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>t===void 0?(0,Mt._)`{minContains: ${e}}`:(0,Mt._)`{minContains: ${e}, maxContains: ${t}}`},dE={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:fE,code(e){const{gen:t,schema:r,parentSchema:n,data:i,it:o}=e;let s,a;const{minContains:l,maxContains:f}=n;o.opts.next?(s=l===void 0?1:l,a=f):s=1;const d=t.const("len",(0,Mt._)`${i}.length`);if(e.setParams({min:s,max:a}),a===void 0&&s===0){(0,$s.checkStrictMode)(o,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(a!==void 0&&s>a){(0,$s.checkStrictMode)(o,'"minContains" > "maxContains" is always invalid'),e.fail();return}if((0,$s.alwaysValidSchema)(o,r)){let O=(0,Mt._)`${d} >= ${s}`;a!==void 0&&(O=(0,Mt._)`${O} && ${d} <= ${a}`),e.pass(O);return}o.items=!0;const m=t.name("valid");a===void 0&&s===1?S(m,()=>t.if(m,()=>t.break())):s===0?(t.let(m,!0),a!==void 0&&t.if((0,Mt._)`${i}.length > 0`,N)):(t.let(m,!1),N()),e.result(m,()=>e.reset());function N(){const O=t.name("_valid"),E=t.let("count",0);S(O,()=>t.if(O,()=>v(E)))}function S(O,E){t.forRange("i",0,d,u=>{e.subschema({keyword:"contains",dataProp:u,dataPropType:$s.Type.Num,compositeRule:!0},O),E()})}function v(O){t.code((0,Mt._)`${O}++`),a===void 0?t.if((0,Mt._)`${O} >= ${s}`,()=>t.assign(m,!0).break()):(t.if((0,Mt._)`${O} > ${a}`,()=>t.assign(m,!1).break()),s===1?t.assign(m,!0):t.if((0,Mt._)`${O} >= ${s}`,()=>t.assign(m,!0)))}}};If.default=dE;var dy={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=me,r=Ee,n=pe;e.error={message:({params:{property:l,depsCount:f,deps:d}})=>{const m=f===1?"property":"properties";return(0,t.str)`must have ${m} ${d} when property ${l} is present`},params:({params:{property:l,depsCount:f,deps:d,missingProperty:m}})=>(0,t._)`{property: ${l}, missingProperty: ${m}, depsCount: ${f}, - deps: ${d}}`};const i={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(l){const[f,d]=o(l);s(l,f),a(l,d)}};function o({schema:l}){const f={},d={};for(const m in l){if(m==="__proto__")continue;const N=Array.isArray(l[m])?f:d;N[m]=l[m]}return[f,d]}function s(l,f=l.schema){const{gen:d,data:m,it:N}=l;if(Object.keys(f).length===0)return;const S=d.let("missing");for(const v in f){const O=f[v];if(O.length===0)continue;const E=(0,n.propertyInData)(d,m,v,N.opts.ownProperties);l.setParams({property:v,depsCount:O.length,deps:O.join(", ")}),N.allErrors?d.if(E,()=>{for(const u of O)(0,n.checkReportMissingProp)(l,u)}):(d.if((0,t._)`${E} && (${(0,n.checkMissingProp)(l,O,S)})`),(0,n.reportMissingProp)(l,S),d.else())}}e.validatePropertyDeps=s;function a(l,f=l.schema){const{gen:d,data:m,keyword:N,it:S}=l,v=d.name("valid");for(const O in f)(0,r.alwaysValidSchema)(S,f[O])||(d.if((0,n.propertyInData)(d,m,O,S.opts.ownProperties),()=>{const E=l.subschema({keyword:N,schemaProp:O},v);l.mergeValidEvaluated(E,v)},()=>d.var(v,!0)),l.ok(v))}e.validateSchemaDeps=a,e.default=i})(hy);var If={};Object.defineProperty(If,"__esModule",{value:!0});const py=me,hE=Ee,pE={message:"property name must be valid",params:({params:e})=>(0,py._)`{propertyName: ${e.propertyName}}`},mE={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:pE,code(e){const{gen:t,schema:r,data:n,it:i}=e;if((0,hE.alwaysValidSchema)(i,r))return;const o=t.name("valid");t.forIn("key",n,s=>{e.setParams({propertyName:s}),e.subschema({keyword:"propertyNames",data:s,dataTypes:["string"],propertyName:s,compositeRule:!0},o),t.if((0,py.not)(o),()=>{e.error(!0),i.allErrors||t.break()})}),e.ok(o)}};If.default=mE;var qa={};Object.defineProperty(qa,"__esModule",{value:!0});const Es=pe,qt=me,gE=vr,_s=Ee,yE={message:"must NOT have additional properties",params:({params:e})=>(0,qt._)`{additionalProperty: ${e.additionalProperty}}`},vE={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:yE,code(e){const{gen:t,schema:r,parentSchema:n,data:i,errsCount:o,it:s}=e;if(!o)throw new Error("ajv implementation error");const{allErrors:a,opts:l}=s;if(s.props=!0,l.removeAdditional!=="all"&&(0,_s.alwaysValidSchema)(s,r))return;const f=(0,Es.allSchemaProperties)(n.properties),d=(0,Es.allSchemaProperties)(n.patternProperties);m(),e.ok((0,qt._)`${o} === ${gE.default.errors}`);function m(){t.forIn("key",i,E=>{!f.length&&!d.length?v(E):t.if(N(E),()=>v(E))})}function N(E){let u;if(f.length>8){const c=(0,_s.schemaRefOrVal)(s,n.properties,"properties");u=(0,Es.isOwnProperty)(t,c,E)}else f.length?u=(0,qt.or)(...f.map(c=>(0,qt._)`${E} === ${c}`)):u=qt.nil;return d.length&&(u=(0,qt.or)(u,...d.map(c=>(0,qt._)`${(0,Es.usePattern)(e,c)}.test(${E})`))),(0,qt.not)(u)}function S(E){t.code((0,qt._)`delete ${i}[${E}]`)}function v(E){if(l.removeAdditional==="all"||l.removeAdditional&&r===!1){S(E);return}if(r===!1){e.setParams({additionalProperty:E}),e.error(),a||t.break();return}if(typeof r=="object"&&!(0,_s.alwaysValidSchema)(s,r)){const u=t.name("valid");l.removeAdditional==="failing"?(O(E,u,!1),t.if((0,qt.not)(u),()=>{e.reset(),S(E)})):(O(E,u),a||t.if((0,qt.not)(u),()=>t.break()))}}function O(E,u,c){const p={keyword:"additionalProperties",dataProp:E,dataPropType:_s.Type.Str};c===!1&&Object.assign(p,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(p,u)}}};qa.default=vE;var Cf={};Object.defineProperty(Cf,"__esModule",{value:!0});const wE=rr,Ch=pe,jl=Ee,kh=qa,$E={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,parentSchema:n,data:i,it:o}=e;o.opts.removeAdditional==="all"&&n.additionalProperties===void 0&&kh.default.code(new wE.KeywordCxt(o,kh.default,"additionalProperties"));const s=(0,Ch.allSchemaProperties)(r);for(const m of s)o.definedProperties.add(m);o.opts.unevaluated&&s.length&&o.props!==!0&&(o.props=jl.mergeEvaluated.props(t,(0,jl.toHash)(s),o.props));const a=s.filter(m=>!(0,jl.alwaysValidSchema)(o,r[m]));if(a.length===0)return;const l=t.name("valid");for(const m of a)f(m)?d(m):(t.if((0,Ch.propertyInData)(t,i,m,o.opts.ownProperties)),d(m),o.allErrors||t.else().var(l,!0),t.endIf()),e.it.definedProperties.add(m),e.ok(l);function f(m){return o.opts.useDefaults&&!o.compositeRule&&r[m].default!==void 0}function d(m){e.subschema({keyword:"properties",schemaProp:m,dataProp:m},l)}}};Cf.default=$E;var kf={};Object.defineProperty(kf,"__esModule",{value:!0});const Th=pe,Ss=me,Ah=Ee,Rh=Ee,EE={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,data:n,parentSchema:i,it:o}=e,{opts:s}=o,a=(0,Th.allSchemaProperties)(r),l=a.filter(O=>(0,Ah.alwaysValidSchema)(o,r[O]));if(a.length===0||l.length===a.length&&(!o.opts.unevaluated||o.props===!0))return;const f=s.strictSchema&&!s.allowMatchingProperties&&i.properties,d=t.name("valid");o.props!==!0&&!(o.props instanceof Ss.Name)&&(o.props=(0,Rh.evaluatedPropsToName)(t,o.props));const{props:m}=o;N();function N(){for(const O of a)f&&S(O),o.allErrors?v(O):(t.var(d,!0),v(O),t.if(d))}function S(O){for(const E in f)new RegExp(O).test(E)&&(0,Ah.checkStrictMode)(o,`property ${E} matches pattern ${O} (use allowMatchingProperties)`)}function v(O){t.forIn("key",n,E=>{t.if((0,Ss._)`${(0,Th.usePattern)(e,O)}.test(${E})`,()=>{const u=l.includes(O);u||e.subschema({keyword:"patternProperties",schemaProp:O,dataProp:E,dataPropType:Rh.Type.Str},d),o.opts.unevaluated&&m!==!0?t.assign((0,Ss._)`${m}[${E}]`,!0):!u&&!o.allErrors&&t.if((0,Ss.not)(d),()=>t.break())})})}}};kf.default=EE;var Tf={};Object.defineProperty(Tf,"__esModule",{value:!0});const _E=Ee,SE={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:r,it:n}=e;if((0,_E.alwaysValidSchema)(n,r)){e.fail();return}const i=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),e.failResult(i,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}};Tf.default=SE;var Af={};Object.defineProperty(Af,"__esModule",{value:!0});const OE=pe,NE={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:OE.validateUnion,error:{message:"must match a schema in anyOf"}};Af.default=NE;var Rf={};Object.defineProperty(Rf,"__esModule",{value:!0});const Gs=me,PE=Ee,IE={message:"must match exactly one schema in oneOf",params:({params:e})=>(0,Gs._)`{passingSchemas: ${e.passing}}`},CE={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:IE,code(e){const{gen:t,schema:r,parentSchema:n,it:i}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(i.opts.discriminator&&n.discriminator)return;const o=r,s=t.let("valid",!1),a=t.let("passing",null),l=t.name("_valid");e.setParams({passing:a}),t.block(f),e.result(s,()=>e.reset(),()=>e.error(!0));function f(){o.forEach((d,m)=>{let N;(0,PE.alwaysValidSchema)(i,d)?t.var(l,!0):N=e.subschema({keyword:"oneOf",schemaProp:m,compositeRule:!0},l),m>0&&t.if((0,Gs._)`${l} && ${s}`).assign(s,!1).assign(a,(0,Gs._)`[${a}, ${m}]`).else(),t.if(l,()=>{t.assign(s,!0),t.assign(a,m),N&&e.mergeEvaluated(N,Gs.Name)})})}}};Rf.default=CE;var jf={};Object.defineProperty(jf,"__esModule",{value:!0});const kE=Ee,TE={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:r,it:n}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const i=t.name("valid");r.forEach((o,s)=>{if((0,kE.alwaysValidSchema)(n,o))return;const a=e.subschema({keyword:"allOf",schemaProp:s},i);e.ok(i),e.mergeEvaluated(a)})}};jf.default=TE;var bf={};Object.defineProperty(bf,"__esModule",{value:!0});const Sa=me,my=Ee,AE={message:({params:e})=>(0,Sa.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,Sa._)`{failingKeyword: ${e.ifClause}}`},RE={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:AE,code(e){const{gen:t,parentSchema:r,it:n}=e;r.then===void 0&&r.else===void 0&&(0,my.checkStrictMode)(n,'"if" without "then" and "else" is ignored');const i=jh(n,"then"),o=jh(n,"else");if(!i&&!o)return;const s=t.let("valid",!0),a=t.name("_valid");if(l(),e.reset(),i&&o){const d=t.let("ifClause");e.setParams({ifClause:d}),t.if(a,f("then",d),f("else",d))}else i?t.if(a,f("then")):t.if((0,Sa.not)(a),f("else"));e.pass(s,()=>e.error(!0));function l(){const d=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},a);e.mergeEvaluated(d)}function f(d,m){return()=>{const N=e.subschema({keyword:d},a);t.assign(s,a),e.mergeValidEvaluated(N,s),m?t.assign(m,(0,Sa._)`${d}`):e.setParams({ifClause:d})}}}};function jh(e,t){const r=e.schema[t];return r!==void 0&&!(0,my.alwaysValidSchema)(e,r)}bf.default=RE;var Df={};Object.defineProperty(Df,"__esModule",{value:!0});const jE=Ee,bE={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){t.if===void 0&&(0,jE.checkStrictMode)(r,`"${e}" without "if" is ignored`)}};Df.default=bE;Object.defineProperty(Sf,"__esModule",{value:!0});const DE=Ii,LE=Of,xE=Ci,ME=Nf,FE=Pf,VE=hy,UE=If,zE=qa,BE=Cf,HE=kf,KE=Tf,GE=Af,WE=Rf,qE=jf,YE=bf,QE=Df;function XE(e=!1){const t=[KE.default,GE.default,WE.default,qE.default,YE.default,QE.default,UE.default,zE.default,VE.default,BE.default,HE.default];return e?t.push(LE.default,ME.default):t.push(DE.default,xE.default),t.push(FE.default),t}Sf.default=XE;var Lf={},xf={};Object.defineProperty(xf,"__esModule",{value:!0});const Ke=me,JE={message:({schemaCode:e})=>(0,Ke.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,Ke._)`{format: ${e}}`},ZE={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:JE,code(e,t){const{gen:r,data:n,$data:i,schema:o,schemaCode:s,it:a}=e,{opts:l,errSchemaPath:f,schemaEnv:d,self:m}=a;if(!l.validateFormats)return;i?N():S();function N(){const v=r.scopeValue("formats",{ref:m.formats,code:l.code.formats}),O=r.const("fDef",(0,Ke._)`${v}[${s}]`),E=r.let("fType"),u=r.let("format");r.if((0,Ke._)`typeof ${O} == "object" && !(${O} instanceof RegExp)`,()=>r.assign(E,(0,Ke._)`${O}.type || "string"`).assign(u,(0,Ke._)`${O}.validate`),()=>r.assign(E,(0,Ke._)`"string"`).assign(u,O)),e.fail$data((0,Ke.or)(c(),p()));function c(){return l.strictSchema===!1?Ke.nil:(0,Ke._)`${s} && !${u}`}function p(){const P=d.$async?(0,Ke._)`(${O}.async ? await ${u}(${n}) : ${u}(${n}))`:(0,Ke._)`${u}(${n})`,j=(0,Ke._)`(typeof ${u} == "function" ? ${P} : ${u}.test(${n}))`;return(0,Ke._)`${u} && ${u} !== true && ${E} === ${t} && !${j}`}}function S(){const v=m.formats[o];if(!v){c();return}if(v===!0)return;const[O,E,u]=p(v);O===t&&e.pass(P());function c(){if(l.strictSchema===!1){m.logger.warn(j());return}throw new Error(j());function j(){return`unknown format "${o}" ignored in schema at path "${f}"`}}function p(j){const g=j instanceof RegExp?(0,Ke.regexpCode)(j):l.code.formats?(0,Ke._)`${l.code.formats}${(0,Ke.getProperty)(o)}`:void 0,$=r.scopeValue("formats",{key:o,ref:j,code:g});return typeof j=="object"&&!(j instanceof RegExp)?[j.type||"string",j.validate,(0,Ke._)`${$}.validate`]:["string",j,$]}function P(){if(typeof v=="object"&&!(v instanceof RegExp)&&v.async){if(!d.$async)throw new Error("async format in sync schema");return(0,Ke._)`await ${u}(${n})`}return typeof E=="function"?(0,Ke._)`${u}(${n})`:(0,Ke._)`${u}.test(${n})`}}}};xf.default=ZE;Object.defineProperty(Lf,"__esModule",{value:!0});const e_=xf,t_=[e_.default];Lf.default=t_;var _i={};Object.defineProperty(_i,"__esModule",{value:!0});_i.contentVocabulary=_i.metadataVocabulary=void 0;_i.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];_i.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"];Object.defineProperty(lf,"__esModule",{value:!0});const r_=uf,n_=ff,i_=Sf,o_=Lf,bh=_i,s_=[r_.default,n_.default,(0,i_.default)(),o_.default,bh.metadataVocabulary,bh.contentVocabulary];lf.default=s_;var Mf={},gy={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DiscrError=void 0,function(t){t.Tag="tag",t.Mapping="mapping"}(e.DiscrError||(e.DiscrError={}))})(gy);Object.defineProperty(Mf,"__esModule",{value:!0});const Gn=me,Yu=gy,Dh=$t,a_=Ee,l_={message:({params:{discrError:e,tagName:t}})=>e===Yu.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:r}})=>(0,Gn._)`{error: ${e}, tag: ${r}, tagValue: ${t}}`},u_={keyword:"discriminator",type:"object",schemaType:"object",error:l_,code(e){const{gen:t,data:r,schema:n,parentSchema:i,it:o}=e,{oneOf:s}=i;if(!o.opts.discriminator)throw new Error("discriminator: requires discriminator option");const a=n.propertyName;if(typeof a!="string")throw new Error("discriminator: requires propertyName");if(n.mapping)throw new Error("discriminator: mapping is not supported");if(!s)throw new Error("discriminator: requires oneOf keyword");const l=t.let("valid",!1),f=t.const("tag",(0,Gn._)`${r}${(0,Gn.getProperty)(a)}`);t.if((0,Gn._)`typeof ${f} == "string"`,()=>d(),()=>e.error(!1,{discrError:Yu.DiscrError.Tag,tag:f,tagName:a})),e.ok(l);function d(){const S=N();t.if(!1);for(const v in S)t.elseIf((0,Gn._)`${f} === ${v}`),t.assign(l,m(S[v]));t.else(),e.error(!1,{discrError:Yu.DiscrError.Mapping,tag:f,tagName:a}),t.endIf()}function m(S){const v=t.name("valid"),O=e.subschema({keyword:"oneOf",schemaProp:S},v);return e.mergeEvaluated(O,Gn.Name),v}function N(){var S;const v={},O=u(i);let E=!0;for(let P=0;Pthis.addVocabulary(v)),this.opts.discriminator&&this.addKeyword(i.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const v=this.opts.$data?this.$dataMetaSchema(o,s):o;this.addMetaSchema(v,a,!1),this.refs["http://json-schema.org/schema"]=a}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(a)?a:void 0)}}e.exports=t=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var f=rr;Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return f.KeywordCxt}});var d=me;Object.defineProperty(t,"_",{enumerable:!0,get:function(){return d._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return d.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return d.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return d.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return d.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return d.CodeGen}});var m=Go;Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return m.default}});var N=Wo;Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return N.default}})})(Bu,Bu.exports);var y_=Bu.exports;const v_=oc(y_);function Os(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var yy={exports:{}};(function(e,t){(function(r){e.exports=r()})(function(){return function r(n,i,o){function s(f,d){if(!i[f]){if(!n[f]){var m=typeof Os=="function"&&Os;if(!d&&m)return m(f,!0);if(a)return a(f,!0);throw new Error("Cannot find module '"+f+"'")}d=i[f]={exports:{}},n[f][0].call(d.exports,function(N){var S=n[f][1][N];return s(S||N)},d,d.exports,r,n,i,o)}return i[f].exports}for(var a=typeof Os=="function"&&Os,l=0;l{for(const u of O)(0,n.checkReportMissingProp)(l,u)}):(d.if((0,t._)`${E} && (${(0,n.checkMissingProp)(l,O,S)})`),(0,n.reportMissingProp)(l,S),d.else())}}e.validatePropertyDeps=s;function a(l,f=l.schema){const{gen:d,data:m,keyword:N,it:S}=l,v=d.name("valid");for(const O in f)(0,r.alwaysValidSchema)(S,f[O])||(d.if((0,n.propertyInData)(d,m,O,S.opts.ownProperties),()=>{const E=l.subschema({keyword:N,schemaProp:O},v);l.mergeValidEvaluated(E,v)},()=>d.var(v,!0)),l.ok(v))}e.validateSchemaDeps=a,e.default=i})(dy);var Pf={};Object.defineProperty(Pf,"__esModule",{value:!0});const hy=me,hE=Ee,pE={message:"property name must be valid",params:({params:e})=>(0,hy._)`{propertyName: ${e.propertyName}}`},mE={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:pE,code(e){const{gen:t,schema:r,data:n,it:i}=e;if((0,hE.alwaysValidSchema)(i,r))return;const o=t.name("valid");t.forIn("key",n,s=>{e.setParams({propertyName:s}),e.subschema({keyword:"propertyNames",data:s,dataTypes:["string"],propertyName:s,compositeRule:!0},o),t.if((0,hy.not)(o),()=>{e.error(!0),i.allErrors||t.break()})}),e.ok(o)}};Pf.default=mE;var qa={};Object.defineProperty(qa,"__esModule",{value:!0});const Es=pe,qt=me,gE=vr,_s=Ee,yE={message:"must NOT have additional properties",params:({params:e})=>(0,qt._)`{additionalProperty: ${e.additionalProperty}}`},vE={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:yE,code(e){const{gen:t,schema:r,parentSchema:n,data:i,errsCount:o,it:s}=e;if(!o)throw new Error("ajv implementation error");const{allErrors:a,opts:l}=s;if(s.props=!0,l.removeAdditional!=="all"&&(0,_s.alwaysValidSchema)(s,r))return;const f=(0,Es.allSchemaProperties)(n.properties),d=(0,Es.allSchemaProperties)(n.patternProperties);m(),e.ok((0,qt._)`${o} === ${gE.default.errors}`);function m(){t.forIn("key",i,E=>{!f.length&&!d.length?v(E):t.if(N(E),()=>v(E))})}function N(E){let u;if(f.length>8){const c=(0,_s.schemaRefOrVal)(s,n.properties,"properties");u=(0,Es.isOwnProperty)(t,c,E)}else f.length?u=(0,qt.or)(...f.map(c=>(0,qt._)`${E} === ${c}`)):u=qt.nil;return d.length&&(u=(0,qt.or)(u,...d.map(c=>(0,qt._)`${(0,Es.usePattern)(e,c)}.test(${E})`))),(0,qt.not)(u)}function S(E){t.code((0,qt._)`delete ${i}[${E}]`)}function v(E){if(l.removeAdditional==="all"||l.removeAdditional&&r===!1){S(E);return}if(r===!1){e.setParams({additionalProperty:E}),e.error(),a||t.break();return}if(typeof r=="object"&&!(0,_s.alwaysValidSchema)(s,r)){const u=t.name("valid");l.removeAdditional==="failing"?(O(E,u,!1),t.if((0,qt.not)(u),()=>{e.reset(),S(E)})):(O(E,u),a||t.if((0,qt.not)(u),()=>t.break()))}}function O(E,u,c){const p={keyword:"additionalProperties",dataProp:E,dataPropType:_s.Type.Str};c===!1&&Object.assign(p,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(p,u)}}};qa.default=vE;var Cf={};Object.defineProperty(Cf,"__esModule",{value:!0});const wE=rr,Ch=pe,jl=Ee,kh=qa,$E={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,parentSchema:n,data:i,it:o}=e;o.opts.removeAdditional==="all"&&n.additionalProperties===void 0&&kh.default.code(new wE.KeywordCxt(o,kh.default,"additionalProperties"));const s=(0,Ch.allSchemaProperties)(r);for(const m of s)o.definedProperties.add(m);o.opts.unevaluated&&s.length&&o.props!==!0&&(o.props=jl.mergeEvaluated.props(t,(0,jl.toHash)(s),o.props));const a=s.filter(m=>!(0,jl.alwaysValidSchema)(o,r[m]));if(a.length===0)return;const l=t.name("valid");for(const m of a)f(m)?d(m):(t.if((0,Ch.propertyInData)(t,i,m,o.opts.ownProperties)),d(m),o.allErrors||t.else().var(l,!0),t.endIf()),e.it.definedProperties.add(m),e.ok(l);function f(m){return o.opts.useDefaults&&!o.compositeRule&&r[m].default!==void 0}function d(m){e.subschema({keyword:"properties",schemaProp:m,dataProp:m},l)}}};Cf.default=$E;var kf={};Object.defineProperty(kf,"__esModule",{value:!0});const Th=pe,Ss=me,Ah=Ee,Rh=Ee,EE={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,data:n,parentSchema:i,it:o}=e,{opts:s}=o,a=(0,Th.allSchemaProperties)(r),l=a.filter(O=>(0,Ah.alwaysValidSchema)(o,r[O]));if(a.length===0||l.length===a.length&&(!o.opts.unevaluated||o.props===!0))return;const f=s.strictSchema&&!s.allowMatchingProperties&&i.properties,d=t.name("valid");o.props!==!0&&!(o.props instanceof Ss.Name)&&(o.props=(0,Rh.evaluatedPropsToName)(t,o.props));const{props:m}=o;N();function N(){for(const O of a)f&&S(O),o.allErrors?v(O):(t.var(d,!0),v(O),t.if(d))}function S(O){for(const E in f)new RegExp(O).test(E)&&(0,Ah.checkStrictMode)(o,`property ${E} matches pattern ${O} (use allowMatchingProperties)`)}function v(O){t.forIn("key",n,E=>{t.if((0,Ss._)`${(0,Th.usePattern)(e,O)}.test(${E})`,()=>{const u=l.includes(O);u||e.subschema({keyword:"patternProperties",schemaProp:O,dataProp:E,dataPropType:Rh.Type.Str},d),o.opts.unevaluated&&m!==!0?t.assign((0,Ss._)`${m}[${E}]`,!0):!u&&!o.allErrors&&t.if((0,Ss.not)(d),()=>t.break())})})}}};kf.default=EE;var Tf={};Object.defineProperty(Tf,"__esModule",{value:!0});const _E=Ee,SE={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:r,it:n}=e;if((0,_E.alwaysValidSchema)(n,r)){e.fail();return}const i=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),e.failResult(i,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}};Tf.default=SE;var Af={};Object.defineProperty(Af,"__esModule",{value:!0});const OE=pe,NE={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:OE.validateUnion,error:{message:"must match a schema in anyOf"}};Af.default=NE;var Rf={};Object.defineProperty(Rf,"__esModule",{value:!0});const Gs=me,IE=Ee,PE={message:"must match exactly one schema in oneOf",params:({params:e})=>(0,Gs._)`{passingSchemas: ${e.passing}}`},CE={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:PE,code(e){const{gen:t,schema:r,parentSchema:n,it:i}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(i.opts.discriminator&&n.discriminator)return;const o=r,s=t.let("valid",!1),a=t.let("passing",null),l=t.name("_valid");e.setParams({passing:a}),t.block(f),e.result(s,()=>e.reset(),()=>e.error(!0));function f(){o.forEach((d,m)=>{let N;(0,IE.alwaysValidSchema)(i,d)?t.var(l,!0):N=e.subschema({keyword:"oneOf",schemaProp:m,compositeRule:!0},l),m>0&&t.if((0,Gs._)`${l} && ${s}`).assign(s,!1).assign(a,(0,Gs._)`[${a}, ${m}]`).else(),t.if(l,()=>{t.assign(s,!0),t.assign(a,m),N&&e.mergeEvaluated(N,Gs.Name)})})}}};Rf.default=CE;var jf={};Object.defineProperty(jf,"__esModule",{value:!0});const kE=Ee,TE={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:r,it:n}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const i=t.name("valid");r.forEach((o,s)=>{if((0,kE.alwaysValidSchema)(n,o))return;const a=e.subschema({keyword:"allOf",schemaProp:s},i);e.ok(i),e.mergeEvaluated(a)})}};jf.default=TE;var bf={};Object.defineProperty(bf,"__esModule",{value:!0});const Sa=me,py=Ee,AE={message:({params:e})=>(0,Sa.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,Sa._)`{failingKeyword: ${e.ifClause}}`},RE={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:AE,code(e){const{gen:t,parentSchema:r,it:n}=e;r.then===void 0&&r.else===void 0&&(0,py.checkStrictMode)(n,'"if" without "then" and "else" is ignored');const i=jh(n,"then"),o=jh(n,"else");if(!i&&!o)return;const s=t.let("valid",!0),a=t.name("_valid");if(l(),e.reset(),i&&o){const d=t.let("ifClause");e.setParams({ifClause:d}),t.if(a,f("then",d),f("else",d))}else i?t.if(a,f("then")):t.if((0,Sa.not)(a),f("else"));e.pass(s,()=>e.error(!0));function l(){const d=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},a);e.mergeEvaluated(d)}function f(d,m){return()=>{const N=e.subschema({keyword:d},a);t.assign(s,a),e.mergeValidEvaluated(N,s),m?t.assign(m,(0,Sa._)`${d}`):e.setParams({ifClause:d})}}}};function jh(e,t){const r=e.schema[t];return r!==void 0&&!(0,py.alwaysValidSchema)(e,r)}bf.default=RE;var Df={};Object.defineProperty(Df,"__esModule",{value:!0});const jE=Ee,bE={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){t.if===void 0&&(0,jE.checkStrictMode)(r,`"${e}" without "if" is ignored`)}};Df.default=bE;Object.defineProperty(Sf,"__esModule",{value:!0});const DE=Pi,LE=Of,xE=Ci,ME=Nf,FE=If,VE=dy,UE=Pf,zE=qa,BE=Cf,HE=kf,KE=Tf,GE=Af,WE=Rf,qE=jf,YE=bf,QE=Df;function XE(e=!1){const t=[KE.default,GE.default,WE.default,qE.default,YE.default,QE.default,UE.default,zE.default,VE.default,BE.default,HE.default];return e?t.push(LE.default,ME.default):t.push(DE.default,xE.default),t.push(FE.default),t}Sf.default=XE;var Lf={},xf={};Object.defineProperty(xf,"__esModule",{value:!0});const Ke=me,JE={message:({schemaCode:e})=>(0,Ke.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,Ke._)`{format: ${e}}`},ZE={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:JE,code(e,t){const{gen:r,data:n,$data:i,schema:o,schemaCode:s,it:a}=e,{opts:l,errSchemaPath:f,schemaEnv:d,self:m}=a;if(!l.validateFormats)return;i?N():S();function N(){const v=r.scopeValue("formats",{ref:m.formats,code:l.code.formats}),O=r.const("fDef",(0,Ke._)`${v}[${s}]`),E=r.let("fType"),u=r.let("format");r.if((0,Ke._)`typeof ${O} == "object" && !(${O} instanceof RegExp)`,()=>r.assign(E,(0,Ke._)`${O}.type || "string"`).assign(u,(0,Ke._)`${O}.validate`),()=>r.assign(E,(0,Ke._)`"string"`).assign(u,O)),e.fail$data((0,Ke.or)(c(),p()));function c(){return l.strictSchema===!1?Ke.nil:(0,Ke._)`${s} && !${u}`}function p(){const I=d.$async?(0,Ke._)`(${O}.async ? await ${u}(${n}) : ${u}(${n}))`:(0,Ke._)`${u}(${n})`,j=(0,Ke._)`(typeof ${u} == "function" ? ${I} : ${u}.test(${n}))`;return(0,Ke._)`${u} && ${u} !== true && ${E} === ${t} && !${j}`}}function S(){const v=m.formats[o];if(!v){c();return}if(v===!0)return;const[O,E,u]=p(v);O===t&&e.pass(I());function c(){if(l.strictSchema===!1){m.logger.warn(j());return}throw new Error(j());function j(){return`unknown format "${o}" ignored in schema at path "${f}"`}}function p(j){const g=j instanceof RegExp?(0,Ke.regexpCode)(j):l.code.formats?(0,Ke._)`${l.code.formats}${(0,Ke.getProperty)(o)}`:void 0,$=r.scopeValue("formats",{key:o,ref:j,code:g});return typeof j=="object"&&!(j instanceof RegExp)?[j.type||"string",j.validate,(0,Ke._)`${$}.validate`]:["string",j,$]}function I(){if(typeof v=="object"&&!(v instanceof RegExp)&&v.async){if(!d.$async)throw new Error("async format in sync schema");return(0,Ke._)`await ${u}(${n})`}return typeof E=="function"?(0,Ke._)`${u}(${n})`:(0,Ke._)`${u}.test(${n})`}}}};xf.default=ZE;Object.defineProperty(Lf,"__esModule",{value:!0});const e_=xf,t_=[e_.default];Lf.default=t_;var _i={};Object.defineProperty(_i,"__esModule",{value:!0});_i.contentVocabulary=_i.metadataVocabulary=void 0;_i.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];_i.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"];Object.defineProperty(lf,"__esModule",{value:!0});const r_=uf,n_=ff,i_=Sf,o_=Lf,bh=_i,s_=[r_.default,n_.default,(0,i_.default)(),o_.default,bh.metadataVocabulary,bh.contentVocabulary];lf.default=s_;var Mf={},my={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DiscrError=void 0,function(t){t.Tag="tag",t.Mapping="mapping"}(e.DiscrError||(e.DiscrError={}))})(my);Object.defineProperty(Mf,"__esModule",{value:!0});const Kn=me,Yu=my,Dh=$t,a_=Ee,l_={message:({params:{discrError:e,tagName:t}})=>e===Yu.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:r}})=>(0,Kn._)`{error: ${e}, tag: ${r}, tagValue: ${t}}`},u_={keyword:"discriminator",type:"object",schemaType:"object",error:l_,code(e){const{gen:t,data:r,schema:n,parentSchema:i,it:o}=e,{oneOf:s}=i;if(!o.opts.discriminator)throw new Error("discriminator: requires discriminator option");const a=n.propertyName;if(typeof a!="string")throw new Error("discriminator: requires propertyName");if(n.mapping)throw new Error("discriminator: mapping is not supported");if(!s)throw new Error("discriminator: requires oneOf keyword");const l=t.let("valid",!1),f=t.const("tag",(0,Kn._)`${r}${(0,Kn.getProperty)(a)}`);t.if((0,Kn._)`typeof ${f} == "string"`,()=>d(),()=>e.error(!1,{discrError:Yu.DiscrError.Tag,tag:f,tagName:a})),e.ok(l);function d(){const S=N();t.if(!1);for(const v in S)t.elseIf((0,Kn._)`${f} === ${v}`),t.assign(l,m(S[v]));t.else(),e.error(!1,{discrError:Yu.DiscrError.Mapping,tag:f,tagName:a}),t.endIf()}function m(S){const v=t.name("valid"),O=e.subschema({keyword:"oneOf",schemaProp:S},v);return e.mergeEvaluated(O,Kn.Name),v}function N(){var S;const v={},O=u(i);let E=!0;for(let I=0;Ithis.addVocabulary(v)),this.opts.discriminator&&this.addKeyword(i.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const v=this.opts.$data?this.$dataMetaSchema(o,s):o;this.addMetaSchema(v,a,!1),this.refs["http://json-schema.org/schema"]=a}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(a)?a:void 0)}}e.exports=t=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var f=rr;Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return f.KeywordCxt}});var d=me;Object.defineProperty(t,"_",{enumerable:!0,get:function(){return d._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return d.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return d.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return d.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return d.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return d.CodeGen}});var m=Go;Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return m.default}});var N=Wo;Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return N.default}})})(Bu,Bu.exports);var y_=Bu.exports;const v_=oc(y_);function Os(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var gy={exports:{}};(function(e,t){(function(r){e.exports=r()})(function(){return function r(n,i,o){function s(f,d){if(!i[f]){if(!n[f]){var m=typeof Os=="function"&&Os;if(!d&&m)return m(f,!0);if(a)return a(f,!0);throw new Error("Cannot find module '"+f+"'")}d=i[f]={exports:{}},n[f][0].call(d.exports,function(N){var S=n[f][1][N];return s(S||N)},d,d.exports,r,n,i,o)}return i[f].exports}for(var a=typeof Os=="function"&&Os,l=0;l>16),G((65280&y)>>8),G(255&y);return x==2?G(255&(y=$(h.charAt(I))<<2|$(h.charAt(I+1))>>4)):x==1&&(G((y=$(h.charAt(I))<<10|$(h.charAt(I+1))<<4|$(h.charAt(I+2))>>2)>>8&255),G(255&y)),F},v.fromByteArray=function(h){var I,y,x,F,Y=h.length%3,U="";function G(B){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(B)}for(I=0,x=h.length-Y;I>18&63)+G(F>>12&63)+G(F>>6&63)+G(63&F);switch(Y){case 1:U=(U+=G((y=h[h.length-1])>>2))+G(y<<4&63)+"==";break;case 2:U=(U=(U+=G((y=(h[h.length-2]<<8)+h[h.length-1])>>10))+G(y>>4&63))+G(y<<2&63)+"="}return U}})(i===void 0?this.base64js={}:i)}).call(this,r("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},r("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(r,n,i){(function(o,s,E,l,f,d,m,N,S){var v=r("base64-js"),O=r("ieee754");function E(w,k,L){if(!(this instanceof E))return new E(w,k,L);var X,J,re,he,ge=typeof w;if(k==="base64"&&ge=="string")for(w=(he=w).trim?he.trim():he.replace(/^\s+|\s+$/g,"");w.length%4!=0;)w+="=";if(ge=="number")X=z(w);else if(ge=="string")X=E.byteLength(w,k);else{if(ge!="object")throw new Error("First argument needs to be a number, array or string.");X=z(w.length)}if(E._useTypedArrays?J=E._augment(new Uint8Array(X)):((J=this).length=X,J._isBuffer=!0),E._useTypedArrays&&typeof w.byteLength=="number")J._set(w);else if(Q(he=w)||E.isBuffer(he)||he&&typeof he=="object"&&typeof he.length=="number")for(re=0;re>8,he=he%256,ge.push(he),ge.push(re);return ge}(k),w,L,X)}function p(w,k,L){var X="";L=Math.min(w.length,L);for(var J=k;J>>0)):(k+1>>0),J}function g(w,k,L,X){if(X||(q(typeof L=="boolean","missing or invalid endian"),q(k!=null,"missing offset"),q(k+1>>8*(X?re:1-re)}function x(w,k,L,X,J){if(J||(q(k!=null,"missing value"),q(typeof X=="boolean","missing or invalid endian"),q(L!=null,"missing offset"),q(L+3>>8*(X?re:3-re)&255}function F(w,k,L,X,J){J||(q(k!=null,"missing value"),q(typeof X=="boolean","missing or invalid endian"),q(L!=null,"missing offset"),q(L+1this.length&&(X=this.length);var J=(X=w.length-k=this.length))return this[w]},E.prototype.readUInt16LE=function(w,k){return P(this,w,!0,k)},E.prototype.readUInt16BE=function(w,k){return P(this,w,!1,k)},E.prototype.readUInt32LE=function(w,k){return j(this,w,!0,k)},E.prototype.readUInt32BE=function(w,k){return j(this,w,!1,k)},E.prototype.readInt8=function(w,k){if(k||(q(w!=null,"missing offset"),q(w=this.length))return 128&this[w]?-1*(255-this[w]+1):this[w]},E.prototype.readInt16LE=function(w,k){return g(this,w,!0,k)},E.prototype.readInt16BE=function(w,k){return g(this,w,!1,k)},E.prototype.readInt32LE=function(w,k){return $(this,w,!0,k)},E.prototype.readInt32BE=function(w,k){return $(this,w,!1,k)},E.prototype.readFloatLE=function(w,k){return h(this,w,!0,k)},E.prototype.readFloatBE=function(w,k){return h(this,w,!1,k)},E.prototype.readDoubleLE=function(w,k){return I(this,w,!0,k)},E.prototype.readDoubleBE=function(w,k){return I(this,w,!1,k)},E.prototype.writeUInt8=function(w,k,L){L||(q(w!=null,"missing value"),q(k!=null,"missing offset"),q(k=this.length||(this[k]=w)},E.prototype.writeUInt16LE=function(w,k,L){y(this,w,k,!0,L)},E.prototype.writeUInt16BE=function(w,k,L){y(this,w,k,!1,L)},E.prototype.writeUInt32LE=function(w,k,L){x(this,w,k,!0,L)},E.prototype.writeUInt32BE=function(w,k,L){x(this,w,k,!1,L)},E.prototype.writeInt8=function(w,k,L){L||(q(w!=null,"missing value"),q(k!=null,"missing offset"),q(k=this.length||(0<=w?this.writeUInt8(w,k,L):this.writeUInt8(255+w+1,k,L))},E.prototype.writeInt16LE=function(w,k,L){F(this,w,k,!0,L)},E.prototype.writeInt16BE=function(w,k,L){F(this,w,k,!1,L)},E.prototype.writeInt32LE=function(w,k,L){Y(this,w,k,!0,L)},E.prototype.writeInt32BE=function(w,k,L){Y(this,w,k,!1,L)},E.prototype.writeFloatLE=function(w,k,L){U(this,w,k,!0,L)},E.prototype.writeFloatBE=function(w,k,L){U(this,w,k,!1,L)},E.prototype.writeDoubleLE=function(w,k,L){G(this,w,k,!0,L)},E.prototype.writeDoubleBE=function(w,k,L){G(this,w,k,!1,L)},E.prototype.fill=function(w,k,L){if(k=k||0,L=L||this.length,q(typeof(w=typeof(w=w||0)=="string"?w.charCodeAt(0):w)=="number"&&!isNaN(w),"value is not a number"),q(k<=L,"end < start"),L!==k&&this.length!==0){q(0<=k&&k"},E.prototype.toArrayBuffer=function(){if(typeof Uint8Array>"u")throw new Error("Buffer.toArrayBuffer not supported in this browser");if(E._useTypedArrays)return new E(this).buffer;for(var w=new Uint8Array(this.length),k=0,L=w.length;k=k.length||J>=w.length);J++)k[J+L]=w[J];return J}function _(w){try{return decodeURIComponent(w)}catch{return"�"}}function A(w,k){q(typeof w=="number","cannot write a non-number as a number"),q(0<=w,"specified a negative value for writing an unsigned value"),q(w<=k,"value is larger than maximum value for type"),q(Math.floor(w)===w,"value has a fractional component")}function K(w,k,L){q(typeof w=="number","cannot write a non-number as a number"),q(w<=k,"value larger than maximum allowed value"),q(L<=w,"value smaller than minimum allowed value"),q(Math.floor(w)===w,"value has a fractional component")}function te(w,k,L){q(typeof w=="number","cannot write a non-number as a number"),q(w<=k,"value larger than maximum allowed value"),q(L<=w,"value smaller than minimum allowed value")}function q(w,k){if(!w)throw new Error(k||"Failed assertion")}E._augment=function(w){return w._isBuffer=!0,w._get=w.get,w._set=w.set,w.get=B.get,w.set=B.set,w.write=B.write,w.toString=B.toString,w.toLocaleString=B.toString,w.toJSON=B.toJSON,w.copy=B.copy,w.slice=B.slice,w.readUInt8=B.readUInt8,w.readUInt16LE=B.readUInt16LE,w.readUInt16BE=B.readUInt16BE,w.readUInt32LE=B.readUInt32LE,w.readUInt32BE=B.readUInt32BE,w.readInt8=B.readInt8,w.readInt16LE=B.readInt16LE,w.readInt16BE=B.readInt16BE,w.readInt32LE=B.readInt32LE,w.readInt32BE=B.readInt32BE,w.readFloatLE=B.readFloatLE,w.readFloatBE=B.readFloatBE,w.readDoubleLE=B.readDoubleLE,w.readDoubleBE=B.readDoubleBE,w.writeUInt8=B.writeUInt8,w.writeUInt16LE=B.writeUInt16LE,w.writeUInt16BE=B.writeUInt16BE,w.writeUInt32LE=B.writeUInt32LE,w.writeUInt32BE=B.writeUInt32BE,w.writeInt8=B.writeInt8,w.writeInt16LE=B.writeInt16LE,w.writeInt16BE=B.writeInt16BE,w.writeInt32LE=B.writeInt32LE,w.writeInt32BE=B.writeInt32BE,w.writeFloatLE=B.writeFloatLE,w.writeFloatBE=B.writeFloatBE,w.writeDoubleLE=B.writeDoubleLE,w.writeDoubleBE=B.writeDoubleBE,w.fill=B.fill,w.inspect=B.inspect,w.toArrayBuffer=B.toArrayBuffer,w}}).call(this,r("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},r("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(r,n,i){(function(o,s,v,l,f,d,m,N,S){var v=r("buffer").Buffer,O=4,E=new v(O);E.fill(0),n.exports={hash:function(u,c,p,P){for(var j=c(function(y,x){y.length%O!=0&&(F=y.length+(O-y.length%O),y=v.concat([y,E],F));for(var F,Y=[],U=x?y.readInt32BE:y.readInt32LE,G=0;Gp?Z=B(Z):Z.length>5]|=128<<$%32,g[14+($+64>>>9<<4)]=$;for(var h=1732584193,I=-271733879,y=-1732584194,x=271733878,F=0;F>>32-y,h)}function u(g,$,h,I,y,x,F){return E($&h|~$&I,g,$,y,x,F)}function c(g,$,h,I,y,x,F){return E($&I|h&~I,g,$,y,x,F)}function p(g,$,h,I,y,x,F){return E($^h^I,g,$,y,x,F)}function P(g,$,h,I,y,x,F){return E(h^($|~I),g,$,y,x,F)}function j(g,$){var h=(65535&g)+(65535&$);return(g>>16)+($>>16)+(h>>16)<<16|65535&h}n.exports=function(g){return v.hash(g,O,16)}}).call(this,r("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},r("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(r,n,i){(function(o,s,a,l,f,d,m,N,S){n.exports=function(v){for(var O,E=new Array(v),u=0;u>>((3&u)<<3)&255;return E}}).call(this,r("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},r("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(r,n,i){(function(o,s,a,l,f,d,m,N,S){var v=r("./helpers");function O(c,p){c[p>>5]|=128<<24-p%32,c[15+(p+64>>9<<4)]=p;for(var P,j,g,$=Array(80),h=1732584193,I=-271733879,y=-1732584194,x=271733878,F=-1009589776,Y=0;Y>16)+(p>>16)+(P>>16)<<16|65535&P}function u(c,p){return c<>>32-p}n.exports=function(c){return v.hash(c,O,20,!0)}}).call(this,r("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},r("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(r,n,i){(function(o,s,a,l,f,d,m,N,S){function v(p,P){var j=(65535&p)+(65535&P);return(p>>16)+(P>>16)+(j>>16)<<16|65535&j}function O(p,P){var j,g=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),$=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),h=new Array(64);p[P>>5]|=128<<24-P%32,p[15+(P+64>>9<<4)]=P;for(var I,y,x=0;x>>P|p<<32-P},c=function(p,P){return p>>>P};n.exports=function(p){return E.hash(p,O,32,!0)}}).call(this,r("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},r("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(r,n,i){(function(o,s,a,l,f,d,m,N,S){i.read=function(v,O,E,u,x){var p,P,j=8*x-u-1,g=(1<>1,h=-7,I=E?x-1:0,y=E?-1:1,x=v[O+I];for(I+=y,p=x&(1<<-h)-1,x>>=-h,h+=j;0>=-h,h+=u;0>1,I=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=u?0:F-1,x=u?1:-1,F=O<0||O===0&&1/O<0?1:0;for(O=Math.abs(O),isNaN(O)||O===1/0?(j=isNaN(O)?1:0,P=$):(P=Math.floor(Math.log(O)/Math.LN2),O*(u=Math.pow(2,-P))<1&&(P--,u*=2),2<=(O+=1<=P+h?I/u:I*Math.pow(2,1-h))*u&&(P++,u/=2),$<=P+h?(j=0,P=$):1<=P+h?(j=(O*u-1)*Math.pow(2,c),P+=h):(j=O*Math.pow(2,h-1)*Math.pow(2,c),P=0));8<=c;v[E+y]=255&j,y+=x,j/=256,c-=8);for(P=P<e,E_=e=>e,__=e=>!1,Lh={mutateKey:$_,mutateValue:E_,skipCopy:__};function Qu(e,t={},r=Lh){const{mutateKey:n,mutateValue:i,skipCopy:o}={...Lh,...r};return typeof e=="object"&&!Array.isArray(e)&&e?o(e)?i(e):(Object.keys(e).forEach(s=>{t[n(s)]=i(Qu(e[s],{},r))}),t):Array.isArray(e)?[...e].map((s,a)=>i(Qu(s,{},r))):i(e)}function Xu(e,t=[]){return e instanceof ct?(t.push(e),t):(Array.isArray(e)?e.forEach(r=>Xu(r,t)):typeof e=="object"&&Object.keys(e||{}).forEach(r=>{Xu(e[r],t)}),t)}class Si{constructor(t){this.data=t}yields(){return Xu(this.data.result,[])}logic(){return Qu(this.data.result,{},{mutateValue:t=>t instanceof ct?t.logic():t,skipCopy:t=>t instanceof ct})}}function _t(e){return Array.isArray(e)?e.some(t=>t instanceof ct||t instanceof Si):e instanceof ct||e instanceof Si}async function S_(e,t){const r=[];for(const n of e)await t(n)&&r.push(n);return r}async function O_(e,t){for(const r of e)if(await t(r))return!0;return!1}async function N_(e,t){for(const r of e)if(!await t(r))return!1;return!0}async function P_(e,t){const r=[];for(const n of e)r.push(await t(n));return r}async function I_(e,t,r){if(e.length===0){if(typeof r<"u")return r;throw new Error("Array has no elements.")}const n=typeof r>"u"?1:0;let i=n?e[0]:r;for(let o=n;o!!(typeof e!="function"||e[Ff]);function Do(e,t=!0){return e[Ff]=t,e}function C_(e,t){return typeof e=="number"&&(e===1/0||e===-1/0||Number.isNaN(e))?!1:e==null||["Number","String","Boolean"].includes(e.constructor.name)||!t&&e.constructor.name==="Object"}function Zu(e,t,r){if(Array.isArray(e))return e.every(n=>Zu(n,t,r));if(e&&typeof e=="object"){const n=Object.keys(e)[0],i=e[n];if(t.isData(e,n))return!0;if(!t.methods[n])throw new Error(`Method '${n}' was not found in the Logic Engine.`);return t.methods[n].traverse===!1?typeof t.methods[n].deterministic=="function"?t.methods[n].deterministic(i,r):t.methods[n].deterministic:typeof t.methods[n].deterministic=="function"?t.methods[n].deterministic(i,r):t.methods[n].deterministic&&Zu(i,t,r)}return!0}function ec(e,t){if(!t.async)return!0;if(Array.isArray(e))return e.every(r=>ec(r,t));if(typeof e=="object"){const r=Object.keys(e)[0],n=e[r];return sn(t.methods[r])?ec(n,t):!1}return!0}function k_(e,t,r,n){if(n[r])return n[r];const i=n[r+"_input"]?e(n[r+"_input"]):e(typeof t=="function"?t():t);if(i instanceof ct)throw i._input&&(n[r+"_input"]=i._input),i.resumable=n,i;return n[r]=i,i}async function T_(e,t,r,n){if(n[r])return n[r];const i=n[r+"_input"]?await e(n[r+"_input"]):await e(typeof t=="function"?await t():t);if(i instanceof ct)throw i._input&&(n[r+"_input"]=i._input),i.resumable=n,i;return n[r]=i,i}function A_(e,t={}){const{notTraversed:r=[],functions:n={},async:i,engine:o}=t,s=Object.keys(e)[0];t.yieldUsed=(t.yieldUsed||0)+1;let a=!1;if(t.useContext=t.useContext||(o.methods[s]||{}).useContext,typeof o.methods[s]=="function"){n[s]=1,a=!sn(o.methods[s]);const l={...t,avoidInlineAsync:!0},f=ne(e[s],l);return t.useContext=t.useContext||l.useContext,a||f.includes("await")?(t.asyncDetected=t.asyncDetected||a,`await rAsync(gen["${s}"], async () => { return ${f} }, 'yield${t.yieldUsed}', resumable)`):`r(gen["${s}"], () => { return ${f} }, 'yield${t.yieldUsed}', resumable)`}else if(o.methods[s]&&o.methods[s].traverse){n[s]=1,a=!!(i&&o.methods[s]&&o.methods[s].asyncMethod);const l={...t,avoidInlineAsync:!0},f=ne(e[s],l);return t.useContext=t.useContext||l.useContext,a||f.startsWith("await")?(t.asyncDetected=t.asyncDetected||a,`await rAsync(gen["${s}"], async () => ${f}, 'yield${t.yieldUsed}', resumable)`):`r(gen["${s}"], () => ${f}, 'yield${t.yieldUsed}', resumable)`}else return a=!!(i&&o.methods[s]&&o.methods[s].asyncMethod),n[s]=1,r.push(e[s]),t.useContext=!0,a?(t.asyncDetected=t.asyncDetected||a,`await rAsync(gen["${s}"], notTraversed[${r.length-1}], 'yield${t.yieldUsed}', resumable)`):`r(gen["${s}"], notTraversed[${r.length-1}], 'yield${t.yieldUsed}', resumable)`}function ne(e,t={}){const{notTraversed:r=[],functions:n={},methods:i=[],state:o,async:s,above:a=[],processing:l=[],values:f=[],engine:d}=t;function m(O,E=!1){return C_(O,E)?JSON.stringify(O):(f.push(O),`values[${f.length-1}]`)}if(Array.isArray(e))return"["+e.map(O=>ne(O,t)).join(", ")+"]";let N=!1;function S(O){return t.asyncDetected=t.asyncDetected||N,s&&N?`await ${O}`:O}const v=e&&Object.keys(e)[0];if(t.useContext=t.useContext||(d.methods[v]||{}).useContext,e&&typeof e=="object"){if(!v)return m(e);if(!d.methods[v]){if(d.isData(e,v))return m(e,!0);throw new Error(`Method '${v}' was not found in the Logic Engine.`)}if(n[v]=n[v]||2,!t.engine.disableInline&&d.methods[v]&&Zu(e,d,t)){if(ec(e,d))return m((d.fallback||d).run(e),!0);if(!t.avoidInlineAsync)return l.push(d.run(e).then(O=>m(O))),`__%%%${l.length-1}%%%__`}if(d.options.yieldSupported&&d.methods[v]&&d.methods[v].yields)return A_(e,t);if(d.methods[v]&&d.methods[v].compile){const O=d.methods[v].compile(e[v],t);if((O||"").startsWith("await")&&(t.asyncDetected=!0),O!==!1)return O}if(typeof d.methods[v]=="function")return n[v]=1,N=!sn(d.methods[v]),S(`gen["${v}"](`+ne(e[v],t)+")");if(d.methods[v]&&(typeof d.methods[v].traverse>"u"||d.methods[v].traverse))return n[v]=1,N=!!(s&&d.methods[v]&&d.methods[v].asyncMethod),S(`gen["${v}"](`+ne(e[v],t)+")");if(d.methods[v]){if(s){if(d.methods[v].asyncBuild||d.methods[v].build){const E=(d.methods[v].asyncBuild||d.methods[v].build)(e[v],o,a,d,t);return i.push(E),N=!sn(E),S(`methods[${i.length-1}]()`)}}else if(d.methods[v].build)return i.push(d.methods[v].build(e[v],o,a,d,t)),S(`methods[${i.length-1}]()`)}return N=!!(s&&d.methods[v]&&d.methods[v].asyncMethod),n[v]=1,r.push(e[v]),S(`gen["${v}"](notTraversed[${r.length-1}])`)}return m(e)}function Lo(e,t={}){Object.assign(t,Object.assign({notTraversed:[],functions:{},methods:[],state:{},processing:[],async:t.engine.async,above:[],asyncDetected:!1,values:[]},t));const r=ne(e,t);return R_(e,r,t)}function R_(e,t,r){const n={},{functions:i,state:o,async:s,engine:a,above:l,methods:f,notTraversed:d,processing:m,values:N}=r;if(m.forEach((O,E)=>{t=t.replace(`__%%%${E}%%%__`,O)}),Object.keys(i).forEach(O=>{if(i[O]!==2){if(!a.methods[O])throw new Error(`Method '${O}' was not found in the Logic Engine.`);if(typeof a.methods[O]=="function"){const E=a.methods[O];n[O]=u=>E(u,o,l,a)}else if(s&&a.methods[O].asyncMethod){r.asyncDetected=!0;const E=a.methods[O].asyncMethod;n[O]=u=>E(u,o,l,a)}else{const E=a.methods[O].method;n[O]=u=>E(u,o,l,a)}}}),!Object.keys(i).length)return e;let S="state[Override] = context;";if(!r.useContext)for(S="";t.includes("state[Override]");)t=t.replace("state[Override]","context");const v=`(state, values, methods, gen, notTraversed, Override, asyncIterators, r, rAsync) => ${r.asyncDetected?"async":""} (context ${r.yieldUsed?", resumable = {}":""}) => { ${S} const result = ${t}; return result }`;return Do(globalThis.eval(v)(o,N,f,n,d,Ju,Oa,k_,T_),!r.asyncDetected)}const j_=()=>{try{const e={};return globalThis.eval("(test) => test?.foo?.bar")(e)===void 0}catch{return!1}},vy=j_();class xt extends Error{constructor(t){super(),this.message="Built-in control structures are not allowed to receive dynamic inputs, this could allow a lesser version of remote-code execution.",this.input=t}}class Vf{constructor(t,r,n){this.arr=t,this.cur=r,this.nextCall=n,this.position=0,this._position=0,this.map=null}next(){const t=this.arr[this.position];this._position=this.position;const r=this.nextCall(this.cur,t,this.arr,this);return r instanceof ct||r instanceof Si?r:(this.position=this._position,this.cur=r,this.position++,this.cur)}skip(){this._position++}dump(){this._position=this.arr.length}result(){return this.cur}state(){return{arr:this.arr.splice(this.position),cur:this.cur}}done(){return this.position>=this.arr.length}}class wy extends Vf{async next(){const t=this.arr[this.position];this._position=this.position;const r=await this.nextCall(this.cur,t,this.arr,this);return r instanceof ct||r instanceof Si?r:(this.position=this._position,this.cur=r,this.position++,this.cur)}}function Na(e,t,r){if(Array.isArray(e))return e.every(n=>Na(n,t,r));if(e&&typeof e=="object"){const n=Object.keys(e)[0],i=e[n];return t.methods[n].traverse===!1?typeof t.methods[n].deterministic=="function"?t.methods[n].deterministic(i,r):t.methods[n].deterministic:typeof t.methods[n].deterministic=="function"?t.methods[n].deterministic(i,r):t.methods[n].deterministic&&Na(i,t,r)}return!0}function b_(e,t,r){return{yields:!0,method:(n,i,o,s)=>{let a=n,l=null;Array.isArray(n)||(a=n.arr,l=n.cur);const f=t(n,i,o,s),d=new Vf(a,l,f);for(;!d.done();){const m=d.next();if(_t(m))return new ct({yield:m,_name:e,_input:d.state()})}return d.result()},asyncMethod:async(n,i,o,s)=>{let a=n,l=null;Array.isArray(n)||(a=n.arr,l=n.cur);const f=r(n,i,o,s),d=new wy(a,l,f);for(;!d.done();){const m=await d.next();if(_t(m))return new ct({yield:m,_name:e,_input:d.state()})}return d.result()},traverse:!1}}const D_=b_("ifYield",(e,t,r,n)=>(i,o,s,a)=>{if(s.length%2===0&&s.push(null),!(a._position&1)&&a._position!==s.length-1){const l=n.run(o,t,{above:r});return l||a.skip(),l}else a._position&1&&a.dump();return n.run(o,t,{above:r})},(e,t,r,n)=>async(i,o,s,a)=>{if(s.length%2===0&&s.push(null),!(a._position&1)&&a._position!==s.length-1){const l=await n.run(o,t,{above:r});return l||a.skip(),l}else a._position&1&&a.dump();return n.run(o,t,{above:r})}),L_=Yo("someYield",(e,t,r,n)=>(i,o,s,a)=>{const l=n.run(a.map,o,{above:[e,t,...r]});return l?(a.dump(),l):!1},(e,t,r,n)=>async(i,o,s,a)=>{const l=await n.run(a.map,o,{above:[e,t,...r]});return l?(a.dump(),l):!1},!1),x_=Yo("everyYield",(e,t,r,n)=>(i,o,s,a)=>{const l=n.run(a.map,o,{above:[e,t,...r]});return l||(a.dump(),!1)},(e,t,r,n)=>async(i,o,s,a)=>{const l=await n.run(a.map,o,{above:[e,t,...r]});return l||(a.dump(),!1)},!0),M_=Yo("filterYield",(e,t,r,n)=>(i,o,s,a)=>{const l=n.run(a.map,o,{above:[e,t,...r]});return _t(l)?l:(l&&i.push(o),i)},(e,t,r,n)=>async(i,o,s,a)=>{const l=await n.run(a.map,o,{above:[e,t,...r]});return _t(l)?l:(l&&i.push(o),i)},()=>[]),F_=Yo("mapYield",(e,t,r,n)=>(i,o,s,a)=>{const l=n.run(a.map,o,{above:[e,t,...r]});return _t(l)?l:(i.push(l),i)},(e,t,r,n)=>async(i,o,s,a)=>{const l=await n.run(a.map,o,{above:[e,t,...r]});return _t(l)?l:(i.push(l),i)},()=>[]),V_=Yo("reduceYield",(e,t,r,n)=>(i,o,s,a)=>n.run(a.map,{accumulator:i,current:o},{above:[e,t,...r]}),(e,t,r,n)=>async(i,o,s,a)=>n.run(a.map,{accumulator:i,current:o},{above:[e,t,...r]}));function Yo(e,t,r,n){const i={yields:!0,deterministic:(o,s)=>Na(o[0],s.engine,s)&&Na(o[1],s.engine,{...s,insideIterator:!0}),build:(o,s,a,l,f)=>(f.useContext=!0,Do(()=>i.method(o,s,a,l))),asyncBuild:(o,s,a,l,f)=>{f.useContext=!0;const[d,m]=o,N=Lo(d,{engine:l,async:!0,avoidInlineAsync:!0}),S=Lo(m,{engine:l,state:{},async:!0,avoidInlineAsync:!0});return sn(N)&&sn(S)?Do(()=>i.method(o,s,a,l.fallback)):()=>i.asyncMethod(o,s,a,l)},method:(o,s,a,l)=>{let f=n;typeof n=="function"&&(f=n());let d,m,N=null;if(Array.isArray(o)){const[O,E,u]=o,c=l.run(O,s,{above:a})||[];if(_t(c))return new ct({_input:[O,E,u],_name:e,yields:c.yields()});d=c,N=E,m=u===0?0:u||f}else d=o.arr,m=o.cur,N=o.map;const S=t(o,s,a,l),v=new Vf(d,m,S);for(v.map=N;!v.done();){const O=v.next();if(_t(O))return new ct({yields:O.yields(),_name:e,_input:{...v.state(),map:N}})}return v.result()},asyncMethod:async(o,s,a,l)=>{let f=n;typeof n=="function"&&(f=n());let d,m,N=null;if(Array.isArray(o)){const[O,E,u]=o,c=await l.run(O,s,{above:a})||[];if(_t(c))return new ct({_name:e,_input:[O,E,u],yields:c.yields()});d=c,N=E,m=u===0?0:u||f}else d=o.arr,m=o.cur,N=o.map;const S=r(o,s,a,l),v=new wy(d,m,S);for(v.map=N;!v.done();){const O=await v.next();if(_t(O))return new ct({yields:O.yields(),_name:e,_input:{...v.state(),map:N}})}return v.result()},traverse:!1};return i}const U_={someYield:L_,everyYield:x_,filterYield:M_,mapYield:F_,reduceYield:V_,ifYield:D_};function Pa(e,t=".",r="\\"){const n=[];let i="";for(let o=0;oGr(n,t,r));if(e&&typeof e=="object"){const n=Object.keys(e)[0],i=e[n];if(t.isData(e,n))return!0;if(!t.methods[n])throw new Error(`Method '${n}' was not found in the Logic Engine.`);return t.methods[n].traverse===!1?typeof t.methods[n].deterministic=="function"?t.methods[n].deterministic(i,r):t.methods[n].deterministic:typeof t.methods[n].deterministic=="function"?t.methods[n].deterministic(i,r):t.methods[n].deterministic&&Gr(i,t,r)}return!0}const fe={"+":e=>[].concat(e).reduce((t,r)=>+t+ +r,0),"*":e=>e.reduce((t,r)=>+t*+r),"/":e=>e.reduce((t,r)=>+t/+r),"-":e=>(t=>(t.length===1?t[0]=-t[0]:t)&0||t)([].concat(e)).reduce((t,r)=>+t-+r),"%":e=>e.reduce((t,r)=>+t%+r),max:e=>Math.max(...e),min:e=>Math.min(...e),in:([e,t])=>(t||[]).includes(e),">":([e,t])=>e>t,"<":([e,t,r])=>r===void 0?ee)},if:{method:(e,t,r,n)=>{if(!Array.isArray(e))throw new xt(e);if(e.length<2)throw new xt(e);e=[...e],e.length%2!==1&&e.push(null);const i=e.pop();for(;e.length;){const o=e.shift(),s=e.shift();if(n.run(o,t,{above:r}))return n.run(s,t,{above:r})}return n.run(i,t,{above:r})},deterministic:(e,t)=>Gr(e,t.engine,t),asyncMethod:async(e,t,r,n)=>{if(!Array.isArray(e))throw new xt(e);if(e.length<2)throw new xt(e);e=[...e],e.length%2!==1&&e.push(null);const i=e.pop();for(;e.length;){const o=e.shift(),s=e.shift();if(await n.run(o,t,{above:r}))return n.run(s,t,{above:r})}return n.run(i,t,{above:r})},traverse:!1},"<=":([e,t,r])=>r===void 0?e<=t:e<=t&&t<=r,">=":([e,t])=>e>=t,"==":([e,t])=>e==t,"===":([e,t])=>e===t,"!=":([e,t])=>e!=t,"!==":([e,t])=>e!==t,xor:([e,t])=>e^t,or:e=>e.reduce((t,r)=>t||r,!1),and:e=>e.reduce((t,r)=>t&&r),substr:([e,t,r])=>{if(r<0){const n=e.substr(t);return n.substr(0,n.length+r)}return e.substr(t,r)},length:e=>typeof e=="string"||Array.isArray(e)?e.length:e&&typeof e=="object"?Object.keys(e).length:0,get:{method:([e,t,r],n,i,o)=>{const s=r===void 0?null:r,a=Pa(String(t));for(let l=0;l{let i;Array.isArray(e)&&(i=e[1],e=e[0]);let o=0;for(;typeof e=="string"&&e.startsWith("../")&&o"u"||e===""||e===null)return n.allowFunctions||typeof(t&&t[e])!="function"?t:null;const a=Pa(String(e));for(let l=0;l(Array.isArray(e)?e:[e]).filter(i=>fe.var(i,t,r,n)===null),missing_some:([e,t],r,n,i)=>{const o=fe.missing(t,r,n,i);return t.length-o.length>=e?[]:o},map:Ki("map"),some:Ki("some"),all:Ki("every"),none:{traverse:!1,method:(e,t,r,n)=>!fe.some.method(e,t,r,n),asyncMethod:async(e,t,r,n)=>!await fe.some.asyncMethod(e,t,r,n),compile:(e,t)=>{const r=`${fe.some.compile(e,t)}`;return r?`!(${r})`:!1}},merge:e=>Array.isArray(e)?[].concat(...e):[e],every:Ki("every"),filter:Ki("filter"),reduce:{deterministic:(e,t)=>Gr(e[0],t.engine,t)&&Gr(e[1],t.engine,{...t,insideIterator:!0}),compile:(e,t)=>{if(!Array.isArray(e))throw new xt(e);const{above:r=[],state:n,async:i}=t;let[o,s,a]=e;o=ne(o,t),typeof a<"u"&&(a=ne(a,t));const l={...t,state:{},above:[o,n,...r],avoidInlineAsync:!0};return s=Lo(s,l),t.useContext=t.useContext||l.useContext,t.methods.push(s),i&&(!sn(s)||o.includes("await"))?(t.detectAsync=!0,typeof a<"u"?`await asyncIterators.reduce(${o} || [], (a,b) => methods[${t.methods.length-1}]({ accumulator: a, current: b }), ${a})`:`await asyncIterators.reduce(${o} || [], (a,b) => methods[${t.methods.length-1}]({ accumulator: a, current: b }))`):typeof a<"u"?`(${o} || []).reduce((a,b) => methods[${t.methods.length-1}]({ accumulator: a, current: b }), ${a})`:`(${o} || []).reduce((a,b) => methods[${t.methods.length-1}]({ accumulator: a, current: b }))`},method:(e,t,r,n)=>{if(!Array.isArray(e))throw new xt(e);let[i,o,s]=e;s=n.run(s,t,{above:r}),i=n.run(i,t,{above:r})||[];const a=(l,f)=>n.run(o,{accumulator:l,current:f},{above:[i,t,...r]});return typeof s>"u"?i.reduce(a):i.reduce(a,s)},asyncMethod:async(e,t,r,n)=>{if(!Array.isArray(e))throw new xt(e);let[i,o,s]=e;return s=await n.run(s,t,{above:r}),i=await n.run(i,t,{above:r})||[],Oa.reduce(i,(a,l)=>n.run(o,{accumulator:a,current:l},{above:[i,t,...r]}),s)},traverse:!1},not:e=>Array.isArray(e)?!e[0]:!e,"!":e=>Array.isArray(e)?!e[0]:!e,"!!":e=>!!(Array.isArray(e)?e[0]:e),cat:e=>typeof e=="string"?e:e.join(""),keys:e=>Object.keys(e),eachKey:{traverse:!1,method:(e,t,r,n)=>Object.keys(e).reduce((o,s)=>{const a=e[s];return Object.defineProperty(o,s,{enumerable:!0,value:n.run(a,t,{above:r})}),o},{}),useContext:!0,deterministic:(e,t)=>{if(e&&typeof e=="object")return Object.values(e).every(r=>Gr(r,t.engine,t));throw new xt(e)},compile:(e,t)=>{if(e&&typeof e=="object")return`({ ${Object.keys(e).reduce((n,i)=>(n.push(`${JSON.stringify(i)}: ${ne(e[i],t)}`),n),[]).join(",")} })`;throw new xt(e)},asyncMethod:async(e,t,r,n)=>await Oa.reduce(Object.keys(e),async(o,s)=>{const a=e[s];return Object.defineProperty(o,s,{enumerable:!0,value:await n.run(a,t,{above:r})}),o},{})}};function Ki(e){return{deterministic:(t,r)=>Gr(t[0],r.engine,r)&&Gr(t[1],r.engine,{...r,insideIterator:!0}),method:(t,r,n,i)=>{if(!Array.isArray(t))throw new xt(t);let[o,s]=t;return o=i.run(o,r,{above:n})||[],o[e](a=>i.run(s,a,{above:[o,r,...n]}))},asyncMethod:async(t,r,n,i)=>{if(!Array.isArray(t))throw new xt(t);let[o,s]=t;return o=await i.run(o,r,{above:n})||[],Oa[e](o,a=>i.run(s,a,{above:[o,r,...n]}))},compile:(t,r)=>{if(!Array.isArray(t))throw new xt(t);const{above:n=[],state:i,async:o}=r;let[s,a]=t;s=ne(s,r);const l={...r,state:{},above:[s,i,...n],avoidInlineAsync:!0};return a=Lo(a,l),r.useContext=r.useContext||l.useContext,r.methods.push(a),o&&(!sn(a)||s.includes("await"))?(r.detectAsync=!0,`await asyncIterators.${e}(${s} || [], methods[${r.methods.length-1}])`):`(${s} || []).${e}(methods[${r.methods.length-1}])`},traverse:!1}}fe["?:"]=fe.if;Object.keys(fe).forEach(e=>{typeof fe[e]=="function"&&(fe[e][Ff]=!0),fe[e].deterministic=typeof fe[e].deterministic>"u"?!0:fe[e].deterministic});fe.var.deterministic=(e,t)=>t.insideIterator&&!String(e).includes("../");Object.assign(fe.var,{traverse:!1});Object.assign(fe.missing,{deterministic:!1,useContext:!0});Object.assign(fe.missing_some,{deterministic:!1,useContext:!0});fe["<"].compile=function(e,t){if(Array.isArray(e)){if(e.length===2)return"("+ne(e[0],t)+" < "+ne(e[1],t)+")";if(e.length===3){const r=ne(e[0],t),n=ne(e[1],t),i=ne(e[2],t);return`${r} < ${n} && ${n} < ${i}`}}return!1};fe["<="].compile=function(e,t){if(Array.isArray(e)){if(e.length===2)return"("+ne(e[0],t)+" <= "+ne(e[1],t)+")";if(e.length===3){const r=ne(e[0],t),n=ne(e[1],t),i=ne(e[2],t);return`${r} <= ${n} && ${n} <= ${i}`}}return!1};fe.min.compile=function(e,t){return Array.isArray(e)?`Math.min(${e.map(r=>ne(r,t)).join(", ")})`:!1};fe.max.compile=function(e,t){return Array.isArray(e)?`Math.max(${e.map(r=>ne(r,t)).join(", ")})`:!1};fe[">"].compile=function(e,t){return Array.isArray(e)&&e.length===2?"("+ne(e[0],t)+" > "+ne(e[1],t)+")":!1};fe[">="].compile=function(e,t){return Array.isArray(e)&&e.length===2?"("+ne(e[0],t)+" >= "+ne(e[1],t)+")":!1};fe["=="].compile=function(e,t){return Array.isArray(e)&&e.length===2?"("+ne(e[0],t)+" == "+ne(e[1],t)+")":!1};fe["!="].compile=function(e,t){return Array.isArray(e)&&e.length===2?"("+ne(e[0],t)+" != "+ne(e[1],t)+")":!1};fe.if.compile=function(e,t){if(Array.isArray(e)&&e.length>=3){e=[...e],e.length%2!==1&&e.push(null);const r=e.pop();let n="";for(;e.length;){const i=e.shift(),o=e.shift();n+=`(${ne(i,t)}) ? ${ne(o,t)} : `}return"("+n+`${ne(r,t)})`}return!1};fe["!=="].compile=function(e,t){return Array.isArray(e)&&e.length===2?"("+ne(e[0],t)+" !== "+ne(e[1],t)+")":!1};fe["==="].compile=function(e,t){return Array.isArray(e)&&e.length===2?"("+ne(e[0],t)+" === "+ne(e[1],t)+")":!1};fe["+"].compile=function(e,t){return Array.isArray(e)?`(${e.map(r=>`(+${ne(r,t)})`).join(" + ")})`:typeof e=="string"||typeof e=="number"?`(+${ne(e,t)})`:`([].concat(${ne(e,t)})).reduce((a,b) => (+a)+(+b), 0)`};fe["%"].compile=function(e,t){return Array.isArray(e)?`(${e.map(r=>`(+${ne(r,t)})`).join(" % ")})`:`(${ne(e,t)}).reduce((a,b) => (+a)%(+b))`};fe.or.compile=function(e,t){return Array.isArray(e)?`(${e.map(r=>ne(r,t)).join(" || ")})`:`(${ne(e,t)}).reduce((a,b) => a||b, false)`};fe.in.compile=function(e,t){return Array.isArray(e)?`(${ne(e[1],t)} || []).includes(${ne(e[0],t)})`:!1};fe.and.compile=function(e,t){return Array.isArray(e)?`(${e.map(r=>ne(r,t)).join(" && ")})`:`(${ne(e,t)}).reduce((a,b) => a&&b, true)`};fe["-"].compile=function(e,t){return Array.isArray(e)?`${e.length===1?"-":""}(${e.map(r=>`(+${ne(r,t)})`).join(" - ")})`:typeof e=="string"||typeof e=="number"?`(-${ne(e,t)})`:`((a=>(a.length===1?a[0]=-a[0]:a)&0||a)([].concat(${ne(e,t)}))).reduce((a,b) => (+a)-(+b))`};fe["/"].compile=function(e,t){return Array.isArray(e)?`(${e.map(r=>`(+${ne(r,t)})`).join(" / ")})`:`(${ne(e,t)}).reduce((a,b) => (+a)/(+b))`};fe["*"].compile=function(e,t){return Array.isArray(e)?`(${e.map(r=>`(+${ne(r,t)})`).join(" * ")})`:`(${ne(e,t)}).reduce((a,b) => (+a)*(+b))`};fe.cat.compile=function(e,t){return typeof e=="string"?JSON.stringify(e):Array.isArray(e)?`(${["",...e].map(r=>ne(r,t)).join(" + ")})`:!1};fe.not.compile=fe["!"].compile=function(e,t){return Array.isArray(e)?`(!(${ne(e[0],t)}))`:`(!(${ne(e,t)}))`};fe["!!"].compile=function(e,t){return Array.isArray(e)?`(!!(${ne(e[0],t)}))`:`(!!(${ne(e,t)}))`};fe.none.deterministic=fe.some.deterministic;fe.get.compile=function(e,t){let r=null,n=e,i=null;if(Array.isArray(e)&&e.length<=3){if(i=e[0],n=e[1],r=typeof e[2]>"u"?null:e[2],n&&typeof n=="object")return!1;n=n.toString();const o=Pa(n);return vy?`((${ne(i,t)})${o.map(s=>`?.[${ne(s,t)}]`).join("")} ?? ${ne(r,t)})`:`(((a,b) => (typeof a === 'undefined' || a === null) ? b : a)(${o.reduce((s,a)=>`(${s}||0)[${JSON.stringify(a)}]`,`(${ne(i,t)}||0)`)}, ${ne(r,t)}))`}return!1};fe.var.compile=function(e,t){let r=e,n=null;if(t.varTop=t.varTop||new Set,!r||typeof e=="string"||typeof e=="number"||Array.isArray(e)&&e.length<=2){if(Array.isArray(e)&&(r=e[0],n=typeof e[1]>"u"?null:e[1]),typeof r>"u"||r===null||r==="")return"state[Override]";if(typeof r!="string"&&typeof r!="number"||(r=r.toString(),r.includes("../")))return t.useContext=!0,!1;const i=Pa(r),[o]=i;return t.varTop.add(o),vy?`(context${i.map(s=>`?.[${JSON.stringify(s)}]`).join("")} ?? ${ne(n,t)})`:`(((a,b) => (typeof a === 'undefined' || a === null) ? b : a)(${i.reduce((s,a)=>`(${s}||0)[${JSON.stringify(a)}]`,"(context||0)")}, ${ne(n,t)}))`}return t.useContext=!0,!1};const z_={...fe,...U_},B_=function(t){return Object.keys(t).forEach(r=>{t[r]===void 0&&delete t[r]}),t};class H_{constructor(t=z_,r={yieldSupported:!1,disableInline:!1,permissive:!1}){this.disableInline=r.disableInline,this.methods={...t},this.options={yieldSupported:r.yieldSupported,disableInline:r.disableInline},this.isData||(r.permissive?this.isData=(n,i)=>!(i in this.methods):this.isData=()=>!1)}_parse(t,r,n){const[i]=Object.keys(t),o=t[i];if(this.isData(t,i))return{result:t,func:i};if(!this.methods[i])throw new Error(`Method '${i}' was not found in the Logic Engine.`);if(typeof this.methods[i]=="function"){const s=this.run(o,r,{above:n});return this.options.yieldSupported&&_t(s)?{result:s,func:i}:{result:this.methods[i](s,r,n,this),func:i}}if(typeof this.methods[i]=="object"){const{method:s,traverse:a}=this.methods[i],f=(typeof a>"u"?!0:a)?this.run(o,r,{above:n}):o;return this.options.yieldSupported&&_t(f)?{result:f,func:i}:{result:s(f,r,n,this),func:i}}throw new Error(`Method '${i}' is not set up properly.`)}addMethod(t,r,{deterministic:n,yields:i,useContext:o}={}){typeof r=="function"?r={method:r,traverse:!0}:r={...r},Object.assign(r,B_({yields:i,useContext:o,deterministic:n})),this.methods[t]=Do(r)}addModule(t,r,n){Object.getOwnPropertyNames(r).forEach(i=>{(typeof r[i]=="function"||typeof r[i]=="object")&&this.addMethod(`${t}${t?".":""}${i}`,r[i],n)})}run(t,r={},n={}){const{above:i=[]}=n;if(Array.isArray(t)){const o=t.map(s=>this.run(s,r,{above:i}));return this.options.yieldSupported&&_t(o)?new Si({result:o}):o}if(t&&typeof t=="object"&&Object.keys(t).length>0){const{func:o,result:s}=this._parse(t,r,i);return this.options.yieldSupported&&_t(s)?s instanceof ct?(s._input&&(s._logic={[o]:s._input}),s._logic||(s._logic=t),s):new Si({result:{[o]:s.data.result}}):s}return t}build(t,r={}){const{above:n=[],top:i=!0}=r;if(i){const o=Lo(t,{state:{},engine:this,above:n});return typeof o=="function"||i===!0?(...s)=>typeof o=="function"?o(...s):o:o}return t}}var tc={exports:{}};const K_="2.0.0",$y=256,G_=Number.MAX_SAFE_INTEGER||9007199254740991,W_=16,q_=$y-6,Y_=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var Ya={MAX_LENGTH:$y,MAX_SAFE_COMPONENT_LENGTH:W_,MAX_SAFE_BUILD_LENGTH:q_,MAX_SAFE_INTEGER:G_,RELEASE_TYPES:Y_,SEMVER_SPEC_VERSION:K_,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},bl={};const Q_=typeof process=="object"&&bl&&bl.NODE_DEBUG&&/\bsemver\b/i.test(bl.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var Qa=Q_;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n}=Ya,i=Qa;t=e.exports={};const o=t.re=[],s=t.safeRe=[],a=t.src=[],l=t.t={};let f=0;const d="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",r],[d,n]],N=v=>{for(const[O,E]of m)v=v.split(`${O}*`).join(`${O}{0,${E}}`).split(`${O}+`).join(`${O}{1,${E}}`);return v},S=(v,O,E)=>{const u=N(O),c=f++;i(v,c,O),l[v]=c,a[c]=O,o[c]=new RegExp(O,E?"g":void 0),s[c]=new RegExp(u,E?"g":void 0)};S("NUMERICIDENTIFIER","0|[1-9]\\d*"),S("NUMERICIDENTIFIERLOOSE","\\d+"),S("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),S("MAINVERSION",`(${a[l.NUMERICIDENTIFIER]})\\.(${a[l.NUMERICIDENTIFIER]})\\.(${a[l.NUMERICIDENTIFIER]})`),S("MAINVERSIONLOOSE",`(${a[l.NUMERICIDENTIFIERLOOSE]})\\.(${a[l.NUMERICIDENTIFIERLOOSE]})\\.(${a[l.NUMERICIDENTIFIERLOOSE]})`),S("PRERELEASEIDENTIFIER",`(?:${a[l.NUMERICIDENTIFIER]}|${a[l.NONNUMERICIDENTIFIER]})`),S("PRERELEASEIDENTIFIERLOOSE",`(?:${a[l.NUMERICIDENTIFIERLOOSE]}|${a[l.NONNUMERICIDENTIFIER]})`),S("PRERELEASE",`(?:-(${a[l.PRERELEASEIDENTIFIER]}(?:\\.${a[l.PRERELEASEIDENTIFIER]})*))`),S("PRERELEASELOOSE",`(?:-?(${a[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[l.PRERELEASEIDENTIFIERLOOSE]})*))`),S("BUILDIDENTIFIER",`${d}+`),S("BUILD",`(?:\\+(${a[l.BUILDIDENTIFIER]}(?:\\.${a[l.BUILDIDENTIFIER]})*))`),S("FULLPLAIN",`v?${a[l.MAINVERSION]}${a[l.PRERELEASE]}?${a[l.BUILD]}?`),S("FULL",`^${a[l.FULLPLAIN]}$`),S("LOOSEPLAIN",`[v=\\s]*${a[l.MAINVERSIONLOOSE]}${a[l.PRERELEASELOOSE]}?${a[l.BUILD]}?`),S("LOOSE",`^${a[l.LOOSEPLAIN]}$`),S("GTLT","((?:<|>)?=?)"),S("XRANGEIDENTIFIERLOOSE",`${a[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),S("XRANGEIDENTIFIER",`${a[l.NUMERICIDENTIFIER]}|x|X|\\*`),S("XRANGEPLAIN",`[v=\\s]*(${a[l.XRANGEIDENTIFIER]})(?:\\.(${a[l.XRANGEIDENTIFIER]})(?:\\.(${a[l.XRANGEIDENTIFIER]})(?:${a[l.PRERELEASE]})?${a[l.BUILD]}?)?)?`),S("XRANGEPLAINLOOSE",`[v=\\s]*(${a[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[l.XRANGEIDENTIFIERLOOSE]})(?:${a[l.PRERELEASELOOSE]})?${a[l.BUILD]}?)?)?`),S("XRANGE",`^${a[l.GTLT]}\\s*${a[l.XRANGEPLAIN]}$`),S("XRANGELOOSE",`^${a[l.GTLT]}\\s*${a[l.XRANGEPLAINLOOSE]}$`),S("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),S("COERCERTL",a[l.COERCE],!0),S("LONETILDE","(?:~>?)"),S("TILDETRIM",`(\\s*)${a[l.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",S("TILDE",`^${a[l.LONETILDE]}${a[l.XRANGEPLAIN]}$`),S("TILDELOOSE",`^${a[l.LONETILDE]}${a[l.XRANGEPLAINLOOSE]}$`),S("LONECARET","(?:\\^)"),S("CARETTRIM",`(\\s*)${a[l.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",S("CARET",`^${a[l.LONECARET]}${a[l.XRANGEPLAIN]}$`),S("CARETLOOSE",`^${a[l.LONECARET]}${a[l.XRANGEPLAINLOOSE]}$`),S("COMPARATORLOOSE",`^${a[l.GTLT]}\\s*(${a[l.LOOSEPLAIN]})$|^$`),S("COMPARATOR",`^${a[l.GTLT]}\\s*(${a[l.FULLPLAIN]})$|^$`),S("COMPARATORTRIM",`(\\s*)${a[l.GTLT]}\\s*(${a[l.LOOSEPLAIN]}|${a[l.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",S("HYPHENRANGE",`^\\s*(${a[l.XRANGEPLAIN]})\\s+-\\s+(${a[l.XRANGEPLAIN]})\\s*$`),S("HYPHENRANGELOOSE",`^\\s*(${a[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[l.XRANGEPLAINLOOSE]})\\s*$`),S("STAR","(<|>)?=?\\s*\\*"),S("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),S("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(tc,tc.exports);var Qo=tc.exports;const X_=Object.freeze({loose:!0}),J_=Object.freeze({}),Z_=e=>e?typeof e!="object"?X_:e:J_;var Uf=Z_;const xh=/^[0-9]+$/,Ey=(e,t)=>{const r=xh.test(e),n=xh.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:eEy(t,e);var _y={compareIdentifiers:Ey,rcompareIdentifiers:eS};const Ns=Qa,{MAX_LENGTH:Mh,MAX_SAFE_INTEGER:Ps}=Ya,{safeRe:Fh,t:Vh}=Qo,tS=Uf,{compareIdentifiers:Hn}=_y;let rS=class fr{constructor(t,r){if(r=tS(r),t instanceof fr){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>Mh)throw new TypeError(`version is longer than ${Mh} characters`);Ns("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const n=t.trim().match(r.loose?Fh[Vh.LOOSE]:Fh[Vh.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Ps||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ps||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ps||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){const o=+i;if(o>=0&&o=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);if(o===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let o=[r,i];n===!1&&(o=[r]),Hn(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=o):this.prerelease=o}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var yt=rS;const Uh=yt,nS=(e,t,r=!1)=>{if(e instanceof Uh)return e;try{return new Uh(e,t)}catch(n){if(!r)return null;throw n}};var ki=nS;const iS=ki,oS=(e,t)=>{const r=iS(e,t);return r?r.version:null};var sS=oS;const aS=ki,lS=(e,t)=>{const r=aS(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};var uS=lS;const zh=yt,cS=(e,t,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new zh(e instanceof zh?e.version:e,r).inc(t,n,i).version}catch{return null}};var fS=cS;const Bh=ki,dS=(e,t)=>{const r=Bh(e,null,!0),n=Bh(t,null,!0),i=r.compare(n);if(i===0)return null;const o=i>0,s=o?r:n,a=o?n:r,l=!!s.prerelease.length;if(!!a.prerelease.length&&!l)return!a.patch&&!a.minor?"major":s.patch?"patch":s.minor?"minor":"major";const d=l?"pre":"";return r.major!==n.major?d+"major":r.minor!==n.minor?d+"minor":r.patch!==n.patch?d+"patch":"prerelease"};var hS=dS;const pS=yt,mS=(e,t)=>new pS(e,t).major;var gS=mS;const yS=yt,vS=(e,t)=>new yS(e,t).minor;var wS=vS;const $S=yt,ES=(e,t)=>new $S(e,t).patch;var _S=ES;const SS=ki,OS=(e,t)=>{const r=SS(e,t);return r&&r.prerelease.length?r.prerelease:null};var NS=OS;const Hh=yt,PS=(e,t,r)=>new Hh(e,r).compare(new Hh(t,r));var ir=PS;const IS=ir,CS=(e,t,r)=>IS(t,e,r);var kS=CS;const TS=ir,AS=(e,t)=>TS(e,t,!0);var RS=AS;const Kh=yt,jS=(e,t,r)=>{const n=new Kh(e,r),i=new Kh(t,r);return n.compare(i)||n.compareBuild(i)};var zf=jS;const bS=zf,DS=(e,t)=>e.sort((r,n)=>bS(r,n,t));var LS=DS;const xS=zf,MS=(e,t)=>e.sort((r,n)=>xS(n,r,t));var FS=MS;const VS=ir,US=(e,t,r)=>VS(e,t,r)>0;var Xa=US;const zS=ir,BS=(e,t,r)=>zS(e,t,r)<0;var Bf=BS;const HS=ir,KS=(e,t,r)=>HS(e,t,r)===0;var Sy=KS;const GS=ir,WS=(e,t,r)=>GS(e,t,r)!==0;var Oy=WS;const qS=ir,YS=(e,t,r)=>qS(e,t,r)>=0;var Hf=YS;const QS=ir,XS=(e,t,r)=>QS(e,t,r)<=0;var Kf=XS;const JS=Sy,ZS=Oy,e2=Xa,t2=Hf,r2=Bf,n2=Kf,i2=(e,t,r,n)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return JS(e,r,n);case"!=":return ZS(e,r,n);case">":return e2(e,r,n);case">=":return t2(e,r,n);case"<":return r2(e,r,n);case"<=":return n2(e,r,n);default:throw new TypeError(`Invalid operator: ${t}`)}};var Ny=i2;const o2=yt,s2=ki,{safeRe:Is,t:Cs}=Qo,a2=(e,t)=>{if(e instanceof o2)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let r=null;if(!t.rtl)r=e.match(Is[Cs.COERCE]);else{let n;for(;(n=Is[Cs.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),Is[Cs.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;Is[Cs.COERCERTL].lastIndex=-1}return r===null?null:s2(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)};var l2=a2,Dl,Gh;function u2(){return Gh||(Gh=1,Dl=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),Dl}var c2=_e;_e.Node=Ln;_e.create=_e;function _e(e){var t=this;if(t instanceof _e||(t=new _e),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(i){t.push(i)});else if(arguments.length>0)for(var r=0,n=arguments.length;r1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=0;n!==null;i++)r=e(r,n.value,i),n=n.next;return r};_e.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;n!==null;i--)r=e(r,n.value,i),n=n.prev;return r};_e.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;r!==null;t++)e[t]=r.value,r=r.next;return e};_e.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;r!==null;t++)e[t]=r.value,r=r.prev;return e};_e.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new _e;if(tthis.length&&(t=this.length);for(var n=0,i=this.head;i!==null&&nthis.length&&(t=this.length);for(var n=this.length,i=this.tail;i!==null&&n>t;n--)i=i.prev;for(;i!==null&&n>e;n--,i=i.prev)r.push(i.value);return r};_e.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,i=this.head;i!==null&&n1;class m2{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[$n]=t.max||1/0;const r=t.length||Ll;if(this[Kn]=typeof r!="function"?Ll:r,this[mo]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[On]=t.maxAge||0,this[_r]=t.dispose,this[Wh]=t.noDisposeOnSet||!1,this[Py]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[$n]=t||1/0,Gi(this)}get max(){return this[$n]}set allowStale(t){this[mo]=!!t}get allowStale(){return this[mo]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[On]=t,Gi(this)}get maxAge(){return this[On]}set lengthCalculator(t){typeof t!="function"&&(t=Ll),t!==this[Kn]&&(this[Kn]=t,this[Or]=0,this[Je].forEach(r=>{r.length=this[Kn](r.value,r.key),this[Or]+=r.length})),Gi(this)}get lengthCalculator(){return this[Kn]}get length(){return this[Or]}get itemCount(){return this[Je].length}rforEach(t,r){r=r||this;for(let n=this[Je].tail;n!==null;){const i=n.prev;qh(this,t,n,r),n=i}}forEach(t,r){r=r||this;for(let n=this[Je].head;n!==null;){const i=n.next;qh(this,t,n,r),n=i}}keys(){return this[Je].toArray().map(t=>t.key)}values(){return this[Je].toArray().map(t=>t.value)}reset(){this[_r]&&this[Je]&&this[Je].length&&this[Je].forEach(t=>this[_r](t.key,t.value)),this[Yt]=new Map,this[Je]=new p2,this[Or]=0}dump(){return this[Je].map(t=>Ia(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[Je]}set(t,r,n){if(n=n||this[On],n&&typeof n!="number")throw new TypeError("maxAge must be a number");const i=n?Date.now():0,o=this[Kn](r,t);if(this[Yt].has(t)){if(o>this[$n])return hi(this,this[Yt].get(t)),!1;const l=this[Yt].get(t).value;return this[_r]&&(this[Wh]||this[_r](t,l.value)),l.now=i,l.maxAge=n,l.value=r,this[Or]+=o-l.length,l.length=o,this.get(t),Gi(this),!0}const s=new g2(t,r,o,i,n);return s.length>this[$n]?(this[_r]&&this[_r](t,r),!1):(this[Or]+=s.length,this[Je].unshift(s),this[Yt].set(t,this[Je].head),Gi(this),!0)}has(t){if(!this[Yt].has(t))return!1;const r=this[Yt].get(t).value;return!Ia(this,r)}get(t){return xl(this,t,!0)}peek(t){return xl(this,t,!1)}pop(){const t=this[Je].tail;return t?(hi(this,t),t.value):null}del(t){hi(this,this[Yt].get(t))}load(t){this.reset();const r=Date.now();for(let n=t.length-1;n>=0;n--){const i=t[n],o=i.e||0;if(o===0)this.set(i.k,i.v);else{const s=o-r;s>0&&this.set(i.k,i.v,s)}}}prune(){this[Yt].forEach((t,r)=>xl(this,r,!1))}}const xl=(e,t,r)=>{const n=e[Yt].get(t);if(n){const i=n.value;if(Ia(e,i)){if(hi(e,n),!e[mo])return}else r&&(e[Py]&&(n.value.now=Date.now()),e[Je].unshiftNode(n));return i.value}},Ia=(e,t)=>{if(!t||!t.maxAge&&!e[On])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[On]&&r>e[On]},Gi=e=>{if(e[Or]>e[$n])for(let t=e[Je].tail;e[Or]>e[$n]&&t!==null;){const r=t.prev;hi(e,t),t=r}},hi=(e,t)=>{if(t){const r=t.value;e[_r]&&e[_r](r.key,r.value),e[Or]-=r.length,e[Yt].delete(r.key),e[Je].removeNode(t)}};class g2{constructor(t,r,n,i,o){this.key=t,this.value=r,this.length=n,this.now=i,this.maxAge=o||0}}const qh=(e,t,r,n)=>{let i=r.value;Ia(e,i)&&(hi(e,r),e[mo]||(i=void 0)),i&&t.call(n,i.value,i.key,e)};var y2=m2,Ml,Yh;function or(){if(Yh)return Ml;Yh=1;class e{constructor(U,G){if(G=n(G),U instanceof e)return U.loose===!!G.loose&&U.includePrerelease===!!G.includePrerelease?U:new e(U.raw,G);if(U instanceof i)return this.raw=U.value,this.set=[[U]],this.format(),this;if(this.options=G,this.loose=!!G.loose,this.includePrerelease=!!G.includePrerelease,this.raw=U.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(B=>this.parseRange(B)).filter(B=>B.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const B=this.set[0];if(this.set=this.set.filter(Z=>!v(Z[0])),this.set.length===0)this.set=[B];else if(this.set.length>1){for(const Z of this.set)if(Z.length===1&&O(Z[0])){this.set=[Z];break}}}this.format()}format(){return this.range=this.set.map(U=>U.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(U){const B=((this.options.includePrerelease&&N)|(this.options.loose&&S))+":"+U,Z=r.get(B);if(Z)return Z;const z=this.options.loose,Q=z?a[l.HYPHENRANGELOOSE]:a[l.HYPHENRANGE];U=U.replace(Q,x(this.options.includePrerelease)),o("hyphen replace",U),U=U.replace(a[l.COMPARATORTRIM],f),o("comparator trim",U),U=U.replace(a[l.TILDETRIM],d),o("tilde trim",U),U=U.replace(a[l.CARETTRIM],m),o("caret trim",U);let R=U.split(" ").map(_=>u(_,this.options)).join(" ").split(/\s+/).map(_=>y(_,this.options));z&&(R=R.filter(_=>(o("loose invalid filter",_,this.options),!!_.match(a[l.COMPARATORLOOSE])))),o("range list",R);const C=new Map,V=R.map(_=>new i(_,this.options));for(const _ of V){if(v(_))return[_];C.set(_.value,_)}C.size>1&&C.has("")&&C.delete("");const M=[...C.values()];return r.set(B,M),M}intersects(U,G){if(!(U instanceof e))throw new TypeError("a Range is required");return this.set.some(B=>E(B,G)&&U.set.some(Z=>E(Z,G)&&B.every(z=>Z.every(Q=>z.intersects(Q,G)))))}test(U){if(!U)return!1;if(typeof U=="string")try{U=new s(U,this.options)}catch{return!1}for(let G=0;GY.value==="<0.0.0-0",O=Y=>Y.value==="",E=(Y,U)=>{let G=!0;const B=Y.slice();let Z=B.pop();for(;G&&B.length;)G=B.every(z=>Z.intersects(z,U)),Z=B.pop();return G},u=(Y,U)=>(o("comp",Y,U),Y=j(Y,U),o("caret",Y),Y=p(Y,U),o("tildes",Y),Y=$(Y,U),o("xrange",Y),Y=I(Y,U),o("stars",Y),Y),c=Y=>!Y||Y.toLowerCase()==="x"||Y==="*",p=(Y,U)=>Y.trim().split(/\s+/).map(G=>P(G,U)).join(" "),P=(Y,U)=>{const G=U.loose?a[l.TILDELOOSE]:a[l.TILDE];return Y.replace(G,(B,Z,z,Q,R)=>{o("tilde",Y,B,Z,z,Q,R);let C;return c(Z)?C="":c(z)?C=`>=${Z}.0.0 <${+Z+1}.0.0-0`:c(Q)?C=`>=${Z}.${z}.0 <${Z}.${+z+1}.0-0`:R?(o("replaceTilde pr",R),C=`>=${Z}.${z}.${Q}-${R} <${Z}.${+z+1}.0-0`):C=`>=${Z}.${z}.${Q} <${Z}.${+z+1}.0-0`,o("tilde return",C),C})},j=(Y,U)=>Y.trim().split(/\s+/).map(G=>g(G,U)).join(" "),g=(Y,U)=>{o("caret",Y,U);const G=U.loose?a[l.CARETLOOSE]:a[l.CARET],B=U.includePrerelease?"-0":"";return Y.replace(G,(Z,z,Q,R,C)=>{o("caret",Y,Z,z,Q,R,C);let V;return c(z)?V="":c(Q)?V=`>=${z}.0.0${B} <${+z+1}.0.0-0`:c(R)?z==="0"?V=`>=${z}.${Q}.0${B} <${z}.${+Q+1}.0-0`:V=`>=${z}.${Q}.0${B} <${+z+1}.0.0-0`:C?(o("replaceCaret pr",C),z==="0"?Q==="0"?V=`>=${z}.${Q}.${R}-${C} <${z}.${Q}.${+R+1}-0`:V=`>=${z}.${Q}.${R}-${C} <${z}.${+Q+1}.0-0`:V=`>=${z}.${Q}.${R}-${C} <${+z+1}.0.0-0`):(o("no pr"),z==="0"?Q==="0"?V=`>=${z}.${Q}.${R}${B} <${z}.${Q}.${+R+1}-0`:V=`>=${z}.${Q}.${R}${B} <${z}.${+Q+1}.0-0`:V=`>=${z}.${Q}.${R} <${+z+1}.0.0-0`),o("caret return",V),V})},$=(Y,U)=>(o("replaceXRanges",Y,U),Y.split(/\s+/).map(G=>h(G,U)).join(" ")),h=(Y,U)=>{Y=Y.trim();const G=U.loose?a[l.XRANGELOOSE]:a[l.XRANGE];return Y.replace(G,(B,Z,z,Q,R,C)=>{o("xRange",Y,B,Z,z,Q,R,C);const V=c(z),M=V||c(Q),_=M||c(R),A=_;return Z==="="&&A&&(Z=""),C=U.includePrerelease?"-0":"",V?Z===">"||Z==="<"?B="<0.0.0-0":B="*":Z&&A?(M&&(Q=0),R=0,Z===">"?(Z=">=",M?(z=+z+1,Q=0,R=0):(Q=+Q+1,R=0)):Z==="<="&&(Z="<",M?z=+z+1:Q=+Q+1),Z==="<"&&(C="-0"),B=`${Z+z}.${Q}.${R}${C}`):M?B=`>=${z}.0.0${C} <${+z+1}.0.0-0`:_&&(B=`>=${z}.${Q}.0${C} <${z}.${+Q+1}.0-0`),o("xRange return",B),B})},I=(Y,U)=>(o("replaceStars",Y,U),Y.trim().replace(a[l.STAR],"")),y=(Y,U)=>(o("replaceGTE0",Y,U),Y.trim().replace(a[U.includePrerelease?l.GTE0PRE:l.GTE0],"")),x=Y=>(U,G,B,Z,z,Q,R,C,V,M,_,A,K)=>(c(B)?G="":c(Z)?G=`>=${B}.0.0${Y?"-0":""}`:c(z)?G=`>=${B}.${Z}.0${Y?"-0":""}`:Q?G=`>=${G}`:G=`>=${G}${Y?"-0":""}`,c(V)?C="":c(M)?C=`<${+V+1}.0.0-0`:c(_)?C=`<${V}.${+M+1}.0-0`:A?C=`<=${V}.${M}.${_}-${A}`:Y?C=`<${V}.${M}.${+_+1}-0`:C=`<=${C}`,`${G} ${C}`.trim()),F=(Y,U,G)=>{for(let B=0;B0){const Z=Y[B].semver;if(Z.major===U.major&&Z.minor===U.minor&&Z.patch===U.patch)return!0}return!1}return!0};return Ml}var Fl,Qh;function Ja(){if(Qh)return Fl;Qh=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(d,m){if(m=r(m),d instanceof t){if(d.loose===!!m.loose)return d;d=d.value}d=d.trim().split(/\s+/).join(" "),s("comparator",d,m),this.options=m,this.loose=!!m.loose,this.parse(d),this.semver===e?this.value="":this.value=this.operator+this.semver.version,s("comp",this)}parse(d){const m=this.options.loose?n[i.COMPARATORLOOSE]:n[i.COMPARATOR],N=d.match(m);if(!N)throw new TypeError(`Invalid comparator: ${d}`);this.operator=N[1]!==void 0?N[1]:"",this.operator==="="&&(this.operator=""),N[2]?this.semver=new a(N[2],this.options.loose):this.semver=e}toString(){return this.value}test(d){if(s("Comparator.test",d,this.options.loose),this.semver===e||d===e)return!0;if(typeof d=="string")try{d=new a(d,this.options)}catch{return!1}return o(d,this.operator,this.semver,this.options)}intersects(d,m){if(!(d instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new l(d.value,m).test(this.value):d.operator===""?d.value===""?!0:new l(this.value,m).test(d.semver):(m=r(m),m.includePrerelease&&(this.value==="<0.0.0-0"||d.value==="<0.0.0-0")||!m.includePrerelease&&(this.value.startsWith("<0.0.0")||d.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&d.operator.startsWith(">")||this.operator.startsWith("<")&&d.operator.startsWith("<")||this.semver.version===d.semver.version&&this.operator.includes("=")&&d.operator.includes("=")||o(this.semver,"<",d.semver,m)&&this.operator.startsWith(">")&&d.operator.startsWith("<")||o(this.semver,">",d.semver,m)&&this.operator.startsWith("<")&&d.operator.startsWith(">")))}}Fl=t;const r=Uf,{safeRe:n,t:i}=Qo,o=Ny,s=Qa,a=yt,l=or();return Fl}const v2=or(),w2=(e,t,r)=>{try{t=new v2(t,r)}catch{return!1}return t.test(e)};var Za=w2;const $2=or(),E2=(e,t)=>new $2(e,t).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" "));var _2=E2;const S2=yt,O2=or(),N2=(e,t,r)=>{let n=null,i=null,o=null;try{o=new O2(t,r)}catch{return null}return e.forEach(s=>{o.test(s)&&(!n||i.compare(s)===-1)&&(n=s,i=new S2(n,r))}),n};var P2=N2;const I2=yt,C2=or(),k2=(e,t,r)=>{let n=null,i=null,o=null;try{o=new C2(t,r)}catch{return null}return e.forEach(s=>{o.test(s)&&(!n||i.compare(s)===1)&&(n=s,i=new I2(n,r))}),n};var T2=k2;const Vl=yt,A2=or(),Xh=Xa,R2=(e,t)=>{e=new A2(e,t);let r=new Vl("0.0.0");if(e.test(r)||(r=new Vl("0.0.0-0"),e.test(r)))return r;r=null;for(let n=0;n{const a=new Vl(s.semver.version);switch(s.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!o||Xh(a,o))&&(o=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${s.operator}`)}}),o&&(!r||Xh(r,o))&&(r=o)}return r&&e.test(r)?r:null};var j2=R2;const b2=or(),D2=(e,t)=>{try{return new b2(e,t).range||"*"}catch{return null}};var L2=D2;const x2=yt,Iy=Ja(),{ANY:M2}=Iy,F2=or(),V2=Za,Jh=Xa,Zh=Bf,U2=Kf,z2=Hf,B2=(e,t,r,n)=>{e=new x2(e,n),t=new F2(t,n);let i,o,s,a,l;switch(r){case">":i=Jh,o=U2,s=Zh,a=">",l=">=";break;case"<":i=Zh,o=z2,s=Jh,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(V2(e,t,n))return!1;for(let f=0;f{S.semver===M2&&(S=new Iy(">=0.0.0")),m=m||S,N=N||S,i(S.semver,m.semver,n)?m=S:s(S.semver,N.semver,n)&&(N=S)}),m.operator===a||m.operator===l||(!N.operator||N.operator===a)&&o(e,N.semver))return!1;if(N.operator===l&&s(e,N.semver))return!1}return!0};var Gf=B2;const H2=Gf,K2=(e,t,r)=>H2(e,t,">",r);var G2=K2;const W2=Gf,q2=(e,t,r)=>W2(e,t,"<",r);var Y2=q2;const ep=or(),Q2=(e,t,r)=>(e=new ep(e,r),t=new ep(t,r),e.intersects(t,r));var X2=Q2;const J2=Za,Z2=ir;var eO=(e,t,r)=>{const n=[];let i=null,o=null;const s=e.sort((d,m)=>Z2(d,m,r));for(const d of s)J2(d,t,r)?(o=d,i||(i=d)):(o&&n.push([i,o]),o=null,i=null);i&&n.push([i,null]);const a=[];for(const[d,m]of n)d===m?a.push(d):!m&&d===s[0]?a.push("*"):m?d===s[0]?a.push(`<=${m}`):a.push(`${d} - ${m}`):a.push(`>=${d}`);const l=a.join(" || "),f=typeof t.raw=="string"?t.raw:String(t);return l.length{if(e===t)return!0;e=new tp(e,r),t=new tp(t,r);let n=!1;e:for(const i of e.set){for(const o of t.set){const s=nO(i,o,r);if(n=n||s!==null,s)continue e}if(n)return!1}return!0},rO=[new Wf(">=0.0.0-0")],rp=[new Wf(">=0.0.0")],nO=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Ul){if(t.length===1&&t[0].semver===Ul)return!0;r.includePrerelease?e=rO:e=rp}if(t.length===1&&t[0].semver===Ul){if(r.includePrerelease)return!0;t=rp}const n=new Set;let i,o;for(const S of e)S.operator===">"||S.operator===">="?i=np(i,S,r):S.operator==="<"||S.operator==="<="?o=ip(o,S,r):n.add(S.semver);if(n.size>1)return null;let s;if(i&&o){if(s=qf(i.semver,o.semver,r),s>0)return null;if(s===0&&(i.operator!==">="||o.operator!=="<="))return null}for(const S of n){if(i&&!Wi(S,String(i),r)||o&&!Wi(S,String(o),r))return null;for(const v of t)if(!Wi(S,String(v),r))return!1;return!0}let a,l,f,d,m=o&&!r.includePrerelease&&o.semver.prerelease.length?o.semver:!1,N=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;m&&m.prerelease.length===1&&o.operator==="<"&&m.prerelease[0]===0&&(m=!1);for(const S of t){if(d=d||S.operator===">"||S.operator===">=",f=f||S.operator==="<"||S.operator==="<=",i){if(N&&S.semver.prerelease&&S.semver.prerelease.length&&S.semver.major===N.major&&S.semver.minor===N.minor&&S.semver.patch===N.patch&&(N=!1),S.operator===">"||S.operator===">="){if(a=np(i,S,r),a===S&&a!==i)return!1}else if(i.operator===">="&&!Wi(i.semver,String(S),r))return!1}if(o){if(m&&S.semver.prerelease&&S.semver.prerelease.length&&S.semver.major===m.major&&S.semver.minor===m.minor&&S.semver.patch===m.patch&&(m=!1),S.operator==="<"||S.operator==="<="){if(l=ip(o,S,r),l===S&&l!==o)return!1}else if(o.operator==="<="&&!Wi(o.semver,String(S),r))return!1}if(!S.operator&&(o||i)&&s!==0)return!1}return!(i&&f&&!o&&s!==0||o&&d&&!i&&s!==0||N||m)},np=(e,t,r)=>{if(!e)return t;const n=qf(e.semver,t.semver,r);return n>0?e:n<0||t.operator===">"&&e.operator===">="?t:e},ip=(e,t,r)=>{if(!e)return t;const n=qf(e.semver,t.semver,r);return n<0?e:n>0||t.operator==="<"&&e.operator==="<="?t:e};var iO=tO;const zl=Qo,op=Ya,oO=yt,sp=_y,sO=ki,aO=sS,lO=uS,uO=fS,cO=hS,fO=gS,dO=wS,hO=_S,pO=NS,mO=ir,gO=kS,yO=RS,vO=zf,wO=LS,$O=FS,EO=Xa,_O=Bf,SO=Sy,OO=Oy,NO=Hf,PO=Kf,IO=Ny,CO=l2,kO=Ja(),TO=or(),AO=Za,RO=_2,jO=P2,bO=T2,DO=j2,LO=L2,xO=Gf,MO=G2,FO=Y2,VO=X2,UO=eO,zO=iO;var Bl={parse:sO,valid:aO,clean:lO,inc:uO,diff:cO,major:fO,minor:dO,patch:hO,prerelease:pO,compare:mO,rcompare:gO,compareLoose:yO,compareBuild:vO,sort:wO,rsort:$O,gt:EO,lt:_O,eq:SO,neq:OO,gte:NO,lte:PO,cmp:IO,coerce:CO,Comparator:kO,Range:TO,satisfies:AO,toComparators:RO,maxSatisfying:jO,minSatisfying:bO,minVersion:DO,validRange:LO,outside:xO,gtr:MO,ltr:FO,intersects:VO,simplifyRange:UO,subset:zO,SemVer:oO,re:zl.re,src:zl.src,tokens:zl.t,SEMVER_SPEC_VERSION:op.SEMVER_SPEC_VERSION,RELEASE_TYPES:op.RELEASE_TYPES,compareIdentifiers:sp.compareIdentifiers,rcompareIdentifiers:sp.rcompareIdentifiers},Cy={exports:{}};/** +`)},_domwindow:function(){return P("domwindow")},_bigint:function(y){return P("bigint:"+y.toString())},_process:function(){return P("process")},_timer:function(){return P("timer")},_pipe:function(){return P("pipe")},_tcp:function(){return P("tcp")},_udp:function(){return P("udp")},_tty:function(){return P("tty")},_statwatcher:function(){return P("statwatcher")},_securecontext:function(){return P("securecontext")},_connection:function(){return P("connection")},_zlib:function(){return P("zlib")},_context:function(){return P("context")},_nodescript:function(){return P("nodescript")},_httpparser:function(){return P("httpparser")},_dataview:function(){return P("dataview")},_signal:function(){return P("signal")},_fsevent:function(){return P("fsevent")},_tlswrap:function(){return P("tlswrap")}}}function j(){return{buf:"",write:function(g){this.buf+=g},end:function(g){this.buf+=g},read:function(){return this.buf}}}i.writeToStream=function(g,$,h){return h===void 0&&(h=$,$={}),I($=c(g,$),h).dispatch(g)}}).call(this,r("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},r("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/")},{buffer:3,crypto:5,lYpoI2:11}],2:[function(r,n,i){(function(o,s,a,l,f,d,m,N,S){(function(v){var O=typeof Uint8Array<"u"?Uint8Array:Array,E=43,u=47,c=48,p=97,I=65,j=45,g=95;function $(h){return h=h.charCodeAt(0),h===E||h===j?62:h===u||h===g?63:h>16),G((65280&y)>>8),G(255&y);return x==2?G(255&(y=$(h.charAt(P))<<2|$(h.charAt(P+1))>>4)):x==1&&(G((y=$(h.charAt(P))<<10|$(h.charAt(P+1))<<4|$(h.charAt(P+2))>>2)>>8&255),G(255&y)),F},v.fromByteArray=function(h){var P,y,x,F,Y=h.length%3,U="";function G(B){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(B)}for(P=0,x=h.length-Y;P>18&63)+G(F>>12&63)+G(F>>6&63)+G(63&F);switch(Y){case 1:U=(U+=G((y=h[h.length-1])>>2))+G(y<<4&63)+"==";break;case 2:U=(U=(U+=G((y=(h[h.length-2]<<8)+h[h.length-1])>>10))+G(y>>4&63))+G(y<<2&63)+"="}return U}})(i===void 0?this.base64js={}:i)}).call(this,r("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},r("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(r,n,i){(function(o,s,E,l,f,d,m,N,S){var v=r("base64-js"),O=r("ieee754");function E(w,k,L){if(!(this instanceof E))return new E(w,k,L);var X,J,re,he,ye=typeof w;if(k==="base64"&&ye=="string")for(w=(he=w).trim?he.trim():he.replace(/^\s+|\s+$/g,"");w.length%4!=0;)w+="=";if(ye=="number")X=z(w);else if(ye=="string")X=E.byteLength(w,k);else{if(ye!="object")throw new Error("First argument needs to be a number, array or string.");X=z(w.length)}if(E._useTypedArrays?J=E._augment(new Uint8Array(X)):((J=this).length=X,J._isBuffer=!0),E._useTypedArrays&&typeof w.byteLength=="number")J._set(w);else if(Q(he=w)||E.isBuffer(he)||he&&typeof he=="object"&&typeof he.length=="number")for(re=0;re>8,he=he%256,ye.push(he),ye.push(re);return ye}(k),w,L,X)}function p(w,k,L){var X="";L=Math.min(w.length,L);for(var J=k;J>>0)):(k+1>>0),J}function g(w,k,L,X){if(X||(q(typeof L=="boolean","missing or invalid endian"),q(k!=null,"missing offset"),q(k+1>>8*(X?re:1-re)}function x(w,k,L,X,J){if(J||(q(k!=null,"missing value"),q(typeof X=="boolean","missing or invalid endian"),q(L!=null,"missing offset"),q(L+3>>8*(X?re:3-re)&255}function F(w,k,L,X,J){J||(q(k!=null,"missing value"),q(typeof X=="boolean","missing or invalid endian"),q(L!=null,"missing offset"),q(L+1this.length&&(X=this.length);var J=(X=w.length-k=this.length))return this[w]},E.prototype.readUInt16LE=function(w,k){return I(this,w,!0,k)},E.prototype.readUInt16BE=function(w,k){return I(this,w,!1,k)},E.prototype.readUInt32LE=function(w,k){return j(this,w,!0,k)},E.prototype.readUInt32BE=function(w,k){return j(this,w,!1,k)},E.prototype.readInt8=function(w,k){if(k||(q(w!=null,"missing offset"),q(w=this.length))return 128&this[w]?-1*(255-this[w]+1):this[w]},E.prototype.readInt16LE=function(w,k){return g(this,w,!0,k)},E.prototype.readInt16BE=function(w,k){return g(this,w,!1,k)},E.prototype.readInt32LE=function(w,k){return $(this,w,!0,k)},E.prototype.readInt32BE=function(w,k){return $(this,w,!1,k)},E.prototype.readFloatLE=function(w,k){return h(this,w,!0,k)},E.prototype.readFloatBE=function(w,k){return h(this,w,!1,k)},E.prototype.readDoubleLE=function(w,k){return P(this,w,!0,k)},E.prototype.readDoubleBE=function(w,k){return P(this,w,!1,k)},E.prototype.writeUInt8=function(w,k,L){L||(q(w!=null,"missing value"),q(k!=null,"missing offset"),q(k=this.length||(this[k]=w)},E.prototype.writeUInt16LE=function(w,k,L){y(this,w,k,!0,L)},E.prototype.writeUInt16BE=function(w,k,L){y(this,w,k,!1,L)},E.prototype.writeUInt32LE=function(w,k,L){x(this,w,k,!0,L)},E.prototype.writeUInt32BE=function(w,k,L){x(this,w,k,!1,L)},E.prototype.writeInt8=function(w,k,L){L||(q(w!=null,"missing value"),q(k!=null,"missing offset"),q(k=this.length||(0<=w?this.writeUInt8(w,k,L):this.writeUInt8(255+w+1,k,L))},E.prototype.writeInt16LE=function(w,k,L){F(this,w,k,!0,L)},E.prototype.writeInt16BE=function(w,k,L){F(this,w,k,!1,L)},E.prototype.writeInt32LE=function(w,k,L){Y(this,w,k,!0,L)},E.prototype.writeInt32BE=function(w,k,L){Y(this,w,k,!1,L)},E.prototype.writeFloatLE=function(w,k,L){U(this,w,k,!0,L)},E.prototype.writeFloatBE=function(w,k,L){U(this,w,k,!1,L)},E.prototype.writeDoubleLE=function(w,k,L){G(this,w,k,!0,L)},E.prototype.writeDoubleBE=function(w,k,L){G(this,w,k,!1,L)},E.prototype.fill=function(w,k,L){if(k=k||0,L=L||this.length,q(typeof(w=typeof(w=w||0)=="string"?w.charCodeAt(0):w)=="number"&&!isNaN(w),"value is not a number"),q(k<=L,"end < start"),L!==k&&this.length!==0){q(0<=k&&k"},E.prototype.toArrayBuffer=function(){if(typeof Uint8Array>"u")throw new Error("Buffer.toArrayBuffer not supported in this browser");if(E._useTypedArrays)return new E(this).buffer;for(var w=new Uint8Array(this.length),k=0,L=w.length;k=k.length||J>=w.length);J++)k[J+L]=w[J];return J}function _(w){try{return decodeURIComponent(w)}catch{return"�"}}function A(w,k){q(typeof w=="number","cannot write a non-number as a number"),q(0<=w,"specified a negative value for writing an unsigned value"),q(w<=k,"value is larger than maximum value for type"),q(Math.floor(w)===w,"value has a fractional component")}function K(w,k,L){q(typeof w=="number","cannot write a non-number as a number"),q(w<=k,"value larger than maximum allowed value"),q(L<=w,"value smaller than minimum allowed value"),q(Math.floor(w)===w,"value has a fractional component")}function te(w,k,L){q(typeof w=="number","cannot write a non-number as a number"),q(w<=k,"value larger than maximum allowed value"),q(L<=w,"value smaller than minimum allowed value")}function q(w,k){if(!w)throw new Error(k||"Failed assertion")}E._augment=function(w){return w._isBuffer=!0,w._get=w.get,w._set=w.set,w.get=B.get,w.set=B.set,w.write=B.write,w.toString=B.toString,w.toLocaleString=B.toString,w.toJSON=B.toJSON,w.copy=B.copy,w.slice=B.slice,w.readUInt8=B.readUInt8,w.readUInt16LE=B.readUInt16LE,w.readUInt16BE=B.readUInt16BE,w.readUInt32LE=B.readUInt32LE,w.readUInt32BE=B.readUInt32BE,w.readInt8=B.readInt8,w.readInt16LE=B.readInt16LE,w.readInt16BE=B.readInt16BE,w.readInt32LE=B.readInt32LE,w.readInt32BE=B.readInt32BE,w.readFloatLE=B.readFloatLE,w.readFloatBE=B.readFloatBE,w.readDoubleLE=B.readDoubleLE,w.readDoubleBE=B.readDoubleBE,w.writeUInt8=B.writeUInt8,w.writeUInt16LE=B.writeUInt16LE,w.writeUInt16BE=B.writeUInt16BE,w.writeUInt32LE=B.writeUInt32LE,w.writeUInt32BE=B.writeUInt32BE,w.writeInt8=B.writeInt8,w.writeInt16LE=B.writeInt16LE,w.writeInt16BE=B.writeInt16BE,w.writeInt32LE=B.writeInt32LE,w.writeInt32BE=B.writeInt32BE,w.writeFloatLE=B.writeFloatLE,w.writeFloatBE=B.writeFloatBE,w.writeDoubleLE=B.writeDoubleLE,w.writeDoubleBE=B.writeDoubleBE,w.fill=B.fill,w.inspect=B.inspect,w.toArrayBuffer=B.toArrayBuffer,w}}).call(this,r("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},r("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(r,n,i){(function(o,s,v,l,f,d,m,N,S){var v=r("buffer").Buffer,O=4,E=new v(O);E.fill(0),n.exports={hash:function(u,c,p,I){for(var j=c(function(y,x){y.length%O!=0&&(F=y.length+(O-y.length%O),y=v.concat([y,E],F));for(var F,Y=[],U=x?y.readInt32BE:y.readInt32LE,G=0;Gp?Z=B(Z):Z.length>5]|=128<<$%32,g[14+($+64>>>9<<4)]=$;for(var h=1732584193,P=-271733879,y=-1732584194,x=271733878,F=0;F>>32-y,h)}function u(g,$,h,P,y,x,F){return E($&h|~$&P,g,$,y,x,F)}function c(g,$,h,P,y,x,F){return E($&P|h&~P,g,$,y,x,F)}function p(g,$,h,P,y,x,F){return E($^h^P,g,$,y,x,F)}function I(g,$,h,P,y,x,F){return E(h^($|~P),g,$,y,x,F)}function j(g,$){var h=(65535&g)+(65535&$);return(g>>16)+($>>16)+(h>>16)<<16|65535&h}n.exports=function(g){return v.hash(g,O,16)}}).call(this,r("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},r("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(r,n,i){(function(o,s,a,l,f,d,m,N,S){n.exports=function(v){for(var O,E=new Array(v),u=0;u>>((3&u)<<3)&255;return E}}).call(this,r("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},r("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(r,n,i){(function(o,s,a,l,f,d,m,N,S){var v=r("./helpers");function O(c,p){c[p>>5]|=128<<24-p%32,c[15+(p+64>>9<<4)]=p;for(var I,j,g,$=Array(80),h=1732584193,P=-271733879,y=-1732584194,x=271733878,F=-1009589776,Y=0;Y>16)+(p>>16)+(I>>16)<<16|65535&I}function u(c,p){return c<>>32-p}n.exports=function(c){return v.hash(c,O,20,!0)}}).call(this,r("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},r("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(r,n,i){(function(o,s,a,l,f,d,m,N,S){function v(p,I){var j=(65535&p)+(65535&I);return(p>>16)+(I>>16)+(j>>16)<<16|65535&j}function O(p,I){var j,g=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),$=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),h=new Array(64);p[I>>5]|=128<<24-I%32,p[15+(I+64>>9<<4)]=I;for(var P,y,x=0;x>>I|p<<32-I},c=function(p,I){return p>>>I};n.exports=function(p){return E.hash(p,O,32,!0)}}).call(this,r("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},r("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(r,n,i){(function(o,s,a,l,f,d,m,N,S){i.read=function(v,O,E,u,x){var p,I,j=8*x-u-1,g=(1<>1,h=-7,P=E?x-1:0,y=E?-1:1,x=v[O+P];for(P+=y,p=x&(1<<-h)-1,x>>=-h,h+=j;0>=-h,h+=u;0>1,P=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=u?0:F-1,x=u?1:-1,F=O<0||O===0&&1/O<0?1:0;for(O=Math.abs(O),isNaN(O)||O===1/0?(j=isNaN(O)?1:0,I=$):(I=Math.floor(Math.log(O)/Math.LN2),O*(u=Math.pow(2,-I))<1&&(I--,u*=2),2<=(O+=1<=I+h?P/u:P*Math.pow(2,1-h))*u&&(I++,u/=2),$<=I+h?(j=0,I=$):1<=I+h?(j=(O*u-1)*Math.pow(2,c),I+=h):(j=O*Math.pow(2,h-1)*Math.pow(2,c),I=0));8<=c;v[E+y]=255&j,y+=x,j/=256,c-=8);for(I=I<e,E_=e=>e,__=e=>!1,Lh={mutateKey:$_,mutateValue:E_,skipCopy:__};function Qu(e,t={},r=Lh){const{mutateKey:n,mutateValue:i,skipCopy:o}={...Lh,...r};return typeof e=="object"&&!Array.isArray(e)&&e?o(e)?i(e):(Object.keys(e).forEach(s=>{t[n(s)]=i(Qu(e[s],{},r))}),t):Array.isArray(e)?[...e].map((s,a)=>i(Qu(s,{},r))):i(e)}function Xu(e,t=[]){return e instanceof ct?(t.push(e),t):(Array.isArray(e)?e.forEach(r=>Xu(r,t)):typeof e=="object"&&Object.keys(e||{}).forEach(r=>{Xu(e[r],t)}),t)}class Si{constructor(t){this.data=t}yields(){return Xu(this.data.result,[])}logic(){return Qu(this.data.result,{},{mutateValue:t=>t instanceof ct?t.logic():t,skipCopy:t=>t instanceof ct})}}function _t(e){return Array.isArray(e)?e.some(t=>t instanceof ct||t instanceof Si):e instanceof ct||e instanceof Si}async function S_(e,t){const r=[];for(const n of e)await t(n)&&r.push(n);return r}async function O_(e,t){for(const r of e)if(await t(r))return!0;return!1}async function N_(e,t){for(const r of e)if(!await t(r))return!1;return!0}async function I_(e,t){const r=[];for(const n of e)r.push(await t(n));return r}async function P_(e,t,r){if(e.length===0){if(typeof r<"u")return r;throw new Error("Array has no elements.")}const n=typeof r>"u"?1:0;let i=n?e[0]:r;for(let o=n;o!!(typeof e!="function"||e[Ff]);function Do(e,t=!0){return e[Ff]=t,e}function C_(e,t){return typeof e=="number"&&(e===1/0||e===-1/0||Number.isNaN(e))?!1:e==null||["Number","String","Boolean"].includes(e.constructor.name)||!t&&e.constructor.name==="Object"}function Zu(e,t,r){if(Array.isArray(e))return e.every(n=>Zu(n,t,r));if(e&&typeof e=="object"){const n=Object.keys(e)[0],i=e[n];if(t.isData(e,n))return!0;if(!t.methods[n])throw new Error(`Method '${n}' was not found in the Logic Engine.`);return t.methods[n].traverse===!1?typeof t.methods[n].deterministic=="function"?t.methods[n].deterministic(i,r):t.methods[n].deterministic:typeof t.methods[n].deterministic=="function"?t.methods[n].deterministic(i,r):t.methods[n].deterministic&&Zu(i,t,r)}return!0}function ec(e,t){if(!t.async)return!0;if(Array.isArray(e))return e.every(r=>ec(r,t));if(typeof e=="object"){const r=Object.keys(e)[0],n=e[r];return sn(t.methods[r])?ec(n,t):!1}return!0}function k_(e,t,r,n){if(n[r])return n[r];const i=n[r+"_input"]?e(n[r+"_input"]):e(typeof t=="function"?t():t);if(i instanceof ct)throw i._input&&(n[r+"_input"]=i._input),i.resumable=n,i;return n[r]=i,i}async function T_(e,t,r,n){if(n[r])return n[r];const i=n[r+"_input"]?await e(n[r+"_input"]):await e(typeof t=="function"?await t():t);if(i instanceof ct)throw i._input&&(n[r+"_input"]=i._input),i.resumable=n,i;return n[r]=i,i}function A_(e,t={}){const{notTraversed:r=[],functions:n={},async:i,engine:o}=t,s=Object.keys(e)[0];t.yieldUsed=(t.yieldUsed||0)+1;let a=!1;if(t.useContext=t.useContext||(o.methods[s]||{}).useContext,typeof o.methods[s]=="function"){n[s]=1,a=!sn(o.methods[s]);const l={...t,avoidInlineAsync:!0},f=ne(e[s],l);return t.useContext=t.useContext||l.useContext,a||f.includes("await")?(t.asyncDetected=t.asyncDetected||a,`await rAsync(gen["${s}"], async () => { return ${f} }, 'yield${t.yieldUsed}', resumable)`):`r(gen["${s}"], () => { return ${f} }, 'yield${t.yieldUsed}', resumable)`}else if(o.methods[s]&&o.methods[s].traverse){n[s]=1,a=!!(i&&o.methods[s]&&o.methods[s].asyncMethod);const l={...t,avoidInlineAsync:!0},f=ne(e[s],l);return t.useContext=t.useContext||l.useContext,a||f.startsWith("await")?(t.asyncDetected=t.asyncDetected||a,`await rAsync(gen["${s}"], async () => ${f}, 'yield${t.yieldUsed}', resumable)`):`r(gen["${s}"], () => ${f}, 'yield${t.yieldUsed}', resumable)`}else return a=!!(i&&o.methods[s]&&o.methods[s].asyncMethod),n[s]=1,r.push(e[s]),t.useContext=!0,a?(t.asyncDetected=t.asyncDetected||a,`await rAsync(gen["${s}"], notTraversed[${r.length-1}], 'yield${t.yieldUsed}', resumable)`):`r(gen["${s}"], notTraversed[${r.length-1}], 'yield${t.yieldUsed}', resumable)`}function ne(e,t={}){const{notTraversed:r=[],functions:n={},methods:i=[],state:o,async:s,above:a=[],processing:l=[],values:f=[],engine:d}=t;function m(O,E=!1){return C_(O,E)?JSON.stringify(O):(f.push(O),`values[${f.length-1}]`)}if(Array.isArray(e))return"["+e.map(O=>ne(O,t)).join(", ")+"]";let N=!1;function S(O){return t.asyncDetected=t.asyncDetected||N,s&&N?`await ${O}`:O}const v=e&&Object.keys(e)[0];if(t.useContext=t.useContext||(d.methods[v]||{}).useContext,e&&typeof e=="object"){if(!v)return m(e);if(!d.methods[v]){if(d.isData(e,v))return m(e,!0);throw new Error(`Method '${v}' was not found in the Logic Engine.`)}if(n[v]=n[v]||2,!t.engine.disableInline&&d.methods[v]&&Zu(e,d,t)){if(ec(e,d))return m((d.fallback||d).run(e),!0);if(!t.avoidInlineAsync)return l.push(d.run(e).then(O=>m(O))),`__%%%${l.length-1}%%%__`}if(d.options.yieldSupported&&d.methods[v]&&d.methods[v].yields)return A_(e,t);if(d.methods[v]&&d.methods[v].compile){const O=d.methods[v].compile(e[v],t);if((O||"").startsWith("await")&&(t.asyncDetected=!0),O!==!1)return O}if(typeof d.methods[v]=="function")return n[v]=1,N=!sn(d.methods[v]),S(`gen["${v}"](`+ne(e[v],t)+")");if(d.methods[v]&&(typeof d.methods[v].traverse>"u"||d.methods[v].traverse))return n[v]=1,N=!!(s&&d.methods[v]&&d.methods[v].asyncMethod),S(`gen["${v}"](`+ne(e[v],t)+")");if(d.methods[v]){if(s){if(d.methods[v].asyncBuild||d.methods[v].build){const E=(d.methods[v].asyncBuild||d.methods[v].build)(e[v],o,a,d,t);return i.push(E),N=!sn(E),S(`methods[${i.length-1}]()`)}}else if(d.methods[v].build)return i.push(d.methods[v].build(e[v],o,a,d,t)),S(`methods[${i.length-1}]()`)}return N=!!(s&&d.methods[v]&&d.methods[v].asyncMethod),n[v]=1,r.push(e[v]),S(`gen["${v}"](notTraversed[${r.length-1}])`)}return m(e)}function Lo(e,t={}){Object.assign(t,Object.assign({notTraversed:[],functions:{},methods:[],state:{},processing:[],async:t.engine.async,above:[],asyncDetected:!1,values:[]},t));const r=ne(e,t);return R_(e,r,t)}function R_(e,t,r){const n={},{functions:i,state:o,async:s,engine:a,above:l,methods:f,notTraversed:d,processing:m,values:N}=r;if(m.forEach((O,E)=>{t=t.replace(`__%%%${E}%%%__`,O)}),Object.keys(i).forEach(O=>{if(i[O]!==2){if(!a.methods[O])throw new Error(`Method '${O}' was not found in the Logic Engine.`);if(typeof a.methods[O]=="function"){const E=a.methods[O];n[O]=u=>E(u,o,l,a)}else if(s&&a.methods[O].asyncMethod){r.asyncDetected=!0;const E=a.methods[O].asyncMethod;n[O]=u=>E(u,o,l,a)}else{const E=a.methods[O].method;n[O]=u=>E(u,o,l,a)}}}),!Object.keys(i).length)return e;let S="state[Override] = context;";if(!r.useContext)for(S="";t.includes("state[Override]");)t=t.replace("state[Override]","context");const v=`(state, values, methods, gen, notTraversed, Override, asyncIterators, r, rAsync) => ${r.asyncDetected?"async":""} (context ${r.yieldUsed?", resumable = {}":""}) => { ${S} const result = ${t}; return result }`;return Do(globalThis.eval(v)(o,N,f,n,d,Ju,Oa,k_,T_),!r.asyncDetected)}const j_=()=>{try{const e={};return globalThis.eval("(test) => test?.foo?.bar")(e)===void 0}catch{return!1}},yy=j_();class xt extends Error{constructor(t){super(),this.message="Built-in control structures are not allowed to receive dynamic inputs, this could allow a lesser version of remote-code execution.",this.input=t}}class Vf{constructor(t,r,n){this.arr=t,this.cur=r,this.nextCall=n,this.position=0,this._position=0,this.map=null}next(){const t=this.arr[this.position];this._position=this.position;const r=this.nextCall(this.cur,t,this.arr,this);return r instanceof ct||r instanceof Si?r:(this.position=this._position,this.cur=r,this.position++,this.cur)}skip(){this._position++}dump(){this._position=this.arr.length}result(){return this.cur}state(){return{arr:this.arr.splice(this.position),cur:this.cur}}done(){return this.position>=this.arr.length}}class vy extends Vf{async next(){const t=this.arr[this.position];this._position=this.position;const r=await this.nextCall(this.cur,t,this.arr,this);return r instanceof ct||r instanceof Si?r:(this.position=this._position,this.cur=r,this.position++,this.cur)}}function Na(e,t,r){if(Array.isArray(e))return e.every(n=>Na(n,t,r));if(e&&typeof e=="object"){const n=Object.keys(e)[0],i=e[n];return t.methods[n].traverse===!1?typeof t.methods[n].deterministic=="function"?t.methods[n].deterministic(i,r):t.methods[n].deterministic:typeof t.methods[n].deterministic=="function"?t.methods[n].deterministic(i,r):t.methods[n].deterministic&&Na(i,t,r)}return!0}function b_(e,t,r){return{yields:!0,method:(n,i,o,s)=>{let a=n,l=null;Array.isArray(n)||(a=n.arr,l=n.cur),l=s.run(l,i,{above:o});const f=t(n,i,o,s),d=new Vf(a,l,f);for(;!d.done();){const m=d.next();if(_t(m))return new ct({yield:m,_name:e,_input:d.state()})}return d.result()},asyncMethod:async(n,i,o,s)=>{let a=n,l=null;Array.isArray(n)||(a=n.arr,l=n.cur),l=await s.run(l,i,{above:o});const f=r(n,i,o,s),d=new vy(a,l,f);for(;!d.done();){const m=await d.next();if(_t(m))return new ct({yield:m,_name:e,_input:d.state()})}return d.result()},traverse:!1}}const D_=b_("ifYield",(e,t,r,n)=>(i,o,s,a)=>{if(s.length%2===0&&s.push(null),!(a._position&1)&&a._position!==s.length-1){const l=n.run(o,t,{above:r});return l||a.skip(),l}else a._position&1&&a.dump();return n.run(o,t,{above:r})},(e,t,r,n)=>async(i,o,s,a)=>{if(s.length%2===0&&s.push(null),!(a._position&1)&&a._position!==s.length-1){const l=await n.run(o,t,{above:r});return l||a.skip(),l}else a._position&1&&a.dump();return n.run(o,t,{above:r})}),L_=Yo("someYield",(e,t,r,n)=>(i,o,s,a)=>{const l=n.run(a.map,o,{above:[e,t,...r]});return l?(a.dump(),l):!1},(e,t,r,n)=>async(i,o,s,a)=>{const l=await n.run(a.map,o,{above:[e,t,...r]});return l?(a.dump(),l):!1},!1),x_=Yo("everyYield",(e,t,r,n)=>(i,o,s,a)=>{const l=n.run(a.map,o,{above:[e,t,...r]});return l||(a.dump(),!1)},(e,t,r,n)=>async(i,o,s,a)=>{const l=await n.run(a.map,o,{above:[e,t,...r]});return l||(a.dump(),!1)},!0),M_=Yo("filterYield",(e,t,r,n)=>(i,o,s,a)=>{const l=n.run(a.map,o,{above:[e,t,...r]});return _t(l)?l:(l&&i.push(o),i)},(e,t,r,n)=>async(i,o,s,a)=>{const l=await n.run(a.map,o,{above:[e,t,...r]});return _t(l)?l:(l&&i.push(o),i)},()=>[]),F_=Yo("mapYield",(e,t,r,n)=>(i,o,s,a)=>{const l=n.run(a.map,o,{above:[e,t,...r]});return _t(l)?l:(i.push(l),i)},(e,t,r,n)=>async(i,o,s,a)=>{const l=await n.run(a.map,o,{above:[e,t,...r]});return _t(l)?l:(i.push(l),i)},()=>[]),V_=Yo("reduceYield",(e,t,r,n)=>(i,o,s,a)=>n.run(a.map,{accumulator:i,current:o},{above:[e,t,...r]}),(e,t,r,n)=>async(i,o,s,a)=>n.run(a.map,{accumulator:i,current:o},{above:[e,t,...r]}));function Yo(e,t,r,n){const i={yields:!0,deterministic:(o,s)=>Na(o[0],s.engine,s)&&Na(o[1],s.engine,{...s,insideIterator:!0}),build:(o,s,a,l,f)=>(f.useContext=!0,Do(()=>i.method(o,s,a,l))),asyncBuild:(o,s,a,l,f)=>{f.useContext=!0;const[d,m]=o,N=Lo(d,{engine:l,async:!0,avoidInlineAsync:!0}),S=Lo(m,{engine:l,state:{},async:!0,avoidInlineAsync:!0});return sn(N)&&sn(S)?Do(()=>i.method(o,s,a,l.fallback)):()=>i.asyncMethod(o,s,a,l)},method:(o,s,a,l)=>{let f=n;typeof n=="function"&&(f=n());let d,m,N=null;if(Array.isArray(o)){const[O,E,u]=o,c=l.run(O,s,{above:a})||[];if(_t(c))return new ct({_input:[O,E,u],_name:e,yields:c.yields()});d=c,N=E,m=u===0?0:u||f}else d=o.arr,m=o.cur,N=o.map;m=l.run(m,s,{above:a});const S=t(o,s,a,l),v=new Vf(d,m,S);for(v.map=N;!v.done();){const O=v.next();if(_t(O))return new ct({yields:O.yields(),_name:e,_input:{...v.state(),map:N}})}return v.result()},asyncMethod:async(o,s,a,l)=>{let f=n;typeof n=="function"&&(f=n());let d,m,N=null;if(Array.isArray(o)){const[O,E,u]=o,c=await l.run(O,s,{above:a})||[];if(_t(c))return new ct({_name:e,_input:[O,E,u],yields:c.yields()});d=c,N=E,m=u===0?0:u||f}else d=o.arr,m=o.cur,N=o.map;m=await l.run(m,s,{above:a});const S=r(o,s,a,l),v=new vy(d,m,S);for(v.map=N;!v.done();){const O=await v.next();if(_t(O))return new ct({yields:O.yields(),_name:e,_input:{...v.state(),map:N}})}return v.result()},traverse:!1};return i}const U_={someYield:L_,everyYield:x_,filterYield:M_,mapYield:F_,reduceYield:V_,ifYield:D_};function Ia(e,t=".",r="\\"){const n=[];let i="";for(let o=0;oGr(n,t,r));if(e&&typeof e=="object"){const n=Object.keys(e)[0],i=e[n];if(t.isData(e,n))return!0;if(!t.methods[n])throw new Error(`Method '${n}' was not found in the Logic Engine.`);return t.methods[n].traverse===!1?typeof t.methods[n].deterministic=="function"?t.methods[n].deterministic(i,r):t.methods[n].deterministic:typeof t.methods[n].deterministic=="function"?t.methods[n].deterministic(i,r):t.methods[n].deterministic&&Gr(i,t,r)}return!0}const fe={"+":e=>[].concat(e).reduce((t,r)=>+t+ +r,0),"*":e=>e.reduce((t,r)=>+t*+r),"/":e=>e.reduce((t,r)=>+t/+r),"-":e=>(t=>(t.length===1?t[0]=-t[0]:t)&0||t)([].concat(e)).reduce((t,r)=>+t-+r),"%":e=>e.reduce((t,r)=>+t%+r),max:e=>Math.max(...e),min:e=>Math.min(...e),in:([e,t])=>(t||[]).includes(e),">":([e,t])=>e>t,"<":([e,t,r])=>r===void 0?ee)},if:{method:(e,t,r,n)=>{if(!Array.isArray(e))throw new xt(e);if(e.length<2)throw new xt(e);e=[...e],e.length%2!==1&&e.push(null);const i=e.pop();for(;e.length;){const o=e.shift(),s=e.shift();if(n.run(o,t,{above:r}))return n.run(s,t,{above:r})}return n.run(i,t,{above:r})},deterministic:(e,t)=>Gr(e,t.engine,t),asyncMethod:async(e,t,r,n)=>{if(!Array.isArray(e))throw new xt(e);if(e.length<2)throw new xt(e);e=[...e],e.length%2!==1&&e.push(null);const i=e.pop();for(;e.length;){const o=e.shift(),s=e.shift();if(await n.run(o,t,{above:r}))return n.run(s,t,{above:r})}return n.run(i,t,{above:r})},traverse:!1},"<=":([e,t,r])=>r===void 0?e<=t:e<=t&&t<=r,">=":([e,t])=>e>=t,"==":([e,t])=>e==t,"===":([e,t])=>e===t,"!=":([e,t])=>e!=t,"!==":([e,t])=>e!==t,xor:([e,t])=>e^t,or:e=>e.reduce((t,r)=>t||r,!1),and:e=>e.reduce((t,r)=>t&&r),substr:([e,t,r])=>{if(r<0){const n=e.substr(t);return n.substr(0,n.length+r)}return e.substr(t,r)},length:e=>typeof e=="string"||Array.isArray(e)?e.length:e&&typeof e=="object"?Object.keys(e).length:0,get:{method:([e,t,r],n,i,o)=>{const s=r===void 0?null:r,a=Ia(String(t));for(let l=0;l{let i;Array.isArray(e)&&(i=e[1],e=e[0]);let o=0;for(;typeof e=="string"&&e.startsWith("../")&&o"u"||e===""||e===null)return n.allowFunctions||typeof(t&&t[e])!="function"?t:null;const a=Ia(String(e));for(let l=0;l(Array.isArray(e)?e:[e]).filter(i=>fe.var(i,t,r,n)===null),missing_some:([e,t],r,n,i)=>{const o=fe.missing(t,r,n,i);return t.length-o.length>=e?[]:o},map:Ki("map"),some:Ki("some"),all:Ki("every"),none:{traverse:!1,method:(e,t,r,n)=>!fe.some.method(e,t,r,n),asyncMethod:async(e,t,r,n)=>!await fe.some.asyncMethod(e,t,r,n),compile:(e,t)=>{const r=`${fe.some.compile(e,t)}`;return r?`!(${r})`:!1}},merge:e=>Array.isArray(e)?[].concat(...e):[e],every:Ki("every"),filter:Ki("filter"),reduce:{deterministic:(e,t)=>Gr(e[0],t.engine,t)&&Gr(e[1],t.engine,{...t,insideIterator:!0}),compile:(e,t)=>{if(!Array.isArray(e))throw new xt(e);const{above:r=[],state:n,async:i}=t;let[o,s,a]=e;o=ne(o,t),typeof a<"u"&&(a=ne(a,t));const l={...t,state:{},above:[o,n,...r],avoidInlineAsync:!0};return s=Lo(s,l),t.useContext=t.useContext||l.useContext,t.methods.push(s),i&&(!sn(s)||o.includes("await"))?(t.detectAsync=!0,typeof a<"u"?`await asyncIterators.reduce(${o} || [], (a,b) => methods[${t.methods.length-1}]({ accumulator: a, current: b }), ${a})`:`await asyncIterators.reduce(${o} || [], (a,b) => methods[${t.methods.length-1}]({ accumulator: a, current: b }))`):typeof a<"u"?`(${o} || []).reduce((a,b) => methods[${t.methods.length-1}]({ accumulator: a, current: b }), ${a})`:`(${o} || []).reduce((a,b) => methods[${t.methods.length-1}]({ accumulator: a, current: b }))`},method:(e,t,r,n)=>{if(!Array.isArray(e))throw new xt(e);let[i,o,s]=e;s=n.run(s,t,{above:r}),i=n.run(i,t,{above:r})||[];const a=(l,f)=>n.run(o,{accumulator:l,current:f},{above:[i,t,...r]});return typeof s>"u"?i.reduce(a):i.reduce(a,s)},asyncMethod:async(e,t,r,n)=>{if(!Array.isArray(e))throw new xt(e);let[i,o,s]=e;return s=await n.run(s,t,{above:r}),i=await n.run(i,t,{above:r})||[],Oa.reduce(i,(a,l)=>n.run(o,{accumulator:a,current:l},{above:[i,t,...r]}),s)},traverse:!1},not:e=>Array.isArray(e)?!e[0]:!e,"!":e=>Array.isArray(e)?!e[0]:!e,"!!":e=>!!(Array.isArray(e)?e[0]:e),cat:e=>typeof e=="string"?e:e.join(""),keys:e=>typeof e=="object"?Object.keys(e):[],eachKey:{traverse:!1,method:(e,t,r,n)=>Object.keys(e).reduce((o,s)=>{const a=e[s];return Object.defineProperty(o,s,{enumerable:!0,value:n.run(a,t,{above:r})}),o},{}),useContext:!0,deterministic:(e,t)=>{if(e&&typeof e=="object")return Object.values(e).every(r=>Gr(r,t.engine,t));throw new xt(e)},compile:(e,t)=>{if(e&&typeof e=="object")return`({ ${Object.keys(e).reduce((n,i)=>(n.push(`${JSON.stringify(i)}: ${ne(e[i],t)}`),n),[]).join(",")} })`;throw new xt(e)},asyncMethod:async(e,t,r,n)=>await Oa.reduce(Object.keys(e),async(o,s)=>{const a=e[s];return Object.defineProperty(o,s,{enumerable:!0,value:await n.run(a,t,{above:r})}),o},{})}};function Ki(e){return{deterministic:(t,r)=>Gr(t[0],r.engine,r)&&Gr(t[1],r.engine,{...r,insideIterator:!0}),method:(t,r,n,i)=>{if(!Array.isArray(t))throw new xt(t);let[o,s]=t;return o=i.run(o,r,{above:n})||[],o[e](a=>i.run(s,a,{above:[o,r,...n]}))},asyncMethod:async(t,r,n,i)=>{if(!Array.isArray(t))throw new xt(t);let[o,s]=t;return o=await i.run(o,r,{above:n})||[],Oa[e](o,a=>i.run(s,a,{above:[o,r,...n]}))},compile:(t,r)=>{if(!Array.isArray(t))throw new xt(t);const{above:n=[],state:i,async:o}=r;let[s,a]=t;s=ne(s,r);const l={...r,state:{},above:[s,i,...n],avoidInlineAsync:!0};return a=Lo(a,l),r.useContext=r.useContext||l.useContext,r.methods.push(a),o&&(!sn(a)||s.includes("await"))?(r.detectAsync=!0,`await asyncIterators.${e}(${s} || [], methods[${r.methods.length-1}])`):`(${s} || []).${e}(methods[${r.methods.length-1}])`},traverse:!1}}fe["?:"]=fe.if;Object.keys(fe).forEach(e=>{typeof fe[e]=="function"&&(fe[e][Ff]=!0),fe[e].deterministic=typeof fe[e].deterministic>"u"?!0:fe[e].deterministic});fe.var.deterministic=(e,t)=>t.insideIterator&&!String(e).includes("../");Object.assign(fe.var,{traverse:!1});Object.assign(fe.missing,{deterministic:!1,useContext:!0});Object.assign(fe.missing_some,{deterministic:!1,useContext:!0});fe["<"].compile=function(e,t){if(Array.isArray(e)){if(e.length===2)return"("+ne(e[0],t)+" < "+ne(e[1],t)+")";if(e.length===3){const r=ne(e[0],t),n=ne(e[1],t),i=ne(e[2],t);return`${r} < ${n} && ${n} < ${i}`}}return!1};fe["<="].compile=function(e,t){if(Array.isArray(e)){if(e.length===2)return"("+ne(e[0],t)+" <= "+ne(e[1],t)+")";if(e.length===3){const r=ne(e[0],t),n=ne(e[1],t),i=ne(e[2],t);return`${r} <= ${n} && ${n} <= ${i}`}}return!1};fe.min.compile=function(e,t){return Array.isArray(e)?`Math.min(${e.map(r=>ne(r,t)).join(", ")})`:!1};fe.max.compile=function(e,t){return Array.isArray(e)?`Math.max(${e.map(r=>ne(r,t)).join(", ")})`:!1};fe[">"].compile=function(e,t){return Array.isArray(e)&&e.length===2?"("+ne(e[0],t)+" > "+ne(e[1],t)+")":!1};fe[">="].compile=function(e,t){return Array.isArray(e)&&e.length===2?"("+ne(e[0],t)+" >= "+ne(e[1],t)+")":!1};fe["=="].compile=function(e,t){return Array.isArray(e)&&e.length===2?"("+ne(e[0],t)+" == "+ne(e[1],t)+")":!1};fe["!="].compile=function(e,t){return Array.isArray(e)&&e.length===2?"("+ne(e[0],t)+" != "+ne(e[1],t)+")":!1};fe.if.compile=function(e,t){if(Array.isArray(e)&&e.length>=3){e=[...e],e.length%2!==1&&e.push(null);const r=e.pop();let n="";for(;e.length;){const i=e.shift(),o=e.shift();n+=`(${ne(i,t)}) ? ${ne(o,t)} : `}return"("+n+`${ne(r,t)})`}return!1};fe["!=="].compile=function(e,t){return Array.isArray(e)&&e.length===2?"("+ne(e[0],t)+" !== "+ne(e[1],t)+")":!1};fe["==="].compile=function(e,t){return Array.isArray(e)&&e.length===2?"("+ne(e[0],t)+" === "+ne(e[1],t)+")":!1};fe["+"].compile=function(e,t){return Array.isArray(e)?`(${e.map(r=>`(+${ne(r,t)})`).join(" + ")})`:typeof e=="string"||typeof e=="number"?`(+${ne(e,t)})`:`([].concat(${ne(e,t)})).reduce((a,b) => (+a)+(+b), 0)`};fe["%"].compile=function(e,t){return Array.isArray(e)?`(${e.map(r=>`(+${ne(r,t)})`).join(" % ")})`:`(${ne(e,t)}).reduce((a,b) => (+a)%(+b))`};fe.or.compile=function(e,t){return Array.isArray(e)?`(${e.map(r=>ne(r,t)).join(" || ")})`:`(${ne(e,t)}).reduce((a,b) => a||b, false)`};fe.in.compile=function(e,t){return Array.isArray(e)?`(${ne(e[1],t)} || []).includes(${ne(e[0],t)})`:!1};fe.and.compile=function(e,t){return Array.isArray(e)?`(${e.map(r=>ne(r,t)).join(" && ")})`:`(${ne(e,t)}).reduce((a,b) => a&&b, true)`};fe["-"].compile=function(e,t){return Array.isArray(e)?`${e.length===1?"-":""}(${e.map(r=>`(+${ne(r,t)})`).join(" - ")})`:typeof e=="string"||typeof e=="number"?`(-${ne(e,t)})`:`((a=>(a.length===1?a[0]=-a[0]:a)&0||a)([].concat(${ne(e,t)}))).reduce((a,b) => (+a)-(+b))`};fe["/"].compile=function(e,t){return Array.isArray(e)?`(${e.map(r=>`(+${ne(r,t)})`).join(" / ")})`:`(${ne(e,t)}).reduce((a,b) => (+a)/(+b))`};fe["*"].compile=function(e,t){return Array.isArray(e)?`(${e.map(r=>`(+${ne(r,t)})`).join(" * ")})`:`(${ne(e,t)}).reduce((a,b) => (+a)*(+b))`};fe.cat.compile=function(e,t){return typeof e=="string"?JSON.stringify(e):Array.isArray(e)?`(${["",...e].map(r=>ne(r,t)).join(" + ")})`:!1};fe.not.compile=fe["!"].compile=function(e,t){return Array.isArray(e)?`(!(${ne(e[0],t)}))`:`(!(${ne(e,t)}))`};fe["!!"].compile=function(e,t){return Array.isArray(e)?`(!!(${ne(e[0],t)}))`:`(!!(${ne(e,t)}))`};fe.none.deterministic=fe.some.deterministic;fe.get.compile=function(e,t){let r=null,n=e,i=null;if(Array.isArray(e)&&e.length<=3){if(i=e[0],n=e[1],r=typeof e[2]>"u"?null:e[2],n&&typeof n=="object")return!1;n=n.toString();const o=Ia(n);return yy?`((${ne(i,t)})${o.map(s=>`?.[${ne(s,t)}]`).join("")} ?? ${ne(r,t)})`:`(((a,b) => (typeof a === 'undefined' || a === null) ? b : a)(${o.reduce((s,a)=>`(${s}||0)[${JSON.stringify(a)}]`,`(${ne(i,t)}||0)`)}, ${ne(r,t)}))`}return!1};fe.var.compile=function(e,t){let r=e,n=null;if(t.varTop=t.varTop||new Set,!r||typeof e=="string"||typeof e=="number"||Array.isArray(e)&&e.length<=2){if(Array.isArray(e)&&(r=e[0],n=typeof e[1]>"u"?null:e[1]),typeof r>"u"||r===null||r==="")return"state[Override]";if(typeof r!="string"&&typeof r!="number"||(r=r.toString(),r.includes("../")))return t.useContext=!0,!1;const i=Ia(r),[o]=i;return t.varTop.add(o),yy?`(context${i.map(s=>`?.[${JSON.stringify(s)}]`).join("")} ?? ${ne(n,t)})`:`(((a,b) => (typeof a === 'undefined' || a === null) ? b : a)(${i.reduce((s,a)=>`(${s}||0)[${JSON.stringify(a)}]`,"(context||0)")}, ${ne(n,t)}))`}return t.useContext=!0,!1};const z_={...fe,...U_},B_=function(t){return Object.keys(t).forEach(r=>{t[r]===void 0&&delete t[r]}),t};class H_{constructor(t=z_,r={yieldSupported:!1,disableInline:!1,permissive:!1}){this.disableInline=r.disableInline,this.methods={...t},this.options={yieldSupported:r.yieldSupported,disableInline:r.disableInline},this.isData||(r.permissive?this.isData=(n,i)=>!(i in this.methods):this.isData=()=>!1)}_parse(t,r,n){const[i]=Object.keys(t),o=t[i];if(this.isData(t,i))return{result:t,func:i};if(!this.methods[i])throw new Error(`Method '${i}' was not found in the Logic Engine.`);if(typeof this.methods[i]=="function"){const s=this.run(o,r,{above:n});return this.options.yieldSupported&&_t(s)?{result:s,func:i}:{result:this.methods[i](s,r,n,this),func:i}}if(typeof this.methods[i]=="object"){const{method:s,traverse:a}=this.methods[i],f=(typeof a>"u"?!0:a)?this.run(o,r,{above:n}):o;return this.options.yieldSupported&&_t(f)?{result:f,func:i}:{result:s(f,r,n,this),func:i}}throw new Error(`Method '${i}' is not set up properly.`)}addMethod(t,r,{deterministic:n,yields:i,useContext:o}={}){typeof r=="function"?r={method:r,traverse:!0}:r={...r},Object.assign(r,B_({yields:i,useContext:o,deterministic:n})),this.methods[t]=Do(r)}addModule(t,r,n){Object.getOwnPropertyNames(r).forEach(i=>{(typeof r[i]=="function"||typeof r[i]=="object")&&this.addMethod(`${t}${t?".":""}${i}`,r[i],n)})}run(t,r={},n={}){const{above:i=[]}=n;if(Array.isArray(t)){const o=t.map(s=>this.run(s,r,{above:i}));return this.options.yieldSupported&&_t(o)?new Si({result:o}):o}if(t&&typeof t=="object"&&Object.keys(t).length>0){const{func:o,result:s}=this._parse(t,r,i);return this.options.yieldSupported&&_t(s)?s instanceof ct?(s._input&&(s._logic={[o]:s._input}),s._logic||(s._logic=t),s):new Si({result:{[o]:s.data.result}}):s}return t}build(t,r={}){const{above:n=[],top:i=!0}=r;if(i){const o=Lo(t,{state:{},engine:this,above:n});return typeof o=="function"||i===!0?(...s)=>typeof o=="function"?o(...s):o:o}return t}}var tc={exports:{}};const K_="2.0.0",wy=256,G_=Number.MAX_SAFE_INTEGER||9007199254740991,W_=16,q_=wy-6,Y_=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var Ya={MAX_LENGTH:wy,MAX_SAFE_COMPONENT_LENGTH:W_,MAX_SAFE_BUILD_LENGTH:q_,MAX_SAFE_INTEGER:G_,RELEASE_TYPES:Y_,SEMVER_SPEC_VERSION:K_,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},bl={};const Q_=typeof process=="object"&&bl&&bl.NODE_DEBUG&&/\bsemver\b/i.test(bl.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var Qa=Q_;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n}=Ya,i=Qa;t=e.exports={};const o=t.re=[],s=t.safeRe=[],a=t.src=[],l=t.t={};let f=0;const d="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",r],[d,n]],N=v=>{for(const[O,E]of m)v=v.split(`${O}*`).join(`${O}{0,${E}}`).split(`${O}+`).join(`${O}{1,${E}}`);return v},S=(v,O,E)=>{const u=N(O),c=f++;i(v,c,O),l[v]=c,a[c]=O,o[c]=new RegExp(O,E?"g":void 0),s[c]=new RegExp(u,E?"g":void 0)};S("NUMERICIDENTIFIER","0|[1-9]\\d*"),S("NUMERICIDENTIFIERLOOSE","\\d+"),S("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),S("MAINVERSION",`(${a[l.NUMERICIDENTIFIER]})\\.(${a[l.NUMERICIDENTIFIER]})\\.(${a[l.NUMERICIDENTIFIER]})`),S("MAINVERSIONLOOSE",`(${a[l.NUMERICIDENTIFIERLOOSE]})\\.(${a[l.NUMERICIDENTIFIERLOOSE]})\\.(${a[l.NUMERICIDENTIFIERLOOSE]})`),S("PRERELEASEIDENTIFIER",`(?:${a[l.NUMERICIDENTIFIER]}|${a[l.NONNUMERICIDENTIFIER]})`),S("PRERELEASEIDENTIFIERLOOSE",`(?:${a[l.NUMERICIDENTIFIERLOOSE]}|${a[l.NONNUMERICIDENTIFIER]})`),S("PRERELEASE",`(?:-(${a[l.PRERELEASEIDENTIFIER]}(?:\\.${a[l.PRERELEASEIDENTIFIER]})*))`),S("PRERELEASELOOSE",`(?:-?(${a[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[l.PRERELEASEIDENTIFIERLOOSE]})*))`),S("BUILDIDENTIFIER",`${d}+`),S("BUILD",`(?:\\+(${a[l.BUILDIDENTIFIER]}(?:\\.${a[l.BUILDIDENTIFIER]})*))`),S("FULLPLAIN",`v?${a[l.MAINVERSION]}${a[l.PRERELEASE]}?${a[l.BUILD]}?`),S("FULL",`^${a[l.FULLPLAIN]}$`),S("LOOSEPLAIN",`[v=\\s]*${a[l.MAINVERSIONLOOSE]}${a[l.PRERELEASELOOSE]}?${a[l.BUILD]}?`),S("LOOSE",`^${a[l.LOOSEPLAIN]}$`),S("GTLT","((?:<|>)?=?)"),S("XRANGEIDENTIFIERLOOSE",`${a[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),S("XRANGEIDENTIFIER",`${a[l.NUMERICIDENTIFIER]}|x|X|\\*`),S("XRANGEPLAIN",`[v=\\s]*(${a[l.XRANGEIDENTIFIER]})(?:\\.(${a[l.XRANGEIDENTIFIER]})(?:\\.(${a[l.XRANGEIDENTIFIER]})(?:${a[l.PRERELEASE]})?${a[l.BUILD]}?)?)?`),S("XRANGEPLAINLOOSE",`[v=\\s]*(${a[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[l.XRANGEIDENTIFIERLOOSE]})(?:${a[l.PRERELEASELOOSE]})?${a[l.BUILD]}?)?)?`),S("XRANGE",`^${a[l.GTLT]}\\s*${a[l.XRANGEPLAIN]}$`),S("XRANGELOOSE",`^${a[l.GTLT]}\\s*${a[l.XRANGEPLAINLOOSE]}$`),S("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),S("COERCERTL",a[l.COERCE],!0),S("LONETILDE","(?:~>?)"),S("TILDETRIM",`(\\s*)${a[l.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",S("TILDE",`^${a[l.LONETILDE]}${a[l.XRANGEPLAIN]}$`),S("TILDELOOSE",`^${a[l.LONETILDE]}${a[l.XRANGEPLAINLOOSE]}$`),S("LONECARET","(?:\\^)"),S("CARETTRIM",`(\\s*)${a[l.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",S("CARET",`^${a[l.LONECARET]}${a[l.XRANGEPLAIN]}$`),S("CARETLOOSE",`^${a[l.LONECARET]}${a[l.XRANGEPLAINLOOSE]}$`),S("COMPARATORLOOSE",`^${a[l.GTLT]}\\s*(${a[l.LOOSEPLAIN]})$|^$`),S("COMPARATOR",`^${a[l.GTLT]}\\s*(${a[l.FULLPLAIN]})$|^$`),S("COMPARATORTRIM",`(\\s*)${a[l.GTLT]}\\s*(${a[l.LOOSEPLAIN]}|${a[l.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",S("HYPHENRANGE",`^\\s*(${a[l.XRANGEPLAIN]})\\s+-\\s+(${a[l.XRANGEPLAIN]})\\s*$`),S("HYPHENRANGELOOSE",`^\\s*(${a[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[l.XRANGEPLAINLOOSE]})\\s*$`),S("STAR","(<|>)?=?\\s*\\*"),S("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),S("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(tc,tc.exports);var Qo=tc.exports;const X_=Object.freeze({loose:!0}),J_=Object.freeze({}),Z_=e=>e?typeof e!="object"?X_:e:J_;var Uf=Z_;const xh=/^[0-9]+$/,$y=(e,t)=>{const r=xh.test(e),n=xh.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e$y(t,e);var Ey={compareIdentifiers:$y,rcompareIdentifiers:eS};const Ns=Qa,{MAX_LENGTH:Mh,MAX_SAFE_INTEGER:Is}=Ya,{safeRe:Fh,t:Vh}=Qo,tS=Uf,{compareIdentifiers:Bn}=Ey;let rS=class fr{constructor(t,r){if(r=tS(r),t instanceof fr){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>Mh)throw new TypeError(`version is longer than ${Mh} characters`);Ns("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const n=t.trim().match(r.loose?Fh[Vh.LOOSE]:Fh[Vh.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Is||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Is||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Is||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){const o=+i;if(o>=0&&o=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);if(o===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let o=[r,i];n===!1&&(o=[r]),Bn(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=o):this.prerelease=o}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var yt=rS;const Uh=yt,nS=(e,t,r=!1)=>{if(e instanceof Uh)return e;try{return new Uh(e,t)}catch(n){if(!r)return null;throw n}};var ki=nS;const iS=ki,oS=(e,t)=>{const r=iS(e,t);return r?r.version:null};var sS=oS;const aS=ki,lS=(e,t)=>{const r=aS(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};var uS=lS;const zh=yt,cS=(e,t,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new zh(e instanceof zh?e.version:e,r).inc(t,n,i).version}catch{return null}};var fS=cS;const Bh=ki,dS=(e,t)=>{const r=Bh(e,null,!0),n=Bh(t,null,!0),i=r.compare(n);if(i===0)return null;const o=i>0,s=o?r:n,a=o?n:r,l=!!s.prerelease.length;if(!!a.prerelease.length&&!l)return!a.patch&&!a.minor?"major":s.patch?"patch":s.minor?"minor":"major";const d=l?"pre":"";return r.major!==n.major?d+"major":r.minor!==n.minor?d+"minor":r.patch!==n.patch?d+"patch":"prerelease"};var hS=dS;const pS=yt,mS=(e,t)=>new pS(e,t).major;var gS=mS;const yS=yt,vS=(e,t)=>new yS(e,t).minor;var wS=vS;const $S=yt,ES=(e,t)=>new $S(e,t).patch;var _S=ES;const SS=ki,OS=(e,t)=>{const r=SS(e,t);return r&&r.prerelease.length?r.prerelease:null};var NS=OS;const Hh=yt,IS=(e,t,r)=>new Hh(e,r).compare(new Hh(t,r));var ir=IS;const PS=ir,CS=(e,t,r)=>PS(t,e,r);var kS=CS;const TS=ir,AS=(e,t)=>TS(e,t,!0);var RS=AS;const Kh=yt,jS=(e,t,r)=>{const n=new Kh(e,r),i=new Kh(t,r);return n.compare(i)||n.compareBuild(i)};var zf=jS;const bS=zf,DS=(e,t)=>e.sort((r,n)=>bS(r,n,t));var LS=DS;const xS=zf,MS=(e,t)=>e.sort((r,n)=>xS(n,r,t));var FS=MS;const VS=ir,US=(e,t,r)=>VS(e,t,r)>0;var Xa=US;const zS=ir,BS=(e,t,r)=>zS(e,t,r)<0;var Bf=BS;const HS=ir,KS=(e,t,r)=>HS(e,t,r)===0;var _y=KS;const GS=ir,WS=(e,t,r)=>GS(e,t,r)!==0;var Sy=WS;const qS=ir,YS=(e,t,r)=>qS(e,t,r)>=0;var Hf=YS;const QS=ir,XS=(e,t,r)=>QS(e,t,r)<=0;var Kf=XS;const JS=_y,ZS=Sy,e2=Xa,t2=Hf,r2=Bf,n2=Kf,i2=(e,t,r,n)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return JS(e,r,n);case"!=":return ZS(e,r,n);case">":return e2(e,r,n);case">=":return t2(e,r,n);case"<":return r2(e,r,n);case"<=":return n2(e,r,n);default:throw new TypeError(`Invalid operator: ${t}`)}};var Oy=i2;const o2=yt,s2=ki,{safeRe:Ps,t:Cs}=Qo,a2=(e,t)=>{if(e instanceof o2)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let r=null;if(!t.rtl)r=e.match(Ps[Cs.COERCE]);else{let n;for(;(n=Ps[Cs.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),Ps[Cs.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;Ps[Cs.COERCERTL].lastIndex=-1}return r===null?null:s2(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)};var l2=a2,Dl,Gh;function u2(){return Gh||(Gh=1,Dl=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),Dl}var c2=_e;_e.Node=Dn;_e.create=_e;function _e(e){var t=this;if(t instanceof _e||(t=new _e),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(i){t.push(i)});else if(arguments.length>0)for(var r=0,n=arguments.length;r1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=0;n!==null;i++)r=e(r,n.value,i),n=n.next;return r};_e.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;n!==null;i--)r=e(r,n.value,i),n=n.prev;return r};_e.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;r!==null;t++)e[t]=r.value,r=r.next;return e};_e.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;r!==null;t++)e[t]=r.value,r=r.prev;return e};_e.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new _e;if(tthis.length&&(t=this.length);for(var n=0,i=this.head;i!==null&&nthis.length&&(t=this.length);for(var n=this.length,i=this.tail;i!==null&&n>t;n--)i=i.prev;for(;i!==null&&n>e;n--,i=i.prev)r.push(i.value);return r};_e.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,i=this.head;i!==null&&n1;class m2{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[$n]=t.max||1/0;const r=t.length||Ll;if(this[Hn]=typeof r!="function"?Ll:r,this[mo]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[On]=t.maxAge||0,this[_r]=t.dispose,this[Wh]=t.noDisposeOnSet||!1,this[Ny]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[$n]=t||1/0,Gi(this)}get max(){return this[$n]}set allowStale(t){this[mo]=!!t}get allowStale(){return this[mo]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[On]=t,Gi(this)}get maxAge(){return this[On]}set lengthCalculator(t){typeof t!="function"&&(t=Ll),t!==this[Hn]&&(this[Hn]=t,this[Or]=0,this[Je].forEach(r=>{r.length=this[Hn](r.value,r.key),this[Or]+=r.length})),Gi(this)}get lengthCalculator(){return this[Hn]}get length(){return this[Or]}get itemCount(){return this[Je].length}rforEach(t,r){r=r||this;for(let n=this[Je].tail;n!==null;){const i=n.prev;qh(this,t,n,r),n=i}}forEach(t,r){r=r||this;for(let n=this[Je].head;n!==null;){const i=n.next;qh(this,t,n,r),n=i}}keys(){return this[Je].toArray().map(t=>t.key)}values(){return this[Je].toArray().map(t=>t.value)}reset(){this[_r]&&this[Je]&&this[Je].length&&this[Je].forEach(t=>this[_r](t.key,t.value)),this[Yt]=new Map,this[Je]=new p2,this[Or]=0}dump(){return this[Je].map(t=>Pa(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[Je]}set(t,r,n){if(n=n||this[On],n&&typeof n!="number")throw new TypeError("maxAge must be a number");const i=n?Date.now():0,o=this[Hn](r,t);if(this[Yt].has(t)){if(o>this[$n])return hi(this,this[Yt].get(t)),!1;const l=this[Yt].get(t).value;return this[_r]&&(this[Wh]||this[_r](t,l.value)),l.now=i,l.maxAge=n,l.value=r,this[Or]+=o-l.length,l.length=o,this.get(t),Gi(this),!0}const s=new g2(t,r,o,i,n);return s.length>this[$n]?(this[_r]&&this[_r](t,r),!1):(this[Or]+=s.length,this[Je].unshift(s),this[Yt].set(t,this[Je].head),Gi(this),!0)}has(t){if(!this[Yt].has(t))return!1;const r=this[Yt].get(t).value;return!Pa(this,r)}get(t){return xl(this,t,!0)}peek(t){return xl(this,t,!1)}pop(){const t=this[Je].tail;return t?(hi(this,t),t.value):null}del(t){hi(this,this[Yt].get(t))}load(t){this.reset();const r=Date.now();for(let n=t.length-1;n>=0;n--){const i=t[n],o=i.e||0;if(o===0)this.set(i.k,i.v);else{const s=o-r;s>0&&this.set(i.k,i.v,s)}}}prune(){this[Yt].forEach((t,r)=>xl(this,r,!1))}}const xl=(e,t,r)=>{const n=e[Yt].get(t);if(n){const i=n.value;if(Pa(e,i)){if(hi(e,n),!e[mo])return}else r&&(e[Ny]&&(n.value.now=Date.now()),e[Je].unshiftNode(n));return i.value}},Pa=(e,t)=>{if(!t||!t.maxAge&&!e[On])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[On]&&r>e[On]},Gi=e=>{if(e[Or]>e[$n])for(let t=e[Je].tail;e[Or]>e[$n]&&t!==null;){const r=t.prev;hi(e,t),t=r}},hi=(e,t)=>{if(t){const r=t.value;e[_r]&&e[_r](r.key,r.value),e[Or]-=r.length,e[Yt].delete(r.key),e[Je].removeNode(t)}};class g2{constructor(t,r,n,i,o){this.key=t,this.value=r,this.length=n,this.now=i,this.maxAge=o||0}}const qh=(e,t,r,n)=>{let i=r.value;Pa(e,i)&&(hi(e,r),e[mo]||(i=void 0)),i&&t.call(n,i.value,i.key,e)};var y2=m2,Ml,Yh;function or(){if(Yh)return Ml;Yh=1;class e{constructor(U,G){if(G=n(G),U instanceof e)return U.loose===!!G.loose&&U.includePrerelease===!!G.includePrerelease?U:new e(U.raw,G);if(U instanceof i)return this.raw=U.value,this.set=[[U]],this.format(),this;if(this.options=G,this.loose=!!G.loose,this.includePrerelease=!!G.includePrerelease,this.raw=U.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(B=>this.parseRange(B)).filter(B=>B.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const B=this.set[0];if(this.set=this.set.filter(Z=>!v(Z[0])),this.set.length===0)this.set=[B];else if(this.set.length>1){for(const Z of this.set)if(Z.length===1&&O(Z[0])){this.set=[Z];break}}}this.format()}format(){return this.range=this.set.map(U=>U.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(U){const B=((this.options.includePrerelease&&N)|(this.options.loose&&S))+":"+U,Z=r.get(B);if(Z)return Z;const z=this.options.loose,Q=z?a[l.HYPHENRANGELOOSE]:a[l.HYPHENRANGE];U=U.replace(Q,x(this.options.includePrerelease)),o("hyphen replace",U),U=U.replace(a[l.COMPARATORTRIM],f),o("comparator trim",U),U=U.replace(a[l.TILDETRIM],d),o("tilde trim",U),U=U.replace(a[l.CARETTRIM],m),o("caret trim",U);let R=U.split(" ").map(_=>u(_,this.options)).join(" ").split(/\s+/).map(_=>y(_,this.options));z&&(R=R.filter(_=>(o("loose invalid filter",_,this.options),!!_.match(a[l.COMPARATORLOOSE])))),o("range list",R);const C=new Map,V=R.map(_=>new i(_,this.options));for(const _ of V){if(v(_))return[_];C.set(_.value,_)}C.size>1&&C.has("")&&C.delete("");const M=[...C.values()];return r.set(B,M),M}intersects(U,G){if(!(U instanceof e))throw new TypeError("a Range is required");return this.set.some(B=>E(B,G)&&U.set.some(Z=>E(Z,G)&&B.every(z=>Z.every(Q=>z.intersects(Q,G)))))}test(U){if(!U)return!1;if(typeof U=="string")try{U=new s(U,this.options)}catch{return!1}for(let G=0;GY.value==="<0.0.0-0",O=Y=>Y.value==="",E=(Y,U)=>{let G=!0;const B=Y.slice();let Z=B.pop();for(;G&&B.length;)G=B.every(z=>Z.intersects(z,U)),Z=B.pop();return G},u=(Y,U)=>(o("comp",Y,U),Y=j(Y,U),o("caret",Y),Y=p(Y,U),o("tildes",Y),Y=$(Y,U),o("xrange",Y),Y=P(Y,U),o("stars",Y),Y),c=Y=>!Y||Y.toLowerCase()==="x"||Y==="*",p=(Y,U)=>Y.trim().split(/\s+/).map(G=>I(G,U)).join(" "),I=(Y,U)=>{const G=U.loose?a[l.TILDELOOSE]:a[l.TILDE];return Y.replace(G,(B,Z,z,Q,R)=>{o("tilde",Y,B,Z,z,Q,R);let C;return c(Z)?C="":c(z)?C=`>=${Z}.0.0 <${+Z+1}.0.0-0`:c(Q)?C=`>=${Z}.${z}.0 <${Z}.${+z+1}.0-0`:R?(o("replaceTilde pr",R),C=`>=${Z}.${z}.${Q}-${R} <${Z}.${+z+1}.0-0`):C=`>=${Z}.${z}.${Q} <${Z}.${+z+1}.0-0`,o("tilde return",C),C})},j=(Y,U)=>Y.trim().split(/\s+/).map(G=>g(G,U)).join(" "),g=(Y,U)=>{o("caret",Y,U);const G=U.loose?a[l.CARETLOOSE]:a[l.CARET],B=U.includePrerelease?"-0":"";return Y.replace(G,(Z,z,Q,R,C)=>{o("caret",Y,Z,z,Q,R,C);let V;return c(z)?V="":c(Q)?V=`>=${z}.0.0${B} <${+z+1}.0.0-0`:c(R)?z==="0"?V=`>=${z}.${Q}.0${B} <${z}.${+Q+1}.0-0`:V=`>=${z}.${Q}.0${B} <${+z+1}.0.0-0`:C?(o("replaceCaret pr",C),z==="0"?Q==="0"?V=`>=${z}.${Q}.${R}-${C} <${z}.${Q}.${+R+1}-0`:V=`>=${z}.${Q}.${R}-${C} <${z}.${+Q+1}.0-0`:V=`>=${z}.${Q}.${R}-${C} <${+z+1}.0.0-0`):(o("no pr"),z==="0"?Q==="0"?V=`>=${z}.${Q}.${R}${B} <${z}.${Q}.${+R+1}-0`:V=`>=${z}.${Q}.${R}${B} <${z}.${+Q+1}.0-0`:V=`>=${z}.${Q}.${R} <${+z+1}.0.0-0`),o("caret return",V),V})},$=(Y,U)=>(o("replaceXRanges",Y,U),Y.split(/\s+/).map(G=>h(G,U)).join(" ")),h=(Y,U)=>{Y=Y.trim();const G=U.loose?a[l.XRANGELOOSE]:a[l.XRANGE];return Y.replace(G,(B,Z,z,Q,R,C)=>{o("xRange",Y,B,Z,z,Q,R,C);const V=c(z),M=V||c(Q),_=M||c(R),A=_;return Z==="="&&A&&(Z=""),C=U.includePrerelease?"-0":"",V?Z===">"||Z==="<"?B="<0.0.0-0":B="*":Z&&A?(M&&(Q=0),R=0,Z===">"?(Z=">=",M?(z=+z+1,Q=0,R=0):(Q=+Q+1,R=0)):Z==="<="&&(Z="<",M?z=+z+1:Q=+Q+1),Z==="<"&&(C="-0"),B=`${Z+z}.${Q}.${R}${C}`):M?B=`>=${z}.0.0${C} <${+z+1}.0.0-0`:_&&(B=`>=${z}.${Q}.0${C} <${z}.${+Q+1}.0-0`),o("xRange return",B),B})},P=(Y,U)=>(o("replaceStars",Y,U),Y.trim().replace(a[l.STAR],"")),y=(Y,U)=>(o("replaceGTE0",Y,U),Y.trim().replace(a[U.includePrerelease?l.GTE0PRE:l.GTE0],"")),x=Y=>(U,G,B,Z,z,Q,R,C,V,M,_,A,K)=>(c(B)?G="":c(Z)?G=`>=${B}.0.0${Y?"-0":""}`:c(z)?G=`>=${B}.${Z}.0${Y?"-0":""}`:Q?G=`>=${G}`:G=`>=${G}${Y?"-0":""}`,c(V)?C="":c(M)?C=`<${+V+1}.0.0-0`:c(_)?C=`<${V}.${+M+1}.0-0`:A?C=`<=${V}.${M}.${_}-${A}`:Y?C=`<${V}.${M}.${+_+1}-0`:C=`<=${C}`,`${G} ${C}`.trim()),F=(Y,U,G)=>{for(let B=0;B0){const Z=Y[B].semver;if(Z.major===U.major&&Z.minor===U.minor&&Z.patch===U.patch)return!0}return!1}return!0};return Ml}var Fl,Qh;function Ja(){if(Qh)return Fl;Qh=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(d,m){if(m=r(m),d instanceof t){if(d.loose===!!m.loose)return d;d=d.value}d=d.trim().split(/\s+/).join(" "),s("comparator",d,m),this.options=m,this.loose=!!m.loose,this.parse(d),this.semver===e?this.value="":this.value=this.operator+this.semver.version,s("comp",this)}parse(d){const m=this.options.loose?n[i.COMPARATORLOOSE]:n[i.COMPARATOR],N=d.match(m);if(!N)throw new TypeError(`Invalid comparator: ${d}`);this.operator=N[1]!==void 0?N[1]:"",this.operator==="="&&(this.operator=""),N[2]?this.semver=new a(N[2],this.options.loose):this.semver=e}toString(){return this.value}test(d){if(s("Comparator.test",d,this.options.loose),this.semver===e||d===e)return!0;if(typeof d=="string")try{d=new a(d,this.options)}catch{return!1}return o(d,this.operator,this.semver,this.options)}intersects(d,m){if(!(d instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new l(d.value,m).test(this.value):d.operator===""?d.value===""?!0:new l(this.value,m).test(d.semver):(m=r(m),m.includePrerelease&&(this.value==="<0.0.0-0"||d.value==="<0.0.0-0")||!m.includePrerelease&&(this.value.startsWith("<0.0.0")||d.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&d.operator.startsWith(">")||this.operator.startsWith("<")&&d.operator.startsWith("<")||this.semver.version===d.semver.version&&this.operator.includes("=")&&d.operator.includes("=")||o(this.semver,"<",d.semver,m)&&this.operator.startsWith(">")&&d.operator.startsWith("<")||o(this.semver,">",d.semver,m)&&this.operator.startsWith("<")&&d.operator.startsWith(">")))}}Fl=t;const r=Uf,{safeRe:n,t:i}=Qo,o=Oy,s=Qa,a=yt,l=or();return Fl}const v2=or(),w2=(e,t,r)=>{try{t=new v2(t,r)}catch{return!1}return t.test(e)};var Za=w2;const $2=or(),E2=(e,t)=>new $2(e,t).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" "));var _2=E2;const S2=yt,O2=or(),N2=(e,t,r)=>{let n=null,i=null,o=null;try{o=new O2(t,r)}catch{return null}return e.forEach(s=>{o.test(s)&&(!n||i.compare(s)===-1)&&(n=s,i=new S2(n,r))}),n};var I2=N2;const P2=yt,C2=or(),k2=(e,t,r)=>{let n=null,i=null,o=null;try{o=new C2(t,r)}catch{return null}return e.forEach(s=>{o.test(s)&&(!n||i.compare(s)===1)&&(n=s,i=new P2(n,r))}),n};var T2=k2;const Vl=yt,A2=or(),Xh=Xa,R2=(e,t)=>{e=new A2(e,t);let r=new Vl("0.0.0");if(e.test(r)||(r=new Vl("0.0.0-0"),e.test(r)))return r;r=null;for(let n=0;n{const a=new Vl(s.semver.version);switch(s.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!o||Xh(a,o))&&(o=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${s.operator}`)}}),o&&(!r||Xh(r,o))&&(r=o)}return r&&e.test(r)?r:null};var j2=R2;const b2=or(),D2=(e,t)=>{try{return new b2(e,t).range||"*"}catch{return null}};var L2=D2;const x2=yt,Iy=Ja(),{ANY:M2}=Iy,F2=or(),V2=Za,Jh=Xa,Zh=Bf,U2=Kf,z2=Hf,B2=(e,t,r,n)=>{e=new x2(e,n),t=new F2(t,n);let i,o,s,a,l;switch(r){case">":i=Jh,o=U2,s=Zh,a=">",l=">=";break;case"<":i=Zh,o=z2,s=Jh,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(V2(e,t,n))return!1;for(let f=0;f{S.semver===M2&&(S=new Iy(">=0.0.0")),m=m||S,N=N||S,i(S.semver,m.semver,n)?m=S:s(S.semver,N.semver,n)&&(N=S)}),m.operator===a||m.operator===l||(!N.operator||N.operator===a)&&o(e,N.semver))return!1;if(N.operator===l&&s(e,N.semver))return!1}return!0};var Gf=B2;const H2=Gf,K2=(e,t,r)=>H2(e,t,">",r);var G2=K2;const W2=Gf,q2=(e,t,r)=>W2(e,t,"<",r);var Y2=q2;const ep=or(),Q2=(e,t,r)=>(e=new ep(e,r),t=new ep(t,r),e.intersects(t,r));var X2=Q2;const J2=Za,Z2=ir;var eO=(e,t,r)=>{const n=[];let i=null,o=null;const s=e.sort((d,m)=>Z2(d,m,r));for(const d of s)J2(d,t,r)?(o=d,i||(i=d)):(o&&n.push([i,o]),o=null,i=null);i&&n.push([i,null]);const a=[];for(const[d,m]of n)d===m?a.push(d):!m&&d===s[0]?a.push("*"):m?d===s[0]?a.push(`<=${m}`):a.push(`${d} - ${m}`):a.push(`>=${d}`);const l=a.join(" || "),f=typeof t.raw=="string"?t.raw:String(t);return l.length{if(e===t)return!0;e=new tp(e,r),t=new tp(t,r);let n=!1;e:for(const i of e.set){for(const o of t.set){const s=nO(i,o,r);if(n=n||s!==null,s)continue e}if(n)return!1}return!0},rO=[new Wf(">=0.0.0-0")],rp=[new Wf(">=0.0.0")],nO=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Ul){if(t.length===1&&t[0].semver===Ul)return!0;r.includePrerelease?e=rO:e=rp}if(t.length===1&&t[0].semver===Ul){if(r.includePrerelease)return!0;t=rp}const n=new Set;let i,o;for(const S of e)S.operator===">"||S.operator===">="?i=np(i,S,r):S.operator==="<"||S.operator==="<="?o=ip(o,S,r):n.add(S.semver);if(n.size>1)return null;let s;if(i&&o){if(s=qf(i.semver,o.semver,r),s>0)return null;if(s===0&&(i.operator!==">="||o.operator!=="<="))return null}for(const S of n){if(i&&!Wi(S,String(i),r)||o&&!Wi(S,String(o),r))return null;for(const v of t)if(!Wi(S,String(v),r))return!1;return!0}let a,l,f,d,m=o&&!r.includePrerelease&&o.semver.prerelease.length?o.semver:!1,N=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;m&&m.prerelease.length===1&&o.operator==="<"&&m.prerelease[0]===0&&(m=!1);for(const S of t){if(d=d||S.operator===">"||S.operator===">=",f=f||S.operator==="<"||S.operator==="<=",i){if(N&&S.semver.prerelease&&S.semver.prerelease.length&&S.semver.major===N.major&&S.semver.minor===N.minor&&S.semver.patch===N.patch&&(N=!1),S.operator===">"||S.operator===">="){if(a=np(i,S,r),a===S&&a!==i)return!1}else if(i.operator===">="&&!Wi(i.semver,String(S),r))return!1}if(o){if(m&&S.semver.prerelease&&S.semver.prerelease.length&&S.semver.major===m.major&&S.semver.minor===m.minor&&S.semver.patch===m.patch&&(m=!1),S.operator==="<"||S.operator==="<="){if(l=ip(o,S,r),l===S&&l!==o)return!1}else if(o.operator==="<="&&!Wi(o.semver,String(S),r))return!1}if(!S.operator&&(o||i)&&s!==0)return!1}return!(i&&f&&!o&&s!==0||o&&d&&!i&&s!==0||N||m)},np=(e,t,r)=>{if(!e)return t;const n=qf(e.semver,t.semver,r);return n>0?e:n<0||t.operator===">"&&e.operator===">="?t:e},ip=(e,t,r)=>{if(!e)return t;const n=qf(e.semver,t.semver,r);return n<0?e:n>0||t.operator==="<"&&e.operator==="<="?t:e};var iO=tO;const zl=Qo,op=Ya,oO=yt,sp=Ey,sO=ki,aO=sS,lO=uS,uO=fS,cO=hS,fO=gS,dO=wS,hO=_S,pO=NS,mO=ir,gO=kS,yO=RS,vO=zf,wO=LS,$O=FS,EO=Xa,_O=Bf,SO=_y,OO=Sy,NO=Hf,IO=Kf,PO=Oy,CO=l2,kO=Ja(),TO=or(),AO=Za,RO=_2,jO=I2,bO=T2,DO=j2,LO=L2,xO=Gf,MO=G2,FO=Y2,VO=X2,UO=eO,zO=iO;var Bl={parse:sO,valid:aO,clean:lO,inc:uO,diff:cO,major:fO,minor:dO,patch:hO,prerelease:pO,compare:mO,rcompare:gO,compareLoose:yO,compareBuild:vO,sort:wO,rsort:$O,gt:EO,lt:_O,eq:SO,neq:OO,gte:NO,lte:IO,cmp:PO,coerce:CO,Comparator:kO,Range:TO,satisfies:AO,toComparators:RO,maxSatisfying:jO,minSatisfying:bO,minVersion:DO,validRange:LO,outside:xO,gtr:MO,ltr:FO,intersects:VO,simplifyRange:UO,subset:zO,SemVer:oO,re:zl.re,src:zl.src,tokens:zl.t,SEMVER_SPEC_VERSION:op.SEMVER_SPEC_VERSION,RELEASE_TYPES:op.RELEASE_TYPES,compareIdentifiers:sp.compareIdentifiers,rcompareIdentifiers:sp.rcompareIdentifiers},Py={exports:{}};/** * @preserve * JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013) * @@ -59,8 +59,8 @@ list should be an Array.`),w.length===0)return new E(0);if(w.length===1)return w * @see http://github.com/garycourt/murmurhash-js * @author Austin Appleby * @see http://sites.google.com/site/murmurhash/ - */(function(e){(function(){var t;function r(n,i){var o=this instanceof r?this:t;if(o.reset(i),typeof n=="string"&&n.length>0&&o.hash(n),o!==this)return o}r.prototype.hash=function(n){var i,o,s,a,l;switch(l=n.length,this.len+=l,o=this.k1,s=0,this.rem){case 0:o^=l>s?n.charCodeAt(s++)&65535:0;case 1:o^=l>s?(n.charCodeAt(s++)&65535)<<8:0;case 2:o^=l>s?(n.charCodeAt(s++)&65535)<<16:0;case 3:o^=l>s?(n.charCodeAt(s)&255)<<24:0,o^=l>s?(n.charCodeAt(s++)&65280)>>8:0}if(this.rem=l+this.rem&3,l-=this.rem,l>0){for(i=this.h1;o=o*11601+(o&65535)*3432906752&4294967295,o=o<<15|o>>>17,o=o*13715+(o&65535)*461832192&4294967295,i^=o,i=i<<13|i>>>19,i=i*5+3864292196&4294967295,!(s>=l);)o=n.charCodeAt(s++)&65535^(n.charCodeAt(s++)&65535)<<8^(n.charCodeAt(s++)&65535)<<16,a=n.charCodeAt(s++),o^=(a&255)<<24^(a&65280)>>8;switch(o=0,this.rem){case 3:o^=(n.charCodeAt(s+2)&65535)<<16;case 2:o^=(n.charCodeAt(s+1)&65535)<<8;case 1:o^=n.charCodeAt(s)&65535}this.h1=i}return this.k1=o,this},r.prototype.result=function(){var n,i;return n=this.k1,i=this.h1,n>0&&(n=n*11601+(n&65535)*3432906752&4294967295,n=n<<15|n>>>17,n=n*13715+(n&65535)*461832192&4294967295,i^=n),i^=this.len,i^=i>>>16,i=i*51819+(i&65535)*2246770688&4294967295,i^=i>>>13,i=i*44597+(i&65535)*3266445312&4294967295,i^=i>>>16,i>>>0},r.prototype.reset=function(n){return this.h1=typeof n=="number"?n:0,this.rem=this.k1=this.len=0,this},t=new r,e.exports=r})()})(Cy);var BO=Cy.exports;const HO=oc(BO);var KO="https://flagd.dev/schema/v0/flags.json",GO="http://json-schema.org/draft-07/schema#",WO="flagd Flag Configuration",qO="Defines flags for use in flagd, including typed variants and rules.",YO="object",QO={flags:{title:"Flags",description:"Top-level flags object. All flags are defined here.",type:"object",$comment:"flag objects are one of the 4 flag types defined in definitions",additionalProperties:!1,patternProperties:{"^.{1,}$":{oneOf:[{title:"Boolean flag",description:"A flag having boolean values.",$ref:"#/definitions/booleanFlag"},{title:"String flag",description:"A flag having string values.",$ref:"#/definitions/stringFlag"},{title:"Numeric flag",description:"A flag having numeric values.",$ref:"#/definitions/numberFlag"},{title:"Object flag",description:"A flag having arbitrary object values.",$ref:"#/definitions/objectFlag"}]}}},$evaluators:{title:"Evaluators",description:'Reusable targeting rules that can be referenced with "$ref": "myRule" in multiple flags.',type:"object",additionalProperties:!1,patternProperties:{"^.{1,}$":{$comment:"this relative ref means that targeting.json MUST be in the same dir, or available on the same HTTP path",$ref:"./targeting.json"}}}},XO={flag:{$comment:"base flag object; no title/description here, allows for better UX, keep it in the overrides",type:"object",properties:{state:{title:"Flag State",description:"Indicates whether the flag is functional. Disabled flags are treated as if they don't exist.",type:"string",enum:["ENABLED","DISABLED"]},defaultVariant:{title:"Default Variant",description:"The variant to serve if no dynamic targeting applies (including if the targeting returns null).",type:"string"},targeting:{$ref:"./targeting.json"}},required:["state","defaultVariant"]},booleanVariants:{type:"object",properties:{variants:{type:"object",additionalProperties:!1,patternProperties:{"^.{1,}$":{type:"boolean"}},default:{true:!0,false:!1}}}},stringVariants:{type:"object",properties:{variants:{type:"object",additionalProperties:!1,patternProperties:{"^.{1,}$":{type:"string"}}}}},numberVariants:{type:"object",properties:{variants:{type:"object",additionalProperties:!1,patternProperties:{"^.{1,}$":{type:"number"}}}}},objectVariants:{type:"object",properties:{variants:{type:"object",additionalProperties:!1,patternProperties:{"^.{1,}$":{type:"object"}}}}},booleanFlag:{$comment:"merge the variants with the base flag to build our typed flags",allOf:[{$ref:"#/definitions/flag"},{$ref:"#/definitions/booleanVariants"}]},stringFlag:{allOf:[{$ref:"#/definitions/flag"},{$ref:"#/definitions/stringVariants"}]},numberFlag:{allOf:[{$ref:"#/definitions/flag"},{$ref:"#/definitions/numberVariants"}]},objectFlag:{allOf:[{$ref:"#/definitions/flag"},{$ref:"#/definitions/objectVariants"}]}},JO={$id:KO,$schema:GO,title:WO,description:qO,type:YO,properties:QO,definitions:XO},ZO="https://flagd.dev/schema/v0/targeting.json",eN="http://json-schema.org/draft-07/schema#",tN="flagd Targeting",rN='Defines targeting logic for flagd; a extension of JSONLogic, including purpose-built feature-flagging operations. Note that this schema applies to top-level objects; no additional properties are supported, including "$schema", which means built-in JSON-schema support is not possible in editors. Please use flags.json (which imports this schema) for a rich editor experience.',nN="object",iN=[{$comment:"we need this to support empty targeting",type:"object",additionalProperties:!1,properties:{}},{$ref:"#/definitions/anyRule"}],oN={primitive:{oneOf:[{description:'When returned from rules, a null value "exits", the targeting, and the "defaultValue" is returned, with the reason indicating the targeting did not match.',type:"null"},{description:'When returned from rules, booleans are converted to strings ("true"/"false"), and used to as keys to retrieve the associated value from the "variants" object. Be sure that the returned string is present as a key in the variants!',type:"boolean"},{description:"When returned from rules, the behavior of numbers is not defined.",type:"number"},{description:'When returned from rules, strings are used to as keys to retrieve the associated value from the "variants" object. Be sure that the returned string is present as a key in the variants!.',type:"string"},{description:'When returned from rules, strings are used to as keys to retrieve the associated value from the "variants" object. Be sure that the returned string is present as a key in the variants!.',type:"array"}]},varRule:{title:"Var Operation",description:"Retrieve data from the provided data object.",type:"object",additionalProperties:!1,properties:{var:{anyOf:[{type:"string",description:'flagd automatically injects "$flagd.timestamp" (unix epoch) and "$flagd.flagKey" (the key of the flag in evaluation) into the context.',pattern:"^\\$flagd\\.((timestamp)|(flagKey))$"},{not:{$comment:'this is a negated (not) match of "$flagd.{some-key}", which is faster and more compatible that a negative lookahead regex',type:"string",description:'flagd automatically injects "$flagd.timestamp" (unix epoch) and "$flagd.flagKey" (the key of the flag in evaluation) into the context.',pattern:"^\\$flagd\\..*$"}},{type:"array",$comment:"this is to support the form of var with a default... there seems to be a bug here, where ajv gives a warning (not an error) because maxItems doesn't equal the number of entries in items, though this is valid in this case",minItems:1,items:[{type:"string"}],additionalItems:{anyOf:[{type:"null"},{type:"boolean"},{type:"string"},{type:"number"}]}}]}}},missingRule:{title:"Missing Operation",description:"Takes an array of data keys to search for (same format as var). Returns an array of any keys that are missing from the data object, or an empty array.",type:"object",additionalProperties:!1,properties:{missing:{type:"array",items:{type:"string"}}}},missingSomeRule:{title:"Missing-Some Operation",description:"Takes a minimum number of data keys that are required, and an array of keys to search for (same format as var or missing). Returns an empty array if the minimum is met, or an array of the missing keys otherwise.",type:"object",additionalProperties:!1,properties:{missing_some:{minItems:2,maxItems:2,type:"array",items:[{type:"number"},{type:"array",items:{type:"string"}}]}}},binaryOrTernaryOp:{type:"array",minItems:2,maxItems:3,items:{$ref:"#/definitions/args"}},binaryOrTernaryRule:{type:"object",additionalProperties:!1,properties:{substr:{title:"Substring Operation",description:"Get a portion of a string. Give a positive start position to return everything beginning at that index. Give a negative start position to work backwards from the end of the string, then return everything. Give a positive length to express how many characters to return.",$ref:"#/definitions/binaryOrTernaryOp"},"<":{title:"Less-Than/Between Operation. Can be used to test that one value is between two others.",$ref:"#/definitions/binaryOrTernaryOp"},"<=":{title:"Less-Than-Or-Equal-To/Between Operation. Can be used to test that one value is between two others.",$ref:"#/definitions/binaryOrTernaryOp"}}},binaryOp:{type:"array",minItems:2,maxItems:2,items:{$ref:"#/definitions/args"}},binaryRule:{title:"Binary Operation",description:"Any primitive JSONLogic operation with 2 operands.",type:"object",additionalProperties:!1,properties:{if:{title:"If Operator",description:'The if statement takes 1 or more arguments: a condition ("if"), what to do if its true ("then", optional, defaults to returning true), and what to do if its false ("else", optional, defaults to returning false). Note that the else condition can be used as an else-if statement by adding additional arguments.',$ref:"#/definitions/variadicOp"},"==":{title:"Lose Equality Operation",description:"Tests equality, with type coercion. Requires two arguments.",$ref:"#/definitions/binaryOp"},"===":{title:"Strict Equality Operation",description:"Tests strict equality. Requires two arguments.",$ref:"#/definitions/binaryOp"},"!=":{title:"Lose Inequality Operation",description:"Tests not-equal, with type coercion.",$ref:"#/definitions/binaryOp"},"!==":{title:"Strict Inequality Operation",description:"Tests strict not-equal.",$ref:"#/definitions/binaryOp"},">":{title:"Greater-Than Operation",$ref:"#/definitions/binaryOp"},">=":{title:"Greater-Than-Or-Equal-To Operation",$ref:"#/definitions/binaryOp"},"%":{title:"Modulo Operation",description:"Finds the remainder after the first argument is divided by the second argument.",$ref:"#/definitions/binaryOp"},"/":{title:"Division Operation",$ref:"#/definitions/binaryOp"},map:{title:"Map Operation",description:"Perform an action on every member of an array. Note, that inside the logic being used to map, var operations are relative to the array element being worked on.",$ref:"#/definitions/binaryOp"},filter:{title:"Filter Operation",description:"Keep only elements of the array that pass a test. Note, that inside the logic being used to filter, var operations are relative to the array element being worked on.",$ref:"#/definitions/binaryOp"},all:{title:"All Operation",description:"Perform a test on each member of that array, returning true if all pass. Inside the test code, var operations are relative to the array element being tested.",$ref:"#/definitions/binaryOp"},none:{title:"None Operation",description:"Perform a test on each member of that array, returning true if none pass. Inside the test code, var operations are relative to the array element being tested.",$ref:"#/definitions/binaryOp"},some:{title:"Some Operation",description:"Perform a test on each member of that array, returning true if some pass. Inside the test code, var operations are relative to the array element being tested.",$ref:"#/definitions/binaryOp"},in:{title:"In Operation",description:"If the second argument is an array, tests that the first argument is a member of the array.",$ref:"#/definitions/binaryOp"}}},reduceRule:{type:"object",additionalProperties:!1,properties:{reduce:{title:"Reduce Operation",description:'Combine all the elements in an array into a single value, like adding up a list of numbers. Note, that inside the logic being used to reduce, var operations only have access to an object with a "current" and a "accumulator".',type:"array",minItems:3,maxItems:3,items:{$ref:"#/definitions/args"}}}},associativeOp:{type:"array",minItems:2,items:{$ref:"#/definitions/args"}},associativeRule:{title:"Mathematically Associative Operation",description:"Operation applicable to 2 or more parameters.",type:"object",additionalProperties:!1,properties:{"*":{title:"Multiplication Operation",description:"Multiplication; associative, will accept and unlimited amount of arguments.",$ref:"#/definitions/associativeOp"}}},unaryOp:{anyOf:[{type:"array",minItems:1,maxItems:1,items:{$ref:"#/definitions/args"}},{$ref:"#/definitions/args"}]},unaryRule:{title:"Unary Operation",description:"Any primitive JSONLogic operation with 1 operands.",type:"object",additionalProperties:!1,properties:{"!":{title:"Negation Operation",description:"Logical negation (“not”). Takes just one argument.",$ref:"#/definitions/unaryOp"},"!!":{title:"Double Negation Operation",description:"Double negation, or 'cast to a boolean'. Takes a single argument.",$ref:"#/definitions/unaryOp"}}},variadicOp:{type:"array",minItems:1,items:{$ref:"#/definitions/args"}},variadicRule:{$comment:"note < and <= can be used with up to 3 ops (between)",type:"object",additionalProperties:!1,properties:{or:{title:"Or Operation",description:'Simple boolean test, with 1 or more arguments. At a more sophisticated level, "or" returns the first truthy argument, or the last argument.',$ref:"#/definitions/variadicOp"},and:{title:"",description:'Simple boolean test, with 1 or more arguments. At a more sophisticated level, "and" returns the first falsy argument, or the last argument.',$ref:"#/definitions/variadicOp"},"+":{title:"Addition Operation",description:"Addition; associative, will accept and unlimited amount of arguments.",$ref:"#/definitions/variadicOp"},"-":{title:"Subtraction Operation",$ref:"#/definitions/variadicOp"},max:{title:"Maximum Operation",description:"Return the maximum from a list of values.",$ref:"#/definitions/variadicOp"},min:{title:"Minimum Operation",description:"Return the minimum from a list of values.",$ref:"#/definitions/variadicOp"},merge:{title:"Merge Operation",description:"Takes one or more arrays, and merges them into one array. If arguments aren't arrays, they get cast to arrays.",$ref:"#/definitions/variadicOp"},cat:{title:"Concatenate Operation",description:"Concatenate all the supplied arguments. Note that this is not a join or implode operation, there is no “glue” string.",$ref:"#/definitions/variadicOp"}}},stringCompareArg:{oneOf:[{type:"string"},{$ref:"#/definitions/anyRule"}]},stringCompareArgs:{type:"array",minItems:2,maxItems:2,items:{$ref:"#/definitions/stringCompareArg"}},stringCompareRule:{type:"object",additionalProperties:!1,properties:{starts_with:{title:"Starts-With Operation",description:"The string attribute starts with the specified string value.",$ref:"#/definitions/stringCompareArgs"},ends_with:{title:"Ends-With Operation",description:"The string attribute ends with the specified string value.",$ref:"#/definitions/stringCompareArgs"}}},semVerString:{title:"Semantic Version String",description:"A string representing a valid semantic version expression as per https://semver.org/.",type:"string",pattern:"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$"},ruleSemVer:{type:"object",additionalProperties:!1,properties:{sem_ver:{title:"Semantic Version Operation",description:'Attribute matches a semantic version condition. Accepts "npm-style" range specifiers: "=", "!=", ">", "<", ">=", "<=", "~" (match minor version), "^" (match major version).',type:"array",minItems:3,maxItems:3,items:[{oneOf:[{$ref:"#/definitions/semVerString"},{$ref:"#/definitions/varRule"}]},{description:'Range specifiers: "=", "!=", ">", "<", ">=", "<=", "~" (match minor version), "^" (match major version).',enum:["=","!=",">","<",">=","<=","~","^"]},{oneOf:[{$ref:"#/definitions/semVerString"},{$ref:"#/definitions/varRule"}]}]}}},fractionalWeightArg:{$comment:'if we remove the "sum to 100" restriction, update the descriptions below!',description:"Distribution for all possible variants, with their associated weighting out of 100.",type:"array",minItems:1,maxItems:2,items:[{description:'If this bucket is randomly selected, this string is used to as a key to retrieve the associated value from the "variants" object.',type:"string"},{description:"Weighted distribution for this variant key (must sum to 100).",type:"number"}]},fractionalOp:{type:"array",minItems:3,$comment:"there seems to be a bug here, where ajv gives a warning (not an error) because maxItems doesn't equal the number of entries in items, though this is valid in this case",items:[{description:"Bucketing value used in pseudorandom assignment; should be unique and stable for each subject of flag evaluation. Defaults to a concatenation of the flagKey and targetingKey.",$ref:"#/definitions/anyRule"},{$ref:"#/definitions/fractionalWeightArg"},{$ref:"#/definitions/fractionalWeightArg"}],additionalItems:{$ref:"#/definitions/fractionalWeightArg"}},fractionalShorthandOp:{type:"array",minItems:2,items:{$ref:"#/definitions/fractionalWeightArg"}},fractionalRule:{type:"object",additionalProperties:!1,properties:{fractional:{title:"Fractional Operation",description:"Deterministic, pseudorandom fractional distribution.",oneOf:[{$ref:"#/definitions/fractionalOp"},{$ref:"#/definitions/fractionalShorthandOp"}]}}},reference:{additionalProperties:!1,type:"object",$comment:"patternProperties here is a bit of a hack to prevent this definition from being dereferenced early.",patternProperties:{"^\\$ref$":{title:"Reference",description:"A reference to another entity, used for $evaluators (shared rules).",type:"string"}}},args:{oneOf:[{$ref:"#/definitions/reference"},{$ref:"#/definitions/anyRule"},{$ref:"#/definitions/primitive"}]},anyRule:{anyOf:[{$ref:"#/definitions/varRule"},{$ref:"#/definitions/missingRule"},{$ref:"#/definitions/missingSomeRule"},{$ref:"#/definitions/binaryRule"},{$ref:"#/definitions/binaryOrTernaryRule"},{$ref:"#/definitions/associativeRule"},{$ref:"#/definitions/unaryRule"},{$ref:"#/definitions/variadicRule"},{$ref:"#/definitions/reduceRule"},{$ref:"#/definitions/stringCompareRule"},{$ref:"#/definitions/ruleSemVer"},{$ref:"#/definitions/fractionalRule"}]}},sN={$id:ZO,$schema:eN,title:tN,description:rN,type:nN,anyOf:iN,definitions:oN};class aN{constructor(t){this._state=t.state,this._defaultVariant=t.defaultVariant,this._variants=new Map(Object.entries(t.variants)),this._targeting=t.targeting,this._hash=w_.sha1(t),this.validateStructure()}get hash(){return this._hash}get state(){return this._state}get defaultVariant(){return this._defaultVariant}get targeting(){return this._targeting}get variants(){return this._variants}validateStructure(){if(this._state!=="ENABLED"&&this._state!=="DISABLED")throw new Cn(`Invalid flag state: ${JSON.stringify(this._state,void 0,2)}`);if(this._defaultVariant===void 0)throw new Cn(`Invalid flag defaultVariant: ${JSON.stringify(this._defaultVariant,void 0,2)}`);if(!this._variants.has(this._defaultVariant))throw new Cn(`Default variant ${this._defaultVariant} missing from variants ${JSON.stringify(this._variants,void 0,2)}`)}}const lN=new v_({strict:!1}),ap=lN.addSchema(sN).compile(JO),uN="$evaluators",cN=new RegExp("^[^{]*\\{|}[^}]*$","g"),lp="invalid flagd flag configuration";function fN(e,t,r){try{const n=dN(e),i=JSON.parse(n);if(!ap(i)){const a=`${lp}: ${JSON.stringify(ap.errors,void 0,2)}`;if(r==null||r.warn(a),t)throw new Cn(a)}const s=new Map;for(const a in i.flags)s.set(a,new aN(i.flags[a]));return s}catch(n){throw n instanceof Cn?n:new Cn(lp)}}function dN(e){const t=JSON.parse(e)[uN];if(!t)return e;let r=e;for(const n in t){const i=JSON.stringify(t[n]).replaceAll(cN,""),o=new RegExp('"\\$ref":(\\s)*"'+n+'"',"g");r=r.replaceAll(o,i)}return r}class ky{constructor(t){this.logger=t,this._flags=new Map}getFlag(t){return this._flags.get(t)}getFlags(){return this._flags}setConfigurations(t){const r=fN(t,!1,this.logger),n=this._flags,i=[],o=[],s=[];return r.forEach((a,l)=>{var f;n.has(l)?((f=n.get(l))===null||f===void 0?void 0:f.hash)!==a.hash&&s.push(l):i.push(l)}),n.forEach((a,l)=>{r.has(l)||o.push(l)}),this._flags=r,[...i,...o,...s]}}const rc="starts_with",nc="ends_with";function hN(e){function t(i){return n(rc,i)}function r(i){return n(nc,i)}function n(i,o){if(!Array.isArray(o))return e.debug("Invalid comparison configuration: input is not an array"),!1;if(o.length!=2)return e.debug(`Invalid comparison configuration: invalid array length ${o.length}`),!1;if(typeof o[0]!="string"||typeof o[1]!="string")return e.debug("Invalid comparison configuration: array values are not strings"),!1;switch(i){case rc:return o[0].startsWith(o[1]);case nc:return o[0].endsWith(o[1]);default:return e.debug(`Invalid comparison configuration: Invalid method '${i}'`),!1}}return{startsWithHandler:t,endsWithHandler:r}}const Ws="sem_ver";function pN(e){return function(r){if(!Array.isArray(r))return e.debug(`Invalid ${Ws} configuration: Expected an array`),!1;const n=Array.from(r);if(n.length!=3)return e.debug(`Invalid ${Ws} configuration: Expected 3 arguments, got ${n.length}`),!1;const i=Bl.parse(n[0]),o=Bl.parse(n[2]);if(!i||!o)return e.debug(`Invalid ${Ws} configuration: Unable to parse semver`),!1;const s=String(n[1]),a=Bl.compare(i,o);switch(s){case"=":return a==0;case"!=":return a!=0;case"<":return a<0;case"<=":return a<=0;case">=":return a>=0;case">":return a>0;case"^":return i.major==o.major;case"~":return i.major==o.major&&i.minor==o.minor}return!1}}const qs="$flagd",Ty="flagKey",mN="timestamp",gN="targetingKey",ic="fractional";function yN(e){return function(r,n){if(!Array.isArray(r))return null;const i=Array.from(r);if(i.length<2)return e.debug(`Invalid ${ic} configuration: Expected at least 2 buckets, got ${i.length}`),null;const o=n[qs];if(!o)return e.debug("Missing flagd properties, cannot perform fractional targeting"),null;let s,a;if(typeof i[0]=="string")s=i[0],a=i.slice(1,i.length);else{if(s=`${o[Ty]}${n[gN]}`,!s)return e.debug("Missing targetingKey property, cannot perform fractional targeting"),null;a=i}let l;try{l=wN(a)}catch(N){return e.debug(`Invalid ${ic} configuration: `,N.message),null}const f=new HO(s).result()|0,d=Math.abs(f)/2147483648*100;let m=0;for(let N=0;N=d)return S.variant}return null}}function vN(e,t){return t==0?0:t*100/e}function wN(e){const t=[];let r=0;for(let n=0;n2)throw new Error("Invalid bucketing entry. Requires at least a variant");if(typeof i[0]!="string")throw new Error("Bucketing require variant to be present in string format");let o=1;if(i.length>=2){if(typeof i[1]!="number")throw new Error("Bucketing require bucketing percentage to be present");o=i[1]}t.push({fraction:o,variant:i[0]}),r+=o}return{fractions:t,totalWeight:r}}class $N{constructor(t){this.logger=t;const r=new H_,{endsWithHandler:n,startsWithHandler:i}=hN(t);r.addMethod(rc,i),r.addMethod(nc,n),r.addMethod(Ws,pN(t)),r.addMethod(ic,yN(t)),this._logicEngine=r}applyTargeting(t,r,n){Object.hasOwn(n,qs)&&this.logger.warn(`overwriting ${qs} property in the context`);const i=Object.assign(Object.assign({},n),{[qs]:{[Ty]:t,[mN]:Math.floor(Date.now()/1e3)}});return this._logicEngine.run(r,i)}}class EN{constructor(t,r){this._storage=t||new ky(r),this._logger=r?new gh(r):new Dg,this._targeting=new $N(this._logger)}setLogger(t){return this._logger=new gh(t),this}setConfigurations(t){return this._storage.setConfigurations(t)}getFlag(t){return this._storage.getFlag(t)}getFlags(){return this._storage.getFlags()}resolveBooleanEvaluation(t,r,n,i){return this.resolve("boolean",t,r,n,i)}resolveStringEvaluation(t,r,n,i){return this.resolve("string",t,r,n,i)}resolveNumberEvaluation(t,r,n,i){return this.resolve("number",t,r,n,i)}resolveObjectEvaluation(t,r,n,i){return this.resolve("object",t,r,n,i)}resolve(t,r,n,i={},o){o??(o=this._logger);const s=this._storage.getFlag(r);if(!s)throw new Uu(`flag: '${r}' not found`);if(s.state==="DISABLED")throw new Uu(`flag: '${r}' is disabled`);let a,l;if(!s.targeting||Object.keys(s.targeting).length===0)o.debug(`Flag ${r} has no targeting rules`),a=s.defaultVariant,l=Cl.STATIC;else{let d;try{d=this._targeting.applyTargeting(r,s.targeting,i)}catch(m){throw new Vu(`Error evaluating targeting rule for flag ${r}: ${m==null?void 0:m.message}`)}d==null?(a=s.defaultVariant,l=Cl.DEFAULT):(a=d.toString(),l=Cl.TARGETING_MATCH)}if(typeof a!="string")throw new zu("Variant must be a string, but found "+typeof a);const f=s.variants.get(a);if(f===void 0)throw new Vu(`Variant ${a} not found in flag with key ${r}`);if(typeof f!==t)throw new zu(`Evaluated type of the flag ${r} does not match. Expected ${t}, got ${typeof f}`);return{value:f,reason:l,variant:a}}}const _N={$schema:"https://flagd.dev/schema/v0/flags.json"};function Ay(e){return JSON.stringify(JSON.parse(e),null,2)}function Pt(e){return Ay(JSON.stringify({..._N,...e}))}function It(e){return Ay(JSON.stringify(e))}function up(e){return typeof e=="function"?e():e}function SN(e){try{return JSON.parse(e),!0}catch{return!1}}const ON={description:["In this scenario, we have a feature flag with the key 'basic-boolean' that is enabled and has two variants: true and false.","The default variant is false. Try changing the 'defaultVariant' to 'true' or add a targeting rule."].join(" "),flagDefinition:Pt({flags:{"basic-boolean":{state:"ENABLED",defaultVariant:"false",variants:{true:!0,false:!1},targeting:{}}}}),flagKey:"basic-boolean",returnType:"boolean",context:It({})},NN={description:['In this scenario, we have a feature flag with the key "basic-number" that is enabled and has two variants: 1 and 2.','The default variant is 1. Try changing the "defaultVariant" to "2" or add a targeting rule.'].join(" "),flagDefinition:Pt({flags:{"basic-number":{state:"ENABLED",defaultVariant:"1",variants:{1:1,2:2},targeting:{}}}}),flagKey:"basic-number",returnType:"number",context:It({})},PN={description:['In this scenario, we have a feature flag with the key "basic-object" that is enabled and has two variants: foo and bar.','The default variant is foo. Try changing the "defaultVariant" to "bar" or add a targeting rule.'].join(" "),flagDefinition:Pt({flags:{"basic-object":{state:"ENABLED",defaultVariant:"foo",variants:{foo:{foo:"foo"},bar:{bar:"bar"}},targeting:{}}}}),flagKey:"basic-object",returnType:"object",context:It({})},IN={description:['In this scenario, we have a feature flag with the key "basic-string" that is enabled and has two variants: foo and bar.','The default variant is foo. Try changing the "defaultVariant" to "bar" or add a targeting rule.'].join(" "),flagDefinition:Pt({flags:{"basic-string":{state:"ENABLED",defaultVariant:"foo",variants:{foo:"foo",bar:"bar"},targeting:{}}}}),flagKey:"basic-string",returnType:"string",context:It({})},CN={description:["In this scenario, we have a feature flag with a targeting rule that returns true when the age is 18 or greater.","This targeting rule leverages the boolean shorthand syntax, which converts a boolean to its string equivalent.","The converted value is then used as the variant key.","Try changing the value of the context attribute 'age'."].join(" "),flagDefinition:Pt({flags:{"feature-1":{state:"ENABLED",defaultVariant:"false",variants:{true:!0,false:!1},targeting:{">=":[{var:"age"},18]}}}}),flagKey:"feature-1",returnType:"boolean",context:It({age:20})},kN={description:["In this scenario, we have a feature flag with the key 'acceptable-feature-stability' with three variants: alpha, beta, and ga.","The flag has a targeting rule that enables the flag based on the customer ID.","The flag is enabled for customer-A in the alpha variant, for customer-B1 and customer-B2 in the beta variant, and for all other customers in the ga variant.","Experiment by changing the 'customerId' in the context."].join(" "),flagDefinition:Pt({flags:{"acceptable-feature-stability":{state:"ENABLED",defaultVariant:"ga",variants:{alpha:"alpha",beta:"beta",ga:"ga"},targeting:{if:[{"===":[{var:"customerId"},"customer-A"]},"alpha",{in:[{var:"customerId"},["customer-B1","customer-B2"]]},"beta","ga"]}}}}),flagKey:"acceptable-feature-stability",returnType:"string",context:It({targetingKey:"sessionId-123",customerId:"customer-A"})},TN={description:['In this scenario, we have a feature flag with the key "enable-mainframe-access" that is enabled and has two variants: true and false.','This flag has a targeting rule defined that enables the flag for users with an email address that ends with "@ingen.com".',"Experiment with changing the email address in the context or in the targeting rule."].join(" "),flagDefinition:Pt({flags:{"enable-mainframe-access":{state:"ENABLED",defaultVariant:"false",variants:{true:!0,false:!1},targeting:{if:[{ends_with:[{var:"email"},"@ingen.com"]},"true"]}}}}),flagKey:"enable-mainframe-access",returnType:"boolean",context:It({email:"john.arnold@ingen.com"})},AN={description:['In this scenario, we have a feature flag with the key "supports-one-hour-delivery" that is enabled and has two variants: true and false.','This flag has a targeting rule defined that enables the flag for users with a locale of "us" or "ca".',"Experiment with changing the locale in the context or in the locale list in the targeting rule."].join(" "),flagDefinition:Pt({flags:{"supports-one-hour-delivery":{state:"ENABLED",defaultVariant:"false",variants:{true:!0,false:!1},targeting:{if:[{in:[{var:"locale"},["us","ca"]]},"true"]}}}}),context:It({locale:"us"}),flagKey:"supports-one-hour-delivery",returnType:"boolean"},RN={description:['In this scenario, we have a feature flag with the key "enable-announcement-banner" that is enabled and has two variants: true and false.',"This flag has a targeting rule defined that enables the flag after a specified time.",'The current time (epoch) can be accessed using "$flagd.timestamp" which is automatically provided by flagd.','Five seconds after loading this scenario, the response will change to "true".'].join(" "),flagDefinition:()=>Pt({flags:{"enable-announcement-banner":{state:"ENABLED",defaultVariant:"false",variants:{true:!0,false:!1},targeting:{if:[{">":[{var:"$flagd.timestamp"},Math.floor(Date.now()/1e3)+5]},"true"]}}}}),flagKey:"enable-announcement-banner",returnType:"boolean",context:()=>It({})},jN={description:['In this scenario, we have a feature flag with the key "enable-performance-mode" that is enabled and has two variants: true and false.','This rule looks for the evaluation context "version". If the version is greater or equal to "1.7.0" the feature is enabled.','Otherwise, the "defaultVariant" is return. Experiment by changing the version in the context.'].join(" "),flagDefinition:Pt({flags:{"enable-performance-mode":{state:"ENABLED",defaultVariant:"false",variants:{true:!0,false:!1},targeting:{if:[{sem_ver:[{var:"version"},">=","1.7.0"]},"true"]}}}}),flagKey:"enable-performance-mode",returnType:"boolean",context:It({version:"1.6.0"})},bN={description:['In this scenario, we have a feature flag with the key "color-palette-experiment" that is enabled and has four variants: red, blue, green, and grey.','The targeting rule uses the "fractional" operator, which deterministically splits the traffic based on the configuration.','This configuration splits the traffic evenly between the four variants by bucketing evaluations pseudorandomly using the "targetingKey" and feature flag key.','Experiment by changing the "targetingKey" to another value.'].join(" "),flagDefinition:Pt({flags:{"color-palette-experiment":{state:"ENABLED",defaultVariant:"grey",variants:{red:"#b91c1c",blue:"#0284c7",green:"#16a34a",grey:"#4b5563"},targeting:{fractional:[["red",25],["blue",25],["green",25],["grey",25]]}}}}),flagKey:"color-palette-experiment",returnType:"string",context:It({targetingKey:"sessionId-123"})},DN={description:['In this scenario, we have a feature flag with the key "enable-new-llm-model" with multiple variant for illustrative purposes.',"This flag has a targeting rule defined that enables the flag for a percentage of users based on the release phase.",'The "targetingKey" ensures that the user always sees the same results during a each phase of the rollout process.'].join(" "),flagDefinition:()=>{const e=Math.floor(Date.now()/1e3)+5,t=Math.floor(Date.now()/1e3)+10,r=Math.floor(Date.now()/1e3)+15,n=Math.floor(Date.now()/1e3)+20;return Pt({flags:{"enable-new-llm-model":{state:"ENABLED",defaultVariant:"disabled",variants:{disabled:!1,phase1Enabled:!0,phase1Disabled:!1,phase2Enabled:!0,phase2Disabled:!1,phase3Enabled:!0,phase3Disabled:!1,enabled:!0},targeting:{if:[{">=":[e,{var:"$flagd.timestamp"}]},"disabled",{"<=":[e,{var:"$flagd.timestamp"},t]},{fractional:[["phase1Enabled",10],["phase1Disabled",90]]},{"<=":[t,{var:"$flagd.timestamp"},r]},{fractional:[["phase2Enabled",25],["phase2Disabled",75]]},{"<=":[r,{var:"$flagd.timestamp"},n]},{fractional:[["phase3Enabled",50],["phase3Disabled",50]]},"enabled"]}}}})},flagKey:"enable-new-llm-model",returnType:"boolean",context:()=>It({targetingKey:"sessionId-12345"})},LN={description:["In this scenario, we have two feature flags that share targeting rule logic.","This is accomplished by defining a $evaluators object in the feature flag definition and referencing it by name in a targeting rule.","Experiment with changing the email domain in the shared evaluator."].join(" "),flagDefinition:Pt({flags:{"feature-1":{state:"ENABLED",defaultVariant:"false",variants:{true:!0,false:!1},targeting:{if:[{$ref:"emailWithFaas"},"true"]}},"feature-2":{state:"ENABLED",defaultVariant:"false",variants:{true:!0,false:!1},targeting:{if:[{$ref:"emailWithFaas"},"true"]}}},$evaluators:{emailWithFaas:{ends_with:[{var:"email"},"@faas.com"]}}}),flagKey:"feature-1",returnType:"boolean",context:It({email:"example@faas.com"})},xN={description:["In this scenario, we have a feature flag that is evaluated based on its targeting key.","The targeting key is contain a string uniquely identifying the subject of the flag evaluation, such as a user's email, or a session identifier.",`In this case, null is returned from targeting if the targeting key doesn't match; this results in a reason of "DEFAULT", since no variant was matched by the targeting rule.`].join(" "),flagDefinition:Pt({flags:{"targeting-key-flag":{state:"ENABLED",variants:{miss:"miss",hit:"hit"},defaultVariant:"miss",targeting:{if:[{"==":[{var:"targetingKey"},"5c3d8535-f81a-4478-a6d3-afaa4d51199e"]},"hit",null]}}}}),flagKey:"targeting-key-flag",returnType:"string",context:It({targetingKey:"5c3d8535-f81a-4478-a6d3-afaa4d51199e"})},Wt={"Basic boolean flag":ON,"Basic numeric flag":NN,"Basic string flag":IN,"Basic object flag":PN,"Enable for a specific email domain":TN,"Enable based on users locale":AN,"Enable based on release version":jN,"Enable based on the current time":RN,"Chainable if/else/then":kN,"Multi-variant experiment":bN,"Progressive rollout":DN,"Shared evaluators":LN,"Boolean variant shorthand":CN,"Targeting key":xN};function MN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function fp(e){for(var t=1;t=0)&&(r[i]=e[i]);return r}function VN(e,t){if(e==null)return{};var r=FN(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function UN(e,t){return zN(e)||BN(e,t)||HN(e,t)||KN()}function zN(e){if(Array.isArray(e))return e}function BN(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,i=!1,o=void 0;try{for(var s=e[Symbol.iterator](),a;!(n=(a=s.next()).done)&&(r.push(a.value),!(t&&r.length===t));n=!0);}catch(l){i=!0,o=l}finally{try{!n&&s.return!=null&&s.return()}finally{if(i)throw o}}return r}}function HN(e,t){if(e){if(typeof e=="string")return dp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return dp(e,t)}}function dp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?e.apply(this,i):function(){for(var s=arguments.length,a=new Array(s),l=0;l1&&arguments[1]!==void 0?arguments[1]:{};ks.initial(e),ks.handler(t);var r={current:e},n=Zi(oP)(r,t),i=Zi(iP)(r),o=Zi(ks.changes)(e),s=Zi(nP)(r);function a(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(d){return d};return ks.selector(f),f(r.current)}function l(f){WN(n,i,o,s)(f)}return[a,l]}function nP(e,t){return xo(t)?t(e.current):t}function iP(e,t){return e.current=pp(pp({},e.current),t),t}function oP(e,t,r){return xo(t)?t(e.current):Object.keys(r).forEach(function(n){var i;return(i=t[n])===null||i===void 0?void 0:i.call(t,e.current[n])}),r}var sP={create:rP},aP={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.43.0/min/vs"}};function lP(e){return function t(){for(var r=this,n=arguments.length,i=new Array(n),o=0;o=e.length?e.apply(this,i):function(){for(var s=arguments.length,a=new Array(s),l=0;l0&&o.hash(n),o!==this)return o}r.prototype.hash=function(n){var i,o,s,a,l;switch(l=n.length,this.len+=l,o=this.k1,s=0,this.rem){case 0:o^=l>s?n.charCodeAt(s++)&65535:0;case 1:o^=l>s?(n.charCodeAt(s++)&65535)<<8:0;case 2:o^=l>s?(n.charCodeAt(s++)&65535)<<16:0;case 3:o^=l>s?(n.charCodeAt(s)&255)<<24:0,o^=l>s?(n.charCodeAt(s++)&65280)>>8:0}if(this.rem=l+this.rem&3,l-=this.rem,l>0){for(i=this.h1;o=o*11601+(o&65535)*3432906752&4294967295,o=o<<15|o>>>17,o=o*13715+(o&65535)*461832192&4294967295,i^=o,i=i<<13|i>>>19,i=i*5+3864292196&4294967295,!(s>=l);)o=n.charCodeAt(s++)&65535^(n.charCodeAt(s++)&65535)<<8^(n.charCodeAt(s++)&65535)<<16,a=n.charCodeAt(s++),o^=(a&255)<<24^(a&65280)>>8;switch(o=0,this.rem){case 3:o^=(n.charCodeAt(s+2)&65535)<<16;case 2:o^=(n.charCodeAt(s+1)&65535)<<8;case 1:o^=n.charCodeAt(s)&65535}this.h1=i}return this.k1=o,this},r.prototype.result=function(){var n,i;return n=this.k1,i=this.h1,n>0&&(n=n*11601+(n&65535)*3432906752&4294967295,n=n<<15|n>>>17,n=n*13715+(n&65535)*461832192&4294967295,i^=n),i^=this.len,i^=i>>>16,i=i*51819+(i&65535)*2246770688&4294967295,i^=i>>>13,i=i*44597+(i&65535)*3266445312&4294967295,i^=i>>>16,i>>>0},r.prototype.reset=function(n){return this.h1=typeof n=="number"?n:0,this.rem=this.k1=this.len=0,this},t=new r,e.exports=r})()})(Py);var BO=Py.exports;const HO=oc(BO);var KO="https://flagd.dev/schema/v0/flags.json",GO="http://json-schema.org/draft-07/schema#",WO="flagd Flag Configuration",qO="Defines flags for use in flagd, including typed variants and rules",YO="object",QO={flags:{title:"Flags",description:"Top-level flags object. All flags are defined here.",type:"object",$comment:"flag objects are one of the 4 flag types defined in definitions",additionalProperties:!1,patternProperties:{"^.{1,}$":{oneOf:[{title:"Boolean flag",description:"A flag having boolean values.",$ref:"#/definitions/booleanFlag"},{title:"String flag",description:"A flag having string values.",$ref:"#/definitions/stringFlag"},{title:"Numeric flag",description:"A flag having numeric values.",$ref:"#/definitions/numberFlag"},{title:"Object flag",description:"A flag having arbitrary object values.",$ref:"#/definitions/objectFlag"}]}}},$evaluators:{title:"Evaluators",description:'Reusable targeting rules that can be referenced with "$ref": "myRule" in multiple flags.',type:"object",additionalProperties:!1,patternProperties:{"^.{1,}$":{$comment:"this relative ref means that targeting.json MUST be in the same dir, or available on the same HTTP path",$ref:"./targeting.json#/definitions/targeting"}}}},XO={flag:{$comment:"base flag object; no title/description here, allows for better UX, keep it in the overrides",type:"object",properties:{state:{title:"Flag State",description:"Indicates whether the flag is functional. Disabled flags are treated as if they don't exist.",type:"string",enum:["ENABLED","DISABLED"]},defaultVariant:{title:"Default Variant",description:"The variant to serve if no dynamic targeting applies (including if the targeting returns null).",type:"string"},targeting:{$ref:"./targeting.json#/definitions/targeting"}},required:["state","defaultVariant"]},booleanVariants:{type:"object",properties:{variants:{type:"object",additionalProperties:!1,patternProperties:{"^.{1,}$":{type:"boolean"}},default:{true:!0,false:!1}}}},stringVariants:{type:"object",properties:{variants:{type:"object",additionalProperties:!1,patternProperties:{"^.{1,}$":{type:"string"}}}}},numberVariants:{type:"object",properties:{variants:{type:"object",additionalProperties:!1,patternProperties:{"^.{1,}$":{type:"number"}}}}},objectVariants:{type:"object",properties:{variants:{type:"object",additionalProperties:!1,patternProperties:{"^.{1,}$":{type:"object"}}}}},booleanFlag:{$comment:"merge the variants with the base flag to build our typed flags",allOf:[{$ref:"#/definitions/flag"},{$ref:"#/definitions/booleanVariants"}]},stringFlag:{allOf:[{$ref:"#/definitions/flag"},{$ref:"#/definitions/stringVariants"}]},numberFlag:{allOf:[{$ref:"#/definitions/flag"},{$ref:"#/definitions/numberVariants"}]},objectFlag:{allOf:[{$ref:"#/definitions/flag"},{$ref:"#/definitions/objectVariants"}]}},JO={$id:KO,$schema:GO,title:WO,description:qO,type:YO,properties:QO,definitions:XO},ZO="https://flagd.dev/schema/v0/targeting.json",eN="http://json-schema.org/draft-07/schema#",tN="flagd Targeting",rN="Defines targeting logic for flagd; a extension of JSONLogic, including purpose-built feature-flagging operations.",nN="object",iN={targeting:{title:"Targeting",description:"An expression returning a value which is coerced to a string to be used as a targeting key, or null (to fall back to defaultVariant). If targeting returns a value which is not a variant key, it's considered an error.",anyOf:[{$comment:"we need this to support empty targeting",type:"object",additionalProperties:!1,properties:{}},{$ref:"#/definitions/anyRule"}]},primitive:{oneOf:[{description:'When returned from rules, a null value "exits", the targeting, and the "defaultValue" is returned, with the reason indicating the targeting did not match.',type:"null"},{description:'When returned from rules, booleans are converted to strings ("true"/"false"), and used to as keys to retrieve the associated value from the "variants" object. Be sure that the returned string is present as a key in the variants!',type:"boolean"},{description:"When returned from rules, the behavior of numbers is not defined.",type:"number"},{description:'When returned from rules, strings are used to as keys to retrieve the associated value from the "variants" object. Be sure that the returned string is present as a key in the variants!.',type:"string"},{description:'When returned from rules, strings are used to as keys to retrieve the associated value from the "variants" object. Be sure that the returned string is present as a key in the variants!.',type:"array"}]},varRule:{title:"Var Operation",description:"Retrieve data from the provided data object.",type:"object",additionalProperties:!1,properties:{var:{anyOf:[{type:"string",description:'flagd automatically injects "$flagd.timestamp" (unix epoch) and "$flagd.flagKey" (the key of the flag in evaluation) into the context.',pattern:"^\\$flagd\\.((timestamp)|(flagKey))$"},{not:{$comment:'this is a negated (not) match of "$flagd.{some-key}", which is faster and more compatible that a negative lookahead regex',type:"string",description:'flagd automatically injects "$flagd.timestamp" (unix epoch) and "$flagd.flagKey" (the key of the flag in evaluation) into the context.',pattern:"^\\$flagd\\..*$"}},{type:"array",$comment:"this is to support the form of var with a default... there seems to be a bug here, where ajv gives a warning (not an error) because maxItems doesn't equal the number of entries in items, though this is valid in this case",minItems:1,items:[{type:"string"}],additionalItems:{anyOf:[{type:"null"},{type:"boolean"},{type:"string"},{type:"number"}]}}]}}},missingRule:{title:"Missing Operation",description:"Takes an array of data keys to search for (same format as var). Returns an array of any keys that are missing from the data object, or an empty array.",type:"object",additionalProperties:!1,properties:{missing:{type:"array",items:{type:"string"}}}},missingSomeRule:{title:"Missing-Some Operation",description:"Takes a minimum number of data keys that are required, and an array of keys to search for (same format as var or missing). Returns an empty array if the minimum is met, or an array of the missing keys otherwise.",type:"object",additionalProperties:!1,properties:{missing_some:{minItems:2,maxItems:2,type:"array",items:[{type:"number"},{type:"array",items:{type:"string"}}]}}},binaryOrTernaryOp:{type:"array",minItems:2,maxItems:3,items:{$ref:"#/definitions/args"}},binaryOrTernaryRule:{type:"object",additionalProperties:!1,properties:{substr:{title:"Substring Operation",description:"Get a portion of a string. Give a positive start position to return everything beginning at that index. Give a negative start position to work backwards from the end of the string, then return everything. Give a positive length to express how many characters to return.",$ref:"#/definitions/binaryOrTernaryOp"},"<":{title:"Less-Than/Between Operation. Can be used to test that one value is between two others.",$ref:"#/definitions/binaryOrTernaryOp"},"<=":{title:"Less-Than-Or-Equal-To/Between Operation. Can be used to test that one value is between two others.",$ref:"#/definitions/binaryOrTernaryOp"}}},binaryOp:{type:"array",minItems:2,maxItems:2,items:{$ref:"#/definitions/args"}},binaryRule:{title:"Binary Operation",description:"Any primitive JSONLogic operation with 2 operands.",type:"object",additionalProperties:!1,properties:{if:{title:"If Operator",description:'The if statement takes 1 or more arguments: a condition ("if"), what to do if its true ("then", optional, defaults to returning true), and what to do if its false ("else", optional, defaults to returning false). Note that the else condition can be used as an else-if statement by adding additional arguments.',$ref:"#/definitions/variadicOp"},"==":{title:"Lose Equality Operation",description:"Tests equality, with type coercion. Requires two arguments.",$ref:"#/definitions/binaryOp"},"===":{title:"Strict Equality Operation",description:"Tests strict equality. Requires two arguments.",$ref:"#/definitions/binaryOp"},"!=":{title:"Lose Inequality Operation",description:"Tests not-equal, with type coercion.",$ref:"#/definitions/binaryOp"},"!==":{title:"Strict Inequality Operation",description:"Tests strict not-equal.",$ref:"#/definitions/binaryOp"},">":{title:"Greater-Than Operation",$ref:"#/definitions/binaryOp"},">=":{title:"Greater-Than-Or-Equal-To Operation",$ref:"#/definitions/binaryOp"},"%":{title:"Modulo Operation",description:"Finds the remainder after the first argument is divided by the second argument.",$ref:"#/definitions/binaryOp"},"/":{title:"Division Operation",$ref:"#/definitions/binaryOp"},map:{title:"Map Operation",description:"Perform an action on every member of an array. Note, that inside the logic being used to map, var operations are relative to the array element being worked on.",$ref:"#/definitions/binaryOp"},filter:{title:"Filter Operation",description:"Keep only elements of the array that pass a test. Note, that inside the logic being used to filter, var operations are relative to the array element being worked on.",$ref:"#/definitions/binaryOp"},all:{title:"All Operation",description:"Perform a test on each member of that array, returning true if all pass. Inside the test code, var operations are relative to the array element being tested.",$ref:"#/definitions/binaryOp"},none:{title:"None Operation",description:"Perform a test on each member of that array, returning true if none pass. Inside the test code, var operations are relative to the array element being tested.",$ref:"#/definitions/binaryOp"},some:{title:"Some Operation",description:"Perform a test on each member of that array, returning true if some pass. Inside the test code, var operations are relative to the array element being tested.",$ref:"#/definitions/binaryOp"},in:{title:"In Operation",description:"If the second argument is an array, tests that the first argument is a member of the array.",$ref:"#/definitions/binaryOp"}}},reduceRule:{type:"object",additionalProperties:!1,properties:{reduce:{title:"Reduce Operation",description:'Combine all the elements in an array into a single value, like adding up a list of numbers. Note, that inside the logic being used to reduce, var operations only have access to an object with a "current" and a "accumulator".',type:"array",minItems:3,maxItems:3,items:{$ref:"#/definitions/args"}}}},associativeOp:{type:"array",minItems:2,items:{$ref:"#/definitions/args"}},associativeRule:{title:"Mathematically Associative Operation",description:"Operation applicable to 2 or more parameters.",type:"object",additionalProperties:!1,properties:{"*":{title:"Multiplication Operation",description:"Multiplication; associative, will accept and unlimited amount of arguments.",$ref:"#/definitions/associativeOp"}}},unaryOp:{anyOf:[{type:"array",minItems:1,maxItems:1,items:{$ref:"#/definitions/args"}},{$ref:"#/definitions/args"}]},unaryRule:{title:"Unary Operation",description:"Any primitive JSONLogic operation with 1 operands.",type:"object",additionalProperties:!1,properties:{"!":{title:"Negation Operation",description:"Logical negation (“not”). Takes just one argument.",$ref:"#/definitions/unaryOp"},"!!":{title:"Double Negation Operation",description:"Double negation, or 'cast to a boolean'. Takes a single argument.",$ref:"#/definitions/unaryOp"}}},variadicOp:{type:"array",minItems:1,items:{$ref:"#/definitions/args"}},variadicRule:{$comment:"note < and <= can be used with up to 3 ops (between)",type:"object",additionalProperties:!1,properties:{or:{title:"Or Operation",description:'Simple boolean test, with 1 or more arguments. At a more sophisticated level, "or" returns the first truthy argument, or the last argument.',$ref:"#/definitions/variadicOp"},and:{title:"",description:'Simple boolean test, with 1 or more arguments. At a more sophisticated level, "and" returns the first falsy argument, or the last argument.',$ref:"#/definitions/variadicOp"},"+":{title:"Addition Operation",description:"Addition; associative, will accept and unlimited amount of arguments.",$ref:"#/definitions/variadicOp"},"-":{title:"Subtraction Operation",$ref:"#/definitions/variadicOp"},max:{title:"Maximum Operation",description:"Return the maximum from a list of values.",$ref:"#/definitions/variadicOp"},min:{title:"Minimum Operation",description:"Return the minimum from a list of values.",$ref:"#/definitions/variadicOp"},merge:{title:"Merge Operation",description:"Takes one or more arrays, and merges them into one array. If arguments aren't arrays, they get cast to arrays.",$ref:"#/definitions/variadicOp"},cat:{title:"Concatenate Operation",description:"Concatenate all the supplied arguments. Note that this is not a join or implode operation, there is no “glue” string.",$ref:"#/definitions/variadicOp"}}},stringCompareArg:{oneOf:[{type:"string"},{$ref:"#/definitions/anyRule"}]},stringCompareArgs:{type:"array",minItems:2,maxItems:2,items:{$ref:"#/definitions/stringCompareArg"}},stringCompareRule:{type:"object",additionalProperties:!1,properties:{starts_with:{title:"Starts-With Operation",description:"The string attribute starts with the specified string value.",$ref:"#/definitions/stringCompareArgs"},ends_with:{title:"Ends-With Operation",description:"The string attribute ends with the specified string value.",$ref:"#/definitions/stringCompareArgs"}}},semVerString:{title:"Semantic Version String",description:"A string representing a valid semantic version expression as per https://semver.org/.",type:"string",pattern:"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$"},ruleSemVer:{type:"object",additionalProperties:!1,properties:{sem_ver:{title:"Semantic Version Operation",description:'Attribute matches a semantic version condition. Accepts "npm-style" range specifiers: "=", "!=", ">", "<", ">=", "<=", "~" (match minor version), "^" (match major version).',type:"array",minItems:3,maxItems:3,items:[{oneOf:[{$ref:"#/definitions/semVerString"},{$ref:"#/definitions/varRule"}]},{description:'Range specifiers: "=", "!=", ">", "<", ">=", "<=", "~" (match minor version), "^" (match major version).',enum:["=","!=",">","<",">=","<=","~","^"]},{oneOf:[{$ref:"#/definitions/semVerString"},{$ref:"#/definitions/varRule"}]}]}}},fractionalWeightArg:{$comment:'if we remove the "sum to 100" restriction, update the descriptions below!',description:"Distribution for all possible variants, with their associated weighting out of 100.",type:"array",minItems:2,maxItems:2,items:[{description:'If this bucket is randomly selected, this string is used to as a key to retrieve the associated value from the "variants" object.',type:"string"},{description:"Weighted distribution for this variant key (must sum to 100).",type:"number"}]},fractionalOp:{type:"array",minItems:3,$comment:"there seems to be a bug here, where ajv gives a warning (not an error) because maxItems doesn't equal the number of entries in items, though this is valid in this case",items:[{description:"Bucketing value used in pseudorandom assignment; should be unique and stable for each subject of flag evaluation. Defaults to a concatenation of the flagKey and targetingKey.",$ref:"#/definitions/anyRule"},{$ref:"#/definitions/fractionalWeightArg"},{$ref:"#/definitions/fractionalWeightArg"}],additionalItems:{$ref:"#/definitions/fractionalWeightArg"}},fractionalShorthandOp:{type:"array",minItems:2,items:{$ref:"#/definitions/fractionalWeightArg"}},fractionalRule:{type:"object",additionalProperties:!1,properties:{fractional:{title:"Fractional Operation",description:"Deterministic, pseudorandom fractional distribution.",oneOf:[{$ref:"#/definitions/fractionalOp"},{$ref:"#/definitions/fractionalShorthandOp"}]}}},reference:{additionalProperties:!1,type:"object",$comment:"patternProperties here is a bit of a hack to prevent this definition from being dereferenced early.",patternProperties:{"^\\$ref$":{title:"Reference",description:"A reference to another entity, used for $evaluators (shared rules).",type:"string"}}},args:{oneOf:[{$ref:"#/definitions/reference"},{$ref:"#/definitions/anyRule"},{$ref:"#/definitions/primitive"}]},anyRule:{anyOf:[{$ref:"#/definitions/varRule"},{$ref:"#/definitions/missingRule"},{$ref:"#/definitions/missingSomeRule"},{$ref:"#/definitions/binaryRule"},{$ref:"#/definitions/binaryOrTernaryRule"},{$ref:"#/definitions/associativeRule"},{$ref:"#/definitions/unaryRule"},{$ref:"#/definitions/variadicRule"},{$ref:"#/definitions/reduceRule"},{$ref:"#/definitions/stringCompareRule"},{$ref:"#/definitions/ruleSemVer"},{$ref:"#/definitions/fractionalRule"}]}},oN={$id:ZO,$schema:eN,title:tN,description:rN,type:nN,definitions:iN};class sN{constructor(t){this._state=t.state,this._defaultVariant=t.defaultVariant,this._variants=new Map(Object.entries(t.variants)),this._targeting=t.targeting,this._hash=w_.sha1(t),this.validateStructure()}get hash(){return this._hash}get state(){return this._state}get defaultVariant(){return this._defaultVariant}get targeting(){return this._targeting}get variants(){return this._variants}validateStructure(){if(this._state!=="ENABLED"&&this._state!=="DISABLED")throw new fi(`Invalid flag state: ${JSON.stringify(this._state,void 0,2)}`);if(this._defaultVariant===void 0)throw new fi(`Invalid flag defaultVariant: ${JSON.stringify(this._defaultVariant,void 0,2)}`);if(!this._variants.has(this._defaultVariant))throw new fi(`Default variant ${this._defaultVariant} missing from variants ${JSON.stringify(this._variants,void 0,2)}`)}}const aN=new v_({strict:!1}),ap=aN.addSchema(oN).compile(JO),lN="$evaluators",uN=new RegExp("^[^{]*\\{|}[^}]*$","g"),lp="invalid flagd flag configuration";function cN(e,t,r){try{const n=fN(e),i=JSON.parse(n);if(!ap(i)){const a=`${lp}: ${JSON.stringify(ap.errors,void 0,2)}`;r==null||r.warn(a)}const s=new Map;for(const a in i.flags)s.set(a,new sN(i.flags[a]));return s}catch(n){throw n instanceof fi?n:new fi(lp)}}function fN(e){const t=JSON.parse(e)[lN];if(!t)return e;let r=e;for(const n in t){const i=JSON.stringify(t[n]).replaceAll(uN,""),o=new RegExp('"\\$ref":(\\s)*"'+n+'"',"g");r=r.replaceAll(o,i)}return r}class Cy{constructor(t){this.logger=t,this._flags=new Map}getFlag(t){return this._flags.get(t)}getFlags(){return this._flags}setConfigurations(t){const r=cN(t,!1,this.logger),n=this._flags,i=[],o=[],s=[];return r.forEach((a,l)=>{var f;n.has(l)?((f=n.get(l))===null||f===void 0?void 0:f.hash)!==a.hash&&s.push(l):i.push(l)}),n.forEach((a,l)=>{r.has(l)||o.push(l)}),this._flags=r,[...i,...o,...s]}}const rc="starts_with",nc="ends_with";function dN(e){function t(i){return n(rc,i)}function r(i){return n(nc,i)}function n(i,o){if(!Array.isArray(o))return e.debug("Invalid comparison configuration: input is not an array"),!1;if(o.length!=2)return e.debug(`Invalid comparison configuration: invalid array length ${o.length}`),!1;if(typeof o[0]!="string"||typeof o[1]!="string")return e.debug("Invalid comparison configuration: array values are not strings"),!1;switch(i){case rc:return o[0].startsWith(o[1]);case nc:return o[0].endsWith(o[1]);default:return e.debug(`Invalid comparison configuration: Invalid method '${i}'`),!1}}return{startsWithHandler:t,endsWithHandler:r}}const Ws="sem_ver";function hN(e){return function(r){if(!Array.isArray(r))return e.debug(`Invalid ${Ws} configuration: Expected an array`),!1;const n=Array.from(r);if(n.length!=3)return e.debug(`Invalid ${Ws} configuration: Expected 3 arguments, got ${n.length}`),!1;const i=Bl.parse(n[0]),o=Bl.parse(n[2]);if(!i||!o)return e.debug(`Invalid ${Ws} configuration: Unable to parse semver`),!1;const s=String(n[1]),a=Bl.compare(i,o);switch(s){case"=":return a==0;case"!=":return a!=0;case"<":return a<0;case"<=":return a<=0;case">=":return a>=0;case">":return a>0;case"^":return i.major==o.major;case"~":return i.major==o.major&&i.minor==o.minor}return!1}}const qs="$flagd",ky="flagKey",pN="timestamp",mN="targetingKey",ic="fractional";function gN(e){return function(r,n){if(!Array.isArray(r))return null;const i=Array.from(r);if(i.length<2)return e.debug(`Invalid ${ic} configuration: Expected at least 2 buckets, got ${i.length}`),null;const o=n[qs];if(!o)return e.debug("Missing flagd properties, cannot perform fractional targeting"),null;let s,a;if(typeof i[0]=="string")s=i[0],a=i.slice(1,i.length);else{const N=n[mN];if(!N)return e.debug("Missing targetingKey property, cannot perform fractional targeting"),null;s=`${o[ky]}${N}`,a=i}let l;try{l=vN(a)}catch(N){return e.debug(`Invalid ${ic} configuration: `,N.message),null}const f=new HO(s).result()|0,d=Math.abs(f)/2147483648*100;let m=0;for(let N=0;N=d)return S.variant}return null}}function yN(e,t){return t==0?0:t*100/e}function vN(e){const t=[];let r=0;for(let n=0;n2)throw new Error("Invalid bucketing entry. Requires at least a variant");if(typeof i[0]!="string")throw new Error("Bucketing require variant to be present in string format");let o=1;if(i.length>=2){if(typeof i[1]!="number")throw new Error("Bucketing require bucketing percentage to be present");o=i[1]}t.push({fraction:o,variant:i[0]}),r+=o}return{fractions:t,totalWeight:r}}class wN{constructor(t){this.logger=t;const r=new H_,{endsWithHandler:n,startsWithHandler:i}=dN(t);r.addMethod(rc,i),r.addMethod(nc,n),r.addMethod(Ws,hN(t)),r.addMethod(ic,gN(t)),this._logicEngine=r}applyTargeting(t,r,n){Object.hasOwn(n,qs)&&this.logger.warn(`overwriting ${qs} property in the context`);const i=Object.assign(Object.assign({},n),{[qs]:{[ky]:t,[pN]:Math.floor(Date.now()/1e3)}});return this._logicEngine.run(r,i)}}class $N{constructor(t,r){this._storage=t||new Cy(r),this._logger=r?new gh(r):new bg,this._targeting=new wN(this._logger)}setLogger(t){return this._logger=new gh(t),this}setConfigurations(t){return this._storage.setConfigurations(t)}getFlag(t){return this._storage.getFlag(t)}getFlags(){return this._storage.getFlags()}resolveBooleanEvaluation(t,r,n,i){return this.resolve("boolean",t,r,n,i)}resolveStringEvaluation(t,r,n,i){return this.resolve("string",t,r,n,i)}resolveNumberEvaluation(t,r,n,i){return this.resolve("number",t,r,n,i)}resolveObjectEvaluation(t,r,n,i){return this.resolve("object",t,r,n,i)}resolveAll(t,r){var n;const i=[];for(const[o,s]of this.getFlags())try{if(s.state==="DISABLED")continue;const a=this.evaluate(o,t,r);i.push(Object.assign(Object.assign({},a),{flagKey:o,flagMetadata:Object.freeze((n=a.flagMetadata)!==null&&n!==void 0?n:{})}))}catch(a){this._logger.error(`Error resolving flag ${o}: ${a.message}`)}return i}resolve(t,r,n,i={},o){const{value:s,reason:a,variant:l}=this.evaluate(r,i,o);if(typeof s!==t)throw new zu(`Evaluated type of the flag ${r} does not match. Expected ${t}, got ${typeof s}`);return{value:s,reason:a,variant:l}}evaluate(t,r={},n){n??(n=this._logger);const i=this._storage.getFlag(t);if(!i)throw new Uu(`flag: '${t}' not found`);if(i.state==="DISABLED")throw new Uu(`flag: '${t}' is disabled`);let o,s;if(!i.targeting||Object.keys(i.targeting).length===0)n.debug(`Flag ${t} has no targeting rules`),o=i.defaultVariant,s=Cl.STATIC;else{let l;try{l=this._targeting.applyTargeting(t,i.targeting,r)}catch(f){throw new Vu(`Error evaluating targeting rule for flag ${t}: ${f==null?void 0:f.message}`)}l==null?(o=i.defaultVariant,s=Cl.DEFAULT):(o=l.toString(),s=Cl.TARGETING_MATCH)}if(typeof o!="string")throw new zu("Variant must be a string, but found "+typeof o);const a=i.variants.get(o);if(a===void 0)throw new Vu(`Variant ${o} not found in flag with key ${t}`);return{value:a,reason:s,variant:o}}}const EN={$schema:"https://flagd.dev/schema/v0/flags.json"};function Ty(e){return JSON.stringify(JSON.parse(e),null,2)}function It(e){return Ty(JSON.stringify({...EN,...e}))}function Pt(e){return Ty(JSON.stringify(e))}function up(e){return typeof e=="function"?e():e}function _N(e){try{return JSON.parse(e),!0}catch{return!1}}const SN={description:["In this scenario, we have a feature flag with the key 'basic-boolean' that is enabled and has two variants: true and false.","The default variant is false. Try changing the 'defaultVariant' to 'true' or add a targeting rule."].join(" "),flagDefinition:It({flags:{"basic-boolean":{state:"ENABLED",defaultVariant:"false",variants:{true:!0,false:!1},targeting:{}}}}),flagKey:"basic-boolean",returnType:"boolean",context:Pt({})},ON={description:['In this scenario, we have a feature flag with the key "basic-number" that is enabled and has two variants: 1 and 2.','The default variant is 1. Try changing the "defaultVariant" to "2" or add a targeting rule.'].join(" "),flagDefinition:It({flags:{"basic-number":{state:"ENABLED",defaultVariant:"1",variants:{1:1,2:2},targeting:{}}}}),flagKey:"basic-number",returnType:"number",context:Pt({})},NN={description:['In this scenario, we have a feature flag with the key "basic-object" that is enabled and has two variants: foo and bar.','The default variant is foo. Try changing the "defaultVariant" to "bar" or add a targeting rule.'].join(" "),flagDefinition:It({flags:{"basic-object":{state:"ENABLED",defaultVariant:"foo",variants:{foo:{foo:"foo"},bar:{bar:"bar"}},targeting:{}}}}),flagKey:"basic-object",returnType:"object",context:Pt({})},IN={description:['In this scenario, we have a feature flag with the key "basic-string" that is enabled and has two variants: foo and bar.','The default variant is foo. Try changing the "defaultVariant" to "bar" or add a targeting rule.'].join(" "),flagDefinition:It({flags:{"basic-string":{state:"ENABLED",defaultVariant:"foo",variants:{foo:"foo",bar:"bar"},targeting:{}}}}),flagKey:"basic-string",returnType:"string",context:Pt({})},PN={description:["In this scenario, we have a feature flag with a targeting rule that returns true when the age is 18 or greater.","This targeting rule leverages the boolean shorthand syntax, which converts a boolean to its string equivalent.","The converted value is then used as the variant key.","Try changing the value of the context attribute 'age'."].join(" "),flagDefinition:It({flags:{"feature-1":{state:"ENABLED",defaultVariant:"false",variants:{true:!0,false:!1},targeting:{">=":[{var:"age"},18]}}}}),flagKey:"feature-1",returnType:"boolean",context:Pt({age:20})},CN={description:["In this scenario, we have a feature flag with the key 'acceptable-feature-stability' with three variants: alpha, beta, and ga.","The flag has a targeting rule that enables the flag based on the customer ID.","The flag is enabled for customer-A in the alpha variant, for customer-B1 and customer-B2 in the beta variant, and for all other customers in the ga variant.","Experiment by changing the 'customerId' in the context."].join(" "),flagDefinition:It({flags:{"acceptable-feature-stability":{state:"ENABLED",defaultVariant:"ga",variants:{alpha:"alpha",beta:"beta",ga:"ga"},targeting:{if:[{"===":[{var:"customerId"},"customer-A"]},"alpha",{in:[{var:"customerId"},["customer-B1","customer-B2"]]},"beta","ga"]}}}}),flagKey:"acceptable-feature-stability",returnType:"string",context:Pt({targetingKey:"sessionId-123",customerId:"customer-A"})},kN={description:['In this scenario, we have a feature flag with the key "enable-mainframe-access" that is enabled and has two variants: true and false.','This flag has a targeting rule defined that enables the flag for users with an email address that ends with "@ingen.com".',"Experiment with changing the email address in the context or in the targeting rule."].join(" "),flagDefinition:It({flags:{"enable-mainframe-access":{state:"ENABLED",defaultVariant:"false",variants:{true:!0,false:!1},targeting:{if:[{ends_with:[{var:"email"},"@ingen.com"]},"true"]}}}}),flagKey:"enable-mainframe-access",returnType:"boolean",context:Pt({email:"john.arnold@ingen.com"})},TN={description:['In this scenario, we have a feature flag with the key "supports-one-hour-delivery" that is enabled and has two variants: true and false.','This flag has a targeting rule defined that enables the flag for users with a locale of "us" or "ca".',"Experiment with changing the locale in the context or in the locale list in the targeting rule."].join(" "),flagDefinition:It({flags:{"supports-one-hour-delivery":{state:"ENABLED",defaultVariant:"false",variants:{true:!0,false:!1},targeting:{if:[{in:[{var:"locale"},["us","ca"]]},"true"]}}}}),context:Pt({locale:"us"}),flagKey:"supports-one-hour-delivery",returnType:"boolean"},AN={description:['In this scenario, we have a feature flag with the key "enable-announcement-banner" that is enabled and has two variants: true and false.',"This flag has a targeting rule defined that enables the flag after a specified time.",'The current time (epoch) can be accessed using "$flagd.timestamp" which is automatically provided by flagd.','Five seconds after loading this scenario, the response will change to "true".'].join(" "),flagDefinition:()=>It({flags:{"enable-announcement-banner":{state:"ENABLED",defaultVariant:"false",variants:{true:!0,false:!1},targeting:{if:[{">":[{var:"$flagd.timestamp"},Math.floor(Date.now()/1e3)+5]},"true"]}}}}),flagKey:"enable-announcement-banner",returnType:"boolean",context:()=>Pt({})},RN={description:['In this scenario, we have a feature flag with the key "enable-performance-mode" that is enabled and has two variants: true and false.','This rule looks for the evaluation context "version". If the version is greater or equal to "1.7.0" the feature is enabled.','Otherwise, the "defaultVariant" is return. Experiment by changing the version in the context.'].join(" "),flagDefinition:It({flags:{"enable-performance-mode":{state:"ENABLED",defaultVariant:"false",variants:{true:!0,false:!1},targeting:{if:[{sem_ver:[{var:"version"},">=","1.7.0"]},"true"]}}}}),flagKey:"enable-performance-mode",returnType:"boolean",context:Pt({version:"1.6.0"})},jN={description:['In this scenario, we have a feature flag with the key "color-palette-experiment" that is enabled and has four variants: red, blue, green, and grey.','The targeting rule uses the "fractional" operator, which deterministically splits the traffic based on the configuration.','This configuration splits the traffic evenly between the four variants by bucketing evaluations pseudorandomly using the "targetingKey" and feature flag key.','Experiment by changing the "targetingKey" to another value.'].join(" "),flagDefinition:It({flags:{"color-palette-experiment":{state:"ENABLED",defaultVariant:"grey",variants:{red:"#b91c1c",blue:"#0284c7",green:"#16a34a",grey:"#4b5563"},targeting:{fractional:[["red",25],["blue",25],["green",25],["grey",25]]}}}}),flagKey:"color-palette-experiment",returnType:"string",context:Pt({targetingKey:"sessionId-123"})},bN={description:['In this scenario, we have a feature flag with the key "enable-new-llm-model" with multiple variant for illustrative purposes.',"This flag has a targeting rule defined that enables the flag for a percentage of users based on the release phase.",'The "targetingKey" ensures that the user always sees the same results during a each phase of the rollout process.'].join(" "),flagDefinition:()=>{const e=Math.floor(Date.now()/1e3)+5,t=Math.floor(Date.now()/1e3)+10,r=Math.floor(Date.now()/1e3)+15,n=Math.floor(Date.now()/1e3)+20;return It({flags:{"enable-new-llm-model":{state:"ENABLED",defaultVariant:"disabled",variants:{disabled:!1,phase1Enabled:!0,phase1Disabled:!1,phase2Enabled:!0,phase2Disabled:!1,phase3Enabled:!0,phase3Disabled:!1,enabled:!0},targeting:{if:[{">=":[e,{var:"$flagd.timestamp"}]},"disabled",{"<=":[e,{var:"$flagd.timestamp"},t]},{fractional:[["phase1Enabled",10],["phase1Disabled",90]]},{"<=":[t,{var:"$flagd.timestamp"},r]},{fractional:[["phase2Enabled",25],["phase2Disabled",75]]},{"<=":[r,{var:"$flagd.timestamp"},n]},{fractional:[["phase3Enabled",50],["phase3Disabled",50]]},"enabled"]}}}})},flagKey:"enable-new-llm-model",returnType:"boolean",context:()=>Pt({targetingKey:"sessionId-12345"})},DN={description:["In this scenario, we have two feature flags that share targeting rule logic.","This is accomplished by defining a $evaluators object in the feature flag definition and referencing it by name in a targeting rule.","Experiment with changing the email domain in the shared evaluator."].join(" "),flagDefinition:It({flags:{"feature-1":{state:"ENABLED",defaultVariant:"false",variants:{true:!0,false:!1},targeting:{if:[{$ref:"emailWithFaas"},"true"]}},"feature-2":{state:"ENABLED",defaultVariant:"false",variants:{true:!0,false:!1},targeting:{if:[{$ref:"emailWithFaas"},"true"]}}},$evaluators:{emailWithFaas:{ends_with:[{var:"email"},"@faas.com"]}}}),flagKey:"feature-1",returnType:"boolean",context:Pt({email:"example@faas.com"})},LN={description:["In this scenario, we have a feature flag that is evaluated based on its targeting key.","The targeting key is contain a string uniquely identifying the subject of the flag evaluation, such as a user's email, or a session identifier.",`In this case, null is returned from targeting if the targeting key doesn't match; this results in a reason of "DEFAULT", since no variant was matched by the targeting rule.`].join(" "),flagDefinition:It({flags:{"targeting-key-flag":{state:"ENABLED",variants:{miss:"miss",hit:"hit"},defaultVariant:"miss",targeting:{if:[{"==":[{var:"targetingKey"},"5c3d8535-f81a-4478-a6d3-afaa4d51199e"]},"hit",null]}}}}),flagKey:"targeting-key-flag",returnType:"string",context:Pt({targetingKey:"5c3d8535-f81a-4478-a6d3-afaa4d51199e"})},Wt={"Basic boolean flag":SN,"Basic numeric flag":ON,"Basic string flag":IN,"Basic object flag":NN,"Enable for a specific email domain":kN,"Enable based on users locale":TN,"Enable based on release version":RN,"Enable based on the current time":AN,"Chainable if/else/then":CN,"Multi-variant experiment":jN,"Progressive rollout":bN,"Shared evaluators":DN,"Boolean variant shorthand":PN,"Targeting key":LN};function xN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function fp(e){for(var t=1;t=0)&&(r[i]=e[i]);return r}function FN(e,t){if(e==null)return{};var r=MN(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function VN(e,t){return UN(e)||zN(e,t)||BN(e,t)||HN()}function UN(e){if(Array.isArray(e))return e}function zN(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,i=!1,o=void 0;try{for(var s=e[Symbol.iterator](),a;!(n=(a=s.next()).done)&&(r.push(a.value),!(t&&r.length===t));n=!0);}catch(l){i=!0,o=l}finally{try{!n&&s.return!=null&&s.return()}finally{if(i)throw o}}return r}}function BN(e,t){if(e){if(typeof e=="string")return dp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return dp(e,t)}}function dp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?e.apply(this,i):function(){for(var s=arguments.length,a=new Array(s),l=0;l1&&arguments[1]!==void 0?arguments[1]:{};ks.initial(e),ks.handler(t);var r={current:e},n=Zi(iI)(r,t),i=Zi(nI)(r),o=Zi(ks.changes)(e),s=Zi(rI)(r);function a(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(d){return d};return ks.selector(f),f(r.current)}function l(f){GN(n,i,o,s)(f)}return[a,l]}function rI(e,t){return xo(t)?t(e.current):t}function nI(e,t){return e.current=pp(pp({},e.current),t),t}function iI(e,t,r){return xo(t)?t(e.current):Object.keys(r).forEach(function(n){var i;return(i=t[n])===null||i===void 0?void 0:i.call(t,e.current[n])}),r}var oI={create:tI},sI={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.43.0/min/vs"}};function aI(e){return function t(){for(var r=this,n=arguments.length,i=new Array(n),o=0;o=e.length?e.apply(this,i):function(){for(var s=arguments.length,a=new Array(s),l=0;l{n.current=!1}:e,t)}var kt=jP;function go(){}function oi(e,t,r,n){return bP(e,n)||DP(e,t,r,n)}function bP(e,t){return e.editor.getModel(Fy(e,t))}function DP(e,t,r,n){return e.editor.createModel(t,r,n?Fy(e,n):void 0)}function Fy(e,t){return e.Uri.parse(t)}function LP({original:e,modified:t,language:r,originalLanguage:n,modifiedLanguage:i,originalModelPath:o,modifiedModelPath:s,keepCurrentOriginalModel:a=!1,keepCurrentModifiedModel:l=!1,theme:f="light",loading:d="Loading...",options:m={},height:N="100%",width:S="100%",className:v,wrapperProps:O={},beforeMount:E=go,onMount:u=go}){let[c,p]=oe.useState(!1),[P,j]=oe.useState(!0),g=oe.useRef(null),$=oe.useRef(null),h=oe.useRef(null),I=oe.useRef(u),y=oe.useRef(E),x=oe.useRef(!1);My(()=>{let G=Ly.init();return G.then(B=>($.current=B)&&j(!1)).catch(B=>(B==null?void 0:B.type)!=="cancelation"&&console.error("Monaco initialization: error:",B)),()=>g.current?U():G.cancel()}),kt(()=>{if(g.current&&$.current){let G=g.current.getOriginalEditor(),B=oi($.current,e||"",n||r||"text",o||"");B!==G.getModel()&&G.setModel(B)}},[o],c),kt(()=>{if(g.current&&$.current){let G=g.current.getModifiedEditor(),B=oi($.current,t||"",i||r||"text",s||"");B!==G.getModel()&&G.setModel(B)}},[s],c),kt(()=>{let G=g.current.getModifiedEditor();G.getOption($.current.editor.EditorOption.readOnly)?G.setValue(t||""):t!==G.getValue()&&(G.executeEdits("",[{range:G.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),G.pushUndoStop())},[t],c),kt(()=>{var G,B;(B=(G=g.current)==null?void 0:G.getModel())==null||B.original.setValue(e||"")},[e],c),kt(()=>{let{original:G,modified:B}=g.current.getModel();$.current.editor.setModelLanguage(G,n||r||"text"),$.current.editor.setModelLanguage(B,i||r||"text")},[r,n,i],c),kt(()=>{var G;(G=$.current)==null||G.editor.setTheme(f)},[f],c),kt(()=>{var G;(G=g.current)==null||G.updateOptions(m)},[m],c);let F=oe.useCallback(()=>{var Z;if(!$.current)return;y.current($.current);let G=oi($.current,e||"",n||r||"text",o||""),B=oi($.current,t||"",i||r||"text",s||"");(Z=g.current)==null||Z.setModel({original:G,modified:B})},[r,t,i,e,n,o,s]),Y=oe.useCallback(()=>{var G;!x.current&&h.current&&(g.current=$.current.editor.createDiffEditor(h.current,{automaticLayout:!0,...m}),F(),(G=$.current)==null||G.editor.setTheme(f),p(!0),x.current=!0)},[m,f,F]);oe.useEffect(()=>{c&&I.current(g.current,$.current)},[c]),oe.useEffect(()=>{!P&&!c&&Y()},[P,c,Y]);function U(){var B,Z,z,Q;let G=(B=g.current)==null?void 0:B.getModel();a||((Z=G==null?void 0:G.original)==null||Z.dispose()),l||((z=G==null?void 0:G.modified)==null||z.dispose()),(Q=g.current)==null||Q.dispose()}return Nn.createElement(xy,{width:S,height:N,isEditorReady:c,loading:d,_ref:h,className:v,wrapperProps:O})}var xP=LP;oe.memo(xP);function MP(e){let t=oe.useRef();return oe.useEffect(()=>{t.current=e},[e]),t.current}var FP=MP,Ts=new Map;function VP({defaultValue:e,defaultLanguage:t,defaultPath:r,value:n,language:i,path:o,theme:s="light",line:a,loading:l="Loading...",options:f={},overrideServices:d={},saveViewState:m=!0,keepCurrentModel:N=!1,width:S="100%",height:v="100%",className:O,wrapperProps:E={},beforeMount:u=go,onMount:c=go,onChange:p,onValidate:P=go}){let[j,g]=oe.useState(!1),[$,h]=oe.useState(!0),I=oe.useRef(null),y=oe.useRef(null),x=oe.useRef(null),F=oe.useRef(c),Y=oe.useRef(u),U=oe.useRef(),G=oe.useRef(n),B=FP(o),Z=oe.useRef(!1),z=oe.useRef(!1);My(()=>{let C=Ly.init();return C.then(V=>(I.current=V)&&h(!1)).catch(V=>(V==null?void 0:V.type)!=="cancelation"&&console.error("Monaco initialization: error:",V)),()=>y.current?R():C.cancel()}),kt(()=>{var V,M,_,A;let C=oi(I.current,e||n||"",t||i||"",o||r||"");C!==((V=y.current)==null?void 0:V.getModel())&&(m&&Ts.set(B,(M=y.current)==null?void 0:M.saveViewState()),(_=y.current)==null||_.setModel(C),m&&((A=y.current)==null||A.restoreViewState(Ts.get(o))))},[o],j),kt(()=>{var C;(C=y.current)==null||C.updateOptions(f)},[f],j),kt(()=>{!y.current||n===void 0||(y.current.getOption(I.current.editor.EditorOption.readOnly)?y.current.setValue(n):n!==y.current.getValue()&&(z.current=!0,y.current.executeEdits("",[{range:y.current.getModel().getFullModelRange(),text:n,forceMoveMarkers:!0}]),y.current.pushUndoStop(),z.current=!1))},[n],j),kt(()=>{var V,M;let C=(V=y.current)==null?void 0:V.getModel();C&&i&&((M=I.current)==null||M.editor.setModelLanguage(C,i))},[i],j),kt(()=>{var C;a!==void 0&&((C=y.current)==null||C.revealLine(a))},[a],j),kt(()=>{var C;(C=I.current)==null||C.editor.setTheme(s)},[s],j);let Q=oe.useCallback(()=>{var C;if(!(!x.current||!I.current)&&!Z.current){Y.current(I.current);let V=o||r,M=oi(I.current,n||e||"",t||i||"",V||"");y.current=(C=I.current)==null?void 0:C.editor.create(x.current,{model:M,automaticLayout:!0,...f},d),m&&y.current.restoreViewState(Ts.get(V)),I.current.editor.setTheme(s),a!==void 0&&y.current.revealLine(a),g(!0),Z.current=!0}},[e,t,r,n,i,o,f,d,m,s,a]);oe.useEffect(()=>{j&&F.current(y.current,I.current)},[j]),oe.useEffect(()=>{!$&&!j&&Q()},[$,j,Q]),G.current=n,oe.useEffect(()=>{var C,V;j&&p&&((C=U.current)==null||C.dispose(),U.current=(V=y.current)==null?void 0:V.onDidChangeModelContent(M=>{z.current||p(y.current.getValue(),M)}))},[j,p]),oe.useEffect(()=>{if(j){let C=I.current.editor.onDidChangeMarkers(V=>{var _;let M=(_=y.current.getModel())==null?void 0:_.uri;if(M&&V.find(A=>A.path===M.path)){let A=I.current.editor.getModelMarkers({resource:M});P==null||P(A)}});return()=>{C==null||C.dispose()}}return()=>{}},[j,P]);function R(){var C,V;(C=U.current)==null||C.dispose(),N?m&&Ts.set(o,y.current.saveViewState()):(V=y.current.getModel())==null||V.dispose(),y.current.dispose()}return Nn.createElement(xy,{width:S,height:v,isEditorReady:j,loading:l,_ref:x,className:O,wrapperProps:E})}var UP=VP,gp=oe.memo(UP);const yp="data-md-color-scheme",zP="[data-md-component=palette]",vp=()=>document.body.getAttribute(yp)&&document.body.getAttribute(yp)!=="default"?"custom-dark":"custom",wp=e=>{e==null||e.editor.defineTheme("custom-dark",{base:"vs-dark",inherit:!0,rules:[],colors:{"editor.background":"#00000000"}}),e==null||e.editor.defineTheme("custom",{base:"vs",inherit:!0,rules:[],colors:{"editor.background":"#00000000"}}),e==null||e.languages.json.jsonDefaults.setDiagnosticsOptions({enableSchemaRequest:!0,allowComments:!1})};function $p(e){const t=JSON.parse(e);return JSON.stringify(t)}function Ep(e){const t=JSON.parse(e);return JSON.stringify(t,null,2)}function BP(){const[e,t]=oe.useState("Basic boolean flag"),[r,n]=oe.useState(Wt[e].flagDefinition),[i,o]=oe.useState(Wt[e].flagKey),[s,a]=oe.useState(Wt[e].returnType),[l,f]=oe.useState(up(Wt[e].context)),[d,m]=oe.useState(!1),[N,S]=oe.useState(""),[v,O]=oe.useState([]),[E,u]=oe.useState(Wt[e].description),[c,p]=oe.useState(!0),[P,j]=oe.useState(!0),[g,$]=oe.useState(!1),[h,I]=oe.useState("success"),[y,x]=oe.useState(vp()),F=oe.useCallback(()=>{S(""),m(!1);const R=Wt[e];n(R.flagDefinition),o(R.flagKey),a(R.returnType),f(up(R.context)),u(R.description),p(!0),j(!0),$(!1),I("success")},[e]);oe.useEffect(()=>{F()},[e,F]);const Y=oe.useMemo(()=>new ky,[]),U=oe.useMemo(()=>new EN(Y,console),[Y]);oe.useEffect(()=>{if(SN(r))try{U.setConfigurations(r),O(Array.from(U.getFlags().keys())),p(!0)}catch(R){console.error("Invalid flagd configuration",R),p(!1)}else p(!1)},[r,U]),oe.useEffect(()=>{try{JSON.parse(l),j(!0)}catch(R){console.error("Invalid JSON input",R),j(!1)}},[l]),oe.useEffect(()=>{var V;const R=document.querySelector(zP),C=(V=window.component$)==null?void 0:V.subscribe(M=>{(M==null?void 0:M.ref)===R&&x(vp())});return()=>{C==null||C.unsubscribe()}}),oe.useEffect(()=>{const R=new URLSearchParams(window.location.search),C=R.get("flags"),V=R.get("flag-key"),M=R.get("return-type"),_=R.get("eval-context"),A=R.get("scenario-name");if(C)try{const K=Ep(C);if(n(K),V&&o(V),M&&a(M),_){const te=Ep(_);f(te)}}catch(K){console.error("Error decoding URL parameters: ",K)}else A&&Wt[A]&&(t(A),n(Wt[A].flagDefinition))},[]);const G=()=>{m(!0);try{let R;const C=JSON.parse(l);switch(s){case"boolean":R=U.resolveBooleanEvaluation(i,!1,C,console);break;case"string":R=U.resolveStringEvaluation(i,"",C,console);break;case"number":R=U.resolveNumberEvaluation(i,0,C,console);break;case"object":R=U.resolveObjectEvaluation(i,{},C,console);break}I("success"),S(JSON.stringify(R,null,2))}catch(R){console.error("Invalid JSON input",R),I("failure"),S(R.message)}},B=oe.useMemo(()=>{try{return JSON.parse(N)}catch{return N}},[N]),Z=N1("(max-width: 1220px)"),z={border:"none",backgroundColor:"var(--md-code-bg-color)",color:"var(--md-code-fg-color)",fontFeatureSettings:"kern",fontFamily:"var(--md-code-font-family)"},Q=()=>{const R=window.location.origin+window.location.pathname,C=new URL(R),V=$p(r),M=$p(l);Object.keys(Wt).includes(e)&&Wt[e].flagDefinition===r?C.searchParams.set("scenario-name",e):(C.searchParams.delete("scenario-name"),C.searchParams.set("flags",V),C.searchParams.set("flag-key",i),C.searchParams.set("return-type",s),C.searchParams.set("eval-context",M)),window.history.pushState({},"",C.href),navigator.clipboard.writeText(C.href).then(()=>{console.log("URL copied to clipboard"),$(!0),setTimeout(()=>{$(!1)},5e3)}).catch(_=>{console.error("Failed to copy URL: ",_)})};return ue.jsxs("div",{style:{maxWidth:"825px"},children:[ue.jsx("div",{children:ue.jsxs("p",{style:{margin:"-32px 0 0 0",lineHeight:"1.4",fontSize:"medium"},children:["Explore flagd flag definitions in your browser. Begin by selecting an example below; these are merely starting points, so customize the flag definition as you wish. Find an overview of the flag definition structure ",ue.jsx("a",{href:"/reference/flag-definitions/",children:"here"}),"."]})}),ue.jsxs("div",{children:[ue.jsx("h4",{children:"Select a scenario"}),ue.jsxs("div",{style:{display:"flex",flexDirection:Z?"column":"row",textAlign:"left",gap:"16px",height:"100%"},children:[ue.jsx("div",{style:{flex:"2"},children:ue.jsx("select",{style:{width:"100%",minWidth:"250px",padding:"8px",...z},value:e,onChange:R=>t(R.target.value),children:Object.keys(Wt).map(R=>ue.jsx("option",{value:R,children:R},R))})}),ue.jsx("div",{style:{flex:"3"},children:ue.jsx("p",{style:{lineHeight:"1.4",margin:"-4px 0 0 0",fontSize:"small"},children:E})})]}),ue.jsxs("div",{style:{display:"flex",flexDirection:Z?"column":"row",textAlign:"left",gap:"16px",height:"100%"},children:[ue.jsxs("div",{style:{flex:"3"},children:[ue.jsx("h4",{children:"Feature definition"}),ue.jsx("div",{style:{backgroundColor:z.backgroundColor},children:ue.jsx(gp,{theme:y,width:"100%",height:"500px",language:"json",value:r,options:{minimap:{enabled:!1},lineNumbers:"off"},beforeMount:wp,onChange:R=>{R&&n(R)}})})]}),ue.jsxs("div",{style:{flex:"2"},children:[ue.jsxs("div",{children:[ue.jsx("h4",{children:"Flag key"}),ue.jsx("input",{style:{width:"100%",maxWidth:"800px",padding:"8px",boxSizing:"border-box",...z},name:"flag-key",list:"flag-keys",value:i,onChange:R=>o(R.target.value)}),ue.jsx("datalist",{id:"flag-keys",children:v.map((R,C)=>ue.jsx("option",{value:R},C))})]}),ue.jsxs("div",{children:[ue.jsx("h4",{children:"Return type"}),ue.jsxs("select",{style:{width:"100%",padding:"8px 0 8px 0",...z},value:s,onChange:R=>a(R.target.value),children:[ue.jsx("option",{value:"boolean",children:"boolean"}),ue.jsx("option",{value:"string",children:"string"}),ue.jsx("option",{value:"number",children:"number"}),ue.jsx("option",{value:"object",children:"object"})]})]}),ue.jsxs("div",{children:[ue.jsx("h4",{children:"Evaluation context"}),ue.jsx("div",{style:{backgroundColor:z.backgroundColor},children:ue.jsx(gp,{theme:y,width:"100%",height:"80px",language:"json",options:{minimap:{enabled:!1},lineNumbers:"off",folding:!1},beforeMount:wp,value:l,onChange:R=>{R&&f(R)}})})]}),ue.jsxs("div",{style:{display:"flex",gap:"8px",paddingTop:"8px"},children:[ue.jsx("button",{className:"md-button md-button--primary",onClick:G,disabled:!c||!P,children:"Evaluate"}),ue.jsx("button",{className:"md-button",onClick:F,children:"Reset"}),ue.jsx("button",{className:"md-button",onClick:Q,disabled:!c||!P,children:"Share"})]}),ue.jsxs("div",{className:`output ${d?"visible":""} admonition ${h==="success"?"success":"failure"}`,children:[ue.jsx("p",{className:"admonition-title",children:h==="success"?"Success":"Failure"}),typeof B=="object"?ue.jsx("div",{style:{margin:"0.6rem 0 0.6rem 0"},children:Object.entries(B).map(([R,C])=>ue.jsxs("div",{children:[ue.jsxs("strong",{children:[R,":"]})," ",JSON.stringify(C)]},R))}):ue.jsx("p",{children:B})]}),g&&ue.jsx("h4",{className:"admonition-title",style:{paddingLeft:"45px",borderLeftWidth:"0rem",borderLeftStyle:"solid",left:"15px"},children:"URL copied to clipboard"})]})]})]})]})}Wl.createRoot(document.getElementById("playground")).render(ue.jsx(Nn.StrictMode,{children:ue.jsx(BP,{})})); + `},mp=aI(fI)(Ay),dI={config:uI},hI=function(){for(var t=arguments.length,r=new Array(t),n=0;n{n.current=!1}:e,t)}var kt=RI;function go(){}function ii(e,t,r,n){return jI(e,n)||bI(e,t,r,n)}function jI(e,t){return e.editor.getModel(My(e,t))}function bI(e,t,r,n){return e.editor.createModel(t,r,n?My(e,n):void 0)}function My(e,t){return e.Uri.parse(t)}function DI({original:e,modified:t,language:r,originalLanguage:n,modifiedLanguage:i,originalModelPath:o,modifiedModelPath:s,keepCurrentOriginalModel:a=!1,keepCurrentModifiedModel:l=!1,theme:f="light",loading:d="Loading...",options:m={},height:N="100%",width:S="100%",className:v,wrapperProps:O={},beforeMount:E=go,onMount:u=go}){let[c,p]=oe.useState(!1),[I,j]=oe.useState(!0),g=oe.useRef(null),$=oe.useRef(null),h=oe.useRef(null),P=oe.useRef(u),y=oe.useRef(E),x=oe.useRef(!1);xy(()=>{let G=Dy.init();return G.then(B=>($.current=B)&&j(!1)).catch(B=>(B==null?void 0:B.type)!=="cancelation"&&console.error("Monaco initialization: error:",B)),()=>g.current?U():G.cancel()}),kt(()=>{if(g.current&&$.current){let G=g.current.getOriginalEditor(),B=ii($.current,e||"",n||r||"text",o||"");B!==G.getModel()&&G.setModel(B)}},[o],c),kt(()=>{if(g.current&&$.current){let G=g.current.getModifiedEditor(),B=ii($.current,t||"",i||r||"text",s||"");B!==G.getModel()&&G.setModel(B)}},[s],c),kt(()=>{let G=g.current.getModifiedEditor();G.getOption($.current.editor.EditorOption.readOnly)?G.setValue(t||""):t!==G.getValue()&&(G.executeEdits("",[{range:G.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),G.pushUndoStop())},[t],c),kt(()=>{var G,B;(B=(G=g.current)==null?void 0:G.getModel())==null||B.original.setValue(e||"")},[e],c),kt(()=>{let{original:G,modified:B}=g.current.getModel();$.current.editor.setModelLanguage(G,n||r||"text"),$.current.editor.setModelLanguage(B,i||r||"text")},[r,n,i],c),kt(()=>{var G;(G=$.current)==null||G.editor.setTheme(f)},[f],c),kt(()=>{var G;(G=g.current)==null||G.updateOptions(m)},[m],c);let F=oe.useCallback(()=>{var Z;if(!$.current)return;y.current($.current);let G=ii($.current,e||"",n||r||"text",o||""),B=ii($.current,t||"",i||r||"text",s||"");(Z=g.current)==null||Z.setModel({original:G,modified:B})},[r,t,i,e,n,o,s]),Y=oe.useCallback(()=>{var G;!x.current&&h.current&&(g.current=$.current.editor.createDiffEditor(h.current,{automaticLayout:!0,...m}),F(),(G=$.current)==null||G.editor.setTheme(f),p(!0),x.current=!0)},[m,f,F]);oe.useEffect(()=>{c&&P.current(g.current,$.current)},[c]),oe.useEffect(()=>{!I&&!c&&Y()},[I,c,Y]);function U(){var B,Z,z,Q;let G=(B=g.current)==null?void 0:B.getModel();a||((Z=G==null?void 0:G.original)==null||Z.dispose()),l||((z=G==null?void 0:G.modified)==null||z.dispose()),(Q=g.current)==null||Q.dispose()}return Nn.createElement(Ly,{width:S,height:N,isEditorReady:c,loading:d,_ref:h,className:v,wrapperProps:O})}var LI=DI;oe.memo(LI);function xI(e){let t=oe.useRef();return oe.useEffect(()=>{t.current=e},[e]),t.current}var MI=xI,Ts=new Map;function FI({defaultValue:e,defaultLanguage:t,defaultPath:r,value:n,language:i,path:o,theme:s="light",line:a,loading:l="Loading...",options:f={},overrideServices:d={},saveViewState:m=!0,keepCurrentModel:N=!1,width:S="100%",height:v="100%",className:O,wrapperProps:E={},beforeMount:u=go,onMount:c=go,onChange:p,onValidate:I=go}){let[j,g]=oe.useState(!1),[$,h]=oe.useState(!0),P=oe.useRef(null),y=oe.useRef(null),x=oe.useRef(null),F=oe.useRef(c),Y=oe.useRef(u),U=oe.useRef(),G=oe.useRef(n),B=MI(o),Z=oe.useRef(!1),z=oe.useRef(!1);xy(()=>{let C=Dy.init();return C.then(V=>(P.current=V)&&h(!1)).catch(V=>(V==null?void 0:V.type)!=="cancelation"&&console.error("Monaco initialization: error:",V)),()=>y.current?R():C.cancel()}),kt(()=>{var V,M,_,A;let C=ii(P.current,e||n||"",t||i||"",o||r||"");C!==((V=y.current)==null?void 0:V.getModel())&&(m&&Ts.set(B,(M=y.current)==null?void 0:M.saveViewState()),(_=y.current)==null||_.setModel(C),m&&((A=y.current)==null||A.restoreViewState(Ts.get(o))))},[o],j),kt(()=>{var C;(C=y.current)==null||C.updateOptions(f)},[f],j),kt(()=>{!y.current||n===void 0||(y.current.getOption(P.current.editor.EditorOption.readOnly)?y.current.setValue(n):n!==y.current.getValue()&&(z.current=!0,y.current.executeEdits("",[{range:y.current.getModel().getFullModelRange(),text:n,forceMoveMarkers:!0}]),y.current.pushUndoStop(),z.current=!1))},[n],j),kt(()=>{var V,M;let C=(V=y.current)==null?void 0:V.getModel();C&&i&&((M=P.current)==null||M.editor.setModelLanguage(C,i))},[i],j),kt(()=>{var C;a!==void 0&&((C=y.current)==null||C.revealLine(a))},[a],j),kt(()=>{var C;(C=P.current)==null||C.editor.setTheme(s)},[s],j);let Q=oe.useCallback(()=>{var C;if(!(!x.current||!P.current)&&!Z.current){Y.current(P.current);let V=o||r,M=ii(P.current,n||e||"",t||i||"",V||"");y.current=(C=P.current)==null?void 0:C.editor.create(x.current,{model:M,automaticLayout:!0,...f},d),m&&y.current.restoreViewState(Ts.get(V)),P.current.editor.setTheme(s),a!==void 0&&y.current.revealLine(a),g(!0),Z.current=!0}},[e,t,r,n,i,o,f,d,m,s,a]);oe.useEffect(()=>{j&&F.current(y.current,P.current)},[j]),oe.useEffect(()=>{!$&&!j&&Q()},[$,j,Q]),G.current=n,oe.useEffect(()=>{var C,V;j&&p&&((C=U.current)==null||C.dispose(),U.current=(V=y.current)==null?void 0:V.onDidChangeModelContent(M=>{z.current||p(y.current.getValue(),M)}))},[j,p]),oe.useEffect(()=>{if(j){let C=P.current.editor.onDidChangeMarkers(V=>{var _;let M=(_=y.current.getModel())==null?void 0:_.uri;if(M&&V.find(A=>A.path===M.path)){let A=P.current.editor.getModelMarkers({resource:M});I==null||I(A)}});return()=>{C==null||C.dispose()}}return()=>{}},[j,I]);function R(){var C,V;(C=U.current)==null||C.dispose(),N?m&&Ts.set(o,y.current.saveViewState()):(V=y.current.getModel())==null||V.dispose(),y.current.dispose()}return Nn.createElement(Ly,{width:S,height:v,isEditorReady:j,loading:l,_ref:x,className:O,wrapperProps:E})}var VI=FI,gp=oe.memo(VI);const yp="data-md-color-scheme",UI="[data-md-component=palette]",vp=()=>document.body.getAttribute(yp)&&document.body.getAttribute(yp)!=="default"?"custom-dark":"custom",wp=e=>{e==null||e.editor.defineTheme("custom-dark",{base:"vs-dark",inherit:!0,rules:[],colors:{"editor.background":"#00000000"}}),e==null||e.editor.defineTheme("custom",{base:"vs",inherit:!0,rules:[],colors:{"editor.background":"#00000000"}}),e==null||e.languages.json.jsonDefaults.setDiagnosticsOptions({enableSchemaRequest:!0,allowComments:!1})};function $p(e){const t=JSON.parse(e);return JSON.stringify(t)}function Ep(e){const t=JSON.parse(e);return JSON.stringify(t,null,2)}function zI(){const[e,t]=oe.useState("Basic boolean flag"),[r,n]=oe.useState(Wt[e].flagDefinition),[i,o]=oe.useState(Wt[e].flagKey),[s,a]=oe.useState(Wt[e].returnType),[l,f]=oe.useState(up(Wt[e].context)),[d,m]=oe.useState(!1),[N,S]=oe.useState(""),[v,O]=oe.useState([]),[E,u]=oe.useState(Wt[e].description),[c,p]=oe.useState(!0),[I,j]=oe.useState(!0),[g,$]=oe.useState(!1),[h,P]=oe.useState("success"),[y,x]=oe.useState(vp()),F=oe.useCallback(()=>{S(""),m(!1);const R=Wt[e];n(R.flagDefinition),o(R.flagKey),a(R.returnType),f(up(R.context)),u(R.description),p(!0),j(!0),$(!1),P("success")},[e]);oe.useEffect(()=>{F()},[e,F]);const Y=oe.useMemo(()=>new Cy,[]),U=oe.useMemo(()=>new $N(Y,console),[Y]);oe.useEffect(()=>{if(_N(r))try{U.setConfigurations(r),O(Array.from(U.getFlags().keys())),p(!0)}catch(R){console.error("Invalid flagd configuration",R),p(!1)}else p(!1)},[r,U]),oe.useEffect(()=>{try{JSON.parse(l),j(!0)}catch(R){console.error("Invalid JSON input",R),j(!1)}},[l]),oe.useEffect(()=>{var V;const R=document.querySelector(UI),C=(V=window.component$)==null?void 0:V.subscribe(M=>{(M==null?void 0:M.ref)===R&&x(vp())});return()=>{C==null||C.unsubscribe()}}),oe.useEffect(()=>{const R=new URLSearchParams(window.location.search),C=R.get("flags"),V=R.get("flag-key"),M=R.get("return-type"),_=R.get("eval-context"),A=R.get("scenario-name");if(C)try{const K=Ep(C);if(n(K),V&&o(V),M&&a(M),_){const te=Ep(_);f(te)}}catch(K){console.error("Error decoding URL parameters: ",K)}else A&&Wt[A]&&(t(A),n(Wt[A].flagDefinition))},[]);const G=()=>{m(!0);try{let R;const C=JSON.parse(l);switch(s){case"boolean":R=U.resolveBooleanEvaluation(i,!1,C,console);break;case"string":R=U.resolveStringEvaluation(i,"",C,console);break;case"number":R=U.resolveNumberEvaluation(i,0,C,console);break;case"object":R=U.resolveObjectEvaluation(i,{},C,console);break}P("success"),S(JSON.stringify(R,null,2))}catch(R){console.error("Invalid JSON input",R),P("failure"),S(R.message)}},B=oe.useMemo(()=>{try{return JSON.parse(N)}catch{return N}},[N]),Z=N1("(max-width: 1220px)"),z={border:"none",backgroundColor:"var(--md-code-bg-color)",color:"var(--md-code-fg-color)",fontFeatureSettings:"kern",fontFamily:"var(--md-code-font-family)"},Q=()=>{const R=window.location.origin+window.location.pathname,C=new URL(R),V=$p(r),M=$p(l);Object.keys(Wt).includes(e)&&Wt[e].flagDefinition===r?C.searchParams.set("scenario-name",e):(C.searchParams.delete("scenario-name"),C.searchParams.set("flags",V),C.searchParams.set("flag-key",i),C.searchParams.set("return-type",s),C.searchParams.set("eval-context",M)),window.history.pushState({},"",C.href),navigator.clipboard.writeText(C.href).then(()=>{console.log("URL copied to clipboard"),$(!0),setTimeout(()=>{$(!1)},5e3)}).catch(_=>{console.error("Failed to copy URL: ",_)})};return ue.jsxs("div",{style:{maxWidth:"825px"},children:[ue.jsx("div",{children:ue.jsxs("p",{style:{margin:"-32px 0 0 0",lineHeight:"1.4",fontSize:"medium"},children:["Explore flagd flag definitions in your browser. Begin by selecting an example below; these are merely starting points, so customize the flag definition as you wish. Find an overview of the flag definition structure ",ue.jsx("a",{href:"/reference/flag-definitions/",children:"here"}),"."]})}),ue.jsxs("div",{children:[ue.jsx("h4",{children:"Select a scenario"}),ue.jsxs("div",{style:{display:"flex",flexDirection:Z?"column":"row",textAlign:"left",gap:"16px",height:"100%"},children:[ue.jsx("div",{style:{flex:"2"},children:ue.jsx("select",{style:{width:"100%",minWidth:"250px",padding:"8px",...z},value:e,onChange:R=>t(R.target.value),children:Object.keys(Wt).map(R=>ue.jsx("option",{value:R,children:R},R))})}),ue.jsx("div",{style:{flex:"3"},children:ue.jsx("p",{style:{lineHeight:"1.4",margin:"-4px 0 0 0",fontSize:"small"},children:E})})]}),ue.jsxs("div",{style:{display:"flex",flexDirection:Z?"column":"row",textAlign:"left",gap:"16px",height:"100%"},children:[ue.jsxs("div",{style:{flex:"3"},children:[ue.jsx("h4",{children:"Feature definition"}),ue.jsx("div",{style:{backgroundColor:z.backgroundColor},children:ue.jsx(gp,{theme:y,width:"100%",height:"500px",language:"json",value:r,options:{minimap:{enabled:!1},lineNumbers:"off"},beforeMount:wp,onChange:R=>{R&&n(R)}})})]}),ue.jsxs("div",{style:{flex:"2"},children:[ue.jsxs("div",{children:[ue.jsx("h4",{children:"Flag key"}),ue.jsx("input",{style:{width:"100%",maxWidth:"800px",padding:"8px",boxSizing:"border-box",...z},name:"flag-key",list:"flag-keys",value:i,onChange:R=>o(R.target.value)}),ue.jsx("datalist",{id:"flag-keys",children:v.map((R,C)=>ue.jsx("option",{value:R},C))})]}),ue.jsxs("div",{children:[ue.jsx("h4",{children:"Return type"}),ue.jsxs("select",{style:{width:"100%",padding:"8px 0 8px 0",...z},value:s,onChange:R=>a(R.target.value),children:[ue.jsx("option",{value:"boolean",children:"boolean"}),ue.jsx("option",{value:"string",children:"string"}),ue.jsx("option",{value:"number",children:"number"}),ue.jsx("option",{value:"object",children:"object"})]})]}),ue.jsxs("div",{children:[ue.jsx("h4",{children:"Evaluation context"}),ue.jsx("div",{style:{backgroundColor:z.backgroundColor},children:ue.jsx(gp,{theme:y,width:"100%",height:"80px",language:"json",options:{minimap:{enabled:!1},lineNumbers:"off",folding:!1},beforeMount:wp,value:l,onChange:R=>{R&&f(R)}})})]}),ue.jsxs("div",{style:{display:"flex",gap:"8px",paddingTop:"8px"},children:[ue.jsx("button",{className:"md-button md-button--primary",onClick:G,disabled:!c||!I,children:"Evaluate"}),ue.jsx("button",{className:"md-button",onClick:F,children:"Reset"}),ue.jsx("button",{className:"md-button",onClick:Q,disabled:!c||!I,children:"Share"})]}),ue.jsxs("div",{className:`output ${d?"visible":""} admonition ${h==="success"?"success":"failure"}`,children:[ue.jsx("p",{className:"admonition-title",children:h==="success"?"Success":"Failure"}),typeof B=="object"?ue.jsx("div",{style:{margin:"0.6rem 0 0.6rem 0"},children:Object.entries(B).map(([R,C])=>ue.jsxs("div",{children:[ue.jsxs("strong",{children:[R,":"]})," ",JSON.stringify(C)]},R))}):ue.jsx("p",{children:B})]}),g&&ue.jsx("h4",{className:"admonition-title",style:{paddingLeft:"45px",borderLeftWidth:"0rem",borderLeftStyle:"solid",left:"15px"},children:"URL copied to clipboard"})]})]})]})]})}Wl.createRoot(document.getElementById("playground")).render(ue.jsx(Nn.StrictMode,{children:ue.jsx(zI,{})})); diff --git a/playground-app/package-lock.json b/playground-app/package-lock.json index 78796aad3..6930494da 100644 --- a/playground-app/package-lock.json +++ b/playground-app/package-lock.json @@ -9,22 +9,22 @@ "version": "0.0.0", "dependencies": { "@monaco-editor/react": "^4.6.0", - "@openfeature/flagd-core": "^0.2.3", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "react-use": "^17.5.0" + "@openfeature/flagd-core": "^0.2.5", + "react": "^18.3.1", + "react-dom": "^18.3.1", + "react-use": "^17.5.1" }, "devDependencies": { - "@types/react": "^18.2.48", - "@types/react-dom": "^18.2.18", - "@typescript-eslint/eslint-plugin": "^6.20.0", - "@typescript-eslint/parser": "^6.20.0", - "@vitejs/plugin-react": "^4.2.1", - "eslint": "^8.55.0", - "eslint-plugin-react-hooks": "^4.6.0", - "eslint-plugin-react-refresh": "^0.4.5", - "typescript": "^5.3.3", - "vite": "^5.0.12" + "@types/react": "^18.3.5", + "@types/react-dom": "^18.3.0", + "@typescript-eslint/eslint-plugin": "^8.3.0", + "@typescript-eslint/parser": "^8.3.0", + "@vitejs/plugin-react": "^4.3.1", + "eslint": "^8.57.0", + "eslint-plugin-react-hooks": "^4.6.2", + "eslint-plugin-react-refresh": "^0.4.11", + "typescript": "^5.5.4", + "vite": "^5.4.2" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -37,56 +37,56 @@ } }, "node_modules/@ampproject/remapping": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", - "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", + "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", "dev": true, "dependencies": { - "@jridgewell/gen-mapping": "^0.3.0", - "@jridgewell/trace-mapping": "^0.3.9" + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" }, "engines": { "node": ">=6.0.0" } }, "node_modules/@babel/code-frame": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz", - "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz", + "integrity": "sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==", "dev": true, "dependencies": { - "@babel/highlight": "^7.23.4", - "chalk": "^2.4.2" + "@babel/highlight": "^7.24.7", + "picocolors": "^1.0.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/compat-data": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.5.tgz", - "integrity": "sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.4.tgz", + "integrity": "sha512-+LGRog6RAsCJrrrg/IO6LGmpphNe5DiK30dGjCoxxeGv49B10/3XYGxPsAwrDlMFcFEvdAUavDT8r9k/hSyQqQ==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.6.tgz", - "integrity": "sha512-FxpRyGjrMJXh7X3wGLGhNDCRiwpWEF74sKjTLDJSG5Kyvow3QZaG0Adbqzi9ZrVjTWpsX+2cxWXD71NMg93kdw==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.2.tgz", + "integrity": "sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==", "dev": true, "dependencies": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.23.5", - "@babel/generator": "^7.23.6", - "@babel/helper-compilation-targets": "^7.23.6", - "@babel/helper-module-transforms": "^7.23.3", - "@babel/helpers": "^7.23.6", - "@babel/parser": "^7.23.6", - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.6", - "@babel/types": "^7.23.6", + "@babel/code-frame": "^7.24.7", + "@babel/generator": "^7.25.0", + "@babel/helper-compilation-targets": "^7.25.2", + "@babel/helper-module-transforms": "^7.25.2", + "@babel/helpers": "^7.25.0", + "@babel/parser": "^7.25.0", + "@babel/template": "^7.25.0", + "@babel/traverse": "^7.25.2", + "@babel/types": "^7.25.2", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -111,14 +111,14 @@ } }, "node_modules/@babel/generator": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz", - "integrity": "sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.6.tgz", + "integrity": "sha512-VPC82gr1seXOpkjAAKoLhP50vx4vGNlF4msF64dSFq1P8RfB+QAuJWGHPXXPc8QyfVWwwB/TNNU4+ayZmHNbZw==", "dev": true, "dependencies": { - "@babel/types": "^7.23.6", - "@jridgewell/gen-mapping": "^0.3.2", - "@jridgewell/trace-mapping": "^0.3.17", + "@babel/types": "^7.25.6", + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^2.5.1" }, "engines": { @@ -126,14 +126,14 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz", - "integrity": "sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.2.tgz", + "integrity": "sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.23.5", - "@babel/helper-validator-option": "^7.23.5", - "browserslist": "^4.22.2", + "@babel/compat-data": "^7.25.2", + "@babel/helper-validator-option": "^7.24.8", + "browserslist": "^4.23.1", "lru-cache": "^5.1.1", "semver": "^6.3.1" }, @@ -150,63 +150,29 @@ "semver": "bin/semver.js" } }, - "node_modules/@babel/helper-environment-visitor": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", - "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", - "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", - "dev": true, - "dependencies": { - "@babel/template": "^7.22.15", - "@babel/types": "^7.23.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", - "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-module-imports": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz", - "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz", + "integrity": "sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==", "dev": true, "dependencies": { - "@babel/types": "^7.22.15" + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.23.3", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz", - "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.25.2.tgz", + "integrity": "sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ==", "dev": true, "dependencies": { - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-module-imports": "^7.22.15", - "@babel/helper-simple-access": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/helper-validator-identifier": "^7.22.20" + "@babel/helper-module-imports": "^7.24.7", + "@babel/helper-simple-access": "^7.24.7", + "@babel/helper-validator-identifier": "^7.24.7", + "@babel/traverse": "^7.25.2" }, "engines": { "node": ">=6.9.0" @@ -216,98 +182,90 @@ } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz", - "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.8.tgz", + "integrity": "sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-simple-access": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", - "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", - "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.7.tgz", + "integrity": "sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg==", "dev": true, "dependencies": { - "@babel/types": "^7.22.5" + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-string-parser": { - "version": "7.23.4", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", - "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz", + "integrity": "sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz", + "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-option": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz", - "integrity": "sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.24.8.tgz", + "integrity": "sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.6.tgz", - "integrity": "sha512-wCfsbN4nBidDRhpDhvcKlzHWCTlgJYUUdSJfzXb2NuBssDSIjc3xcb+znA7l+zYsFljAcGM0aFkN40cR3lXiGA==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.6.tgz", + "integrity": "sha512-Xg0tn4HcfTijTwfDwYlvVCl43V6h4KyVVX2aEm4qdO/PC6L2YvzLHFdmxhoeSA3eslcE6+ZVXHgWwopXYLNq4Q==", "dev": true, "dependencies": { - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.6", - "@babel/types": "^7.23.6" + "@babel/template": "^7.25.0", + "@babel/types": "^7.25.6" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/highlight": { - "version": "7.23.4", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", - "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.7.tgz", + "integrity": "sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==", "dev": true, "dependencies": { - "@babel/helper-validator-identifier": "^7.22.20", + "@babel/helper-validator-identifier": "^7.24.7", "chalk": "^2.4.2", - "js-tokens": "^4.0.0" + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/parser": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz", - "integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.6.tgz", + "integrity": "sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q==", "dev": true, + "dependencies": { + "@babel/types": "^7.25.6" + }, "bin": { "parser": "bin/babel-parser.js" }, @@ -316,12 +274,12 @@ } }, "node_modules/@babel/plugin-transform-react-jsx-self": { - "version": "7.23.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.23.3.tgz", - "integrity": "sha512-qXRvbeKDSfwnlJnanVRp0SfuWE5DQhwQr5xtLBzp56Wabyo+4CMosF6Kfp+eOD/4FYpql64XVJ2W0pVLlJZxOQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.24.7.tgz", + "integrity": "sha512-fOPQYbGSgH0HUp4UJO4sMBFjY6DuWq+2i8rixyUMb3CdGixs/gccURvYOAhajBdKDoGajFr3mUq5rH3phtkGzw==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -331,12 +289,12 @@ } }, "node_modules/@babel/plugin-transform-react-jsx-source": { - "version": "7.23.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.23.3.tgz", - "integrity": "sha512-91RS0MDnAWDNvGC6Wio5XYkyWI39FMFO+JK9+4AlgaTH+yWwVTsw7/sn6LK0lH7c5F+TFkpv/3LfCJ1Ydwof/g==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.24.7.tgz", + "integrity": "sha512-J2z+MWzZHVOemyLweMqngXrgGC42jQ//R0KdxqkIz/OrbVIIlhFI3WigZ5fO+nwFvBlncr4MGapd8vTyc7RPNQ==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -346,9 +304,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.6.tgz", - "integrity": "sha512-zHd0eUrf5GZoOWVCXp6koAKQTfZV07eit6bGPmJgnZdnSAvvZee6zniW2XMF7Cmc4ISOOnPy3QaSiIJGJkVEDQ==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.6.tgz", + "integrity": "sha512-VBj9MYyDb9tuLq7yzqjgzt6Q+IBQLrGZfdjOekyEirZPHxXWoTSGUTMrpsfi58Up73d13NfYLv8HT9vmznjzhQ==", "dependencies": { "regenerator-runtime": "^0.14.0" }, @@ -357,33 +315,30 @@ } }, "node_modules/@babel/template": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", - "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.0.tgz", + "integrity": "sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.22.13", - "@babel/parser": "^7.22.15", - "@babel/types": "^7.22.15" + "@babel/code-frame": "^7.24.7", + "@babel/parser": "^7.25.0", + "@babel/types": "^7.25.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.6.tgz", - "integrity": "sha512-czastdK1e8YByZqezMPFiZ8ahwVMh/ESl9vPgvgdB9AmFMGP5jfpFax74AQgl5zj4XHzqeYAg2l8PuUeRS1MgQ==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.23.5", - "@babel/generator": "^7.23.6", - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-function-name": "^7.23.0", - "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.23.6", - "@babel/types": "^7.23.6", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.6.tgz", + "integrity": "sha512-9Vrcx5ZW6UwK5tvqsj0nGpp/XzqthkT0dqIc9g1AdtygFToNtTF67XzYS//dm+SAK9cp3B9R4ZO/46p63SCjlQ==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.24.7", + "@babel/generator": "^7.25.6", + "@babel/parser": "^7.25.6", + "@babel/template": "^7.25.0", + "@babel/types": "^7.25.6", "debug": "^4.3.1", "globals": "^11.1.0" }, @@ -392,13 +347,13 @@ } }, "node_modules/@babel/types": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz", - "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.6.tgz", + "integrity": "sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==", "dev": true, "dependencies": { - "@babel/helper-string-parser": "^7.23.4", - "@babel/helper-validator-identifier": "^7.22.20", + "@babel/helper-string-parser": "^7.24.8", + "@babel/helper-validator-identifier": "^7.24.7", "to-fast-properties": "^2.0.0" }, "engines": { @@ -406,9 +361,9 @@ } }, "node_modules/@esbuild/aix-ppc64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.20.2.tgz", - "integrity": "sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", "cpu": [ "ppc64" ], @@ -422,9 +377,9 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.20.2.tgz", - "integrity": "sha512-t98Ra6pw2VaDhqNWO2Oph2LXbz/EJcnLmKLGBJwEwXX/JAN83Fym1rU8l0JUWK6HkIbWONCSSatf4sf2NBRx/w==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", + "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", "cpu": [ "arm" ], @@ -438,9 +393,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.20.2.tgz", - "integrity": "sha512-mRzjLacRtl/tWU0SvD8lUEwb61yP9cqQo6noDZP/O8VkwafSYwZ4yWy24kan8jE/IMERpYncRt2dw438LP3Xmg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", + "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", "cpu": [ "arm64" ], @@ -454,9 +409,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.20.2.tgz", - "integrity": "sha512-btzExgV+/lMGDDa194CcUQm53ncxzeBrWJcncOBxuC6ndBkKxnHdFJn86mCIgTELsooUmwUm9FkhSp5HYu00Rg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", + "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", "cpu": [ "x64" ], @@ -470,9 +425,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.20.2.tgz", - "integrity": "sha512-4J6IRT+10J3aJH3l1yzEg9y3wkTDgDk7TSDFX+wKFiWjqWp/iCfLIYzGyasx9l0SAFPT1HwSCR+0w/h1ES/MjA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", + "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", "cpu": [ "arm64" ], @@ -486,9 +441,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.20.2.tgz", - "integrity": "sha512-tBcXp9KNphnNH0dfhv8KYkZhjc+H3XBkF5DKtswJblV7KlT9EI2+jeA8DgBjp908WEuYll6pF+UStUCfEpdysA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", + "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", "cpu": [ "x64" ], @@ -502,9 +457,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.20.2.tgz", - "integrity": "sha512-d3qI41G4SuLiCGCFGUrKsSeTXyWG6yem1KcGZVS+3FYlYhtNoNgYrWcvkOoaqMhwXSMrZRl69ArHsGJ9mYdbbw==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", + "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", "cpu": [ "arm64" ], @@ -518,9 +473,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.20.2.tgz", - "integrity": "sha512-d+DipyvHRuqEeM5zDivKV1KuXn9WeRX6vqSqIDgwIfPQtwMP4jaDsQsDncjTDDsExT4lR/91OLjRo8bmC1e+Cw==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", + "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", "cpu": [ "x64" ], @@ -534,9 +489,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.20.2.tgz", - "integrity": "sha512-VhLPeR8HTMPccbuWWcEUD1Az68TqaTYyj6nfE4QByZIQEQVWBB8vup8PpR7y1QHL3CpcF6xd5WVBU/+SBEvGTg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", + "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", "cpu": [ "arm" ], @@ -550,9 +505,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.20.2.tgz", - "integrity": "sha512-9pb6rBjGvTFNira2FLIWqDk/uaf42sSyLE8j1rnUpuzsODBq7FvpwHYZxQ/It/8b+QOS1RYfqgGFNLRI+qlq2A==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", + "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", "cpu": [ "arm64" ], @@ -566,9 +521,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.20.2.tgz", - "integrity": "sha512-o10utieEkNPFDZFQm9CoP7Tvb33UutoJqg3qKf1PWVeeJhJw0Q347PxMvBgVVFgouYLGIhFYG0UGdBumROyiig==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", + "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", "cpu": [ "ia32" ], @@ -582,9 +537,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.20.2.tgz", - "integrity": "sha512-PR7sp6R/UC4CFVomVINKJ80pMFlfDfMQMYynX7t1tNTeivQ6XdX5r2XovMmha/VjR1YN/HgHWsVcTRIMkymrgQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", + "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", "cpu": [ "loong64" ], @@ -598,9 +553,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.20.2.tgz", - "integrity": "sha512-4BlTqeutE/KnOiTG5Y6Sb/Hw6hsBOZapOVF6njAESHInhlQAghVVZL1ZpIctBOoTFbQyGW+LsVYZ8lSSB3wkjA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", + "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", "cpu": [ "mips64el" ], @@ -614,9 +569,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.20.2.tgz", - "integrity": "sha512-rD3KsaDprDcfajSKdn25ooz5J5/fWBylaaXkuotBDGnMnDP1Uv5DLAN/45qfnf3JDYyJv/ytGHQaziHUdyzaAg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", + "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", "cpu": [ "ppc64" ], @@ -630,9 +585,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.20.2.tgz", - "integrity": "sha512-snwmBKacKmwTMmhLlz/3aH1Q9T8v45bKYGE3j26TsaOVtjIag4wLfWSiZykXzXuE1kbCE+zJRmwp+ZbIHinnVg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", + "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", "cpu": [ "riscv64" ], @@ -646,9 +601,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.20.2.tgz", - "integrity": "sha512-wcWISOobRWNm3cezm5HOZcYz1sKoHLd8VL1dl309DiixxVFoFe/o8HnwuIwn6sXre88Nwj+VwZUvJf4AFxkyrQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", + "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", "cpu": [ "s390x" ], @@ -662,9 +617,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.20.2.tgz", - "integrity": "sha512-1MdwI6OOTsfQfek8sLwgyjOXAu+wKhLEoaOLTjbijk6E2WONYpH9ZU2mNtR+lZ2B4uwr+usqGuVfFT9tMtGvGw==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", + "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", "cpu": [ "x64" ], @@ -678,9 +633,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.20.2.tgz", - "integrity": "sha512-K8/DhBxcVQkzYc43yJXDSyjlFeHQJBiowJ0uVL6Tor3jGQfSGHNNJcWxNbOI8v5k82prYqzPuwkzHt3J1T1iZQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", + "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", "cpu": [ "x64" ], @@ -694,9 +649,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.20.2.tgz", - "integrity": "sha512-eMpKlV0SThJmmJgiVyN9jTPJ2VBPquf6Kt/nAoo6DgHAoN57K15ZghiHaMvqjCye/uU4X5u3YSMgVBI1h3vKrQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", + "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", "cpu": [ "x64" ], @@ -710,9 +665,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.20.2.tgz", - "integrity": "sha512-2UyFtRC6cXLyejf/YEld4Hajo7UHILetzE1vsRcGL3earZEW77JxrFjH4Ez2qaTiEfMgAXxfAZCm1fvM/G/o8w==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", + "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", "cpu": [ "x64" ], @@ -726,9 +681,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.20.2.tgz", - "integrity": "sha512-GRibxoawM9ZCnDxnP3usoUDO9vUkpAxIIZ6GQI+IlVmr5kP3zUq+l17xELTHMWTWzjxa2guPNyrpq1GWmPvcGQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", + "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", "cpu": [ "arm64" ], @@ -742,9 +697,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.20.2.tgz", - "integrity": "sha512-HfLOfn9YWmkSKRQqovpnITazdtquEW8/SoHW7pWpuEeguaZI4QnCRW6b+oZTztdBnZOS2hqJ6im/D5cPzBTTlQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", + "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", "cpu": [ "ia32" ], @@ -758,9 +713,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.20.2.tgz", - "integrity": "sha512-N49X4lJX27+l9jbLKSqZ6bKNjzQvHaT8IIFUy+YIqmXQdjYCToGWwOItDrfby14c78aDd5NHQl29xingXfCdLQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", + "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", "cpu": [ "x64" ], @@ -858,22 +813,23 @@ "dev": true }, "node_modules/@eslint/js": { - "version": "8.56.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz", - "integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==", + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", + "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/@humanwhocodes/config-array": { - "version": "0.11.13", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", - "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==", + "version": "0.11.14", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", + "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "deprecated": "Use @eslint/config-array instead", "dev": true, "dependencies": { - "@humanwhocodes/object-schema": "^2.0.1", - "debug": "^4.1.1", + "@humanwhocodes/object-schema": "^2.0.2", + "debug": "^4.3.1", "minimatch": "^3.0.5" }, "engines": { @@ -894,52 +850,53 @@ } }, "node_modules/@humanwhocodes/object-schema": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz", - "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", + "deprecated": "Use @eslint/object-schema instead", "dev": true }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", - "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", + "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", "dev": true, "dependencies": { - "@jridgewell/set-array": "^1.0.1", + "@jridgewell/set-array": "^1.2.1", "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" + "@jridgewell/trace-mapping": "^0.3.24" }, "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", - "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", "dev": true, "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/set-array": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", "dev": true, "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.15", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==" }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.20", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz", - "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==", + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", "dev": true, "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", @@ -1012,13 +969,13 @@ "peer": true }, "node_modules/@openfeature/flagd-core": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@openfeature/flagd-core/-/flagd-core-0.2.3.tgz", - "integrity": "sha512-dhinXEfFmyTPVuI53Nq1pEC7SJP78LgpmJriMlVjcNaDRkA8VneyjuttijDnHw8PcrBit5I3DZNelXzrUkkiLw==", + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@openfeature/flagd-core/-/flagd-core-0.2.5.tgz", + "integrity": "sha512-9A0LxP3G/JzqZK17pli6jbD7XnRTDtYZRU3TOBVeb4SBxeHuwSlXX6AjAoXMk/6yKvAF+Q6LHpDwXp8teGMsAA==", "dependencies": { "ajv": "^8.12.0", "imurmurhash": "0.1.4", - "json-logic-engine": "1.3.4", + "json-logic-engine": "1.3.6", "object-hash": "3.0.0", "semver": "7.5.3", "tslib": "^2.3.0" @@ -1028,9 +985,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.14.3.tgz", - "integrity": "sha512-X9alQ3XM6I9IlSlmC8ddAvMSyG1WuHk5oUnXGw+yUBs3BFoTizmG1La/Gr8fVJvDWAq+zlYTZ9DBgrlKRVY06g==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.21.2.tgz", + "integrity": "sha512-fSuPrt0ZO8uXeS+xP3b+yYTCBUd05MoSp2N/MFOgjhhUhMmchXlpTQrTpI8T+YAwAQuK7MafsCOxW7VrPMrJcg==", "cpu": [ "arm" ], @@ -1041,9 +998,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.14.3.tgz", - "integrity": "sha512-eQK5JIi+POhFpzk+LnjKIy4Ks+pwJ+NXmPxOCSvOKSNRPONzKuUvWE+P9JxGZVxrtzm6BAYMaL50FFuPe0oWMQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.21.2.tgz", + "integrity": "sha512-xGU5ZQmPlsjQS6tzTTGwMsnKUtu0WVbl0hYpTPauvbRAnmIvpInhJtgjj3mcuJpEiuUw4v1s4BimkdfDWlh7gA==", "cpu": [ "arm64" ], @@ -1054,9 +1011,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.14.3.tgz", - "integrity": "sha512-Od4vE6f6CTT53yM1jgcLqNfItTsLt5zE46fdPaEmeFHvPs5SjZYlLpHrSiHEKR1+HdRfxuzXHjDOIxQyC3ptBA==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.21.2.tgz", + "integrity": "sha512-99AhQ3/ZMxU7jw34Sq8brzXqWH/bMnf7ZVhvLk9QU2cOepbQSVTns6qoErJmSiAvU3InRqC2RRZ5ovh1KN0d0Q==", "cpu": [ "arm64" ], @@ -1067,9 +1024,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.14.3.tgz", - "integrity": "sha512-0IMAO21axJeNIrvS9lSe/PGthc8ZUS+zC53O0VhF5gMxfmcKAP4ESkKOCwEi6u2asUrt4mQv2rjY8QseIEb1aw==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.21.2.tgz", + "integrity": "sha512-ZbRaUvw2iN/y37x6dY50D8m2BnDbBjlnMPotDi/qITMJ4sIxNY33HArjikDyakhSv0+ybdUxhWxE6kTI4oX26w==", "cpu": [ "x64" ], @@ -1080,9 +1037,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.14.3.tgz", - "integrity": "sha512-ge2DC7tHRHa3caVEoSbPRJpq7azhG+xYsd6u2MEnJ6XzPSzQsTKyXvh6iWjXRf7Rt9ykIUWHtl0Uz3T6yXPpKw==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.21.2.tgz", + "integrity": "sha512-ztRJJMiE8nnU1YFcdbd9BcH6bGWG1z+jP+IPW2oDUAPxPjo9dverIOyXz76m6IPA6udEL12reYeLojzW2cYL7w==", "cpu": [ "arm" ], @@ -1093,9 +1050,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.14.3.tgz", - "integrity": "sha512-ljcuiDI4V3ySuc7eSk4lQ9wU8J8r8KrOUvB2U+TtK0TiW6OFDmJ+DdIjjwZHIw9CNxzbmXY39wwpzYuFDwNXuw==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.21.2.tgz", + "integrity": "sha512-flOcGHDZajGKYpLV0JNc0VFH361M7rnV1ee+NTeC/BQQ1/0pllYcFmxpagltANYt8FYf9+kL6RSk80Ziwyhr7w==", "cpu": [ "arm" ], @@ -1106,9 +1063,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.14.3.tgz", - "integrity": "sha512-Eci2us9VTHm1eSyn5/eEpaC7eP/mp5n46gTRB3Aar3BgSvDQGJZuicyq6TsH4HngNBgVqC5sDYxOzTExSU+NjA==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.21.2.tgz", + "integrity": "sha512-69CF19Kp3TdMopyteO/LJbWufOzqqXzkrv4L2sP8kfMaAQ6iwky7NoXTp7bD6/irKgknDKM0P9E/1l5XxVQAhw==", "cpu": [ "arm64" ], @@ -1119,9 +1076,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.14.3.tgz", - "integrity": "sha512-UrBoMLCq4E92/LCqlh+blpqMz5h1tJttPIniwUgOFJyjWI1qrtrDhhpHPuFxULlUmjFHfloWdixtDhSxJt5iKw==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.21.2.tgz", + "integrity": "sha512-48pD/fJkTiHAZTnZwR0VzHrao70/4MlzJrq0ZsILjLW/Ab/1XlVUStYyGt7tdyIiVSlGZbnliqmult/QGA2O2w==", "cpu": [ "arm64" ], @@ -1132,9 +1089,9 @@ ] }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.14.3.tgz", - "integrity": "sha512-5aRjvsS8q1nWN8AoRfrq5+9IflC3P1leMoy4r2WjXyFqf3qcqsxRCfxtZIV58tCxd+Yv7WELPcO9mY9aeQyAmw==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.21.2.tgz", + "integrity": "sha512-cZdyuInj0ofc7mAQpKcPR2a2iu4YM4FQfuUzCVA2u4HI95lCwzjoPtdWjdpDKyHxI0UO82bLDoOaLfpZ/wviyQ==", "cpu": [ "ppc64" ], @@ -1145,9 +1102,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.14.3.tgz", - "integrity": "sha512-sk/Qh1j2/RJSX7FhEpJn8n0ndxy/uf0kI/9Zc4b1ELhqULVdTfN6HL31CDaTChiBAOgLcsJ1sgVZjWv8XNEsAQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.21.2.tgz", + "integrity": "sha512-RL56JMT6NwQ0lXIQmMIWr1SW28z4E4pOhRRNqwWZeXpRlykRIlEpSWdsgNWJbYBEWD84eocjSGDu/XxbYeCmwg==", "cpu": [ "riscv64" ], @@ -1158,9 +1115,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.14.3.tgz", - "integrity": "sha512-jOO/PEaDitOmY9TgkxF/TQIjXySQe5KVYB57H/8LRP/ux0ZoO8cSHCX17asMSv3ruwslXW/TLBcxyaUzGRHcqg==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.21.2.tgz", + "integrity": "sha512-PMxkrWS9z38bCr3rWvDFVGD6sFeZJw4iQlhrup7ReGmfn7Oukrr/zweLhYX6v2/8J6Cep9IEA/SmjXjCmSbrMQ==", "cpu": [ "s390x" ], @@ -1171,9 +1128,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.14.3.tgz", - "integrity": "sha512-8ybV4Xjy59xLMyWo3GCfEGqtKV5M5gCSrZlxkPGvEPCGDLNla7v48S662HSGwRd6/2cSneMQWiv+QzcttLrrOA==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.21.2.tgz", + "integrity": "sha512-B90tYAUoLhU22olrafY3JQCFLnT3NglazdwkHyxNDYF/zAxJt5fJUB/yBoWFoIQ7SQj+KLe3iL4BhOMa9fzgpw==", "cpu": [ "x64" ], @@ -1184,9 +1141,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.14.3.tgz", - "integrity": "sha512-s+xf1I46trOY10OqAtZ5Rm6lzHre/UiLA1J2uOhCFXWkbZrJRkYBPO6FhvGfHmdtQ3Bx793MNa7LvoWFAm93bg==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.21.2.tgz", + "integrity": "sha512-7twFizNXudESmC9oneLGIUmoHiiLppz/Xs5uJQ4ShvE6234K0VB1/aJYU3f/4g7PhssLGKBVCC37uRkkOi8wjg==", "cpu": [ "x64" ], @@ -1197,9 +1154,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.14.3.tgz", - "integrity": "sha512-+4h2WrGOYsOumDQ5S2sYNyhVfrue+9tc9XcLWLh+Kw3UOxAvrfOrSMFon60KspcDdytkNDh7K2Vs6eMaYImAZg==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.21.2.tgz", + "integrity": "sha512-9rRero0E7qTeYf6+rFh3AErTNU1VCQg2mn7CQcI44vNUWM9Ze7MSRS/9RFuSsox+vstRt97+x3sOhEey024FRQ==", "cpu": [ "arm64" ], @@ -1210,9 +1167,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.14.3.tgz", - "integrity": "sha512-T1l7y/bCeL/kUwh9OD4PQT4aM7Bq43vX05htPJJ46RTI4r5KNt6qJRzAfNfM+OYMNEVBWQzR2Gyk+FXLZfogGw==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.21.2.tgz", + "integrity": "sha512-5rA4vjlqgrpbFVVHX3qkrCo/fZTj1q0Xxpg+Z7yIo3J2AilW7t2+n6Q8Jrx+4MrYpAnjttTYF8rr7bP46BPzRw==", "cpu": [ "ia32" ], @@ -1223,9 +1180,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.14.3.tgz", - "integrity": "sha512-/BypzV0H1y1HzgYpxqRaXGBRqfodgoBBCcsrujT6QRcakDQdfU+Lq9PENPh5jB4I44YWq+0C2eHsHya+nZY1sA==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.21.2.tgz", + "integrity": "sha512-6UUxd0+SKomjdzuAcp+HAmxw1FlGBnl1v2yEPSabtx4lBfdXHDVsW7+lQkgz9cNFJGY3AWR7+V8P5BqkD9L9nA==", "cpu": [ "x64" ], @@ -1287,12 +1244,6 @@ "resolved": "https://registry.npmjs.org/@types/js-cookie/-/js-cookie-2.2.7.tgz", "integrity": "sha512-aLkWa0C0vO5b4Sr798E26QgOkss68Un0bLjs7u9qxzPT5CG+8DuNTffWES58YzJs3hrVAOs1wonycqEBqNJubA==" }, - "node_modules/@types/json-schema": { - "version": "7.0.15", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", - "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", - "dev": true - }, "node_modules/@types/prop-types": { "version": "15.7.11", "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz", @@ -1300,65 +1251,50 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.2.53", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.53.tgz", - "integrity": "sha512-52IHsMDT8qATp9B9zoOyobW8W3/0QhaJQTw1HwRj0UY2yBpCAQ7+S/CqHYQ8niAm3p4ji+rWUQ9UCib0GxQ60w==", + "version": "18.3.5", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.5.tgz", + "integrity": "sha512-WeqMfGJLGuLCqHGYRGHxnKrXcTitc6L/nBUWfWPcTarG3t9PsquqUMuVeXZeca+mglY4Vo5GZjCi0A3Or2lnxA==", "dev": true, "dependencies": { "@types/prop-types": "*", - "@types/scheduler": "*", "csstype": "^3.0.2" } }, "node_modules/@types/react-dom": { - "version": "18.2.18", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.18.tgz", - "integrity": "sha512-TJxDm6OfAX2KJWJdMEVTwWke5Sc/E/RlnPGvGfS0W7+6ocy2xhDVQVh/KvC2Uf7kACs+gDytdusDSdWfWkaNzw==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz", + "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==", "dev": true, "dependencies": { "@types/react": "*" } }, - "node_modules/@types/scheduler": { - "version": "0.16.8", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz", - "integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==", - "dev": true - }, - "node_modules/@types/semver": { - "version": "7.5.6", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz", - "integrity": "sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==", - "dev": true - }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.20.0.tgz", - "integrity": "sha512-fTwGQUnjhoYHeSF6m5pWNkzmDDdsKELYrOBxhjMrofPqCkoC2k3B2wvGHFxa1CTIqkEn88nlW1HVMztjo2K8Hg==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.3.0.tgz", + "integrity": "sha512-FLAIn63G5KH+adZosDYiutqkOkYEx0nvcwNNfJAf+c7Ae/H35qWwTYvPZUKFj5AS+WfHG/WJJfWnDnyNUlp8UA==", "dev": true, "dependencies": { - "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.20.0", - "@typescript-eslint/type-utils": "6.20.0", - "@typescript-eslint/utils": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0", - "debug": "^4.3.4", + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.3.0", + "@typescript-eslint/type-utils": "8.3.0", + "@typescript-eslint/utils": "8.3.0", + "@typescript-eslint/visitor-keys": "8.3.0", "graphemer": "^1.4.0", - "ignore": "^5.2.4", + "ignore": "^5.3.1", "natural-compare": "^1.4.0", - "semver": "^7.5.4", - "ts-api-utils": "^1.0.1" + "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^6.0.0 || ^6.0.0-alpha", - "eslint": "^7.0.0 || ^8.0.0" + "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", + "eslint": "^8.57.0 || ^9.0.0" }, "peerDependenciesMeta": { "typescript": { @@ -1366,60 +1302,27 @@ } } }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/@typescript-eslint/parser": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.20.0.tgz", - "integrity": "sha512-bYerPDF/H5v6V76MdMYhjwmwgMA+jlPVqjSDq2cRqMi8bP5sR3Z+RLOiOMad3nsnmDVmn2gAFCyNgh/dIrfP/w==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.3.0.tgz", + "integrity": "sha512-h53RhVyLu6AtpUzVCYLPhZGL5jzTD9fZL+SYf/+hYOx2bDkyQXztXSc4tbvKYHzfMXExMLiL9CWqJmVz6+78IQ==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "6.20.0", - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/typescript-estree": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0", + "@typescript-eslint/scope-manager": "8.3.0", + "@typescript-eslint/types": "8.3.0", + "@typescript-eslint/typescript-estree": "8.3.0", + "@typescript-eslint/visitor-keys": "8.3.0", "debug": "^4.3.4" }, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0" + "eslint": "^8.57.0 || ^9.0.0" }, "peerDependenciesMeta": { "typescript": { @@ -1428,16 +1331,16 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.20.0.tgz", - "integrity": "sha512-p4rvHQRDTI1tGGMDFQm+GtxP1ZHyAh64WANVoyEcNMpaTFn3ox/3CcgtIlELnRfKzSs/DwYlDccJEtr3O6qBvA==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.3.0.tgz", + "integrity": "sha512-mz2X8WcN2nVu5Hodku+IR8GgCOl4C0G/Z1ruaWN4dgec64kDBabuXyPAr+/RgJtumv8EEkqIzf3X2U5DUKB2eg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0" + "@typescript-eslint/types": "8.3.0", + "@typescript-eslint/visitor-keys": "8.3.0" }, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1445,26 +1348,23 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.20.0.tgz", - "integrity": "sha512-qnSobiJQb1F5JjN0YDRPHruQTrX7ICsmltXhkV536mp4idGAYrIyr47zF/JmkJtEcAVnIz4gUYJ7gOZa6SmN4g==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.3.0.tgz", + "integrity": "sha512-wrV6qh//nLbfXZQoj32EXKmwHf4b7L+xXLrP3FZ0GOUU72gSvLjeWUl5J5Ue5IwRxIV1TfF73j/eaBapxx99Lg==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "6.20.0", - "@typescript-eslint/utils": "6.20.0", + "@typescript-eslint/typescript-estree": "8.3.0", + "@typescript-eslint/utils": "8.3.0", "debug": "^4.3.4", - "ts-api-utils": "^1.0.1" + "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, - "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0" - }, "peerDependenciesMeta": { "typescript": { "optional": true @@ -1472,12 +1372,12 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.20.0.tgz", - "integrity": "sha512-MM9mfZMAhiN4cOEcUOEx+0HmuaW3WBfukBZPCfwSqFnQy0grXYtngKCqpQN339X3RrwtzspWJrpbrupKYUSBXQ==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.3.0.tgz", + "integrity": "sha512-y6sSEeK+facMaAyixM36dQ5NVXTnKWunfD1Ft4xraYqxP0lC0POJmIaL/mw72CUMqjY9qfyVfXafMeaUj0noWw==", "dev": true, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1485,22 +1385,22 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.20.0.tgz", - "integrity": "sha512-RnRya9q5m6YYSpBN7IzKu9FmLcYtErkDkc8/dKv81I9QiLLtVBHrjz+Ev/crAqgMNW2FCsoZF4g2QUylMnJz+g==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.3.0.tgz", + "integrity": "sha512-Mq7FTHl0R36EmWlCJWojIC1qn/ZWo2YiWYc1XVtasJ7FIgjo0MVv9rZWXEE7IK2CGrtwe1dVOxWwqXUdNgfRCA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0", + "@typescript-eslint/types": "8.3.0", + "@typescript-eslint/visitor-keys": "8.3.0", "debug": "^4.3.4", - "globby": "^11.1.0", + "fast-glob": "^3.3.2", "is-glob": "^4.0.3", - "minimatch": "9.0.3", - "semver": "^7.5.4", - "ts-api-utils": "^1.0.1" + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1521,22 +1421,10 @@ "balanced-match": "^1.0.0" } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", - "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "dependencies": { "brace-expansion": "^2.0.1" @@ -1549,13 +1437,10 @@ } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, "bin": { "semver": "bin/semver.js" }, @@ -1563,81 +1448,39 @@ "node": ">=10" } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/@typescript-eslint/utils": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.20.0.tgz", - "integrity": "sha512-/EKuw+kRu2vAqCoDwDCBtDRU6CTKbUmwwI7SH7AashZ+W+7o8eiyy6V2cdOqN49KsTcASWsC5QeghYuRDTyOOg==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.3.0.tgz", + "integrity": "sha512-F77WwqxIi/qGkIGOGXNBLV7nykwfjLsdauRB/DOFPdv6LTF3BHHkBpq81/b5iMPSF055oO2BiivDJV4ChvNtXA==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@types/json-schema": "^7.0.12", - "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.20.0", - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/typescript-estree": "6.20.0", - "semver": "^7.5.4" + "@typescript-eslint/scope-manager": "8.3.0", + "@typescript-eslint/types": "8.3.0", + "@typescript-eslint/typescript-estree": "8.3.0" }, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0" - } - }, - "node_modules/@typescript-eslint/utils/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@typescript-eslint/utils/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" + "eslint": "^8.57.0 || ^9.0.0" } }, - "node_modules/@typescript-eslint/utils/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.20.0.tgz", - "integrity": "sha512-E8Cp98kRe4gKHjJD4NExXKz/zOJ1A2hhZc+IMVD6i7w4yjIvh6VyuRI0gRtxAsXtoC35uGMaQ9rjI2zJaXDEAw==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.3.0.tgz", + "integrity": "sha512-RmZwrTbQ9QveF15m/Cl28n0LXD6ea2CjkhH5rQ55ewz3H24w+AMCJHPVYaZ8/0HoG8Z3cLLFFycRXxeO2tz9FA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.20.0", - "eslint-visitor-keys": "^3.4.1" + "@typescript-eslint/types": "8.3.0", + "eslint-visitor-keys": "^3.4.3" }, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1651,16 +1494,16 @@ "dev": true }, "node_modules/@vitejs/plugin-react": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.2.1.tgz", - "integrity": "sha512-oojO9IDc4nCUUi8qIR11KoQm0XFFLIwsRBwHRR4d/88IWghn1y6ckz/bJ8GHDCsYEJee8mDzqtJxh15/cisJNQ==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.3.1.tgz", + "integrity": "sha512-m/V2syj5CuVnaxcUJOQRel/Wr31FFXRFlnOoq1TVtkCxsY5veGMTEmpWHndrhB2U8ScHtCQB1e+4hWYExQc6Lg==", "dev": true, "dependencies": { - "@babel/core": "^7.23.5", - "@babel/plugin-transform-react-jsx-self": "^7.23.3", - "@babel/plugin-transform-react-jsx-source": "^7.23.3", + "@babel/core": "^7.24.5", + "@babel/plugin-transform-react-jsx-self": "^7.24.5", + "@babel/plugin-transform-react-jsx-source": "^7.24.1", "@types/babel__core": "^7.20.5", - "react-refresh": "^0.14.0" + "react-refresh": "^0.14.2" }, "engines": { "node": "^14.18.0 || >=16.0.0" @@ -1737,15 +1580,6 @@ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true }, - "node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -1763,21 +1597,21 @@ } }, "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" } }, "node_modules/browserslist": { - "version": "4.22.2", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.2.tgz", - "integrity": "sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==", + "version": "4.23.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.3.tgz", + "integrity": "sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==", "dev": true, "funding": [ { @@ -1794,10 +1628,10 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001565", - "electron-to-chromium": "^1.4.601", - "node-releases": "^2.0.14", - "update-browserslist-db": "^1.0.13" + "caniuse-lite": "^1.0.30001646", + "electron-to-chromium": "^1.5.4", + "node-releases": "^2.0.18", + "update-browserslist-db": "^1.1.0" }, "bin": { "browserslist": "cli.js" @@ -1816,9 +1650,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001570", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001570.tgz", - "integrity": "sha512-+3e0ASu4sw1SWaoCtvPeyXp+5PsjigkSt8OXZbF9StH5pQWbxEjLAZE3n8Aup5udop1uRiKA7a4utUk/uoSpUw==", + "version": "1.0.30001655", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001655.tgz", + "integrity": "sha512-jRGVy3iSGO5Uutn2owlb5gR6qsGngTw9ZTb4ali9f3glshcNmJ2noam4Mo9zia5P9Dk3jNNydy7vQjuE5dQmfg==", "dev": true, "funding": [ { @@ -1946,18 +1780,6 @@ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, - "dependencies": { - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/doctrine": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", @@ -1971,9 +1793,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.612", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.612.tgz", - "integrity": "sha512-dM8BMtXtlH237ecSMnYdYuCkib2QHq0kpWfUnavjdYsyr/6OsAwg5ZGUfnQ9KD1Ga4QgB2sqXlB2NT8zy2GnVg==", + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.13.tgz", + "integrity": "sha512-lbBcvtIJ4J6sS4tb5TLp1b4LyfCdMkwStzXPyAgVgTRAsep4bvrAGaBOP7ZJtQMNJpSQ9SqG4brWOroNaQtm7Q==", "dev": true }, "node_modules/error-stack-parser": { @@ -1985,9 +1807,9 @@ } }, "node_modules/esbuild": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.20.2.tgz", - "integrity": "sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", + "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", "dev": true, "hasInstallScript": true, "bin": { @@ -1997,35 +1819,35 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/aix-ppc64": "0.20.2", - "@esbuild/android-arm": "0.20.2", - "@esbuild/android-arm64": "0.20.2", - "@esbuild/android-x64": "0.20.2", - "@esbuild/darwin-arm64": "0.20.2", - "@esbuild/darwin-x64": "0.20.2", - "@esbuild/freebsd-arm64": "0.20.2", - "@esbuild/freebsd-x64": "0.20.2", - "@esbuild/linux-arm": "0.20.2", - "@esbuild/linux-arm64": "0.20.2", - "@esbuild/linux-ia32": "0.20.2", - "@esbuild/linux-loong64": "0.20.2", - "@esbuild/linux-mips64el": "0.20.2", - "@esbuild/linux-ppc64": "0.20.2", - "@esbuild/linux-riscv64": "0.20.2", - "@esbuild/linux-s390x": "0.20.2", - "@esbuild/linux-x64": "0.20.2", - "@esbuild/netbsd-x64": "0.20.2", - "@esbuild/openbsd-x64": "0.20.2", - "@esbuild/sunos-x64": "0.20.2", - "@esbuild/win32-arm64": "0.20.2", - "@esbuild/win32-ia32": "0.20.2", - "@esbuild/win32-x64": "0.20.2" + "@esbuild/aix-ppc64": "0.21.5", + "@esbuild/android-arm": "0.21.5", + "@esbuild/android-arm64": "0.21.5", + "@esbuild/android-x64": "0.21.5", + "@esbuild/darwin-arm64": "0.21.5", + "@esbuild/darwin-x64": "0.21.5", + "@esbuild/freebsd-arm64": "0.21.5", + "@esbuild/freebsd-x64": "0.21.5", + "@esbuild/linux-arm": "0.21.5", + "@esbuild/linux-arm64": "0.21.5", + "@esbuild/linux-ia32": "0.21.5", + "@esbuild/linux-loong64": "0.21.5", + "@esbuild/linux-mips64el": "0.21.5", + "@esbuild/linux-ppc64": "0.21.5", + "@esbuild/linux-riscv64": "0.21.5", + "@esbuild/linux-s390x": "0.21.5", + "@esbuild/linux-x64": "0.21.5", + "@esbuild/netbsd-x64": "0.21.5", + "@esbuild/openbsd-x64": "0.21.5", + "@esbuild/sunos-x64": "0.21.5", + "@esbuild/win32-arm64": "0.21.5", + "@esbuild/win32-ia32": "0.21.5", + "@esbuild/win32-x64": "0.21.5" } }, "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", "dev": true, "engines": { "node": ">=6" @@ -2041,16 +1863,16 @@ } }, "node_modules/eslint": { - "version": "8.56.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz", - "integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==", + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", + "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.56.0", - "@humanwhocodes/config-array": "^0.11.13", + "@eslint/js": "8.57.0", + "@humanwhocodes/config-array": "^0.11.14", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "@ungap/structured-clone": "^1.2.0", @@ -2096,9 +1918,9 @@ } }, "node_modules/eslint-plugin-react-hooks": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz", - "integrity": "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==", + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz", + "integrity": "sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==", "dev": true, "engines": { "node": ">=10" @@ -2108,9 +1930,9 @@ } }, "node_modules/eslint-plugin-react-refresh": { - "version": "0.4.5", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.5.tgz", - "integrity": "sha512-D53FYKJa+fDmZMtriODxvhwrO+IOqrxoEo21gMA0sjHdU6dPVH4OhyFip9ypl8HOF5RV5KdTo+rBQLvnY2cO8w==", + "version": "0.4.11", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.11.tgz", + "integrity": "sha512-wrAKxMbVr8qhXTtIKfXqAn5SAtRZt0aXxe5P23Fh4pUAdC6XEsybGLB8P0PI4j1yYqOgUEUlzKAGDfo7rJOjcw==", "dev": true, "peerDependencies": { "eslint": ">=7" @@ -2367,11 +2189,6 @@ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", "dev": true }, - "node_modules/fast-loops": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/fast-loops/-/fast-loops-1.1.3.tgz", - "integrity": "sha512-8EZzEP0eKkEEVX+drtd9mtuQ+/QrlfW/5MlwcwK5Nds6EkZ/tRzEexkzUY2mIssnAyVLT+TKHuRXmFNNXYUd6g==" - }, "node_modules/fast-shallow-equal": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fast-shallow-equal/-/fast-shallow-equal-1.0.0.tgz", @@ -2404,9 +2221,9 @@ } }, "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "dependencies": { "to-regex-range": "^5.0.1" @@ -2521,26 +2338,6 @@ "node": ">=4" } }, - "node_modules/globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dev": true, - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/graphemer": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", @@ -2557,14 +2354,14 @@ } }, "node_modules/hyphenate-style-name": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/hyphenate-style-name/-/hyphenate-style-name-1.0.4.tgz", - "integrity": "sha512-ygGZLjmXfPHj+ZWh6LwbC37l43MhfztxetbFCoYTM2VjkIUpeHgSNn7QIyVFj7YQ1Wl9Cbw5sholVJPzWvC2MQ==" + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/hyphenate-style-name/-/hyphenate-style-name-1.1.0.tgz", + "integrity": "sha512-WDC/ui2VVRrz3jOVi+XtjqkDjiVjTtFaAGiW37k6b+ohyQ5wYDOGkvCZa8+H0nx3gyvv0+BST9xuOgIyGQ00gw==" }, "node_modules/ignore": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", - "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, "engines": { "node": ">= 4" @@ -2611,12 +2408,11 @@ "dev": true }, "node_modules/inline-style-prefixer": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/inline-style-prefixer/-/inline-style-prefixer-7.0.0.tgz", - "integrity": "sha512-I7GEdScunP1dQ6IM2mQWh6v0mOYdYmH3Bp31UecKdrcUgcURTcctSe1IECdUznSHKSmsHtjrT3CwCPI1pyxfUQ==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/inline-style-prefixer/-/inline-style-prefixer-7.0.1.tgz", + "integrity": "sha512-lhYo5qNTQp3EvSSp3sRvXMbVQTLrvGV6DycRMJ5dm2BLMiJ30wpXKdDdgX+GmJZ5uQMucwRKHamXSst3Sj/Giw==", "dependencies": { - "css-in-js-utils": "^3.1.0", - "fast-loops": "^1.1.3" + "css-in-js-utils": "^3.1.0" } }, "node_modules/is-extglob": { @@ -2705,9 +2501,9 @@ "dev": true }, "node_modules/json-logic-engine": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/json-logic-engine/-/json-logic-engine-1.3.4.tgz", - "integrity": "sha512-p+WXFVTDWjZiM45+H2MSnAz984PPt2QampUGeMmgxWllsJjF8j8ucA3llmbL0xJkkV/7uj4MhhgJIYZ1MbkGiA==", + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/json-logic-engine/-/json-logic-engine-1.3.6.tgz", + "integrity": "sha512-ZC3Le6W0vsGKPvoJYu5Xpca2A+0N0IsPwZEfJsJzdCwbuuZkFMsIhNNp4Y6Txh2+P+OquADhgnI450KMStybqA==", "engines": { "node": ">=12.22.7" } @@ -2813,12 +2609,12 @@ } }, "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, "dependencies": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" }, "engines": { @@ -2850,15 +2646,15 @@ "dev": true }, "node_modules/nano-css": { - "version": "5.6.1", - "resolved": "https://registry.npmjs.org/nano-css/-/nano-css-5.6.1.tgz", - "integrity": "sha512-T2Mhc//CepkTa3X4pUhKgbEheJHYAxD0VptuqFhDbGMUWVV2m+lkNiW/Ieuj35wrfC8Zm0l7HvssQh7zcEttSw==", + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/nano-css/-/nano-css-5.6.2.tgz", + "integrity": "sha512-+6bHaC8dSDGALM1HJjOHVXpuastdu2xFoZlC77Jh4cg+33Zcgm+Gxd+1xsnpZK14eyHObSp82+ll5y3SX75liw==", "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.15", "css-tree": "^1.1.2", "csstype": "^3.1.2", "fastest-stable-stringify": "^2.0.2", - "inline-style-prefixer": "^7.0.0", + "inline-style-prefixer": "^7.0.1", "rtl-css-js": "^1.16.1", "stacktrace-js": "^2.0.2", "stylis": "^4.3.0" @@ -2893,9 +2689,9 @@ "dev": true }, "node_modules/node-releases": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", - "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", + "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", "dev": true }, "node_modules/object-hash": { @@ -3001,19 +2797,10 @@ "node": ">=8" } }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", + "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", "dev": true }, "node_modules/picomatch": { @@ -3029,9 +2816,9 @@ } }, "node_modules/postcss": { - "version": "8.4.38", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz", - "integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==", + "version": "8.4.41", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.41.tgz", + "integrity": "sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==", "dev": true, "funding": [ { @@ -3049,7 +2836,7 @@ ], "dependencies": { "nanoid": "^3.3.7", - "picocolors": "^1.0.0", + "picocolors": "^1.0.1", "source-map-js": "^1.2.0" }, "engines": { @@ -3094,9 +2881,9 @@ ] }, "node_modules/react": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", - "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", "dependencies": { "loose-envify": "^1.1.0" }, @@ -3105,21 +2892,21 @@ } }, "node_modules/react-dom": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", - "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", "dependencies": { "loose-envify": "^1.1.0", - "scheduler": "^0.23.0" + "scheduler": "^0.23.2" }, "peerDependencies": { - "react": "^18.2.0" + "react": "^18.3.1" } }, "node_modules/react-refresh": { - "version": "0.14.0", - "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.0.tgz", - "integrity": "sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==", + "version": "0.14.2", + "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.2.tgz", + "integrity": "sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==", "dev": true, "engines": { "node": ">=0.10.0" @@ -3135,9 +2922,9 @@ } }, "node_modules/react-use": { - "version": "17.5.0", - "resolved": "https://registry.npmjs.org/react-use/-/react-use-17.5.0.tgz", - "integrity": "sha512-PbfwSPMwp/hoL847rLnm/qkjg3sTRCvn6YhUZiHaUa3FA6/aNoFX79ul5Xt70O1rK+9GxSVqkY0eTwMdsR/bWg==", + "version": "17.5.1", + "resolved": "https://registry.npmjs.org/react-use/-/react-use-17.5.1.tgz", + "integrity": "sha512-LG/uPEVRflLWMwi3j/sZqR00nF6JGqTTDblkXK2nzXsIvij06hXl1V/MZIlwj1OKIQUtlh1l9jK8gLsRyCQxMg==", "dependencies": { "@types/js-cookie": "^2.2.6", "@xobotyi/scrollbar-width": "^1.9.5", @@ -3145,7 +2932,7 @@ "fast-deep-equal": "^3.1.3", "fast-shallow-equal": "^1.0.0", "js-cookie": "^2.2.1", - "nano-css": "^5.6.1", + "nano-css": "^5.6.2", "react-universal-interface": "^0.6.2", "resize-observer-polyfill": "^1.5.1", "screenfull": "^5.1.0", @@ -3212,9 +2999,9 @@ } }, "node_modules/rollup": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.14.3.tgz", - "integrity": "sha512-ag5tTQKYsj1bhrFC9+OEWqb5O6VYgtQDO9hPDBMmIbePwhfSr+ExlcU741t8Dhw5DkPCQf6noz0jb36D6W9/hw==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.21.2.tgz", + "integrity": "sha512-e3TapAgYf9xjdLvKQCkQTnbTKd4a6jwlpQSJJFokHGaX2IVjoEqkIIhiQfqsi0cdwlOD+tQGuOd5AJkc5RngBw==", "dev": true, "dependencies": { "@types/estree": "1.0.5" @@ -3227,22 +3014,22 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.14.3", - "@rollup/rollup-android-arm64": "4.14.3", - "@rollup/rollup-darwin-arm64": "4.14.3", - "@rollup/rollup-darwin-x64": "4.14.3", - "@rollup/rollup-linux-arm-gnueabihf": "4.14.3", - "@rollup/rollup-linux-arm-musleabihf": "4.14.3", - "@rollup/rollup-linux-arm64-gnu": "4.14.3", - "@rollup/rollup-linux-arm64-musl": "4.14.3", - "@rollup/rollup-linux-powerpc64le-gnu": "4.14.3", - "@rollup/rollup-linux-riscv64-gnu": "4.14.3", - "@rollup/rollup-linux-s390x-gnu": "4.14.3", - "@rollup/rollup-linux-x64-gnu": "4.14.3", - "@rollup/rollup-linux-x64-musl": "4.14.3", - "@rollup/rollup-win32-arm64-msvc": "4.14.3", - "@rollup/rollup-win32-ia32-msvc": "4.14.3", - "@rollup/rollup-win32-x64-msvc": "4.14.3", + "@rollup/rollup-android-arm-eabi": "4.21.2", + "@rollup/rollup-android-arm64": "4.21.2", + "@rollup/rollup-darwin-arm64": "4.21.2", + "@rollup/rollup-darwin-x64": "4.21.2", + "@rollup/rollup-linux-arm-gnueabihf": "4.21.2", + "@rollup/rollup-linux-arm-musleabihf": "4.21.2", + "@rollup/rollup-linux-arm64-gnu": "4.21.2", + "@rollup/rollup-linux-arm64-musl": "4.21.2", + "@rollup/rollup-linux-powerpc64le-gnu": "4.21.2", + "@rollup/rollup-linux-riscv64-gnu": "4.21.2", + "@rollup/rollup-linux-s390x-gnu": "4.21.2", + "@rollup/rollup-linux-x64-gnu": "4.21.2", + "@rollup/rollup-linux-x64-musl": "4.21.2", + "@rollup/rollup-win32-arm64-msvc": "4.21.2", + "@rollup/rollup-win32-ia32-msvc": "4.21.2", + "@rollup/rollup-win32-x64-msvc": "4.21.2", "fsevents": "~2.3.2" } }, @@ -3278,9 +3065,9 @@ } }, "node_modules/scheduler": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", - "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", "dependencies": { "loose-envify": "^1.1.0" } @@ -3355,15 +3142,6 @@ "node": ">=8" } }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -3451,9 +3229,9 @@ } }, "node_modules/stylis": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.3.0.tgz", - "integrity": "sha512-E87pIogpwUsUwXw7dNyU4QDjdgVMy52m+XEOPEKUn161cCzWjjhPSQhByfd1CcNvrOLnXQ6OnnZDwnJrz/Z4YQ==" + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.3.4.tgz", + "integrity": "sha512-osIBl6BGUmSfDkyH2mB7EFvCJntXDrLhKjHTRj/rK6xLH0yuPrHULDRQzKokSOD4VoorhtKpfcfW1GAntu8now==" }, "node_modules/supports-color": { "version": "5.5.0", @@ -3508,12 +3286,12 @@ "integrity": "sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==" }, "node_modules/ts-api-utils": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.0.3.tgz", - "integrity": "sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", + "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", "dev": true, "engines": { - "node": ">=16.13.0" + "node": ">=16" }, "peerDependencies": { "typescript": ">=4.2.0" @@ -3554,9 +3332,9 @@ } }, "node_modules/typescript": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", - "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", + "version": "5.5.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", + "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -3567,9 +3345,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.0.13", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", - "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz", + "integrity": "sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==", "dev": true, "funding": [ { @@ -3586,8 +3364,8 @@ } ], "dependencies": { - "escalade": "^3.1.1", - "picocolors": "^1.0.0" + "escalade": "^3.1.2", + "picocolors": "^1.0.1" }, "bin": { "update-browserslist-db": "cli.js" @@ -3605,14 +3383,14 @@ } }, "node_modules/vite": { - "version": "5.2.9", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.9.tgz", - "integrity": "sha512-uOQWfuZBlc6Y3W/DTuQ1Sr+oIXWvqljLvS881SVmAj00d5RdgShLcuXWxseWPd4HXwiYBFW/vXHfKFeqj9uQnw==", + "version": "5.4.2", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.2.tgz", + "integrity": "sha512-dDrQTRHp5C1fTFzcSaMxjk6vdpKvT+2/mIdE07Gw2ykehT49O0z/VHS3zZ8iV/Gh8BJJKHWOe5RjaNrW5xf/GA==", "dev": true, "dependencies": { - "esbuild": "^0.20.1", - "postcss": "^8.4.38", - "rollup": "^4.13.0" + "esbuild": "^0.21.3", + "postcss": "^8.4.41", + "rollup": "^4.20.0" }, "bin": { "vite": "bin/vite.js" @@ -3631,6 +3409,7 @@ "less": "*", "lightningcss": "^1.21.0", "sass": "*", + "sass-embedded": "*", "stylus": "*", "sugarss": "*", "terser": "^5.4.0" @@ -3648,6 +3427,9 @@ "sass": { "optional": true }, + "sass-embedded": { + "optional": true + }, "stylus": { "optional": true }, @@ -3707,47 +3489,47 @@ "dev": true }, "@ampproject/remapping": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", - "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", + "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", "dev": true, "requires": { - "@jridgewell/gen-mapping": "^0.3.0", - "@jridgewell/trace-mapping": "^0.3.9" + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" } }, "@babel/code-frame": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz", - "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz", + "integrity": "sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==", "dev": true, "requires": { - "@babel/highlight": "^7.23.4", - "chalk": "^2.4.2" + "@babel/highlight": "^7.24.7", + "picocolors": "^1.0.0" } }, "@babel/compat-data": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.5.tgz", - "integrity": "sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.4.tgz", + "integrity": "sha512-+LGRog6RAsCJrrrg/IO6LGmpphNe5DiK30dGjCoxxeGv49B10/3XYGxPsAwrDlMFcFEvdAUavDT8r9k/hSyQqQ==", "dev": true }, "@babel/core": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.6.tgz", - "integrity": "sha512-FxpRyGjrMJXh7X3wGLGhNDCRiwpWEF74sKjTLDJSG5Kyvow3QZaG0Adbqzi9ZrVjTWpsX+2cxWXD71NMg93kdw==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.2.tgz", + "integrity": "sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==", "dev": true, "requires": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.23.5", - "@babel/generator": "^7.23.6", - "@babel/helper-compilation-targets": "^7.23.6", - "@babel/helper-module-transforms": "^7.23.3", - "@babel/helpers": "^7.23.6", - "@babel/parser": "^7.23.6", - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.6", - "@babel/types": "^7.23.6", + "@babel/code-frame": "^7.24.7", + "@babel/generator": "^7.25.0", + "@babel/helper-compilation-targets": "^7.25.2", + "@babel/helper-module-transforms": "^7.25.2", + "@babel/helpers": "^7.25.0", + "@babel/parser": "^7.25.0", + "@babel/template": "^7.25.0", + "@babel/traverse": "^7.25.2", + "@babel/types": "^7.25.2", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -3764,26 +3546,26 @@ } }, "@babel/generator": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz", - "integrity": "sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.6.tgz", + "integrity": "sha512-VPC82gr1seXOpkjAAKoLhP50vx4vGNlF4msF64dSFq1P8RfB+QAuJWGHPXXPc8QyfVWwwB/TNNU4+ayZmHNbZw==", "dev": true, "requires": { - "@babel/types": "^7.23.6", - "@jridgewell/gen-mapping": "^0.3.2", - "@jridgewell/trace-mapping": "^0.3.17", + "@babel/types": "^7.25.6", + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^2.5.1" } }, "@babel/helper-compilation-targets": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz", - "integrity": "sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.2.tgz", + "integrity": "sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw==", "dev": true, "requires": { - "@babel/compat-data": "^7.23.5", - "@babel/helper-validator-option": "^7.23.5", - "browserslist": "^4.22.2", + "@babel/compat-data": "^7.25.2", + "@babel/helper-validator-option": "^7.24.8", + "browserslist": "^4.23.1", "lru-cache": "^5.1.1", "semver": "^6.3.1" }, @@ -3796,347 +3578,314 @@ } } }, - "@babel/helper-environment-visitor": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", - "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", - "dev": true - }, - "@babel/helper-function-name": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", - "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", - "dev": true, - "requires": { - "@babel/template": "^7.22.15", - "@babel/types": "^7.23.0" - } - }, - "@babel/helper-hoist-variables": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", - "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", - "dev": true, - "requires": { - "@babel/types": "^7.22.5" - } - }, "@babel/helper-module-imports": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz", - "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz", + "integrity": "sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==", "dev": true, "requires": { - "@babel/types": "^7.22.15" + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" } }, "@babel/helper-module-transforms": { - "version": "7.23.3", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz", - "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.25.2.tgz", + "integrity": "sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ==", "dev": true, "requires": { - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-module-imports": "^7.22.15", - "@babel/helper-simple-access": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/helper-validator-identifier": "^7.22.20" + "@babel/helper-module-imports": "^7.24.7", + "@babel/helper-simple-access": "^7.24.7", + "@babel/helper-validator-identifier": "^7.24.7", + "@babel/traverse": "^7.25.2" } }, "@babel/helper-plugin-utils": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz", - "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.8.tgz", + "integrity": "sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg==", "dev": true }, "@babel/helper-simple-access": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", - "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.7.tgz", + "integrity": "sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg==", "dev": true, "requires": { - "@babel/types": "^7.22.5" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", - "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", - "dev": true, - "requires": { - "@babel/types": "^7.22.5" + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" } }, "@babel/helper-string-parser": { - "version": "7.23.4", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", - "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz", + "integrity": "sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==", "dev": true }, "@babel/helper-validator-identifier": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz", + "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==", "dev": true }, "@babel/helper-validator-option": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz", - "integrity": "sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.24.8.tgz", + "integrity": "sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q==", "dev": true }, "@babel/helpers": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.6.tgz", - "integrity": "sha512-wCfsbN4nBidDRhpDhvcKlzHWCTlgJYUUdSJfzXb2NuBssDSIjc3xcb+znA7l+zYsFljAcGM0aFkN40cR3lXiGA==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.6.tgz", + "integrity": "sha512-Xg0tn4HcfTijTwfDwYlvVCl43V6h4KyVVX2aEm4qdO/PC6L2YvzLHFdmxhoeSA3eslcE6+ZVXHgWwopXYLNq4Q==", "dev": true, "requires": { - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.6", - "@babel/types": "^7.23.6" + "@babel/template": "^7.25.0", + "@babel/types": "^7.25.6" } }, "@babel/highlight": { - "version": "7.23.4", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", - "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.7.tgz", + "integrity": "sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.22.20", + "@babel/helper-validator-identifier": "^7.24.7", "chalk": "^2.4.2", - "js-tokens": "^4.0.0" + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" } }, "@babel/parser": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz", - "integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==", - "dev": true + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.6.tgz", + "integrity": "sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q==", + "dev": true, + "requires": { + "@babel/types": "^7.25.6" + } }, "@babel/plugin-transform-react-jsx-self": { - "version": "7.23.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.23.3.tgz", - "integrity": "sha512-qXRvbeKDSfwnlJnanVRp0SfuWE5DQhwQr5xtLBzp56Wabyo+4CMosF6Kfp+eOD/4FYpql64XVJ2W0pVLlJZxOQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.24.7.tgz", + "integrity": "sha512-fOPQYbGSgH0HUp4UJO4sMBFjY6DuWq+2i8rixyUMb3CdGixs/gccURvYOAhajBdKDoGajFr3mUq5rH3phtkGzw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.22.5" + "@babel/helper-plugin-utils": "^7.24.7" } }, "@babel/plugin-transform-react-jsx-source": { - "version": "7.23.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.23.3.tgz", - "integrity": "sha512-91RS0MDnAWDNvGC6Wio5XYkyWI39FMFO+JK9+4AlgaTH+yWwVTsw7/sn6LK0lH7c5F+TFkpv/3LfCJ1Ydwof/g==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.24.7.tgz", + "integrity": "sha512-J2z+MWzZHVOemyLweMqngXrgGC42jQ//R0KdxqkIz/OrbVIIlhFI3WigZ5fO+nwFvBlncr4MGapd8vTyc7RPNQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.22.5" + "@babel/helper-plugin-utils": "^7.24.7" } }, "@babel/runtime": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.6.tgz", - "integrity": "sha512-zHd0eUrf5GZoOWVCXp6koAKQTfZV07eit6bGPmJgnZdnSAvvZee6zniW2XMF7Cmc4ISOOnPy3QaSiIJGJkVEDQ==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.6.tgz", + "integrity": "sha512-VBj9MYyDb9tuLq7yzqjgzt6Q+IBQLrGZfdjOekyEirZPHxXWoTSGUTMrpsfi58Up73d13NfYLv8HT9vmznjzhQ==", "requires": { "regenerator-runtime": "^0.14.0" } }, "@babel/template": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", - "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.0.tgz", + "integrity": "sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==", "dev": true, "requires": { - "@babel/code-frame": "^7.22.13", - "@babel/parser": "^7.22.15", - "@babel/types": "^7.22.15" + "@babel/code-frame": "^7.24.7", + "@babel/parser": "^7.25.0", + "@babel/types": "^7.25.0" } }, "@babel/traverse": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.6.tgz", - "integrity": "sha512-czastdK1e8YByZqezMPFiZ8ahwVMh/ESl9vPgvgdB9AmFMGP5jfpFax74AQgl5zj4XHzqeYAg2l8PuUeRS1MgQ==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.6.tgz", + "integrity": "sha512-9Vrcx5ZW6UwK5tvqsj0nGpp/XzqthkT0dqIc9g1AdtygFToNtTF67XzYS//dm+SAK9cp3B9R4ZO/46p63SCjlQ==", "dev": true, "requires": { - "@babel/code-frame": "^7.23.5", - "@babel/generator": "^7.23.6", - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-function-name": "^7.23.0", - "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.23.6", - "@babel/types": "^7.23.6", + "@babel/code-frame": "^7.24.7", + "@babel/generator": "^7.25.6", + "@babel/parser": "^7.25.6", + "@babel/template": "^7.25.0", + "@babel/types": "^7.25.6", "debug": "^4.3.1", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz", - "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.6.tgz", + "integrity": "sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==", "dev": true, "requires": { - "@babel/helper-string-parser": "^7.23.4", - "@babel/helper-validator-identifier": "^7.22.20", + "@babel/helper-string-parser": "^7.24.8", + "@babel/helper-validator-identifier": "^7.24.7", "to-fast-properties": "^2.0.0" } }, "@esbuild/aix-ppc64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.20.2.tgz", - "integrity": "sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", "dev": true, "optional": true }, "@esbuild/android-arm": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.20.2.tgz", - "integrity": "sha512-t98Ra6pw2VaDhqNWO2Oph2LXbz/EJcnLmKLGBJwEwXX/JAN83Fym1rU8l0JUWK6HkIbWONCSSatf4sf2NBRx/w==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", + "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", "dev": true, "optional": true }, "@esbuild/android-arm64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.20.2.tgz", - "integrity": "sha512-mRzjLacRtl/tWU0SvD8lUEwb61yP9cqQo6noDZP/O8VkwafSYwZ4yWy24kan8jE/IMERpYncRt2dw438LP3Xmg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", + "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", "dev": true, "optional": true }, "@esbuild/android-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.20.2.tgz", - "integrity": "sha512-btzExgV+/lMGDDa194CcUQm53ncxzeBrWJcncOBxuC6ndBkKxnHdFJn86mCIgTELsooUmwUm9FkhSp5HYu00Rg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", + "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", "dev": true, "optional": true }, "@esbuild/darwin-arm64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.20.2.tgz", - "integrity": "sha512-4J6IRT+10J3aJH3l1yzEg9y3wkTDgDk7TSDFX+wKFiWjqWp/iCfLIYzGyasx9l0SAFPT1HwSCR+0w/h1ES/MjA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", + "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", "dev": true, "optional": true }, "@esbuild/darwin-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.20.2.tgz", - "integrity": "sha512-tBcXp9KNphnNH0dfhv8KYkZhjc+H3XBkF5DKtswJblV7KlT9EI2+jeA8DgBjp908WEuYll6pF+UStUCfEpdysA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", + "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", "dev": true, "optional": true }, "@esbuild/freebsd-arm64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.20.2.tgz", - "integrity": "sha512-d3qI41G4SuLiCGCFGUrKsSeTXyWG6yem1KcGZVS+3FYlYhtNoNgYrWcvkOoaqMhwXSMrZRl69ArHsGJ9mYdbbw==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", + "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", "dev": true, "optional": true }, "@esbuild/freebsd-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.20.2.tgz", - "integrity": "sha512-d+DipyvHRuqEeM5zDivKV1KuXn9WeRX6vqSqIDgwIfPQtwMP4jaDsQsDncjTDDsExT4lR/91OLjRo8bmC1e+Cw==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", + "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", "dev": true, "optional": true }, "@esbuild/linux-arm": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.20.2.tgz", - "integrity": "sha512-VhLPeR8HTMPccbuWWcEUD1Az68TqaTYyj6nfE4QByZIQEQVWBB8vup8PpR7y1QHL3CpcF6xd5WVBU/+SBEvGTg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", + "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", "dev": true, "optional": true }, "@esbuild/linux-arm64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.20.2.tgz", - "integrity": "sha512-9pb6rBjGvTFNira2FLIWqDk/uaf42sSyLE8j1rnUpuzsODBq7FvpwHYZxQ/It/8b+QOS1RYfqgGFNLRI+qlq2A==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", + "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", "dev": true, "optional": true }, "@esbuild/linux-ia32": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.20.2.tgz", - "integrity": "sha512-o10utieEkNPFDZFQm9CoP7Tvb33UutoJqg3qKf1PWVeeJhJw0Q347PxMvBgVVFgouYLGIhFYG0UGdBumROyiig==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", + "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", "dev": true, "optional": true }, "@esbuild/linux-loong64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.20.2.tgz", - "integrity": "sha512-PR7sp6R/UC4CFVomVINKJ80pMFlfDfMQMYynX7t1tNTeivQ6XdX5r2XovMmha/VjR1YN/HgHWsVcTRIMkymrgQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", + "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", "dev": true, "optional": true }, "@esbuild/linux-mips64el": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.20.2.tgz", - "integrity": "sha512-4BlTqeutE/KnOiTG5Y6Sb/Hw6hsBOZapOVF6njAESHInhlQAghVVZL1ZpIctBOoTFbQyGW+LsVYZ8lSSB3wkjA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", + "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", "dev": true, "optional": true }, "@esbuild/linux-ppc64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.20.2.tgz", - "integrity": "sha512-rD3KsaDprDcfajSKdn25ooz5J5/fWBylaaXkuotBDGnMnDP1Uv5DLAN/45qfnf3JDYyJv/ytGHQaziHUdyzaAg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", + "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", "dev": true, "optional": true }, "@esbuild/linux-riscv64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.20.2.tgz", - "integrity": "sha512-snwmBKacKmwTMmhLlz/3aH1Q9T8v45bKYGE3j26TsaOVtjIag4wLfWSiZykXzXuE1kbCE+zJRmwp+ZbIHinnVg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", + "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", "dev": true, "optional": true }, "@esbuild/linux-s390x": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.20.2.tgz", - "integrity": "sha512-wcWISOobRWNm3cezm5HOZcYz1sKoHLd8VL1dl309DiixxVFoFe/o8HnwuIwn6sXre88Nwj+VwZUvJf4AFxkyrQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", + "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", "dev": true, "optional": true }, "@esbuild/linux-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.20.2.tgz", - "integrity": "sha512-1MdwI6OOTsfQfek8sLwgyjOXAu+wKhLEoaOLTjbijk6E2WONYpH9ZU2mNtR+lZ2B4uwr+usqGuVfFT9tMtGvGw==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", + "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", "dev": true, "optional": true }, "@esbuild/netbsd-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.20.2.tgz", - "integrity": "sha512-K8/DhBxcVQkzYc43yJXDSyjlFeHQJBiowJ0uVL6Tor3jGQfSGHNNJcWxNbOI8v5k82prYqzPuwkzHt3J1T1iZQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", + "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", "dev": true, "optional": true }, "@esbuild/openbsd-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.20.2.tgz", - "integrity": "sha512-eMpKlV0SThJmmJgiVyN9jTPJ2VBPquf6Kt/nAoo6DgHAoN57K15ZghiHaMvqjCye/uU4X5u3YSMgVBI1h3vKrQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", + "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", "dev": true, "optional": true }, "@esbuild/sunos-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.20.2.tgz", - "integrity": "sha512-2UyFtRC6cXLyejf/YEld4Hajo7UHILetzE1vsRcGL3earZEW77JxrFjH4Ez2qaTiEfMgAXxfAZCm1fvM/G/o8w==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", + "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", "dev": true, "optional": true }, "@esbuild/win32-arm64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.20.2.tgz", - "integrity": "sha512-GRibxoawM9ZCnDxnP3usoUDO9vUkpAxIIZ6GQI+IlVmr5kP3zUq+l17xELTHMWTWzjxa2guPNyrpq1GWmPvcGQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", + "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", "dev": true, "optional": true }, "@esbuild/win32-ia32": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.20.2.tgz", - "integrity": "sha512-HfLOfn9YWmkSKRQqovpnITazdtquEW8/SoHW7pWpuEeguaZI4QnCRW6b+oZTztdBnZOS2hqJ6im/D5cPzBTTlQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", + "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", "dev": true, "optional": true }, "@esbuild/win32-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.20.2.tgz", - "integrity": "sha512-N49X4lJX27+l9jbLKSqZ6bKNjzQvHaT8IIFUy+YIqmXQdjYCToGWwOItDrfby14c78aDd5NHQl29xingXfCdLQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", + "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", "dev": true, "optional": true }, @@ -4202,19 +3951,19 @@ } }, "@eslint/js": { - "version": "8.56.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz", - "integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==", + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", + "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", "dev": true }, "@humanwhocodes/config-array": { - "version": "0.11.13", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", - "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==", + "version": "0.11.14", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", + "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", "dev": true, "requires": { - "@humanwhocodes/object-schema": "^2.0.1", - "debug": "^4.1.1", + "@humanwhocodes/object-schema": "^2.0.2", + "debug": "^4.3.1", "minimatch": "^3.0.5" } }, @@ -4225,43 +3974,43 @@ "dev": true }, "@humanwhocodes/object-schema": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz", - "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", "dev": true }, "@jridgewell/gen-mapping": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", - "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", + "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", "dev": true, "requires": { - "@jridgewell/set-array": "^1.0.1", + "@jridgewell/set-array": "^1.2.1", "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" + "@jridgewell/trace-mapping": "^0.3.24" } }, "@jridgewell/resolve-uri": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", - "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", "dev": true }, "@jridgewell/set-array": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", "dev": true }, "@jridgewell/sourcemap-codec": { - "version": "1.4.15", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==" }, "@jridgewell/trace-mapping": { - "version": "0.3.20", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz", - "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==", + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", "dev": true, "requires": { "@jridgewell/resolve-uri": "^3.1.0", @@ -4317,127 +4066,127 @@ "peer": true }, "@openfeature/flagd-core": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@openfeature/flagd-core/-/flagd-core-0.2.3.tgz", - "integrity": "sha512-dhinXEfFmyTPVuI53Nq1pEC7SJP78LgpmJriMlVjcNaDRkA8VneyjuttijDnHw8PcrBit5I3DZNelXzrUkkiLw==", + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@openfeature/flagd-core/-/flagd-core-0.2.5.tgz", + "integrity": "sha512-9A0LxP3G/JzqZK17pli6jbD7XnRTDtYZRU3TOBVeb4SBxeHuwSlXX6AjAoXMk/6yKvAF+Q6LHpDwXp8teGMsAA==", "requires": { "ajv": "^8.12.0", "imurmurhash": "0.1.4", - "json-logic-engine": "1.3.4", + "json-logic-engine": "1.3.6", "object-hash": "3.0.0", "semver": "7.5.3", "tslib": "^2.3.0" } }, "@rollup/rollup-android-arm-eabi": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.14.3.tgz", - "integrity": "sha512-X9alQ3XM6I9IlSlmC8ddAvMSyG1WuHk5oUnXGw+yUBs3BFoTizmG1La/Gr8fVJvDWAq+zlYTZ9DBgrlKRVY06g==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.21.2.tgz", + "integrity": "sha512-fSuPrt0ZO8uXeS+xP3b+yYTCBUd05MoSp2N/MFOgjhhUhMmchXlpTQrTpI8T+YAwAQuK7MafsCOxW7VrPMrJcg==", "dev": true, "optional": true }, "@rollup/rollup-android-arm64": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.14.3.tgz", - "integrity": "sha512-eQK5JIi+POhFpzk+LnjKIy4Ks+pwJ+NXmPxOCSvOKSNRPONzKuUvWE+P9JxGZVxrtzm6BAYMaL50FFuPe0oWMQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.21.2.tgz", + "integrity": "sha512-xGU5ZQmPlsjQS6tzTTGwMsnKUtu0WVbl0hYpTPauvbRAnmIvpInhJtgjj3mcuJpEiuUw4v1s4BimkdfDWlh7gA==", "dev": true, "optional": true }, "@rollup/rollup-darwin-arm64": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.14.3.tgz", - "integrity": "sha512-Od4vE6f6CTT53yM1jgcLqNfItTsLt5zE46fdPaEmeFHvPs5SjZYlLpHrSiHEKR1+HdRfxuzXHjDOIxQyC3ptBA==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.21.2.tgz", + "integrity": "sha512-99AhQ3/ZMxU7jw34Sq8brzXqWH/bMnf7ZVhvLk9QU2cOepbQSVTns6qoErJmSiAvU3InRqC2RRZ5ovh1KN0d0Q==", "dev": true, "optional": true }, "@rollup/rollup-darwin-x64": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.14.3.tgz", - "integrity": "sha512-0IMAO21axJeNIrvS9lSe/PGthc8ZUS+zC53O0VhF5gMxfmcKAP4ESkKOCwEi6u2asUrt4mQv2rjY8QseIEb1aw==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.21.2.tgz", + "integrity": "sha512-ZbRaUvw2iN/y37x6dY50D8m2BnDbBjlnMPotDi/qITMJ4sIxNY33HArjikDyakhSv0+ybdUxhWxE6kTI4oX26w==", "dev": true, "optional": true }, "@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.14.3.tgz", - "integrity": "sha512-ge2DC7tHRHa3caVEoSbPRJpq7azhG+xYsd6u2MEnJ6XzPSzQsTKyXvh6iWjXRf7Rt9ykIUWHtl0Uz3T6yXPpKw==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.21.2.tgz", + "integrity": "sha512-ztRJJMiE8nnU1YFcdbd9BcH6bGWG1z+jP+IPW2oDUAPxPjo9dverIOyXz76m6IPA6udEL12reYeLojzW2cYL7w==", "dev": true, "optional": true }, "@rollup/rollup-linux-arm-musleabihf": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.14.3.tgz", - "integrity": "sha512-ljcuiDI4V3ySuc7eSk4lQ9wU8J8r8KrOUvB2U+TtK0TiW6OFDmJ+DdIjjwZHIw9CNxzbmXY39wwpzYuFDwNXuw==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.21.2.tgz", + "integrity": "sha512-flOcGHDZajGKYpLV0JNc0VFH361M7rnV1ee+NTeC/BQQ1/0pllYcFmxpagltANYt8FYf9+kL6RSk80Ziwyhr7w==", "dev": true, "optional": true }, "@rollup/rollup-linux-arm64-gnu": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.14.3.tgz", - "integrity": "sha512-Eci2us9VTHm1eSyn5/eEpaC7eP/mp5n46gTRB3Aar3BgSvDQGJZuicyq6TsH4HngNBgVqC5sDYxOzTExSU+NjA==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.21.2.tgz", + "integrity": "sha512-69CF19Kp3TdMopyteO/LJbWufOzqqXzkrv4L2sP8kfMaAQ6iwky7NoXTp7bD6/irKgknDKM0P9E/1l5XxVQAhw==", "dev": true, "optional": true }, "@rollup/rollup-linux-arm64-musl": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.14.3.tgz", - "integrity": "sha512-UrBoMLCq4E92/LCqlh+blpqMz5h1tJttPIniwUgOFJyjWI1qrtrDhhpHPuFxULlUmjFHfloWdixtDhSxJt5iKw==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.21.2.tgz", + "integrity": "sha512-48pD/fJkTiHAZTnZwR0VzHrao70/4MlzJrq0ZsILjLW/Ab/1XlVUStYyGt7tdyIiVSlGZbnliqmult/QGA2O2w==", "dev": true, "optional": true }, "@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.14.3.tgz", - "integrity": "sha512-5aRjvsS8q1nWN8AoRfrq5+9IflC3P1leMoy4r2WjXyFqf3qcqsxRCfxtZIV58tCxd+Yv7WELPcO9mY9aeQyAmw==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.21.2.tgz", + "integrity": "sha512-cZdyuInj0ofc7mAQpKcPR2a2iu4YM4FQfuUzCVA2u4HI95lCwzjoPtdWjdpDKyHxI0UO82bLDoOaLfpZ/wviyQ==", "dev": true, "optional": true }, "@rollup/rollup-linux-riscv64-gnu": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.14.3.tgz", - "integrity": "sha512-sk/Qh1j2/RJSX7FhEpJn8n0ndxy/uf0kI/9Zc4b1ELhqULVdTfN6HL31CDaTChiBAOgLcsJ1sgVZjWv8XNEsAQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.21.2.tgz", + "integrity": "sha512-RL56JMT6NwQ0lXIQmMIWr1SW28z4E4pOhRRNqwWZeXpRlykRIlEpSWdsgNWJbYBEWD84eocjSGDu/XxbYeCmwg==", "dev": true, "optional": true }, "@rollup/rollup-linux-s390x-gnu": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.14.3.tgz", - "integrity": "sha512-jOO/PEaDitOmY9TgkxF/TQIjXySQe5KVYB57H/8LRP/ux0ZoO8cSHCX17asMSv3ruwslXW/TLBcxyaUzGRHcqg==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.21.2.tgz", + "integrity": "sha512-PMxkrWS9z38bCr3rWvDFVGD6sFeZJw4iQlhrup7ReGmfn7Oukrr/zweLhYX6v2/8J6Cep9IEA/SmjXjCmSbrMQ==", "dev": true, "optional": true }, "@rollup/rollup-linux-x64-gnu": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.14.3.tgz", - "integrity": "sha512-8ybV4Xjy59xLMyWo3GCfEGqtKV5M5gCSrZlxkPGvEPCGDLNla7v48S662HSGwRd6/2cSneMQWiv+QzcttLrrOA==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.21.2.tgz", + "integrity": "sha512-B90tYAUoLhU22olrafY3JQCFLnT3NglazdwkHyxNDYF/zAxJt5fJUB/yBoWFoIQ7SQj+KLe3iL4BhOMa9fzgpw==", "dev": true, "optional": true }, "@rollup/rollup-linux-x64-musl": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.14.3.tgz", - "integrity": "sha512-s+xf1I46trOY10OqAtZ5Rm6lzHre/UiLA1J2uOhCFXWkbZrJRkYBPO6FhvGfHmdtQ3Bx793MNa7LvoWFAm93bg==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.21.2.tgz", + "integrity": "sha512-7twFizNXudESmC9oneLGIUmoHiiLppz/Xs5uJQ4ShvE6234K0VB1/aJYU3f/4g7PhssLGKBVCC37uRkkOi8wjg==", "dev": true, "optional": true }, "@rollup/rollup-win32-arm64-msvc": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.14.3.tgz", - "integrity": "sha512-+4h2WrGOYsOumDQ5S2sYNyhVfrue+9tc9XcLWLh+Kw3UOxAvrfOrSMFon60KspcDdytkNDh7K2Vs6eMaYImAZg==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.21.2.tgz", + "integrity": "sha512-9rRero0E7qTeYf6+rFh3AErTNU1VCQg2mn7CQcI44vNUWM9Ze7MSRS/9RFuSsox+vstRt97+x3sOhEey024FRQ==", "dev": true, "optional": true }, "@rollup/rollup-win32-ia32-msvc": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.14.3.tgz", - "integrity": "sha512-T1l7y/bCeL/kUwh9OD4PQT4aM7Bq43vX05htPJJ46RTI4r5KNt6qJRzAfNfM+OYMNEVBWQzR2Gyk+FXLZfogGw==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.21.2.tgz", + "integrity": "sha512-5rA4vjlqgrpbFVVHX3qkrCo/fZTj1q0Xxpg+Z7yIo3J2AilW7t2+n6Q8Jrx+4MrYpAnjttTYF8rr7bP46BPzRw==", "dev": true, "optional": true }, "@rollup/rollup-win32-x64-msvc": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.14.3.tgz", - "integrity": "sha512-/BypzV0H1y1HzgYpxqRaXGBRqfodgoBBCcsrujT6QRcakDQdfU+Lq9PENPh5jB4I44YWq+0C2eHsHya+nZY1sA==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.21.2.tgz", + "integrity": "sha512-6UUxd0+SKomjdzuAcp+HAmxw1FlGBnl1v2yEPSabtx4lBfdXHDVsW7+lQkgz9cNFJGY3AWR7+V8P5BqkD9L9nA==", "dev": true, "optional": true }, @@ -4493,12 +4242,6 @@ "resolved": "https://registry.npmjs.org/@types/js-cookie/-/js-cookie-2.2.7.tgz", "integrity": "sha512-aLkWa0C0vO5b4Sr798E26QgOkss68Un0bLjs7u9qxzPT5CG+8DuNTffWES58YzJs3hrVAOs1wonycqEBqNJubA==" }, - "@types/json-schema": { - "version": "7.0.15", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", - "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", - "dev": true - }, "@types/prop-types": { "version": "15.7.11", "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz", @@ -4506,137 +4249,96 @@ "dev": true }, "@types/react": { - "version": "18.2.53", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.53.tgz", - "integrity": "sha512-52IHsMDT8qATp9B9zoOyobW8W3/0QhaJQTw1HwRj0UY2yBpCAQ7+S/CqHYQ8niAm3p4ji+rWUQ9UCib0GxQ60w==", + "version": "18.3.5", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.5.tgz", + "integrity": "sha512-WeqMfGJLGuLCqHGYRGHxnKrXcTitc6L/nBUWfWPcTarG3t9PsquqUMuVeXZeca+mglY4Vo5GZjCi0A3Or2lnxA==", "dev": true, "requires": { "@types/prop-types": "*", - "@types/scheduler": "*", "csstype": "^3.0.2" } }, "@types/react-dom": { - "version": "18.2.18", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.18.tgz", - "integrity": "sha512-TJxDm6OfAX2KJWJdMEVTwWke5Sc/E/RlnPGvGfS0W7+6ocy2xhDVQVh/KvC2Uf7kACs+gDytdusDSdWfWkaNzw==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz", + "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==", "dev": true, "requires": { "@types/react": "*" } }, - "@types/scheduler": { - "version": "0.16.8", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz", - "integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==", - "dev": true - }, - "@types/semver": { - "version": "7.5.6", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz", - "integrity": "sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==", - "dev": true - }, "@typescript-eslint/eslint-plugin": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.20.0.tgz", - "integrity": "sha512-fTwGQUnjhoYHeSF6m5pWNkzmDDdsKELYrOBxhjMrofPqCkoC2k3B2wvGHFxa1CTIqkEn88nlW1HVMztjo2K8Hg==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.3.0.tgz", + "integrity": "sha512-FLAIn63G5KH+adZosDYiutqkOkYEx0nvcwNNfJAf+c7Ae/H35qWwTYvPZUKFj5AS+WfHG/WJJfWnDnyNUlp8UA==", "dev": true, "requires": { - "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.20.0", - "@typescript-eslint/type-utils": "6.20.0", - "@typescript-eslint/utils": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0", - "debug": "^4.3.4", + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.3.0", + "@typescript-eslint/type-utils": "8.3.0", + "@typescript-eslint/utils": "8.3.0", + "@typescript-eslint/visitor-keys": "8.3.0", "graphemer": "^1.4.0", - "ignore": "^5.2.4", + "ignore": "^5.3.1", "natural-compare": "^1.4.0", - "semver": "^7.5.4", - "ts-api-utils": "^1.0.1" - }, - "dependencies": { - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - } + "ts-api-utils": "^1.3.0" } }, "@typescript-eslint/parser": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.20.0.tgz", - "integrity": "sha512-bYerPDF/H5v6V76MdMYhjwmwgMA+jlPVqjSDq2cRqMi8bP5sR3Z+RLOiOMad3nsnmDVmn2gAFCyNgh/dIrfP/w==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.3.0.tgz", + "integrity": "sha512-h53RhVyLu6AtpUzVCYLPhZGL5jzTD9fZL+SYf/+hYOx2bDkyQXztXSc4tbvKYHzfMXExMLiL9CWqJmVz6+78IQ==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "6.20.0", - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/typescript-estree": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0", + "@typescript-eslint/scope-manager": "8.3.0", + "@typescript-eslint/types": "8.3.0", + "@typescript-eslint/typescript-estree": "8.3.0", + "@typescript-eslint/visitor-keys": "8.3.0", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.20.0.tgz", - "integrity": "sha512-p4rvHQRDTI1tGGMDFQm+GtxP1ZHyAh64WANVoyEcNMpaTFn3ox/3CcgtIlELnRfKzSs/DwYlDccJEtr3O6qBvA==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.3.0.tgz", + "integrity": "sha512-mz2X8WcN2nVu5Hodku+IR8GgCOl4C0G/Z1ruaWN4dgec64kDBabuXyPAr+/RgJtumv8EEkqIzf3X2U5DUKB2eg==", "dev": true, "requires": { - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0" + "@typescript-eslint/types": "8.3.0", + "@typescript-eslint/visitor-keys": "8.3.0" } }, "@typescript-eslint/type-utils": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.20.0.tgz", - "integrity": "sha512-qnSobiJQb1F5JjN0YDRPHruQTrX7ICsmltXhkV536mp4idGAYrIyr47zF/JmkJtEcAVnIz4gUYJ7gOZa6SmN4g==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.3.0.tgz", + "integrity": "sha512-wrV6qh//nLbfXZQoj32EXKmwHf4b7L+xXLrP3FZ0GOUU72gSvLjeWUl5J5Ue5IwRxIV1TfF73j/eaBapxx99Lg==", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "6.20.0", - "@typescript-eslint/utils": "6.20.0", + "@typescript-eslint/typescript-estree": "8.3.0", + "@typescript-eslint/utils": "8.3.0", "debug": "^4.3.4", - "ts-api-utils": "^1.0.1" + "ts-api-utils": "^1.3.0" } }, "@typescript-eslint/types": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.20.0.tgz", - "integrity": "sha512-MM9mfZMAhiN4cOEcUOEx+0HmuaW3WBfukBZPCfwSqFnQy0grXYtngKCqpQN339X3RrwtzspWJrpbrupKYUSBXQ==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.3.0.tgz", + "integrity": "sha512-y6sSEeK+facMaAyixM36dQ5NVXTnKWunfD1Ft4xraYqxP0lC0POJmIaL/mw72CUMqjY9qfyVfXafMeaUj0noWw==", "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.20.0.tgz", - "integrity": "sha512-RnRya9q5m6YYSpBN7IzKu9FmLcYtErkDkc8/dKv81I9QiLLtVBHrjz+Ev/crAqgMNW2FCsoZF4g2QUylMnJz+g==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.3.0.tgz", + "integrity": "sha512-Mq7FTHl0R36EmWlCJWojIC1qn/ZWo2YiWYc1XVtasJ7FIgjo0MVv9rZWXEE7IK2CGrtwe1dVOxWwqXUdNgfRCA==", "dev": true, "requires": { - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0", + "@typescript-eslint/types": "8.3.0", + "@typescript-eslint/visitor-keys": "8.3.0", "debug": "^4.3.4", - "globby": "^11.1.0", + "fast-glob": "^3.3.2", "is-glob": "^4.0.3", - "minimatch": "9.0.3", - "semver": "^7.5.4", - "ts-api-utils": "^1.0.1" + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" }, "dependencies": { "brace-expansion": { @@ -4648,90 +4350,43 @@ "balanced-match": "^1.0.0" } }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, "minimatch": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", - "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "requires": { "brace-expansion": "^2.0.1" } }, "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true } } }, "@typescript-eslint/utils": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.20.0.tgz", - "integrity": "sha512-/EKuw+kRu2vAqCoDwDCBtDRU6CTKbUmwwI7SH7AashZ+W+7o8eiyy6V2cdOqN49KsTcASWsC5QeghYuRDTyOOg==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.3.0.tgz", + "integrity": "sha512-F77WwqxIi/qGkIGOGXNBLV7nykwfjLsdauRB/DOFPdv6LTF3BHHkBpq81/b5iMPSF055oO2BiivDJV4ChvNtXA==", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.4.0", - "@types/json-schema": "^7.0.12", - "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.20.0", - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/typescript-estree": "6.20.0", - "semver": "^7.5.4" - }, - "dependencies": { - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - } + "@typescript-eslint/scope-manager": "8.3.0", + "@typescript-eslint/types": "8.3.0", + "@typescript-eslint/typescript-estree": "8.3.0" } }, "@typescript-eslint/visitor-keys": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.20.0.tgz", - "integrity": "sha512-E8Cp98kRe4gKHjJD4NExXKz/zOJ1A2hhZc+IMVD6i7w4yjIvh6VyuRI0gRtxAsXtoC35uGMaQ9rjI2zJaXDEAw==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.3.0.tgz", + "integrity": "sha512-RmZwrTbQ9QveF15m/Cl28n0LXD6ea2CjkhH5rQ55ewz3H24w+AMCJHPVYaZ8/0HoG8Z3cLLFFycRXxeO2tz9FA==", "dev": true, "requires": { - "@typescript-eslint/types": "6.20.0", - "eslint-visitor-keys": "^3.4.1" + "@typescript-eslint/types": "8.3.0", + "eslint-visitor-keys": "^3.4.3" } }, "@ungap/structured-clone": { @@ -4741,16 +4396,16 @@ "dev": true }, "@vitejs/plugin-react": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.2.1.tgz", - "integrity": "sha512-oojO9IDc4nCUUi8qIR11KoQm0XFFLIwsRBwHRR4d/88IWghn1y6ckz/bJ8GHDCsYEJee8mDzqtJxh15/cisJNQ==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.3.1.tgz", + "integrity": "sha512-m/V2syj5CuVnaxcUJOQRel/Wr31FFXRFlnOoq1TVtkCxsY5veGMTEmpWHndrhB2U8ScHtCQB1e+4hWYExQc6Lg==", "dev": true, "requires": { - "@babel/core": "^7.23.5", - "@babel/plugin-transform-react-jsx-self": "^7.23.3", - "@babel/plugin-transform-react-jsx-source": "^7.23.3", + "@babel/core": "^7.24.5", + "@babel/plugin-transform-react-jsx-self": "^7.24.5", + "@babel/plugin-transform-react-jsx-source": "^7.24.1", "@types/babel__core": "^7.20.5", - "react-refresh": "^0.14.0" + "react-refresh": "^0.14.2" } }, "@xobotyi/scrollbar-width": { @@ -4803,12 +4458,6 @@ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true }, - "array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true - }, "balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -4826,24 +4475,24 @@ } }, "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "requires": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" } }, "browserslist": { - "version": "4.22.2", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.2.tgz", - "integrity": "sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==", + "version": "4.23.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.3.tgz", + "integrity": "sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30001565", - "electron-to-chromium": "^1.4.601", - "node-releases": "^2.0.14", - "update-browserslist-db": "^1.0.13" + "caniuse-lite": "^1.0.30001646", + "electron-to-chromium": "^1.5.4", + "node-releases": "^2.0.18", + "update-browserslist-db": "^1.1.0" } }, "callsites": { @@ -4853,9 +4502,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001570", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001570.tgz", - "integrity": "sha512-+3e0ASu4sw1SWaoCtvPeyXp+5PsjigkSt8OXZbF9StH5pQWbxEjLAZE3n8Aup5udop1uRiKA7a4utUk/uoSpUw==", + "version": "1.0.30001655", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001655.tgz", + "integrity": "sha512-jRGVy3iSGO5Uutn2owlb5gR6qsGngTw9ZTb4ali9f3glshcNmJ2noam4Mo9zia5P9Dk3jNNydy7vQjuE5dQmfg==", "dev": true }, "chalk": { @@ -4952,15 +4601,6 @@ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true }, - "dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, - "requires": { - "path-type": "^4.0.0" - } - }, "doctrine": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", @@ -4971,9 +4611,9 @@ } }, "electron-to-chromium": { - "version": "1.4.612", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.612.tgz", - "integrity": "sha512-dM8BMtXtlH237ecSMnYdYuCkib2QHq0kpWfUnavjdYsyr/6OsAwg5ZGUfnQ9KD1Ga4QgB2sqXlB2NT8zy2GnVg==", + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.13.tgz", + "integrity": "sha512-lbBcvtIJ4J6sS4tb5TLp1b4LyfCdMkwStzXPyAgVgTRAsep4bvrAGaBOP7ZJtQMNJpSQ9SqG4brWOroNaQtm7Q==", "dev": true }, "error-stack-parser": { @@ -4985,40 +4625,40 @@ } }, "esbuild": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.20.2.tgz", - "integrity": "sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", + "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", "dev": true, "requires": { - "@esbuild/aix-ppc64": "0.20.2", - "@esbuild/android-arm": "0.20.2", - "@esbuild/android-arm64": "0.20.2", - "@esbuild/android-x64": "0.20.2", - "@esbuild/darwin-arm64": "0.20.2", - "@esbuild/darwin-x64": "0.20.2", - "@esbuild/freebsd-arm64": "0.20.2", - "@esbuild/freebsd-x64": "0.20.2", - "@esbuild/linux-arm": "0.20.2", - "@esbuild/linux-arm64": "0.20.2", - "@esbuild/linux-ia32": "0.20.2", - "@esbuild/linux-loong64": "0.20.2", - "@esbuild/linux-mips64el": "0.20.2", - "@esbuild/linux-ppc64": "0.20.2", - "@esbuild/linux-riscv64": "0.20.2", - "@esbuild/linux-s390x": "0.20.2", - "@esbuild/linux-x64": "0.20.2", - "@esbuild/netbsd-x64": "0.20.2", - "@esbuild/openbsd-x64": "0.20.2", - "@esbuild/sunos-x64": "0.20.2", - "@esbuild/win32-arm64": "0.20.2", - "@esbuild/win32-ia32": "0.20.2", - "@esbuild/win32-x64": "0.20.2" + "@esbuild/aix-ppc64": "0.21.5", + "@esbuild/android-arm": "0.21.5", + "@esbuild/android-arm64": "0.21.5", + "@esbuild/android-x64": "0.21.5", + "@esbuild/darwin-arm64": "0.21.5", + "@esbuild/darwin-x64": "0.21.5", + "@esbuild/freebsd-arm64": "0.21.5", + "@esbuild/freebsd-x64": "0.21.5", + "@esbuild/linux-arm": "0.21.5", + "@esbuild/linux-arm64": "0.21.5", + "@esbuild/linux-ia32": "0.21.5", + "@esbuild/linux-loong64": "0.21.5", + "@esbuild/linux-mips64el": "0.21.5", + "@esbuild/linux-ppc64": "0.21.5", + "@esbuild/linux-riscv64": "0.21.5", + "@esbuild/linux-s390x": "0.21.5", + "@esbuild/linux-x64": "0.21.5", + "@esbuild/netbsd-x64": "0.21.5", + "@esbuild/openbsd-x64": "0.21.5", + "@esbuild/sunos-x64": "0.21.5", + "@esbuild/win32-arm64": "0.21.5", + "@esbuild/win32-ia32": "0.21.5", + "@esbuild/win32-x64": "0.21.5" } }, "escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", "dev": true }, "escape-string-regexp": { @@ -5028,16 +4668,16 @@ "dev": true }, "eslint": { - "version": "8.56.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz", - "integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==", + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", + "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.56.0", - "@humanwhocodes/config-array": "^0.11.13", + "@eslint/js": "8.57.0", + "@humanwhocodes/config-array": "^0.11.14", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "@ungap/structured-clone": "^1.2.0", @@ -5158,16 +4798,16 @@ } }, "eslint-plugin-react-hooks": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz", - "integrity": "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==", + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz", + "integrity": "sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==", "dev": true, "requires": {} }, "eslint-plugin-react-refresh": { - "version": "0.4.5", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.5.tgz", - "integrity": "sha512-D53FYKJa+fDmZMtriODxvhwrO+IOqrxoEo21gMA0sjHdU6dPVH4OhyFip9ypl8HOF5RV5KdTo+rBQLvnY2cO8w==", + "version": "0.4.11", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.11.tgz", + "integrity": "sha512-wrAKxMbVr8qhXTtIKfXqAn5SAtRZt0aXxe5P23Fh4pUAdC6XEsybGLB8P0PI4j1yYqOgUEUlzKAGDfo7rJOjcw==", "dev": true, "requires": {} }, @@ -5269,11 +4909,6 @@ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", "dev": true }, - "fast-loops": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/fast-loops/-/fast-loops-1.1.3.tgz", - "integrity": "sha512-8EZzEP0eKkEEVX+drtd9mtuQ+/QrlfW/5MlwcwK5Nds6EkZ/tRzEexkzUY2mIssnAyVLT+TKHuRXmFNNXYUd6g==" - }, "fast-shallow-equal": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fast-shallow-equal/-/fast-shallow-equal-1.0.0.tgz", @@ -5303,9 +4938,9 @@ } }, "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "requires": { "to-regex-range": "^5.0.1" @@ -5386,20 +5021,6 @@ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", "dev": true }, - "globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dev": true, - "requires": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - } - }, "graphemer": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", @@ -5413,14 +5034,14 @@ "dev": true }, "hyphenate-style-name": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/hyphenate-style-name/-/hyphenate-style-name-1.0.4.tgz", - "integrity": "sha512-ygGZLjmXfPHj+ZWh6LwbC37l43MhfztxetbFCoYTM2VjkIUpeHgSNn7QIyVFj7YQ1Wl9Cbw5sholVJPzWvC2MQ==" + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/hyphenate-style-name/-/hyphenate-style-name-1.1.0.tgz", + "integrity": "sha512-WDC/ui2VVRrz3jOVi+XtjqkDjiVjTtFaAGiW37k6b+ohyQ5wYDOGkvCZa8+H0nx3gyvv0+BST9xuOgIyGQ00gw==" }, "ignore": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", - "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true }, "import-fresh": { @@ -5455,12 +5076,11 @@ "dev": true }, "inline-style-prefixer": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/inline-style-prefixer/-/inline-style-prefixer-7.0.0.tgz", - "integrity": "sha512-I7GEdScunP1dQ6IM2mQWh6v0mOYdYmH3Bp31UecKdrcUgcURTcctSe1IECdUznSHKSmsHtjrT3CwCPI1pyxfUQ==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/inline-style-prefixer/-/inline-style-prefixer-7.0.1.tgz", + "integrity": "sha512-lhYo5qNTQp3EvSSp3sRvXMbVQTLrvGV6DycRMJ5dm2BLMiJ30wpXKdDdgX+GmJZ5uQMucwRKHamXSst3Sj/Giw==", "requires": { - "css-in-js-utils": "^3.1.0", - "fast-loops": "^1.1.3" + "css-in-js-utils": "^3.1.0" } }, "is-extglob": { @@ -5528,9 +5148,9 @@ "dev": true }, "json-logic-engine": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/json-logic-engine/-/json-logic-engine-1.3.4.tgz", - "integrity": "sha512-p+WXFVTDWjZiM45+H2MSnAz984PPt2QampUGeMmgxWllsJjF8j8ucA3llmbL0xJkkV/7uj4MhhgJIYZ1MbkGiA==" + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/json-logic-engine/-/json-logic-engine-1.3.6.tgz", + "integrity": "sha512-ZC3Le6W0vsGKPvoJYu5Xpca2A+0N0IsPwZEfJsJzdCwbuuZkFMsIhNNp4Y6Txh2+P+OquADhgnI450KMStybqA==" }, "json-schema-traverse": { "version": "1.0.0", @@ -5612,12 +5232,12 @@ "dev": true }, "micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, "requires": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" } }, @@ -5643,15 +5263,15 @@ "dev": true }, "nano-css": { - "version": "5.6.1", - "resolved": "https://registry.npmjs.org/nano-css/-/nano-css-5.6.1.tgz", - "integrity": "sha512-T2Mhc//CepkTa3X4pUhKgbEheJHYAxD0VptuqFhDbGMUWVV2m+lkNiW/Ieuj35wrfC8Zm0l7HvssQh7zcEttSw==", + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/nano-css/-/nano-css-5.6.2.tgz", + "integrity": "sha512-+6bHaC8dSDGALM1HJjOHVXpuastdu2xFoZlC77Jh4cg+33Zcgm+Gxd+1xsnpZK14eyHObSp82+ll5y3SX75liw==", "requires": { "@jridgewell/sourcemap-codec": "^1.4.15", "css-tree": "^1.1.2", "csstype": "^3.1.2", "fastest-stable-stringify": "^2.0.2", - "inline-style-prefixer": "^7.0.0", + "inline-style-prefixer": "^7.0.1", "rtl-css-js": "^1.16.1", "stacktrace-js": "^2.0.2", "stylis": "^4.3.0" @@ -5670,9 +5290,9 @@ "dev": true }, "node-releases": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", - "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", + "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", "dev": true }, "object-hash": { @@ -5748,16 +5368,10 @@ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true }, - "path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true - }, "picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", + "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", "dev": true }, "picomatch": { @@ -5767,13 +5381,13 @@ "dev": true }, "postcss": { - "version": "8.4.38", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz", - "integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==", + "version": "8.4.41", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.41.tgz", + "integrity": "sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==", "dev": true, "requires": { "nanoid": "^3.3.7", - "picocolors": "^1.0.0", + "picocolors": "^1.0.1", "source-map-js": "^1.2.0" } }, @@ -5795,26 +5409,26 @@ "dev": true }, "react": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", - "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", "requires": { "loose-envify": "^1.1.0" } }, "react-dom": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", - "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", "requires": { "loose-envify": "^1.1.0", - "scheduler": "^0.23.0" + "scheduler": "^0.23.2" } }, "react-refresh": { - "version": "0.14.0", - "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.0.tgz", - "integrity": "sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==", + "version": "0.14.2", + "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.2.tgz", + "integrity": "sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==", "dev": true }, "react-universal-interface": { @@ -5824,9 +5438,9 @@ "requires": {} }, "react-use": { - "version": "17.5.0", - "resolved": "https://registry.npmjs.org/react-use/-/react-use-17.5.0.tgz", - "integrity": "sha512-PbfwSPMwp/hoL847rLnm/qkjg3sTRCvn6YhUZiHaUa3FA6/aNoFX79ul5Xt70O1rK+9GxSVqkY0eTwMdsR/bWg==", + "version": "17.5.1", + "resolved": "https://registry.npmjs.org/react-use/-/react-use-17.5.1.tgz", + "integrity": "sha512-LG/uPEVRflLWMwi3j/sZqR00nF6JGqTTDblkXK2nzXsIvij06hXl1V/MZIlwj1OKIQUtlh1l9jK8gLsRyCQxMg==", "requires": { "@types/js-cookie": "^2.2.6", "@xobotyi/scrollbar-width": "^1.9.5", @@ -5834,7 +5448,7 @@ "fast-deep-equal": "^3.1.3", "fast-shallow-equal": "^1.0.0", "js-cookie": "^2.2.1", - "nano-css": "^5.6.1", + "nano-css": "^5.6.2", "react-universal-interface": "^0.6.2", "resize-observer-polyfill": "^1.5.1", "screenfull": "^5.1.0", @@ -5881,27 +5495,27 @@ } }, "rollup": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.14.3.tgz", - "integrity": "sha512-ag5tTQKYsj1bhrFC9+OEWqb5O6VYgtQDO9hPDBMmIbePwhfSr+ExlcU741t8Dhw5DkPCQf6noz0jb36D6W9/hw==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.21.2.tgz", + "integrity": "sha512-e3TapAgYf9xjdLvKQCkQTnbTKd4a6jwlpQSJJFokHGaX2IVjoEqkIIhiQfqsi0cdwlOD+tQGuOd5AJkc5RngBw==", "dev": true, "requires": { - "@rollup/rollup-android-arm-eabi": "4.14.3", - "@rollup/rollup-android-arm64": "4.14.3", - "@rollup/rollup-darwin-arm64": "4.14.3", - "@rollup/rollup-darwin-x64": "4.14.3", - "@rollup/rollup-linux-arm-gnueabihf": "4.14.3", - "@rollup/rollup-linux-arm-musleabihf": "4.14.3", - "@rollup/rollup-linux-arm64-gnu": "4.14.3", - "@rollup/rollup-linux-arm64-musl": "4.14.3", - "@rollup/rollup-linux-powerpc64le-gnu": "4.14.3", - "@rollup/rollup-linux-riscv64-gnu": "4.14.3", - "@rollup/rollup-linux-s390x-gnu": "4.14.3", - "@rollup/rollup-linux-x64-gnu": "4.14.3", - "@rollup/rollup-linux-x64-musl": "4.14.3", - "@rollup/rollup-win32-arm64-msvc": "4.14.3", - "@rollup/rollup-win32-ia32-msvc": "4.14.3", - "@rollup/rollup-win32-x64-msvc": "4.14.3", + "@rollup/rollup-android-arm-eabi": "4.21.2", + "@rollup/rollup-android-arm64": "4.21.2", + "@rollup/rollup-darwin-arm64": "4.21.2", + "@rollup/rollup-darwin-x64": "4.21.2", + "@rollup/rollup-linux-arm-gnueabihf": "4.21.2", + "@rollup/rollup-linux-arm-musleabihf": "4.21.2", + "@rollup/rollup-linux-arm64-gnu": "4.21.2", + "@rollup/rollup-linux-arm64-musl": "4.21.2", + "@rollup/rollup-linux-powerpc64le-gnu": "4.21.2", + "@rollup/rollup-linux-riscv64-gnu": "4.21.2", + "@rollup/rollup-linux-s390x-gnu": "4.21.2", + "@rollup/rollup-linux-x64-gnu": "4.21.2", + "@rollup/rollup-linux-x64-musl": "4.21.2", + "@rollup/rollup-win32-arm64-msvc": "4.21.2", + "@rollup/rollup-win32-ia32-msvc": "4.21.2", + "@rollup/rollup-win32-x64-msvc": "4.21.2", "@types/estree": "1.0.5", "fsevents": "~2.3.2" } @@ -5924,9 +5538,9 @@ } }, "scheduler": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", - "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", "requires": { "loose-envify": "^1.1.0" } @@ -5979,12 +5593,6 @@ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true }, - "slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true - }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -6056,9 +5664,9 @@ "dev": true }, "stylis": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.3.0.tgz", - "integrity": "sha512-E87pIogpwUsUwXw7dNyU4QDjdgVMy52m+XEOPEKUn161cCzWjjhPSQhByfd1CcNvrOLnXQ6OnnZDwnJrz/Z4YQ==" + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.3.4.tgz", + "integrity": "sha512-osIBl6BGUmSfDkyH2mB7EFvCJntXDrLhKjHTRj/rK6xLH0yuPrHULDRQzKokSOD4VoorhtKpfcfW1GAntu8now==" }, "supports-color": { "version": "5.5.0", @@ -6101,9 +5709,9 @@ "integrity": "sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==" }, "ts-api-utils": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.0.3.tgz", - "integrity": "sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", + "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", "dev": true, "requires": {} }, @@ -6133,19 +5741,19 @@ "dev": true }, "typescript": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", - "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", + "version": "5.5.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", + "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", "dev": true }, "update-browserslist-db": { - "version": "1.0.13", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", - "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz", + "integrity": "sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==", "dev": true, "requires": { - "escalade": "^3.1.1", - "picocolors": "^1.0.0" + "escalade": "^3.1.2", + "picocolors": "^1.0.1" } }, "uri-js": { @@ -6157,15 +5765,15 @@ } }, "vite": { - "version": "5.2.9", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.9.tgz", - "integrity": "sha512-uOQWfuZBlc6Y3W/DTuQ1Sr+oIXWvqljLvS881SVmAj00d5RdgShLcuXWxseWPd4HXwiYBFW/vXHfKFeqj9uQnw==", + "version": "5.4.2", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.2.tgz", + "integrity": "sha512-dDrQTRHp5C1fTFzcSaMxjk6vdpKvT+2/mIdE07Gw2ykehT49O0z/VHS3zZ8iV/Gh8BJJKHWOe5RjaNrW5xf/GA==", "dev": true, "requires": { - "esbuild": "^0.20.1", + "esbuild": "^0.21.3", "fsevents": "~2.3.3", - "postcss": "^8.4.38", - "rollup": "^4.13.0" + "postcss": "^8.4.41", + "rollup": "^4.20.0" } }, "which": { diff --git a/playground-app/package.json b/playground-app/package.json index 4f4f45460..003149271 100644 --- a/playground-app/package.json +++ b/playground-app/package.json @@ -11,21 +11,21 @@ }, "dependencies": { "@monaco-editor/react": "^4.6.0", - "@openfeature/flagd-core": "^0.2.3", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "react-use": "^17.5.0" + "@openfeature/flagd-core": "^0.2.5", + "react": "^18.3.1", + "react-dom": "^18.3.1", + "react-use": "^17.5.1" }, "devDependencies": { - "@types/react": "^18.2.48", - "@types/react-dom": "^18.2.18", - "@typescript-eslint/eslint-plugin": "^6.20.0", - "@typescript-eslint/parser": "^6.20.0", - "@vitejs/plugin-react": "^4.2.1", - "eslint": "^8.55.0", - "eslint-plugin-react-hooks": "^4.6.0", - "eslint-plugin-react-refresh": "^0.4.5", - "typescript": "^5.3.3", - "vite": "^5.0.12" + "@types/react": "^18.3.5", + "@types/react-dom": "^18.3.0", + "@typescript-eslint/eslint-plugin": "^8.3.0", + "@typescript-eslint/parser": "^8.3.0", + "@vitejs/plugin-react": "^4.3.1", + "eslint": "^8.57.0", + "eslint-plugin-react-hooks": "^4.6.2", + "eslint-plugin-react-refresh": "^0.4.11", + "typescript": "^5.5.4", + "vite": "^5.4.2" } }