From 7c7132555ae30461f61b1142847024bb07e6fa4e Mon Sep 17 00:00:00 2001 From: David Glick Date: Wed, 13 Nov 2024 14:12:42 -0800 Subject: [PATCH] Fix blank launch screen in Chrome (#102) --- frontend/src/App.tsx | 5 ++-- news/101.bugfix | 1 + .../browser/static/plone-overview.min.js | 26 +++++++++---------- .../browser/templates/plone-overview.pt | 3 +-- 4 files changed, 18 insertions(+), 17 deletions(-) create mode 100644 news/101.bugfix diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index a599300..f323442 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -1,3 +1,4 @@ +import { useEffect } from 'react'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; import SitesInfo from './SitesInfo'; import AddSite from './AddSite'; @@ -9,9 +10,9 @@ function App() { const queryString = window.location.search; const urlParams = new URLSearchParams(queryString); - window.onload = () => { + useEffect(() => { document.getElementById('root')?.classList.add('show-content'); - }; + }, []); return ( <> diff --git a/news/101.bugfix b/news/101.bugfix new file mode 100644 index 0000000..0268aa2 --- /dev/null +++ b/news/101.bugfix @@ -0,0 +1 @@ +Fix bug where launch screen was blank in Chrome. @davisagli diff --git a/src/plone/distribution/browser/static/plone-overview.min.js b/src/plone/distribution/browser/static/plone-overview.min.js index 97369ad..81756f9 100644 --- a/src/plone/distribution/browser/static/plone-overview.min.js +++ b/src/plone/distribution/browser/static/plone-overview.min.js @@ -6,7 +6,7 @@ var Sb=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Mce=Sb((Gt,Qt * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var yl=Symbol.for("react.element"),xb=Symbol.for("react.portal"),Ob=Symbol.for("react.fragment"),Pb=Symbol.for("react.strict_mode"),Tb=Symbol.for("react.profiler"),Ab=Symbol.for("react.provider"),Rb=Symbol.for("react.context"),jb=Symbol.for("react.forward_ref"),Ib=Symbol.for("react.suspense"),Lb=Symbol.for("react.memo"),Nb=Symbol.for("react.lazy"),lg=Symbol.iterator;function Mb(e){return e===null||typeof e!="object"?null:(e=lg&&e[lg]||e["@@iterator"],typeof e=="function"?e:null)}var A4={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},R4=Object.assign,j4={};function go(e,t,r){this.props=e,this.context=t,this.refs=j4,this.updater=r||A4}go.prototype.isReactComponent={};go.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")};go.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function I4(){}I4.prototype=go.prototype;function Sh(e,t,r){this.props=e,this.context=t,this.refs=j4,this.updater=r||A4}var _h=Sh.prototype=new I4;_h.constructor=Sh;R4(_h,go.prototype);_h.isPureReactComponent=!0;var ug=Array.isArray,L4=Object.prototype.hasOwnProperty,xh={current:null},N4={key:!0,ref:!0,__self:!0,__source:!0};function M4(e,t,r){var n,i={},a=null,o=null;if(t!=null)for(n in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(a=""+t.key),t)L4.call(t,n)&&!N4.hasOwnProperty(n)&&(i[n]=t[n]);var s=arguments.length-2;if(s===1)i.children=r;else if(1()=>(t||e((t={exports:{}}).exports,t),t.exports);var Mce=Sb((Gt,Qt * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Hb=j,Ub=Symbol.for("react.element"),Bb=Symbol.for("react.fragment"),zb=Object.prototype.hasOwnProperty,Kb=Hb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,qb={key:!0,ref:!0,__self:!0,__source:!0};function k4(e,t,r){var n,i={},a=null,o=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(o=t.ref);for(n in t)zb.call(t,n)&&!qb.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)i[n]===void 0&&(i[n]=t[n]);return{$$typeof:Ub,type:e,key:a,ref:o,props:i,_owner:Kb.current}}td.Fragment=Bb;td.jsx=k4;td.jsxs=k4;P4.exports=td;var E=P4.exports,A1={},F4={exports:{}},tr={},D4={exports:{}},V4={};/** + */var Hb=R,Ub=Symbol.for("react.element"),Bb=Symbol.for("react.fragment"),zb=Object.prototype.hasOwnProperty,Kb=Hb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,qb={key:!0,ref:!0,__self:!0,__source:!0};function k4(e,t,r){var n,i={},a=null,o=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(o=t.ref);for(n in t)zb.call(t,n)&&!qb.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)i[n]===void 0&&(i[n]=t[n]);return{$$typeof:Ub,type:e,key:a,ref:o,props:i,_owner:Kb.current}}td.Fragment=Bb;td.jsx=k4;td.jsxs=k4;P4.exports=td;var E=P4.exports,A1={},F4={exports:{}},tr={},D4={exports:{}},V4={};/** * @license React * scheduler.production.min.js * @@ -22,7 +22,7 @@ var Sb=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Mce=Sb((Gt,Qt * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function t(Z,ee){var M=Z.length;Z.push(ee);e:for(;0>>1,H=Z[R];if(0>>1;Ri(A,M))Vi(J,A)?(Z[R]=J,Z[V]=M,R=V):(Z[R]=A,Z[x]=M,R=x);else if(Vi(J,M))Z[R]=J,Z[V]=M,R=V;else break e}}return ee}function i(Z,ee){var M=Z.sortIndex-ee.sortIndex;return M!==0?M:Z.id-ee.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],u=[],c=1,d=null,p=3,f=!1,m=!1,v=!1,$=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(Z){for(var ee=r(u);ee!==null;){if(ee.callback===null)n(u);else if(ee.startTime<=Z)n(u),ee.sortIndex=ee.expirationTime,t(l,ee);else break;ee=r(u)}}function b(Z){if(v=!1,y(Z),!m)if(r(l)!==null)m=!0,ae(O);else{var ee=r(u);ee!==null&&he(b,ee.startTime-Z)}}function O(Z,ee){m=!1,v&&(v=!1,h(w),w=-1),f=!0;var M=p;try{for(y(ee),d=r(l);d!==null&&(!(d.expirationTime>ee)||Z&&!N());){var R=d.callback;if(typeof R=="function"){d.callback=null,p=d.priorityLevel;var H=R(d.expirationTime<=ee);ee=e.unstable_now(),typeof H=="function"?d.callback=H:d===r(l)&&n(l),y(ee)}else n(l);d=r(l)}if(d!==null)var k=!0;else{var x=r(u);x!==null&&he(b,x.startTime-ee),k=!1}return k}finally{d=null,p=M,f=!1}}var S=!1,_=null,w=-1,T=5,F=-1;function N(){return!(e.unstable_now()-FZ||125R?(Z.sortIndex=M,t(u,Z),r(l)===null&&Z===r(u)&&(v?(h(w),w=-1):v=!0,he(b,M-R))):(Z.sortIndex=H,t(l,Z),m||f||(m=!0,ae(O))),Z},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(Z){var ee=p;return function(){var M=p;p=ee;try{return Z.apply(this,arguments)}finally{p=M}}}})(V4);D4.exports=V4;var Zb=D4.exports;/** + */(function(e){function t(Z,ee){var M=Z.length;Z.push(ee);e:for(;0>>1,H=Z[j];if(0>>1;ji(A,M))Vi(J,A)?(Z[j]=J,Z[V]=M,j=V):(Z[j]=A,Z[x]=M,j=x);else if(Vi(J,M))Z[j]=J,Z[V]=M,j=V;else break e}}return ee}function i(Z,ee){var M=Z.sortIndex-ee.sortIndex;return M!==0?M:Z.id-ee.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],u=[],c=1,d=null,p=3,f=!1,m=!1,v=!1,$=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(Z){for(var ee=r(u);ee!==null;){if(ee.callback===null)n(u);else if(ee.startTime<=Z)n(u),ee.sortIndex=ee.expirationTime,t(l,ee);else break;ee=r(u)}}function b(Z){if(v=!1,y(Z),!m)if(r(l)!==null)m=!0,ae(O);else{var ee=r(u);ee!==null&&he(b,ee.startTime-Z)}}function O(Z,ee){m=!1,v&&(v=!1,h(w),w=-1),f=!0;var M=p;try{for(y(ee),d=r(l);d!==null&&(!(d.expirationTime>ee)||Z&&!N());){var j=d.callback;if(typeof j=="function"){d.callback=null,p=d.priorityLevel;var H=j(d.expirationTime<=ee);ee=e.unstable_now(),typeof H=="function"?d.callback=H:d===r(l)&&n(l),y(ee)}else n(l);d=r(l)}if(d!==null)var k=!0;else{var x=r(u);x!==null&&he(b,x.startTime-ee),k=!1}return k}finally{d=null,p=M,f=!1}}var S=!1,_=null,w=-1,T=5,F=-1;function N(){return!(e.unstable_now()-FZ||125j?(Z.sortIndex=M,t(u,Z),r(l)===null&&Z===r(u)&&(v?(h(w),w=-1):v=!0,he(b,M-j))):(Z.sortIndex=H,t(l,Z),m||f||(m=!0,ae(O))),Z},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(Z){var ee=p;return function(){var M=p;p=ee;try{return Z.apply(this,arguments)}finally{p=M}}}})(V4);D4.exports=V4;var Zb=D4.exports;/** * @license React * react-dom.production.min.js * @@ -30,7 +30,7 @@ var Sb=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Mce=Sb((Gt,Qt * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var H4=j,Xt=Zb;function X(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"),R1=Object.prototype.hasOwnProperty,Wb=/^[: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]*$/,dg={},fg={};function Gb(e){return R1.call(fg,e)?!0:R1.call(dg,e)?!1:Wb.test(e)?fg[e]=!0:(dg[e]=!0,!1)}function Qb(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 Yb(e,t,r,n){if(t===null||typeof t>"u"||Qb(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 It(e,t,r,n,i,a,o){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=a,this.removeEmptyString=o}var wt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){wt[e]=new It(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];wt[t]=new It(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){wt[e]=new It(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){wt[e]=new It(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){wt[e]=new It(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){wt[e]=new It(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){wt[e]=new It(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){wt[e]=new It(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){wt[e]=new It(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ph=/[\-:]([a-z])/g;function Th(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(Ph,Th);wt[t]=new It(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(Ph,Th);wt[t]=new It(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(Ph,Th);wt[t]=new It(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){wt[e]=new It(e,1,!1,e.toLowerCase(),null,!1,!1)});wt.xlinkHref=new It("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){wt[e]=new It(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ah(e,t,r,n){var i=wt.hasOwnProperty(t)?wt[t]:null;(i!==null?i.type!==0:n||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),R1=Object.prototype.hasOwnProperty,Wb=/^[: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]*$/,dg={},fg={};function Gb(e){return R1.call(fg,e)?!0:R1.call(dg,e)?!1:Wb.test(e)?fg[e]=!0:(dg[e]=!0,!1)}function Qb(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 Yb(e,t,r,n){if(t===null||typeof t>"u"||Qb(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 It(e,t,r,n,i,a,o){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=a,this.removeEmptyString=o}var wt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){wt[e]=new It(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];wt[t]=new It(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){wt[e]=new It(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){wt[e]=new It(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){wt[e]=new It(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){wt[e]=new It(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){wt[e]=new It(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){wt[e]=new It(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){wt[e]=new It(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ph=/[\-:]([a-z])/g;function Th(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(Ph,Th);wt[t]=new It(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(Ph,Th);wt[t]=new It(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(Ph,Th);wt[t]=new It(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){wt[e]=new It(e,1,!1,e.toLowerCase(),null,!1,!1)});wt.xlinkHref=new It("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){wt[e]=new It(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ah(e,t,r,n){var i=wt.hasOwnProperty(t)?wt[t]:null;(i!==null?i.type!==0:n||!(2s||i[o]!==a[s]){var l=` @@ -45,9 +45,9 @@ Error generating stack: `+a.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var so=j;function hS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var mS=typeof Object.is=="function"?Object.is:hS,vS=so.useState,gS=so.useEffect,yS=so.useLayoutEffect,$S=so.useDebugValue;function wS(e,t){var r=t(),n=vS({inst:{value:r,getSnapshot:t}}),i=n[0].inst,a=n[1];return yS(function(){i.value=r,i.getSnapshot=t,Kf(i)&&a({inst:i})},[e,r,t]),gS(function(){return Kf(i)&&a({inst:i}),e(function(){Kf(i)&&a({inst:i})})},[e]),$S(r),r}function Kf(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!mS(e,r)}catch{return!0}}function bS(e,t){return t()}var ES=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?bS:wS;Q3.useSyncExternalStore=so.useSyncExternalStore!==void 0?so.useSyncExternalStore:ES;G3.exports=Q3;var CS=G3.exports;const Y3=CS.useSyncExternalStore,_y=j.createContext(void 0),J3=j.createContext(!1);function X3(e,t){return e||(t&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=_y),window.ReactQueryClientContext):_y)}const e5=({context:e}={})=>{const t=j.useContext(X3(e,j.useContext(J3)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},SS=({client:e,children:t,context:r,contextSharing:n=!1})=>{j.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const i=X3(r,n);return j.createElement(J3.Provider,{value:!r&&n},j.createElement(i.Provider,{value:e},t))},t5=j.createContext(!1),_S=()=>j.useContext(t5);t5.Provider;function xS(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const OS=j.createContext(xS()),PS=()=>j.useContext(OS);function r5(e,t){return typeof e=="function"?e(...t):!!e}const TS=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},AS=e=>{j.useEffect(()=>{e.clearReset()},[e])},RS=({result:e,errorResetBoundary:t,useErrorBoundary:r,query:n})=>e.isError&&!t.isReset()&&!e.isFetching&&r5(r,[e.error,n]),jS=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},IS=(e,t)=>e.isLoading&&e.isFetching&&!t,LS=(e,t,r)=>(e==null?void 0:e.suspense)&&IS(t,r),NS=(e,t,r)=>t.fetchOptimistic(e).then(({data:n})=>{e.onSuccess==null||e.onSuccess(n),e.onSettled==null||e.onSettled(n,null)}).catch(n=>{r.clearReset(),e.onError==null||e.onError(n),e.onSettled==null||e.onSettled(void 0,n)});function MS(e,t){const r=e5({context:e.context}),n=_S(),i=PS(),a=r.defaultQueryOptions(e);a._optimisticResults=n?"isRestoring":"optimistic",a.onError&&(a.onError=Je.batchCalls(a.onError)),a.onSuccess&&(a.onSuccess=Je.batchCalls(a.onSuccess)),a.onSettled&&(a.onSettled=Je.batchCalls(a.onSettled)),jS(a),TS(a,i),AS(i);const[o]=j.useState(()=>new t(r,a)),s=o.getOptimisticResult(a);if(Y3(j.useCallback(l=>n?()=>{}:o.subscribe(Je.batchCalls(l)),[o,n]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),j.useEffect(()=>{o.setOptions(a,{listeners:!1})},[a,o]),LS(a,s,n))throw NS(a,o,i);if(RS({result:s,errorResetBoundary:i,useErrorBoundary:a.useErrorBoundary,query:o.getCurrentQuery()}))throw s.error;return a.notifyOnChangeProps?s:o.trackResult(s)}function n5(e,t,r){const n=gs(e,t,r);return MS(n,dS)}function kS(e,t,r){const n=YC(e,t),i=e5({context:n.context}),[a]=j.useState(()=>new pS(i,n));j.useEffect(()=>{a.setOptions(n)},[a,n]);const o=Y3(j.useCallback(l=>a.subscribe(Je.batchCalls(l)),[a]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),s=j.useCallback((l,u)=>{a.mutate(l,u).catch(FS)},[a]);if(o.error&&r5(a.options.useErrorBoundary,[o.error]))throw o.error;return{...o,mutate:s,mutateAsync:o.mutate}}function FS(){}function i5(e,t){return function(){return e.apply(t,arguments)}}const{toString:DS}=Object.prototype,{getPrototypeOf:Em}=Object,yd=(e=>t=>{const r=DS.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),on=e=>(e=e.toLowerCase(),t=>yd(t)===e),$d=e=>t=>typeof t===e,{isArray:bo}=Array,al=$d("undefined");function VS(e){return e!==null&&!al(e)&&e.constructor!==null&&!al(e.constructor)&&yr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const a5=on("ArrayBuffer");function HS(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&a5(e.buffer),t}const US=$d("string"),yr=$d("function"),o5=$d("number"),wd=e=>e!==null&&typeof e=="object",BS=e=>e===!0||e===!1,Hu=e=>{if(yd(e)!=="object")return!1;const t=Em(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},zS=on("Date"),KS=on("File"),qS=on("Blob"),ZS=on("FileList"),WS=e=>wd(e)&&yr(e.pipe),GS=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||yr(e.append)&&((t=yd(e))==="formdata"||t==="object"&&yr(e.toString)&&e.toString()==="[object FormData]"))},QS=on("URLSearchParams"),YS=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Sl(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!="object"&&(e=[e]),bo(e))for(n=0,i=e.length;n0;)if(i=r[n],t===i.toLowerCase())return i;return null}const l5=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,u5=e=>!al(e)&&e!==l5;function Pp(){const{caseless:e}=u5(this)&&this||{},t={},r=(n,i)=>{const a=e&&s5(t,i)||i;Hu(t[a])&&Hu(n)?t[a]=Pp(t[a],n):Hu(n)?t[a]=Pp({},n):bo(n)?t[a]=n.slice():t[a]=n};for(let n=0,i=arguments.length;n(Sl(t,(i,a)=>{r&&yr(i)?e[a]=i5(i,r):e[a]=i},{allOwnKeys:n}),e),XS=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),e_=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},t_=(e,t,r,n)=>{let i,a,o;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!n||n(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=r!==!1&&Em(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},r_=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},n_=e=>{if(!e)return null;if(bo(e))return e;let t=e.length;if(!o5(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},i_=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Em(Uint8Array)),a_=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=n.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},o_=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},s_=on("HTMLFormElement"),l_=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),xy=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),u_=on("RegExp"),c5=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Sl(r,(i,a)=>{t(i,a,e)!==!1&&(n[a]=i)}),Object.defineProperties(e,n)},c_=e=>{c5(e,(t,r)=>{if(yr(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(yr(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},d_=(e,t)=>{const r={},n=i=>{i.forEach(a=>{r[a]=!0})};return bo(e)?n(e):n(String(e).split(t)),r},f_=()=>{},p_=(e,t)=>(e=+e,Number.isFinite(e)?e:t),qf="abcdefghijklmnopqrstuvwxyz",Oy="0123456789",d5={DIGIT:Oy,ALPHA:qf,ALPHA_DIGIT:qf+qf.toUpperCase()+Oy},h_=(e=16,t=d5.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function m_(e){return!!(e&&yr(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const v_=e=>{const t=new Array(10),r=(n,i)=>{if(wd(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[i]=n;const a=bo(n)?[]:{};return Sl(n,(o,s)=>{const l=r(o,i+1);!al(l)&&(a[s]=l)}),t[i]=void 0,a}}return n};return r(e,0)},g_=on("AsyncFunction"),y_=e=>e&&(wd(e)||yr(e))&&yr(e.then)&&yr(e.catch),q={isArray:bo,isArrayBuffer:a5,isBuffer:VS,isFormData:GS,isArrayBufferView:HS,isString:US,isNumber:o5,isBoolean:BS,isObject:wd,isPlainObject:Hu,isUndefined:al,isDate:zS,isFile:KS,isBlob:qS,isRegExp:u_,isFunction:yr,isStream:WS,isURLSearchParams:QS,isTypedArray:i_,isFileList:ZS,forEach:Sl,merge:Pp,extend:JS,trim:YS,stripBOM:XS,inherits:e_,toFlatObject:t_,kindOf:yd,kindOfTest:on,endsWith:r_,toArray:n_,forEachEntry:a_,matchAll:o_,isHTMLForm:s_,hasOwnProperty:xy,hasOwnProp:xy,reduceDescriptors:c5,freezeMethods:c_,toObjectSet:d_,toCamelCase:l_,noop:f_,toFiniteNumber:p_,findKey:s5,global:l5,isContextDefined:u5,ALPHABET:d5,generateString:h_,isSpecCompliantForm:m_,toJSONObject:v_,isAsyncFn:g_,isThenable:y_};function Ce(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}q.inherits(Ce,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const f5=Ce.prototype,p5={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{p5[e]={value:e}});Object.defineProperties(Ce,p5);Object.defineProperty(f5,"isAxiosError",{value:!0});Ce.from=(e,t,r,n,i,a)=>{const o=Object.create(f5);return q.toFlatObject(e,o,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),Ce.call(o,e.message,t,r,n,i),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};const $_=null;function Tp(e){return q.isPlainObject(e)||q.isArray(e)}function h5(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function Py(e,t,r){return e?e.concat(t).map(function(i,a){return i=h5(i),!r&&a?"["+i+"]":i}).join(r?".":""):t}function w_(e){return q.isArray(e)&&!e.some(Tp)}const b_=q.toFlatObject(q,{},null,function(t){return/^is[A-Z]/.test(t)});function bd(e,t,r){if(!q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=q.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,$){return!q.isUndefined($[v])});const n=r.metaTokens,i=r.visitor||c,a=r.dots,o=r.indexes,l=(r.Blob||typeof Blob<"u"&&Blob)&&q.isSpecCompliantForm(t);if(!q.isFunction(i))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(q.isDate(m))return m.toISOString();if(!l&&q.isBlob(m))throw new Ce("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(m)||q.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function c(m,v,$){let h=m;if(m&&!$&&typeof m=="object"){if(q.endsWith(v,"{}"))v=n?v:v.slice(0,-2),m=JSON.stringify(m);else if(q.isArray(m)&&w_(m)||(q.isFileList(m)||q.endsWith(v,"[]"))&&(h=q.toArray(m)))return v=h5(v),h.forEach(function(y,b){!(q.isUndefined(y)||y===null)&&t.append(o===!0?Py([v],b,a):o===null?v:v+"[]",u(y))}),!1}return Tp(m)?!0:(t.append(Py($,v,a),u(m)),!1)}const d=[],p=Object.assign(b_,{defaultVisitor:c,convertValue:u,isVisitable:Tp});function f(m,v){if(!q.isUndefined(m)){if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+v.join("."));d.push(m),q.forEach(m,function(h,g){(!(q.isUndefined(h)||h===null)&&i.call(t,h,q.isString(g)?g.trim():g,v,p))===!0&&f(h,v?v.concat(g):[g])}),d.pop()}}if(!q.isObject(e))throw new TypeError("data must be an object");return f(e),t}function Ty(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Cm(e,t){this._pairs=[],e&&bd(e,this,t)}const m5=Cm.prototype;m5.append=function(t,r){this._pairs.push([t,r])};m5.toString=function(t){const r=t?function(n){return t.call(this,n,Ty)}:Ty;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function E_(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function v5(e,t,r){if(!t)return e;const n=r&&r.encode||E_,i=r&&r.serialize;let a;if(i?a=i(t,r):a=q.isURLSearchParams(t)?t.toString():new Cm(t,r).toString(n),a){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class Ay{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){q.forEach(this.handlers,function(n){n!==null&&t(n)})}}const g5={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},C_=typeof URLSearchParams<"u"?URLSearchParams:Cm,S_=typeof FormData<"u"?FormData:null,__=typeof Blob<"u"?Blob:null,x_=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),O_=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Qr={isBrowser:!0,classes:{URLSearchParams:C_,FormData:S_,Blob:__},isStandardBrowserEnv:x_,isStandardBrowserWebWorkerEnv:O_,protocols:["http","https","file","blob","url","data"]};function P_(e,t){return bd(e,new Qr.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,a){return Qr.isNode&&q.isBuffer(r)?(this.append(n,r.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function T_(e){return q.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function A_(e){const t={},r=Object.keys(e);let n;const i=r.length;let a;for(n=0;n=r.length;return o=!o&&q.isArray(i)?i.length:o,l?(q.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!s):((!i[o]||!q.isObject(i[o]))&&(i[o]=[]),t(r,n,i[o],a)&&q.isArray(i[o])&&(i[o]=A_(i[o])),!s)}if(q.isFormData(e)&&q.isFunction(e.entries)){const r={};return q.forEachEntry(e,(n,i)=>{t(T_(n),i,r,0)}),r}return null}const R_={"Content-Type":void 0};function j_(e,t,r){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const Eo={transitional:g5,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",i=n.indexOf("application/json")>-1,a=q.isObject(t);if(a&&q.isHTMLForm(t)&&(t=new FormData(t)),q.isFormData(t))return i&&i?JSON.stringify(y5(t)):t;if(q.isArrayBuffer(t)||q.isBuffer(t)||q.isStream(t)||q.isFile(t)||q.isBlob(t))return t;if(q.isArrayBufferView(t))return t.buffer;if(q.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return P_(t,this.formSerializer).toString();if((s=q.isFileList(t))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return bd(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return a||i?(r.setContentType("application/json",!1),j_(t)):t}],transformResponse:[function(t){const r=this.transitional||Eo.transitional,n=r&&r.forcedJSONParsing,i=this.responseType==="json";if(t&&q.isString(t)&&(n&&!this.responseType||i)){const o=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(o)throw s.name==="SyntaxError"?Ce.from(s,Ce.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Qr.classes.FormData,Blob:Qr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};q.forEach(["delete","get","head"],function(t){Eo.headers[t]={}});q.forEach(["post","put","patch"],function(t){Eo.headers[t]=q.merge(R_)});const I_=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),L_=e=>{const t={};let r,n,i;return e&&e.split(` + */var so=R;function hS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var mS=typeof Object.is=="function"?Object.is:hS,vS=so.useState,gS=so.useEffect,yS=so.useLayoutEffect,$S=so.useDebugValue;function wS(e,t){var r=t(),n=vS({inst:{value:r,getSnapshot:t}}),i=n[0].inst,a=n[1];return yS(function(){i.value=r,i.getSnapshot=t,Kf(i)&&a({inst:i})},[e,r,t]),gS(function(){return Kf(i)&&a({inst:i}),e(function(){Kf(i)&&a({inst:i})})},[e]),$S(r),r}function Kf(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!mS(e,r)}catch{return!0}}function bS(e,t){return t()}var ES=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?bS:wS;Q3.useSyncExternalStore=so.useSyncExternalStore!==void 0?so.useSyncExternalStore:ES;G3.exports=Q3;var CS=G3.exports;const Y3=CS.useSyncExternalStore,_y=R.createContext(void 0),J3=R.createContext(!1);function X3(e,t){return e||(t&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=_y),window.ReactQueryClientContext):_y)}const e5=({context:e}={})=>{const t=R.useContext(X3(e,R.useContext(J3)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},SS=({client:e,children:t,context:r,contextSharing:n=!1})=>{R.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const i=X3(r,n);return R.createElement(J3.Provider,{value:!r&&n},R.createElement(i.Provider,{value:e},t))},t5=R.createContext(!1),_S=()=>R.useContext(t5);t5.Provider;function xS(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const OS=R.createContext(xS()),PS=()=>R.useContext(OS);function r5(e,t){return typeof e=="function"?e(...t):!!e}const TS=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},AS=e=>{R.useEffect(()=>{e.clearReset()},[e])},RS=({result:e,errorResetBoundary:t,useErrorBoundary:r,query:n})=>e.isError&&!t.isReset()&&!e.isFetching&&r5(r,[e.error,n]),jS=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},IS=(e,t)=>e.isLoading&&e.isFetching&&!t,LS=(e,t,r)=>(e==null?void 0:e.suspense)&&IS(t,r),NS=(e,t,r)=>t.fetchOptimistic(e).then(({data:n})=>{e.onSuccess==null||e.onSuccess(n),e.onSettled==null||e.onSettled(n,null)}).catch(n=>{r.clearReset(),e.onError==null||e.onError(n),e.onSettled==null||e.onSettled(void 0,n)});function MS(e,t){const r=e5({context:e.context}),n=_S(),i=PS(),a=r.defaultQueryOptions(e);a._optimisticResults=n?"isRestoring":"optimistic",a.onError&&(a.onError=Je.batchCalls(a.onError)),a.onSuccess&&(a.onSuccess=Je.batchCalls(a.onSuccess)),a.onSettled&&(a.onSettled=Je.batchCalls(a.onSettled)),jS(a),TS(a,i),AS(i);const[o]=R.useState(()=>new t(r,a)),s=o.getOptimisticResult(a);if(Y3(R.useCallback(l=>n?()=>{}:o.subscribe(Je.batchCalls(l)),[o,n]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),R.useEffect(()=>{o.setOptions(a,{listeners:!1})},[a,o]),LS(a,s,n))throw NS(a,o,i);if(RS({result:s,errorResetBoundary:i,useErrorBoundary:a.useErrorBoundary,query:o.getCurrentQuery()}))throw s.error;return a.notifyOnChangeProps?s:o.trackResult(s)}function n5(e,t,r){const n=gs(e,t,r);return MS(n,dS)}function kS(e,t,r){const n=YC(e,t),i=e5({context:n.context}),[a]=R.useState(()=>new pS(i,n));R.useEffect(()=>{a.setOptions(n)},[a,n]);const o=Y3(R.useCallback(l=>a.subscribe(Je.batchCalls(l)),[a]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),s=R.useCallback((l,u)=>{a.mutate(l,u).catch(FS)},[a]);if(o.error&&r5(a.options.useErrorBoundary,[o.error]))throw o.error;return{...o,mutate:s,mutateAsync:o.mutate}}function FS(){}function i5(e,t){return function(){return e.apply(t,arguments)}}const{toString:DS}=Object.prototype,{getPrototypeOf:Em}=Object,yd=(e=>t=>{const r=DS.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),on=e=>(e=e.toLowerCase(),t=>yd(t)===e),$d=e=>t=>typeof t===e,{isArray:bo}=Array,al=$d("undefined");function VS(e){return e!==null&&!al(e)&&e.constructor!==null&&!al(e.constructor)&&yr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const a5=on("ArrayBuffer");function HS(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&a5(e.buffer),t}const US=$d("string"),yr=$d("function"),o5=$d("number"),wd=e=>e!==null&&typeof e=="object",BS=e=>e===!0||e===!1,Hu=e=>{if(yd(e)!=="object")return!1;const t=Em(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},zS=on("Date"),KS=on("File"),qS=on("Blob"),ZS=on("FileList"),WS=e=>wd(e)&&yr(e.pipe),GS=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||yr(e.append)&&((t=yd(e))==="formdata"||t==="object"&&yr(e.toString)&&e.toString()==="[object FormData]"))},QS=on("URLSearchParams"),YS=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Sl(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!="object"&&(e=[e]),bo(e))for(n=0,i=e.length;n0;)if(i=r[n],t===i.toLowerCase())return i;return null}const l5=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,u5=e=>!al(e)&&e!==l5;function Pp(){const{caseless:e}=u5(this)&&this||{},t={},r=(n,i)=>{const a=e&&s5(t,i)||i;Hu(t[a])&&Hu(n)?t[a]=Pp(t[a],n):Hu(n)?t[a]=Pp({},n):bo(n)?t[a]=n.slice():t[a]=n};for(let n=0,i=arguments.length;n(Sl(t,(i,a)=>{r&&yr(i)?e[a]=i5(i,r):e[a]=i},{allOwnKeys:n}),e),XS=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),e_=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},t_=(e,t,r,n)=>{let i,a,o;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!n||n(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=r!==!1&&Em(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},r_=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},n_=e=>{if(!e)return null;if(bo(e))return e;let t=e.length;if(!o5(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},i_=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Em(Uint8Array)),a_=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=n.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},o_=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},s_=on("HTMLFormElement"),l_=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),xy=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),u_=on("RegExp"),c5=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Sl(r,(i,a)=>{t(i,a,e)!==!1&&(n[a]=i)}),Object.defineProperties(e,n)},c_=e=>{c5(e,(t,r)=>{if(yr(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(yr(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},d_=(e,t)=>{const r={},n=i=>{i.forEach(a=>{r[a]=!0})};return bo(e)?n(e):n(String(e).split(t)),r},f_=()=>{},p_=(e,t)=>(e=+e,Number.isFinite(e)?e:t),qf="abcdefghijklmnopqrstuvwxyz",Oy="0123456789",d5={DIGIT:Oy,ALPHA:qf,ALPHA_DIGIT:qf+qf.toUpperCase()+Oy},h_=(e=16,t=d5.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function m_(e){return!!(e&&yr(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const v_=e=>{const t=new Array(10),r=(n,i)=>{if(wd(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[i]=n;const a=bo(n)?[]:{};return Sl(n,(o,s)=>{const l=r(o,i+1);!al(l)&&(a[s]=l)}),t[i]=void 0,a}}return n};return r(e,0)},g_=on("AsyncFunction"),y_=e=>e&&(wd(e)||yr(e))&&yr(e.then)&&yr(e.catch),q={isArray:bo,isArrayBuffer:a5,isBuffer:VS,isFormData:GS,isArrayBufferView:HS,isString:US,isNumber:o5,isBoolean:BS,isObject:wd,isPlainObject:Hu,isUndefined:al,isDate:zS,isFile:KS,isBlob:qS,isRegExp:u_,isFunction:yr,isStream:WS,isURLSearchParams:QS,isTypedArray:i_,isFileList:ZS,forEach:Sl,merge:Pp,extend:JS,trim:YS,stripBOM:XS,inherits:e_,toFlatObject:t_,kindOf:yd,kindOfTest:on,endsWith:r_,toArray:n_,forEachEntry:a_,matchAll:o_,isHTMLForm:s_,hasOwnProperty:xy,hasOwnProp:xy,reduceDescriptors:c5,freezeMethods:c_,toObjectSet:d_,toCamelCase:l_,noop:f_,toFiniteNumber:p_,findKey:s5,global:l5,isContextDefined:u5,ALPHABET:d5,generateString:h_,isSpecCompliantForm:m_,toJSONObject:v_,isAsyncFn:g_,isThenable:y_};function Ce(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}q.inherits(Ce,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const f5=Ce.prototype,p5={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{p5[e]={value:e}});Object.defineProperties(Ce,p5);Object.defineProperty(f5,"isAxiosError",{value:!0});Ce.from=(e,t,r,n,i,a)=>{const o=Object.create(f5);return q.toFlatObject(e,o,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),Ce.call(o,e.message,t,r,n,i),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};const $_=null;function Tp(e){return q.isPlainObject(e)||q.isArray(e)}function h5(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function Py(e,t,r){return e?e.concat(t).map(function(i,a){return i=h5(i),!r&&a?"["+i+"]":i}).join(r?".":""):t}function w_(e){return q.isArray(e)&&!e.some(Tp)}const b_=q.toFlatObject(q,{},null,function(t){return/^is[A-Z]/.test(t)});function bd(e,t,r){if(!q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=q.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,$){return!q.isUndefined($[v])});const n=r.metaTokens,i=r.visitor||c,a=r.dots,o=r.indexes,l=(r.Blob||typeof Blob<"u"&&Blob)&&q.isSpecCompliantForm(t);if(!q.isFunction(i))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(q.isDate(m))return m.toISOString();if(!l&&q.isBlob(m))throw new Ce("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(m)||q.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function c(m,v,$){let h=m;if(m&&!$&&typeof m=="object"){if(q.endsWith(v,"{}"))v=n?v:v.slice(0,-2),m=JSON.stringify(m);else if(q.isArray(m)&&w_(m)||(q.isFileList(m)||q.endsWith(v,"[]"))&&(h=q.toArray(m)))return v=h5(v),h.forEach(function(y,b){!(q.isUndefined(y)||y===null)&&t.append(o===!0?Py([v],b,a):o===null?v:v+"[]",u(y))}),!1}return Tp(m)?!0:(t.append(Py($,v,a),u(m)),!1)}const d=[],p=Object.assign(b_,{defaultVisitor:c,convertValue:u,isVisitable:Tp});function f(m,v){if(!q.isUndefined(m)){if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+v.join("."));d.push(m),q.forEach(m,function(h,g){(!(q.isUndefined(h)||h===null)&&i.call(t,h,q.isString(g)?g.trim():g,v,p))===!0&&f(h,v?v.concat(g):[g])}),d.pop()}}if(!q.isObject(e))throw new TypeError("data must be an object");return f(e),t}function Ty(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Cm(e,t){this._pairs=[],e&&bd(e,this,t)}const m5=Cm.prototype;m5.append=function(t,r){this._pairs.push([t,r])};m5.toString=function(t){const r=t?function(n){return t.call(this,n,Ty)}:Ty;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function E_(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function v5(e,t,r){if(!t)return e;const n=r&&r.encode||E_,i=r&&r.serialize;let a;if(i?a=i(t,r):a=q.isURLSearchParams(t)?t.toString():new Cm(t,r).toString(n),a){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class Ay{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){q.forEach(this.handlers,function(n){n!==null&&t(n)})}}const g5={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},C_=typeof URLSearchParams<"u"?URLSearchParams:Cm,S_=typeof FormData<"u"?FormData:null,__=typeof Blob<"u"?Blob:null,x_=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),O_=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Qr={isBrowser:!0,classes:{URLSearchParams:C_,FormData:S_,Blob:__},isStandardBrowserEnv:x_,isStandardBrowserWebWorkerEnv:O_,protocols:["http","https","file","blob","url","data"]};function P_(e,t){return bd(e,new Qr.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,a){return Qr.isNode&&q.isBuffer(r)?(this.append(n,r.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function T_(e){return q.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function A_(e){const t={},r=Object.keys(e);let n;const i=r.length;let a;for(n=0;n=r.length;return o=!o&&q.isArray(i)?i.length:o,l?(q.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!s):((!i[o]||!q.isObject(i[o]))&&(i[o]=[]),t(r,n,i[o],a)&&q.isArray(i[o])&&(i[o]=A_(i[o])),!s)}if(q.isFormData(e)&&q.isFunction(e.entries)){const r={};return q.forEachEntry(e,(n,i)=>{t(T_(n),i,r,0)}),r}return null}const R_={"Content-Type":void 0};function j_(e,t,r){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const Eo={transitional:g5,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",i=n.indexOf("application/json")>-1,a=q.isObject(t);if(a&&q.isHTMLForm(t)&&(t=new FormData(t)),q.isFormData(t))return i&&i?JSON.stringify(y5(t)):t;if(q.isArrayBuffer(t)||q.isBuffer(t)||q.isStream(t)||q.isFile(t)||q.isBlob(t))return t;if(q.isArrayBufferView(t))return t.buffer;if(q.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return P_(t,this.formSerializer).toString();if((s=q.isFileList(t))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return bd(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return a||i?(r.setContentType("application/json",!1),j_(t)):t}],transformResponse:[function(t){const r=this.transitional||Eo.transitional,n=r&&r.forcedJSONParsing,i=this.responseType==="json";if(t&&q.isString(t)&&(n&&!this.responseType||i)){const o=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(o)throw s.name==="SyntaxError"?Ce.from(s,Ce.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Qr.classes.FormData,Blob:Qr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};q.forEach(["delete","get","head"],function(t){Eo.headers[t]={}});q.forEach(["post","put","patch"],function(t){Eo.headers[t]=q.merge(R_)});const I_=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),L_=e=>{const t={};let r,n,i;return e&&e.split(` `).forEach(function(o){i=o.indexOf(":"),r=o.substring(0,i).trim().toLowerCase(),n=o.substring(i+1).trim(),!(!r||t[r]&&I_[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},Ry=Symbol("internals");function is(e){return e&&String(e).trim().toLowerCase()}function Uu(e){return e===!1||e==null?e:q.isArray(e)?e.map(Uu):String(e)}function N_(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const M_=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Zf(e,t,r,n,i){if(q.isFunction(n))return n.call(this,t,r);if(i&&(t=r),!!q.isString(t)){if(q.isString(n))return t.indexOf(n)!==-1;if(q.isRegExp(n))return n.test(t)}}function k_(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function F_(e,t){const r=q.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(i,a,o){return this[n].call(this,t,i,a,o)},configurable:!0})})}class $r{constructor(t){t&&this.set(t)}set(t,r,n){const i=this;function a(s,l,u){const c=is(l);if(!c)throw new Error("header name must be a non-empty string");const d=q.findKey(i,c);(!d||i[d]===void 0||u===!0||u===void 0&&i[d]!==!1)&&(i[d||l]=Uu(s))}const o=(s,l)=>q.forEach(s,(u,c)=>a(u,c,l));return q.isPlainObject(t)||t instanceof this.constructor?o(t,r):q.isString(t)&&(t=t.trim())&&!M_(t)?o(L_(t),r):t!=null&&a(r,t,n),this}get(t,r){if(t=is(t),t){const n=q.findKey(this,t);if(n){const i=this[n];if(!r)return i;if(r===!0)return N_(i);if(q.isFunction(r))return r.call(this,i,n);if(q.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=is(t),t){const n=q.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Zf(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let i=!1;function a(o){if(o=is(o),o){const s=q.findKey(n,o);s&&(!r||Zf(n,n[s],s,r))&&(delete n[s],i=!0)}}return q.isArray(t)?t.forEach(a):a(t),i}clear(t){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const a=r[n];(!t||Zf(this,this[a],a,t,!0))&&(delete this[a],i=!0)}return i}normalize(t){const r=this,n={};return q.forEach(this,(i,a)=>{const o=q.findKey(n,a);if(o){r[o]=Uu(i),delete r[a];return}const s=t?k_(a):String(a).trim();s!==a&&delete r[a],r[s]=Uu(i),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return q.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=t&&q.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(i=>n.set(i)),n}static accessor(t){const n=(this[Ry]=this[Ry]={accessors:{}}).accessors,i=this.prototype;function a(o){const s=is(o);n[s]||(F_(i,o),n[s]=!0)}return q.isArray(t)?t.forEach(a):a(t),this}}$r.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);q.freezeMethods($r.prototype);q.freezeMethods($r);function Wf(e,t){const r=this||Eo,n=t||r,i=$r.from(n.headers);let a=n.data;return q.forEach(e,function(s){a=s.call(r,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function $5(e){return!!(e&&e.__CANCEL__)}function _l(e,t,r){Ce.call(this,e??"canceled",Ce.ERR_CANCELED,t,r),this.name="CanceledError"}q.inherits(_l,Ce,{__CANCEL__:!0});function D_(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Ce("Request failed with status code "+r.status,[Ce.ERR_BAD_REQUEST,Ce.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const V_=Qr.isStandardBrowserEnv?function(){return{write:function(r,n,i,a,o,s){const l=[];l.push(r+"="+encodeURIComponent(n)),q.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),q.isString(a)&&l.push("path="+a),q.isString(o)&&l.push("domain="+o),s===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(r){const n=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function H_(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function U_(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function w5(e,t){return e&&!H_(t)?U_(e,t):t}const B_=Qr.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function i(a){let o=a;return t&&(r.setAttribute("href",o),o=r.href),r.setAttribute("href",o),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=i(window.location.href),function(o){const s=q.isString(o)?i(o):o;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}();function z_(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function K_(e,t){e=e||10;const r=new Array(e),n=new Array(e);let i=0,a=0,o;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=n[a];o||(o=u),r[i]=l,n[i]=u;let d=a,p=0;for(;d!==i;)p+=r[d++],d=d%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-o{const a=i.loaded,o=i.lengthComputable?i.total:void 0,s=a-r,l=n(s),u=a<=o;r=a;const c={loaded:a,total:o,progress:o?a/o:void 0,bytes:s,rate:l||void 0,estimated:l&&o&&u?(o-a)/l:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const q_=typeof XMLHttpRequest<"u",Z_=q_&&function(e){return new Promise(function(r,n){let i=e.data;const a=$r.from(e.headers).normalize(),o=e.responseType;let s;function l(){e.cancelToken&&e.cancelToken.unsubscribe(s),e.signal&&e.signal.removeEventListener("abort",s)}q.isFormData(i)&&(Qr.isStandardBrowserEnv||Qr.isStandardBrowserWebWorkerEnv?a.setContentType(!1):a.setContentType("multipart/form-data;",!1));let u=new XMLHttpRequest;if(e.auth){const f=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(f+":"+m))}const c=w5(e.baseURL,e.url);u.open(e.method.toUpperCase(),v5(c,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function d(){if(!u)return;const f=$r.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),v={data:!o||o==="text"||o==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:f,config:e,request:u};D_(function(h){r(h),l()},function(h){n(h),l()},v),u=null}if("onloadend"in u?u.onloadend=d:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(d)},u.onabort=function(){u&&(n(new Ce("Request aborted",Ce.ECONNABORTED,e,u)),u=null)},u.onerror=function(){n(new Ce("Network Error",Ce.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const v=e.transitional||g5;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),n(new Ce(m,v.clarifyTimeoutError?Ce.ETIMEDOUT:Ce.ECONNABORTED,e,u)),u=null},Qr.isStandardBrowserEnv){const f=(e.withCredentials||B_(c))&&e.xsrfCookieName&&V_.read(e.xsrfCookieName);f&&a.set(e.xsrfHeaderName,f)}i===void 0&&a.setContentType(null),"setRequestHeader"in u&&q.forEach(a.toJSON(),function(m,v){u.setRequestHeader(v,m)}),q.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),o&&o!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",jy(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",jy(e.onUploadProgress)),(e.cancelToken||e.signal)&&(s=f=>{u&&(n(!f||f.type?new _l(null,e,u):f),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(s),e.signal&&(e.signal.aborted?s():e.signal.addEventListener("abort",s)));const p=z_(c);if(p&&Qr.protocols.indexOf(p)===-1){n(new Ce("Unsupported protocol "+p+":",Ce.ERR_BAD_REQUEST,e));return}u.send(i||null)})},Bu={http:$_,xhr:Z_};q.forEach(Bu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const W_={getAdapter:e=>{e=q.isArray(e)?e:[e];const{length:t}=e;let r,n;for(let i=0;ie instanceof $r?e.toJSON():e;function lo(e,t){t=t||{};const r={};function n(u,c,d){return q.isPlainObject(u)&&q.isPlainObject(c)?q.merge.call({caseless:d},u,c):q.isPlainObject(c)?q.merge({},c):q.isArray(c)?c.slice():c}function i(u,c,d){if(q.isUndefined(c)){if(!q.isUndefined(u))return n(void 0,u,d)}else return n(u,c,d)}function a(u,c){if(!q.isUndefined(c))return n(void 0,c)}function o(u,c){if(q.isUndefined(c)){if(!q.isUndefined(u))return n(void 0,u)}else return n(void 0,c)}function s(u,c,d){if(d in t)return n(u,c);if(d in e)return n(void 0,u)}const l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(u,c)=>i(Ly(u),Ly(c),!0)};return q.forEach(Object.keys(Object.assign({},e,t)),function(c){const d=l[c]||i,p=d(e[c],t[c],c);q.isUndefined(p)&&d!==s||(r[c]=p)}),r}const b5="1.4.0",Sm={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Sm[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Ny={};Sm.transitional=function(t,r,n){function i(a,o){return"[Axios v"+b5+"] Transitional option '"+a+"'"+o+(n?". "+n:"")}return(a,o,s)=>{if(t===!1)throw new Ce(i(o," has been removed"+(r?" in "+r:"")),Ce.ERR_DEPRECATED);return r&&!Ny[o]&&(Ny[o]=!0,console.warn(i(o," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,o,s):!0}};function G_(e,t,r){if(typeof e!="object")throw new Ce("options must be an object",Ce.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const a=n[i],o=t[a];if(o){const s=e[a],l=s===void 0||o(s,a,e);if(l!==!0)throw new Ce("option "+a+" must be "+l,Ce.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ce("Unknown option "+a,Ce.ERR_BAD_OPTION)}}const Ap={assertOptions:G_,validators:Sm},qn=Ap.validators;class Wi{constructor(t){this.defaults=t,this.interceptors={request:new Ay,response:new Ay}}request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=lo(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:a}=r;n!==void 0&&Ap.assertOptions(n,{silentJSONParsing:qn.transitional(qn.boolean),forcedJSONParsing:qn.transitional(qn.boolean),clarifyTimeoutError:qn.transitional(qn.boolean)},!1),i!=null&&(q.isFunction(i)?r.paramsSerializer={serialize:i}:Ap.assertOptions(i,{encode:qn.function,serialize:qn.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o;o=a&&q.merge(a.common,a[r.method]),o&&q.forEach(["delete","get","head","post","put","patch","common"],m=>{delete a[m]}),r.headers=$r.concat(o,a);const s=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(r)===!1||(l=l&&v.synchronous,s.unshift(v.fulfilled,v.rejected))});const u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let c,d=0,p;if(!l){const m=[Iy.bind(this),void 0];for(m.unshift.apply(m,s),m.push.apply(m,u),p=m.length,c=Promise.resolve(r);d{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](i);n._listeners=null}),this.promise.then=i=>{let a;const o=new Promise(s=>{n.subscribe(s),a=s}).then(i);return o.cancel=function(){n.unsubscribe(a)},o},t(function(a,o,s){n.reason||(n.reason=new _l(a,o,s),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new _m(function(i){t=i}),cancel:t}}}function Q_(e){return function(r){return e.apply(null,r)}}function Y_(e){return q.isObject(e)&&e.isAxiosError===!0}const Rp={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Rp).forEach(([e,t])=>{Rp[t]=e});function E5(e){const t=new Wi(e),r=i5(Wi.prototype.request,t);return q.extend(r,Wi.prototype,t,{allOwnKeys:!0}),q.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return E5(lo(e,i))},r}const Xe=E5(Eo);Xe.Axios=Wi;Xe.CanceledError=_l;Xe.CancelToken=_m;Xe.isCancel=$5;Xe.VERSION=b5;Xe.toFormData=bd;Xe.AxiosError=Ce;Xe.Cancel=Xe.CanceledError;Xe.all=function(t){return Promise.all(t)};Xe.spread=Q_;Xe.isAxiosError=Y_;Xe.mergeConfig=lo;Xe.AxiosHeaders=$r;Xe.formToJSON=e=>y5(q.isHTMLForm(e)?new FormData(e):e);Xe.HttpStatusCode=Rp;Xe.default=Xe;Xe.defaults.headers.common.Accept="application/json";const J_=async()=>await(await Xe.get("/@sites")).data,X_=()=>({queryKey:["distributions"],queryFn:async()=>J_()}),ex=async e=>await(await Xe.get(`/@sites/${e}`)).data,tx=e=>({queryKey:["distribution",e],queryFn:async()=>ex(e),select:t=>{const{timeZone:r}=Intl.DateTimeFormat().resolvedOptions();return{...t,schema:{...t.schema,definitions:{...t.schema.definitions,timezones:{...t.schema.definitions.timezones,default:r}},properties:{...t.schema.properties,site_id:{...t.schema.properties.site_id,default:t.default_values.site_id},default_language:{...t.schema.properties.default_language,default:t.default_values.default_language}}}}}}),rx=async e=>await(await Xe.post("/@sites/",e)).data,xm=typeof document<"u"?C.useLayoutEffect:()=>{};function Pa(e){const t=j.useRef(null);return xm(()=>{t.current=e},[e]),j.useCallback((...r)=>{const n=t.current;return n==null?void 0:n(...r)},[])}const Pc={prefix:String(Math.round(Math.random()*1e10)),current:0},C5=C.createContext(Pc),nx=C.createContext(!1);let ix=!!(typeof window<"u"&&window.document&&window.document.createElement),Qf=new WeakMap;function ax(e=!1){let t=j.useContext(C5),r=j.useRef(null);if(r.current===null&&!e){var n,i;let a=(i=C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(n=i.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(a){let o=Qf.get(a);o==null?Qf.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==o.state&&(t.current=o.id,Qf.delete(a))}r.current=++t.current}return r.current}function ox(e){let t=j.useContext(C5);t===Pc&&!ix&&console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server.");let r=ax(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`}function sx(e){let t=C.useId(),[r]=j.useState(S5()),n=r?"react-aria":`react-aria${Pc.prefix}`;return e||`${n}-${t}`}C.useId;function lx(){return!1}function ux(){return!0}function cx(e){return()=>{}}function S5(){return typeof C.useSyncExternalStore=="function"?C.useSyncExternalStore(cx,lx,ux):j.useContext(nx)}let My=new Map;function dx(e,t){if(e===t)return e;let r=My.get(e);if(r)return r(t),t;let n=My.get(t);return n?(n(e),e):t}function _5(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}const qt=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},Yr=e=>e&&"window"in e&&e.window===e?e:qt(e).defaultView||window;function x5(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t=65&&i.charCodeAt(2)<=90?t[i]=_5(a,o):(i==="className"||i==="UNSAFE_className")&&typeof a=="string"&&typeof o=="string"?t[i]=O5(a,o):i==="id"&&a&&o?t.id=dx(a,o):t[i]=o!==void 0?o:a}}return t}function fx(...e){return e.length===1?e[0]:t=>{for(let r of e)typeof r=="function"?r(t):r!=null&&(r.current=t)}}const px=new Set(["id"]),hx=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),mx=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),vx=/^(data-.*)$/;function Om(e,t={}){let{labelable:r,isLink:n,propNames:i}=t,a={};for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&(px.has(o)||r&&hx.has(o)||n&&mx.has(o)||i!=null&&i.has(o)||vx.test(o))&&(a[o]=e[o]);return a}function Ki(e){if(gx())e.focus({preventScroll:!0});else{let t=yx(e);e.focus(),$x(t)}}let fu=null;function gx(){if(fu==null){fu=!1;try{document.createElement("div").focus({get preventScroll(){return fu=!0,!0}})}catch{}}return fu}function yx(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(r=>e.test(r.brand)))||e.test(window.navigator.userAgent)}function Pm(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function ol(){return Pm(/^Mac/i)}function wx(){return Pm(/^iPhone/i)}function P5(){return Pm(/^iPad/i)||ol()&&navigator.maxTouchPoints>1}function T5(){return wx()||P5()}function bx(){return Ed(/AppleWebKit/i)&&!Ex()}function Ex(){return Ed(/Chrome/i)}function A5(){return Ed(/Android/i)}function Cx(){return Ed(/Firefox/i)}function sl(e,t,r=!0){var n,i;let{metaKey:a,ctrlKey:o,altKey:s,shiftKey:l}=t;Cx()&&(!((i=window.event)===null||i===void 0||(n=i.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(ol()?a=!0:o=!0);let u=bx()&&ol()&&!P5()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:o,altKey:s,shiftKey:l}):new MouseEvent("click",{metaKey:a,ctrlKey:o,altKey:s,shiftKey:l,bubbles:!0,cancelable:!0});sl.isOpening=r,Ki(e),e.dispatchEvent(u),sl.isOpening=!1}sl.isOpening=!1;let Ta=new Map,jp=new Set;function ky(){if(typeof window>"u")return;function e(n){return"propertyName"in n}let t=n=>{if(!e(n)||!n.target)return;let i=Ta.get(n.target);i||(i=new Set,Ta.set(n.target,i),n.target.addEventListener("transitioncancel",r,{once:!0})),i.add(n.propertyName)},r=n=>{if(!e(n)||!n.target)return;let i=Ta.get(n.target);if(i&&(i.delete(n.propertyName),i.size===0&&(n.target.removeEventListener("transitioncancel",r),Ta.delete(n.target)),Ta.size===0)){for(let a of jp)a();jp.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",r)}typeof document<"u"&&(document.readyState!=="loading"?ky():document.addEventListener("DOMContentLoaded",ky));function R5(e){requestAnimationFrame(()=>{Ta.size===0?e():jp.add(e)})}function Sx(){let e=j.useRef(new Map),t=j.useCallback((i,a,o,s)=>{let l=s!=null&&s.once?(...u)=>{e.current.delete(o),o(...u)}:o;e.current.set(o,{type:a,eventTarget:i,fn:l,options:s}),i.addEventListener(a,o,s)},[]),r=j.useCallback((i,a,o,s)=>{var l;let u=((l=e.current.get(o))===null||l===void 0?void 0:l.fn)||o;i.removeEventListener(a,u,s),e.current.delete(o)},[]),n=j.useCallback(()=>{e.current.forEach((i,a)=>{r(i.eventTarget,i.type,a,i.options)})},[r]);return j.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function _x(e){const t=j.useRef(null);return j.useMemo(()=>({get current(){return t.current},set current(r){t.current=r,typeof e=="function"?e(r):e&&(e.current=r)}}),[e])}function j5(e,t){xm(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function Ip(e){return e.mozInputSource===0&&e.isTrusted?!0:A5()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function xx(e){return!A5()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}let Ba="default",Lp="",zu=new WeakMap;function Fy(e){if(T5()){if(Ba==="default"){const t=qt(e);Lp=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Ba="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(zu.set(e,e.style.userSelect),e.style.userSelect="none")}function pu(e){if(T5()){if(Ba!=="disabled")return;Ba="restoring",setTimeout(()=>{R5(()=>{if(Ba==="restoring"){const t=qt(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Lp||""),Lp="",Ba="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&zu.has(e)){let t=zu.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),zu.delete(e)}}const I5=C.createContext({register:()=>{}});I5.displayName="PressResponderContext";function Ox(e,t){return t.get?t.get.call(e):t.value}function L5(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function Px(e,t){var r=L5(e,t,"get");return Ox(e,r)}function Tx(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ax(e,t,r){Tx(e,t),t.set(e,r)}function Rx(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}function Dy(e,t,r){var n=L5(e,t,"set");return Rx(e,n,r),r}function jx(e){let t=j.useContext(I5);if(t){let{register:r,...n}=t;e=an(n,e),r()}return j5(t,e.ref),e}var hu=new WeakMap;class mu{continuePropagation(){Dy(this,hu,!1)}get shouldStopPropagation(){return Px(this,hu)}constructor(t,r,n){Ax(this,hu,{writable:!0,value:void 0}),Dy(this,hu,!0),this.type=t,this.pointerType=r,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey}}const Vy=Symbol("linkClicked");function Ix(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:i,onPressUp:a,isDisabled:o,isPressed:s,preventFocusOnPress:l,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:c,ref:d,...p}=jx(e),[f,m]=j.useState(!1),v=j.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:$,removeAllGlobalListeners:h}=Sx(),g=Pa((w,T)=>{let F=v.current;if(o||F.didFirePressStart)return!1;let N=!0;if(F.isTriggeringEvent=!0,n){let K=new mu("pressstart",T,w);n(K),N=K.shouldStopPropagation}return r&&r(!0),F.isTriggeringEvent=!1,F.didFirePressStart=!0,m(!0),N}),y=Pa((w,T,F=!0)=>{let N=v.current;if(!N.didFirePressStart)return!1;N.ignoreClickAfterPress=!0,N.didFirePressStart=!1,N.isTriggeringEvent=!0;let K=!0;if(i){let D=new mu("pressend",T,w);i(D),K=D.shouldStopPropagation}if(r&&r(!1),m(!1),t&&F&&!o){let D=new mu("press",T,w);t(D),K&&(K=D.shouldStopPropagation)}return N.isTriggeringEvent=!1,K}),b=Pa((w,T)=>{let F=v.current;if(o)return!1;if(a){F.isTriggeringEvent=!0;let N=new mu("pressup",T,w);return a(N),F.isTriggeringEvent=!1,N.shouldStopPropagation}return!0}),O=Pa(w=>{let T=v.current;T.isPressed&&T.target&&(T.isOverTarget&&T.pointerType!=null&&y(mn(T.target,w),T.pointerType,!1),T.isPressed=!1,T.isOverTarget=!1,T.activePointerId=null,T.pointerType=null,h(),c||pu(T.target))}),S=Pa(w=>{u&&O(w)}),_=j.useMemo(()=>{let w=v.current,T={onKeyDown(N){if(Yf(N.nativeEvent,N.currentTarget)&&N.currentTarget.contains(N.target)){var K;Uy(N.target,N.key)&&N.preventDefault();let D=!0;if(!w.isPressed&&!N.repeat){w.target=N.currentTarget,w.isPressed=!0,D=g(N,"keyboard");let U=N.currentTarget,te=ae=>{Yf(ae,U)&&!ae.repeat&&U.contains(ae.target)&&w.target&&b(mn(w.target,ae),"keyboard")};$(qt(N.currentTarget),"keyup",_5(te,F),!0)}D&&N.stopPropagation(),N.metaKey&&ol()&&((K=w.metaKeyEvents)===null||K===void 0||K.set(N.key,N.nativeEvent))}else N.key==="Meta"&&(w.metaKeyEvents=new Map)},onClick(N){if(!(N&&!N.currentTarget.contains(N.target))&&N&&N.button===0&&!w.isTriggeringEvent&&!sl.isOpening){let K=!0;if(o&&N.preventDefault(),!w.ignoreClickAfterPress&&!w.ignoreEmulatedMouseEvents&&!w.isPressed&&(w.pointerType==="virtual"||Ip(N.nativeEvent))){!o&&!l&&Ki(N.currentTarget);let D=g(N,"virtual"),U=b(N,"virtual"),te=y(N,"virtual");K=D&&U&&te}w.ignoreEmulatedMouseEvents=!1,w.ignoreClickAfterPress=!1,K&&N.stopPropagation()}}},F=N=>{var K;if(w.isPressed&&w.target&&Yf(N,w.target)){var D;Uy(N.target,N.key)&&N.preventDefault();let te=N.target;y(mn(w.target,N),"keyboard",w.target.contains(te)),h(),N.key!=="Enter"&&Tm(w.target)&&w.target.contains(te)&&!N[Vy]&&(N[Vy]=!0,sl(w.target,N,!1)),w.isPressed=!1,(D=w.metaKeyEvents)===null||D===void 0||D.delete(N.key)}else if(N.key==="Meta"&&(!((K=w.metaKeyEvents)===null||K===void 0)&&K.size)){var U;let te=w.metaKeyEvents;w.metaKeyEvents=void 0;for(let ae of te.values())(U=w.target)===null||U===void 0||U.dispatchEvent(new KeyboardEvent("keyup",ae))}};if(typeof PointerEvent<"u"){T.onPointerDown=U=>{if(U.button!==0||!U.currentTarget.contains(U.target))return;if(xx(U.nativeEvent)){w.pointerType="virtual";return}Jf(U.currentTarget)&&U.preventDefault(),w.pointerType=U.pointerType;let te=!0;w.isPressed||(w.isPressed=!0,w.isOverTarget=!0,w.activePointerId=U.pointerId,w.target=U.currentTarget,!o&&!l&&Ki(U.currentTarget),c||Fy(w.target),te=g(U,w.pointerType),$(qt(U.currentTarget),"pointermove",N,!1),$(qt(U.currentTarget),"pointerup",K,!1),$(qt(U.currentTarget),"pointercancel",D,!1)),te&&U.stopPropagation()},T.onMouseDown=U=>{U.currentTarget.contains(U.target)&&U.button===0&&(Jf(U.currentTarget)&&U.preventDefault(),U.stopPropagation())},T.onPointerUp=U=>{!U.currentTarget.contains(U.target)||w.pointerType==="virtual"||U.button===0&&Ea(U,U.currentTarget)&&b(U,w.pointerType||U.pointerType)};let N=U=>{U.pointerId===w.activePointerId&&(w.target&&Ea(U,w.target)?!w.isOverTarget&&w.pointerType!=null&&(w.isOverTarget=!0,g(mn(w.target,U),w.pointerType)):w.target&&w.isOverTarget&&w.pointerType!=null&&(w.isOverTarget=!1,y(mn(w.target,U),w.pointerType,!1),S(U)))},K=U=>{U.pointerId===w.activePointerId&&w.isPressed&&U.button===0&&w.target&&(Ea(U,w.target)&&w.pointerType!=null?y(mn(w.target,U),w.pointerType):w.isOverTarget&&w.pointerType!=null&&y(mn(w.target,U),w.pointerType,!1),w.isPressed=!1,w.isOverTarget=!1,w.activePointerId=null,w.pointerType=null,h(),c||pu(w.target))},D=U=>{O(U)};T.onDragStart=U=>{U.currentTarget.contains(U.target)&&O(U)}}else{T.onMouseDown=D=>{if(D.button!==0||!D.currentTarget.contains(D.target))return;if(Jf(D.currentTarget)&&D.preventDefault(),w.ignoreEmulatedMouseEvents){D.stopPropagation();return}w.isPressed=!0,w.isOverTarget=!0,w.target=D.currentTarget,w.pointerType=Ip(D.nativeEvent)?"virtual":"mouse",!o&&!l&&Ki(D.currentTarget),g(D,w.pointerType)&&D.stopPropagation(),$(qt(D.currentTarget),"mouseup",N,!1)},T.onMouseEnter=D=>{if(!D.currentTarget.contains(D.target))return;let U=!0;w.isPressed&&!w.ignoreEmulatedMouseEvents&&w.pointerType!=null&&(w.isOverTarget=!0,U=g(D,w.pointerType)),U&&D.stopPropagation()},T.onMouseLeave=D=>{if(!D.currentTarget.contains(D.target))return;let U=!0;w.isPressed&&!w.ignoreEmulatedMouseEvents&&w.pointerType!=null&&(w.isOverTarget=!1,U=y(D,w.pointerType,!1),S(D)),U&&D.stopPropagation()},T.onMouseUp=D=>{D.currentTarget.contains(D.target)&&!w.ignoreEmulatedMouseEvents&&D.button===0&&b(D,w.pointerType||"mouse")};let N=D=>{if(D.button===0){if(w.isPressed=!1,h(),w.ignoreEmulatedMouseEvents){w.ignoreEmulatedMouseEvents=!1;return}w.target&&Ea(D,w.target)&&w.pointerType!=null?y(mn(w.target,D),w.pointerType):w.target&&w.isOverTarget&&w.pointerType!=null&&y(mn(w.target,D),w.pointerType,!1),w.isOverTarget=!1}};T.onTouchStart=D=>{if(!D.currentTarget.contains(D.target))return;let U=Lx(D.nativeEvent);if(!U)return;w.activePointerId=U.identifier,w.ignoreEmulatedMouseEvents=!0,w.isOverTarget=!0,w.isPressed=!0,w.target=D.currentTarget,w.pointerType="touch",!o&&!l&&Ki(D.currentTarget),c||Fy(w.target),g(D,w.pointerType)&&D.stopPropagation(),$(Yr(D.currentTarget),"scroll",K,!0)},T.onTouchMove=D=>{if(!D.currentTarget.contains(D.target))return;if(!w.isPressed){D.stopPropagation();return}let U=Hy(D.nativeEvent,w.activePointerId),te=!0;U&&Ea(U,D.currentTarget)?!w.isOverTarget&&w.pointerType!=null&&(w.isOverTarget=!0,te=g(D,w.pointerType)):w.isOverTarget&&w.pointerType!=null&&(w.isOverTarget=!1,te=y(D,w.pointerType,!1),S(D)),te&&D.stopPropagation()},T.onTouchEnd=D=>{if(!D.currentTarget.contains(D.target))return;if(!w.isPressed){D.stopPropagation();return}let U=Hy(D.nativeEvent,w.activePointerId),te=!0;U&&Ea(U,D.currentTarget)&&w.pointerType!=null?(b(D,w.pointerType),te=y(D,w.pointerType)):w.isOverTarget&&w.pointerType!=null&&(te=y(D,w.pointerType,!1)),te&&D.stopPropagation(),w.isPressed=!1,w.activePointerId=null,w.isOverTarget=!1,w.ignoreEmulatedMouseEvents=!0,w.target&&!c&&pu(w.target),h()},T.onTouchCancel=D=>{D.currentTarget.contains(D.target)&&(D.stopPropagation(),w.isPressed&&O(D))};let K=D=>{w.isPressed&&D.target.contains(w.target)&&O({currentTarget:w.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};T.onDragStart=D=>{D.currentTarget.contains(D.target)&&O(D)}}return T},[$,o,l,h,c,O,S,y,g,b]);return j.useEffect(()=>()=>{var w;c||pu((w=v.current.target)!==null&&w!==void 0?w:void 0)},[c]),{isPressed:s||f,pressProps:an(p,_)}}function Tm(e){return e.tagName==="A"&&e.hasAttribute("href")}function Yf(e,t){const{key:r,code:n}=e,i=t,a=i.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(i instanceof Yr(i).HTMLInputElement&&!N5(i,r)||i instanceof Yr(i).HTMLTextAreaElement||i.isContentEditable)&&!((a==="link"||!a&&Tm(i))&&r!=="Enter")}function Lx(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Hy(e,t){const r=e.changedTouches;for(let n=0;nt.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Ea(e,t){let r=t.getBoundingClientRect(),n=Nx(e);return Mx(r,n)}function Jf(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function Uy(e,t){return e instanceof HTMLInputElement?!N5(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Tm(e)}const kx=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function N5(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":kx.has(e.type)}class Fx{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,r){this.nativeEvent=r,this.target=r.target,this.currentTarget=r.currentTarget,this.relatedTarget=r.relatedTarget,this.bubbles=r.bubbles,this.cancelable=r.cancelable,this.defaultPrevented=r.defaultPrevented,this.eventPhase=r.eventPhase,this.isTrusted=r.isTrusted,this.timeStamp=r.timeStamp,this.type=t}}function M5(e){let t=j.useRef({isFocused:!1,observer:null});xm(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=Pa(n=>{e==null||e(n)});return j.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let i=n.target,a=o=>{t.current.isFocused=!1,i.disabled&&r(new Fx("blur",o)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};i.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&i.disabled){var o;(o=t.current.observer)===null||o===void 0||o.disconnect();let s=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:s})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:s}))}}),t.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[r])}function k5(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:i}=e;const a=j.useCallback(l=>{if(l.target===l.currentTarget)return n&&n(l),i&&i(!1),!0},[n,i]),o=M5(a),s=j.useCallback(l=>{const u=qt(l.target);l.target===l.currentTarget&&u.activeElement===l.target&&(r&&r(l),i&&i(!0),o(l))},[i,r,o]);return{focusProps:{onFocus:!t&&(r||i||n)?s:void 0,onBlur:!t&&(n||i)?a:void 0}}}let Co=null,Np=new Set,Rs=new Map,ta=!1,Mp=!1;const Dx={Tab:!0,Escape:!0};function Am(e,t){for(let r of Np)r(e,t)}function Vx(e){return!(e.metaKey||!ol()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Tc(e){ta=!0,Vx(e)&&(Co="keyboard",Am("keyboard",e))}function fr(e){Co="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(ta=!0,Am("pointer",e))}function F5(e){Ip(e)&&(ta=!0,Co="virtual")}function D5(e){e.target===window||e.target===document||(!ta&&!Mp&&(Co="virtual",Am("virtual",e)),ta=!1,Mp=!1)}function V5(){ta=!1,Mp=!0}function kp(e){if(typeof window>"u"||Rs.get(Yr(e)))return;const t=Yr(e),r=qt(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){ta=!0,n.apply(this,arguments)},r.addEventListener("keydown",Tc,!0),r.addEventListener("keyup",Tc,!0),r.addEventListener("click",F5,!0),t.addEventListener("focus",D5,!0),t.addEventListener("blur",V5,!1),typeof PointerEvent<"u"?(r.addEventListener("pointerdown",fr,!0),r.addEventListener("pointermove",fr,!0),r.addEventListener("pointerup",fr,!0)):(r.addEventListener("mousedown",fr,!0),r.addEventListener("mousemove",fr,!0),r.addEventListener("mouseup",fr,!0)),t.addEventListener("beforeunload",()=>{H5(e)},{once:!0}),Rs.set(t,{focus:n})}const H5=(e,t)=>{const r=Yr(e),n=qt(e);t&&n.removeEventListener("DOMContentLoaded",t),Rs.has(r)&&(r.HTMLElement.prototype.focus=Rs.get(r).focus,n.removeEventListener("keydown",Tc,!0),n.removeEventListener("keyup",Tc,!0),n.removeEventListener("click",F5,!0),r.removeEventListener("focus",D5,!0),r.removeEventListener("blur",V5,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",fr,!0),n.removeEventListener("pointermove",fr,!0),n.removeEventListener("pointerup",fr,!0)):(n.removeEventListener("mousedown",fr,!0),n.removeEventListener("mousemove",fr,!0),n.removeEventListener("mouseup",fr,!0)),Rs.delete(r))};function Hx(e){const t=qt(e);let r;return t.readyState!=="loading"?kp(e):(r=()=>{kp(e)},t.addEventListener("DOMContentLoaded",r)),()=>H5(e,r)}typeof document<"u"&&Hx();function U5(){return Co!=="pointer"}function Ux(){return Co}const Bx=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function zx(e,t,r){var n;const i=typeof window<"u"?Yr(r==null?void 0:r.target).HTMLInputElement:HTMLInputElement,a=typeof window<"u"?Yr(r==null?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,o=typeof window<"u"?Yr(r==null?void 0:r.target).HTMLElement:HTMLElement,s=typeof window<"u"?Yr(r==null?void 0:r.target).KeyboardEvent:KeyboardEvent;return e=e||(r==null?void 0:r.target)instanceof i&&!Bx.has(r==null||(n=r.target)===null||n===void 0?void 0:n.type)||(r==null?void 0:r.target)instanceof a||(r==null?void 0:r.target)instanceof o&&(r==null?void 0:r.target.isContentEditable),!(e&&t==="keyboard"&&r instanceof s&&!Dx[r.key])}function Kx(e,t,r){kp(),j.useEffect(()=>{let n=(i,a)=>{zx(!!(r!=null&&r.isTextInput),i,a)&&e(U5())};return Np.add(n),()=>{Np.delete(n)}},t)}function qx(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:i}=e,a=j.useRef({isFocusWithin:!1}),o=j.useCallback(u=>{a.current.isFocusWithin&&!u.currentTarget.contains(u.relatedTarget)&&(a.current.isFocusWithin=!1,r&&r(u),i&&i(!1))},[r,i,a]),s=M5(o),l=j.useCallback(u=>{!a.current.isFocusWithin&&document.activeElement===u.target&&(n&&n(u),i&&i(!0),a.current.isFocusWithin=!0,s(u))},[n,i,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:o}}}let Ac=!1,Xf=0;function Fp(){Ac=!0,setTimeout(()=>{Ac=!1},50)}function By(e){e.pointerType==="touch"&&Fp()}function Zx(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",By):document.addEventListener("touchend",Fp),Xf++,()=>{Xf--,!(Xf>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",By):document.removeEventListener("touchend",Fp))}}function Wx(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:i}=e,[a,o]=j.useState(!1),s=j.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;j.useEffect(Zx,[]);let{hoverProps:l,triggerHoverEnd:u}=j.useMemo(()=>{let c=(f,m)=>{if(s.pointerType=m,i||m==="touch"||s.isHovered||!f.currentTarget.contains(f.target))return;s.isHovered=!0;let v=f.currentTarget;s.target=v,t&&t({type:"hoverstart",target:v,pointerType:m}),r&&r(!0),o(!0)},d=(f,m)=>{if(s.pointerType="",s.target=null,m==="touch"||!s.isHovered)return;s.isHovered=!1;let v=f.currentTarget;n&&n({type:"hoverend",target:v,pointerType:m}),r&&r(!1),o(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=f=>{Ac&&f.pointerType==="mouse"||c(f,f.pointerType)},p.onPointerLeave=f=>{!i&&f.currentTarget.contains(f.target)&&d(f,f.pointerType)}):(p.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=f=>{!s.ignoreEmulatedMouseEvents&&!Ac&&c(f,"mouse"),s.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=f=>{!i&&f.currentTarget.contains(f.target)&&d(f,"mouse")}),{hoverProps:p,triggerHoverEnd:d}},[t,r,n,i,s]);return j.useEffect(()=>{i&&u({currentTarget:s.target},s.pointerType)},[i]),{hoverProps:l,isHovered:a}}function zy(e){if(!e)return;let t=!0;return r=>{let n={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(n),t&&r.stopPropagation()}}function Gx(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:zy(e.onKeyDown),onKeyUp:zy(e.onKeyUp)}}}function Qx(e){const t=qt(e);if(Ux()==="virtual"){let r=t.activeElement;R5(()=>{t.activeElement===r&&e.isConnected&&Ki(e)})}else Ki(e)}function Yx(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,i=j.useRef({isFocused:!1,isFocusVisible:t||U5()}),[a,o]=j.useState(!1),[s,l]=j.useState(()=>i.current.isFocused&&i.current.isFocusVisible),u=j.useCallback(()=>l(i.current.isFocused&&i.current.isFocusVisible),[]),c=j.useCallback(f=>{i.current.isFocused=f,o(f),u()},[u]);Kx(f=>{i.current.isFocusVisible=f,u()},[],{isTextInput:r});let{focusProps:d}=k5({isDisabled:n,onFocusChange:c}),{focusWithinProps:p}=qx({isDisabled:!n,onFocusWithinChange:c});return{isFocused:a,isFocusVisible:s,focusProps:n?p:d}}let Jx=C.createContext(null);function Xx(e){let t=j.useContext(Jx)||{};j5(t,e);let{ref:r,...n}=t;return n}function eO(e,t){let{focusProps:r}=k5(e),{keyboardProps:n}=Gx(e),i=an(r,n),a=Xx(t),o=e.isDisabled?{}:a,s=j.useRef(e.autoFocus);return j.useEffect(()=>{s.current&&t.current&&Qx(t.current),s.current=!1},[t]),{focusableProps:an({...i,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},o)}}const tO=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),rO=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function nO(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),n=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(n)return n.direction==="rtl";if(r.script)return tO.has(r.script)}let t=e.split("-")[0];return rO.has(t)}const iO=Symbol.for("react-aria.i18n.locale");function B5(){let e=typeof window<"u"&&window[iO]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:nO(e)?"rtl":"ltr"}}let Dp=B5(),ys=new Set;function Ky(){Dp=B5();for(let e of ys)e(Dp)}function aO(){let e=S5(),[t,r]=j.useState(Dp);return j.useEffect(()=>(ys.size===0&&window.addEventListener("languagechange",Ky),ys.add(r),()=>{ys.delete(r),ys.size===0&&window.removeEventListener("languagechange",Ky)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const oO=C.createContext(null);function sO(){let e=aO();return j.useContext(oO)||e}function lO(e,t){let{elementType:r="button",isDisabled:n,onPress:i,onPressStart:a,onPressEnd:o,onPressUp:s,onPressChange:l,preventFocusOnPress:u,allowFocusWhenDisabled:c,onClick:d,href:p,target:f,rel:m,type:v="button"}=e,$;r==="button"?$={type:v,disabled:n}:$={role:"button",tabIndex:n?void 0:0,href:r==="a"&&n?void 0:p,target:r==="a"?f:void 0,type:r==="input"?v:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?m:void 0};let{pressProps:h,isPressed:g}=Ix({onPressStart:a,onPressEnd:o,onPressChange:l,onPress:i,onPressUp:s,isDisabled:n,preventFocusOnPress:u,ref:t}),{focusableProps:y}=eO(e,t);c&&(y.tabIndex=n?-1:y.tabIndex);let b=an(y,h,Om(e,{labelable:!0}));return{isPressed:g,buttonProps:an($,b,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:O=>{d&&(d(O),console.warn("onClick is deprecated, please use onPress"))}})}}const qy=Symbol("default");function uO(e){let{className:t,style:r,children:n,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:s}=e;return j.useMemo(()=>{let l,u,c;return typeof t=="function"?l=t({...s,defaultClassName:i}):l=t,typeof r=="function"?u=r({...s,defaultStyle:o||{}}):u=r,typeof n=="function"?c=n({...s,defaultChildren:a}):n==null?c=a:c=n,{className:l??i,style:u||o?{...o,...u}:void 0,children:c??a,"data-rac":""}},[t,r,n,i,a,o,s])}function cO(e,t){let r=j.useContext(e);if(t===null)return null;if(r&&typeof r=="object"&&"slots"in r&&r.slots){let n=new Intl.ListFormat().format(Object.keys(r.slots).map(a=>`"${a}"`));if(!t&&!r.slots[qy])throw new Error(`A slot prop is required. Valid slot names are ${n}.`);let i=t||qy;if(!r.slots[i])throw new Error(`Invalid slot "${t}". Valid slot names are ${n}.`);return r.slots[i]}return r}function dO(e,t,r){let n=cO(r,e.slot)||{},{ref:i,...a}=n,o=_x(j.useMemo(()=>fx(t,i),[t,i])),s=an(a,e);return"style"in a&&a.style&&"style"in e&&e.style&&(typeof a.style=="function"||typeof e.style=="function"?s.style=l=>{let u=typeof a.style=="function"?a.style(l):a.style,c={...l.defaultStyle,...u},d=typeof e.style=="function"?e.style({...l,defaultStyle:c}):e.style;return{...c,...d}}:s.style={...a.style,...e.style}),[s,o]}if(typeof HTMLTemplateElement<"u"){const e=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}const fO=j.createContext(!1);typeof DocumentFragment<"u"&&new DocumentFragment;function pO(e){let t=(r,n)=>j.useContext(fO)?null:e(r,n);return t.displayName=e.displayName||e.name,C.forwardRef(t)}const hO=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),mO=j.createContext({});function vO(e,t){[e,t]=dO(e,t,mO);let r=e,{buttonProps:n,isPressed:i}=lO(e,t),{focusProps:a,isFocused:o,isFocusVisible:s}=Yx(e),{hoverProps:l,isHovered:u}=Wx(e),c=uO({...e,values:{isHovered:u,isPressed:i,isFocused:o,isFocusVisible:s,isDisabled:e.isDisabled||!1},defaultClassName:"react-aria-Button"});return C.createElement("button",{...Om(e,{propNames:hO}),...an(n,a,l),...c,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-pressed":r.isPressed||i||void 0,"data-hovered":u||void 0,"data-focused":o||void 0,"data-focus-visible":s||void 0})}const gO=pO(vO),z5=C.createContext(null);z5.displayName="BreakpointContext";function yO(){return j.useContext(z5)}const Rm={margin:["margin",Ae],marginStart:[Nt("marginLeft","marginRight"),Ae],marginEnd:[Nt("marginRight","marginLeft"),Ae],marginTop:["marginTop",Ae],marginBottom:["marginBottom",Ae],marginX:[["marginLeft","marginRight"],Ae],marginY:[["marginTop","marginBottom"],Ae],width:["width",Ae],height:["height",Ae],minWidth:["minWidth",Ae],minHeight:["minHeight",Ae],maxWidth:["maxWidth",Ae],maxHeight:["maxHeight",Ae],isHidden:["display",CO],alignSelf:["alignSelf",zt],justifySelf:["justifySelf",zt],position:["position",e1],zIndex:["zIndex",e1],top:["top",Ae],bottom:["bottom",Ae],start:[Nt("left","right"),Ae],end:[Nt("right","left"),Ae],left:["left",Ae],right:["right",Ae],order:["order",e1],flex:["flex",SO],flexGrow:["flexGrow",zt],flexShrink:["flexShrink",zt],flexBasis:["flexBasis",zt],gridArea:["gridArea",zt],gridColumn:["gridColumn",zt],gridColumnEnd:["gridColumnEnd",zt],gridColumnStart:["gridColumnStart",zt],gridRow:["gridRow",zt],gridRowEnd:["gridRowEnd",zt],gridRowStart:["gridRowStart",zt]};({...Rm,borderStartWidth:Nt("borderLeftWidth","borderRightWidth"),borderEndWidth:Nt("borderRightWidth","borderLeftWidth"),borderStartColor:Nt("borderLeftColor","borderRightColor"),borderEndColor:Nt("borderRightColor","borderLeftColor"),borderTopStartRadius:Nt("borderTopLeftRadius","borderTopRightRadius"),borderTopEndRadius:Nt("borderTopRightRadius","borderTopLeftRadius"),borderBottomStartRadius:Nt("borderBottomLeftRadius","borderBottomRightRadius"),borderBottomEndRadius:Nt("borderBottomRightRadius","borderBottomLeftRadius"),paddingStart:Nt("paddingLeft","paddingRight"),paddingEnd:Nt("paddingRight","paddingLeft")});const Zy={borderWidth:"borderStyle",borderLeftWidth:"borderLeftStyle",borderRightWidth:"borderRightStyle",borderTopWidth:"borderTopStyle",borderBottomWidth:"borderBottomStyle"};function Nt(e,t){return r=>r==="rtl"?t:e}const $O=/(%|px|em|rem|vw|vh|auto|cm|mm|in|pt|pc|ex|ch|rem|vmin|vmax|fr)$/,wO=/^\s*\w+\(/,bO=/(static-)?size-\d+|single-line-(height|width)/g;function Ae(e){if(typeof e=="number")return e+"px";if(e)return $O.test(e)?e:wO.test(e)?e.replace(bO,"var(--spectrum-global-dimension-$&, var(--spectrum-alias-$&))"):`var(--spectrum-global-dimension-${e}, var(--spectrum-alias-${e}))`}function K5(e,t="default",r=5){return r>5?`var(--spectrum-${e}, var(--spectrum-semantic-${e}-color-${t}))`:`var(--spectrum-legacy-color-${e}, var(--spectrum-global-color-${e}, var(--spectrum-semantic-${e}-color-${t})))`}function EO(e,t=5){if(e)return`var(--spectrum-alias-background-color-${e}, ${K5(e,"background",t)})`}function vn(e,t=5){if(e)return e==="default"?"var(--spectrum-alias-border-color)":`var(--spectrum-alias-border-color-${e}, ${K5(e,"border",t)})`}function gn(e){return e&&e!=="none"?`var(--spectrum-alias-border-size-${e})`:"0"}function yn(e){if(e)return`var(--spectrum-alias-border-radius-${e})`}function CO(e){return e?"none":void 0}function e1(e){return e}function SO(e){return typeof e=="boolean"?e?"1":void 0:""+e}function _O(e,t,r,n){let i={};for(let a in e){let o=t[a];if(!o||e[a]==null)continue;let[s,l]=o;typeof s=="function"&&(s=s(r));let u=q5(e[a],n),c=l(u,e.colorVersion);if(Array.isArray(s))for(let d of s)i[d]=c;else i[s]=c}for(let a in Zy)i[a]&&(i[Zy[a]]="solid",i.boxSizing="border-box");return i}function xO(e,t=Rm,r={}){let{UNSAFE_className:n,UNSAFE_style:i,...a}=e,o=yO(),{direction:s}=sO(),{matchedBreakpoints:l=(o==null?void 0:o.matchedBreakpoints)||["base"]}=r,u=_O(e,t,s,l),c={...i,...u};a.className&&console.warn("The className prop is unsafe and is unsupported in React Spectrum v3. Please use style props with Spectrum variables, or UNSAFE_className if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes."),a.style&&console.warn("The style prop is unsafe and is unsupported in React Spectrum v3. Please use style props with Spectrum variables, or UNSAFE_style if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes.");let d={style:c,className:n};return q5(e.isHidden,l)&&(d.hidden=!0),{styleProps:d}}function zt(e){return e}function q5(e,t){if(e&&typeof e=="object"&&!Array.isArray(e)){for(let r=0;rC.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M13 3H11V11H3V13H11V21H13V13H21V11H13V3Z"}))),jO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M21 7H3V5H21V7ZM17 13H7V11H17V13ZM5 19H19V17H5V19Z"}))),IO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M21 7H3V5H21V7ZM13 13H3V11H13V13ZM3 19H17V17H3V19Z"}))),LO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M21 7H3V5H21V7ZM21 13H11V11H21V13ZM7 19H21V17H7V19Z"}))),NO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M8 13H16V11H8V13Z"}),C.createElement("path",{fillRule:"evenodd",d:"M3 3H21V9H20V21H4V9H3V3ZM6 9H18V19H6V9ZM19 5V7H5V5H19Z",clipRule:"evenodd"}))),MO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M6.70718 13.2929L5.29297 14.7071L12.0001 21.4142L18.7072 14.7071L17.293 13.2929L13.0001 17.5858L13.0001 3L11.0001 3L11.0001 17.5858L6.70718 13.2929Z"}))),kO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M10.7073 6.70718L9.29305 5.29297L2.58594 12.0001L9.29304 18.7072L10.7073 17.293L6.41437 13.0001L21.0002 13.0001V11.0001L6.41436 11.0001L10.7073 6.70718Z"}))),FO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M13.2929 17.293L14.7071 18.7072L21.4142 12.0001L14.7071 5.29297L13.2929 6.70718L17.5858 11.0001H3V13.0001H17.5858L13.2929 17.293Z"}))),DO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M15.5859 7H9.5V5H19V14.5H17V8.4143L6.70718 18.7071L5.29297 17.2929L15.5859 7Z"}))),VO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M17.293 10.7073L18.7072 9.29305L12.0001 2.58594L5.29297 9.29304L6.70718 10.7073L11.0001 6.41437L11.0001 21.0002H13.0001L13.0001 6.41436L17.293 10.7073Z"}))),HO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M10 4C8.34315 4 7 5.34315 7 7V15C7 17.7614 9.23858 20 12 20C14.7614 20 17 17.7614 17 15V4H19V15C19 18.866 15.866 22 12 22C8.13401 22 5 18.866 5 15V7C5 4.23858 7.23858 2 10 2C12.7614 2 15 4.23858 15 7V15C15 16.6569 13.6569 18 12 18C10.3431 18 9 16.6569 9 15L9 7L11 7L11 15C11 15.5523 11.4477 16 12 16C12.5523 16 13 15.5523 13 15V7C13 5.34315 11.6569 4 10 4Z"}))),UO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M20 8C18.8954 8 18 7.10457 18 6 18 4.89543 18.8954 4 20 4 21.1046 4 22 4.89543 22 6 22 7.10457 21.1046 8 20 8ZM18 12C18 13.1046 18.8954 14 20 14 21.1046 14 22 13.1046 22 12 22 10.8954 21.1046 10 20 10 18.8954 10 18 10.8954 18 12ZM18 18C18 19.1046 18.8954 20 20 20 21.1046 20 22 19.1046 22 18 22 16.8954 21.1046 16 20 16 18.8954 16 18 16.8954 18 18ZM16 5 10 5V19H16V17H12V13L16 13V11L12 11V7H16V5ZM5.5 8.5 2 12 5.5 15.5 9 12 5.5 8.5Z"}))),BO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M18 6H6V18H18V6ZM4 4V20H20V4H4Z",clipRule:"evenodd"}))),zO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M9 18V8H11V18H9ZM13 8V18H15V8H13Z"}),C.createElement("path",{fillRule:"evenodd",d:"M13.5 4C13.5 3.17157 12.8284 2.5 12 2.5C11.1716 2.5 10.5 3.17157 10.5 4H4V6H5V19C5 20.6569 6.34315 22 8 22H16C17.6569 22 19 20.6569 19 19V6H20V4H13.5ZM7 19V6H17V19C17 19.5523 16.5523 20 16 20H8C7.44772 20 7 19.5523 7 19Z",clipRule:"evenodd"}))),KO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M5.92572 11.6379C7.28054 12.8798 9.29877 14.0001 12 14.0001C14.7012 14.0001 16.7195 12.8798 18.0743 11.6379C18.7544 11.0145 19.2581 10.3679 19.5858 9.83533C19.75 9.56862 19.8631 9.34158 19.932 9.1709C19.9771 9.05914 19.993 8.99662 19.9982 8.97587L19.9982 8.97582L19.9983 8.97576C19.9996 8.97052 20.0002 8.96798 20.0005 8.96802C20.0008 8.96806 20.0007 8.97041 20.0005 8.97496L20.0005 8.97506L20.0005 8.97518L20.0005 8.97534C20.0003 8.98071 20 8.989 20 9.00005H22C22 9.32108 21.894 9.65317 21.7868 9.91905C21.6681 10.2132 21.5 10.5409 21.2892 10.8835C20.9404 11.4502 20.456 12.0884 19.8359 12.7168L21.1426 14.274L19.6105 15.5596L18.3111 14.011C17.5099 14.5769 16.5733 15.0803 15.5025 15.439L15.9537 17.3931L14.0049 17.843L13.5551 15.8945C13.0587 15.963 12.5403 16.0001 12 16.0001C11.4577 16.0001 10.9375 15.9628 10.4395 15.8938L9.98878 17.846L8.04004 17.3961L8.49226 15.4373C7.41782 15.0767 6.47855 14.5704 5.67574 14.0017L4.36837 15.5597L2.83629 14.2741L4.15272 12.7053C3.53814 12.0806 3.05746 11.4468 2.71084 10.8835C2.49997 10.5409 2.33188 10.2132 2.21323 9.91905C2.10598 9.65317 2 9.32108 2 9.00005H4C4 8.98874 3.99969 8.98032 3.99949 8.97496V8.97495C3.99932 8.9704 3.99924 8.96806 3.99949 8.96802C3.99976 8.96798 4.00042 8.97055 4.00177 8.97587C4.00705 8.99663 4.02295 9.05915 4.06802 9.1709C4.13687 9.34158 4.25003 9.56862 4.41416 9.83533C4.74188 10.3679 5.24565 11.0145 5.92572 11.6379Z",clipRule:"evenodd"}))),qO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M4.83252 20.9999H14.2185C17.6505 20.9999 20.0945 19.0239 20.0945 16.1639C20.0945 14.1879 18.8725 12.5239 16.7925 11.5879C18.3785 10.7559 19.3145 9.42994 19.3145 7.60994C19.3145 5.00994 17.0785 3.13794 13.8805 3.13794H4.83252V20.9999ZM8.65452 10.3399V6.41394H12.9445C14.3485 6.41394 15.3625 7.24594 15.3625 8.36394C15.3625 9.50794 14.3485 10.3399 12.9445 10.3399H8.65452ZM8.65452 17.7239V13.3559H13.5165C15.0505 13.3559 16.1425 14.2659 16.1425 15.5399C16.1425 16.8139 15.0505 17.7239 13.5165 17.7239H8.65452Z"}))),ZO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M7 2V4H3V21H21V4H17V2H15V4H9V2H7ZM19 6V8H5V6H19ZM5 10V19H19V10H5Z",clipRule:"evenodd"}))),WO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M18.4395 5.25928L20.5608 7.3806L9.50011 18.4413L3.43945 12.3806L5.56077 10.2593L9.50011 14.1986L18.4395 5.25928Z",clipRule:"evenodd"}))),GO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fill:"currentcolor",d:"M5.29297 9.70718L6.70718 8.29297L12.0001 13.5859L17.293 8.29297L18.7072 9.70718L12.0001 16.4143L5.29297 9.70718Z",clipRule:"evenodd"}))),QO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M14.293 18.7072L15.7073 17.293L10.4144 12.0001L15.7073 6.70718L14.293 5.29297L7.58594 12.0001L14.293 18.7072Z",clipRule:"evenodd"}))),YO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M9.70718 18.7072L8.29297 17.293L13.5859 12.0001L8.29297 6.70718L9.70718 5.29297L16.4143 12.0001L9.70718 18.7072Z",clipRule:"evenodd"}))),JO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fill:"currentcolor",d:"M18.707 14.2928L17.2928 15.707L11.9999 10.4141L6.70703 15.707L5.29282 14.2928L11.9999 7.58571L18.707 14.2928Z",clipRule:"evenodd"}))),XO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M12.0001 13.4143L18.293 19.7072L19.7072 18.293L13.4143 12.0001L19.7072 5.70719L18.293 4.29298L12.0001 10.5859L5.70719 4.29297L4.29298 5.70718L10.5859 12.0001L4.29297 18.293L5.70718 19.7072L12.0001 13.4143Z"}))),eP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M6.29304 7.29297 7.70726 8.70718 4.41436 12.0001 7.70726 15.293 6.29304 16.7072 1.58594 12.0001 6.29304 7.29297ZM14.8943 8.44728 10.8943 16.4473 9.10547 15.5529 13.1055 7.55286 14.8943 8.44728ZM16.2927 15.2931 17.707 16.7073 22.4141 12.0002 17.707 7.29306 16.2927 8.70728 19.5856 12.0002 16.2927 15.2931Z"}))),tP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M17 3H7V5H17V3ZM5 7H12H19V9H15.4649H12H8.53513H5V7ZM5 11H3V21H21V11H19H16H14C14 12.1046 13.1046 13 12 13C10.8954 13 10 12.1046 10 11H8H5ZM12 15C10.5194 15 9.22675 14.1956 8.53513 13H5V19H19V13H15.4649C14.7733 14.1956 13.4806 15 12 15Z",clipRule:"evenodd"}))),rP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M3 11L3 13H5L5 11H3Z"}),C.createElement("path",{fillRule:"evenodd",d:"M21 21H11V3L21 3V21ZM13 19V5H19V19H13Z",clipRule:"evenodd"}),C.createElement("path",{d:"M3 9 3 7H5V9H3ZM3 19 3 21H5V19H3ZM3 17 3 15H5V17H3ZM3 3 3 5H5V3L3 3ZM7 5V3L9 3V5H7ZM7 19V21H9V19H7Z"}))),nP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M13 21H3L3 3L13 3V21ZM5 19L5 5H11V19H5Z",clipRule:"evenodd"}),C.createElement("path",{d:"M19 11V13H21V11H19ZM19 9V7H21V9H19ZM19 19V21H21V19H19ZM19 17V15H21V17H19ZM19 3V5H21V3L19 3ZM15 5V3L17 3V5H15ZM15 19V21H17V19H15Z"}))),iP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M9 5H15V15H17V3H7V21H11V19H9V5Z"}),C.createElement("path",{d:"M16.0001 21.4142L14.2072 23.2071L12.793 21.7929L14.5859 20L12.793 18.2071L14.2072 16.7929L16.0001 18.5858L17.793 16.7929L19.2072 18.2071L17.4143 20L19.2072 21.7929L17.793 23.2071L16.0001 21.4142Z"}))),aP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M3 21V3H21V21H3ZM13 5H19V19H13V5ZM11 5H5V19H11V5Z",clipRule:"evenodd"}))),oP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M15 4V7H18V16H17V18H20V6L16.25 2H8V5H10V4H15Z"}),C.createElement("path",{fillRule:"evenodd",d:"M16 10L12.25 6H4V22H16V10ZM11 8H6V20H14V11H11V8Z",clipRule:"evenodd"}))),sP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M13.4143 12.0001L14.9681 13.5539C15.5636 13.202 16.2582 13.0001 17 13.0001C19.2091 13.0001 21 14.791 21 17.0001C21 19.2092 19.2091 21.0001 17 21.0001C14.7909 21.0001 13 19.2092 13 17.0001C13 16.2583 13.2019 15.5636 13.5539 14.9681L12.0001 13.4143L10.4462 14.9682C10.7981 15.5637 11 16.2583 11 17.0001C11 19.2092 9.20914 21.0001 7 21.0001C4.79086 21.0001 3 19.2092 3 17.0001C3 14.791 4.79086 13.0001 7 13.0001C7.74183 13.0001 8.4365 13.202 9.03202 13.5539L10.5859 12.0001L3.79297 5.20718L5.20718 3.79297L12.0001 10.5859L18.793 3.793L20.2072 5.20721L13.4143 12.0001ZM5 17.0001C5 15.8955 5.89543 15.0001 7 15.0001C8.10457 15.0001 9 15.8955 9 17.0001C9 18.1047 8.10457 19.0001 7 19.0001C5.89543 19.0001 5 18.1047 5 17.0001ZM15 17.0001C15 15.8955 15.8954 15.0001 17 15.0001C18.1046 15.0001 19 15.8955 19 17.0001C19 18.1047 18.1046 19.0001 17 19.0001C15.8954 19.0001 15 18.1047 15 17.0001Z",clipRule:"evenodd"}))),lP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M6 10.5H18V13.5H6z"}))),uP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M2 8C2 5.79086 3.79086 4 6 4H14C16.2091 4 18 5.79086 18 8V9C20.2091 9 22 10.7909 22 13V15C22 16.4806 21.1956 17.7733 20 18.4649V21.5L17.5 19H14C11.7909 19 10 17.2091 10 15H6.5L4 17.5V14.4649C2.8044 13.7733 2 12.4806 2 11V8ZM6 6H14C15.1046 6 16 6.89543 16 8V11C16 12.1046 15.1046 13 14 13H6C4.89543 13 4 12.1046 4 11V8C4 6.89543 4.89543 6 6 6ZM12 15C12 16.1046 12.8954 17 14 17H18C19.1046 17 20 16.1046 20 15V13C20 11.8954 19.1046 11 18 11C18 13.2091 16.2091 15 14 15H12Z",clipRule:"evenodd"}))),cP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M9 7C10.1046 7 11 6.10457 11 5C11 3.89543 10.1046 3 9 3C7.89543 3 7 3.89543 7 5C7 6.10457 7.89543 7 9 7ZM9 14C10.1046 14 11 13.1046 11 12C11 10.8954 10.1046 10 9 10C7.89543 10 7 10.8954 7 12C7 13.1046 7.89543 14 9 14ZM11 19C11 20.1046 10.1046 21 9 21C7.89543 21 7 20.1046 7 19C7 17.8954 7.89543 17 9 17C10.1046 17 11 17.8954 11 19ZM15 7C16.1046 7 17 6.10457 17 5C17 3.89543 16.1046 3 15 3C13.8954 3 13 3.89543 13 5C13 6.10457 13.8954 7 15 7ZM17 12C17 13.1046 16.1046 14 15 14C13.8954 14 13 13.1046 13 12C13 10.8954 13.8954 10 15 10C16.1046 10 17 10.8954 17 12ZM15 21C16.1046 21 17 20.1046 17 19C17 17.8954 16.1046 17 15 17C13.8954 17 13 17.8954 13 19C13 20.1046 13.8954 21 15 21Z",clipRule:"evenodd"}))),dP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M18 12.8286V17.9999H6V5.99994H11.1718L13.1718 3.99994H4V19.9999H20V10.8286L18 12.8286Z"}),C.createElement("path",{fillRule:"evenodd",d:"M13 14.9999L8 15.9999L9 10.9999L17.5858 2.41416C18.3668 1.63311 19.6332 1.63311 20.4142 2.41415L21.5858 3.58573C22.3668 4.36678 22.3668 5.63311 21.5858 6.41415L13 14.9999ZM17.5857 7.58582L12.014 13.1575L10.5495 13.4504L10.8424 11.986L16.4141 6.41424L17.5857 7.58582ZM18.9999 6.1716L20.1716 4.99994L19 3.82837L17.8283 5.00003L18.9999 6.1716Z",clipRule:"evenodd"}))),fP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M12 14.5C13.3807 14.5 14.5 13.3807 14.5 12C14.5 10.6193 13.3807 9.5 12 9.5C10.6193 9.5 9.5 10.6193 9.5 12C9.5 13.3807 10.6193 14.5 12 14.5Z"}),C.createElement("path",{fillRule:"evenodd",d:"M12 5C8.70123 5 6.21946 6.37976 4.57428 7.88785C3.75435 8.63944 3.13312 9.43033 2.71084 10.1165C2.49997 10.4592 2.33188 10.7868 2.21323 11.081C2.10598 11.3469 2 11.679 2 12C2 12.321 2.10598 12.6531 2.21323 12.919C2.33188 13.2132 2.49997 13.5408 2.71084 13.8835C3.13312 14.5697 3.75435 15.3606 4.57428 16.1122C6.21946 17.6202 8.70123 19 12 19C15.2988 19 17.7805 17.6202 19.4257 16.1122C20.2456 15.3606 20.8669 14.5697 21.2892 13.8835C21.5 13.5408 21.6681 13.2132 21.7868 12.919C21.894 12.6531 22 12.321 22 12C22 11.679 21.894 11.3469 21.7868 11.081C21.6681 10.7868 21.5 10.4592 21.2892 10.1165C20.8669 9.43033 20.2456 8.63944 19.4257 7.88785C17.7805 6.37976 15.2988 5 12 5ZM4.06802 12.1708C4.03445 12.0876 4.01707 12.0317 4.0082 12C4.01707 11.9683 4.03445 11.9124 4.06802 11.8292C4.13687 11.6585 4.25003 11.4314 4.41416 11.1647C4.74188 10.6322 5.24565 9.98556 5.92572 9.36215C7.28054 8.12024 9.29877 7 12 7C14.7012 7 16.7195 8.12024 18.0743 9.36215C18.7544 9.98556 19.2581 10.6322 19.5858 11.1647C19.75 11.4314 19.8631 11.6585 19.932 11.8292C19.9655 11.9124 19.9829 11.9683 19.9918 12C19.9829 12.0317 19.9655 12.0876 19.932 12.1708C19.8631 12.3415 19.75 12.5686 19.5858 12.8353C19.2581 13.3678 18.7544 14.0144 18.0743 14.6378C16.7195 15.8798 14.7012 17 12 17C9.29877 17 7.28054 15.8798 5.92572 14.6378C5.24565 14.0144 4.74188 13.3678 4.41416 12.8353C4.25003 12.5686 4.13687 12.3415 4.06802 12.1708Z",clipRule:"evenodd"}))),pP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M7 8V10H17V8H7ZM9 14V12H15V14H9ZM11 16V18H13V16H11Z"}),C.createElement("path",{fillRule:"evenodd",d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12Z",clipRule:"evenodd"}))),hP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M9.41421 4H2V20H22V6H11.4142L9.41421 4ZM4 18V8H20V18H4Z",clipRule:"evenodd"}))),mP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M16 16H8V18H16V16Z"}),C.createElement("path",{fillRule:"evenodd",d:"M4 22V2H20V22H4ZM6 4H18V20H6V4Z",clipRule:"evenodd"}))),vP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{stroke:"#000",strokeWidth:"2",d:"M3.74844 19L12.0002 4.97231L20.2516 19H3.74844Z"}))),gP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M21 3V9H19V5L15 5V3L21 3ZM3 3H9V5H5V9H3V3ZM3 21V15H5V19H9V21H3ZM15 21H21V15H19V19H15V21ZM12 10C10.8954 10 10 10.8954 10 12 10 13.1046 10.8954 14 12 14 13.1046 14 14 13.1046 14 12 14 10.8954 13.1046 10 12 10Z"}))),yP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M9 7H15V9H13V13H11V9H9V7Z"}),C.createElement("path",{fillRule:"evenodd",d:"M3 17V3H21V17H3ZM5 5H19V15H5V5Z",clipRule:"evenodd"}),C.createElement("path",{d:"M19 19H5V21H19V19Z"}))),$P=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M15.4998 5.93786C12.3243 4.1045 8.30946 5.04192 6.25478 8H8V10H3V5H5V6.34086C7.73535 2.94898 12.6079 1.95882 16.4998 4.20581C20.8044 6.69109 22.2793 12.1954 19.794 16.5C17.3087 20.8047 11.8044 22.2795 7.49979 19.7943C5.40842 18.5868 3.9841 16.6647 3.35878 14.5166L5.27907 13.9576C5.76607 15.6305 6.87253 17.1227 8.49979 18.0622C11.8478 19.9952 16.129 18.8481 18.062 15.5C19.995 12.152 18.8478 7.87086 15.4998 5.93786Z"}),C.createElement("path",{d:"M12 14C13.1046 14 14 13.1046 14 12C14 10.8954 13.1046 10 12 10C10.8954 10 10 10.8954 10 12C10 13.1046 10.8954 14 12 14Z"}))),wP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M21.5855 9.68946L12 2.7666L2.41455 9.68946L3.58553 11.3108L12 5.23367L20.4146 11.3108L21.5855 9.68946ZM7 12.0001H5V21.0001H11V16.0001H13V21.0001H19V12.0001H17V19.0001H15V14.0001H9V19.0001H7V12.0001Z",clipRule:"evenodd"}))),bP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M20 3H4V5H20V3Z"}),C.createElement("path",{fillRule:"evenodd",d:"M4 7V17H20V7H4ZM18 9H6V15H18V9Z",clipRule:"evenodd"}),C.createElement("path",{d:"M4 19H20V21H4V19Z"}))),EP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M9.70726 7.70712L8.29304 6.29291L4.58594 10L8.29304 13.7071L9.70726 12.2929L8.41435 11H15.5856L14.2927 12.2929L15.707 13.7071L19.4141 9.99999L15.707 6.29288L14.2927 7.70709L15.5857 9H8.41438L9.70726 7.70712Z"}),C.createElement("path",{fillRule:"evenodd",d:"M2 3V17H22V3H2ZM20 5H4V15H20V5Z",clipRule:"evenodd"}),C.createElement("path",{d:"M4 19H20V21H4V19Z"}))),CP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M18 10C18 11.1046 17.1046 12 16 12C14.8954 12 14 11.1046 14 10C14 8.89543 14.8954 8 16 8C17.1046 8 18 8.89543 18 10Z"}),C.createElement("path",{fillRule:"evenodd",d:"M2 20V4H22V20H2ZM4 6H20V17.5857L16.0001 13.5858L14.0001 15.5858L8.00008 9.58582L4 13.5859V6ZM4 16.4143V18H13.5858L8.00008 12.4142L4 16.4143ZM14.4143 18H17.5858L16.0001 16.4142L14.4143 18Z",clipRule:"evenodd"}))),SP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M2 5V15H14V5H2ZM12 7H4V13H12V7Z",clipRule:"evenodd"}),C.createElement("path",{d:"M22 17V19H2V17H22ZM22 5H16V7H22V5ZM16 9H22V11H16V9ZM22 13H16V15H22V13Z"}))),_P=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M10 5V15H22V5H10ZM20 7H12V13H20V7Z",clipRule:"evenodd"}),C.createElement("path",{d:"M22 17V19H2V17H22ZM8 5H2V7H8V5ZM2 9H8V11H2V9ZM8 13H2V15H8V13Z"}))),xP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M13 16H14V18H10V16H11V12H10V10H13V16ZM12 5.5C11.1716 5.5 10.5 6.17157 10.5 7 10.5 7.82843 11.1716 8.5 12 8.5 12.8284 8.5 13.5 7.82843 13.5 7 13.5 6.17157 12.8284 5.5 12 5.5Z"}),C.createElement("path",{fillRule:"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z",clipRule:"evenodd"}))),OP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M10 3H17V5H14.3584L11.4443 19H14V21L11.028 21H9L7 21V19H9.4163L12.3304 5H10V3Z",clipRule:"evenodd"}))),PP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M13 3H11V6H4V8H6.14603C6.72201 10.8754 8.4029 13.2122 10.3922 15.0269C8.05005 16.8465 5.43103 18.0192 3.70898 18.5433L4.29131 20.4566C6.30162 19.8448 9.32436 18.4761 11.9749 16.3239C14.5162 18.201 17.3216 19.4054 19.2194 19.9599L19.7803 18.0401C18.1527 17.5646 15.7289 16.535 13.4937 14.954C15.3226 13.1144 16.8284 10.8003 17.3604 8H20V6H13V3ZM8.19558 8H15.3165C14.8002 10.2269 13.5262 12.1292 11.9131 13.7052C10.155 12.1472 8.7535 10.2439 8.19558 8Z",clipRule:"evenodd"}))),TP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M12.9258 9.2258L12 7L11.0742 9.2258L8.6713 9.41844L10.5021 10.9867L9.94275 13.3316L12 12.075L14.0572 13.3316L13.4979 10.9867L15.3287 9.41844L12.9258 9.2258Z"}),C.createElement("path",{fillRule:"evenodd",d:"M12 21L23 10L18 3L6 3L1 10L12 21ZM16.9708 5L20.3878 9.7838L12 18.1716L3.61223 9.7838L7.02924 5L16.9708 5Z",clipRule:"evenodd"}))),AP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M12 21L1 10L6 3L18 3L23 10L12 21ZM20.3878 9.7838L16.9708 5L7.02924 5L3.61223 9.7838L5.64752 11.8191L8.95092 8.45923L12.4176 12.0173L14.9116 9.49744C14.1243 9.45168 13.5 8.79875 13.5 8C13.5 7.17157 14.1716 6.5 15 6.5C15.8284 6.5 16.5 7.17157 16.5 8C16.5 8.82843 15.8284 9.5 15 9.5C14.9927 9.5 14.9853 9.49995 14.978 9.49984L17.8007 12.3708L20.3878 9.7838ZM12 18.1716L7.06179 13.2334L8.94444 11.3185L12.4063 14.8717L14.939 12.3129L16.3865 13.7851L12 18.1716Z",clipRule:"evenodd"}))),RP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M15 7V10H17V7C17 4.23858 14.7614 2 12 2 9.23858 2 7 4.23858 7 7V10H9V7C9 5.34315 10.3431 4 12 4 13.6569 4 15 5.34315 15 7ZM15 17V14H17V17C17 19.7614 14.7614 22 12 22 9.23858 22 7 19.7614 7 17V14H9V17C9 18.6569 10.3431 20 12 20 13.6569 20 15 18.6569 15 17Z"}),C.createElement("path",{d:"M13 8H11V16H13V8Z"}))),jP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M2 6C2 4.89542 2.89545 4 4 4 5.10455 4 6 4.89542 6 6 6 7.10455 5.10455 8 4 8 2.89545 8 2 7.10455 2 6ZM22 5H8V7H22V5ZM22 11H8V13H22V11ZM8 17H22V19H8V17ZM4 10C2.89545 10 2 10.8954 2 12 2 13.1046 2.89545 14 4 14 5.10455 14 6 13.1046 6 12 6 10.8954 5.10455 10 4 10ZM4 16C2.89545 16 2 16.8954 2 18 2 19.1046 2.89545 20 4 20 5.10455 20 6 19.1046 6 18 6 16.8954 5.10455 16 4 16Z"}))),IP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M4.97748 7.99993H3.81348V5.18593L3.12348 5.60593 2.66748 4.80193 4.04748 3.87793H4.97748V7.99993ZM22 4.99994H8V6.99994H22V4.99994ZM22 10.9999H8V12.9999H22V10.9999ZM8 16.9999H22V18.9999H8V16.9999ZM2.33421 14H5.63421V12.962H4.11621L4.65021 12.62C5.38221 12.152 5.59821 11.732 5.59821 11.192 5.59821 10.394 4.93821 9.80597 3.96021 9.80597 3.27621 9.80597 2.71821 10.082 2.26221 10.622L2.98221 11.348C3.30021 11.03 3.57621 10.862 3.93021 10.862 4.20021 10.862 4.39821 11.012 4.39821 11.24 4.39821 11.456 4.29621 11.642 3.86421 11.954L2.33421 13.058V14ZM5.66987 18.824C5.66987 19.556 5.00987 20.078 3.97787 20.078 3.19187 20.078 2.59787 19.802 2.21387 19.394L2.86787 18.62C3.17387 18.908 3.55787 19.04 3.91187 19.04 4.28387 19.04 4.46987 18.902 4.46987 18.716 4.46987 18.518 4.33187 18.41 3.83987 18.416L3.34187 18.422V17.45H3.83387C4.21787 17.45 4.39187 17.348 4.39187 17.162 4.39187 16.958 4.18187 16.844 3.84587 16.844 3.50387 16.844 3.20987 17.006 2.94587 17.252L2.30387 16.538C2.66387 16.124 3.17987 15.806 3.97187 15.806 4.99187 15.806 5.57987 16.292 5.57987 16.94 5.57987 17.384 5.29187 17.738 4.82387 17.876 5.29187 17.984 5.66987 18.314 5.66987 18.824Z"}))),LP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M2 20V4H22V20H2ZM18.5859 6H5.41427L12.0001 12.5858L18.5859 6ZM4 7.41415V18H20V7.4143L12.0001 15.4142L4 7.41415Z",clipRule:"evenodd"}))),NP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M12 18C15.3137 18 18 15.3137 18 12C18 8.68629 15.3137 6 12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18Z",clipRule:"evenodd"}))),MP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M12 12C13.1046 12 14 11.1046 14 10C14 8.89543 13.1046 8 12 8C10.8954 8 10 8.89543 10 10C10 11.1046 10.8954 12 12 12Z"}),C.createElement("path",{fillRule:"evenodd",d:"M20 10C20 16 12 22.5 12 22.5C12 22.5 4 16 4 10C4 5.58172 7.58172 2 12 2C16.4183 2 20 5.58172 20 10ZM18 10C18 12.2326 16.4373 14.8758 14.4702 17.2117C13.5849 18.263 12.6945 19.163 12 19.8205C11.3055 19.163 10.4151 18.263 9.52982 17.2117C7.5627 14.8758 6 12.2326 6 10C6 6.68629 8.68629 4 12 4C15.3137 4 18 6.68629 18 10Z",clipRule:"evenodd"}))),kP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M21 7H3V5H21V7ZM21 13H3V11H21V13ZM3 19H21V17H3V19Z"}))),FP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M3 21V3H21V21H3ZM5 5H19V19H5V5Z",clipRule:"evenodd"}))),DP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M7 12.0001C7 13.1046 6.10457 14.0001 5 14.0001 3.89543 14.0001 3 13.1046 3 12.0001 3 10.8955 3.89543 10.0001 5 10.0001 6.10457 10.0001 7 10.8955 7 12.0001ZM14 11.9724C14 13.077 13.1046 13.9724 12 13.9724 10.8954 13.9724 10 13.077 10 11.9724 10 10.8678 10.8954 9.97241 12 9.97241 13.1046 9.97241 14 10.8678 14 11.9724ZM19.0002 14.0001C20.1048 14.0001 21.0002 13.1046 21.0002 12.0001 21.0002 10.8955 20.1048 10.0001 19.0002 10.0001 17.8956 10.0001 17.0002 10.8955 17.0002 12.0001 17.0002 13.1046 17.8956 14.0001 19.0002 14.0001Z"}))),VP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M12 2C10.8954 2 10 2.89543 10 4 10 5.10457 10.8954 6 12 6 13.1046 6 14 5.10457 14 4 14 2.89543 13.1046 2 12 2ZM4 16C2.89543 16 2 16.8954 2 18 2 19.1046 2.89543 20 4 20 5.10457 20 6 19.1046 6 18 6 16.8954 5.10457 16 4 16ZM10 18C10 16.8954 10.8954 16 12 16 13.1046 16 14 16.8954 14 18 14 19.1046 13.1046 20 12 20 10.8954 20 10 19.1046 10 18ZM20 16C18.8954 16 18 16.8954 18 18 18 19.1046 18.8954 20 20 20 21.1046 20 22 19.1046 22 18 22 16.8954 21.1046 16 20 16ZM13 10H21V14H19V12H13V14H11V12H5V14H3V10H11V8H13V10Z"}))),HP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M15 7H7V9H15V7Z"}),C.createElement("path",{fillRule:"evenodd",d:"M15 11V17H7V11H15ZM13 15V13H9V15H13Z",clipRule:"evenodd"}),C.createElement("path",{fillRule:"evenodd",d:"M19 3H3V18C3 19.6569 4.34315 21 6 21H18C19.6569 21 21 19.6569 21 18V15H19V3ZM5 18V5H17V19H6C5.44772 19 5 18.5523 5 18Z",clipRule:"evenodd"}))),UP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M11 18C12.4021 18 13.6918 17.5191 14.7133 16.7133L16.1348 18.1348C14.7454 19.2991 12.9545 20 11 20C6.58172 20 3 16.4183 3 12C3 7.58172 6.58172 4 11 4C12.9545 4 14.7454 4.70094 16.1348 5.86515L14.7133 7.28675C13.6918 6.4809 12.4021 6 11 6C7.68629 6 5 8.68629 5 12C5 15.3137 7.68629 18 11 18Z"}),C.createElement("path",{d:"M22.4141 12L17.707 16.7071L16.2927 15.2929L18.5857 13L10 13V11L18.5856 11L16.2927 8.70712L17.707 7.29291L22.4141 12Z"}))),BP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M20 7L15 2H4V22H20V7ZM18 8.00003V20H6V4H14C14 4.00001 14 3.99999 14 4V8.00003H18Z",clipRule:"evenodd"}))),zP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M10 2C6.68629 2 4 4.68629 4 8C4 11.3137 6.68629 14 10 14H13V22H15V4H17V22H19V2H10ZM10 4H13V12H10C7.79086 12 6 10.2091 6 8C6 5.79086 7.79086 4 10 4Z",clipRule:"evenodd"}))),KP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M15 3H13.5C13.5 2.17157 12.8284 1.5 12 1.5C11.1716 1.5 10.5 2.17157 10.5 3H9V7H15V3Z"}),C.createElement("path",{d:"M4 4H7V6H6V20H18V6H17V4H20V22H4V4Z"}))),qP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M9 9H11V15H9V9ZM15 9H13V15H15V9Z"}),C.createElement("path",{fillRule:"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z",clipRule:"evenodd"}))),ZP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M19.0927 3.32161C18.3117 2.54056 17.0453 2.54056 16.2643 3.32161L4.2357 15.3502L3.5 20.5001L8.64992 19.7644L20.6785 7.73583C21.4596 6.95478 21.4596 5.68845 20.6785 4.9074L19.0927 3.32161ZM5.85702 18.1431L6.12132 16.293L14.6786 7.73571L16.2644 9.3215L7.70711 17.8788L5.85702 18.1431ZM17.6786 7.90728L19.2643 6.32161L17.6785 4.73582L16.0928 6.3215L17.6786 7.90728Z",clipRule:"evenodd"}))),WP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M10 15.4641L16 12L10 8.53589L10 15.4641Z"}),C.createElement("path",{fillRule:"evenodd",d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12Z",clipRule:"evenodd"}))),GP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M4.66674 8.74762 8.70718 4.70718 7.29297 3.29297 4.66674 5.9192 3.70718 4.95964 2.29297 6.37385 4.66674 8.74762ZM22 5.00006H10V7.00006H22V5.00006ZM22 11.0001H10V13.0001H22V11.0001ZM10 17.0001H22V19.0001H10V17.0001ZM8.70718 10.7072 4.66674 14.7476 2.29297 12.3738 3.70718 10.9596 4.66674 11.9192 7.29297 9.29297 8.70718 10.7072ZM4.66674 20.7476 8.70718 16.7072 7.29297 15.293 4.66674 17.9192 3.70718 16.9596 2.29297 18.3738 4.66674 20.7476Z"}))),QP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M7 6C9.20914 6 11 7.79086 11 10 11 13.5653 8.81985 16.6682 5.55262 18.8336L4.44775 17.1664C5.87998 16.2172 7.00481 15.1169 7.77807 13.9244 7.52639 13.974 7.26623 14 7 14 4.79086 14 3 12.2091 3 10 3 7.79086 4.79086 6 7 6ZM9 10C9 11.1046 8.10457 12 7 12 5.89543 12 5 11.1046 5 10 5 8.89543 5.89543 8 7 8 8.10457 8 9 8.89543 9 10ZM17.7781 13.9244C17.5264 13.974 17.2662 14 17 14 14.7909 14 13 12.2091 13 10 13 7.79086 14.7909 6 17 6 19.2091 6 21 7.79086 21 10 21 13.5653 18.8199 16.6682 15.5526 18.8336L14.4478 17.1664C15.88 16.2172 17.0048 15.1169 17.7781 13.9244ZM19 10C19 11.1046 18.1046 12 17 12 15.8954 12 15 11.1046 15 10 15 8.89543 15.8954 8 17 8 18.1046 8 19 8.89543 19 10Z",clipRule:"evenodd"}))),YP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16Z",clipRule:"evenodd"}))),JP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M18.9998 6.34195C16.2646 2.94959 11.3917 1.95918 7.49955 4.2063C3.19492 6.69158 1.72004 12.1959 4.20532 16.5005C6.69065 20.805 12.1955 22.2794 16.5001 19.7942L15.5001 18.0621C12.1521 19.9951 7.87093 18.848 5.93794 15.5C4.00509 12.1519 5.15156 7.87131 8.49955 5.93835C11.6749 4.10503 15.6897 5.04236 17.7444 8.00024H14.9998V10.0002H20.9998V4.00024H18.9998V6.34195ZM18.9282 8.00024H18.9998V7.95891L18.9282 8.00024Z",clipRule:"evenodd"}))),XP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M15 3H21V5H19V19H21V21H15V19H17V5H15V3Z"}),C.createElement("path",{fillRule:"evenodd",d:"M13.9362 17H11.7122L10.8482 14.92H5.60021L4.73621 17H2.51221L7.12021 6.008H9.32821L13.9362 17ZM8.22421 8.648L6.28821 13.288H10.1602L8.22421 8.648Z",clipRule:"evenodd"}))),eT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M10.1885 5.23831C8.52721 5.68346 7.16654 6.68944 6.25535 7.99985H8V9.99985H3V4.99985H5V6.34247C6.15482 4.91139 7.75799 3.81902 9.67087 3.30646 14.4721 2.01998 19.4071 4.86923 20.6936 9.67042L18.7617 10.1881C17.7611 6.4538 13.9228 4.23772 10.1885 5.23831ZM5.23876 13.8115C6.23935 17.5458 10.0777 19.7619 13.812 18.7613 15.4731 18.3162 16.8339 17.3102 17.7451 15.9998H16V13.9998H21V18.9998H19V17.6577C17.8452 19.0885 16.2423 20.1806 14.3296 20.6931 9.52842 21.9796 4.59339 19.1304 3.30691 14.3292L5.23876 13.8115Z"}))),tT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M2 8C2 5.79086 3.79086 4 6 4H18C20.2091 4 22 5.79086 22 8V20H6C3.79086 20 2 18.2091 2 16V8ZM6 6H18C19.1046 6 20 6.89543 20 8V18H6C4.89543 18 4 17.1046 4 16V8C4 6.89543 4.89543 6 6 6Z",clipRule:"evenodd"}),C.createElement("path",{d:"M12.9258 10.7258L12.0001 8.5L11.0743 10.7258L8.67139 10.9184L10.5022 12.4867L9.94284 14.8316L12.0001 13.575L14.0573 14.8316L13.498 12.4867L15.3288 10.9184L12.9258 10.7258Z"}))),rT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M13 3H11V5H13V3Z"}),C.createElement("path",{fillRule:"evenodd",d:"M3 21V11H21V21H3ZM5 13H19V19H5V13Z",clipRule:"evenodd"}),C.createElement("path",{d:"M15 3H17V5H15V3ZM5 3H3V5H5V3ZM7 3H9V5H7V3ZM21 3H19V5H21V3ZM19 7H21V9H19V7ZM5 7H3V9H5V7Z"}))),nT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M3 13V3H21V13H3ZM5 5H19V11H5V5Z",clipRule:"evenodd"}),C.createElement("path",{d:"M13 19H11V21H13V19ZM15 19H17V21H15V19ZM5 19H3V21H5V19ZM7 19H9V21H7V19ZM21 19H19V21H21V19ZM19 15H21V17H19V15ZM5 15H3V17H5V15Z"}))),iT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M5 9H19V11H21V7H3V17H15V15H5V9Z"}),C.createElement("path",{d:"M20.0001 17.4142L18.2072 19.2071L16.793 17.7929L18.5859 16L16.793 14.2071L18.2072 12.7929L20.0001 14.5858L21.793 12.7929L23.2072 14.2071L21.4143 16L23.2072 17.7929L21.793 19.2071L20.0001 17.4142Z"}))),aT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M10 3C6.13401 3 3 6.13401 3 10C3 13.866 6.13401 17 10 17C11.5723 17 13.0236 16.4816 14.1922 15.6064L19.2929 20.7071L20.7071 19.2929L15.6064 14.1922C16.4816 13.0236 17 11.5723 17 10C17 6.13401 13.866 3 10 3ZM5 10C5 7.23858 7.23858 5 10 5C12.7614 5 15 7.23858 15 10C15 12.7614 12.7614 15 10 15C7.23858 15 5 12.7614 5 10Z",clipRule:"evenodd"}))),oT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M4 2V12.3197C4 16.1074 6.14002 19.57 9.52786 21.2639L12 22.5L14.4721 21.2639C17.86 19.57 20 16.1074 20 12.3197V2H4ZM13 4H18V12.3197C18 15.3498 16.288 18.1199 13.5777 19.4751L13 19.7639V4ZM11 4V19.7639L10.4223 19.4751C7.71202 18.1199 6 15.3498 6 12.3197V4H11Z",clipRule:"evenodd"}))),sT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M12 14.5C13.3807 14.5 14.5 13.3807 14.5 12C14.5 10.6193 13.3807 9.5 12 9.5C10.6193 9.5 9.5 10.6193 9.5 12C9.5 13.3807 10.6193 14.5 12 14.5Z"}),C.createElement("path",{fillRule:"evenodd",d:"M5.59047 4.61667L7.73535 5.23024C7.90906 5.12057 8.08729 5.01742 8.26969 4.9211L8.8106 2.75746C8.92189 2.3123 9.32187 2 9.78074 2H14.2192C14.6781 2 15.078 2.3123 15.1893 2.75746L15.7302 4.9211C15.9127 5.01743 16.0909 5.1206 16.2646 5.23028L18.4097 4.61667C18.8509 4.49047 19.3213 4.68071 19.5507 5.07811L21.77 8.92191C21.9994 9.3193 21.9289 9.82185 21.5991 10.1408L19.9942 11.6926C19.998 11.7946 20 11.8971 20 12C20 12.103 19.998 12.2055 19.9942 12.3075L21.5991 13.8593C21.9289 14.1782 21.9994 14.6808 21.77 15.0782L19.5507 18.922C19.3213 19.3194 18.8509 19.5096 18.4097 19.3834L16.2646 18.7698C16.0909 18.8794 15.9126 18.9826 15.7303 19.0789L15.1893 21.2426C15.078 21.6878 14.6781 22.0001 14.2192 22.0001H9.78074C9.32187 22.0001 8.92189 21.6878 8.8106 21.2426L8.26967 19.0789C8.08728 18.9826 7.90907 18.8794 7.73537 18.7698L5.59047 19.3834C5.1493 19.5096 4.67885 19.3193 4.44942 18.9219L2.23019 15.0781C2.00076 14.6807 2.07123 14.1782 2.40111 13.8592L4.00577 12.3076C4.00191 12.2056 3.99996 12.103 3.99996 12C3.99996 11.897 4.00191 11.7944 4.00577 11.6924L2.40111 10.1408C2.07123 9.82185 2.00076 9.31931 2.23019 8.92191L4.44942 5.07811C4.67885 4.68071 5.1493 4.49047 5.59047 4.61667ZM13.4384 4L14.0066 6.27263L14.7963 6.68967C14.933 6.76185 15.0667 6.8392 15.197 6.92148L15.954 7.39936L18.2091 6.75428L19.6475 9.24574L17.9619 10.8756L17.9956 11.7681C17.9985 11.8449 18 11.9222 18 12C18 12.0778 17.9985 12.1551 17.9956 12.232L17.9619 13.1245L19.6475 14.7543L18.2091 17.2458L15.9539 16.6007L15.1969 17.0786C15.0666 17.1608 14.933 17.2382 14.7964 17.3103L14.0066 17.7274L13.4384 20.0001H10.5615L9.99334 17.7274L9.20357 17.3103C9.0669 17.2382 8.93328 17.1608 8.80298 17.0786L8.04599 16.6007L5.79108 17.2457L4.35263 14.7543L6.03809 13.1246L6.00434 12.2321C6.00143 12.1552 5.99996 12.0778 5.99996 12C5.99996 11.9222 6.00143 11.8448 6.00434 11.7679L6.03808 10.8754L4.35263 9.24574L5.79108 6.75428L8.04597 7.39931L8.80297 6.92145C8.93328 6.83918 9.06691 6.76184 9.20358 6.68967L9.99336 6.27263L10.5615 4H13.4384Z",clipRule:"evenodd"}))),lT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M17 4H19V7H22V9H19V12H17V9H14V7H17V4Z"}),C.createElement("path",{fillRule:"evenodd",d:"M13.3819 14.8618C13.3819 14.8618 14.156 15.2587 14.5877 15.5754C15.2779 16.0817 16.0732 16.8818 16.3217 18C16.3504 18.1291 16.3718 18.2624 16.3849 18.4C16.3948 18.5041 16.4 18.6106 16.4 18.7196V20L2 20L2 18.7196C2 18.6106 2.00518 18.5041 2.01509 18.4C2.0282 18.2624 2.0496 18.1291 2.07828 18C2.32658 16.8823 3.12062 16.0826 3.80611 15.5777C4.24345 15.2556 4.68302 15.0177 5.01726 14.859C5.17463 14.7843 5.30866 14.7271 5.4081 14.687L5.58887 14.6179L5.66038 14.5963C6.26182 14.4454 6.49887 14.2588 6.57556 14.1823L6.57415 13.5893C6.09164 13.1281 5.87178 12.5905 5.77247 12.1848C5.46152 11.8317 5.2529 11.4055 5.14173 10.8622C5.07124 10.5178 5.06936 10.1927 5.15098 9.88435C5.18373 9.76058 5.22757 9.64854 5.27799 9.54693L5.25537 9.4743L5.24898 9.44731C4.93626 8.12731 5.04708 7.08466 5.38775 6.27783C5.72576 5.47727 6.26031 4.97981 6.67835 4.69287C7.67082 4.01106 8.78472 4 9.21783 4C10.2301 4 10.9362 4.55189 11.3179 4.95238C11.8459 5.11349 12.3048 5.45723 12.6421 5.91119C12.8847 6.23768 13.1342 6.67044 13.2573 7.26733C13.3791 7.85792 13.3668 8.55847 13.1649 9.41355L13.1586 9.44015L13.1252 9.54806C13.3264 9.93791 13.4457 10.464 13.2053 11.045L13.1459 11.1907L13.1452 11.1924L13.1273 11.2371C13.034 11.4706 12.8856 11.8419 12.6355 12.1619C12.5387 12.569 12.3203 13.1181 11.8286 13.5884V14.2886C11.943 14.3517 12.193 14.4582 12.6989 14.5846L12.7304 14.5924L12.7611 14.6028C12.7732 14.6069 12.7925 14.6136 12.8183 14.623C12.8599 14.6382 12.9185 14.6604 12.991 14.6897C13.0955 14.732 13.3819 14.8618 13.3819 14.8618ZM11.2272 8.91598C11.3674 8.30346 11.3486 7.91438 11.2985 7.67121C11.2493 7.43251 11.1559 7.2643 11.0368 7.10413C10.9252 6.95386 10.8091 6.88818 10.7343 6.86533L10.2322 6.71215L9.87003 6.33214C9.67345 6.12586 9.4557 6 9.21783 6C8.82584 6 8.26127 6.03191 7.81083 6.34135C7.62244 6.47066 7.3837 6.69234 7.23024 7.05578C7.08237 7.40601 6.96718 7.99518 7.18609 8.94759L7.42594 9.71769L7.09053 10.3937C7.09194 10.4086 7.09491 10.4309 7.10113 10.4613C7.15059 10.703 7.21857 10.8007 7.2734 10.863L7.59826 11.2318L7.71513 11.7093C7.75185 11.8593 7.82353 12.0168 7.95612 12.1436L8.57212 12.7324L8.57754 15.0102L7.98805 15.5982C7.6028 15.9825 7.03137 16.3048 6.21349 16.5192C6.19847 16.5249 6.17956 16.5324 6.15712 16.5414C5.93152 16.6325 5.45081 16.8502 4.99227 17.188C4.64396 17.4446 4.37811 17.7178 4.20979 18L14.1898 18C14.0213 17.7182 13.7549 17.4449 13.4046 17.1879C12.9584 16.8605 12.4879 16.6437 12.2403 16.5435C12.2043 16.5289 12.1752 16.5177 12.1541 16.5098C11.5958 16.3671 11.179 16.2142 10.8632 16.0402L9.82857 15.47V12.7339L10.4461 12.1432C10.5814 12.0137 10.6534 11.8522 10.6897 11.6994L10.7907 11.2745L11.0597 10.9304C11.0755 10.9102 11.1061 10.8642 11.1469 10.7815C11.1881 10.6981 11.2226 10.6138 11.27 10.4951L11.2894 10.4467L11.2939 10.4353L11.311 10.3937L10.9727 9.73827L11.2272 8.91598Z",clipRule:"evenodd"}))),uT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M19.4141 9.99995 16.707 12.7071 15.2927 11.2928 16.5856 9.99995 15.2927 8.70706 16.707 7.29285 19.4141 9.99995ZM7.29304 7.29282 4.58594 9.99992 7.29304 12.707 8.70726 11.2928 7.41436 9.99992 8.70726 8.70703 7.29304 7.29282Z"}),C.createElement("path",{fillRule:"evenodd",d:"M2 16V4H22V16H2ZM4 6H20V14H4V6Z",clipRule:"evenodd"}),C.createElement("path",{d:"M20 18H4V20H20V18Z"}))),cT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M11.5688 16.4039C11.5335 16.3891 11.4842 16.3681 11.4228 16.3409C11.3002 16.2865 11.1287 16.2072 10.9244 16.1041C10.5184 15.8992 9.97035 15.5938 9.41596 15.1949C8.37749 14.4477 7 13.1442 7 11.3333C7 9.51192 8.45173 8 10.2857 8C10.9154 8 11.5023 8.18001 12 8.48931C12.4977 8.18001 13.0846 8 13.7143 8C15.5483 8 17 9.51192 17 11.3333C17 13.1442 15.6225 14.4477 14.584 15.1949C14.0297 15.5938 13.4816 15.8992 13.0756 16.1041C12.8713 16.2072 12.6998 16.2865 12.5772 16.3409C12.5158 16.3681 12.4665 16.3891 12.4312 16.4039L12 16.576L11.5688 16.4039ZM9 11.3333C9 10.5774 9.59497 10 10.2857 10C10.662 10 11.004 10.1669 11.2435 10.444L12 11.3189L12.7565 10.444C12.996 10.1669 13.338 10 13.7143 10C14.405 10 15 10.5774 15 11.3333C15 12.0998 14.3775 12.8796 13.416 13.5714C12.9703 13.8921 12.5184 14.1451 12.1744 14.3187C12.1121 14.3501 12.0537 14.3788 12 14.4046C11.9463 14.3788 11.8879 14.3501 11.8256 14.3187C11.4816 14.1451 11.0297 13.8921 10.584 13.5714C9.62251 12.8796 9 12.0998 9 11.3333Z",clipRule:"evenodd"}),C.createElement("path",{fillRule:"evenodd",d:"M2 8C2 5.79086 3.79086 4 6 4H18C20.2091 4 22 5.79086 22 8V20H6C3.79086 20 2 18.2091 2 16V8ZM6 6H18C19.1046 6 20 6.89543 20 8V18H6C4.89543 18 4 17.1046 4 16V8C4 6.89543 4.89543 6 6 6Z",clipRule:"evenodd"}))),dT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M4 4V2H20V4H4ZM16.7072 9.29286 12.0001 4.58575 7.29297 9.29286 8.70718 10.7071 11 8.41426 11 15.5858 8.70703 13.2928 7.29282 14.707 11.9999 19.4141 16.707 14.707 15.2928 13.2928 13 15.5856 13 8.41411 15.293 10.7071 16.7072 9.29286ZM4 20V22H20V20H4Z"}))),fT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M10 8C10 6.89543 10.8954 6 12 6 13.1046 6 14 6.89543 14 8 14 9.10457 13.1046 10 12 10 10.8954 10 10 9.10457 10 8ZM12 12C10.8954 12 10 12.8954 10 14 10 15.1046 10.8954 16 12 16 13.1046 16 14 15.1046 14 14 14 12.8954 13.1046 12 12 12Z"}),C.createElement("path",{fillRule:"evenodd",d:"M6 8C6 4.68629 8.68629 2 12 2C15.3137 2 18 4.68629 18 8V14C18 16.973 15.8377 19.441 13 19.917V20H16V22H8V20H11V19.917C8.16229 19.441 6 16.973 6 14V8ZM12 18C14.2091 18 16 16.2091 16 14V8C16 5.79086 14.2091 4 12 4C9.79086 4 8 5.79086 8 8V14C8 16.2091 9.79086 18 12 18Z",clipRule:"evenodd"}))),pT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M14 10H10V12H14V10Z"}),C.createElement("path",{fillRule:"evenodd",d:"M6 4V20L12 15L18 20V4H6ZM16 6V15.7299L12 12.3966L8 15.7299V6H16Z",clipRule:"evenodd"}))),hT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M3 3V21H21V3H3ZM11 5H5V11H11V5ZM13 5V11H19V5H13ZM11 13H5V19H11V13ZM13 19V13H19V19H13Z",clipRule:"evenodd"}))),mT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M15 7C13.8954 7 13 7.89543 13 9C13 10.1046 13.8954 11 15 11C16.1046 11 17 10.1046 17 9C17 7.89543 16.1046 7 15 7Z"}),C.createElement("path",{fillRule:"evenodd",d:"M12.6567 3C11.5959 3 10.5785 3.42143 9.82831 4.17157L3.82831 10.1716C2.26621 11.7337 2.26622 14.2663 3.82831 15.8284L8.17146 20.1716C9.73356 21.7337 12.2662 21.7337 13.8283 20.1716L19.8283 14.1716C20.5785 13.4214 20.9999 12.404 20.9999 11.3431V3H12.6567ZM12.6567 5H18.9999V11.3431C18.9999 11.8736 18.7892 12.3823 18.4141 12.7574L12.4141 18.7574C11.633 19.5384 10.3667 19.5384 9.58568 18.7574L5.24253 14.4142C4.46148 13.6332 4.46148 12.3668 5.24252 11.5858L11.2425 5.58579C11.6176 5.21071 12.1263 5 12.6567 5Z",clipRule:"evenodd"}))),vT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M5 3H19V7H17V5H13V19H15V21H9V19H11V5H7V7H5V3Z"}))),gT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M3 11V3H11V11H3ZM5 5H9V9H5V5ZM13 11V3H21V11H13ZM15 5H19V9H15V5ZM3 13V21H11V13H3ZM9 15H5V19H9V15ZM13 21V13H21V21H13ZM15 15H19V19H15V15Z",clipRule:"evenodd"}))),yT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M16 6H8V10H16V6Z"}),C.createElement("path",{fillRule:"evenodd",d:"M4 2L4 22L12 15L20 22V2L4 2ZM18 17.5925L12 12.3425L6 17.5925V4H18V17.5925Z",clipRule:"evenodd"}))),$T=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M16 5H2V7H16V5ZM16 11H2V13H16V11ZM2 17H16V19H2V17ZM18 5H22V7H18V5ZM22 11H18V13H22V11ZM18 17H22V19H18V17Z",clipRule:"evenodd"}))),wT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M6.25492 8.00006H9V10.0001H3V4.00006H5V6.34109C7.73532 2.94903 12.608 1.95877 16.5 4.20581C20.8046 6.69109 22.2795 12.1954 19.7942 16.5C17.3089 20.8047 11.8047 22.2796 7.50002 19.7943L8.50002 18.0623C11.8481 19.9952 16.1292 18.8481 18.0622 15.5C19.9952 12.152 18.848 7.87086 15.5 5.93786C12.3245 4.10448 8.30959 5.04193 6.25492 8.00006ZM5 7.9586L5.07181 8.00006H5V7.9586Z",clipRule:"evenodd"}))),bT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M12.0001 2.58594L16.7072 7.29305L15.293 8.70726L13 6.41429L13 15.0001H11L11 6.41444L8.70718 8.70726L7.29297 7.29304L12.0001 2.58594Z"}),C.createElement("path",{d:"M17.917 13.0001H19.9381C19.979 13.3277 20 13.6615 20 14.0001C20 18.4184 16.4183 22.0001 12 22.0001C7.58172 22.0001 4 18.4184 4 14.0001C4 13.6615 4.02104 13.3277 4.06189 13.0001H6.08296C6.0284 13.3253 6 13.6594 6 14.0001C6 17.3138 8.68629 20.0001 12 20.0001C15.3137 20.0001 18 17.3138 18 14.0001C18 13.6594 17.9716 13.3253 17.917 13.0001Z"}))),ET=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M9.97976 4.51502C9.68686 4.71607 9.31513 5.06166 9.07718 5.62524C8.84412 6.17722 8.70057 7.02849 8.99966 8.31532L9.24544 9.10442L8.88905 9.82264C8.88154 9.83779 8.8762 9.85182 8.87214 9.86716C8.86424 9.89702 8.84715 9.98427 8.88655 10.1768C8.96381 10.5543 9.08395 10.7586 9.21651 10.9091L9.54138 11.278L9.65824 11.7555C9.71979 12.007 9.84643 12.2988 10.0997 12.5409L10.7157 13.1297L10.7214 15.5557L10.1319 16.1438C9.72447 16.5503 9.08883 16.9202 8.1148 17.1719C7.9382 17.2383 7.17938 17.5406 6.44379 18.0824C5.72516 18.6118 5.18275 19.251 5.03817 20L18.9618 20C18.8172 19.2515 18.2747 18.6123 17.5515 18.0818C17.1497 17.787 16.7318 17.5571 16.3916 17.3945C16.2239 17.3143 16.0812 17.2534 15.9771 17.2115C15.9155 17.1867 15.8694 17.1694 15.8417 17.1592C15.1518 16.9843 14.6681 16.804 14.3203 16.6124L13.2857 16.0421L13.2857 13.131L13.9032 12.5403C14.1615 12.2932 14.2881 11.9945 14.3486 11.7399L14.4496 11.315L14.7185 10.9709C14.7656 10.9107 14.8212 10.8214 14.882 10.6983C14.9431 10.5744 14.9927 10.4523 15.0518 10.3043L15.0758 10.2444L15.0804 10.233L15.1586 10.0413C15.1699 10.0141 15.1724 9.99919 15.173 9.99461C15.1737 9.98956 15.174 9.98464 15.1732 9.97724C15.1715 9.95988 15.1629 9.9175 15.1292 9.85229L14.754 9.12528L15.0172 8.27515C15.2095 7.44451 15.1934 6.87882 15.1128 6.48804C15.0328 6.10012 14.877 5.82372 14.6974 5.58192C14.5014 5.31817 14.2706 5.16655 14.0637 5.10343L13.5616 4.95025L13.1995 4.57024C12.9075 4.26384 12.5132 4 12.0223 4C11.522 4 10.6783 4.03512 9.97976 4.51502ZM16.9483 8.80019L16.9065 8.93507C17.158 9.42239 17.3072 10.08 17.0066 10.8062L16.9323 10.9883L16.9315 10.9905L16.9091 11.0464C16.7924 11.3383 16.607 11.8024 16.2944 12.2024C16.1734 12.7113 15.9003 13.3976 15.2857 13.9855L15.2857 14.8608C15.4287 14.9396 15.7412 15.0728 16.3737 15.2307L16.413 15.2405L16.4514 15.2535C16.4665 15.2586 16.4906 15.267 16.5228 15.2787C16.5749 15.2977 16.6481 15.3255 16.7387 15.3621C17.1587 15.5322 17.9513 15.8945 18.7346 16.4692C19.697 17.1753 20.8228 18.338 20.9811 20C20.9935 20.1301 21 20.2632 21 20.3994L21 22L3 22L3 20.3994C3 20.2632 3.00647 20.1301 3.01886 20C3.17716 18.3387 4.30182 17.1762 5.25763 16.4721C6.06171 15.8798 6.87182 15.5155 7.26012 15.3587C7.3793 15.3106 7.45874 15.282 7.48608 15.2723L7.53015 15.2568L7.57547 15.2454C8.32727 15.0568 8.62359 14.8235 8.71945 14.7278L8.71769 13.9866C8.11454 13.4101 7.83972 12.7381 7.71559 12.231C7.3269 11.7896 7.06613 11.2569 6.92716 10.5778C6.83905 10.1472 6.8367 9.74087 6.93871 9.35543C6.97966 9.20073 7.03446 9.06067 7.09749 8.93366L7.06921 8.84287L7.06122 8.80913C6.67033 7.15914 6.80885 5.85582 7.23468 4.84729C7.6572 3.84659 8.32539 3.22476 8.84794 2.86609C10.0885 2.01383 11.4809 2 12.0223 2C13.2876 2 14.1703 2.68986 14.6473 3.19048C15.3074 3.39187 15.8809 3.82154 16.3026 4.38899C16.6059 4.7971 16.9178 5.33805 17.0716 6.08416C17.2238 6.8224 17.2084 7.69809 16.9561 8.76694L16.9483 8.80019Z",clipRule:"evenodd"}))),CT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M15 12L10 9V15L15 12Z"}),C.createElement("path",{fillRule:"evenodd",d:"M2 20V4H22V20H2ZM4 6H20V18H4V6Z",clipRule:"evenodd"}))),ST=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M13 12C13 10.8954 13.8954 10 15 10C16.1046 10 17 10.8954 17 12C17 13.1046 16.1046 14 15 14C13.8954 14 13 13.1046 13 12Z"}),C.createElement("path",{fillRule:"evenodd",d:"M12 21.8C11.3538 21.9311 10.6849 22 10 22V2C10.6849 2 11.3538 2.06886 12 2.20004C16.5645 3.12658 20 7.16208 20 12C20 16.8379 16.5645 20.8734 12 21.8ZM12 19.748C15.4505 18.8599 18 15.7277 18 12C18 8.27232 15.4505 5.14012 12 4.25204V19.748Z",clipRule:"evenodd"}),C.createElement("path",{d:"M7 10C5.89543 10 5 10.8954 5 12C5 13.1046 5.89543 14 7 14C8.10457 14 9 13.1046 9 12C9 10.8954 8.10457 10 7 10Z"}))),_T=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M9 9 3 9 3 7 7 7 7 3 9 3 9 9ZM9 15V21H7L7 17H3V15H9ZM21 15H15V21H17V17H21V15ZM15 9V3H17V7H21V9H15ZM12 10C10.8954 10 10 10.8954 10 12 10 13.1046 10.8954 14 12 14 13.1046 14 14 13.1046 14 12 14 10.8954 13.1046 10 12 10Z"}))),xT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM9.38254 19.562C8.93442 18.5917 8.57343 17.3767 8.33284 16H5.07026C6.02529 17.651 7.55338 18.929 9.38254 19.562ZM11.0285 18.3283C10.7671 17.6747 10.5403 16.8885 10.3667 16H13.6333C13.4597 16.8885 13.2329 17.6747 12.9715 18.3283C12.6653 19.0937 12.3508 19.5788 12.1039 19.8399C12.0635 19.8826 12.0289 19.9155 12 19.9407C11.9711 19.9155 11.9365 19.8826 11.8961 19.8399C11.6492 19.5788 11.3347 19.0937 11.0285 18.3283ZM10 12C10 12.6936 10.0306 13.3627 10.0872 14H13.9128C13.9694 13.3627 14 12.6936 14 12C14 11.3064 13.9694 10.6373 13.9128 10H10.0872C10.0306 10.6373 10 11.3064 10 12ZM8.08002 10C8.02754 10.6462 8 11.3151 8 12C8 12.6849 8.02754 13.3538 8.08002 14H4.25204C4.08751 13.3608 4 12.6906 4 12C4 11.3094 4.08751 10.6392 4.25204 10H8.08002ZM10.3667 8H13.6333C13.4597 7.11152 13.2329 6.32531 12.9715 5.67171C12.6653 4.90634 12.3508 4.42118 12.1039 4.16007C12.0635 4.11741 12.0289 4.08451 12 4.05929C11.9711 4.08451 11.9365 4.11741 11.8961 4.16007C11.6492 4.42118 11.3347 4.90634 11.0285 5.67171C10.7671 6.32531 10.5403 7.11152 10.3667 8ZM15.92 10C15.9725 10.6462 16 11.3151 16 12C16 12.6849 15.9725 13.3538 15.92 14H19.748C19.9125 13.3608 20 12.6906 20 12C20 11.3094 19.9125 10.6392 19.748 10H15.92ZM18.9297 8H15.6672C15.4266 6.62334 15.0656 5.40828 14.6175 4.43801C16.4466 5.07104 17.9747 6.34903 18.9297 8ZM8.33284 8H5.07026C6.02529 6.34903 7.55338 5.07104 9.38254 4.438C8.93442 5.40828 8.57343 6.62334 8.33284 8ZM14.6175 19.562C15.0656 18.5917 15.4266 17.3767 15.6672 16H18.9297C17.9747 17.651 16.4466 18.929 14.6175 19.562Z",clipRule:"evenodd"}))),OT=({name:e})=>E.jsx("div",{className:"distributionName",children:e}),PT=({title:e,description:t,name:r,image:n,buttonAction:i})=>E.jsxs("div",{className:"kard",children:[E.jsxs("div",{className:"card-header",children:[E.jsx("h2",{children:e}),E.jsx("div",{className:"badge-wrapper",children:E.jsx(OT,{name:r})})]}),E.jsxs("div",{className:"main",children:[n&&E.jsx("div",{className:"image-box",children:E.jsx("img",{src:n,alt:e})}),E.jsxs("div",{className:"hover-overlay",children:[E.jsx("p",{children:t}),E.jsx(jm,{onPress:i,children:"Create"})]})]})]}),TT=({distribution:e,can_manage:t,handler:r})=>E.jsx(PT,{title:e.title,description:e.description,image:e.image,buttonAction:()=>r(t,e.name),name:e.name}),AT=({distributions:e,can_manage:t,handler:r})=>e&&E.jsx("div",{className:"distributionsList new",children:e.map(n=>E.jsx("div",{children:E.jsx(TT,{distribution:n,handler:r,can_manage:t})},n.name))}),RT=e=>{window.location.href=e},jT=({site:e})=>{const t=({name:n})=>E.jsx("div",{className:"distributionName",children:n}),r=({title:n,description:i,name:a,image:o,id:s,buttonAction:l,buttonText:u,distribution:c})=>E.jsxs("div",{className:"kard",children:[E.jsxs("div",{className:"main",children:[E.jsxs("div",{className:"card-header",children:[E.jsxs("div",{children:[E.jsx("h2",{children:n}),E.jsxs("span",{className:"id",children:["id: ",a]})]}),E.jsx("div",{className:"badge-wrapper",children:E.jsx(t,{name:c})})]}),o&&E.jsx("div",{className:"image-box",children:E.jsx("img",{src:o,alt:n})})]}),E.jsxs("div",{className:"hover-overlay",children:[E.jsx("p",{children:i}),E.jsx(jm,{onPress:l,children:u})]})]});return e.needs_upgrade,E.jsx(r,{title:e.title,description:e.description,buttonAction:()=>RT(e["@id"]),name:e.id,buttonText:"Visit",distribution:e.distribution})},IT=({sites:e})=>e&&E.jsx("div",{className:"sitesList",children:e.map((t,r)=>E.jsx("div",{children:E.jsx(jT,{site:t})},r))});var Z5=typeof global=="object"&&global&&global.Object===Object&&global,LT=typeof self=="object"&&self&&self.Object===Object&&self,sn=Z5||LT||Function("return this")(),_r=sn.Symbol,W5=Object.prototype,NT=W5.hasOwnProperty,MT=W5.toString,as=_r?_r.toStringTag:void 0;function kT(e){var t=NT.call(e,as),r=e[as];try{e[as]=void 0;var n=!0}catch{}var i=MT.call(e);return n&&(t?e[as]=r:delete e[as]),i}var FT=Object.prototype,DT=FT.toString;function VT(e){return DT.call(e)}var HT="[object Null]",UT="[object Undefined]",Wy=_r?_r.toStringTag:void 0;function _i(e){return e==null?e===void 0?UT:HT:Wy&&Wy in Object(e)?kT(e):VT(e)}function G5(e,t){return function(r){return e(t(r))}}var Im=G5(Object.getPrototypeOf,Object);function Fr(e){return e!=null&&typeof e=="object"}var BT="[object Object]",zT=Function.prototype,KT=Object.prototype,Q5=zT.toString,qT=KT.hasOwnProperty,ZT=Q5.call(Object);function Cd(e){if(!Fr(e)||_i(e)!=BT)return!1;var t=Im(e);if(t===null)return!0;var r=qT.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Q5.call(r)==ZT}function WT(){this.__data__=[],this.size=0}function Lm(e,t){return e===t||e!==e&&t!==t}function Sd(e,t){for(var r=e.length;r--;)if(Lm(e[r][0],t))return r;return-1}var GT=Array.prototype,QT=GT.splice;function YT(e){var t=this.__data__,r=Sd(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():QT.call(t,r,1),--this.size,!0}function JT(e){var t=this.__data__,r=Sd(t,e);return r<0?void 0:t[r][1]}function XT(e){return Sd(this.__data__,e)>-1}function eA(e,t){var r=this.__data__,n=Sd(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Fn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++ts))return!1;var u=a.get(e),c=a.get(t);if(u&&c)return u==t&&c==e;var d=-1,p=!0,f=r&KA?new cl:void 0;for(a.set(e,t),a.set(t,e);++d-1&&e%1==0&&e-1&&e%1==0&&e<=yR}var $R="[object Arguments]",wR="[object Array]",bR="[object Boolean]",ER="[object Date]",CR="[object Error]",SR="[object Function]",_R="[object Map]",xR="[object Number]",OR="[object Object]",PR="[object RegExp]",TR="[object Set]",AR="[object String]",RR="[object WeakMap]",jR="[object ArrayBuffer]",IR="[object DataView]",LR="[object Float32Array]",NR="[object Float64Array]",MR="[object Int8Array]",kR="[object Int16Array]",FR="[object Int32Array]",DR="[object Uint8Array]",VR="[object Uint8ClampedArray]",HR="[object Uint16Array]",UR="[object Uint32Array]",De={};De[LR]=De[NR]=De[MR]=De[kR]=De[FR]=De[DR]=De[VR]=De[HR]=De[UR]=!0;De[$R]=De[wR]=De[jR]=De[bR]=De[IR]=De[ER]=De[CR]=De[SR]=De[_R]=De[xR]=De[OR]=De[PR]=De[TR]=De[AR]=De[RR]=!1;function BR(e){return Fr(e)&&Dm(e.length)&&!!De[_i(e)]}function Vm(e){return function(t){return e(t)}}var aw=typeof Gt=="object"&&Gt&&!Gt.nodeType&&Gt,js=aw&&typeof Qt=="object"&&Qt&&!Qt.nodeType&&Qt,zR=js&&js.exports===aw,n1=zR&&Z5.process,uo=function(){try{var e=js&&js.require&&js.require("util").types;return e||n1&&n1.binding&&n1.binding("util")}catch{}}(),t2=uo&&uo.isTypedArray,Hm=t2?Vm(t2):BR,KR=Object.prototype,qR=KR.hasOwnProperty;function ow(e,t){var r=Rt(e),n=!r&&xd(e),i=!r&&!n&&dl(e),a=!r&&!n&&!i&&Hm(e),o=r||n||i||a,s=o?rw(e.length,String):[],l=s.length;for(var u in e)(t||qR.call(e,u))&&!(o&&(u=="length"||i&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Fm(u,l)))&&s.push(u);return s}var ZR=Object.prototype;function Od(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||ZR;return e===r}var WR=G5(Object.keys,Object),GR=Object.prototype,QR=GR.hasOwnProperty;function sw(e){if(!Od(e))return WR(e);var t=[];for(var r in Object(e))QR.call(e,r)&&r!="constructor"&&t.push(r);return t}function xl(e){return e!=null&&Dm(e.length)&&!Y5(e)}function Ol(e){return xl(e)?ow(e):sw(e)}function Vp(e){return ew(e,Ol,km)}var YR=1,JR=Object.prototype,XR=JR.hasOwnProperty;function ej(e,t,r,n,i,a){var o=r&YR,s=Vp(e),l=s.length,u=Vp(t),c=u.length;if(l!=c&&!o)return!1;for(var d=l;d--;){var p=s[d];if(!(o?p in t:XR.call(t,p)))return!1}var f=a.get(e),m=a.get(t);if(f&&m)return f==t&&m==e;var v=!0;a.set(e,t),a.set(t,e);for(var $=o;++da,typeof e[n]>"u"&&(Array.isArray(e)&&n==="-"&&(n=e.length),i&&(t[a]!==""&&t[a]<1/0||t[a]==="-"?e[n]=[]:e[n]={})),!i)break;e=e[n]}var s=e[n];return r===void 0?delete e[n]:e[n]=r,s}function Km(e){if(typeof e=="string"){if(e=e.split("/"),e[0]==="")return e;throw new Error("Invalid JSON pointer.")}else if(Array.isArray(e)){for(const t of e)if(typeof t!="string"&&typeof t!="number")throw new Error("Invalid JSON pointer. Must be of type string or number.");return e}throw new Error("Invalid JSON pointer.")}function fw(e,t){if(typeof e!="object")throw new Error("Invalid input object.");t=Km(t);var r=t.length;if(r===1)return e;for(var n=1;ni?0:i+t),r=r>i?i:r,r<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(i);++n0){if(++t>=sL)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var _w=cL(oL);function xw(e){return _w(Sw(e,void 0,nL),e+"")}var dL=1,fL=2,pL=4,Ic=xw(function(e,t){var r={};if(e==null)return r;var n=!1;t=zm(t,function(a){return a=So(a,e),n||(n=a.length>1),a}),Al(e,yw(e),r),n&&(r=Is(r,dL|fL|pL,tL));for(var i=t.length;i--;)Ew(r,t[i]);return r}),hL=Object.prototype,mL=hL.hasOwnProperty;function vL(e,t){return e!=null&&mL.call(e,t)}function Ow(e,t,r){t=So(t,e);for(var n=-1,i=t.length,a=!1;++nJL)return[];var r=i1,n=XL(e,i1);t=DL(t),e-=i1;for(var i=rw(n,t);++r-1}var mN=hN,vN=Rd;function gN(e,t){var r=this.__data__,n=vN(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var yN=gN,$N=tN,wN=uN,bN=fN,EN=mN,CN=yN;function xo(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=bF}var t0=EF,CF=fa,SF=t0,_F=cn,xF="[object Arguments]",OF="[object Array]",PF="[object Boolean]",TF="[object Date]",AF="[object Error]",RF="[object Function]",jF="[object Map]",IF="[object Number]",LF="[object Object]",NF="[object RegExp]",MF="[object Set]",kF="[object String]",FF="[object WeakMap]",DF="[object ArrayBuffer]",VF="[object DataView]",HF="[object Float32Array]",UF="[object Float64Array]",BF="[object Int8Array]",zF="[object Int16Array]",KF="[object Int32Array]",qF="[object Uint8Array]",ZF="[object Uint8ClampedArray]",WF="[object Uint16Array]",GF="[object Uint32Array]",Ve={};Ve[HF]=Ve[UF]=Ve[BF]=Ve[zF]=Ve[KF]=Ve[qF]=Ve[ZF]=Ve[WF]=Ve[GF]=!0;Ve[xF]=Ve[OF]=Ve[DF]=Ve[PF]=Ve[VF]=Ve[TF]=Ve[AF]=Ve[RF]=Ve[jF]=Ve[IF]=Ve[LF]=Ve[NF]=Ve[MF]=Ve[kF]=Ve[FF]=!1;function QF(e){return _F(e)&&SF(e.length)&&!!Ve[CF(e)]}var YF=QF;function JF(e){return function(t){return e(t)}}var ha=JF,Nc={exports:{}};Nc.exports;(function(e,t){var r=Iw,n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a&&r.process,s=function(){try{var l=i&&i.require&&i.require("util").types;return l||o&&o.binding&&o.binding("util")}catch{}}();e.exports=s})(Nc,Nc.exports);var r0=Nc.exports,XF=YF,eD=ha,j2=r0,I2=j2&&j2.isTypedArray,tD=I2?eD(I2):XF,n0=tD,rD=iF,nD=Md,iD=nr,aD=kd,oD=e0,sD=n0,lD=Object.prototype,uD=lD.hasOwnProperty;function cD(e,t){var r=iD(e),n=!r&&nD(e),i=!r&&!n&&aD(e),a=!r&&!n&&!i&&sD(e),o=r||n||i||a,s=o?rD(e.length,String):[],l=s.length;for(var u in e)(t||uD.call(e,u))&&!(o&&(u=="length"||i&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||oD(u,l)))&&s.push(u);return s}var Vw=cD,dD=Object.prototype;function fD(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||dD;return e===r}var i0=fD;function pD(e,t){return function(r){return e(t(r))}}var Hw=pD,hD=Hw,mD=hD(Object.keys,Object),vD=mD,gD=i0,yD=vD,$D=Object.prototype,wD=$D.hasOwnProperty;function bD(e){if(!gD(e))return yD(e);var t=[];for(var r in Object(e))wD.call(e,r)&&r!="constructor"&&t.push(r);return t}var ED=bD,CD=Qm,SD=t0;function _D(e){return e!=null&&SD(e.length)&&!CD(e)}var Ro=_D,xD=Vw,OD=ED,PD=Ro;function TD(e){return PD(e)?xD(e):OD(e)}var jl=TD,AD=Rl,RD=jl;function jD(e,t){return e&&AD(t,RD(t),e)}var ID=jD;function LD(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var ND=LD,MD=un,kD=i0,FD=ND,DD=Object.prototype,VD=DD.hasOwnProperty;function HD(e){if(!MD(e))return FD(e);var t=kD(e),r=[];for(var n in e)n=="constructor"&&(t||!VD.call(e,n))||r.push(n);return r}var UD=HD,BD=Vw,zD=UD,KD=Ro;function qD(e){return KD(e)?BD(e,!0):zD(e)}var jo=qD,ZD=Rl,WD=jo;function GD(e,t){return e&&ZD(t,WD(t),e)}var QD=GD,Mc={exports:{}};Mc.exports;(function(e,t){var r=ln,n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a?r.Buffer:void 0,s=o?o.allocUnsafe:void 0;function l(u,c){if(c)return u.slice();var d=u.length,p=s?s(d):new u.constructor(d);return u.copy(p),p}e.exports=l})(Mc,Mc.exports);var Uw=Mc.exports;function YD(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++rs))return!1;var u=a.get(e),c=a.get(t);if(u&&c)return u==t&&c==e;var d=-1,p=!0,f=r&RB?new OB:void 0;for(a.set(e,t),a.set(t,e);++d0&&r(s)?t>1?i8(s,t-1,r,n,i):bz(i,s):n||(i[i.length]=s)}return i}var f0=i8;function Cz(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++rt||a&&o&&l&&!s&&!u||n&&o&&l||!r&&l||!i)return 1;if(!n&&!a&&!u&&e=s)return l;var u=r[n];return l*(u=="desc"?-1:1)}}return e.index-t.index}var zq=Bq,l1=ma,Kq=m0,qq=$q,Zq=kq,Wq=Dq,Gq=ha,Qq=zq,Yq=Il,Jq=nr;function Xq(e,t,r){t.length?t=l1(t,function(a){return Jq(a)?function(o){return Kq(o,a.length===1?a[0]:a)}:a}):t=[Yq];var n=-1;t=l1(t,Gq(qq));var i=Zq(e,function(a,o,s){var l=l1(t,function(u){return u(a)});return{criteria:l,index:++n,value:a}});return Wq(i,function(a,o){return Qq(a,o,r)})}var eZ=Xq;function tZ(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var f8=tZ,rZ=f8,f$=Math.max;function nZ(e,t,r){return t=f$(t===void 0?e.length-1:t,0),function(){for(var n=arguments,i=-1,a=f$(n.length-t,0),o=Array(a);++i0){if(++t>=dZ)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var mZ=hZ,vZ=cZ,gZ=mZ,yZ=gZ(vZ),$Z=yZ,wZ=Il,bZ=iZ,EZ=$Z;function CZ(e,t){return EZ(bZ(e,t,wZ),e+"")}var va=CZ,SZ=_o,_Z=Ro,xZ=e0,OZ=un;function PZ(e,t,r){if(!OZ(r))return!1;var n=typeof t;return(n=="number"?_Z(r)&&xZ(t,r.length):n=="string"&&t in r)?SZ(r[t],e):!1}var v0=PZ,TZ=f0,AZ=eZ,RZ=va,h$=v0,jZ=RZ(function(e,t){if(e==null)return[];var r=t.length;return r>1&&h$(e,t[0],t[1])?t=[]:r>2&&h$(t[0],t[1],t[2])&&(t=[t[0]]),AZ(e,TZ(t,1),[])}),p8=jZ;function IZ(e,t,r,n){for(var i=e.length,a=r+(n?1:-1);n?a--:++a-1}var g0=zZ;function KZ(e,t,r){for(var n=-1,i=e==null?0:e.length;++n=aW){var u=t?null:nW(e);if(u)return iW(u);o=!1,i=rW,l=new XZ}else l=t?[]:s;e:for(;++n2?t[2]:void 0;for(i&&pW(t[0],t[1],i)&&(n=1);++r=120&&c.length>=120)?new yW(o&&c):void 0}c=e[0];var d=-1,p=s[0];e:for(;++dArray.isArray(e)?e:[e],vr=e=>e===void 0,yu=e=>Fc(e)||Array.isArray(e)?Object.keys(e):[],za=(e,t)=>e.hasOwnProperty(t),co=e=>JW(E0(e)),y$=e=>vr(e)||Array.isArray(e)&&e.length===0,tG=(e,t,r,n)=>t&&za(t,r)&&e&&za(e,r)&&n(e[r],t[r]),d1=(e,t)=>vr(e)&&t===0||vr(t)&&e===0||Dr(e,t),rG=(e,t)=>vr(e)&&t===!1||vr(t)&&e===!1||Dr(e,t),$$=e=>vr(e)||Dr(e,{})||e===!0,$u=e=>vr(e)||Dr(e,{}),w$=e=>vr(e)||Fc(e)||e===!0||e===!1;function b$(e,t){return y$(e)&&y$(t)?!0:Dr(co(e),co(t))}function nG(e,t){return e=g$(e),t=g$(t),Dr(co(e),co(t))}function qu(e,t,r,n){var i=E0(yu(e).concat(yu(t)));return $u(e)&&$u(t)?!0:$u(e)&&yu(t).length||$u(t)&&yu(e).length?!1:i.every(function(a){var o=e[a],s=t[a];return Array.isArray(o)&&Array.isArray(s)?Dr(co(e),co(t)):Array.isArray(o)&&!Array.isArray(s)||Array.isArray(s)&&!Array.isArray(o)?!1:tG(e,t,a,n)})}function iG(e,t,r,n){return Fc(e)&&Fc(t)?n(e,t):Array.isArray(e)&&Array.isArray(t)?qu(e,t,r,n):Dr(e,t)}function f1(e,t,r,n){var i=v$(e,n),a=v$(t,n),o=eG(i,a,n);return o.length===Math.max(i.length,a.length)}var aG={title:Dr,uniqueItems:rG,minLength:d1,minItems:d1,minProperties:d1,required:b$,enum:b$,type:nG,items:iG,anyOf:f1,allOf:f1,oneOf:f1,properties:qu,patternProperties:qu,dependencies:qu},oG=["properties","patternProperties","dependencies","uniqueItems","minLength","minItems","minProperties","required"],sG=["additionalProperties","additionalItems","contains","propertyNames","not"];function Gp(e,t,r){if(r=XW(r,{ignore:[]}),$$(e)&&$$(t))return!0;if(!w$(e)||!w$(t))throw new Error("Either of the values are not a JSON schema.");if(e===t)return!0;if(c1(e)&&c1(t))return e===t;if(e===void 0&&t===!1||t===void 0&&e===!1||vr(e)&&!vr(t)||!vr(e)&&vr(t))return!1;var n=E0(Object.keys(e).concat(Object.keys(t)));if(r.ignore.length&&(n=n.filter(a=>r.ignore.indexOf(a)===-1)),!n.length)return!0;function i(a,o){return Gp(a,o,r)}return n.every(function(a){var o=e[a],s=t[a];if(sG.indexOf(a)!==-1)return Gp(o,s,r);var l=aG[a];if(l||(l=Dr),Dr(o,s))return!0;if(oG.indexOf(a)===-1&&(!za(e,a)&&za(t,a)||za(e,a)&&!za(t,a)))return o===s;var u=l(o,s,a,i);if(!c1(u))throw new Error("Comparer must return true or false");return u})}var C0=Gp;function lG(e){return Object.prototype.toString.call(e)==="[object Array]"}var S0=Array.isArray||lG;function uG(e){return(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")&&e.valueOf()===e.valueOf()}var cG=uG,dG=cG;function fG(e){return dG(e)&&e%1===0}var pG=fG,hG=S0,mG=pG;function vG(e){var t;if(!hG(e)||(t=e.length,!t))return!1;for(var r=0;rt&&(n=t,t=e,e=n),t=t-e}return r*e}function S$(e,t){var r=0,n;if(e===0)return t;if(t===0)return e;for(;!(e&1)&&!(t&1);)e>>>=1,t>>>=1,r++;for(;!(e&1);)e>>>=1;for(;t;){for(;!(t&1);)t>>>=1;e>t&&(n=t,t=e,e=n),t=t-e}return e<1){if(n=t[0],r=t[1],!$G(r))throw new TypeError("gcd()::invalid input argument. Accessor must be a function. Value: `"+r+"`.")}else n=t[0];else throw new TypeError("gcd()::invalid input argument. Must provide an array of integers. Value: `"+t[0]+"`.");if(i=n.length,i<2)return null;if(r){for(a=new Array(i),s=0;s1){if(n=t[0],r=t[1],!CG(r))throw new TypeError("lcm()::invalid input argument. Accessor must be a function. Value: `"+r+"`.")}else n=t[0];else throw new TypeError("lcm()::invalid input argument. Must provide an array of integers. Value: `"+t[0]+"`.");if(i=n.length,i<2)return null;if(r){for(a=new Array(i),s=0;s1?r[i-1]:void 0,o=i>2?r[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,o&&nQ(r[0],r[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++n-1;)s!==e&&j$.call(s,l,1),j$.call(e,l,1);return e}var MQ=NQ,kQ=MQ;function FQ(e,t){return e&&e.length&&t&&t.length?kQ(e,t):e}var DQ=FQ,VQ=Il;function HQ(e){return typeof e=="function"?e:VQ}var UQ=HQ,BQ=Mw,zQ=d8,KQ=UQ,qQ=nr;function ZQ(e,t){var r=qQ(e)?BQ:zQ;return r(e,KQ(t))}var A8=ZQ,WQ=Dd,GQ=g0,QQ=y0,YQ=ma,JQ=ha,XQ=Vd,eY=200;function tY(e,t,r,n){var i=-1,a=GQ,o=!0,s=e.length,l=[],u=t.length;if(!s)return l;r&&(t=YQ(t,JQ(r))),n?(a=QQ,o=!1):t.length>=eY&&(a=XQ,o=!1,t=new WQ(t));e:for(;++icY(uY(e.map(_0))),mY=(e,t)=>e.map(r=>r&&r[t]),j8=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),_0=e=>R8(e)||Array.isArray(e)?Object.keys(e):[],vY=e=>e!==void 0,gY=e=>R8(e)||e===!0||e===!1,I8=e=>!_0(e).length&&e!==!1&&e!==!0,yY=(e,...t)=>fY.apply(null,[e].concat(lY(t)));var L8={allUniqueKeys:hY,deleteUndefinedProps:pY,getValues:mY,has:j8,isEmptySchema:I8,isSchema:gY,keys:_0,notUndefined:vY,uniqWith:dY,withoutArr:yY};const $Y=C0,wY=A8,{allUniqueKeys:bY,deleteUndefinedProps:EY,getValues:CY,keys:ss,notUndefined:SY,uniqWith:_Y,withoutArr:I$}=L8;function xY(e){wY(e,function(t,r){t===!1&&delete e[r]})}function L$(e,t){return bY(e).reduce(function(n,i){const a=CY(e,i),o=_Y(a.filter(SY),$Y);return n[i]=t(o,i),n},{})}var OY={keywords:["properties","patternProperties","additionalProperties"],resolver(e,t,r,n){n.ignoreAdditionalProperties||(e.forEach(function(a){const o=e.filter(c=>c!==a),s=ss(a.properties),u=ss(a.patternProperties).map(c=>new RegExp(c));o.forEach(function(c){const d=ss(c.properties),p=d.filter(m=>u.some(v=>v.test(m)));I$(d,s,p).forEach(function(m){c.properties[m]=r.properties([c.properties[m],a.additionalProperties],m)})})}),e.forEach(function(a){const o=e.filter(l=>l!==a),s=ss(a.patternProperties);a.additionalProperties===!1&&o.forEach(function(l){const u=ss(l.patternProperties);I$(u,s).forEach(d=>delete l.patternProperties[d])})}));const i={additionalProperties:r.additionalProperties(e.map(a=>a.additionalProperties)),patternProperties:L$(e.map(a=>a.patternProperties),r.patternProperties),properties:L$(e.map(a=>a.properties),r.properties)};return i.additionalProperties===!1&&xY(i.properties),EY(i)}};const PY=C0,TY=A8,{allUniqueKeys:AY,deleteUndefinedProps:RY,has:jY,isSchema:N8,notUndefined:M8,uniqWith:IY}=L8;function LY(e){TY(e,function(t,r){t===!1&&e.splice(r,1)})}function NY(e,t){return e.map(function(r){if(r)if(Array.isArray(r.items)){const n=r.items[t];if(N8(n))return n;if(jY(r,"additionalItems"))return r.additionalItems}else return r.items})}function MY(e){return e.map(function(t){if(t)return Array.isArray(t.items)?t.additionalItems:t.items})}function kY(e,t,r){return AY(r).reduce(function(i,a){const o=NY(e,a),s=IY(o.filter(M8),PY);return i[a]=t(s,a),i},[])}var FY={keywords:["items","additionalItems"],resolver(e,t,r){const n=e.map(s=>s.items),i=n.filter(M8),a={};i.every(N8)?a.items=r.items(n):a.items=kY(e,r.items,n);let o;return i.every(Array.isArray)?o=e.map(s=>s.additionalItems):i.some(Array.isArray)&&(o=MY(e)),o&&(a.additionalItems=r.additionalItems(o)),a.additionalItems===!1&&Array.isArray(a.items)&&LY(a.items),RY(a)}};const k8=mB,Dc=C0,DY=_G,VY=mQ,F8=P8,x0=T8,HY=xQ,UY=$8,Qp=n8,fo=Bd,BY=DQ,D8=p8,O0=$0,Ja=w0,V8=OY,H8=FY,bu=(e,t)=>e.indexOf(t)!==-1,zY=e=>fo(e)||e===!0||e===!1,KY=e=>e===!1,U8=e=>e===!0,zd=(e,t,r)=>r(e),B8=e=>D8(O0(x0(e))),Vc=e=>e!==void 0,z8=e=>O0(x0(e.map(YY))),Lo=e=>e[0],qY=e=>B8(e),Ll=e=>Math.max.apply(Math,e),Nl=e=>Math.min.apply(Math,e),ZY=e=>e.some(U8),WY=e=>Ja(F8(e),Qp);function GY(e){return function(t,r){return Dc({[e]:t},{[e]:r})}}function K8(e){let{allOf:t=[],...r}=e;return r=fo(e)?r:e,[r,...t.map(K8)]}function q8(e,t){return e.map(r=>r&&r[t])}function QY(e,t){return e.map(function(r,n){try{return t(r,n)}catch{return}}).filter(Vc)}function YY(e){return fo(e)||Array.isArray(e)?Object.keys(e):[]}function Yp(e,t){if(t=t||[],!e.length)return t;const r=e.slice(0).shift(),n=e.slice(1);return t.length?Yp(n,F8(t.map(i=>r.map(a=>[a].concat(i))))):Yp(n,r.map(i=>i))}function Z8(e,t){let r;try{r=e.map(function(n){return JSON.stringify(n,null,2)}).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(i=>n.set(i)),n}static accessor(t){const n=(this[Ry]=this[Ry]={accessors:{}}).accessors,i=this.prototype;function a(o){const s=is(o);n[s]||(F_(i,o),n[s]=!0)}return q.isArray(t)?t.forEach(a):a(t),this}}$r.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);q.freezeMethods($r.prototype);q.freezeMethods($r);function Wf(e,t){const r=this||Eo,n=t||r,i=$r.from(n.headers);let a=n.data;return q.forEach(e,function(s){a=s.call(r,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function $5(e){return!!(e&&e.__CANCEL__)}function _l(e,t,r){Ce.call(this,e??"canceled",Ce.ERR_CANCELED,t,r),this.name="CanceledError"}q.inherits(_l,Ce,{__CANCEL__:!0});function D_(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Ce("Request failed with status code "+r.status,[Ce.ERR_BAD_REQUEST,Ce.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const V_=Qr.isStandardBrowserEnv?function(){return{write:function(r,n,i,a,o,s){const l=[];l.push(r+"="+encodeURIComponent(n)),q.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),q.isString(a)&&l.push("path="+a),q.isString(o)&&l.push("domain="+o),s===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(r){const n=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function H_(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function U_(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function w5(e,t){return e&&!H_(t)?U_(e,t):t}const B_=Qr.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function i(a){let o=a;return t&&(r.setAttribute("href",o),o=r.href),r.setAttribute("href",o),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=i(window.location.href),function(o){const s=q.isString(o)?i(o):o;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}();function z_(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function K_(e,t){e=e||10;const r=new Array(e),n=new Array(e);let i=0,a=0,o;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=n[a];o||(o=u),r[i]=l,n[i]=u;let d=a,p=0;for(;d!==i;)p+=r[d++],d=d%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-o{const a=i.loaded,o=i.lengthComputable?i.total:void 0,s=a-r,l=n(s),u=a<=o;r=a;const c={loaded:a,total:o,progress:o?a/o:void 0,bytes:s,rate:l||void 0,estimated:l&&o&&u?(o-a)/l:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const q_=typeof XMLHttpRequest<"u",Z_=q_&&function(e){return new Promise(function(r,n){let i=e.data;const a=$r.from(e.headers).normalize(),o=e.responseType;let s;function l(){e.cancelToken&&e.cancelToken.unsubscribe(s),e.signal&&e.signal.removeEventListener("abort",s)}q.isFormData(i)&&(Qr.isStandardBrowserEnv||Qr.isStandardBrowserWebWorkerEnv?a.setContentType(!1):a.setContentType("multipart/form-data;",!1));let u=new XMLHttpRequest;if(e.auth){const f=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(f+":"+m))}const c=w5(e.baseURL,e.url);u.open(e.method.toUpperCase(),v5(c,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function d(){if(!u)return;const f=$r.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),v={data:!o||o==="text"||o==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:f,config:e,request:u};D_(function(h){r(h),l()},function(h){n(h),l()},v),u=null}if("onloadend"in u?u.onloadend=d:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(d)},u.onabort=function(){u&&(n(new Ce("Request aborted",Ce.ECONNABORTED,e,u)),u=null)},u.onerror=function(){n(new Ce("Network Error",Ce.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const v=e.transitional||g5;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),n(new Ce(m,v.clarifyTimeoutError?Ce.ETIMEDOUT:Ce.ECONNABORTED,e,u)),u=null},Qr.isStandardBrowserEnv){const f=(e.withCredentials||B_(c))&&e.xsrfCookieName&&V_.read(e.xsrfCookieName);f&&a.set(e.xsrfHeaderName,f)}i===void 0&&a.setContentType(null),"setRequestHeader"in u&&q.forEach(a.toJSON(),function(m,v){u.setRequestHeader(v,m)}),q.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),o&&o!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",jy(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",jy(e.onUploadProgress)),(e.cancelToken||e.signal)&&(s=f=>{u&&(n(!f||f.type?new _l(null,e,u):f),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(s),e.signal&&(e.signal.aborted?s():e.signal.addEventListener("abort",s)));const p=z_(c);if(p&&Qr.protocols.indexOf(p)===-1){n(new Ce("Unsupported protocol "+p+":",Ce.ERR_BAD_REQUEST,e));return}u.send(i||null)})},Bu={http:$_,xhr:Z_};q.forEach(Bu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const W_={getAdapter:e=>{e=q.isArray(e)?e:[e];const{length:t}=e;let r,n;for(let i=0;ie instanceof $r?e.toJSON():e;function lo(e,t){t=t||{};const r={};function n(u,c,d){return q.isPlainObject(u)&&q.isPlainObject(c)?q.merge.call({caseless:d},u,c):q.isPlainObject(c)?q.merge({},c):q.isArray(c)?c.slice():c}function i(u,c,d){if(q.isUndefined(c)){if(!q.isUndefined(u))return n(void 0,u,d)}else return n(u,c,d)}function a(u,c){if(!q.isUndefined(c))return n(void 0,c)}function o(u,c){if(q.isUndefined(c)){if(!q.isUndefined(u))return n(void 0,u)}else return n(void 0,c)}function s(u,c,d){if(d in t)return n(u,c);if(d in e)return n(void 0,u)}const l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(u,c)=>i(Ly(u),Ly(c),!0)};return q.forEach(Object.keys(Object.assign({},e,t)),function(c){const d=l[c]||i,p=d(e[c],t[c],c);q.isUndefined(p)&&d!==s||(r[c]=p)}),r}const b5="1.4.0",Sm={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Sm[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Ny={};Sm.transitional=function(t,r,n){function i(a,o){return"[Axios v"+b5+"] Transitional option '"+a+"'"+o+(n?". "+n:"")}return(a,o,s)=>{if(t===!1)throw new Ce(i(o," has been removed"+(r?" in "+r:"")),Ce.ERR_DEPRECATED);return r&&!Ny[o]&&(Ny[o]=!0,console.warn(i(o," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,o,s):!0}};function G_(e,t,r){if(typeof e!="object")throw new Ce("options must be an object",Ce.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const a=n[i],o=t[a];if(o){const s=e[a],l=s===void 0||o(s,a,e);if(l!==!0)throw new Ce("option "+a+" must be "+l,Ce.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ce("Unknown option "+a,Ce.ERR_BAD_OPTION)}}const Ap={assertOptions:G_,validators:Sm},qn=Ap.validators;class Wi{constructor(t){this.defaults=t,this.interceptors={request:new Ay,response:new Ay}}request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=lo(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:a}=r;n!==void 0&&Ap.assertOptions(n,{silentJSONParsing:qn.transitional(qn.boolean),forcedJSONParsing:qn.transitional(qn.boolean),clarifyTimeoutError:qn.transitional(qn.boolean)},!1),i!=null&&(q.isFunction(i)?r.paramsSerializer={serialize:i}:Ap.assertOptions(i,{encode:qn.function,serialize:qn.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o;o=a&&q.merge(a.common,a[r.method]),o&&q.forEach(["delete","get","head","post","put","patch","common"],m=>{delete a[m]}),r.headers=$r.concat(o,a);const s=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(r)===!1||(l=l&&v.synchronous,s.unshift(v.fulfilled,v.rejected))});const u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let c,d=0,p;if(!l){const m=[Iy.bind(this),void 0];for(m.unshift.apply(m,s),m.push.apply(m,u),p=m.length,c=Promise.resolve(r);d{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](i);n._listeners=null}),this.promise.then=i=>{let a;const o=new Promise(s=>{n.subscribe(s),a=s}).then(i);return o.cancel=function(){n.unsubscribe(a)},o},t(function(a,o,s){n.reason||(n.reason=new _l(a,o,s),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new _m(function(i){t=i}),cancel:t}}}function Q_(e){return function(r){return e.apply(null,r)}}function Y_(e){return q.isObject(e)&&e.isAxiosError===!0}const Rp={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Rp).forEach(([e,t])=>{Rp[t]=e});function E5(e){const t=new Wi(e),r=i5(Wi.prototype.request,t);return q.extend(r,Wi.prototype,t,{allOwnKeys:!0}),q.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return E5(lo(e,i))},r}const Xe=E5(Eo);Xe.Axios=Wi;Xe.CanceledError=_l;Xe.CancelToken=_m;Xe.isCancel=$5;Xe.VERSION=b5;Xe.toFormData=bd;Xe.AxiosError=Ce;Xe.Cancel=Xe.CanceledError;Xe.all=function(t){return Promise.all(t)};Xe.spread=Q_;Xe.isAxiosError=Y_;Xe.mergeConfig=lo;Xe.AxiosHeaders=$r;Xe.formToJSON=e=>y5(q.isHTMLForm(e)?new FormData(e):e);Xe.HttpStatusCode=Rp;Xe.default=Xe;Xe.defaults.headers.common.Accept="application/json";const J_=async()=>await(await Xe.get("/@sites")).data,X_=()=>({queryKey:["distributions"],queryFn:async()=>J_()}),ex=async e=>await(await Xe.get(`/@sites/${e}`)).data,tx=e=>({queryKey:["distribution",e],queryFn:async()=>ex(e),select:t=>{const{timeZone:r}=Intl.DateTimeFormat().resolvedOptions();return{...t,schema:{...t.schema,definitions:{...t.schema.definitions,timezones:{...t.schema.definitions.timezones,default:r}},properties:{...t.schema.properties,site_id:{...t.schema.properties.site_id,default:t.default_values.site_id},default_language:{...t.schema.properties.default_language,default:t.default_values.default_language}}}}}}),rx=async e=>await(await Xe.post("/@sites/",e)).data,xm=typeof document<"u"?C.useLayoutEffect:()=>{};function Pa(e){const t=R.useRef(null);return xm(()=>{t.current=e},[e]),R.useCallback((...r)=>{const n=t.current;return n==null?void 0:n(...r)},[])}const Pc={prefix:String(Math.round(Math.random()*1e10)),current:0},C5=C.createContext(Pc),nx=C.createContext(!1);let ix=!!(typeof window<"u"&&window.document&&window.document.createElement),Qf=new WeakMap;function ax(e=!1){let t=R.useContext(C5),r=R.useRef(null);if(r.current===null&&!e){var n,i;let a=(i=C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(n=i.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(a){let o=Qf.get(a);o==null?Qf.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==o.state&&(t.current=o.id,Qf.delete(a))}r.current=++t.current}return r.current}function ox(e){let t=R.useContext(C5);t===Pc&&!ix&&console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server.");let r=ax(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`}function sx(e){let t=C.useId(),[r]=R.useState(S5()),n=r?"react-aria":`react-aria${Pc.prefix}`;return e||`${n}-${t}`}C.useId;function lx(){return!1}function ux(){return!0}function cx(e){return()=>{}}function S5(){return typeof C.useSyncExternalStore=="function"?C.useSyncExternalStore(cx,lx,ux):R.useContext(nx)}let My=new Map;function dx(e,t){if(e===t)return e;let r=My.get(e);if(r)return r(t),t;let n=My.get(t);return n?(n(e),e):t}function _5(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}const qt=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},Yr=e=>e&&"window"in e&&e.window===e?e:qt(e).defaultView||window;function x5(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t=65&&i.charCodeAt(2)<=90?t[i]=_5(a,o):(i==="className"||i==="UNSAFE_className")&&typeof a=="string"&&typeof o=="string"?t[i]=O5(a,o):i==="id"&&a&&o?t.id=dx(a,o):t[i]=o!==void 0?o:a}}return t}function fx(...e){return e.length===1?e[0]:t=>{for(let r of e)typeof r=="function"?r(t):r!=null&&(r.current=t)}}const px=new Set(["id"]),hx=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),mx=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),vx=/^(data-.*)$/;function Om(e,t={}){let{labelable:r,isLink:n,propNames:i}=t,a={};for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&(px.has(o)||r&&hx.has(o)||n&&mx.has(o)||i!=null&&i.has(o)||vx.test(o))&&(a[o]=e[o]);return a}function Ki(e){if(gx())e.focus({preventScroll:!0});else{let t=yx(e);e.focus(),$x(t)}}let fu=null;function gx(){if(fu==null){fu=!1;try{document.createElement("div").focus({get preventScroll(){return fu=!0,!0}})}catch{}}return fu}function yx(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(r=>e.test(r.brand)))||e.test(window.navigator.userAgent)}function Pm(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function ol(){return Pm(/^Mac/i)}function wx(){return Pm(/^iPhone/i)}function P5(){return Pm(/^iPad/i)||ol()&&navigator.maxTouchPoints>1}function T5(){return wx()||P5()}function bx(){return Ed(/AppleWebKit/i)&&!Ex()}function Ex(){return Ed(/Chrome/i)}function A5(){return Ed(/Android/i)}function Cx(){return Ed(/Firefox/i)}function sl(e,t,r=!0){var n,i;let{metaKey:a,ctrlKey:o,altKey:s,shiftKey:l}=t;Cx()&&(!((i=window.event)===null||i===void 0||(n=i.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(ol()?a=!0:o=!0);let u=bx()&&ol()&&!P5()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:o,altKey:s,shiftKey:l}):new MouseEvent("click",{metaKey:a,ctrlKey:o,altKey:s,shiftKey:l,bubbles:!0,cancelable:!0});sl.isOpening=r,Ki(e),e.dispatchEvent(u),sl.isOpening=!1}sl.isOpening=!1;let Ta=new Map,jp=new Set;function ky(){if(typeof window>"u")return;function e(n){return"propertyName"in n}let t=n=>{if(!e(n)||!n.target)return;let i=Ta.get(n.target);i||(i=new Set,Ta.set(n.target,i),n.target.addEventListener("transitioncancel",r,{once:!0})),i.add(n.propertyName)},r=n=>{if(!e(n)||!n.target)return;let i=Ta.get(n.target);if(i&&(i.delete(n.propertyName),i.size===0&&(n.target.removeEventListener("transitioncancel",r),Ta.delete(n.target)),Ta.size===0)){for(let a of jp)a();jp.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",r)}typeof document<"u"&&(document.readyState!=="loading"?ky():document.addEventListener("DOMContentLoaded",ky));function R5(e){requestAnimationFrame(()=>{Ta.size===0?e():jp.add(e)})}function Sx(){let e=R.useRef(new Map),t=R.useCallback((i,a,o,s)=>{let l=s!=null&&s.once?(...u)=>{e.current.delete(o),o(...u)}:o;e.current.set(o,{type:a,eventTarget:i,fn:l,options:s}),i.addEventListener(a,o,s)},[]),r=R.useCallback((i,a,o,s)=>{var l;let u=((l=e.current.get(o))===null||l===void 0?void 0:l.fn)||o;i.removeEventListener(a,u,s),e.current.delete(o)},[]),n=R.useCallback(()=>{e.current.forEach((i,a)=>{r(i.eventTarget,i.type,a,i.options)})},[r]);return R.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function _x(e){const t=R.useRef(null);return R.useMemo(()=>({get current(){return t.current},set current(r){t.current=r,typeof e=="function"?e(r):e&&(e.current=r)}}),[e])}function j5(e,t){xm(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function Ip(e){return e.mozInputSource===0&&e.isTrusted?!0:A5()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function xx(e){return!A5()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}let Ba="default",Lp="",zu=new WeakMap;function Fy(e){if(T5()){if(Ba==="default"){const t=qt(e);Lp=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Ba="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(zu.set(e,e.style.userSelect),e.style.userSelect="none")}function pu(e){if(T5()){if(Ba!=="disabled")return;Ba="restoring",setTimeout(()=>{R5(()=>{if(Ba==="restoring"){const t=qt(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Lp||""),Lp="",Ba="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&zu.has(e)){let t=zu.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),zu.delete(e)}}const I5=C.createContext({register:()=>{}});I5.displayName="PressResponderContext";function Ox(e,t){return t.get?t.get.call(e):t.value}function L5(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function Px(e,t){var r=L5(e,t,"get");return Ox(e,r)}function Tx(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ax(e,t,r){Tx(e,t),t.set(e,r)}function Rx(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}function Dy(e,t,r){var n=L5(e,t,"set");return Rx(e,n,r),r}function jx(e){let t=R.useContext(I5);if(t){let{register:r,...n}=t;e=an(n,e),r()}return j5(t,e.ref),e}var hu=new WeakMap;class mu{continuePropagation(){Dy(this,hu,!1)}get shouldStopPropagation(){return Px(this,hu)}constructor(t,r,n){Ax(this,hu,{writable:!0,value:void 0}),Dy(this,hu,!0),this.type=t,this.pointerType=r,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey}}const Vy=Symbol("linkClicked");function Ix(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:i,onPressUp:a,isDisabled:o,isPressed:s,preventFocusOnPress:l,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:c,ref:d,...p}=jx(e),[f,m]=R.useState(!1),v=R.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:$,removeAllGlobalListeners:h}=Sx(),g=Pa((w,T)=>{let F=v.current;if(o||F.didFirePressStart)return!1;let N=!0;if(F.isTriggeringEvent=!0,n){let K=new mu("pressstart",T,w);n(K),N=K.shouldStopPropagation}return r&&r(!0),F.isTriggeringEvent=!1,F.didFirePressStart=!0,m(!0),N}),y=Pa((w,T,F=!0)=>{let N=v.current;if(!N.didFirePressStart)return!1;N.ignoreClickAfterPress=!0,N.didFirePressStart=!1,N.isTriggeringEvent=!0;let K=!0;if(i){let D=new mu("pressend",T,w);i(D),K=D.shouldStopPropagation}if(r&&r(!1),m(!1),t&&F&&!o){let D=new mu("press",T,w);t(D),K&&(K=D.shouldStopPropagation)}return N.isTriggeringEvent=!1,K}),b=Pa((w,T)=>{let F=v.current;if(o)return!1;if(a){F.isTriggeringEvent=!0;let N=new mu("pressup",T,w);return a(N),F.isTriggeringEvent=!1,N.shouldStopPropagation}return!0}),O=Pa(w=>{let T=v.current;T.isPressed&&T.target&&(T.isOverTarget&&T.pointerType!=null&&y(mn(T.target,w),T.pointerType,!1),T.isPressed=!1,T.isOverTarget=!1,T.activePointerId=null,T.pointerType=null,h(),c||pu(T.target))}),S=Pa(w=>{u&&O(w)}),_=R.useMemo(()=>{let w=v.current,T={onKeyDown(N){if(Yf(N.nativeEvent,N.currentTarget)&&N.currentTarget.contains(N.target)){var K;Uy(N.target,N.key)&&N.preventDefault();let D=!0;if(!w.isPressed&&!N.repeat){w.target=N.currentTarget,w.isPressed=!0,D=g(N,"keyboard");let U=N.currentTarget,te=ae=>{Yf(ae,U)&&!ae.repeat&&U.contains(ae.target)&&w.target&&b(mn(w.target,ae),"keyboard")};$(qt(N.currentTarget),"keyup",_5(te,F),!0)}D&&N.stopPropagation(),N.metaKey&&ol()&&((K=w.metaKeyEvents)===null||K===void 0||K.set(N.key,N.nativeEvent))}else N.key==="Meta"&&(w.metaKeyEvents=new Map)},onClick(N){if(!(N&&!N.currentTarget.contains(N.target))&&N&&N.button===0&&!w.isTriggeringEvent&&!sl.isOpening){let K=!0;if(o&&N.preventDefault(),!w.ignoreClickAfterPress&&!w.ignoreEmulatedMouseEvents&&!w.isPressed&&(w.pointerType==="virtual"||Ip(N.nativeEvent))){!o&&!l&&Ki(N.currentTarget);let D=g(N,"virtual"),U=b(N,"virtual"),te=y(N,"virtual");K=D&&U&&te}w.ignoreEmulatedMouseEvents=!1,w.ignoreClickAfterPress=!1,K&&N.stopPropagation()}}},F=N=>{var K;if(w.isPressed&&w.target&&Yf(N,w.target)){var D;Uy(N.target,N.key)&&N.preventDefault();let te=N.target;y(mn(w.target,N),"keyboard",w.target.contains(te)),h(),N.key!=="Enter"&&Tm(w.target)&&w.target.contains(te)&&!N[Vy]&&(N[Vy]=!0,sl(w.target,N,!1)),w.isPressed=!1,(D=w.metaKeyEvents)===null||D===void 0||D.delete(N.key)}else if(N.key==="Meta"&&(!((K=w.metaKeyEvents)===null||K===void 0)&&K.size)){var U;let te=w.metaKeyEvents;w.metaKeyEvents=void 0;for(let ae of te.values())(U=w.target)===null||U===void 0||U.dispatchEvent(new KeyboardEvent("keyup",ae))}};if(typeof PointerEvent<"u"){T.onPointerDown=U=>{if(U.button!==0||!U.currentTarget.contains(U.target))return;if(xx(U.nativeEvent)){w.pointerType="virtual";return}Jf(U.currentTarget)&&U.preventDefault(),w.pointerType=U.pointerType;let te=!0;w.isPressed||(w.isPressed=!0,w.isOverTarget=!0,w.activePointerId=U.pointerId,w.target=U.currentTarget,!o&&!l&&Ki(U.currentTarget),c||Fy(w.target),te=g(U,w.pointerType),$(qt(U.currentTarget),"pointermove",N,!1),$(qt(U.currentTarget),"pointerup",K,!1),$(qt(U.currentTarget),"pointercancel",D,!1)),te&&U.stopPropagation()},T.onMouseDown=U=>{U.currentTarget.contains(U.target)&&U.button===0&&(Jf(U.currentTarget)&&U.preventDefault(),U.stopPropagation())},T.onPointerUp=U=>{!U.currentTarget.contains(U.target)||w.pointerType==="virtual"||U.button===0&&Ea(U,U.currentTarget)&&b(U,w.pointerType||U.pointerType)};let N=U=>{U.pointerId===w.activePointerId&&(w.target&&Ea(U,w.target)?!w.isOverTarget&&w.pointerType!=null&&(w.isOverTarget=!0,g(mn(w.target,U),w.pointerType)):w.target&&w.isOverTarget&&w.pointerType!=null&&(w.isOverTarget=!1,y(mn(w.target,U),w.pointerType,!1),S(U)))},K=U=>{U.pointerId===w.activePointerId&&w.isPressed&&U.button===0&&w.target&&(Ea(U,w.target)&&w.pointerType!=null?y(mn(w.target,U),w.pointerType):w.isOverTarget&&w.pointerType!=null&&y(mn(w.target,U),w.pointerType,!1),w.isPressed=!1,w.isOverTarget=!1,w.activePointerId=null,w.pointerType=null,h(),c||pu(w.target))},D=U=>{O(U)};T.onDragStart=U=>{U.currentTarget.contains(U.target)&&O(U)}}else{T.onMouseDown=D=>{if(D.button!==0||!D.currentTarget.contains(D.target))return;if(Jf(D.currentTarget)&&D.preventDefault(),w.ignoreEmulatedMouseEvents){D.stopPropagation();return}w.isPressed=!0,w.isOverTarget=!0,w.target=D.currentTarget,w.pointerType=Ip(D.nativeEvent)?"virtual":"mouse",!o&&!l&&Ki(D.currentTarget),g(D,w.pointerType)&&D.stopPropagation(),$(qt(D.currentTarget),"mouseup",N,!1)},T.onMouseEnter=D=>{if(!D.currentTarget.contains(D.target))return;let U=!0;w.isPressed&&!w.ignoreEmulatedMouseEvents&&w.pointerType!=null&&(w.isOverTarget=!0,U=g(D,w.pointerType)),U&&D.stopPropagation()},T.onMouseLeave=D=>{if(!D.currentTarget.contains(D.target))return;let U=!0;w.isPressed&&!w.ignoreEmulatedMouseEvents&&w.pointerType!=null&&(w.isOverTarget=!1,U=y(D,w.pointerType,!1),S(D)),U&&D.stopPropagation()},T.onMouseUp=D=>{D.currentTarget.contains(D.target)&&!w.ignoreEmulatedMouseEvents&&D.button===0&&b(D,w.pointerType||"mouse")};let N=D=>{if(D.button===0){if(w.isPressed=!1,h(),w.ignoreEmulatedMouseEvents){w.ignoreEmulatedMouseEvents=!1;return}w.target&&Ea(D,w.target)&&w.pointerType!=null?y(mn(w.target,D),w.pointerType):w.target&&w.isOverTarget&&w.pointerType!=null&&y(mn(w.target,D),w.pointerType,!1),w.isOverTarget=!1}};T.onTouchStart=D=>{if(!D.currentTarget.contains(D.target))return;let U=Lx(D.nativeEvent);if(!U)return;w.activePointerId=U.identifier,w.ignoreEmulatedMouseEvents=!0,w.isOverTarget=!0,w.isPressed=!0,w.target=D.currentTarget,w.pointerType="touch",!o&&!l&&Ki(D.currentTarget),c||Fy(w.target),g(D,w.pointerType)&&D.stopPropagation(),$(Yr(D.currentTarget),"scroll",K,!0)},T.onTouchMove=D=>{if(!D.currentTarget.contains(D.target))return;if(!w.isPressed){D.stopPropagation();return}let U=Hy(D.nativeEvent,w.activePointerId),te=!0;U&&Ea(U,D.currentTarget)?!w.isOverTarget&&w.pointerType!=null&&(w.isOverTarget=!0,te=g(D,w.pointerType)):w.isOverTarget&&w.pointerType!=null&&(w.isOverTarget=!1,te=y(D,w.pointerType,!1),S(D)),te&&D.stopPropagation()},T.onTouchEnd=D=>{if(!D.currentTarget.contains(D.target))return;if(!w.isPressed){D.stopPropagation();return}let U=Hy(D.nativeEvent,w.activePointerId),te=!0;U&&Ea(U,D.currentTarget)&&w.pointerType!=null?(b(D,w.pointerType),te=y(D,w.pointerType)):w.isOverTarget&&w.pointerType!=null&&(te=y(D,w.pointerType,!1)),te&&D.stopPropagation(),w.isPressed=!1,w.activePointerId=null,w.isOverTarget=!1,w.ignoreEmulatedMouseEvents=!0,w.target&&!c&&pu(w.target),h()},T.onTouchCancel=D=>{D.currentTarget.contains(D.target)&&(D.stopPropagation(),w.isPressed&&O(D))};let K=D=>{w.isPressed&&D.target.contains(w.target)&&O({currentTarget:w.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};T.onDragStart=D=>{D.currentTarget.contains(D.target)&&O(D)}}return T},[$,o,l,h,c,O,S,y,g,b]);return R.useEffect(()=>()=>{var w;c||pu((w=v.current.target)!==null&&w!==void 0?w:void 0)},[c]),{isPressed:s||f,pressProps:an(p,_)}}function Tm(e){return e.tagName==="A"&&e.hasAttribute("href")}function Yf(e,t){const{key:r,code:n}=e,i=t,a=i.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(i instanceof Yr(i).HTMLInputElement&&!N5(i,r)||i instanceof Yr(i).HTMLTextAreaElement||i.isContentEditable)&&!((a==="link"||!a&&Tm(i))&&r!=="Enter")}function Lx(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Hy(e,t){const r=e.changedTouches;for(let n=0;nt.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Ea(e,t){let r=t.getBoundingClientRect(),n=Nx(e);return Mx(r,n)}function Jf(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function Uy(e,t){return e instanceof HTMLInputElement?!N5(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Tm(e)}const kx=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function N5(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":kx.has(e.type)}class Fx{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,r){this.nativeEvent=r,this.target=r.target,this.currentTarget=r.currentTarget,this.relatedTarget=r.relatedTarget,this.bubbles=r.bubbles,this.cancelable=r.cancelable,this.defaultPrevented=r.defaultPrevented,this.eventPhase=r.eventPhase,this.isTrusted=r.isTrusted,this.timeStamp=r.timeStamp,this.type=t}}function M5(e){let t=R.useRef({isFocused:!1,observer:null});xm(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=Pa(n=>{e==null||e(n)});return R.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let i=n.target,a=o=>{t.current.isFocused=!1,i.disabled&&r(new Fx("blur",o)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};i.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&i.disabled){var o;(o=t.current.observer)===null||o===void 0||o.disconnect();let s=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:s})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:s}))}}),t.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[r])}function k5(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:i}=e;const a=R.useCallback(l=>{if(l.target===l.currentTarget)return n&&n(l),i&&i(!1),!0},[n,i]),o=M5(a),s=R.useCallback(l=>{const u=qt(l.target);l.target===l.currentTarget&&u.activeElement===l.target&&(r&&r(l),i&&i(!0),o(l))},[i,r,o]);return{focusProps:{onFocus:!t&&(r||i||n)?s:void 0,onBlur:!t&&(n||i)?a:void 0}}}let Co=null,Np=new Set,Rs=new Map,ta=!1,Mp=!1;const Dx={Tab:!0,Escape:!0};function Am(e,t){for(let r of Np)r(e,t)}function Vx(e){return!(e.metaKey||!ol()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Tc(e){ta=!0,Vx(e)&&(Co="keyboard",Am("keyboard",e))}function fr(e){Co="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(ta=!0,Am("pointer",e))}function F5(e){Ip(e)&&(ta=!0,Co="virtual")}function D5(e){e.target===window||e.target===document||(!ta&&!Mp&&(Co="virtual",Am("virtual",e)),ta=!1,Mp=!1)}function V5(){ta=!1,Mp=!0}function kp(e){if(typeof window>"u"||Rs.get(Yr(e)))return;const t=Yr(e),r=qt(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){ta=!0,n.apply(this,arguments)},r.addEventListener("keydown",Tc,!0),r.addEventListener("keyup",Tc,!0),r.addEventListener("click",F5,!0),t.addEventListener("focus",D5,!0),t.addEventListener("blur",V5,!1),typeof PointerEvent<"u"?(r.addEventListener("pointerdown",fr,!0),r.addEventListener("pointermove",fr,!0),r.addEventListener("pointerup",fr,!0)):(r.addEventListener("mousedown",fr,!0),r.addEventListener("mousemove",fr,!0),r.addEventListener("mouseup",fr,!0)),t.addEventListener("beforeunload",()=>{H5(e)},{once:!0}),Rs.set(t,{focus:n})}const H5=(e,t)=>{const r=Yr(e),n=qt(e);t&&n.removeEventListener("DOMContentLoaded",t),Rs.has(r)&&(r.HTMLElement.prototype.focus=Rs.get(r).focus,n.removeEventListener("keydown",Tc,!0),n.removeEventListener("keyup",Tc,!0),n.removeEventListener("click",F5,!0),r.removeEventListener("focus",D5,!0),r.removeEventListener("blur",V5,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",fr,!0),n.removeEventListener("pointermove",fr,!0),n.removeEventListener("pointerup",fr,!0)):(n.removeEventListener("mousedown",fr,!0),n.removeEventListener("mousemove",fr,!0),n.removeEventListener("mouseup",fr,!0)),Rs.delete(r))};function Hx(e){const t=qt(e);let r;return t.readyState!=="loading"?kp(e):(r=()=>{kp(e)},t.addEventListener("DOMContentLoaded",r)),()=>H5(e,r)}typeof document<"u"&&Hx();function U5(){return Co!=="pointer"}function Ux(){return Co}const Bx=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function zx(e,t,r){var n;const i=typeof window<"u"?Yr(r==null?void 0:r.target).HTMLInputElement:HTMLInputElement,a=typeof window<"u"?Yr(r==null?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,o=typeof window<"u"?Yr(r==null?void 0:r.target).HTMLElement:HTMLElement,s=typeof window<"u"?Yr(r==null?void 0:r.target).KeyboardEvent:KeyboardEvent;return e=e||(r==null?void 0:r.target)instanceof i&&!Bx.has(r==null||(n=r.target)===null||n===void 0?void 0:n.type)||(r==null?void 0:r.target)instanceof a||(r==null?void 0:r.target)instanceof o&&(r==null?void 0:r.target.isContentEditable),!(e&&t==="keyboard"&&r instanceof s&&!Dx[r.key])}function Kx(e,t,r){kp(),R.useEffect(()=>{let n=(i,a)=>{zx(!!(r!=null&&r.isTextInput),i,a)&&e(U5())};return Np.add(n),()=>{Np.delete(n)}},t)}function qx(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:i}=e,a=R.useRef({isFocusWithin:!1}),o=R.useCallback(u=>{a.current.isFocusWithin&&!u.currentTarget.contains(u.relatedTarget)&&(a.current.isFocusWithin=!1,r&&r(u),i&&i(!1))},[r,i,a]),s=M5(o),l=R.useCallback(u=>{!a.current.isFocusWithin&&document.activeElement===u.target&&(n&&n(u),i&&i(!0),a.current.isFocusWithin=!0,s(u))},[n,i,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:o}}}let Ac=!1,Xf=0;function Fp(){Ac=!0,setTimeout(()=>{Ac=!1},50)}function By(e){e.pointerType==="touch"&&Fp()}function Zx(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",By):document.addEventListener("touchend",Fp),Xf++,()=>{Xf--,!(Xf>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",By):document.removeEventListener("touchend",Fp))}}function Wx(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:i}=e,[a,o]=R.useState(!1),s=R.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;R.useEffect(Zx,[]);let{hoverProps:l,triggerHoverEnd:u}=R.useMemo(()=>{let c=(f,m)=>{if(s.pointerType=m,i||m==="touch"||s.isHovered||!f.currentTarget.contains(f.target))return;s.isHovered=!0;let v=f.currentTarget;s.target=v,t&&t({type:"hoverstart",target:v,pointerType:m}),r&&r(!0),o(!0)},d=(f,m)=>{if(s.pointerType="",s.target=null,m==="touch"||!s.isHovered)return;s.isHovered=!1;let v=f.currentTarget;n&&n({type:"hoverend",target:v,pointerType:m}),r&&r(!1),o(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=f=>{Ac&&f.pointerType==="mouse"||c(f,f.pointerType)},p.onPointerLeave=f=>{!i&&f.currentTarget.contains(f.target)&&d(f,f.pointerType)}):(p.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=f=>{!s.ignoreEmulatedMouseEvents&&!Ac&&c(f,"mouse"),s.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=f=>{!i&&f.currentTarget.contains(f.target)&&d(f,"mouse")}),{hoverProps:p,triggerHoverEnd:d}},[t,r,n,i,s]);return R.useEffect(()=>{i&&u({currentTarget:s.target},s.pointerType)},[i]),{hoverProps:l,isHovered:a}}function zy(e){if(!e)return;let t=!0;return r=>{let n={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(n),t&&r.stopPropagation()}}function Gx(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:zy(e.onKeyDown),onKeyUp:zy(e.onKeyUp)}}}function Qx(e){const t=qt(e);if(Ux()==="virtual"){let r=t.activeElement;R5(()=>{t.activeElement===r&&e.isConnected&&Ki(e)})}else Ki(e)}function Yx(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,i=R.useRef({isFocused:!1,isFocusVisible:t||U5()}),[a,o]=R.useState(!1),[s,l]=R.useState(()=>i.current.isFocused&&i.current.isFocusVisible),u=R.useCallback(()=>l(i.current.isFocused&&i.current.isFocusVisible),[]),c=R.useCallback(f=>{i.current.isFocused=f,o(f),u()},[u]);Kx(f=>{i.current.isFocusVisible=f,u()},[],{isTextInput:r});let{focusProps:d}=k5({isDisabled:n,onFocusChange:c}),{focusWithinProps:p}=qx({isDisabled:!n,onFocusWithinChange:c});return{isFocused:a,isFocusVisible:s,focusProps:n?p:d}}let Jx=C.createContext(null);function Xx(e){let t=R.useContext(Jx)||{};j5(t,e);let{ref:r,...n}=t;return n}function eO(e,t){let{focusProps:r}=k5(e),{keyboardProps:n}=Gx(e),i=an(r,n),a=Xx(t),o=e.isDisabled?{}:a,s=R.useRef(e.autoFocus);return R.useEffect(()=>{s.current&&t.current&&Qx(t.current),s.current=!1},[t]),{focusableProps:an({...i,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},o)}}const tO=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),rO=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function nO(e){if(Intl.Locale){let r=new Intl.Locale(e).maximize(),n=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(n)return n.direction==="rtl";if(r.script)return tO.has(r.script)}let t=e.split("-")[0];return rO.has(t)}const iO=Symbol.for("react-aria.i18n.locale");function B5(){let e=typeof window<"u"&&window[iO]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:nO(e)?"rtl":"ltr"}}let Dp=B5(),ys=new Set;function Ky(){Dp=B5();for(let e of ys)e(Dp)}function aO(){let e=S5(),[t,r]=R.useState(Dp);return R.useEffect(()=>(ys.size===0&&window.addEventListener("languagechange",Ky),ys.add(r),()=>{ys.delete(r),ys.size===0&&window.removeEventListener("languagechange",Ky)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const oO=C.createContext(null);function sO(){let e=aO();return R.useContext(oO)||e}function lO(e,t){let{elementType:r="button",isDisabled:n,onPress:i,onPressStart:a,onPressEnd:o,onPressUp:s,onPressChange:l,preventFocusOnPress:u,allowFocusWhenDisabled:c,onClick:d,href:p,target:f,rel:m,type:v="button"}=e,$;r==="button"?$={type:v,disabled:n}:$={role:"button",tabIndex:n?void 0:0,href:r==="a"&&n?void 0:p,target:r==="a"?f:void 0,type:r==="input"?v:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?m:void 0};let{pressProps:h,isPressed:g}=Ix({onPressStart:a,onPressEnd:o,onPressChange:l,onPress:i,onPressUp:s,isDisabled:n,preventFocusOnPress:u,ref:t}),{focusableProps:y}=eO(e,t);c&&(y.tabIndex=n?-1:y.tabIndex);let b=an(y,h,Om(e,{labelable:!0}));return{isPressed:g,buttonProps:an($,b,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:O=>{d&&(d(O),console.warn("onClick is deprecated, please use onPress"))}})}}const qy=Symbol("default");function uO(e){let{className:t,style:r,children:n,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:s}=e;return R.useMemo(()=>{let l,u,c;return typeof t=="function"?l=t({...s,defaultClassName:i}):l=t,typeof r=="function"?u=r({...s,defaultStyle:o||{}}):u=r,typeof n=="function"?c=n({...s,defaultChildren:a}):n==null?c=a:c=n,{className:l??i,style:u||o?{...o,...u}:void 0,children:c??a,"data-rac":""}},[t,r,n,i,a,o,s])}function cO(e,t){let r=R.useContext(e);if(t===null)return null;if(r&&typeof r=="object"&&"slots"in r&&r.slots){let n=new Intl.ListFormat().format(Object.keys(r.slots).map(a=>`"${a}"`));if(!t&&!r.slots[qy])throw new Error(`A slot prop is required. Valid slot names are ${n}.`);let i=t||qy;if(!r.slots[i])throw new Error(`Invalid slot "${t}". Valid slot names are ${n}.`);return r.slots[i]}return r}function dO(e,t,r){let n=cO(r,e.slot)||{},{ref:i,...a}=n,o=_x(R.useMemo(()=>fx(t,i),[t,i])),s=an(a,e);return"style"in a&&a.style&&"style"in e&&e.style&&(typeof a.style=="function"||typeof e.style=="function"?s.style=l=>{let u=typeof a.style=="function"?a.style(l):a.style,c={...l.defaultStyle,...u},d=typeof e.style=="function"?e.style({...l,defaultStyle:c}):e.style;return{...c,...d}}:s.style={...a.style,...e.style}),[s,o]}if(typeof HTMLTemplateElement<"u"){const e=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}const fO=R.createContext(!1);typeof DocumentFragment<"u"&&new DocumentFragment;function pO(e){let t=(r,n)=>R.useContext(fO)?null:e(r,n);return t.displayName=e.displayName||e.name,C.forwardRef(t)}const hO=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),mO=R.createContext({});function vO(e,t){[e,t]=dO(e,t,mO);let r=e,{buttonProps:n,isPressed:i}=lO(e,t),{focusProps:a,isFocused:o,isFocusVisible:s}=Yx(e),{hoverProps:l,isHovered:u}=Wx(e),c=uO({...e,values:{isHovered:u,isPressed:i,isFocused:o,isFocusVisible:s,isDisabled:e.isDisabled||!1},defaultClassName:"react-aria-Button"});return C.createElement("button",{...Om(e,{propNames:hO}),...an(n,a,l),...c,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-pressed":r.isPressed||i||void 0,"data-hovered":u||void 0,"data-focused":o||void 0,"data-focus-visible":s||void 0})}const gO=pO(vO),z5=C.createContext(null);z5.displayName="BreakpointContext";function yO(){return R.useContext(z5)}const Rm={margin:["margin",Ae],marginStart:[Nt("marginLeft","marginRight"),Ae],marginEnd:[Nt("marginRight","marginLeft"),Ae],marginTop:["marginTop",Ae],marginBottom:["marginBottom",Ae],marginX:[["marginLeft","marginRight"],Ae],marginY:[["marginTop","marginBottom"],Ae],width:["width",Ae],height:["height",Ae],minWidth:["minWidth",Ae],minHeight:["minHeight",Ae],maxWidth:["maxWidth",Ae],maxHeight:["maxHeight",Ae],isHidden:["display",CO],alignSelf:["alignSelf",zt],justifySelf:["justifySelf",zt],position:["position",e1],zIndex:["zIndex",e1],top:["top",Ae],bottom:["bottom",Ae],start:[Nt("left","right"),Ae],end:[Nt("right","left"),Ae],left:["left",Ae],right:["right",Ae],order:["order",e1],flex:["flex",SO],flexGrow:["flexGrow",zt],flexShrink:["flexShrink",zt],flexBasis:["flexBasis",zt],gridArea:["gridArea",zt],gridColumn:["gridColumn",zt],gridColumnEnd:["gridColumnEnd",zt],gridColumnStart:["gridColumnStart",zt],gridRow:["gridRow",zt],gridRowEnd:["gridRowEnd",zt],gridRowStart:["gridRowStart",zt]};({...Rm,borderStartWidth:Nt("borderLeftWidth","borderRightWidth"),borderEndWidth:Nt("borderRightWidth","borderLeftWidth"),borderStartColor:Nt("borderLeftColor","borderRightColor"),borderEndColor:Nt("borderRightColor","borderLeftColor"),borderTopStartRadius:Nt("borderTopLeftRadius","borderTopRightRadius"),borderTopEndRadius:Nt("borderTopRightRadius","borderTopLeftRadius"),borderBottomStartRadius:Nt("borderBottomLeftRadius","borderBottomRightRadius"),borderBottomEndRadius:Nt("borderBottomRightRadius","borderBottomLeftRadius"),paddingStart:Nt("paddingLeft","paddingRight"),paddingEnd:Nt("paddingRight","paddingLeft")});const Zy={borderWidth:"borderStyle",borderLeftWidth:"borderLeftStyle",borderRightWidth:"borderRightStyle",borderTopWidth:"borderTopStyle",borderBottomWidth:"borderBottomStyle"};function Nt(e,t){return r=>r==="rtl"?t:e}const $O=/(%|px|em|rem|vw|vh|auto|cm|mm|in|pt|pc|ex|ch|rem|vmin|vmax|fr)$/,wO=/^\s*\w+\(/,bO=/(static-)?size-\d+|single-line-(height|width)/g;function Ae(e){if(typeof e=="number")return e+"px";if(e)return $O.test(e)?e:wO.test(e)?e.replace(bO,"var(--spectrum-global-dimension-$&, var(--spectrum-alias-$&))"):`var(--spectrum-global-dimension-${e}, var(--spectrum-alias-${e}))`}function K5(e,t="default",r=5){return r>5?`var(--spectrum-${e}, var(--spectrum-semantic-${e}-color-${t}))`:`var(--spectrum-legacy-color-${e}, var(--spectrum-global-color-${e}, var(--spectrum-semantic-${e}-color-${t})))`}function EO(e,t=5){if(e)return`var(--spectrum-alias-background-color-${e}, ${K5(e,"background",t)})`}function vn(e,t=5){if(e)return e==="default"?"var(--spectrum-alias-border-color)":`var(--spectrum-alias-border-color-${e}, ${K5(e,"border",t)})`}function gn(e){return e&&e!=="none"?`var(--spectrum-alias-border-size-${e})`:"0"}function yn(e){if(e)return`var(--spectrum-alias-border-radius-${e})`}function CO(e){return e?"none":void 0}function e1(e){return e}function SO(e){return typeof e=="boolean"?e?"1":void 0:""+e}function _O(e,t,r,n){let i={};for(let a in e){let o=t[a];if(!o||e[a]==null)continue;let[s,l]=o;typeof s=="function"&&(s=s(r));let u=q5(e[a],n),c=l(u,e.colorVersion);if(Array.isArray(s))for(let d of s)i[d]=c;else i[s]=c}for(let a in Zy)i[a]&&(i[Zy[a]]="solid",i.boxSizing="border-box");return i}function xO(e,t=Rm,r={}){let{UNSAFE_className:n,UNSAFE_style:i,...a}=e,o=yO(),{direction:s}=sO(),{matchedBreakpoints:l=(o==null?void 0:o.matchedBreakpoints)||["base"]}=r,u=_O(e,t,s,l),c={...i,...u};a.className&&console.warn("The className prop is unsafe and is unsupported in React Spectrum v3. Please use style props with Spectrum variables, or UNSAFE_className if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes."),a.style&&console.warn("The style prop is unsafe and is unsupported in React Spectrum v3. Please use style props with Spectrum variables, or UNSAFE_style if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes.");let d={style:c,className:n};return q5(e.isHidden,l)&&(d.hidden=!0),{styleProps:d}}function zt(e){return e}function q5(e,t){if(e&&typeof e=="object"&&!Array.isArray(e)){for(let r=0;rC.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M13 3H11V11H3V13H11V21H13V13H21V11H13V3Z"}))),jO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M21 7H3V5H21V7ZM17 13H7V11H17V13ZM5 19H19V17H5V19Z"}))),IO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M21 7H3V5H21V7ZM13 13H3V11H13V13ZM3 19H17V17H3V19Z"}))),LO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M21 7H3V5H21V7ZM21 13H11V11H21V13ZM7 19H21V17H7V19Z"}))),NO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M8 13H16V11H8V13Z"}),C.createElement("path",{fillRule:"evenodd",d:"M3 3H21V9H20V21H4V9H3V3ZM6 9H18V19H6V9ZM19 5V7H5V5H19Z",clipRule:"evenodd"}))),MO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M6.70718 13.2929L5.29297 14.7071L12.0001 21.4142L18.7072 14.7071L17.293 13.2929L13.0001 17.5858L13.0001 3L11.0001 3L11.0001 17.5858L6.70718 13.2929Z"}))),kO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M10.7073 6.70718L9.29305 5.29297L2.58594 12.0001L9.29304 18.7072L10.7073 17.293L6.41437 13.0001L21.0002 13.0001V11.0001L6.41436 11.0001L10.7073 6.70718Z"}))),FO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M13.2929 17.293L14.7071 18.7072L21.4142 12.0001L14.7071 5.29297L13.2929 6.70718L17.5858 11.0001H3V13.0001H17.5858L13.2929 17.293Z"}))),DO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M15.5859 7H9.5V5H19V14.5H17V8.4143L6.70718 18.7071L5.29297 17.2929L15.5859 7Z"}))),VO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M17.293 10.7073L18.7072 9.29305L12.0001 2.58594L5.29297 9.29304L6.70718 10.7073L11.0001 6.41437L11.0001 21.0002H13.0001L13.0001 6.41436L17.293 10.7073Z"}))),HO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M10 4C8.34315 4 7 5.34315 7 7V15C7 17.7614 9.23858 20 12 20C14.7614 20 17 17.7614 17 15V4H19V15C19 18.866 15.866 22 12 22C8.13401 22 5 18.866 5 15V7C5 4.23858 7.23858 2 10 2C12.7614 2 15 4.23858 15 7V15C15 16.6569 13.6569 18 12 18C10.3431 18 9 16.6569 9 15L9 7L11 7L11 15C11 15.5523 11.4477 16 12 16C12.5523 16 13 15.5523 13 15V7C13 5.34315 11.6569 4 10 4Z"}))),UO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M20 8C18.8954 8 18 7.10457 18 6 18 4.89543 18.8954 4 20 4 21.1046 4 22 4.89543 22 6 22 7.10457 21.1046 8 20 8ZM18 12C18 13.1046 18.8954 14 20 14 21.1046 14 22 13.1046 22 12 22 10.8954 21.1046 10 20 10 18.8954 10 18 10.8954 18 12ZM18 18C18 19.1046 18.8954 20 20 20 21.1046 20 22 19.1046 22 18 22 16.8954 21.1046 16 20 16 18.8954 16 18 16.8954 18 18ZM16 5 10 5V19H16V17H12V13L16 13V11L12 11V7H16V5ZM5.5 8.5 2 12 5.5 15.5 9 12 5.5 8.5Z"}))),BO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M18 6H6V18H18V6ZM4 4V20H20V4H4Z",clipRule:"evenodd"}))),zO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M9 18V8H11V18H9ZM13 8V18H15V8H13Z"}),C.createElement("path",{fillRule:"evenodd",d:"M13.5 4C13.5 3.17157 12.8284 2.5 12 2.5C11.1716 2.5 10.5 3.17157 10.5 4H4V6H5V19C5 20.6569 6.34315 22 8 22H16C17.6569 22 19 20.6569 19 19V6H20V4H13.5ZM7 19V6H17V19C17 19.5523 16.5523 20 16 20H8C7.44772 20 7 19.5523 7 19Z",clipRule:"evenodd"}))),KO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M5.92572 11.6379C7.28054 12.8798 9.29877 14.0001 12 14.0001C14.7012 14.0001 16.7195 12.8798 18.0743 11.6379C18.7544 11.0145 19.2581 10.3679 19.5858 9.83533C19.75 9.56862 19.8631 9.34158 19.932 9.1709C19.9771 9.05914 19.993 8.99662 19.9982 8.97587L19.9982 8.97582L19.9983 8.97576C19.9996 8.97052 20.0002 8.96798 20.0005 8.96802C20.0008 8.96806 20.0007 8.97041 20.0005 8.97496L20.0005 8.97506L20.0005 8.97518L20.0005 8.97534C20.0003 8.98071 20 8.989 20 9.00005H22C22 9.32108 21.894 9.65317 21.7868 9.91905C21.6681 10.2132 21.5 10.5409 21.2892 10.8835C20.9404 11.4502 20.456 12.0884 19.8359 12.7168L21.1426 14.274L19.6105 15.5596L18.3111 14.011C17.5099 14.5769 16.5733 15.0803 15.5025 15.439L15.9537 17.3931L14.0049 17.843L13.5551 15.8945C13.0587 15.963 12.5403 16.0001 12 16.0001C11.4577 16.0001 10.9375 15.9628 10.4395 15.8938L9.98878 17.846L8.04004 17.3961L8.49226 15.4373C7.41782 15.0767 6.47855 14.5704 5.67574 14.0017L4.36837 15.5597L2.83629 14.2741L4.15272 12.7053C3.53814 12.0806 3.05746 11.4468 2.71084 10.8835C2.49997 10.5409 2.33188 10.2132 2.21323 9.91905C2.10598 9.65317 2 9.32108 2 9.00005H4C4 8.98874 3.99969 8.98032 3.99949 8.97496V8.97495C3.99932 8.9704 3.99924 8.96806 3.99949 8.96802C3.99976 8.96798 4.00042 8.97055 4.00177 8.97587C4.00705 8.99663 4.02295 9.05915 4.06802 9.1709C4.13687 9.34158 4.25003 9.56862 4.41416 9.83533C4.74188 10.3679 5.24565 11.0145 5.92572 11.6379Z",clipRule:"evenodd"}))),qO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M4.83252 20.9999H14.2185C17.6505 20.9999 20.0945 19.0239 20.0945 16.1639C20.0945 14.1879 18.8725 12.5239 16.7925 11.5879C18.3785 10.7559 19.3145 9.42994 19.3145 7.60994C19.3145 5.00994 17.0785 3.13794 13.8805 3.13794H4.83252V20.9999ZM8.65452 10.3399V6.41394H12.9445C14.3485 6.41394 15.3625 7.24594 15.3625 8.36394C15.3625 9.50794 14.3485 10.3399 12.9445 10.3399H8.65452ZM8.65452 17.7239V13.3559H13.5165C15.0505 13.3559 16.1425 14.2659 16.1425 15.5399C16.1425 16.8139 15.0505 17.7239 13.5165 17.7239H8.65452Z"}))),ZO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M7 2V4H3V21H21V4H17V2H15V4H9V2H7ZM19 6V8H5V6H19ZM5 10V19H19V10H5Z",clipRule:"evenodd"}))),WO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M18.4395 5.25928L20.5608 7.3806L9.50011 18.4413L3.43945 12.3806L5.56077 10.2593L9.50011 14.1986L18.4395 5.25928Z",clipRule:"evenodd"}))),GO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fill:"currentcolor",d:"M5.29297 9.70718L6.70718 8.29297L12.0001 13.5859L17.293 8.29297L18.7072 9.70718L12.0001 16.4143L5.29297 9.70718Z",clipRule:"evenodd"}))),QO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M14.293 18.7072L15.7073 17.293L10.4144 12.0001L15.7073 6.70718L14.293 5.29297L7.58594 12.0001L14.293 18.7072Z",clipRule:"evenodd"}))),YO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M9.70718 18.7072L8.29297 17.293L13.5859 12.0001L8.29297 6.70718L9.70718 5.29297L16.4143 12.0001L9.70718 18.7072Z",clipRule:"evenodd"}))),JO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fill:"currentcolor",d:"M18.707 14.2928L17.2928 15.707L11.9999 10.4141L6.70703 15.707L5.29282 14.2928L11.9999 7.58571L18.707 14.2928Z",clipRule:"evenodd"}))),XO=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M12.0001 13.4143L18.293 19.7072L19.7072 18.293L13.4143 12.0001L19.7072 5.70719L18.293 4.29298L12.0001 10.5859L5.70719 4.29297L4.29298 5.70718L10.5859 12.0001L4.29297 18.293L5.70718 19.7072L12.0001 13.4143Z"}))),eP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M6.29304 7.29297 7.70726 8.70718 4.41436 12.0001 7.70726 15.293 6.29304 16.7072 1.58594 12.0001 6.29304 7.29297ZM14.8943 8.44728 10.8943 16.4473 9.10547 15.5529 13.1055 7.55286 14.8943 8.44728ZM16.2927 15.2931 17.707 16.7073 22.4141 12.0002 17.707 7.29306 16.2927 8.70728 19.5856 12.0002 16.2927 15.2931Z"}))),tP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M17 3H7V5H17V3ZM5 7H12H19V9H15.4649H12H8.53513H5V7ZM5 11H3V21H21V11H19H16H14C14 12.1046 13.1046 13 12 13C10.8954 13 10 12.1046 10 11H8H5ZM12 15C10.5194 15 9.22675 14.1956 8.53513 13H5V19H19V13H15.4649C14.7733 14.1956 13.4806 15 12 15Z",clipRule:"evenodd"}))),rP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M3 11L3 13H5L5 11H3Z"}),C.createElement("path",{fillRule:"evenodd",d:"M21 21H11V3L21 3V21ZM13 19V5H19V19H13Z",clipRule:"evenodd"}),C.createElement("path",{d:"M3 9 3 7H5V9H3ZM3 19 3 21H5V19H3ZM3 17 3 15H5V17H3ZM3 3 3 5H5V3L3 3ZM7 5V3L9 3V5H7ZM7 19V21H9V19H7Z"}))),nP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M13 21H3L3 3L13 3V21ZM5 19L5 5H11V19H5Z",clipRule:"evenodd"}),C.createElement("path",{d:"M19 11V13H21V11H19ZM19 9V7H21V9H19ZM19 19V21H21V19H19ZM19 17V15H21V17H19ZM19 3V5H21V3L19 3ZM15 5V3L17 3V5H15ZM15 19V21H17V19H15Z"}))),iP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M9 5H15V15H17V3H7V21H11V19H9V5Z"}),C.createElement("path",{d:"M16.0001 21.4142L14.2072 23.2071L12.793 21.7929L14.5859 20L12.793 18.2071L14.2072 16.7929L16.0001 18.5858L17.793 16.7929L19.2072 18.2071L17.4143 20L19.2072 21.7929L17.793 23.2071L16.0001 21.4142Z"}))),aP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M3 21V3H21V21H3ZM13 5H19V19H13V5ZM11 5H5V19H11V5Z",clipRule:"evenodd"}))),oP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M15 4V7H18V16H17V18H20V6L16.25 2H8V5H10V4H15Z"}),C.createElement("path",{fillRule:"evenodd",d:"M16 10L12.25 6H4V22H16V10ZM11 8H6V20H14V11H11V8Z",clipRule:"evenodd"}))),sP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M13.4143 12.0001L14.9681 13.5539C15.5636 13.202 16.2582 13.0001 17 13.0001C19.2091 13.0001 21 14.791 21 17.0001C21 19.2092 19.2091 21.0001 17 21.0001C14.7909 21.0001 13 19.2092 13 17.0001C13 16.2583 13.2019 15.5636 13.5539 14.9681L12.0001 13.4143L10.4462 14.9682C10.7981 15.5637 11 16.2583 11 17.0001C11 19.2092 9.20914 21.0001 7 21.0001C4.79086 21.0001 3 19.2092 3 17.0001C3 14.791 4.79086 13.0001 7 13.0001C7.74183 13.0001 8.4365 13.202 9.03202 13.5539L10.5859 12.0001L3.79297 5.20718L5.20718 3.79297L12.0001 10.5859L18.793 3.793L20.2072 5.20721L13.4143 12.0001ZM5 17.0001C5 15.8955 5.89543 15.0001 7 15.0001C8.10457 15.0001 9 15.8955 9 17.0001C9 18.1047 8.10457 19.0001 7 19.0001C5.89543 19.0001 5 18.1047 5 17.0001ZM15 17.0001C15 15.8955 15.8954 15.0001 17 15.0001C18.1046 15.0001 19 15.8955 19 17.0001C19 18.1047 18.1046 19.0001 17 19.0001C15.8954 19.0001 15 18.1047 15 17.0001Z",clipRule:"evenodd"}))),lP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M6 10.5H18V13.5H6z"}))),uP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M2 8C2 5.79086 3.79086 4 6 4H14C16.2091 4 18 5.79086 18 8V9C20.2091 9 22 10.7909 22 13V15C22 16.4806 21.1956 17.7733 20 18.4649V21.5L17.5 19H14C11.7909 19 10 17.2091 10 15H6.5L4 17.5V14.4649C2.8044 13.7733 2 12.4806 2 11V8ZM6 6H14C15.1046 6 16 6.89543 16 8V11C16 12.1046 15.1046 13 14 13H6C4.89543 13 4 12.1046 4 11V8C4 6.89543 4.89543 6 6 6ZM12 15C12 16.1046 12.8954 17 14 17H18C19.1046 17 20 16.1046 20 15V13C20 11.8954 19.1046 11 18 11C18 13.2091 16.2091 15 14 15H12Z",clipRule:"evenodd"}))),cP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M9 7C10.1046 7 11 6.10457 11 5C11 3.89543 10.1046 3 9 3C7.89543 3 7 3.89543 7 5C7 6.10457 7.89543 7 9 7ZM9 14C10.1046 14 11 13.1046 11 12C11 10.8954 10.1046 10 9 10C7.89543 10 7 10.8954 7 12C7 13.1046 7.89543 14 9 14ZM11 19C11 20.1046 10.1046 21 9 21C7.89543 21 7 20.1046 7 19C7 17.8954 7.89543 17 9 17C10.1046 17 11 17.8954 11 19ZM15 7C16.1046 7 17 6.10457 17 5C17 3.89543 16.1046 3 15 3C13.8954 3 13 3.89543 13 5C13 6.10457 13.8954 7 15 7ZM17 12C17 13.1046 16.1046 14 15 14C13.8954 14 13 13.1046 13 12C13 10.8954 13.8954 10 15 10C16.1046 10 17 10.8954 17 12ZM15 21C16.1046 21 17 20.1046 17 19C17 17.8954 16.1046 17 15 17C13.8954 17 13 17.8954 13 19C13 20.1046 13.8954 21 15 21Z",clipRule:"evenodd"}))),dP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M18 12.8286V17.9999H6V5.99994H11.1718L13.1718 3.99994H4V19.9999H20V10.8286L18 12.8286Z"}),C.createElement("path",{fillRule:"evenodd",d:"M13 14.9999L8 15.9999L9 10.9999L17.5858 2.41416C18.3668 1.63311 19.6332 1.63311 20.4142 2.41415L21.5858 3.58573C22.3668 4.36678 22.3668 5.63311 21.5858 6.41415L13 14.9999ZM17.5857 7.58582L12.014 13.1575L10.5495 13.4504L10.8424 11.986L16.4141 6.41424L17.5857 7.58582ZM18.9999 6.1716L20.1716 4.99994L19 3.82837L17.8283 5.00003L18.9999 6.1716Z",clipRule:"evenodd"}))),fP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M12 14.5C13.3807 14.5 14.5 13.3807 14.5 12C14.5 10.6193 13.3807 9.5 12 9.5C10.6193 9.5 9.5 10.6193 9.5 12C9.5 13.3807 10.6193 14.5 12 14.5Z"}),C.createElement("path",{fillRule:"evenodd",d:"M12 5C8.70123 5 6.21946 6.37976 4.57428 7.88785C3.75435 8.63944 3.13312 9.43033 2.71084 10.1165C2.49997 10.4592 2.33188 10.7868 2.21323 11.081C2.10598 11.3469 2 11.679 2 12C2 12.321 2.10598 12.6531 2.21323 12.919C2.33188 13.2132 2.49997 13.5408 2.71084 13.8835C3.13312 14.5697 3.75435 15.3606 4.57428 16.1122C6.21946 17.6202 8.70123 19 12 19C15.2988 19 17.7805 17.6202 19.4257 16.1122C20.2456 15.3606 20.8669 14.5697 21.2892 13.8835C21.5 13.5408 21.6681 13.2132 21.7868 12.919C21.894 12.6531 22 12.321 22 12C22 11.679 21.894 11.3469 21.7868 11.081C21.6681 10.7868 21.5 10.4592 21.2892 10.1165C20.8669 9.43033 20.2456 8.63944 19.4257 7.88785C17.7805 6.37976 15.2988 5 12 5ZM4.06802 12.1708C4.03445 12.0876 4.01707 12.0317 4.0082 12C4.01707 11.9683 4.03445 11.9124 4.06802 11.8292C4.13687 11.6585 4.25003 11.4314 4.41416 11.1647C4.74188 10.6322 5.24565 9.98556 5.92572 9.36215C7.28054 8.12024 9.29877 7 12 7C14.7012 7 16.7195 8.12024 18.0743 9.36215C18.7544 9.98556 19.2581 10.6322 19.5858 11.1647C19.75 11.4314 19.8631 11.6585 19.932 11.8292C19.9655 11.9124 19.9829 11.9683 19.9918 12C19.9829 12.0317 19.9655 12.0876 19.932 12.1708C19.8631 12.3415 19.75 12.5686 19.5858 12.8353C19.2581 13.3678 18.7544 14.0144 18.0743 14.6378C16.7195 15.8798 14.7012 17 12 17C9.29877 17 7.28054 15.8798 5.92572 14.6378C5.24565 14.0144 4.74188 13.3678 4.41416 12.8353C4.25003 12.5686 4.13687 12.3415 4.06802 12.1708Z",clipRule:"evenodd"}))),pP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M7 8V10H17V8H7ZM9 14V12H15V14H9ZM11 16V18H13V16H11Z"}),C.createElement("path",{fillRule:"evenodd",d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12Z",clipRule:"evenodd"}))),hP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M9.41421 4H2V20H22V6H11.4142L9.41421 4ZM4 18V8H20V18H4Z",clipRule:"evenodd"}))),mP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M16 16H8V18H16V16Z"}),C.createElement("path",{fillRule:"evenodd",d:"M4 22V2H20V22H4ZM6 4H18V20H6V4Z",clipRule:"evenodd"}))),vP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{stroke:"#000",strokeWidth:"2",d:"M3.74844 19L12.0002 4.97231L20.2516 19H3.74844Z"}))),gP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M21 3V9H19V5L15 5V3L21 3ZM3 3H9V5H5V9H3V3ZM3 21V15H5V19H9V21H3ZM15 21H21V15H19V19H15V21ZM12 10C10.8954 10 10 10.8954 10 12 10 13.1046 10.8954 14 12 14 13.1046 14 14 13.1046 14 12 14 10.8954 13.1046 10 12 10Z"}))),yP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M9 7H15V9H13V13H11V9H9V7Z"}),C.createElement("path",{fillRule:"evenodd",d:"M3 17V3H21V17H3ZM5 5H19V15H5V5Z",clipRule:"evenodd"}),C.createElement("path",{d:"M19 19H5V21H19V19Z"}))),$P=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M15.4998 5.93786C12.3243 4.1045 8.30946 5.04192 6.25478 8H8V10H3V5H5V6.34086C7.73535 2.94898 12.6079 1.95882 16.4998 4.20581C20.8044 6.69109 22.2793 12.1954 19.794 16.5C17.3087 20.8047 11.8044 22.2795 7.49979 19.7943C5.40842 18.5868 3.9841 16.6647 3.35878 14.5166L5.27907 13.9576C5.76607 15.6305 6.87253 17.1227 8.49979 18.0622C11.8478 19.9952 16.129 18.8481 18.062 15.5C19.995 12.152 18.8478 7.87086 15.4998 5.93786Z"}),C.createElement("path",{d:"M12 14C13.1046 14 14 13.1046 14 12C14 10.8954 13.1046 10 12 10C10.8954 10 10 10.8954 10 12C10 13.1046 10.8954 14 12 14Z"}))),wP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M21.5855 9.68946L12 2.7666L2.41455 9.68946L3.58553 11.3108L12 5.23367L20.4146 11.3108L21.5855 9.68946ZM7 12.0001H5V21.0001H11V16.0001H13V21.0001H19V12.0001H17V19.0001H15V14.0001H9V19.0001H7V12.0001Z",clipRule:"evenodd"}))),bP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M20 3H4V5H20V3Z"}),C.createElement("path",{fillRule:"evenodd",d:"M4 7V17H20V7H4ZM18 9H6V15H18V9Z",clipRule:"evenodd"}),C.createElement("path",{d:"M4 19H20V21H4V19Z"}))),EP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M9.70726 7.70712L8.29304 6.29291L4.58594 10L8.29304 13.7071L9.70726 12.2929L8.41435 11H15.5856L14.2927 12.2929L15.707 13.7071L19.4141 9.99999L15.707 6.29288L14.2927 7.70709L15.5857 9H8.41438L9.70726 7.70712Z"}),C.createElement("path",{fillRule:"evenodd",d:"M2 3V17H22V3H2ZM20 5H4V15H20V5Z",clipRule:"evenodd"}),C.createElement("path",{d:"M4 19H20V21H4V19Z"}))),CP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M18 10C18 11.1046 17.1046 12 16 12C14.8954 12 14 11.1046 14 10C14 8.89543 14.8954 8 16 8C17.1046 8 18 8.89543 18 10Z"}),C.createElement("path",{fillRule:"evenodd",d:"M2 20V4H22V20H2ZM4 6H20V17.5857L16.0001 13.5858L14.0001 15.5858L8.00008 9.58582L4 13.5859V6ZM4 16.4143V18H13.5858L8.00008 12.4142L4 16.4143ZM14.4143 18H17.5858L16.0001 16.4142L14.4143 18Z",clipRule:"evenodd"}))),SP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M2 5V15H14V5H2ZM12 7H4V13H12V7Z",clipRule:"evenodd"}),C.createElement("path",{d:"M22 17V19H2V17H22ZM22 5H16V7H22V5ZM16 9H22V11H16V9ZM22 13H16V15H22V13Z"}))),_P=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M10 5V15H22V5H10ZM20 7H12V13H20V7Z",clipRule:"evenodd"}),C.createElement("path",{d:"M22 17V19H2V17H22ZM8 5H2V7H8V5ZM2 9H8V11H2V9ZM8 13H2V15H8V13Z"}))),xP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M13 16H14V18H10V16H11V12H10V10H13V16ZM12 5.5C11.1716 5.5 10.5 6.17157 10.5 7 10.5 7.82843 11.1716 8.5 12 8.5 12.8284 8.5 13.5 7.82843 13.5 7 13.5 6.17157 12.8284 5.5 12 5.5Z"}),C.createElement("path",{fillRule:"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z",clipRule:"evenodd"}))),OP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M10 3H17V5H14.3584L11.4443 19H14V21L11.028 21H9L7 21V19H9.4163L12.3304 5H10V3Z",clipRule:"evenodd"}))),PP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M13 3H11V6H4V8H6.14603C6.72201 10.8754 8.4029 13.2122 10.3922 15.0269C8.05005 16.8465 5.43103 18.0192 3.70898 18.5433L4.29131 20.4566C6.30162 19.8448 9.32436 18.4761 11.9749 16.3239C14.5162 18.201 17.3216 19.4054 19.2194 19.9599L19.7803 18.0401C18.1527 17.5646 15.7289 16.535 13.4937 14.954C15.3226 13.1144 16.8284 10.8003 17.3604 8H20V6H13V3ZM8.19558 8H15.3165C14.8002 10.2269 13.5262 12.1292 11.9131 13.7052C10.155 12.1472 8.7535 10.2439 8.19558 8Z",clipRule:"evenodd"}))),TP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M12.9258 9.2258L12 7L11.0742 9.2258L8.6713 9.41844L10.5021 10.9867L9.94275 13.3316L12 12.075L14.0572 13.3316L13.4979 10.9867L15.3287 9.41844L12.9258 9.2258Z"}),C.createElement("path",{fillRule:"evenodd",d:"M12 21L23 10L18 3L6 3L1 10L12 21ZM16.9708 5L20.3878 9.7838L12 18.1716L3.61223 9.7838L7.02924 5L16.9708 5Z",clipRule:"evenodd"}))),AP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M12 21L1 10L6 3L18 3L23 10L12 21ZM20.3878 9.7838L16.9708 5L7.02924 5L3.61223 9.7838L5.64752 11.8191L8.95092 8.45923L12.4176 12.0173L14.9116 9.49744C14.1243 9.45168 13.5 8.79875 13.5 8C13.5 7.17157 14.1716 6.5 15 6.5C15.8284 6.5 16.5 7.17157 16.5 8C16.5 8.82843 15.8284 9.5 15 9.5C14.9927 9.5 14.9853 9.49995 14.978 9.49984L17.8007 12.3708L20.3878 9.7838ZM12 18.1716L7.06179 13.2334L8.94444 11.3185L12.4063 14.8717L14.939 12.3129L16.3865 13.7851L12 18.1716Z",clipRule:"evenodd"}))),RP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M15 7V10H17V7C17 4.23858 14.7614 2 12 2 9.23858 2 7 4.23858 7 7V10H9V7C9 5.34315 10.3431 4 12 4 13.6569 4 15 5.34315 15 7ZM15 17V14H17V17C17 19.7614 14.7614 22 12 22 9.23858 22 7 19.7614 7 17V14H9V17C9 18.6569 10.3431 20 12 20 13.6569 20 15 18.6569 15 17Z"}),C.createElement("path",{d:"M13 8H11V16H13V8Z"}))),jP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M2 6C2 4.89542 2.89545 4 4 4 5.10455 4 6 4.89542 6 6 6 7.10455 5.10455 8 4 8 2.89545 8 2 7.10455 2 6ZM22 5H8V7H22V5ZM22 11H8V13H22V11ZM8 17H22V19H8V17ZM4 10C2.89545 10 2 10.8954 2 12 2 13.1046 2.89545 14 4 14 5.10455 14 6 13.1046 6 12 6 10.8954 5.10455 10 4 10ZM4 16C2.89545 16 2 16.8954 2 18 2 19.1046 2.89545 20 4 20 5.10455 20 6 19.1046 6 18 6 16.8954 5.10455 16 4 16Z"}))),IP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M4.97748 7.99993H3.81348V5.18593L3.12348 5.60593 2.66748 4.80193 4.04748 3.87793H4.97748V7.99993ZM22 4.99994H8V6.99994H22V4.99994ZM22 10.9999H8V12.9999H22V10.9999ZM8 16.9999H22V18.9999H8V16.9999ZM2.33421 14H5.63421V12.962H4.11621L4.65021 12.62C5.38221 12.152 5.59821 11.732 5.59821 11.192 5.59821 10.394 4.93821 9.80597 3.96021 9.80597 3.27621 9.80597 2.71821 10.082 2.26221 10.622L2.98221 11.348C3.30021 11.03 3.57621 10.862 3.93021 10.862 4.20021 10.862 4.39821 11.012 4.39821 11.24 4.39821 11.456 4.29621 11.642 3.86421 11.954L2.33421 13.058V14ZM5.66987 18.824C5.66987 19.556 5.00987 20.078 3.97787 20.078 3.19187 20.078 2.59787 19.802 2.21387 19.394L2.86787 18.62C3.17387 18.908 3.55787 19.04 3.91187 19.04 4.28387 19.04 4.46987 18.902 4.46987 18.716 4.46987 18.518 4.33187 18.41 3.83987 18.416L3.34187 18.422V17.45H3.83387C4.21787 17.45 4.39187 17.348 4.39187 17.162 4.39187 16.958 4.18187 16.844 3.84587 16.844 3.50387 16.844 3.20987 17.006 2.94587 17.252L2.30387 16.538C2.66387 16.124 3.17987 15.806 3.97187 15.806 4.99187 15.806 5.57987 16.292 5.57987 16.94 5.57987 17.384 5.29187 17.738 4.82387 17.876 5.29187 17.984 5.66987 18.314 5.66987 18.824Z"}))),LP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M2 20V4H22V20H2ZM18.5859 6H5.41427L12.0001 12.5858L18.5859 6ZM4 7.41415V18H20V7.4143L12.0001 15.4142L4 7.41415Z",clipRule:"evenodd"}))),NP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M12 18C15.3137 18 18 15.3137 18 12C18 8.68629 15.3137 6 12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18Z",clipRule:"evenodd"}))),MP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M12 12C13.1046 12 14 11.1046 14 10C14 8.89543 13.1046 8 12 8C10.8954 8 10 8.89543 10 10C10 11.1046 10.8954 12 12 12Z"}),C.createElement("path",{fillRule:"evenodd",d:"M20 10C20 16 12 22.5 12 22.5C12 22.5 4 16 4 10C4 5.58172 7.58172 2 12 2C16.4183 2 20 5.58172 20 10ZM18 10C18 12.2326 16.4373 14.8758 14.4702 17.2117C13.5849 18.263 12.6945 19.163 12 19.8205C11.3055 19.163 10.4151 18.263 9.52982 17.2117C7.5627 14.8758 6 12.2326 6 10C6 6.68629 8.68629 4 12 4C15.3137 4 18 6.68629 18 10Z",clipRule:"evenodd"}))),kP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M21 7H3V5H21V7ZM21 13H3V11H21V13ZM3 19H21V17H3V19Z"}))),FP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M3 21V3H21V21H3ZM5 5H19V19H5V5Z",clipRule:"evenodd"}))),DP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M7 12.0001C7 13.1046 6.10457 14.0001 5 14.0001 3.89543 14.0001 3 13.1046 3 12.0001 3 10.8955 3.89543 10.0001 5 10.0001 6.10457 10.0001 7 10.8955 7 12.0001ZM14 11.9724C14 13.077 13.1046 13.9724 12 13.9724 10.8954 13.9724 10 13.077 10 11.9724 10 10.8678 10.8954 9.97241 12 9.97241 13.1046 9.97241 14 10.8678 14 11.9724ZM19.0002 14.0001C20.1048 14.0001 21.0002 13.1046 21.0002 12.0001 21.0002 10.8955 20.1048 10.0001 19.0002 10.0001 17.8956 10.0001 17.0002 10.8955 17.0002 12.0001 17.0002 13.1046 17.8956 14.0001 19.0002 14.0001Z"}))),VP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M12 2C10.8954 2 10 2.89543 10 4 10 5.10457 10.8954 6 12 6 13.1046 6 14 5.10457 14 4 14 2.89543 13.1046 2 12 2ZM4 16C2.89543 16 2 16.8954 2 18 2 19.1046 2.89543 20 4 20 5.10457 20 6 19.1046 6 18 6 16.8954 5.10457 16 4 16ZM10 18C10 16.8954 10.8954 16 12 16 13.1046 16 14 16.8954 14 18 14 19.1046 13.1046 20 12 20 10.8954 20 10 19.1046 10 18ZM20 16C18.8954 16 18 16.8954 18 18 18 19.1046 18.8954 20 20 20 21.1046 20 22 19.1046 22 18 22 16.8954 21.1046 16 20 16ZM13 10H21V14H19V12H13V14H11V12H5V14H3V10H11V8H13V10Z"}))),HP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M15 7H7V9H15V7Z"}),C.createElement("path",{fillRule:"evenodd",d:"M15 11V17H7V11H15ZM13 15V13H9V15H13Z",clipRule:"evenodd"}),C.createElement("path",{fillRule:"evenodd",d:"M19 3H3V18C3 19.6569 4.34315 21 6 21H18C19.6569 21 21 19.6569 21 18V15H19V3ZM5 18V5H17V19H6C5.44772 19 5 18.5523 5 18Z",clipRule:"evenodd"}))),UP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M11 18C12.4021 18 13.6918 17.5191 14.7133 16.7133L16.1348 18.1348C14.7454 19.2991 12.9545 20 11 20C6.58172 20 3 16.4183 3 12C3 7.58172 6.58172 4 11 4C12.9545 4 14.7454 4.70094 16.1348 5.86515L14.7133 7.28675C13.6918 6.4809 12.4021 6 11 6C7.68629 6 5 8.68629 5 12C5 15.3137 7.68629 18 11 18Z"}),C.createElement("path",{d:"M22.4141 12L17.707 16.7071L16.2927 15.2929L18.5857 13L10 13V11L18.5856 11L16.2927 8.70712L17.707 7.29291L22.4141 12Z"}))),BP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M20 7L15 2H4V22H20V7ZM18 8.00003V20H6V4H14C14 4.00001 14 3.99999 14 4V8.00003H18Z",clipRule:"evenodd"}))),zP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M10 2C6.68629 2 4 4.68629 4 8C4 11.3137 6.68629 14 10 14H13V22H15V4H17V22H19V2H10ZM10 4H13V12H10C7.79086 12 6 10.2091 6 8C6 5.79086 7.79086 4 10 4Z",clipRule:"evenodd"}))),KP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M15 3H13.5C13.5 2.17157 12.8284 1.5 12 1.5C11.1716 1.5 10.5 2.17157 10.5 3H9V7H15V3Z"}),C.createElement("path",{d:"M4 4H7V6H6V20H18V6H17V4H20V22H4V4Z"}))),qP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M9 9H11V15H9V9ZM15 9H13V15H15V9Z"}),C.createElement("path",{fillRule:"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z",clipRule:"evenodd"}))),ZP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M19.0927 3.32161C18.3117 2.54056 17.0453 2.54056 16.2643 3.32161L4.2357 15.3502L3.5 20.5001L8.64992 19.7644L20.6785 7.73583C21.4596 6.95478 21.4596 5.68845 20.6785 4.9074L19.0927 3.32161ZM5.85702 18.1431L6.12132 16.293L14.6786 7.73571L16.2644 9.3215L7.70711 17.8788L5.85702 18.1431ZM17.6786 7.90728L19.2643 6.32161L17.6785 4.73582L16.0928 6.3215L17.6786 7.90728Z",clipRule:"evenodd"}))),WP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M10 15.4641L16 12L10 8.53589L10 15.4641Z"}),C.createElement("path",{fillRule:"evenodd",d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12Z",clipRule:"evenodd"}))),GP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M4.66674 8.74762 8.70718 4.70718 7.29297 3.29297 4.66674 5.9192 3.70718 4.95964 2.29297 6.37385 4.66674 8.74762ZM22 5.00006H10V7.00006H22V5.00006ZM22 11.0001H10V13.0001H22V11.0001ZM10 17.0001H22V19.0001H10V17.0001ZM8.70718 10.7072 4.66674 14.7476 2.29297 12.3738 3.70718 10.9596 4.66674 11.9192 7.29297 9.29297 8.70718 10.7072ZM4.66674 20.7476 8.70718 16.7072 7.29297 15.293 4.66674 17.9192 3.70718 16.9596 2.29297 18.3738 4.66674 20.7476Z"}))),QP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M7 6C9.20914 6 11 7.79086 11 10 11 13.5653 8.81985 16.6682 5.55262 18.8336L4.44775 17.1664C5.87998 16.2172 7.00481 15.1169 7.77807 13.9244 7.52639 13.974 7.26623 14 7 14 4.79086 14 3 12.2091 3 10 3 7.79086 4.79086 6 7 6ZM9 10C9 11.1046 8.10457 12 7 12 5.89543 12 5 11.1046 5 10 5 8.89543 5.89543 8 7 8 8.10457 8 9 8.89543 9 10ZM17.7781 13.9244C17.5264 13.974 17.2662 14 17 14 14.7909 14 13 12.2091 13 10 13 7.79086 14.7909 6 17 6 19.2091 6 21 7.79086 21 10 21 13.5653 18.8199 16.6682 15.5526 18.8336L14.4478 17.1664C15.88 16.2172 17.0048 15.1169 17.7781 13.9244ZM19 10C19 11.1046 18.1046 12 17 12 15.8954 12 15 11.1046 15 10 15 8.89543 15.8954 8 17 8 18.1046 8 19 8.89543 19 10Z",clipRule:"evenodd"}))),YP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16Z",clipRule:"evenodd"}))),JP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M18.9998 6.34195C16.2646 2.94959 11.3917 1.95918 7.49955 4.2063C3.19492 6.69158 1.72004 12.1959 4.20532 16.5005C6.69065 20.805 12.1955 22.2794 16.5001 19.7942L15.5001 18.0621C12.1521 19.9951 7.87093 18.848 5.93794 15.5C4.00509 12.1519 5.15156 7.87131 8.49955 5.93835C11.6749 4.10503 15.6897 5.04236 17.7444 8.00024H14.9998V10.0002H20.9998V4.00024H18.9998V6.34195ZM18.9282 8.00024H18.9998V7.95891L18.9282 8.00024Z",clipRule:"evenodd"}))),XP=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M15 3H21V5H19V19H21V21H15V19H17V5H15V3Z"}),C.createElement("path",{fillRule:"evenodd",d:"M13.9362 17H11.7122L10.8482 14.92H5.60021L4.73621 17H2.51221L7.12021 6.008H9.32821L13.9362 17ZM8.22421 8.648L6.28821 13.288H10.1602L8.22421 8.648Z",clipRule:"evenodd"}))),eT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M10.1885 5.23831C8.52721 5.68346 7.16654 6.68944 6.25535 7.99985H8V9.99985H3V4.99985H5V6.34247C6.15482 4.91139 7.75799 3.81902 9.67087 3.30646 14.4721 2.01998 19.4071 4.86923 20.6936 9.67042L18.7617 10.1881C17.7611 6.4538 13.9228 4.23772 10.1885 5.23831ZM5.23876 13.8115C6.23935 17.5458 10.0777 19.7619 13.812 18.7613 15.4731 18.3162 16.8339 17.3102 17.7451 15.9998H16V13.9998H21V18.9998H19V17.6577C17.8452 19.0885 16.2423 20.1806 14.3296 20.6931 9.52842 21.9796 4.59339 19.1304 3.30691 14.3292L5.23876 13.8115Z"}))),tT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M2 8C2 5.79086 3.79086 4 6 4H18C20.2091 4 22 5.79086 22 8V20H6C3.79086 20 2 18.2091 2 16V8ZM6 6H18C19.1046 6 20 6.89543 20 8V18H6C4.89543 18 4 17.1046 4 16V8C4 6.89543 4.89543 6 6 6Z",clipRule:"evenodd"}),C.createElement("path",{d:"M12.9258 10.7258L12.0001 8.5L11.0743 10.7258L8.67139 10.9184L10.5022 12.4867L9.94284 14.8316L12.0001 13.575L14.0573 14.8316L13.498 12.4867L15.3288 10.9184L12.9258 10.7258Z"}))),rT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M13 3H11V5H13V3Z"}),C.createElement("path",{fillRule:"evenodd",d:"M3 21V11H21V21H3ZM5 13H19V19H5V13Z",clipRule:"evenodd"}),C.createElement("path",{d:"M15 3H17V5H15V3ZM5 3H3V5H5V3ZM7 3H9V5H7V3ZM21 3H19V5H21V3ZM19 7H21V9H19V7ZM5 7H3V9H5V7Z"}))),nT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M3 13V3H21V13H3ZM5 5H19V11H5V5Z",clipRule:"evenodd"}),C.createElement("path",{d:"M13 19H11V21H13V19ZM15 19H17V21H15V19ZM5 19H3V21H5V19ZM7 19H9V21H7V19ZM21 19H19V21H21V19ZM19 15H21V17H19V15ZM5 15H3V17H5V15Z"}))),iT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M5 9H19V11H21V7H3V17H15V15H5V9Z"}),C.createElement("path",{d:"M20.0001 17.4142L18.2072 19.2071L16.793 17.7929L18.5859 16L16.793 14.2071L18.2072 12.7929L20.0001 14.5858L21.793 12.7929L23.2072 14.2071L21.4143 16L23.2072 17.7929L21.793 19.2071L20.0001 17.4142Z"}))),aT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M10 3C6.13401 3 3 6.13401 3 10C3 13.866 6.13401 17 10 17C11.5723 17 13.0236 16.4816 14.1922 15.6064L19.2929 20.7071L20.7071 19.2929L15.6064 14.1922C16.4816 13.0236 17 11.5723 17 10C17 6.13401 13.866 3 10 3ZM5 10C5 7.23858 7.23858 5 10 5C12.7614 5 15 7.23858 15 10C15 12.7614 12.7614 15 10 15C7.23858 15 5 12.7614 5 10Z",clipRule:"evenodd"}))),oT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M4 2V12.3197C4 16.1074 6.14002 19.57 9.52786 21.2639L12 22.5L14.4721 21.2639C17.86 19.57 20 16.1074 20 12.3197V2H4ZM13 4H18V12.3197C18 15.3498 16.288 18.1199 13.5777 19.4751L13 19.7639V4ZM11 4V19.7639L10.4223 19.4751C7.71202 18.1199 6 15.3498 6 12.3197V4H11Z",clipRule:"evenodd"}))),sT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M12 14.5C13.3807 14.5 14.5 13.3807 14.5 12C14.5 10.6193 13.3807 9.5 12 9.5C10.6193 9.5 9.5 10.6193 9.5 12C9.5 13.3807 10.6193 14.5 12 14.5Z"}),C.createElement("path",{fillRule:"evenodd",d:"M5.59047 4.61667L7.73535 5.23024C7.90906 5.12057 8.08729 5.01742 8.26969 4.9211L8.8106 2.75746C8.92189 2.3123 9.32187 2 9.78074 2H14.2192C14.6781 2 15.078 2.3123 15.1893 2.75746L15.7302 4.9211C15.9127 5.01743 16.0909 5.1206 16.2646 5.23028L18.4097 4.61667C18.8509 4.49047 19.3213 4.68071 19.5507 5.07811L21.77 8.92191C21.9994 9.3193 21.9289 9.82185 21.5991 10.1408L19.9942 11.6926C19.998 11.7946 20 11.8971 20 12C20 12.103 19.998 12.2055 19.9942 12.3075L21.5991 13.8593C21.9289 14.1782 21.9994 14.6808 21.77 15.0782L19.5507 18.922C19.3213 19.3194 18.8509 19.5096 18.4097 19.3834L16.2646 18.7698C16.0909 18.8794 15.9126 18.9826 15.7303 19.0789L15.1893 21.2426C15.078 21.6878 14.6781 22.0001 14.2192 22.0001H9.78074C9.32187 22.0001 8.92189 21.6878 8.8106 21.2426L8.26967 19.0789C8.08728 18.9826 7.90907 18.8794 7.73537 18.7698L5.59047 19.3834C5.1493 19.5096 4.67885 19.3193 4.44942 18.9219L2.23019 15.0781C2.00076 14.6807 2.07123 14.1782 2.40111 13.8592L4.00577 12.3076C4.00191 12.2056 3.99996 12.103 3.99996 12C3.99996 11.897 4.00191 11.7944 4.00577 11.6924L2.40111 10.1408C2.07123 9.82185 2.00076 9.31931 2.23019 8.92191L4.44942 5.07811C4.67885 4.68071 5.1493 4.49047 5.59047 4.61667ZM13.4384 4L14.0066 6.27263L14.7963 6.68967C14.933 6.76185 15.0667 6.8392 15.197 6.92148L15.954 7.39936L18.2091 6.75428L19.6475 9.24574L17.9619 10.8756L17.9956 11.7681C17.9985 11.8449 18 11.9222 18 12C18 12.0778 17.9985 12.1551 17.9956 12.232L17.9619 13.1245L19.6475 14.7543L18.2091 17.2458L15.9539 16.6007L15.1969 17.0786C15.0666 17.1608 14.933 17.2382 14.7964 17.3103L14.0066 17.7274L13.4384 20.0001H10.5615L9.99334 17.7274L9.20357 17.3103C9.0669 17.2382 8.93328 17.1608 8.80298 17.0786L8.04599 16.6007L5.79108 17.2457L4.35263 14.7543L6.03809 13.1246L6.00434 12.2321C6.00143 12.1552 5.99996 12.0778 5.99996 12C5.99996 11.9222 6.00143 11.8448 6.00434 11.7679L6.03808 10.8754L4.35263 9.24574L5.79108 6.75428L8.04597 7.39931L8.80297 6.92145C8.93328 6.83918 9.06691 6.76184 9.20358 6.68967L9.99336 6.27263L10.5615 4H13.4384Z",clipRule:"evenodd"}))),lT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M17 4H19V7H22V9H19V12H17V9H14V7H17V4Z"}),C.createElement("path",{fillRule:"evenodd",d:"M13.3819 14.8618C13.3819 14.8618 14.156 15.2587 14.5877 15.5754C15.2779 16.0817 16.0732 16.8818 16.3217 18C16.3504 18.1291 16.3718 18.2624 16.3849 18.4C16.3948 18.5041 16.4 18.6106 16.4 18.7196V20L2 20L2 18.7196C2 18.6106 2.00518 18.5041 2.01509 18.4C2.0282 18.2624 2.0496 18.1291 2.07828 18C2.32658 16.8823 3.12062 16.0826 3.80611 15.5777C4.24345 15.2556 4.68302 15.0177 5.01726 14.859C5.17463 14.7843 5.30866 14.7271 5.4081 14.687L5.58887 14.6179L5.66038 14.5963C6.26182 14.4454 6.49887 14.2588 6.57556 14.1823L6.57415 13.5893C6.09164 13.1281 5.87178 12.5905 5.77247 12.1848C5.46152 11.8317 5.2529 11.4055 5.14173 10.8622C5.07124 10.5178 5.06936 10.1927 5.15098 9.88435C5.18373 9.76058 5.22757 9.64854 5.27799 9.54693L5.25537 9.4743L5.24898 9.44731C4.93626 8.12731 5.04708 7.08466 5.38775 6.27783C5.72576 5.47727 6.26031 4.97981 6.67835 4.69287C7.67082 4.01106 8.78472 4 9.21783 4C10.2301 4 10.9362 4.55189 11.3179 4.95238C11.8459 5.11349 12.3048 5.45723 12.6421 5.91119C12.8847 6.23768 13.1342 6.67044 13.2573 7.26733C13.3791 7.85792 13.3668 8.55847 13.1649 9.41355L13.1586 9.44015L13.1252 9.54806C13.3264 9.93791 13.4457 10.464 13.2053 11.045L13.1459 11.1907L13.1452 11.1924L13.1273 11.2371C13.034 11.4706 12.8856 11.8419 12.6355 12.1619C12.5387 12.569 12.3203 13.1181 11.8286 13.5884V14.2886C11.943 14.3517 12.193 14.4582 12.6989 14.5846L12.7304 14.5924L12.7611 14.6028C12.7732 14.6069 12.7925 14.6136 12.8183 14.623C12.8599 14.6382 12.9185 14.6604 12.991 14.6897C13.0955 14.732 13.3819 14.8618 13.3819 14.8618ZM11.2272 8.91598C11.3674 8.30346 11.3486 7.91438 11.2985 7.67121C11.2493 7.43251 11.1559 7.2643 11.0368 7.10413C10.9252 6.95386 10.8091 6.88818 10.7343 6.86533L10.2322 6.71215L9.87003 6.33214C9.67345 6.12586 9.4557 6 9.21783 6C8.82584 6 8.26127 6.03191 7.81083 6.34135C7.62244 6.47066 7.3837 6.69234 7.23024 7.05578C7.08237 7.40601 6.96718 7.99518 7.18609 8.94759L7.42594 9.71769L7.09053 10.3937C7.09194 10.4086 7.09491 10.4309 7.10113 10.4613C7.15059 10.703 7.21857 10.8007 7.2734 10.863L7.59826 11.2318L7.71513 11.7093C7.75185 11.8593 7.82353 12.0168 7.95612 12.1436L8.57212 12.7324L8.57754 15.0102L7.98805 15.5982C7.6028 15.9825 7.03137 16.3048 6.21349 16.5192C6.19847 16.5249 6.17956 16.5324 6.15712 16.5414C5.93152 16.6325 5.45081 16.8502 4.99227 17.188C4.64396 17.4446 4.37811 17.7178 4.20979 18L14.1898 18C14.0213 17.7182 13.7549 17.4449 13.4046 17.1879C12.9584 16.8605 12.4879 16.6437 12.2403 16.5435C12.2043 16.5289 12.1752 16.5177 12.1541 16.5098C11.5958 16.3671 11.179 16.2142 10.8632 16.0402L9.82857 15.47V12.7339L10.4461 12.1432C10.5814 12.0137 10.6534 11.8522 10.6897 11.6994L10.7907 11.2745L11.0597 10.9304C11.0755 10.9102 11.1061 10.8642 11.1469 10.7815C11.1881 10.6981 11.2226 10.6138 11.27 10.4951L11.2894 10.4467L11.2939 10.4353L11.311 10.3937L10.9727 9.73827L11.2272 8.91598Z",clipRule:"evenodd"}))),uT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M19.4141 9.99995 16.707 12.7071 15.2927 11.2928 16.5856 9.99995 15.2927 8.70706 16.707 7.29285 19.4141 9.99995ZM7.29304 7.29282 4.58594 9.99992 7.29304 12.707 8.70726 11.2928 7.41436 9.99992 8.70726 8.70703 7.29304 7.29282Z"}),C.createElement("path",{fillRule:"evenodd",d:"M2 16V4H22V16H2ZM4 6H20V14H4V6Z",clipRule:"evenodd"}),C.createElement("path",{d:"M20 18H4V20H20V18Z"}))),cT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M11.5688 16.4039C11.5335 16.3891 11.4842 16.3681 11.4228 16.3409C11.3002 16.2865 11.1287 16.2072 10.9244 16.1041C10.5184 15.8992 9.97035 15.5938 9.41596 15.1949C8.37749 14.4477 7 13.1442 7 11.3333C7 9.51192 8.45173 8 10.2857 8C10.9154 8 11.5023 8.18001 12 8.48931C12.4977 8.18001 13.0846 8 13.7143 8C15.5483 8 17 9.51192 17 11.3333C17 13.1442 15.6225 14.4477 14.584 15.1949C14.0297 15.5938 13.4816 15.8992 13.0756 16.1041C12.8713 16.2072 12.6998 16.2865 12.5772 16.3409C12.5158 16.3681 12.4665 16.3891 12.4312 16.4039L12 16.576L11.5688 16.4039ZM9 11.3333C9 10.5774 9.59497 10 10.2857 10C10.662 10 11.004 10.1669 11.2435 10.444L12 11.3189L12.7565 10.444C12.996 10.1669 13.338 10 13.7143 10C14.405 10 15 10.5774 15 11.3333C15 12.0998 14.3775 12.8796 13.416 13.5714C12.9703 13.8921 12.5184 14.1451 12.1744 14.3187C12.1121 14.3501 12.0537 14.3788 12 14.4046C11.9463 14.3788 11.8879 14.3501 11.8256 14.3187C11.4816 14.1451 11.0297 13.8921 10.584 13.5714C9.62251 12.8796 9 12.0998 9 11.3333Z",clipRule:"evenodd"}),C.createElement("path",{fillRule:"evenodd",d:"M2 8C2 5.79086 3.79086 4 6 4H18C20.2091 4 22 5.79086 22 8V20H6C3.79086 20 2 18.2091 2 16V8ZM6 6H18C19.1046 6 20 6.89543 20 8V18H6C4.89543 18 4 17.1046 4 16V8C4 6.89543 4.89543 6 6 6Z",clipRule:"evenodd"}))),dT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M4 4V2H20V4H4ZM16.7072 9.29286 12.0001 4.58575 7.29297 9.29286 8.70718 10.7071 11 8.41426 11 15.5858 8.70703 13.2928 7.29282 14.707 11.9999 19.4141 16.707 14.707 15.2928 13.2928 13 15.5856 13 8.41411 15.293 10.7071 16.7072 9.29286ZM4 20V22H20V20H4Z"}))),fT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M10 8C10 6.89543 10.8954 6 12 6 13.1046 6 14 6.89543 14 8 14 9.10457 13.1046 10 12 10 10.8954 10 10 9.10457 10 8ZM12 12C10.8954 12 10 12.8954 10 14 10 15.1046 10.8954 16 12 16 13.1046 16 14 15.1046 14 14 14 12.8954 13.1046 12 12 12Z"}),C.createElement("path",{fillRule:"evenodd",d:"M6 8C6 4.68629 8.68629 2 12 2C15.3137 2 18 4.68629 18 8V14C18 16.973 15.8377 19.441 13 19.917V20H16V22H8V20H11V19.917C8.16229 19.441 6 16.973 6 14V8ZM12 18C14.2091 18 16 16.2091 16 14V8C16 5.79086 14.2091 4 12 4C9.79086 4 8 5.79086 8 8V14C8 16.2091 9.79086 18 12 18Z",clipRule:"evenodd"}))),pT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M14 10H10V12H14V10Z"}),C.createElement("path",{fillRule:"evenodd",d:"M6 4V20L12 15L18 20V4H6ZM16 6V15.7299L12 12.3966L8 15.7299V6H16Z",clipRule:"evenodd"}))),hT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M3 3V21H21V3H3ZM11 5H5V11H11V5ZM13 5V11H19V5H13ZM11 13H5V19H11V13ZM13 19V13H19V19H13Z",clipRule:"evenodd"}))),mT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M15 7C13.8954 7 13 7.89543 13 9C13 10.1046 13.8954 11 15 11C16.1046 11 17 10.1046 17 9C17 7.89543 16.1046 7 15 7Z"}),C.createElement("path",{fillRule:"evenodd",d:"M12.6567 3C11.5959 3 10.5785 3.42143 9.82831 4.17157L3.82831 10.1716C2.26621 11.7337 2.26622 14.2663 3.82831 15.8284L8.17146 20.1716C9.73356 21.7337 12.2662 21.7337 13.8283 20.1716L19.8283 14.1716C20.5785 13.4214 20.9999 12.404 20.9999 11.3431V3H12.6567ZM12.6567 5H18.9999V11.3431C18.9999 11.8736 18.7892 12.3823 18.4141 12.7574L12.4141 18.7574C11.633 19.5384 10.3667 19.5384 9.58568 18.7574L5.24253 14.4142C4.46148 13.6332 4.46148 12.3668 5.24252 11.5858L11.2425 5.58579C11.6176 5.21071 12.1263 5 12.6567 5Z",clipRule:"evenodd"}))),vT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M5 3H19V7H17V5H13V19H15V21H9V19H11V5H7V7H5V3Z"}))),gT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M3 11V3H11V11H3ZM5 5H9V9H5V5ZM13 11V3H21V11H13ZM15 5H19V9H15V5ZM3 13V21H11V13H3ZM9 15H5V19H9V15ZM13 21V13H21V21H13ZM15 15H19V19H15V15Z",clipRule:"evenodd"}))),yT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M16 6H8V10H16V6Z"}),C.createElement("path",{fillRule:"evenodd",d:"M4 2L4 22L12 15L20 22V2L4 2ZM18 17.5925L12 12.3425L6 17.5925V4H18V17.5925Z",clipRule:"evenodd"}))),$T=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M16 5H2V7H16V5ZM16 11H2V13H16V11ZM2 17H16V19H2V17ZM18 5H22V7H18V5ZM22 11H18V13H22V11ZM18 17H22V19H18V17Z",clipRule:"evenodd"}))),wT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M6.25492 8.00006H9V10.0001H3V4.00006H5V6.34109C7.73532 2.94903 12.608 1.95877 16.5 4.20581C20.8046 6.69109 22.2795 12.1954 19.7942 16.5C17.3089 20.8047 11.8047 22.2796 7.50002 19.7943L8.50002 18.0623C11.8481 19.9952 16.1292 18.8481 18.0622 15.5C19.9952 12.152 18.848 7.87086 15.5 5.93786C12.3245 4.10448 8.30959 5.04193 6.25492 8.00006ZM5 7.9586L5.07181 8.00006H5V7.9586Z",clipRule:"evenodd"}))),bT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M12.0001 2.58594L16.7072 7.29305L15.293 8.70726L13 6.41429L13 15.0001H11L11 6.41444L8.70718 8.70726L7.29297 7.29304L12.0001 2.58594Z"}),C.createElement("path",{d:"M17.917 13.0001H19.9381C19.979 13.3277 20 13.6615 20 14.0001C20 18.4184 16.4183 22.0001 12 22.0001C7.58172 22.0001 4 18.4184 4 14.0001C4 13.6615 4.02104 13.3277 4.06189 13.0001H6.08296C6.0284 13.3253 6 13.6594 6 14.0001C6 17.3138 8.68629 20.0001 12 20.0001C15.3137 20.0001 18 17.3138 18 14.0001C18 13.6594 17.9716 13.3253 17.917 13.0001Z"}))),ET=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M9.97976 4.51502C9.68686 4.71607 9.31513 5.06166 9.07718 5.62524C8.84412 6.17722 8.70057 7.02849 8.99966 8.31532L9.24544 9.10442L8.88905 9.82264C8.88154 9.83779 8.8762 9.85182 8.87214 9.86716C8.86424 9.89702 8.84715 9.98427 8.88655 10.1768C8.96381 10.5543 9.08395 10.7586 9.21651 10.9091L9.54138 11.278L9.65824 11.7555C9.71979 12.007 9.84643 12.2988 10.0997 12.5409L10.7157 13.1297L10.7214 15.5557L10.1319 16.1438C9.72447 16.5503 9.08883 16.9202 8.1148 17.1719C7.9382 17.2383 7.17938 17.5406 6.44379 18.0824C5.72516 18.6118 5.18275 19.251 5.03817 20L18.9618 20C18.8172 19.2515 18.2747 18.6123 17.5515 18.0818C17.1497 17.787 16.7318 17.5571 16.3916 17.3945C16.2239 17.3143 16.0812 17.2534 15.9771 17.2115C15.9155 17.1867 15.8694 17.1694 15.8417 17.1592C15.1518 16.9843 14.6681 16.804 14.3203 16.6124L13.2857 16.0421L13.2857 13.131L13.9032 12.5403C14.1615 12.2932 14.2881 11.9945 14.3486 11.7399L14.4496 11.315L14.7185 10.9709C14.7656 10.9107 14.8212 10.8214 14.882 10.6983C14.9431 10.5744 14.9927 10.4523 15.0518 10.3043L15.0758 10.2444L15.0804 10.233L15.1586 10.0413C15.1699 10.0141 15.1724 9.99919 15.173 9.99461C15.1737 9.98956 15.174 9.98464 15.1732 9.97724C15.1715 9.95988 15.1629 9.9175 15.1292 9.85229L14.754 9.12528L15.0172 8.27515C15.2095 7.44451 15.1934 6.87882 15.1128 6.48804C15.0328 6.10012 14.877 5.82372 14.6974 5.58192C14.5014 5.31817 14.2706 5.16655 14.0637 5.10343L13.5616 4.95025L13.1995 4.57024C12.9075 4.26384 12.5132 4 12.0223 4C11.522 4 10.6783 4.03512 9.97976 4.51502ZM16.9483 8.80019L16.9065 8.93507C17.158 9.42239 17.3072 10.08 17.0066 10.8062L16.9323 10.9883L16.9315 10.9905L16.9091 11.0464C16.7924 11.3383 16.607 11.8024 16.2944 12.2024C16.1734 12.7113 15.9003 13.3976 15.2857 13.9855L15.2857 14.8608C15.4287 14.9396 15.7412 15.0728 16.3737 15.2307L16.413 15.2405L16.4514 15.2535C16.4665 15.2586 16.4906 15.267 16.5228 15.2787C16.5749 15.2977 16.6481 15.3255 16.7387 15.3621C17.1587 15.5322 17.9513 15.8945 18.7346 16.4692C19.697 17.1753 20.8228 18.338 20.9811 20C20.9935 20.1301 21 20.2632 21 20.3994L21 22L3 22L3 20.3994C3 20.2632 3.00647 20.1301 3.01886 20C3.17716 18.3387 4.30182 17.1762 5.25763 16.4721C6.06171 15.8798 6.87182 15.5155 7.26012 15.3587C7.3793 15.3106 7.45874 15.282 7.48608 15.2723L7.53015 15.2568L7.57547 15.2454C8.32727 15.0568 8.62359 14.8235 8.71945 14.7278L8.71769 13.9866C8.11454 13.4101 7.83972 12.7381 7.71559 12.231C7.3269 11.7896 7.06613 11.2569 6.92716 10.5778C6.83905 10.1472 6.8367 9.74087 6.93871 9.35543C6.97966 9.20073 7.03446 9.06067 7.09749 8.93366L7.06921 8.84287L7.06122 8.80913C6.67033 7.15914 6.80885 5.85582 7.23468 4.84729C7.6572 3.84659 8.32539 3.22476 8.84794 2.86609C10.0885 2.01383 11.4809 2 12.0223 2C13.2876 2 14.1703 2.68986 14.6473 3.19048C15.3074 3.39187 15.8809 3.82154 16.3026 4.38899C16.6059 4.7971 16.9178 5.33805 17.0716 6.08416C17.2238 6.8224 17.2084 7.69809 16.9561 8.76694L16.9483 8.80019Z",clipRule:"evenodd"}))),CT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M15 12L10 9V15L15 12Z"}),C.createElement("path",{fillRule:"evenodd",d:"M2 20V4H22V20H2ZM4 6H20V18H4V6Z",clipRule:"evenodd"}))),ST=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M13 12C13 10.8954 13.8954 10 15 10C16.1046 10 17 10.8954 17 12C17 13.1046 16.1046 14 15 14C13.8954 14 13 13.1046 13 12Z"}),C.createElement("path",{fillRule:"evenodd",d:"M12 21.8C11.3538 21.9311 10.6849 22 10 22V2C10.6849 2 11.3538 2.06886 12 2.20004C16.5645 3.12658 20 7.16208 20 12C20 16.8379 16.5645 20.8734 12 21.8ZM12 19.748C15.4505 18.8599 18 15.7277 18 12C18 8.27232 15.4505 5.14012 12 4.25204V19.748Z",clipRule:"evenodd"}),C.createElement("path",{d:"M7 10C5.89543 10 5 10.8954 5 12C5 13.1046 5.89543 14 7 14C8.10457 14 9 13.1046 9 12C9 10.8954 8.10457 10 7 10Z"}))),_T=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{d:"M9 9 3 9 3 7 7 7 7 3 9 3 9 9ZM9 15V21H7L7 17H3V15H9ZM21 15H15V21H17V17H21V15ZM15 9V3H17V7H21V9H15ZM12 10C10.8954 10 10 10.8954 10 12 10 13.1046 10.8954 14 12 14 13.1046 14 14 13.1046 14 12 14 10.8954 13.1046 10 12 10Z"}))),xT=e=>C.createElement(Q,e,C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},C.createElement("path",{fillRule:"evenodd",d:"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM9.38254 19.562C8.93442 18.5917 8.57343 17.3767 8.33284 16H5.07026C6.02529 17.651 7.55338 18.929 9.38254 19.562ZM11.0285 18.3283C10.7671 17.6747 10.5403 16.8885 10.3667 16H13.6333C13.4597 16.8885 13.2329 17.6747 12.9715 18.3283C12.6653 19.0937 12.3508 19.5788 12.1039 19.8399C12.0635 19.8826 12.0289 19.9155 12 19.9407C11.9711 19.9155 11.9365 19.8826 11.8961 19.8399C11.6492 19.5788 11.3347 19.0937 11.0285 18.3283ZM10 12C10 12.6936 10.0306 13.3627 10.0872 14H13.9128C13.9694 13.3627 14 12.6936 14 12C14 11.3064 13.9694 10.6373 13.9128 10H10.0872C10.0306 10.6373 10 11.3064 10 12ZM8.08002 10C8.02754 10.6462 8 11.3151 8 12C8 12.6849 8.02754 13.3538 8.08002 14H4.25204C4.08751 13.3608 4 12.6906 4 12C4 11.3094 4.08751 10.6392 4.25204 10H8.08002ZM10.3667 8H13.6333C13.4597 7.11152 13.2329 6.32531 12.9715 5.67171C12.6653 4.90634 12.3508 4.42118 12.1039 4.16007C12.0635 4.11741 12.0289 4.08451 12 4.05929C11.9711 4.08451 11.9365 4.11741 11.8961 4.16007C11.6492 4.42118 11.3347 4.90634 11.0285 5.67171C10.7671 6.32531 10.5403 7.11152 10.3667 8ZM15.92 10C15.9725 10.6462 16 11.3151 16 12C16 12.6849 15.9725 13.3538 15.92 14H19.748C19.9125 13.3608 20 12.6906 20 12C20 11.3094 19.9125 10.6392 19.748 10H15.92ZM18.9297 8H15.6672C15.4266 6.62334 15.0656 5.40828 14.6175 4.43801C16.4466 5.07104 17.9747 6.34903 18.9297 8ZM8.33284 8H5.07026C6.02529 6.34903 7.55338 5.07104 9.38254 4.438C8.93442 5.40828 8.57343 6.62334 8.33284 8ZM14.6175 19.562C15.0656 18.5917 15.4266 17.3767 15.6672 16H18.9297C17.9747 17.651 16.4466 18.929 14.6175 19.562Z",clipRule:"evenodd"}))),OT=({name:e})=>E.jsx("div",{className:"distributionName",children:e}),PT=({title:e,description:t,name:r,image:n,buttonAction:i})=>E.jsxs("div",{className:"kard",children:[E.jsxs("div",{className:"card-header",children:[E.jsx("h2",{children:e}),E.jsx("div",{className:"badge-wrapper",children:E.jsx(OT,{name:r})})]}),E.jsxs("div",{className:"main",children:[n&&E.jsx("div",{className:"image-box",children:E.jsx("img",{src:n,alt:e})}),E.jsxs("div",{className:"hover-overlay",children:[E.jsx("p",{children:t}),E.jsx(jm,{onPress:i,children:"Create"})]})]})]}),TT=({distribution:e,can_manage:t,handler:r})=>E.jsx(PT,{title:e.title,description:e.description,image:e.image,buttonAction:()=>r(t,e.name),name:e.name}),AT=({distributions:e,can_manage:t,handler:r})=>e&&E.jsx("div",{className:"distributionsList new",children:e.map(n=>E.jsx("div",{children:E.jsx(TT,{distribution:n,handler:r,can_manage:t})},n.name))}),RT=e=>{window.location.href=e},jT=({site:e})=>{const t=({name:n})=>E.jsx("div",{className:"distributionName",children:n}),r=({title:n,description:i,name:a,image:o,id:s,buttonAction:l,buttonText:u,distribution:c})=>E.jsxs("div",{className:"kard",children:[E.jsxs("div",{className:"main",children:[E.jsxs("div",{className:"card-header",children:[E.jsxs("div",{children:[E.jsx("h2",{children:n}),E.jsxs("span",{className:"id",children:["id: ",a]})]}),E.jsx("div",{className:"badge-wrapper",children:E.jsx(t,{name:c})})]}),o&&E.jsx("div",{className:"image-box",children:E.jsx("img",{src:o,alt:n})})]}),E.jsxs("div",{className:"hover-overlay",children:[E.jsx("p",{children:i}),E.jsx(jm,{onPress:l,children:u})]})]});return e.needs_upgrade,E.jsx(r,{title:e.title,description:e.description,buttonAction:()=>RT(e["@id"]),name:e.id,buttonText:"Visit",distribution:e.distribution})},IT=({sites:e})=>e&&E.jsx("div",{className:"sitesList",children:e.map((t,r)=>E.jsx("div",{children:E.jsx(jT,{site:t})},r))});var Z5=typeof global=="object"&&global&&global.Object===Object&&global,LT=typeof self=="object"&&self&&self.Object===Object&&self,sn=Z5||LT||Function("return this")(),_r=sn.Symbol,W5=Object.prototype,NT=W5.hasOwnProperty,MT=W5.toString,as=_r?_r.toStringTag:void 0;function kT(e){var t=NT.call(e,as),r=e[as];try{e[as]=void 0;var n=!0}catch{}var i=MT.call(e);return n&&(t?e[as]=r:delete e[as]),i}var FT=Object.prototype,DT=FT.toString;function VT(e){return DT.call(e)}var HT="[object Null]",UT="[object Undefined]",Wy=_r?_r.toStringTag:void 0;function _i(e){return e==null?e===void 0?UT:HT:Wy&&Wy in Object(e)?kT(e):VT(e)}function G5(e,t){return function(r){return e(t(r))}}var Im=G5(Object.getPrototypeOf,Object);function Fr(e){return e!=null&&typeof e=="object"}var BT="[object Object]",zT=Function.prototype,KT=Object.prototype,Q5=zT.toString,qT=KT.hasOwnProperty,ZT=Q5.call(Object);function Cd(e){if(!Fr(e)||_i(e)!=BT)return!1;var t=Im(e);if(t===null)return!0;var r=qT.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Q5.call(r)==ZT}function WT(){this.__data__=[],this.size=0}function Lm(e,t){return e===t||e!==e&&t!==t}function Sd(e,t){for(var r=e.length;r--;)if(Lm(e[r][0],t))return r;return-1}var GT=Array.prototype,QT=GT.splice;function YT(e){var t=this.__data__,r=Sd(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():QT.call(t,r,1),--this.size,!0}function JT(e){var t=this.__data__,r=Sd(t,e);return r<0?void 0:t[r][1]}function XT(e){return Sd(this.__data__,e)>-1}function eA(e,t){var r=this.__data__,n=Sd(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Fn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++ts))return!1;var u=a.get(e),c=a.get(t);if(u&&c)return u==t&&c==e;var d=-1,p=!0,f=r&KA?new cl:void 0;for(a.set(e,t),a.set(t,e);++d-1&&e%1==0&&e-1&&e%1==0&&e<=yR}var $R="[object Arguments]",wR="[object Array]",bR="[object Boolean]",ER="[object Date]",CR="[object Error]",SR="[object Function]",_R="[object Map]",xR="[object Number]",OR="[object Object]",PR="[object RegExp]",TR="[object Set]",AR="[object String]",RR="[object WeakMap]",jR="[object ArrayBuffer]",IR="[object DataView]",LR="[object Float32Array]",NR="[object Float64Array]",MR="[object Int8Array]",kR="[object Int16Array]",FR="[object Int32Array]",DR="[object Uint8Array]",VR="[object Uint8ClampedArray]",HR="[object Uint16Array]",UR="[object Uint32Array]",De={};De[LR]=De[NR]=De[MR]=De[kR]=De[FR]=De[DR]=De[VR]=De[HR]=De[UR]=!0;De[$R]=De[wR]=De[jR]=De[bR]=De[IR]=De[ER]=De[CR]=De[SR]=De[_R]=De[xR]=De[OR]=De[PR]=De[TR]=De[AR]=De[RR]=!1;function BR(e){return Fr(e)&&Dm(e.length)&&!!De[_i(e)]}function Vm(e){return function(t){return e(t)}}var aw=typeof Gt=="object"&&Gt&&!Gt.nodeType&&Gt,js=aw&&typeof Qt=="object"&&Qt&&!Qt.nodeType&&Qt,zR=js&&js.exports===aw,n1=zR&&Z5.process,uo=function(){try{var e=js&&js.require&&js.require("util").types;return e||n1&&n1.binding&&n1.binding("util")}catch{}}(),t2=uo&&uo.isTypedArray,Hm=t2?Vm(t2):BR,KR=Object.prototype,qR=KR.hasOwnProperty;function ow(e,t){var r=Rt(e),n=!r&&xd(e),i=!r&&!n&&dl(e),a=!r&&!n&&!i&&Hm(e),o=r||n||i||a,s=o?rw(e.length,String):[],l=s.length;for(var u in e)(t||qR.call(e,u))&&!(o&&(u=="length"||i&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Fm(u,l)))&&s.push(u);return s}var ZR=Object.prototype;function Od(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||ZR;return e===r}var WR=G5(Object.keys,Object),GR=Object.prototype,QR=GR.hasOwnProperty;function sw(e){if(!Od(e))return WR(e);var t=[];for(var r in Object(e))QR.call(e,r)&&r!="constructor"&&t.push(r);return t}function xl(e){return e!=null&&Dm(e.length)&&!Y5(e)}function Ol(e){return xl(e)?ow(e):sw(e)}function Vp(e){return ew(e,Ol,km)}var YR=1,JR=Object.prototype,XR=JR.hasOwnProperty;function ej(e,t,r,n,i,a){var o=r&YR,s=Vp(e),l=s.length,u=Vp(t),c=u.length;if(l!=c&&!o)return!1;for(var d=l;d--;){var p=s[d];if(!(o?p in t:XR.call(t,p)))return!1}var f=a.get(e),m=a.get(t);if(f&&m)return f==t&&m==e;var v=!0;a.set(e,t),a.set(t,e);for(var $=o;++da,typeof e[n]>"u"&&(Array.isArray(e)&&n==="-"&&(n=e.length),i&&(t[a]!==""&&t[a]<1/0||t[a]==="-"?e[n]=[]:e[n]={})),!i)break;e=e[n]}var s=e[n];return r===void 0?delete e[n]:e[n]=r,s}function Km(e){if(typeof e=="string"){if(e=e.split("/"),e[0]==="")return e;throw new Error("Invalid JSON pointer.")}else if(Array.isArray(e)){for(const t of e)if(typeof t!="string"&&typeof t!="number")throw new Error("Invalid JSON pointer. Must be of type string or number.");return e}throw new Error("Invalid JSON pointer.")}function fw(e,t){if(typeof e!="object")throw new Error("Invalid input object.");t=Km(t);var r=t.length;if(r===1)return e;for(var n=1;ni?0:i+t),r=r>i?i:r,r<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(i);++n0){if(++t>=sL)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var _w=cL(oL);function xw(e){return _w(Sw(e,void 0,nL),e+"")}var dL=1,fL=2,pL=4,Ic=xw(function(e,t){var r={};if(e==null)return r;var n=!1;t=zm(t,function(a){return a=So(a,e),n||(n=a.length>1),a}),Al(e,yw(e),r),n&&(r=Is(r,dL|fL|pL,tL));for(var i=t.length;i--;)Ew(r,t[i]);return r}),hL=Object.prototype,mL=hL.hasOwnProperty;function vL(e,t){return e!=null&&mL.call(e,t)}function Ow(e,t,r){t=So(t,e);for(var n=-1,i=t.length,a=!1;++nJL)return[];var r=i1,n=XL(e,i1);t=DL(t),e-=i1;for(var i=rw(n,t);++r-1}var mN=hN,vN=Rd;function gN(e,t){var r=this.__data__,n=vN(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var yN=gN,$N=tN,wN=uN,bN=fN,EN=mN,CN=yN;function xo(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=bF}var t0=EF,CF=fa,SF=t0,_F=cn,xF="[object Arguments]",OF="[object Array]",PF="[object Boolean]",TF="[object Date]",AF="[object Error]",RF="[object Function]",jF="[object Map]",IF="[object Number]",LF="[object Object]",NF="[object RegExp]",MF="[object Set]",kF="[object String]",FF="[object WeakMap]",DF="[object ArrayBuffer]",VF="[object DataView]",HF="[object Float32Array]",UF="[object Float64Array]",BF="[object Int8Array]",zF="[object Int16Array]",KF="[object Int32Array]",qF="[object Uint8Array]",ZF="[object Uint8ClampedArray]",WF="[object Uint16Array]",GF="[object Uint32Array]",Ve={};Ve[HF]=Ve[UF]=Ve[BF]=Ve[zF]=Ve[KF]=Ve[qF]=Ve[ZF]=Ve[WF]=Ve[GF]=!0;Ve[xF]=Ve[OF]=Ve[DF]=Ve[PF]=Ve[VF]=Ve[TF]=Ve[AF]=Ve[RF]=Ve[jF]=Ve[IF]=Ve[LF]=Ve[NF]=Ve[MF]=Ve[kF]=Ve[FF]=!1;function QF(e){return _F(e)&&SF(e.length)&&!!Ve[CF(e)]}var YF=QF;function JF(e){return function(t){return e(t)}}var ha=JF,Nc={exports:{}};Nc.exports;(function(e,t){var r=Iw,n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a&&r.process,s=function(){try{var l=i&&i.require&&i.require("util").types;return l||o&&o.binding&&o.binding("util")}catch{}}();e.exports=s})(Nc,Nc.exports);var r0=Nc.exports,XF=YF,eD=ha,j2=r0,I2=j2&&j2.isTypedArray,tD=I2?eD(I2):XF,n0=tD,rD=iF,nD=Md,iD=nr,aD=kd,oD=e0,sD=n0,lD=Object.prototype,uD=lD.hasOwnProperty;function cD(e,t){var r=iD(e),n=!r&&nD(e),i=!r&&!n&&aD(e),a=!r&&!n&&!i&&sD(e),o=r||n||i||a,s=o?rD(e.length,String):[],l=s.length;for(var u in e)(t||uD.call(e,u))&&!(o&&(u=="length"||i&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||oD(u,l)))&&s.push(u);return s}var Vw=cD,dD=Object.prototype;function fD(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||dD;return e===r}var i0=fD;function pD(e,t){return function(r){return e(t(r))}}var Hw=pD,hD=Hw,mD=hD(Object.keys,Object),vD=mD,gD=i0,yD=vD,$D=Object.prototype,wD=$D.hasOwnProperty;function bD(e){if(!gD(e))return yD(e);var t=[];for(var r in Object(e))wD.call(e,r)&&r!="constructor"&&t.push(r);return t}var ED=bD,CD=Qm,SD=t0;function _D(e){return e!=null&&SD(e.length)&&!CD(e)}var Ro=_D,xD=Vw,OD=ED,PD=Ro;function TD(e){return PD(e)?xD(e):OD(e)}var jl=TD,AD=Rl,RD=jl;function jD(e,t){return e&&AD(t,RD(t),e)}var ID=jD;function LD(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var ND=LD,MD=un,kD=i0,FD=ND,DD=Object.prototype,VD=DD.hasOwnProperty;function HD(e){if(!MD(e))return FD(e);var t=kD(e),r=[];for(var n in e)n=="constructor"&&(t||!VD.call(e,n))||r.push(n);return r}var UD=HD,BD=Vw,zD=UD,KD=Ro;function qD(e){return KD(e)?BD(e,!0):zD(e)}var jo=qD,ZD=Rl,WD=jo;function GD(e,t){return e&&ZD(t,WD(t),e)}var QD=GD,Mc={exports:{}};Mc.exports;(function(e,t){var r=ln,n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a?r.Buffer:void 0,s=o?o.allocUnsafe:void 0;function l(u,c){if(c)return u.slice();var d=u.length,p=s?s(d):new u.constructor(d);return u.copy(p),p}e.exports=l})(Mc,Mc.exports);var Uw=Mc.exports;function YD(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++rs))return!1;var u=a.get(e),c=a.get(t);if(u&&c)return u==t&&c==e;var d=-1,p=!0,f=r&RB?new OB:void 0;for(a.set(e,t),a.set(t,e);++d0&&r(s)?t>1?i8(s,t-1,r,n,i):bz(i,s):n||(i[i.length]=s)}return i}var f0=i8;function Cz(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++rt||a&&o&&l&&!s&&!u||n&&o&&l||!r&&l||!i)return 1;if(!n&&!a&&!u&&e=s)return l;var u=r[n];return l*(u=="desc"?-1:1)}}return e.index-t.index}var zq=Bq,l1=ma,Kq=m0,qq=$q,Zq=kq,Wq=Dq,Gq=ha,Qq=zq,Yq=Il,Jq=nr;function Xq(e,t,r){t.length?t=l1(t,function(a){return Jq(a)?function(o){return Kq(o,a.length===1?a[0]:a)}:a}):t=[Yq];var n=-1;t=l1(t,Gq(qq));var i=Zq(e,function(a,o,s){var l=l1(t,function(u){return u(a)});return{criteria:l,index:++n,value:a}});return Wq(i,function(a,o){return Qq(a,o,r)})}var eZ=Xq;function tZ(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var f8=tZ,rZ=f8,f$=Math.max;function nZ(e,t,r){return t=f$(t===void 0?e.length-1:t,0),function(){for(var n=arguments,i=-1,a=f$(n.length-t,0),o=Array(a);++i0){if(++t>=dZ)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var mZ=hZ,vZ=cZ,gZ=mZ,yZ=gZ(vZ),$Z=yZ,wZ=Il,bZ=iZ,EZ=$Z;function CZ(e,t){return EZ(bZ(e,t,wZ),e+"")}var va=CZ,SZ=_o,_Z=Ro,xZ=e0,OZ=un;function PZ(e,t,r){if(!OZ(r))return!1;var n=typeof t;return(n=="number"?_Z(r)&&xZ(t,r.length):n=="string"&&t in r)?SZ(r[t],e):!1}var v0=PZ,TZ=f0,AZ=eZ,RZ=va,h$=v0,jZ=RZ(function(e,t){if(e==null)return[];var r=t.length;return r>1&&h$(e,t[0],t[1])?t=[]:r>2&&h$(t[0],t[1],t[2])&&(t=[t[0]]),AZ(e,TZ(t,1),[])}),p8=jZ;function IZ(e,t,r,n){for(var i=e.length,a=r+(n?1:-1);n?a--:++a-1}var g0=zZ;function KZ(e,t,r){for(var n=-1,i=e==null?0:e.length;++n=aW){var u=t?null:nW(e);if(u)return iW(u);o=!1,i=rW,l=new XZ}else l=t?[]:s;e:for(;++n2?t[2]:void 0;for(i&&pW(t[0],t[1],i)&&(n=1);++r=120&&c.length>=120)?new yW(o&&c):void 0}c=e[0];var d=-1,p=s[0];e:for(;++dArray.isArray(e)?e:[e],vr=e=>e===void 0,yu=e=>Fc(e)||Array.isArray(e)?Object.keys(e):[],za=(e,t)=>e.hasOwnProperty(t),co=e=>JW(E0(e)),y$=e=>vr(e)||Array.isArray(e)&&e.length===0,tG=(e,t,r,n)=>t&&za(t,r)&&e&&za(e,r)&&n(e[r],t[r]),d1=(e,t)=>vr(e)&&t===0||vr(t)&&e===0||Dr(e,t),rG=(e,t)=>vr(e)&&t===!1||vr(t)&&e===!1||Dr(e,t),$$=e=>vr(e)||Dr(e,{})||e===!0,$u=e=>vr(e)||Dr(e,{}),w$=e=>vr(e)||Fc(e)||e===!0||e===!1;function b$(e,t){return y$(e)&&y$(t)?!0:Dr(co(e),co(t))}function nG(e,t){return e=g$(e),t=g$(t),Dr(co(e),co(t))}function qu(e,t,r,n){var i=E0(yu(e).concat(yu(t)));return $u(e)&&$u(t)?!0:$u(e)&&yu(t).length||$u(t)&&yu(e).length?!1:i.every(function(a){var o=e[a],s=t[a];return Array.isArray(o)&&Array.isArray(s)?Dr(co(e),co(t)):Array.isArray(o)&&!Array.isArray(s)||Array.isArray(s)&&!Array.isArray(o)?!1:tG(e,t,a,n)})}function iG(e,t,r,n){return Fc(e)&&Fc(t)?n(e,t):Array.isArray(e)&&Array.isArray(t)?qu(e,t,r,n):Dr(e,t)}function f1(e,t,r,n){var i=v$(e,n),a=v$(t,n),o=eG(i,a,n);return o.length===Math.max(i.length,a.length)}var aG={title:Dr,uniqueItems:rG,minLength:d1,minItems:d1,minProperties:d1,required:b$,enum:b$,type:nG,items:iG,anyOf:f1,allOf:f1,oneOf:f1,properties:qu,patternProperties:qu,dependencies:qu},oG=["properties","patternProperties","dependencies","uniqueItems","minLength","minItems","minProperties","required"],sG=["additionalProperties","additionalItems","contains","propertyNames","not"];function Gp(e,t,r){if(r=XW(r,{ignore:[]}),$$(e)&&$$(t))return!0;if(!w$(e)||!w$(t))throw new Error("Either of the values are not a JSON schema.");if(e===t)return!0;if(c1(e)&&c1(t))return e===t;if(e===void 0&&t===!1||t===void 0&&e===!1||vr(e)&&!vr(t)||!vr(e)&&vr(t))return!1;var n=E0(Object.keys(e).concat(Object.keys(t)));if(r.ignore.length&&(n=n.filter(a=>r.ignore.indexOf(a)===-1)),!n.length)return!0;function i(a,o){return Gp(a,o,r)}return n.every(function(a){var o=e[a],s=t[a];if(sG.indexOf(a)!==-1)return Gp(o,s,r);var l=aG[a];if(l||(l=Dr),Dr(o,s))return!0;if(oG.indexOf(a)===-1&&(!za(e,a)&&za(t,a)||za(e,a)&&!za(t,a)))return o===s;var u=l(o,s,a,i);if(!c1(u))throw new Error("Comparer must return true or false");return u})}var C0=Gp;function lG(e){return Object.prototype.toString.call(e)==="[object Array]"}var S0=Array.isArray||lG;function uG(e){return(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")&&e.valueOf()===e.valueOf()}var cG=uG,dG=cG;function fG(e){return dG(e)&&e%1===0}var pG=fG,hG=S0,mG=pG;function vG(e){var t;if(!hG(e)||(t=e.length,!t))return!1;for(var r=0;rt&&(n=t,t=e,e=n),t=t-e}return r*e}function S$(e,t){var r=0,n;if(e===0)return t;if(t===0)return e;for(;!(e&1)&&!(t&1);)e>>>=1,t>>>=1,r++;for(;!(e&1);)e>>>=1;for(;t;){for(;!(t&1);)t>>>=1;e>t&&(n=t,t=e,e=n),t=t-e}return e<1){if(n=t[0],r=t[1],!$G(r))throw new TypeError("gcd()::invalid input argument. Accessor must be a function. Value: `"+r+"`.")}else n=t[0];else throw new TypeError("gcd()::invalid input argument. Must provide an array of integers. Value: `"+t[0]+"`.");if(i=n.length,i<2)return null;if(r){for(a=new Array(i),s=0;s1){if(n=t[0],r=t[1],!CG(r))throw new TypeError("lcm()::invalid input argument. Accessor must be a function. Value: `"+r+"`.")}else n=t[0];else throw new TypeError("lcm()::invalid input argument. Must provide an array of integers. Value: `"+t[0]+"`.");if(i=n.length,i<2)return null;if(r){for(a=new Array(i),s=0;s1?r[i-1]:void 0,o=i>2?r[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,o&&nQ(r[0],r[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++n-1;)s!==e&&j$.call(s,l,1),j$.call(e,l,1);return e}var MQ=NQ,kQ=MQ;function FQ(e,t){return e&&e.length&&t&&t.length?kQ(e,t):e}var DQ=FQ,VQ=Il;function HQ(e){return typeof e=="function"?e:VQ}var UQ=HQ,BQ=Mw,zQ=d8,KQ=UQ,qQ=nr;function ZQ(e,t){var r=qQ(e)?BQ:zQ;return r(e,KQ(t))}var A8=ZQ,WQ=Dd,GQ=g0,QQ=y0,YQ=ma,JQ=ha,XQ=Vd,eY=200;function tY(e,t,r,n){var i=-1,a=GQ,o=!0,s=e.length,l=[],u=t.length;if(!s)return l;r&&(t=YQ(t,JQ(r))),n?(a=QQ,o=!1):t.length>=eY&&(a=XQ,o=!1,t=new WQ(t));e:for(;++icY(uY(e.map(_0))),mY=(e,t)=>e.map(r=>r&&r[t]),j8=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),_0=e=>R8(e)||Array.isArray(e)?Object.keys(e):[],vY=e=>e!==void 0,gY=e=>R8(e)||e===!0||e===!1,I8=e=>!_0(e).length&&e!==!1&&e!==!0,yY=(e,...t)=>fY.apply(null,[e].concat(lY(t)));var L8={allUniqueKeys:hY,deleteUndefinedProps:pY,getValues:mY,has:j8,isEmptySchema:I8,isSchema:gY,keys:_0,notUndefined:vY,uniqWith:dY,withoutArr:yY};const $Y=C0,wY=A8,{allUniqueKeys:bY,deleteUndefinedProps:EY,getValues:CY,keys:ss,notUndefined:SY,uniqWith:_Y,withoutArr:I$}=L8;function xY(e){wY(e,function(t,r){t===!1&&delete e[r]})}function L$(e,t){return bY(e).reduce(function(n,i){const a=CY(e,i),o=_Y(a.filter(SY),$Y);return n[i]=t(o,i),n},{})}var OY={keywords:["properties","patternProperties","additionalProperties"],resolver(e,t,r,n){n.ignoreAdditionalProperties||(e.forEach(function(a){const o=e.filter(c=>c!==a),s=ss(a.properties),u=ss(a.patternProperties).map(c=>new RegExp(c));o.forEach(function(c){const d=ss(c.properties),p=d.filter(m=>u.some(v=>v.test(m)));I$(d,s,p).forEach(function(m){c.properties[m]=r.properties([c.properties[m],a.additionalProperties],m)})})}),e.forEach(function(a){const o=e.filter(l=>l!==a),s=ss(a.patternProperties);a.additionalProperties===!1&&o.forEach(function(l){const u=ss(l.patternProperties);I$(u,s).forEach(d=>delete l.patternProperties[d])})}));const i={additionalProperties:r.additionalProperties(e.map(a=>a.additionalProperties)),patternProperties:L$(e.map(a=>a.patternProperties),r.patternProperties),properties:L$(e.map(a=>a.properties),r.properties)};return i.additionalProperties===!1&&xY(i.properties),EY(i)}};const PY=C0,TY=A8,{allUniqueKeys:AY,deleteUndefinedProps:RY,has:jY,isSchema:N8,notUndefined:M8,uniqWith:IY}=L8;function LY(e){TY(e,function(t,r){t===!1&&e.splice(r,1)})}function NY(e,t){return e.map(function(r){if(r)if(Array.isArray(r.items)){const n=r.items[t];if(N8(n))return n;if(jY(r,"additionalItems"))return r.additionalItems}else return r.items})}function MY(e){return e.map(function(t){if(t)return Array.isArray(t.items)?t.additionalItems:t.items})}function kY(e,t,r){return AY(r).reduce(function(i,a){const o=NY(e,a),s=IY(o.filter(M8),PY);return i[a]=t(s,a),i},[])}var FY={keywords:["items","additionalItems"],resolver(e,t,r){const n=e.map(s=>s.items),i=n.filter(M8),a={};i.every(N8)?a.items=r.items(n):a.items=kY(e,r.items,n);let o;return i.every(Array.isArray)?o=e.map(s=>s.additionalItems):i.some(Array.isArray)&&(o=MY(e)),o&&(a.additionalItems=r.additionalItems(o)),a.additionalItems===!1&&Array.isArray(a.items)&&LY(a.items),RY(a)}};const k8=mB,Dc=C0,DY=_G,VY=mQ,F8=P8,x0=T8,HY=xQ,UY=$8,Qp=n8,fo=Bd,BY=DQ,D8=p8,O0=$0,Ja=w0,V8=OY,H8=FY,bu=(e,t)=>e.indexOf(t)!==-1,zY=e=>fo(e)||e===!0||e===!1,KY=e=>e===!1,U8=e=>e===!0,zd=(e,t,r)=>r(e),B8=e=>D8(O0(x0(e))),Vc=e=>e!==void 0,z8=e=>O0(x0(e.map(YY))),Lo=e=>e[0],qY=e=>B8(e),Ll=e=>Math.max.apply(Math,e),Nl=e=>Math.min.apply(Math,e),ZY=e=>e.some(U8),WY=e=>Ja(F8(e),Qp);function GY(e){return function(t,r){return Dc({[e]:t},{[e]:r})}}function K8(e){let{allOf:t=[],...r}=e;return r=fo(e)?r:e,[r,...t.map(K8)]}function q8(e,t){return e.map(r=>r&&r[t])}function QY(e,t){return e.map(function(r,n){try{return t(r,n)}catch{return}}).filter(Vc)}function YY(e){return fo(e)||Array.isArray(e)?Object.keys(e):[]}function Yp(e,t){if(t=t||[],!e.length)return t;const r=e.slice(0).shift(),n=e.slice(1);return t.length?Yp(n,F8(t.map(i=>r.map(a=>[a].concat(i))))):Yp(n,r.map(i=>i))}function Z8(e,t){let r;try{r=e.map(function(n){return JSON.stringify(n,null,2)}).join(` `)}catch{r=e.join(", ")}throw new Error('Could not resolve values for path:"'+t.join(".")+`". They are probably incompatible. Values: `+r)}function JY(e,t,r,n,i,a){if(e.length){const o=i.complexResolvers[t];if(!o||!o.resolver)throw new Error("No resolver found for "+t);const s=r.map(d=>e.reduce((p,f)=>(d[f]!==void 0&&(p[f]=d[f]),p),{})),l=Ja(s,Dc),u=o.keywords.reduce((d,p)=>({...d,[p]:(f,m=[])=>n(f,null,a.concat(p,m))}),{}),c=o.resolver(l,a.concat(t),u,i);return fo(c)||Z8(l,a.concat(t)),c}}function XY(e){return{required:e}}const eJ=["properties","patternProperties","definitions","dependencies"],tJ=["anyOf","oneOf"],rJ=["additionalProperties","additionalItems","contains","propertyNames","not","items"],Oe={type(e){if(e.some(Array.isArray)){const t=e.map(function(n){return Array.isArray(n)?n:[n]}),r=HY.apply(null,t);if(r.length===1)return r[0];if(r.length>1)return O0(r)}},dependencies(e,t,r){return z8(e).reduce(function(i,a){const o=q8(e,a);let s=Ja(o.filter(Vc),Qp);const l=s.filter(Array.isArray);if(l.length){if(l.length===s.length)i[a]=B8(s);else{const u=s.filter(zY),c=l.map(XY);i[a]=r(u.concat(c),a)}return i}return s=Ja(s,Dc),i[a]=r(s,a),i},{})},oneOf(e,t,r){const n=Yp(k8(e)),i=QY(n,r),a=Ja(i,Dc);if(a.length)return a},not(e){return{anyOf:e}},pattern(e){return e.map(t=>"(?="+t+")").join("")},multipleOf(e){let t=e.slice(0),r=1;for(;t.some(n=>!Number.isInteger(n));)t=t.map(n=>n*10),r=r*10;return DY(t)/r},enum(e){const t=UY.apply(null,e.concat(Qp));if(t.length)return D8(t)}};Oe.$id=Lo;Oe.$ref=Lo;Oe.$schema=Lo;Oe.additionalItems=zd;Oe.additionalProperties=zd;Oe.anyOf=Oe.oneOf;Oe.contains=zd;Oe.default=Lo;Oe.definitions=Oe.dependencies;Oe.description=Lo;Oe.examples=WY;Oe.exclusiveMaximum=Nl;Oe.exclusiveMinimum=Ll;Oe.items=H8;Oe.maximum=Nl;Oe.maxItems=Nl;Oe.maxLength=Nl;Oe.maxProperties=Nl;Oe.minimum=Ll;Oe.minItems=Ll;Oe.minLength=Ll;Oe.minProperties=Ll;Oe.properties=V8;Oe.propertyNames=zd;Oe.required=qY;Oe.title=Lo;Oe.uniqueItems=ZY;const nJ={properties:V8,items:H8};function P0(e,t,r){t=VY(t,{ignoreAdditionalProperties:!1,resolvers:Oe,complexResolvers:nJ,deep:!0});const n=Object.entries(t.complexResolvers);function i(s,l,u){s=k8(s.filter(Vc)),u=u||[];const c=fo(l)?l:{};if(!s.length)return;if(s.some(KY))return!1;if(s.every(U8))return!0;s=s.filter(fo);const d=z8(s);if(t.deep&&bu(d,"allOf"))return P0({allOf:s},t);const p=n.map(([f,m])=>d.filter(v=>m.keywords.includes(v)));return p.forEach(f=>BY(d,f)),d.forEach(function(f){const m=q8(s,f),v=Ja(m.filter(Vc),GY(f));if(v.length===1&&bu(tJ,f))c[f]=v[0].map($=>i([$],$));else if(v.length===1&&!bu(eJ,f)&&!bu(rJ,f))c[f]=v[0];else{const $=t.resolvers[f]||t.resolvers.defaultResolver;if(!$)throw new Error("No resolver found for key "+f+". You can provide a resolver for this keyword in the options, or provide a default resolver.");const h=(g,y=[])=>i(g,null,u.concat(f,y));c[f]=$(v,u.concat(f),h,t),c[f]===void 0?Z8(v,u.concat(f)):c[f]===void 0&&delete c[f]}}),n.reduce((f,[m,v],$)=>({...f,...JY(p[$],m,s,i,t,u)}),c)}const a=x0(K8(e));return i(a)}P0.options={resolvers:Oe};var iJ=P0;const aJ=Mn(iJ);function oJ(e,t){return _w(Sw(e,t,Ad),e+"")}function sJ(e,t,r,n){for(var i=e.length,a=r+-1;++a-1}function fJ(){}var pJ=1/0,hJ=Ya&&1/Nm(new Ya([,-0]))[1]==pJ?function(e){return new Ya(e)}:fJ,mJ=200;function vJ(e,t,r){var n=-1,i=dJ,a=e.length,o=!0,s=[],l=s;if(a>=mJ){var u=hJ(e);if(u)return Nm(u);o=!1,i=J5,l=new cl}else l=s;e:for(;++n=0)&&(r[i]=e[i]);return r}function IJ(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function LJ(e){var t=IJ(e,"string");return typeof t=="symbol"?t:String(t)}var Mo="__additional_property",Jp="additionalProperties",tf="allOf",rf="anyOf",J8="const",NJ="default",nf="dependencies",MJ="enum",Lr="__errors",si="$id",kJ="if",Gi="items",FJ="_$junk_option_schema_id$_",Zu="$name",ia="oneOf",ft="properties",DJ="required",Hc="submitButtonOptions",it="$ref",R0="__rjsf_additionalProperties",X8="__rjsf_rootSchema",VJ="ui:field",j0="ui:widget",Ls="ui:options",HJ="ui:globalOptions";function Se(e,t){return e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(e).filter(function(r){return r.indexOf("ui:")===0}).reduce(function(r,n){var i,a=e[n];return n===j0&&Ze(a)?(console.error("Setting options via ui:widget object is no longer supported, use ui:options instead"),r):n===Ls&&Ze(a)?Me({},r,a):Me({},r,(i={},i[n.substring(3)]=a,i))},Me({},t))}function e7(e,t,r){if(t===void 0&&(t={}),!e.additionalProperties)return!1;var n=Se(t),i=n.expandable,a=i===void 0?!0:i;return a===!1?a:e.maxProperties!==void 0&&r?Object.keys(r).length0?Me({},a,s):s}return n}function t7(e,t,r,n,i){if(t===void 0)return 0;for(var a=0;a1?n.flatMap(function(i){return Rw(r.length,function(a){return[].concat(r[a]).concat(i)})}):(r.forEach(function(i){return i.push(n[0])}),r)},[[]]);return t}function WJ(e,t,r,n,i){if(it in t)return M0(e,t,r,n,i);if(nf in t){var a=n7(e,t,r,n,i);return a.flatMap(function(l){return Jr(e,l,r,i,n)})}if(tf in t&&Array.isArray(t.allOf)){var o=t.allOf.map(function(l){return Jr(e,l,r,i,n)}),s=r7(o);return s.map(function(l){return Me({},t,{allOf:l})})}return[t]}function M0(e,t,r,n,i){var a=t.$ref,o=No(t,BJ),s=L0(a,r);return Jr(e,Me({},s,o),r,i,n)}function GJ(e,t,r,n){var i=Me({},t,{properties:Me({},t.properties)}),a=n&&Ze(n)?n:{};return Object.keys(a).forEach(function(o){if(!(o in i.properties)){var s={};typeof i.additionalProperties!="boolean"?it in i.additionalProperties?s=Wt(e,{$ref:oe(i.additionalProperties,[it])},r,a):"type"in i.additionalProperties?s=Me({},i.additionalProperties):rf in i.additionalProperties||ia in i.additionalProperties?s=Me({type:"object"},i.additionalProperties):s={type:pl(oe(a,[o]))}:s={type:pl(oe(a,[o]))},i.properties[o]=s,hr(i.properties,[o,Mo],!0)}}),i}function Jr(e,t,r,n,i){if(i===void 0&&(i=!1),!Ze(t))return[{}];var a=WJ(e,t,r,i,n);return a.flatMap(function(o){var s=o;if(kJ in s)return ZJ(e,s,r,i,n);if(tf in t)try{s=aJ(o,{deep:!1})}catch(p){console.warn(`could not merge subschemas in allOf: -`,p);var l=s,u=l.allOf,c=No(l,zJ);return i&&u?[c].concat(u):c}var d=Jp in s&&s.additionalProperties!==!1;return d?GJ(e,s,r,n):s})}function QJ(e,t,r,n,i){var a;if(Array.isArray(t.oneOf)?a=t.oneOf:Array.isArray(t.anyOf)&&(a=t.anyOf),a){var o=i===void 0&&n?{}:i,s=fl(t);a=a.map(function(u){return it in u?M0(e,u,r,!1,o)[0]:u});var l=N0(e,o,a,r,s);if(n)return a;t=a[l]}return[t]}function n7(e,t,r,n,i){var a=t.dependencies,o=No(t,KJ),s=QJ(e,o,r,n,i);return s.flatMap(function(l){return i7(e,a,l,r,n,i)})}function i7(e,t,r,n,i,a){var o=[r],s=function(){if(!i&&oe(a,[l])===void 0||r.properties&&!(l in r.properties))return"continue";var d=I0(l,t),p=d[0],f=d[1];return Array.isArray(f)?o[0]=YJ(r,f):Ze(f)&&(o=JJ(e,r,n,l,f,i,a)),{v:o.flatMap(function(m){return i7(e,p,m,n,i,a)})}};for(var l in t){var u=s();if(u!=="continue"&&typeof u=="object")return u.v}return o}function YJ(e,t){if(!t)return e;var r=Array.isArray(e.required)?Array.from(new Set([].concat(e.required,t))):t;return Me({},e,{required:r})}function JJ(e,t,r,n,i,a,o){var s=Jr(e,i,r,o,a);return s.flatMap(function(l){var u=l.oneOf,c=No(l,qJ);if(t=af(t,c),u===void 0)return t;var d=u.map(function(f){return typeof f=="boolean"||!(it in f)?[f]:M0(e,f,r,a,o)}),p=r7(d);return p.flatMap(function(f){return XJ(e,t,r,n,f,a,o)})})}function XJ(e,t,r,n,i,a,o){var s=i.filter(function(l){if(typeof l=="boolean"||!l||!l.properties)return!1;var u=l.properties[n];if(u){var c,d={type:"object",properties:(c={},c[n]=u,c)};return e.isValid(d,o,r)||a}return!1});return!a&&s.length!==1?(console.warn("ignoring oneOf in dependencies because there isn't exactly one subschema that is valid"),[t]):s.flatMap(function(l){var u=l,c=I0(n,u.properties),d=c[0],p=Me({},u,{properties:d}),f=Jr(e,p,r,o,a);return f.map(function(m){return af(t,m)})})}var eX={type:"object",$id:FJ,properties:{__not_really_there__:{type:"number"}}};function eh(e,t,r,n){n===void 0&&(n={});var i=0;return r&&(st(r.properties)?i+=FL(r.properties,function(a,o,s){var l=oe(n,s);if(typeof o=="boolean")return a;if(kt(o,it)){var u=Wt(e,o,t,l);return a+eh(e,t,u,l||{})}if(kt(o,ia)&&l)return a+hl(e,t,l,oe(o,ia));if(o.type==="object")return a+eh(e,t,o,l||{});if(o.type===pl(l)){var c=a+1;return o.default?c+=l===o.default?1:-1:o.const&&(c+=l===o.const?1:-1),c}return a},0):Gm(r.type)&&r.type===pl(n)&&(i+=1)),i}function hl(e,t,r,n,i,a){i===void 0&&(i=-1);var o=n.reduce(function(c,d,p){var f=[eX,d],m=N0(e,r,f,t,a);return m===1&&c.push(p),c},[]);if(o.length===1)return o[0];o.length||Rw(n.length,function(c){return o.push(c)});var s=new Set,l=o.reduce(function(c,d){var p=c.bestScore,f=n[d];kt(f,it)&&(f=Wt(e,f,t,r));var m=eh(e,t,f,r);return s.add(m),m>p?{bestIndex:d,bestScore:m}:c},{bestIndex:i,bestScore:0}),u=l.bestIndex;return s.size===1&&i>=0?i:u}function th(e){return Array.isArray(e.items)&&e.items.length>0&&e.items.every(function(t){return Ze(t)})}function Uc(e,t){if(Array.isArray(t)){var r=Array.isArray(e)?e:[],n=t.map(function(a,o){return r[o]?Uc(r[o],a):a});return n}if(Ze(t)){var i=Object.assign({},e);return Object.keys(t).reduce(function(a,o){return a[o]=Uc(e?oe(e,o):{},oe(t,o)),a},i)}return t}function ko(e,t,r){return r===void 0&&(r=!1),Object.keys(t).reduce(function(n,i){var a=e?e[i]:{},o=t[i];if(e&&i in e&&Ze(o))n[i]=ko(a,o,r);else if(r&&Array.isArray(a)&&Array.isArray(o)){var s=o;r==="preventDuplicates"&&(s=o.reduce(function(l,u){return a.includes(u)||l.push(u),l},[])),n[i]=a.concat(s)}else n[i]=o;return n},Object.assign({},e))}function tX(e){return Array.isArray(e.enum)&&e.enum.length===1||J8 in e}function a7(e,t,r){r===void 0&&(r={});var n=Wt(e,t,r,void 0),i=n.oneOf||n.anyOf;return Array.isArray(n.enum)?!0:Array.isArray(i)?i.every(function(a){return typeof a!="boolean"&&tX(a)}):!1}function k0(e,t,r){return!t.uniqueItems||!t.items||typeof t.items=="boolean"?!1:a7(e,t.items,r)}var ho;(function(e){e[e.Ignore=0]="Ignore",e[e.Invert=1]="Invert",e[e.Fallback=2]="Fallback"})(ho||(ho={}));function p1(e,t,r){if(t===void 0&&(t=ho.Ignore),r===void 0&&(r=-1),r>=0){if(Array.isArray(e.items)&&r0&&i.length>m?i.slice(0,m):i}}else typeof c=="boolean"&&typeof d=="boolean"&&c===d&&(a=i)}return a}function Wu(e,t,r,n,i,a,o,s){if(s===void 0&&(s=[]),it in t||nf in t||tf in t){var l=Wt(e,t,a,o),u=s.findIndex(function(v){return po(v,l)});if(u===-1)return Wu(e,l,r,n,i,a,o,s.concat(l))}if(Gi in t&&!oe(t,[Gi,it]))return Wu(e,oe(t,Gi),r,n,i,a,o,s);var c=i||r,d={$id:c};if(bi(t)==="object"&&ft in t)for(var p in t.properties){var f=oe(t,[ft,p]),m=d[si]+n+p;d[p]=Wu(e,Ze(f)?f:{},r,n,m,a,oe(o,[p]),s)}return d}function iX(e,t,r,n,i,a,o){return a===void 0&&(a="root"),o===void 0&&(o="_"),Wu(e,t,a,o,r,n,i)}function $s(e,t,r,n,i,a){var o;if(a===void 0&&(a=[]),it in t||nf in t||tf in t){var s=Wt(e,t,n,i),l=a.findIndex(function($){return po($,s)});if(l===-1)return $s(e,s,r,n,i,a.concat(s))}var u=(o={},o[Zu]=r.replace(/^\./,""),o);if(ia in t||rf in t){var c=ia in t?t.oneOf:t.anyOf,d=fl(t),p=hl(e,n,i,c,0,d),f=c[p];u=Me({},u,$s(e,f,r,n,i,a))}if(Jp in t&&t[Jp]!==!1&&hr(u,R0,!0),Gi in t&&Array.isArray(i))i.forEach(function($,h){u[h]=$s(e,t.items,r+"."+h,n,$,a)});else if(ft in t)for(var m in t.properties){var v=oe(t,[ft,m]);u[m]=$s(e,v,r+"."+m,n,oe(i,[m]),a)}return u}function aX(e,t,r,n,i){return r===void 0&&(r=""),$s(e,t,r,n,i)}var oX=function(){function e(r,n,i){this.rootSchema=void 0,this.validator=void 0,this.experimental_defaultFormStateBehavior=void 0,this.rootSchema=n,this.validator=r,this.experimental_defaultFormStateBehavior=i}var t=e.prototype;return t.getValidator=function(){return this.validator},t.doesSchemaUtilsDiffer=function(n,i,a){return a===void 0&&(a={}),!n||!i?!1:this.validator!==n||!nn(this.rootSchema,i)||!nn(this.experimental_defaultFormStateBehavior,a)},t.getDefaultFormState=function(n,i,a){return a===void 0&&(a=!1),o7(this.validator,n,i,this.rootSchema,a,this.experimental_defaultFormStateBehavior)},t.getDisplayLabel=function(n,i,a){return rX(this.validator,n,i,this.rootSchema,a)},t.getClosestMatchingOption=function(n,i,a,o){return hl(this.validator,this.rootSchema,n,i,a,o)},t.getFirstMatchingOption=function(n,i,a){return N0(this.validator,n,i,this.rootSchema,a)},t.getMatchingOption=function(n,i,a){return t7(this.validator,n,i,this.rootSchema,a)},t.isFilesArray=function(n,i){return l7(this.validator,n,i,this.rootSchema)},t.isMultiSelect=function(n){return k0(this.validator,n,this.rootSchema)},t.isSelect=function(n){return a7(this.validator,n,this.rootSchema)},t.mergeValidationData=function(n,i){return nX(this.validator,n,i)},t.retrieveSchema=function(n,i){return Wt(this.validator,n,this.rootSchema,i)},t.sanitizeDataForNewSchema=function(n,i,a){return rh(this.validator,this.rootSchema,n,i,a)},t.toIdSchema=function(n,i,a,o,s){return o===void 0&&(o="root"),s===void 0&&(s="_"),iX(this.validator,n,i,this.rootSchema,a,o,s)},t.toPathSchema=function(n,i,a){return aX(this.validator,n,i,this.rootSchema,a)},e}();function sX(e,t,r){return r===void 0&&(r={}),new oX(e,t,r)}function lX(e){var t=e.split(","),r=t[0].split(";"),n=r[0].replace("data:",""),i=r.filter(function(c){return c.split("=")[0]==="name"}),a;i.length!==1?a="unknown":a=decodeURI(i[0].split("=")[1]);try{for(var o=atob(t[1]),s=[],l=0;l=0&&(n[o]=i)}),r=n.join("")}return r}function cX(e,t){return uX(e,t)}function ht(e,t,r){if(t===void 0&&(t=[]),Array.isArray(e))return e.map(function(a){return ht(a,t)}).filter(function(a){return a});var n=e===""||e===null?-1:Number(e),i=t[n];return i?i.value:r}function u7(e,t,r){r===void 0&&(r=[]);var n=ht(e,r);return Array.isArray(t)?t.filter(function(i){return!po(i,n)}):po(n,t)?void 0:t}function Ml(e,t){return Array.isArray(t)?t.some(function(r){return po(r,e)}):po(t,e)}function c7(e,t,r){t===void 0&&(t=[]),r===void 0&&(r=!1);var n=t.map(function(i,a){return Ml(i.value,e)?String(a):void 0}).filter(function(i){return typeof i<"u"});return r?n:n[0]}function d7(e,t,r){r===void 0&&(r=[]);var n=ht(e,r);if(!bJ(n)){var i=r.findIndex(function(s){return n===s.value}),a=r.map(function(s){var l=s.value;return l}),o=t.slice(0,i).concat(n,t.slice(i));return o.sort(function(s,l){return+(a.indexOf(s)>a.indexOf(l))})}return t}var dX=function(){function e(r){this.errorSchema={},this.resetAllErrors(r)}var t=e.prototype;return t.getOrCreateErrorBlock=function(n){var i=Array.isArray(n)&&n.length>0||typeof n=="string",a=i?oe(this.errorSchema,n):this.errorSchema;return!a&&n&&(a={},hr(this.errorSchema,n,a)),a},t.resetAllErrors=function(n){return this.errorSchema=n?W8(n):{},this},t.addErrors=function(n,i){var a=this.getOrCreateErrorBlock(i),o=oe(a,Lr);if(Array.isArray(o)||(o=[],a[Lr]=o),Array.isArray(n)){var s;(s=o).push.apply(s,n)}else o.push(n);return this},t.setErrors=function(n,i){var a=this.getOrCreateErrorBlock(i),o=Array.isArray(n)?[].concat(n):[n];return hr(a,Lr,o),this},t.clearErrors=function(n){var i=this.getOrCreateErrorBlock(n);return hr(i,Lr,[]),this},RJ(e,[{key:"ErrorSchema",get:function(){return this.errorSchema}}]),e}();function fX(e){var t={};return e.multipleOf&&(t.step=e.multipleOf),(e.minimum||e.minimum===0)&&(t.min=e.minimum),(e.maximum||e.maximum===0)&&(t.max=e.maximum),t}function f7(e,t,r,n){r===void 0&&(r={}),n===void 0&&(n=!0);var i=Me({type:t||"text"},fX(e));return r.inputType?i.type=r.inputType:t||(e.type==="number"?(i.type="number",n&&i.step===void 0&&(i.step="any")):e.type==="integer"&&(i.type="number",i.step===void 0&&(i.step=1))),r.autocomplete&&(i.autoComplete=r.autocomplete),i}var F$={props:{disabled:!1},submitText:"Submit",norender:!1};function p7(e){e===void 0&&(e={});var t=Se(e);if(t&&t[Hc]){var r=t[Hc];return Me({},F$,r)}return F$}function ve(e,t,r){r===void 0&&(r={});var n=t.templates;return e==="ButtonTemplates"?n[e]:r[e]||n[e]}var pX=["options"],h1={boolean:{checkbox:"CheckboxWidget",radio:"RadioWidget",select:"SelectWidget",hidden:"HiddenWidget"},string:{text:"TextWidget",password:"PasswordWidget",email:"EmailWidget",hostname:"TextWidget",ipv4:"TextWidget",ipv6:"TextWidget",uri:"URLWidget","data-url":"FileWidget",radio:"RadioWidget",select:"SelectWidget",textarea:"TextareaWidget",hidden:"HiddenWidget",date:"DateWidget",datetime:"DateTimeWidget","date-time":"DateTimeWidget","alt-date":"AltDateWidget","alt-datetime":"AltDateTimeWidget",time:"TimeWidget",color:"ColorWidget",file:"FileWidget"},number:{text:"TextWidget",select:"SelectWidget",updown:"UpDownWidget",range:"RangeWidget",radio:"RadioWidget",hidden:"HiddenWidget"},integer:{text:"TextWidget",select:"SelectWidget",updown:"UpDownWidget",range:"RangeWidget",radio:"RadioWidget",hidden:"HiddenWidget"},array:{select:"SelectWidget",checkboxes:"CheckboxesWidget",files:"FileWidget",hidden:"HiddenWidget"}};function hX(e){var t=oe(e,"MergedWidget");if(!t){var r=e.defaultProps&&e.defaultProps.options||{};t=function(i){var a=i.options,o=No(i,pX);return E.jsx(e,Me({options:Me({},r,a)},o))},hr(e,"MergedWidget",t)}return t}function On(e,t,r){r===void 0&&(r={});var n=bi(e);if(typeof t=="function"||t&&N$.isForwardRef(j.createElement(t))||N$.isMemo(t))return hX(t);if(typeof t!="string")throw new Error("Unsupported widget definition: "+typeof t);if(t in r){var i=r[t];return On(e,i,r)}if(typeof n=="string"){if(!(n in h1))throw new Error("No widget for type '"+n+"'");if(t in h1[n]){var a=r[h1[n][t]];return On(e,a,r)}}throw new Error("No widget '"+t+"' for type '"+n+"'")}function mX(e){for(var t=0,r=0;r1?"properties '"+d.join("', '")+"'":"property '"+d[0]+"'"},i=r(e),a=t.filter(function(c){return c==="*"||i[c]}),o=r(a),s=e.filter(function(c){return!o[c]}),l=a.indexOf("*");if(l===-1){if(s.length)throw new Error("uiSchema order list does not contain "+n(s));return a}if(l!==a.lastIndexOf("*"))throw new Error("uiSchema order list contains more than one wildcard item");var u=[].concat(a);return u.splice.apply(u,[l,1].concat(s)),u}function Jn(e,t){for(var r=String(e);r.length0&&a[0]===""&&a.splice(0,1),i&&t.addErrors(i,a)}),t.ErrorSchema}function h7(e){return Object.keys(e).reduce(function(t,r){if(r==="addError")return t;var n,i=e[r];if(Cd(i)){var a;return Me({},t,(a={},a[r]=h7(i),a))}return Me({},t,(n={},n[r]=i,n))},{})}function CX(e){if(!e)return"";var t=new Date(e),r=Jn(t.getFullYear(),4),n=Jn(t.getMonth()+1,2),i=Jn(t.getDate(),2),a=Jn(t.getHours(),2),o=Jn(t.getMinutes(),2),s=Jn(t.getSeconds(),2),l=Jn(t.getMilliseconds(),3);return r+"-"+n+"-"+i+"T"+a+":"+o+":"+s+"."+l}function Gu(e,t){if(!t)return e;var r=e.errors,n=e.errorSchema,i=vl(t),a=t;return na(n)||(a=ko(n,t,!0),i=[].concat(r).concat(i)),{errorSchema:a,errors:i}}function SX(e){for(var t in e){var r=e,n=r[t];t===it&&typeof n=="string"&&n.startsWith("#")?r[t]=X8+n:r[t]=U0(n)}return e}function _X(e){for(var t=0;t1)return!1;const g=this._items[0];return g===""||g==='""'}get str(){var g;return(g=this._str)!==null&&g!==void 0?g:this._str=this._items.reduce((y,b)=>`${y}${b}`,"")}get names(){var g;return(g=this._names)!==null&&g!==void 0?g:this._names=this._items.reduce((y,b)=>(b instanceof r&&(y[b.str]=(y[b.str]||0)+1),y),{})}}e._Code=n,e.nil=new n("");function i(h,...g){const y=[h[0]];let b=0;for(;b{if(d.scopePath===void 0)throw new Error(`CodeGen: name "${d}" has no value`);return(0,t._)`${u}${d.scopePath}`})}scopeCode(u=this._values,c,d){return this._reduceValues(u,p=>{if(p.value===void 0)throw new Error(`CodeGen: name "${p}" has no value`);return p.value.code},c,d)}_reduceValues(u,c,d={},p){let f=t.nil;for(const m in u){const v=u[m];if(!v)continue;const $=d[m]=d[m]||new Map;v.forEach(h=>{if($.has(h))return;$.set(h,n.Started);let g=c(h);if(g){const y=this.opts.es5?e.varKinds.var:e.varKinds.const;f=(0,t._)`${f}${y} ${h} = ${g};${this.opts._n}`}else if(g=p==null?void 0:p(h))f=(0,t._)`${f}${g}${this.opts._n}`;else throw new r(h);$.set(h,n.Completed)})}return f}}e.ValueScope=s})(ih);(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=gl,r=ih;var n=gl;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=ih;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 a{optimizeNodes(){return this}optimizeNames(x,A){return this}}class o extends a{constructor(x,A,V){super(),this.varKind=x,this.name=A,this.rhs=V}render({es5:x,_n:A}){const V=x?r.varKinds.var:this.varKind,J=this.rhs===void 0?"":` = ${this.rhs}`;return`${V} ${this.name}${J};`+A}optimizeNames(x,A){if(x[this.name.str])return this.rhs&&(this.rhs=U(this.rhs,x,A)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class s extends a{constructor(x,A,V){super(),this.lhs=x,this.rhs=A,this.sideEffects=V}render({_n:x}){return`${this.lhs} = ${this.rhs};`+x}optimizeNames(x,A){if(!(this.lhs instanceof t.Name&&!x[this.lhs.str]&&!this.sideEffects))return this.rhs=U(this.rhs,x,A),this}get names(){const x=this.lhs instanceof t.Name?{}:{...this.lhs.names};return D(x,this.rhs)}}class l extends s{constructor(x,A,V,J){super(x,V,J),this.op=A}render({_n:x}){return`${this.lhs} ${this.op}= ${this.rhs};`+x}}class u extends a{constructor(x){super(),this.label=x,this.names={}}render({_n:x}){return`${this.label}:`+x}}class c extends a{constructor(x){super(),this.label=x,this.names={}}render({_n:x}){return`break${this.label?` ${this.label}`:""};`+x}}class d extends a{constructor(x){super(),this.error=x}render({_n:x}){return`throw ${this.error};`+x}get names(){return this.error.names}}class p extends a{constructor(x){super(),this.code=x}render({_n:x}){return`${this.code};`+x}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(x,A){return this.code=U(this.code,x,A),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class f extends a{constructor(x=[]){super(),this.nodes=x}render(x){return this.nodes.reduce((A,V)=>A+V.render(x),"")}optimizeNodes(){const{nodes:x}=this;let A=x.length;for(;A--;){const V=x[A].optimizeNodes();Array.isArray(V)?x.splice(A,1,...V):V?x[A]=V:x.splice(A,1)}return x.length>0?this:void 0}optimizeNames(x,A){const{nodes:V}=this;let J=V.length;for(;J--;){const W=V[J];W.optimizeNames(x,A)||(te(x,W.names),V.splice(J,1))}return V.length>0?this:void 0}get names(){return this.nodes.reduce((x,A)=>K(x,A.names),{})}}class m extends f{render(x){return"{"+x._n+super.render(x)+"}"+x._n}}class v extends f{}class $ extends m{}$.kind="else";class h extends m{constructor(x,A){super(A),this.condition=x}render(x){let A=`if(${this.condition})`+super.render(x);return this.else&&(A+="else "+this.else.render(x)),A}optimizeNodes(){super.optimizeNodes();const x=this.condition;if(x===!0)return this.nodes;let A=this.else;if(A){const V=A.optimizeNodes();A=this.else=Array.isArray(V)?new $(V):V}if(A)return x===!1?A instanceof h?A:A.nodes:this.nodes.length?this:new h(ae(x),A instanceof h?[A]:A.nodes);if(!(x===!1||!this.nodes.length))return this}optimizeNames(x,A){var V;if(this.else=(V=this.else)===null||V===void 0?void 0:V.optimizeNames(x,A),!!(super.optimizeNames(x,A)||this.else))return this.condition=U(this.condition,x,A),this}get names(){const x=super.names;return D(x,this.condition),this.else&&K(x,this.else.names),x}}h.kind="if";class g extends m{}g.kind="for";class y extends g{constructor(x){super(),this.iteration=x}render(x){return`for(${this.iteration})`+super.render(x)}optimizeNames(x,A){if(super.optimizeNames(x,A))return this.iteration=U(this.iteration,x,A),this}get names(){return K(super.names,this.iteration.names)}}class b extends g{constructor(x,A,V,J){super(),this.varKind=x,this.name=A,this.from=V,this.to=J}render(x){const A=x.es5?r.varKinds.var:this.varKind,{name:V,from:J,to:W}=this;return`for(${A} ${V}=${J}; ${V}<${W}; ${V}++)`+super.render(x)}get names(){const x=D(super.names,this.from);return D(x,this.to)}}class O extends g{constructor(x,A,V,J){super(),this.loop=x,this.varKind=A,this.name=V,this.iterable=J}render(x){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(x)}optimizeNames(x,A){if(super.optimizeNames(x,A))return this.iterable=U(this.iterable,x,A),this}get names(){return K(super.names,this.iterable.names)}}class S extends m{constructor(x,A,V){super(),this.name=x,this.args=A,this.async=V}render(x){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(x)}}S.kind="func";class _ extends f{render(x){return"return "+super.render(x)}}_.kind="return";class w extends m{render(x){let A="try"+super.render(x);return this.catch&&(A+=this.catch.render(x)),this.finally&&(A+=this.finally.render(x)),A}optimizeNodes(){var x,A;return super.optimizeNodes(),(x=this.catch)===null||x===void 0||x.optimizeNodes(),(A=this.finally)===null||A===void 0||A.optimizeNodes(),this}optimizeNames(x,A){var V,J;return super.optimizeNames(x,A),(V=this.catch)===null||V===void 0||V.optimizeNames(x,A),(J=this.finally)===null||J===void 0||J.optimizeNames(x,A),this}get names(){const x=super.names;return this.catch&&K(x,this.catch.names),this.finally&&K(x,this.finally.names),x}}class T extends m{constructor(x){super(),this.error=x}render(x){return`catch(${this.error})`+super.render(x)}}T.kind="catch";class F extends m{render(x){return"finally"+super.render(x)}}F.kind="finally";class N{constructor(x,A={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...A,_n:A.lines?` -`:""},this._extScope=x,this._scope=new r.Scope({parent:x}),this._nodes=[new v]}toString(){return this._root.render(this.opts)}name(x){return this._scope.name(x)}scopeName(x){return this._extScope.name(x)}scopeValue(x,A){const V=this._extScope.value(x,A);return(this._values[V.prefix]||(this._values[V.prefix]=new Set)).add(V),V}getScopeValue(x,A){return this._extScope.getValue(x,A)}scopeRefs(x){return this._extScope.scopeRefs(x,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(x,A,V,J){const W=this._scope.toName(A);return V!==void 0&&J&&(this._constants[W.str]=V),this._leafNode(new o(x,W,V)),W}const(x,A,V){return this._def(r.varKinds.const,x,A,V)}let(x,A,V){return this._def(r.varKinds.let,x,A,V)}var(x,A,V){return this._def(r.varKinds.var,x,A,V)}assign(x,A,V){return this._leafNode(new s(x,A,V))}add(x,A){return this._leafNode(new l(x,e.operators.ADD,A))}code(x){return typeof x=="function"?x():x!==t.nil&&this._leafNode(new p(x)),this}object(...x){const A=["{"];for(const[V,J]of x)A.length>1&&A.push(","),A.push(V),(V!==J||this.opts.es5)&&(A.push(":"),(0,t.addCodeArg)(A,J));return A.push("}"),new t._Code(A)}if(x,A,V){if(this._blockNode(new h(x)),A&&V)this.code(A).else().code(V).endIf();else if(A)this.code(A).endIf();else if(V)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(x){return this._elseNode(new h(x))}else(){return this._elseNode(new $)}endIf(){return this._endBlockNode(h,$)}_for(x,A){return this._blockNode(x),A&&this.code(A).endFor(),this}for(x,A){return this._for(new y(x),A)}forRange(x,A,V,J,W=this.opts.es5?r.varKinds.var:r.varKinds.let){const ue=this._scope.toName(x);return this._for(new b(W,ue,A,V),()=>J(ue))}forOf(x,A,V,J=r.varKinds.const){const W=this._scope.toName(x);if(this.opts.es5){const ue=A instanceof t.Name?A:this.var("_arr",A);return this.forRange("_i",0,(0,t._)`${ue}.length`,ce=>{this.var(W,(0,t._)`${ue}[${ce}]`),V(W)})}return this._for(new O("of",J,W,A),()=>V(W))}forIn(x,A,V,J=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(x,(0,t._)`Object.keys(${A})`,V);const W=this._scope.toName(x);return this._for(new O("in",J,W,A),()=>V(W))}endFor(){return this._endBlockNode(g)}label(x){return this._leafNode(new u(x))}break(x){return this._leafNode(new c(x))}return(x){const A=new _;if(this._blockNode(A),this.code(x),A.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(_)}try(x,A,V){if(!A&&!V)throw new Error('CodeGen: "try" without "catch" and "finally"');const J=new w;if(this._blockNode(J),this.code(x),A){const W=this.name("e");this._currNode=J.catch=new T(W),A(W)}return V&&(this._currNode=J.finally=new F,this.code(V)),this._endBlockNode(T,F)}throw(x){return this._leafNode(new d(x))}block(x,A){return this._blockStarts.push(this._nodes.length),x&&this.code(x).endBlock(A),this}endBlock(x){const A=this._blockStarts.pop();if(A===void 0)throw new Error("CodeGen: not in self-balancing block");const V=this._nodes.length-A;if(V<0||x!==void 0&&V!==x)throw new Error(`CodeGen: wrong number of nodes: ${V} vs ${x} expected`);return this._nodes.length=A,this}func(x,A=t.nil,V,J){return this._blockNode(new S(x,A,V)),J&&this.code(J).endFunc(),this}endFunc(){return this._endBlockNode(S)}optimize(x=1){for(;x-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(x){return this._currNode.nodes.push(x),this}_blockNode(x){this._currNode.nodes.push(x),this._nodes.push(x)}_endBlockNode(x,A){const V=this._currNode;if(V instanceof x||A&&V instanceof A)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${A?`${x.kind}/${A.kind}`:x.kind}"`)}_elseNode(x){const A=this._currNode;if(!(A instanceof h))throw new Error('CodeGen: "else" without "if"');return this._currNode=A.else=x,this}get _root(){return this._nodes[0]}get _currNode(){const x=this._nodes;return x[x.length-1]}set _currNode(x){const A=this._nodes;A[A.length-1]=x}}e.CodeGen=N;function K(k,x){for(const A in x)k[A]=(k[A]||0)+(x[A]||0);return k}function D(k,x){return x instanceof t._CodeOrName?K(k,x.names):k}function U(k,x,A){if(k instanceof t.Name)return V(k);if(!J(k))return k;return new t._Code(k._items.reduce((W,ue)=>(ue instanceof t.Name&&(ue=V(ue)),ue instanceof t._Code?W.push(...ue._items):W.push(ue),W),[]));function V(W){const ue=A[W.str];return ue===void 0||x[W.str]!==1?W:(delete x[W.str],ue)}function J(W){return W instanceof t._Code&&W._items.some(ue=>ue instanceof t.Name&&x[ue.str]===1&&A[ue.str]!==void 0)}}function te(k,x){for(const A in x)k[A]=(k[A]||0)-(x[A]||0)}function ae(k){return typeof k=="boolean"||typeof k=="number"||k===null?!k:(0,t._)`!${H(k)}`}e.not=ae;const he=R(e.operators.AND);function Z(...k){return k.reduce(he)}e.and=Z;const ee=R(e.operators.OR);function M(...k){return k.reduce(ee)}e.or=M;function R(k){return(x,A)=>x===t.nil?A:A===t.nil?x:(0,t._)`${H(x)} ${k} ${H(A)}`}function H(k){return k instanceof t.Name?k:(0,t._)`(${k})`}})(fe);var ge={};(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=fe,r=gl;function n(S){const _={};for(const w of S)_[w]=!0;return _}e.toHash=n;function i(S,_){return typeof _=="boolean"?_:Object.keys(_).length===0?!0:(a(S,_),!o(_,S.self.RULES.all))}e.alwaysValidSchema=i;function a(S,_=S.schema){const{opts:w,self:T}=S;if(!w.strictSchema||typeof _=="boolean")return;const F=T.RULES.keywords;for(const N in _)F[N]||O(S,`unknown keyword: "${N}"`)}e.checkUnknownRules=a;function o(S,_){if(typeof S=="boolean")return!S;for(const w in S)if(_[w])return!0;return!1}e.schemaHasRules=o;function s(S,_){if(typeof S=="boolean")return!S;for(const w in S)if(w!=="$ref"&&_.all[w])return!0;return!1}e.schemaHasRulesButRef=s;function l({topSchemaRef:S,schemaPath:_},w,T,F){if(!F){if(typeof w=="number"||typeof w=="boolean")return w;if(typeof w=="string")return(0,t._)`${w}`}return(0,t._)`${S}${_}${(0,t.getProperty)(T)}`}e.schemaRefOrVal=l;function u(S){return p(decodeURIComponent(S))}e.unescapeFragment=u;function c(S){return encodeURIComponent(d(S))}e.escapeFragment=c;function d(S){return typeof S=="number"?`${S}`:S.replace(/~/g,"~0").replace(/\//g,"~1")}e.escapeJsonPointer=d;function p(S){return S.replace(/~1/g,"/").replace(/~0/g,"~")}e.unescapeJsonPointer=p;function f(S,_){if(Array.isArray(S))for(const w of S)_(w);else _(S)}e.eachItem=f;function m({mergeNames:S,mergeToName:_,mergeValues:w,resultToName:T}){return(F,N,K,D)=>{const U=K===void 0?N:K instanceof t.Name?(N instanceof t.Name?S(F,N,K):_(F,N,K),K):N instanceof t.Name?(_(F,K,N),N):w(N,K);return D===t.Name&&!(U instanceof t.Name)?T(F,U):U}}e.mergeEvaluated={props:m({mergeNames:(S,_,w)=>S.if((0,t._)`${w} !== true && ${_} !== undefined`,()=>{S.if((0,t._)`${_} === true`,()=>S.assign(w,!0),()=>S.assign(w,(0,t._)`${w} || {}`).code((0,t._)`Object.assign(${w}, ${_})`))}),mergeToName:(S,_,w)=>S.if((0,t._)`${w} !== true`,()=>{_===!0?S.assign(w,!0):(S.assign(w,(0,t._)`${w} || {}`),$(S,w,_))}),mergeValues:(S,_)=>S===!0?!0:{...S,..._},resultToName:v}),items:m({mergeNames:(S,_,w)=>S.if((0,t._)`${w} !== true && ${_} !== undefined`,()=>S.assign(w,(0,t._)`${_} === true ? true : ${w} > ${_} ? ${w} : ${_}`)),mergeToName:(S,_,w)=>S.if((0,t._)`${w} !== true`,()=>S.assign(w,_===!0?!0:(0,t._)`${w} > ${_} ? ${w} : ${_}`)),mergeValues:(S,_)=>S===!0?!0:Math.max(S,_),resultToName:(S,_)=>S.var("items",_)})};function v(S,_){if(_===!0)return S.var("props",!0);const w=S.var("props",(0,t._)`{}`);return _!==void 0&&$(S,w,_),w}e.evaluatedPropsToName=v;function $(S,_,w){Object.keys(w).forEach(T=>S.assign((0,t._)`${_}${(0,t.getProperty)(T)}`,!0))}e.setEvaluated=$;const h={};function g(S,_){return S.scopeValue("func",{ref:_,code:h[_.code]||(h[_.code]=new r._Code(_.code))})}e.useFunc=g;var y;(function(S){S[S.Num=0]="Num",S[S.Str=1]="Str"})(y=e.Type||(e.Type={}));function b(S,_,w){if(S instanceof t.Name){const T=_===y.Num;return w?T?(0,t._)`"[" + ${S} + "]"`:(0,t._)`"['" + ${S} + "']"`:T?(0,t._)`"/" + ${S}`:(0,t._)`"/" + ${S}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return w?(0,t.getProperty)(S).toString():"/"+d(S)}e.getErrorPath=b;function O(S,_,w=S.opts.strictSchema){if(w){if(_=`strict mode: ${_}`,w===!0)throw new Error(_);S.self.logger.warn(_)}}e.checkStrictMode=O})(ge);var ar={};Object.defineProperty(ar,"__esModule",{value:!0});const Ct=fe,xX={data:new Ct.Name("data"),valCxt:new Ct.Name("valCxt"),instancePath:new Ct.Name("instancePath"),parentData:new Ct.Name("parentData"),parentDataProperty:new Ct.Name("parentDataProperty"),rootData:new Ct.Name("rootData"),dynamicAnchors:new Ct.Name("dynamicAnchors"),vErrors:new Ct.Name("vErrors"),errors:new Ct.Name("errors"),this:new Ct.Name("this"),self:new Ct.Name("self"),scope:new Ct.Name("scope"),json:new Ct.Name("json"),jsonPos:new Ct.Name("jsonPos"),jsonLen:new Ct.Name("jsonLen"),jsonPart:new Ct.Name("jsonPart")};ar.default=xX;(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=fe,r=ge,n=ar;e.keywordError={message:({keyword:$})=>(0,t.str)`must pass "${$}" keyword validation`},e.keyword$DataError={message:({keyword:$,schemaType:h})=>h?(0,t.str)`"${$}" keyword must be ${h} ($data)`:(0,t.str)`"${$}" keyword is invalid ($data)`};function i($,h=e.keywordError,g,y){const{it:b}=$,{gen:O,compositeRule:S,allErrors:_}=b,w=d($,h,g);y??(S||_)?l(O,w):u(b,(0,t._)`[${w}]`)}e.reportError=i;function a($,h=e.keywordError,g){const{it:y}=$,{gen:b,compositeRule:O,allErrors:S}=y,_=d($,h,g);l(b,_),O||S||u(y,n.default.vErrors)}e.reportExtraError=a;function o($,h){$.assign(n.default.errors,h),$.if((0,t._)`${n.default.vErrors} !== null`,()=>$.if(h,()=>$.assign((0,t._)`${n.default.vErrors}.length`,h),()=>$.assign(n.default.vErrors,null)))}e.resetErrorsCount=o;function s({gen:$,keyword:h,schemaValue:g,data:y,errsCount:b,it:O}){if(b===void 0)throw new Error("ajv implementation error");const S=$.name("err");$.forRange("i",b,n.default.errors,_=>{$.const(S,(0,t._)`${n.default.vErrors}[${_}]`),$.if((0,t._)`${S}.instancePath === undefined`,()=>$.assign((0,t._)`${S}.instancePath`,(0,t.strConcat)(n.default.instancePath,O.errorPath))),$.assign((0,t._)`${S}.schemaPath`,(0,t.str)`${O.errSchemaPath}/${h}`),O.opts.verbose&&($.assign((0,t._)`${S}.schema`,g),$.assign((0,t._)`${S}.data`,y))})}e.extendErrors=s;function l($,h){const g=$.const("err",h);$.if((0,t._)`${n.default.vErrors} === null`,()=>$.assign(n.default.vErrors,(0,t._)`[${g}]`),(0,t._)`${n.default.vErrors}.push(${g})`),$.code((0,t._)`${n.default.errors}++`)}function u($,h){const{gen:g,validateName:y,schemaEnv:b}=$;b.$async?g.throw((0,t._)`new ${$.ValidationError}(${h})`):(g.assign((0,t._)`${y}.errors`,h),g.return(!1))}const c={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 d($,h,g){const{createErrors:y}=$.it;return y===!1?(0,t._)`{}`:p($,h,g)}function p($,h,g={}){const{gen:y,it:b}=$,O=[f(b,g),m($,g)];return v($,h,O),y.object(...O)}function f({errorPath:$},{instancePath:h}){const g=h?(0,t.str)`${$}${(0,r.getErrorPath)(h,r.Type.Str)}`:$;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,g)]}function m({keyword:$,it:{errSchemaPath:h}},{schemaPath:g,parentSchema:y}){let b=y?h:(0,t.str)`${h}/${$}`;return g&&(b=(0,t.str)`${b}${(0,r.getErrorPath)(g,r.Type.Str)}`),[c.schemaPath,b]}function v($,{params:h,message:g},y){const{keyword:b,data:O,schemaValue:S,it:_}=$,{opts:w,propertyName:T,topSchemaRef:F,schemaPath:N}=_;y.push([c.keyword,b],[c.params,typeof h=="function"?h($):h||(0,t._)`{}`]),w.messages&&y.push([c.message,typeof g=="function"?g($):g]),w.verbose&&y.push([c.schema,S],[c.parentSchema,(0,t._)`${F}${N}`],[n.default.data,O]),T&&y.push([c.propertyName,T])}})(Fl);Object.defineProperty(mo,"__esModule",{value:!0});mo.boolOrEmptySchema=mo.topBoolOrEmptySchema=void 0;const OX=Fl,PX=fe,TX=ar,AX={message:"boolean schema is false"};function RX(e){const{gen:t,schema:r,validateName:n}=e;r===!1?m7(e,!1):typeof r=="object"&&r.$async===!0?t.return(TX.default.data):(t.assign((0,PX._)`${n}.errors`,null),t.return(!0))}mo.topBoolOrEmptySchema=RX;function jX(e,t){const{gen:r,schema:n}=e;n===!1?(r.var(t,!1),m7(e)):r.var(t,!0)}mo.boolOrEmptySchema=jX;function m7(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,OX.reportError)(i,AX,void 0,t)}var Dl={},aa={};Object.defineProperty(aa,"__esModule",{value:!0});aa.getRules=aa.isJSONType=void 0;const IX=["string","number","integer","boolean","null","object","array"],LX=new Set(IX);function NX(e){return typeof e=="string"&&LX.has(e)}aa.isJSONType=NX;function MX(){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:{}}}aa.getRules=MX;var Pn={};Object.defineProperty(Pn,"__esModule",{value:!0});Pn.shouldUseRule=Pn.shouldUseGroup=Pn.schemaHasRulesForType=void 0;function kX({schema:e,self:t},r){const n=t.RULES.types[r];return n&&n!==!0&&v7(e,n)}Pn.schemaHasRulesForType=kX;function v7(e,t){return t.rules.some(r=>g7(e,r))}Pn.shouldUseGroup=v7;function g7(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))}Pn.shouldUseRule=g7;(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=aa,r=Pn,n=Fl,i=fe,a=ge;var o;(function(y){y[y.Correct=0]="Correct",y[y.Wrong=1]="Wrong"})(o=e.DataType||(e.DataType={}));function s(y){const b=l(y.type);if(b.includes("null")){if(y.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!b.length&&y.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');y.nullable===!0&&b.push("null")}return b}e.getSchemaTypes=s;function l(y){const b=Array.isArray(y)?y:y?[y]:[];if(b.every(t.isJSONType))return b;throw new Error("type must be JSONType or JSONType[]: "+b.join(","))}e.getJSONTypes=l;function u(y,b){const{gen:O,data:S,opts:_}=y,w=d(b,_.coerceTypes),T=b.length>0&&!(w.length===0&&b.length===1&&(0,r.schemaHasRulesForType)(y,b[0]));if(T){const F=v(b,S,_.strictNumbers,o.Wrong);O.if(F,()=>{w.length?p(y,b,w):h(y)})}return T}e.coerceAndCheckDataType=u;const c=new Set(["string","number","integer","boolean","null"]);function d(y,b){return b?y.filter(O=>c.has(O)||b==="array"&&O==="array"):[]}function p(y,b,O){const{gen:S,data:_,opts:w}=y,T=S.let("dataType",(0,i._)`typeof ${_}`),F=S.let("coerced",(0,i._)`undefined`);w.coerceTypes==="array"&&S.if((0,i._)`${T} == 'object' && Array.isArray(${_}) && ${_}.length == 1`,()=>S.assign(_,(0,i._)`${_}[0]`).assign(T,(0,i._)`typeof ${_}`).if(v(b,_,w.strictNumbers),()=>S.assign(F,_))),S.if((0,i._)`${F} !== undefined`);for(const K of O)(c.has(K)||K==="array"&&w.coerceTypes==="array")&&N(K);S.else(),h(y),S.endIf(),S.if((0,i._)`${F} !== undefined`,()=>{S.assign(_,F),f(y,F)});function N(K){switch(K){case"string":S.elseIf((0,i._)`${T} == "number" || ${T} == "boolean"`).assign(F,(0,i._)`"" + ${_}`).elseIf((0,i._)`${_} === null`).assign(F,(0,i._)`""`);return;case"number":S.elseIf((0,i._)`${T} == "boolean" || ${_} === null +`,p);var l=s,u=l.allOf,c=No(l,zJ);return i&&u?[c].concat(u):c}var d=Jp in s&&s.additionalProperties!==!1;return d?GJ(e,s,r,n):s})}function QJ(e,t,r,n,i){var a;if(Array.isArray(t.oneOf)?a=t.oneOf:Array.isArray(t.anyOf)&&(a=t.anyOf),a){var o=i===void 0&&n?{}:i,s=fl(t);a=a.map(function(u){return it in u?M0(e,u,r,!1,o)[0]:u});var l=N0(e,o,a,r,s);if(n)return a;t=a[l]}return[t]}function n7(e,t,r,n,i){var a=t.dependencies,o=No(t,KJ),s=QJ(e,o,r,n,i);return s.flatMap(function(l){return i7(e,a,l,r,n,i)})}function i7(e,t,r,n,i,a){var o=[r],s=function(){if(!i&&oe(a,[l])===void 0||r.properties&&!(l in r.properties))return"continue";var d=I0(l,t),p=d[0],f=d[1];return Array.isArray(f)?o[0]=YJ(r,f):Ze(f)&&(o=JJ(e,r,n,l,f,i,a)),{v:o.flatMap(function(m){return i7(e,p,m,n,i,a)})}};for(var l in t){var u=s();if(u!=="continue"&&typeof u=="object")return u.v}return o}function YJ(e,t){if(!t)return e;var r=Array.isArray(e.required)?Array.from(new Set([].concat(e.required,t))):t;return Me({},e,{required:r})}function JJ(e,t,r,n,i,a,o){var s=Jr(e,i,r,o,a);return s.flatMap(function(l){var u=l.oneOf,c=No(l,qJ);if(t=af(t,c),u===void 0)return t;var d=u.map(function(f){return typeof f=="boolean"||!(it in f)?[f]:M0(e,f,r,a,o)}),p=r7(d);return p.flatMap(function(f){return XJ(e,t,r,n,f,a,o)})})}function XJ(e,t,r,n,i,a,o){var s=i.filter(function(l){if(typeof l=="boolean"||!l||!l.properties)return!1;var u=l.properties[n];if(u){var c,d={type:"object",properties:(c={},c[n]=u,c)};return e.isValid(d,o,r)||a}return!1});return!a&&s.length!==1?(console.warn("ignoring oneOf in dependencies because there isn't exactly one subschema that is valid"),[t]):s.flatMap(function(l){var u=l,c=I0(n,u.properties),d=c[0],p=Me({},u,{properties:d}),f=Jr(e,p,r,o,a);return f.map(function(m){return af(t,m)})})}var eX={type:"object",$id:FJ,properties:{__not_really_there__:{type:"number"}}};function eh(e,t,r,n){n===void 0&&(n={});var i=0;return r&&(st(r.properties)?i+=FL(r.properties,function(a,o,s){var l=oe(n,s);if(typeof o=="boolean")return a;if(kt(o,it)){var u=Wt(e,o,t,l);return a+eh(e,t,u,l||{})}if(kt(o,ia)&&l)return a+hl(e,t,l,oe(o,ia));if(o.type==="object")return a+eh(e,t,o,l||{});if(o.type===pl(l)){var c=a+1;return o.default?c+=l===o.default?1:-1:o.const&&(c+=l===o.const?1:-1),c}return a},0):Gm(r.type)&&r.type===pl(n)&&(i+=1)),i}function hl(e,t,r,n,i,a){i===void 0&&(i=-1);var o=n.reduce(function(c,d,p){var f=[eX,d],m=N0(e,r,f,t,a);return m===1&&c.push(p),c},[]);if(o.length===1)return o[0];o.length||Rw(n.length,function(c){return o.push(c)});var s=new Set,l=o.reduce(function(c,d){var p=c.bestScore,f=n[d];kt(f,it)&&(f=Wt(e,f,t,r));var m=eh(e,t,f,r);return s.add(m),m>p?{bestIndex:d,bestScore:m}:c},{bestIndex:i,bestScore:0}),u=l.bestIndex;return s.size===1&&i>=0?i:u}function th(e){return Array.isArray(e.items)&&e.items.length>0&&e.items.every(function(t){return Ze(t)})}function Uc(e,t){if(Array.isArray(t)){var r=Array.isArray(e)?e:[],n=t.map(function(a,o){return r[o]?Uc(r[o],a):a});return n}if(Ze(t)){var i=Object.assign({},e);return Object.keys(t).reduce(function(a,o){return a[o]=Uc(e?oe(e,o):{},oe(t,o)),a},i)}return t}function ko(e,t,r){return r===void 0&&(r=!1),Object.keys(t).reduce(function(n,i){var a=e?e[i]:{},o=t[i];if(e&&i in e&&Ze(o))n[i]=ko(a,o,r);else if(r&&Array.isArray(a)&&Array.isArray(o)){var s=o;r==="preventDuplicates"&&(s=o.reduce(function(l,u){return a.includes(u)||l.push(u),l},[])),n[i]=a.concat(s)}else n[i]=o;return n},Object.assign({},e))}function tX(e){return Array.isArray(e.enum)&&e.enum.length===1||J8 in e}function a7(e,t,r){r===void 0&&(r={});var n=Wt(e,t,r,void 0),i=n.oneOf||n.anyOf;return Array.isArray(n.enum)?!0:Array.isArray(i)?i.every(function(a){return typeof a!="boolean"&&tX(a)}):!1}function k0(e,t,r){return!t.uniqueItems||!t.items||typeof t.items=="boolean"?!1:a7(e,t.items,r)}var ho;(function(e){e[e.Ignore=0]="Ignore",e[e.Invert=1]="Invert",e[e.Fallback=2]="Fallback"})(ho||(ho={}));function p1(e,t,r){if(t===void 0&&(t=ho.Ignore),r===void 0&&(r=-1),r>=0){if(Array.isArray(e.items)&&r0&&i.length>m?i.slice(0,m):i}}else typeof c=="boolean"&&typeof d=="boolean"&&c===d&&(a=i)}return a}function Wu(e,t,r,n,i,a,o,s){if(s===void 0&&(s=[]),it in t||nf in t||tf in t){var l=Wt(e,t,a,o),u=s.findIndex(function(v){return po(v,l)});if(u===-1)return Wu(e,l,r,n,i,a,o,s.concat(l))}if(Gi in t&&!oe(t,[Gi,it]))return Wu(e,oe(t,Gi),r,n,i,a,o,s);var c=i||r,d={$id:c};if(bi(t)==="object"&&ft in t)for(var p in t.properties){var f=oe(t,[ft,p]),m=d[si]+n+p;d[p]=Wu(e,Ze(f)?f:{},r,n,m,a,oe(o,[p]),s)}return d}function iX(e,t,r,n,i,a,o){return a===void 0&&(a="root"),o===void 0&&(o="_"),Wu(e,t,a,o,r,n,i)}function $s(e,t,r,n,i,a){var o;if(a===void 0&&(a=[]),it in t||nf in t||tf in t){var s=Wt(e,t,n,i),l=a.findIndex(function($){return po($,s)});if(l===-1)return $s(e,s,r,n,i,a.concat(s))}var u=(o={},o[Zu]=r.replace(/^\./,""),o);if(ia in t||rf in t){var c=ia in t?t.oneOf:t.anyOf,d=fl(t),p=hl(e,n,i,c,0,d),f=c[p];u=Me({},u,$s(e,f,r,n,i,a))}if(Jp in t&&t[Jp]!==!1&&hr(u,R0,!0),Gi in t&&Array.isArray(i))i.forEach(function($,h){u[h]=$s(e,t.items,r+"."+h,n,$,a)});else if(ft in t)for(var m in t.properties){var v=oe(t,[ft,m]);u[m]=$s(e,v,r+"."+m,n,oe(i,[m]),a)}return u}function aX(e,t,r,n,i){return r===void 0&&(r=""),$s(e,t,r,n,i)}var oX=function(){function e(r,n,i){this.rootSchema=void 0,this.validator=void 0,this.experimental_defaultFormStateBehavior=void 0,this.rootSchema=n,this.validator=r,this.experimental_defaultFormStateBehavior=i}var t=e.prototype;return t.getValidator=function(){return this.validator},t.doesSchemaUtilsDiffer=function(n,i,a){return a===void 0&&(a={}),!n||!i?!1:this.validator!==n||!nn(this.rootSchema,i)||!nn(this.experimental_defaultFormStateBehavior,a)},t.getDefaultFormState=function(n,i,a){return a===void 0&&(a=!1),o7(this.validator,n,i,this.rootSchema,a,this.experimental_defaultFormStateBehavior)},t.getDisplayLabel=function(n,i,a){return rX(this.validator,n,i,this.rootSchema,a)},t.getClosestMatchingOption=function(n,i,a,o){return hl(this.validator,this.rootSchema,n,i,a,o)},t.getFirstMatchingOption=function(n,i,a){return N0(this.validator,n,i,this.rootSchema,a)},t.getMatchingOption=function(n,i,a){return t7(this.validator,n,i,this.rootSchema,a)},t.isFilesArray=function(n,i){return l7(this.validator,n,i,this.rootSchema)},t.isMultiSelect=function(n){return k0(this.validator,n,this.rootSchema)},t.isSelect=function(n){return a7(this.validator,n,this.rootSchema)},t.mergeValidationData=function(n,i){return nX(this.validator,n,i)},t.retrieveSchema=function(n,i){return Wt(this.validator,n,this.rootSchema,i)},t.sanitizeDataForNewSchema=function(n,i,a){return rh(this.validator,this.rootSchema,n,i,a)},t.toIdSchema=function(n,i,a,o,s){return o===void 0&&(o="root"),s===void 0&&(s="_"),iX(this.validator,n,i,this.rootSchema,a,o,s)},t.toPathSchema=function(n,i,a){return aX(this.validator,n,i,this.rootSchema,a)},e}();function sX(e,t,r){return r===void 0&&(r={}),new oX(e,t,r)}function lX(e){var t=e.split(","),r=t[0].split(";"),n=r[0].replace("data:",""),i=r.filter(function(c){return c.split("=")[0]==="name"}),a;i.length!==1?a="unknown":a=decodeURI(i[0].split("=")[1]);try{for(var o=atob(t[1]),s=[],l=0;l=0&&(n[o]=i)}),r=n.join("")}return r}function cX(e,t){return uX(e,t)}function ht(e,t,r){if(t===void 0&&(t=[]),Array.isArray(e))return e.map(function(a){return ht(a,t)}).filter(function(a){return a});var n=e===""||e===null?-1:Number(e),i=t[n];return i?i.value:r}function u7(e,t,r){r===void 0&&(r=[]);var n=ht(e,r);return Array.isArray(t)?t.filter(function(i){return!po(i,n)}):po(n,t)?void 0:t}function Ml(e,t){return Array.isArray(t)?t.some(function(r){return po(r,e)}):po(t,e)}function c7(e,t,r){t===void 0&&(t=[]),r===void 0&&(r=!1);var n=t.map(function(i,a){return Ml(i.value,e)?String(a):void 0}).filter(function(i){return typeof i<"u"});return r?n:n[0]}function d7(e,t,r){r===void 0&&(r=[]);var n=ht(e,r);if(!bJ(n)){var i=r.findIndex(function(s){return n===s.value}),a=r.map(function(s){var l=s.value;return l}),o=t.slice(0,i).concat(n,t.slice(i));return o.sort(function(s,l){return+(a.indexOf(s)>a.indexOf(l))})}return t}var dX=function(){function e(r){this.errorSchema={},this.resetAllErrors(r)}var t=e.prototype;return t.getOrCreateErrorBlock=function(n){var i=Array.isArray(n)&&n.length>0||typeof n=="string",a=i?oe(this.errorSchema,n):this.errorSchema;return!a&&n&&(a={},hr(this.errorSchema,n,a)),a},t.resetAllErrors=function(n){return this.errorSchema=n?W8(n):{},this},t.addErrors=function(n,i){var a=this.getOrCreateErrorBlock(i),o=oe(a,Lr);if(Array.isArray(o)||(o=[],a[Lr]=o),Array.isArray(n)){var s;(s=o).push.apply(s,n)}else o.push(n);return this},t.setErrors=function(n,i){var a=this.getOrCreateErrorBlock(i),o=Array.isArray(n)?[].concat(n):[n];return hr(a,Lr,o),this},t.clearErrors=function(n){var i=this.getOrCreateErrorBlock(n);return hr(i,Lr,[]),this},RJ(e,[{key:"ErrorSchema",get:function(){return this.errorSchema}}]),e}();function fX(e){var t={};return e.multipleOf&&(t.step=e.multipleOf),(e.minimum||e.minimum===0)&&(t.min=e.minimum),(e.maximum||e.maximum===0)&&(t.max=e.maximum),t}function f7(e,t,r,n){r===void 0&&(r={}),n===void 0&&(n=!0);var i=Me({type:t||"text"},fX(e));return r.inputType?i.type=r.inputType:t||(e.type==="number"?(i.type="number",n&&i.step===void 0&&(i.step="any")):e.type==="integer"&&(i.type="number",i.step===void 0&&(i.step=1))),r.autocomplete&&(i.autoComplete=r.autocomplete),i}var F$={props:{disabled:!1},submitText:"Submit",norender:!1};function p7(e){e===void 0&&(e={});var t=Se(e);if(t&&t[Hc]){var r=t[Hc];return Me({},F$,r)}return F$}function ve(e,t,r){r===void 0&&(r={});var n=t.templates;return e==="ButtonTemplates"?n[e]:r[e]||n[e]}var pX=["options"],h1={boolean:{checkbox:"CheckboxWidget",radio:"RadioWidget",select:"SelectWidget",hidden:"HiddenWidget"},string:{text:"TextWidget",password:"PasswordWidget",email:"EmailWidget",hostname:"TextWidget",ipv4:"TextWidget",ipv6:"TextWidget",uri:"URLWidget","data-url":"FileWidget",radio:"RadioWidget",select:"SelectWidget",textarea:"TextareaWidget",hidden:"HiddenWidget",date:"DateWidget",datetime:"DateTimeWidget","date-time":"DateTimeWidget","alt-date":"AltDateWidget","alt-datetime":"AltDateTimeWidget",time:"TimeWidget",color:"ColorWidget",file:"FileWidget"},number:{text:"TextWidget",select:"SelectWidget",updown:"UpDownWidget",range:"RangeWidget",radio:"RadioWidget",hidden:"HiddenWidget"},integer:{text:"TextWidget",select:"SelectWidget",updown:"UpDownWidget",range:"RangeWidget",radio:"RadioWidget",hidden:"HiddenWidget"},array:{select:"SelectWidget",checkboxes:"CheckboxesWidget",files:"FileWidget",hidden:"HiddenWidget"}};function hX(e){var t=oe(e,"MergedWidget");if(!t){var r=e.defaultProps&&e.defaultProps.options||{};t=function(i){var a=i.options,o=No(i,pX);return E.jsx(e,Me({options:Me({},r,a)},o))},hr(e,"MergedWidget",t)}return t}function On(e,t,r){r===void 0&&(r={});var n=bi(e);if(typeof t=="function"||t&&N$.isForwardRef(R.createElement(t))||N$.isMemo(t))return hX(t);if(typeof t!="string")throw new Error("Unsupported widget definition: "+typeof t);if(t in r){var i=r[t];return On(e,i,r)}if(typeof n=="string"){if(!(n in h1))throw new Error("No widget for type '"+n+"'");if(t in h1[n]){var a=r[h1[n][t]];return On(e,a,r)}}throw new Error("No widget '"+t+"' for type '"+n+"'")}function mX(e){for(var t=0,r=0;r1?"properties '"+d.join("', '")+"'":"property '"+d[0]+"'"},i=r(e),a=t.filter(function(c){return c==="*"||i[c]}),o=r(a),s=e.filter(function(c){return!o[c]}),l=a.indexOf("*");if(l===-1){if(s.length)throw new Error("uiSchema order list does not contain "+n(s));return a}if(l!==a.lastIndexOf("*"))throw new Error("uiSchema order list contains more than one wildcard item");var u=[].concat(a);return u.splice.apply(u,[l,1].concat(s)),u}function Jn(e,t){for(var r=String(e);r.length0&&a[0]===""&&a.splice(0,1),i&&t.addErrors(i,a)}),t.ErrorSchema}function h7(e){return Object.keys(e).reduce(function(t,r){if(r==="addError")return t;var n,i=e[r];if(Cd(i)){var a;return Me({},t,(a={},a[r]=h7(i),a))}return Me({},t,(n={},n[r]=i,n))},{})}function CX(e){if(!e)return"";var t=new Date(e),r=Jn(t.getFullYear(),4),n=Jn(t.getMonth()+1,2),i=Jn(t.getDate(),2),a=Jn(t.getHours(),2),o=Jn(t.getMinutes(),2),s=Jn(t.getSeconds(),2),l=Jn(t.getMilliseconds(),3);return r+"-"+n+"-"+i+"T"+a+":"+o+":"+s+"."+l}function Gu(e,t){if(!t)return e;var r=e.errors,n=e.errorSchema,i=vl(t),a=t;return na(n)||(a=ko(n,t,!0),i=[].concat(r).concat(i)),{errorSchema:a,errors:i}}function SX(e){for(var t in e){var r=e,n=r[t];t===it&&typeof n=="string"&&n.startsWith("#")?r[t]=X8+n:r[t]=U0(n)}return e}function _X(e){for(var t=0;t1)return!1;const g=this._items[0];return g===""||g==='""'}get str(){var g;return(g=this._str)!==null&&g!==void 0?g:this._str=this._items.reduce((y,b)=>`${y}${b}`,"")}get names(){var g;return(g=this._names)!==null&&g!==void 0?g:this._names=this._items.reduce((y,b)=>(b instanceof r&&(y[b.str]=(y[b.str]||0)+1),y),{})}}e._Code=n,e.nil=new n("");function i(h,...g){const y=[h[0]];let b=0;for(;b{if(d.scopePath===void 0)throw new Error(`CodeGen: name "${d}" has no value`);return(0,t._)`${u}${d.scopePath}`})}scopeCode(u=this._values,c,d){return this._reduceValues(u,p=>{if(p.value===void 0)throw new Error(`CodeGen: name "${p}" has no value`);return p.value.code},c,d)}_reduceValues(u,c,d={},p){let f=t.nil;for(const m in u){const v=u[m];if(!v)continue;const $=d[m]=d[m]||new Map;v.forEach(h=>{if($.has(h))return;$.set(h,n.Started);let g=c(h);if(g){const y=this.opts.es5?e.varKinds.var:e.varKinds.const;f=(0,t._)`${f}${y} ${h} = ${g};${this.opts._n}`}else if(g=p==null?void 0:p(h))f=(0,t._)`${f}${g}${this.opts._n}`;else throw new r(h);$.set(h,n.Completed)})}return f}}e.ValueScope=s})(ih);(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=gl,r=ih;var n=gl;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=ih;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 a{optimizeNodes(){return this}optimizeNames(x,A){return this}}class o extends a{constructor(x,A,V){super(),this.varKind=x,this.name=A,this.rhs=V}render({es5:x,_n:A}){const V=x?r.varKinds.var:this.varKind,J=this.rhs===void 0?"":` = ${this.rhs}`;return`${V} ${this.name}${J};`+A}optimizeNames(x,A){if(x[this.name.str])return this.rhs&&(this.rhs=U(this.rhs,x,A)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class s extends a{constructor(x,A,V){super(),this.lhs=x,this.rhs=A,this.sideEffects=V}render({_n:x}){return`${this.lhs} = ${this.rhs};`+x}optimizeNames(x,A){if(!(this.lhs instanceof t.Name&&!x[this.lhs.str]&&!this.sideEffects))return this.rhs=U(this.rhs,x,A),this}get names(){const x=this.lhs instanceof t.Name?{}:{...this.lhs.names};return D(x,this.rhs)}}class l extends s{constructor(x,A,V,J){super(x,V,J),this.op=A}render({_n:x}){return`${this.lhs} ${this.op}= ${this.rhs};`+x}}class u extends a{constructor(x){super(),this.label=x,this.names={}}render({_n:x}){return`${this.label}:`+x}}class c extends a{constructor(x){super(),this.label=x,this.names={}}render({_n:x}){return`break${this.label?` ${this.label}`:""};`+x}}class d extends a{constructor(x){super(),this.error=x}render({_n:x}){return`throw ${this.error};`+x}get names(){return this.error.names}}class p extends a{constructor(x){super(),this.code=x}render({_n:x}){return`${this.code};`+x}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(x,A){return this.code=U(this.code,x,A),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class f extends a{constructor(x=[]){super(),this.nodes=x}render(x){return this.nodes.reduce((A,V)=>A+V.render(x),"")}optimizeNodes(){const{nodes:x}=this;let A=x.length;for(;A--;){const V=x[A].optimizeNodes();Array.isArray(V)?x.splice(A,1,...V):V?x[A]=V:x.splice(A,1)}return x.length>0?this:void 0}optimizeNames(x,A){const{nodes:V}=this;let J=V.length;for(;J--;){const W=V[J];W.optimizeNames(x,A)||(te(x,W.names),V.splice(J,1))}return V.length>0?this:void 0}get names(){return this.nodes.reduce((x,A)=>K(x,A.names),{})}}class m extends f{render(x){return"{"+x._n+super.render(x)+"}"+x._n}}class v extends f{}class $ extends m{}$.kind="else";class h extends m{constructor(x,A){super(A),this.condition=x}render(x){let A=`if(${this.condition})`+super.render(x);return this.else&&(A+="else "+this.else.render(x)),A}optimizeNodes(){super.optimizeNodes();const x=this.condition;if(x===!0)return this.nodes;let A=this.else;if(A){const V=A.optimizeNodes();A=this.else=Array.isArray(V)?new $(V):V}if(A)return x===!1?A instanceof h?A:A.nodes:this.nodes.length?this:new h(ae(x),A instanceof h?[A]:A.nodes);if(!(x===!1||!this.nodes.length))return this}optimizeNames(x,A){var V;if(this.else=(V=this.else)===null||V===void 0?void 0:V.optimizeNames(x,A),!!(super.optimizeNames(x,A)||this.else))return this.condition=U(this.condition,x,A),this}get names(){const x=super.names;return D(x,this.condition),this.else&&K(x,this.else.names),x}}h.kind="if";class g extends m{}g.kind="for";class y extends g{constructor(x){super(),this.iteration=x}render(x){return`for(${this.iteration})`+super.render(x)}optimizeNames(x,A){if(super.optimizeNames(x,A))return this.iteration=U(this.iteration,x,A),this}get names(){return K(super.names,this.iteration.names)}}class b extends g{constructor(x,A,V,J){super(),this.varKind=x,this.name=A,this.from=V,this.to=J}render(x){const A=x.es5?r.varKinds.var:this.varKind,{name:V,from:J,to:W}=this;return`for(${A} ${V}=${J}; ${V}<${W}; ${V}++)`+super.render(x)}get names(){const x=D(super.names,this.from);return D(x,this.to)}}class O extends g{constructor(x,A,V,J){super(),this.loop=x,this.varKind=A,this.name=V,this.iterable=J}render(x){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(x)}optimizeNames(x,A){if(super.optimizeNames(x,A))return this.iterable=U(this.iterable,x,A),this}get names(){return K(super.names,this.iterable.names)}}class S extends m{constructor(x,A,V){super(),this.name=x,this.args=A,this.async=V}render(x){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(x)}}S.kind="func";class _ extends f{render(x){return"return "+super.render(x)}}_.kind="return";class w extends m{render(x){let A="try"+super.render(x);return this.catch&&(A+=this.catch.render(x)),this.finally&&(A+=this.finally.render(x)),A}optimizeNodes(){var x,A;return super.optimizeNodes(),(x=this.catch)===null||x===void 0||x.optimizeNodes(),(A=this.finally)===null||A===void 0||A.optimizeNodes(),this}optimizeNames(x,A){var V,J;return super.optimizeNames(x,A),(V=this.catch)===null||V===void 0||V.optimizeNames(x,A),(J=this.finally)===null||J===void 0||J.optimizeNames(x,A),this}get names(){const x=super.names;return this.catch&&K(x,this.catch.names),this.finally&&K(x,this.finally.names),x}}class T extends m{constructor(x){super(),this.error=x}render(x){return`catch(${this.error})`+super.render(x)}}T.kind="catch";class F extends m{render(x){return"finally"+super.render(x)}}F.kind="finally";class N{constructor(x,A={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...A,_n:A.lines?` +`:""},this._extScope=x,this._scope=new r.Scope({parent:x}),this._nodes=[new v]}toString(){return this._root.render(this.opts)}name(x){return this._scope.name(x)}scopeName(x){return this._extScope.name(x)}scopeValue(x,A){const V=this._extScope.value(x,A);return(this._values[V.prefix]||(this._values[V.prefix]=new Set)).add(V),V}getScopeValue(x,A){return this._extScope.getValue(x,A)}scopeRefs(x){return this._extScope.scopeRefs(x,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(x,A,V,J){const W=this._scope.toName(A);return V!==void 0&&J&&(this._constants[W.str]=V),this._leafNode(new o(x,W,V)),W}const(x,A,V){return this._def(r.varKinds.const,x,A,V)}let(x,A,V){return this._def(r.varKinds.let,x,A,V)}var(x,A,V){return this._def(r.varKinds.var,x,A,V)}assign(x,A,V){return this._leafNode(new s(x,A,V))}add(x,A){return this._leafNode(new l(x,e.operators.ADD,A))}code(x){return typeof x=="function"?x():x!==t.nil&&this._leafNode(new p(x)),this}object(...x){const A=["{"];for(const[V,J]of x)A.length>1&&A.push(","),A.push(V),(V!==J||this.opts.es5)&&(A.push(":"),(0,t.addCodeArg)(A,J));return A.push("}"),new t._Code(A)}if(x,A,V){if(this._blockNode(new h(x)),A&&V)this.code(A).else().code(V).endIf();else if(A)this.code(A).endIf();else if(V)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(x){return this._elseNode(new h(x))}else(){return this._elseNode(new $)}endIf(){return this._endBlockNode(h,$)}_for(x,A){return this._blockNode(x),A&&this.code(A).endFor(),this}for(x,A){return this._for(new y(x),A)}forRange(x,A,V,J,W=this.opts.es5?r.varKinds.var:r.varKinds.let){const ue=this._scope.toName(x);return this._for(new b(W,ue,A,V),()=>J(ue))}forOf(x,A,V,J=r.varKinds.const){const W=this._scope.toName(x);if(this.opts.es5){const ue=A instanceof t.Name?A:this.var("_arr",A);return this.forRange("_i",0,(0,t._)`${ue}.length`,ce=>{this.var(W,(0,t._)`${ue}[${ce}]`),V(W)})}return this._for(new O("of",J,W,A),()=>V(W))}forIn(x,A,V,J=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(x,(0,t._)`Object.keys(${A})`,V);const W=this._scope.toName(x);return this._for(new O("in",J,W,A),()=>V(W))}endFor(){return this._endBlockNode(g)}label(x){return this._leafNode(new u(x))}break(x){return this._leafNode(new c(x))}return(x){const A=new _;if(this._blockNode(A),this.code(x),A.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(_)}try(x,A,V){if(!A&&!V)throw new Error('CodeGen: "try" without "catch" and "finally"');const J=new w;if(this._blockNode(J),this.code(x),A){const W=this.name("e");this._currNode=J.catch=new T(W),A(W)}return V&&(this._currNode=J.finally=new F,this.code(V)),this._endBlockNode(T,F)}throw(x){return this._leafNode(new d(x))}block(x,A){return this._blockStarts.push(this._nodes.length),x&&this.code(x).endBlock(A),this}endBlock(x){const A=this._blockStarts.pop();if(A===void 0)throw new Error("CodeGen: not in self-balancing block");const V=this._nodes.length-A;if(V<0||x!==void 0&&V!==x)throw new Error(`CodeGen: wrong number of nodes: ${V} vs ${x} expected`);return this._nodes.length=A,this}func(x,A=t.nil,V,J){return this._blockNode(new S(x,A,V)),J&&this.code(J).endFunc(),this}endFunc(){return this._endBlockNode(S)}optimize(x=1){for(;x-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(x){return this._currNode.nodes.push(x),this}_blockNode(x){this._currNode.nodes.push(x),this._nodes.push(x)}_endBlockNode(x,A){const V=this._currNode;if(V instanceof x||A&&V instanceof A)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${A?`${x.kind}/${A.kind}`:x.kind}"`)}_elseNode(x){const A=this._currNode;if(!(A instanceof h))throw new Error('CodeGen: "else" without "if"');return this._currNode=A.else=x,this}get _root(){return this._nodes[0]}get _currNode(){const x=this._nodes;return x[x.length-1]}set _currNode(x){const A=this._nodes;A[A.length-1]=x}}e.CodeGen=N;function K(k,x){for(const A in x)k[A]=(k[A]||0)+(x[A]||0);return k}function D(k,x){return x instanceof t._CodeOrName?K(k,x.names):k}function U(k,x,A){if(k instanceof t.Name)return V(k);if(!J(k))return k;return new t._Code(k._items.reduce((W,ue)=>(ue instanceof t.Name&&(ue=V(ue)),ue instanceof t._Code?W.push(...ue._items):W.push(ue),W),[]));function V(W){const ue=A[W.str];return ue===void 0||x[W.str]!==1?W:(delete x[W.str],ue)}function J(W){return W instanceof t._Code&&W._items.some(ue=>ue instanceof t.Name&&x[ue.str]===1&&A[ue.str]!==void 0)}}function te(k,x){for(const A in x)k[A]=(k[A]||0)-(x[A]||0)}function ae(k){return typeof k=="boolean"||typeof k=="number"||k===null?!k:(0,t._)`!${H(k)}`}e.not=ae;const he=j(e.operators.AND);function Z(...k){return k.reduce(he)}e.and=Z;const ee=j(e.operators.OR);function M(...k){return k.reduce(ee)}e.or=M;function j(k){return(x,A)=>x===t.nil?A:A===t.nil?x:(0,t._)`${H(x)} ${k} ${H(A)}`}function H(k){return k instanceof t.Name?k:(0,t._)`(${k})`}})(fe);var ge={};(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=fe,r=gl;function n(S){const _={};for(const w of S)_[w]=!0;return _}e.toHash=n;function i(S,_){return typeof _=="boolean"?_:Object.keys(_).length===0?!0:(a(S,_),!o(_,S.self.RULES.all))}e.alwaysValidSchema=i;function a(S,_=S.schema){const{opts:w,self:T}=S;if(!w.strictSchema||typeof _=="boolean")return;const F=T.RULES.keywords;for(const N in _)F[N]||O(S,`unknown keyword: "${N}"`)}e.checkUnknownRules=a;function o(S,_){if(typeof S=="boolean")return!S;for(const w in S)if(_[w])return!0;return!1}e.schemaHasRules=o;function s(S,_){if(typeof S=="boolean")return!S;for(const w in S)if(w!=="$ref"&&_.all[w])return!0;return!1}e.schemaHasRulesButRef=s;function l({topSchemaRef:S,schemaPath:_},w,T,F){if(!F){if(typeof w=="number"||typeof w=="boolean")return w;if(typeof w=="string")return(0,t._)`${w}`}return(0,t._)`${S}${_}${(0,t.getProperty)(T)}`}e.schemaRefOrVal=l;function u(S){return p(decodeURIComponent(S))}e.unescapeFragment=u;function c(S){return encodeURIComponent(d(S))}e.escapeFragment=c;function d(S){return typeof S=="number"?`${S}`:S.replace(/~/g,"~0").replace(/\//g,"~1")}e.escapeJsonPointer=d;function p(S){return S.replace(/~1/g,"/").replace(/~0/g,"~")}e.unescapeJsonPointer=p;function f(S,_){if(Array.isArray(S))for(const w of S)_(w);else _(S)}e.eachItem=f;function m({mergeNames:S,mergeToName:_,mergeValues:w,resultToName:T}){return(F,N,K,D)=>{const U=K===void 0?N:K instanceof t.Name?(N instanceof t.Name?S(F,N,K):_(F,N,K),K):N instanceof t.Name?(_(F,K,N),N):w(N,K);return D===t.Name&&!(U instanceof t.Name)?T(F,U):U}}e.mergeEvaluated={props:m({mergeNames:(S,_,w)=>S.if((0,t._)`${w} !== true && ${_} !== undefined`,()=>{S.if((0,t._)`${_} === true`,()=>S.assign(w,!0),()=>S.assign(w,(0,t._)`${w} || {}`).code((0,t._)`Object.assign(${w}, ${_})`))}),mergeToName:(S,_,w)=>S.if((0,t._)`${w} !== true`,()=>{_===!0?S.assign(w,!0):(S.assign(w,(0,t._)`${w} || {}`),$(S,w,_))}),mergeValues:(S,_)=>S===!0?!0:{...S,..._},resultToName:v}),items:m({mergeNames:(S,_,w)=>S.if((0,t._)`${w} !== true && ${_} !== undefined`,()=>S.assign(w,(0,t._)`${_} === true ? true : ${w} > ${_} ? ${w} : ${_}`)),mergeToName:(S,_,w)=>S.if((0,t._)`${w} !== true`,()=>S.assign(w,_===!0?!0:(0,t._)`${w} > ${_} ? ${w} : ${_}`)),mergeValues:(S,_)=>S===!0?!0:Math.max(S,_),resultToName:(S,_)=>S.var("items",_)})};function v(S,_){if(_===!0)return S.var("props",!0);const w=S.var("props",(0,t._)`{}`);return _!==void 0&&$(S,w,_),w}e.evaluatedPropsToName=v;function $(S,_,w){Object.keys(w).forEach(T=>S.assign((0,t._)`${_}${(0,t.getProperty)(T)}`,!0))}e.setEvaluated=$;const h={};function g(S,_){return S.scopeValue("func",{ref:_,code:h[_.code]||(h[_.code]=new r._Code(_.code))})}e.useFunc=g;var y;(function(S){S[S.Num=0]="Num",S[S.Str=1]="Str"})(y=e.Type||(e.Type={}));function b(S,_,w){if(S instanceof t.Name){const T=_===y.Num;return w?T?(0,t._)`"[" + ${S} + "]"`:(0,t._)`"['" + ${S} + "']"`:T?(0,t._)`"/" + ${S}`:(0,t._)`"/" + ${S}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return w?(0,t.getProperty)(S).toString():"/"+d(S)}e.getErrorPath=b;function O(S,_,w=S.opts.strictSchema){if(w){if(_=`strict mode: ${_}`,w===!0)throw new Error(_);S.self.logger.warn(_)}}e.checkStrictMode=O})(ge);var ar={};Object.defineProperty(ar,"__esModule",{value:!0});const Ct=fe,xX={data:new Ct.Name("data"),valCxt:new Ct.Name("valCxt"),instancePath:new Ct.Name("instancePath"),parentData:new Ct.Name("parentData"),parentDataProperty:new Ct.Name("parentDataProperty"),rootData:new Ct.Name("rootData"),dynamicAnchors:new Ct.Name("dynamicAnchors"),vErrors:new Ct.Name("vErrors"),errors:new Ct.Name("errors"),this:new Ct.Name("this"),self:new Ct.Name("self"),scope:new Ct.Name("scope"),json:new Ct.Name("json"),jsonPos:new Ct.Name("jsonPos"),jsonLen:new Ct.Name("jsonLen"),jsonPart:new Ct.Name("jsonPart")};ar.default=xX;(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=fe,r=ge,n=ar;e.keywordError={message:({keyword:$})=>(0,t.str)`must pass "${$}" keyword validation`},e.keyword$DataError={message:({keyword:$,schemaType:h})=>h?(0,t.str)`"${$}" keyword must be ${h} ($data)`:(0,t.str)`"${$}" keyword is invalid ($data)`};function i($,h=e.keywordError,g,y){const{it:b}=$,{gen:O,compositeRule:S,allErrors:_}=b,w=d($,h,g);y??(S||_)?l(O,w):u(b,(0,t._)`[${w}]`)}e.reportError=i;function a($,h=e.keywordError,g){const{it:y}=$,{gen:b,compositeRule:O,allErrors:S}=y,_=d($,h,g);l(b,_),O||S||u(y,n.default.vErrors)}e.reportExtraError=a;function o($,h){$.assign(n.default.errors,h),$.if((0,t._)`${n.default.vErrors} !== null`,()=>$.if(h,()=>$.assign((0,t._)`${n.default.vErrors}.length`,h),()=>$.assign(n.default.vErrors,null)))}e.resetErrorsCount=o;function s({gen:$,keyword:h,schemaValue:g,data:y,errsCount:b,it:O}){if(b===void 0)throw new Error("ajv implementation error");const S=$.name("err");$.forRange("i",b,n.default.errors,_=>{$.const(S,(0,t._)`${n.default.vErrors}[${_}]`),$.if((0,t._)`${S}.instancePath === undefined`,()=>$.assign((0,t._)`${S}.instancePath`,(0,t.strConcat)(n.default.instancePath,O.errorPath))),$.assign((0,t._)`${S}.schemaPath`,(0,t.str)`${O.errSchemaPath}/${h}`),O.opts.verbose&&($.assign((0,t._)`${S}.schema`,g),$.assign((0,t._)`${S}.data`,y))})}e.extendErrors=s;function l($,h){const g=$.const("err",h);$.if((0,t._)`${n.default.vErrors} === null`,()=>$.assign(n.default.vErrors,(0,t._)`[${g}]`),(0,t._)`${n.default.vErrors}.push(${g})`),$.code((0,t._)`${n.default.errors}++`)}function u($,h){const{gen:g,validateName:y,schemaEnv:b}=$;b.$async?g.throw((0,t._)`new ${$.ValidationError}(${h})`):(g.assign((0,t._)`${y}.errors`,h),g.return(!1))}const c={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 d($,h,g){const{createErrors:y}=$.it;return y===!1?(0,t._)`{}`:p($,h,g)}function p($,h,g={}){const{gen:y,it:b}=$,O=[f(b,g),m($,g)];return v($,h,O),y.object(...O)}function f({errorPath:$},{instancePath:h}){const g=h?(0,t.str)`${$}${(0,r.getErrorPath)(h,r.Type.Str)}`:$;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,g)]}function m({keyword:$,it:{errSchemaPath:h}},{schemaPath:g,parentSchema:y}){let b=y?h:(0,t.str)`${h}/${$}`;return g&&(b=(0,t.str)`${b}${(0,r.getErrorPath)(g,r.Type.Str)}`),[c.schemaPath,b]}function v($,{params:h,message:g},y){const{keyword:b,data:O,schemaValue:S,it:_}=$,{opts:w,propertyName:T,topSchemaRef:F,schemaPath:N}=_;y.push([c.keyword,b],[c.params,typeof h=="function"?h($):h||(0,t._)`{}`]),w.messages&&y.push([c.message,typeof g=="function"?g($):g]),w.verbose&&y.push([c.schema,S],[c.parentSchema,(0,t._)`${F}${N}`],[n.default.data,O]),T&&y.push([c.propertyName,T])}})(Fl);Object.defineProperty(mo,"__esModule",{value:!0});mo.boolOrEmptySchema=mo.topBoolOrEmptySchema=void 0;const OX=Fl,PX=fe,TX=ar,AX={message:"boolean schema is false"};function RX(e){const{gen:t,schema:r,validateName:n}=e;r===!1?m7(e,!1):typeof r=="object"&&r.$async===!0?t.return(TX.default.data):(t.assign((0,PX._)`${n}.errors`,null),t.return(!0))}mo.topBoolOrEmptySchema=RX;function jX(e,t){const{gen:r,schema:n}=e;n===!1?(r.var(t,!1),m7(e)):r.var(t,!0)}mo.boolOrEmptySchema=jX;function m7(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,OX.reportError)(i,AX,void 0,t)}var Dl={},aa={};Object.defineProperty(aa,"__esModule",{value:!0});aa.getRules=aa.isJSONType=void 0;const IX=["string","number","integer","boolean","null","object","array"],LX=new Set(IX);function NX(e){return typeof e=="string"&&LX.has(e)}aa.isJSONType=NX;function MX(){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:{}}}aa.getRules=MX;var Pn={};Object.defineProperty(Pn,"__esModule",{value:!0});Pn.shouldUseRule=Pn.shouldUseGroup=Pn.schemaHasRulesForType=void 0;function kX({schema:e,self:t},r){const n=t.RULES.types[r];return n&&n!==!0&&v7(e,n)}Pn.schemaHasRulesForType=kX;function v7(e,t){return t.rules.some(r=>g7(e,r))}Pn.shouldUseGroup=v7;function g7(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))}Pn.shouldUseRule=g7;(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=aa,r=Pn,n=Fl,i=fe,a=ge;var o;(function(y){y[y.Correct=0]="Correct",y[y.Wrong=1]="Wrong"})(o=e.DataType||(e.DataType={}));function s(y){const b=l(y.type);if(b.includes("null")){if(y.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!b.length&&y.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');y.nullable===!0&&b.push("null")}return b}e.getSchemaTypes=s;function l(y){const b=Array.isArray(y)?y:y?[y]:[];if(b.every(t.isJSONType))return b;throw new Error("type must be JSONType or JSONType[]: "+b.join(","))}e.getJSONTypes=l;function u(y,b){const{gen:O,data:S,opts:_}=y,w=d(b,_.coerceTypes),T=b.length>0&&!(w.length===0&&b.length===1&&(0,r.schemaHasRulesForType)(y,b[0]));if(T){const F=v(b,S,_.strictNumbers,o.Wrong);O.if(F,()=>{w.length?p(y,b,w):h(y)})}return T}e.coerceAndCheckDataType=u;const c=new Set(["string","number","integer","boolean","null"]);function d(y,b){return b?y.filter(O=>c.has(O)||b==="array"&&O==="array"):[]}function p(y,b,O){const{gen:S,data:_,opts:w}=y,T=S.let("dataType",(0,i._)`typeof ${_}`),F=S.let("coerced",(0,i._)`undefined`);w.coerceTypes==="array"&&S.if((0,i._)`${T} == 'object' && Array.isArray(${_}) && ${_}.length == 1`,()=>S.assign(_,(0,i._)`${_}[0]`).assign(T,(0,i._)`typeof ${_}`).if(v(b,_,w.strictNumbers),()=>S.assign(F,_))),S.if((0,i._)`${F} !== undefined`);for(const K of O)(c.has(K)||K==="array"&&w.coerceTypes==="array")&&N(K);S.else(),h(y),S.endIf(),S.if((0,i._)`${F} !== undefined`,()=>{S.assign(_,F),f(y,F)});function N(K){switch(K){case"string":S.elseIf((0,i._)`${T} == "number" || ${T} == "boolean"`).assign(F,(0,i._)`"" + ${_}`).elseIf((0,i._)`${_} === null`).assign(F,(0,i._)`""`);return;case"number":S.elseIf((0,i._)`${T} == "boolean" || ${_} === null || (${T} == "string" && ${_} && ${_} == +${_})`).assign(F,(0,i._)`+${_}`);return;case"integer":S.elseIf((0,i._)`${T} === "boolean" || ${_} === null || (${T} === "string" && ${_} && ${_} == +${_} && !(${_} % 1))`).assign(F,(0,i._)`+${_}`);return;case"boolean":S.elseIf((0,i._)`${_} === "false" || ${_} === 0 || ${_} === null`).assign(F,!1).elseIf((0,i._)`${_} === "true" || ${_} === 1`).assign(F,!0);return;case"null":S.elseIf((0,i._)`${_} === "" || ${_} === 0 || ${_} === false`),S.assign(F,null);return;case"array":S.elseIf((0,i._)`${T} === "string" || ${T} === "number" - || ${T} === "boolean" || ${_} === null`).assign(F,(0,i._)`[${_}]`)}}}function f({gen:y,parentData:b,parentDataProperty:O},S){y.if((0,i._)`${b} !== undefined`,()=>y.assign((0,i._)`${b}[${O}]`,S))}function m(y,b,O,S=o.Correct){const _=S===o.Correct?i.operators.EQ:i.operators.NEQ;let w;switch(y){case"null":return(0,i._)`${b} ${_} null`;case"array":w=(0,i._)`Array.isArray(${b})`;break;case"object":w=(0,i._)`${b} && typeof ${b} == "object" && !Array.isArray(${b})`;break;case"integer":w=T((0,i._)`!(${b} % 1) && !isNaN(${b})`);break;case"number":w=T();break;default:return(0,i._)`typeof ${b} ${_} ${y}`}return S===o.Correct?w:(0,i.not)(w);function T(F=i.nil){return(0,i.and)((0,i._)`typeof ${b} == "number"`,F,O?(0,i._)`isFinite(${b})`:i.nil)}}e.checkDataType=m;function v(y,b,O,S){if(y.length===1)return m(y[0],b,O,S);let _;const w=(0,a.toHash)(y);if(w.array&&w.object){const T=(0,i._)`typeof ${b} != "object"`;_=w.null?T:(0,i._)`!${b} || ${T}`,delete w.null,delete w.array,delete w.object}else _=i.nil;w.number&&delete w.integer;for(const T in w)_=(0,i.and)(_,m(T,b,O,S));return _}e.checkDataTypes=v;const $={message:({schema:y})=>`must be ${y}`,params:({schema:y,schemaValue:b})=>typeof y=="string"?(0,i._)`{type: ${y}}`:(0,i._)`{type: ${b}}`};function h(y){const b=g(y);(0,n.reportError)(b,$)}e.reportTypeError=h;function g(y){const{gen:b,data:O,schema:S}=y,_=(0,a.schemaRefOrVal)(y,S,"type");return{gen:b,keyword:"type",data:O,schema:S.type,schemaCode:_,schemaValue:_,parentSchema:S,params:{},it:y}}})(Dl);var sf={};Object.defineProperty(sf,"__esModule",{value:!0});sf.assignDefaults=void 0;const Sa=fe,FX=ge;function DX(e,t){const{properties:r,items:n}=e.schema;if(t==="object"&&r)for(const i in r)V$(e,i,r[i].default);else t==="array"&&Array.isArray(n)&&n.forEach((i,a)=>V$(e,a,i.default))}sf.assignDefaults=DX;function V$(e,t,r){const{gen:n,compositeRule:i,data:a,opts:o}=e;if(r===void 0)return;const s=(0,Sa._)`${a}${(0,Sa.getProperty)(t)}`;if(i){(0,FX.checkStrictMode)(e,`default is ignored for: ${s}`);return}let l=(0,Sa._)`${s} === undefined`;o.useDefaults==="empty"&&(l=(0,Sa._)`${l} || ${s} === null || ${s} === ""`),n.if(l,(0,Sa._)`${s} = ${(0,Sa.stringify)(r)}`)}var Xr={},me={};Object.defineProperty(me,"__esModule",{value:!0});me.validateUnion=me.validateArray=me.usePattern=me.callValidateCode=me.schemaProperties=me.allSchemaProperties=me.noPropertyInData=me.propertyInData=me.isOwnProperty=me.hasPropFunc=me.reportMissingProp=me.checkMissingProp=me.checkReportMissingProp=void 0;const He=fe,z0=ge,Zn=ar,VX=ge;function HX(e,t){const{gen:r,data:n,it:i}=e;r.if(q0(r,n,t,i.opts.ownProperties),()=>{e.setParams({missingProperty:(0,He._)`${t}`},!0),e.error()})}me.checkReportMissingProp=HX;function UX({gen:e,data:t,it:{opts:r}},n,i){return(0,He.or)(...n.map(a=>(0,He.and)(q0(e,t,a,r.ownProperties),(0,He._)`${i} = ${a}`)))}me.checkMissingProp=UX;function BX(e,t){e.setParams({missingProperty:t},!0),e.error()}me.reportMissingProp=BX;function y7(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,He._)`Object.prototype.hasOwnProperty`})}me.hasPropFunc=y7;function K0(e,t,r){return(0,He._)`${y7(e)}.call(${t}, ${r})`}me.isOwnProperty=K0;function zX(e,t,r,n){const i=(0,He._)`${t}${(0,He.getProperty)(r)} !== undefined`;return n?(0,He._)`${i} && ${K0(e,t,r)}`:i}me.propertyInData=zX;function q0(e,t,r,n){const i=(0,He._)`${t}${(0,He.getProperty)(r)} === undefined`;return n?(0,He.or)(i,(0,He.not)(K0(e,t,r))):i}me.noPropertyInData=q0;function $7(e){return e?Object.keys(e).filter(t=>t!=="__proto__"):[]}me.allSchemaProperties=$7;function KX(e,t){return $7(t).filter(r=>!(0,z0.alwaysValidSchema)(e,t[r]))}me.schemaProperties=KX;function qX({schemaCode:e,data:t,it:{gen:r,topSchemaRef:n,schemaPath:i,errorPath:a},it:o},s,l,u){const c=u?(0,He._)`${e}, ${t}, ${n}${i}`:t,d=[[Zn.default.instancePath,(0,He.strConcat)(Zn.default.instancePath,a)],[Zn.default.parentData,o.parentData],[Zn.default.parentDataProperty,o.parentDataProperty],[Zn.default.rootData,Zn.default.rootData]];o.opts.dynamicRef&&d.push([Zn.default.dynamicAnchors,Zn.default.dynamicAnchors]);const p=(0,He._)`${c}, ${r.object(...d)}`;return l!==He.nil?(0,He._)`${s}.call(${l}, ${p})`:(0,He._)`${s}(${p})`}me.callValidateCode=qX;const ZX=(0,He._)`new RegExp`;function WX({gen:e,it:{opts:t}},r){const n=t.unicodeRegExp?"u":"",{regExp:i}=t.code,a=i(r,n);return e.scopeValue("pattern",{key:a.toString(),ref:a,code:(0,He._)`${i.code==="new RegExp"?ZX:(0,VX.useFunc)(e,i)}(${r}, ${n})`})}me.usePattern=WX;function GX(e){const{gen:t,data:r,keyword:n,it:i}=e,a=t.name("valid");if(i.allErrors){const s=t.let("valid",!0);return o(()=>t.assign(s,!1)),s}return t.var(a,!0),o(()=>t.break()),a;function o(s){const l=t.const("len",(0,He._)`${r}.length`);t.forRange("i",0,l,u=>{e.subschema({keyword:n,dataProp:u,dataPropType:z0.Type.Num},a),t.if((0,He.not)(a),s)})}}me.validateArray=GX;function QX(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,z0.alwaysValidSchema)(i,l))&&!i.opts.unevaluated)return;const o=t.let("valid",!1),s=t.name("_valid");t.block(()=>r.forEach((l,u)=>{const c=e.subschema({keyword:n,schemaProp:u,compositeRule:!0},s);t.assign(o,(0,He._)`${o} || ${s}`),e.mergeValidEvaluated(c,s)||t.if((0,He.not)(o))})),e.result(o,()=>e.reset(),()=>e.error(!0))}me.validateUnion=QX;Object.defineProperty(Xr,"__esModule",{value:!0});Xr.validateKeywordUsage=Xr.validSchemaType=Xr.funcKeywordCode=Xr.macroKeywordCode=void 0;const Ot=fe,Ni=ar,YX=me,JX=Fl;function XX(e,t){const{gen:r,keyword:n,schema:i,parentSchema:a,it:o}=e,s=t.macro.call(o.self,i,a,o),l=w7(r,n,s);o.opts.validateSchema!==!1&&o.self.validateSchema(s,!0);const u=r.name("valid");e.subschema({schema:s,schemaPath:Ot.nil,errSchemaPath:`${o.errSchemaPath}/${n}`,topSchemaRef:l,compositeRule:!0},u),e.pass(u,()=>e.error(!0))}Xr.macroKeywordCode=XX;function eee(e,t){var r;const{gen:n,keyword:i,schema:a,parentSchema:o,$data:s,it:l}=e;ree(l,t);const u=!s&&t.compile?t.compile.call(l.self,a,o,l):t.validate,c=w7(n,i,u),d=n.let("valid");e.block$data(d,p),e.ok((r=t.valid)!==null&&r!==void 0?r:d);function p(){if(t.errors===!1)v(),t.modifying&&H$(e),$(()=>e.error());else{const h=t.async?f():m();t.modifying&&H$(e),$(()=>tee(e,h))}}function f(){const h=n.let("ruleErrs",null);return n.try(()=>v((0,Ot._)`await `),g=>n.assign(d,!1).if((0,Ot._)`${g} instanceof ${l.ValidationError}`,()=>n.assign(h,(0,Ot._)`${g}.errors`),()=>n.throw(g))),h}function m(){const h=(0,Ot._)`${c}.errors`;return n.assign(h,null),v(Ot.nil),h}function v(h=t.async?(0,Ot._)`await `:Ot.nil){const g=l.opts.passContext?Ni.default.this:Ni.default.self,y=!("compile"in t&&!s||t.schema===!1);n.assign(d,(0,Ot._)`${h}${(0,YX.callValidateCode)(e,c,g,y)}`,t.modifying)}function $(h){var g;n.if((0,Ot.not)((g=t.valid)!==null&&g!==void 0?g:d),h)}}Xr.funcKeywordCode=eee;function H$(e){const{gen:t,data:r,it:n}=e;t.if(n.parentData,()=>t.assign(r,(0,Ot._)`${n.parentData}[${n.parentDataProperty}]`))}function tee(e,t){const{gen:r}=e;r.if((0,Ot._)`Array.isArray(${t})`,()=>{r.assign(Ni.default.vErrors,(0,Ot._)`${Ni.default.vErrors} === null ? ${t} : ${Ni.default.vErrors}.concat(${t})`).assign(Ni.default.errors,(0,Ot._)`${Ni.default.vErrors}.length`),(0,JX.extendErrors)(e)},()=>e.error())}function ree({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}function w7(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,Ot.stringify)(r)})}function nee(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")}Xr.validSchemaType=nee;function iee({schema:e,opts:t,self:r,errSchemaPath:n},i,a){if(Array.isArray(i.keyword)?!i.keyword.includes(a):i.keyword!==a)throw new Error("ajv implementation error");const o=i.dependencies;if(o!=null&&o.some(s=>!Object.prototype.hasOwnProperty.call(e,s)))throw new Error(`parent schema must have dependencies of ${a}: ${o.join(",")}`);if(i.validateSchema&&!i.validateSchema(e[a])){const l=`keyword "${a}" value is invalid at path "${n}": `+r.errorsText(i.validateSchema.errors);if(t.validateSchema==="log")r.logger.error(l);else throw new Error(l)}}Xr.validateKeywordUsage=iee;var gi={};Object.defineProperty(gi,"__esModule",{value:!0});gi.extendSubschemaMode=gi.extendSubschemaData=gi.getSubschema=void 0;const Gr=fe,b7=ge;function aee(e,{keyword:t,schemaProp:r,schema:n,schemaPath:i,errSchemaPath:a,topSchemaRef:o}){if(t!==void 0&&n!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(t!==void 0){const s=e.schema[t];return r===void 0?{schema:s,schemaPath:(0,Gr._)`${e.schemaPath}${(0,Gr.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:s[r],schemaPath:(0,Gr._)`${e.schemaPath}${(0,Gr.getProperty)(t)}${(0,Gr.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,b7.escapeFragment)(r)}`}}if(n!==void 0){if(i===void 0||a===void 0||o===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:n,schemaPath:i,topSchemaRef:o,errSchemaPath:a}}throw new Error('either "keyword" or "schema" must be passed')}gi.getSubschema=aee;function oee(e,t,{dataProp:r,dataPropType:n,data:i,dataTypes:a,propertyName:o}){if(i!==void 0&&r!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:s}=t;if(r!==void 0){const{errorPath:u,dataPathArr:c,opts:d}=t,p=s.let("data",(0,Gr._)`${t.data}${(0,Gr.getProperty)(r)}`,!0);l(p),e.errorPath=(0,Gr.str)`${u}${(0,b7.getErrorPath)(r,n,d.jsPropertySyntax)}`,e.parentDataProperty=(0,Gr._)`${r}`,e.dataPathArr=[...c,e.parentDataProperty]}if(i!==void 0){const u=i instanceof Gr.Name?i:s.let("data",i,!0);l(u),o!==void 0&&(e.propertyName=o)}a&&(e.dataTypes=a);function l(u){e.data=u,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,u]}}gi.extendSubschemaData=oee;function see(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:n,createErrors:i,allErrors:a}){n!==void 0&&(e.compositeRule=n),i!==void 0&&(e.createErrors=i),a!==void 0&&(e.allErrors=a),e.jtdDiscriminator=t,e.jtdMetadata=r}gi.extendSubschemaMode=see;var yt={},E7=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,a;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(a=Object.keys(t),n=a.length,n!==Object.keys(r).length)return!1;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(r,a[i]))return!1;for(i=n;i--!==0;){var o=a[i];if(!e(t[o],r[o]))return!1}return!0}return t!==t&&r!==r},C7={exports:{}},li=C7.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(){};Qu(t,n,i,e,"",e)};li.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};li.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};li.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};li.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 Qu(e,t,r,n,i,a,o,s,l,u){if(n&&typeof n=="object"&&!Array.isArray(n)){t(n,i,a,o,s,l,u);for(var c in n){var d=n[c];if(Array.isArray(d)){if(c in li.arrayKeywords)for(var p=0;pt+=S7(n)),t===1/0))return 1/0}return t}function _7(e,t="",r){r!==!1&&(t=Xa(t));const n=e.parse(t);return x7(e,n)}yt.getFullPath=_7;function x7(e,t){return e.serialize(t).split("#")[0]+"#"}yt._getFullPath=x7;const vee=/#\/?$/;function Xa(e){return e?e.replace(vee,""):""}yt.normalizeId=Xa;function gee(e,t,r){return r=Xa(r),e.resolve(t,r)}yt.resolveUrl=gee;const yee=/^[a-z_][-a-z0-9._]*$/i;function $ee(e,t){if(typeof e=="boolean")return{};const{schemaId:r,uriResolver:n}=this.opts,i=Xa(e[r]||t),a={"":i},o=_7(n,i,!1),s={},l=new Set;return fee(e,{allKeys:!0},(d,p,f,m)=>{if(m===void 0)return;const v=o+p;let $=a[m];typeof d[r]=="string"&&($=h.call(this,d[r])),g.call(this,d.$anchor),g.call(this,d.$dynamicAnchor),a[p]=$;function h(y){const b=this.opts.uriResolver.resolve;if(y=Xa($?b($,y):y),l.has(y))throw c(y);l.add(y);let O=this.refs[y];return typeof O=="string"&&(O=this.refs[O]),typeof O=="object"?u(d,O.schema,y):y!==Xa(v)&&(y[0]==="#"?(u(d,s[y],y),s[y]=d):this.refs[y]=v),y}function g(y){if(typeof y=="string"){if(!yee.test(y))throw new Error(`invalid anchor "${y}"`);h.call(this,`#${y}`)}}}),s;function u(d,p,f){if(p!==void 0&&!dee(d,p))throw c(f)}function c(d){return new Error(`reference "${d}" resolves to more than one schema`)}}yt.getSchemaRefs=$ee;Object.defineProperty(wr,"__esModule",{value:!0});wr.getData=wr.KeywordCxt=wr.validateFunctionCode=void 0;const O7=mo,U$=Dl,Z0=Pn,zc=Dl,wee=sf,Ms=Xr,v1=gi,ie=fe,de=ar,bee=yt,Tn=ge,ls=Fl;function Eee(e){if(A7(e)&&(R7(e),T7(e))){_ee(e);return}P7(e,()=>(0,O7.topBoolOrEmptySchema)(e))}wr.validateFunctionCode=Eee;function P7({gen:e,validateName:t,schema:r,schemaEnv:n,opts:i},a){i.code.es5?e.func(t,(0,ie._)`${de.default.data}, ${de.default.valCxt}`,n.$async,()=>{e.code((0,ie._)`"use strict"; ${B$(r,i)}`),See(e,i),e.code(a)}):e.func(t,(0,ie._)`${de.default.data}, ${Cee(i)}`,n.$async,()=>e.code(B$(r,i)).code(a))}function Cee(e){return(0,ie._)`{${de.default.instancePath}="", ${de.default.parentData}, ${de.default.parentDataProperty}, ${de.default.rootData}=${de.default.data}${e.dynamicRef?(0,ie._)`, ${de.default.dynamicAnchors}={}`:ie.nil}}={}`}function See(e,t){e.if(de.default.valCxt,()=>{e.var(de.default.instancePath,(0,ie._)`${de.default.valCxt}.${de.default.instancePath}`),e.var(de.default.parentData,(0,ie._)`${de.default.valCxt}.${de.default.parentData}`),e.var(de.default.parentDataProperty,(0,ie._)`${de.default.valCxt}.${de.default.parentDataProperty}`),e.var(de.default.rootData,(0,ie._)`${de.default.valCxt}.${de.default.rootData}`),t.dynamicRef&&e.var(de.default.dynamicAnchors,(0,ie._)`${de.default.valCxt}.${de.default.dynamicAnchors}`)},()=>{e.var(de.default.instancePath,(0,ie._)`""`),e.var(de.default.parentData,(0,ie._)`undefined`),e.var(de.default.parentDataProperty,(0,ie._)`undefined`),e.var(de.default.rootData,de.default.data),t.dynamicRef&&e.var(de.default.dynamicAnchors,(0,ie._)`{}`)})}function _ee(e){const{schema:t,opts:r,gen:n}=e;P7(e,()=>{r.$comment&&t.$comment&&I7(e),Aee(e),n.let(de.default.vErrors,null),n.let(de.default.errors,0),r.unevaluated&&xee(e),j7(e),Iee(e)})}function xee(e){const{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",(0,ie._)`${r}.evaluated`),t.if((0,ie._)`${e.evaluated}.dynamicProps`,()=>t.assign((0,ie._)`${e.evaluated}.props`,(0,ie._)`undefined`)),t.if((0,ie._)`${e.evaluated}.dynamicItems`,()=>t.assign((0,ie._)`${e.evaluated}.items`,(0,ie._)`undefined`))}function B$(e,t){const r=typeof e=="object"&&e[t.schemaId];return r&&(t.code.source||t.code.process)?(0,ie._)`/*# sourceURL=${r} */`:ie.nil}function Oee(e,t){if(A7(e)&&(R7(e),T7(e))){Pee(e,t);return}(0,O7.boolOrEmptySchema)(e,t)}function T7({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 A7(e){return typeof e.schema!="boolean"}function Pee(e,t){const{schema:r,gen:n,opts:i}=e;i.$comment&&r.$comment&&I7(e),Ree(e),jee(e);const a=n.const("_errs",de.default.errors);j7(e,a),n.var(t,(0,ie._)`${a} === ${de.default.errors}`)}function R7(e){(0,Tn.checkUnknownRules)(e),Tee(e)}function j7(e,t){if(e.opts.jtd)return z$(e,[],!1,t);const r=(0,U$.getSchemaTypes)(e.schema),n=(0,U$.coerceAndCheckDataType)(e,r);z$(e,r,!n,t)}function Tee(e){const{schema:t,errSchemaPath:r,opts:n,self:i}=e;t.$ref&&n.ignoreKeywordsWithRef&&(0,Tn.schemaHasRulesButRef)(t,i.RULES)&&i.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}function Aee(e){const{schema:t,opts:r}=e;t.default!==void 0&&r.useDefaults&&r.strictSchema&&(0,Tn.checkStrictMode)(e,"default is ignored in the schema root")}function Ree(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,bee.resolveUrl)(e.opts.uriResolver,e.baseId,t))}function jee(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}function I7({gen:e,schemaEnv:t,schema:r,errSchemaPath:n,opts:i}){const a=r.$comment;if(i.$comment===!0)e.code((0,ie._)`${de.default.self}.logger.log(${a})`);else if(typeof i.$comment=="function"){const o=(0,ie.str)`${n}/$comment`,s=e.scopeValue("root",{ref:t.root});e.code((0,ie._)`${de.default.self}.opts.$comment(${a}, ${o}, ${s}.schema)`)}}function Iee(e){const{gen:t,schemaEnv:r,validateName:n,ValidationError:i,opts:a}=e;r.$async?t.if((0,ie._)`${de.default.errors} === 0`,()=>t.return(de.default.data),()=>t.throw((0,ie._)`new ${i}(${de.default.vErrors})`)):(t.assign((0,ie._)`${n}.errors`,de.default.vErrors),a.unevaluated&&Lee(e),t.return((0,ie._)`${de.default.errors} === 0`))}function Lee({gen:e,evaluated:t,props:r,items:n}){r instanceof ie.Name&&e.assign((0,ie._)`${t}.props`,r),n instanceof ie.Name&&e.assign((0,ie._)`${t}.items`,n)}function z$(e,t,r,n){const{gen:i,schema:a,data:o,allErrors:s,opts:l,self:u}=e,{RULES:c}=u;if(a.$ref&&(l.ignoreKeywordsWithRef||!(0,Tn.schemaHasRulesButRef)(a,c))){i.block(()=>M7(e,"$ref",c.all.$ref.definition));return}l.jtd||Nee(e,t),i.block(()=>{for(const p of c.rules)d(p);d(c.post)});function d(p){(0,Z0.shouldUseGroup)(a,p)&&(p.type?(i.if((0,zc.checkDataType)(p.type,o,l.strictNumbers)),K$(e,p),t.length===1&&t[0]===p.type&&r&&(i.else(),(0,zc.reportTypeError)(e)),i.endIf()):K$(e,p),s||i.if((0,ie._)`${de.default.errors} === ${n||0}`))}}function K$(e,t){const{gen:r,schema:n,opts:{useDefaults:i}}=e;i&&(0,wee.assignDefaults)(e,t.type),r.block(()=>{for(const a of t.rules)(0,Z0.shouldUseRule)(n,a)&&M7(e,a.keyword,a.definition,t.type)})}function Nee(e,t){e.schemaEnv.meta||!e.opts.strictTypes||(Mee(e,t),e.opts.allowUnionTypes||kee(e,t),Fee(e,e.dataTypes))}function Mee(e,t){if(t.length){if(!e.dataTypes.length){e.dataTypes=t;return}t.forEach(r=>{L7(e.dataTypes,r)||W0(e,`type "${r}" not allowed by context "${e.dataTypes.join(",")}"`)}),Vee(e,t)}}function kee(e,t){t.length>1&&!(t.length===2&&t.includes("null"))&&W0(e,"use allowUnionTypes to allow union type keyword")}function Fee(e,t){const r=e.self.RULES.all;for(const n in r){const i=r[n];if(typeof i=="object"&&(0,Z0.shouldUseRule)(e.schema,i)){const{type:a}=i.definition;a.length&&!a.some(o=>Dee(t,o))&&W0(e,`missing type "${a.join(",")}" for keyword "${n}"`)}}}function Dee(e,t){return e.includes(t)||t==="number"&&e.includes("integer")}function L7(e,t){return e.includes(t)||t==="integer"&&e.includes("number")}function Vee(e,t){const r=[];for(const n of e.dataTypes)L7(t,n)?r.push(n):t.includes("integer")&&n==="number"&&r.push("integer");e.dataTypes=r}function W0(e,t){const r=e.schemaEnv.baseId+e.errSchemaPath;t+=` at "${r}" (strictTypes)`,(0,Tn.checkStrictMode)(e,t,e.opts.strictTypes)}class N7{constructor(t,r,n){if((0,Ms.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,Tn.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",k7(this.$data,t));else if(this.schemaCode=this.schemaValue,!(0,Ms.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",de.default.errors))}result(t,r,n){this.failResult((0,ie.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,ie.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,ie._)`${r} !== undefined && (${(0,ie.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?ls.reportExtraError:ls.reportError)(this,this.def.error,r)}$dataError(){(0,ls.reportError)(this,this.def.$dataError||ls.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,ls.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=ie.nil){this.gen.block(()=>{this.check$data(t,n),r()})}check$data(t=ie.nil,r=ie.nil){if(!this.$data)return;const{gen:n,schemaCode:i,schemaType:a,def:o}=this;n.if((0,ie.or)((0,ie._)`${i} === undefined`,r)),t!==ie.nil&&n.assign(t,!0),(a.length||o.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),t!==ie.nil&&n.assign(t,!1)),n.else()}invalid$data(){const{gen:t,schemaCode:r,schemaType:n,def:i,it:a}=this;return(0,ie.or)(o(),s());function o(){if(n.length){if(!(r instanceof ie.Name))throw new Error("ajv implementation error");const l=Array.isArray(n)?n:[n];return(0,ie._)`${(0,zc.checkDataTypes)(l,r,a.opts.strictNumbers,zc.DataType.Wrong)}`}return ie.nil}function s(){if(i.validateSchema){const l=t.scopeValue("validate$data",{ref:i.validateSchema});return(0,ie._)`!${l}(${r})`}return ie.nil}}subschema(t,r){const n=(0,v1.getSubschema)(this.it,t);(0,v1.extendSubschemaData)(n,this.it,t),(0,v1.extendSubschemaMode)(n,t);const i={...this.it,...n,items:void 0,props:void 0};return Oee(i,r),i}mergeEvaluated(t,r){const{it:n,gen:i}=this;n.opts.unevaluated&&(n.props!==!0&&t.props!==void 0&&(n.props=Tn.mergeEvaluated.props(i,t.props,n.props,r)),n.items!==!0&&t.items!==void 0&&(n.items=Tn.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,ie.Name)),!0}}wr.KeywordCxt=N7;function M7(e,t,r,n){const i=new N7(e,r,t);"code"in r?r.code(i,n):i.$data&&r.validate?(0,Ms.funcKeywordCode)(i,r):"macro"in r?(0,Ms.macroKeywordCode)(i,r):(r.compile||r.validate)&&(0,Ms.funcKeywordCode)(i,r)}const Hee=/^\/(?:[^~]|~0|~1)*$/,Uee=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function k7(e,{dataLevel:t,dataNames:r,dataPathArr:n}){let i,a;if(e==="")return de.default.rootData;if(e[0]==="/"){if(!Hee.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);i=e,a=de.default.rootData}else{const u=Uee.exec(e);if(!u)throw new Error(`Invalid JSON-pointer: ${e}`);const c=+u[1];if(i=u[2],i==="#"){if(c>=t)throw new Error(l("property/index",c));return n[t-c]}if(c>t)throw new Error(l("data",c));if(a=r[t-c],!i)return a}let o=a;const s=i.split("/");for(const u of s)u&&(a=(0,ie._)`${a}${(0,ie.getProperty)((0,Tn.unescapeJsonPointer)(u))}`,o=(0,ie._)`${o} && ${a}`);return o;function l(u,c){return`Cannot access ${u} ${c} levels up, current level is ${t}`}}wr.getData=k7;var Fo={};Object.defineProperty(Fo,"__esModule",{value:!0});class Bee extends Error{constructor(t){super("validation failed"),this.errors=t,this.ajv=this.validation=!0}}Fo.default=Bee;var Do={};Object.defineProperty(Do,"__esModule",{value:!0});const g1=yt;class zee extends Error{constructor(t,r,n,i){super(i||`can't resolve reference ${n} from id ${r}`),this.missingRef=(0,g1.resolveUrl)(t,r,n),this.missingSchema=(0,g1.normalizeId)((0,g1.getFullPath)(t,this.missingRef))}}Do.default=zee;var Pt={};Object.defineProperty(Pt,"__esModule",{value:!0});Pt.resolveSchema=Pt.getCompilingSchema=Pt.resolveRef=Pt.compileSchema=Pt.SchemaEnv=void 0;const Pr=fe,Kee=Fo,Ai=ar,Ir=yt,q$=ge,qee=wr;class lf{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,Ir.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={}}}Pt.SchemaEnv=lf;function G0(e){const t=F7.call(this,e);if(t)return t;const r=(0,Ir.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:n,lines:i}=this.opts.code,{ownProperties:a}=this.opts,o=new Pr.CodeGen(this.scope,{es5:n,lines:i,ownProperties:a});let s;e.$async&&(s=o.scopeValue("Error",{ref:Kee.default,code:(0,Pr._)`require("ajv/dist/runtime/validation_error").default`}));const l=o.scopeName("validate");e.validateName=l;const u={gen:o,allErrors:this.opts.allErrors,data:Ai.default.data,parentData:Ai.default.parentData,parentDataProperty:Ai.default.parentDataProperty,dataNames:[Ai.default.data],dataPathArr:[Pr.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:o.scopeValue("schema",this.opts.code.source===!0?{ref:e.schema,code:(0,Pr.stringify)(e.schema)}:{ref:e.schema}),validateName:l,ValidationError:s,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:Pr.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,Pr._)`""`,opts:this.opts,self:this};let c;try{this._compilations.add(e),(0,qee.validateFunctionCode)(u),o.optimize(this.opts.code.optimize);const d=o.toString();c=`${o.scopeRefs(Ai.default.scope)}return ${d}`,this.opts.code.process&&(c=this.opts.code.process(c,e));const f=new Function(`${Ai.default.self}`,`${Ai.default.scope}`,c)(this,this.scope.get());if(this.scope.value(l,{ref:f}),f.errors=null,f.schema=e.schema,f.schemaEnv=e,e.$async&&(f.$async=!0),this.opts.code.source===!0&&(f.source={validateName:l,validateCode:d,scopeValues:o._values}),this.opts.unevaluated){const{props:m,items:v}=u;f.evaluated={props:m instanceof Pr.Name?void 0:m,items:v instanceof Pr.Name?void 0:v,dynamicProps:m instanceof Pr.Name,dynamicItems:v instanceof Pr.Name},f.source&&(f.source.evaluated=(0,Pr.stringify)(f.evaluated))}return e.validate=f,e}catch(d){throw delete e.validate,delete e.validateName,c&&this.logger.error("Error compiling schema, function code:",c),d}finally{this._compilations.delete(e)}}Pt.compileSchema=G0;function Zee(e,t,r){var n;r=(0,Ir.resolveUrl)(this.opts.uriResolver,t,r);const i=e.refs[r];if(i)return i;let a=Qee.call(this,e,r);if(a===void 0){const o=(n=e.localRefs)===null||n===void 0?void 0:n[r],{schemaId:s}=this.opts;o&&(a=new lf({schema:o,schemaId:s,root:e,baseId:t}))}if(a!==void 0)return e.refs[r]=Wee.call(this,a)}Pt.resolveRef=Zee;function Wee(e){return(0,Ir.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:G0.call(this,e)}function F7(e){for(const t of this._compilations)if(Gee(t,e))return t}Pt.getCompilingSchema=F7;function Gee(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function Qee(e,t){let r;for(;typeof(r=this.refs[t])=="string";)t=r;return r||this.schemas[t]||uf.call(this,e,t)}function uf(e,t){const r=this.opts.uriResolver.parse(t),n=(0,Ir._getFullPath)(this.opts.uriResolver,r);let i=(0,Ir.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&n===i)return y1.call(this,r,e);const a=(0,Ir.normalizeId)(n),o=this.refs[a]||this.schemas[a];if(typeof o=="string"){const s=uf.call(this,e,o);return typeof(s==null?void 0:s.schema)!="object"?void 0:y1.call(this,r,s)}if(typeof(o==null?void 0:o.schema)=="object"){if(o.validate||G0.call(this,o),a===(0,Ir.normalizeId)(t)){const{schema:s}=o,{schemaId:l}=this.opts,u=s[l];return u&&(i=(0,Ir.resolveUrl)(this.opts.uriResolver,i,u)),new lf({schema:s,schemaId:l,root:e,baseId:i})}return y1.call(this,r,o)}}Pt.resolveSchema=uf;const Yee=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function y1(e,{baseId:t,schema:r,root:n}){var i;if(((i=e.fragment)===null||i===void 0?void 0:i[0])!=="/")return;for(const s of e.fragment.slice(1).split("/")){if(typeof r=="boolean")return;const l=r[(0,q$.unescapeFragment)(s)];if(l===void 0)return;r=l;const u=typeof r=="object"&&r[this.opts.schemaId];!Yee.has(s)&&u&&(t=(0,Ir.resolveUrl)(this.opts.uriResolver,t,u))}let a;if(typeof r!="boolean"&&r.$ref&&!(0,q$.schemaHasRulesButRef)(r,this.RULES)){const s=(0,Ir.resolveUrl)(this.opts.uriResolver,t,r.$ref);a=uf.call(this,n,s)}const{schemaId:o}=this.opts;if(a=a||new lf({schema:r,schemaId:o,root:n,baseId:t}),a.schema!==a.root.schema)return a}const Jee="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Xee="Meta-schema for $data reference (JSON AnySchema extension proposal)",ete="object",tte=["$data"],rte={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},nte=!1,ite={$id:Jee,description:Xee,type:ete,required:tte,properties:rte,additionalProperties:nte};var Q0={},oh={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)})(fs,function(r){function n(){for(var I=arguments.length,P=Array(I),L=0;L1){P[0]=P[0].slice(0,-1);for(var z=P.length-1,B=1;B= 0x80 (not a basic code point)","invalid-input":"Invalid input"},N=v-$,K=Math.floor,D=String.fromCharCode;function U(I){throw new RangeError(F[I])}function te(I,P){for(var L=[],z=I.length;z--;)L[z]=P(I[z]);return L}function ae(I,P){var L=I.split("@"),z="";L.length>1&&(z=L[0]+"@",I=L[1]),I=I.replace(T,".");var B=I.split("."),se=te(B,P).join(".");return z+se}function he(I){for(var P=[],L=0,z=I.length;L=55296&&B<=56319&&L>1,P+=K(P/L);P>N*h>>1;B+=v)P=K(P/N);return K(B+(N+1)*P/(P+g))},H=function(P){var L=[],z=P.length,B=0,se=O,le=b,be=P.lastIndexOf(S);be<0&&(be=0);for(var ke=0;ke=128&&U("not-basic"),L.push(P.charCodeAt(ke));for(var et=be>0?be+1:0;et=z&&U("invalid-input");var pe=ee(P.charCodeAt(et++));(pe>=v||pe>K((m-B)/je))&&U("overflow"),B+=pe*je;var Be=tt<=le?$:tt>=le+h?h:tt-le;if(peK(m/at)&&U("overflow"),je*=at}var ze=L.length+1;le=R(B-ye,ze,ye==0),K(B/ze)>m-se&&U("overflow"),se+=K(B/ze),B%=ze,L.splice(B++,0,se)}return String.fromCodePoint.apply(String,L)},k=function(P){var L=[];P=he(P);var z=P.length,B=O,se=0,le=b,be=!0,ke=!1,et=void 0;try{for(var ye=P[Symbol.iterator](),je;!(be=(je=ye.next()).done);be=!0){var tt=je.value;tt<128&&L.push(D(tt))}}catch(Go){ke=!0,et=Go}finally{try{!be&&ye.return&&ye.return()}finally{if(ke)throw et}}var pe=L.length,Be=pe;for(pe&&L.push(S);Be=B&&PiK((m-se)/sr)&&U("overflow"),se+=(at-B)*sr,B=at;var Kr=!0,Ti=!1,hn=void 0;try{for(var Wo=P[Symbol.iterator](),ig;!(Kr=(ig=Wo.next()).done);Kr=!0){var ag=ig.value;if(agm&&U("overflow"),ag==B){for(var ql=se,Zl=v;;Zl+=v){var Wl=Zl<=le?$:Zl>=le+h?h:Zl-le;if(ql>6|192).toString(16).toUpperCase()+"%"+(P&63|128).toString(16).toUpperCase():L="%"+(P>>12|224).toString(16).toUpperCase()+"%"+(P>>6&63|128).toString(16).toUpperCase()+"%"+(P&63|128).toString(16).toUpperCase(),L}function ue(I){for(var P="",L=0,z=I.length;L=194&&B<224){if(z-L>=6){var se=parseInt(I.substr(L+4,2),16);P+=String.fromCharCode((B&31)<<6|se&63)}else P+=I.substr(L,6);L+=6}else if(B>=224){if(z-L>=9){var le=parseInt(I.substr(L+4,2),16),be=parseInt(I.substr(L+7,2),16);P+=String.fromCharCode((B&15)<<12|(le&63)<<6|be&63)}else P+=I.substr(L,9);L+=9}else P+=I.substr(L,3),L+=3}return P}function ce(I,P){function L(z){var B=ue(z);return B.match(P.UNRESERVED)?B:z}return I.scheme&&(I.scheme=String(I.scheme).replace(P.PCT_ENCODED,L).toLowerCase().replace(P.NOT_SCHEME,"")),I.userinfo!==void 0&&(I.userinfo=String(I.userinfo).replace(P.PCT_ENCODED,L).replace(P.NOT_USERINFO,W).replace(P.PCT_ENCODED,o)),I.host!==void 0&&(I.host=String(I.host).replace(P.PCT_ENCODED,L).toLowerCase().replace(P.NOT_HOST,W).replace(P.PCT_ENCODED,o)),I.path!==void 0&&(I.path=String(I.path).replace(P.PCT_ENCODED,L).replace(I.scheme?P.NOT_PATH:P.NOT_PATH_NOSCHEME,W).replace(P.PCT_ENCODED,o)),I.query!==void 0&&(I.query=String(I.query).replace(P.PCT_ENCODED,L).replace(P.NOT_QUERY,W).replace(P.PCT_ENCODED,o)),I.fragment!==void 0&&(I.fragment=String(I.fragment).replace(P.PCT_ENCODED,L).replace(P.NOT_FRAGMENT,W).replace(P.PCT_ENCODED,o)),I}function xe(I){return I.replace(/^0*(.*)/,"$1")||"0"}function mt(I,P){var L=I.match(P.IPV4ADDRESS)||[],z=p(L,2),B=z[1];return B?B.split(".").map(xe).join("."):I}function Vr(I,P){var L=I.match(P.IPV6ADDRESS)||[],z=p(L,3),B=z[1],se=z[2];if(B){for(var le=B.toLowerCase().split("::").reverse(),be=p(le,2),ke=be[0],et=be[1],ye=et?et.split(":").map(xe):[],je=ke.split(":").map(xe),tt=P.IPV4ADDRESS.test(je[je.length-1]),pe=tt?7:8,Be=je.length-pe,at=Array(pe),ze=0;ze1){var wa=at.slice(0,Br.index),Pi=at.slice(Br.index+Br.length);zr=wa.join(":")+"::"+Pi.join(":")}else zr=at.join(":");return se&&(zr+="%"+se),zr}else return I}var fn=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,pn="".match(/(){0}/)[1]===void 0;function ct(I){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},L={},z=P.iri!==!1?d:c;P.reference==="suffix"&&(I=(P.scheme?P.scheme+":":"")+"//"+I);var B=I.match(fn);if(B){pn?(L.scheme=B[1],L.userinfo=B[3],L.host=B[4],L.port=parseInt(B[5],10),L.path=B[6]||"",L.query=B[7],L.fragment=B[8],isNaN(L.port)&&(L.port=B[5])):(L.scheme=B[1]||void 0,L.userinfo=I.indexOf("@")!==-1?B[3]:void 0,L.host=I.indexOf("//")!==-1?B[4]:void 0,L.port=parseInt(B[5],10),L.path=B[6]||"",L.query=I.indexOf("?")!==-1?B[7]:void 0,L.fragment=I.indexOf("#")!==-1?B[8]:void 0,isNaN(L.port)&&(L.port=I.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?B[4]:void 0)),L.host&&(L.host=Vr(mt(L.host,z),z)),L.scheme===void 0&&L.userinfo===void 0&&L.host===void 0&&L.port===void 0&&!L.path&&L.query===void 0?L.reference="same-document":L.scheme===void 0?L.reference="relative":L.fragment===void 0?L.reference="absolute":L.reference="uri",P.reference&&P.reference!=="suffix"&&P.reference!==L.reference&&(L.error=L.error||"URI is not a "+P.reference+" reference.");var se=J[(P.scheme||L.scheme||"").toLowerCase()];if(!P.unicodeSupport&&(!se||!se.unicodeSupport)){if(L.host&&(P.domainHost||se&&se.domainHost))try{L.host=V.toASCII(L.host.replace(z.PCT_ENCODED,ue).toLowerCase())}catch(le){L.error=L.error||"Host's domain name can not be converted to ASCII via punycode: "+le}ce(L,c)}else ce(L,z);se&&se.parse&&se.parse(L,P)}else L.error=L.error||"URI can not be parsed.";return L}function Bt(I,P){var L=P.iri!==!1?d:c,z=[];return I.userinfo!==void 0&&(z.push(I.userinfo),z.push("@")),I.host!==void 0&&z.push(Vr(mt(String(I.host),L),L).replace(L.IPV6ADDRESS,function(B,se,le){return"["+se+(le?"%25"+le:"")+"]"})),(typeof I.port=="number"||typeof I.port=="string")&&(z.push(":"),z.push(String(I.port))),z.length?z.join(""):void 0}var Hn=/^\.\.?\//,Un=/^\/\.(\/|$)/,Bn=/^\/\.\.(\/|$)/,zo=/^\/?(?:.|\n)*?(?=\/|$)/;function Hr(I){for(var P=[];I.length;)if(I.match(Hn))I=I.replace(Hn,"");else if(I.match(Un))I=I.replace(Un,"/");else if(I.match(Bn))I=I.replace(Bn,"/"),P.pop();else if(I==="."||I==="..")I="";else{var L=I.match(zo);if(L){var z=L[0];I=I.slice(z.length),P.push(z)}else throw new Error("Unexpected dot segment condition")}return P.join("")}function Lt(I){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},L=P.iri?d:c,z=[],B=J[(P.scheme||I.scheme||"").toLowerCase()];if(B&&B.serialize&&B.serialize(I,P),I.host&&!L.IPV6ADDRESS.test(I.host)){if(P.domainHost||B&&B.domainHost)try{I.host=P.iri?V.toUnicode(I.host):V.toASCII(I.host.replace(L.PCT_ENCODED,ue).toLowerCase())}catch(be){I.error=I.error||"Host's domain name can not be converted to "+(P.iri?"Unicode":"ASCII")+" via punycode: "+be}}ce(I,L),P.reference!=="suffix"&&I.scheme&&(z.push(I.scheme),z.push(":"));var se=Bt(I,P);if(se!==void 0&&(P.reference!=="suffix"&&z.push("//"),z.push(se),I.path&&I.path.charAt(0)!=="/"&&z.push("/")),I.path!==void 0){var le=I.path;!P.absolutePath&&(!B||!B.absolutePath)&&(le=Hr(le)),se===void 0&&(le=le.replace(/^\/\//,"/%2F")),z.push(le)}return I.query!==void 0&&(z.push("?"),z.push(I.query)),I.fragment!==void 0&&(z.push("#"),z.push(I.fragment)),z.join("")}function ya(I,P){var L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},z=arguments[3],B={};return z||(I=ct(Lt(I,L),L),P=ct(Lt(P,L),L)),L=L||{},!L.tolerant&&P.scheme?(B.scheme=P.scheme,B.userinfo=P.userinfo,B.host=P.host,B.port=P.port,B.path=Hr(P.path||""),B.query=P.query):(P.userinfo!==void 0||P.host!==void 0||P.port!==void 0?(B.userinfo=P.userinfo,B.host=P.host,B.port=P.port,B.path=Hr(P.path||""),B.query=P.query):(P.path?(P.path.charAt(0)==="/"?B.path=Hr(P.path):((I.userinfo!==void 0||I.host!==void 0||I.port!==void 0)&&!I.path?B.path="/"+P.path:I.path?B.path=I.path.slice(0,I.path.lastIndexOf("/")+1)+P.path:B.path=P.path,B.path=Hr(B.path)),B.query=P.query):(B.path=I.path,P.query!==void 0?B.query=P.query:B.query=I.query),B.userinfo=I.userinfo,B.host=I.host,B.port=I.port),B.scheme=I.scheme),B.fragment=P.fragment,B}function Ko(I,P,L){var z=l({scheme:"null"},L);return Lt(ya(ct(I,z),ct(P,z),z,!0),z)}function xi(I,P){return typeof I=="string"?I=Lt(ct(I,P),P):a(I)==="object"&&(I=ct(Lt(I,P),P)),I}function qo(I,P,L){return typeof I=="string"?I=Lt(ct(I,L),L):a(I)==="object"&&(I=Lt(I,L)),typeof P=="string"?P=Lt(ct(P,L),L):a(P)==="object"&&(P=Lt(P,L)),I===P}function Kl(I,P){return I&&I.toString().replace(!P||!P.iri?c.ESCAPE:d.ESCAPE,W)}function or(I,P){return I&&I.toString().replace(!P||!P.iri?c.PCT_ENCODED:d.PCT_ENCODED,ue)}var Oi={scheme:"http",domainHost:!0,parse:function(P,L){return P.host||(P.error=P.error||"HTTP URIs must have a host."),P},serialize:function(P,L){var z=String(P.scheme).toLowerCase()==="https";return(P.port===(z?443:80)||P.port==="")&&(P.port=void 0),P.path||(P.path="/"),P}},Qv={scheme:"https",domainHost:Oi.domainHost,parse:Oi.parse,serialize:Oi.serialize};function Yv(I){return typeof I.secure=="boolean"?I.secure:String(I.scheme).toLowerCase()==="wss"}var Zo={scheme:"ws",domainHost:!0,parse:function(P,L){var z=P;return z.secure=Yv(z),z.resourceName=(z.path||"/")+(z.query?"?"+z.query:""),z.path=void 0,z.query=void 0,z},serialize:function(P,L){if((P.port===(Yv(P)?443:80)||P.port==="")&&(P.port=void 0),typeof P.secure=="boolean"&&(P.scheme=P.secure?"wss":"ws",P.secure=void 0),P.resourceName){var z=P.resourceName.split("?"),B=p(z,2),se=B[0],le=B[1];P.path=se&&se!=="/"?se:void 0,P.query=le,P.resourceName=void 0}return P.fragment=void 0,P}},Jv={scheme:"wss",domainHost:Zo.domainHost,parse:Zo.parse,serialize:Zo.serialize},pb={},Xv="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",Ur="[0-9A-Fa-f]",hb=i(i("%[EFef]"+Ur+"%"+Ur+Ur+"%"+Ur+Ur)+"|"+i("%[89A-Fa-f]"+Ur+"%"+Ur+Ur)+"|"+i("%"+Ur+Ur)),mb="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",vb="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",gb=n(vb,'[\\"\\\\]'),yb="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",$b=new RegExp(Xv,"g"),$a=new RegExp(hb,"g"),wb=new RegExp(n("[^]",mb,"[\\.]",'[\\"]',gb),"g"),eg=new RegExp(n("[^]",Xv,yb),"g"),bb=eg;function yf(I){var P=ue(I);return P.match($b)?P:I}var tg={scheme:"mailto",parse:function(P,L){var z=P,B=z.to=z.path?z.path.split(","):[];if(z.path=void 0,z.query){for(var se=!1,le={},be=z.query.split("&"),ke=0,et=be.length;kenew RegExp(M,R);f.code="new RegExp";const m=["removeAdditional","useDefaults","coerceTypes"],v=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),$={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."},h={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},g=200;function y(M){var R,H,k,x,A,V,J,W,ue,ce,xe,mt,Vr,fn,pn,ct,Bt,Hn,Un,Bn,zo,Hr,Lt,ya,Ko;const xi=M.strict,qo=(R=M.code)===null||R===void 0?void 0:R.optimize,Kl=qo===!0||qo===void 0?1:qo||0,or=(k=(H=M.code)===null||H===void 0?void 0:H.regExp)!==null&&k!==void 0?k:f,Oi=(x=M.uriResolver)!==null&&x!==void 0?x:p.default;return{strictSchema:(V=(A=M.strictSchema)!==null&&A!==void 0?A:xi)!==null&&V!==void 0?V:!0,strictNumbers:(W=(J=M.strictNumbers)!==null&&J!==void 0?J:xi)!==null&&W!==void 0?W:!0,strictTypes:(ce=(ue=M.strictTypes)!==null&&ue!==void 0?ue:xi)!==null&&ce!==void 0?ce:"log",strictTuples:(mt=(xe=M.strictTuples)!==null&&xe!==void 0?xe:xi)!==null&&mt!==void 0?mt:"log",strictRequired:(fn=(Vr=M.strictRequired)!==null&&Vr!==void 0?Vr:xi)!==null&&fn!==void 0?fn:!1,code:M.code?{...M.code,optimize:Kl,regExp:or}:{optimize:Kl,regExp:or},loopRequired:(pn=M.loopRequired)!==null&&pn!==void 0?pn:g,loopEnum:(ct=M.loopEnum)!==null&&ct!==void 0?ct:g,meta:(Bt=M.meta)!==null&&Bt!==void 0?Bt:!0,messages:(Hn=M.messages)!==null&&Hn!==void 0?Hn:!0,inlineRefs:(Un=M.inlineRefs)!==null&&Un!==void 0?Un:!0,schemaId:(Bn=M.schemaId)!==null&&Bn!==void 0?Bn:"$id",addUsedSchema:(zo=M.addUsedSchema)!==null&&zo!==void 0?zo:!0,validateSchema:(Hr=M.validateSchema)!==null&&Hr!==void 0?Hr:!0,validateFormats:(Lt=M.validateFormats)!==null&&Lt!==void 0?Lt:!0,unicodeRegExp:(ya=M.unicodeRegExp)!==null&&ya!==void 0?ya:!0,int32range:(Ko=M.int32range)!==null&&Ko!==void 0?Ko:!0,uriResolver:Oi}}class b{constructor(R={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,R=this.opts={...R,...y(R)};const{es5:H,lines:k}=this.opts.code;this.scope=new s.ValueScope({scope:{},prefixes:v,es5:H,lines:k}),this.logger=K(R.logger);const x=R.validateFormats;R.validateFormats=!1,this.RULES=(0,a.getRules)(),O.call(this,$,R,"NOT SUPPORTED"),O.call(this,h,R,"DEPRECATED","warn"),this._metaOpts=F.call(this),R.formats&&w.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),R.keywords&&T.call(this,R.keywords),typeof R.meta=="object"&&this.addMetaSchema(R.meta),_.call(this),R.validateFormats=x}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:R,meta:H,schemaId:k}=this.opts;let x=d;k==="id"&&(x={...d},x.id=x.$id,delete x.$id),H&&R&&this.addMetaSchema(x,x[k],!1)}defaultMeta(){const{meta:R,schemaId:H}=this.opts;return this.opts.defaultMeta=typeof R=="object"?R[H]||R:void 0}validate(R,H){let k;if(typeof R=="string"){if(k=this.getSchema(R),!k)throw new Error(`no schema with key or ref "${R}"`)}else k=this.compile(R);const x=k(H);return"$async"in k||(this.errors=k.errors),x}compile(R,H){const k=this._addSchema(R,H);return k.validate||this._compileSchemaEnv(k)}compileAsync(R,H){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:k}=this.opts;return x.call(this,R,H);async function x(ce,xe){await A.call(this,ce.$schema);const mt=this._addSchema(ce,xe);return mt.validate||V.call(this,mt)}async function A(ce){ce&&!this.getSchema(ce)&&await x.call(this,{$ref:ce},!0)}async function V(ce){try{return this._compileSchemaEnv(ce)}catch(xe){if(!(xe instanceof i.default))throw xe;return J.call(this,xe),await W.call(this,xe.missingSchema),V.call(this,ce)}}function J({missingSchema:ce,missingRef:xe}){if(this.refs[ce])throw new Error(`AnySchema ${ce} is loaded but ${xe} cannot be resolved`)}async function W(ce){const xe=await ue.call(this,ce);this.refs[ce]||await A.call(this,xe.$schema),this.refs[ce]||this.addSchema(xe,ce,H)}async function ue(ce){const xe=this._loading[ce];if(xe)return xe;try{return await(this._loading[ce]=k(ce))}finally{delete this._loading[ce]}}}addSchema(R,H,k,x=this.opts.validateSchema){if(Array.isArray(R)){for(const V of R)this.addSchema(V,void 0,k,x);return this}let A;if(typeof R=="object"){const{schemaId:V}=this.opts;if(A=R[V],A!==void 0&&typeof A!="string")throw new Error(`schema ${V} must be string`)}return H=(0,l.normalizeId)(H||A),this._checkUnique(H),this.schemas[H]=this._addSchema(R,k,H,x,!0),this}addMetaSchema(R,H,k=this.opts.validateSchema){return this.addSchema(R,H,!0,k),this}validateSchema(R,H){if(typeof R=="boolean")return!0;let k;if(k=R.$schema,k!==void 0&&typeof k!="string")throw new Error("$schema must be a string");if(k=k||this.opts.defaultMeta||this.defaultMeta(),!k)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const x=this.validate(k,R);if(!x&&H){const A="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(A);else throw new Error(A)}return x}getSchema(R){let H;for(;typeof(H=S.call(this,R))=="string";)R=H;if(H===void 0){const{schemaId:k}=this.opts,x=new o.SchemaEnv({schema:{},schemaId:k});if(H=o.resolveSchema.call(this,x,R),!H)return;this.refs[R]=H}return H.validate||this._compileSchemaEnv(H)}removeSchema(R){if(R instanceof RegExp)return this._removeAllSchemas(this.schemas,R),this._removeAllSchemas(this.refs,R),this;switch(typeof R){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const H=S.call(this,R);return typeof H=="object"&&this._cache.delete(H.schema),delete this.schemas[R],delete this.refs[R],this}case"object":{const H=R;this._cache.delete(H);let k=R[this.opts.schemaId];return k&&(k=(0,l.normalizeId)(k),delete this.schemas[k],delete this.refs[k]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(R){for(const H of R)this.addKeyword(H);return this}addKeyword(R,H){let k;if(typeof R=="string")k=R,typeof H=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),H.keyword=k);else if(typeof R=="object"&&H===void 0){if(H=R,k=H.keyword,Array.isArray(k)&&!k.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(U.call(this,k,H),!H)return(0,c.eachItem)(k,A=>te.call(this,A)),this;he.call(this,H);const x={...H,type:(0,u.getJSONTypes)(H.type),schemaType:(0,u.getJSONTypes)(H.schemaType)};return(0,c.eachItem)(k,x.type.length===0?A=>te.call(this,A,x):A=>x.type.forEach(V=>te.call(this,A,x,V))),this}getKeyword(R){const H=this.RULES.all[R];return typeof H=="object"?H.definition:!!H}removeKeyword(R){const{RULES:H}=this;delete H.keywords[R],delete H.all[R];for(const k of H.rules){const x=k.rules.findIndex(A=>A.keyword===R);x>=0&&k.rules.splice(x,1)}return this}addFormat(R,H){return typeof H=="string"&&(H=new RegExp(H)),this.formats[R]=H,this}errorsText(R=this.errors,{separator:H=", ",dataVar:k="data"}={}){return!R||R.length===0?"No errors":R.map(x=>`${k}${x.instancePath} ${x.message}`).reduce((x,A)=>x+H+A)}$dataMetaSchema(R,H){const k=this.RULES.all;R=JSON.parse(JSON.stringify(R));for(const x of H){const A=x.split("/").slice(1);let V=R;for(const J of A)V=V[J];for(const J in k){const W=k[J];if(typeof W!="object")continue;const{$data:ue}=W.definition,ce=V[J];ue&&ce&&(V[J]=ee(ce))}}return R}_removeAllSchemas(R,H){for(const k in R){const x=R[k];(!H||H.test(k))&&(typeof x=="string"?delete R[k]:x&&!x.meta&&(this._cache.delete(x.schema),delete R[k]))}}_addSchema(R,H,k,x=this.opts.validateSchema,A=this.opts.addUsedSchema){let V;const{schemaId:J}=this.opts;if(typeof R=="object")V=R[J];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof R!="boolean")throw new Error("schema must be object or boolean")}let W=this._cache.get(R);if(W!==void 0)return W;k=(0,l.normalizeId)(V||k);const ue=l.getSchemaRefs.call(this,R,k);return W=new o.SchemaEnv({schema:R,schemaId:J,meta:H,baseId:k,localRefs:ue}),this._cache.set(W.schema,W),A&&!k.startsWith("#")&&(k&&this._checkUnique(k),this.refs[k]=W),x&&this.validateSchema(R,!0),W}_checkUnique(R){if(this.schemas[R]||this.refs[R])throw new Error(`schema with key or id "${R}" already exists`)}_compileSchemaEnv(R){if(R.meta?this._compileMetaSchema(R):o.compileSchema.call(this,R),!R.validate)throw new Error("ajv implementation error");return R.validate}_compileMetaSchema(R){const H=this.opts;this.opts=this._metaOpts;try{o.compileSchema.call(this,R)}finally{this.opts=H}}}e.default=b,b.ValidationError=n.default,b.MissingRefError=i.default;function O(M,R,H,k="error"){for(const x in M){const A=x;A in R&&this.logger[k](`${H}: option ${x}. ${M[A]}`)}}function S(M){return M=(0,l.normalizeId)(M),this.schemas[M]||this.refs[M]}function _(){const M=this.opts.schemas;if(M)if(Array.isArray(M))this.addSchema(M);else for(const R in M)this.addSchema(M[R],R)}function w(){for(const M in this.opts.formats){const R=this.opts.formats[M];R&&this.addFormat(M,R)}}function T(M){if(Array.isArray(M)){this.addVocabulary(M);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const R in M){const H=M[R];H.keyword||(H.keyword=R),this.addKeyword(H)}}function F(){const M={...this.opts};for(const R of m)delete M[R];return M}const N={log(){},warn(){},error(){}};function K(M){if(M===!1)return N;if(M===void 0)return console;if(M.log&&M.warn&&M.error)return M;throw new Error("logger must implement log, warn and error methods")}const D=/^[a-z_$][a-z0-9_$:-]*$/i;function U(M,R){const{RULES:H}=this;if((0,c.eachItem)(M,k=>{if(H.keywords[k])throw new Error(`Keyword ${k} is already defined`);if(!D.test(k))throw new Error(`Keyword ${k} has invalid name`)}),!!R&&R.$data&&!("code"in R||"validate"in R))throw new Error('$data keyword must have "code" or "validate" function')}function te(M,R,H){var k;const x=R==null?void 0:R.post;if(H&&x)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:A}=this;let V=x?A.post:A.rules.find(({type:W})=>W===H);if(V||(V={type:H,rules:[]},A.rules.push(V)),A.keywords[M]=!0,!R)return;const J={keyword:M,definition:{...R,type:(0,u.getJSONTypes)(R.type),schemaType:(0,u.getJSONTypes)(R.schemaType)}};R.before?ae.call(this,V,J,R.before):V.rules.push(J),A.all[M]=J,(k=R.implements)===null||k===void 0||k.forEach(W=>this.addKeyword(W))}function ae(M,R,H){const k=M.rules.findIndex(x=>x.keyword===H);k>=0?M.rules.splice(k,0,R):(M.rules.push(R),this.logger.warn(`rule ${H} is not defined`))}function he(M){let{metaSchema:R}=M;R!==void 0&&(M.$data&&this.opts.$data&&(R=ee(R)),M.validateSchema=this.compile(R,!0))}const Z={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function ee(M){return{anyOf:[M,Z]}}})(B0);var cf={},Y0={},J0={};Object.defineProperty(J0,"__esModule",{value:!0});const ote={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};J0.default=ote;var Ln={};Object.defineProperty(Ln,"__esModule",{value:!0});Ln.callRef=Ln.getValidate=void 0;const ste=Do,Z$=me,Mt=fe,_a=ar,W$=Pt,Eu=ge,lte={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:r,it:n}=e,{baseId:i,schemaEnv:a,validateName:o,opts:s,self:l}=n,{root:u}=a;if((r==="#"||r==="#/")&&i===u.baseId)return d();const c=W$.resolveRef.call(l,u,i,r);if(c===void 0)throw new ste.default(n.opts.uriResolver,i,r);if(c instanceof W$.SchemaEnv)return p(c);return f(c);function d(){if(a===u)return Yu(e,o,a,a.$async);const m=t.scopeValue("root",{ref:u});return Yu(e,(0,Mt._)`${m}.validate`,u,u.$async)}function p(m){const v=V7(e,m);Yu(e,v,m,m.$async)}function f(m){const v=t.scopeValue("schema",s.code.source===!0?{ref:m,code:(0,Mt.stringify)(m)}:{ref:m}),$=t.name("valid"),h=e.subschema({schema:m,dataTypes:[],schemaPath:Mt.nil,topSchemaRef:v,errSchemaPath:r},$);e.mergeEvaluated(h),e.ok($)}}};function V7(e,t){const{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):(0,Mt._)`${r.scopeValue("wrapper",{ref:t})}.validate`}Ln.getValidate=V7;function Yu(e,t,r,n){const{gen:i,it:a}=e,{allErrors:o,schemaEnv:s,opts:l}=a,u=l.passContext?_a.default.this:Mt.nil;n?c():d();function c(){if(!s.$async)throw new Error("async schema referenced by sync schema");const m=i.let("valid");i.try(()=>{i.code((0,Mt._)`await ${(0,Z$.callValidateCode)(e,t,u)}`),f(t),o||i.assign(m,!0)},v=>{i.if((0,Mt._)`!(${v} instanceof ${a.ValidationError})`,()=>i.throw(v)),p(v),o||i.assign(m,!1)}),e.ok(m)}function d(){e.result((0,Z$.callValidateCode)(e,t,u),()=>f(t),()=>p(t))}function p(m){const v=(0,Mt._)`${m}.errors`;i.assign(_a.default.vErrors,(0,Mt._)`${_a.default.vErrors} === null ? ${v} : ${_a.default.vErrors}.concat(${v})`),i.assign(_a.default.errors,(0,Mt._)`${_a.default.vErrors}.length`)}function f(m){var v;if(!a.opts.unevaluated)return;const $=(v=r==null?void 0:r.validate)===null||v===void 0?void 0:v.evaluated;if(a.props!==!0)if($&&!$.dynamicProps)$.props!==void 0&&(a.props=Eu.mergeEvaluated.props(i,$.props,a.props));else{const h=i.var("props",(0,Mt._)`${m}.evaluated.props`);a.props=Eu.mergeEvaluated.props(i,h,a.props,Mt.Name)}if(a.items!==!0)if($&&!$.dynamicItems)$.items!==void 0&&(a.items=Eu.mergeEvaluated.items(i,$.items,a.items));else{const h=i.var("items",(0,Mt._)`${m}.evaluated.items`);a.items=Eu.mergeEvaluated.items(i,h,a.items,Mt.Name)}}}Ln.callRef=Yu;Ln.default=lte;Object.defineProperty(Y0,"__esModule",{value:!0});const ute=J0,cte=Ln,dte=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",ute.default,cte.default];Y0.default=dte;var X0={},ev={};Object.defineProperty(ev,"__esModule",{value:!0});const Kc=fe,Wn=Kc.operators,qc={maximum:{okStr:"<=",ok:Wn.LTE,fail:Wn.GT},minimum:{okStr:">=",ok:Wn.GTE,fail:Wn.LT},exclusiveMaximum:{okStr:"<",ok:Wn.LT,fail:Wn.GTE},exclusiveMinimum:{okStr:">",ok:Wn.GT,fail:Wn.LTE}},fte={message:({keyword:e,schemaCode:t})=>(0,Kc.str)`must be ${qc[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,Kc._)`{comparison: ${qc[e].okStr}, limit: ${t}}`},pte={keyword:Object.keys(qc),type:"number",schemaType:"number",$data:!0,error:fte,code(e){const{keyword:t,data:r,schemaCode:n}=e;e.fail$data((0,Kc._)`${r} ${qc[t].fail} ${n} || isNaN(${r})`)}};ev.default=pte;var tv={};Object.defineProperty(tv,"__esModule",{value:!0});const ks=fe,hte={message:({schemaCode:e})=>(0,ks.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,ks._)`{multipleOf: ${e}}`},mte={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:hte,code(e){const{gen:t,data:r,schemaCode:n,it:i}=e,a=i.opts.multipleOfPrecision,o=t.let("res"),s=a?(0,ks._)`Math.abs(Math.round(${o}) - ${o}) > 1e-${a}`:(0,ks._)`${o} !== parseInt(${o})`;e.fail$data((0,ks._)`(${n} === 0 || (${o} = ${r}/${n}, ${s}))`)}};tv.default=mte;var rv={},nv={};Object.defineProperty(nv,"__esModule",{value:!0});function H7(e){const t=e.length;let r=0,n=0,i;for(;n=55296&&i<=56319&&n(0,Mi._)`{limit: ${e}}`},$te={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:yte,code(e){const{keyword:t,data:r,schemaCode:n,it:i}=e,a=t==="maxLength"?Mi.operators.GT:Mi.operators.LT,o=i.opts.unicode===!1?(0,Mi._)`${r}.length`:(0,Mi._)`${(0,vte.useFunc)(e.gen,gte.default)}(${r})`;e.fail$data((0,Mi._)`${o} ${a} ${n}`)}};rv.default=$te;var iv={};Object.defineProperty(iv,"__esModule",{value:!0});const wte=me,Zc=fe,bte={message:({schemaCode:e})=>(0,Zc.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,Zc._)`{pattern: ${e}}`},Ete={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:bte,code(e){const{data:t,$data:r,schema:n,schemaCode:i,it:a}=e,o=a.opts.unicodeRegExp?"u":"",s=r?(0,Zc._)`(new RegExp(${i}, ${o}))`:(0,wte.usePattern)(e,n);e.fail$data((0,Zc._)`!${s}.test(${t})`)}};iv.default=Ete;var av={};Object.defineProperty(av,"__esModule",{value:!0});const Fs=fe,Cte={message({keyword:e,schemaCode:t}){const r=e==="maxProperties"?"more":"fewer";return(0,Fs.str)`must NOT have ${r} than ${t} properties`},params:({schemaCode:e})=>(0,Fs._)`{limit: ${e}}`},Ste={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:Cte,code(e){const{keyword:t,data:r,schemaCode:n}=e,i=t==="maxProperties"?Fs.operators.GT:Fs.operators.LT;e.fail$data((0,Fs._)`Object.keys(${r}).length ${i} ${n}`)}};av.default=Ste;var ov={};Object.defineProperty(ov,"__esModule",{value:!0});const us=me,Ds=fe,_te=ge,xte={message:({params:{missingProperty:e}})=>(0,Ds.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,Ds._)`{missingProperty: ${e}}`},Ote={keyword:"required",type:"object",schemaType:"array",$data:!0,error:xte,code(e){const{gen:t,schema:r,schemaCode:n,data:i,$data:a,it:o}=e,{opts:s}=o;if(!a&&r.length===0)return;const l=r.length>=s.loopRequired;if(o.allErrors?u():c(),s.strictRequired){const f=e.parentSchema.properties,{definedProperties:m}=e.it;for(const v of r)if((f==null?void 0:f[v])===void 0&&!m.has(v)){const $=o.schemaEnv.baseId+o.errSchemaPath,h=`required property "${v}" is not defined at "${$}" (strictRequired)`;(0,_te.checkStrictMode)(o,h,o.opts.strictRequired)}}function u(){if(l||a)e.block$data(Ds.nil,d);else for(const f of r)(0,us.checkReportMissingProp)(e,f)}function c(){const f=t.let("missing");if(l||a){const m=t.let("valid",!0);e.block$data(m,()=>p(f,m)),e.ok(m)}else t.if((0,us.checkMissingProp)(e,r,f)),(0,us.reportMissingProp)(e,f),t.else()}function d(){t.forOf("prop",n,f=>{e.setParams({missingProperty:f}),t.if((0,us.noPropertyInData)(t,i,f,s.ownProperties),()=>e.error())})}function p(f,m){e.setParams({missingProperty:f}),t.forOf(f,n,()=>{t.assign(m,(0,us.propertyInData)(t,i,f,s.ownProperties)),t.if((0,Ds.not)(m),()=>{e.error(),t.break()})},Ds.nil)}}};ov.default=Ote;var sv={};Object.defineProperty(sv,"__esModule",{value:!0});const Vs=fe,Pte={message({keyword:e,schemaCode:t}){const r=e==="maxItems"?"more":"fewer";return(0,Vs.str)`must NOT have ${r} than ${t} items`},params:({schemaCode:e})=>(0,Vs._)`{limit: ${e}}`},Tte={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:Pte,code(e){const{keyword:t,data:r,schemaCode:n}=e,i=t==="maxItems"?Vs.operators.GT:Vs.operators.LT;e.fail$data((0,Vs._)`${r}.length ${i} ${n}`)}};sv.default=Tte;var lv={},Vl={};Object.defineProperty(Vl,"__esModule",{value:!0});const U7=E7;U7.code='require("ajv/dist/runtime/equal").default';Vl.default=U7;Object.defineProperty(lv,"__esModule",{value:!0});const $1=Dl,vt=fe,Ate=ge,Rte=Vl,jte={message:({params:{i:e,j:t}})=>(0,vt.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>(0,vt._)`{i: ${e}, j: ${t}}`},Ite={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:jte,code(e){const{gen:t,data:r,$data:n,schema:i,parentSchema:a,schemaCode:o,it:s}=e;if(!n&&!i)return;const l=t.let("valid"),u=a.items?(0,$1.getSchemaTypes)(a.items):[];e.block$data(l,c,(0,vt._)`${o} === false`),e.ok(l);function c(){const m=t.let("i",(0,vt._)`${r}.length`),v=t.let("j");e.setParams({i:m,j:v}),t.assign(l,!0),t.if((0,vt._)`${m} > 1`,()=>(d()?p:f)(m,v))}function d(){return u.length>0&&!u.some(m=>m==="object"||m==="array")}function p(m,v){const $=t.name("item"),h=(0,$1.checkDataTypes)(u,$,s.opts.strictNumbers,$1.DataType.Wrong),g=t.const("indices",(0,vt._)`{}`);t.for((0,vt._)`;${m}--;`,()=>{t.let($,(0,vt._)`${r}[${m}]`),t.if(h,(0,vt._)`continue`),u.length>1&&t.if((0,vt._)`typeof ${$} == "string"`,(0,vt._)`${$} += "_"`),t.if((0,vt._)`typeof ${g}[${$}] == "number"`,()=>{t.assign(v,(0,vt._)`${g}[${$}]`),e.error(),t.assign(l,!1).break()}).code((0,vt._)`${g}[${$}] = ${m}`)})}function f(m,v){const $=(0,Ate.useFunc)(t,Rte.default),h=t.name("outer");t.label(h).for((0,vt._)`;${m}--;`,()=>t.for((0,vt._)`${v} = ${m}; ${v}--;`,()=>t.if((0,vt._)`${$}(${r}[${m}], ${r}[${v}])`,()=>{e.error(),t.assign(l,!1).break(h)})))}}};lv.default=Ite;var uv={};Object.defineProperty(uv,"__esModule",{value:!0});const sh=fe,Lte=ge,Nte=Vl,Mte={message:"must be equal to constant",params:({schemaCode:e})=>(0,sh._)`{allowedValue: ${e}}`},kte={keyword:"const",$data:!0,error:Mte,code(e){const{gen:t,data:r,$data:n,schemaCode:i,schema:a}=e;n||a&&typeof a=="object"?e.fail$data((0,sh._)`!${(0,Lte.useFunc)(t,Nte.default)}(${r}, ${i})`):e.fail((0,sh._)`${a} !== ${r}`)}};uv.default=kte;var cv={};Object.defineProperty(cv,"__esModule",{value:!0});const ws=fe,Fte=ge,Dte=Vl,Vte={message:"must be equal to one of the allowed values",params:({schemaCode:e})=>(0,ws._)`{allowedValues: ${e}}`},Hte={keyword:"enum",schemaType:"array",$data:!0,error:Vte,code(e){const{gen:t,data:r,$data:n,schema:i,schemaCode:a,it:o}=e;if(!n&&i.length===0)throw new Error("enum must have non-empty array");const s=i.length>=o.opts.loopEnum;let l;const u=()=>l??(l=(0,Fte.useFunc)(t,Dte.default));let c;if(s||n)c=t.let("valid"),e.block$data(c,d);else{if(!Array.isArray(i))throw new Error("ajv implementation error");const f=t.const("vSchema",a);c=(0,ws.or)(...i.map((m,v)=>p(f,v)))}e.pass(c);function d(){t.assign(c,!1),t.forOf("v",a,f=>t.if((0,ws._)`${u()}(${r}, ${f})`,()=>t.assign(c,!0).break()))}function p(f,m){const v=i[m];return typeof v=="object"&&v!==null?(0,ws._)`${u()}(${r}, ${f}[${m}])`:(0,ws._)`${r} === ${v}`}}};cv.default=Hte;Object.defineProperty(X0,"__esModule",{value:!0});const Ute=ev,Bte=tv,zte=rv,Kte=iv,qte=av,Zte=ov,Wte=sv,Gte=lv,Qte=uv,Yte=cv,Jte=[Ute.default,Bte.default,zte.default,Kte.default,qte.default,Zte.default,Wte.default,Gte.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},Qte.default,Yte.default];X0.default=Jte;var dv={},Vo={};Object.defineProperty(Vo,"__esModule",{value:!0});Vo.validateAdditionalItems=void 0;const ki=fe,lh=ge,Xte={message:({params:{len:e}})=>(0,ki.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,ki._)`{limit: ${e}}`},ere={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:Xte,code(e){const{parentSchema:t,it:r}=e,{items:n}=t;if(!Array.isArray(n)){(0,lh.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas');return}B7(e,n)}};function B7(e,t){const{gen:r,schema:n,data:i,keyword:a,it:o}=e;o.items=!0;const s=r.const("len",(0,ki._)`${i}.length`);if(n===!1)e.setParams({len:t.length}),e.pass((0,ki._)`${s} <= ${t.length}`);else if(typeof n=="object"&&!(0,lh.alwaysValidSchema)(o,n)){const u=r.var("valid",(0,ki._)`${s} <= ${t.length}`);r.if((0,ki.not)(u),()=>l(u)),e.ok(u)}function l(u){r.forRange("i",t.length,s,c=>{e.subschema({keyword:a,dataProp:c,dataPropType:lh.Type.Num},u),o.allErrors||r.if((0,ki.not)(u),()=>r.break())})}}Vo.validateAdditionalItems=B7;Vo.default=ere;var fv={},Ho={};Object.defineProperty(Ho,"__esModule",{value:!0});Ho.validateTuple=void 0;const G$=fe,Ju=ge,tre=me,rre={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:r}=e;if(Array.isArray(t))return z7(e,"additionalItems",t);r.items=!0,!(0,Ju.alwaysValidSchema)(r,t)&&e.ok((0,tre.validateArray)(e))}};function z7(e,t,r=e.schema){const{gen:n,parentSchema:i,data:a,keyword:o,it:s}=e;c(i),s.opts.unevaluated&&r.length&&s.items!==!0&&(s.items=Ju.mergeEvaluated.items(n,r.length,s.items));const l=n.name("valid"),u=n.const("len",(0,G$._)`${a}.length`);r.forEach((d,p)=>{(0,Ju.alwaysValidSchema)(s,d)||(n.if((0,G$._)`${u} > ${p}`,()=>e.subschema({keyword:o,schemaProp:p,dataProp:p},l)),e.ok(l))});function c(d){const{opts:p,errSchemaPath:f}=s,m=r.length,v=m===d.minItems&&(m===d.maxItems||d[t]===!1);if(p.strictTuples&&!v){const $=`"${o}" is ${m}-tuple, but minItems or maxItems/${t} are not specified or different at path "${f}"`;(0,Ju.checkStrictMode)(s,$,p.strictTuples)}}}Ho.validateTuple=z7;Ho.default=rre;Object.defineProperty(fv,"__esModule",{value:!0});const nre=Ho,ire={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,nre.validateTuple)(e,"items")};fv.default=ire;var pv={};Object.defineProperty(pv,"__esModule",{value:!0});const Q$=fe,are=ge,ore=me,sre=Vo,lre={message:({params:{len:e}})=>(0,Q$.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,Q$._)`{limit: ${e}}`},ure={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:lre,code(e){const{schema:t,parentSchema:r,it:n}=e,{prefixItems:i}=r;n.items=!0,!(0,are.alwaysValidSchema)(n,t)&&(i?(0,sre.validateAdditionalItems)(e,i):e.ok((0,ore.validateArray)(e)))}};pv.default=ure;var hv={};Object.defineProperty(hv,"__esModule",{value:!0});const ur=fe,Cu=ge,cre={message:({params:{min:e,max:t}})=>t===void 0?(0,ur.str)`must contain at least ${e} valid item(s)`:(0,ur.str)`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>t===void 0?(0,ur._)`{minContains: ${e}}`:(0,ur._)`{minContains: ${e}, maxContains: ${t}}`},dre={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:cre,code(e){const{gen:t,schema:r,parentSchema:n,data:i,it:a}=e;let o,s;const{minContains:l,maxContains:u}=n;a.opts.next?(o=l===void 0?1:l,s=u):o=1;const c=t.const("len",(0,ur._)`${i}.length`);if(e.setParams({min:o,max:s}),s===void 0&&o===0){(0,Cu.checkStrictMode)(a,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(s!==void 0&&o>s){(0,Cu.checkStrictMode)(a,'"minContains" > "maxContains" is always invalid'),e.fail();return}if((0,Cu.alwaysValidSchema)(a,r)){let v=(0,ur._)`${c} >= ${o}`;s!==void 0&&(v=(0,ur._)`${v} && ${c} <= ${s}`),e.pass(v);return}a.items=!0;const d=t.name("valid");s===void 0&&o===1?f(d,()=>t.if(d,()=>t.break())):o===0?(t.let(d,!0),s!==void 0&&t.if((0,ur._)`${i}.length > 0`,p)):(t.let(d,!1),p()),e.result(d,()=>e.reset());function p(){const v=t.name("_valid"),$=t.let("count",0);f(v,()=>t.if(v,()=>m($)))}function f(v,$){t.forRange("i",0,c,h=>{e.subschema({keyword:"contains",dataProp:h,dataPropType:Cu.Type.Num,compositeRule:!0},v),$()})}function m(v){t.code((0,ur._)`${v}++`),s===void 0?t.if((0,ur._)`${v} >= ${o}`,()=>t.assign(d,!0).break()):(t.if((0,ur._)`${v} > ${s}`,()=>t.assign(d,!1).break()),o===1?t.assign(d,!0):t.if((0,ur._)`${v} >= ${o}`,()=>t.assign(d,!0)))}}};hv.default=dre;var df={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=fe,r=ge,n=me;e.error={message:({params:{property:l,depsCount:u,deps:c}})=>{const d=u===1?"property":"properties";return(0,t.str)`must have ${d} ${c} when property ${l} is present`},params:({params:{property:l,depsCount:u,deps:c,missingProperty:d}})=>(0,t._)`{property: ${l}, + || ${T} === "boolean" || ${_} === null`).assign(F,(0,i._)`[${_}]`)}}}function f({gen:y,parentData:b,parentDataProperty:O},S){y.if((0,i._)`${b} !== undefined`,()=>y.assign((0,i._)`${b}[${O}]`,S))}function m(y,b,O,S=o.Correct){const _=S===o.Correct?i.operators.EQ:i.operators.NEQ;let w;switch(y){case"null":return(0,i._)`${b} ${_} null`;case"array":w=(0,i._)`Array.isArray(${b})`;break;case"object":w=(0,i._)`${b} && typeof ${b} == "object" && !Array.isArray(${b})`;break;case"integer":w=T((0,i._)`!(${b} % 1) && !isNaN(${b})`);break;case"number":w=T();break;default:return(0,i._)`typeof ${b} ${_} ${y}`}return S===o.Correct?w:(0,i.not)(w);function T(F=i.nil){return(0,i.and)((0,i._)`typeof ${b} == "number"`,F,O?(0,i._)`isFinite(${b})`:i.nil)}}e.checkDataType=m;function v(y,b,O,S){if(y.length===1)return m(y[0],b,O,S);let _;const w=(0,a.toHash)(y);if(w.array&&w.object){const T=(0,i._)`typeof ${b} != "object"`;_=w.null?T:(0,i._)`!${b} || ${T}`,delete w.null,delete w.array,delete w.object}else _=i.nil;w.number&&delete w.integer;for(const T in w)_=(0,i.and)(_,m(T,b,O,S));return _}e.checkDataTypes=v;const $={message:({schema:y})=>`must be ${y}`,params:({schema:y,schemaValue:b})=>typeof y=="string"?(0,i._)`{type: ${y}}`:(0,i._)`{type: ${b}}`};function h(y){const b=g(y);(0,n.reportError)(b,$)}e.reportTypeError=h;function g(y){const{gen:b,data:O,schema:S}=y,_=(0,a.schemaRefOrVal)(y,S,"type");return{gen:b,keyword:"type",data:O,schema:S.type,schemaCode:_,schemaValue:_,parentSchema:S,params:{},it:y}}})(Dl);var sf={};Object.defineProperty(sf,"__esModule",{value:!0});sf.assignDefaults=void 0;const Sa=fe,FX=ge;function DX(e,t){const{properties:r,items:n}=e.schema;if(t==="object"&&r)for(const i in r)V$(e,i,r[i].default);else t==="array"&&Array.isArray(n)&&n.forEach((i,a)=>V$(e,a,i.default))}sf.assignDefaults=DX;function V$(e,t,r){const{gen:n,compositeRule:i,data:a,opts:o}=e;if(r===void 0)return;const s=(0,Sa._)`${a}${(0,Sa.getProperty)(t)}`;if(i){(0,FX.checkStrictMode)(e,`default is ignored for: ${s}`);return}let l=(0,Sa._)`${s} === undefined`;o.useDefaults==="empty"&&(l=(0,Sa._)`${l} || ${s} === null || ${s} === ""`),n.if(l,(0,Sa._)`${s} = ${(0,Sa.stringify)(r)}`)}var Xr={},me={};Object.defineProperty(me,"__esModule",{value:!0});me.validateUnion=me.validateArray=me.usePattern=me.callValidateCode=me.schemaProperties=me.allSchemaProperties=me.noPropertyInData=me.propertyInData=me.isOwnProperty=me.hasPropFunc=me.reportMissingProp=me.checkMissingProp=me.checkReportMissingProp=void 0;const He=fe,z0=ge,Zn=ar,VX=ge;function HX(e,t){const{gen:r,data:n,it:i}=e;r.if(q0(r,n,t,i.opts.ownProperties),()=>{e.setParams({missingProperty:(0,He._)`${t}`},!0),e.error()})}me.checkReportMissingProp=HX;function UX({gen:e,data:t,it:{opts:r}},n,i){return(0,He.or)(...n.map(a=>(0,He.and)(q0(e,t,a,r.ownProperties),(0,He._)`${i} = ${a}`)))}me.checkMissingProp=UX;function BX(e,t){e.setParams({missingProperty:t},!0),e.error()}me.reportMissingProp=BX;function y7(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,He._)`Object.prototype.hasOwnProperty`})}me.hasPropFunc=y7;function K0(e,t,r){return(0,He._)`${y7(e)}.call(${t}, ${r})`}me.isOwnProperty=K0;function zX(e,t,r,n){const i=(0,He._)`${t}${(0,He.getProperty)(r)} !== undefined`;return n?(0,He._)`${i} && ${K0(e,t,r)}`:i}me.propertyInData=zX;function q0(e,t,r,n){const i=(0,He._)`${t}${(0,He.getProperty)(r)} === undefined`;return n?(0,He.or)(i,(0,He.not)(K0(e,t,r))):i}me.noPropertyInData=q0;function $7(e){return e?Object.keys(e).filter(t=>t!=="__proto__"):[]}me.allSchemaProperties=$7;function KX(e,t){return $7(t).filter(r=>!(0,z0.alwaysValidSchema)(e,t[r]))}me.schemaProperties=KX;function qX({schemaCode:e,data:t,it:{gen:r,topSchemaRef:n,schemaPath:i,errorPath:a},it:o},s,l,u){const c=u?(0,He._)`${e}, ${t}, ${n}${i}`:t,d=[[Zn.default.instancePath,(0,He.strConcat)(Zn.default.instancePath,a)],[Zn.default.parentData,o.parentData],[Zn.default.parentDataProperty,o.parentDataProperty],[Zn.default.rootData,Zn.default.rootData]];o.opts.dynamicRef&&d.push([Zn.default.dynamicAnchors,Zn.default.dynamicAnchors]);const p=(0,He._)`${c}, ${r.object(...d)}`;return l!==He.nil?(0,He._)`${s}.call(${l}, ${p})`:(0,He._)`${s}(${p})`}me.callValidateCode=qX;const ZX=(0,He._)`new RegExp`;function WX({gen:e,it:{opts:t}},r){const n=t.unicodeRegExp?"u":"",{regExp:i}=t.code,a=i(r,n);return e.scopeValue("pattern",{key:a.toString(),ref:a,code:(0,He._)`${i.code==="new RegExp"?ZX:(0,VX.useFunc)(e,i)}(${r}, ${n})`})}me.usePattern=WX;function GX(e){const{gen:t,data:r,keyword:n,it:i}=e,a=t.name("valid");if(i.allErrors){const s=t.let("valid",!0);return o(()=>t.assign(s,!1)),s}return t.var(a,!0),o(()=>t.break()),a;function o(s){const l=t.const("len",(0,He._)`${r}.length`);t.forRange("i",0,l,u=>{e.subschema({keyword:n,dataProp:u,dataPropType:z0.Type.Num},a),t.if((0,He.not)(a),s)})}}me.validateArray=GX;function QX(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,z0.alwaysValidSchema)(i,l))&&!i.opts.unevaluated)return;const o=t.let("valid",!1),s=t.name("_valid");t.block(()=>r.forEach((l,u)=>{const c=e.subschema({keyword:n,schemaProp:u,compositeRule:!0},s);t.assign(o,(0,He._)`${o} || ${s}`),e.mergeValidEvaluated(c,s)||t.if((0,He.not)(o))})),e.result(o,()=>e.reset(),()=>e.error(!0))}me.validateUnion=QX;Object.defineProperty(Xr,"__esModule",{value:!0});Xr.validateKeywordUsage=Xr.validSchemaType=Xr.funcKeywordCode=Xr.macroKeywordCode=void 0;const Ot=fe,Ni=ar,YX=me,JX=Fl;function XX(e,t){const{gen:r,keyword:n,schema:i,parentSchema:a,it:o}=e,s=t.macro.call(o.self,i,a,o),l=w7(r,n,s);o.opts.validateSchema!==!1&&o.self.validateSchema(s,!0);const u=r.name("valid");e.subschema({schema:s,schemaPath:Ot.nil,errSchemaPath:`${o.errSchemaPath}/${n}`,topSchemaRef:l,compositeRule:!0},u),e.pass(u,()=>e.error(!0))}Xr.macroKeywordCode=XX;function eee(e,t){var r;const{gen:n,keyword:i,schema:a,parentSchema:o,$data:s,it:l}=e;ree(l,t);const u=!s&&t.compile?t.compile.call(l.self,a,o,l):t.validate,c=w7(n,i,u),d=n.let("valid");e.block$data(d,p),e.ok((r=t.valid)!==null&&r!==void 0?r:d);function p(){if(t.errors===!1)v(),t.modifying&&H$(e),$(()=>e.error());else{const h=t.async?f():m();t.modifying&&H$(e),$(()=>tee(e,h))}}function f(){const h=n.let("ruleErrs",null);return n.try(()=>v((0,Ot._)`await `),g=>n.assign(d,!1).if((0,Ot._)`${g} instanceof ${l.ValidationError}`,()=>n.assign(h,(0,Ot._)`${g}.errors`),()=>n.throw(g))),h}function m(){const h=(0,Ot._)`${c}.errors`;return n.assign(h,null),v(Ot.nil),h}function v(h=t.async?(0,Ot._)`await `:Ot.nil){const g=l.opts.passContext?Ni.default.this:Ni.default.self,y=!("compile"in t&&!s||t.schema===!1);n.assign(d,(0,Ot._)`${h}${(0,YX.callValidateCode)(e,c,g,y)}`,t.modifying)}function $(h){var g;n.if((0,Ot.not)((g=t.valid)!==null&&g!==void 0?g:d),h)}}Xr.funcKeywordCode=eee;function H$(e){const{gen:t,data:r,it:n}=e;t.if(n.parentData,()=>t.assign(r,(0,Ot._)`${n.parentData}[${n.parentDataProperty}]`))}function tee(e,t){const{gen:r}=e;r.if((0,Ot._)`Array.isArray(${t})`,()=>{r.assign(Ni.default.vErrors,(0,Ot._)`${Ni.default.vErrors} === null ? ${t} : ${Ni.default.vErrors}.concat(${t})`).assign(Ni.default.errors,(0,Ot._)`${Ni.default.vErrors}.length`),(0,JX.extendErrors)(e)},()=>e.error())}function ree({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}function w7(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,Ot.stringify)(r)})}function nee(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")}Xr.validSchemaType=nee;function iee({schema:e,opts:t,self:r,errSchemaPath:n},i,a){if(Array.isArray(i.keyword)?!i.keyword.includes(a):i.keyword!==a)throw new Error("ajv implementation error");const o=i.dependencies;if(o!=null&&o.some(s=>!Object.prototype.hasOwnProperty.call(e,s)))throw new Error(`parent schema must have dependencies of ${a}: ${o.join(",")}`);if(i.validateSchema&&!i.validateSchema(e[a])){const l=`keyword "${a}" value is invalid at path "${n}": `+r.errorsText(i.validateSchema.errors);if(t.validateSchema==="log")r.logger.error(l);else throw new Error(l)}}Xr.validateKeywordUsage=iee;var gi={};Object.defineProperty(gi,"__esModule",{value:!0});gi.extendSubschemaMode=gi.extendSubschemaData=gi.getSubschema=void 0;const Gr=fe,b7=ge;function aee(e,{keyword:t,schemaProp:r,schema:n,schemaPath:i,errSchemaPath:a,topSchemaRef:o}){if(t!==void 0&&n!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(t!==void 0){const s=e.schema[t];return r===void 0?{schema:s,schemaPath:(0,Gr._)`${e.schemaPath}${(0,Gr.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:s[r],schemaPath:(0,Gr._)`${e.schemaPath}${(0,Gr.getProperty)(t)}${(0,Gr.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,b7.escapeFragment)(r)}`}}if(n!==void 0){if(i===void 0||a===void 0||o===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:n,schemaPath:i,topSchemaRef:o,errSchemaPath:a}}throw new Error('either "keyword" or "schema" must be passed')}gi.getSubschema=aee;function oee(e,t,{dataProp:r,dataPropType:n,data:i,dataTypes:a,propertyName:o}){if(i!==void 0&&r!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:s}=t;if(r!==void 0){const{errorPath:u,dataPathArr:c,opts:d}=t,p=s.let("data",(0,Gr._)`${t.data}${(0,Gr.getProperty)(r)}`,!0);l(p),e.errorPath=(0,Gr.str)`${u}${(0,b7.getErrorPath)(r,n,d.jsPropertySyntax)}`,e.parentDataProperty=(0,Gr._)`${r}`,e.dataPathArr=[...c,e.parentDataProperty]}if(i!==void 0){const u=i instanceof Gr.Name?i:s.let("data",i,!0);l(u),o!==void 0&&(e.propertyName=o)}a&&(e.dataTypes=a);function l(u){e.data=u,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,u]}}gi.extendSubschemaData=oee;function see(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:n,createErrors:i,allErrors:a}){n!==void 0&&(e.compositeRule=n),i!==void 0&&(e.createErrors=i),a!==void 0&&(e.allErrors=a),e.jtdDiscriminator=t,e.jtdMetadata=r}gi.extendSubschemaMode=see;var yt={},E7=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,a;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(a=Object.keys(t),n=a.length,n!==Object.keys(r).length)return!1;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(r,a[i]))return!1;for(i=n;i--!==0;){var o=a[i];if(!e(t[o],r[o]))return!1}return!0}return t!==t&&r!==r},C7={exports:{}},li=C7.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(){};Qu(t,n,i,e,"",e)};li.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};li.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};li.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};li.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 Qu(e,t,r,n,i,a,o,s,l,u){if(n&&typeof n=="object"&&!Array.isArray(n)){t(n,i,a,o,s,l,u);for(var c in n){var d=n[c];if(Array.isArray(d)){if(c in li.arrayKeywords)for(var p=0;pt+=S7(n)),t===1/0))return 1/0}return t}function _7(e,t="",r){r!==!1&&(t=Xa(t));const n=e.parse(t);return x7(e,n)}yt.getFullPath=_7;function x7(e,t){return e.serialize(t).split("#")[0]+"#"}yt._getFullPath=x7;const vee=/#\/?$/;function Xa(e){return e?e.replace(vee,""):""}yt.normalizeId=Xa;function gee(e,t,r){return r=Xa(r),e.resolve(t,r)}yt.resolveUrl=gee;const yee=/^[a-z_][-a-z0-9._]*$/i;function $ee(e,t){if(typeof e=="boolean")return{};const{schemaId:r,uriResolver:n}=this.opts,i=Xa(e[r]||t),a={"":i},o=_7(n,i,!1),s={},l=new Set;return fee(e,{allKeys:!0},(d,p,f,m)=>{if(m===void 0)return;const v=o+p;let $=a[m];typeof d[r]=="string"&&($=h.call(this,d[r])),g.call(this,d.$anchor),g.call(this,d.$dynamicAnchor),a[p]=$;function h(y){const b=this.opts.uriResolver.resolve;if(y=Xa($?b($,y):y),l.has(y))throw c(y);l.add(y);let O=this.refs[y];return typeof O=="string"&&(O=this.refs[O]),typeof O=="object"?u(d,O.schema,y):y!==Xa(v)&&(y[0]==="#"?(u(d,s[y],y),s[y]=d):this.refs[y]=v),y}function g(y){if(typeof y=="string"){if(!yee.test(y))throw new Error(`invalid anchor "${y}"`);h.call(this,`#${y}`)}}}),s;function u(d,p,f){if(p!==void 0&&!dee(d,p))throw c(f)}function c(d){return new Error(`reference "${d}" resolves to more than one schema`)}}yt.getSchemaRefs=$ee;Object.defineProperty(wr,"__esModule",{value:!0});wr.getData=wr.KeywordCxt=wr.validateFunctionCode=void 0;const O7=mo,U$=Dl,Z0=Pn,zc=Dl,wee=sf,Ms=Xr,v1=gi,ie=fe,de=ar,bee=yt,Tn=ge,ls=Fl;function Eee(e){if(A7(e)&&(R7(e),T7(e))){_ee(e);return}P7(e,()=>(0,O7.topBoolOrEmptySchema)(e))}wr.validateFunctionCode=Eee;function P7({gen:e,validateName:t,schema:r,schemaEnv:n,opts:i},a){i.code.es5?e.func(t,(0,ie._)`${de.default.data}, ${de.default.valCxt}`,n.$async,()=>{e.code((0,ie._)`"use strict"; ${B$(r,i)}`),See(e,i),e.code(a)}):e.func(t,(0,ie._)`${de.default.data}, ${Cee(i)}`,n.$async,()=>e.code(B$(r,i)).code(a))}function Cee(e){return(0,ie._)`{${de.default.instancePath}="", ${de.default.parentData}, ${de.default.parentDataProperty}, ${de.default.rootData}=${de.default.data}${e.dynamicRef?(0,ie._)`, ${de.default.dynamicAnchors}={}`:ie.nil}}={}`}function See(e,t){e.if(de.default.valCxt,()=>{e.var(de.default.instancePath,(0,ie._)`${de.default.valCxt}.${de.default.instancePath}`),e.var(de.default.parentData,(0,ie._)`${de.default.valCxt}.${de.default.parentData}`),e.var(de.default.parentDataProperty,(0,ie._)`${de.default.valCxt}.${de.default.parentDataProperty}`),e.var(de.default.rootData,(0,ie._)`${de.default.valCxt}.${de.default.rootData}`),t.dynamicRef&&e.var(de.default.dynamicAnchors,(0,ie._)`${de.default.valCxt}.${de.default.dynamicAnchors}`)},()=>{e.var(de.default.instancePath,(0,ie._)`""`),e.var(de.default.parentData,(0,ie._)`undefined`),e.var(de.default.parentDataProperty,(0,ie._)`undefined`),e.var(de.default.rootData,de.default.data),t.dynamicRef&&e.var(de.default.dynamicAnchors,(0,ie._)`{}`)})}function _ee(e){const{schema:t,opts:r,gen:n}=e;P7(e,()=>{r.$comment&&t.$comment&&I7(e),Aee(e),n.let(de.default.vErrors,null),n.let(de.default.errors,0),r.unevaluated&&xee(e),j7(e),Iee(e)})}function xee(e){const{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",(0,ie._)`${r}.evaluated`),t.if((0,ie._)`${e.evaluated}.dynamicProps`,()=>t.assign((0,ie._)`${e.evaluated}.props`,(0,ie._)`undefined`)),t.if((0,ie._)`${e.evaluated}.dynamicItems`,()=>t.assign((0,ie._)`${e.evaluated}.items`,(0,ie._)`undefined`))}function B$(e,t){const r=typeof e=="object"&&e[t.schemaId];return r&&(t.code.source||t.code.process)?(0,ie._)`/*# sourceURL=${r} */`:ie.nil}function Oee(e,t){if(A7(e)&&(R7(e),T7(e))){Pee(e,t);return}(0,O7.boolOrEmptySchema)(e,t)}function T7({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 A7(e){return typeof e.schema!="boolean"}function Pee(e,t){const{schema:r,gen:n,opts:i}=e;i.$comment&&r.$comment&&I7(e),Ree(e),jee(e);const a=n.const("_errs",de.default.errors);j7(e,a),n.var(t,(0,ie._)`${a} === ${de.default.errors}`)}function R7(e){(0,Tn.checkUnknownRules)(e),Tee(e)}function j7(e,t){if(e.opts.jtd)return z$(e,[],!1,t);const r=(0,U$.getSchemaTypes)(e.schema),n=(0,U$.coerceAndCheckDataType)(e,r);z$(e,r,!n,t)}function Tee(e){const{schema:t,errSchemaPath:r,opts:n,self:i}=e;t.$ref&&n.ignoreKeywordsWithRef&&(0,Tn.schemaHasRulesButRef)(t,i.RULES)&&i.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}function Aee(e){const{schema:t,opts:r}=e;t.default!==void 0&&r.useDefaults&&r.strictSchema&&(0,Tn.checkStrictMode)(e,"default is ignored in the schema root")}function Ree(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,bee.resolveUrl)(e.opts.uriResolver,e.baseId,t))}function jee(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}function I7({gen:e,schemaEnv:t,schema:r,errSchemaPath:n,opts:i}){const a=r.$comment;if(i.$comment===!0)e.code((0,ie._)`${de.default.self}.logger.log(${a})`);else if(typeof i.$comment=="function"){const o=(0,ie.str)`${n}/$comment`,s=e.scopeValue("root",{ref:t.root});e.code((0,ie._)`${de.default.self}.opts.$comment(${a}, ${o}, ${s}.schema)`)}}function Iee(e){const{gen:t,schemaEnv:r,validateName:n,ValidationError:i,opts:a}=e;r.$async?t.if((0,ie._)`${de.default.errors} === 0`,()=>t.return(de.default.data),()=>t.throw((0,ie._)`new ${i}(${de.default.vErrors})`)):(t.assign((0,ie._)`${n}.errors`,de.default.vErrors),a.unevaluated&&Lee(e),t.return((0,ie._)`${de.default.errors} === 0`))}function Lee({gen:e,evaluated:t,props:r,items:n}){r instanceof ie.Name&&e.assign((0,ie._)`${t}.props`,r),n instanceof ie.Name&&e.assign((0,ie._)`${t}.items`,n)}function z$(e,t,r,n){const{gen:i,schema:a,data:o,allErrors:s,opts:l,self:u}=e,{RULES:c}=u;if(a.$ref&&(l.ignoreKeywordsWithRef||!(0,Tn.schemaHasRulesButRef)(a,c))){i.block(()=>M7(e,"$ref",c.all.$ref.definition));return}l.jtd||Nee(e,t),i.block(()=>{for(const p of c.rules)d(p);d(c.post)});function d(p){(0,Z0.shouldUseGroup)(a,p)&&(p.type?(i.if((0,zc.checkDataType)(p.type,o,l.strictNumbers)),K$(e,p),t.length===1&&t[0]===p.type&&r&&(i.else(),(0,zc.reportTypeError)(e)),i.endIf()):K$(e,p),s||i.if((0,ie._)`${de.default.errors} === ${n||0}`))}}function K$(e,t){const{gen:r,schema:n,opts:{useDefaults:i}}=e;i&&(0,wee.assignDefaults)(e,t.type),r.block(()=>{for(const a of t.rules)(0,Z0.shouldUseRule)(n,a)&&M7(e,a.keyword,a.definition,t.type)})}function Nee(e,t){e.schemaEnv.meta||!e.opts.strictTypes||(Mee(e,t),e.opts.allowUnionTypes||kee(e,t),Fee(e,e.dataTypes))}function Mee(e,t){if(t.length){if(!e.dataTypes.length){e.dataTypes=t;return}t.forEach(r=>{L7(e.dataTypes,r)||W0(e,`type "${r}" not allowed by context "${e.dataTypes.join(",")}"`)}),Vee(e,t)}}function kee(e,t){t.length>1&&!(t.length===2&&t.includes("null"))&&W0(e,"use allowUnionTypes to allow union type keyword")}function Fee(e,t){const r=e.self.RULES.all;for(const n in r){const i=r[n];if(typeof i=="object"&&(0,Z0.shouldUseRule)(e.schema,i)){const{type:a}=i.definition;a.length&&!a.some(o=>Dee(t,o))&&W0(e,`missing type "${a.join(",")}" for keyword "${n}"`)}}}function Dee(e,t){return e.includes(t)||t==="number"&&e.includes("integer")}function L7(e,t){return e.includes(t)||t==="integer"&&e.includes("number")}function Vee(e,t){const r=[];for(const n of e.dataTypes)L7(t,n)?r.push(n):t.includes("integer")&&n==="number"&&r.push("integer");e.dataTypes=r}function W0(e,t){const r=e.schemaEnv.baseId+e.errSchemaPath;t+=` at "${r}" (strictTypes)`,(0,Tn.checkStrictMode)(e,t,e.opts.strictTypes)}class N7{constructor(t,r,n){if((0,Ms.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,Tn.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",k7(this.$data,t));else if(this.schemaCode=this.schemaValue,!(0,Ms.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",de.default.errors))}result(t,r,n){this.failResult((0,ie.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,ie.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,ie._)`${r} !== undefined && (${(0,ie.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?ls.reportExtraError:ls.reportError)(this,this.def.error,r)}$dataError(){(0,ls.reportError)(this,this.def.$dataError||ls.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,ls.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=ie.nil){this.gen.block(()=>{this.check$data(t,n),r()})}check$data(t=ie.nil,r=ie.nil){if(!this.$data)return;const{gen:n,schemaCode:i,schemaType:a,def:o}=this;n.if((0,ie.or)((0,ie._)`${i} === undefined`,r)),t!==ie.nil&&n.assign(t,!0),(a.length||o.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),t!==ie.nil&&n.assign(t,!1)),n.else()}invalid$data(){const{gen:t,schemaCode:r,schemaType:n,def:i,it:a}=this;return(0,ie.or)(o(),s());function o(){if(n.length){if(!(r instanceof ie.Name))throw new Error("ajv implementation error");const l=Array.isArray(n)?n:[n];return(0,ie._)`${(0,zc.checkDataTypes)(l,r,a.opts.strictNumbers,zc.DataType.Wrong)}`}return ie.nil}function s(){if(i.validateSchema){const l=t.scopeValue("validate$data",{ref:i.validateSchema});return(0,ie._)`!${l}(${r})`}return ie.nil}}subschema(t,r){const n=(0,v1.getSubschema)(this.it,t);(0,v1.extendSubschemaData)(n,this.it,t),(0,v1.extendSubschemaMode)(n,t);const i={...this.it,...n,items:void 0,props:void 0};return Oee(i,r),i}mergeEvaluated(t,r){const{it:n,gen:i}=this;n.opts.unevaluated&&(n.props!==!0&&t.props!==void 0&&(n.props=Tn.mergeEvaluated.props(i,t.props,n.props,r)),n.items!==!0&&t.items!==void 0&&(n.items=Tn.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,ie.Name)),!0}}wr.KeywordCxt=N7;function M7(e,t,r,n){const i=new N7(e,r,t);"code"in r?r.code(i,n):i.$data&&r.validate?(0,Ms.funcKeywordCode)(i,r):"macro"in r?(0,Ms.macroKeywordCode)(i,r):(r.compile||r.validate)&&(0,Ms.funcKeywordCode)(i,r)}const Hee=/^\/(?:[^~]|~0|~1)*$/,Uee=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function k7(e,{dataLevel:t,dataNames:r,dataPathArr:n}){let i,a;if(e==="")return de.default.rootData;if(e[0]==="/"){if(!Hee.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);i=e,a=de.default.rootData}else{const u=Uee.exec(e);if(!u)throw new Error(`Invalid JSON-pointer: ${e}`);const c=+u[1];if(i=u[2],i==="#"){if(c>=t)throw new Error(l("property/index",c));return n[t-c]}if(c>t)throw new Error(l("data",c));if(a=r[t-c],!i)return a}let o=a;const s=i.split("/");for(const u of s)u&&(a=(0,ie._)`${a}${(0,ie.getProperty)((0,Tn.unescapeJsonPointer)(u))}`,o=(0,ie._)`${o} && ${a}`);return o;function l(u,c){return`Cannot access ${u} ${c} levels up, current level is ${t}`}}wr.getData=k7;var Fo={};Object.defineProperty(Fo,"__esModule",{value:!0});class Bee extends Error{constructor(t){super("validation failed"),this.errors=t,this.ajv=this.validation=!0}}Fo.default=Bee;var Do={};Object.defineProperty(Do,"__esModule",{value:!0});const g1=yt;class zee extends Error{constructor(t,r,n,i){super(i||`can't resolve reference ${n} from id ${r}`),this.missingRef=(0,g1.resolveUrl)(t,r,n),this.missingSchema=(0,g1.normalizeId)((0,g1.getFullPath)(t,this.missingRef))}}Do.default=zee;var Pt={};Object.defineProperty(Pt,"__esModule",{value:!0});Pt.resolveSchema=Pt.getCompilingSchema=Pt.resolveRef=Pt.compileSchema=Pt.SchemaEnv=void 0;const Pr=fe,Kee=Fo,Ai=ar,Ir=yt,q$=ge,qee=wr;class lf{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,Ir.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={}}}Pt.SchemaEnv=lf;function G0(e){const t=F7.call(this,e);if(t)return t;const r=(0,Ir.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:n,lines:i}=this.opts.code,{ownProperties:a}=this.opts,o=new Pr.CodeGen(this.scope,{es5:n,lines:i,ownProperties:a});let s;e.$async&&(s=o.scopeValue("Error",{ref:Kee.default,code:(0,Pr._)`require("ajv/dist/runtime/validation_error").default`}));const l=o.scopeName("validate");e.validateName=l;const u={gen:o,allErrors:this.opts.allErrors,data:Ai.default.data,parentData:Ai.default.parentData,parentDataProperty:Ai.default.parentDataProperty,dataNames:[Ai.default.data],dataPathArr:[Pr.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:o.scopeValue("schema",this.opts.code.source===!0?{ref:e.schema,code:(0,Pr.stringify)(e.schema)}:{ref:e.schema}),validateName:l,ValidationError:s,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:Pr.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,Pr._)`""`,opts:this.opts,self:this};let c;try{this._compilations.add(e),(0,qee.validateFunctionCode)(u),o.optimize(this.opts.code.optimize);const d=o.toString();c=`${o.scopeRefs(Ai.default.scope)}return ${d}`,this.opts.code.process&&(c=this.opts.code.process(c,e));const f=new Function(`${Ai.default.self}`,`${Ai.default.scope}`,c)(this,this.scope.get());if(this.scope.value(l,{ref:f}),f.errors=null,f.schema=e.schema,f.schemaEnv=e,e.$async&&(f.$async=!0),this.opts.code.source===!0&&(f.source={validateName:l,validateCode:d,scopeValues:o._values}),this.opts.unevaluated){const{props:m,items:v}=u;f.evaluated={props:m instanceof Pr.Name?void 0:m,items:v instanceof Pr.Name?void 0:v,dynamicProps:m instanceof Pr.Name,dynamicItems:v instanceof Pr.Name},f.source&&(f.source.evaluated=(0,Pr.stringify)(f.evaluated))}return e.validate=f,e}catch(d){throw delete e.validate,delete e.validateName,c&&this.logger.error("Error compiling schema, function code:",c),d}finally{this._compilations.delete(e)}}Pt.compileSchema=G0;function Zee(e,t,r){var n;r=(0,Ir.resolveUrl)(this.opts.uriResolver,t,r);const i=e.refs[r];if(i)return i;let a=Qee.call(this,e,r);if(a===void 0){const o=(n=e.localRefs)===null||n===void 0?void 0:n[r],{schemaId:s}=this.opts;o&&(a=new lf({schema:o,schemaId:s,root:e,baseId:t}))}if(a!==void 0)return e.refs[r]=Wee.call(this,a)}Pt.resolveRef=Zee;function Wee(e){return(0,Ir.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:G0.call(this,e)}function F7(e){for(const t of this._compilations)if(Gee(t,e))return t}Pt.getCompilingSchema=F7;function Gee(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function Qee(e,t){let r;for(;typeof(r=this.refs[t])=="string";)t=r;return r||this.schemas[t]||uf.call(this,e,t)}function uf(e,t){const r=this.opts.uriResolver.parse(t),n=(0,Ir._getFullPath)(this.opts.uriResolver,r);let i=(0,Ir.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&n===i)return y1.call(this,r,e);const a=(0,Ir.normalizeId)(n),o=this.refs[a]||this.schemas[a];if(typeof o=="string"){const s=uf.call(this,e,o);return typeof(s==null?void 0:s.schema)!="object"?void 0:y1.call(this,r,s)}if(typeof(o==null?void 0:o.schema)=="object"){if(o.validate||G0.call(this,o),a===(0,Ir.normalizeId)(t)){const{schema:s}=o,{schemaId:l}=this.opts,u=s[l];return u&&(i=(0,Ir.resolveUrl)(this.opts.uriResolver,i,u)),new lf({schema:s,schemaId:l,root:e,baseId:i})}return y1.call(this,r,o)}}Pt.resolveSchema=uf;const Yee=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function y1(e,{baseId:t,schema:r,root:n}){var i;if(((i=e.fragment)===null||i===void 0?void 0:i[0])!=="/")return;for(const s of e.fragment.slice(1).split("/")){if(typeof r=="boolean")return;const l=r[(0,q$.unescapeFragment)(s)];if(l===void 0)return;r=l;const u=typeof r=="object"&&r[this.opts.schemaId];!Yee.has(s)&&u&&(t=(0,Ir.resolveUrl)(this.opts.uriResolver,t,u))}let a;if(typeof r!="boolean"&&r.$ref&&!(0,q$.schemaHasRulesButRef)(r,this.RULES)){const s=(0,Ir.resolveUrl)(this.opts.uriResolver,t,r.$ref);a=uf.call(this,n,s)}const{schemaId:o}=this.opts;if(a=a||new lf({schema:r,schemaId:o,root:n,baseId:t}),a.schema!==a.root.schema)return a}const Jee="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Xee="Meta-schema for $data reference (JSON AnySchema extension proposal)",ete="object",tte=["$data"],rte={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},nte=!1,ite={$id:Jee,description:Xee,type:ete,required:tte,properties:rte,additionalProperties:nte};var Q0={},oh={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)})(fs,function(r){function n(){for(var I=arguments.length,P=Array(I),L=0;L1){P[0]=P[0].slice(0,-1);for(var z=P.length-1,B=1;B= 0x80 (not a basic code point)","invalid-input":"Invalid input"},N=v-$,K=Math.floor,D=String.fromCharCode;function U(I){throw new RangeError(F[I])}function te(I,P){for(var L=[],z=I.length;z--;)L[z]=P(I[z]);return L}function ae(I,P){var L=I.split("@"),z="";L.length>1&&(z=L[0]+"@",I=L[1]),I=I.replace(T,".");var B=I.split("."),se=te(B,P).join(".");return z+se}function he(I){for(var P=[],L=0,z=I.length;L=55296&&B<=56319&&L>1,P+=K(P/L);P>N*h>>1;B+=v)P=K(P/N);return K(B+(N+1)*P/(P+g))},H=function(P){var L=[],z=P.length,B=0,se=O,le=b,be=P.lastIndexOf(S);be<0&&(be=0);for(var ke=0;ke=128&&U("not-basic"),L.push(P.charCodeAt(ke));for(var et=be>0?be+1:0;et=z&&U("invalid-input");var pe=ee(P.charCodeAt(et++));(pe>=v||pe>K((m-B)/je))&&U("overflow"),B+=pe*je;var Be=tt<=le?$:tt>=le+h?h:tt-le;if(peK(m/at)&&U("overflow"),je*=at}var ze=L.length+1;le=j(B-ye,ze,ye==0),K(B/ze)>m-se&&U("overflow"),se+=K(B/ze),B%=ze,L.splice(B++,0,se)}return String.fromCodePoint.apply(String,L)},k=function(P){var L=[];P=he(P);var z=P.length,B=O,se=0,le=b,be=!0,ke=!1,et=void 0;try{for(var ye=P[Symbol.iterator](),je;!(be=(je=ye.next()).done);be=!0){var tt=je.value;tt<128&&L.push(D(tt))}}catch(Go){ke=!0,et=Go}finally{try{!be&&ye.return&&ye.return()}finally{if(ke)throw et}}var pe=L.length,Be=pe;for(pe&&L.push(S);Be=B&&PiK((m-se)/sr)&&U("overflow"),se+=(at-B)*sr,B=at;var Kr=!0,Ti=!1,hn=void 0;try{for(var Wo=P[Symbol.iterator](),ig;!(Kr=(ig=Wo.next()).done);Kr=!0){var ag=ig.value;if(agm&&U("overflow"),ag==B){for(var ql=se,Zl=v;;Zl+=v){var Wl=Zl<=le?$:Zl>=le+h?h:Zl-le;if(ql>6|192).toString(16).toUpperCase()+"%"+(P&63|128).toString(16).toUpperCase():L="%"+(P>>12|224).toString(16).toUpperCase()+"%"+(P>>6&63|128).toString(16).toUpperCase()+"%"+(P&63|128).toString(16).toUpperCase(),L}function ue(I){for(var P="",L=0,z=I.length;L=194&&B<224){if(z-L>=6){var se=parseInt(I.substr(L+4,2),16);P+=String.fromCharCode((B&31)<<6|se&63)}else P+=I.substr(L,6);L+=6}else if(B>=224){if(z-L>=9){var le=parseInt(I.substr(L+4,2),16),be=parseInt(I.substr(L+7,2),16);P+=String.fromCharCode((B&15)<<12|(le&63)<<6|be&63)}else P+=I.substr(L,9);L+=9}else P+=I.substr(L,3),L+=3}return P}function ce(I,P){function L(z){var B=ue(z);return B.match(P.UNRESERVED)?B:z}return I.scheme&&(I.scheme=String(I.scheme).replace(P.PCT_ENCODED,L).toLowerCase().replace(P.NOT_SCHEME,"")),I.userinfo!==void 0&&(I.userinfo=String(I.userinfo).replace(P.PCT_ENCODED,L).replace(P.NOT_USERINFO,W).replace(P.PCT_ENCODED,o)),I.host!==void 0&&(I.host=String(I.host).replace(P.PCT_ENCODED,L).toLowerCase().replace(P.NOT_HOST,W).replace(P.PCT_ENCODED,o)),I.path!==void 0&&(I.path=String(I.path).replace(P.PCT_ENCODED,L).replace(I.scheme?P.NOT_PATH:P.NOT_PATH_NOSCHEME,W).replace(P.PCT_ENCODED,o)),I.query!==void 0&&(I.query=String(I.query).replace(P.PCT_ENCODED,L).replace(P.NOT_QUERY,W).replace(P.PCT_ENCODED,o)),I.fragment!==void 0&&(I.fragment=String(I.fragment).replace(P.PCT_ENCODED,L).replace(P.NOT_FRAGMENT,W).replace(P.PCT_ENCODED,o)),I}function xe(I){return I.replace(/^0*(.*)/,"$1")||"0"}function mt(I,P){var L=I.match(P.IPV4ADDRESS)||[],z=p(L,2),B=z[1];return B?B.split(".").map(xe).join("."):I}function Vr(I,P){var L=I.match(P.IPV6ADDRESS)||[],z=p(L,3),B=z[1],se=z[2];if(B){for(var le=B.toLowerCase().split("::").reverse(),be=p(le,2),ke=be[0],et=be[1],ye=et?et.split(":").map(xe):[],je=ke.split(":").map(xe),tt=P.IPV4ADDRESS.test(je[je.length-1]),pe=tt?7:8,Be=je.length-pe,at=Array(pe),ze=0;ze1){var wa=at.slice(0,Br.index),Pi=at.slice(Br.index+Br.length);zr=wa.join(":")+"::"+Pi.join(":")}else zr=at.join(":");return se&&(zr+="%"+se),zr}else return I}var fn=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,pn="".match(/(){0}/)[1]===void 0;function ct(I){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},L={},z=P.iri!==!1?d:c;P.reference==="suffix"&&(I=(P.scheme?P.scheme+":":"")+"//"+I);var B=I.match(fn);if(B){pn?(L.scheme=B[1],L.userinfo=B[3],L.host=B[4],L.port=parseInt(B[5],10),L.path=B[6]||"",L.query=B[7],L.fragment=B[8],isNaN(L.port)&&(L.port=B[5])):(L.scheme=B[1]||void 0,L.userinfo=I.indexOf("@")!==-1?B[3]:void 0,L.host=I.indexOf("//")!==-1?B[4]:void 0,L.port=parseInt(B[5],10),L.path=B[6]||"",L.query=I.indexOf("?")!==-1?B[7]:void 0,L.fragment=I.indexOf("#")!==-1?B[8]:void 0,isNaN(L.port)&&(L.port=I.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?B[4]:void 0)),L.host&&(L.host=Vr(mt(L.host,z),z)),L.scheme===void 0&&L.userinfo===void 0&&L.host===void 0&&L.port===void 0&&!L.path&&L.query===void 0?L.reference="same-document":L.scheme===void 0?L.reference="relative":L.fragment===void 0?L.reference="absolute":L.reference="uri",P.reference&&P.reference!=="suffix"&&P.reference!==L.reference&&(L.error=L.error||"URI is not a "+P.reference+" reference.");var se=J[(P.scheme||L.scheme||"").toLowerCase()];if(!P.unicodeSupport&&(!se||!se.unicodeSupport)){if(L.host&&(P.domainHost||se&&se.domainHost))try{L.host=V.toASCII(L.host.replace(z.PCT_ENCODED,ue).toLowerCase())}catch(le){L.error=L.error||"Host's domain name can not be converted to ASCII via punycode: "+le}ce(L,c)}else ce(L,z);se&&se.parse&&se.parse(L,P)}else L.error=L.error||"URI can not be parsed.";return L}function Bt(I,P){var L=P.iri!==!1?d:c,z=[];return I.userinfo!==void 0&&(z.push(I.userinfo),z.push("@")),I.host!==void 0&&z.push(Vr(mt(String(I.host),L),L).replace(L.IPV6ADDRESS,function(B,se,le){return"["+se+(le?"%25"+le:"")+"]"})),(typeof I.port=="number"||typeof I.port=="string")&&(z.push(":"),z.push(String(I.port))),z.length?z.join(""):void 0}var Hn=/^\.\.?\//,Un=/^\/\.(\/|$)/,Bn=/^\/\.\.(\/|$)/,zo=/^\/?(?:.|\n)*?(?=\/|$)/;function Hr(I){for(var P=[];I.length;)if(I.match(Hn))I=I.replace(Hn,"");else if(I.match(Un))I=I.replace(Un,"/");else if(I.match(Bn))I=I.replace(Bn,"/"),P.pop();else if(I==="."||I==="..")I="";else{var L=I.match(zo);if(L){var z=L[0];I=I.slice(z.length),P.push(z)}else throw new Error("Unexpected dot segment condition")}return P.join("")}function Lt(I){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},L=P.iri?d:c,z=[],B=J[(P.scheme||I.scheme||"").toLowerCase()];if(B&&B.serialize&&B.serialize(I,P),I.host&&!L.IPV6ADDRESS.test(I.host)){if(P.domainHost||B&&B.domainHost)try{I.host=P.iri?V.toUnicode(I.host):V.toASCII(I.host.replace(L.PCT_ENCODED,ue).toLowerCase())}catch(be){I.error=I.error||"Host's domain name can not be converted to "+(P.iri?"Unicode":"ASCII")+" via punycode: "+be}}ce(I,L),P.reference!=="suffix"&&I.scheme&&(z.push(I.scheme),z.push(":"));var se=Bt(I,P);if(se!==void 0&&(P.reference!=="suffix"&&z.push("//"),z.push(se),I.path&&I.path.charAt(0)!=="/"&&z.push("/")),I.path!==void 0){var le=I.path;!P.absolutePath&&(!B||!B.absolutePath)&&(le=Hr(le)),se===void 0&&(le=le.replace(/^\/\//,"/%2F")),z.push(le)}return I.query!==void 0&&(z.push("?"),z.push(I.query)),I.fragment!==void 0&&(z.push("#"),z.push(I.fragment)),z.join("")}function ya(I,P){var L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},z=arguments[3],B={};return z||(I=ct(Lt(I,L),L),P=ct(Lt(P,L),L)),L=L||{},!L.tolerant&&P.scheme?(B.scheme=P.scheme,B.userinfo=P.userinfo,B.host=P.host,B.port=P.port,B.path=Hr(P.path||""),B.query=P.query):(P.userinfo!==void 0||P.host!==void 0||P.port!==void 0?(B.userinfo=P.userinfo,B.host=P.host,B.port=P.port,B.path=Hr(P.path||""),B.query=P.query):(P.path?(P.path.charAt(0)==="/"?B.path=Hr(P.path):((I.userinfo!==void 0||I.host!==void 0||I.port!==void 0)&&!I.path?B.path="/"+P.path:I.path?B.path=I.path.slice(0,I.path.lastIndexOf("/")+1)+P.path:B.path=P.path,B.path=Hr(B.path)),B.query=P.query):(B.path=I.path,P.query!==void 0?B.query=P.query:B.query=I.query),B.userinfo=I.userinfo,B.host=I.host,B.port=I.port),B.scheme=I.scheme),B.fragment=P.fragment,B}function Ko(I,P,L){var z=l({scheme:"null"},L);return Lt(ya(ct(I,z),ct(P,z),z,!0),z)}function xi(I,P){return typeof I=="string"?I=Lt(ct(I,P),P):a(I)==="object"&&(I=ct(Lt(I,P),P)),I}function qo(I,P,L){return typeof I=="string"?I=Lt(ct(I,L),L):a(I)==="object"&&(I=Lt(I,L)),typeof P=="string"?P=Lt(ct(P,L),L):a(P)==="object"&&(P=Lt(P,L)),I===P}function Kl(I,P){return I&&I.toString().replace(!P||!P.iri?c.ESCAPE:d.ESCAPE,W)}function or(I,P){return I&&I.toString().replace(!P||!P.iri?c.PCT_ENCODED:d.PCT_ENCODED,ue)}var Oi={scheme:"http",domainHost:!0,parse:function(P,L){return P.host||(P.error=P.error||"HTTP URIs must have a host."),P},serialize:function(P,L){var z=String(P.scheme).toLowerCase()==="https";return(P.port===(z?443:80)||P.port==="")&&(P.port=void 0),P.path||(P.path="/"),P}},Qv={scheme:"https",domainHost:Oi.domainHost,parse:Oi.parse,serialize:Oi.serialize};function Yv(I){return typeof I.secure=="boolean"?I.secure:String(I.scheme).toLowerCase()==="wss"}var Zo={scheme:"ws",domainHost:!0,parse:function(P,L){var z=P;return z.secure=Yv(z),z.resourceName=(z.path||"/")+(z.query?"?"+z.query:""),z.path=void 0,z.query=void 0,z},serialize:function(P,L){if((P.port===(Yv(P)?443:80)||P.port==="")&&(P.port=void 0),typeof P.secure=="boolean"&&(P.scheme=P.secure?"wss":"ws",P.secure=void 0),P.resourceName){var z=P.resourceName.split("?"),B=p(z,2),se=B[0],le=B[1];P.path=se&&se!=="/"?se:void 0,P.query=le,P.resourceName=void 0}return P.fragment=void 0,P}},Jv={scheme:"wss",domainHost:Zo.domainHost,parse:Zo.parse,serialize:Zo.serialize},pb={},Xv="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",Ur="[0-9A-Fa-f]",hb=i(i("%[EFef]"+Ur+"%"+Ur+Ur+"%"+Ur+Ur)+"|"+i("%[89A-Fa-f]"+Ur+"%"+Ur+Ur)+"|"+i("%"+Ur+Ur)),mb="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",vb="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",gb=n(vb,'[\\"\\\\]'),yb="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",$b=new RegExp(Xv,"g"),$a=new RegExp(hb,"g"),wb=new RegExp(n("[^]",mb,"[\\.]",'[\\"]',gb),"g"),eg=new RegExp(n("[^]",Xv,yb),"g"),bb=eg;function yf(I){var P=ue(I);return P.match($b)?P:I}var tg={scheme:"mailto",parse:function(P,L){var z=P,B=z.to=z.path?z.path.split(","):[];if(z.path=void 0,z.query){for(var se=!1,le={},be=z.query.split("&"),ke=0,et=be.length;kenew RegExp(M,j);f.code="new RegExp";const m=["removeAdditional","useDefaults","coerceTypes"],v=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),$={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."},h={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},g=200;function y(M){var j,H,k,x,A,V,J,W,ue,ce,xe,mt,Vr,fn,pn,ct,Bt,Hn,Un,Bn,zo,Hr,Lt,ya,Ko;const xi=M.strict,qo=(j=M.code)===null||j===void 0?void 0:j.optimize,Kl=qo===!0||qo===void 0?1:qo||0,or=(k=(H=M.code)===null||H===void 0?void 0:H.regExp)!==null&&k!==void 0?k:f,Oi=(x=M.uriResolver)!==null&&x!==void 0?x:p.default;return{strictSchema:(V=(A=M.strictSchema)!==null&&A!==void 0?A:xi)!==null&&V!==void 0?V:!0,strictNumbers:(W=(J=M.strictNumbers)!==null&&J!==void 0?J:xi)!==null&&W!==void 0?W:!0,strictTypes:(ce=(ue=M.strictTypes)!==null&&ue!==void 0?ue:xi)!==null&&ce!==void 0?ce:"log",strictTuples:(mt=(xe=M.strictTuples)!==null&&xe!==void 0?xe:xi)!==null&&mt!==void 0?mt:"log",strictRequired:(fn=(Vr=M.strictRequired)!==null&&Vr!==void 0?Vr:xi)!==null&&fn!==void 0?fn:!1,code:M.code?{...M.code,optimize:Kl,regExp:or}:{optimize:Kl,regExp:or},loopRequired:(pn=M.loopRequired)!==null&&pn!==void 0?pn:g,loopEnum:(ct=M.loopEnum)!==null&&ct!==void 0?ct:g,meta:(Bt=M.meta)!==null&&Bt!==void 0?Bt:!0,messages:(Hn=M.messages)!==null&&Hn!==void 0?Hn:!0,inlineRefs:(Un=M.inlineRefs)!==null&&Un!==void 0?Un:!0,schemaId:(Bn=M.schemaId)!==null&&Bn!==void 0?Bn:"$id",addUsedSchema:(zo=M.addUsedSchema)!==null&&zo!==void 0?zo:!0,validateSchema:(Hr=M.validateSchema)!==null&&Hr!==void 0?Hr:!0,validateFormats:(Lt=M.validateFormats)!==null&&Lt!==void 0?Lt:!0,unicodeRegExp:(ya=M.unicodeRegExp)!==null&&ya!==void 0?ya:!0,int32range:(Ko=M.int32range)!==null&&Ko!==void 0?Ko:!0,uriResolver:Oi}}class b{constructor(j={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,j=this.opts={...j,...y(j)};const{es5:H,lines:k}=this.opts.code;this.scope=new s.ValueScope({scope:{},prefixes:v,es5:H,lines:k}),this.logger=K(j.logger);const x=j.validateFormats;j.validateFormats=!1,this.RULES=(0,a.getRules)(),O.call(this,$,j,"NOT SUPPORTED"),O.call(this,h,j,"DEPRECATED","warn"),this._metaOpts=F.call(this),j.formats&&w.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),j.keywords&&T.call(this,j.keywords),typeof j.meta=="object"&&this.addMetaSchema(j.meta),_.call(this),j.validateFormats=x}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:j,meta:H,schemaId:k}=this.opts;let x=d;k==="id"&&(x={...d},x.id=x.$id,delete x.$id),H&&j&&this.addMetaSchema(x,x[k],!1)}defaultMeta(){const{meta:j,schemaId:H}=this.opts;return this.opts.defaultMeta=typeof j=="object"?j[H]||j:void 0}validate(j,H){let k;if(typeof j=="string"){if(k=this.getSchema(j),!k)throw new Error(`no schema with key or ref "${j}"`)}else k=this.compile(j);const x=k(H);return"$async"in k||(this.errors=k.errors),x}compile(j,H){const k=this._addSchema(j,H);return k.validate||this._compileSchemaEnv(k)}compileAsync(j,H){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:k}=this.opts;return x.call(this,j,H);async function x(ce,xe){await A.call(this,ce.$schema);const mt=this._addSchema(ce,xe);return mt.validate||V.call(this,mt)}async function A(ce){ce&&!this.getSchema(ce)&&await x.call(this,{$ref:ce},!0)}async function V(ce){try{return this._compileSchemaEnv(ce)}catch(xe){if(!(xe instanceof i.default))throw xe;return J.call(this,xe),await W.call(this,xe.missingSchema),V.call(this,ce)}}function J({missingSchema:ce,missingRef:xe}){if(this.refs[ce])throw new Error(`AnySchema ${ce} is loaded but ${xe} cannot be resolved`)}async function W(ce){const xe=await ue.call(this,ce);this.refs[ce]||await A.call(this,xe.$schema),this.refs[ce]||this.addSchema(xe,ce,H)}async function ue(ce){const xe=this._loading[ce];if(xe)return xe;try{return await(this._loading[ce]=k(ce))}finally{delete this._loading[ce]}}}addSchema(j,H,k,x=this.opts.validateSchema){if(Array.isArray(j)){for(const V of j)this.addSchema(V,void 0,k,x);return this}let A;if(typeof j=="object"){const{schemaId:V}=this.opts;if(A=j[V],A!==void 0&&typeof A!="string")throw new Error(`schema ${V} must be string`)}return H=(0,l.normalizeId)(H||A),this._checkUnique(H),this.schemas[H]=this._addSchema(j,k,H,x,!0),this}addMetaSchema(j,H,k=this.opts.validateSchema){return this.addSchema(j,H,!0,k),this}validateSchema(j,H){if(typeof j=="boolean")return!0;let k;if(k=j.$schema,k!==void 0&&typeof k!="string")throw new Error("$schema must be a string");if(k=k||this.opts.defaultMeta||this.defaultMeta(),!k)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const x=this.validate(k,j);if(!x&&H){const A="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(A);else throw new Error(A)}return x}getSchema(j){let H;for(;typeof(H=S.call(this,j))=="string";)j=H;if(H===void 0){const{schemaId:k}=this.opts,x=new o.SchemaEnv({schema:{},schemaId:k});if(H=o.resolveSchema.call(this,x,j),!H)return;this.refs[j]=H}return H.validate||this._compileSchemaEnv(H)}removeSchema(j){if(j instanceof RegExp)return this._removeAllSchemas(this.schemas,j),this._removeAllSchemas(this.refs,j),this;switch(typeof j){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const H=S.call(this,j);return typeof H=="object"&&this._cache.delete(H.schema),delete this.schemas[j],delete this.refs[j],this}case"object":{const H=j;this._cache.delete(H);let k=j[this.opts.schemaId];return k&&(k=(0,l.normalizeId)(k),delete this.schemas[k],delete this.refs[k]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(j){for(const H of j)this.addKeyword(H);return this}addKeyword(j,H){let k;if(typeof j=="string")k=j,typeof H=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),H.keyword=k);else if(typeof j=="object"&&H===void 0){if(H=j,k=H.keyword,Array.isArray(k)&&!k.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(U.call(this,k,H),!H)return(0,c.eachItem)(k,A=>te.call(this,A)),this;he.call(this,H);const x={...H,type:(0,u.getJSONTypes)(H.type),schemaType:(0,u.getJSONTypes)(H.schemaType)};return(0,c.eachItem)(k,x.type.length===0?A=>te.call(this,A,x):A=>x.type.forEach(V=>te.call(this,A,x,V))),this}getKeyword(j){const H=this.RULES.all[j];return typeof H=="object"?H.definition:!!H}removeKeyword(j){const{RULES:H}=this;delete H.keywords[j],delete H.all[j];for(const k of H.rules){const x=k.rules.findIndex(A=>A.keyword===j);x>=0&&k.rules.splice(x,1)}return this}addFormat(j,H){return typeof H=="string"&&(H=new RegExp(H)),this.formats[j]=H,this}errorsText(j=this.errors,{separator:H=", ",dataVar:k="data"}={}){return!j||j.length===0?"No errors":j.map(x=>`${k}${x.instancePath} ${x.message}`).reduce((x,A)=>x+H+A)}$dataMetaSchema(j,H){const k=this.RULES.all;j=JSON.parse(JSON.stringify(j));for(const x of H){const A=x.split("/").slice(1);let V=j;for(const J of A)V=V[J];for(const J in k){const W=k[J];if(typeof W!="object")continue;const{$data:ue}=W.definition,ce=V[J];ue&&ce&&(V[J]=ee(ce))}}return j}_removeAllSchemas(j,H){for(const k in j){const x=j[k];(!H||H.test(k))&&(typeof x=="string"?delete j[k]:x&&!x.meta&&(this._cache.delete(x.schema),delete j[k]))}}_addSchema(j,H,k,x=this.opts.validateSchema,A=this.opts.addUsedSchema){let V;const{schemaId:J}=this.opts;if(typeof j=="object")V=j[J];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof j!="boolean")throw new Error("schema must be object or boolean")}let W=this._cache.get(j);if(W!==void 0)return W;k=(0,l.normalizeId)(V||k);const ue=l.getSchemaRefs.call(this,j,k);return W=new o.SchemaEnv({schema:j,schemaId:J,meta:H,baseId:k,localRefs:ue}),this._cache.set(W.schema,W),A&&!k.startsWith("#")&&(k&&this._checkUnique(k),this.refs[k]=W),x&&this.validateSchema(j,!0),W}_checkUnique(j){if(this.schemas[j]||this.refs[j])throw new Error(`schema with key or id "${j}" already exists`)}_compileSchemaEnv(j){if(j.meta?this._compileMetaSchema(j):o.compileSchema.call(this,j),!j.validate)throw new Error("ajv implementation error");return j.validate}_compileMetaSchema(j){const H=this.opts;this.opts=this._metaOpts;try{o.compileSchema.call(this,j)}finally{this.opts=H}}}e.default=b,b.ValidationError=n.default,b.MissingRefError=i.default;function O(M,j,H,k="error"){for(const x in M){const A=x;A in j&&this.logger[k](`${H}: option ${x}. ${M[A]}`)}}function S(M){return M=(0,l.normalizeId)(M),this.schemas[M]||this.refs[M]}function _(){const M=this.opts.schemas;if(M)if(Array.isArray(M))this.addSchema(M);else for(const j in M)this.addSchema(M[j],j)}function w(){for(const M in this.opts.formats){const j=this.opts.formats[M];j&&this.addFormat(M,j)}}function T(M){if(Array.isArray(M)){this.addVocabulary(M);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const j in M){const H=M[j];H.keyword||(H.keyword=j),this.addKeyword(H)}}function F(){const M={...this.opts};for(const j of m)delete M[j];return M}const N={log(){},warn(){},error(){}};function K(M){if(M===!1)return N;if(M===void 0)return console;if(M.log&&M.warn&&M.error)return M;throw new Error("logger must implement log, warn and error methods")}const D=/^[a-z_$][a-z0-9_$:-]*$/i;function U(M,j){const{RULES:H}=this;if((0,c.eachItem)(M,k=>{if(H.keywords[k])throw new Error(`Keyword ${k} is already defined`);if(!D.test(k))throw new Error(`Keyword ${k} has invalid name`)}),!!j&&j.$data&&!("code"in j||"validate"in j))throw new Error('$data keyword must have "code" or "validate" function')}function te(M,j,H){var k;const x=j==null?void 0:j.post;if(H&&x)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:A}=this;let V=x?A.post:A.rules.find(({type:W})=>W===H);if(V||(V={type:H,rules:[]},A.rules.push(V)),A.keywords[M]=!0,!j)return;const J={keyword:M,definition:{...j,type:(0,u.getJSONTypes)(j.type),schemaType:(0,u.getJSONTypes)(j.schemaType)}};j.before?ae.call(this,V,J,j.before):V.rules.push(J),A.all[M]=J,(k=j.implements)===null||k===void 0||k.forEach(W=>this.addKeyword(W))}function ae(M,j,H){const k=M.rules.findIndex(x=>x.keyword===H);k>=0?M.rules.splice(k,0,j):(M.rules.push(j),this.logger.warn(`rule ${H} is not defined`))}function he(M){let{metaSchema:j}=M;j!==void 0&&(M.$data&&this.opts.$data&&(j=ee(j)),M.validateSchema=this.compile(j,!0))}const Z={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function ee(M){return{anyOf:[M,Z]}}})(B0);var cf={},Y0={},J0={};Object.defineProperty(J0,"__esModule",{value:!0});const ote={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};J0.default=ote;var Ln={};Object.defineProperty(Ln,"__esModule",{value:!0});Ln.callRef=Ln.getValidate=void 0;const ste=Do,Z$=me,Mt=fe,_a=ar,W$=Pt,Eu=ge,lte={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:r,it:n}=e,{baseId:i,schemaEnv:a,validateName:o,opts:s,self:l}=n,{root:u}=a;if((r==="#"||r==="#/")&&i===u.baseId)return d();const c=W$.resolveRef.call(l,u,i,r);if(c===void 0)throw new ste.default(n.opts.uriResolver,i,r);if(c instanceof W$.SchemaEnv)return p(c);return f(c);function d(){if(a===u)return Yu(e,o,a,a.$async);const m=t.scopeValue("root",{ref:u});return Yu(e,(0,Mt._)`${m}.validate`,u,u.$async)}function p(m){const v=V7(e,m);Yu(e,v,m,m.$async)}function f(m){const v=t.scopeValue("schema",s.code.source===!0?{ref:m,code:(0,Mt.stringify)(m)}:{ref:m}),$=t.name("valid"),h=e.subschema({schema:m,dataTypes:[],schemaPath:Mt.nil,topSchemaRef:v,errSchemaPath:r},$);e.mergeEvaluated(h),e.ok($)}}};function V7(e,t){const{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):(0,Mt._)`${r.scopeValue("wrapper",{ref:t})}.validate`}Ln.getValidate=V7;function Yu(e,t,r,n){const{gen:i,it:a}=e,{allErrors:o,schemaEnv:s,opts:l}=a,u=l.passContext?_a.default.this:Mt.nil;n?c():d();function c(){if(!s.$async)throw new Error("async schema referenced by sync schema");const m=i.let("valid");i.try(()=>{i.code((0,Mt._)`await ${(0,Z$.callValidateCode)(e,t,u)}`),f(t),o||i.assign(m,!0)},v=>{i.if((0,Mt._)`!(${v} instanceof ${a.ValidationError})`,()=>i.throw(v)),p(v),o||i.assign(m,!1)}),e.ok(m)}function d(){e.result((0,Z$.callValidateCode)(e,t,u),()=>f(t),()=>p(t))}function p(m){const v=(0,Mt._)`${m}.errors`;i.assign(_a.default.vErrors,(0,Mt._)`${_a.default.vErrors} === null ? ${v} : ${_a.default.vErrors}.concat(${v})`),i.assign(_a.default.errors,(0,Mt._)`${_a.default.vErrors}.length`)}function f(m){var v;if(!a.opts.unevaluated)return;const $=(v=r==null?void 0:r.validate)===null||v===void 0?void 0:v.evaluated;if(a.props!==!0)if($&&!$.dynamicProps)$.props!==void 0&&(a.props=Eu.mergeEvaluated.props(i,$.props,a.props));else{const h=i.var("props",(0,Mt._)`${m}.evaluated.props`);a.props=Eu.mergeEvaluated.props(i,h,a.props,Mt.Name)}if(a.items!==!0)if($&&!$.dynamicItems)$.items!==void 0&&(a.items=Eu.mergeEvaluated.items(i,$.items,a.items));else{const h=i.var("items",(0,Mt._)`${m}.evaluated.items`);a.items=Eu.mergeEvaluated.items(i,h,a.items,Mt.Name)}}}Ln.callRef=Yu;Ln.default=lte;Object.defineProperty(Y0,"__esModule",{value:!0});const ute=J0,cte=Ln,dte=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",ute.default,cte.default];Y0.default=dte;var X0={},ev={};Object.defineProperty(ev,"__esModule",{value:!0});const Kc=fe,Wn=Kc.operators,qc={maximum:{okStr:"<=",ok:Wn.LTE,fail:Wn.GT},minimum:{okStr:">=",ok:Wn.GTE,fail:Wn.LT},exclusiveMaximum:{okStr:"<",ok:Wn.LT,fail:Wn.GTE},exclusiveMinimum:{okStr:">",ok:Wn.GT,fail:Wn.LTE}},fte={message:({keyword:e,schemaCode:t})=>(0,Kc.str)`must be ${qc[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,Kc._)`{comparison: ${qc[e].okStr}, limit: ${t}}`},pte={keyword:Object.keys(qc),type:"number",schemaType:"number",$data:!0,error:fte,code(e){const{keyword:t,data:r,schemaCode:n}=e;e.fail$data((0,Kc._)`${r} ${qc[t].fail} ${n} || isNaN(${r})`)}};ev.default=pte;var tv={};Object.defineProperty(tv,"__esModule",{value:!0});const ks=fe,hte={message:({schemaCode:e})=>(0,ks.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,ks._)`{multipleOf: ${e}}`},mte={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:hte,code(e){const{gen:t,data:r,schemaCode:n,it:i}=e,a=i.opts.multipleOfPrecision,o=t.let("res"),s=a?(0,ks._)`Math.abs(Math.round(${o}) - ${o}) > 1e-${a}`:(0,ks._)`${o} !== parseInt(${o})`;e.fail$data((0,ks._)`(${n} === 0 || (${o} = ${r}/${n}, ${s}))`)}};tv.default=mte;var rv={},nv={};Object.defineProperty(nv,"__esModule",{value:!0});function H7(e){const t=e.length;let r=0,n=0,i;for(;n=55296&&i<=56319&&n(0,Mi._)`{limit: ${e}}`},$te={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:yte,code(e){const{keyword:t,data:r,schemaCode:n,it:i}=e,a=t==="maxLength"?Mi.operators.GT:Mi.operators.LT,o=i.opts.unicode===!1?(0,Mi._)`${r}.length`:(0,Mi._)`${(0,vte.useFunc)(e.gen,gte.default)}(${r})`;e.fail$data((0,Mi._)`${o} ${a} ${n}`)}};rv.default=$te;var iv={};Object.defineProperty(iv,"__esModule",{value:!0});const wte=me,Zc=fe,bte={message:({schemaCode:e})=>(0,Zc.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,Zc._)`{pattern: ${e}}`},Ete={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:bte,code(e){const{data:t,$data:r,schema:n,schemaCode:i,it:a}=e,o=a.opts.unicodeRegExp?"u":"",s=r?(0,Zc._)`(new RegExp(${i}, ${o}))`:(0,wte.usePattern)(e,n);e.fail$data((0,Zc._)`!${s}.test(${t})`)}};iv.default=Ete;var av={};Object.defineProperty(av,"__esModule",{value:!0});const Fs=fe,Cte={message({keyword:e,schemaCode:t}){const r=e==="maxProperties"?"more":"fewer";return(0,Fs.str)`must NOT have ${r} than ${t} properties`},params:({schemaCode:e})=>(0,Fs._)`{limit: ${e}}`},Ste={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:Cte,code(e){const{keyword:t,data:r,schemaCode:n}=e,i=t==="maxProperties"?Fs.operators.GT:Fs.operators.LT;e.fail$data((0,Fs._)`Object.keys(${r}).length ${i} ${n}`)}};av.default=Ste;var ov={};Object.defineProperty(ov,"__esModule",{value:!0});const us=me,Ds=fe,_te=ge,xte={message:({params:{missingProperty:e}})=>(0,Ds.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,Ds._)`{missingProperty: ${e}}`},Ote={keyword:"required",type:"object",schemaType:"array",$data:!0,error:xte,code(e){const{gen:t,schema:r,schemaCode:n,data:i,$data:a,it:o}=e,{opts:s}=o;if(!a&&r.length===0)return;const l=r.length>=s.loopRequired;if(o.allErrors?u():c(),s.strictRequired){const f=e.parentSchema.properties,{definedProperties:m}=e.it;for(const v of r)if((f==null?void 0:f[v])===void 0&&!m.has(v)){const $=o.schemaEnv.baseId+o.errSchemaPath,h=`required property "${v}" is not defined at "${$}" (strictRequired)`;(0,_te.checkStrictMode)(o,h,o.opts.strictRequired)}}function u(){if(l||a)e.block$data(Ds.nil,d);else for(const f of r)(0,us.checkReportMissingProp)(e,f)}function c(){const f=t.let("missing");if(l||a){const m=t.let("valid",!0);e.block$data(m,()=>p(f,m)),e.ok(m)}else t.if((0,us.checkMissingProp)(e,r,f)),(0,us.reportMissingProp)(e,f),t.else()}function d(){t.forOf("prop",n,f=>{e.setParams({missingProperty:f}),t.if((0,us.noPropertyInData)(t,i,f,s.ownProperties),()=>e.error())})}function p(f,m){e.setParams({missingProperty:f}),t.forOf(f,n,()=>{t.assign(m,(0,us.propertyInData)(t,i,f,s.ownProperties)),t.if((0,Ds.not)(m),()=>{e.error(),t.break()})},Ds.nil)}}};ov.default=Ote;var sv={};Object.defineProperty(sv,"__esModule",{value:!0});const Vs=fe,Pte={message({keyword:e,schemaCode:t}){const r=e==="maxItems"?"more":"fewer";return(0,Vs.str)`must NOT have ${r} than ${t} items`},params:({schemaCode:e})=>(0,Vs._)`{limit: ${e}}`},Tte={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:Pte,code(e){const{keyword:t,data:r,schemaCode:n}=e,i=t==="maxItems"?Vs.operators.GT:Vs.operators.LT;e.fail$data((0,Vs._)`${r}.length ${i} ${n}`)}};sv.default=Tte;var lv={},Vl={};Object.defineProperty(Vl,"__esModule",{value:!0});const U7=E7;U7.code='require("ajv/dist/runtime/equal").default';Vl.default=U7;Object.defineProperty(lv,"__esModule",{value:!0});const $1=Dl,vt=fe,Ate=ge,Rte=Vl,jte={message:({params:{i:e,j:t}})=>(0,vt.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>(0,vt._)`{i: ${e}, j: ${t}}`},Ite={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:jte,code(e){const{gen:t,data:r,$data:n,schema:i,parentSchema:a,schemaCode:o,it:s}=e;if(!n&&!i)return;const l=t.let("valid"),u=a.items?(0,$1.getSchemaTypes)(a.items):[];e.block$data(l,c,(0,vt._)`${o} === false`),e.ok(l);function c(){const m=t.let("i",(0,vt._)`${r}.length`),v=t.let("j");e.setParams({i:m,j:v}),t.assign(l,!0),t.if((0,vt._)`${m} > 1`,()=>(d()?p:f)(m,v))}function d(){return u.length>0&&!u.some(m=>m==="object"||m==="array")}function p(m,v){const $=t.name("item"),h=(0,$1.checkDataTypes)(u,$,s.opts.strictNumbers,$1.DataType.Wrong),g=t.const("indices",(0,vt._)`{}`);t.for((0,vt._)`;${m}--;`,()=>{t.let($,(0,vt._)`${r}[${m}]`),t.if(h,(0,vt._)`continue`),u.length>1&&t.if((0,vt._)`typeof ${$} == "string"`,(0,vt._)`${$} += "_"`),t.if((0,vt._)`typeof ${g}[${$}] == "number"`,()=>{t.assign(v,(0,vt._)`${g}[${$}]`),e.error(),t.assign(l,!1).break()}).code((0,vt._)`${g}[${$}] = ${m}`)})}function f(m,v){const $=(0,Ate.useFunc)(t,Rte.default),h=t.name("outer");t.label(h).for((0,vt._)`;${m}--;`,()=>t.for((0,vt._)`${v} = ${m}; ${v}--;`,()=>t.if((0,vt._)`${$}(${r}[${m}], ${r}[${v}])`,()=>{e.error(),t.assign(l,!1).break(h)})))}}};lv.default=Ite;var uv={};Object.defineProperty(uv,"__esModule",{value:!0});const sh=fe,Lte=ge,Nte=Vl,Mte={message:"must be equal to constant",params:({schemaCode:e})=>(0,sh._)`{allowedValue: ${e}}`},kte={keyword:"const",$data:!0,error:Mte,code(e){const{gen:t,data:r,$data:n,schemaCode:i,schema:a}=e;n||a&&typeof a=="object"?e.fail$data((0,sh._)`!${(0,Lte.useFunc)(t,Nte.default)}(${r}, ${i})`):e.fail((0,sh._)`${a} !== ${r}`)}};uv.default=kte;var cv={};Object.defineProperty(cv,"__esModule",{value:!0});const ws=fe,Fte=ge,Dte=Vl,Vte={message:"must be equal to one of the allowed values",params:({schemaCode:e})=>(0,ws._)`{allowedValues: ${e}}`},Hte={keyword:"enum",schemaType:"array",$data:!0,error:Vte,code(e){const{gen:t,data:r,$data:n,schema:i,schemaCode:a,it:o}=e;if(!n&&i.length===0)throw new Error("enum must have non-empty array");const s=i.length>=o.opts.loopEnum;let l;const u=()=>l??(l=(0,Fte.useFunc)(t,Dte.default));let c;if(s||n)c=t.let("valid"),e.block$data(c,d);else{if(!Array.isArray(i))throw new Error("ajv implementation error");const f=t.const("vSchema",a);c=(0,ws.or)(...i.map((m,v)=>p(f,v)))}e.pass(c);function d(){t.assign(c,!1),t.forOf("v",a,f=>t.if((0,ws._)`${u()}(${r}, ${f})`,()=>t.assign(c,!0).break()))}function p(f,m){const v=i[m];return typeof v=="object"&&v!==null?(0,ws._)`${u()}(${r}, ${f}[${m}])`:(0,ws._)`${r} === ${v}`}}};cv.default=Hte;Object.defineProperty(X0,"__esModule",{value:!0});const Ute=ev,Bte=tv,zte=rv,Kte=iv,qte=av,Zte=ov,Wte=sv,Gte=lv,Qte=uv,Yte=cv,Jte=[Ute.default,Bte.default,zte.default,Kte.default,qte.default,Zte.default,Wte.default,Gte.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},Qte.default,Yte.default];X0.default=Jte;var dv={},Vo={};Object.defineProperty(Vo,"__esModule",{value:!0});Vo.validateAdditionalItems=void 0;const ki=fe,lh=ge,Xte={message:({params:{len:e}})=>(0,ki.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,ki._)`{limit: ${e}}`},ere={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:Xte,code(e){const{parentSchema:t,it:r}=e,{items:n}=t;if(!Array.isArray(n)){(0,lh.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas');return}B7(e,n)}};function B7(e,t){const{gen:r,schema:n,data:i,keyword:a,it:o}=e;o.items=!0;const s=r.const("len",(0,ki._)`${i}.length`);if(n===!1)e.setParams({len:t.length}),e.pass((0,ki._)`${s} <= ${t.length}`);else if(typeof n=="object"&&!(0,lh.alwaysValidSchema)(o,n)){const u=r.var("valid",(0,ki._)`${s} <= ${t.length}`);r.if((0,ki.not)(u),()=>l(u)),e.ok(u)}function l(u){r.forRange("i",t.length,s,c=>{e.subschema({keyword:a,dataProp:c,dataPropType:lh.Type.Num},u),o.allErrors||r.if((0,ki.not)(u),()=>r.break())})}}Vo.validateAdditionalItems=B7;Vo.default=ere;var fv={},Ho={};Object.defineProperty(Ho,"__esModule",{value:!0});Ho.validateTuple=void 0;const G$=fe,Ju=ge,tre=me,rre={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:r}=e;if(Array.isArray(t))return z7(e,"additionalItems",t);r.items=!0,!(0,Ju.alwaysValidSchema)(r,t)&&e.ok((0,tre.validateArray)(e))}};function z7(e,t,r=e.schema){const{gen:n,parentSchema:i,data:a,keyword:o,it:s}=e;c(i),s.opts.unevaluated&&r.length&&s.items!==!0&&(s.items=Ju.mergeEvaluated.items(n,r.length,s.items));const l=n.name("valid"),u=n.const("len",(0,G$._)`${a}.length`);r.forEach((d,p)=>{(0,Ju.alwaysValidSchema)(s,d)||(n.if((0,G$._)`${u} > ${p}`,()=>e.subschema({keyword:o,schemaProp:p,dataProp:p},l)),e.ok(l))});function c(d){const{opts:p,errSchemaPath:f}=s,m=r.length,v=m===d.minItems&&(m===d.maxItems||d[t]===!1);if(p.strictTuples&&!v){const $=`"${o}" is ${m}-tuple, but minItems or maxItems/${t} are not specified or different at path "${f}"`;(0,Ju.checkStrictMode)(s,$,p.strictTuples)}}}Ho.validateTuple=z7;Ho.default=rre;Object.defineProperty(fv,"__esModule",{value:!0});const nre=Ho,ire={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,nre.validateTuple)(e,"items")};fv.default=ire;var pv={};Object.defineProperty(pv,"__esModule",{value:!0});const Q$=fe,are=ge,ore=me,sre=Vo,lre={message:({params:{len:e}})=>(0,Q$.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,Q$._)`{limit: ${e}}`},ure={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:lre,code(e){const{schema:t,parentSchema:r,it:n}=e,{prefixItems:i}=r;n.items=!0,!(0,are.alwaysValidSchema)(n,t)&&(i?(0,sre.validateAdditionalItems)(e,i):e.ok((0,ore.validateArray)(e)))}};pv.default=ure;var hv={};Object.defineProperty(hv,"__esModule",{value:!0});const ur=fe,Cu=ge,cre={message:({params:{min:e,max:t}})=>t===void 0?(0,ur.str)`must contain at least ${e} valid item(s)`:(0,ur.str)`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>t===void 0?(0,ur._)`{minContains: ${e}}`:(0,ur._)`{minContains: ${e}, maxContains: ${t}}`},dre={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:cre,code(e){const{gen:t,schema:r,parentSchema:n,data:i,it:a}=e;let o,s;const{minContains:l,maxContains:u}=n;a.opts.next?(o=l===void 0?1:l,s=u):o=1;const c=t.const("len",(0,ur._)`${i}.length`);if(e.setParams({min:o,max:s}),s===void 0&&o===0){(0,Cu.checkStrictMode)(a,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(s!==void 0&&o>s){(0,Cu.checkStrictMode)(a,'"minContains" > "maxContains" is always invalid'),e.fail();return}if((0,Cu.alwaysValidSchema)(a,r)){let v=(0,ur._)`${c} >= ${o}`;s!==void 0&&(v=(0,ur._)`${v} && ${c} <= ${s}`),e.pass(v);return}a.items=!0;const d=t.name("valid");s===void 0&&o===1?f(d,()=>t.if(d,()=>t.break())):o===0?(t.let(d,!0),s!==void 0&&t.if((0,ur._)`${i}.length > 0`,p)):(t.let(d,!1),p()),e.result(d,()=>e.reset());function p(){const v=t.name("_valid"),$=t.let("count",0);f(v,()=>t.if(v,()=>m($)))}function f(v,$){t.forRange("i",0,c,h=>{e.subschema({keyword:"contains",dataProp:h,dataPropType:Cu.Type.Num,compositeRule:!0},v),$()})}function m(v){t.code((0,ur._)`${v}++`),s===void 0?t.if((0,ur._)`${v} >= ${o}`,()=>t.assign(d,!0).break()):(t.if((0,ur._)`${v} > ${s}`,()=>t.assign(d,!1).break()),o===1?t.assign(d,!0):t.if((0,ur._)`${v} >= ${o}`,()=>t.assign(d,!0)))}}};hv.default=dre;var df={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=fe,r=ge,n=me;e.error={message:({params:{property:l,depsCount:u,deps:c}})=>{const d=u===1?"property":"properties";return(0,t.str)`must have ${d} ${c} when property ${l} is present`},params:({params:{property:l,depsCount:u,deps:c,missingProperty:d}})=>(0,t._)`{property: ${l}, missingProperty: ${d}, depsCount: ${u}, deps: ${c}}`};const i={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(l){const[u,c]=a(l);o(l,u),s(l,c)}};function a({schema:l}){const u={},c={};for(const d in l){if(d==="__proto__")continue;const p=Array.isArray(l[d])?u:c;p[d]=l[d]}return[u,c]}function o(l,u=l.schema){const{gen:c,data:d,it:p}=l;if(Object.keys(u).length===0)return;const f=c.let("missing");for(const m in u){const v=u[m];if(v.length===0)continue;const $=(0,n.propertyInData)(c,d,m,p.opts.ownProperties);l.setParams({property:m,depsCount:v.length,deps:v.join(", ")}),p.allErrors?c.if($,()=>{for(const h of v)(0,n.checkReportMissingProp)(l,h)}):(c.if((0,t._)`${$} && (${(0,n.checkMissingProp)(l,v,f)})`),(0,n.reportMissingProp)(l,f),c.else())}}e.validatePropertyDeps=o;function s(l,u=l.schema){const{gen:c,data:d,keyword:p,it:f}=l,m=c.name("valid");for(const v in u)(0,r.alwaysValidSchema)(f,u[v])||(c.if((0,n.propertyInData)(c,d,v,f.opts.ownProperties),()=>{const $=l.subschema({keyword:p,schemaProp:v},m);l.mergeValidEvaluated($,m)},()=>c.var(m,!0)),l.ok(m))}e.validateSchemaDeps=s,e.default=i})(df);var mv={};Object.defineProperty(mv,"__esModule",{value:!0});const K7=fe,fre=ge,pre={message:"property name must be valid",params:({params:e})=>(0,K7._)`{propertyName: ${e.propertyName}}`},hre={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:pre,code(e){const{gen:t,schema:r,data:n,it:i}=e;if((0,fre.alwaysValidSchema)(i,r))return;const a=t.name("valid");t.forIn("key",n,o=>{e.setParams({propertyName:o}),e.subschema({keyword:"propertyNames",data:o,dataTypes:["string"],propertyName:o,compositeRule:!0},a),t.if((0,K7.not)(a),()=>{e.error(!0),i.allErrors||t.break()})}),e.ok(a)}};mv.default=hre;var ff={};Object.defineProperty(ff,"__esModule",{value:!0});const Su=me,Tr=fe,mre=ar,_u=ge,vre={message:"must NOT have additional properties",params:({params:e})=>(0,Tr._)`{additionalProperty: ${e.additionalProperty}}`},gre={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:vre,code(e){const{gen:t,schema:r,parentSchema:n,data:i,errsCount:a,it:o}=e;if(!a)throw new Error("ajv implementation error");const{allErrors:s,opts:l}=o;if(o.props=!0,l.removeAdditional!=="all"&&(0,_u.alwaysValidSchema)(o,r))return;const u=(0,Su.allSchemaProperties)(n.properties),c=(0,Su.allSchemaProperties)(n.patternProperties);d(),e.ok((0,Tr._)`${a} === ${mre.default.errors}`);function d(){t.forIn("key",i,$=>{!u.length&&!c.length?m($):t.if(p($),()=>m($))})}function p($){let h;if(u.length>8){const g=(0,_u.schemaRefOrVal)(o,n.properties,"properties");h=(0,Su.isOwnProperty)(t,g,$)}else u.length?h=(0,Tr.or)(...u.map(g=>(0,Tr._)`${$} === ${g}`)):h=Tr.nil;return c.length&&(h=(0,Tr.or)(h,...c.map(g=>(0,Tr._)`${(0,Su.usePattern)(e,g)}.test(${$})`))),(0,Tr.not)(h)}function f($){t.code((0,Tr._)`delete ${i}[${$}]`)}function m($){if(l.removeAdditional==="all"||l.removeAdditional&&r===!1){f($);return}if(r===!1){e.setParams({additionalProperty:$}),e.error(),s||t.break();return}if(typeof r=="object"&&!(0,_u.alwaysValidSchema)(o,r)){const h=t.name("valid");l.removeAdditional==="failing"?(v($,h,!1),t.if((0,Tr.not)(h),()=>{e.reset(),f($)})):(v($,h),s||t.if((0,Tr.not)(h),()=>t.break()))}}function v($,h,g){const y={keyword:"additionalProperties",dataProp:$,dataPropType:_u.Type.Str};g===!1&&Object.assign(y,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(y,h)}}};ff.default=gre;var vv={};Object.defineProperty(vv,"__esModule",{value:!0});const yre=wr,Y$=me,w1=ge,J$=ff,$re={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,parentSchema:n,data:i,it:a}=e;a.opts.removeAdditional==="all"&&n.additionalProperties===void 0&&J$.default.code(new yre.KeywordCxt(a,J$.default,"additionalProperties"));const o=(0,Y$.allSchemaProperties)(r);for(const d of o)a.definedProperties.add(d);a.opts.unevaluated&&o.length&&a.props!==!0&&(a.props=w1.mergeEvaluated.props(t,(0,w1.toHash)(o),a.props));const s=o.filter(d=>!(0,w1.alwaysValidSchema)(a,r[d]));if(s.length===0)return;const l=t.name("valid");for(const d of s)u(d)?c(d):(t.if((0,Y$.propertyInData)(t,i,d,a.opts.ownProperties)),c(d),a.allErrors||t.else().var(l,!0),t.endIf()),e.it.definedProperties.add(d),e.ok(l);function u(d){return a.opts.useDefaults&&!a.compositeRule&&r[d].default!==void 0}function c(d){e.subschema({keyword:"properties",schemaProp:d,dataProp:d},l)}}};vv.default=$re;var gv={};Object.defineProperty(gv,"__esModule",{value:!0});const X$=me,xu=fe,e4=ge,t4=ge,wre={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,data:n,parentSchema:i,it:a}=e,{opts:o}=a,s=(0,X$.allSchemaProperties)(r),l=s.filter(v=>(0,e4.alwaysValidSchema)(a,r[v]));if(s.length===0||l.length===s.length&&(!a.opts.unevaluated||a.props===!0))return;const u=o.strictSchema&&!o.allowMatchingProperties&&i.properties,c=t.name("valid");a.props!==!0&&!(a.props instanceof xu.Name)&&(a.props=(0,t4.evaluatedPropsToName)(t,a.props));const{props:d}=a;p();function p(){for(const v of s)u&&f(v),a.allErrors?m(v):(t.var(c,!0),m(v),t.if(c))}function f(v){for(const $ in u)new RegExp(v).test($)&&(0,e4.checkStrictMode)(a,`property ${$} matches pattern ${v} (use allowMatchingProperties)`)}function m(v){t.forIn("key",n,$=>{t.if((0,xu._)`${(0,X$.usePattern)(e,v)}.test(${$})`,()=>{const h=l.includes(v);h||e.subschema({keyword:"patternProperties",schemaProp:v,dataProp:$,dataPropType:t4.Type.Str},c),a.opts.unevaluated&&d!==!0?t.assign((0,xu._)`${d}[${$}]`,!0):!h&&!a.allErrors&&t.if((0,xu.not)(c),()=>t.break())})})}}};gv.default=wre;var yv={};Object.defineProperty(yv,"__esModule",{value:!0});const bre=ge,Ere={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:r,it:n}=e;if((0,bre.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"}};yv.default=Ere;var $v={};Object.defineProperty($v,"__esModule",{value:!0});const Cre=me,Sre={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Cre.validateUnion,error:{message:"must match a schema in anyOf"}};$v.default=Sre;var wv={};Object.defineProperty(wv,"__esModule",{value:!0});const Xu=fe,_re=ge,xre={message:"must match exactly one schema in oneOf",params:({params:e})=>(0,Xu._)`{passingSchemas: ${e.passing}}`},Ore={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:xre,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 a=r,o=t.let("valid",!1),s=t.let("passing",null),l=t.name("_valid");e.setParams({passing:s}),t.block(u),e.result(o,()=>e.reset(),()=>e.error(!0));function u(){a.forEach((c,d)=>{let p;(0,_re.alwaysValidSchema)(i,c)?t.var(l,!0):p=e.subschema({keyword:"oneOf",schemaProp:d,compositeRule:!0},l),d>0&&t.if((0,Xu._)`${l} && ${o}`).assign(o,!1).assign(s,(0,Xu._)`[${s}, ${d}]`).else(),t.if(l,()=>{t.assign(o,!0),t.assign(s,d),p&&e.mergeEvaluated(p,Xu.Name)})})}}};wv.default=Ore;var bv={};Object.defineProperty(bv,"__esModule",{value:!0});const Pre=ge,Tre={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((a,o)=>{if((0,Pre.alwaysValidSchema)(n,a))return;const s=e.subschema({keyword:"allOf",schemaProp:o},i);e.ok(i),e.mergeEvaluated(s)})}};bv.default=Tre;var Ev={};Object.defineProperty(Ev,"__esModule",{value:!0});const Wc=fe,q7=ge,Are={message:({params:e})=>(0,Wc.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,Wc._)`{failingKeyword: ${e.ifClause}}`},Rre={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:Are,code(e){const{gen:t,parentSchema:r,it:n}=e;r.then===void 0&&r.else===void 0&&(0,q7.checkStrictMode)(n,'"if" without "then" and "else" is ignored');const i=r4(n,"then"),a=r4(n,"else");if(!i&&!a)return;const o=t.let("valid",!0),s=t.name("_valid");if(l(),e.reset(),i&&a){const c=t.let("ifClause");e.setParams({ifClause:c}),t.if(s,u("then",c),u("else",c))}else i?t.if(s,u("then")):t.if((0,Wc.not)(s),u("else"));e.pass(o,()=>e.error(!0));function l(){const c=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},s);e.mergeEvaluated(c)}function u(c,d){return()=>{const p=e.subschema({keyword:c},s);t.assign(o,s),e.mergeValidEvaluated(p,o),d?t.assign(d,(0,Wc._)`${c}`):e.setParams({ifClause:c})}}}};function r4(e,t){const r=e.schema[t];return r!==void 0&&!(0,q7.alwaysValidSchema)(e,r)}Ev.default=Rre;var Cv={};Object.defineProperty(Cv,"__esModule",{value:!0});const jre=ge,Ire={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){t.if===void 0&&(0,jre.checkStrictMode)(r,`"${e}" without "if" is ignored`)}};Cv.default=Ire;Object.defineProperty(dv,"__esModule",{value:!0});const Lre=Vo,Nre=fv,Mre=Ho,kre=pv,Fre=hv,Dre=df,Vre=mv,Hre=ff,Ure=vv,Bre=gv,zre=yv,Kre=$v,qre=wv,Zre=bv,Wre=Ev,Gre=Cv;function Qre(e=!1){const t=[zre.default,Kre.default,qre.default,Zre.default,Wre.default,Gre.default,Vre.default,Hre.default,Dre.default,Ure.default,Bre.default];return e?t.push(Nre.default,kre.default):t.push(Lre.default,Mre.default),t.push(Fre.default),t}dv.default=Qre;var Sv={},_v={};Object.defineProperty(_v,"__esModule",{value:!0});const rt=fe,Yre={message:({schemaCode:e})=>(0,rt.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,rt._)`{format: ${e}}`},Jre={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:Yre,code(e,t){const{gen:r,data:n,$data:i,schema:a,schemaCode:o,it:s}=e,{opts:l,errSchemaPath:u,schemaEnv:c,self:d}=s;if(!l.validateFormats)return;i?p():f();function p(){const m=r.scopeValue("formats",{ref:d.formats,code:l.code.formats}),v=r.const("fDef",(0,rt._)`${m}[${o}]`),$=r.let("fType"),h=r.let("format");r.if((0,rt._)`typeof ${v} == "object" && !(${v} instanceof RegExp)`,()=>r.assign($,(0,rt._)`${v}.type || "string"`).assign(h,(0,rt._)`${v}.validate`),()=>r.assign($,(0,rt._)`"string"`).assign(h,v)),e.fail$data((0,rt.or)(g(),y()));function g(){return l.strictSchema===!1?rt.nil:(0,rt._)`${o} && !${h}`}function y(){const b=c.$async?(0,rt._)`(${v}.async ? await ${h}(${n}) : ${h}(${n}))`:(0,rt._)`${h}(${n})`,O=(0,rt._)`(typeof ${h} == "function" ? ${b} : ${h}.test(${n}))`;return(0,rt._)`${h} && ${h} !== true && ${$} === ${t} && !${O}`}}function f(){const m=d.formats[a];if(!m){g();return}if(m===!0)return;const[v,$,h]=y(m);v===t&&e.pass(b());function g(){if(l.strictSchema===!1){d.logger.warn(O());return}throw new Error(O());function O(){return`unknown format "${a}" ignored in schema at path "${u}"`}}function y(O){const S=O instanceof RegExp?(0,rt.regexpCode)(O):l.code.formats?(0,rt._)`${l.code.formats}${(0,rt.getProperty)(a)}`:void 0,_=r.scopeValue("formats",{key:a,ref:O,code:S});return typeof O=="object"&&!(O instanceof RegExp)?[O.type||"string",O.validate,(0,rt._)`${_}.validate`]:["string",O,_]}function b(){if(typeof m=="object"&&!(m instanceof RegExp)&&m.async){if(!c.$async)throw new Error("async format in sync schema");return(0,rt._)`await ${h}(${n})`}return typeof $=="function"?(0,rt._)`${h}(${n})`:(0,rt._)`${h}.test(${n})`}}}};_v.default=Jre;Object.defineProperty(Sv,"__esModule",{value:!0});const Xre=_v,ene=[Xre.default];Sv.default=ene;var vo={};Object.defineProperty(vo,"__esModule",{value:!0});vo.contentVocabulary=vo.metadataVocabulary=void 0;vo.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];vo.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"];Object.defineProperty(cf,"__esModule",{value:!0});const tne=Y0,rne=X0,nne=dv,ine=Sv,n4=vo,ane=[tne.default,rne.default,(0,nne.default)(),ine.default,n4.metadataVocabulary,n4.contentVocabulary];cf.default=ane;var pf={},Z7={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DiscrError=void 0,function(t){t.Tag="tag",t.Mapping="mapping"}(e.DiscrError||(e.DiscrError={}))})(Z7);Object.defineProperty(pf,"__esModule",{value:!0});const Aa=fe,uh=Z7,i4=Pt,one=ge,sne={message:({params:{discrError:e,tagName:t}})=>e===uh.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:r}})=>(0,Aa._)`{error: ${e}, tag: ${r}, tagValue: ${t}}`},lne={keyword:"discriminator",type:"object",schemaType:"object",error:sne,code(e){const{gen:t,data:r,schema:n,parentSchema:i,it:a}=e,{oneOf:o}=i;if(!a.opts.discriminator)throw new Error("discriminator: requires discriminator option");const s=n.propertyName;if(typeof s!="string")throw new Error("discriminator: requires propertyName");if(n.mapping)throw new Error("discriminator: mapping is not supported");if(!o)throw new Error("discriminator: requires oneOf keyword");const l=t.let("valid",!1),u=t.const("tag",(0,Aa._)`${r}${(0,Aa.getProperty)(s)}`);t.if((0,Aa._)`typeof ${u} == "string"`,()=>c(),()=>e.error(!1,{discrError:uh.DiscrError.Tag,tag:u,tagName:s})),e.ok(l);function c(){const f=p();t.if(!1);for(const m in f)t.elseIf((0,Aa._)`${u} === ${m}`),t.assign(l,d(f[m]));t.else(),e.error(!1,{discrError:uh.DiscrError.Mapping,tag:u,tagName:s}),t.endIf()}function d(f){const m=t.name("valid"),v=e.subschema({keyword:"oneOf",schemaProp:f},m);return e.mergeEvaluated(v,Aa.Name),m}function p(){var f;const m={},v=h(i);let $=!0;for(let b=0;bthis.addVocabulary(m)),this.opts.discriminator&&this.addKeyword(i.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const m=this.opts.$data?this.$dataMetaSchema(a,o):a;this.addMetaSchema(m,s,!1),this.refs["http://json-schema.org/schema"]=s}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(s)?s:void 0)}}e.exports=t=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var u=wr;Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var c=fe;Object.defineProperty(t,"_",{enumerable:!0,get:function(){return c._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return c.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return c.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return c.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return c.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return c.CodeGen}});var d=Fo;Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return d.default}});var p=Do;Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return p.default}})})(nh,nh.exports);var W7=nh.exports;const vne=Mn(W7);var ch={exports:{}},G7={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0;function t(T,F){return{validate:T,compare:F}}e.fullFormats={date:t(a,o),time:t(l,u),"date-time":t(d,p),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:v,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:w,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:h,int32:{type:"number",validate:b},int64:{type:"number",validate:O},float:{type:"number",validate:S},double:{type:"number",validate:S},password:!0,binary:!0},e.fastFormats={...e.fullFormats,date:t(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,o),time:t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,u),"date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,p),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},e.formatNames=Object.keys(e.fullFormats);function r(T){return T%4===0&&(T%100!==0||T%400===0)}const n=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,i=[0,31,28,31,30,31,30,31,31,30,31,30,31];function a(T){const F=n.exec(T);if(!F)return!1;const N=+F[1],K=+F[2],D=+F[3];return K>=1&&K<=12&&D>=1&&D<=(K===2&&r(N)?29:i[K])}function o(T,F){if(T&&F)return T>F?1:TF?1:T=g}function O(T){return Number.isInteger(T)}function S(){return!0}const _=/[^\\]\\Z/;function w(T){if(_.test(T))return!1;try{return new RegExp(T),!0}catch{return!1}}})(G7);var Q7={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatLimitDefinition=void 0;const t=W7,r=fe,n=r.operators,i={formatMaximum:{okStr:"<=",ok:n.LTE,fail:n.GT},formatMinimum:{okStr:">=",ok:n.GTE,fail:n.LT},formatExclusiveMaximum:{okStr:"<",ok:n.LT,fail:n.GTE},formatExclusiveMinimum:{okStr:">",ok:n.GT,fail:n.LTE}},a={message:({keyword:s,schemaCode:l})=>r.str`should be ${i[s].okStr} ${l}`,params:({keyword:s,schemaCode:l})=>r._`{comparison: ${i[s].okStr}, limit: ${l}}`};e.formatLimitDefinition={keyword:Object.keys(i),type:"string",schemaType:"string",$data:!0,error:a,code(s){const{gen:l,data:u,schemaCode:c,keyword:d,it:p}=s,{opts:f,self:m}=p;if(!f.validateFormats)return;const v=new t.KeywordCxt(p,m.RULES.all.format.definition,"format");v.$data?$():h();function $(){const y=l.scopeValue("formats",{ref:m.formats,code:f.code.formats}),b=l.const("fmt",r._`${y}[${v.schemaCode}]`);s.fail$data(r.or(r._`typeof ${b} != "object"`,r._`${b} instanceof RegExp`,r._`typeof ${b}.compare != "function"`,g(b)))}function h(){const y=v.schema,b=m.formats[y];if(!b||b===!0)return;if(typeof b!="object"||b instanceof RegExp||typeof b.compare!="function")throw new Error(`"${d}": format "${y}" does not define "compare" function`);const O=l.scopeValue("formats",{key:y,ref:b,code:f.code.formats?r._`${f.code.formats}${r.getProperty(y)}`:void 0});s.fail$data(g(O))}function g(y){return r._`${y}.compare(${u}, ${c}) ${i[d].fail} 0`}},dependencies:["format"]};const o=s=>(s.addKeyword(e.formatLimitDefinition),s);e.default=o})(Q7);(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r=G7,n=Q7,i=fe,a=new i.Name("fullFormats"),o=new i.Name("fastFormats"),s=(u,c={keywords:!0})=>{if(Array.isArray(c))return l(u,c,r.fullFormats,a),u;const[d,p]=c.mode==="fast"?[r.fastFormats,o]:[r.fullFormats,a],f=c.formats||r.formatNames;return l(u,f,d,p),c.keywords&&n.default(u),u};s.get=(u,c="full")=>{const p=(c==="fast"?r.fastFormats:r.fullFormats)[u];if(!p)throw new Error(`Unknown format "${u}"`);return p};function l(u,c,d,p){var f,m;(f=(m=u.opts.code).formats)!==null&&f!==void 0||(m.formats=i._`require("ajv-formats/dist/formats").${p}`);for(const v of c)u.addFormat(v,d[v])}e.exports=t=s,Object.defineProperty(t,"__esModule",{value:!0}),t.default=s})(ch,ch.exports);var gne=ch.exports;const a4=Mn(gne);function Gc(){return Gc=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[i]=e[i]);return r}var $ne={allErrors:!0,multipleOfPrecision:8,strict:!1,verbose:!0},wne=/^(#?([0-9A-Fa-f]{3}){1,2}\b|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow|(rgb\(\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*\))|(rgb\(\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*\)))$/,bne=/^data:([a-z]+\/[a-z0-9-+.]+)?;(?:name=(.*);)?base64,(.*)$/;function Ene(e,t,r,n,i){r===void 0&&(r={}),i===void 0&&(i=vne);var a=new i(Gc({},$ne,r));return n?a4(a,n):n!==!1&&a4(a),a.addFormat("data-url",bne),a.addFormat("color",wne),a.addKeyword(Mo),a.addKeyword(R0),Array.isArray(e)&&a.addMetaSchema(e),st(t)&&Object.keys(t).forEach(function(o){a.addFormat(o,t[o])}),a}var Cne=["instancePath","keyword","params","schemaPath","parentSchema"];function Sne(e,t){return e===void 0&&(e=[]),e.map(function(r){var n=r.instancePath,i=r.keyword,a=r.params,o=r.schemaPath,s=r.parentSchema,l=yne(r,Cne),u=l.message,c=u===void 0?"":u,d=n.replace(/\//g,"."),p=(d+" "+c).trim();if("missingProperty"in a){d=d?d+"."+a.missingProperty:a.missingProperty;var f=a.missingProperty,m=Se(oe(t,""+d.replace(/^\./,""))).title;if(m)c=c.replace(f,m);else{var v=oe(s,[ft,f,"title"]);v&&(c=c.replace(f,v))}p=c}else{var $=Se(oe(t,""+d.replace(/^\./,""))).title;if($)p=("'"+$+"' "+c).trim();else{var h=s==null?void 0:s.title;h&&(p=("'"+h+"' "+c).trim())}}return{name:i,property:d,message:c,params:a,stack:p,schemaPath:o}})}function _ne(e,t,r,n,i,a,o){var s=t.validationError,l=Sne(t.errors,o);s&&(l=[].concat(l,[{stack:s.message}])),typeof a=="function"&&(l=a(l,o));var u=EX(l);if(s&&(u=Gc({},u,{$schema:{__errors:[s.message]}})),typeof i!="function")return{errors:l,errorSchema:u};var c=o7(e,n,r,n,!0),d=i(c,Xp(c),o),p=h7(d);return Gu({errors:l,errorSchema:u},p)}var xne=function(){function e(r,n){this.ajv=void 0,this.localizer=void 0;var i=r.additionalMetaSchemas,a=r.customFormats,o=r.ajvOptionsOverrides,s=r.ajvFormatOptions,l=r.AjvClass;this.ajv=Ene(i,a,o,s,l),this.localizer=n}var t=e.prototype;return t.toErrorList=function(n,i){return i===void 0&&(i=[]),vl(n,i)},t.rawValidation=function(n,i){var a=void 0,o;n[si]&&(o=this.ajv.getSchema(n[si]));try{o===void 0&&(o=this.ajv.compile(n)),o(i)}catch(l){a=l}var s;return o&&(typeof this.localizer=="function"&&this.localizer(o.errors),s=o.errors||void 0,o.errors=null),{errors:s,validationError:a}},t.validateFormData=function(n,i,a,o,s){var l=this.rawValidation(i,n);return _ne(this,l,n,i,a,o,s)},t.isValid=function(n,i,a){var o,s=(o=a[si])!=null?o:X8;try{var l;this.ajv.getSchema(s)===void 0&&this.ajv.addSchema(a,s);var u=U0(n),c=(l=u[si])!=null?l:vX(u),d;d=this.ajv.getSchema(c),d===void 0&&(d=this.ajv.addSchema(u,c).getSchema(c)||this.ajv.compile(u));var p=d(i);return p}catch(f){return console.warn("Error encountered compiling schema:",f),!1}finally{this.ajv.removeSchema(s)}},e}();function Y7(e,t){return e===void 0&&(e={}),new xne(e,t)}var One=Y7();let Pne=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,r)=>(r&=63,r<36?t+=r.toString(36):r<62?t+=(r-26).toString(36).toUpperCase():r>62?t+="-":t+="_",t),"");function Fi(){return Fi=Object.assign||function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),s4={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},Ane=["style","script"],Rne=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,jne=/mailto:/i,Ine=/\n{2,}$/,J7=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,Lne=/^ *> ?/gm,Nne=/^ {2,}\n/,Mne=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,X7=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,e6=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,kne=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,Fne=/^(?:\n *)*\n/,Dne=/\r\n?/g,Vne=/^\[\^([^\]]+)](:.*)\n/,Hne=/^\[\^([^\]]+)]/,Une=/\f/g,Bne=/^\s*?\[(x|\s)\]/,t6=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,r6=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,dh=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,zne=/&([a-zA-Z]+);/g,n6=/^)/,Kne=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,fh=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,qne=/^\{.*\}$/,Zne=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,Wne=/^<([^ >]+@[^ >]+)>/,Gne=/^<([^ >]+:\/[^ >]+)>/,Qne=/-([a-z])?/gi,i6=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,Yne=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,Jne=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,Xne=/^\[([^\]]*)\] ?\[([^\]]*)\]/,eie=/(\[|\])/g,tie=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,rie=/\t/g,nie=/^ *\| */,iie=/(^ *\||\| *$)/g,aie=/ *$/,oie=/^ *:-+: *$/,sie=/^ *:-+ *$/,lie=/^ *-+: *$/,uie=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,cie=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,die=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,fie=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,pie=/^\\([^0-9A-Za-z\s])/,hie=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,mie=/^\n+/,vie=/^([ \t]*)/,gie=/\\([^\\])/g,l4=/ *\n+$/,yie=/(?:^|\n)( *)$/,xv="(?:\\d+\\.)",Ov="(?:[*+-])";function a6(e){return"( *)("+(e===1?xv:Ov)+") +"}const o6=a6(1),s6=a6(2);function l6(e){return new RegExp("^"+(e===1?o6:s6))}const $ie=l6(1),wie=l6(2);function u6(e){return new RegExp("^"+(e===1?o6:s6)+"[^\\n]*(?:\\n(?!\\1"+(e===1?xv:Ov)+" )[^\\n]*)*(\\n|$)","gm")}const c6=u6(1),d6=u6(2);function f6(e){const t=e===1?xv:Ov;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const p6=f6(1),h6=f6(2);function u4(e,t){const r=t===1,n=r?p6:h6,i=r?c6:d6,a=r?$ie:wie;return{t(o,s,l){const u=yie.exec(l);return u&&(s.o||!s._&&!s.u)?n.exec(o=u[1]+o):null},i:we.HIGH,l(o,s,l){const u=r?+o[2]:void 0,c=o[0].replace(Ine,` @@ -76,12 +76,12 @@ Error generating stack: `+a.message+` `).every(a=>!m6.some(o=>o.test(a))&&(n+=a+` `,a.trim()));const i=n.trimEnd();return i==""?null:[n,i]}function xa(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return null}catch{return null}return e}function f4(e){return e.replace(gie,"$1")}function ec(e,t,r){const n=r._||!1,i=r.u||!1;r._=!0,r.u=!0;const a=e(t,r);return r._=n,r.u=i,a}function Pie(e,t,r){const n=r._||!1,i=r.u||!1;r._=!1,r.u=!0;const a=e(t,r);return r._=n,r.u=i,a}function Tie(e,t,r){return r._=!1,e(t+` -`,r)}const b1=(e,t,r)=>({$:ec(t,e[1],r)});function E1(){return{}}function C1(){return null}function Aie(...e){return e.filter(Boolean).join(" ")}function S1(e,t,r){let n=e;const i=t.split(".");for(;i.length&&(n=n[i[0]],n!==void 0);)i.shift();return n||r}var we;function Rie(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||Sie,t.namedCodesToUnicode=t.namedCodesToUnicode?Fi({},s4,t.namedCodesToUnicode):s4;const r=t.createElement||j.createElement;function n(f,m,...v){const $=S1(t.overrides,`${f}.props`,{});return r(function(h,g){const y=S1(g,h);return y?typeof y=="function"||typeof y=="object"&&"render"in y?y:S1(g,`${h}.component`,h):h}(f,t.overrides),Fi({},m,$,{className:Aie(m==null?void 0:m.className,$.className)||void 0}),...v)}function i(f){let m=!1;t.forceInline?m=!0:t.forceBlock||(m=tie.test(f)===!1);const v=c(u(m?f:`${f.trimEnd().replace(mie,"")} +`,r)}const b1=(e,t,r)=>({$:ec(t,e[1],r)});function E1(){return{}}function C1(){return null}function Aie(...e){return e.filter(Boolean).join(" ")}function S1(e,t,r){let n=e;const i=t.split(".");for(;i.length&&(n=n[i[0]],n!==void 0);)i.shift();return n||r}var we;function Rie(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||Sie,t.namedCodesToUnicode=t.namedCodesToUnicode?Fi({},s4,t.namedCodesToUnicode):s4;const r=t.createElement||R.createElement;function n(f,m,...v){const $=S1(t.overrides,`${f}.props`,{});return r(function(h,g){const y=S1(g,h);return y?typeof y=="function"||typeof y=="object"&&"render"in y?y:S1(g,`${h}.component`,h):h}(f,t.overrides),Fi({},m,$,{className:Aie(m==null?void 0:m.className,$.className)||void 0}),...v)}function i(f){let m=!1;t.forceInline?m=!0:t.forceBlock||(m=tie.test(f)===!1);const v=c(u(m?f:`${f.trimEnd().replace(mie,"")} -`,{_:m}));for(;typeof v[v.length-1]=="string"&&!v[v.length-1].trim();)v.pop();if(t.wrapper===null)return v;const $=t.wrapper||(m?"span":"div");let h;if(v.length>1||t.forceWrapper)h=v;else{if(v.length===1)return h=v[0],typeof h=="string"?n("span",{key:"outer"},h):h;h=null}return j.createElement($,{key:"outer"},h)}function a(f){const m=f.match(Rne);return m?m.reduce(function(v,$,h){const g=$.indexOf("=");if(g!==-1){const y=function(_){return _.indexOf("-")!==-1&&_.match(Kne)===null&&(_=_.replace(Qne,function(w,T){return T.toUpperCase()})),_}($.slice(0,g)).trim(),b=function(_){const w=_[0];return(w==='"'||w==="'")&&_.length>=2&&_[_.length-1]===w?_.slice(1,-1):_}($.slice(g+1).trim()),O=o4[y]||y,S=v[O]=function(_,w){return _==="style"?w.split(/;\s?/).reduce(function(T,F){const N=F.slice(0,F.indexOf(":"));return T[N.replace(/(-[a-z])/g,K=>K[1].toUpperCase())]=F.slice(N.length+1).trim(),T},{}):_==="href"?xa(w):(w.match(qne)&&(w=w.slice(1,w.length-1)),w==="true"||w!=="false"&&w)}(y,b);typeof S=="string"&&(dh.test(S)||fh.test(S))&&(v[O]=j.cloneElement(i(S.trim()),{key:h}))}else $!=="style"&&(v[o4[$]||$]=!0);return v},{}):null}const o=[],s={},l={blockQuote:{t:$n(J7),i:we.HIGH,l:(f,m,v)=>({$:m(f[0].replace(Lne,""),v)}),h:(f,m,v)=>n("blockquote",{key:v.k},m(f.$,v))},breakLine:{t:cs(Nne),i:we.HIGH,l:E1,h:(f,m,v)=>n("br",{key:v.k})},breakThematic:{t:$n(Mne),i:we.HIGH,l:E1,h:(f,m,v)=>n("hr",{key:v.k})},codeBlock:{t:$n(e6),i:we.MAX,l:f=>({$:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(f,m,v)=>n("pre",{key:v.k},n("code",Fi({},f.I,{className:f.M?`lang-${f.M}`:""}),f.$))},codeFenced:{t:$n(X7),i:we.MAX,l:f=>({I:a(f[3]||""),$:f[4],M:f[2]||void 0,type:"codeBlock"})},codeInline:{t:Qn(kne),i:we.LOW,l:f=>({$:f[2]}),h:(f,m,v)=>n("code",{key:v.k},f.$)},footnote:{t:$n(Vne),i:we.MAX,l:f=>(o.push({O:f[2],B:f[1]}),{}),h:C1},footnoteReference:{t:Gn(Hne),i:we.HIGH,l:f=>({$:f[1],R:`#${t.slugify(f[1])}`}),h:(f,m,v)=>n("a",{key:v.k,href:xa(f.R)},n("sup",{key:v.k},f.$))},gfmTask:{t:Gn(Bne),i:we.HIGH,l:f=>({T:f[1].toLowerCase()==="x"}),h:(f,m,v)=>n("input",{checked:f.T,key:v.k,readOnly:!0,type:"checkbox"})},heading:{t:$n(t6),i:we.HIGH,l:(f,m,v)=>({$:ec(m,f[2],v),j:t.slugify(f[2]),C:f[1].length}),h:(f,m,v)=>n(`h${f.C}`,{id:f.j,key:v.k},m(f.$,v))},headingSetext:{t:$n(r6),i:we.MAX,l:(f,m,v)=>({$:ec(m,f[1],v),C:f[2]==="="?1:2,type:"heading"})},htmlComment:{t:cs(n6),i:we.HIGH,l:()=>({}),h:C1},image:{t:Qn(Eie),i:we.HIGH,l:f=>({D:f[1],R:f4(f[2]),N:f[3]}),h:(f,m,v)=>n("img",{key:v.k,alt:f.D||void 0,title:f.N||void 0,src:xa(f.R)})},link:{t:Gn(bie),i:we.LOW,l:(f,m,v)=>({$:Pie(m,f[1],v),R:f4(f[2]),N:f[3]}),h:(f,m,v)=>n("a",{key:v.k,href:xa(f.R),title:f.N},m(f.$,v))},linkAngleBraceStyleDetector:{t:Gn(Gne),i:we.MAX,l:f=>({$:[{$:f[1],type:"text"}],R:f[1],type:"link"})},linkBareUrlDetector:{t:(f,m)=>m.Z?null:Gn(Zne)(f,m),i:we.MAX,l:f=>({$:[{$:f[1],type:"text"}],R:f[1],N:void 0,type:"link"})},linkMailtoDetector:{t:Gn(Wne),i:we.MAX,l(f){let m=f[1],v=f[1];return jne.test(v)||(v="mailto:"+v),{$:[{$:m.replace("mailto:",""),type:"text"}],R:v,type:"link"}}},orderedList:u4(n,1),unorderedList:u4(n,2),newlineCoalescer:{t:$n(Fne),i:we.LOW,l:E1,h:()=>` +`,{_:m}));for(;typeof v[v.length-1]=="string"&&!v[v.length-1].trim();)v.pop();if(t.wrapper===null)return v;const $=t.wrapper||(m?"span":"div");let h;if(v.length>1||t.forceWrapper)h=v;else{if(v.length===1)return h=v[0],typeof h=="string"?n("span",{key:"outer"},h):h;h=null}return R.createElement($,{key:"outer"},h)}function a(f){const m=f.match(Rne);return m?m.reduce(function(v,$,h){const g=$.indexOf("=");if(g!==-1){const y=function(_){return _.indexOf("-")!==-1&&_.match(Kne)===null&&(_=_.replace(Qne,function(w,T){return T.toUpperCase()})),_}($.slice(0,g)).trim(),b=function(_){const w=_[0];return(w==='"'||w==="'")&&_.length>=2&&_[_.length-1]===w?_.slice(1,-1):_}($.slice(g+1).trim()),O=o4[y]||y,S=v[O]=function(_,w){return _==="style"?w.split(/;\s?/).reduce(function(T,F){const N=F.slice(0,F.indexOf(":"));return T[N.replace(/(-[a-z])/g,K=>K[1].toUpperCase())]=F.slice(N.length+1).trim(),T},{}):_==="href"?xa(w):(w.match(qne)&&(w=w.slice(1,w.length-1)),w==="true"||w!=="false"&&w)}(y,b);typeof S=="string"&&(dh.test(S)||fh.test(S))&&(v[O]=R.cloneElement(i(S.trim()),{key:h}))}else $!=="style"&&(v[o4[$]||$]=!0);return v},{}):null}const o=[],s={},l={blockQuote:{t:$n(J7),i:we.HIGH,l:(f,m,v)=>({$:m(f[0].replace(Lne,""),v)}),h:(f,m,v)=>n("blockquote",{key:v.k},m(f.$,v))},breakLine:{t:cs(Nne),i:we.HIGH,l:E1,h:(f,m,v)=>n("br",{key:v.k})},breakThematic:{t:$n(Mne),i:we.HIGH,l:E1,h:(f,m,v)=>n("hr",{key:v.k})},codeBlock:{t:$n(e6),i:we.MAX,l:f=>({$:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(f,m,v)=>n("pre",{key:v.k},n("code",Fi({},f.I,{className:f.M?`lang-${f.M}`:""}),f.$))},codeFenced:{t:$n(X7),i:we.MAX,l:f=>({I:a(f[3]||""),$:f[4],M:f[2]||void 0,type:"codeBlock"})},codeInline:{t:Qn(kne),i:we.LOW,l:f=>({$:f[2]}),h:(f,m,v)=>n("code",{key:v.k},f.$)},footnote:{t:$n(Vne),i:we.MAX,l:f=>(o.push({O:f[2],B:f[1]}),{}),h:C1},footnoteReference:{t:Gn(Hne),i:we.HIGH,l:f=>({$:f[1],R:`#${t.slugify(f[1])}`}),h:(f,m,v)=>n("a",{key:v.k,href:xa(f.R)},n("sup",{key:v.k},f.$))},gfmTask:{t:Gn(Bne),i:we.HIGH,l:f=>({T:f[1].toLowerCase()==="x"}),h:(f,m,v)=>n("input",{checked:f.T,key:v.k,readOnly:!0,type:"checkbox"})},heading:{t:$n(t6),i:we.HIGH,l:(f,m,v)=>({$:ec(m,f[2],v),j:t.slugify(f[2]),C:f[1].length}),h:(f,m,v)=>n(`h${f.C}`,{id:f.j,key:v.k},m(f.$,v))},headingSetext:{t:$n(r6),i:we.MAX,l:(f,m,v)=>({$:ec(m,f[1],v),C:f[2]==="="?1:2,type:"heading"})},htmlComment:{t:cs(n6),i:we.HIGH,l:()=>({}),h:C1},image:{t:Qn(Eie),i:we.HIGH,l:f=>({D:f[1],R:f4(f[2]),N:f[3]}),h:(f,m,v)=>n("img",{key:v.k,alt:f.D||void 0,title:f.N||void 0,src:xa(f.R)})},link:{t:Gn(bie),i:we.LOW,l:(f,m,v)=>({$:Pie(m,f[1],v),R:f4(f[2]),N:f[3]}),h:(f,m,v)=>n("a",{key:v.k,href:xa(f.R),title:f.N},m(f.$,v))},linkAngleBraceStyleDetector:{t:Gn(Gne),i:we.MAX,l:f=>({$:[{$:f[1],type:"text"}],R:f[1],type:"link"})},linkBareUrlDetector:{t:(f,m)=>m.Z?null:Gn(Zne)(f,m),i:we.MAX,l:f=>({$:[{$:f[1],type:"text"}],R:f[1],N:void 0,type:"link"})},linkMailtoDetector:{t:Gn(Wne),i:we.MAX,l(f){let m=f[1],v=f[1];return jne.test(v)||(v="mailto:"+v),{$:[{$:m.replace("mailto:",""),type:"text"}],R:v,type:"link"}}},orderedList:u4(n,1),unorderedList:u4(n,2),newlineCoalescer:{t:$n(Fne),i:we.LOW,l:E1,h:()=>` `},paragraph:{t:Oie,i:we.LOW,l:b1,h:(f,m,v)=>n("p",{key:v.k},m(f.$,v))},ref:{t:Gn(Yne),i:we.MAX,l:f=>(s[f[1]]={R:f[2],N:f[4]},{}),h:C1},refImage:{t:Qn(Jne),i:we.MAX,l:f=>({D:f[1]||void 0,F:f[2]}),h:(f,m,v)=>n("img",{key:v.k,alt:f.D,src:xa(s[f.F].R),title:s[f.F].N})},refLink:{t:Gn(Xne),i:we.MAX,l:(f,m,v)=>({$:m(f[1],v),P:m(f[0].replace(eie,"\\$1"),v),F:f[2]}),h:(f,m,v)=>s[f.F]?n("a",{key:v.k,href:xa(s[f.F].R),title:s[f.F].N},m(f.$,v)):n("span",{key:v.k},m(f.P,v))},table:{t:$n(i6),i:we.HIGH,l:xie,h:(f,m,v)=>n("table",{key:v.k},n("thead",null,n("tr",null,f.L.map(function($,h){return n("th",{key:h,style:d4(f,h)},m($,v))}))),n("tbody",null,f.A.map(function($,h){return n("tr",{key:h},$.map(function(g,y){return n("td",{key:y,style:d4(f,y)},m(g,v))}))})))},tableSeparator:{t:function(f,m){return m.v?nie.exec(f):null},i:we.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:cs(hie),i:we.MIN,l:f=>({$:f[0].replace(zne,(m,v)=>t.namedCodesToUnicode[v]?t.namedCodesToUnicode[v]:m)}),h:f=>f.$},textBolded:{t:Qn(uie),i:we.MED,l:(f,m,v)=>({$:m(f[2],v)}),h:(f,m,v)=>n("strong",{key:v.k},m(f.$,v))},textEmphasized:{t:Qn(cie),i:we.LOW,l:(f,m,v)=>({$:m(f[2],v)}),h:(f,m,v)=>n("em",{key:v.k},m(f.$,v))},textEscaped:{t:Qn(pie),i:we.HIGH,l:f=>({$:f[1],type:"text"})},textMarked:{t:Qn(die),i:we.LOW,l:b1,h:(f,m,v)=>n("mark",{key:v.k},m(f.$,v))},textStrikethroughed:{t:Qn(fie),i:we.LOW,l:b1,h:(f,m,v)=>n("del",{key:v.k},m(f.$,v))}};t.disableParsingRawHTML!==!0&&(l.htmlBlock={t:cs(dh),i:we.HIGH,l(f,m,v){const[,$]=f[3].match(vie),h=new RegExp(`^${$}`,"gm"),g=f[3].replace(h,""),y=(b=g,Cie.some(w=>w.test(b))?Tie:ec);var b;const O=f[1].toLowerCase(),S=Ane.indexOf(O)!==-1;v.Z=v.Z||O==="a";const _=S?f[3]:y(m,g,v);return v.Z=!1,{I:a(f[2]),$:_,G:S,H:S?O:f[1]}},h:(f,m,v)=>n(f.H,Fi({key:v.k},f.I),f.G?f.$:m(f.$,v))},l.htmlSelfClosing={t:cs(fh),i:we.HIGH,l:f=>({I:a(f[2]||""),H:f[1]}),h:(f,m,v)=>n(f.H,Fi({},f.I,{key:v.k}))});const u=function(f){let m=Object.keys(f);function v($,h){let g=[],y="";for(;$;){let b=0;for(;b{let{children:t,options:r}=e,n=function(i,a){if(i==null)return{};var o,s,l={},u=Object.keys(i);for(s=0;s=0||(l[o]=i[o]);return l}(e,Tne);return j.cloneElement(Rie(t,r),n)};function jie(e,t){for(var r=0;r=0)&&(r[i]=e[i]);return r}function Lie(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Nie(e){var t=Lie(e,"string");return typeof t=="symbol"?t:String(t)}var Mie=["widget","title"],kie=["widget","title"],Fie=["widget","title"];function hh(){return Pne()}function p4(e){return Array.isArray(e)?e.map(function(t){return{key:hh(),item:t}}):[]}function ds(e){return Array.isArray(e)?e.map(function(t){return t.item}):[]}var Die=function(e){Hl(t,e);function t(n){var i;i=e.call(this,n)||this,i._getNewFormDataRow=function(){var l=i.props,u=l.schema,c=l.registry,d=c.schemaUtils,p=u.items;return th(u)&&TJ(u)&&(p=u.additionalItems),d.getDefaultFormState(p)},i.onAddClick=function(l){i._handleAddClick(l)},i.onAddIndexClick=function(l){return function(u){i._handleAddClick(u,l)}},i.onCopyIndexClick=function(l){return function(u){u&&u.preventDefault();var c=i.props.onChange,d=i.state.keyedFormData,p={key:hh(),item:W8(d[l].item)},f=[].concat(d);l!==void 0?f.splice(l+1,0,p):f.push(p),i.setState({keyedFormData:f,updatedKeyedFormData:!0},function(){return c(ds(f))})}},i.onDropIndexClick=function(l){return function(u){u&&u.preventDefault();var c=i.props,d=c.onChange,p=c.errorSchema,f=i.state.keyedFormData,m;if(p){m={};for(var v in p){var $=parseInt(v);$l&&hr(m,[$-1],p[v])}}var h=f.filter(function(g,y){return y!==l});i.setState({keyedFormData:h,updatedKeyedFormData:!0},function(){return d(ds(h),m)})}},i.onReorderClick=function(l,u){return function(c){c&&(c.preventDefault(),c.currentTarget.blur());var d=i.props,p=d.onChange,f=d.errorSchema,m;if(f){m={};for(var v in f){var $=parseInt(v);$==l?hr(m,[u],f[l]):$==u?hr(m,[l],f[u]):hr(m,[v],f[$])}}var h=i.state.keyedFormData;function g(){var b=h.slice();return b.splice(l,1),b.splice(u,0,h[l]),b}var y=g();i.setState({keyedFormData:y},function(){return p(ds(y),m)})}},i.onChangeForIndex=function(l){return function(u,c,d){var p,f=i.props,m=f.formData,v=f.onChange,$=f.errorSchema,h=Array.isArray(m)?m:[],g=h.map(function(y,b){var O=typeof u>"u"?null:u;return l===b?O:y});v(g,$&&$&&ne({},$,(p={},p[l]=c,p)),d)}},i.onSelectChange=function(l){var u=i.props,c=u.onChange,d=u.idSchema;c(l,void 0,d&&d.$id)};var a=n.formData,o=a===void 0?[]:a,s=p4(o);return i.state={keyedFormData:s,updatedKeyedFormData:!1},i}t.getDerivedStateFromProps=function(i,a){if(a.updatedKeyedFormData)return{updatedKeyedFormData:!1};var o=Array.isArray(i.formData)?i.formData:[],s=a.keyedFormData||[],l=o.length===s.length?s.map(function(u,c){return{key:u.key,item:o[c]}}):p4(o);return{keyedFormData:l}};var r=t.prototype;return r.isItemRequired=function(i){return Array.isArray(i.type)?!i.type.includes("null"):i.type!=="null"},r.canAddItem=function(i){var a=this.props,o=a.schema,s=a.uiSchema,l=a.registry,u=Se(s,l.globalUiOptions),c=u.addable;return c!==!1&&(o.maxItems!==void 0?c=i.length0,canMoveDown:k=R.length,mt=xe&&st(o.additionalItems)?Z.retrieveSchema(o.additionalItems,ce):R[J],Vr=v.$id+m+J,fn=Z.toIdSchema(mt,Vr,ce,p,m),pn=xe?l.additionalItems||{}:Array.isArray(l.items)?l.items[J]:l.items||{},ct=d?d[J]:void 0;return i.renderArrayFieldItem({key:W,index:J,name:$&&$+"-"+J,canAdd:k,canRemove:xe,canMoveUp:J>=R.length+1,canMoveDown:xe&&J=0?f[y]:void 0,O=p>=0?f[p]:void 0,S=g.sanitizeDataForNewSchema(b,O,v);S&&b&&(S=g.getDefaultFormState(b,S,"excludeObjectChildren")),$(S,void 0,i.getFieldId()),i.setState({selectedOption:y})}};var a=i.props,o=a.formData,s=a.options,l=a.registry.schemaUtils,u=s.map(function(c){return l.retrieveSchema(c,o)});return i.state={retrievedOptions:u,selectedOption:i.getMatchingOption(0,o,u)},i}var r=t.prototype;return r.componentDidUpdate=function(i,a){var o=this.props,s=o.formData,l=o.options,u=o.idSchema,c=this.state.selectedOption,d=this.state;if(!nn(i.options,l)){var p=this.props.registry.schemaUtils,f=l.map(function(h){return p.retrieveSchema(h,s)});d={selectedOption:c,retrievedOptions:f}}if(!nn(s,i.formData)&&u.$id===i.idSchema.$id){var m=d,v=m.retrievedOptions,$=this.getMatchingOption(c,s,v);a&&$!==c&&(d={selectedOption:$,retrievedOptions:v})}d!==this.state&&this.setState(d)},r.getMatchingOption=function(i,a,o){var s=this.props,l=s.schema,u=s.registry.schemaUtils,c=fl(l),d=u.getClosestMatchingOption(a,o,i,c);return d},r.getFieldId=function(){var i=this.props,a=i.idSchema,o=i.schema;return""+a.$id+(o.oneOf?"__oneof_select":"__anyof_select")},r.render=function(){var i=this.props,a=i.name,o=i.baseType,s=i.disabled,l=s===void 0?!1:s,u=i.errorSchema,c=u===void 0?{}:u,d=i.formContext,p=i.onBlur,f=i.onFocus,m=i.registry,v=i.schema,$=i.uiSchema,h=m.widgets,g=m.fields,y=m.translateString,b=m.globalUiOptions,O=m.schemaUtils,S=g.SchemaField,_=this.state,w=_.selectedOption,T=_.retrievedOptions,F=Se($,b),N=F.widget,K=N===void 0?"select":N,D=F.placeholder,U=F.autofocus,te=F.autocomplete,ae=F.title,he=ae===void 0?v.title:ae,Z=br(F,Uie),ee=On({type:"number"},K,h),M=oe(c,Lr,[]),R=Ic(c,[Lr]),H=O.getDisplayLabel(v,$,b),k=w>=0&&T[w]||null,x;k&&(x=k.type?k:Object.assign({},k,{type:o}));var A=he?Ee.TitleOptionPrefix:Ee.OptionPrefix,V=he?[he]:[],J=T.map(function(W,ue){return{label:W.title||y(A,V.concat(String(ue+1))),value:ue}});return E.jsxs("div",{className:"panel panel-default panel-body",children:[E.jsx("div",{className:"form-group",children:E.jsx(ee,{id:this.getFieldId(),name:""+a+(v.oneOf?"__oneof_select":"__anyof_select"),schema:{type:"number",default:0},onChange:this.onOptionChange,onBlur:p,onFocus:f,disabled:l||na(J),multiple:!1,rawErrors:M,errorSchema:R,value:w>=0?w:void 0,options:ne({enumOptions:J},Z),registry:m,formContext:d,placeholder:D,autocomplete:te,autofocus:U,label:he??a,hideLabel:!H})}),k!==null&&E.jsx(S,ne({},this.props,{schema:x}))]})},t}(j.Component),Bie=/\.([0-9]*0)*$/,zie=/[0.]0*$/;function Kie(e){var t=e.registry,r=e.onChange,n=e.formData,i=e.value,a=j.useState(i),o=a[0],s=a[1],l=t.fields.StringField,u=n,c=j.useCallback(function(p){s(p),(""+p).charAt(0)==="."&&(p="0"+p);var f=typeof p=="string"&&p.match(Bie)?M$(p.replace(zie,"")):M$(p);r(f)},[r]);if(typeof o=="string"&&typeof u=="number"){var d=new RegExp((""+u).replace(".","\\.")+"\\.?0*$");o.match(d)&&(u=o)}return E.jsx(l,ne({},e,{formData:u,onChange:c}))}var qie=function(e){Hl(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o0&&ce.push("field-error has-error has-danger"),n!=null&&n.classNames&&ce.push(n.classNames),y.classNames&&ce.push(y.classNames);var xe=E.jsx(S,{help:W,idSchema:F,schema:w,uiSchema:n,hasErrors:!ae&&M&&M.length>0,registry:f}),mt=ae?void 0:E.jsx(_,{errors:M,errorSchema:a,idSchema:F,schema:w,uiSchema:n,registry:f}),Vr={description:E.jsx(O,{id:ga(x),description:J,schema:w,uiSchema:n,registry:f}),rawDescription:V,help:xe,rawHelp:typeof W=="string"?W:void 0,errors:mt,rawErrors:ae?void 0:M,id:x,label:A,hidden:ue,onChange:u,onKeyChange:c,onDropPropertyClick:d,required:p,disabled:D,readonly:U,hideError:ae,displayLabel:Z,classNames:ce.join(" ").trim(),style:y.style,formContext:$,formData:i,schema:w,uiSchema:n,registry:f},fn=f.fields.AnyOfField,pn=f.fields.OneOfField,ct=(n==null?void 0:n["ui:field"])&&(n==null?void 0:n["ui:fieldReplacesAnyOrOneOf"])===!0;return E.jsx(b,ne({},Vr,{children:E.jsxs(E.Fragment,{children:[k,w.anyOf&&!ct&&!h.isSelect(w)&&E.jsx(fn,{name:l,disabled:D,readonly:U,hideError:ae,errorSchema:a,formData:i,formContext:$,idPrefix:o,idSchema:F,idSeparator:s,onBlur:e.onBlur,onChange:e.onChange,onFocus:e.onFocus,options:w.anyOf.map(function(Bt){return h.retrieveSchema(st(Bt)?Bt:{},i)}),baseType:w.type,registry:f,schema:w,uiSchema:n}),w.oneOf&&!ct&&!h.isSelect(w)&&E.jsx(pn,{name:l,disabled:D,readonly:U,hideError:ae,errorSchema:a,formData:i,formContext:$,idPrefix:o,idSchema:F,idSeparator:s,onBlur:e.onBlur,onChange:e.onChange,onFocus:e.onFocus,options:w.oneOf.map(function(Bt){return h.retrieveSchema(st(Bt)?Bt:{},i)}),baseType:w.type,registry:f,schema:w,uiSchema:n})]})}))}var Yie=function(e){Hl(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.shouldComponentUpdate=function(i){return!nn(this.props,i)},r.render=function(){return E.jsx(Qie,ne({},this.props))},t}(j.Component),Jie=["widget","placeholder","title"];function Xie(e){var t,r=e.schema,n=e.name,i=e.uiSchema,a=e.idSchema,o=e.formData,s=e.required,l=e.disabled,u=l===void 0?!1:l,c=e.readonly,d=c===void 0?!1:c,p=e.autofocus,f=p===void 0?!1:p,m=e.onChange,v=e.onBlur,$=e.onFocus,h=e.registry,g=e.rawErrors,y=r.title,b=r.format,O=h.widgets,S=h.formContext,_=h.schemaUtils,w=h.globalUiOptions,T=_.isSelect(r)?Bc(r):void 0,F=T?"select":"text";b&&gX(r,b,O)&&(F=b);var N=Se(i),K=N.widget,D=K===void 0?F:K,U=N.placeholder,te=U===void 0?"":U,ae=N.title,he=br(N,Jie),Z=_.getDisplayLabel(r,i,w),ee=(t=ae??y)!=null?t:n,M=On(r,D,O);return E.jsx(M,{options:ne({},he,{enumOptions:T}),schema:r,uiSchema:i,id:a.$id,name:n,label:ee,hideLabel:!Z,value:o,onChange:m,onBlur:v,onFocus:$,required:s,disabled:u,readonly:d,formContext:S,autofocus:f,registry:h,placeholder:te,rawErrors:g})}function eae(e){var t=e.formData,r=e.onChange;return j.useEffect(function(){t===void 0&&r(null)},[t,r]),null}function tae(){return{AnyOfField:h4,ArrayField:Die,BooleanField:Hie,NumberField:Kie,ObjectField:qie,OneOfField:h4,SchemaField:Yie,StringField:Xie,NullField:eae}}function rae(e){var t=e.idSchema,r=e.description,n=e.registry,i=e.schema,a=e.uiSchema,o=Se(a,n.globalUiOptions),s=o.label,l=s===void 0?!0:s;if(!r||!l)return null;var u=ve("DescriptionFieldTemplate",n,o);return E.jsx(u,{id:ga(t),description:r,schema:i,uiSchema:a,registry:n})}function nae(e){var t=e.children,r=e.className,n=e.disabled,i=e.hasToolbar,a=e.hasMoveDown,o=e.hasMoveUp,s=e.hasRemove,l=e.hasCopy,u=e.index,c=e.onCopyIndexClick,d=e.onDropIndexClick,p=e.onReorderClick,f=e.readonly,m=e.registry,v=e.uiSchema,$=m.templates.ButtonTemplates,h=$.CopyButton,g=$.MoveDownButton,y=$.MoveUpButton,b=$.RemoveButton,O={flex:1,paddingLeft:6,paddingRight:6,fontWeight:"bold"};return E.jsxs("div",{className:r,children:[E.jsx("div",{className:i?"col-xs-9":"col-xs-12",children:t}),i&&E.jsx("div",{className:"col-xs-3 array-item-toolbox",children:E.jsxs("div",{className:"btn-group",style:{display:"flex",justifyContent:"space-around"},children:[(o||a)&&E.jsx(y,{style:O,disabled:n||f||!o,onClick:p(u,u-1),uiSchema:v,registry:m}),(o||a)&&E.jsx(g,{style:O,disabled:n||f||!a,onClick:p(u,u+1),uiSchema:v,registry:m}),l&&E.jsx(h,{style:O,disabled:n||f,onClick:c(u),uiSchema:v,registry:m}),s&&E.jsx(b,{style:O,disabled:n||f,onClick:d(u),uiSchema:v,registry:m})]})})]})}var iae=["key"];function aae(e){var t=e.canAdd,r=e.className,n=e.disabled,i=e.idSchema,a=e.uiSchema,o=e.items,s=e.onAddClick,l=e.readonly,u=e.registry,c=e.required,d=e.schema,p=e.title,f=Se(a),m=ve("ArrayFieldDescriptionTemplate",u,f),v=ve("ArrayFieldItemTemplate",u,f),$=ve("ArrayFieldTitleTemplate",u,f),h=u.templates.ButtonTemplates.AddButton;return E.jsxs("fieldset",{className:r,id:i.$id,children:[E.jsx($,{idSchema:i,title:f.title||p,required:c,schema:d,uiSchema:a,registry:u}),E.jsx(m,{idSchema:i,description:f.description||d.description,schema:d,uiSchema:a,registry:u}),E.jsx("div",{className:"row array-item-list",children:o&&o.map(function(g){var y=g.key,b=br(g,iae);return E.jsx(v,ne({},b),y)})}),t&&E.jsx(h,{className:"array-item-add",onClick:s,disabled:n||l,uiSchema:a,registry:u})]})}function oae(e){var t=e.idSchema,r=e.title,n=e.schema,i=e.uiSchema,a=e.required,o=e.registry,s=Se(i,o.globalUiOptions),l=s.label,u=l===void 0?!0:l;if(!r||!u)return null;var c=ve("TitleFieldTemplate",o,s);return E.jsx(c,{id:V0(t),title:r,required:a,schema:n,uiSchema:i,registry:o})}var sae=["id","name","value","readonly","disabled","autofocus","onBlur","onFocus","onChange","onChangeOverride","options","schema","uiSchema","formContext","registry","rawErrors","type","hideLabel","hideError"];function lae(e){var t=e.id,r=e.value,n=e.readonly,i=e.disabled,a=e.autofocus,o=e.onBlur,s=e.onFocus,l=e.onChange,u=e.onChangeOverride,c=e.options,d=e.schema,p=e.type,f=br(e,sae);if(!t)throw console.log("No id for",e),new Error("no id for props "+JSON.stringify(e));var m=ne({},f,f7(d,p,c)),v;m.type==="number"||m.type==="integer"?v=r||r===0?r:"":v=r??"";var $=j.useCallback(function(y){var b=y.target.value;return l(b===""?c.emptyValue:b)},[l,c]),h=j.useCallback(function(y){var b=y.target.value;return o(t,b)},[o,t]),g=j.useCallback(function(y){var b=y.target.value;return s(t,b)},[s,t]);return E.jsxs(E.Fragment,{children:[E.jsx("input",ne({id:t,name:t,className:"form-control",readOnly:n,disabled:i,autoFocus:a,value:v},m,{list:d.examples?ml(t):void 0,onChange:u||$,onBlur:h,onFocus:g,"aria-describedby":ir(t,!!d.examples)})),Array.isArray(d.examples)&&E.jsx("datalist",{id:ml(t),children:d.examples.concat(d.default&&!d.examples.includes(d.default)?[d.default]:[]).map(function(y){return E.jsx("option",{value:y},y)})},"datalist_"+t)]})}function uae(e){var t=e.uiSchema,r=p7(t),n=r.submitText,i=r.norender,a=r.props,o=a===void 0?{}:a;return i?null:E.jsx("div",{children:E.jsx("button",ne({type:"submit"},o,{className:"btn btn-info "+(o.className||""),children:n}))})}var cae=["iconType","icon","className","uiSchema","registry"];function Ul(e){var t=e.iconType,r=t===void 0?"default":t,n=e.icon,i=e.className,a=br(e,cae);return E.jsx("button",ne({type:"button",className:"btn btn-"+r+" "+i},a,{children:E.jsx("i",{className:"glyphicon glyphicon-"+n})}))}function dae(e){var t=e.registry.translateString;return E.jsx(Ul,ne({title:t(Ee.CopyButton),className:"array-item-copy"},e,{icon:"copy"}))}function fae(e){var t=e.registry.translateString;return E.jsx(Ul,ne({title:t(Ee.MoveDownButton),className:"array-item-move-down"},e,{icon:"arrow-down"}))}function pae(e){var t=e.registry.translateString;return E.jsx(Ul,ne({title:t(Ee.MoveUpButton),className:"array-item-move-up"},e,{icon:"arrow-up"}))}function hae(e){var t=e.registry.translateString;return E.jsx(Ul,ne({title:t(Ee.RemoveButton),className:"array-item-remove"},e,{iconType:"danger",icon:"remove"}))}function mae(e){var t=e.className,r=e.onClick,n=e.disabled,i=e.registry,a=i.translateString;return E.jsx("div",{className:"row",children:E.jsx("p",{className:"col-xs-3 col-xs-offset-9 text-right "+t,children:E.jsx(Ul,{iconType:"info",icon:"plus",className:"btn-add col-xs-12",title:a(Ee.AddButton),onClick:r,disabled:n,registry:i})})})}function vae(){return{SubmitButton:uae,AddButton:mae,CopyButton:dae,MoveDownButton:fae,MoveUpButton:pae,RemoveButton:hae}}function gae(e){var t=e.id,r=e.description;return r?typeof r=="string"?E.jsx("p",{id:t,className:"field-description",children:r}):E.jsx("div",{id:t,className:"field-description",children:r}):null}function yae(e){var t=e.errors,r=e.registry,n=r.translateString;return E.jsxs("div",{className:"panel panel-danger errors",children:[E.jsx("div",{className:"panel-heading",children:E.jsx("h3",{className:"panel-title",children:n(Ee.ErrorsLabel)})}),E.jsx("ul",{className:"list-group",children:t.map(function(i,a){return E.jsx("li",{className:"list-group-item text-danger",children:i.stack},a)})})]})}var $ae="*";function v6(e){var t=e.label,r=e.required,n=e.id;return t?E.jsxs("label",{className:"control-label",htmlFor:n,children:[t,r&&E.jsx("span",{className:"required",children:$ae})]}):null}function wae(e){var t=e.id,r=e.label,n=e.children,i=e.errors,a=e.help,o=e.description,s=e.hidden,l=e.required,u=e.displayLabel,c=e.registry,d=e.uiSchema,p=Se(d),f=ve("WrapIfAdditionalTemplate",c,p);return s?E.jsx("div",{className:"hidden",children:n}):E.jsxs(f,ne({},e,{children:[u&&E.jsx(v6,{label:r,required:l,id:t}),u&&o?o:null,n,i,a]}))}function bae(e){var t=e.errors,r=t===void 0?[]:t,n=e.idSchema;if(r.length===0)return null;var i=F0(n);return E.jsx("div",{children:E.jsx("ul",{id:i,className:"error-detail bs-callout bs-callout-info",children:r.filter(function(a){return!!a}).map(function(a,o){return E.jsx("li",{className:"text-danger",children:a},o)})})})}function Eae(e){var t=e.idSchema,r=e.help;if(!r)return null;var n=D0(t);return typeof r=="string"?E.jsx("p",{id:n,className:"help-block",children:r}):E.jsx("div",{id:n,className:"help-block",children:r})}function Cae(e){var t=e.description,r=e.disabled,n=e.formData,i=e.idSchema,a=e.onAddClick,o=e.properties,s=e.readonly,l=e.registry,u=e.required,c=e.schema,d=e.title,p=e.uiSchema,f=Se(p),m=ve("TitleFieldTemplate",l,f),v=ve("DescriptionFieldTemplate",l,f),$=l.templates.ButtonTemplates.AddButton;return E.jsxs("fieldset",{id:i.$id,children:[d&&E.jsx(m,{id:V0(i),title:d,required:u,schema:c,uiSchema:p,registry:l}),t&&E.jsx(v,{id:ga(i),description:t,schema:c,uiSchema:p,registry:l}),o.map(function(h){return h.content}),e7(c,p,n)&&E.jsx($,{className:"object-property-expand",onClick:a(c),disabled:r||s,uiSchema:p,registry:l})]})}var Sae="*";function _ae(e){var t=e.id,r=e.title,n=e.required;return E.jsxs("legend",{id:t,children:[r,n&&E.jsx("span",{className:"required",children:Sae})]})}function xae(e){var t=e.schema,r=e.idSchema,n=e.reason,i=e.registry,a=i.translateString,o=Ee.UnsupportedField,s=[];return r&&r.$id&&(o=Ee.UnsupportedFieldWithId,s.push(r.$id)),n&&(o=o===Ee.UnsupportedField?Ee.UnsupportedFieldWithReason:Ee.UnsupportedFieldWithIdAndReason,s.push(n)),E.jsxs("div",{className:"unsupported-field",children:[E.jsx("p",{children:E.jsx(hf,{children:a(o,s)})}),t&&E.jsx("pre",{children:JSON.stringify(t,null,2)})]})}function Oae(e){var t=e.id,r=e.classNames,n=e.style,i=e.disabled,a=e.label,o=e.onKeyChange,s=e.onDropPropertyClick,l=e.readonly,u=e.required,c=e.schema,d=e.children,p=e.uiSchema,f=e.registry,m=f.templates,v=f.translateString,$=m.ButtonTemplates.RemoveButton,h=v(Ee.KeyLabel,[a]),g=Mo in c;return g?E.jsx("div",{className:r,style:n,children:E.jsxs("div",{className:"row",children:[E.jsx("div",{className:"col-xs-5 form-additional",children:E.jsxs("div",{className:"form-group",children:[E.jsx(v6,{label:h,required:u,id:t+"-key"}),E.jsx("input",{className:"form-control",type:"text",id:t+"-key",onBlur:function(b){return o(b.target.value)},defaultValue:a})]})}),E.jsx("div",{className:"form-additional form-group col-xs-5",children:d}),E.jsx("div",{className:"col-xs-2",children:E.jsx($,{className:"array-item-remove btn-block",style:{border:"0"},disabled:i||l,onClick:s(a),uiSchema:p,registry:f})})]})}):E.jsx("div",{className:r,style:n,children:d})}function Pae(){return{ArrayFieldDescriptionTemplate:rae,ArrayFieldItemTemplate:nae,ArrayFieldTemplate:aae,ArrayFieldTitleTemplate:oae,ButtonTemplates:vae(),BaseInputTemplate:lae,DescriptionFieldTemplate:gae,ErrorListTemplate:yae,FieldTemplate:wae,FieldErrorTemplate:bae,FieldHelpTemplate:Eae,ObjectFieldTemplate:Cae,TitleFieldTemplate:_ae,UnsupportedFieldTemplate:xae,WrapIfAdditionalTemplate:Oae}}function Tae(e,t){for(var r=[],n=e;n<=t;n++)r.push({value:n,label:Jn(n,2)});return r}function Aae(e){return Object.values(e).every(function(t){return t!==-1})}function Rae(e,t,r){r===void 0&&(r=[1900,new Date().getFullYear()+2]);var n=e.year,i=e.month,a=e.day,o=e.hour,s=e.minute,l=e.second,u=[{type:"year",range:r,value:n},{type:"month",range:[1,12],value:i},{type:"day",range:[1,31],value:a}];return t&&u.push({type:"hour",range:[0,23],value:o},{type:"minute",range:[0,59],value:s},{type:"second",range:[0,59],value:l}),u}function jae(e){var t=e.type,r=e.range,n=e.value,i=e.select,a=e.rootId,o=e.name,s=e.disabled,l=e.readonly,u=e.autofocus,c=e.registry,d=e.onBlur,p=e.onFocus,f=a+"_"+t,m=c.widgets.SelectWidget;return E.jsx(m,{schema:{type:"integer"},id:f,name:o,className:"form-control",options:{enumOptions:Tae(r[0],r[1])},placeholder:t,value:n,disabled:s,readonly:l,autofocus:u,onChange:function($){return i(t,$)},onBlur:d,onFocus:p,registry:c,label:"","aria-describedby":ir(a)})}function Iae(e){var t=e.time,r=t===void 0?!1:t,n=e.disabled,i=n===void 0?!1:n,a=e.readonly,o=a===void 0?!1:a,s=e.autofocus,l=s===void 0?!1:s,u=e.options,c=e.id,d=e.name,p=e.registry,f=e.onBlur,m=e.onFocus,v=e.onChange,$=e.value,h=p.translateString,g=j.useState($),y=g[0],b=g[1],O=j.useReducer(function(N,K){return ne({},N,K)},m1($,r)),S=O[0],_=O[1];j.useEffect(function(){var N=D$(S,r);Aae(S)&&N!==$?v(N):y!==$&&(b($),_(m1($,r)))},[r,$,v,S,y]);var w=j.useCallback(function(N,K){var D;_((D={},D[N]=K,D))},[]),T=j.useCallback(function(N){if(N.preventDefault(),!(i||o)){var K=m1(new Date().toJSON(),r);v(D$(K,r))}},[i,o,r]),F=j.useCallback(function(N){N.preventDefault(),!(i||o)&&v(void 0)},[i,o,v]);return E.jsxs("ul",{className:"list-inline",children:[Rae(S,r,u.yearsRange).map(function(N,K){return E.jsx("li",{className:"list-inline-item",children:E.jsx(jae,ne({rootId:c,name:d,select:w},N,{disabled:i,readonly:o,registry:p,onBlur:f,onFocus:m,autofocus:l&&K===0}))},K)}),(u.hideNowButton!=="undefined"?!u.hideNowButton:!0)&&E.jsx("li",{className:"list-inline-item",children:E.jsx("a",{href:"#",className:"btn btn-info btn-now",onClick:T,children:h(Ee.NowLabel)})}),(u.hideClearButton!=="undefined"?!u.hideClearButton:!0)&&E.jsx("li",{className:"list-inline-item",children:E.jsx("a",{href:"#",className:"btn btn-warning btn-clear",onClick:F,children:h(Ee.ClearLabel)})})]})}var Lae=["time"];function Nae(e){var t=e.time,r=t===void 0?!0:t,n=br(e,Lae),i=n.registry.widgets.AltDateWidget;return E.jsx(i,ne({time:r},n))}function Mae(e){var t,r=e.schema,n=e.uiSchema,i=e.options,a=e.id,o=e.value,s=e.disabled,l=e.readonly,u=e.label,c=e.hideLabel,d=e.autofocus,p=d===void 0?!1:d,f=e.onBlur,m=e.onFocus,v=e.onChange,$=e.registry,h=ve("DescriptionFieldTemplate",$,i),g=Ns(r),y=j.useCallback(function(_){return v(_.target.checked)},[v]),b=j.useCallback(function(_){return f(a,_.target.checked)},[f,a]),O=j.useCallback(function(_){return m(a,_.target.checked)},[m,a]),S=(t=i.description)!=null?t:r.description;return E.jsxs("div",{className:"checkbox "+(s||l?"disabled":""),children:[!c&&!!S&&E.jsx(h,{id:ga(a),description:S,schema:r,uiSchema:n,registry:$}),E.jsxs("label",{children:[E.jsx("input",{type:"checkbox",id:a,name:a,checked:typeof o>"u"?!1:o,required:g,disabled:s||l,autoFocus:p,onChange:y,onBlur:b,onFocus:O,"aria-describedby":ir(a)}),H0(E.jsx("span",{children:u}),c)]})]})}function kae(e){var t=e.id,r=e.disabled,n=e.options,i=n.inline,a=i===void 0?!1:i,o=n.enumOptions,s=n.enumDisabled,l=n.emptyValue,u=e.value,c=e.autofocus,d=c===void 0?!1:c,p=e.readonly,f=e.onChange,m=e.onBlur,v=e.onFocus,$=Array.isArray(u)?u:[u],h=j.useCallback(function(y){var b=y.target.value;return m(t,ht(b,o,l))},[m,t]),g=j.useCallback(function(y){var b=y.target.value;return v(t,ht(b,o,l))},[v,t]);return E.jsx("div",{className:"checkboxes",id:t,children:Array.isArray(o)&&o.map(function(y,b){var O=Ml(y.value,$),S=Array.isArray(s)&&s.indexOf(y.value)!==-1,_=r||S||p?"disabled":"",w=function(N){N.target.checked?f(d7(b,$,o)):f(u7(b,$,o))},T=E.jsxs("span",{children:[E.jsx("input",{type:"checkbox",id:of(t,b),name:t,checked:O,value:String(b),disabled:r||S||p,autoFocus:d&&b===0,onChange:w,onBlur:h,onFocus:g,"aria-describedby":ir(t)}),E.jsx("span",{children:y.label})]});return a?E.jsx("label",{className:"checkbox-inline "+_,children:T},b):E.jsx("div",{className:"checkbox "+_,children:E.jsx("label",{children:T})},b)})})}function Fae(e){var t=e.disabled,r=e.readonly,n=e.options,i=e.registry,a=ve("BaseInputTemplate",i,n);return E.jsx(a,ne({type:"color"},e,{disabled:t||r}))}function Dae(e){var t=e.onChange,r=e.options,n=e.registry,i=ve("BaseInputTemplate",n,r),a=j.useCallback(function(o){return t(o||void 0)},[t]);return E.jsx(i,ne({type:"date"},e,{onChange:a}))}function Vae(e){var t=e.onChange,r=e.value,n=e.options,i=e.registry,a=ve("BaseInputTemplate",i,n);return E.jsx(a,ne({type:"datetime-local"},e,{value:CX(r),onChange:function(s){return t(yX(s))}}))}function Hae(e){var t=e.options,r=e.registry,n=ve("BaseInputTemplate",r,t);return E.jsx(n,ne({type:"email"},e))}function Uae(e,t){return e===null?null:e.replace(";base64",";name="+encodeURIComponent(t)+";base64")}function Bae(e){var t=e.name,r=e.size,n=e.type;return new Promise(function(i,a){var o=new window.FileReader;o.onerror=a,o.onload=function(s){var l;typeof((l=s.target)===null||l===void 0?void 0:l.result)=="string"?i({dataURL:Uae(s.target.result,t),name:t,size:r,type:n}):i({dataURL:null,name:t,size:r,type:n})},o.readAsDataURL(e)})}function zae(e){return Promise.all(Array.from(e).map(Bae))}function Kae(e){var t=e.fileInfo,r=e.registry,n=r.translateString,i=t.dataURL,a=t.type,o=t.name;return i?a.indexOf("image")!==-1?E.jsx("img",{src:i,style:{maxWidth:"100%"},className:"file-preview"}):E.jsxs(E.Fragment,{children:[" ",E.jsx("a",{download:"preview-"+o,href:i,className:"file-download",children:n(Ee.PreviewLabel)})]}):null}function qae(e){var t=e.filesInfo,r=e.registry,n=e.preview;if(t.length===0)return null;var i=r.translateString;return E.jsx("ul",{className:"file-info",children:t.map(function(a,o){var s=a.name,l=a.size,u=a.type;return E.jsxs("li",{children:[E.jsx(hf,{children:i(Ee.FilesInfo,[s,u,String(l)])}),n&&E.jsx(Kae,{fileInfo:a,registry:r})]},o)})})}function m4(e){return e.filter(function(t){return t}).map(function(t){var r=lX(t),n=r.blob,i=r.name;return{dataURL:t,name:i,size:n.size,type:n.type}})}function Zae(e){var t=e.disabled,r=e.readonly,n=e.required,i=e.multiple,a=e.onChange,o=e.value,s=e.options,l=e.registry,u=ve("BaseInputTemplate",l,s),c=j.useState(Array.isArray(o)?m4(o):m4([o])),d=c[0],p=c[1],f=j.useCallback(function(m){m.target.files&&zae(m.target.files).then(function(v){var $=v.map(function(h){return h.dataURL});i?(p(d.concat(v[0])),a(o.concat($[0]))):(p(v),a($[0]))})},[i,o,d,a]);return E.jsxs("div",{children:[E.jsx(u,ne({},e,{disabled:t||r,type:"file",required:o?!1:n,onChangeOverride:f,value:"",accept:s.accept?String(s.accept):void 0})),E.jsx(qae,{filesInfo:d,registry:l,preview:s.filePreview})]})}function Wae(e){var t=e.id,r=e.value;return E.jsx("input",{type:"hidden",id:t,name:t,value:typeof r>"u"?"":r})}function Gae(e){var t=e.options,r=e.registry,n=ve("BaseInputTemplate",r,t);return E.jsx(n,ne({type:"password"},e))}function Qae(e){var t=e.options,r=e.value,n=e.required,i=e.disabled,a=e.readonly,o=e.autofocus,s=o===void 0?!1:o,l=e.onBlur,u=e.onFocus,c=e.onChange,d=e.id,p=t.enumOptions,f=t.enumDisabled,m=t.inline,v=t.emptyValue,$=j.useCallback(function(g){var y=g.target.value;return l(d,ht(y,p,v))},[l,d]),h=j.useCallback(function(g){var y=g.target.value;return u(d,ht(y,p,v))},[u,d]);return E.jsx("div",{className:"field-radio-group",id:d,children:Array.isArray(p)&&p.map(function(g,y){var b=Ml(g.value,r),O=Array.isArray(f)&&f.indexOf(g.value)!==-1,S=i||O||a?"disabled":"",_=function(){return c(g.value)},w=E.jsxs("span",{children:[E.jsx("input",{type:"radio",id:of(d,y),checked:b,name:d,required:n,value:String(y),disabled:i||O||a,autoFocus:s&&y===0,onChange:_,onBlur:$,onFocus:h,"aria-describedby":ir(d)}),E.jsx("span",{children:g.label})]});return m?E.jsx("label",{className:"radio-inline "+S,children:w},y):E.jsx("div",{className:"radio "+S,children:E.jsx("label",{children:w})},y)})})}function Yae(e){var t=e.value,r=e.registry.templates.BaseInputTemplate;return E.jsxs("div",{className:"field-range-wrapper",children:[E.jsx(r,ne({type:"range"},e)),E.jsx("span",{className:"range-view",children:t})]})}function _1(e,t){return t?Array.from(e.target.options).slice().filter(function(r){return r.selected}).map(function(r){return r.value}):e.target.value}function Jae(e){var t=e.schema,r=e.id,n=e.options,i=e.value,a=e.required,o=e.disabled,s=e.readonly,l=e.multiple,u=l===void 0?!1:l,c=e.autofocus,d=c===void 0?!1:c,p=e.onChange,f=e.onBlur,m=e.onFocus,v=e.placeholder,$=n.enumOptions,h=n.enumDisabled,g=n.emptyValue,y=u?[]:"",b=j.useCallback(function(w){var T=_1(w,u);return m(r,ht(T,$,g))},[m,r,t,u,n]),O=j.useCallback(function(w){var T=_1(w,u);return f(r,ht(T,$,g))},[f,r,t,u,n]),S=j.useCallback(function(w){var T=_1(w,u);return p(ht(T,$,g))},[p,t,u,n]),_=c7(i,$,u);return E.jsxs("select",{id:r,name:r,multiple:u,className:"form-control",value:typeof _>"u"?y:_,required:a,disabled:o||s,autoFocus:d,onBlur:O,onFocus:b,onChange:S,"aria-describedby":ir(r),children:[!u&&t.default===void 0&&E.jsx("option",{value:"",children:v}),Array.isArray($)&&$.map(function(w,T){var F=w.value,N=w.label,K=h&&h.indexOf(F)!==-1;return E.jsx("option",{value:String(T),disabled:K,children:N},T)})]})}function g6(e){var t=e.id,r=e.options,n=r===void 0?{}:r,i=e.placeholder,a=e.value,o=e.required,s=e.disabled,l=e.readonly,u=e.autofocus,c=u===void 0?!1:u,d=e.onChange,p=e.onBlur,f=e.onFocus,m=j.useCallback(function(h){var g=h.target.value;return d(g===""?n.emptyValue:g)},[d,n.emptyValue]),v=j.useCallback(function(h){var g=h.target.value;return p(t,g)},[p,t]),$=j.useCallback(function(h){var g=h.target.value;return f(t,g)},[t,f]);return E.jsx("textarea",{id:t,name:t,className:"form-control",value:a||"",placeholder:i,required:o,disabled:s,readOnly:l,autoFocus:c,rows:n.rows,onBlur:v,onFocus:$,onChange:m,"aria-describedby":ir(t)})}g6.defaultProps={autofocus:!1,options:{}};function Xae(e){var t=e.options,r=e.registry,n=ve("BaseInputTemplate",r,t);return E.jsx(n,ne({},e))}function eoe(e){var t=e.onChange,r=e.options,n=e.registry,i=ve("BaseInputTemplate",n,r),a=j.useCallback(function(o){return t(o?o+":00":void 0)},[t]);return E.jsx(i,ne({type:"time"},e,{onChange:a}))}function toe(e){var t=e.options,r=e.registry,n=ve("BaseInputTemplate",r,t);return E.jsx(n,ne({type:"url"},e))}function roe(e){var t=e.options,r=e.registry,n=ve("BaseInputTemplate",r,t);return E.jsx(n,ne({type:"number"},e))}function noe(){return{AltDateWidget:Iae,AltDateTimeWidget:Nae,CheckboxWidget:Mae,CheckboxesWidget:kae,ColorWidget:Fae,DateWidget:Dae,DateTimeWidget:Vae,EmailWidget:Hae,FileWidget:Zae,HiddenWidget:Wae,PasswordWidget:Gae,RadioWidget:Qae,RangeWidget:Yae,SelectWidget:Jae,TextWidget:Xae,TextareaWidget:g6,TimeWidget:eoe,UpDownWidget:roe,URLWidget:toe}}function ioe(){return{fields:tae(),templates:Pae(),widgets:noe(),rootSchema:{},formContext:{},translateString:cX}}var aoe=function(e){Hl(t,e);function t(n){var i;if(i=e.call(this,n)||this,i.formElement=void 0,i.getUsedFormData=function(a,o){if(o.length===0&&typeof a!="object")return a;var s=SJ(a,o);return Array.isArray(a)?Object.keys(s).map(function(l){return s[l]}):s},i.getFieldNames=function(a,o){var s=function l(u,c,d){return c===void 0&&(c=[]),d===void 0&&(d=[[]]),Object.keys(u).forEach(function(p){if(typeof u[p]=="object"){var f=d.map(function(m){return[].concat(m,[p])});u[p][R0]&&u[p][Zu]!==""?c.push(u[p][Zu]):l(u[p],c,f)}else p===Zu&&u[p]!==""&&d.forEach(function(m){var v=oe(o,m);(typeof v!="object"||na(v))&&c.push(m)})}),c};return s(a)},i.onChange=function(a,o,s){var l=i.props,u=l.extraErrors,c=l.omitExtraData,d=l.liveOmit,p=l.noValidate,f=l.liveValidate,m=l.onChange,v=i.state,$=v.schemaUtils,h=v.schema;if(Ze(a)||Array.isArray(a)){var g=i.getStateFromProps(i.props,a);a=g.formData}var y=!p&&f,b={formData:a,schema:h},O=a;if(c===!0&&d===!0){var S=$.retrieveSchema(h,a),_=$.toPathSchema(S,"",a),w=i.getFieldNames(_,a);O=i.getUsedFormData(a,w),b={formData:O}}if(y){var T=i.validate(O),F=T.errors,N=T.errorSchema,K=F,D=N;if(u){var U=Gu(T,u);N=U.errorSchema,F=U.errors}b={formData:O,errors:F,errorSchema:N,schemaValidationErrors:K,schemaValidationErrorSchema:D}}else if(!p&&o){var te=u?ko(o,u,"preventDuplicates"):o;b={formData:O,errorSchema:te,errors:vl(te)}}i.setState(b,function(){return m&&m(ne({},i.state,b),s)})},i.reset=function(){var a=i.props.onChange,o=i.getStateFromProps(i.props,void 0),s=o.formData,l={formData:s,errorSchema:{},errors:[],schemaValidationErrors:[],schemaValidationErrorSchema:{}};i.setState(l,function(){return a&&a(ne({},i.state,l))})},i.onBlur=function(a,o){var s=i.props.onBlur;s&&s(a,o)},i.onFocus=function(a,o){var s=i.props.onFocus;s&&s(a,o)},i.onSubmit=function(a){if(a.preventDefault(),a.target===a.currentTarget){a.persist();var o=i.props,s=o.omitExtraData,l=o.extraErrors,u=o.noValidate,c=o.onSubmit,d=i.state.formData,p=i.state,f=p.schema,m=p.schemaUtils;if(s===!0){var v=m.retrieveSchema(f,d),$=m.toPathSchema(v,"",d),h=i.getFieldNames($,d);d=i.getUsedFormData(d,h)}if(u||i.validateForm()){var g=l||{},y=l?vl(l):[];i.setState({formData:d,errors:y,errorSchema:g,schemaValidationErrors:[],schemaValidationErrorSchema:{}},function(){c&&c(ne({},i.state,{formData:d,status:"submitted"}),a)})}}},!n.validator)throw new Error("A validator is required for Form functionality to work");return i.state=i.getStateFromProps(n,n.formData),i.props.onChange&&!nn(i.state.formData,i.props.formData)&&i.props.onChange(i.state),i.formElement=j.createRef(),i}var r=t.prototype;return r.UNSAFE_componentWillReceiveProps=function(i){var a=this.getStateFromProps(i,i.formData);!nn(a.formData,i.formData)&&!nn(a.formData,this.state.formData)&&i.onChange&&i.onChange(a),this.setState(a)},r.getStateFromProps=function(i,a){var o=this.state||{},s="schema"in i?i.schema:this.props.schema,l=("uiSchema"in i?i.uiSchema:this.props.uiSchema)||{},u=typeof a<"u",c="liveValidate"in i?i.liveValidate:this.props.liveValidate,d=u&&!i.noValidate&&c,p=s,f="experimental_defaultFormStateBehavior"in i?i.experimental_defaultFormStateBehavior:this.props.experimental_defaultFormStateBehavior,m=o.schemaUtils;(!m||m.doesSchemaUtilsDiffer(i.validator,p,f))&&(m=sX(i.validator,p,f));var v=m.getDefaultFormState(s,a),$=m.retrieveSchema(s,v),h=function(){return i.noValidate?{errors:[],errorSchema:{}}:i.liveValidate?{errors:o.errors||[],errorSchema:o.errorSchema||{}}:{errors:o.schemaValidationErrors||[],errorSchema:o.schemaValidationErrorSchema||{}}},g,y,b=o.schemaValidationErrors,O=o.schemaValidationErrorSchema;if(d){var S=this.validate(v,s,m);g=S.errors,y=S.errorSchema,b=g,O=y}else{var _=h();g=_.errors,y=_.errorSchema}if(i.extraErrors){var w=Gu({errorSchema:y,errors:g},i.extraErrors);y=w.errorSchema,g=w.errors}var T=m.toIdSchema($,l["ui:rootFieldId"],v,i.idPrefix,i.idSeparator),F={schemaUtils:m,schema:s,uiSchema:l,idSchema:T,formData:v,edit:u,errors:g,errorSchema:y,schemaValidationErrors:b,schemaValidationErrorSchema:O};return F},r.shouldComponentUpdate=function(i,a){return bX(this,i,a)},r.validate=function(i,a,o){a===void 0&&(a=this.props.schema);var s=o||this.state.schemaUtils,l=this.props,u=l.customValidate,c=l.transformErrors,d=l.uiSchema,p=s.retrieveSchema(a,i);return s.getValidator().validateFormData(i,p,u,c,d)},r.renderErrors=function(i){var a=this.state,o=a.errors,s=a.errorSchema,l=a.schema,u=a.uiSchema,c=this.props.formContext,d=Se(u),p=ve("ErrorListTemplate",i,d);return o&&o.length?E.jsx(p,{errors:o,errorSchema:s||{},schema:l,uiSchema:u,formContext:c,registry:i}):null},r.getRegistry=function(){var i,a=this.props,o=a.translateString,s=a.uiSchema,l=s===void 0?{}:s,u=this.state.schemaUtils,c=ioe(),d=c.fields,p=c.templates,f=c.widgets,m=c.formContext,v=c.translateString;return{fields:ne({},d,this.props.fields),templates:ne({},p,this.props.templates,{ButtonTemplates:ne({},p.ButtonTemplates,(i=this.props.templates)===null||i===void 0?void 0:i.ButtonTemplates)}),widgets:ne({},f,this.props.widgets),rootSchema:this.props.schema,formContext:this.props.formContext||m,schemaUtils:u,translateString:o||v,globalUiOptions:l[HJ]}},r.submit=function(){this.formElement.current&&(this.formElement.current.dispatchEvent(new CustomEvent("submit",{cancelable:!0})),this.formElement.current.requestSubmit())},r.focusOnError=function(i){var a=this.props,o=a.idPrefix,s=o===void 0?"root":o,l=a.idSeparator,u=l===void 0?"_":l,c=i.property,d=G8(c);d[0]===""?d[0]=s:d.unshift(s);var p=d.join(u),f=this.formElement.current.elements[p];f||(f=this.formElement.current.querySelector("input[id^="+p)),f&&f.length&&(f=f[0]),f&&f.focus()},r.validateForm=function(){var i=this.props,a=i.extraErrors,o=i.focusOnFirstError,s=i.onError,l=this.state.formData,u=this.validate(l),c=u.errors,d=u.errorSchema,p=c,f=d;if(c.length>0){if(a){var m=Gu(u,a);d=m.errorSchema,c=m.errors}return o&&(typeof o=="function"?o(u.errors[0]):this.focusOnError(u.errors[0])),this.setState({errors:c,errorSchema:d,schemaValidationErrors:p,schemaValidationErrorSchema:f},function(){s?s(c):console.error("Form validation failed",c)}),!1}return!0},r.render=function(){var i,a,o=this.props,s=o.children,l=o.id,u=o.idPrefix,c=o.idSeparator,d=o.className,p=d===void 0?"":d,f=o.tagName,m=o.name,v=o.method,$=o.target,h=o.action,g=o.autoComplete,y=o.enctype,b=o.acceptcharset,O=o.noHtml5Validate,S=O===void 0?!1:O,_=o.disabled,w=_===void 0?!1:_,T=o.readonly,F=T===void 0?!1:T,N=o.formContext,K=o.showErrorList,D=K===void 0?"top":K,U=o._internalFormWrapper,te=this.state,ae=te.schema,he=te.uiSchema,Z=te.formData,ee=te.errorSchema,M=te.idSchema,R=this.getRegistry(),H=R.fields.SchemaField,k=R.templates.ButtonTemplates.SubmitButton,x=U?f:void 0,A=U||f||"form",V=Se(he),J=V[Hc],W=J===void 0?{}:J;w&&(W=ne({},W,{props:ne({},W.props,{disabled:!0})}));var ue=(a={},a[Ls]=(i={},i[Hc]=W,i),a);return E.jsxs(A,{className:p||"rjsf",id:l,name:m,method:v,target:$,action:h,autoComplete:g,encType:y,acceptCharset:b,noValidate:S,onSubmit:this.onSubmit,as:x,ref:this.formElement,children:[D==="top"&&this.renderErrors(R),E.jsx(H,{name:"",schema:ae,uiSchema:he,errorSchema:ee,idSchema:M,idPrefix:u,idSeparator:c,formContext:N,formData:Z,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,registry:R,disabled:w,readonly:F}),s||E.jsx(k,{uiSchema:ue,registry:R}),D==="bottom"&&this.renderErrors(R)]})},t}(j.Component),ooe=["fields","widgets","templates"];function soe(e){return j.forwardRef(function(t,r){var n,i,a=t.fields,o=t.widgets,s=t.templates,l=br(t,ooe);return a=ne({},e==null?void 0:e.fields,a),o=ne({},e==null?void 0:e.widgets,o),s=ne({},e==null?void 0:e.templates,s,{ButtonTemplates:ne({},e==null||(n=e.templates)===null||n===void 0?void 0:n.ButtonTemplates,(i=s)===null||i===void 0?void 0:i.ButtonTemplates)}),E.jsx(aoe,ne({},e,l,{fields:a,widgets:o,templates:s,ref:r}))})}var y6={exports:{}};/*! +`).replace(Une,"").replace(rie," ")}($),h)}}(l),c=(d=function(f){return function(m,v,$){return f[m.type].h(m,v,$)}}(l),function f(m,v={}){if(Array.isArray(m)){const $=v.k,h=[];let g=!1;for(let y=0;y{let{children:t,options:r}=e,n=function(i,a){if(i==null)return{};var o,s,l={},u=Object.keys(i);for(s=0;s=0||(l[o]=i[o]);return l}(e,Tne);return R.cloneElement(Rie(t,r),n)};function jie(e,t){for(var r=0;r=0)&&(r[i]=e[i]);return r}function Lie(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Nie(e){var t=Lie(e,"string");return typeof t=="symbol"?t:String(t)}var Mie=["widget","title"],kie=["widget","title"],Fie=["widget","title"];function hh(){return Pne()}function p4(e){return Array.isArray(e)?e.map(function(t){return{key:hh(),item:t}}):[]}function ds(e){return Array.isArray(e)?e.map(function(t){return t.item}):[]}var Die=function(e){Hl(t,e);function t(n){var i;i=e.call(this,n)||this,i._getNewFormDataRow=function(){var l=i.props,u=l.schema,c=l.registry,d=c.schemaUtils,p=u.items;return th(u)&&TJ(u)&&(p=u.additionalItems),d.getDefaultFormState(p)},i.onAddClick=function(l){i._handleAddClick(l)},i.onAddIndexClick=function(l){return function(u){i._handleAddClick(u,l)}},i.onCopyIndexClick=function(l){return function(u){u&&u.preventDefault();var c=i.props.onChange,d=i.state.keyedFormData,p={key:hh(),item:W8(d[l].item)},f=[].concat(d);l!==void 0?f.splice(l+1,0,p):f.push(p),i.setState({keyedFormData:f,updatedKeyedFormData:!0},function(){return c(ds(f))})}},i.onDropIndexClick=function(l){return function(u){u&&u.preventDefault();var c=i.props,d=c.onChange,p=c.errorSchema,f=i.state.keyedFormData,m;if(p){m={};for(var v in p){var $=parseInt(v);$l&&hr(m,[$-1],p[v])}}var h=f.filter(function(g,y){return y!==l});i.setState({keyedFormData:h,updatedKeyedFormData:!0},function(){return d(ds(h),m)})}},i.onReorderClick=function(l,u){return function(c){c&&(c.preventDefault(),c.currentTarget.blur());var d=i.props,p=d.onChange,f=d.errorSchema,m;if(f){m={};for(var v in f){var $=parseInt(v);$==l?hr(m,[u],f[l]):$==u?hr(m,[l],f[u]):hr(m,[v],f[$])}}var h=i.state.keyedFormData;function g(){var b=h.slice();return b.splice(l,1),b.splice(u,0,h[l]),b}var y=g();i.setState({keyedFormData:y},function(){return p(ds(y),m)})}},i.onChangeForIndex=function(l){return function(u,c,d){var p,f=i.props,m=f.formData,v=f.onChange,$=f.errorSchema,h=Array.isArray(m)?m:[],g=h.map(function(y,b){var O=typeof u>"u"?null:u;return l===b?O:y});v(g,$&&$&&ne({},$,(p={},p[l]=c,p)),d)}},i.onSelectChange=function(l){var u=i.props,c=u.onChange,d=u.idSchema;c(l,void 0,d&&d.$id)};var a=n.formData,o=a===void 0?[]:a,s=p4(o);return i.state={keyedFormData:s,updatedKeyedFormData:!1},i}t.getDerivedStateFromProps=function(i,a){if(a.updatedKeyedFormData)return{updatedKeyedFormData:!1};var o=Array.isArray(i.formData)?i.formData:[],s=a.keyedFormData||[],l=o.length===s.length?s.map(function(u,c){return{key:u.key,item:o[c]}}):p4(o);return{keyedFormData:l}};var r=t.prototype;return r.isItemRequired=function(i){return Array.isArray(i.type)?!i.type.includes("null"):i.type!=="null"},r.canAddItem=function(i){var a=this.props,o=a.schema,s=a.uiSchema,l=a.registry,u=Se(s,l.globalUiOptions),c=u.addable;return c!==!1&&(o.maxItems!==void 0?c=i.length0,canMoveDown:k=j.length,mt=xe&&st(o.additionalItems)?Z.retrieveSchema(o.additionalItems,ce):j[J],Vr=v.$id+m+J,fn=Z.toIdSchema(mt,Vr,ce,p,m),pn=xe?l.additionalItems||{}:Array.isArray(l.items)?l.items[J]:l.items||{},ct=d?d[J]:void 0;return i.renderArrayFieldItem({key:W,index:J,name:$&&$+"-"+J,canAdd:k,canRemove:xe,canMoveUp:J>=j.length+1,canMoveDown:xe&&J=0?f[y]:void 0,O=p>=0?f[p]:void 0,S=g.sanitizeDataForNewSchema(b,O,v);S&&b&&(S=g.getDefaultFormState(b,S,"excludeObjectChildren")),$(S,void 0,i.getFieldId()),i.setState({selectedOption:y})}};var a=i.props,o=a.formData,s=a.options,l=a.registry.schemaUtils,u=s.map(function(c){return l.retrieveSchema(c,o)});return i.state={retrievedOptions:u,selectedOption:i.getMatchingOption(0,o,u)},i}var r=t.prototype;return r.componentDidUpdate=function(i,a){var o=this.props,s=o.formData,l=o.options,u=o.idSchema,c=this.state.selectedOption,d=this.state;if(!nn(i.options,l)){var p=this.props.registry.schemaUtils,f=l.map(function(h){return p.retrieveSchema(h,s)});d={selectedOption:c,retrievedOptions:f}}if(!nn(s,i.formData)&&u.$id===i.idSchema.$id){var m=d,v=m.retrievedOptions,$=this.getMatchingOption(c,s,v);a&&$!==c&&(d={selectedOption:$,retrievedOptions:v})}d!==this.state&&this.setState(d)},r.getMatchingOption=function(i,a,o){var s=this.props,l=s.schema,u=s.registry.schemaUtils,c=fl(l),d=u.getClosestMatchingOption(a,o,i,c);return d},r.getFieldId=function(){var i=this.props,a=i.idSchema,o=i.schema;return""+a.$id+(o.oneOf?"__oneof_select":"__anyof_select")},r.render=function(){var i=this.props,a=i.name,o=i.baseType,s=i.disabled,l=s===void 0?!1:s,u=i.errorSchema,c=u===void 0?{}:u,d=i.formContext,p=i.onBlur,f=i.onFocus,m=i.registry,v=i.schema,$=i.uiSchema,h=m.widgets,g=m.fields,y=m.translateString,b=m.globalUiOptions,O=m.schemaUtils,S=g.SchemaField,_=this.state,w=_.selectedOption,T=_.retrievedOptions,F=Se($,b),N=F.widget,K=N===void 0?"select":N,D=F.placeholder,U=F.autofocus,te=F.autocomplete,ae=F.title,he=ae===void 0?v.title:ae,Z=br(F,Uie),ee=On({type:"number"},K,h),M=oe(c,Lr,[]),j=Ic(c,[Lr]),H=O.getDisplayLabel(v,$,b),k=w>=0&&T[w]||null,x;k&&(x=k.type?k:Object.assign({},k,{type:o}));var A=he?Ee.TitleOptionPrefix:Ee.OptionPrefix,V=he?[he]:[],J=T.map(function(W,ue){return{label:W.title||y(A,V.concat(String(ue+1))),value:ue}});return E.jsxs("div",{className:"panel panel-default panel-body",children:[E.jsx("div",{className:"form-group",children:E.jsx(ee,{id:this.getFieldId(),name:""+a+(v.oneOf?"__oneof_select":"__anyof_select"),schema:{type:"number",default:0},onChange:this.onOptionChange,onBlur:p,onFocus:f,disabled:l||na(J),multiple:!1,rawErrors:M,errorSchema:j,value:w>=0?w:void 0,options:ne({enumOptions:J},Z),registry:m,formContext:d,placeholder:D,autocomplete:te,autofocus:U,label:he??a,hideLabel:!H})}),k!==null&&E.jsx(S,ne({},this.props,{schema:x}))]})},t}(R.Component),Bie=/\.([0-9]*0)*$/,zie=/[0.]0*$/;function Kie(e){var t=e.registry,r=e.onChange,n=e.formData,i=e.value,a=R.useState(i),o=a[0],s=a[1],l=t.fields.StringField,u=n,c=R.useCallback(function(p){s(p),(""+p).charAt(0)==="."&&(p="0"+p);var f=typeof p=="string"&&p.match(Bie)?M$(p.replace(zie,"")):M$(p);r(f)},[r]);if(typeof o=="string"&&typeof u=="number"){var d=new RegExp((""+u).replace(".","\\.")+"\\.?0*$");o.match(d)&&(u=o)}return E.jsx(l,ne({},e,{formData:u,onChange:c}))}var qie=function(e){Hl(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o0&&ce.push("field-error has-error has-danger"),n!=null&&n.classNames&&ce.push(n.classNames),y.classNames&&ce.push(y.classNames);var xe=E.jsx(S,{help:W,idSchema:F,schema:w,uiSchema:n,hasErrors:!ae&&M&&M.length>0,registry:f}),mt=ae?void 0:E.jsx(_,{errors:M,errorSchema:a,idSchema:F,schema:w,uiSchema:n,registry:f}),Vr={description:E.jsx(O,{id:ga(x),description:J,schema:w,uiSchema:n,registry:f}),rawDescription:V,help:xe,rawHelp:typeof W=="string"?W:void 0,errors:mt,rawErrors:ae?void 0:M,id:x,label:A,hidden:ue,onChange:u,onKeyChange:c,onDropPropertyClick:d,required:p,disabled:D,readonly:U,hideError:ae,displayLabel:Z,classNames:ce.join(" ").trim(),style:y.style,formContext:$,formData:i,schema:w,uiSchema:n,registry:f},fn=f.fields.AnyOfField,pn=f.fields.OneOfField,ct=(n==null?void 0:n["ui:field"])&&(n==null?void 0:n["ui:fieldReplacesAnyOrOneOf"])===!0;return E.jsx(b,ne({},Vr,{children:E.jsxs(E.Fragment,{children:[k,w.anyOf&&!ct&&!h.isSelect(w)&&E.jsx(fn,{name:l,disabled:D,readonly:U,hideError:ae,errorSchema:a,formData:i,formContext:$,idPrefix:o,idSchema:F,idSeparator:s,onBlur:e.onBlur,onChange:e.onChange,onFocus:e.onFocus,options:w.anyOf.map(function(Bt){return h.retrieveSchema(st(Bt)?Bt:{},i)}),baseType:w.type,registry:f,schema:w,uiSchema:n}),w.oneOf&&!ct&&!h.isSelect(w)&&E.jsx(pn,{name:l,disabled:D,readonly:U,hideError:ae,errorSchema:a,formData:i,formContext:$,idPrefix:o,idSchema:F,idSeparator:s,onBlur:e.onBlur,onChange:e.onChange,onFocus:e.onFocus,options:w.oneOf.map(function(Bt){return h.retrieveSchema(st(Bt)?Bt:{},i)}),baseType:w.type,registry:f,schema:w,uiSchema:n})]})}))}var Yie=function(e){Hl(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.shouldComponentUpdate=function(i){return!nn(this.props,i)},r.render=function(){return E.jsx(Qie,ne({},this.props))},t}(R.Component),Jie=["widget","placeholder","title"];function Xie(e){var t,r=e.schema,n=e.name,i=e.uiSchema,a=e.idSchema,o=e.formData,s=e.required,l=e.disabled,u=l===void 0?!1:l,c=e.readonly,d=c===void 0?!1:c,p=e.autofocus,f=p===void 0?!1:p,m=e.onChange,v=e.onBlur,$=e.onFocus,h=e.registry,g=e.rawErrors,y=r.title,b=r.format,O=h.widgets,S=h.formContext,_=h.schemaUtils,w=h.globalUiOptions,T=_.isSelect(r)?Bc(r):void 0,F=T?"select":"text";b&&gX(r,b,O)&&(F=b);var N=Se(i),K=N.widget,D=K===void 0?F:K,U=N.placeholder,te=U===void 0?"":U,ae=N.title,he=br(N,Jie),Z=_.getDisplayLabel(r,i,w),ee=(t=ae??y)!=null?t:n,M=On(r,D,O);return E.jsx(M,{options:ne({},he,{enumOptions:T}),schema:r,uiSchema:i,id:a.$id,name:n,label:ee,hideLabel:!Z,value:o,onChange:m,onBlur:v,onFocus:$,required:s,disabled:u,readonly:d,formContext:S,autofocus:f,registry:h,placeholder:te,rawErrors:g})}function eae(e){var t=e.formData,r=e.onChange;return R.useEffect(function(){t===void 0&&r(null)},[t,r]),null}function tae(){return{AnyOfField:h4,ArrayField:Die,BooleanField:Hie,NumberField:Kie,ObjectField:qie,OneOfField:h4,SchemaField:Yie,StringField:Xie,NullField:eae}}function rae(e){var t=e.idSchema,r=e.description,n=e.registry,i=e.schema,a=e.uiSchema,o=Se(a,n.globalUiOptions),s=o.label,l=s===void 0?!0:s;if(!r||!l)return null;var u=ve("DescriptionFieldTemplate",n,o);return E.jsx(u,{id:ga(t),description:r,schema:i,uiSchema:a,registry:n})}function nae(e){var t=e.children,r=e.className,n=e.disabled,i=e.hasToolbar,a=e.hasMoveDown,o=e.hasMoveUp,s=e.hasRemove,l=e.hasCopy,u=e.index,c=e.onCopyIndexClick,d=e.onDropIndexClick,p=e.onReorderClick,f=e.readonly,m=e.registry,v=e.uiSchema,$=m.templates.ButtonTemplates,h=$.CopyButton,g=$.MoveDownButton,y=$.MoveUpButton,b=$.RemoveButton,O={flex:1,paddingLeft:6,paddingRight:6,fontWeight:"bold"};return E.jsxs("div",{className:r,children:[E.jsx("div",{className:i?"col-xs-9":"col-xs-12",children:t}),i&&E.jsx("div",{className:"col-xs-3 array-item-toolbox",children:E.jsxs("div",{className:"btn-group",style:{display:"flex",justifyContent:"space-around"},children:[(o||a)&&E.jsx(y,{style:O,disabled:n||f||!o,onClick:p(u,u-1),uiSchema:v,registry:m}),(o||a)&&E.jsx(g,{style:O,disabled:n||f||!a,onClick:p(u,u+1),uiSchema:v,registry:m}),l&&E.jsx(h,{style:O,disabled:n||f,onClick:c(u),uiSchema:v,registry:m}),s&&E.jsx(b,{style:O,disabled:n||f,onClick:d(u),uiSchema:v,registry:m})]})})]})}var iae=["key"];function aae(e){var t=e.canAdd,r=e.className,n=e.disabled,i=e.idSchema,a=e.uiSchema,o=e.items,s=e.onAddClick,l=e.readonly,u=e.registry,c=e.required,d=e.schema,p=e.title,f=Se(a),m=ve("ArrayFieldDescriptionTemplate",u,f),v=ve("ArrayFieldItemTemplate",u,f),$=ve("ArrayFieldTitleTemplate",u,f),h=u.templates.ButtonTemplates.AddButton;return E.jsxs("fieldset",{className:r,id:i.$id,children:[E.jsx($,{idSchema:i,title:f.title||p,required:c,schema:d,uiSchema:a,registry:u}),E.jsx(m,{idSchema:i,description:f.description||d.description,schema:d,uiSchema:a,registry:u}),E.jsx("div",{className:"row array-item-list",children:o&&o.map(function(g){var y=g.key,b=br(g,iae);return E.jsx(v,ne({},b),y)})}),t&&E.jsx(h,{className:"array-item-add",onClick:s,disabled:n||l,uiSchema:a,registry:u})]})}function oae(e){var t=e.idSchema,r=e.title,n=e.schema,i=e.uiSchema,a=e.required,o=e.registry,s=Se(i,o.globalUiOptions),l=s.label,u=l===void 0?!0:l;if(!r||!u)return null;var c=ve("TitleFieldTemplate",o,s);return E.jsx(c,{id:V0(t),title:r,required:a,schema:n,uiSchema:i,registry:o})}var sae=["id","name","value","readonly","disabled","autofocus","onBlur","onFocus","onChange","onChangeOverride","options","schema","uiSchema","formContext","registry","rawErrors","type","hideLabel","hideError"];function lae(e){var t=e.id,r=e.value,n=e.readonly,i=e.disabled,a=e.autofocus,o=e.onBlur,s=e.onFocus,l=e.onChange,u=e.onChangeOverride,c=e.options,d=e.schema,p=e.type,f=br(e,sae);if(!t)throw console.log("No id for",e),new Error("no id for props "+JSON.stringify(e));var m=ne({},f,f7(d,p,c)),v;m.type==="number"||m.type==="integer"?v=r||r===0?r:"":v=r??"";var $=R.useCallback(function(y){var b=y.target.value;return l(b===""?c.emptyValue:b)},[l,c]),h=R.useCallback(function(y){var b=y.target.value;return o(t,b)},[o,t]),g=R.useCallback(function(y){var b=y.target.value;return s(t,b)},[s,t]);return E.jsxs(E.Fragment,{children:[E.jsx("input",ne({id:t,name:t,className:"form-control",readOnly:n,disabled:i,autoFocus:a,value:v},m,{list:d.examples?ml(t):void 0,onChange:u||$,onBlur:h,onFocus:g,"aria-describedby":ir(t,!!d.examples)})),Array.isArray(d.examples)&&E.jsx("datalist",{id:ml(t),children:d.examples.concat(d.default&&!d.examples.includes(d.default)?[d.default]:[]).map(function(y){return E.jsx("option",{value:y},y)})},"datalist_"+t)]})}function uae(e){var t=e.uiSchema,r=p7(t),n=r.submitText,i=r.norender,a=r.props,o=a===void 0?{}:a;return i?null:E.jsx("div",{children:E.jsx("button",ne({type:"submit"},o,{className:"btn btn-info "+(o.className||""),children:n}))})}var cae=["iconType","icon","className","uiSchema","registry"];function Ul(e){var t=e.iconType,r=t===void 0?"default":t,n=e.icon,i=e.className,a=br(e,cae);return E.jsx("button",ne({type:"button",className:"btn btn-"+r+" "+i},a,{children:E.jsx("i",{className:"glyphicon glyphicon-"+n})}))}function dae(e){var t=e.registry.translateString;return E.jsx(Ul,ne({title:t(Ee.CopyButton),className:"array-item-copy"},e,{icon:"copy"}))}function fae(e){var t=e.registry.translateString;return E.jsx(Ul,ne({title:t(Ee.MoveDownButton),className:"array-item-move-down"},e,{icon:"arrow-down"}))}function pae(e){var t=e.registry.translateString;return E.jsx(Ul,ne({title:t(Ee.MoveUpButton),className:"array-item-move-up"},e,{icon:"arrow-up"}))}function hae(e){var t=e.registry.translateString;return E.jsx(Ul,ne({title:t(Ee.RemoveButton),className:"array-item-remove"},e,{iconType:"danger",icon:"remove"}))}function mae(e){var t=e.className,r=e.onClick,n=e.disabled,i=e.registry,a=i.translateString;return E.jsx("div",{className:"row",children:E.jsx("p",{className:"col-xs-3 col-xs-offset-9 text-right "+t,children:E.jsx(Ul,{iconType:"info",icon:"plus",className:"btn-add col-xs-12",title:a(Ee.AddButton),onClick:r,disabled:n,registry:i})})})}function vae(){return{SubmitButton:uae,AddButton:mae,CopyButton:dae,MoveDownButton:fae,MoveUpButton:pae,RemoveButton:hae}}function gae(e){var t=e.id,r=e.description;return r?typeof r=="string"?E.jsx("p",{id:t,className:"field-description",children:r}):E.jsx("div",{id:t,className:"field-description",children:r}):null}function yae(e){var t=e.errors,r=e.registry,n=r.translateString;return E.jsxs("div",{className:"panel panel-danger errors",children:[E.jsx("div",{className:"panel-heading",children:E.jsx("h3",{className:"panel-title",children:n(Ee.ErrorsLabel)})}),E.jsx("ul",{className:"list-group",children:t.map(function(i,a){return E.jsx("li",{className:"list-group-item text-danger",children:i.stack},a)})})]})}var $ae="*";function v6(e){var t=e.label,r=e.required,n=e.id;return t?E.jsxs("label",{className:"control-label",htmlFor:n,children:[t,r&&E.jsx("span",{className:"required",children:$ae})]}):null}function wae(e){var t=e.id,r=e.label,n=e.children,i=e.errors,a=e.help,o=e.description,s=e.hidden,l=e.required,u=e.displayLabel,c=e.registry,d=e.uiSchema,p=Se(d),f=ve("WrapIfAdditionalTemplate",c,p);return s?E.jsx("div",{className:"hidden",children:n}):E.jsxs(f,ne({},e,{children:[u&&E.jsx(v6,{label:r,required:l,id:t}),u&&o?o:null,n,i,a]}))}function bae(e){var t=e.errors,r=t===void 0?[]:t,n=e.idSchema;if(r.length===0)return null;var i=F0(n);return E.jsx("div",{children:E.jsx("ul",{id:i,className:"error-detail bs-callout bs-callout-info",children:r.filter(function(a){return!!a}).map(function(a,o){return E.jsx("li",{className:"text-danger",children:a},o)})})})}function Eae(e){var t=e.idSchema,r=e.help;if(!r)return null;var n=D0(t);return typeof r=="string"?E.jsx("p",{id:n,className:"help-block",children:r}):E.jsx("div",{id:n,className:"help-block",children:r})}function Cae(e){var t=e.description,r=e.disabled,n=e.formData,i=e.idSchema,a=e.onAddClick,o=e.properties,s=e.readonly,l=e.registry,u=e.required,c=e.schema,d=e.title,p=e.uiSchema,f=Se(p),m=ve("TitleFieldTemplate",l,f),v=ve("DescriptionFieldTemplate",l,f),$=l.templates.ButtonTemplates.AddButton;return E.jsxs("fieldset",{id:i.$id,children:[d&&E.jsx(m,{id:V0(i),title:d,required:u,schema:c,uiSchema:p,registry:l}),t&&E.jsx(v,{id:ga(i),description:t,schema:c,uiSchema:p,registry:l}),o.map(function(h){return h.content}),e7(c,p,n)&&E.jsx($,{className:"object-property-expand",onClick:a(c),disabled:r||s,uiSchema:p,registry:l})]})}var Sae="*";function _ae(e){var t=e.id,r=e.title,n=e.required;return E.jsxs("legend",{id:t,children:[r,n&&E.jsx("span",{className:"required",children:Sae})]})}function xae(e){var t=e.schema,r=e.idSchema,n=e.reason,i=e.registry,a=i.translateString,o=Ee.UnsupportedField,s=[];return r&&r.$id&&(o=Ee.UnsupportedFieldWithId,s.push(r.$id)),n&&(o=o===Ee.UnsupportedField?Ee.UnsupportedFieldWithReason:Ee.UnsupportedFieldWithIdAndReason,s.push(n)),E.jsxs("div",{className:"unsupported-field",children:[E.jsx("p",{children:E.jsx(hf,{children:a(o,s)})}),t&&E.jsx("pre",{children:JSON.stringify(t,null,2)})]})}function Oae(e){var t=e.id,r=e.classNames,n=e.style,i=e.disabled,a=e.label,o=e.onKeyChange,s=e.onDropPropertyClick,l=e.readonly,u=e.required,c=e.schema,d=e.children,p=e.uiSchema,f=e.registry,m=f.templates,v=f.translateString,$=m.ButtonTemplates.RemoveButton,h=v(Ee.KeyLabel,[a]),g=Mo in c;return g?E.jsx("div",{className:r,style:n,children:E.jsxs("div",{className:"row",children:[E.jsx("div",{className:"col-xs-5 form-additional",children:E.jsxs("div",{className:"form-group",children:[E.jsx(v6,{label:h,required:u,id:t+"-key"}),E.jsx("input",{className:"form-control",type:"text",id:t+"-key",onBlur:function(b){return o(b.target.value)},defaultValue:a})]})}),E.jsx("div",{className:"form-additional form-group col-xs-5",children:d}),E.jsx("div",{className:"col-xs-2",children:E.jsx($,{className:"array-item-remove btn-block",style:{border:"0"},disabled:i||l,onClick:s(a),uiSchema:p,registry:f})})]})}):E.jsx("div",{className:r,style:n,children:d})}function Pae(){return{ArrayFieldDescriptionTemplate:rae,ArrayFieldItemTemplate:nae,ArrayFieldTemplate:aae,ArrayFieldTitleTemplate:oae,ButtonTemplates:vae(),BaseInputTemplate:lae,DescriptionFieldTemplate:gae,ErrorListTemplate:yae,FieldTemplate:wae,FieldErrorTemplate:bae,FieldHelpTemplate:Eae,ObjectFieldTemplate:Cae,TitleFieldTemplate:_ae,UnsupportedFieldTemplate:xae,WrapIfAdditionalTemplate:Oae}}function Tae(e,t){for(var r=[],n=e;n<=t;n++)r.push({value:n,label:Jn(n,2)});return r}function Aae(e){return Object.values(e).every(function(t){return t!==-1})}function Rae(e,t,r){r===void 0&&(r=[1900,new Date().getFullYear()+2]);var n=e.year,i=e.month,a=e.day,o=e.hour,s=e.minute,l=e.second,u=[{type:"year",range:r,value:n},{type:"month",range:[1,12],value:i},{type:"day",range:[1,31],value:a}];return t&&u.push({type:"hour",range:[0,23],value:o},{type:"minute",range:[0,59],value:s},{type:"second",range:[0,59],value:l}),u}function jae(e){var t=e.type,r=e.range,n=e.value,i=e.select,a=e.rootId,o=e.name,s=e.disabled,l=e.readonly,u=e.autofocus,c=e.registry,d=e.onBlur,p=e.onFocus,f=a+"_"+t,m=c.widgets.SelectWidget;return E.jsx(m,{schema:{type:"integer"},id:f,name:o,className:"form-control",options:{enumOptions:Tae(r[0],r[1])},placeholder:t,value:n,disabled:s,readonly:l,autofocus:u,onChange:function($){return i(t,$)},onBlur:d,onFocus:p,registry:c,label:"","aria-describedby":ir(a)})}function Iae(e){var t=e.time,r=t===void 0?!1:t,n=e.disabled,i=n===void 0?!1:n,a=e.readonly,o=a===void 0?!1:a,s=e.autofocus,l=s===void 0?!1:s,u=e.options,c=e.id,d=e.name,p=e.registry,f=e.onBlur,m=e.onFocus,v=e.onChange,$=e.value,h=p.translateString,g=R.useState($),y=g[0],b=g[1],O=R.useReducer(function(N,K){return ne({},N,K)},m1($,r)),S=O[0],_=O[1];R.useEffect(function(){var N=D$(S,r);Aae(S)&&N!==$?v(N):y!==$&&(b($),_(m1($,r)))},[r,$,v,S,y]);var w=R.useCallback(function(N,K){var D;_((D={},D[N]=K,D))},[]),T=R.useCallback(function(N){if(N.preventDefault(),!(i||o)){var K=m1(new Date().toJSON(),r);v(D$(K,r))}},[i,o,r]),F=R.useCallback(function(N){N.preventDefault(),!(i||o)&&v(void 0)},[i,o,v]);return E.jsxs("ul",{className:"list-inline",children:[Rae(S,r,u.yearsRange).map(function(N,K){return E.jsx("li",{className:"list-inline-item",children:E.jsx(jae,ne({rootId:c,name:d,select:w},N,{disabled:i,readonly:o,registry:p,onBlur:f,onFocus:m,autofocus:l&&K===0}))},K)}),(u.hideNowButton!=="undefined"?!u.hideNowButton:!0)&&E.jsx("li",{className:"list-inline-item",children:E.jsx("a",{href:"#",className:"btn btn-info btn-now",onClick:T,children:h(Ee.NowLabel)})}),(u.hideClearButton!=="undefined"?!u.hideClearButton:!0)&&E.jsx("li",{className:"list-inline-item",children:E.jsx("a",{href:"#",className:"btn btn-warning btn-clear",onClick:F,children:h(Ee.ClearLabel)})})]})}var Lae=["time"];function Nae(e){var t=e.time,r=t===void 0?!0:t,n=br(e,Lae),i=n.registry.widgets.AltDateWidget;return E.jsx(i,ne({time:r},n))}function Mae(e){var t,r=e.schema,n=e.uiSchema,i=e.options,a=e.id,o=e.value,s=e.disabled,l=e.readonly,u=e.label,c=e.hideLabel,d=e.autofocus,p=d===void 0?!1:d,f=e.onBlur,m=e.onFocus,v=e.onChange,$=e.registry,h=ve("DescriptionFieldTemplate",$,i),g=Ns(r),y=R.useCallback(function(_){return v(_.target.checked)},[v]),b=R.useCallback(function(_){return f(a,_.target.checked)},[f,a]),O=R.useCallback(function(_){return m(a,_.target.checked)},[m,a]),S=(t=i.description)!=null?t:r.description;return E.jsxs("div",{className:"checkbox "+(s||l?"disabled":""),children:[!c&&!!S&&E.jsx(h,{id:ga(a),description:S,schema:r,uiSchema:n,registry:$}),E.jsxs("label",{children:[E.jsx("input",{type:"checkbox",id:a,name:a,checked:typeof o>"u"?!1:o,required:g,disabled:s||l,autoFocus:p,onChange:y,onBlur:b,onFocus:O,"aria-describedby":ir(a)}),H0(E.jsx("span",{children:u}),c)]})]})}function kae(e){var t=e.id,r=e.disabled,n=e.options,i=n.inline,a=i===void 0?!1:i,o=n.enumOptions,s=n.enumDisabled,l=n.emptyValue,u=e.value,c=e.autofocus,d=c===void 0?!1:c,p=e.readonly,f=e.onChange,m=e.onBlur,v=e.onFocus,$=Array.isArray(u)?u:[u],h=R.useCallback(function(y){var b=y.target.value;return m(t,ht(b,o,l))},[m,t]),g=R.useCallback(function(y){var b=y.target.value;return v(t,ht(b,o,l))},[v,t]);return E.jsx("div",{className:"checkboxes",id:t,children:Array.isArray(o)&&o.map(function(y,b){var O=Ml(y.value,$),S=Array.isArray(s)&&s.indexOf(y.value)!==-1,_=r||S||p?"disabled":"",w=function(N){N.target.checked?f(d7(b,$,o)):f(u7(b,$,o))},T=E.jsxs("span",{children:[E.jsx("input",{type:"checkbox",id:of(t,b),name:t,checked:O,value:String(b),disabled:r||S||p,autoFocus:d&&b===0,onChange:w,onBlur:h,onFocus:g,"aria-describedby":ir(t)}),E.jsx("span",{children:y.label})]});return a?E.jsx("label",{className:"checkbox-inline "+_,children:T},b):E.jsx("div",{className:"checkbox "+_,children:E.jsx("label",{children:T})},b)})})}function Fae(e){var t=e.disabled,r=e.readonly,n=e.options,i=e.registry,a=ve("BaseInputTemplate",i,n);return E.jsx(a,ne({type:"color"},e,{disabled:t||r}))}function Dae(e){var t=e.onChange,r=e.options,n=e.registry,i=ve("BaseInputTemplate",n,r),a=R.useCallback(function(o){return t(o||void 0)},[t]);return E.jsx(i,ne({type:"date"},e,{onChange:a}))}function Vae(e){var t=e.onChange,r=e.value,n=e.options,i=e.registry,a=ve("BaseInputTemplate",i,n);return E.jsx(a,ne({type:"datetime-local"},e,{value:CX(r),onChange:function(s){return t(yX(s))}}))}function Hae(e){var t=e.options,r=e.registry,n=ve("BaseInputTemplate",r,t);return E.jsx(n,ne({type:"email"},e))}function Uae(e,t){return e===null?null:e.replace(";base64",";name="+encodeURIComponent(t)+";base64")}function Bae(e){var t=e.name,r=e.size,n=e.type;return new Promise(function(i,a){var o=new window.FileReader;o.onerror=a,o.onload=function(s){var l;typeof((l=s.target)===null||l===void 0?void 0:l.result)=="string"?i({dataURL:Uae(s.target.result,t),name:t,size:r,type:n}):i({dataURL:null,name:t,size:r,type:n})},o.readAsDataURL(e)})}function zae(e){return Promise.all(Array.from(e).map(Bae))}function Kae(e){var t=e.fileInfo,r=e.registry,n=r.translateString,i=t.dataURL,a=t.type,o=t.name;return i?a.indexOf("image")!==-1?E.jsx("img",{src:i,style:{maxWidth:"100%"},className:"file-preview"}):E.jsxs(E.Fragment,{children:[" ",E.jsx("a",{download:"preview-"+o,href:i,className:"file-download",children:n(Ee.PreviewLabel)})]}):null}function qae(e){var t=e.filesInfo,r=e.registry,n=e.preview;if(t.length===0)return null;var i=r.translateString;return E.jsx("ul",{className:"file-info",children:t.map(function(a,o){var s=a.name,l=a.size,u=a.type;return E.jsxs("li",{children:[E.jsx(hf,{children:i(Ee.FilesInfo,[s,u,String(l)])}),n&&E.jsx(Kae,{fileInfo:a,registry:r})]},o)})})}function m4(e){return e.filter(function(t){return t}).map(function(t){var r=lX(t),n=r.blob,i=r.name;return{dataURL:t,name:i,size:n.size,type:n.type}})}function Zae(e){var t=e.disabled,r=e.readonly,n=e.required,i=e.multiple,a=e.onChange,o=e.value,s=e.options,l=e.registry,u=ve("BaseInputTemplate",l,s),c=R.useState(Array.isArray(o)?m4(o):m4([o])),d=c[0],p=c[1],f=R.useCallback(function(m){m.target.files&&zae(m.target.files).then(function(v){var $=v.map(function(h){return h.dataURL});i?(p(d.concat(v[0])),a(o.concat($[0]))):(p(v),a($[0]))})},[i,o,d,a]);return E.jsxs("div",{children:[E.jsx(u,ne({},e,{disabled:t||r,type:"file",required:o?!1:n,onChangeOverride:f,value:"",accept:s.accept?String(s.accept):void 0})),E.jsx(qae,{filesInfo:d,registry:l,preview:s.filePreview})]})}function Wae(e){var t=e.id,r=e.value;return E.jsx("input",{type:"hidden",id:t,name:t,value:typeof r>"u"?"":r})}function Gae(e){var t=e.options,r=e.registry,n=ve("BaseInputTemplate",r,t);return E.jsx(n,ne({type:"password"},e))}function Qae(e){var t=e.options,r=e.value,n=e.required,i=e.disabled,a=e.readonly,o=e.autofocus,s=o===void 0?!1:o,l=e.onBlur,u=e.onFocus,c=e.onChange,d=e.id,p=t.enumOptions,f=t.enumDisabled,m=t.inline,v=t.emptyValue,$=R.useCallback(function(g){var y=g.target.value;return l(d,ht(y,p,v))},[l,d]),h=R.useCallback(function(g){var y=g.target.value;return u(d,ht(y,p,v))},[u,d]);return E.jsx("div",{className:"field-radio-group",id:d,children:Array.isArray(p)&&p.map(function(g,y){var b=Ml(g.value,r),O=Array.isArray(f)&&f.indexOf(g.value)!==-1,S=i||O||a?"disabled":"",_=function(){return c(g.value)},w=E.jsxs("span",{children:[E.jsx("input",{type:"radio",id:of(d,y),checked:b,name:d,required:n,value:String(y),disabled:i||O||a,autoFocus:s&&y===0,onChange:_,onBlur:$,onFocus:h,"aria-describedby":ir(d)}),E.jsx("span",{children:g.label})]});return m?E.jsx("label",{className:"radio-inline "+S,children:w},y):E.jsx("div",{className:"radio "+S,children:E.jsx("label",{children:w})},y)})})}function Yae(e){var t=e.value,r=e.registry.templates.BaseInputTemplate;return E.jsxs("div",{className:"field-range-wrapper",children:[E.jsx(r,ne({type:"range"},e)),E.jsx("span",{className:"range-view",children:t})]})}function _1(e,t){return t?Array.from(e.target.options).slice().filter(function(r){return r.selected}).map(function(r){return r.value}):e.target.value}function Jae(e){var t=e.schema,r=e.id,n=e.options,i=e.value,a=e.required,o=e.disabled,s=e.readonly,l=e.multiple,u=l===void 0?!1:l,c=e.autofocus,d=c===void 0?!1:c,p=e.onChange,f=e.onBlur,m=e.onFocus,v=e.placeholder,$=n.enumOptions,h=n.enumDisabled,g=n.emptyValue,y=u?[]:"",b=R.useCallback(function(w){var T=_1(w,u);return m(r,ht(T,$,g))},[m,r,t,u,n]),O=R.useCallback(function(w){var T=_1(w,u);return f(r,ht(T,$,g))},[f,r,t,u,n]),S=R.useCallback(function(w){var T=_1(w,u);return p(ht(T,$,g))},[p,t,u,n]),_=c7(i,$,u);return E.jsxs("select",{id:r,name:r,multiple:u,className:"form-control",value:typeof _>"u"?y:_,required:a,disabled:o||s,autoFocus:d,onBlur:O,onFocus:b,onChange:S,"aria-describedby":ir(r),children:[!u&&t.default===void 0&&E.jsx("option",{value:"",children:v}),Array.isArray($)&&$.map(function(w,T){var F=w.value,N=w.label,K=h&&h.indexOf(F)!==-1;return E.jsx("option",{value:String(T),disabled:K,children:N},T)})]})}function g6(e){var t=e.id,r=e.options,n=r===void 0?{}:r,i=e.placeholder,a=e.value,o=e.required,s=e.disabled,l=e.readonly,u=e.autofocus,c=u===void 0?!1:u,d=e.onChange,p=e.onBlur,f=e.onFocus,m=R.useCallback(function(h){var g=h.target.value;return d(g===""?n.emptyValue:g)},[d,n.emptyValue]),v=R.useCallback(function(h){var g=h.target.value;return p(t,g)},[p,t]),$=R.useCallback(function(h){var g=h.target.value;return f(t,g)},[t,f]);return E.jsx("textarea",{id:t,name:t,className:"form-control",value:a||"",placeholder:i,required:o,disabled:s,readOnly:l,autoFocus:c,rows:n.rows,onBlur:v,onFocus:$,onChange:m,"aria-describedby":ir(t)})}g6.defaultProps={autofocus:!1,options:{}};function Xae(e){var t=e.options,r=e.registry,n=ve("BaseInputTemplate",r,t);return E.jsx(n,ne({},e))}function eoe(e){var t=e.onChange,r=e.options,n=e.registry,i=ve("BaseInputTemplate",n,r),a=R.useCallback(function(o){return t(o?o+":00":void 0)},[t]);return E.jsx(i,ne({type:"time"},e,{onChange:a}))}function toe(e){var t=e.options,r=e.registry,n=ve("BaseInputTemplate",r,t);return E.jsx(n,ne({type:"url"},e))}function roe(e){var t=e.options,r=e.registry,n=ve("BaseInputTemplate",r,t);return E.jsx(n,ne({type:"number"},e))}function noe(){return{AltDateWidget:Iae,AltDateTimeWidget:Nae,CheckboxWidget:Mae,CheckboxesWidget:kae,ColorWidget:Fae,DateWidget:Dae,DateTimeWidget:Vae,EmailWidget:Hae,FileWidget:Zae,HiddenWidget:Wae,PasswordWidget:Gae,RadioWidget:Qae,RangeWidget:Yae,SelectWidget:Jae,TextWidget:Xae,TextareaWidget:g6,TimeWidget:eoe,UpDownWidget:roe,URLWidget:toe}}function ioe(){return{fields:tae(),templates:Pae(),widgets:noe(),rootSchema:{},formContext:{},translateString:cX}}var aoe=function(e){Hl(t,e);function t(n){var i;if(i=e.call(this,n)||this,i.formElement=void 0,i.getUsedFormData=function(a,o){if(o.length===0&&typeof a!="object")return a;var s=SJ(a,o);return Array.isArray(a)?Object.keys(s).map(function(l){return s[l]}):s},i.getFieldNames=function(a,o){var s=function l(u,c,d){return c===void 0&&(c=[]),d===void 0&&(d=[[]]),Object.keys(u).forEach(function(p){if(typeof u[p]=="object"){var f=d.map(function(m){return[].concat(m,[p])});u[p][R0]&&u[p][Zu]!==""?c.push(u[p][Zu]):l(u[p],c,f)}else p===Zu&&u[p]!==""&&d.forEach(function(m){var v=oe(o,m);(typeof v!="object"||na(v))&&c.push(m)})}),c};return s(a)},i.onChange=function(a,o,s){var l=i.props,u=l.extraErrors,c=l.omitExtraData,d=l.liveOmit,p=l.noValidate,f=l.liveValidate,m=l.onChange,v=i.state,$=v.schemaUtils,h=v.schema;if(Ze(a)||Array.isArray(a)){var g=i.getStateFromProps(i.props,a);a=g.formData}var y=!p&&f,b={formData:a,schema:h},O=a;if(c===!0&&d===!0){var S=$.retrieveSchema(h,a),_=$.toPathSchema(S,"",a),w=i.getFieldNames(_,a);O=i.getUsedFormData(a,w),b={formData:O}}if(y){var T=i.validate(O),F=T.errors,N=T.errorSchema,K=F,D=N;if(u){var U=Gu(T,u);N=U.errorSchema,F=U.errors}b={formData:O,errors:F,errorSchema:N,schemaValidationErrors:K,schemaValidationErrorSchema:D}}else if(!p&&o){var te=u?ko(o,u,"preventDuplicates"):o;b={formData:O,errorSchema:te,errors:vl(te)}}i.setState(b,function(){return m&&m(ne({},i.state,b),s)})},i.reset=function(){var a=i.props.onChange,o=i.getStateFromProps(i.props,void 0),s=o.formData,l={formData:s,errorSchema:{},errors:[],schemaValidationErrors:[],schemaValidationErrorSchema:{}};i.setState(l,function(){return a&&a(ne({},i.state,l))})},i.onBlur=function(a,o){var s=i.props.onBlur;s&&s(a,o)},i.onFocus=function(a,o){var s=i.props.onFocus;s&&s(a,o)},i.onSubmit=function(a){if(a.preventDefault(),a.target===a.currentTarget){a.persist();var o=i.props,s=o.omitExtraData,l=o.extraErrors,u=o.noValidate,c=o.onSubmit,d=i.state.formData,p=i.state,f=p.schema,m=p.schemaUtils;if(s===!0){var v=m.retrieveSchema(f,d),$=m.toPathSchema(v,"",d),h=i.getFieldNames($,d);d=i.getUsedFormData(d,h)}if(u||i.validateForm()){var g=l||{},y=l?vl(l):[];i.setState({formData:d,errors:y,errorSchema:g,schemaValidationErrors:[],schemaValidationErrorSchema:{}},function(){c&&c(ne({},i.state,{formData:d,status:"submitted"}),a)})}}},!n.validator)throw new Error("A validator is required for Form functionality to work");return i.state=i.getStateFromProps(n,n.formData),i.props.onChange&&!nn(i.state.formData,i.props.formData)&&i.props.onChange(i.state),i.formElement=R.createRef(),i}var r=t.prototype;return r.UNSAFE_componentWillReceiveProps=function(i){var a=this.getStateFromProps(i,i.formData);!nn(a.formData,i.formData)&&!nn(a.formData,this.state.formData)&&i.onChange&&i.onChange(a),this.setState(a)},r.getStateFromProps=function(i,a){var o=this.state||{},s="schema"in i?i.schema:this.props.schema,l=("uiSchema"in i?i.uiSchema:this.props.uiSchema)||{},u=typeof a<"u",c="liveValidate"in i?i.liveValidate:this.props.liveValidate,d=u&&!i.noValidate&&c,p=s,f="experimental_defaultFormStateBehavior"in i?i.experimental_defaultFormStateBehavior:this.props.experimental_defaultFormStateBehavior,m=o.schemaUtils;(!m||m.doesSchemaUtilsDiffer(i.validator,p,f))&&(m=sX(i.validator,p,f));var v=m.getDefaultFormState(s,a),$=m.retrieveSchema(s,v),h=function(){return i.noValidate?{errors:[],errorSchema:{}}:i.liveValidate?{errors:o.errors||[],errorSchema:o.errorSchema||{}}:{errors:o.schemaValidationErrors||[],errorSchema:o.schemaValidationErrorSchema||{}}},g,y,b=o.schemaValidationErrors,O=o.schemaValidationErrorSchema;if(d){var S=this.validate(v,s,m);g=S.errors,y=S.errorSchema,b=g,O=y}else{var _=h();g=_.errors,y=_.errorSchema}if(i.extraErrors){var w=Gu({errorSchema:y,errors:g},i.extraErrors);y=w.errorSchema,g=w.errors}var T=m.toIdSchema($,l["ui:rootFieldId"],v,i.idPrefix,i.idSeparator),F={schemaUtils:m,schema:s,uiSchema:l,idSchema:T,formData:v,edit:u,errors:g,errorSchema:y,schemaValidationErrors:b,schemaValidationErrorSchema:O};return F},r.shouldComponentUpdate=function(i,a){return bX(this,i,a)},r.validate=function(i,a,o){a===void 0&&(a=this.props.schema);var s=o||this.state.schemaUtils,l=this.props,u=l.customValidate,c=l.transformErrors,d=l.uiSchema,p=s.retrieveSchema(a,i);return s.getValidator().validateFormData(i,p,u,c,d)},r.renderErrors=function(i){var a=this.state,o=a.errors,s=a.errorSchema,l=a.schema,u=a.uiSchema,c=this.props.formContext,d=Se(u),p=ve("ErrorListTemplate",i,d);return o&&o.length?E.jsx(p,{errors:o,errorSchema:s||{},schema:l,uiSchema:u,formContext:c,registry:i}):null},r.getRegistry=function(){var i,a=this.props,o=a.translateString,s=a.uiSchema,l=s===void 0?{}:s,u=this.state.schemaUtils,c=ioe(),d=c.fields,p=c.templates,f=c.widgets,m=c.formContext,v=c.translateString;return{fields:ne({},d,this.props.fields),templates:ne({},p,this.props.templates,{ButtonTemplates:ne({},p.ButtonTemplates,(i=this.props.templates)===null||i===void 0?void 0:i.ButtonTemplates)}),widgets:ne({},f,this.props.widgets),rootSchema:this.props.schema,formContext:this.props.formContext||m,schemaUtils:u,translateString:o||v,globalUiOptions:l[HJ]}},r.submit=function(){this.formElement.current&&(this.formElement.current.dispatchEvent(new CustomEvent("submit",{cancelable:!0})),this.formElement.current.requestSubmit())},r.focusOnError=function(i){var a=this.props,o=a.idPrefix,s=o===void 0?"root":o,l=a.idSeparator,u=l===void 0?"_":l,c=i.property,d=G8(c);d[0]===""?d[0]=s:d.unshift(s);var p=d.join(u),f=this.formElement.current.elements[p];f||(f=this.formElement.current.querySelector("input[id^="+p)),f&&f.length&&(f=f[0]),f&&f.focus()},r.validateForm=function(){var i=this.props,a=i.extraErrors,o=i.focusOnFirstError,s=i.onError,l=this.state.formData,u=this.validate(l),c=u.errors,d=u.errorSchema,p=c,f=d;if(c.length>0){if(a){var m=Gu(u,a);d=m.errorSchema,c=m.errors}return o&&(typeof o=="function"?o(u.errors[0]):this.focusOnError(u.errors[0])),this.setState({errors:c,errorSchema:d,schemaValidationErrors:p,schemaValidationErrorSchema:f},function(){s?s(c):console.error("Form validation failed",c)}),!1}return!0},r.render=function(){var i,a,o=this.props,s=o.children,l=o.id,u=o.idPrefix,c=o.idSeparator,d=o.className,p=d===void 0?"":d,f=o.tagName,m=o.name,v=o.method,$=o.target,h=o.action,g=o.autoComplete,y=o.enctype,b=o.acceptcharset,O=o.noHtml5Validate,S=O===void 0?!1:O,_=o.disabled,w=_===void 0?!1:_,T=o.readonly,F=T===void 0?!1:T,N=o.formContext,K=o.showErrorList,D=K===void 0?"top":K,U=o._internalFormWrapper,te=this.state,ae=te.schema,he=te.uiSchema,Z=te.formData,ee=te.errorSchema,M=te.idSchema,j=this.getRegistry(),H=j.fields.SchemaField,k=j.templates.ButtonTemplates.SubmitButton,x=U?f:void 0,A=U||f||"form",V=Se(he),J=V[Hc],W=J===void 0?{}:J;w&&(W=ne({},W,{props:ne({},W.props,{disabled:!0})}));var ue=(a={},a[Ls]=(i={},i[Hc]=W,i),a);return E.jsxs(A,{className:p||"rjsf",id:l,name:m,method:v,target:$,action:h,autoComplete:g,encType:y,acceptCharset:b,noValidate:S,onSubmit:this.onSubmit,as:x,ref:this.formElement,children:[D==="top"&&this.renderErrors(j),E.jsx(H,{name:"",schema:ae,uiSchema:he,errorSchema:ee,idSchema:M,idPrefix:u,idSeparator:c,formContext:N,formData:Z,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,registry:j,disabled:w,readonly:F}),s||E.jsx(k,{uiSchema:ue,registry:j}),D==="bottom"&&this.renderErrors(j)]})},t}(R.Component),ooe=["fields","widgets","templates"];function soe(e){return R.forwardRef(function(t,r){var n,i,a=t.fields,o=t.widgets,s=t.templates,l=br(t,ooe);return a=ne({},e==null?void 0:e.fields,a),o=ne({},e==null?void 0:e.widgets,o),s=ne({},e==null?void 0:e.templates,s,{ButtonTemplates:ne({},e==null||(n=e.templates)===null||n===void 0?void 0:n.ButtonTemplates,(i=s)===null||i===void 0?void 0:i.ButtonTemplates)}),E.jsx(aoe,ne({},e,l,{fields:a,widgets:o,templates:s,ref:r}))})}var y6={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],i=0;i=0)&&(r[i]=e[i]);return r}function doe(e){return!e||e.trim()==="#"}function $6({tagName:e,disabled:t,href:r,target:n,rel:i,role:a,onClick:o,tabIndex:s=0,type:l}){e||(r!=null||n!=null||i!=null?e="a":e="button");const u={tagName:e};if(e==="button")return[{type:l||"button",disabled:t},u];const c=p=>{if((t||e==="a"&&doe(r))&&p.preventDefault(),t){p.stopPropagation();return}o==null||o(p)},d=p=>{p.key===" "&&(p.preventDefault(),c(p))};return e==="a"&&(r||(r="#"),t&&(r=void 0)),[{role:a??"button",disabled:void 0,tabIndex:t?void 0:s,href:r,target:e==="a"?n:void 0,"aria-disabled":t||void 0,rel:e==="a"?i:void 0,onClick:c,onKeyDown:d},u]}const w6=j.forwardRef((e,t)=>{let{as:r,disabled:n}=e,i=coe(e,uoe);const[a,{tagName:o}]=$6(Object.assign({tagName:r,disabled:n},i));return E.jsx(o,Object.assign({},i,a,{ref:t}))});w6.displayName="Button";const foe=["xxl","xl","lg","md","sm","xs"],poe="xs",Pv=j.createContext({prefixes:{},breakpoints:foe,minBreakpoint:poe});function Qe(e,t){const{prefixes:r}=j.useContext(Pv);return e||r[t]||t}function b6(){const{breakpoints:e}=j.useContext(Pv);return e}function E6(){const{minBreakpoint:e}=j.useContext(Pv);return e}const mf=j.forwardRef(({as:e,bsPrefix:t,variant:r="primary",size:n,active:i=!1,disabled:a=!1,className:o,...s},l)=>{const u=Qe(t,"btn"),[c,{tagName:d}]=$6({tagName:e,disabled:a,...s}),p=d;return E.jsx(p,{...c,...s,ref:l,disabled:a,className:Re(o,u,i&&"active",r&&`${u}-${r}`,n&&`${u}-${n}`,s.href&&a&&"disabled")})});mf.displayName="Button";var hoe=[{id:"fa",name:"Font Awesome",projectUrl:"https://fontawesome.com/",license:"CC BY 4.0 License",licenseUrl:"https://creativecommons.org/licenses/by/4.0/"},{id:"io",name:"Ionicons 4",projectUrl:"https://ionicons.com/",license:"MIT",licenseUrl:"https://github.com/ionic-team/ionicons/blob/master/LICENSE"},{id:"io5",name:"Ionicons 5",projectUrl:"https://ionicons.com/",license:"MIT",licenseUrl:"https://github.com/ionic-team/ionicons/blob/master/LICENSE"},{id:"md",name:"Material Design icons",projectUrl:"http://google.github.io/material-design-icons/",license:"Apache License Version 2.0",licenseUrl:"https://github.com/google/material-design-icons/blob/master/LICENSE"},{id:"ti",name:"Typicons",projectUrl:"http://s-ings.com/typicons/",license:"CC BY-SA 3.0",licenseUrl:"https://creativecommons.org/licenses/by-sa/3.0/"},{id:"go",name:"Github Octicons icons",projectUrl:"https://octicons.github.com/",license:"MIT",licenseUrl:"https://github.com/primer/octicons/blob/master/LICENSE"},{id:"fi",name:"Feather",projectUrl:"https://feathericons.com/",license:"MIT",licenseUrl:"https://github.com/feathericons/feather/blob/master/LICENSE"},{id:"gi",name:"Game Icons",projectUrl:"https://game-icons.net/",license:"CC BY 3.0",licenseUrl:"https://creativecommons.org/licenses/by/3.0/"},{id:"wi",name:"Weather Icons",projectUrl:"https://erikflowers.github.io/weather-icons/",license:"SIL OFL 1.1",licenseUrl:"http://scripts.sil.org/OFL"},{id:"di",name:"Devicons",projectUrl:"https://vorillaz.github.io/devicons/",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"ai",name:"Ant Design Icons",projectUrl:"https://github.com/ant-design/ant-design-icons",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"bs",name:"Bootstrap Icons",projectUrl:"https://github.com/twbs/icons",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"ri",name:"Remix Icon",projectUrl:"https://github.com/Remix-Design/RemixIcon",license:"Apache License Version 2.0",licenseUrl:"http://www.apache.org/licenses/"},{id:"fc",name:"Flat Color Icons",projectUrl:"https://github.com/icons8/flat-color-icons",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"gr",name:"Grommet-Icons",projectUrl:"https://github.com/grommet/grommet-icons",license:"Apache License Version 2.0",licenseUrl:"http://www.apache.org/licenses/"},{id:"hi",name:"Heroicons",projectUrl:"https://github.com/refactoringui/heroicons",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"si",name:"Simple Icons",projectUrl:"https://simpleicons.org/",license:"CC0 1.0 Universal",licenseUrl:"https://creativecommons.org/publicdomain/zero/1.0/"},{id:"im",name:"IcoMoon Free",projectUrl:"https://github.com/Keyamoon/IcoMoon-Free",license:"CC BY 4.0 License"},{id:"bi",name:"BoxIcons",projectUrl:"https://github.com/atisawd/boxicons",license:"CC BY 4.0 License"},{id:"cg",name:"css.gg",projectUrl:"https://github.com/astrit/css.gg",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"vsc",name:"VS Code Icons",projectUrl:"https://github.com/microsoft/vscode-codicons",license:"CC BY 4.0",licenseUrl:"https://creativecommons.org/licenses/by/4.0/"}],Tv={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},mh=C.createContext&&C.createContext(Tv),yi=function(){return yi=Object.assign||function(e){for(var t,r=1,n=arguments.length;r{const a=Qe(e,"row"),o=b6(),s=E6(),l=`${a}-cols`,u=[];return o.forEach(c=>{const d=n[c];delete n[c];let p;d!=null&&typeof d=="object"?{cols:p}=d:p=d;const f=c!==s?`-${c}`:"";p!=null&&u.push(`${l}${f}-${p}`)}),E.jsx(r,{ref:i,...n,className:Re(t,a,...u)})});oa.displayName="Row";function woe({as:e,bsPrefix:t,className:r,...n}){t=Qe(t,"col");const i=b6(),a=E6(),o=[],s=[];return i.forEach(l=>{const u=n[l];delete n[l];let c,d,p;typeof u=="object"&&u!=null?{span:c,offset:d,order:p}=u:c=u;const f=l!==a?`-${l}`:"";c&&o.push(c===!0?`${t}${f}`:`${t}${f}-${c}`),p!=null&&s.push(`order${f}-${p}`),d!=null&&s.push(`offset${f}-${d}`)}),[{...n,className:Re(r,...o,...s)},{as:e,bsPrefix:t,spans:o}]}const Er=j.forwardRef((e,t)=>{const[{className:r,...n},{as:i="div",bsPrefix:a,spans:o}]=woe(e);return E.jsx(i,{...n,ref:t,className:Re(r,!o.length&&a)})});Er.displayName="Col";const Qc=j.forwardRef(({bsPrefix:e,fluid:t=!1,as:r="div",className:n,...i},a)=>{const o=Qe(e,"container"),s=typeof t=="string"?`-${t}`:"-fluid";return E.jsx(r,{ref:a,...i,className:Re(n,t?`${o}${s}`:o)})});Qc.displayName="Container";var _6={exports:{}},boe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Eoe=boe,Coe=Eoe;function x6(){}function O6(){}O6.resetWarningCache=x6;var Soe=function(){function e(n,i,a,o,s,l){if(l!==Coe){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:O6,resetWarningCache:x6};return r.PropTypes=r,r};_6.exports=Soe();var _oe=_6.exports;const Jt=Mn(_oe),xoe={type:Jt.string,tooltip:Jt.bool,as:Jt.elementType},vf=j.forwardRef(({as:e="div",className:t,type:r="valid",tooltip:n=!1,...i},a)=>E.jsx(e,{...i,ref:a,className:Re(t,`${r}-${n?"tooltip":"feedback"}`)}));vf.displayName="Feedback";vf.propTypes=xoe;const Nn=j.createContext({}),zl=j.forwardRef(({id:e,bsPrefix:t,className:r,type:n="checkbox",isValid:i=!1,isInvalid:a=!1,as:o="input",...s},l)=>{const{controlId:u}=j.useContext(Nn);return t=Qe(t,"form-check-input"),E.jsx(o,{...s,ref:l,type:n,id:e||u,className:Re(r,t,i&&"is-valid",a&&"is-invalid")})});zl.displayName="FormCheckInput";const Yc=j.forwardRef(({bsPrefix:e,className:t,htmlFor:r,...n},i)=>{const{controlId:a}=j.useContext(Nn);return e=Qe(e,"form-check-label"),E.jsx("label",{...n,ref:i,htmlFor:r||a,className:Re(t,e)})});Yc.displayName="FormCheckLabel";function Ooe(e,t){return j.Children.toArray(e).some(r=>j.isValidElement(r)&&r.type===t)}const P6=j.forwardRef(({id:e,bsPrefix:t,bsSwitchPrefix:r,inline:n=!1,reverse:i=!1,disabled:a=!1,isValid:o=!1,isInvalid:s=!1,feedbackTooltip:l=!1,feedback:u,feedbackType:c,className:d,style:p,title:f="",type:m="checkbox",label:v,children:$,as:h="input",...g},y)=>{t=Qe(t,"form-check"),r=Qe(r,"form-switch");const{controlId:b}=j.useContext(Nn),O=j.useMemo(()=>({controlId:e||b}),[b,e]),S=!$&&v!=null&&v!==!1||Ooe($,Yc),_=E.jsx(zl,{...g,type:m==="switch"?"checkbox":m,ref:y,isValid:o,isInvalid:s,disabled:a,as:h});return E.jsx(Nn.Provider,{value:O,children:E.jsx("div",{style:p,className:Re(d,S&&t,n&&`${t}-inline`,i&&`${t}-reverse`,m==="switch"&&r),children:$||E.jsxs(E.Fragment,{children:[_,S&&E.jsx(Yc,{title:f,children:v}),u&&E.jsx(vf,{type:c,tooltip:l,children:u})]})})})});P6.displayName="FormCheck";const Jc=Object.assign(P6,{Input:zl,Label:Yc}),T6=j.forwardRef(({bsPrefix:e,type:t,size:r,htmlSize:n,id:i,className:a,isValid:o=!1,isInvalid:s=!1,plaintext:l,readOnly:u,as:c="input",...d},p)=>{const{controlId:f}=j.useContext(Nn);e=Qe(e,"form-control");let m;return l?m={[`${e}-plaintext`]:!0}:m={[e]:!0,[`${e}-${r}`]:r},E.jsx(c,{...d,type:t,size:n,ref:p,readOnly:u,id:i||f,className:Re(a,m,o&&"is-valid",s&&"is-invalid",t==="color"&&`${e}-color`)})});T6.displayName="FormControl";const A6=Object.assign(T6,{Feedback:vf});var Poe=/-(.)/g;function Toe(e){return e.replace(Poe,function(t,r){return r.toUpperCase()})}const Aoe=e=>e[0].toUpperCase()+Toe(e).slice(1);function dn(e,{displayName:t=Aoe(e),Component:r,defaultProps:n}={}){const i=j.forwardRef(({className:a,bsPrefix:o,as:s=r||"div",...l},u)=>{const c={...n,...l},d=Qe(o,e);return E.jsx(s,{ref:u,className:Re(a,d),...c})});return i.displayName=t,i}const Roe=dn("form-floating"),Av=j.forwardRef(({controlId:e,as:t="div",...r},n)=>{const i=j.useMemo(()=>({controlId:e}),[e]);return E.jsx(Nn.Provider,{value:i,children:E.jsx(t,{...r,ref:n})})});Av.displayName="FormGroup";const R6=j.forwardRef(({as:e="label",bsPrefix:t,column:r=!1,visuallyHidden:n=!1,className:i,htmlFor:a,...o},s)=>{const{controlId:l}=j.useContext(Nn);t=Qe(t,"form-label");let u="col-form-label";typeof r=="string"&&(u=`${u} ${u}-${r}`);const c=Re(i,t,n&&"visually-hidden",r&&u);return a=a||l,r?E.jsx(Er,{ref:s,as:"label",className:c,htmlFor:a,...o}):E.jsx(e,{ref:s,className:c,htmlFor:a,...o})});R6.displayName="FormLabel";const j6=j.forwardRef(({bsPrefix:e,className:t,id:r,...n},i)=>{const{controlId:a}=j.useContext(Nn);return e=Qe(e,"form-range"),E.jsx("input",{...n,type:"range",ref:i,className:Re(t,e),id:r||a})});j6.displayName="FormRange";const I6=j.forwardRef(({bsPrefix:e,size:t,htmlSize:r,className:n,isValid:i=!1,isInvalid:a=!1,id:o,...s},l)=>{const{controlId:u}=j.useContext(Nn);return e=Qe(e,"form-select"),E.jsx("select",{...s,size:r,ref:l,className:Re(n,e,t&&`${e}-${t}`,i&&"is-valid",a&&"is-invalid"),id:o||u})});I6.displayName="FormSelect";const L6=j.forwardRef(({bsPrefix:e,className:t,as:r="small",muted:n,...i},a)=>(e=Qe(e,"form-text"),E.jsx(r,{...i,ref:a,className:Re(t,e,n&&"text-muted")})));L6.displayName="FormText";const N6=j.forwardRef((e,t)=>E.jsx(Jc,{...e,ref:t,type:"switch"}));N6.displayName="Switch";const joe=Object.assign(N6,{Input:Jc.Input,Label:Jc.Label}),M6=j.forwardRef(({bsPrefix:e,className:t,children:r,controlId:n,label:i,...a},o)=>(e=Qe(e,"form-floating"),E.jsxs(Av,{ref:o,className:Re(t,e),controlId:n,...a,children:[r,E.jsx("label",{htmlFor:n,children:i})]})));M6.displayName="FloatingLabel";const Ioe={_ref:Jt.any,validated:Jt.bool,as:Jt.elementType},Rv=j.forwardRef(({className:e,validated:t,as:r="form",...n},i)=>E.jsx(r,{...n,ref:i,className:Re(e,t&&"was-validated")}));Rv.displayName="Form";Rv.propTypes=Ioe;const At=Object.assign(Rv,{Group:Av,Control:A6,Floating:Roe,Check:Jc,Switch:joe,Label:R6,Text:L6,Range:j6,Select:I6,FloatingLabel:M6}),k6=e=>j.forwardRef((t,r)=>E.jsx("div",{...t,ref:r,className:Re(t.className,e)})),F6=j.forwardRef(({bsPrefix:e,className:t,variant:r,as:n="img",...i},a)=>{const o=Qe(e,"card-img");return E.jsx(n,{ref:a,className:Re(r?`${o}-${r}`:o,t),...i})});F6.displayName="CardImg";const D6=j.createContext(null);D6.displayName="CardHeaderContext";const V6=j.forwardRef(({bsPrefix:e,className:t,as:r="div",...n},i)=>{const a=Qe(e,"card-header"),o=j.useMemo(()=>({cardHeaderBsPrefix:a}),[a]);return E.jsx(D6.Provider,{value:o,children:E.jsx(r,{ref:i,...n,className:Re(t,a)})})});V6.displayName="CardHeader";const Loe=k6("h5"),Noe=k6("h6"),H6=dn("card-body"),Moe=dn("card-title",{Component:Loe}),koe=dn("card-subtitle",{Component:Noe}),Foe=dn("card-link",{Component:"a"}),Doe=dn("card-text",{Component:"p"}),Voe=dn("card-footer"),Hoe=dn("card-img-overlay"),U6=j.forwardRef(({bsPrefix:e,className:t,bg:r,text:n,border:i,body:a=!1,children:o,as:s="div",...l},u)=>{const c=Qe(e,"card");return E.jsx(s,{ref:u,...l,className:Re(t,c,r&&`bg-${r}`,n&&`text-${n}`,i&&`border-${i}`),children:a?E.jsx(H6,{children:o}):o})});U6.displayName="Card";const x1=Object.assign(U6,{Img:F6,Title:Moe,Subtitle:koe,Body:H6,Link:Foe,Text:Doe,Header:V6,Footer:Voe,ImgOverlay:Hoe});function vh(){return vh=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[i]=e[i]);return r}function v4(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function Uoe(e){var t=Boe(e,"string");return typeof t=="symbol"?t:String(t)}function Boe(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function zoe(e,t,r){var n=j.useRef(e!==void 0),i=j.useState(t),a=i[0],o=i[1],s=e!==void 0,l=n.current;return n.current=s,!s&&l&&a!==t&&o(t),[s?e:a,j.useCallback(function(u){for(var c=arguments.length,d=new Array(c>1?c-1:0),p=1;pe!=null?String(e):t||null,K6=j.createContext(null),Yoe="data-rr-ui-",Joe="rrUi";function Lv(e){return`${Yoe}${e}`}function Xoe(e){return`${Joe}${e}`}function ese(e){var t=j.useRef(e);return j.useEffect(function(){t.current=e},[e]),t}function Nv(e){var t=ese(e);return j.useCallback(function(){return t.current&&t.current.apply(t,arguments)},[t])}const tse=["as","active","eventKey"];function rse(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function q6({key:e,onClick:t,active:r,id:n,role:i,disabled:a}){const o=j.useContext(yh),s=j.useContext(jv),l=j.useContext(K6);let u=r;const c={role:i};if(s){!i&&s.role==="tablist"&&(c.role="tab");const d=s.getControllerId(e??null),p=s.getControlledId(e??null);c[Lv("event-key")]=e,c.id=d||n,u=r==null&&e!=null?s.activeKey===e:r,(u||!(l!=null&&l.unmountOnExit)&&!(l!=null&&l.mountOnEnter))&&(c["aria-controls"]=p)}return c.role==="tab"&&(c["aria-selected"]=u,u||(c.tabIndex=-1),a&&(c.tabIndex=-1,c["aria-disabled"]=!0)),c.onClick=Nv(d=>{a||(t==null||t(d),e!=null&&o&&!d.isPropagationStopped()&&o(e,d))}),[c,{isActive:u}]}const Z6=j.forwardRef((e,t)=>{let{as:r=w6,active:n,eventKey:i}=e,a=rse(e,tse);const[o,s]=q6(Object.assign({key:Iv(i,a.href),active:n},a));return o[Lv("active")]=s.isActive,E.jsx(r,Object.assign({},a,o,{ref:t}))});Z6.displayName="NavItem";const nse=Z6,ise=["as","onSelect","activeKey","role","onKeyDown"];function ase(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}const y4=()=>{},$4=Lv("event-key"),W6=j.forwardRef((e,t)=>{let{as:r="div",onSelect:n,activeKey:i,role:a,onKeyDown:o}=e,s=ase(e,ise);const l=Goe(),u=j.useRef(!1),c=j.useContext(yh),d=j.useContext(K6);let p,f;d&&(a=a||"tablist",i=d.activeKey,p=d.getControlledId,f=d.getControllerId);const m=j.useRef(null),v=y=>{const b=m.current;if(!b)return null;const O=Woe(b,`[${$4}]:not([aria-disabled=true])`),S=b.querySelector("[aria-selected=true]");if(!S||S!==document.activeElement)return null;const _=O.indexOf(S);if(_===-1)return null;let w=_+y;return w>=O.length&&(w=0),w<0&&(w=O.length-1),O[w]},$=(y,b)=>{y!=null&&(n==null||n(y,b),c==null||c(y,b))},h=y=>{if(o==null||o(y),!d)return;let b;switch(y.key){case"ArrowLeft":case"ArrowUp":b=v(-1);break;case"ArrowRight":case"ArrowDown":b=v(1);break;default:return}b&&(y.preventDefault(),$(b.dataset[Xoe("EventKey")]||null,y),u.current=!0,l())};j.useEffect(()=>{if(m.current&&u.current){const y=m.current.querySelector(`[${$4}][aria-selected=true]`);y==null||y.focus()}u.current=!1});const g=z6(t,m);return E.jsx(yh.Provider,{value:$,children:E.jsx(jv.Provider,{value:{role:a,activeKey:Iv(i),getControlledId:p||y4,getControllerId:f||y4},children:E.jsx(r,Object.assign({},s,{onKeyDown:h,ref:g,role:a}))})})});W6.displayName="Nav";const ose=Object.assign(W6,{Item:nse}),G6=j.forwardRef(({bsPrefix:e,active:t,disabled:r,eventKey:n,className:i,variant:a,action:o,as:s,...l},u)=>{e=Qe(e,"list-group-item");const[c,d]=q6({key:Iv(n,l.href),active:t,...l}),p=Nv(m=>{if(r){m.preventDefault(),m.stopPropagation();return}c.onClick(m)});r&&l.tabIndex===void 0&&(l.tabIndex=-1,l["aria-disabled"]=!0);const f=s||(o?l.href?"a":"button":"div");return E.jsx(f,{ref:u,...l,...c,onClick:p,className:Re(i,e,d.isActive&&"active",r&&"disabled",a&&`${e}-${a}`,o&&`${e}-action`)})});G6.displayName="ListGroupItem";const Q6=j.forwardRef((e,t)=>{const{className:r,bsPrefix:n,variant:i,horizontal:a,numbered:o,as:s="div",...l}=Koe(e,{activeKey:"onSelect"}),u=Qe(n,"list-group");let c;return a&&(c=a===!0?"horizontal":`horizontal-${a}`),E.jsx(ose,{ref:t,...l,as:s,className:Re(r,u,i&&`${u}-${i}`,c&&`${u}-${c}`,o&&`${u}-numbered`)})});Q6.displayName="ListGroup";const Xc=Object.assign(Q6,{Item:G6});var sse=Bl.GenIcon,lse=function(t){return sse({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M352 115h90c3.3 0 6-2.7 6-6 0-8.2-3.7-16-10-21.3l-77.1-64.2c-4.9-4.1-14.2-7.4-20.6-7.4-4.1 0-7.4 3.3-7.4 7.4V96c.1 10.5 8.6 19 19.1 19z"}},{tag:"path",attr:{d:"M307 96V16H176c-17.6 0-32 14.4-32 32v336c0 17.6 14.4 32 32 32h240c17.6 0 32-14.4 32-32V141h-96c-24.8 0-45-20.2-45-45z"}},{tag:"path",attr:{d:"M116 412V80H96c-17.6 0-32 14.4-32 32v352c0 17.6 14.4 32 32 32h256c17.6 0 32-14.4 32-32v-20H148c-17.6 0-32-14.4-32-32z"}}]})(t)},use=Bl.GenIcon,cse=function(t){return use({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M368.5 240h-225c-8.8 0-16 7.2-16 16 0 4.4 1.8 8.4 4.7 11.3 2.9 2.9 6.9 4.7 11.3 4.7h225c8.8 0 16-7.2 16-16s-7.2-16-16-16z"}}]})(t)},dse=Bl.GenIcon,fse=function(t){return dse({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M868 545.5L536.1 163a31.96 31.96 0 0 0-48.3 0L156 545.5a7.97 7.97 0 0 0 6 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z"}}]})(t)},pse=Bl.GenIcon,hse=function(t){return pse({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0 0 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]})(t)};const Y6=j.createContext(null);Y6.displayName="InputGroupContext";const Mv=dn("input-group-text",{Component:"span"}),mse=e=>E.jsx(Mv,{children:E.jsx(zl,{type:"checkbox",...e})}),vse=e=>E.jsx(Mv,{children:E.jsx(zl,{type:"radio",...e})}),J6=j.forwardRef(({bsPrefix:e,size:t,hasValidation:r,className:n,as:i="div",...a},o)=>{e=Qe(e,"input-group");const s=j.useMemo(()=>({}),[]);return E.jsx(Y6.Provider,{value:s,children:E.jsx(i,{ref:o,...a,className:Re(n,e,t&&`${e}-${t}`,r&&"has-validation")})})});J6.displayName="InputGroup";const gse=Object.assign(J6,{Text:Mv,Radio:vse,Checkbox:mse});function er(){return er=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[i]=e[i]);return r}var yse=["uiSchema","registry"];function $se(e){var t=e.registry,r=kv(e,yse),n=t.translateString;return E.jsx(mf,er({},r,{style:{width:"100%"},className:"ml-1 "+r.className,title:n(Ee.AddItemButton),children:E.jsx($oe,{})}))}function wse(e){var t=e.children,r=e.disabled,n=e.hasToolbar,i=e.hasCopy,a=e.hasMoveDown,o=e.hasMoveUp,s=e.hasRemove,l=e.index,u=e.onCopyIndexClick,c=e.onDropIndexClick,d=e.onReorderClick,p=e.readonly,f=e.registry,m=e.uiSchema,v=f.templates.ButtonTemplates,$=v.CopyButton,h=v.MoveDownButton,g=v.MoveUpButton,y=v.RemoveButton,b={flex:1,paddingLeft:6,paddingRight:6,fontWeight:"bold"};return E.jsx("div",{children:E.jsxs(oa,{className:"mb-2 d-flex align-items-center",children:[E.jsx(Er,{xs:"9",lg:"9",children:t}),E.jsx(Er,{xs:"3",lg:"3",className:"py-4",children:n&&E.jsxs("div",{className:"d-flex flex-row",children:[(o||a)&&E.jsx("div",{className:"m-0 p-0",children:E.jsx(g,{className:"array-item-move-up",style:b,disabled:r||p||!o,onClick:d(l,l-1),uiSchema:m,registry:f})}),(o||a)&&E.jsx("div",{className:"m-0 p-0",children:E.jsx(h,{style:b,disabled:r||p||!a,onClick:d(l,l+1),uiSchema:m,registry:f})}),i&&E.jsx("div",{className:"m-0 p-0",children:E.jsx($,{style:b,disabled:r||p,onClick:u(l),uiSchema:m,registry:f})}),s&&E.jsx("div",{className:"m-0 p-0",children:E.jsx(y,{style:b,disabled:r||p,onClick:c(l),uiSchema:m,registry:f})})]})})]})})}var bse=["key"];function Ese(e){var t=e.canAdd,r=e.disabled,n=e.idSchema,i=e.uiSchema,a=e.items,o=e.onAddClick,s=e.readonly,l=e.registry,u=e.required,c=e.schema,d=e.title,p=Se(i),f=ve("ArrayFieldDescriptionTemplate",l,p),m=ve("ArrayFieldItemTemplate",l,p),v=ve("ArrayFieldTitleTemplate",l,p),$=l.templates.ButtonTemplates.AddButton;return E.jsx("div",{children:E.jsx(oa,{className:"p-0 m-0",children:E.jsxs(Er,{className:"p-0 m-0",children:[E.jsx(v,{idSchema:n,title:p.title||d,schema:c,uiSchema:i,required:u,registry:l}),E.jsx(f,{idSchema:n,description:p.description||c.description,schema:c,uiSchema:i,registry:l}),E.jsxs(Qc,{fluid:!0,className:"p-0 m-0",children:[a&&a.map(function(h){var g=h.key,y=kv(h,bse);return E.jsx(m,er({},y),g)}),t&&E.jsx(Qc,{className:"",children:E.jsxs(oa,{className:"mt-2",children:[E.jsx(Er,{xs:9}),E.jsx(Er,{xs:3,className:"py-4 col-lg-3 col-3",children:E.jsx($,{className:"array-item-add",onClick:o,disabled:r||s,uiSchema:i,registry:l})})]})})]},"array-item-list-"+n.$id)]})})})}function Cse(e){var t=e.id,r=e.placeholder,n=e.required,i=e.readonly,a=e.disabled,o=e.type,s=e.value,l=e.onChange,u=e.onChangeOverride,c=e.onBlur,d=e.onFocus,p=e.autofocus,f=e.options,m=e.schema,v=e.rawErrors,$=v===void 0?[]:v,h=e.children,g=e.extraProps,y=er({},g,f7(m,o,f)),b=function(w){var T=w.target.value;return l(T===""?f.emptyValue:T)},O=function(w){var T=w.target.value;return c(t,T)},S=function(w){var T=w.target.value;return d(t,T)};return E.jsxs(E.Fragment,{children:[E.jsx(At.Control,er({id:t,name:t,placeholder:r,autoFocus:p,required:n,disabled:a,readOnly:i,className:$.length>0?"is-invalid":"",list:m.examples?ml(t):void 0},y,{value:s||s===0?s:"",onChange:u||b,onBlur:O,onFocus:S,"aria-describedby":ir(t,!!m.examples)})),h,Array.isArray(m.examples)?E.jsx("datalist",{id:ml(t),children:m.examples.concat(m.default&&!m.examples.includes(m.default)?[m.default]:[]).map(function(_){return E.jsx("option",{value:_},_)})}):null]})}function Sse(e){var t=e.id,r=e.description;return r?E.jsx("div",{children:E.jsx("div",{id:t,className:"mb-3",children:r})}):null}function _se(e){var t=e.errors,r=e.registry,n=r.translateString;return E.jsxs(x1,{border:"danger",className:"mb-4",children:[E.jsx(x1.Header,{className:"alert-danger",children:n(Ee.ErrorsLabel)}),E.jsx(x1.Body,{className:"p-0",children:E.jsx(Xc,{children:t.map(function(i,a){return E.jsx(Xc.Item,{className:"border-0",children:E.jsx("span",{children:i.stack})},a)})})})]})}var xse=["icon","iconType","className","uiSchema","registry"];function gf(e){var t=e.icon,r=e.iconType,n=kv(e,xse);return E.jsx(mf,er({block:r==="block"},n,{variant:e.variant||"light",size:"sm",children:t}))}function Ose(e){var t=e.registry.translateString;return E.jsx(gf,er({title:t(Ee.CopyButton)},e,{icon:E.jsx(lse,{})}))}function Pse(e){var t=e.registry.translateString;return E.jsx(gf,er({title:t(Ee.MoveDownButton)},e,{icon:E.jsx(hse,{})}))}function Tse(e){var t=e.registry.translateString;return E.jsx(gf,er({title:t(Ee.MoveUpButton)},e,{icon:E.jsx(fse,{})}))}function Ase(e){var t=e.registry.translateString;return E.jsx(gf,er({title:t(Ee.RemoveButton)},e,{variant:"danger",icon:E.jsx(cse,{})}))}function Rse(e){var t=e.errors,r=t===void 0?[]:t,n=e.idSchema;if(r.length===0)return null;var i=F0(n);return E.jsx(Xc,{as:"ul",id:i,children:r.map(function(a,o){return E.jsx(Xc.Item,{as:"li",className:"border-0 m-0 p-0",children:E.jsx("small",{className:"m-0 text-danger",children:a})},o)})})}function jse(e){var t=e.idSchema,r=e.help,n=e.hasErrors;if(!r)return null;var i=D0(t);return E.jsx(At.Text,{className:n?"text-danger":"text-muted",id:i,children:r})}function Ise(e){var t=e.id,r=e.children,n=e.displayLabel,i=e.rawErrors,a=i===void 0?[]:i,o=e.errors,s=e.help,l=e.description,u=e.rawDescription,c=e.classNames,d=e.style,p=e.disabled,f=e.label,m=e.hidden,v=e.onDropPropertyClick,$=e.onKeyChange,h=e.readonly,g=e.required,y=e.schema,b=e.uiSchema,O=e.registry,S=Se(b),_=ve("WrapIfAdditionalTemplate",O,S);return m?E.jsx("div",{className:"hidden",children:r}):E.jsx(_,{classNames:c,style:d,disabled:p,id:t,label:f,onDropPropertyClick:v,onKeyChange:$,readonly:h,required:g,schema:y,uiSchema:b,registry:O,children:E.jsxs(At.Group,{children:[n&&E.jsxs(At.Label,{htmlFor:t,className:a.length>0?"text-danger":"",children:[f,g?"*":null]}),r,n&&u&&E.jsx(At.Text,{className:a.length>0?"text-danger":"text-muted",children:l}),o,s]})})}function Lse(e){var t=e.description,r=e.title,n=e.properties,i=e.required,a=e.uiSchema,o=e.idSchema,s=e.schema,l=e.formData,u=e.onAddClick,c=e.disabled,d=e.readonly,p=e.registry,f=Se(a),m=ve("TitleFieldTemplate",p,f),v=ve("DescriptionFieldTemplate",p,f),$=p.templates.ButtonTemplates.AddButton;return E.jsxs(E.Fragment,{children:[r&&E.jsx(m,{id:V0(o),title:r,required:i,schema:s,uiSchema:a,registry:p}),t&&E.jsx(v,{id:ga(o),description:t,schema:s,uiSchema:a,registry:p}),E.jsxs(Qc,{fluid:!0,className:"p-0",children:[n.map(function(h,g){return E.jsx(oa,{style:{marginBottom:"10px"},className:h.hidden?"d-none":void 0,children:E.jsxs(Er,{xs:12,children:[" ",h.content]})},g)}),e7(s,a,l)?E.jsx(oa,{children:E.jsx(Er,{xs:{offset:9,span:3},className:"py-4",children:E.jsx($,{onClick:u(s),disabled:c||d,className:"object-property-expand",uiSchema:a,registry:p})})}):null]})]})}function Nse(e){var t=p7(e.uiSchema),r=t.submitText,n=t.norender,i=t.props;return n?null:E.jsx("div",{children:E.jsx(mf,er({variant:"primary",type:"submit"},i,{children:r}))})}function Mse(e){var t=e.id,r=e.title,n=e.uiSchema,i=Se(n);return E.jsxs("div",{id:t,className:"my-1",children:[E.jsx("h5",{children:i.title||r}),E.jsx("hr",{className:"border-0 bg-secondary",style:{height:"1px"}})]})}function kse(e){var t=e.classNames,r=e.style,n=e.children,i=e.disabled,a=e.id,o=e.label,s=e.onDropPropertyClick,l=e.onKeyChange,u=e.readonly,c=e.required,d=e.schema,p=e.uiSchema,f=e.registry,m=f.templates,v=f.translateString,$=m.ButtonTemplates.RemoveButton,h=v(Ee.KeyLabel,[o]),g=Mo in d;if(!g)return E.jsx("div",{className:t,style:r,children:n});var y=function(S){var _=S.target;return l(_.value)},b=a+"-key";return E.jsxs(oa,{className:t,style:r,children:[E.jsx(Er,{xs:5,children:E.jsxs(At.Group,{children:[E.jsx(At.Label,{htmlFor:b,children:h}),E.jsx(At.Control,{required:c,defaultValue:o,disabled:i||u,id:b,name:b,onBlur:u?void 0:y,type:"text"})]})}),E.jsx(Er,{xs:5,children:n}),E.jsx(Er,{xs:2,className:"py-4",children:E.jsx($,{iconType:"block",className:"w-100",disabled:i||u,onClick:s(o),uiSchema:p,registry:f})})]},b)}function Fse(){return{ArrayFieldItemTemplate:wse,ArrayFieldTemplate:Ese,BaseInputTemplate:Cse,ButtonTemplates:{AddButton:$se,CopyButton:Ose,MoveDownButton:Pse,MoveUpButton:Tse,RemoveButton:Ase,SubmitButton:Nse},DescriptionFieldTemplate:Sse,ErrorListTemplate:_se,FieldErrorTemplate:Rse,FieldHelpTemplate:jse,FieldTemplate:Ise,ObjectFieldTemplate:Lse,TitleFieldTemplate:Mse,WrapIfAdditionalTemplate:kse}}function Dse(e){var t=e.id,r=e.value,n=e.disabled,i=e.readonly,a=e.label,o=e.hideLabel,s=e.schema,l=e.autofocus,u=e.options,c=e.onChange,d=e.onBlur,p=e.onFocus,f=e.registry,m=e.uiSchema,v=Ns(s),$=ve("DescriptionFieldTemplate",f,u),h=function(S){var _=S.target.checked;return c(_)},g=function(S){var _=S.target.checked;return d(t,_)},y=function(S){var _=S.target.checked;return p(t,_)},b=u.description||s.description;return E.jsxs(At.Group,{className:"checkbox "+(n||i?"disabled":""),"aria-describedby":ir(t),children:[!o&&!!b&&E.jsx($,{id:ga(t),description:b,schema:s,uiSchema:m,registry:f}),E.jsx(At.Check,{id:t,name:t,label:H0(a,o||!a),checked:typeof r>"u"?!1:r,required:v,disabled:n||i,autoFocus:l,onChange:h,type:"checkbox",onBlur:g,onFocus:y})]})}function Vse(e){var t=e.id,r=e.disabled,n=e.options,i=e.value,a=e.autofocus,o=e.readonly,s=e.required,l=e.onChange,u=e.onBlur,c=e.onFocus,d=n.enumOptions,p=n.enumDisabled,f=n.inline,m=n.emptyValue,v=Array.isArray(i)?i:[i],$=function(b){return function(O){var S=O.target.checked;l(S?d7(b,v,d):u7(b,v,d))}},h=function(b){var O=b.target.value;return u(t,ht(O,d,m))},g=function(b){var O=b.target.value;return c(t,ht(O,d,m))};return E.jsx(At.Group,{children:Array.isArray(d)&&d.map(function(y,b){var O=Ml(y.value,v),S=Array.isArray(p)&&p.indexOf(y.value)!==-1;return E.jsx(At.Check,{inline:f,custom:!0,required:s,checked:O,className:"bg-transparent border-0",type:"checkbox",id:of(t,b),name:t,label:y.label,autoFocus:a&&b===0,onChange:$(b),onBlur:h,onFocus:g,disabled:r||S||o,"aria-describedby":ir(t)},y.value)})})}function Hse(e){var t=e.id,r=e.options,n=e.value,i=e.required,a=e.disabled,o=e.readonly,s=e.onChange,l=e.onBlur,u=e.onFocus,c=r.enumOptions,d=r.enumDisabled,p=r.emptyValue,f=function(g){var y=g.target.value;return s(ht(y,c,p))},m=function(g){var y=g.target.value;return l(t,ht(y,c,p))},v=function(g){var y=g.target.value;return u(t,ht(y,c,p))},$=!!(r&&r.inline);return E.jsx(At.Group,{className:"mb-0",children:Array.isArray(c)&&c.map(function(h,g){var y=Array.isArray(d)&&d.indexOf(h.value)!==-1,b=Ml(h.value,n),O=E.jsx(At.Check,{inline:$,label:h.label,id:of(t,g),name:t,type:"radio",disabled:a||y||o,checked:b,required:i,value:String(g),onChange:f,onBlur:m,onFocus:v,"aria-describedby":ir(t)},g);return O})})}function Use(e){var t=e.value,r=e.label,n=e.hideLabel,i=e.options,a=e.registry,o=ve("BaseInputTemplate",a,i);return E.jsx(o,er({},e,{extraProps:{label:H0(r||void 0,n)},children:E.jsx("span",{className:"range-view",children:t})}))}function Bse(e){var t=e.schema,r=e.id,n=e.options,i=e.required,a=e.disabled,o=e.readonly,s=e.value,l=e.multiple,u=e.autofocus,c=e.onChange,d=e.onBlur,p=e.onFocus,f=e.placeholder,m=e.rawErrors,v=m===void 0?[]:m,$=n.enumOptions,h=n.enumDisabled,g=n.emptyValue,y=l?[]:"";function b(S,_){return _?[].slice.call(S.target.options).filter(function(w){return w.selected}).map(function(w){return w.value}):S.target.value}var O=c7(s,$,l);return E.jsxs(At.Control,{as:"select",bsPrefix:"custom-select",id:r,name:r,value:typeof O>"u"?y:O,required:i,multiple:l,disabled:a||o,autoFocus:u,className:v.length>0?"is-invalid":"",onBlur:d&&function(S){var _=b(S,l);d(r,ht(_,$,g))},onFocus:p&&function(S){var _=b(S,l);p(r,ht(_,$,g))},onChange:function(_){var w=b(_,l);c(ht(w,$,g))},"aria-describedby":ir(r),children:[!l&&t.default===void 0&&E.jsx("option",{value:"",children:f}),$.map(function(S,_){var w=S.value,T=S.label,F=Array.isArray(h)&&h.indexOf(w)!=-1;return E.jsx("option",{id:T,value:String(_),disabled:F,children:T},_)})]})}function zse(e){var t=e.id,r=e.placeholder,n=e.value,i=e.required,a=e.disabled,o=e.autofocus,s=e.readonly,l=e.onBlur,u=e.onFocus,c=e.onChange,d=e.options,p=function($){var h=$.target.value;return c(h===""?d.emptyValue:h)},f=function($){var h=$.target.value;return l(t,h)},m=function($){var h=$.target.value;return u(t,h)};return E.jsx(gse,{children:E.jsx(A6,{id:t,name:t,as:"textarea",placeholder:r,disabled:a,readOnly:s,value:n,required:i,autoFocus:o,rows:d.rows||5,onChange:p,onBlur:f,onFocus:m,"aria-describedby":ir(t)})})}function Kse(){return{CheckboxWidget:Dse,CheckboxesWidget:Vse,RadioWidget:Hse,RangeWidget:Use,SelectWidget:Bse,TextareaWidget:zse}}function qse(){return{templates:Fse(),widgets:Kse()}}function Zse(){return soe(qse())}var X6=Zse();const Wse=({schema:e,uiSchema:t,extraErrors:r,onSubmit:n})=>{const[i,a]=j.useState({});function o({formData:s}){a(s)}return E.jsx(E.Fragment,{children:E.jsx(X6,{schema:e,uiSchema:t,validator:One,showErrorList:"top",onChange:o,formData:i,onSubmit:n,extraErrors:r})})},Gse={properties:{login:{type:"string",title:"Username"},password:{type:"string",title:"Password"}},required:["login","password"]},Qse={"ui:order":["login","password"]},Yse=({closeModalHandler:e,cameFrom:t})=>{const[r,n]=j.useState({});async function i(a){(await fetch("/@login",{method:"POST",headers:{Accept:"application/json"},body:JSON.stringify(a.formData)})).ok?(n({}),t&&(window.location.href=t),e()):n({__errors:["Login or password are incorrect"]})}return E.jsx("div",{className:"modal fade show",style:{display:"block"},tabIndex:-1,children:E.jsx("div",{className:"modal-dialog",children:E.jsxs("div",{className:"modal-content",children:[E.jsxs("div",{className:"modal-header",children:[E.jsx("h5",{className:"modal-title",children:"Login Form"}),E.jsx("button",{type:"button",className:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",onClick:e})]}),E.jsx("div",{className:"modal-body",children:E.jsx(Wse,{schema:Gse,uiSchema:Qse,onSubmit:i,extraErrors:r})})]})})})};var Jse=!!(typeof window<"u"&&window.document&&window.document.createElement),Xse=function(){function e(t,r){for(var n=0;n{const{isLoading:e,isError:t,data:r,error:n}=n5(X_()),[i,a]=j.useState(!1),[o,s]=j.useState(""),l=async()=>(await fetch("/@@ploneAddSite",{method:"GET"})).status===401?!1:(a(!1),!0),u=async(c,d)=>{const p=`/@@ploneAddSite?distribution=${d}`;c?window.location.href=p:(s(p),await l()?window.location.href=p:a(!0))};if(e)return E.jsx(E.Fragment,{children:"Loading..."});if(t)return E.jsx(E.Fragment,{children:"An error has occurred: "+n});if(r){const{sites:c,distributions:d,can_manage:p}=r;return E.jsxs(E.Fragment,{children:[i&&E.jsx($h,{children:E.jsx(Yse,{cameFrom:o,closeModalHandler:()=>a(!1)})}),(c==null?void 0:c.length)>0?E.jsxs("div",{className:"sites",children:[E.jsx("h2",{children:"Sites"}),E.jsx("hr",{}),E.jsx("h3",{children:"Existing Sites"}),E.jsx(IT,{sites:c})]}):null,(d==null?void 0:d.length)>0?E.jsxs("div",{className:"distributions",children:[E.jsx("h2",{children:"Create a new site"}),E.jsx("hr",{}),E.jsx("h3",{children:"Available distributions"}),E.jsx(AT,{distributions:d,can_manage:p,handler:u})]}):null,!p&&ym.createPortal(E.jsx(jm,{type:"button",className:"btn btn-primary",onPress:()=>l(),children:"Login"}),document.getElementById("topForm"))]})}return null};var wh={exports:{}},Fv={},Uo={};Object.defineProperty(Uo,"__esModule",{value:!0});Uo.dynamicAnchor=void 0;const O1=fe,lle=ar,w4=Pt,ule=Ln,cle={keyword:"$dynamicAnchor",schemaType:"string",code:e=>rb(e,e.schema)};function rb(e,t){const{gen:r,it:n}=e;n.schemaEnv.root.dynamicAnchors[t]=!0;const i=(0,O1._)`${lle.default.dynamicAnchors}${(0,O1.getProperty)(t)}`,a=n.errSchemaPath==="#"?n.validateName:dle(e);r.if((0,O1._)`!${i}`,()=>r.assign(i,a))}Uo.dynamicAnchor=rb;function dle(e){const{schemaEnv:t,schema:r,self:n}=e.it,{root:i,baseId:a,localRefs:o,meta:s}=t.root,{schemaId:l}=n.opts,u=new w4.SchemaEnv({schema:r,schemaId:l,root:i,baseId:a,localRefs:o,meta:s});return w4.compileSchema.call(n,u),(0,ule.getValidate)(e,u)}Uo.default=cle;var Bo={};Object.defineProperty(Bo,"__esModule",{value:!0});Bo.dynamicRef=void 0;const b4=fe,fle=ar,E4=Ln,ple={keyword:"$dynamicRef",schemaType:"string",code:e=>nb(e,e.schema)};function nb(e,t){const{gen:r,keyword:n,it:i}=e;if(t[0]!=="#")throw new Error(`"${n}" only supports hash fragment reference`);const a=t.slice(1);if(i.allErrors)o();else{const l=r.let("valid",!1);o(l),e.ok(l)}function o(l){if(i.schemaEnv.root.dynamicAnchors[a]){const u=r.let("_v",(0,b4._)`${fle.default.dynamicAnchors}${(0,b4.getProperty)(a)}`);r.if(u,s(u,l),s(i.validateName,l))}else s(i.validateName,l)()}function s(l,u){return u?()=>r.block(()=>{(0,E4.callRef)(e,l),r.let(u,!0)}):()=>(0,E4.callRef)(e,l)}}Bo.dynamicRef=nb;Bo.default=ple;var Dv={};Object.defineProperty(Dv,"__esModule",{value:!0});const hle=Uo,mle=ge,vle={keyword:"$recursiveAnchor",schemaType:"boolean",code(e){e.schema?(0,hle.dynamicAnchor)(e,""):(0,mle.checkStrictMode)(e.it,"$recursiveAnchor: false is ignored")}};Dv.default=vle;var Vv={};Object.defineProperty(Vv,"__esModule",{value:!0});const gle=Bo,yle={keyword:"$recursiveRef",schemaType:"string",code:e=>(0,gle.dynamicRef)(e,e.schema)};Vv.default=yle;Object.defineProperty(Fv,"__esModule",{value:!0});const $le=Uo,wle=Bo,ble=Dv,Ele=Vv,Cle=[$le.default,wle.default,ble.default,Ele.default];Fv.default=Cle;var Hv={},Uv={};Object.defineProperty(Uv,"__esModule",{value:!0});const C4=df,Sle={keyword:"dependentRequired",type:"object",schemaType:"object",error:C4.error,code:e=>(0,C4.validatePropertyDeps)(e)};Uv.default=Sle;var Bv={};Object.defineProperty(Bv,"__esModule",{value:!0});const _le=df,xle={keyword:"dependentSchemas",type:"object",schemaType:"object",code:e=>(0,_le.validateSchemaDeps)(e)};Bv.default=xle;var zv={};Object.defineProperty(zv,"__esModule",{value:!0});const Ole=ge,Ple={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:e,parentSchema:t,it:r}){t.contains===void 0&&(0,Ole.checkStrictMode)(r,`"${e}" without "contains" is ignored`)}};zv.default=Ple;Object.defineProperty(Hv,"__esModule",{value:!0});const Tle=Uv,Ale=Bv,Rle=zv,jle=[Tle.default,Ale.default,Rle.default];Hv.default=jle;var Kv={},qv={};Object.defineProperty(qv,"__esModule",{value:!0});const Xn=fe,S4=ge,Ile=ar,Lle={message:"must NOT have unevaluated properties",params:({params:e})=>(0,Xn._)`{unevaluatedProperty: ${e.unevaluatedProperty}}`},Nle={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:Lle,code(e){const{gen:t,schema:r,data:n,errsCount:i,it:a}=e;if(!i)throw new Error("ajv implementation error");const{allErrors:o,props:s}=a;s instanceof Xn.Name?t.if((0,Xn._)`${s} !== true`,()=>t.forIn("key",n,d=>t.if(u(s,d),()=>l(d)))):s!==!0&&t.forIn("key",n,d=>s===void 0?l(d):t.if(c(s,d),()=>l(d))),a.props=!0,e.ok((0,Xn._)`${i} === ${Ile.default.errors}`);function l(d){if(r===!1){e.setParams({unevaluatedProperty:d}),e.error(),o||t.break();return}if(!(0,S4.alwaysValidSchema)(a,r)){const p=t.name("valid");e.subschema({keyword:"unevaluatedProperties",dataProp:d,dataPropType:S4.Type.Str},p),o||t.if((0,Xn.not)(p),()=>t.break())}}function u(d,p){return(0,Xn._)`!${d} || !${d}[${p}]`}function c(d,p){const f=[];for(const m in d)d[m]===!0&&f.push((0,Xn._)`${p} !== ${m}`);return(0,Xn.and)(...f)}}};qv.default=Nle;var Zv={};Object.defineProperty(Zv,"__esModule",{value:!0});const Di=fe,_4=ge,Mle={message:({params:{len:e}})=>(0,Di.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,Di._)`{limit: ${e}}`},kle={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:Mle,code(e){const{gen:t,schema:r,data:n,it:i}=e,a=i.items||0;if(a===!0)return;const o=t.const("len",(0,Di._)`${n}.length`);if(r===!1)e.setParams({len:a}),e.fail((0,Di._)`${o} > ${a}`);else if(typeof r=="object"&&!(0,_4.alwaysValidSchema)(i,r)){const l=t.var("valid",(0,Di._)`${o} <= ${a}`);t.if((0,Di.not)(l),()=>s(l,a)),e.ok(l)}i.items=!0;function s(l,u){t.forRange("i",u,o,c=>{e.subschema({keyword:"unevaluatedItems",dataProp:c,dataPropType:_4.Type.Num},l),i.allErrors||t.if((0,Di.not)(l),()=>t.break())})}}};Zv.default=kle;Object.defineProperty(Kv,"__esModule",{value:!0});const Fle=qv,Dle=Zv,Vle=[Fle.default,Dle.default];Kv.default=Vle;var Wv={};const Hle="https://json-schema.org/draft/2019-09/schema",Ule="https://json-schema.org/draft/2019-09/schema",Ble={"https://json-schema.org/draft/2019-09/vocab/core":!0,"https://json-schema.org/draft/2019-09/vocab/applicator":!0,"https://json-schema.org/draft/2019-09/vocab/validation":!0,"https://json-schema.org/draft/2019-09/vocab/meta-data":!0,"https://json-schema.org/draft/2019-09/vocab/format":!1,"https://json-schema.org/draft/2019-09/vocab/content":!0},zle=!0,Kle="Core and Validation specifications meta-schema",qle=[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format"},{$ref:"meta/content"}],Zle=["object","boolean"],Wle={definitions:{$comment:"While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.",type:"object",additionalProperties:{$recursiveRef:"#"},default:{}},dependencies:{$comment:'"dependencies" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to "dependentSchemas" and "dependentRequired"',type:"object",additionalProperties:{anyOf:[{$recursiveRef:"#"},{$ref:"meta/validation#/$defs/stringArray"}]}}},Gle={$schema:Hle,$id:Ule,$vocabulary:Ble,$recursiveAnchor:zle,title:Kle,allOf:qle,type:Zle,properties:Wle},Qle="https://json-schema.org/draft/2019-09/schema",Yle="https://json-schema.org/draft/2019-09/meta/applicator",Jle={"https://json-schema.org/draft/2019-09/vocab/applicator":!0},Xle=!0,eue="Applicator vocabulary meta-schema",tue=["object","boolean"],rue={additionalItems:{$recursiveRef:"#"},unevaluatedItems:{$recursiveRef:"#"},items:{anyOf:[{$recursiveRef:"#"},{$ref:"#/$defs/schemaArray"}]},contains:{$recursiveRef:"#"},additionalProperties:{$recursiveRef:"#"},unevaluatedProperties:{$recursiveRef:"#"},properties:{type:"object",additionalProperties:{$recursiveRef:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$recursiveRef:"#"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$recursiveRef:"#"}},propertyNames:{$recursiveRef:"#"},if:{$recursiveRef:"#"},then:{$recursiveRef:"#"},else:{$recursiveRef:"#"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$recursiveRef:"#"}},nue={schemaArray:{type:"array",minItems:1,items:{$recursiveRef:"#"}}},iue={$schema:Qle,$id:Yle,$vocabulary:Jle,$recursiveAnchor:Xle,title:eue,type:tue,properties:rue,$defs:nue},aue="https://json-schema.org/draft/2019-09/schema",oue="https://json-schema.org/draft/2019-09/meta/content",sue={"https://json-schema.org/draft/2019-09/vocab/content":!0},lue=!0,uue="Content vocabulary meta-schema",cue=["object","boolean"],due={contentMediaType:{type:"string"},contentEncoding:{type:"string"},contentSchema:{$recursiveRef:"#"}},fue={$schema:aue,$id:oue,$vocabulary:sue,$recursiveAnchor:lue,title:uue,type:cue,properties:due},pue="https://json-schema.org/draft/2019-09/schema",hue="https://json-schema.org/draft/2019-09/meta/core",mue={"https://json-schema.org/draft/2019-09/vocab/core":!0},vue=!0,gue="Core vocabulary meta-schema",yue=["object","boolean"],$ue={$id:{type:"string",format:"uri-reference",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{type:"string",format:"uri"},$anchor:{type:"string",pattern:"^[A-Za-z][-A-Za-z0-9.:_]*$"},$ref:{type:"string",format:"uri-reference"},$recursiveRef:{type:"string",format:"uri-reference"},$recursiveAnchor:{type:"boolean",default:!1},$vocabulary:{type:"object",propertyNames:{type:"string",format:"uri"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$recursiveRef:"#"},default:{}}},wue={$schema:pue,$id:hue,$vocabulary:mue,$recursiveAnchor:vue,title:gue,type:yue,properties:$ue},bue="https://json-schema.org/draft/2019-09/schema",Eue="https://json-schema.org/draft/2019-09/meta/format",Cue={"https://json-schema.org/draft/2019-09/vocab/format":!0},Sue=!0,_ue="Format vocabulary meta-schema",xue=["object","boolean"],Oue={format:{type:"string"}},Pue={$schema:bue,$id:Eue,$vocabulary:Cue,$recursiveAnchor:Sue,title:_ue,type:xue,properties:Oue},Tue="https://json-schema.org/draft/2019-09/schema",Aue="https://json-schema.org/draft/2019-09/meta/meta-data",Rue={"https://json-schema.org/draft/2019-09/vocab/meta-data":!0},jue=!0,Iue="Meta-data vocabulary meta-schema",Lue=["object","boolean"],Nue={title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}},Mue={$schema:Tue,$id:Aue,$vocabulary:Rue,$recursiveAnchor:jue,title:Iue,type:Lue,properties:Nue},kue="https://json-schema.org/draft/2019-09/schema",Fue="https://json-schema.org/draft/2019-09/meta/validation",Due={"https://json-schema.org/draft/2019-09/vocab/validation":!0},Vue=!0,Hue="Validation vocabulary meta-schema",Uue=["object","boolean"],Bue={multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}},const:!0,enum:{type:"array",items:!0},type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]}},zue={nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},Kue={$schema:kue,$id:Fue,$vocabulary:Due,$recursiveAnchor:Vue,title:Hue,type:Uue,properties:Bue,$defs:zue};Object.defineProperty(Wv,"__esModule",{value:!0});const que=Gle,Zue=iue,Wue=fue,Gue=wue,Que=Pue,Yue=Mue,Jue=Kue,Xue=["/properties"];function ece(e){return[que,Zue,Wue,Gue,t(this,Que),Yue,t(this,Jue)].forEach(r=>this.addMetaSchema(r,void 0,!1)),this;function t(r,n){return e?r.$dataMetaSchema(n,Xue):n}}Wv.default=ece;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;const r=B0,n=cf,i=Fv,a=Hv,o=Kv,s=pf,l=Wv,u="https://json-schema.org/draft/2019-09/schema";class c extends r.default{constructor($={}){super({...$,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),this.addVocabulary(i.default),n.default.forEach($=>this.addVocabulary($)),this.addVocabulary(a.default),this.addVocabulary(o.default),this.opts.discriminator&&this.addKeyword(s.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:$,meta:h}=this.opts;h&&(l.default.call(this,$),this.refs["http://json-schema.org/schema"]=u)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(u)?u:void 0)}}e.exports=t=c,Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var d=wr;Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return d.KeywordCxt}});var p=fe;Object.defineProperty(t,"_",{enumerable:!0,get:function(){return p._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return p.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return p.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return p.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return p.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return p.CodeGen}});var f=Fo;Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return f.default}});var m=Do;Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return m.default}})})(wh,wh.exports);var tce=wh.exports;const rce=Mn(tce);function nce(){var e=j.useRef(!0),t=j.useRef(function(){return e.current});return j.useEffect(function(){return e.current=!0,function(){e.current=!1}},[]),t.current}function ice(e){var t=j.useRef(e);return t.current=e,t}function ace(e){var t=ice(e);j.useEffect(function(){return function(){return t.current()}},[])}var bh=Math.pow(2,31)-1;function ib(e,t,r){var n=r-Date.now();e.current=n<=bh?setTimeout(t,n):setTimeout(function(){return ib(e,t,r)},bh)}function oce(){var e=nce(),t=j.useRef();return ace(function(){return clearTimeout(t.current)}),j.useMemo(function(){var r=function(){return clearTimeout(t.current)};function n(i,a){a===void 0&&(a=0),e()&&(r(),a<=bh?t.current=setTimeout(i,a):ib(t,i,Date.now()+a))}return{set:n,clear:r}},[])}const x4={disabled:!1},ab=C.createContext(null);var sce=function(t){return t.scrollTop},bs="unmounted",Li="exited",En="entering",Vi="entered",ed="exiting",Vn=function(e){qoe(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var o=i,s=o&&!o.isMounting?n.enter:n.appear,l;return a.appearStatus=null,n.in?s?(l=Li,a.appearStatus=En):l=Vi:n.unmountOnExit||n.mountOnEnter?l=bs:l=Li,a.state={status:l},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var o=i.in;return o&&a.status===bs?{status:Li}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var a=null;if(i!==this.props){var o=this.state.status;this.props.in?o!==En&&o!==Vi&&(a=En):(o===En||o===Vi)&&(a=ed)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,a,o,s;return a=o=s=i,i!=null&&typeof i!="number"&&(a=i.exit,o=i.enter,s=i.appear!==void 0?i.appear:o),{exit:a,enter:o,appear:s}},r.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===En){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:_n.findDOMNode(this);o&&sce(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Li&&this.setState({status:bs})},r.performEnter=function(i){var a=this,o=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[_n.findDOMNode(this),s],u=l[0],c=l[1],d=this.getTimeouts(),p=s?d.appear:d.enter;if(!i&&!o||x4.disabled){this.safeSetState({status:Vi},function(){a.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:En},function(){a.props.onEntering(u,c),a.onTransitionEnd(p,function(){a.safeSetState({status:Vi},function(){a.props.onEntered(u,c)})})})},r.performExit=function(){var i=this,a=this.props.exit,o=this.getTimeouts(),s=this.props.nodeRef?void 0:_n.findDOMNode(this);if(!a||x4.disabled){this.safeSetState({status:Li},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:ed},function(){i.props.onExiting(s),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:Li},function(){i.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},r.setNextCallback=function(i){var a=this,o=!0;return this.nextCallback=function(s){o&&(o=!1,a.nextCallback=null,i(s))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},r.onTransitionEnd=function(i,a){this.setNextCallback(a);var o=this.props.nodeRef?this.props.nodeRef.current:_n.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!o||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===bs)return null;var a=this.props,o=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var s=B6(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return C.createElement(ab.Provider,{value:null},typeof o=="function"?o(i,s):C.cloneElement(C.Children.only(o),s))},t}(C.Component);Vn.contextType=ab;Vn.propTypes={};function Oa(){}Vn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Oa,onEntering:Oa,onEntered:Oa,onExit:Oa,onExiting:Oa,onExited:Oa};Vn.UNMOUNTED=bs;Vn.EXITED=Li;Vn.ENTERING=En;Vn.ENTERED=Vi;Vn.EXITING=ed;function lce(e){return e&&e.ownerDocument||document}function uce(e){var t=lce(e);return t&&t.defaultView||window}function cce(e,t){return uce(e).getComputedStyle(e,t)}var dce=/([A-Z])/g;function fce(e){return e.replace(dce,"-$1").toLowerCase()}var pce=/^ms-/;function Ou(e){return fce(e).replace(pce,"-ms-")}var hce=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function mce(e){return!!(e&&hce.test(e))}function ob(e,t){var r="",n="";if(typeof t=="string")return e.style.getPropertyValue(Ou(t))||cce(e).getPropertyValue(Ou(t));Object.keys(t).forEach(function(i){var a=t[i];!a&&a!==0?e.style.removeProperty(Ou(i)):mce(i)?n+=i+"("+a+") ":r+=Ou(i)+": "+a+";"}),n&&(r+="transform: "+n+";"),e.style.cssText+=";"+r}const vce=!!(typeof window<"u"&&window.document&&window.document.createElement);var Eh=!1,Ch=!1;try{var P1={get passive(){return Eh=!0},get once(){return Ch=Eh=!0}};vce&&(window.addEventListener("test",P1,P1),window.removeEventListener("test",P1,!0))}catch{}function gce(e,t,r,n){if(n&&typeof n!="boolean"&&!Ch){var i=n.once,a=n.capture,o=r;!Ch&&i&&(o=r.__once||function s(l){this.removeEventListener(t,s,a),r.call(this,l)},r.__once=o),e.addEventListener(t,o,Eh?n:a)}e.addEventListener(t,r,n)}function yce(e,t,r,n){var i=n&&typeof n!="boolean"?n.capture:n;e.removeEventListener(t,r,i),r.__once&&e.removeEventListener(t,r.__once,i)}function sb(e,t,r,n){return gce(e,t,r,n),function(){yce(e,t,r,n)}}function $ce(e,t,r,n){if(n===void 0&&(n=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent(t,r,n),e.dispatchEvent(i)}}function wce(e){var t=ob(e,"transitionDuration")||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function bce(e,t,r){r===void 0&&(r=5);var n=!1,i=setTimeout(function(){n||$ce(e,"transitionend",!0)},t+r),a=sb(e,"transitionend",function(){n=!0},{once:!0});return function(){clearTimeout(i),a()}}function Ece(e,t,r,n){r==null&&(r=wce(e)||0);var i=bce(e,r,n),a=sb(e,"transitionend",t);return function(){i(),a()}}function O4(e,t){const r=ob(e,t)||"",n=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*n}function Cce(e,t){const r=O4(e,"transitionDuration"),n=O4(e,"transitionDelay"),i=Ece(e,a=>{a.target===e&&(i(),t(a))},r+n)}function Sce(e){e.offsetHeight}function _ce(e){return e&&"setState"in e?_n.findDOMNode(e):e??null}const xce=C.forwardRef(({onEnter:e,onEntering:t,onEntered:r,onExit:n,onExiting:i,onExited:a,addEndListener:o,children:s,childRef:l,...u},c)=>{const d=j.useRef(null),p=z6(d,l),f=S=>{p(_ce(S))},m=S=>_=>{S&&d.current&&S(d.current,_)},v=j.useCallback(m(e),[e]),$=j.useCallback(m(t),[t]),h=j.useCallback(m(r),[r]),g=j.useCallback(m(n),[n]),y=j.useCallback(m(i),[i]),b=j.useCallback(m(a),[a]),O=j.useCallback(m(o),[o]);return E.jsx(Vn,{ref:c,...u,onEnter:v,onEntered:h,onEntering:$,onExit:g,onExited:b,onExiting:y,addEndListener:O,nodeRef:d,children:typeof s=="function"?(S,_)=>s(S,{..._,ref:f}):C.cloneElement(s,{ref:f})})}),Oce={[En]:"show",[Vi]:"show"},lb=j.forwardRef(({className:e,children:t,transitionClasses:r={},onEnter:n,...i},a)=>{const o={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},s=j.useCallback((l,u)=>{Sce(l),n==null||n(l,u)},[n]);return E.jsx(xce,{ref:a,addEndListener:Cce,...o,onEnter:s,childRef:t.ref,children:(l,u)=>j.cloneElement(t,{...u,className:Re("fade",e,t.props.className,Oce[l],r[l])})})});lb.displayName="Fade";const Pce={[En]:"showing",[ed]:"showing show"},ub=j.forwardRef((e,t)=>E.jsx(lb,{...e,ref:t,transitionClasses:Pce}));ub.displayName="ToastFade";const Tce={"aria-label":Jt.string,onClick:Jt.func,variant:Jt.oneOf(["white"])},Gv=j.forwardRef(({className:e,variant:t,"aria-label":r="Close",...n},i)=>E.jsx("button",{ref:i,type:"button",className:Re("btn-close",t&&`btn-close-${t}`,e),"aria-label":r,...n}));Gv.displayName="CloseButton";Gv.propTypes=Tce;const cb=j.createContext({onClose(){}}),db=j.forwardRef(({bsPrefix:e,closeLabel:t="Close",closeVariant:r,closeButton:n=!0,className:i,children:a,...o},s)=>{e=Qe(e,"toast-header");const l=j.useContext(cb),u=Nv(c=>{l==null||l.onClose==null||l.onClose(c)});return E.jsxs("div",{ref:s,...o,className:Re(e,i),children:[a,n&&E.jsx(Gv,{"aria-label":t,variant:r,onClick:u,"data-dismiss":"toast"})]})});db.displayName="ToastHeader";const Ace=dn("toast-body"),fb=j.forwardRef(({bsPrefix:e,className:t,transition:r=ub,show:n=!0,animation:i=!0,delay:a=5e3,autohide:o=!1,onClose:s,bg:l,...u},c)=>{e=Qe(e,"toast");const d=j.useRef(a),p=j.useRef(s);j.useEffect(()=>{d.current=a,p.current=s},[a,s]);const f=oce(),m=!!(o&&n),v=j.useCallback(()=>{m&&(p.current==null||p.current())},[m]);j.useEffect(()=>{f.set(v,d.current)},[f,v]);const $=j.useMemo(()=>({onClose:s}),[s]),h=!!(r&&i),g=E.jsx("div",{...u,ref:c,className:Re(e,t,l&&`bg-${l}`,!h&&(n?"show":"hide")),role:"alert","aria-live":"assertive","aria-atomic":"true"});return E.jsx(cb.Provider,{value:$,children:h&&r?E.jsx(r,{in:n,unmountOnExit:!0,children:g}):g})});fb.displayName="Toast";const T1=Object.assign(fb,{Body:Ace,Header:db}),Rce=Y7({AjvClass:rce}),jce=({message:e,cleanFn:t})=>E.jsxs(T1,{onClose:t,className:"text-bg-danger border-danger",children:[E.jsxs(T1.Header,{children:[E.jsx("strong",{className:"me-auto",children:"Error"}),E.jsx("small",{className:"text-muted",children:"just now"})]}),E.jsx(T1.Body,{children:e})]}),Ice=({schema:e,uiSchema:t,distribution:r})=>{const[n,i]=j.useState({}),[a,o]=j.useState(""),s=kS({mutationFn:rx});function l({formData:p}){i(p)}const u=()=>{o(""),s.reset()};async function c(p){const f={...p.formData,distribution:r};s.mutate(f)}if(s.isSuccess){const p=s.data["@id"];window.location.replace(p)}if(s.isError&&!a){const p=s.error.response.data,f=p.message?p.message:p.type;o(f),console.log(f)}const d=s.isLoading?"loading":s.isError?"error":"active";return E.jsxs("div",{id:"add-site-form",className:d,children:[E.jsx("div",{className:"spinner-border text-primary",role:"status",children:E.jsx("span",{className:"visually-hidden",children:"Loading..."})}),s.isError&&E.jsx(jce,{cleanFn:u,message:a}),E.jsx(X6,{schema:e,uiSchema:t,validator:Rce,onChange:l,formData:n,onSubmit:c})]})},Lce=({distribution:e})=>{const{isLoading:t,isError:r,data:n,error:i}=n5(tx(e));return E.jsx(E.Fragment,{children:n?E.jsx(Ice,{schema:n.schema,uiSchema:n.uischema,distribution:e}):null})};function Nce(){const e=new cS,t=window.location.search,r=new URLSearchParams(t);return window.onload=()=>{var n;(n=document.getElementById("root"))==null||n.classList.add("show-content")},E.jsxs(E.Fragment,{children:[E.jsx(SS,{client:e,children:E.jsxs("div",{className:"container admin",children:[E.jsx("nav",{className:"navbar navbar-expand-lg navbar-light",children:E.jsxs("div",{className:"container-fluid",children:[E.jsx("div",{className:"container-fluid text-center logo",children:E.jsx("a",{className:"navbar-brand",href:"/",children:E.jsx("img",{src:"/++resource++plone-logo.svg",width:"215",height:"56",alt:"Plone logo"})})}),E.jsx("form",{id:"topForm",className:"d-flex"})]})}),r.get("distribution")?E.jsx(Lce,{distribution:r.get("distribution")||""}):E.jsx(E.Fragment,{children:E.jsx(sle,{})})]})}),E.jsxs("div",{className:"footer",children:[E.jsxs("div",{className:"footer-message",children:["The Plone",E.jsx("sup",{children:"®"})," Open Source CMS/WCM is"," ",E.jsx("abbr",{title:"Copyright",children:"©"})," 2000-2024 by the"," ",E.jsx("a",{className:"item",href:"http://plone.org/foundation",children:"Plone Foundation"})," ","and friends. ",E.jsx("br",{})," Distributed under the"," ",E.jsx("a",{className:"item",href:"http://creativecommons.org/licenses/GPL/2.0/",children:"GNU GPL license"}),"."]}),E.jsxs("ul",{className:"links-list",children:[E.jsx("li",{className:"item",children:E.jsx("a",{className:"item",href:"https://docs.plone.org",target:"_blank",rel:"noreferrer",children:"Plone Docs"})}),E.jsx("li",{className:"item",children:E.jsx("a",{className:"item",href:"https://training.plone.org",target:"_blank",rel:"noreferrer",children:"Plone Training"})}),E.jsx("li",{className:"item",children:E.jsx("a",{className:"item",href:"https://community.plone.org",target:"_blank",rel:"noreferrer",children:"Plone Community Forum"})})]}),E.jsx("div",{className:"logo",children:E.jsx("a",{title:"Site",href:"/",children:E.jsx("img",{src:"/++resource++plone-logo.svg",alt:"Plone Site",title:"Plone Site"})})}),E.jsx("a",{className:"powered-by",href:"https://plone.org",target:"_blank",rel:"noreferrer",children:"Plone.org"})]})]})}A1.createRoot(document.getElementById("root")).render(E.jsx(C.StrictMode,{children:E.jsx(Nce,{})}))});export default Mce(); +*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],i=0;i=0)&&(r[i]=e[i]);return r}function doe(e){return!e||e.trim()==="#"}function $6({tagName:e,disabled:t,href:r,target:n,rel:i,role:a,onClick:o,tabIndex:s=0,type:l}){e||(r!=null||n!=null||i!=null?e="a":e="button");const u={tagName:e};if(e==="button")return[{type:l||"button",disabled:t},u];const c=p=>{if((t||e==="a"&&doe(r))&&p.preventDefault(),t){p.stopPropagation();return}o==null||o(p)},d=p=>{p.key===" "&&(p.preventDefault(),c(p))};return e==="a"&&(r||(r="#"),t&&(r=void 0)),[{role:a??"button",disabled:void 0,tabIndex:t?void 0:s,href:r,target:e==="a"?n:void 0,"aria-disabled":t||void 0,rel:e==="a"?i:void 0,onClick:c,onKeyDown:d},u]}const w6=R.forwardRef((e,t)=>{let{as:r,disabled:n}=e,i=coe(e,uoe);const[a,{tagName:o}]=$6(Object.assign({tagName:r,disabled:n},i));return E.jsx(o,Object.assign({},i,a,{ref:t}))});w6.displayName="Button";const foe=["xxl","xl","lg","md","sm","xs"],poe="xs",Pv=R.createContext({prefixes:{},breakpoints:foe,minBreakpoint:poe});function Qe(e,t){const{prefixes:r}=R.useContext(Pv);return e||r[t]||t}function b6(){const{breakpoints:e}=R.useContext(Pv);return e}function E6(){const{minBreakpoint:e}=R.useContext(Pv);return e}const mf=R.forwardRef(({as:e,bsPrefix:t,variant:r="primary",size:n,active:i=!1,disabled:a=!1,className:o,...s},l)=>{const u=Qe(t,"btn"),[c,{tagName:d}]=$6({tagName:e,disabled:a,...s}),p=d;return E.jsx(p,{...c,...s,ref:l,disabled:a,className:Re(o,u,i&&"active",r&&`${u}-${r}`,n&&`${u}-${n}`,s.href&&a&&"disabled")})});mf.displayName="Button";var hoe=[{id:"fa",name:"Font Awesome",projectUrl:"https://fontawesome.com/",license:"CC BY 4.0 License",licenseUrl:"https://creativecommons.org/licenses/by/4.0/"},{id:"io",name:"Ionicons 4",projectUrl:"https://ionicons.com/",license:"MIT",licenseUrl:"https://github.com/ionic-team/ionicons/blob/master/LICENSE"},{id:"io5",name:"Ionicons 5",projectUrl:"https://ionicons.com/",license:"MIT",licenseUrl:"https://github.com/ionic-team/ionicons/blob/master/LICENSE"},{id:"md",name:"Material Design icons",projectUrl:"http://google.github.io/material-design-icons/",license:"Apache License Version 2.0",licenseUrl:"https://github.com/google/material-design-icons/blob/master/LICENSE"},{id:"ti",name:"Typicons",projectUrl:"http://s-ings.com/typicons/",license:"CC BY-SA 3.0",licenseUrl:"https://creativecommons.org/licenses/by-sa/3.0/"},{id:"go",name:"Github Octicons icons",projectUrl:"https://octicons.github.com/",license:"MIT",licenseUrl:"https://github.com/primer/octicons/blob/master/LICENSE"},{id:"fi",name:"Feather",projectUrl:"https://feathericons.com/",license:"MIT",licenseUrl:"https://github.com/feathericons/feather/blob/master/LICENSE"},{id:"gi",name:"Game Icons",projectUrl:"https://game-icons.net/",license:"CC BY 3.0",licenseUrl:"https://creativecommons.org/licenses/by/3.0/"},{id:"wi",name:"Weather Icons",projectUrl:"https://erikflowers.github.io/weather-icons/",license:"SIL OFL 1.1",licenseUrl:"http://scripts.sil.org/OFL"},{id:"di",name:"Devicons",projectUrl:"https://vorillaz.github.io/devicons/",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"ai",name:"Ant Design Icons",projectUrl:"https://github.com/ant-design/ant-design-icons",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"bs",name:"Bootstrap Icons",projectUrl:"https://github.com/twbs/icons",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"ri",name:"Remix Icon",projectUrl:"https://github.com/Remix-Design/RemixIcon",license:"Apache License Version 2.0",licenseUrl:"http://www.apache.org/licenses/"},{id:"fc",name:"Flat Color Icons",projectUrl:"https://github.com/icons8/flat-color-icons",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"gr",name:"Grommet-Icons",projectUrl:"https://github.com/grommet/grommet-icons",license:"Apache License Version 2.0",licenseUrl:"http://www.apache.org/licenses/"},{id:"hi",name:"Heroicons",projectUrl:"https://github.com/refactoringui/heroicons",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"si",name:"Simple Icons",projectUrl:"https://simpleicons.org/",license:"CC0 1.0 Universal",licenseUrl:"https://creativecommons.org/publicdomain/zero/1.0/"},{id:"im",name:"IcoMoon Free",projectUrl:"https://github.com/Keyamoon/IcoMoon-Free",license:"CC BY 4.0 License"},{id:"bi",name:"BoxIcons",projectUrl:"https://github.com/atisawd/boxicons",license:"CC BY 4.0 License"},{id:"cg",name:"css.gg",projectUrl:"https://github.com/astrit/css.gg",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"vsc",name:"VS Code Icons",projectUrl:"https://github.com/microsoft/vscode-codicons",license:"CC BY 4.0",licenseUrl:"https://creativecommons.org/licenses/by/4.0/"}],Tv={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},mh=C.createContext&&C.createContext(Tv),yi=function(){return yi=Object.assign||function(e){for(var t,r=1,n=arguments.length;r{const a=Qe(e,"row"),o=b6(),s=E6(),l=`${a}-cols`,u=[];return o.forEach(c=>{const d=n[c];delete n[c];let p;d!=null&&typeof d=="object"?{cols:p}=d:p=d;const f=c!==s?`-${c}`:"";p!=null&&u.push(`${l}${f}-${p}`)}),E.jsx(r,{ref:i,...n,className:Re(t,a,...u)})});oa.displayName="Row";function woe({as:e,bsPrefix:t,className:r,...n}){t=Qe(t,"col");const i=b6(),a=E6(),o=[],s=[];return i.forEach(l=>{const u=n[l];delete n[l];let c,d,p;typeof u=="object"&&u!=null?{span:c,offset:d,order:p}=u:c=u;const f=l!==a?`-${l}`:"";c&&o.push(c===!0?`${t}${f}`:`${t}${f}-${c}`),p!=null&&s.push(`order${f}-${p}`),d!=null&&s.push(`offset${f}-${d}`)}),[{...n,className:Re(r,...o,...s)},{as:e,bsPrefix:t,spans:o}]}const Er=R.forwardRef((e,t)=>{const[{className:r,...n},{as:i="div",bsPrefix:a,spans:o}]=woe(e);return E.jsx(i,{...n,ref:t,className:Re(r,!o.length&&a)})});Er.displayName="Col";const Qc=R.forwardRef(({bsPrefix:e,fluid:t=!1,as:r="div",className:n,...i},a)=>{const o=Qe(e,"container"),s=typeof t=="string"?`-${t}`:"-fluid";return E.jsx(r,{ref:a,...i,className:Re(n,t?`${o}${s}`:o)})});Qc.displayName="Container";var _6={exports:{}},boe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Eoe=boe,Coe=Eoe;function x6(){}function O6(){}O6.resetWarningCache=x6;var Soe=function(){function e(n,i,a,o,s,l){if(l!==Coe){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:O6,resetWarningCache:x6};return r.PropTypes=r,r};_6.exports=Soe();var _oe=_6.exports;const Jt=Mn(_oe),xoe={type:Jt.string,tooltip:Jt.bool,as:Jt.elementType},vf=R.forwardRef(({as:e="div",className:t,type:r="valid",tooltip:n=!1,...i},a)=>E.jsx(e,{...i,ref:a,className:Re(t,`${r}-${n?"tooltip":"feedback"}`)}));vf.displayName="Feedback";vf.propTypes=xoe;const Nn=R.createContext({}),zl=R.forwardRef(({id:e,bsPrefix:t,className:r,type:n="checkbox",isValid:i=!1,isInvalid:a=!1,as:o="input",...s},l)=>{const{controlId:u}=R.useContext(Nn);return t=Qe(t,"form-check-input"),E.jsx(o,{...s,ref:l,type:n,id:e||u,className:Re(r,t,i&&"is-valid",a&&"is-invalid")})});zl.displayName="FormCheckInput";const Yc=R.forwardRef(({bsPrefix:e,className:t,htmlFor:r,...n},i)=>{const{controlId:a}=R.useContext(Nn);return e=Qe(e,"form-check-label"),E.jsx("label",{...n,ref:i,htmlFor:r||a,className:Re(t,e)})});Yc.displayName="FormCheckLabel";function Ooe(e,t){return R.Children.toArray(e).some(r=>R.isValidElement(r)&&r.type===t)}const P6=R.forwardRef(({id:e,bsPrefix:t,bsSwitchPrefix:r,inline:n=!1,reverse:i=!1,disabled:a=!1,isValid:o=!1,isInvalid:s=!1,feedbackTooltip:l=!1,feedback:u,feedbackType:c,className:d,style:p,title:f="",type:m="checkbox",label:v,children:$,as:h="input",...g},y)=>{t=Qe(t,"form-check"),r=Qe(r,"form-switch");const{controlId:b}=R.useContext(Nn),O=R.useMemo(()=>({controlId:e||b}),[b,e]),S=!$&&v!=null&&v!==!1||Ooe($,Yc),_=E.jsx(zl,{...g,type:m==="switch"?"checkbox":m,ref:y,isValid:o,isInvalid:s,disabled:a,as:h});return E.jsx(Nn.Provider,{value:O,children:E.jsx("div",{style:p,className:Re(d,S&&t,n&&`${t}-inline`,i&&`${t}-reverse`,m==="switch"&&r),children:$||E.jsxs(E.Fragment,{children:[_,S&&E.jsx(Yc,{title:f,children:v}),u&&E.jsx(vf,{type:c,tooltip:l,children:u})]})})})});P6.displayName="FormCheck";const Jc=Object.assign(P6,{Input:zl,Label:Yc}),T6=R.forwardRef(({bsPrefix:e,type:t,size:r,htmlSize:n,id:i,className:a,isValid:o=!1,isInvalid:s=!1,plaintext:l,readOnly:u,as:c="input",...d},p)=>{const{controlId:f}=R.useContext(Nn);e=Qe(e,"form-control");let m;return l?m={[`${e}-plaintext`]:!0}:m={[e]:!0,[`${e}-${r}`]:r},E.jsx(c,{...d,type:t,size:n,ref:p,readOnly:u,id:i||f,className:Re(a,m,o&&"is-valid",s&&"is-invalid",t==="color"&&`${e}-color`)})});T6.displayName="FormControl";const A6=Object.assign(T6,{Feedback:vf});var Poe=/-(.)/g;function Toe(e){return e.replace(Poe,function(t,r){return r.toUpperCase()})}const Aoe=e=>e[0].toUpperCase()+Toe(e).slice(1);function dn(e,{displayName:t=Aoe(e),Component:r,defaultProps:n}={}){const i=R.forwardRef(({className:a,bsPrefix:o,as:s=r||"div",...l},u)=>{const c={...n,...l},d=Qe(o,e);return E.jsx(s,{ref:u,className:Re(a,d),...c})});return i.displayName=t,i}const Roe=dn("form-floating"),Av=R.forwardRef(({controlId:e,as:t="div",...r},n)=>{const i=R.useMemo(()=>({controlId:e}),[e]);return E.jsx(Nn.Provider,{value:i,children:E.jsx(t,{...r,ref:n})})});Av.displayName="FormGroup";const R6=R.forwardRef(({as:e="label",bsPrefix:t,column:r=!1,visuallyHidden:n=!1,className:i,htmlFor:a,...o},s)=>{const{controlId:l}=R.useContext(Nn);t=Qe(t,"form-label");let u="col-form-label";typeof r=="string"&&(u=`${u} ${u}-${r}`);const c=Re(i,t,n&&"visually-hidden",r&&u);return a=a||l,r?E.jsx(Er,{ref:s,as:"label",className:c,htmlFor:a,...o}):E.jsx(e,{ref:s,className:c,htmlFor:a,...o})});R6.displayName="FormLabel";const j6=R.forwardRef(({bsPrefix:e,className:t,id:r,...n},i)=>{const{controlId:a}=R.useContext(Nn);return e=Qe(e,"form-range"),E.jsx("input",{...n,type:"range",ref:i,className:Re(t,e),id:r||a})});j6.displayName="FormRange";const I6=R.forwardRef(({bsPrefix:e,size:t,htmlSize:r,className:n,isValid:i=!1,isInvalid:a=!1,id:o,...s},l)=>{const{controlId:u}=R.useContext(Nn);return e=Qe(e,"form-select"),E.jsx("select",{...s,size:r,ref:l,className:Re(n,e,t&&`${e}-${t}`,i&&"is-valid",a&&"is-invalid"),id:o||u})});I6.displayName="FormSelect";const L6=R.forwardRef(({bsPrefix:e,className:t,as:r="small",muted:n,...i},a)=>(e=Qe(e,"form-text"),E.jsx(r,{...i,ref:a,className:Re(t,e,n&&"text-muted")})));L6.displayName="FormText";const N6=R.forwardRef((e,t)=>E.jsx(Jc,{...e,ref:t,type:"switch"}));N6.displayName="Switch";const joe=Object.assign(N6,{Input:Jc.Input,Label:Jc.Label}),M6=R.forwardRef(({bsPrefix:e,className:t,children:r,controlId:n,label:i,...a},o)=>(e=Qe(e,"form-floating"),E.jsxs(Av,{ref:o,className:Re(t,e),controlId:n,...a,children:[r,E.jsx("label",{htmlFor:n,children:i})]})));M6.displayName="FloatingLabel";const Ioe={_ref:Jt.any,validated:Jt.bool,as:Jt.elementType},Rv=R.forwardRef(({className:e,validated:t,as:r="form",...n},i)=>E.jsx(r,{...n,ref:i,className:Re(e,t&&"was-validated")}));Rv.displayName="Form";Rv.propTypes=Ioe;const At=Object.assign(Rv,{Group:Av,Control:A6,Floating:Roe,Check:Jc,Switch:joe,Label:R6,Text:L6,Range:j6,Select:I6,FloatingLabel:M6}),k6=e=>R.forwardRef((t,r)=>E.jsx("div",{...t,ref:r,className:Re(t.className,e)})),F6=R.forwardRef(({bsPrefix:e,className:t,variant:r,as:n="img",...i},a)=>{const o=Qe(e,"card-img");return E.jsx(n,{ref:a,className:Re(r?`${o}-${r}`:o,t),...i})});F6.displayName="CardImg";const D6=R.createContext(null);D6.displayName="CardHeaderContext";const V6=R.forwardRef(({bsPrefix:e,className:t,as:r="div",...n},i)=>{const a=Qe(e,"card-header"),o=R.useMemo(()=>({cardHeaderBsPrefix:a}),[a]);return E.jsx(D6.Provider,{value:o,children:E.jsx(r,{ref:i,...n,className:Re(t,a)})})});V6.displayName="CardHeader";const Loe=k6("h5"),Noe=k6("h6"),H6=dn("card-body"),Moe=dn("card-title",{Component:Loe}),koe=dn("card-subtitle",{Component:Noe}),Foe=dn("card-link",{Component:"a"}),Doe=dn("card-text",{Component:"p"}),Voe=dn("card-footer"),Hoe=dn("card-img-overlay"),U6=R.forwardRef(({bsPrefix:e,className:t,bg:r,text:n,border:i,body:a=!1,children:o,as:s="div",...l},u)=>{const c=Qe(e,"card");return E.jsx(s,{ref:u,...l,className:Re(t,c,r&&`bg-${r}`,n&&`text-${n}`,i&&`border-${i}`),children:a?E.jsx(H6,{children:o}):o})});U6.displayName="Card";const x1=Object.assign(U6,{Img:F6,Title:Moe,Subtitle:koe,Body:H6,Link:Foe,Text:Doe,Header:V6,Footer:Voe,ImgOverlay:Hoe});function vh(){return vh=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[i]=e[i]);return r}function v4(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function Uoe(e){var t=Boe(e,"string");return typeof t=="symbol"?t:String(t)}function Boe(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function zoe(e,t,r){var n=R.useRef(e!==void 0),i=R.useState(t),a=i[0],o=i[1],s=e!==void 0,l=n.current;return n.current=s,!s&&l&&a!==t&&o(t),[s?e:a,R.useCallback(function(u){for(var c=arguments.length,d=new Array(c>1?c-1:0),p=1;pe!=null?String(e):t||null,K6=R.createContext(null),Yoe="data-rr-ui-",Joe="rrUi";function Lv(e){return`${Yoe}${e}`}function Xoe(e){return`${Joe}${e}`}function ese(e){var t=R.useRef(e);return R.useEffect(function(){t.current=e},[e]),t}function Nv(e){var t=ese(e);return R.useCallback(function(){return t.current&&t.current.apply(t,arguments)},[t])}const tse=["as","active","eventKey"];function rse(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function q6({key:e,onClick:t,active:r,id:n,role:i,disabled:a}){const o=R.useContext(yh),s=R.useContext(jv),l=R.useContext(K6);let u=r;const c={role:i};if(s){!i&&s.role==="tablist"&&(c.role="tab");const d=s.getControllerId(e??null),p=s.getControlledId(e??null);c[Lv("event-key")]=e,c.id=d||n,u=r==null&&e!=null?s.activeKey===e:r,(u||!(l!=null&&l.unmountOnExit)&&!(l!=null&&l.mountOnEnter))&&(c["aria-controls"]=p)}return c.role==="tab"&&(c["aria-selected"]=u,u||(c.tabIndex=-1),a&&(c.tabIndex=-1,c["aria-disabled"]=!0)),c.onClick=Nv(d=>{a||(t==null||t(d),e!=null&&o&&!d.isPropagationStopped()&&o(e,d))}),[c,{isActive:u}]}const Z6=R.forwardRef((e,t)=>{let{as:r=w6,active:n,eventKey:i}=e,a=rse(e,tse);const[o,s]=q6(Object.assign({key:Iv(i,a.href),active:n},a));return o[Lv("active")]=s.isActive,E.jsx(r,Object.assign({},a,o,{ref:t}))});Z6.displayName="NavItem";const nse=Z6,ise=["as","onSelect","activeKey","role","onKeyDown"];function ase(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}const y4=()=>{},$4=Lv("event-key"),W6=R.forwardRef((e,t)=>{let{as:r="div",onSelect:n,activeKey:i,role:a,onKeyDown:o}=e,s=ase(e,ise);const l=Goe(),u=R.useRef(!1),c=R.useContext(yh),d=R.useContext(K6);let p,f;d&&(a=a||"tablist",i=d.activeKey,p=d.getControlledId,f=d.getControllerId);const m=R.useRef(null),v=y=>{const b=m.current;if(!b)return null;const O=Woe(b,`[${$4}]:not([aria-disabled=true])`),S=b.querySelector("[aria-selected=true]");if(!S||S!==document.activeElement)return null;const _=O.indexOf(S);if(_===-1)return null;let w=_+y;return w>=O.length&&(w=0),w<0&&(w=O.length-1),O[w]},$=(y,b)=>{y!=null&&(n==null||n(y,b),c==null||c(y,b))},h=y=>{if(o==null||o(y),!d)return;let b;switch(y.key){case"ArrowLeft":case"ArrowUp":b=v(-1);break;case"ArrowRight":case"ArrowDown":b=v(1);break;default:return}b&&(y.preventDefault(),$(b.dataset[Xoe("EventKey")]||null,y),u.current=!0,l())};R.useEffect(()=>{if(m.current&&u.current){const y=m.current.querySelector(`[${$4}][aria-selected=true]`);y==null||y.focus()}u.current=!1});const g=z6(t,m);return E.jsx(yh.Provider,{value:$,children:E.jsx(jv.Provider,{value:{role:a,activeKey:Iv(i),getControlledId:p||y4,getControllerId:f||y4},children:E.jsx(r,Object.assign({},s,{onKeyDown:h,ref:g,role:a}))})})});W6.displayName="Nav";const ose=Object.assign(W6,{Item:nse}),G6=R.forwardRef(({bsPrefix:e,active:t,disabled:r,eventKey:n,className:i,variant:a,action:o,as:s,...l},u)=>{e=Qe(e,"list-group-item");const[c,d]=q6({key:Iv(n,l.href),active:t,...l}),p=Nv(m=>{if(r){m.preventDefault(),m.stopPropagation();return}c.onClick(m)});r&&l.tabIndex===void 0&&(l.tabIndex=-1,l["aria-disabled"]=!0);const f=s||(o?l.href?"a":"button":"div");return E.jsx(f,{ref:u,...l,...c,onClick:p,className:Re(i,e,d.isActive&&"active",r&&"disabled",a&&`${e}-${a}`,o&&`${e}-action`)})});G6.displayName="ListGroupItem";const Q6=R.forwardRef((e,t)=>{const{className:r,bsPrefix:n,variant:i,horizontal:a,numbered:o,as:s="div",...l}=Koe(e,{activeKey:"onSelect"}),u=Qe(n,"list-group");let c;return a&&(c=a===!0?"horizontal":`horizontal-${a}`),E.jsx(ose,{ref:t,...l,as:s,className:Re(r,u,i&&`${u}-${i}`,c&&`${u}-${c}`,o&&`${u}-numbered`)})});Q6.displayName="ListGroup";const Xc=Object.assign(Q6,{Item:G6});var sse=Bl.GenIcon,lse=function(t){return sse({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M352 115h90c3.3 0 6-2.7 6-6 0-8.2-3.7-16-10-21.3l-77.1-64.2c-4.9-4.1-14.2-7.4-20.6-7.4-4.1 0-7.4 3.3-7.4 7.4V96c.1 10.5 8.6 19 19.1 19z"}},{tag:"path",attr:{d:"M307 96V16H176c-17.6 0-32 14.4-32 32v336c0 17.6 14.4 32 32 32h240c17.6 0 32-14.4 32-32V141h-96c-24.8 0-45-20.2-45-45z"}},{tag:"path",attr:{d:"M116 412V80H96c-17.6 0-32 14.4-32 32v352c0 17.6 14.4 32 32 32h256c17.6 0 32-14.4 32-32v-20H148c-17.6 0-32-14.4-32-32z"}}]})(t)},use=Bl.GenIcon,cse=function(t){return use({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M368.5 240h-225c-8.8 0-16 7.2-16 16 0 4.4 1.8 8.4 4.7 11.3 2.9 2.9 6.9 4.7 11.3 4.7h225c8.8 0 16-7.2 16-16s-7.2-16-16-16z"}}]})(t)},dse=Bl.GenIcon,fse=function(t){return dse({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M868 545.5L536.1 163a31.96 31.96 0 0 0-48.3 0L156 545.5a7.97 7.97 0 0 0 6 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z"}}]})(t)},pse=Bl.GenIcon,hse=function(t){return pse({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0 0 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]})(t)};const Y6=R.createContext(null);Y6.displayName="InputGroupContext";const Mv=dn("input-group-text",{Component:"span"}),mse=e=>E.jsx(Mv,{children:E.jsx(zl,{type:"checkbox",...e})}),vse=e=>E.jsx(Mv,{children:E.jsx(zl,{type:"radio",...e})}),J6=R.forwardRef(({bsPrefix:e,size:t,hasValidation:r,className:n,as:i="div",...a},o)=>{e=Qe(e,"input-group");const s=R.useMemo(()=>({}),[]);return E.jsx(Y6.Provider,{value:s,children:E.jsx(i,{ref:o,...a,className:Re(n,e,t&&`${e}-${t}`,r&&"has-validation")})})});J6.displayName="InputGroup";const gse=Object.assign(J6,{Text:Mv,Radio:vse,Checkbox:mse});function er(){return er=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[i]=e[i]);return r}var yse=["uiSchema","registry"];function $se(e){var t=e.registry,r=kv(e,yse),n=t.translateString;return E.jsx(mf,er({},r,{style:{width:"100%"},className:"ml-1 "+r.className,title:n(Ee.AddItemButton),children:E.jsx($oe,{})}))}function wse(e){var t=e.children,r=e.disabled,n=e.hasToolbar,i=e.hasCopy,a=e.hasMoveDown,o=e.hasMoveUp,s=e.hasRemove,l=e.index,u=e.onCopyIndexClick,c=e.onDropIndexClick,d=e.onReorderClick,p=e.readonly,f=e.registry,m=e.uiSchema,v=f.templates.ButtonTemplates,$=v.CopyButton,h=v.MoveDownButton,g=v.MoveUpButton,y=v.RemoveButton,b={flex:1,paddingLeft:6,paddingRight:6,fontWeight:"bold"};return E.jsx("div",{children:E.jsxs(oa,{className:"mb-2 d-flex align-items-center",children:[E.jsx(Er,{xs:"9",lg:"9",children:t}),E.jsx(Er,{xs:"3",lg:"3",className:"py-4",children:n&&E.jsxs("div",{className:"d-flex flex-row",children:[(o||a)&&E.jsx("div",{className:"m-0 p-0",children:E.jsx(g,{className:"array-item-move-up",style:b,disabled:r||p||!o,onClick:d(l,l-1),uiSchema:m,registry:f})}),(o||a)&&E.jsx("div",{className:"m-0 p-0",children:E.jsx(h,{style:b,disabled:r||p||!a,onClick:d(l,l+1),uiSchema:m,registry:f})}),i&&E.jsx("div",{className:"m-0 p-0",children:E.jsx($,{style:b,disabled:r||p,onClick:u(l),uiSchema:m,registry:f})}),s&&E.jsx("div",{className:"m-0 p-0",children:E.jsx(y,{style:b,disabled:r||p,onClick:c(l),uiSchema:m,registry:f})})]})})]})})}var bse=["key"];function Ese(e){var t=e.canAdd,r=e.disabled,n=e.idSchema,i=e.uiSchema,a=e.items,o=e.onAddClick,s=e.readonly,l=e.registry,u=e.required,c=e.schema,d=e.title,p=Se(i),f=ve("ArrayFieldDescriptionTemplate",l,p),m=ve("ArrayFieldItemTemplate",l,p),v=ve("ArrayFieldTitleTemplate",l,p),$=l.templates.ButtonTemplates.AddButton;return E.jsx("div",{children:E.jsx(oa,{className:"p-0 m-0",children:E.jsxs(Er,{className:"p-0 m-0",children:[E.jsx(v,{idSchema:n,title:p.title||d,schema:c,uiSchema:i,required:u,registry:l}),E.jsx(f,{idSchema:n,description:p.description||c.description,schema:c,uiSchema:i,registry:l}),E.jsxs(Qc,{fluid:!0,className:"p-0 m-0",children:[a&&a.map(function(h){var g=h.key,y=kv(h,bse);return E.jsx(m,er({},y),g)}),t&&E.jsx(Qc,{className:"",children:E.jsxs(oa,{className:"mt-2",children:[E.jsx(Er,{xs:9}),E.jsx(Er,{xs:3,className:"py-4 col-lg-3 col-3",children:E.jsx($,{className:"array-item-add",onClick:o,disabled:r||s,uiSchema:i,registry:l})})]})})]},"array-item-list-"+n.$id)]})})})}function Cse(e){var t=e.id,r=e.placeholder,n=e.required,i=e.readonly,a=e.disabled,o=e.type,s=e.value,l=e.onChange,u=e.onChangeOverride,c=e.onBlur,d=e.onFocus,p=e.autofocus,f=e.options,m=e.schema,v=e.rawErrors,$=v===void 0?[]:v,h=e.children,g=e.extraProps,y=er({},g,f7(m,o,f)),b=function(w){var T=w.target.value;return l(T===""?f.emptyValue:T)},O=function(w){var T=w.target.value;return c(t,T)},S=function(w){var T=w.target.value;return d(t,T)};return E.jsxs(E.Fragment,{children:[E.jsx(At.Control,er({id:t,name:t,placeholder:r,autoFocus:p,required:n,disabled:a,readOnly:i,className:$.length>0?"is-invalid":"",list:m.examples?ml(t):void 0},y,{value:s||s===0?s:"",onChange:u||b,onBlur:O,onFocus:S,"aria-describedby":ir(t,!!m.examples)})),h,Array.isArray(m.examples)?E.jsx("datalist",{id:ml(t),children:m.examples.concat(m.default&&!m.examples.includes(m.default)?[m.default]:[]).map(function(_){return E.jsx("option",{value:_},_)})}):null]})}function Sse(e){var t=e.id,r=e.description;return r?E.jsx("div",{children:E.jsx("div",{id:t,className:"mb-3",children:r})}):null}function _se(e){var t=e.errors,r=e.registry,n=r.translateString;return E.jsxs(x1,{border:"danger",className:"mb-4",children:[E.jsx(x1.Header,{className:"alert-danger",children:n(Ee.ErrorsLabel)}),E.jsx(x1.Body,{className:"p-0",children:E.jsx(Xc,{children:t.map(function(i,a){return E.jsx(Xc.Item,{className:"border-0",children:E.jsx("span",{children:i.stack})},a)})})})]})}var xse=["icon","iconType","className","uiSchema","registry"];function gf(e){var t=e.icon,r=e.iconType,n=kv(e,xse);return E.jsx(mf,er({block:r==="block"},n,{variant:e.variant||"light",size:"sm",children:t}))}function Ose(e){var t=e.registry.translateString;return E.jsx(gf,er({title:t(Ee.CopyButton)},e,{icon:E.jsx(lse,{})}))}function Pse(e){var t=e.registry.translateString;return E.jsx(gf,er({title:t(Ee.MoveDownButton)},e,{icon:E.jsx(hse,{})}))}function Tse(e){var t=e.registry.translateString;return E.jsx(gf,er({title:t(Ee.MoveUpButton)},e,{icon:E.jsx(fse,{})}))}function Ase(e){var t=e.registry.translateString;return E.jsx(gf,er({title:t(Ee.RemoveButton)},e,{variant:"danger",icon:E.jsx(cse,{})}))}function Rse(e){var t=e.errors,r=t===void 0?[]:t,n=e.idSchema;if(r.length===0)return null;var i=F0(n);return E.jsx(Xc,{as:"ul",id:i,children:r.map(function(a,o){return E.jsx(Xc.Item,{as:"li",className:"border-0 m-0 p-0",children:E.jsx("small",{className:"m-0 text-danger",children:a})},o)})})}function jse(e){var t=e.idSchema,r=e.help,n=e.hasErrors;if(!r)return null;var i=D0(t);return E.jsx(At.Text,{className:n?"text-danger":"text-muted",id:i,children:r})}function Ise(e){var t=e.id,r=e.children,n=e.displayLabel,i=e.rawErrors,a=i===void 0?[]:i,o=e.errors,s=e.help,l=e.description,u=e.rawDescription,c=e.classNames,d=e.style,p=e.disabled,f=e.label,m=e.hidden,v=e.onDropPropertyClick,$=e.onKeyChange,h=e.readonly,g=e.required,y=e.schema,b=e.uiSchema,O=e.registry,S=Se(b),_=ve("WrapIfAdditionalTemplate",O,S);return m?E.jsx("div",{className:"hidden",children:r}):E.jsx(_,{classNames:c,style:d,disabled:p,id:t,label:f,onDropPropertyClick:v,onKeyChange:$,readonly:h,required:g,schema:y,uiSchema:b,registry:O,children:E.jsxs(At.Group,{children:[n&&E.jsxs(At.Label,{htmlFor:t,className:a.length>0?"text-danger":"",children:[f,g?"*":null]}),r,n&&u&&E.jsx(At.Text,{className:a.length>0?"text-danger":"text-muted",children:l}),o,s]})})}function Lse(e){var t=e.description,r=e.title,n=e.properties,i=e.required,a=e.uiSchema,o=e.idSchema,s=e.schema,l=e.formData,u=e.onAddClick,c=e.disabled,d=e.readonly,p=e.registry,f=Se(a),m=ve("TitleFieldTemplate",p,f),v=ve("DescriptionFieldTemplate",p,f),$=p.templates.ButtonTemplates.AddButton;return E.jsxs(E.Fragment,{children:[r&&E.jsx(m,{id:V0(o),title:r,required:i,schema:s,uiSchema:a,registry:p}),t&&E.jsx(v,{id:ga(o),description:t,schema:s,uiSchema:a,registry:p}),E.jsxs(Qc,{fluid:!0,className:"p-0",children:[n.map(function(h,g){return E.jsx(oa,{style:{marginBottom:"10px"},className:h.hidden?"d-none":void 0,children:E.jsxs(Er,{xs:12,children:[" ",h.content]})},g)}),e7(s,a,l)?E.jsx(oa,{children:E.jsx(Er,{xs:{offset:9,span:3},className:"py-4",children:E.jsx($,{onClick:u(s),disabled:c||d,className:"object-property-expand",uiSchema:a,registry:p})})}):null]})]})}function Nse(e){var t=p7(e.uiSchema),r=t.submitText,n=t.norender,i=t.props;return n?null:E.jsx("div",{children:E.jsx(mf,er({variant:"primary",type:"submit"},i,{children:r}))})}function Mse(e){var t=e.id,r=e.title,n=e.uiSchema,i=Se(n);return E.jsxs("div",{id:t,className:"my-1",children:[E.jsx("h5",{children:i.title||r}),E.jsx("hr",{className:"border-0 bg-secondary",style:{height:"1px"}})]})}function kse(e){var t=e.classNames,r=e.style,n=e.children,i=e.disabled,a=e.id,o=e.label,s=e.onDropPropertyClick,l=e.onKeyChange,u=e.readonly,c=e.required,d=e.schema,p=e.uiSchema,f=e.registry,m=f.templates,v=f.translateString,$=m.ButtonTemplates.RemoveButton,h=v(Ee.KeyLabel,[o]),g=Mo in d;if(!g)return E.jsx("div",{className:t,style:r,children:n});var y=function(S){var _=S.target;return l(_.value)},b=a+"-key";return E.jsxs(oa,{className:t,style:r,children:[E.jsx(Er,{xs:5,children:E.jsxs(At.Group,{children:[E.jsx(At.Label,{htmlFor:b,children:h}),E.jsx(At.Control,{required:c,defaultValue:o,disabled:i||u,id:b,name:b,onBlur:u?void 0:y,type:"text"})]})}),E.jsx(Er,{xs:5,children:n}),E.jsx(Er,{xs:2,className:"py-4",children:E.jsx($,{iconType:"block",className:"w-100",disabled:i||u,onClick:s(o),uiSchema:p,registry:f})})]},b)}function Fse(){return{ArrayFieldItemTemplate:wse,ArrayFieldTemplate:Ese,BaseInputTemplate:Cse,ButtonTemplates:{AddButton:$se,CopyButton:Ose,MoveDownButton:Pse,MoveUpButton:Tse,RemoveButton:Ase,SubmitButton:Nse},DescriptionFieldTemplate:Sse,ErrorListTemplate:_se,FieldErrorTemplate:Rse,FieldHelpTemplate:jse,FieldTemplate:Ise,ObjectFieldTemplate:Lse,TitleFieldTemplate:Mse,WrapIfAdditionalTemplate:kse}}function Dse(e){var t=e.id,r=e.value,n=e.disabled,i=e.readonly,a=e.label,o=e.hideLabel,s=e.schema,l=e.autofocus,u=e.options,c=e.onChange,d=e.onBlur,p=e.onFocus,f=e.registry,m=e.uiSchema,v=Ns(s),$=ve("DescriptionFieldTemplate",f,u),h=function(S){var _=S.target.checked;return c(_)},g=function(S){var _=S.target.checked;return d(t,_)},y=function(S){var _=S.target.checked;return p(t,_)},b=u.description||s.description;return E.jsxs(At.Group,{className:"checkbox "+(n||i?"disabled":""),"aria-describedby":ir(t),children:[!o&&!!b&&E.jsx($,{id:ga(t),description:b,schema:s,uiSchema:m,registry:f}),E.jsx(At.Check,{id:t,name:t,label:H0(a,o||!a),checked:typeof r>"u"?!1:r,required:v,disabled:n||i,autoFocus:l,onChange:h,type:"checkbox",onBlur:g,onFocus:y})]})}function Vse(e){var t=e.id,r=e.disabled,n=e.options,i=e.value,a=e.autofocus,o=e.readonly,s=e.required,l=e.onChange,u=e.onBlur,c=e.onFocus,d=n.enumOptions,p=n.enumDisabled,f=n.inline,m=n.emptyValue,v=Array.isArray(i)?i:[i],$=function(b){return function(O){var S=O.target.checked;l(S?d7(b,v,d):u7(b,v,d))}},h=function(b){var O=b.target.value;return u(t,ht(O,d,m))},g=function(b){var O=b.target.value;return c(t,ht(O,d,m))};return E.jsx(At.Group,{children:Array.isArray(d)&&d.map(function(y,b){var O=Ml(y.value,v),S=Array.isArray(p)&&p.indexOf(y.value)!==-1;return E.jsx(At.Check,{inline:f,custom:!0,required:s,checked:O,className:"bg-transparent border-0",type:"checkbox",id:of(t,b),name:t,label:y.label,autoFocus:a&&b===0,onChange:$(b),onBlur:h,onFocus:g,disabled:r||S||o,"aria-describedby":ir(t)},y.value)})})}function Hse(e){var t=e.id,r=e.options,n=e.value,i=e.required,a=e.disabled,o=e.readonly,s=e.onChange,l=e.onBlur,u=e.onFocus,c=r.enumOptions,d=r.enumDisabled,p=r.emptyValue,f=function(g){var y=g.target.value;return s(ht(y,c,p))},m=function(g){var y=g.target.value;return l(t,ht(y,c,p))},v=function(g){var y=g.target.value;return u(t,ht(y,c,p))},$=!!(r&&r.inline);return E.jsx(At.Group,{className:"mb-0",children:Array.isArray(c)&&c.map(function(h,g){var y=Array.isArray(d)&&d.indexOf(h.value)!==-1,b=Ml(h.value,n),O=E.jsx(At.Check,{inline:$,label:h.label,id:of(t,g),name:t,type:"radio",disabled:a||y||o,checked:b,required:i,value:String(g),onChange:f,onBlur:m,onFocus:v,"aria-describedby":ir(t)},g);return O})})}function Use(e){var t=e.value,r=e.label,n=e.hideLabel,i=e.options,a=e.registry,o=ve("BaseInputTemplate",a,i);return E.jsx(o,er({},e,{extraProps:{label:H0(r||void 0,n)},children:E.jsx("span",{className:"range-view",children:t})}))}function Bse(e){var t=e.schema,r=e.id,n=e.options,i=e.required,a=e.disabled,o=e.readonly,s=e.value,l=e.multiple,u=e.autofocus,c=e.onChange,d=e.onBlur,p=e.onFocus,f=e.placeholder,m=e.rawErrors,v=m===void 0?[]:m,$=n.enumOptions,h=n.enumDisabled,g=n.emptyValue,y=l?[]:"";function b(S,_){return _?[].slice.call(S.target.options).filter(function(w){return w.selected}).map(function(w){return w.value}):S.target.value}var O=c7(s,$,l);return E.jsxs(At.Control,{as:"select",bsPrefix:"custom-select",id:r,name:r,value:typeof O>"u"?y:O,required:i,multiple:l,disabled:a||o,autoFocus:u,className:v.length>0?"is-invalid":"",onBlur:d&&function(S){var _=b(S,l);d(r,ht(_,$,g))},onFocus:p&&function(S){var _=b(S,l);p(r,ht(_,$,g))},onChange:function(_){var w=b(_,l);c(ht(w,$,g))},"aria-describedby":ir(r),children:[!l&&t.default===void 0&&E.jsx("option",{value:"",children:f}),$.map(function(S,_){var w=S.value,T=S.label,F=Array.isArray(h)&&h.indexOf(w)!=-1;return E.jsx("option",{id:T,value:String(_),disabled:F,children:T},_)})]})}function zse(e){var t=e.id,r=e.placeholder,n=e.value,i=e.required,a=e.disabled,o=e.autofocus,s=e.readonly,l=e.onBlur,u=e.onFocus,c=e.onChange,d=e.options,p=function($){var h=$.target.value;return c(h===""?d.emptyValue:h)},f=function($){var h=$.target.value;return l(t,h)},m=function($){var h=$.target.value;return u(t,h)};return E.jsx(gse,{children:E.jsx(A6,{id:t,name:t,as:"textarea",placeholder:r,disabled:a,readOnly:s,value:n,required:i,autoFocus:o,rows:d.rows||5,onChange:p,onBlur:f,onFocus:m,"aria-describedby":ir(t)})})}function Kse(){return{CheckboxWidget:Dse,CheckboxesWidget:Vse,RadioWidget:Hse,RangeWidget:Use,SelectWidget:Bse,TextareaWidget:zse}}function qse(){return{templates:Fse(),widgets:Kse()}}function Zse(){return soe(qse())}var X6=Zse();const Wse=({schema:e,uiSchema:t,extraErrors:r,onSubmit:n})=>{const[i,a]=R.useState({});function o({formData:s}){a(s)}return E.jsx(E.Fragment,{children:E.jsx(X6,{schema:e,uiSchema:t,validator:One,showErrorList:"top",onChange:o,formData:i,onSubmit:n,extraErrors:r})})},Gse={properties:{login:{type:"string",title:"Username"},password:{type:"string",title:"Password"}},required:["login","password"]},Qse={"ui:order":["login","password"]},Yse=({closeModalHandler:e,cameFrom:t})=>{const[r,n]=R.useState({});async function i(a){(await fetch("/@login",{method:"POST",headers:{Accept:"application/json"},body:JSON.stringify(a.formData)})).ok?(n({}),t&&(window.location.href=t),e()):n({__errors:["Login or password are incorrect"]})}return E.jsx("div",{className:"modal fade show",style:{display:"block"},tabIndex:-1,children:E.jsx("div",{className:"modal-dialog",children:E.jsxs("div",{className:"modal-content",children:[E.jsxs("div",{className:"modal-header",children:[E.jsx("h5",{className:"modal-title",children:"Login Form"}),E.jsx("button",{type:"button",className:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",onClick:e})]}),E.jsx("div",{className:"modal-body",children:E.jsx(Wse,{schema:Gse,uiSchema:Qse,onSubmit:i,extraErrors:r})})]})})})};var Jse=!!(typeof window<"u"&&window.document&&window.document.createElement),Xse=function(){function e(t,r){for(var n=0;n{const{isLoading:e,isError:t,data:r,error:n}=n5(X_()),[i,a]=R.useState(!1),[o,s]=R.useState(""),l=async()=>(await fetch("/@@ploneAddSite",{method:"GET"})).status===401?!1:(a(!1),!0),u=async(c,d)=>{const p=`/@@ploneAddSite?distribution=${d}`;c?window.location.href=p:(s(p),await l()?window.location.href=p:a(!0))};if(e)return E.jsx(E.Fragment,{children:"Loading..."});if(t)return E.jsx(E.Fragment,{children:"An error has occurred: "+n});if(r){const{sites:c,distributions:d,can_manage:p}=r;return E.jsxs(E.Fragment,{children:[i&&E.jsx($h,{children:E.jsx(Yse,{cameFrom:o,closeModalHandler:()=>a(!1)})}),(c==null?void 0:c.length)>0?E.jsxs("div",{className:"sites",children:[E.jsx("h2",{children:"Sites"}),E.jsx("hr",{}),E.jsx("h3",{children:"Existing Sites"}),E.jsx(IT,{sites:c})]}):null,(d==null?void 0:d.length)>0?E.jsxs("div",{className:"distributions",children:[E.jsx("h2",{children:"Create a new site"}),E.jsx("hr",{}),E.jsx("h3",{children:"Available distributions"}),E.jsx(AT,{distributions:d,can_manage:p,handler:u})]}):null,!p&&ym.createPortal(E.jsx(jm,{type:"button",className:"btn btn-primary",onPress:()=>l(),children:"Login"}),document.getElementById("topForm"))]})}return null};var wh={exports:{}},Fv={},Uo={};Object.defineProperty(Uo,"__esModule",{value:!0});Uo.dynamicAnchor=void 0;const O1=fe,lle=ar,w4=Pt,ule=Ln,cle={keyword:"$dynamicAnchor",schemaType:"string",code:e=>rb(e,e.schema)};function rb(e,t){const{gen:r,it:n}=e;n.schemaEnv.root.dynamicAnchors[t]=!0;const i=(0,O1._)`${lle.default.dynamicAnchors}${(0,O1.getProperty)(t)}`,a=n.errSchemaPath==="#"?n.validateName:dle(e);r.if((0,O1._)`!${i}`,()=>r.assign(i,a))}Uo.dynamicAnchor=rb;function dle(e){const{schemaEnv:t,schema:r,self:n}=e.it,{root:i,baseId:a,localRefs:o,meta:s}=t.root,{schemaId:l}=n.opts,u=new w4.SchemaEnv({schema:r,schemaId:l,root:i,baseId:a,localRefs:o,meta:s});return w4.compileSchema.call(n,u),(0,ule.getValidate)(e,u)}Uo.default=cle;var Bo={};Object.defineProperty(Bo,"__esModule",{value:!0});Bo.dynamicRef=void 0;const b4=fe,fle=ar,E4=Ln,ple={keyword:"$dynamicRef",schemaType:"string",code:e=>nb(e,e.schema)};function nb(e,t){const{gen:r,keyword:n,it:i}=e;if(t[0]!=="#")throw new Error(`"${n}" only supports hash fragment reference`);const a=t.slice(1);if(i.allErrors)o();else{const l=r.let("valid",!1);o(l),e.ok(l)}function o(l){if(i.schemaEnv.root.dynamicAnchors[a]){const u=r.let("_v",(0,b4._)`${fle.default.dynamicAnchors}${(0,b4.getProperty)(a)}`);r.if(u,s(u,l),s(i.validateName,l))}else s(i.validateName,l)()}function s(l,u){return u?()=>r.block(()=>{(0,E4.callRef)(e,l),r.let(u,!0)}):()=>(0,E4.callRef)(e,l)}}Bo.dynamicRef=nb;Bo.default=ple;var Dv={};Object.defineProperty(Dv,"__esModule",{value:!0});const hle=Uo,mle=ge,vle={keyword:"$recursiveAnchor",schemaType:"boolean",code(e){e.schema?(0,hle.dynamicAnchor)(e,""):(0,mle.checkStrictMode)(e.it,"$recursiveAnchor: false is ignored")}};Dv.default=vle;var Vv={};Object.defineProperty(Vv,"__esModule",{value:!0});const gle=Bo,yle={keyword:"$recursiveRef",schemaType:"string",code:e=>(0,gle.dynamicRef)(e,e.schema)};Vv.default=yle;Object.defineProperty(Fv,"__esModule",{value:!0});const $le=Uo,wle=Bo,ble=Dv,Ele=Vv,Cle=[$le.default,wle.default,ble.default,Ele.default];Fv.default=Cle;var Hv={},Uv={};Object.defineProperty(Uv,"__esModule",{value:!0});const C4=df,Sle={keyword:"dependentRequired",type:"object",schemaType:"object",error:C4.error,code:e=>(0,C4.validatePropertyDeps)(e)};Uv.default=Sle;var Bv={};Object.defineProperty(Bv,"__esModule",{value:!0});const _le=df,xle={keyword:"dependentSchemas",type:"object",schemaType:"object",code:e=>(0,_le.validateSchemaDeps)(e)};Bv.default=xle;var zv={};Object.defineProperty(zv,"__esModule",{value:!0});const Ole=ge,Ple={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:e,parentSchema:t,it:r}){t.contains===void 0&&(0,Ole.checkStrictMode)(r,`"${e}" without "contains" is ignored`)}};zv.default=Ple;Object.defineProperty(Hv,"__esModule",{value:!0});const Tle=Uv,Ale=Bv,Rle=zv,jle=[Tle.default,Ale.default,Rle.default];Hv.default=jle;var Kv={},qv={};Object.defineProperty(qv,"__esModule",{value:!0});const Xn=fe,S4=ge,Ile=ar,Lle={message:"must NOT have unevaluated properties",params:({params:e})=>(0,Xn._)`{unevaluatedProperty: ${e.unevaluatedProperty}}`},Nle={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:Lle,code(e){const{gen:t,schema:r,data:n,errsCount:i,it:a}=e;if(!i)throw new Error("ajv implementation error");const{allErrors:o,props:s}=a;s instanceof Xn.Name?t.if((0,Xn._)`${s} !== true`,()=>t.forIn("key",n,d=>t.if(u(s,d),()=>l(d)))):s!==!0&&t.forIn("key",n,d=>s===void 0?l(d):t.if(c(s,d),()=>l(d))),a.props=!0,e.ok((0,Xn._)`${i} === ${Ile.default.errors}`);function l(d){if(r===!1){e.setParams({unevaluatedProperty:d}),e.error(),o||t.break();return}if(!(0,S4.alwaysValidSchema)(a,r)){const p=t.name("valid");e.subschema({keyword:"unevaluatedProperties",dataProp:d,dataPropType:S4.Type.Str},p),o||t.if((0,Xn.not)(p),()=>t.break())}}function u(d,p){return(0,Xn._)`!${d} || !${d}[${p}]`}function c(d,p){const f=[];for(const m in d)d[m]===!0&&f.push((0,Xn._)`${p} !== ${m}`);return(0,Xn.and)(...f)}}};qv.default=Nle;var Zv={};Object.defineProperty(Zv,"__esModule",{value:!0});const Di=fe,_4=ge,Mle={message:({params:{len:e}})=>(0,Di.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,Di._)`{limit: ${e}}`},kle={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:Mle,code(e){const{gen:t,schema:r,data:n,it:i}=e,a=i.items||0;if(a===!0)return;const o=t.const("len",(0,Di._)`${n}.length`);if(r===!1)e.setParams({len:a}),e.fail((0,Di._)`${o} > ${a}`);else if(typeof r=="object"&&!(0,_4.alwaysValidSchema)(i,r)){const l=t.var("valid",(0,Di._)`${o} <= ${a}`);t.if((0,Di.not)(l),()=>s(l,a)),e.ok(l)}i.items=!0;function s(l,u){t.forRange("i",u,o,c=>{e.subschema({keyword:"unevaluatedItems",dataProp:c,dataPropType:_4.Type.Num},l),i.allErrors||t.if((0,Di.not)(l),()=>t.break())})}}};Zv.default=kle;Object.defineProperty(Kv,"__esModule",{value:!0});const Fle=qv,Dle=Zv,Vle=[Fle.default,Dle.default];Kv.default=Vle;var Wv={};const Hle="https://json-schema.org/draft/2019-09/schema",Ule="https://json-schema.org/draft/2019-09/schema",Ble={"https://json-schema.org/draft/2019-09/vocab/core":!0,"https://json-schema.org/draft/2019-09/vocab/applicator":!0,"https://json-schema.org/draft/2019-09/vocab/validation":!0,"https://json-schema.org/draft/2019-09/vocab/meta-data":!0,"https://json-schema.org/draft/2019-09/vocab/format":!1,"https://json-schema.org/draft/2019-09/vocab/content":!0},zle=!0,Kle="Core and Validation specifications meta-schema",qle=[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format"},{$ref:"meta/content"}],Zle=["object","boolean"],Wle={definitions:{$comment:"While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.",type:"object",additionalProperties:{$recursiveRef:"#"},default:{}},dependencies:{$comment:'"dependencies" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to "dependentSchemas" and "dependentRequired"',type:"object",additionalProperties:{anyOf:[{$recursiveRef:"#"},{$ref:"meta/validation#/$defs/stringArray"}]}}},Gle={$schema:Hle,$id:Ule,$vocabulary:Ble,$recursiveAnchor:zle,title:Kle,allOf:qle,type:Zle,properties:Wle},Qle="https://json-schema.org/draft/2019-09/schema",Yle="https://json-schema.org/draft/2019-09/meta/applicator",Jle={"https://json-schema.org/draft/2019-09/vocab/applicator":!0},Xle=!0,eue="Applicator vocabulary meta-schema",tue=["object","boolean"],rue={additionalItems:{$recursiveRef:"#"},unevaluatedItems:{$recursiveRef:"#"},items:{anyOf:[{$recursiveRef:"#"},{$ref:"#/$defs/schemaArray"}]},contains:{$recursiveRef:"#"},additionalProperties:{$recursiveRef:"#"},unevaluatedProperties:{$recursiveRef:"#"},properties:{type:"object",additionalProperties:{$recursiveRef:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$recursiveRef:"#"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$recursiveRef:"#"}},propertyNames:{$recursiveRef:"#"},if:{$recursiveRef:"#"},then:{$recursiveRef:"#"},else:{$recursiveRef:"#"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$recursiveRef:"#"}},nue={schemaArray:{type:"array",minItems:1,items:{$recursiveRef:"#"}}},iue={$schema:Qle,$id:Yle,$vocabulary:Jle,$recursiveAnchor:Xle,title:eue,type:tue,properties:rue,$defs:nue},aue="https://json-schema.org/draft/2019-09/schema",oue="https://json-schema.org/draft/2019-09/meta/content",sue={"https://json-schema.org/draft/2019-09/vocab/content":!0},lue=!0,uue="Content vocabulary meta-schema",cue=["object","boolean"],due={contentMediaType:{type:"string"},contentEncoding:{type:"string"},contentSchema:{$recursiveRef:"#"}},fue={$schema:aue,$id:oue,$vocabulary:sue,$recursiveAnchor:lue,title:uue,type:cue,properties:due},pue="https://json-schema.org/draft/2019-09/schema",hue="https://json-schema.org/draft/2019-09/meta/core",mue={"https://json-schema.org/draft/2019-09/vocab/core":!0},vue=!0,gue="Core vocabulary meta-schema",yue=["object","boolean"],$ue={$id:{type:"string",format:"uri-reference",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{type:"string",format:"uri"},$anchor:{type:"string",pattern:"^[A-Za-z][-A-Za-z0-9.:_]*$"},$ref:{type:"string",format:"uri-reference"},$recursiveRef:{type:"string",format:"uri-reference"},$recursiveAnchor:{type:"boolean",default:!1},$vocabulary:{type:"object",propertyNames:{type:"string",format:"uri"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$recursiveRef:"#"},default:{}}},wue={$schema:pue,$id:hue,$vocabulary:mue,$recursiveAnchor:vue,title:gue,type:yue,properties:$ue},bue="https://json-schema.org/draft/2019-09/schema",Eue="https://json-schema.org/draft/2019-09/meta/format",Cue={"https://json-schema.org/draft/2019-09/vocab/format":!0},Sue=!0,_ue="Format vocabulary meta-schema",xue=["object","boolean"],Oue={format:{type:"string"}},Pue={$schema:bue,$id:Eue,$vocabulary:Cue,$recursiveAnchor:Sue,title:_ue,type:xue,properties:Oue},Tue="https://json-schema.org/draft/2019-09/schema",Aue="https://json-schema.org/draft/2019-09/meta/meta-data",Rue={"https://json-schema.org/draft/2019-09/vocab/meta-data":!0},jue=!0,Iue="Meta-data vocabulary meta-schema",Lue=["object","boolean"],Nue={title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}},Mue={$schema:Tue,$id:Aue,$vocabulary:Rue,$recursiveAnchor:jue,title:Iue,type:Lue,properties:Nue},kue="https://json-schema.org/draft/2019-09/schema",Fue="https://json-schema.org/draft/2019-09/meta/validation",Due={"https://json-schema.org/draft/2019-09/vocab/validation":!0},Vue=!0,Hue="Validation vocabulary meta-schema",Uue=["object","boolean"],Bue={multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}},const:!0,enum:{type:"array",items:!0},type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]}},zue={nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},Kue={$schema:kue,$id:Fue,$vocabulary:Due,$recursiveAnchor:Vue,title:Hue,type:Uue,properties:Bue,$defs:zue};Object.defineProperty(Wv,"__esModule",{value:!0});const que=Gle,Zue=iue,Wue=fue,Gue=wue,Que=Pue,Yue=Mue,Jue=Kue,Xue=["/properties"];function ece(e){return[que,Zue,Wue,Gue,t(this,Que),Yue,t(this,Jue)].forEach(r=>this.addMetaSchema(r,void 0,!1)),this;function t(r,n){return e?r.$dataMetaSchema(n,Xue):n}}Wv.default=ece;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;const r=B0,n=cf,i=Fv,a=Hv,o=Kv,s=pf,l=Wv,u="https://json-schema.org/draft/2019-09/schema";class c extends r.default{constructor($={}){super({...$,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),this.addVocabulary(i.default),n.default.forEach($=>this.addVocabulary($)),this.addVocabulary(a.default),this.addVocabulary(o.default),this.opts.discriminator&&this.addKeyword(s.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:$,meta:h}=this.opts;h&&(l.default.call(this,$),this.refs["http://json-schema.org/schema"]=u)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(u)?u:void 0)}}e.exports=t=c,Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var d=wr;Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return d.KeywordCxt}});var p=fe;Object.defineProperty(t,"_",{enumerable:!0,get:function(){return p._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return p.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return p.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return p.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return p.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return p.CodeGen}});var f=Fo;Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return f.default}});var m=Do;Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return m.default}})})(wh,wh.exports);var tce=wh.exports;const rce=Mn(tce);function nce(){var e=R.useRef(!0),t=R.useRef(function(){return e.current});return R.useEffect(function(){return e.current=!0,function(){e.current=!1}},[]),t.current}function ice(e){var t=R.useRef(e);return t.current=e,t}function ace(e){var t=ice(e);R.useEffect(function(){return function(){return t.current()}},[])}var bh=Math.pow(2,31)-1;function ib(e,t,r){var n=r-Date.now();e.current=n<=bh?setTimeout(t,n):setTimeout(function(){return ib(e,t,r)},bh)}function oce(){var e=nce(),t=R.useRef();return ace(function(){return clearTimeout(t.current)}),R.useMemo(function(){var r=function(){return clearTimeout(t.current)};function n(i,a){a===void 0&&(a=0),e()&&(r(),a<=bh?t.current=setTimeout(i,a):ib(t,i,Date.now()+a))}return{set:n,clear:r}},[])}const x4={disabled:!1},ab=C.createContext(null);var sce=function(t){return t.scrollTop},bs="unmounted",Li="exited",En="entering",Vi="entered",ed="exiting",Vn=function(e){qoe(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var o=i,s=o&&!o.isMounting?n.enter:n.appear,l;return a.appearStatus=null,n.in?s?(l=Li,a.appearStatus=En):l=Vi:n.unmountOnExit||n.mountOnEnter?l=bs:l=Li,a.state={status:l},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var o=i.in;return o&&a.status===bs?{status:Li}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var a=null;if(i!==this.props){var o=this.state.status;this.props.in?o!==En&&o!==Vi&&(a=En):(o===En||o===Vi)&&(a=ed)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,a,o,s;return a=o=s=i,i!=null&&typeof i!="number"&&(a=i.exit,o=i.enter,s=i.appear!==void 0?i.appear:o),{exit:a,enter:o,appear:s}},r.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===En){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:_n.findDOMNode(this);o&&sce(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Li&&this.setState({status:bs})},r.performEnter=function(i){var a=this,o=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[_n.findDOMNode(this),s],u=l[0],c=l[1],d=this.getTimeouts(),p=s?d.appear:d.enter;if(!i&&!o||x4.disabled){this.safeSetState({status:Vi},function(){a.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:En},function(){a.props.onEntering(u,c),a.onTransitionEnd(p,function(){a.safeSetState({status:Vi},function(){a.props.onEntered(u,c)})})})},r.performExit=function(){var i=this,a=this.props.exit,o=this.getTimeouts(),s=this.props.nodeRef?void 0:_n.findDOMNode(this);if(!a||x4.disabled){this.safeSetState({status:Li},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:ed},function(){i.props.onExiting(s),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:Li},function(){i.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},r.setNextCallback=function(i){var a=this,o=!0;return this.nextCallback=function(s){o&&(o=!1,a.nextCallback=null,i(s))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},r.onTransitionEnd=function(i,a){this.setNextCallback(a);var o=this.props.nodeRef?this.props.nodeRef.current:_n.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!o||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===bs)return null;var a=this.props,o=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var s=B6(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return C.createElement(ab.Provider,{value:null},typeof o=="function"?o(i,s):C.cloneElement(C.Children.only(o),s))},t}(C.Component);Vn.contextType=ab;Vn.propTypes={};function Oa(){}Vn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Oa,onEntering:Oa,onEntered:Oa,onExit:Oa,onExiting:Oa,onExited:Oa};Vn.UNMOUNTED=bs;Vn.EXITED=Li;Vn.ENTERING=En;Vn.ENTERED=Vi;Vn.EXITING=ed;function lce(e){return e&&e.ownerDocument||document}function uce(e){var t=lce(e);return t&&t.defaultView||window}function cce(e,t){return uce(e).getComputedStyle(e,t)}var dce=/([A-Z])/g;function fce(e){return e.replace(dce,"-$1").toLowerCase()}var pce=/^ms-/;function Ou(e){return fce(e).replace(pce,"-ms-")}var hce=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function mce(e){return!!(e&&hce.test(e))}function ob(e,t){var r="",n="";if(typeof t=="string")return e.style.getPropertyValue(Ou(t))||cce(e).getPropertyValue(Ou(t));Object.keys(t).forEach(function(i){var a=t[i];!a&&a!==0?e.style.removeProperty(Ou(i)):mce(i)?n+=i+"("+a+") ":r+=Ou(i)+": "+a+";"}),n&&(r+="transform: "+n+";"),e.style.cssText+=";"+r}const vce=!!(typeof window<"u"&&window.document&&window.document.createElement);var Eh=!1,Ch=!1;try{var P1={get passive(){return Eh=!0},get once(){return Ch=Eh=!0}};vce&&(window.addEventListener("test",P1,P1),window.removeEventListener("test",P1,!0))}catch{}function gce(e,t,r,n){if(n&&typeof n!="boolean"&&!Ch){var i=n.once,a=n.capture,o=r;!Ch&&i&&(o=r.__once||function s(l){this.removeEventListener(t,s,a),r.call(this,l)},r.__once=o),e.addEventListener(t,o,Eh?n:a)}e.addEventListener(t,r,n)}function yce(e,t,r,n){var i=n&&typeof n!="boolean"?n.capture:n;e.removeEventListener(t,r,i),r.__once&&e.removeEventListener(t,r.__once,i)}function sb(e,t,r,n){return gce(e,t,r,n),function(){yce(e,t,r,n)}}function $ce(e,t,r,n){if(n===void 0&&(n=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent(t,r,n),e.dispatchEvent(i)}}function wce(e){var t=ob(e,"transitionDuration")||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function bce(e,t,r){r===void 0&&(r=5);var n=!1,i=setTimeout(function(){n||$ce(e,"transitionend",!0)},t+r),a=sb(e,"transitionend",function(){n=!0},{once:!0});return function(){clearTimeout(i),a()}}function Ece(e,t,r,n){r==null&&(r=wce(e)||0);var i=bce(e,r,n),a=sb(e,"transitionend",t);return function(){i(),a()}}function O4(e,t){const r=ob(e,t)||"",n=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*n}function Cce(e,t){const r=O4(e,"transitionDuration"),n=O4(e,"transitionDelay"),i=Ece(e,a=>{a.target===e&&(i(),t(a))},r+n)}function Sce(e){e.offsetHeight}function _ce(e){return e&&"setState"in e?_n.findDOMNode(e):e??null}const xce=C.forwardRef(({onEnter:e,onEntering:t,onEntered:r,onExit:n,onExiting:i,onExited:a,addEndListener:o,children:s,childRef:l,...u},c)=>{const d=R.useRef(null),p=z6(d,l),f=S=>{p(_ce(S))},m=S=>_=>{S&&d.current&&S(d.current,_)},v=R.useCallback(m(e),[e]),$=R.useCallback(m(t),[t]),h=R.useCallback(m(r),[r]),g=R.useCallback(m(n),[n]),y=R.useCallback(m(i),[i]),b=R.useCallback(m(a),[a]),O=R.useCallback(m(o),[o]);return E.jsx(Vn,{ref:c,...u,onEnter:v,onEntered:h,onEntering:$,onExit:g,onExited:b,onExiting:y,addEndListener:O,nodeRef:d,children:typeof s=="function"?(S,_)=>s(S,{..._,ref:f}):C.cloneElement(s,{ref:f})})}),Oce={[En]:"show",[Vi]:"show"},lb=R.forwardRef(({className:e,children:t,transitionClasses:r={},onEnter:n,...i},a)=>{const o={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},s=R.useCallback((l,u)=>{Sce(l),n==null||n(l,u)},[n]);return E.jsx(xce,{ref:a,addEndListener:Cce,...o,onEnter:s,childRef:t.ref,children:(l,u)=>R.cloneElement(t,{...u,className:Re("fade",e,t.props.className,Oce[l],r[l])})})});lb.displayName="Fade";const Pce={[En]:"showing",[ed]:"showing show"},ub=R.forwardRef((e,t)=>E.jsx(lb,{...e,ref:t,transitionClasses:Pce}));ub.displayName="ToastFade";const Tce={"aria-label":Jt.string,onClick:Jt.func,variant:Jt.oneOf(["white"])},Gv=R.forwardRef(({className:e,variant:t,"aria-label":r="Close",...n},i)=>E.jsx("button",{ref:i,type:"button",className:Re("btn-close",t&&`btn-close-${t}`,e),"aria-label":r,...n}));Gv.displayName="CloseButton";Gv.propTypes=Tce;const cb=R.createContext({onClose(){}}),db=R.forwardRef(({bsPrefix:e,closeLabel:t="Close",closeVariant:r,closeButton:n=!0,className:i,children:a,...o},s)=>{e=Qe(e,"toast-header");const l=R.useContext(cb),u=Nv(c=>{l==null||l.onClose==null||l.onClose(c)});return E.jsxs("div",{ref:s,...o,className:Re(e,i),children:[a,n&&E.jsx(Gv,{"aria-label":t,variant:r,onClick:u,"data-dismiss":"toast"})]})});db.displayName="ToastHeader";const Ace=dn("toast-body"),fb=R.forwardRef(({bsPrefix:e,className:t,transition:r=ub,show:n=!0,animation:i=!0,delay:a=5e3,autohide:o=!1,onClose:s,bg:l,...u},c)=>{e=Qe(e,"toast");const d=R.useRef(a),p=R.useRef(s);R.useEffect(()=>{d.current=a,p.current=s},[a,s]);const f=oce(),m=!!(o&&n),v=R.useCallback(()=>{m&&(p.current==null||p.current())},[m]);R.useEffect(()=>{f.set(v,d.current)},[f,v]);const $=R.useMemo(()=>({onClose:s}),[s]),h=!!(r&&i),g=E.jsx("div",{...u,ref:c,className:Re(e,t,l&&`bg-${l}`,!h&&(n?"show":"hide")),role:"alert","aria-live":"assertive","aria-atomic":"true"});return E.jsx(cb.Provider,{value:$,children:h&&r?E.jsx(r,{in:n,unmountOnExit:!0,children:g}):g})});fb.displayName="Toast";const T1=Object.assign(fb,{Body:Ace,Header:db}),Rce=Y7({AjvClass:rce}),jce=({message:e,cleanFn:t})=>E.jsxs(T1,{onClose:t,className:"text-bg-danger border-danger",children:[E.jsxs(T1.Header,{children:[E.jsx("strong",{className:"me-auto",children:"Error"}),E.jsx("small",{className:"text-muted",children:"just now"})]}),E.jsx(T1.Body,{children:e})]}),Ice=({schema:e,uiSchema:t,distribution:r})=>{const[n,i]=R.useState({}),[a,o]=R.useState(""),s=kS({mutationFn:rx});function l({formData:p}){i(p)}const u=()=>{o(""),s.reset()};async function c(p){const f={...p.formData,distribution:r};s.mutate(f)}if(s.isSuccess){const p=s.data["@id"];window.location.replace(p)}if(s.isError&&!a){const p=s.error.response.data,f=p.message?p.message:p.type;o(f),console.log(f)}const d=s.isLoading?"loading":s.isError?"error":"active";return E.jsxs("div",{id:"add-site-form",className:d,children:[E.jsx("div",{className:"spinner-border text-primary",role:"status",children:E.jsx("span",{className:"visually-hidden",children:"Loading..."})}),s.isError&&E.jsx(jce,{cleanFn:u,message:a}),E.jsx(X6,{schema:e,uiSchema:t,validator:Rce,onChange:l,formData:n,onSubmit:c})]})},Lce=({distribution:e})=>{const{isLoading:t,isError:r,data:n,error:i}=n5(tx(e));return E.jsx(E.Fragment,{children:n?E.jsx(Ice,{schema:n.schema,uiSchema:n.uischema,distribution:e}):null})};function Nce(){const e=new cS,t=window.location.search,r=new URLSearchParams(t);return R.useEffect(()=>{var n;(n=document.getElementById("root"))==null||n.classList.add("show-content")},[]),E.jsxs(E.Fragment,{children:[E.jsx(SS,{client:e,children:E.jsxs("div",{className:"container admin",children:[E.jsx("nav",{className:"navbar navbar-expand-lg navbar-light",children:E.jsxs("div",{className:"container-fluid",children:[E.jsx("div",{className:"container-fluid text-center logo",children:E.jsx("a",{className:"navbar-brand",href:"/",children:E.jsx("img",{src:"/++resource++plone-logo.svg",width:"215",height:"56",alt:"Plone logo"})})}),E.jsx("form",{id:"topForm",className:"d-flex"})]})}),r.get("distribution")?E.jsx(Lce,{distribution:r.get("distribution")||""}):E.jsx(E.Fragment,{children:E.jsx(sle,{})})]})}),E.jsxs("div",{className:"footer",children:[E.jsxs("div",{className:"footer-message",children:["The Plone",E.jsx("sup",{children:"®"})," Open Source CMS/WCM is"," ",E.jsx("abbr",{title:"Copyright",children:"©"})," 2000-2024 by the"," ",E.jsx("a",{className:"item",href:"http://plone.org/foundation",children:"Plone Foundation"})," ","and friends. ",E.jsx("br",{})," Distributed under the"," ",E.jsx("a",{className:"item",href:"http://creativecommons.org/licenses/GPL/2.0/",children:"GNU GPL license"}),"."]}),E.jsxs("ul",{className:"links-list",children:[E.jsx("li",{className:"item",children:E.jsx("a",{className:"item",href:"https://docs.plone.org",target:"_blank",rel:"noreferrer",children:"Plone Docs"})}),E.jsx("li",{className:"item",children:E.jsx("a",{className:"item",href:"https://training.plone.org",target:"_blank",rel:"noreferrer",children:"Plone Training"})}),E.jsx("li",{className:"item",children:E.jsx("a",{className:"item",href:"https://community.plone.org",target:"_blank",rel:"noreferrer",children:"Plone Community Forum"})})]}),E.jsx("div",{className:"logo",children:E.jsx("a",{title:"Site",href:"/",children:E.jsx("img",{src:"/++resource++plone-logo.svg",alt:"Plone Site",title:"Plone Site"})})}),E.jsx("a",{className:"powered-by",href:"https://plone.org",target:"_blank",rel:"noreferrer",children:"Plone.org"})]})]})}A1.createRoot(document.getElementById("root")).render(E.jsx(C.StrictMode,{children:E.jsx(Nce,{})}))});export default Mce(); diff --git a/src/plone/distribution/browser/templates/plone-overview.pt b/src/plone/distribution/browser/templates/plone-overview.pt index 8f62b83..f3e617d 100644 --- a/src/plone/distribution/browser/templates/plone-overview.pt +++ b/src/plone/distribution/browser/templates/plone-overview.pt @@ -1,5 +1,4 @@ - +