@confidencesystemsinc/sdk 1.4.3 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ui/modal.d.ts +1 -0
- package/dist/index.cjs +63 -80
- package/dist/index.js +9714 -10861
- package/dist/theme.css +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var fp=e=>{throw TypeError(e)};var wf=(e,r,o)=>r.has(e)||fp("Cannot "+o);var O=(e,r,o)=>(wf(e,r,"read from private field"),o?o.call(e):r.get(e)),Ie=(e,r,o)=>r.has(e)?fp("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,o),he=(e,r,o,i)=>(wf(e,r,"write to private field"),i?i.call(e,o):r.set(e,o),o),ze=(e,r,o)=>(wf(e,r,"access private method"),o);var Nu=(e,r,o,i)=>({set _(a){he(e,r,a,o)},get _(){return O(e,r,i)}});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const X=require("react/jsx-runtime"),V=require("react"),uc=require("react-dom");function Hh(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const i=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,i.get?i:{enumerable:!0,get:()=>e[o]})}}return r.default=e,Object.freeze(r)}const de=Hh(V),Zg=Hh(uc);function ev(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bo={},Ui={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-dom-server-legacy.browser.production.min.js
|
|
4
4
|
*
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
10
|
-
`&&
|
|
11
|
-
`),
|
|
12
|
-
`?
|
|
13
|
-
`,
|
|
14
|
-
`&&
|
|
15
|
-
`),N;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":f.push(Fe(b));for(var Ct in E)if(n.call(E,Ct)&&(N=E[Ct],N!=null))switch(Ct){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,b));default:J(f,P,Ct,N)}return f.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return le(f,E,b,P);case"html":return H.insertionMode===0&&f.push("<!DOCTYPE html>"),le(f,E,b,P);default:if(b.indexOf("-")===-1&&typeof E.is!="string")return le(f,E,b,P);f.push(Fe(b)),G=N=null;for(Ae in E)if(n.call(E,Ae)&&(ne=E[Ae],ne!=null))switch(Ae){case"children":N=ne;break;case"dangerouslySetInnerHTML":G=ne;break;case"style":$(f,P,ne);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:p(Ae)&&typeof ne!="function"&&typeof ne!="symbol"&&f.push(" ",Ae,'="',L(ne),'"')}return f.push(">"),ae(f,G,N),N}}function ze(f,b,E){if(f.push('<!--$?--><template id="'),E===null)throw Error(t(395));return f.push(E),f.push('"></template>')}function xe(f,b,E,P){switch(E.insertionMode){case 0:case 1:return f.push('<div hidden id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 2:return f.push('<svg aria-hidden="true" style="display:none" id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 3:return f.push('<math aria-hidden="true" style="display:none" id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 4:return f.push('<table hidden id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 5:return f.push('<table hidden><tbody id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 6:return f.push('<table hidden><tr id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 7:return f.push('<table hidden><colgroup id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');default:throw Error(t(397))}}function Re(f,b){switch(b.insertionMode){case 0:case 1:return f.push("</div>");case 2:return f.push("</svg>");case 3:return f.push("</math>");case 4:return f.push("</table>");case 5:return f.push("</tbody></table>");case 6:return f.push("</tr></table>");case 7:return f.push("</colgroup></table>");default:throw Error(t(397))}}var Le=/[<\u2028\u2029]/g;function Z(f){return JSON.stringify(f).replace(Le,function(b){switch(b){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function ve(f,b){return b=b===void 0?"":b,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:b+"P:",segmentPrefix:b+"S:",boundaryPrefix:b+"B:",idPrefix:b,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:f}}function Y(f,b,E,P){return E.generateStaticMarkup?(f.push(L(b)),!1):(b===""?f=P:(P&&f.push("<!-- -->"),f.push(L(b)),f=!0),f)}var K=Object.assign,fe=Symbol.for("react.element"),te=Symbol.for("react.portal"),he=Symbol.for("react.fragment"),me=Symbol.for("react.strict_mode"),ue=Symbol.for("react.profiler"),ce=Symbol.for("react.provider"),Ee=Symbol.for("react.context"),Se=Symbol.for("react.forward_ref"),Pe=Symbol.for("react.suspense"),Be=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),We=Symbol.for("react.lazy"),ot=Symbol.for("react.scope"),Nt=Symbol.for("react.debug_trace_mode"),Br=Symbol.for("react.legacy_hidden"),xo=Symbol.for("react.default_value"),zt=Symbol.iterator;function Ur(f){if(f==null)return null;if(typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case he:return"Fragment";case te:return"Portal";case ue:return"Profiler";case me:return"StrictMode";case Pe:return"Suspense";case Be:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case Ee:return(f.displayName||"Context")+".Consumer";case ce:return(f._context.displayName||"Context")+".Provider";case Se:var b=f.render;return f=f.displayName,f||(f=b.displayName||b.name||"",f=f!==""?"ForwardRef("+f+")":"ForwardRef"),f;case se:return b=f.displayName||null,b!==null?b:Ur(f.type)||"Memo";case We:b=f._payload,f=f._init;try{return Ur(f(b))}catch{}}return null}var Hr={};function So(f,b){if(f=f.contextTypes,!f)return Hr;var E={},P;for(P in f)E[P]=b[P];return E}var Bt=null;function gt(f,b){if(f!==b){f.context._currentValue2=f.parentValue,f=f.parent;var E=b.parent;if(f===null){if(E!==null)throw Error(t(401))}else{if(E===null)throw Error(t(401));gt(f,E)}b.context._currentValue2=b.value}}function ft(f){f.context._currentValue2=f.parentValue,f=f.parent,f!==null&&ft(f)}function In(f){var b=f.parent;b!==null&&In(b),f.context._currentValue2=f.value}function Fn(f,b){if(f.context._currentValue2=f.parentValue,f=f.parent,f===null)throw Error(t(402));f.depth===b.depth?gt(f,b):Fn(f,b)}function Mn(f,b){var E=b.parent;if(E===null)throw Error(t(402));f.depth===E.depth?gt(f,E):Mn(f,E),b.context._currentValue2=b.value}function st(f){var b=Bt;b!==f&&(b===null?In(f):f===null?ft(b):b.depth===f.depth?gt(b,f):b.depth>f.depth?Fn(b,f):Mn(b,f),Bt=f)}var Dn={isMounted:function(){return!1},enqueueSetState:function(f,b){f=f._reactInternals,f.queue!==null&&f.queue.push(b)},enqueueReplaceState:function(f,b){f=f._reactInternals,f.replace=!0,f.queue=[b]},enqueueForceUpdate:function(){}};function ko(f,b,E,P){var H=f.state!==void 0?f.state:null;f.updater=Dn,f.props=E,f.state=H;var N={queue:[],replace:!1};f._reactInternals=N;var G=b.contextType;if(f.context=typeof G=="object"&&G!==null?G._currentValue2:P,G=b.getDerivedStateFromProps,typeof G=="function"&&(G=G(E,H),H=G==null?H:K({},H,G),f.state=H),typeof b.getDerivedStateFromProps!="function"&&typeof f.getSnapshotBeforeUpdate!="function"&&(typeof f.UNSAFE_componentWillMount=="function"||typeof f.componentWillMount=="function"))if(b=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),b!==f.state&&Dn.enqueueReplaceState(f,f.state,null),N.queue!==null&&0<N.queue.length)if(b=N.queue,G=N.replace,N.queue=null,N.replace=!1,G&&b.length===1)f.state=b[0];else{for(N=G?b[0]:f.state,H=!0,G=G?1:0;G<b.length;G++){var ne=b[G];ne=typeof ne=="function"?ne.call(f,N,E,P):ne,ne!=null&&(H?(H=!1,N=K({},N,ne)):K(N,ne))}f.state=N}else N.queue=null}var Eo={id:1,overflow:""};function _n(f,b,E){var P=f.id;f=f.overflow;var H=32-ln(P)-1;P&=~(1<<H),E+=1;var N=32-ln(b)+H;if(30<N){var G=H-H%5;return N=(P&(1<<G)-1).toString(32),P>>=G,H-=G,{id:1<<32-ln(b)+H|E<<H|P,overflow:N+f}}return{id:1<<N|E<<H|P,overflow:f}}var ln=Math.clz32?Math.clz32:Sr,Ei=Math.log,Ln=Math.LN2;function Sr(f){return f>>>=0,f===0?32:31-(Ei(f)/Ln|0)|0}function $n(f,b){return f===b&&(f!==0||1/f===1/b)||f!==f&&b!==b}var Co=typeof Object.is=="function"?Object.is:$n,xt=null,tr=null,kr=null,Qe=null,Er=!1,un=!1,Wr=0,rr=null,cn=0;function hr(){if(xt===null)throw Error(t(321));return xt}function dt(){if(0<cn)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function jn(){return Qe===null?kr===null?(Er=!1,kr=Qe=dt()):(Er=!0,Qe=kr):Qe.next===null?(Er=!1,Qe=Qe.next=dt()):(Er=!0,Qe=Qe.next),Qe}function Nn(){tr=xt=null,un=!1,kr=null,cn=0,Qe=rr=null}function To(f,b){return typeof b=="function"?b(f):b}function lt(f,b,E){if(xt=hr(),Qe=jn(),Er){var P=Qe.queue;if(b=P.dispatch,rr!==null&&(E=rr.get(P),E!==void 0)){rr.delete(P),P=Qe.memoizedState;do P=f(P,E.action),E=E.next;while(E!==null);return Qe.memoizedState=P,[P,b]}return[Qe.memoizedState,b]}return f=f===To?typeof b=="function"?b():b:E!==void 0?E(b):b,Qe.memoizedState=f,f=Qe.queue={last:null,dispatch:null},f=f.dispatch=Ci.bind(null,xt,f),[Qe.memoizedState,f]}function zn(f,b){if(xt=hr(),Qe=jn(),b=b===void 0?null:b,Qe!==null){var E=Qe.memoizedState;if(E!==null&&b!==null){var P=E[1];e:if(P===null)P=!1;else{for(var H=0;H<P.length&&H<b.length;H++)if(!Co(b[H],P[H])){P=!1;break e}P=!0}if(P)return E[0]}}return f=f(),Qe.memoizedState=[f,b],f}function Ci(f,b,E){if(25<=cn)throw Error(t(301));if(f===xt)if(un=!0,f={action:E,next:null},rr===null&&(rr=new Map),E=rr.get(b),E===void 0)rr.set(b,f);else{for(b=E;b.next!==null;)b=b.next;b.next=f}}function Ti(){throw Error(t(394))}function nr(){}var Bn={readContext:function(f){return f._currentValue2},useContext:function(f){return hr(),f._currentValue2},useMemo:zn,useReducer:lt,useRef:function(f){xt=hr(),Qe=jn();var b=Qe.memoizedState;return b===null?(f={current:f},Qe.memoizedState=f):b},useState:function(f){return lt(To,f)},useInsertionEffect:nr,useLayoutEffect:function(){},useCallback:function(f,b){return zn(function(){return f},b)},useImperativeHandle:nr,useEffect:nr,useDebugValue:nr,useDeferredValue:function(f){return hr(),f},useTransition:function(){return hr(),[!1,Ti]},useId:function(){var f=tr.treeContext,b=f.overflow;f=f.id,f=(f&~(1<<32-ln(f)-1)).toString(32)+b;var E=fn;if(E===null)throw Error(t(404));return b=Wr++,f=":"+E.idPrefix+"R"+f,0<b&&(f+="H"+b.toString(32)),f+":"},useMutableSource:function(f,b){return hr(),b(f._source)},useSyncExternalStore:function(f,b,E){if(E===void 0)throw Error(t(407));return E()}},fn=null,Cr=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Rt(f){return console.error(f),null}function or(){}function dn(f,b,E,P,H,N,G,ne,ke){var Ae=[],Ce=new Set;return b={destination:null,responseState:b,progressiveChunkSize:P===void 0?12800:P,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ce,pingedTasks:Ae,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:H===void 0?Rt:H,onAllReady:or,onShellReady:G===void 0?or:G,onShellError:or,onFatalError:or},E=Rr(b,0,null,E,!1,!1),E.parentFlushed=!0,f=Tr(b,f,null,E,Ce,Hr,null,Eo),Ae.push(f),b}function Tr(f,b,E,P,H,N,G,ne){f.allPendingTasks++,E===null?f.pendingRootTasks++:E.pendingTasks++;var ke={node:b,ping:function(){var Ae=f.pingedTasks;Ae.push(ke),Ae.length===1&&St(f)},blockedBoundary:E,blockedSegment:P,abortSet:H,legacyContext:N,context:G,treeContext:ne};return H.add(ke),ke}function Rr(f,b,E,P,H,N){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],formatContext:P,boundary:E,lastPushedText:H,textEmbedded:N}}function ir(f,b){if(f=f.onError(b),f!=null&&typeof f!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof f+'" instead');return f}function Pr(f,b){var E=f.onShellError;E(b),E=f.onFatalError,E(b),f.destination!==null?(f.status=2,f.destination.destroy(b)):(f.status=1,f.fatalError=b)}function Pt(f,b,E,P,H){for(xt={},tr=b,Wr=0,f=E(P,H);un;)un=!1,Wr=0,cn+=1,Qe=null,f=E(P,H);return Nn(),f}function Ro(f,b,E,P){var H=E.render(),N=P.childContextTypes;if(N!=null){var G=b.legacyContext;if(typeof E.getChildContext!="function")P=G;else{E=E.getChildContext();for(var ne in E)if(!(ne in N))throw Error(t(108,Ur(P)||"Unknown",ne));P=K({},G,E)}b.legacyContext=P,ut(f,b,H),b.legacyContext=G}else ut(f,b,H)}function Po(f,b){if(f&&f.defaultProps){b=K({},b),f=f.defaultProps;for(var E in f)b[E]===void 0&&(b[E]=f[E]);return b}return b}function mr(f,b,E,P,H){if(typeof E=="function")if(E.prototype&&E.prototype.isReactComponent){H=So(E,b.legacyContext);var N=E.contextType;N=new E(P,typeof N=="object"&&N!==null?N._currentValue2:H),ko(N,E,P,H),Ro(f,b,N,E)}else{N=So(E,b.legacyContext),H=Pt(f,b,E,P,N);var G=Wr!==0;if(typeof H=="object"&&H!==null&&typeof H.render=="function"&&H.$$typeof===void 0)ko(H,E,P,N),Ro(f,b,H,E);else if(G){P=b.treeContext,b.treeContext=_n(P,1,0);try{ut(f,b,H)}finally{b.treeContext=P}}else ut(f,b,H)}else if(typeof E=="string"){switch(H=b.blockedSegment,N=$e(H.chunks,E,P,f.responseState,H.formatContext),H.lastPushedText=!1,G=H.formatContext,H.formatContext=j(G,E,P),sr(f,b,N),H.formatContext=G,E){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:H.chunks.push("</",E,">")}H.lastPushedText=!1}else{switch(E){case Br:case Nt:case me:case ue:case he:ut(f,b,P.children);return;case Be:ut(f,b,P.children);return;case ot:throw Error(t(343));case Pe:e:{E=b.blockedBoundary,H=b.blockedSegment,N=P.fallback,P=P.children,G=new Set;var ne={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:G,errorDigest:null},ke=Rr(f,H.chunks.length,ne,H.formatContext,!1,!1);H.children.push(ke),H.lastPushedText=!1;var Ae=Rr(f,0,null,H.formatContext,!1,!1);Ae.parentFlushed=!0,b.blockedBoundary=ne,b.blockedSegment=Ae;try{if(sr(f,b,P),f.responseState.generateStaticMarkup||Ae.lastPushedText&&Ae.textEmbedded&&Ae.chunks.push("<!-- -->"),Ae.status=1,Ut(ne,Ae),ne.pendingTasks===0)break e}catch(Ce){Ae.status=4,ne.forceClientRender=!0,ne.errorDigest=ir(f,Ce)}finally{b.blockedBoundary=E,b.blockedSegment=H}b=Tr(f,N,E,ke,G,b.legacyContext,b.context,b.treeContext),f.pingedTasks.push(b)}return}if(typeof E=="object"&&E!==null)switch(E.$$typeof){case Se:if(P=Pt(f,b,E.render,P,H),Wr!==0){E=b.treeContext,b.treeContext=_n(E,1,0);try{ut(f,b,P)}finally{b.treeContext=E}}else ut(f,b,P);return;case se:E=E.type,P=Po(E,P),mr(f,b,E,P,H);return;case ce:if(H=P.children,E=E._context,P=P.value,N=E._currentValue2,E._currentValue2=P,G=Bt,Bt=P={parent:G,depth:G===null?0:G.depth+1,context:E,parentValue:N,value:P},b.context=P,ut(f,b,H),f=Bt,f===null)throw Error(t(403));P=f.parentValue,f.context._currentValue2=P===xo?f.context._defaultValue:P,f=Bt=f.parent,b.context=f;return;case Ee:P=P.children,P=P(E._currentValue2),ut(f,b,P);return;case We:H=E._init,E=H(E._payload),P=Po(E,P),mr(f,b,E,P,void 0);return}throw Error(t(130,E==null?E:typeof E,""))}}function ut(f,b,E){if(b.node=E,typeof E=="object"&&E!==null){switch(E.$$typeof){case fe:mr(f,b,E.type,E.props,E.ref);return;case te:throw Error(t(257));case We:var P=E._init;E=P(E._payload),ut(f,b,E);return}if(O(E)){ar(f,b,E);return}if(E===null||typeof E!="object"?P=null:(P=zt&&E[zt]||E["@@iterator"],P=typeof P=="function"?P:null),P&&(P=P.call(E))){if(E=P.next(),!E.done){var H=[];do H.push(E.value),E=P.next();while(!E.done);ar(f,b,H)}return}throw f=Object.prototype.toString.call(E),Error(t(31,f==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":f))}typeof E=="string"?(P=b.blockedSegment,P.lastPushedText=Y(b.blockedSegment.chunks,E,f.responseState,P.lastPushedText)):typeof E=="number"&&(P=b.blockedSegment,P.lastPushedText=Y(b.blockedSegment.chunks,""+E,f.responseState,P.lastPushedText))}function ar(f,b,E){for(var P=E.length,H=0;H<P;H++){var N=b.treeContext;b.treeContext=_n(N,P,H);try{sr(f,b,E[H])}finally{b.treeContext=N}}}function sr(f,b,E){var P=b.blockedSegment.formatContext,H=b.legacyContext,N=b.context;try{return ut(f,b,E)}catch(ke){if(Nn(),typeof ke=="object"&&ke!==null&&typeof ke.then=="function"){E=ke;var G=b.blockedSegment,ne=Rr(f,G.chunks.length,null,G.formatContext,G.lastPushedText,!0);G.children.push(ne),G.lastPushedText=!1,f=Tr(f,b.node,b.blockedBoundary,ne,b.abortSet,b.legacyContext,b.context,b.treeContext).ping,E.then(f,f),b.blockedSegment.formatContext=P,b.legacyContext=H,b.context=N,st(N)}else throw b.blockedSegment.formatContext=P,b.legacyContext=H,b.context=N,st(N),ke}}function Ar(f){var b=f.blockedBoundary;f=f.blockedSegment,f.status=3,lr(this,b,f)}function pn(f,b,E){var P=f.blockedBoundary;f.blockedSegment.status=3,P===null?(b.allPendingTasks--,b.status!==2&&(b.status=2,b.destination!==null&&b.destination.push(null))):(P.pendingTasks--,P.forceClientRender||(P.forceClientRender=!0,f=E===void 0?Error(t(432)):E,P.errorDigest=b.onError(f),P.parentFlushed&&b.clientRenderedBoundaries.push(P)),P.fallbackAbortableTasks.forEach(function(H){return pn(H,b,E)}),P.fallbackAbortableTasks.clear(),b.allPendingTasks--,b.allPendingTasks===0&&(P=b.onAllReady,P()))}function Ut(f,b){if(b.chunks.length===0&&b.children.length===1&&b.children[0].boundary===null){var E=b.children[0];E.id=b.id,E.parentFlushed=!0,E.status===1&&Ut(f,E)}else f.completedSegments.push(b)}function lr(f,b,E){if(b===null){if(E.parentFlushed){if(f.completedRootSegment!==null)throw Error(t(389));f.completedRootSegment=E}f.pendingRootTasks--,f.pendingRootTasks===0&&(f.onShellError=or,b=f.onShellReady,b())}else b.pendingTasks--,b.forceClientRender||(b.pendingTasks===0?(E.parentFlushed&&E.status===1&&Ut(b,E),b.parentFlushed&&f.completedBoundaries.push(b),b.fallbackAbortableTasks.forEach(Ar,f),b.fallbackAbortableTasks.clear()):E.parentFlushed&&E.status===1&&(Ut(b,E),b.completedSegments.length===1&&b.parentFlushed&&f.partialBoundaries.push(b)));f.allPendingTasks--,f.allPendingTasks===0&&(f=f.onAllReady,f())}function St(f){if(f.status!==2){var b=Bt,E=Cr.current;Cr.current=Bn;var P=fn;fn=f.responseState;try{var H=f.pingedTasks,N;for(N=0;N<H.length;N++){var G=H[N],ne=f,ke=G.blockedSegment;if(ke.status===0){st(G.context);try{ut(ne,G,G.node),ne.responseState.generateStaticMarkup||ke.lastPushedText&&ke.textEmbedded&&ke.chunks.push("<!-- -->"),G.abortSet.delete(G),ke.status=1,lr(ne,G.blockedBoundary,ke)}catch(Tt){if(Nn(),typeof Tt=="object"&&Tt!==null&&typeof Tt.then=="function"){var Ae=G.ping;Tt.then(Ae,Ae)}else{G.abortSet.delete(G),ke.status=4;var Ce=G.blockedBoundary,Ve=Tt,Et=ir(ne,Ve);if(Ce===null?Pr(ne,Ve):(Ce.pendingTasks--,Ce.forceClientRender||(Ce.forceClientRender=!0,Ce.errorDigest=Et,Ce.parentFlushed&&ne.clientRenderedBoundaries.push(Ce))),ne.allPendingTasks--,ne.allPendingTasks===0){var Ct=ne.onAllReady;Ct()}}}finally{}}}H.splice(0,N),f.destination!==null&&kt(f,f.destination)}catch(Tt){ir(f,Tt),Pr(f,Tt)}finally{fn=P,Cr.current=E,E===Bn&&st(b)}}}function Or(f,b,E){switch(E.parentFlushed=!0,E.status){case 0:var P=E.id=f.nextSegmentId++;return E.lastPushedText=!1,E.textEmbedded=!1,f=f.responseState,b.push('<template id="'),b.push(f.placeholderPrefix),f=P.toString(16),b.push(f),b.push('"></template>');case 1:E.status=2;var H=!0;P=E.chunks;var N=0;E=E.children;for(var G=0;G<E.length;G++){for(H=E[G];N<H.index;N++)b.push(P[N]);H=Vr(f,b,H)}for(;N<P.length-1;N++)b.push(P[N]);return N<P.length&&(H=b.push(P[N])),H;default:throw Error(t(390))}}function Vr(f,b,E){var P=E.boundary;if(P===null)return Or(f,b,E);if(P.parentFlushed=!0,P.forceClientRender)return f.responseState.generateStaticMarkup||(P=P.errorDigest,b.push("<!--$!-->"),b.push("<template"),P&&(b.push(' data-dgst="'),P=L(P),b.push(P),b.push('"')),b.push("></template>")),Or(f,b,E),f=f.responseState.generateStaticMarkup?!0:b.push("<!--/$-->"),f;if(0<P.pendingTasks){P.rootSegmentID=f.nextSegmentId++,0<P.completedSegments.length&&f.partialBoundaries.push(P);var H=f.responseState,N=H.nextSuspenseID++;return H=H.boundaryPrefix+N.toString(16),P=P.id=H,ze(b,f.responseState,P),Or(f,b,E),b.push("<!--/$-->")}if(P.byteSize>f.progressiveChunkSize)return P.rootSegmentID=f.nextSegmentId++,f.completedBoundaries.push(P),ze(b,f.responseState,P.id),Or(f,b,E),b.push("<!--/$-->");if(f.responseState.generateStaticMarkup||b.push("<!--$-->"),E=P.completedSegments,E.length!==1)throw Error(t(391));return Vr(f,b,E[0]),f=f.responseState.generateStaticMarkup?!0:b.push("<!--/$-->"),f}function hn(f,b,E){return xe(b,f.responseState,E.formatContext,E.id),Vr(f,b,E),Re(b,E.formatContext)}function _t(f,b,E){for(var P=E.completedSegments,H=0;H<P.length;H++)ur(f,b,E,P[H]);if(P.length=0,f=f.responseState,P=E.id,E=E.rootSegmentID,b.push(f.startInlineScript),f.sentCompleteBoundaryFunction?b.push('$RC("'):(f.sentCompleteBoundaryFunction=!0,b.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),P===null)throw Error(t(395));return E=E.toString(16),b.push(P),b.push('","'),b.push(f.segmentPrefix),b.push(E),b.push('")<\/script>')}function ur(f,b,E,P){if(P.status===2)return!0;var H=P.id;if(H===-1){if((P.id=E.rootSegmentID)===-1)throw Error(t(392));return hn(f,b,P)}return hn(f,b,P),f=f.responseState,b.push(f.startInlineScript),f.sentCompleteSegmentFunction?b.push('$RS("'):(f.sentCompleteSegmentFunction=!0,b.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),b.push(f.segmentPrefix),H=H.toString(16),b.push(H),b.push('","'),b.push(f.placeholderPrefix),b.push(H),b.push('")<\/script>')}function kt(f,b){try{var E=f.completedRootSegment;if(E!==null&&f.pendingRootTasks===0){Vr(f,b,E),f.completedRootSegment=null;var P=f.responseState.bootstrapChunks;for(E=0;E<P.length-1;E++)b.push(P[E]);E<P.length&&b.push(P[E])}var H=f.clientRenderedBoundaries,N;for(N=0;N<H.length;N++){var G=H[N];P=b;var ne=f.responseState,ke=G.id,Ae=G.errorDigest,Ce=G.errorMessage,Ve=G.errorComponentStack;if(P.push(ne.startInlineScript),ne.sentClientRenderFunction?P.push('$RX("'):(ne.sentClientRenderFunction=!0,P.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),ke===null)throw Error(t(395));if(P.push(ke),P.push('"'),Ae||Ce||Ve){P.push(",");var Et=Z(Ae||"");P.push(Et)}if(Ce||Ve){P.push(",");var Ct=Z(Ce||"");P.push(Ct)}if(Ve){P.push(",");var Tt=Z(Ve);P.push(Tt)}if(!P.push(")<\/script>")){f.destination=null,N++,H.splice(0,N);return}}H.splice(0,N);var Ir=f.completedBoundaries;for(N=0;N<Ir.length;N++)if(!_t(f,b,Ir[N])){f.destination=null,N++,Ir.splice(0,N);return}Ir.splice(0,N);var cr=f.partialBoundaries;for(N=0;N<cr.length;N++){var gn=cr[N];e:{H=f,G=b;var Fr=gn.completedSegments;for(ne=0;ne<Fr.length;ne++)if(!ur(H,G,gn,Fr[ne])){ne++,Fr.splice(0,ne);var Gr=!1;break e}Fr.splice(0,ne),Gr=!0}if(!Gr){f.destination=null,N++,cr.splice(0,N);return}}cr.splice(0,N);var gr=f.completedBoundaries;for(N=0;N<gr.length;N++)if(!_t(f,b,gr[N])){f.destination=null,N++,gr.splice(0,N);return}gr.splice(0,N)}finally{f.allPendingTasks===0&&f.pingedTasks.length===0&&f.clientRenderedBoundaries.length===0&&f.completedBoundaries.length===0&&b.push(null)}}function mn(f,b){try{var E=f.abortableTasks;E.forEach(function(P){return pn(P,f,b)}),E.clear(),f.destination!==null&&kt(f,f.destination)}catch(P){ir(f,P),Pr(f,P)}}function mt(){}function At(f,b,E,P){var H=!1,N=null,G="",ne={push:function(Ae){return Ae!==null&&(G+=Ae),!0},destroy:function(Ae){H=!0,N=Ae}},ke=!1;if(f=dn(f,ve(E,b?b.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,mt,void 0,function(){ke=!0}),St(f),mn(f,P),f.status===1)f.status=2,ne.destroy(f.fatalError);else if(f.status!==2&&f.destination===null){f.destination=ne;try{kt(f,ne)}catch(Ae){ir(f,Ae),Pr(f,Ae)}}if(H)throw N;if(!ke)throw Error(t(426));return G}return ia.renderToNodeStream=function(){throw Error(t(207))},ia.renderToStaticMarkup=function(f,b){return At(f,b,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ia.renderToStaticNodeStream=function(){throw Error(t(208))},ia.renderToString=function(f,b){return At(f,b,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ia.version="18.3.1",ia}var dc={};/**
|
|
9
|
+
*/var dp;function tv(){if(dp)return Ui;dp=1;var e=V;function r(c){for(var v="https://reactjs.org/docs/error-decoder.html?invariant="+c,k=1;k<arguments.length;k++)v+="&args[]="+encodeURIComponent(arguments[k]);return"Minified React error #"+c+"; visit "+v+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=Object.prototype.hasOwnProperty,i=/^[: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]*$/,a={},d={};function h(c){return o.call(d,c)?!0:o.call(a,c)?!1:i.test(c)?d[c]=!0:(a[c]=!0,!1)}function y(c,v,k,T,$,L,H){this.acceptsBooleans=v===2||v===3||v===4,this.attributeName=T,this.attributeNamespace=$,this.mustUseProperty=k,this.propertyName=c,this.type=v,this.sanitizeURL=L,this.removeEmptyString=H}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(c){m[c]=new y(c,0,!1,c,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(c){var v=c[0];m[v]=new y(v,1,!1,c[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(c){m[c]=new y(c,2,!1,c.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(c){m[c]=new y(c,2,!1,c,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(c){m[c]=new y(c,3,!1,c.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(c){m[c]=new y(c,3,!0,c,null,!1,!1)}),["capture","download"].forEach(function(c){m[c]=new y(c,4,!1,c,null,!1,!1)}),["cols","rows","size","span"].forEach(function(c){m[c]=new y(c,6,!1,c,null,!1,!1)}),["rowSpan","start"].forEach(function(c){m[c]=new y(c,5,!1,c.toLowerCase(),null,!1,!1)});var x=/[\-:]([a-z])/g;function R(c){return c[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(c){var v=c.replace(x,R);m[v]=new y(v,1,!1,c,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(c){var v=c.replace(x,R);m[v]=new y(v,1,!1,c,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(c){var v=c.replace(x,R);m[v]=new y(v,1,!1,c,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(c){m[c]=new y(c,1,!1,c.toLowerCase(),null,!1,!1)}),m.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(c){m[c]=new y(c,1,!1,c.toLowerCase(),null,!0,!0)});var E={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},F=["Webkit","ms","Moz","O"];Object.keys(E).forEach(function(c){F.forEach(function(v){v=v+c.charAt(0).toUpperCase()+c.substring(1),E[v]=E[c]})});var M=/["'&<>]/;function B(c){if(typeof c=="boolean"||typeof c=="number")return""+c;c=""+c;var v=M.exec(c);if(v){var k="",T,$=0;for(T=v.index;T<c.length;T++){switch(c.charCodeAt(T)){case 34:v=""";break;case 38:v="&";break;case 39:v="'";break;case 60:v="<";break;case 62:v=">";break;default:continue}$!==T&&(k+=c.substring($,T)),$=T+1,k+=v}c=$!==T?k+c.substring($,T):k}return c}var D=/([A-Z])/g,P=/^ms-/,I=Array.isArray;function W(c,v){return{insertionMode:c,selectedValue:v}}function U(c,v,k){switch(v){case"select":return W(1,k.value!=null?k.value:k.defaultValue);case"svg":return W(2,null);case"math":return W(3,null);case"foreignObject":return W(1,null);case"table":return W(4,null);case"thead":case"tbody":case"tfoot":return W(5,null);case"colgroup":return W(7,null);case"tr":return W(6,null)}return 4<=c.insertionMode||c.insertionMode===0?W(1,null):c}var Y=new Map;function _(c,v,k){if(typeof k!="object")throw Error(r(62));v=!0;for(var T in k)if(o.call(k,T)){var $=k[T];if($!=null&&typeof $!="boolean"&&$!==""){if(T.indexOf("--")===0){var L=B(T);$=B((""+$).trim())}else{L=T;var H=Y.get(L);H!==void 0||(H=B(L.replace(D,"-$1").toLowerCase().replace(P,"-ms-")),Y.set(L,H)),L=H,$=typeof $=="number"?$===0||o.call(E,T)?""+$:$+"px":B((""+$).trim())}v?(v=!1,c.push(' style="',L,":",$)):c.push(";",L,":",$)}}v||c.push('"')}function ie(c,v,k,T){switch(k){case"style":_(c,v,T);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<k.length)||k[0]!=="o"&&k[0]!=="O"||k[1]!=="n"&&k[1]!=="N"){if(v=m.hasOwnProperty(k)?m[k]:null,v!==null){switch(typeof T){case"function":case"symbol":return;case"boolean":if(!v.acceptsBooleans)return}switch(k=v.attributeName,v.type){case 3:T&&c.push(" ",k,'=""');break;case 4:T===!0?c.push(" ",k,'=""'):T!==!1&&c.push(" ",k,'="',B(T),'"');break;case 5:isNaN(T)||c.push(" ",k,'="',B(T),'"');break;case 6:!isNaN(T)&&1<=T&&c.push(" ",k,'="',B(T),'"');break;default:v.sanitizeURL&&(T=""+T),c.push(" ",k,'="',B(T),'"')}}else if(h(k)){switch(typeof T){case"function":case"symbol":return;case"boolean":if(v=k.toLowerCase().slice(0,5),v!=="data-"&&v!=="aria-")return}c.push(" ",k,'="',B(T),'"')}}}function fe(c,v,k){if(v!=null){if(k!=null)throw Error(r(60));if(typeof v!="object"||!("__html"in v))throw Error(r(61));v=v.__html,v!=null&&c.push(""+v)}}function ne(c){var v="";return e.Children.forEach(c,function(k){k!=null&&(v+=k)}),v}function ae(c,v,k,T){c.push(_e(k));var $=k=null,L;for(L in v)if(o.call(v,L)){var H=v[L];if(H!=null)switch(L){case"children":k=H;break;case"dangerouslySetInnerHTML":$=H;break;default:ie(c,T,L,H)}}return c.push(">"),fe(c,$,k),typeof k=="string"?(c.push(B(k)),null):k}var Fe=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ne=new Map;function _e(c){var v=Ne.get(c);if(v===void 0){if(!Fe.test(c))throw Error(r(65,c));v="<"+c,Ne.set(c,v)}return v}function Ge(c,v,k,T,$){switch(v){case"select":c.push(_e("select"));var L=null,H=null;for(we in k)if(o.call(k,we)){var ee=k[we];if(ee!=null)switch(we){case"children":L=ee;break;case"dangerouslySetInnerHTML":H=ee;break;case"defaultValue":case"value":break;default:ie(c,T,we,ee)}}return c.push(">"),fe(c,H,L),L;case"option":H=$.selectedValue,c.push(_e("option"));var xe=ee=null,Pe=null,we=null;for(L in k)if(o.call(k,L)){var He=k[L];if(He!=null)switch(L){case"children":ee=He;break;case"selected":Pe=He;break;case"dangerouslySetInnerHTML":we=He;break;case"value":xe=He;default:ie(c,T,L,He)}}if(H!=null)if(k=xe!==null?""+xe:ne(ee),I(H)){for(T=0;T<H.length;T++)if(""+H[T]===k){c.push(' selected=""');break}}else""+H===k&&c.push(' selected=""');else Pe&&c.push(' selected=""');return c.push(">"),fe(c,we,ee),ee;case"textarea":c.push(_e("textarea")),we=H=L=null;for(ee in k)if(o.call(k,ee)&&(xe=k[ee],xe!=null))switch(ee){case"children":we=xe;break;case"value":L=xe;break;case"defaultValue":H=xe;break;case"dangerouslySetInnerHTML":throw Error(r(91));default:ie(c,T,ee,xe)}if(L===null&&H!==null&&(L=H),c.push(">"),we!=null){if(L!=null)throw Error(r(92));if(I(we)&&1<we.length)throw Error(r(93));L=""+we}return typeof L=="string"&&L[0]===`
|
|
10
|
+
`&&c.push(`
|
|
11
|
+
`),L!==null&&c.push(B(""+L)),null;case"input":c.push(_e("input")),xe=we=ee=L=null;for(H in k)if(o.call(k,H)&&(Pe=k[H],Pe!=null))switch(H){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,"input"));case"defaultChecked":xe=Pe;break;case"defaultValue":ee=Pe;break;case"checked":we=Pe;break;case"value":L=Pe;break;default:ie(c,T,H,Pe)}return we!==null?ie(c,T,"checked",we):xe!==null&&ie(c,T,"checked",xe),L!==null?ie(c,T,"value",L):ee!==null&&ie(c,T,"value",ee),c.push("/>"),null;case"menuitem":c.push(_e("menuitem"));for(var kt in k)if(o.call(k,kt)&&(L=k[kt],L!=null))switch(kt){case"children":case"dangerouslySetInnerHTML":throw Error(r(400));default:ie(c,T,kt,L)}return c.push(">"),null;case"title":c.push(_e("title")),L=null;for(He in k)if(o.call(k,He)&&(H=k[He],H!=null))switch(He){case"children":L=H;break;case"dangerouslySetInnerHTML":throw Error(r(434));default:ie(c,T,He,H)}return c.push(">"),L;case"listing":case"pre":c.push(_e(v)),H=L=null;for(xe in k)if(o.call(k,xe)&&(ee=k[xe],ee!=null))switch(xe){case"children":L=ee;break;case"dangerouslySetInnerHTML":H=ee;break;default:ie(c,T,xe,ee)}if(c.push(">"),H!=null){if(L!=null)throw Error(r(60));if(typeof H!="object"||!("__html"in H))throw Error(r(61));k=H.__html,k!=null&&(typeof k=="string"&&0<k.length&&k[0]===`
|
|
12
|
+
`?c.push(`
|
|
13
|
+
`,k):c.push(""+k))}return typeof L=="string"&&L[0]===`
|
|
14
|
+
`&&c.push(`
|
|
15
|
+
`),L;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":c.push(_e(v));for(var Et in k)if(o.call(k,Et)&&(L=k[Et],L!=null))switch(Et){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,v));default:ie(c,T,Et,L)}return c.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return ae(c,k,v,T);case"html":return $.insertionMode===0&&c.push("<!DOCTYPE html>"),ae(c,k,v,T);default:if(v.indexOf("-")===-1&&typeof k.is!="string")return ae(c,k,v,T);c.push(_e(v)),H=L=null;for(Pe in k)if(o.call(k,Pe)&&(ee=k[Pe],ee!=null))switch(Pe){case"children":L=ee;break;case"dangerouslySetInnerHTML":H=ee;break;case"style":_(c,T,ee);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:h(Pe)&&typeof ee!="function"&&typeof ee!="symbol"&&c.push(" ",Pe,'="',B(ee),'"')}return c.push(">"),fe(c,H,L),L}}function Qe(c,v,k){if(c.push('<!--$?--><template id="'),k===null)throw Error(r(395));return c.push(k),c.push('"></template>')}function ke(c,v,k,T){switch(k.insertionMode){case 0:case 1:return c.push('<div hidden id="'),c.push(v.segmentPrefix),v=T.toString(16),c.push(v),c.push('">');case 2:return c.push('<svg aria-hidden="true" style="display:none" id="'),c.push(v.segmentPrefix),v=T.toString(16),c.push(v),c.push('">');case 3:return c.push('<math aria-hidden="true" style="display:none" id="'),c.push(v.segmentPrefix),v=T.toString(16),c.push(v),c.push('">');case 4:return c.push('<table hidden id="'),c.push(v.segmentPrefix),v=T.toString(16),c.push(v),c.push('">');case 5:return c.push('<table hidden><tbody id="'),c.push(v.segmentPrefix),v=T.toString(16),c.push(v),c.push('">');case 6:return c.push('<table hidden><tr id="'),c.push(v.segmentPrefix),v=T.toString(16),c.push(v),c.push('">');case 7:return c.push('<table hidden><colgroup id="'),c.push(v.segmentPrefix),v=T.toString(16),c.push(v),c.push('">');default:throw Error(r(397))}}function Ce(c,v){switch(v.insertionMode){case 0:case 1:return c.push("</div>");case 2:return c.push("</svg>");case 3:return c.push("</math>");case 4:return c.push("</table>");case 5:return c.push("</tbody></table>");case 6:return c.push("</tr></table>");case 7:return c.push("</colgroup></table>");default:throw Error(r(397))}}var je=/[<\u2028\u2029]/g;function Z(c){return JSON.stringify(c).replace(je,function(v){switch(v){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function be(c,v){return v=v===void 0?"":v,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:v+"P:",segmentPrefix:v+"S:",boundaryPrefix:v+"B:",idPrefix:v,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:c}}function Q(c,v,k,T){return k.generateStaticMarkup?(c.push(B(v)),!1):(v===""?c=T:(T&&c.push("<!-- -->"),c.push(B(v)),c=!0),c)}var J=Object.assign,ce=Symbol.for("react.element"),me=Symbol.for("react.portal"),pe=Symbol.for("react.fragment"),ge=Symbol.for("react.strict_mode"),se=Symbol.for("react.profiler"),ue=Symbol.for("react.provider"),Te=Symbol.for("react.context"),Ee=Symbol.for("react.forward_ref"),Re=Symbol.for("react.suspense"),$e=Symbol.for("react.suspense_list"),oe=Symbol.for("react.memo"),Ue=Symbol.for("react.lazy"),nt=Symbol.for("react.scope"),Lt=Symbol.for("react.debug_trace_mode"),Lr=Symbol.for("react.legacy_hidden"),so=Symbol.for("react.default_value"),jt=Symbol.iterator;function jr(c){if(c==null)return null;if(typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case pe:return"Fragment";case me:return"Portal";case se:return"Profiler";case ge:return"StrictMode";case Re:return"Suspense";case $e:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case Te:return(c.displayName||"Context")+".Consumer";case ue:return(c._context.displayName||"Context")+".Provider";case Ee:var v=c.render;return c=c.displayName,c||(c=v.displayName||v.name||"",c=c!==""?"ForwardRef("+c+")":"ForwardRef"),c;case oe:return v=c.displayName||null,v!==null?v:jr(c.type)||"Memo";case Ue:v=c._payload,c=c._init;try{return jr(c(v))}catch{}}return null}var Nr={};function lo(c,v){if(c=c.contextTypes,!c)return Nr;var k={},T;for(T in c)k[T]=v[T];return k}var Nt=null;function mt(c,v){if(c!==v){c.context._currentValue2=c.parentValue,c=c.parent;var k=v.parent;if(c===null){if(k!==null)throw Error(r(401))}else{if(k===null)throw Error(r(401));mt(c,k)}v.context._currentValue2=v.value}}function ct(c){c.context._currentValue2=c.parentValue,c=c.parent,c!==null&&ct(c)}function kn(c){var v=c.parent;v!==null&&kn(v),c.context._currentValue2=c.value}function En(c,v){if(c.context._currentValue2=c.parentValue,c=c.parent,c===null)throw Error(r(402));c.depth===v.depth?mt(c,v):En(c,v)}function Cn(c,v){var k=v.parent;if(k===null)throw Error(r(402));c.depth===k.depth?mt(c,k):Cn(c,k),v.context._currentValue2=v.value}function at(c){var v=Nt;v!==c&&(v===null?kn(c):c===null?ct(v):v.depth===c.depth?mt(v,c):v.depth>c.depth?En(v,c):Cn(v,c),Nt=c)}var Tn={isMounted:function(){return!1},enqueueSetState:function(c,v){c=c._reactInternals,c.queue!==null&&c.queue.push(v)},enqueueReplaceState:function(c,v){c=c._reactInternals,c.replace=!0,c.queue=[v]},enqueueForceUpdate:function(){}};function uo(c,v,k,T){var $=c.state!==void 0?c.state:null;c.updater=Tn,c.props=k,c.state=$;var L={queue:[],replace:!1};c._reactInternals=L;var H=v.contextType;if(c.context=typeof H=="object"&&H!==null?H._currentValue2:T,H=v.getDerivedStateFromProps,typeof H=="function"&&(H=H(k,$),$=H==null?$:J({},$,H),c.state=$),typeof v.getDerivedStateFromProps!="function"&&typeof c.getSnapshotBeforeUpdate!="function"&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function"))if(v=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),v!==c.state&&Tn.enqueueReplaceState(c,c.state,null),L.queue!==null&&0<L.queue.length)if(v=L.queue,H=L.replace,L.queue=null,L.replace=!1,H&&v.length===1)c.state=v[0];else{for(L=H?v[0]:c.state,$=!0,H=H?1:0;H<v.length;H++){var ee=v[H];ee=typeof ee=="function"?ee.call(c,L,k,T):ee,ee!=null&&($?($=!1,L=J({},L,ee)):J(L,ee))}c.state=L}else L.queue=null}var co={id:1,overflow:""};function Rn(c,v,k){var T=c.id;c=c.overflow;var $=32-en(T)-1;T&=~(1<<$),k+=1;var L=32-en(v)+$;if(30<L){var H=$-$%5;return L=(T&(1<<H)-1).toString(32),T>>=H,$-=H,{id:1<<32-en(v)+$|k<<$|T,overflow:L+c}}return{id:1<<L|k<<$|T,overflow:c}}var en=Math.clz32?Math.clz32:yr,si=Math.log,Pn=Math.LN2;function yr(c){return c>>>=0,c===0?32:31-(si(c)/Pn|0)|0}function An(c,v){return c===v&&(c!==0||1/c===1/v)||c!==c&&v!==v}var fo=typeof Object.is=="function"?Object.is:An,xt=null,Jt=null,br=null,Xe=null,xr=!1,tn=!1,$r=0,Kt=null,rn=0;function cr(){if(xt===null)throw Error(r(321));return xt}function ft(){if(0<rn)throw Error(r(312));return{memoizedState:null,queue:null,next:null}}function In(){return Xe===null?br===null?(xr=!1,br=Xe=ft()):(xr=!0,Xe=br):Xe.next===null?(xr=!1,Xe=Xe.next=ft()):(xr=!0,Xe=Xe.next),Xe}function On(){Jt=xt=null,tn=!1,br=null,rn=0,Xe=Kt=null}function po(c,v){return typeof v=="function"?v(c):v}function st(c,v,k){if(xt=cr(),Xe=In(),xr){var T=Xe.queue;if(v=T.dispatch,Kt!==null&&(k=Kt.get(T),k!==void 0)){Kt.delete(T),T=Xe.memoizedState;do T=c(T,k.action),k=k.next;while(k!==null);return Xe.memoizedState=T,[T,v]}return[Xe.memoizedState,v]}return c=c===po?typeof v=="function"?v():v:k!==void 0?k(v):v,Xe.memoizedState=c,c=Xe.queue={last:null,dispatch:null},c=c.dispatch=li.bind(null,xt,c),[Xe.memoizedState,c]}function Fn(c,v){if(xt=cr(),Xe=In(),v=v===void 0?null:v,Xe!==null){var k=Xe.memoizedState;if(k!==null&&v!==null){var T=k[1];e:if(T===null)T=!1;else{for(var $=0;$<T.length&&$<v.length;$++)if(!fo(v[$],T[$])){T=!1;break e}T=!0}if(T)return k[0]}}return c=c(),Xe.memoizedState=[c,v],c}function li(c,v,k){if(25<=rn)throw Error(r(301));if(c===xt)if(tn=!0,c={action:k,next:null},Kt===null&&(Kt=new Map),k=Kt.get(v),k===void 0)Kt.set(v,c);else{for(v=k;v.next!==null;)v=v.next;v.next=c}}function ui(){throw Error(r(394))}function Zt(){}var Mn={readContext:function(c){return c._currentValue2},useContext:function(c){return cr(),c._currentValue2},useMemo:Fn,useReducer:st,useRef:function(c){xt=cr(),Xe=In();var v=Xe.memoizedState;return v===null?(c={current:c},Xe.memoizedState=c):v},useState:function(c){return st(po,c)},useInsertionEffect:Zt,useLayoutEffect:function(){},useCallback:function(c,v){return Fn(function(){return c},v)},useImperativeHandle:Zt,useEffect:Zt,useDebugValue:Zt,useDeferredValue:function(c){return cr(),c},useTransition:function(){return cr(),[!1,ui]},useId:function(){var c=Jt.treeContext,v=c.overflow;c=c.id,c=(c&~(1<<32-en(c)-1)).toString(32)+v;var k=nn;if(k===null)throw Error(r(404));return v=$r++,c=":"+k.idPrefix+"R"+c,0<v&&(c+="H"+v.toString(32)),c+":"},useMutableSource:function(c,v){return cr(),v(c._source)},useSyncExternalStore:function(c,v,k){if(k===void 0)throw Error(r(407));return k()}},nn=null,wr=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Tt(c){return console.error(c),null}function er(){}function on(c,v,k,T,$,L,H,ee,xe){var Pe=[],we=new Set;return v={destination:null,responseState:v,progressiveChunkSize:T===void 0?12800:T,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:we,pingedTasks:Pe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:$===void 0?Tt:$,onAllReady:er,onShellReady:H===void 0?er:H,onShellError:er,onFatalError:er},k=kr(v,0,null,k,!1,!1),k.parentFlushed=!0,c=Sr(v,c,null,k,we,Nr,null,co),Pe.push(c),v}function Sr(c,v,k,T,$,L,H,ee){c.allPendingTasks++,k===null?c.pendingRootTasks++:k.pendingTasks++;var xe={node:v,ping:function(){var Pe=c.pingedTasks;Pe.push(xe),Pe.length===1&&wt(c)},blockedBoundary:k,blockedSegment:T,abortSet:$,legacyContext:L,context:H,treeContext:ee};return $.add(xe),xe}function kr(c,v,k,T,$,L){return{status:0,id:-1,index:v,parentFlushed:!1,chunks:[],children:[],formatContext:T,boundary:k,lastPushedText:$,textEmbedded:L}}function tr(c,v){if(c=c.onError(v),c!=null&&typeof c!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof c+'" instead');return c}function Er(c,v){var k=c.onShellError;k(v),k=c.onFatalError,k(v),c.destination!==null?(c.status=2,c.destination.destroy(v)):(c.status=1,c.fatalError=v)}function Rt(c,v,k,T,$){for(xt={},Jt=v,$r=0,c=k(T,$);tn;)tn=!1,$r=0,rn+=1,Xe=null,c=k(T,$);return On(),c}function ho(c,v,k,T){var $=k.render(),L=T.childContextTypes;if(L!=null){var H=v.legacyContext;if(typeof k.getChildContext!="function")T=H;else{k=k.getChildContext();for(var ee in k)if(!(ee in L))throw Error(r(108,jr(T)||"Unknown",ee));T=J({},H,k)}v.legacyContext=T,lt(c,v,$),v.legacyContext=H}else lt(c,v,$)}function mo(c,v){if(c&&c.defaultProps){v=J({},v),c=c.defaultProps;for(var k in c)v[k]===void 0&&(v[k]=c[k]);return v}return v}function fr(c,v,k,T,$){if(typeof k=="function")if(k.prototype&&k.prototype.isReactComponent){$=lo(k,v.legacyContext);var L=k.contextType;L=new k(T,typeof L=="object"&&L!==null?L._currentValue2:$),uo(L,k,T,$),ho(c,v,L,k)}else{L=lo(k,v.legacyContext),$=Rt(c,v,k,T,L);var H=$r!==0;if(typeof $=="object"&&$!==null&&typeof $.render=="function"&&$.$$typeof===void 0)uo($,k,T,L),ho(c,v,$,k);else if(H){T=v.treeContext,v.treeContext=Rn(T,1,0);try{lt(c,v,$)}finally{v.treeContext=T}}else lt(c,v,$)}else if(typeof k=="string"){switch($=v.blockedSegment,L=Ge($.chunks,k,T,c.responseState,$.formatContext),$.lastPushedText=!1,H=$.formatContext,$.formatContext=U(H,k,T),nr(c,v,L),$.formatContext=H,k){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:$.chunks.push("</",k,">")}$.lastPushedText=!1}else{switch(k){case Lr:case Lt:case ge:case se:case pe:lt(c,v,T.children);return;case $e:lt(c,v,T.children);return;case nt:throw Error(r(343));case Re:e:{k=v.blockedBoundary,$=v.blockedSegment,L=T.fallback,T=T.children,H=new Set;var ee={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:H,errorDigest:null},xe=kr(c,$.chunks.length,ee,$.formatContext,!1,!1);$.children.push(xe),$.lastPushedText=!1;var Pe=kr(c,0,null,$.formatContext,!1,!1);Pe.parentFlushed=!0,v.blockedBoundary=ee,v.blockedSegment=Pe;try{if(nr(c,v,T),c.responseState.generateStaticMarkup||Pe.lastPushedText&&Pe.textEmbedded&&Pe.chunks.push("<!-- -->"),Pe.status=1,$t(ee,Pe),ee.pendingTasks===0)break e}catch(we){Pe.status=4,ee.forceClientRender=!0,ee.errorDigest=tr(c,we)}finally{v.blockedBoundary=k,v.blockedSegment=$}v=Sr(c,L,k,xe,H,v.legacyContext,v.context,v.treeContext),c.pingedTasks.push(v)}return}if(typeof k=="object"&&k!==null)switch(k.$$typeof){case Ee:if(T=Rt(c,v,k.render,T,$),$r!==0){k=v.treeContext,v.treeContext=Rn(k,1,0);try{lt(c,v,T)}finally{v.treeContext=k}}else lt(c,v,T);return;case oe:k=k.type,T=mo(k,T),fr(c,v,k,T,$);return;case ue:if($=T.children,k=k._context,T=T.value,L=k._currentValue2,k._currentValue2=T,H=Nt,Nt=T={parent:H,depth:H===null?0:H.depth+1,context:k,parentValue:L,value:T},v.context=T,lt(c,v,$),c=Nt,c===null)throw Error(r(403));T=c.parentValue,c.context._currentValue2=T===so?c.context._defaultValue:T,c=Nt=c.parent,v.context=c;return;case Te:T=T.children,T=T(k._currentValue2),lt(c,v,T);return;case Ue:$=k._init,k=$(k._payload),T=mo(k,T),fr(c,v,k,T,void 0);return}throw Error(r(130,k==null?k:typeof k,""))}}function lt(c,v,k){if(v.node=k,typeof k=="object"&&k!==null){switch(k.$$typeof){case ce:fr(c,v,k.type,k.props,k.ref);return;case me:throw Error(r(257));case Ue:var T=k._init;k=T(k._payload),lt(c,v,k);return}if(I(k)){rr(c,v,k);return}if(k===null||typeof k!="object"?T=null:(T=jt&&k[jt]||k["@@iterator"],T=typeof T=="function"?T:null),T&&(T=T.call(k))){if(k=T.next(),!k.done){var $=[];do $.push(k.value),k=T.next();while(!k.done);rr(c,v,$)}return}throw c=Object.prototype.toString.call(k),Error(r(31,c==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":c))}typeof k=="string"?(T=v.blockedSegment,T.lastPushedText=Q(v.blockedSegment.chunks,k,c.responseState,T.lastPushedText)):typeof k=="number"&&(T=v.blockedSegment,T.lastPushedText=Q(v.blockedSegment.chunks,""+k,c.responseState,T.lastPushedText))}function rr(c,v,k){for(var T=k.length,$=0;$<T;$++){var L=v.treeContext;v.treeContext=Rn(L,T,$);try{nr(c,v,k[$])}finally{v.treeContext=L}}}function nr(c,v,k){var T=v.blockedSegment.formatContext,$=v.legacyContext,L=v.context;try{return lt(c,v,k)}catch(xe){if(On(),typeof xe=="object"&&xe!==null&&typeof xe.then=="function"){k=xe;var H=v.blockedSegment,ee=kr(c,H.chunks.length,null,H.formatContext,H.lastPushedText,!0);H.children.push(ee),H.lastPushedText=!1,c=Sr(c,v.node,v.blockedBoundary,ee,v.abortSet,v.legacyContext,v.context,v.treeContext).ping,k.then(c,c),v.blockedSegment.formatContext=T,v.legacyContext=$,v.context=L,at(L)}else throw v.blockedSegment.formatContext=T,v.legacyContext=$,v.context=L,at(L),xe}}function Cr(c){var v=c.blockedBoundary;c=c.blockedSegment,c.status=3,or(this,v,c)}function an(c,v,k){var T=c.blockedBoundary;c.blockedSegment.status=3,T===null?(v.allPendingTasks--,v.status!==2&&(v.status=2,v.destination!==null&&v.destination.push(null))):(T.pendingTasks--,T.forceClientRender||(T.forceClientRender=!0,c=k===void 0?Error(r(432)):k,T.errorDigest=v.onError(c),T.parentFlushed&&v.clientRenderedBoundaries.push(T)),T.fallbackAbortableTasks.forEach(function($){return an($,v,k)}),T.fallbackAbortableTasks.clear(),v.allPendingTasks--,v.allPendingTasks===0&&(T=v.onAllReady,T()))}function $t(c,v){if(v.chunks.length===0&&v.children.length===1&&v.children[0].boundary===null){var k=v.children[0];k.id=v.id,k.parentFlushed=!0,k.status===1&&$t(c,k)}else c.completedSegments.push(v)}function or(c,v,k){if(v===null){if(k.parentFlushed){if(c.completedRootSegment!==null)throw Error(r(389));c.completedRootSegment=k}c.pendingRootTasks--,c.pendingRootTasks===0&&(c.onShellError=er,v=c.onShellReady,v())}else v.pendingTasks--,v.forceClientRender||(v.pendingTasks===0?(k.parentFlushed&&k.status===1&&$t(v,k),v.parentFlushed&&c.completedBoundaries.push(v),v.fallbackAbortableTasks.forEach(Cr,c),v.fallbackAbortableTasks.clear()):k.parentFlushed&&k.status===1&&($t(v,k),v.completedSegments.length===1&&v.parentFlushed&&c.partialBoundaries.push(v)));c.allPendingTasks--,c.allPendingTasks===0&&(c=c.onAllReady,c())}function wt(c){if(c.status!==2){var v=Nt,k=wr.current;wr.current=Mn;var T=nn;nn=c.responseState;try{var $=c.pingedTasks,L;for(L=0;L<$.length;L++){var H=$[L],ee=c,xe=H.blockedSegment;if(xe.status===0){at(H.context);try{lt(ee,H,H.node),ee.responseState.generateStaticMarkup||xe.lastPushedText&&xe.textEmbedded&&xe.chunks.push("<!-- -->"),H.abortSet.delete(H),xe.status=1,or(ee,H.blockedBoundary,xe)}catch(Ct){if(On(),typeof Ct=="object"&&Ct!==null&&typeof Ct.then=="function"){var Pe=H.ping;Ct.then(Pe,Pe)}else{H.abortSet.delete(H),xe.status=4;var we=H.blockedBoundary,He=Ct,kt=tr(ee,He);if(we===null?Er(ee,He):(we.pendingTasks--,we.forceClientRender||(we.forceClientRender=!0,we.errorDigest=kt,we.parentFlushed&&ee.clientRenderedBoundaries.push(we))),ee.allPendingTasks--,ee.allPendingTasks===0){var Et=ee.onAllReady;Et()}}}finally{}}}$.splice(0,L),c.destination!==null&&St(c,c.destination)}catch(Ct){tr(c,Ct),Er(c,Ct)}finally{nn=T,wr.current=k,k===Mn&&at(v)}}}function Tr(c,v,k){switch(k.parentFlushed=!0,k.status){case 0:var T=k.id=c.nextSegmentId++;return k.lastPushedText=!1,k.textEmbedded=!1,c=c.responseState,v.push('<template id="'),v.push(c.placeholderPrefix),c=T.toString(16),v.push(c),v.push('"></template>');case 1:k.status=2;var $=!0;T=k.chunks;var L=0;k=k.children;for(var H=0;H<k.length;H++){for($=k[H];L<$.index;L++)v.push(T[L]);$=zr(c,v,$)}for(;L<T.length-1;L++)v.push(T[L]);return L<T.length&&($=v.push(T[L])),$;default:throw Error(r(390))}}function zr(c,v,k){var T=k.boundary;if(T===null)return Tr(c,v,k);if(T.parentFlushed=!0,T.forceClientRender)return c.responseState.generateStaticMarkup||(T=T.errorDigest,v.push("<!--$!-->"),v.push("<template"),T&&(v.push(' data-dgst="'),T=B(T),v.push(T),v.push('"')),v.push("></template>")),Tr(c,v,k),c=c.responseState.generateStaticMarkup?!0:v.push("<!--/$-->"),c;if(0<T.pendingTasks){T.rootSegmentID=c.nextSegmentId++,0<T.completedSegments.length&&c.partialBoundaries.push(T);var $=c.responseState,L=$.nextSuspenseID++;return $=$.boundaryPrefix+L.toString(16),T=T.id=$,Qe(v,c.responseState,T),Tr(c,v,k),v.push("<!--/$-->")}if(T.byteSize>c.progressiveChunkSize)return T.rootSegmentID=c.nextSegmentId++,c.completedBoundaries.push(T),Qe(v,c.responseState,T.id),Tr(c,v,k),v.push("<!--/$-->");if(c.responseState.generateStaticMarkup||v.push("<!--$-->"),k=T.completedSegments,k.length!==1)throw Error(r(391));return zr(c,v,k[0]),c=c.responseState.generateStaticMarkup?!0:v.push("<!--/$-->"),c}function sn(c,v,k){return ke(v,c.responseState,k.formatContext,k.id),zr(c,v,k),Ce(v,k.formatContext)}function Ft(c,v,k){for(var T=k.completedSegments,$=0;$<T.length;$++)ir(c,v,k,T[$]);if(T.length=0,c=c.responseState,T=k.id,k=k.rootSegmentID,v.push(c.startInlineScript),c.sentCompleteBoundaryFunction?v.push('$RC("'):(c.sentCompleteBoundaryFunction=!0,v.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),T===null)throw Error(r(395));return k=k.toString(16),v.push(T),v.push('","'),v.push(c.segmentPrefix),v.push(k),v.push('")<\/script>')}function ir(c,v,k,T){if(T.status===2)return!0;var $=T.id;if($===-1){if((T.id=k.rootSegmentID)===-1)throw Error(r(392));return sn(c,v,T)}return sn(c,v,T),c=c.responseState,v.push(c.startInlineScript),c.sentCompleteSegmentFunction?v.push('$RS("'):(c.sentCompleteSegmentFunction=!0,v.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),v.push(c.segmentPrefix),$=$.toString(16),v.push($),v.push('","'),v.push(c.placeholderPrefix),v.push($),v.push('")<\/script>')}function St(c,v){try{var k=c.completedRootSegment;if(k!==null&&c.pendingRootTasks===0){zr(c,v,k),c.completedRootSegment=null;var T=c.responseState.bootstrapChunks;for(k=0;k<T.length-1;k++)v.push(T[k]);k<T.length&&v.push(T[k])}var $=c.clientRenderedBoundaries,L;for(L=0;L<$.length;L++){var H=$[L];T=v;var ee=c.responseState,xe=H.id,Pe=H.errorDigest,we=H.errorMessage,He=H.errorComponentStack;if(T.push(ee.startInlineScript),ee.sentClientRenderFunction?T.push('$RX("'):(ee.sentClientRenderFunction=!0,T.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),xe===null)throw Error(r(395));if(T.push(xe),T.push('"'),Pe||we||He){T.push(",");var kt=Z(Pe||"");T.push(kt)}if(we||He){T.push(",");var Et=Z(we||"");T.push(Et)}if(He){T.push(",");var Ct=Z(He);T.push(Ct)}if(!T.push(")<\/script>")){c.destination=null,L++,$.splice(0,L);return}}$.splice(0,L);var Rr=c.completedBoundaries;for(L=0;L<Rr.length;L++)if(!Ft(c,v,Rr[L])){c.destination=null,L++,Rr.splice(0,L);return}Rr.splice(0,L);var ar=c.partialBoundaries;for(L=0;L<ar.length;L++){var un=ar[L];e:{$=c,H=v;var Pr=un.completedSegments;for(ee=0;ee<Pr.length;ee++)if(!ir($,H,un,Pr[ee])){ee++,Pr.splice(0,ee);var Br=!1;break e}Pr.splice(0,ee),Br=!0}if(!Br){c.destination=null,L++,ar.splice(0,L);return}}ar.splice(0,L);var dr=c.completedBoundaries;for(L=0;L<dr.length;L++)if(!Ft(c,v,dr[L])){c.destination=null,L++,dr.splice(0,L);return}dr.splice(0,L)}finally{c.allPendingTasks===0&&c.pingedTasks.length===0&&c.clientRenderedBoundaries.length===0&&c.completedBoundaries.length===0&&v.push(null)}}function ln(c,v){try{var k=c.abortableTasks;k.forEach(function(T){return an(T,c,v)}),k.clear(),c.destination!==null&&St(c,c.destination)}catch(T){tr(c,T),Er(c,T)}}function ht(){}function Pt(c,v,k,T){var $=!1,L=null,H="",ee={push:function(Pe){return Pe!==null&&(H+=Pe),!0},destroy:function(Pe){$=!0,L=Pe}},xe=!1;if(c=on(c,be(k,v?v.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,ht,void 0,function(){xe=!0}),wt(c),ln(c,T),c.status===1)c.status=2,ee.destroy(c.fatalError);else if(c.status!==2&&c.destination===null){c.destination=ee;try{St(c,ee)}catch(Pe){tr(c,Pe),Er(c,Pe)}}if($)throw L;if(!xe)throw Error(r(426));return H}return Ui.renderToNodeStream=function(){throw Error(r(207))},Ui.renderToStaticMarkup=function(c,v){return Pt(c,v,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Ui.renderToStaticNodeStream=function(){throw Error(r(208))},Ui.renderToString=function(c,v){return Pt(c,v,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Ui.version="18.3.1",Ui}var $u={};/**
|
|
16
16
|
* @license React
|
|
17
17
|
* react-dom-server.browser.production.min.js
|
|
18
18
|
*
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
*
|
|
21
21
|
* This source code is licensed under the MIT license found in the
|
|
22
22
|
* LICENSE file in the root directory of this source tree.
|
|
23
|
-
*/var
|
|
24
|
-
`),
|
|
25
|
-
`&&
|
|
26
|
-
`?
|
|
27
|
-
`&&d.push(Hr),B;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":d.push(gt(y));for(var Wt in S)if(x.call(S,Wt)&&(B=S[Wt],B!=null))switch(Wt){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,y));default:We(d,R,Wt,B)}return d.push(Nt),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Ur(d,S,y,R);case"html":return W.insertionMode===0&&d.push(ft),Ur(d,S,y,R);default:if(y.indexOf("-")===-1&&typeof S.is!="string")return Ur(d,S,y,R);d.push(gt(y)),X=B=null;for(Ne in S)if(x.call(S,Ne)&&(oe=S[Ne],oe!=null))switch(Ne){case"children":B=oe;break;case"dangerouslySetInnerHTML":X=oe;break;case"style":Ee(d,R,oe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:D(Ne)&&typeof oe!="function"&&typeof oe!="symbol"&&d.push(Se,h(Ne),Pe,h(ae(oe)),Be)}return d.push(ot),Br(d,X,B),B}}var Fn=v("</"),Mn=v(">"),st=v('<template id="'),Dn=v('"></template>'),ko=v("<!--$-->"),Eo=v('<!--$?--><template id="'),_n=v('"></template>'),ln=v("<!--$!-->"),Ei=v("<!--/$-->"),Ln=v("<template"),Sr=v('"'),$n=v(' data-dgst="');v(' data-msg="'),v(' data-stck="');var Co=v("></template>");function xt(d,y,S){if(a(d,Eo),S===null)throw Error(t(395));return a(d,S),c(d,_n)}var tr=v('<div hidden id="'),kr=v('">'),Qe=v("</div>"),Er=v('<svg aria-hidden="true" style="display:none" id="'),un=v('">'),Wr=v("</svg>"),rr=v('<math aria-hidden="true" style="display:none" id="'),cn=v('">'),hr=v("</math>"),dt=v('<table hidden id="'),jn=v('">'),Nn=v("</table>"),To=v('<table hidden><tbody id="'),lt=v('">'),zn=v("</tbody></table>"),Ci=v('<table hidden><tr id="'),Ti=v('">'),nr=v("</tr></table>"),Bn=v('<table hidden><colgroup id="'),fn=v('">'),Cr=v("</colgroup></table>");function Rt(d,y,S,R){switch(S.insertionMode){case 0:case 1:return a(d,tr),a(d,y.segmentPrefix),a(d,h(R.toString(16))),c(d,kr);case 2:return a(d,Er),a(d,y.segmentPrefix),a(d,h(R.toString(16))),c(d,un);case 3:return a(d,rr),a(d,y.segmentPrefix),a(d,h(R.toString(16))),c(d,cn);case 4:return a(d,dt),a(d,y.segmentPrefix),a(d,h(R.toString(16))),c(d,jn);case 5:return a(d,To),a(d,y.segmentPrefix),a(d,h(R.toString(16))),c(d,lt);case 6:return a(d,Ci),a(d,y.segmentPrefix),a(d,h(R.toString(16))),c(d,Ti);case 7:return a(d,Bn),a(d,y.segmentPrefix),a(d,h(R.toString(16))),c(d,fn);default:throw Error(t(397))}}function or(d,y){switch(y.insertionMode){case 0:case 1:return c(d,Qe);case 2:return c(d,Wr);case 3:return c(d,hr);case 4:return c(d,Nn);case 5:return c(d,zn);case 6:return c(d,nr);case 7:return c(d,Cr);default:throw Error(t(397))}}var dn=v('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Tr=v('$RS("'),Rr=v('","'),ir=v('")<\/script>'),Pr=v('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Pt=v('$RC("'),Ro=v('","'),Po=v('")<\/script>'),mr=v('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),ut=v('$RX("'),ar=v('"'),sr=v(")<\/script>"),Ar=v(","),pn=/[<\u2028\u2029]/g;function Ut(d){return JSON.stringify(d).replace(pn,function(y){switch(y){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var lr=Object.assign,St=Symbol.for("react.element"),Or=Symbol.for("react.portal"),Vr=Symbol.for("react.fragment"),hn=Symbol.for("react.strict_mode"),_t=Symbol.for("react.profiler"),ur=Symbol.for("react.provider"),kt=Symbol.for("react.context"),mn=Symbol.for("react.forward_ref"),mt=Symbol.for("react.suspense"),At=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),E=Symbol.for("react.scope"),P=Symbol.for("react.debug_trace_mode"),H=Symbol.for("react.legacy_hidden"),N=Symbol.for("react.default_value"),G=Symbol.iterator;function ne(d){if(d==null)return null;if(typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case Vr:return"Fragment";case Or:return"Portal";case _t:return"Profiler";case hn:return"StrictMode";case mt:return"Suspense";case At:return"SuspenseList"}if(typeof d=="object")switch(d.$$typeof){case kt:return(d.displayName||"Context")+".Consumer";case ur:return(d._context.displayName||"Context")+".Provider";case mn:var y=d.render;return d=d.displayName,d||(d=y.displayName||y.name||"",d=d!==""?"ForwardRef("+d+")":"ForwardRef"),d;case f:return y=d.displayName||null,y!==null?y:ne(d.type)||"Memo";case b:y=d._payload,d=d._init;try{return ne(d(y))}catch{}}return null}var ke={};function Ae(d,y){if(d=d.contextTypes,!d)return ke;var S={},R;for(R in d)S[R]=y[R];return S}var Ce=null;function Ve(d,y){if(d!==y){d.context._currentValue=d.parentValue,d=d.parent;var S=y.parent;if(d===null){if(S!==null)throw Error(t(401))}else{if(S===null)throw Error(t(401));Ve(d,S)}y.context._currentValue=y.value}}function Et(d){d.context._currentValue=d.parentValue,d=d.parent,d!==null&&Et(d)}function Ct(d){var y=d.parent;y!==null&&Ct(y),d.context._currentValue=d.value}function Tt(d,y){if(d.context._currentValue=d.parentValue,d=d.parent,d===null)throw Error(t(402));d.depth===y.depth?Ve(d,y):Tt(d,y)}function Ir(d,y){var S=y.parent;if(S===null)throw Error(t(402));d.depth===S.depth?Ve(d,S):Ir(d,S),y.context._currentValue=y.value}function cr(d){var y=Ce;y!==d&&(y===null?Ct(d):d===null?Et(y):y.depth===d.depth?Ve(y,d):y.depth>d.depth?Tt(y,d):Ir(y,d),Ce=d)}var gn={isMounted:function(){return!1},enqueueSetState:function(d,y){d=d._reactInternals,d.queue!==null&&d.queue.push(y)},enqueueReplaceState:function(d,y){d=d._reactInternals,d.replace=!0,d.queue=[y]},enqueueForceUpdate:function(){}};function Fr(d,y,S,R){var W=d.state!==void 0?d.state:null;d.updater=gn,d.props=S,d.state=W;var B={queue:[],replace:!1};d._reactInternals=B;var X=y.contextType;if(d.context=typeof X=="object"&&X!==null?X._currentValue:R,X=y.getDerivedStateFromProps,typeof X=="function"&&(X=X(S,W),W=X==null?W:lr({},W,X),d.state=W),typeof y.getDerivedStateFromProps!="function"&&typeof d.getSnapshotBeforeUpdate!="function"&&(typeof d.UNSAFE_componentWillMount=="function"||typeof d.componentWillMount=="function"))if(y=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),y!==d.state&&gn.enqueueReplaceState(d,d.state,null),B.queue!==null&&0<B.queue.length)if(y=B.queue,X=B.replace,B.queue=null,B.replace=!1,X&&y.length===1)d.state=y[0];else{for(B=X?y[0]:d.state,W=!0,X=X?1:0;X<y.length;X++){var oe=y[X];oe=typeof oe=="function"?oe.call(d,B,S,R):oe,oe!=null&&(W?(W=!1,B=lr({},B,oe)):lr(B,oe))}d.state=B}else B.queue=null}var Gr={id:1,overflow:""};function gr(d,y,S){var R=d.id;d=d.overflow;var W=32-Yr(R)-1;R&=~(1<<W),S+=1;var B=32-Yr(y)+W;if(30<B){var X=W-W%5;return B=(R&(1<<X)-1).toString(32),R>>=X,W-=X,{id:1<<32-Yr(y)+W|S<<W|R,overflow:B+d}}return{id:1<<B|S<<W|R,overflow:d}}var Yr=Math.clz32?Math.clz32:Ao,rl=Math.log,nl=Math.LN2;function Ao(d){return d>>>=0,d===0?32:31-(rl(d)/nl|0)|0}function fr(d,y){return d===y&&(d!==0||1/d===1/y)||d!==d&&y!==y}var ol=typeof Object.is=="function"?Object.is:fr,vr=null,Ri=null,Oo=null,qe=null,Xr=!1,Io=!1,Qr=0,Mr=null,Fo=0;function Dr(){if(vr===null)throw Error(t(321));return vr}function Ht(){if(0<Fo)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function Pi(){return qe===null?Oo===null?(Xr=!1,Oo=qe=Ht()):(Xr=!0,qe=Oo):qe.next===null?(Xr=!1,qe=qe.next=Ht()):(Xr=!0,qe=qe.next),qe}function Un(){Ri=vr=null,Io=!1,Oo=null,Fo=0,qe=Mr=null}function Aa(d,y){return typeof y=="function"?y(d):y}function Mo(d,y,S){if(vr=Dr(),qe=Pi(),Xr){var R=qe.queue;if(y=R.dispatch,Mr!==null&&(S=Mr.get(R),S!==void 0)){Mr.delete(R),R=qe.memoizedState;do R=d(R,S.action),S=S.next;while(S!==null);return qe.memoizedState=R,[R,y]}return[qe.memoizedState,y]}return d=d===Aa?typeof y=="function"?y():y:S!==void 0?S(y):y,qe.memoizedState=d,d=qe.queue={last:null,dispatch:null},d=d.dispatch=il.bind(null,vr,d),[qe.memoizedState,d]}function Oa(d,y){if(vr=Dr(),qe=Pi(),y=y===void 0?null:y,qe!==null){var S=qe.memoizedState;if(S!==null&&y!==null){var R=S[1];e:if(R===null)R=!1;else{for(var W=0;W<R.length&&W<y.length;W++)if(!ol(y[W],R[W])){R=!1;break e}R=!0}if(R)return S[0]}}return d=d(),qe.memoizedState=[d,y],d}function il(d,y,S){if(25<=Fo)throw Error(t(301));if(d===vr)if(Io=!0,d={action:S,next:null},Mr===null&&(Mr=new Map),S=Mr.get(y),S===void 0)Mr.set(y,d);else{for(y=S;y.next!==null;)y=y.next;y.next=d}}function al(){throw Error(t(394))}function Do(){}var Ia={readContext:function(d){return d._currentValue},useContext:function(d){return Dr(),d._currentValue},useMemo:Oa,useReducer:Mo,useRef:function(d){vr=Dr(),qe=Pi();var y=qe.memoizedState;return y===null?(d={current:d},qe.memoizedState=d):y},useState:function(d){return Mo(Aa,d)},useInsertionEffect:Do,useLayoutEffect:function(){},useCallback:function(d,y){return Oa(function(){return d},y)},useImperativeHandle:Do,useEffect:Do,useDebugValue:Do,useDeferredValue:function(d){return Dr(),d},useTransition:function(){return Dr(),[!1,al]},useId:function(){var d=Ri.treeContext,y=d.overflow;d=d.id,d=(d&~(1<<32-Yr(d)-1)).toString(32)+y;var S=Hn;if(S===null)throw Error(t(404));return y=Qr++,d=":"+S.idPrefix+"R"+d,0<y&&(d+="H"+y.toString(32)),d+":"},useMutableSource:function(d,y){return Dr(),y(d._source)},useSyncExternalStore:function(d,y,S){if(S===void 0)throw Error(t(407));return S()}},Hn=null,Ai=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function sl(d){return console.error(d),null}function vn(){}function Oi(d,y,S,R,W,B,X,oe,Oe){var Ne=[],je=new Set;return y={destination:null,responseState:y,progressiveChunkSize:R===void 0?12800:R,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:je,pingedTasks:Ne,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:W===void 0?sl:W,onAllReady:B===void 0?vn:B,onShellReady:X===void 0?vn:X,onShellError:oe===void 0?vn:oe,onFatalError:Oe===void 0?vn:Oe},S=yn(y,0,null,S,!1,!1),S.parentFlushed=!0,d=Ii(y,d,null,S,je,ke,null,Gr),Ne.push(d),y}function Ii(d,y,S,R,W,B,X,oe){d.allPendingTasks++,S===null?d.pendingRootTasks++:S.pendingTasks++;var Oe={node:y,ping:function(){var Ne=d.pingedTasks;Ne.push(Oe),Ne.length===1&&ja(d)},blockedBoundary:S,blockedSegment:R,abortSet:W,legacyContext:B,context:X,treeContext:oe};return W.add(Oe),Oe}function yn(d,y,S,R,W,B){return{status:0,id:-1,index:y,parentFlushed:!1,chunks:[],children:[],formatContext:R,boundary:S,lastPushedText:W,textEmbedded:B}}function Wn(d,y){if(d=d.onError(y),d!=null&&typeof d!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d}function _o(d,y){var S=d.onShellError;S(y),S=d.onFatalError,S(y),d.destination!==null?(d.status=2,C(d.destination,y)):(d.status=1,d.fatalError=y)}function Fa(d,y,S,R,W){for(vr={},Ri=y,Qr=0,d=S(R,W);Io;)Io=!1,Qr=0,Fo+=1,qe=null,d=S(R,W);return Un(),d}function Ma(d,y,S,R){var W=S.render(),B=R.childContextTypes;if(B!=null){var X=y.legacyContext;if(typeof S.getChildContext!="function")R=X;else{S=S.getChildContext();for(var oe in S)if(!(oe in B))throw Error(t(108,ne(R)||"Unknown",oe));R=lr({},X,S)}y.legacyContext=R,Ot(d,y,W),y.legacyContext=X}else Ot(d,y,W)}function Da(d,y){if(d&&d.defaultProps){y=lr({},y),d=d.defaultProps;for(var S in d)y[S]===void 0&&(y[S]=d[S]);return y}return y}function Lo(d,y,S,R,W){if(typeof S=="function")if(S.prototype&&S.prototype.isReactComponent){W=Ae(S,y.legacyContext);var B=S.contextType;B=new S(R,typeof B=="object"&&B!==null?B._currentValue:W),Fr(B,S,R,W),Ma(d,y,B,S)}else{B=Ae(S,y.legacyContext),W=Fa(d,y,S,R,B);var X=Qr!==0;if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0)Fr(W,S,R,B),Ma(d,y,W,S);else if(X){R=y.treeContext,y.treeContext=gr(R,1,0);try{Ot(d,y,W)}finally{y.treeContext=R}}else Ot(d,y,W)}else if(typeof S=="string"){switch(W=y.blockedSegment,B=In(W.chunks,S,R,d.responseState,W.formatContext),W.lastPushedText=!1,X=W.formatContext,W.formatContext=K(X,S,R),$o(d,y,B),W.formatContext=X,S){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:W.chunks.push(Fn,h(S),Mn)}W.lastPushedText=!1}else{switch(S){case H:case P:case hn:case _t:case Vr:Ot(d,y,R.children);return;case At:Ot(d,y,R.children);return;case E:throw Error(t(343));case mt:e:{S=y.blockedBoundary,W=y.blockedSegment,B=R.fallback,R=R.children,X=new Set;var oe={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:X,errorDigest:null},Oe=yn(d,W.chunks.length,oe,W.formatContext,!1,!1);W.children.push(Oe),W.lastPushedText=!1;var Ne=yn(d,0,null,W.formatContext,!1,!1);Ne.parentFlushed=!0,y.blockedBoundary=oe,y.blockedSegment=Ne;try{if($o(d,y,R),Ne.lastPushedText&&Ne.textEmbedded&&Ne.chunks.push(fe),Ne.status=1,jo(oe,Ne),oe.pendingTasks===0)break e}catch(je){Ne.status=4,oe.forceClientRender=!0,oe.errorDigest=Wn(d,je)}finally{y.blockedBoundary=S,y.blockedSegment=W}y=Ii(d,B,S,Oe,X,y.legacyContext,y.context,y.treeContext),d.pingedTasks.push(y)}return}if(typeof S=="object"&&S!==null)switch(S.$$typeof){case mn:if(R=Fa(d,y,S.render,R,W),Qr!==0){S=y.treeContext,y.treeContext=gr(S,1,0);try{Ot(d,y,R)}finally{y.treeContext=S}}else Ot(d,y,R);return;case f:S=S.type,R=Da(S,R),Lo(d,y,S,R,W);return;case ur:if(W=R.children,S=S._context,R=R.value,B=S._currentValue,S._currentValue=R,X=Ce,Ce=R={parent:X,depth:X===null?0:X.depth+1,context:S,parentValue:B,value:R},y.context=R,Ot(d,y,W),d=Ce,d===null)throw Error(t(403));R=d.parentValue,d.context._currentValue=R===N?d.context._defaultValue:R,d=Ce=d.parent,y.context=d;return;case kt:R=R.children,R=R(S._currentValue),Ot(d,y,R);return;case b:W=S._init,S=W(S._payload),R=Da(S,R),Lo(d,y,S,R,void 0);return}throw Error(t(130,S==null?S:typeof S,""))}}function Ot(d,y,S){if(y.node=S,typeof S=="object"&&S!==null){switch(S.$$typeof){case St:Lo(d,y,S.type,S.props,S.ref);return;case Or:throw Error(t(257));case b:var R=S._init;S=R(S._payload),Ot(d,y,S);return}if(ye(S)){_a(d,y,S);return}if(S===null||typeof S!="object"?R=null:(R=G&&S[G]||S["@@iterator"],R=typeof R=="function"?R:null),R&&(R=R.call(S))){if(S=R.next(),!S.done){var W=[];do W.push(S.value),S=R.next();while(!S.done);_a(d,y,W)}return}throw d=Object.prototype.toString.call(S),Error(t(31,d==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":d))}typeof S=="string"?(R=y.blockedSegment,R.lastPushedText=te(y.blockedSegment.chunks,S,d.responseState,R.lastPushedText)):typeof S=="number"&&(R=y.blockedSegment,R.lastPushedText=te(y.blockedSegment.chunks,""+S,d.responseState,R.lastPushedText))}function _a(d,y,S){for(var R=S.length,W=0;W<R;W++){var B=y.treeContext;y.treeContext=gr(B,R,W);try{$o(d,y,S[W])}finally{y.treeContext=B}}}function $o(d,y,S){var R=y.blockedSegment.formatContext,W=y.legacyContext,B=y.context;try{return Ot(d,y,S)}catch(Oe){if(Un(),typeof Oe=="object"&&Oe!==null&&typeof Oe.then=="function"){S=Oe;var X=y.blockedSegment,oe=yn(d,X.chunks.length,null,X.formatContext,X.lastPushedText,!0);X.children.push(oe),X.lastPushedText=!1,d=Ii(d,y.node,y.blockedBoundary,oe,y.abortSet,y.legacyContext,y.context,y.treeContext).ping,S.then(d,d),y.blockedSegment.formatContext=R,y.legacyContext=W,y.context=B,cr(B)}else throw y.blockedSegment.formatContext=R,y.legacyContext=W,y.context=B,cr(B),Oe}}function ll(d){var y=d.blockedBoundary;d=d.blockedSegment,d.status=3,$a(this,y,d)}function La(d,y,S){var R=d.blockedBoundary;d.blockedSegment.status=3,R===null?(y.allPendingTasks--,y.status!==2&&(y.status=2,y.destination!==null&&y.destination.close())):(R.pendingTasks--,R.forceClientRender||(R.forceClientRender=!0,d=S===void 0?Error(t(432)):S,R.errorDigest=y.onError(d),R.parentFlushed&&y.clientRenderedBoundaries.push(R)),R.fallbackAbortableTasks.forEach(function(W){return La(W,y,S)}),R.fallbackAbortableTasks.clear(),y.allPendingTasks--,y.allPendingTasks===0&&(R=y.onAllReady,R()))}function jo(d,y){if(y.chunks.length===0&&y.children.length===1&&y.children[0].boundary===null){var S=y.children[0];S.id=y.id,S.parentFlushed=!0,S.status===1&&jo(d,S)}else d.completedSegments.push(y)}function $a(d,y,S){if(y===null){if(S.parentFlushed){if(d.completedRootSegment!==null)throw Error(t(389));d.completedRootSegment=S}d.pendingRootTasks--,d.pendingRootTasks===0&&(d.onShellError=vn,y=d.onShellReady,y())}else y.pendingTasks--,y.forceClientRender||(y.pendingTasks===0?(S.parentFlushed&&S.status===1&&jo(y,S),y.parentFlushed&&d.completedBoundaries.push(y),y.fallbackAbortableTasks.forEach(ll,d),y.fallbackAbortableTasks.clear()):S.parentFlushed&&S.status===1&&(jo(y,S),y.completedSegments.length===1&&y.parentFlushed&&d.partialBoundaries.push(y)));d.allPendingTasks--,d.allPendingTasks===0&&(d=d.onAllReady,d())}function ja(d){if(d.status!==2){var y=Ce,S=Ai.current;Ai.current=Ia;var R=Hn;Hn=d.responseState;try{var W=d.pingedTasks,B;for(B=0;B<W.length;B++){var X=W[B],oe=d,Oe=X.blockedSegment;if(Oe.status===0){cr(X.context);try{Ot(oe,X,X.node),Oe.lastPushedText&&Oe.textEmbedded&&Oe.chunks.push(fe),X.abortSet.delete(X),Oe.status=1,$a(oe,X.blockedBoundary,Oe)}catch(Vt){if(Un(),typeof Vt=="object"&&Vt!==null&&typeof Vt.then=="function"){var Ne=X.ping;Vt.then(Ne,Ne)}else{X.abortSet.delete(X),Oe.status=4;var je=X.blockedBoundary,et=Vt,It=Wn(oe,et);if(je===null?_o(oe,et):(je.pendingTasks--,je.forceClientRender||(je.forceClientRender=!0,je.errorDigest=It,je.parentFlushed&&oe.clientRenderedBoundaries.push(je))),oe.allPendingTasks--,oe.allPendingTasks===0){var Wt=oe.onAllReady;Wt()}}}finally{}}}W.splice(0,B),d.destination!==null&&Fi(d,d.destination)}catch(Vt){Wn(d,Vt),_o(d,Vt)}finally{Hn=R,Ai.current=S,S===Ia&&cr(y)}}}function No(d,y,S){switch(S.parentFlushed=!0,S.status){case 0:var R=S.id=d.nextSegmentId++;return S.lastPushedText=!1,S.textEmbedded=!1,d=d.responseState,a(y,st),a(y,d.placeholderPrefix),d=h(R.toString(16)),a(y,d),c(y,Dn);case 1:S.status=2;var W=!0;R=S.chunks;var B=0;S=S.children;for(var X=0;X<S.length;X++){for(W=S[X];B<W.index;B++)a(y,R[B]);W=zo(d,y,W)}for(;B<R.length-1;B++)a(y,R[B]);return B<R.length&&(W=c(y,R[B])),W;default:throw Error(t(390))}}function zo(d,y,S){var R=S.boundary;if(R===null)return No(d,y,S);if(R.parentFlushed=!0,R.forceClientRender)R=R.errorDigest,c(y,ln),a(y,Ln),R&&(a(y,$n),a(y,h(ae(R))),a(y,Sr)),c(y,Co),No(d,y,S);else if(0<R.pendingTasks){R.rootSegmentID=d.nextSegmentId++,0<R.completedSegments.length&&d.partialBoundaries.push(R);var W=d.responseState,B=W.nextSuspenseID++;W=v(W.boundaryPrefix+B.toString(16)),R=R.id=W,xt(y,d.responseState,R),No(d,y,S)}else if(R.byteSize>d.progressiveChunkSize)R.rootSegmentID=d.nextSegmentId++,d.completedBoundaries.push(R),xt(y,d.responseState,R.id),No(d,y,S);else{if(c(y,ko),S=R.completedSegments,S.length!==1)throw Error(t(391));zo(d,y,S[0])}return c(y,Ei)}function Na(d,y,S){return Rt(y,d.responseState,S.formatContext,S.id),zo(d,y,S),or(y,S.formatContext)}function za(d,y,S){for(var R=S.completedSegments,W=0;W<R.length;W++)Ba(d,y,S,R[W]);if(R.length=0,d=d.responseState,R=S.id,S=S.rootSegmentID,a(y,d.startInlineScript),d.sentCompleteBoundaryFunction?a(y,Pt):(d.sentCompleteBoundaryFunction=!0,a(y,Pr)),R===null)throw Error(t(395));return S=h(S.toString(16)),a(y,R),a(y,Ro),a(y,d.segmentPrefix),a(y,S),c(y,Po)}function Ba(d,y,S,R){if(R.status===2)return!0;var W=R.id;if(W===-1){if((R.id=S.rootSegmentID)===-1)throw Error(t(392));return Na(d,y,R)}return Na(d,y,R),d=d.responseState,a(y,d.startInlineScript),d.sentCompleteSegmentFunction?a(y,Tr):(d.sentCompleteSegmentFunction=!0,a(y,dn)),a(y,d.segmentPrefix),W=h(W.toString(16)),a(y,W),a(y,Rr),a(y,d.placeholderPrefix),a(y,W),c(y,ir)}function Fi(d,y){n=new Uint8Array(512),i=0;try{var S=d.completedRootSegment;if(S!==null&&d.pendingRootTasks===0){zo(d,y,S),d.completedRootSegment=null;var R=d.responseState.bootstrapChunks;for(S=0;S<R.length-1;S++)a(y,R[S]);S<R.length&&c(y,R[S])}var W=d.clientRenderedBoundaries,B;for(B=0;B<W.length;B++){var X=W[B];R=y;var oe=d.responseState,Oe=X.id,Ne=X.errorDigest,je=X.errorMessage,et=X.errorComponentStack;if(a(R,oe.startInlineScript),oe.sentClientRenderFunction?a(R,ut):(oe.sentClientRenderFunction=!0,a(R,mr)),Oe===null)throw Error(t(395));a(R,Oe),a(R,ar),(Ne||je||et)&&(a(R,Ar),a(R,h(Ut(Ne||"")))),(je||et)&&(a(R,Ar),a(R,h(Ut(je||"")))),et&&(a(R,Ar),a(R,h(Ut(et)))),c(R,sr)}W.splice(0,B);var It=d.completedBoundaries;for(B=0;B<It.length;B++)za(d,y,It[B]);It.splice(0,B),p(y),n=new Uint8Array(512),i=0;var Wt=d.partialBoundaries;for(B=0;B<Wt.length;B++){var Vt=Wt[B];e:{W=d,X=y;var Bo=Vt.completedSegments;for(oe=0;oe<Bo.length;oe++)if(!Ba(W,X,Vt,Bo[oe])){oe++,Bo.splice(0,oe);var Ha=!1;break e}Bo.splice(0,oe),Ha=!0}if(!Ha){d.destination=null,B++,Wt.splice(0,B);return}}Wt.splice(0,B);var Vn=d.completedBoundaries;for(B=0;B<Vn.length;B++)za(d,y,Vn[B]);Vn.splice(0,B)}finally{p(y),d.allPendingTasks===0&&d.pingedTasks.length===0&&d.clientRenderedBoundaries.length===0&&d.completedBoundaries.length===0&&y.close()}}function Ua(d,y){try{var S=d.abortableTasks;S.forEach(function(R){return La(R,d,y)}),S.clear(),d.destination!==null&&Fi(d,d.destination)}catch(R){Wn(d,R),_o(d,R)}}return dc.renderToReadableStream=function(d,y){return new Promise(function(S,R){var W,B,X=new Promise(function(je,et){B=je,W=et}),oe=Oi(d,Z(y?y.identifierPrefix:void 0,y?y.nonce:void 0,y?y.bootstrapScriptContent:void 0,y?y.bootstrapScripts:void 0,y?y.bootstrapModules:void 0),Y(y?y.namespaceURI:void 0),y?y.progressiveChunkSize:void 0,y?y.onError:void 0,B,function(){var je=new ReadableStream({type:"bytes",pull:function(et){if(oe.status===1)oe.status=2,C(et,oe.fatalError);else if(oe.status!==2&&oe.destination===null){oe.destination=et;try{Fi(oe,et)}catch(It){Wn(oe,It),_o(oe,It)}}},cancel:function(){Ua(oe)}},{highWaterMark:0});je.allReady=X,S(je)},function(je){X.catch(function(){}),R(je)},W);if(y&&y.signal){var Oe=y.signal,Ne=function(){Ua(oe,Oe.reason),Oe.removeEventListener("abort",Ne)};Oe.addEventListener("abort",Ne)}ja(oe)})},dc.version="18.3.1",dc}var aa={};/**
|
|
23
|
+
*/var pp;function rv(){if(pp)return $u;pp=1;var e=V;function r(f){for(var g="https://reactjs.org/docs/error-decoder.html?invariant="+f,w=1;w<arguments.length;w++)g+="&args[]="+encodeURIComponent(arguments[w]);return"Minified React error #"+f+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=null,i=0;function a(f,g){if(g.length!==0)if(512<g.length)0<i&&(f.enqueue(new Uint8Array(o.buffer,0,i)),o=new Uint8Array(512),i=0),f.enqueue(g);else{var w=o.length-i;w<g.length&&(w===0?f.enqueue(o):(o.set(g.subarray(0,w),i),f.enqueue(o),g=g.subarray(w)),o=new Uint8Array(512),i=0),o.set(g,i),i+=g.length}}function d(f,g){return a(f,g),!0}function h(f){o&&0<i&&(f.enqueue(new Uint8Array(o.buffer,0,i)),o=null,i=0)}var y=new TextEncoder;function m(f){return y.encode(f)}function x(f){return y.encode(f)}function R(f,g){typeof f.error=="function"?f.error(g):f.close()}var E=Object.prototype.hasOwnProperty,F=/^[: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]*$/,M={},B={};function D(f){return E.call(B,f)?!0:E.call(M,f)?!1:F.test(f)?B[f]=!0:(M[f]=!0,!1)}function P(f,g,w,C,z,N,G){this.acceptsBooleans=g===2||g===3||g===4,this.attributeName=C,this.attributeNamespace=z,this.mustUseProperty=w,this.propertyName=f,this.type=g,this.sanitizeURL=N,this.removeEmptyString=G}var I={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(f){I[f]=new P(f,0,!1,f,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(f){var g=f[0];I[g]=new P(g,1,!1,f[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(f){I[f]=new P(f,2,!1,f.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(f){I[f]=new P(f,2,!1,f,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(f){I[f]=new P(f,3,!1,f.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(f){I[f]=new P(f,3,!0,f,null,!1,!1)}),["capture","download"].forEach(function(f){I[f]=new P(f,4,!1,f,null,!1,!1)}),["cols","rows","size","span"].forEach(function(f){I[f]=new P(f,6,!1,f,null,!1,!1)}),["rowSpan","start"].forEach(function(f){I[f]=new P(f,5,!1,f.toLowerCase(),null,!1,!1)});var W=/[\-:]([a-z])/g;function U(f){return f[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(f){var g=f.replace(W,U);I[g]=new P(g,1,!1,f,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(f){var g=f.replace(W,U);I[g]=new P(g,1,!1,f,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(f){var g=f.replace(W,U);I[g]=new P(g,1,!1,f,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(f){I[f]=new P(f,1,!1,f.toLowerCase(),null,!1,!1)}),I.xlinkHref=new P("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(f){I[f]=new P(f,1,!1,f.toLowerCase(),null,!0,!0)});var Y={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},_=["Webkit","ms","Moz","O"];Object.keys(Y).forEach(function(f){_.forEach(function(g){g=g+f.charAt(0).toUpperCase()+f.substring(1),Y[g]=Y[f]})});var ie=/["'&<>]/;function fe(f){if(typeof f=="boolean"||typeof f=="number")return""+f;f=""+f;var g=ie.exec(f);if(g){var w="",C,z=0;for(C=g.index;C<f.length;C++){switch(f.charCodeAt(C)){case 34:g=""";break;case 38:g="&";break;case 39:g="'";break;case 60:g="<";break;case 62:g=">";break;default:continue}z!==C&&(w+=f.substring(z,C)),z=C+1,w+=g}f=z!==C?w+f.substring(z,C):w}return f}var ne=/([A-Z])/g,ae=/^ms-/,Fe=Array.isArray,Ne=x("<script>"),_e=x("<\/script>"),Ge=x('<script src="'),Qe=x('<script type="module" src="'),ke=x('" async=""><\/script>'),Ce=/(<\/|<)(s)(cript)/gi;function je(f,g,w,C){return""+g+(w==="s"?"\\u0073":"\\u0053")+C}function Z(f,g,w,C,z){f=f===void 0?"":f,g=g===void 0?Ne:x('<script nonce="'+fe(g)+'">');var N=[];if(w!==void 0&&N.push(g,m((""+w).replace(Ce,je)),_e),C!==void 0)for(w=0;w<C.length;w++)N.push(Ge,m(fe(C[w])),ke);if(z!==void 0)for(C=0;C<z.length;C++)N.push(Qe,m(fe(z[C])),ke);return{bootstrapChunks:N,startInlineScript:g,placeholderPrefix:x(f+"P:"),segmentPrefix:x(f+"S:"),boundaryPrefix:f+"B:",idPrefix:f,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function be(f,g){return{insertionMode:f,selectedValue:g}}function Q(f){return be(f==="http://www.w3.org/2000/svg"?2:f==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function J(f,g,w){switch(g){case"select":return be(1,w.value!=null?w.value:w.defaultValue);case"svg":return be(2,null);case"math":return be(3,null);case"foreignObject":return be(1,null);case"table":return be(4,null);case"thead":case"tbody":case"tfoot":return be(5,null);case"colgroup":return be(7,null);case"tr":return be(6,null)}return 4<=f.insertionMode||f.insertionMode===0?be(1,null):f}var ce=x("<!-- -->");function me(f,g,w,C){return g===""?C:(C&&f.push(ce),f.push(m(fe(g))),!0)}var pe=new Map,ge=x(' style="'),se=x(":"),ue=x(";");function Te(f,g,w){if(typeof w!="object")throw Error(r(62));g=!0;for(var C in w)if(E.call(w,C)){var z=w[C];if(z!=null&&typeof z!="boolean"&&z!==""){if(C.indexOf("--")===0){var N=m(fe(C));z=m(fe((""+z).trim()))}else{N=C;var G=pe.get(N);G!==void 0||(G=x(fe(N.replace(ne,"-$1").toLowerCase().replace(ae,"-ms-"))),pe.set(N,G)),N=G,z=typeof z=="number"?z===0||E.call(Y,C)?m(""+z):m(z+"px"):m(fe((""+z).trim()))}g?(g=!1,f.push(ge,N,se,z)):f.push(ue,N,se,z)}}g||f.push($e)}var Ee=x(" "),Re=x('="'),$e=x('"'),oe=x('=""');function Ue(f,g,w,C){switch(w){case"style":Te(f,g,C);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<w.length)||w[0]!=="o"&&w[0]!=="O"||w[1]!=="n"&&w[1]!=="N"){if(g=I.hasOwnProperty(w)?I[w]:null,g!==null){switch(typeof C){case"function":case"symbol":return;case"boolean":if(!g.acceptsBooleans)return}switch(w=m(g.attributeName),g.type){case 3:C&&f.push(Ee,w,oe);break;case 4:C===!0?f.push(Ee,w,oe):C!==!1&&f.push(Ee,w,Re,m(fe(C)),$e);break;case 5:isNaN(C)||f.push(Ee,w,Re,m(fe(C)),$e);break;case 6:!isNaN(C)&&1<=C&&f.push(Ee,w,Re,m(fe(C)),$e);break;default:g.sanitizeURL&&(C=""+C),f.push(Ee,w,Re,m(fe(C)),$e)}}else if(D(w)){switch(typeof C){case"function":case"symbol":return;case"boolean":if(g=w.toLowerCase().slice(0,5),g!=="data-"&&g!=="aria-")return}f.push(Ee,m(w),Re,m(fe(C)),$e)}}}var nt=x(">"),Lt=x("/>");function Lr(f,g,w){if(g!=null){if(w!=null)throw Error(r(60));if(typeof g!="object"||!("__html"in g))throw Error(r(61));g=g.__html,g!=null&&f.push(m(""+g))}}function so(f){var g="";return e.Children.forEach(f,function(w){w!=null&&(g+=w)}),g}var jt=x(' selected=""');function jr(f,g,w,C){f.push(mt(w));var z=w=null,N;for(N in g)if(E.call(g,N)){var G=g[N];if(G!=null)switch(N){case"children":w=G;break;case"dangerouslySetInnerHTML":z=G;break;default:Ue(f,C,N,G)}}return f.push(nt),Lr(f,z,w),typeof w=="string"?(f.push(m(fe(w))),null):w}var Nr=x(`
|
|
24
|
+
`),lo=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Nt=new Map;function mt(f){var g=Nt.get(f);if(g===void 0){if(!lo.test(f))throw Error(r(65,f));g=x("<"+f),Nt.set(f,g)}return g}var ct=x("<!DOCTYPE html>");function kn(f,g,w,C,z){switch(g){case"select":f.push(mt("select"));var N=null,G=null;for(De in w)if(E.call(w,De)){var te=w[De];if(te!=null)switch(De){case"children":N=te;break;case"dangerouslySetInnerHTML":G=te;break;case"defaultValue":case"value":break;default:Ue(f,C,De,te)}}return f.push(nt),Lr(f,G,N),N;case"option":G=z.selectedValue,f.push(mt("option"));var Ae=te=null,Le=null,De=null;for(N in w)if(E.call(w,N)){var et=w[N];if(et!=null)switch(N){case"children":te=et;break;case"selected":Le=et;break;case"dangerouslySetInnerHTML":De=et;break;case"value":Ae=et;default:Ue(f,C,N,et)}}if(G!=null)if(w=Ae!==null?""+Ae:so(te),Fe(G)){for(C=0;C<G.length;C++)if(""+G[C]===w){f.push(jt);break}}else""+G===w&&f.push(jt);else Le&&f.push(jt);return f.push(nt),Lr(f,De,te),te;case"textarea":f.push(mt("textarea")),De=G=N=null;for(te in w)if(E.call(w,te)&&(Ae=w[te],Ae!=null))switch(te){case"children":De=Ae;break;case"value":N=Ae;break;case"defaultValue":G=Ae;break;case"dangerouslySetInnerHTML":throw Error(r(91));default:Ue(f,C,te,Ae)}if(N===null&&G!==null&&(N=G),f.push(nt),De!=null){if(N!=null)throw Error(r(92));if(Fe(De)&&1<De.length)throw Error(r(93));N=""+De}return typeof N=="string"&&N[0]===`
|
|
25
|
+
`&&f.push(Nr),N!==null&&f.push(m(fe(""+N))),null;case"input":f.push(mt("input")),Ae=De=te=N=null;for(G in w)if(E.call(w,G)&&(Le=w[G],Le!=null))switch(G){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,"input"));case"defaultChecked":Ae=Le;break;case"defaultValue":te=Le;break;case"checked":De=Le;break;case"value":N=Le;break;default:Ue(f,C,G,Le)}return De!==null?Ue(f,C,"checked",De):Ae!==null&&Ue(f,C,"checked",Ae),N!==null?Ue(f,C,"value",N):te!==null&&Ue(f,C,"value",te),f.push(Lt),null;case"menuitem":f.push(mt("menuitem"));for(var It in w)if(E.call(w,It)&&(N=w[It],N!=null))switch(It){case"children":case"dangerouslySetInnerHTML":throw Error(r(400));default:Ue(f,C,It,N)}return f.push(nt),null;case"title":f.push(mt("title")),N=null;for(et in w)if(E.call(w,et)&&(G=w[et],G!=null))switch(et){case"children":N=G;break;case"dangerouslySetInnerHTML":throw Error(r(434));default:Ue(f,C,et,G)}return f.push(nt),N;case"listing":case"pre":f.push(mt(g)),G=N=null;for(Ae in w)if(E.call(w,Ae)&&(te=w[Ae],te!=null))switch(Ae){case"children":N=te;break;case"dangerouslySetInnerHTML":G=te;break;default:Ue(f,C,Ae,te)}if(f.push(nt),G!=null){if(N!=null)throw Error(r(60));if(typeof G!="object"||!("__html"in G))throw Error(r(61));w=G.__html,w!=null&&(typeof w=="string"&&0<w.length&&w[0]===`
|
|
26
|
+
`?f.push(Nr,m(w)):f.push(m(""+w)))}return typeof N=="string"&&N[0]===`
|
|
27
|
+
`&&f.push(Nr),N;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":f.push(mt(g));for(var Bt in w)if(E.call(w,Bt)&&(N=w[Bt],N!=null))switch(Bt){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,g));default:Ue(f,C,Bt,N)}return f.push(Lt),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return jr(f,w,g,C);case"html":return z.insertionMode===0&&f.push(ct),jr(f,w,g,C);default:if(g.indexOf("-")===-1&&typeof w.is!="string")return jr(f,w,g,C);f.push(mt(g)),G=N=null;for(Le in w)if(E.call(w,Le)&&(te=w[Le],te!=null))switch(Le){case"children":N=te;break;case"dangerouslySetInnerHTML":G=te;break;case"style":Te(f,C,te);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:D(Le)&&typeof te!="function"&&typeof te!="symbol"&&f.push(Ee,m(Le),Re,m(fe(te)),$e)}return f.push(nt),Lr(f,G,N),N}}var En=x("</"),Cn=x(">"),at=x('<template id="'),Tn=x('"></template>'),uo=x("<!--$-->"),co=x('<!--$?--><template id="'),Rn=x('"></template>'),en=x("<!--$!-->"),si=x("<!--/$-->"),Pn=x("<template"),yr=x('"'),An=x(' data-dgst="');x(' data-msg="'),x(' data-stck="');var fo=x("></template>");function xt(f,g,w){if(a(f,co),w===null)throw Error(r(395));return a(f,w),d(f,Rn)}var Jt=x('<div hidden id="'),br=x('">'),Xe=x("</div>"),xr=x('<svg aria-hidden="true" style="display:none" id="'),tn=x('">'),$r=x("</svg>"),Kt=x('<math aria-hidden="true" style="display:none" id="'),rn=x('">'),cr=x("</math>"),ft=x('<table hidden id="'),In=x('">'),On=x("</table>"),po=x('<table hidden><tbody id="'),st=x('">'),Fn=x("</tbody></table>"),li=x('<table hidden><tr id="'),ui=x('">'),Zt=x("</tr></table>"),Mn=x('<table hidden><colgroup id="'),nn=x('">'),wr=x("</colgroup></table>");function Tt(f,g,w,C){switch(w.insertionMode){case 0:case 1:return a(f,Jt),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,br);case 2:return a(f,xr),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,tn);case 3:return a(f,Kt),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,rn);case 4:return a(f,ft),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,In);case 5:return a(f,po),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,st);case 6:return a(f,li),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,ui);case 7:return a(f,Mn),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,nn);default:throw Error(r(397))}}function er(f,g){switch(g.insertionMode){case 0:case 1:return d(f,Xe);case 2:return d(f,$r);case 3:return d(f,cr);case 4:return d(f,On);case 5:return d(f,Fn);case 6:return d(f,Zt);case 7:return d(f,wr);default:throw Error(r(397))}}var on=x('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Sr=x('$RS("'),kr=x('","'),tr=x('")<\/script>'),Er=x('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Rt=x('$RC("'),ho=x('","'),mo=x('")<\/script>'),fr=x('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),lt=x('$RX("'),rr=x('"'),nr=x(")<\/script>"),Cr=x(","),an=/[<\u2028\u2029]/g;function $t(f){return JSON.stringify(f).replace(an,function(g){switch(g){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var or=Object.assign,wt=Symbol.for("react.element"),Tr=Symbol.for("react.portal"),zr=Symbol.for("react.fragment"),sn=Symbol.for("react.strict_mode"),Ft=Symbol.for("react.profiler"),ir=Symbol.for("react.provider"),St=Symbol.for("react.context"),ln=Symbol.for("react.forward_ref"),ht=Symbol.for("react.suspense"),Pt=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),k=Symbol.for("react.scope"),T=Symbol.for("react.debug_trace_mode"),$=Symbol.for("react.legacy_hidden"),L=Symbol.for("react.default_value"),H=Symbol.iterator;function ee(f){if(f==null)return null;if(typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case zr:return"Fragment";case Tr:return"Portal";case Ft:return"Profiler";case sn:return"StrictMode";case ht:return"Suspense";case Pt:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case St:return(f.displayName||"Context")+".Consumer";case ir:return(f._context.displayName||"Context")+".Provider";case ln:var g=f.render;return f=f.displayName,f||(f=g.displayName||g.name||"",f=f!==""?"ForwardRef("+f+")":"ForwardRef"),f;case c:return g=f.displayName||null,g!==null?g:ee(f.type)||"Memo";case v:g=f._payload,f=f._init;try{return ee(f(g))}catch{}}return null}var xe={};function Pe(f,g){if(f=f.contextTypes,!f)return xe;var w={},C;for(C in f)w[C]=g[C];return w}var we=null;function He(f,g){if(f!==g){f.context._currentValue=f.parentValue,f=f.parent;var w=g.parent;if(f===null){if(w!==null)throw Error(r(401))}else{if(w===null)throw Error(r(401));He(f,w)}g.context._currentValue=g.value}}function kt(f){f.context._currentValue=f.parentValue,f=f.parent,f!==null&&kt(f)}function Et(f){var g=f.parent;g!==null&&Et(g),f.context._currentValue=f.value}function Ct(f,g){if(f.context._currentValue=f.parentValue,f=f.parent,f===null)throw Error(r(402));f.depth===g.depth?He(f,g):Ct(f,g)}function Rr(f,g){var w=g.parent;if(w===null)throw Error(r(402));f.depth===w.depth?He(f,w):Rr(f,w),g.context._currentValue=g.value}function ar(f){var g=we;g!==f&&(g===null?Et(f):f===null?kt(g):g.depth===f.depth?He(g,f):g.depth>f.depth?Ct(g,f):Rr(g,f),we=f)}var un={isMounted:function(){return!1},enqueueSetState:function(f,g){f=f._reactInternals,f.queue!==null&&f.queue.push(g)},enqueueReplaceState:function(f,g){f=f._reactInternals,f.replace=!0,f.queue=[g]},enqueueForceUpdate:function(){}};function Pr(f,g,w,C){var z=f.state!==void 0?f.state:null;f.updater=un,f.props=w,f.state=z;var N={queue:[],replace:!1};f._reactInternals=N;var G=g.contextType;if(f.context=typeof G=="object"&&G!==null?G._currentValue:C,G=g.getDerivedStateFromProps,typeof G=="function"&&(G=G(w,z),z=G==null?z:or({},z,G),f.state=z),typeof g.getDerivedStateFromProps!="function"&&typeof f.getSnapshotBeforeUpdate!="function"&&(typeof f.UNSAFE_componentWillMount=="function"||typeof f.componentWillMount=="function"))if(g=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),g!==f.state&&un.enqueueReplaceState(f,f.state,null),N.queue!==null&&0<N.queue.length)if(g=N.queue,G=N.replace,N.queue=null,N.replace=!1,G&&g.length===1)f.state=g[0];else{for(N=G?g[0]:f.state,z=!0,G=G?1:0;G<g.length;G++){var te=g[G];te=typeof te=="function"?te.call(f,N,w,C):te,te!=null&&(z?(z=!1,N=or({},N,te)):or(N,te))}f.state=N}else N.queue=null}var Br={id:1,overflow:""};function dr(f,g,w){var C=f.id;f=f.overflow;var z=32-Ur(C)-1;C&=~(1<<z),w+=1;var N=32-Ur(g)+z;if(30<N){var G=z-z%5;return N=(C&(1<<G)-1).toString(32),C>>=G,z-=G,{id:1<<32-Ur(g)+z|w<<z|C,overflow:N+f}}return{id:1<<N|w<<z|C,overflow:f}}var Ur=Math.clz32?Math.clz32:go,_s=Math.log,Ls=Math.LN2;function go(f){return f>>>=0,f===0?32:31-(_s(f)/Ls|0)|0}function sr(f,g){return f===g&&(f!==0||1/f===1/g)||f!==f&&g!==g}var js=typeof Object.is=="function"?Object.is:sr,pr=null,ci=null,vo=null,qe=null,Hr=!1,yo=!1,Wr=0,Ar=null,bo=0;function Ir(){if(pr===null)throw Error(r(321));return pr}function zt(){if(0<bo)throw Error(r(312));return{memoizedState:null,queue:null,next:null}}function fi(){return qe===null?vo===null?(Hr=!1,vo=qe=zt()):(Hr=!0,qe=vo):qe.next===null?(Hr=!1,qe=qe.next=zt()):(Hr=!0,qe=qe.next),qe}function Dn(){ci=pr=null,yo=!1,vo=null,bo=0,qe=Ar=null}function sa(f,g){return typeof g=="function"?g(f):g}function xo(f,g,w){if(pr=Ir(),qe=fi(),Hr){var C=qe.queue;if(g=C.dispatch,Ar!==null&&(w=Ar.get(C),w!==void 0)){Ar.delete(C),C=qe.memoizedState;do C=f(C,w.action),w=w.next;while(w!==null);return qe.memoizedState=C,[C,g]}return[qe.memoizedState,g]}return f=f===sa?typeof g=="function"?g():g:w!==void 0?w(g):g,qe.memoizedState=f,f=qe.queue={last:null,dispatch:null},f=f.dispatch=Ns.bind(null,pr,f),[qe.memoizedState,f]}function la(f,g){if(pr=Ir(),qe=fi(),g=g===void 0?null:g,qe!==null){var w=qe.memoizedState;if(w!==null&&g!==null){var C=w[1];e:if(C===null)C=!1;else{for(var z=0;z<C.length&&z<g.length;z++)if(!js(g[z],C[z])){C=!1;break e}C=!0}if(C)return w[0]}}return f=f(),qe.memoizedState=[f,g],f}function Ns(f,g,w){if(25<=bo)throw Error(r(301));if(f===pr)if(yo=!0,f={action:w,next:null},Ar===null&&(Ar=new Map),w=Ar.get(g),w===void 0)Ar.set(g,f);else{for(g=w;g.next!==null;)g=g.next;g.next=f}}function $s(){throw Error(r(394))}function wo(){}var ua={readContext:function(f){return f._currentValue},useContext:function(f){return Ir(),f._currentValue},useMemo:la,useReducer:xo,useRef:function(f){pr=Ir(),qe=fi();var g=qe.memoizedState;return g===null?(f={current:f},qe.memoizedState=f):g},useState:function(f){return xo(sa,f)},useInsertionEffect:wo,useLayoutEffect:function(){},useCallback:function(f,g){return la(function(){return f},g)},useImperativeHandle:wo,useEffect:wo,useDebugValue:wo,useDeferredValue:function(f){return Ir(),f},useTransition:function(){return Ir(),[!1,$s]},useId:function(){var f=ci.treeContext,g=f.overflow;f=f.id,f=(f&~(1<<32-Ur(f)-1)).toString(32)+g;var w=_n;if(w===null)throw Error(r(404));return g=Wr++,f=":"+w.idPrefix+"R"+f,0<g&&(f+="H"+g.toString(32)),f+":"},useMutableSource:function(f,g){return Ir(),g(f._source)},useSyncExternalStore:function(f,g,w){if(w===void 0)throw Error(r(407));return w()}},_n=null,di=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function zs(f){return console.error(f),null}function cn(){}function pi(f,g,w,C,z,N,G,te,Ae){var Le=[],De=new Set;return g={destination:null,responseState:g,progressiveChunkSize:C===void 0?12800:C,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:De,pingedTasks:Le,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:z===void 0?zs:z,onAllReady:N===void 0?cn:N,onShellReady:G===void 0?cn:G,onShellError:te===void 0?cn:te,onFatalError:Ae===void 0?cn:Ae},w=fn(g,0,null,w,!1,!1),w.parentFlushed=!0,f=hi(g,f,null,w,De,xe,null,Br),Le.push(f),g}function hi(f,g,w,C,z,N,G,te){f.allPendingTasks++,w===null?f.pendingRootTasks++:w.pendingTasks++;var Ae={node:g,ping:function(){var Le=f.pingedTasks;Le.push(Ae),Le.length===1&&ga(f)},blockedBoundary:w,blockedSegment:C,abortSet:z,legacyContext:N,context:G,treeContext:te};return z.add(Ae),Ae}function fn(f,g,w,C,z,N){return{status:0,id:-1,index:g,parentFlushed:!1,chunks:[],children:[],formatContext:C,boundary:w,lastPushedText:z,textEmbedded:N}}function Ln(f,g){if(f=f.onError(g),f!=null&&typeof f!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof f+'" instead');return f}function So(f,g){var w=f.onShellError;w(g),w=f.onFatalError,w(g),f.destination!==null?(f.status=2,R(f.destination,g)):(f.status=1,f.fatalError=g)}function ca(f,g,w,C,z){for(pr={},ci=g,Wr=0,f=w(C,z);yo;)yo=!1,Wr=0,bo+=1,qe=null,f=w(C,z);return Dn(),f}function fa(f,g,w,C){var z=w.render(),N=C.childContextTypes;if(N!=null){var G=g.legacyContext;if(typeof w.getChildContext!="function")C=G;else{w=w.getChildContext();for(var te in w)if(!(te in N))throw Error(r(108,ee(C)||"Unknown",te));C=or({},G,w)}g.legacyContext=C,At(f,g,z),g.legacyContext=G}else At(f,g,z)}function da(f,g){if(f&&f.defaultProps){g=or({},g),f=f.defaultProps;for(var w in f)g[w]===void 0&&(g[w]=f[w]);return g}return g}function ko(f,g,w,C,z){if(typeof w=="function")if(w.prototype&&w.prototype.isReactComponent){z=Pe(w,g.legacyContext);var N=w.contextType;N=new w(C,typeof N=="object"&&N!==null?N._currentValue:z),Pr(N,w,C,z),fa(f,g,N,w)}else{N=Pe(w,g.legacyContext),z=ca(f,g,w,C,N);var G=Wr!==0;if(typeof z=="object"&&z!==null&&typeof z.render=="function"&&z.$$typeof===void 0)Pr(z,w,C,N),fa(f,g,z,w);else if(G){C=g.treeContext,g.treeContext=dr(C,1,0);try{At(f,g,z)}finally{g.treeContext=C}}else At(f,g,z)}else if(typeof w=="string"){switch(z=g.blockedSegment,N=kn(z.chunks,w,C,f.responseState,z.formatContext),z.lastPushedText=!1,G=z.formatContext,z.formatContext=J(G,w,C),Eo(f,g,N),z.formatContext=G,w){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:z.chunks.push(En,m(w),Cn)}z.lastPushedText=!1}else{switch(w){case $:case T:case sn:case Ft:case zr:At(f,g,C.children);return;case Pt:At(f,g,C.children);return;case k:throw Error(r(343));case ht:e:{w=g.blockedBoundary,z=g.blockedSegment,N=C.fallback,C=C.children,G=new Set;var te={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:G,errorDigest:null},Ae=fn(f,z.chunks.length,te,z.formatContext,!1,!1);z.children.push(Ae),z.lastPushedText=!1;var Le=fn(f,0,null,z.formatContext,!1,!1);Le.parentFlushed=!0,g.blockedBoundary=te,g.blockedSegment=Le;try{if(Eo(f,g,C),Le.lastPushedText&&Le.textEmbedded&&Le.chunks.push(ce),Le.status=1,Co(te,Le),te.pendingTasks===0)break e}catch(De){Le.status=4,te.forceClientRender=!0,te.errorDigest=Ln(f,De)}finally{g.blockedBoundary=w,g.blockedSegment=z}g=hi(f,N,w,Ae,G,g.legacyContext,g.context,g.treeContext),f.pingedTasks.push(g)}return}if(typeof w=="object"&&w!==null)switch(w.$$typeof){case ln:if(C=ca(f,g,w.render,C,z),Wr!==0){w=g.treeContext,g.treeContext=dr(w,1,0);try{At(f,g,C)}finally{g.treeContext=w}}else At(f,g,C);return;case c:w=w.type,C=da(w,C),ko(f,g,w,C,z);return;case ir:if(z=C.children,w=w._context,C=C.value,N=w._currentValue,w._currentValue=C,G=we,we=C={parent:G,depth:G===null?0:G.depth+1,context:w,parentValue:N,value:C},g.context=C,At(f,g,z),f=we,f===null)throw Error(r(403));C=f.parentValue,f.context._currentValue=C===L?f.context._defaultValue:C,f=we=f.parent,g.context=f;return;case St:C=C.children,C=C(w._currentValue),At(f,g,C);return;case v:z=w._init,w=z(w._payload),C=da(w,C),ko(f,g,w,C,void 0);return}throw Error(r(130,w==null?w:typeof w,""))}}function At(f,g,w){if(g.node=w,typeof w=="object"&&w!==null){switch(w.$$typeof){case wt:ko(f,g,w.type,w.props,w.ref);return;case Tr:throw Error(r(257));case v:var C=w._init;w=C(w._payload),At(f,g,w);return}if(Fe(w)){pa(f,g,w);return}if(w===null||typeof w!="object"?C=null:(C=H&&w[H]||w["@@iterator"],C=typeof C=="function"?C:null),C&&(C=C.call(w))){if(w=C.next(),!w.done){var z=[];do z.push(w.value),w=C.next();while(!w.done);pa(f,g,z)}return}throw f=Object.prototype.toString.call(w),Error(r(31,f==="[object Object]"?"object with keys {"+Object.keys(w).join(", ")+"}":f))}typeof w=="string"?(C=g.blockedSegment,C.lastPushedText=me(g.blockedSegment.chunks,w,f.responseState,C.lastPushedText)):typeof w=="number"&&(C=g.blockedSegment,C.lastPushedText=me(g.blockedSegment.chunks,""+w,f.responseState,C.lastPushedText))}function pa(f,g,w){for(var C=w.length,z=0;z<C;z++){var N=g.treeContext;g.treeContext=dr(N,C,z);try{Eo(f,g,w[z])}finally{g.treeContext=N}}}function Eo(f,g,w){var C=g.blockedSegment.formatContext,z=g.legacyContext,N=g.context;try{return At(f,g,w)}catch(Ae){if(Dn(),typeof Ae=="object"&&Ae!==null&&typeof Ae.then=="function"){w=Ae;var G=g.blockedSegment,te=fn(f,G.chunks.length,null,G.formatContext,G.lastPushedText,!0);G.children.push(te),G.lastPushedText=!1,f=hi(f,g.node,g.blockedBoundary,te,g.abortSet,g.legacyContext,g.context,g.treeContext).ping,w.then(f,f),g.blockedSegment.formatContext=C,g.legacyContext=z,g.context=N,ar(N)}else throw g.blockedSegment.formatContext=C,g.legacyContext=z,g.context=N,ar(N),Ae}}function Bs(f){var g=f.blockedBoundary;f=f.blockedSegment,f.status=3,ma(this,g,f)}function ha(f,g,w){var C=f.blockedBoundary;f.blockedSegment.status=3,C===null?(g.allPendingTasks--,g.status!==2&&(g.status=2,g.destination!==null&&g.destination.close())):(C.pendingTasks--,C.forceClientRender||(C.forceClientRender=!0,f=w===void 0?Error(r(432)):w,C.errorDigest=g.onError(f),C.parentFlushed&&g.clientRenderedBoundaries.push(C)),C.fallbackAbortableTasks.forEach(function(z){return ha(z,g,w)}),C.fallbackAbortableTasks.clear(),g.allPendingTasks--,g.allPendingTasks===0&&(C=g.onAllReady,C()))}function Co(f,g){if(g.chunks.length===0&&g.children.length===1&&g.children[0].boundary===null){var w=g.children[0];w.id=g.id,w.parentFlushed=!0,w.status===1&&Co(f,w)}else f.completedSegments.push(g)}function ma(f,g,w){if(g===null){if(w.parentFlushed){if(f.completedRootSegment!==null)throw Error(r(389));f.completedRootSegment=w}f.pendingRootTasks--,f.pendingRootTasks===0&&(f.onShellError=cn,g=f.onShellReady,g())}else g.pendingTasks--,g.forceClientRender||(g.pendingTasks===0?(w.parentFlushed&&w.status===1&&Co(g,w),g.parentFlushed&&f.completedBoundaries.push(g),g.fallbackAbortableTasks.forEach(Bs,f),g.fallbackAbortableTasks.clear()):w.parentFlushed&&w.status===1&&(Co(g,w),g.completedSegments.length===1&&g.parentFlushed&&f.partialBoundaries.push(g)));f.allPendingTasks--,f.allPendingTasks===0&&(f=f.onAllReady,f())}function ga(f){if(f.status!==2){var g=we,w=di.current;di.current=ua;var C=_n;_n=f.responseState;try{var z=f.pingedTasks,N;for(N=0;N<z.length;N++){var G=z[N],te=f,Ae=G.blockedSegment;if(Ae.status===0){ar(G.context);try{At(te,G,G.node),Ae.lastPushedText&&Ae.textEmbedded&&Ae.chunks.push(ce),G.abortSet.delete(G),Ae.status=1,ma(te,G.blockedBoundary,Ae)}catch(Ut){if(Dn(),typeof Ut=="object"&&Ut!==null&&typeof Ut.then=="function"){var Le=G.ping;Ut.then(Le,Le)}else{G.abortSet.delete(G),Ae.status=4;var De=G.blockedBoundary,et=Ut,It=Ln(te,et);if(De===null?So(te,et):(De.pendingTasks--,De.forceClientRender||(De.forceClientRender=!0,De.errorDigest=It,De.parentFlushed&&te.clientRenderedBoundaries.push(De))),te.allPendingTasks--,te.allPendingTasks===0){var Bt=te.onAllReady;Bt()}}}finally{}}}z.splice(0,N),f.destination!==null&&mi(f,f.destination)}catch(Ut){Ln(f,Ut),So(f,Ut)}finally{_n=C,di.current=w,w===ua&&ar(g)}}}function To(f,g,w){switch(w.parentFlushed=!0,w.status){case 0:var C=w.id=f.nextSegmentId++;return w.lastPushedText=!1,w.textEmbedded=!1,f=f.responseState,a(g,at),a(g,f.placeholderPrefix),f=m(C.toString(16)),a(g,f),d(g,Tn);case 1:w.status=2;var z=!0;C=w.chunks;var N=0;w=w.children;for(var G=0;G<w.length;G++){for(z=w[G];N<z.index;N++)a(g,C[N]);z=Ro(f,g,z)}for(;N<C.length-1;N++)a(g,C[N]);return N<C.length&&(z=d(g,C[N])),z;default:throw Error(r(390))}}function Ro(f,g,w){var C=w.boundary;if(C===null)return To(f,g,w);if(C.parentFlushed=!0,C.forceClientRender)C=C.errorDigest,d(g,en),a(g,Pn),C&&(a(g,An),a(g,m(fe(C))),a(g,yr)),d(g,fo),To(f,g,w);else if(0<C.pendingTasks){C.rootSegmentID=f.nextSegmentId++,0<C.completedSegments.length&&f.partialBoundaries.push(C);var z=f.responseState,N=z.nextSuspenseID++;z=x(z.boundaryPrefix+N.toString(16)),C=C.id=z,xt(g,f.responseState,C),To(f,g,w)}else if(C.byteSize>f.progressiveChunkSize)C.rootSegmentID=f.nextSegmentId++,f.completedBoundaries.push(C),xt(g,f.responseState,C.id),To(f,g,w);else{if(d(g,uo),w=C.completedSegments,w.length!==1)throw Error(r(391));Ro(f,g,w[0])}return d(g,si)}function va(f,g,w){return Tt(g,f.responseState,w.formatContext,w.id),Ro(f,g,w),er(g,w.formatContext)}function ya(f,g,w){for(var C=w.completedSegments,z=0;z<C.length;z++)ba(f,g,w,C[z]);if(C.length=0,f=f.responseState,C=w.id,w=w.rootSegmentID,a(g,f.startInlineScript),f.sentCompleteBoundaryFunction?a(g,Rt):(f.sentCompleteBoundaryFunction=!0,a(g,Er)),C===null)throw Error(r(395));return w=m(w.toString(16)),a(g,C),a(g,ho),a(g,f.segmentPrefix),a(g,w),d(g,mo)}function ba(f,g,w,C){if(C.status===2)return!0;var z=C.id;if(z===-1){if((C.id=w.rootSegmentID)===-1)throw Error(r(392));return va(f,g,C)}return va(f,g,C),f=f.responseState,a(g,f.startInlineScript),f.sentCompleteSegmentFunction?a(g,Sr):(f.sentCompleteSegmentFunction=!0,a(g,on)),a(g,f.segmentPrefix),z=m(z.toString(16)),a(g,z),a(g,kr),a(g,f.placeholderPrefix),a(g,z),d(g,tr)}function mi(f,g){o=new Uint8Array(512),i=0;try{var w=f.completedRootSegment;if(w!==null&&f.pendingRootTasks===0){Ro(f,g,w),f.completedRootSegment=null;var C=f.responseState.bootstrapChunks;for(w=0;w<C.length-1;w++)a(g,C[w]);w<C.length&&d(g,C[w])}var z=f.clientRenderedBoundaries,N;for(N=0;N<z.length;N++){var G=z[N];C=g;var te=f.responseState,Ae=G.id,Le=G.errorDigest,De=G.errorMessage,et=G.errorComponentStack;if(a(C,te.startInlineScript),te.sentClientRenderFunction?a(C,lt):(te.sentClientRenderFunction=!0,a(C,fr)),Ae===null)throw Error(r(395));a(C,Ae),a(C,rr),(Le||De||et)&&(a(C,Cr),a(C,m($t(Le||"")))),(De||et)&&(a(C,Cr),a(C,m($t(De||"")))),et&&(a(C,Cr),a(C,m($t(et)))),d(C,nr)}z.splice(0,N);var It=f.completedBoundaries;for(N=0;N<It.length;N++)ya(f,g,It[N]);It.splice(0,N),h(g),o=new Uint8Array(512),i=0;var Bt=f.partialBoundaries;for(N=0;N<Bt.length;N++){var Ut=Bt[N];e:{z=f,G=g;var Po=Ut.completedSegments;for(te=0;te<Po.length;te++)if(!ba(z,G,Ut,Po[te])){te++,Po.splice(0,te);var wa=!1;break e}Po.splice(0,te),wa=!0}if(!wa){f.destination=null,N++,Bt.splice(0,N);return}}Bt.splice(0,N);var jn=f.completedBoundaries;for(N=0;N<jn.length;N++)ya(f,g,jn[N]);jn.splice(0,N)}finally{h(g),f.allPendingTasks===0&&f.pingedTasks.length===0&&f.clientRenderedBoundaries.length===0&&f.completedBoundaries.length===0&&g.close()}}function xa(f,g){try{var w=f.abortableTasks;w.forEach(function(C){return ha(C,f,g)}),w.clear(),f.destination!==null&&mi(f,f.destination)}catch(C){Ln(f,C),So(f,C)}}return $u.renderToReadableStream=function(f,g){return new Promise(function(w,C){var z,N,G=new Promise(function(De,et){N=De,z=et}),te=pi(f,Z(g?g.identifierPrefix:void 0,g?g.nonce:void 0,g?g.bootstrapScriptContent:void 0,g?g.bootstrapScripts:void 0,g?g.bootstrapModules:void 0),Q(g?g.namespaceURI:void 0),g?g.progressiveChunkSize:void 0,g?g.onError:void 0,N,function(){var De=new ReadableStream({type:"bytes",pull:function(et){if(te.status===1)te.status=2,R(et,te.fatalError);else if(te.status!==2&&te.destination===null){te.destination=et;try{mi(te,et)}catch(It){Ln(te,It),So(te,It)}}},cancel:function(){xa(te)}},{highWaterMark:0});De.allReady=G,w(De)},function(De){G.catch(function(){}),C(De)},z);if(g&&g.signal){var Ae=g.signal,Le=function(){xa(te,Ae.reason),Ae.removeEventListener("abort",Le)};Ae.addEventListener("abort",Le)}ga(te)})},$u.version="18.3.1",$u}var Hi={};/**
|
|
28
28
|
* @license React
|
|
29
29
|
* react-dom-server-legacy.browser.development.js
|
|
30
30
|
*
|
|
@@ -32,38 +32,38 @@
|
|
|
32
32
|
*
|
|
33
33
|
* This source code is licensed under the MIT license found in the
|
|
34
34
|
* LICENSE file in the root directory of this source tree.
|
|
35
|
-
*/var fh;function Hy(){return fh||(fh=1,process.env.NODE_ENV!=="production"&&function(){var e=A,t="18.3.1",n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(r){{for(var o=arguments.length,s=new Array(o>1?o-1:0),u=1;u<o;u++)s[u-1]=arguments[u];c("warn",r,s)}}function a(r){{for(var o=arguments.length,s=new Array(o>1?o-1:0),u=1;u<o;u++)s[u-1]=arguments[u];c("error",r,s)}}function c(r,o,s){{var u=n.ReactDebugCurrentFrame,g=u.getStackAddendum();g!==""&&(o+="%s",s=s.concat([g]));var w=s.map(function(k){return String(k)});w.unshift("Warning: "+o),Function.prototype.apply.call(console[r],console,w)}}function p(r){r()}function m(r){}function h(r,o){v(r,o)}function v(r,o){return r.push(o)}function C(r){}function x(r){r.push(null)}function F(r){return r}function I(r){return r}function L(r,o){r.destroy(o)}function D(r){{var o=typeof Symbol=="function"&&Symbol.toStringTag,s=o&&r[Symbol.toStringTag]||r.constructor.name||"Object";return s}}function T(r){try{return O(r),!1}catch{return!0}}function O(r){return""+r}function U(r,o){if(T(r))return a("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",o,D(r)),O(r)}function j(r,o){if(T(r))return a("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",o,D(r)),O(r)}function V(r){if(T(r))return a("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",D(r)),O(r)}var $=Object.prototype.hasOwnProperty,J=0,ae=1,re=2,le=3,ye=4,De=5,Fe=6,$e=":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",ze=$e+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",xe=new RegExp("^["+$e+"]["+ze+"]*$"),Re={},Le={};function Z(r){return $.call(Le,r)?!0:$.call(Re,r)?!1:xe.test(r)?(Le[r]=!0,!0):(Re[r]=!0,a("Invalid attribute name: `%s`",r),!1)}function ve(r,o,s,u){if(s!==null&&s.type===J)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":{if(s!==null)return!s.acceptsBooleans;var g=r.toLowerCase().slice(0,5);return g!=="data-"&&g!=="aria-"}default:return!1}}function Y(r){return fe.hasOwnProperty(r)?fe[r]:null}function K(r,o,s,u,g,w,k){this.acceptsBooleans=o===re||o===le||o===ye,this.attributeName=u,this.attributeNamespace=g,this.mustUseProperty=s,this.propertyName=r,this.type=o,this.sanitizeURL=w,this.removeEmptyString=k}var fe={},te=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];te.forEach(function(r){fe[r]=new K(r,J,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var o=r[0],s=r[1];fe[o]=new K(o,ae,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){fe[r]=new K(r,re,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){fe[r]=new K(r,re,!1,r,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"].forEach(function(r){fe[r]=new K(r,le,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){fe[r]=new K(r,le,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){fe[r]=new K(r,ye,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){fe[r]=new K(r,Fe,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){fe[r]=new K(r,De,!1,r.toLowerCase(),null,!1,!1)});var he=/[\-\:]([a-z])/g,me=function(r){return r[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"].forEach(function(r){var o=r.replace(he,me);fe[o]=new K(o,ae,!1,r,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(r){var o=r.replace(he,me);fe[o]=new K(o,ae,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var o=r.replace(he,me);fe[o]=new K(o,ae,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){fe[r]=new K(r,ae,!1,r.toLowerCase(),null,!1,!1)});var ue="xlinkHref";fe[ue]=new K("xlinkHref",ae,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){fe[r]=new K(r,ae,!1,r.toLowerCase(),null,!0,!0)});var ce={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Ee(r,o){return r+o.charAt(0).toUpperCase()+o.substring(1)}var Se=["Webkit","ms","Moz","O"];Object.keys(ce).forEach(function(r){Se.forEach(function(o){ce[Ee(o,r)]=ce[r]})});var Pe={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Be(r,o){Pe[o.type]||o.onChange||o.onInput||o.readOnly||o.disabled||o.value==null||a("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),o.onChange||o.readOnly||o.disabled||o.checked==null||a("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function se(r,o){if(r.indexOf("-")===-1)return typeof o.is=="string";switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var We={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},ot={},Nt=new RegExp("^(aria)-["+ze+"]*$"),Br=new RegExp("^(aria)[A-Z]["+ze+"]*$");function xo(r,o){{if($.call(ot,o)&&ot[o])return!0;if(Br.test(o)){var s="aria-"+o.slice(4).toLowerCase(),u=We.hasOwnProperty(s)?s:null;if(u==null)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",o),ot[o]=!0,!0;if(o!==u)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",o,u),ot[o]=!0,!0}if(Nt.test(o)){var g=o.toLowerCase(),w=We.hasOwnProperty(g)?g:null;if(w==null)return ot[o]=!0,!1;if(o!==w)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",o,w),ot[o]=!0,!0}}return!0}function zt(r,o){{var s=[];for(var u in o){var g=xo(r,u);g||s.push(u)}var w=s.map(function(k){return"`"+k+"`"}).join(", ");s.length===1?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",w,r):s.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",w,r)}}function Ur(r,o){se(r,o)||zt(r,o)}var Hr=!1;function So(r,o){{if(r!=="input"&&r!=="textarea"&&r!=="select")return;o!=null&&o.value===null&&!Hr&&(Hr=!0,r==="select"&&o.multiple?a("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",r):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",r))}}var Bt={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},gt=function(){};{var ft={},In=/^on./,Fn=/^on[^A-Z]/,Mn=new RegExp("^(aria)-["+ze+"]*$"),st=new RegExp("^(aria)[A-Z]["+ze+"]*$");gt=function(r,o,s,u){if($.call(ft,o)&&ft[o])return!0;var g=o.toLowerCase();if(g==="onfocusin"||g==="onfocusout")return a("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),ft[o]=!0,!0;if(u!=null){var w=u.registrationNameDependencies,k=u.possibleRegistrationNames;if(w.hasOwnProperty(o))return!0;var M=k.hasOwnProperty(g)?k[g]:null;if(M!=null)return a("Invalid event handler property `%s`. Did you mean `%s`?",o,M),ft[o]=!0,!0;if(In.test(o))return a("Unknown event handler property `%s`. It will be ignored.",o),ft[o]=!0,!0}else if(In.test(o))return Fn.test(o)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",o),ft[o]=!0,!0;if(Mn.test(o)||st.test(o))return!0;if(g==="innerhtml")return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ft[o]=!0,!0;if(g==="aria")return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ft[o]=!0,!0;if(g==="is"&&s!==null&&s!==void 0&&typeof s!="string")return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),ft[o]=!0,!0;if(typeof s=="number"&&isNaN(s))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",o),ft[o]=!0,!0;var z=Y(o),Q=z!==null&&z.type===J;if(Bt.hasOwnProperty(g)){var ee=Bt[g];if(ee!==o)return a("Invalid DOM property `%s`. Did you mean `%s`?",o,ee),ft[o]=!0,!0}else if(!Q&&o!==g)return a("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",o,g),ft[o]=!0,!0;return typeof s=="boolean"&&ve(o,s,z)?(s?a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',s,o,o,s,o):a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',s,o,o,s,o,o,o),ft[o]=!0,!0):Q?!0:ve(o,s,z)?(ft[o]=!0,!1):((s==="false"||s==="true")&&z!==null&&z.type===le&&(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,o,s==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',o,s),ft[o]=!0),!0)}}var Dn=function(r,o,s){{var u=[];for(var g in o){var w=gt(r,g,o[g],s);w||u.push(g)}var k=u.map(function(M){return"`"+M+"`"}).join(", ");u.length===1?a("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",k,r):u.length>1&&a("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",k,r)}};function ko(r,o,s){se(r,o)||Dn(r,o,s)}var Eo=function(){};{var _n=/^(?:webkit|moz|o)[A-Z]/,ln=/^-ms-/,Ei=/-(.)/g,Ln=/;\s*$/,Sr={},$n={},Co=!1,xt=!1,tr=function(r){return r.replace(Ei,function(o,s){return s.toUpperCase()})},kr=function(r){Sr.hasOwnProperty(r)&&Sr[r]||(Sr[r]=!0,a("Unsupported style property %s. Did you mean %s?",r,tr(r.replace(ln,"ms-"))))},Qe=function(r){Sr.hasOwnProperty(r)&&Sr[r]||(Sr[r]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",r,r.charAt(0).toUpperCase()+r.slice(1)))},Er=function(r,o){$n.hasOwnProperty(o)&&$n[o]||($n[o]=!0,a(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,r,o.replace(Ln,"")))},un=function(r,o){Co||(Co=!0,a("`NaN` is an invalid value for the `%s` css style property.",r))},Wr=function(r,o){xt||(xt=!0,a("`Infinity` is an invalid value for the `%s` css style property.",r))};Eo=function(r,o){r.indexOf("-")>-1?kr(r):_n.test(r)?Qe(r):Ln.test(o)&&Er(r,o),typeof o=="number"&&(isNaN(o)?un(r,o):isFinite(o)||Wr(r,o))}}var rr=Eo,cn=/["'&<>]/;function hr(r){V(r);var o=""+r,s=cn.exec(o);if(!s)return o;var u,g="",w,k=0;for(w=s.index;w<o.length;w++){switch(o.charCodeAt(w)){case 34:u=""";break;case 38:u="&";break;case 39:u="'";break;case 60:u="<";break;case 62:u=">";break;default:continue}k!==w&&(g+=o.substring(k,w)),k=w+1,g+=u}return k!==w?g+o.substring(k,w):g}function dt(r){return typeof r=="boolean"||typeof r=="number"?""+r:hr(r)}var jn=/([A-Z])/g,Nn=/^ms-/;function To(r){return r.replace(jn,"-$1").toLowerCase().replace(Nn,"-ms-")}var lt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,zn=!1;function Ci(r){!zn&<.test(r)&&(zn=!0,a("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(r)))}var Ti=Array.isArray;function nr(r){return Ti(r)}var Bn="<script>";function fn(r,o,s,u,g){var w=r===void 0?"":r,k=Bn,M=[];return{bootstrapChunks:M,startInlineScript:k,placeholderPrefix:w+"P:",segmentPrefix:w+"S:",boundaryPrefix:w+"B:",idPrefix:w,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Cr=0,Rt=1,or=2,dn=3,Tr=4,Rr=5,ir=6,Pr=7;function Pt(r,o){return{insertionMode:r,selectedValue:o}}function Ro(r,o,s){switch(o){case"select":return Pt(Rt,s.value!=null?s.value:s.defaultValue);case"svg":return Pt(or,null);case"math":return Pt(dn,null);case"foreignObject":return Pt(Rt,null);case"table":return Pt(Tr,null);case"thead":case"tbody":case"tfoot":return Pt(Rr,null);case"colgroup":return Pt(Pr,null);case"tr":return Pt(ir,null)}return r.insertionMode>=Tr||r.insertionMode===Cr?Pt(Rt,null):r}var Po=null;function mr(r){var o=r.nextSuspenseID++;return r.boundaryPrefix+o.toString(16)}function ut(r,o,s){var u=r.idPrefix,g=":"+u+"R"+o;return s>0&&(g+="H"+s.toString(32)),g+":"}function ar(r){return dt(r)}var sr="<!-- -->";function Ar(r,o,s,u){return o===""?u:(u&&r.push(sr),r.push(ar(o)),!0)}function pn(r,o,s,u){s&&u&&r.push(sr)}var Ut=new Map;function lr(r){var o=Ut.get(r);if(o!==void 0)return o;var s=dt(To(r));return Ut.set(r,s),s}var St=' style="',Or=":",Vr=";";function hn(r,o,s){if(typeof s!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var u=!0;for(var g in s)if($.call(s,g)){var w=s[g];if(!(w==null||typeof w=="boolean"||w==="")){var k=void 0,M=void 0,z=g.indexOf("--")===0;z?(k=dt(g),j(w,g),M=dt((""+w).trim())):(rr(g,w),k=lr(g),typeof w=="number"?w!==0&&!$.call(ce,g)?M=w+"px":M=""+w:(j(w,g),M=dt((""+w).trim()))),u?(u=!1,r.push(St,k,Or,M)):r.push(Vr,k,Or,M)}}u||r.push(kt)}var _t=" ",ur='="',kt='"',mn='=""';function mt(r,o,s,u){switch(s){case"style":{hn(r,o,u);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(s.length>2&&(s[0]==="o"||s[0]==="O")&&(s[1]==="n"||s[1]==="N"))){var g=Y(s);if(g!==null){switch(typeof u){case"function":case"symbol":return;case"boolean":if(!g.acceptsBooleans)return}var w=g.attributeName,k=w;switch(g.type){case le:u&&r.push(_t,k,mn);return;case ye:u===!0?r.push(_t,k,mn):u===!1||r.push(_t,k,ur,dt(u),kt);return;case De:isNaN(u)||r.push(_t,k,ur,dt(u),kt);break;case Fe:!isNaN(u)&&u>=1&&r.push(_t,k,ur,dt(u),kt);break;default:g.sanitizeURL&&(U(u,w),u=""+u,Ci(u)),r.push(_t,k,ur,dt(u),kt)}}else if(Z(s)){switch(typeof u){case"function":case"symbol":return;case"boolean":{var M=s.toLowerCase().slice(0,5);if(M!=="data-"&&M!=="aria-")return}}r.push(_t,s,ur,dt(u),kt)}}}var At=">",f="/>";function b(r,o,s){if(o!=null){if(s!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof o!="object"||!("__html"in o))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var u=o.__html;u!=null&&(V(u),r.push(""+u))}}var E=!1,P=!1,H=!1,N=!1,G=!1,ne=!1,ke=!1;function Ae(r,o){{var s=r[o];if(s!=null){var u=nr(s);r.multiple&&!u?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.",o):!r.multiple&&u&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",o)}}}function Ce(r,o,s){Be("select",o),Ae(o,"value"),Ae(o,"defaultValue"),o.value!==void 0&&o.defaultValue!==void 0&&!H&&(a("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),H=!0),r.push(fr("select"));var u=null,g=null;for(var w in o)if($.call(o,w)){var k=o[w];if(k==null)continue;switch(w){case"children":u=k;break;case"dangerouslySetInnerHTML":g=k;break;case"defaultValue":case"value":break;default:mt(r,s,w,k);break}}return r.push(At),b(r,g,u),u}function Ve(r){var o="";return e.Children.forEach(r,function(s){s!=null&&(o+=s,!G&&typeof s!="string"&&typeof s!="number"&&(G=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),o}var Et=' selected=""';function Ct(r,o,s,u){var g=u.selectedValue;r.push(fr("option"));var w=null,k=null,M=null,z=null;for(var Q in o)if($.call(o,Q)){var ee=o[Q];if(ee==null)continue;switch(Q){case"children":w=ee;break;case"selected":M=ee,ke||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ke=!0);break;case"dangerouslySetInnerHTML":z=ee;break;case"value":k=ee;default:mt(r,s,Q,ee);break}}if(g!=null){var de;if(k!==null?(U(k,"value"),de=""+k):(z!==null&&(ne||(ne=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),de=Ve(w)),nr(g))for(var Me=0;Me<g.length;Me++){U(g[Me],"value");var Xe=""+g[Me];if(Xe===de){r.push(Et);break}}else U(g,"select.value"),""+g===de&&r.push(Et)}else M&&r.push(Et);return r.push(At),b(r,z,w),w}function Tt(r,o,s){Be("input",o),o.checked!==void 0&&o.defaultChecked!==void 0&&!P&&(a("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",o.type),P=!0),o.value!==void 0&&o.defaultValue!==void 0&&!E&&(a("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",o.type),E=!0),r.push(fr("input"));var u=null,g=null,w=null,k=null;for(var M in o)if($.call(o,M)){var z=o[M];if(z==null)continue;switch(M){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":k=z;break;case"defaultValue":g=z;break;case"checked":w=z;break;case"value":u=z;break;default:mt(r,s,M,z);break}}return w!==null?mt(r,s,"checked",w):k!==null&&mt(r,s,"checked",k),u!==null?mt(r,s,"value",u):g!==null&&mt(r,s,"value",g),r.push(f),null}function Ir(r,o,s){Be("textarea",o),o.value!==void 0&&o.defaultValue!==void 0&&!N&&(a("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),N=!0),r.push(fr("textarea"));var u=null,g=null,w=null;for(var k in o)if($.call(o,k)){var M=o[k];if(M==null)continue;switch(k){case"children":w=M;break;case"value":u=M;break;case"defaultValue":g=M;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:mt(r,s,k,M);break}}if(u===null&&g!==null&&(u=g),r.push(At),w!=null){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),u!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(nr(w)){if(w.length>1)throw new Error("<textarea> can only have at most one child.");V(w[0]),u=""+w[0]}V(w),u=""+w}return typeof u=="string"&&u[0]===`
|
|
36
|
-
`&&
|
|
37
|
-
`;function
|
|
38
|
-
`?
|
|
39
|
-
`&&
|
|
40
|
-
`+
|
|
41
|
-
`),
|
|
42
|
-
`),
|
|
43
|
-
`+
|
|
44
|
-
|
|
45
|
-
Please check the code for the %s component.`,
|
|
35
|
+
*/var hp;function nv(){return hp||(hp=1,process.env.NODE_ENV!=="production"&&function(){var e=V,r="18.3.1",o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(t){{for(var n=arguments.length,s=new Array(n>1?n-1:0),u=1;u<n;u++)s[u-1]=arguments[u];d("warn",t,s)}}function a(t){{for(var n=arguments.length,s=new Array(n>1?n-1:0),u=1;u<n;u++)s[u-1]=arguments[u];d("error",t,s)}}function d(t,n,s){{var u=o.ReactDebugCurrentFrame,p=u.getStackAddendum();p!==""&&(n+="%s",s=s.concat([p]));var b=s.map(function(S){return String(S)});b.unshift("Warning: "+n),Function.prototype.apply.call(console[t],console,b)}}function h(t){t()}function y(t){}function m(t,n){x(t,n)}function x(t,n){return t.push(n)}function R(t){}function E(t){t.push(null)}function F(t){return t}function M(t){return t}function B(t,n){t.destroy(n)}function D(t){{var n=typeof Symbol=="function"&&Symbol.toStringTag,s=n&&t[Symbol.toStringTag]||t.constructor.name||"Object";return s}}function P(t){try{return I(t),!1}catch{return!0}}function I(t){return""+t}function W(t,n){if(P(t))return a("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",n,D(t)),I(t)}function U(t,n){if(P(t))return a("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",n,D(t)),I(t)}function Y(t){if(P(t))return a("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",D(t)),I(t)}var _=Object.prototype.hasOwnProperty,ie=0,fe=1,ne=2,ae=3,Fe=4,Ne=5,_e=6,Ge=":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",Qe=Ge+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ke=new RegExp("^["+Ge+"]["+Qe+"]*$"),Ce={},je={};function Z(t){return _.call(je,t)?!0:_.call(Ce,t)?!1:ke.test(t)?(je[t]=!0,!0):(Ce[t]=!0,a("Invalid attribute name: `%s`",t),!1)}function be(t,n,s,u){if(s!==null&&s.type===ie)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":{if(s!==null)return!s.acceptsBooleans;var p=t.toLowerCase().slice(0,5);return p!=="data-"&&p!=="aria-"}default:return!1}}function Q(t){return ce.hasOwnProperty(t)?ce[t]:null}function J(t,n,s,u,p,b,S){this.acceptsBooleans=n===ne||n===ae||n===Fe,this.attributeName=u,this.attributeNamespace=p,this.mustUseProperty=s,this.propertyName=t,this.type=n,this.sanitizeURL=b,this.removeEmptyString=S}var ce={},me=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];me.forEach(function(t){ce[t]=new J(t,ie,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var n=t[0],s=t[1];ce[n]=new J(n,fe,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){ce[t]=new J(t,ne,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){ce[t]=new J(t,ne,!1,t,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"].forEach(function(t){ce[t]=new J(t,ae,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){ce[t]=new J(t,ae,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){ce[t]=new J(t,Fe,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){ce[t]=new J(t,_e,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){ce[t]=new J(t,Ne,!1,t.toLowerCase(),null,!1,!1)});var pe=/[\-\:]([a-z])/g,ge=function(t){return t[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"].forEach(function(t){var n=t.replace(pe,ge);ce[n]=new J(n,fe,!1,t,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(t){var n=t.replace(pe,ge);ce[n]=new J(n,fe,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var n=t.replace(pe,ge);ce[n]=new J(n,fe,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){ce[t]=new J(t,fe,!1,t.toLowerCase(),null,!1,!1)});var se="xlinkHref";ce[se]=new J("xlinkHref",fe,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){ce[t]=new J(t,fe,!1,t.toLowerCase(),null,!0,!0)});var ue={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Te(t,n){return t+n.charAt(0).toUpperCase()+n.substring(1)}var Ee=["Webkit","ms","Moz","O"];Object.keys(ue).forEach(function(t){Ee.forEach(function(n){ue[Te(n,t)]=ue[t]})});var Re={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function $e(t,n){Re[n.type]||n.onChange||n.onInput||n.readOnly||n.disabled||n.value==null||a("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),n.onChange||n.readOnly||n.disabled||n.checked==null||a("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function oe(t,n){if(t.indexOf("-")===-1)return typeof n.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ue={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},nt={},Lt=new RegExp("^(aria)-["+Qe+"]*$"),Lr=new RegExp("^(aria)[A-Z]["+Qe+"]*$");function so(t,n){{if(_.call(nt,n)&&nt[n])return!0;if(Lr.test(n)){var s="aria-"+n.slice(4).toLowerCase(),u=Ue.hasOwnProperty(s)?s:null;if(u==null)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",n),nt[n]=!0,!0;if(n!==u)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",n,u),nt[n]=!0,!0}if(Lt.test(n)){var p=n.toLowerCase(),b=Ue.hasOwnProperty(p)?p:null;if(b==null)return nt[n]=!0,!1;if(n!==b)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",n,b),nt[n]=!0,!0}}return!0}function jt(t,n){{var s=[];for(var u in n){var p=so(t,u);p||s.push(u)}var b=s.map(function(S){return"`"+S+"`"}).join(", ");s.length===1?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",b,t):s.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",b,t)}}function jr(t,n){oe(t,n)||jt(t,n)}var Nr=!1;function lo(t,n){{if(t!=="input"&&t!=="textarea"&&t!=="select")return;n!=null&&n.value===null&&!Nr&&(Nr=!0,t==="select"&&n.multiple?a("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",t):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t))}}var Nt={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},mt=function(){};{var ct={},kn=/^on./,En=/^on[^A-Z]/,Cn=new RegExp("^(aria)-["+Qe+"]*$"),at=new RegExp("^(aria)[A-Z]["+Qe+"]*$");mt=function(t,n,s,u){if(_.call(ct,n)&&ct[n])return!0;var p=n.toLowerCase();if(p==="onfocusin"||p==="onfocusout")return a("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),ct[n]=!0,!0;if(u!=null){var b=u.registrationNameDependencies,S=u.possibleRegistrationNames;if(b.hasOwnProperty(n))return!0;var A=S.hasOwnProperty(p)?S[p]:null;if(A!=null)return a("Invalid event handler property `%s`. Did you mean `%s`?",n,A),ct[n]=!0,!0;if(kn.test(n))return a("Unknown event handler property `%s`. It will be ignored.",n),ct[n]=!0,!0}else if(kn.test(n))return En.test(n)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",n),ct[n]=!0,!0;if(Cn.test(n)||at.test(n))return!0;if(p==="innerhtml")return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ct[n]=!0,!0;if(p==="aria")return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ct[n]=!0,!0;if(p==="is"&&s!==null&&s!==void 0&&typeof s!="string")return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),ct[n]=!0,!0;if(typeof s=="number"&&isNaN(s))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",n),ct[n]=!0,!0;var j=Q(n),q=j!==null&&j.type===ie;if(Nt.hasOwnProperty(p)){var K=Nt[p];if(K!==n)return a("Invalid DOM property `%s`. Did you mean `%s`?",n,K),ct[n]=!0,!0}else if(!q&&n!==p)return a("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",n,p),ct[n]=!0,!0;return typeof s=="boolean"&&be(n,s,j)?(s?a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',s,n,n,s,n):a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',s,n,n,s,n,n,n),ct[n]=!0,!0):q?!0:be(n,s,j)?(ct[n]=!0,!1):((s==="false"||s==="true")&&j!==null&&j.type===ae&&(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,n,s==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',n,s),ct[n]=!0),!0)}}var Tn=function(t,n,s){{var u=[];for(var p in n){var b=mt(t,p,n[p],s);b||u.push(p)}var S=u.map(function(A){return"`"+A+"`"}).join(", ");u.length===1?a("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",S,t):u.length>1&&a("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",S,t)}};function uo(t,n,s){oe(t,n)||Tn(t,n,s)}var co=function(){};{var Rn=/^(?:webkit|moz|o)[A-Z]/,en=/^-ms-/,si=/-(.)/g,Pn=/;\s*$/,yr={},An={},fo=!1,xt=!1,Jt=function(t){return t.replace(si,function(n,s){return s.toUpperCase()})},br=function(t){yr.hasOwnProperty(t)&&yr[t]||(yr[t]=!0,a("Unsupported style property %s. Did you mean %s?",t,Jt(t.replace(en,"ms-"))))},Xe=function(t){yr.hasOwnProperty(t)&&yr[t]||(yr[t]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1)))},xr=function(t,n){An.hasOwnProperty(n)&&An[n]||(An[n]=!0,a(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(Pn,"")))},tn=function(t,n){fo||(fo=!0,a("`NaN` is an invalid value for the `%s` css style property.",t))},$r=function(t,n){xt||(xt=!0,a("`Infinity` is an invalid value for the `%s` css style property.",t))};co=function(t,n){t.indexOf("-")>-1?br(t):Rn.test(t)?Xe(t):Pn.test(n)&&xr(t,n),typeof n=="number"&&(isNaN(n)?tn(t,n):isFinite(n)||$r(t,n))}}var Kt=co,rn=/["'&<>]/;function cr(t){Y(t);var n=""+t,s=rn.exec(n);if(!s)return n;var u,p="",b,S=0;for(b=s.index;b<n.length;b++){switch(n.charCodeAt(b)){case 34:u=""";break;case 38:u="&";break;case 39:u="'";break;case 60:u="<";break;case 62:u=">";break;default:continue}S!==b&&(p+=n.substring(S,b)),S=b+1,p+=u}return S!==b?p+n.substring(S,b):p}function ft(t){return typeof t=="boolean"||typeof t=="number"?""+t:cr(t)}var In=/([A-Z])/g,On=/^ms-/;function po(t){return t.replace(In,"-$1").toLowerCase().replace(On,"-ms-")}var st=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Fn=!1;function li(t){!Fn&&st.test(t)&&(Fn=!0,a("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(t)))}var ui=Array.isArray;function Zt(t){return ui(t)}var Mn="<script>";function nn(t,n,s,u,p){var b=t===void 0?"":t,S=Mn,A=[];return{bootstrapChunks:A,startInlineScript:S,placeholderPrefix:b+"P:",segmentPrefix:b+"S:",boundaryPrefix:b+"B:",idPrefix:b,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var wr=0,Tt=1,er=2,on=3,Sr=4,kr=5,tr=6,Er=7;function Rt(t,n){return{insertionMode:t,selectedValue:n}}function ho(t,n,s){switch(n){case"select":return Rt(Tt,s.value!=null?s.value:s.defaultValue);case"svg":return Rt(er,null);case"math":return Rt(on,null);case"foreignObject":return Rt(Tt,null);case"table":return Rt(Sr,null);case"thead":case"tbody":case"tfoot":return Rt(kr,null);case"colgroup":return Rt(Er,null);case"tr":return Rt(tr,null)}return t.insertionMode>=Sr||t.insertionMode===wr?Rt(Tt,null):t}var mo=null;function fr(t){var n=t.nextSuspenseID++;return t.boundaryPrefix+n.toString(16)}function lt(t,n,s){var u=t.idPrefix,p=":"+u+"R"+n;return s>0&&(p+="H"+s.toString(32)),p+":"}function rr(t){return ft(t)}var nr="<!-- -->";function Cr(t,n,s,u){return n===""?u:(u&&t.push(nr),t.push(rr(n)),!0)}function an(t,n,s,u){s&&u&&t.push(nr)}var $t=new Map;function or(t){var n=$t.get(t);if(n!==void 0)return n;var s=ft(po(t));return $t.set(t,s),s}var wt=' style="',Tr=":",zr=";";function sn(t,n,s){if(typeof s!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var u=!0;for(var p in s)if(_.call(s,p)){var b=s[p];if(!(b==null||typeof b=="boolean"||b==="")){var S=void 0,A=void 0,j=p.indexOf("--")===0;j?(S=ft(p),U(b,p),A=ft((""+b).trim())):(Kt(p,b),S=or(p),typeof b=="number"?b!==0&&!_.call(ue,p)?A=b+"px":A=""+b:(U(b,p),A=ft((""+b).trim()))),u?(u=!1,t.push(wt,S,Tr,A)):t.push(zr,S,Tr,A)}}u||t.push(St)}var Ft=" ",ir='="',St='"',ln='=""';function ht(t,n,s,u){switch(s){case"style":{sn(t,n,u);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(s.length>2&&(s[0]==="o"||s[0]==="O")&&(s[1]==="n"||s[1]==="N"))){var p=Q(s);if(p!==null){switch(typeof u){case"function":case"symbol":return;case"boolean":if(!p.acceptsBooleans)return}var b=p.attributeName,S=b;switch(p.type){case ae:u&&t.push(Ft,S,ln);return;case Fe:u===!0?t.push(Ft,S,ln):u===!1||t.push(Ft,S,ir,ft(u),St);return;case Ne:isNaN(u)||t.push(Ft,S,ir,ft(u),St);break;case _e:!isNaN(u)&&u>=1&&t.push(Ft,S,ir,ft(u),St);break;default:p.sanitizeURL&&(W(u,b),u=""+u,li(u)),t.push(Ft,S,ir,ft(u),St)}}else if(Z(s)){switch(typeof u){case"function":case"symbol":return;case"boolean":{var A=s.toLowerCase().slice(0,5);if(A!=="data-"&&A!=="aria-")return}}t.push(Ft,s,ir,ft(u),St)}}}var Pt=">",c="/>";function v(t,n,s){if(n!=null){if(s!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof n!="object"||!("__html"in n))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var u=n.__html;u!=null&&(Y(u),t.push(""+u))}}var k=!1,T=!1,$=!1,L=!1,H=!1,ee=!1,xe=!1;function Pe(t,n){{var s=t[n];if(s!=null){var u=Zt(s);t.multiple&&!u?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.",n):!t.multiple&&u&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",n)}}}function we(t,n,s){$e("select",n),Pe(n,"value"),Pe(n,"defaultValue"),n.value!==void 0&&n.defaultValue!==void 0&&!$&&(a("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),$=!0),t.push(sr("select"));var u=null,p=null;for(var b in n)if(_.call(n,b)){var S=n[b];if(S==null)continue;switch(b){case"children":u=S;break;case"dangerouslySetInnerHTML":p=S;break;case"defaultValue":case"value":break;default:ht(t,s,b,S);break}}return t.push(Pt),v(t,p,u),u}function He(t){var n="";return e.Children.forEach(t,function(s){s!=null&&(n+=s,!H&&typeof s!="string"&&typeof s!="number"&&(H=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),n}var kt=' selected=""';function Et(t,n,s,u){var p=u.selectedValue;t.push(sr("option"));var b=null,S=null,A=null,j=null;for(var q in n)if(_.call(n,q)){var K=n[q];if(K==null)continue;switch(q){case"children":b=K;break;case"selected":A=K,xe||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),xe=!0);break;case"dangerouslySetInnerHTML":j=K;break;case"value":S=K;default:ht(t,s,q,K);break}}if(p!=null){var le;if(S!==null?(W(S,"value"),le=""+S):(j!==null&&(ee||(ee=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),le=He(b)),Zt(p))for(var Oe=0;Oe<p.length;Oe++){W(p[Oe],"value");var Ye=""+p[Oe];if(Ye===le){t.push(kt);break}}else W(p,"select.value"),""+p===le&&t.push(kt)}else A&&t.push(kt);return t.push(Pt),v(t,j,b),b}function Ct(t,n,s){$e("input",n),n.checked!==void 0&&n.defaultChecked!==void 0&&!T&&(a("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",n.type),T=!0),n.value!==void 0&&n.defaultValue!==void 0&&!k&&(a("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",n.type),k=!0),t.push(sr("input"));var u=null,p=null,b=null,S=null;for(var A in n)if(_.call(n,A)){var j=n[A];if(j==null)continue;switch(A){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":S=j;break;case"defaultValue":p=j;break;case"checked":b=j;break;case"value":u=j;break;default:ht(t,s,A,j);break}}return b!==null?ht(t,s,"checked",b):S!==null&&ht(t,s,"checked",S),u!==null?ht(t,s,"value",u):p!==null&&ht(t,s,"value",p),t.push(c),null}function Rr(t,n,s){$e("textarea",n),n.value!==void 0&&n.defaultValue!==void 0&&!L&&(a("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),L=!0),t.push(sr("textarea"));var u=null,p=null,b=null;for(var S in n)if(_.call(n,S)){var A=n[S];if(A==null)continue;switch(S){case"children":b=A;break;case"value":u=A;break;case"defaultValue":p=A;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:ht(t,s,S,A);break}}if(u===null&&p!==null&&(u=p),t.push(Pt),b!=null){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),u!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Zt(b)){if(b.length>1)throw new Error("<textarea> can only have at most one child.");Y(b[0]),u=""+b[0]}Y(b),u=""+b}return typeof u=="string"&&u[0]===`
|
|
36
|
+
`&&t.push(Ur),u!==null&&(W(u,"value"),t.push(rr(""+u))),null}function ar(t,n,s,u){t.push(sr(s));for(var p in n)if(_.call(n,p)){var b=n[p];if(b==null)continue;switch(p){case"children":case"dangerouslySetInnerHTML":throw new Error(s+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:ht(t,u,p,b);break}}return t.push(c),null}function un(t,n,s){t.push(sr("menuitem"));for(var u in n)if(_.call(n,u)){var p=n[u];if(p==null)continue;switch(u){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:ht(t,s,u,p);break}}return t.push(Pt),null}function Pr(t,n,s){t.push(sr("title"));var u=null;for(var p in n)if(_.call(n,p)){var b=n[p];if(b==null)continue;switch(p){case"children":u=b;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:ht(t,s,p,b);break}}t.push(Pt);{var S=Array.isArray(u)&&u.length<2?u[0]||null:u;Array.isArray(u)&&u.length>1?a("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):S!=null&&S.$$typeof!=null?a("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):S!=null&&typeof S!="string"&&typeof S!="number"&&a("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return u}function Br(t,n,s,u){t.push(sr(s));var p=null,b=null;for(var S in n)if(_.call(n,S)){var A=n[S];if(A==null)continue;switch(S){case"children":p=A;break;case"dangerouslySetInnerHTML":b=A;break;default:ht(t,u,S,A);break}}return t.push(Pt),v(t,b,p),typeof p=="string"?(t.push(rr(p)),null):p}function dr(t,n,s,u){t.push(sr(s));var p=null,b=null;for(var S in n)if(_.call(n,S)){var A=n[S];if(A==null)continue;switch(S){case"children":p=A;break;case"dangerouslySetInnerHTML":b=A;break;case"style":sn(t,u,A);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Z(S)&&typeof A!="function"&&typeof A!="symbol"&&t.push(Ft,S,ir,ft(A),St);break}}return t.push(Pt),v(t,b,p),p}var Ur=`
|
|
37
|
+
`;function _s(t,n,s,u){t.push(sr(s));var p=null,b=null;for(var S in n)if(_.call(n,S)){var A=n[S];if(A==null)continue;switch(S){case"children":p=A;break;case"dangerouslySetInnerHTML":b=A;break;default:ht(t,u,S,A);break}}if(t.push(Pt),b!=null){if(p!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof b!="object"||!("__html"in b))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var j=b.__html;j!=null&&(typeof j=="string"&&j.length>0&&j[0]===`
|
|
38
|
+
`?t.push(Ur,j):(Y(j),t.push(""+j)))}return typeof p=="string"&&p[0]===`
|
|
39
|
+
`&&t.push(Ur),p}var Ls=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,go=new Map;function sr(t){var n=go.get(t);if(n===void 0){if(!Ls.test(t))throw new Error("Invalid tag: "+t);n="<"+t,go.set(t,n)}return n}var js="<!DOCTYPE html>";function pr(t,n,s,u,p){switch(jr(n,s),lo(n,s),uo(n,s,null),!s.suppressContentEditableWarning&&s.contentEditable&&s.children!=null&&a("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),p.insertionMode!==er&&p.insertionMode!==on&&n.indexOf("-")===-1&&typeof s.is!="string"&&n.toLowerCase()!==n&&a("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",n),n){case"select":return we(t,s,u);case"option":return Et(t,s,u,p);case"textarea":return Rr(t,s,u);case"input":return Ct(t,s,u);case"menuitem":return un(t,s,u);case"title":return Pr(t,s,u);case"listing":case"pre":return _s(t,s,n,u);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return ar(t,s,n,u);case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Br(t,s,n,u);case"html":return p.insertionMode===wr&&t.push(js),Br(t,s,n,u);default:return n.indexOf("-")===-1&&typeof s.is!="string"?Br(t,s,n,u):dr(t,s,n,u)}}var ci="</",vo=">";function qe(t,n,s){switch(n){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:t.push(ci,n,vo)}}function Hr(t,n){for(var s=n.bootstrapChunks,u=0;u<s.length-1;u++)m(t,s[u]);return u<s.length?x(t,s[u]):!0}var yo='<template id="',Wr='"></template>';function Ar(t,n,s){m(t,yo),m(t,n.placeholderPrefix);var u=s.toString(16);return m(t,u),x(t,Wr)}var bo="<!--$-->",Ir='<!--$?--><template id="',zt='"></template>',fi="<!--$!-->",Dn="<!--/$-->",sa="<template",xo='"',la=' data-dgst="',Ns=' data-msg="',$s=' data-stck="',wo="></template>";function ua(t,n){return x(t,bo)}function _n(t,n,s){if(m(t,Ir),s===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return m(t,s),x(t,zt)}function di(t,n,s,u,p){var b;return b=x(t,fi),m(t,sa),s&&(m(t,la),m(t,ft(s)),m(t,xo)),u&&(m(t,Ns),m(t,ft(u)),m(t,xo)),p&&(m(t,$s),m(t,ft(p)),m(t,xo)),b=x(t,wo),b}function zs(t,n){return x(t,Dn)}function cn(t,n){return x(t,Dn)}function pi(t,n){return x(t,Dn)}var hi='<div hidden id="',fn='">',Ln="</div>",So='<svg aria-hidden="true" style="display:none" id="',ca='">',fa="</svg>",da='<math aria-hidden="true" style="display:none" id="',ko='">',At="</math>",pa='<table hidden id="',Eo='">',Bs="</table>",ha='<table hidden><tbody id="',Co='">',ma="</tbody></table>",ga='<table hidden><tr id="',To='">',Ro="</tr></table>",va='<table hidden><colgroup id="',ya='">',ba="</colgroup></table>";function mi(t,n,s,u){switch(s.insertionMode){case wr:case Tt:return m(t,hi),m(t,n.segmentPrefix),m(t,u.toString(16)),x(t,fn);case er:return m(t,So),m(t,n.segmentPrefix),m(t,u.toString(16)),x(t,ca);case on:return m(t,da),m(t,n.segmentPrefix),m(t,u.toString(16)),x(t,ko);case Sr:return m(t,pa),m(t,n.segmentPrefix),m(t,u.toString(16)),x(t,Eo);case kr:return m(t,ha),m(t,n.segmentPrefix),m(t,u.toString(16)),x(t,Co);case tr:return m(t,ga),m(t,n.segmentPrefix),m(t,u.toString(16)),x(t,To);case Er:return m(t,va),m(t,n.segmentPrefix),m(t,u.toString(16)),x(t,ya);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function xa(t,n){switch(n.insertionMode){case wr:case Tt:return x(t,Ln);case er:return x(t,fa);case on:return x(t,At);case Sr:return x(t,Bs);case kr:return x(t,ma);case tr:return x(t,Ro);case Er:return x(t,ba);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var f="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",g='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',w='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',C=f+';$RS("',z='$RS("',N='","',G='")<\/script>';function te(t,n,s){m(t,n.startInlineScript),n.sentCompleteSegmentFunction?m(t,z):(n.sentCompleteSegmentFunction=!0,m(t,C)),m(t,n.segmentPrefix);var u=s.toString(16);return m(t,u),m(t,N),m(t,n.placeholderPrefix),m(t,u),x(t,G)}var Ae=g+';$RC("',Le='$RC("',De='","',et='")<\/script>';function It(t,n,s,u){if(m(t,n.startInlineScript),n.sentCompleteBoundaryFunction?m(t,Le):(n.sentCompleteBoundaryFunction=!0,m(t,Ae)),s===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var p=u.toString(16);return m(t,s),m(t,De),m(t,n.segmentPrefix),m(t,p),x(t,et)}var Bt=w+';$RX("',Ut='$RX("',Po='"',wa=")<\/script>",jn=",";function Ec(t,n,s,u,p,b){if(m(t,n.startInlineScript),n.sentClientRenderFunction?m(t,Ut):(n.sentClientRenderFunction=!0,m(t,Bt)),s===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return m(t,s),m(t,Po),(u||p||b)&&(m(t,jn),m(t,Us(u||""))),(p||b)&&(m(t,jn),m(t,Us(p||""))),b&&(m(t,jn),m(t,Us(b))),x(t,wa)}var Cc=/[<\u2028\u2029]/g;function Us(t){var n=JSON.stringify(t);return n.replace(Cc,function(s){switch(s){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function Tc(t,n){var s=nn(n);return{bootstrapChunks:s.bootstrapChunks,startInlineScript:s.startInlineScript,placeholderPrefix:s.placeholderPrefix,segmentPrefix:s.segmentPrefix,boundaryPrefix:s.boundaryPrefix,idPrefix:s.idPrefix,nextSuspenseID:s.nextSuspenseID,sentCompleteSegmentFunction:s.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:s.sentCompleteBoundaryFunction,sentClientRenderFunction:s.sentClientRenderFunction,generateStaticMarkup:t}}function Rc(){return{insertionMode:Tt,selectedValue:null}}function Kl(t,n,s,u){return s.generateStaticMarkup?(t.push(ft(n)),!1):Cr(t,n,s,u)}function Zl(t,n,s,u){if(!n.generateStaticMarkup)return an(t,n,s,u)}function Pc(t,n){return n.generateStaticMarkup?!0:ua(t)}function Ac(t,n,s,u,p){return n.generateStaticMarkup?!0:di(t,n,s,u,p)}function Ic(t,n){return n.generateStaticMarkup?!0:zs(t)}function Oc(t,n){return n.generateStaticMarkup?!0:pi(t)}var Mt=Object.assign,Fc=Symbol.for("react.element"),eu=Symbol.for("react.portal"),Sa=Symbol.for("react.fragment"),Ht=Symbol.for("react.strict_mode"),tu=Symbol.for("react.profiler"),ka=Symbol.for("react.provider"),Ea=Symbol.for("react.context"),Ca=Symbol.for("react.forward_ref"),Ta=Symbol.for("react.suspense"),gi=Symbol.for("react.suspense_list"),vi=Symbol.for("react.memo"),Ao=Symbol.for("react.lazy"),Hs=Symbol.for("react.scope"),Ws=Symbol.for("react.debug_trace_mode"),Vs=Symbol.for("react.legacy_hidden"),Ra=Symbol.for("react.default_value"),ru=Symbol.iterator,Mc="@@iterator";function Dc(t){if(t===null||typeof t!="object")return null;var n=ru&&t[ru]||t[Mc];return typeof n=="function"?n:null}function _c(t,n,s){var u=t.displayName;if(u)return u;var p=n.displayName||n.name||"";return p!==""?s+"("+p+")":s}function Ys(t){return t.displayName||"Context"}function ot(t){if(t==null)return null;if(typeof t.tag=="number"&&a("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Sa:return"Fragment";case eu:return"Portal";case tu:return"Profiler";case Ht:return"StrictMode";case Ta:return"Suspense";case gi:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case Ea:var n=t;return Ys(n)+".Consumer";case ka:var s=t;return Ys(s._context)+".Provider";case Ca:return _c(t,t.render,"ForwardRef");case vi:var u=t.displayName||null;return u!==null?u:ot(t.type)||"Memo";case Ao:{var p=t,b=p._payload,S=p._init;try{return ot(S(b))}catch{return null}}}return null}var yi=0,nu,Gs,rt,Io,Qs,Xs,qs;function Js(){}Js.__reactDisabledLog=!0;function ou(){{if(yi===0){nu=console.log,Gs=console.info,rt=console.warn,Io=console.error,Qs=console.group,Xs=console.groupCollapsed,qs=console.groupEnd;var t={configurable:!0,enumerable:!0,value:Js,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}yi++}}function iu(){{if(yi--,yi===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Mt({},t,{value:nu}),info:Mt({},t,{value:Gs}),warn:Mt({},t,{value:rt}),error:Mt({},t,{value:Io}),group:Mt({},t,{value:Qs}),groupCollapsed:Mt({},t,{value:Xs}),groupEnd:Mt({},t,{value:qs})})}yi<0&&a("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Pa=o.ReactCurrentDispatcher,Aa;function bi(t,n,s){{if(Aa===void 0)try{throw Error()}catch(p){var u=p.stack.trim().match(/\n( *(at )?)/);Aa=u&&u[1]||""}return`
|
|
40
|
+
`+Aa+t}}var Ks=!1,Oo;{var Zs=typeof WeakMap=="function"?WeakMap:Map;Oo=new Zs}function Nn(t,n){if(!t||Ks)return"";{var s=Oo.get(t);if(s!==void 0)return s}var u;Ks=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var b;b=Pa.current,Pa.current=null,ou();try{if(n){var S=function(){throw Error()};if(Object.defineProperty(S.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(S,[])}catch(gt){u=gt}Reflect.construct(t,[],S)}else{try{S.call()}catch(gt){u=gt}t.call(S.prototype)}}else{try{throw Error()}catch(gt){u=gt}t()}}catch(gt){if(gt&&u&&typeof gt.stack=="string"){for(var A=gt.stack.split(`
|
|
41
|
+
`),j=u.stack.split(`
|
|
42
|
+
`),q=A.length-1,K=j.length-1;q>=1&&K>=0&&A[q]!==j[K];)K--;for(;q>=1&&K>=0;q--,K--)if(A[q]!==j[K]){if(q!==1||K!==1)do if(q--,K--,K<0||A[q]!==j[K]){var le=`
|
|
43
|
+
`+A[q].replace(" at new "," at ");return t.displayName&&le.includes("<anonymous>")&&(le=le.replace("<anonymous>",t.displayName)),typeof t=="function"&&Oo.set(t,le),le}while(q>=1&&K>=0);break}}}finally{Ks=!1,Pa.current=b,iu(),Error.prepareStackTrace=p}var Oe=t?t.displayName||t.name:"",Ye=Oe?bi(Oe):"";return typeof t=="function"&&Oo.set(t,Ye),Ye}function el(t,n,s){return Nn(t,!0)}function xi(t,n,s){return Nn(t,!1)}function Lc(t){var n=t.prototype;return!!(n&&n.isReactComponent)}function wi(t,n,s){if(t==null)return"";if(typeof t=="function")return Nn(t,Lc(t));if(typeof t=="string")return bi(t);switch(t){case Ta:return bi("Suspense");case gi:return bi("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case Ca:return xi(t.render);case vi:return wi(t.type,n,s);case Ao:{var u=t,p=u._payload,b=u._init;try{return wi(b(p),n,s)}catch{}}}return""}var au={},tl=o.ReactDebugCurrentFrame;function Ia(t){if(t){var n=t._owner,s=wi(t.type,t._source,n?n.type:null);tl.setExtraStackFrame(s)}else tl.setExtraStackFrame(null)}function Oa(t,n,s,u,p){{var b=Function.call.bind(_);for(var S in t)if(b(t,S)){var A=void 0;try{if(typeof t[S]!="function"){var j=Error((u||"React class")+": "+s+" type `"+S+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[S]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw j.name="Invariant Violation",j}A=t[S](n,S,u,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(q){A=q}A&&!(A instanceof Error)&&(Ia(p),a("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",u||"React class",s,S,typeof A),Ia(null)),A instanceof Error&&!(A.message in au)&&(au[A.message]=!0,Ia(p),a("Failed %s type: %s",s,A.message),Ia(null))}}}var Fa;Fa={};var Si={};Object.freeze(Si);function ki(t,n){{var s=t.contextTypes;if(!s)return Si;var u={};for(var p in s)u[p]=n[p];{var b=ot(t)||"Unknown";Oa(s,u,"context",b)}return u}}function su(t,n,s,u){{if(typeof t.getChildContext!="function"){{var p=ot(n)||"Unknown";Fa[p]||(Fa[p]=!0,a("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",p,p))}return s}var b=t.getChildContext();for(var S in b)if(!(S in u))throw new Error((ot(n)||"Unknown")+'.getChildContext(): key "'+S+'" is not defined in childContextTypes.');{var A=ot(n)||"Unknown";Oa(u,b,"child context",A)}return Mt({},s,b)}}var $n;$n={};var Ma=null,dn=null;function rl(t){t.context._currentValue2=t.parentValue}function zn(t){t.context._currentValue2=t.value}function Da(t,n){if(t!==n){rl(t);var s=t.parent,u=n.parent;if(s===null){if(u!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(u===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");Da(s,u)}zn(n)}}function pn(t){rl(t);var n=t.parent;n!==null&&pn(n)}function _a(t){var n=t.parent;n!==null&&_a(n),zn(t)}function La(t,n){rl(t);var s=t.parent;if(s===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");s.depth===n.depth?Da(s,n):La(s,n)}function Ei(t,n){var s=n.parent;if(s===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");t.depth===s.depth?Da(t,s):Ei(t,s),zn(n)}function Ci(t){var n=dn,s=t;n!==s&&(n===null?_a(s):s===null?pn(n):n.depth===s.depth?Da(n,s):n.depth>s.depth?La(n,s):Ei(n,s),dn=s)}function lu(t,n){var s;s=t._currentValue2,t._currentValue2=n,t._currentRenderer2!==void 0&&t._currentRenderer2!==null&&t._currentRenderer2!==$n&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer2=$n;var u=dn,p={parent:u,depth:u===null?0:u.depth+1,context:t,parentValue:s,value:n};return dn=p,p}function uu(t){var n=dn;if(n===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");n.context!==t&&a("The parent context is not the expected context. This is probably a bug in React.");{var s=n.parentValue;s===Ra?n.context._currentValue2=n.context._defaultValue:n.context._currentValue2=s,t._currentRenderer2!==void 0&&t._currentRenderer2!==null&&t._currentRenderer2!==$n&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer2=$n}return dn=n.parent}function cu(){return dn}function hn(t){var n=t._currentValue2;return n}function nl(t){return t._reactInternals}function jc(t,n){t._reactInternals=n}var fu={},Fo={},Ti,ol,ja,Na,$a,Mo,Ri,Pi,za;{Ti=new Set,ol=new Set,ja=new Set,Ri=new Set,Na=new Set,Pi=new Set,za=new Set;var Ai=new Set;Mo=function(t,n){if(!(t===null||typeof t=="function")){var s=n+"_"+t;Ai.has(s)||(Ai.add(s),a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",n,t))}},$a=function(t,n){if(n===void 0){var s=ot(t)||"Component";Na.has(s)||(Na.add(s),a("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}}}function Ba(t,n){{var s=t.constructor,u=s&&ot(s)||"ReactClass",p=u+"."+n;if(fu[p])return;a(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
|
|
44
|
+
|
|
45
|
+
Please check the code for the %s component.`,n,n,u),fu[p]=!0}}var Ua={isMounted:function(t){return!1},enqueueSetState:function(t,n,s){var u=nl(t);u.queue===null?Ba(t,"setState"):(u.queue.push(n),s!=null&&Mo(s,"setState"))},enqueueReplaceState:function(t,n,s){var u=nl(t);u.replace=!0,u.queue=[n],s!=null&&Mo(s,"setState")},enqueueForceUpdate:function(t,n){var s=nl(t);s.queue===null?Ba(t,"forceUpdate"):n!=null&&Mo(n,"setState")}};function il(t,n,s,u,p){var b=s(p,u);$a(n,b);var S=b==null?u:Mt({},u,b);return S}function du(t,n,s){var u=Si,p=t.contextType;if("contextType"in t){var b=p===null||p!==void 0&&p.$$typeof===Ea&&p._context===void 0;if(!b&&!za.has(t)){za.add(t);var S="";p===void 0?S=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof p!="object"?S=" However, it is set to a "+typeof p+".":p.$$typeof===ka?S=" Did you accidentally pass the Context.Provider instead?":p._context!==void 0?S=" Did you accidentally pass the Context.Consumer instead?":S=" However, it is set to an object with keys {"+Object.keys(p).join(", ")+"}.",a("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",ot(t)||"Component",S)}}typeof p=="object"&&p!==null?u=hn(p):u=s;var A=new t(n,u);{if(typeof t.getDerivedStateFromProps=="function"&&(A.state===null||A.state===void 0)){var j=ot(t)||"Component";Ti.has(j)||(Ti.add(j),a("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",j,A.state===null?"null":"undefined",j))}if(typeof t.getDerivedStateFromProps=="function"||typeof A.getSnapshotBeforeUpdate=="function"){var q=null,K=null,le=null;if(typeof A.componentWillMount=="function"&&A.componentWillMount.__suppressDeprecationWarning!==!0?q="componentWillMount":typeof A.UNSAFE_componentWillMount=="function"&&(q="UNSAFE_componentWillMount"),typeof A.componentWillReceiveProps=="function"&&A.componentWillReceiveProps.__suppressDeprecationWarning!==!0?K="componentWillReceiveProps":typeof A.UNSAFE_componentWillReceiveProps=="function"&&(K="UNSAFE_componentWillReceiveProps"),typeof A.componentWillUpdate=="function"&&A.componentWillUpdate.__suppressDeprecationWarning!==!0?le="componentWillUpdate":typeof A.UNSAFE_componentWillUpdate=="function"&&(le="UNSAFE_componentWillUpdate"),q!==null||K!==null||le!==null){var Oe=ot(t)||"Component",Ye=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";ja.has(Oe)||(ja.add(Oe),a(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
46
46
|
|
|
47
47
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
48
48
|
|
|
49
49
|
The above lifecycles should be removed. Learn more about this warning here:
|
|
50
|
-
https://reactjs.org/link/unsafe-component-lifecycles`,
|
|
51
|
-
`+
|
|
52
|
-
`+
|
|
53
|
-
`+
|
|
50
|
+
https://reactjs.org/link/unsafe-component-lifecycles`,Oe,Ye,q!==null?`
|
|
51
|
+
`+q:"",K!==null?`
|
|
52
|
+
`+K:"",le!==null?`
|
|
53
|
+
`+le:""))}}}return A}function pu(t,n,s){{var u=ot(n)||"Component",p=t.render;p||(n.prototype&&typeof n.prototype.render=="function"?a("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",u):a("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",u)),t.getInitialState&&!t.getInitialState.isReactClassApproved&&!t.state&&a("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",u),t.getDefaultProps&&!t.getDefaultProps.isReactClassApproved&&a("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",u),t.propTypes&&a("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",u),t.contextType&&a("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",u),t.contextTypes&&a("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",u),n.contextType&&n.contextTypes&&!Pi.has(n)&&(Pi.add(n),a("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",u)),typeof t.componentShouldUpdate=="function"&&a("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",u),n.prototype&&n.prototype.isPureReactComponent&&typeof t.shouldComponentUpdate<"u"&&a("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",ot(n)||"A pure component"),typeof t.componentDidUnmount=="function"&&a("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",u),typeof t.componentDidReceiveProps=="function"&&a("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",u),typeof t.componentWillRecieveProps=="function"&&a("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",u),typeof t.UNSAFE_componentWillRecieveProps=="function"&&a("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",u);var b=t.props!==s;t.props!==void 0&&b&&a("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",u,u),t.defaultProps&&a("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",u,u),typeof t.getSnapshotBeforeUpdate=="function"&&typeof t.componentDidUpdate!="function"&&!ol.has(n)&&(ol.add(n),a("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ot(n))),typeof t.getDerivedStateFromProps=="function"&&a("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof t.getDerivedStateFromError=="function"&&a("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof n.getSnapshotBeforeUpdate=="function"&&a("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",u);var S=t.state;S&&(typeof S!="object"||Zt(S))&&a("%s.state: must be set to an object or null",u),typeof t.getChildContext=="function"&&typeof n.childContextTypes!="object"&&a("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",u)}}function hu(t,n){var s=n.state;if(typeof n.componentWillMount=="function"){if(n.componentWillMount.__suppressDeprecationWarning!==!0){var u=ot(t)||"Unknown";Fo[u]||(i(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
54
54
|
|
|
55
55
|
* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
|
|
56
56
|
|
|
57
|
-
Please update the following components: %s`,u),
|
|
57
|
+
Please update the following components: %s`,u),Fo[u]=!0)}n.componentWillMount()}typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),s!==n.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ot(t)||"Component"),Ua.enqueueReplaceState(n,n.state,null))}function Nc(t,n,s,u){if(t.queue!==null&&t.queue.length>0){var p=t.queue,b=t.replace;if(t.queue=null,t.replace=!1,b&&p.length===1)n.state=p[0];else{for(var S=b?p[0]:n.state,A=!0,j=b?1:0;j<p.length;j++){var q=p[j],K=typeof q=="function"?q.call(n,S,s,u):q;K!=null&&(A?(A=!1,S=Mt({},S,K)):Mt(S,K))}n.state=S}}else t.queue=null}function mu(t,n,s,u){pu(t,n,s);var p=t.state!==void 0?t.state:null;t.updater=Ua,t.props=s,t.state=p;var b={queue:[],replace:!1};jc(t,b);var S=n.contextType;if(typeof S=="object"&&S!==null?t.context=hn(S):t.context=u,t.state===s){var A=ot(n)||"Component";Ri.has(A)||(Ri.add(A),a("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",A))}var j=n.getDerivedStateFromProps;typeof j=="function"&&(t.state=il(t,n,j,p,s)),typeof n.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function"&&(typeof t.UNSAFE_componentWillMount=="function"||typeof t.componentWillMount=="function")&&(hu(n,t),Nc(b,t,s,u))}var $c={id:1,overflow:""};function zc(t){var n=t.overflow,s=t.id,u=s&~Bc(s);return u.toString(32)+n}function al(t,n,s){var u=t.id,p=t.overflow,b=Ii(u)-1,S=u&~(1<<b),A=s+1,j=Ii(n)+b;if(j>30){var q=b-b%5,K=(1<<q)-1,le=(S&K).toString(32),Oe=S>>q,Ye=b-q,gt=Ii(n)+Ye,Gn=A<<Ye,Qn=Gn|Oe,Xr=le+p;return{id:1<<gt|Qn,overflow:Xr}}else{var zo=A<<b,xf=zo|S,Kg=p;return{id:1<<j|xf,overflow:Kg}}}function Ii(t){return 32-Uc(t)}function Bc(t){return 1<<Ii(t)-1}var Uc=Math.clz32?Math.clz32:Hc,sl=Math.log,Ha=Math.LN2;function Hc(t){var n=t>>>0;return n===0?32:31-(sl(n)/Ha|0)|0}function Wc(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var Vc=typeof Object.is=="function"?Object.is:Wc,Vr=null,ll=null,Wa=null,tt=null,Wt=!1,Do=!1,Bn=0,We=null,mn=0,Va=25,Vt=!1,Yt;function Or(){if(Vr===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
58
58
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
59
59
|
2. You might be breaking the Rules of Hooks
|
|
60
60
|
3. You might have more than one copy of React in the same app
|
|
61
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return
|
|
61
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Vt&&a("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Vr}function Yc(t,n){if(n===null)return a("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Yt),!1;t.length!==n.length&&a(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
62
62
|
|
|
63
63
|
Previous: %s
|
|
64
|
-
Incoming: %s`,
|
|
64
|
+
Incoming: %s`,Yt,"["+t.join(", ")+"]","["+n.join(", ")+"]");for(var s=0;s<n.length&&s<t.length;s++)if(!Vc(t[s],n[s]))return!1;return!0}function hr(){if(mn>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function gn(){return tt===null?Wa===null?(Wt=!1,Wa=tt=hr()):(Wt=!0,tt=Wa):tt.next===null?(Wt=!1,tt=tt.next=hr()):(Wt=!0,tt=tt.next),tt}function Un(t,n){Vr=n,ll=t,Vt=!1,Bn=0}function Gc(t,n,s,u){for(;Do;)Do=!1,Bn=0,mn+=1,tt=null,s=t(n,u);return Oi(),s}function ul(){var t=Bn!==0;return t}function Oi(){Vt=!1,Vr=null,ll=null,Do=!1,Wa=null,mn=0,We=null,tt=null}function Qc(t){return Vt&&a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),hn(t)}function Xc(t){return Yt="useContext",Or(),hn(t)}function Ya(t,n){return typeof n=="function"?n(t):n}function cl(t){return Yt="useState",gu(Ya,t)}function gu(t,n,s){if(t!==Ya&&(Yt="useReducer"),Vr=Or(),tt=gn(),Wt){var u=tt.queue,p=u.dispatch;if(We!==null){var b=We.get(u);if(b!==void 0){We.delete(u);var S=tt.memoizedState,A=b;do{var j=A.action;Vt=!0,S=t(S,j),Vt=!1,A=A.next}while(A!==null);return tt.memoizedState=S,[S,p]}}return[tt.memoizedState,p]}else{Vt=!0;var q;t===Ya?q=typeof n=="function"?n():n:q=s!==void 0?s(n):n,Vt=!1,tt.memoizedState=q;var K=tt.queue={last:null,dispatch:null},le=K.dispatch=yu.bind(null,Vr,K);return[tt.memoizedState,le]}}function vu(t,n){Vr=Or(),tt=gn();var s=n===void 0?null:n;if(tt!==null){var u=tt.memoizedState;if(u!==null&&s!==null){var p=u[1];if(Yc(s,p))return u[0]}}Vt=!0;var b=t();return Vt=!1,tt.memoizedState=[b,s],b}function fl(t){Vr=Or(),tt=gn();var n=tt.memoizedState;if(n===null){var s={current:t};return Object.seal(s),tt.memoizedState=s,s}else return n}function qc(t,n){Yt="useLayoutEffect",a("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function yu(t,n,s){if(mn>=Va)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(t===Vr){Do=!0;var u={action:s,next:null};We===null&&(We=new Map);var p=We.get(n);if(p===void 0)We.set(n,u);else{for(var b=p;b.next!==null;)b=b.next;b.next=u}}}function bu(t,n){return vu(function(){return t},n)}function Jc(t,n,s){return Or(),n(t._source)}function Kc(t,n,s){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return s()}function Zc(t){return Or(),t}function ef(){throw new Error("startTransition cannot be called during server rendering.")}function tf(){return Or(),[!1,ef]}function rf(){var t=ll,n=zc(t.treeContext),s=dl;if(s===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var u=Bn++;return lt(s,n,u)}function Ga(){}var xu={readContext:Qc,useContext:Xc,useMemo:vu,useReducer:gu,useRef:fl,useState:cl,useInsertionEffect:Ga,useLayoutEffect:qc,useCallback:bu,useImperativeHandle:Ga,useEffect:Ga,useDebugValue:Ga,useDeferredValue:Zc,useTransition:tf,useId:rf,useMutableSource:Jc,useSyncExternalStore:Kc},dl=null;function wu(t){dl=t}function Qa(t){try{var n="",s=t;do{switch(s.tag){case 0:n+=bi(s.type,null,null);break;case 1:n+=xi(s.type,null,null);break;case 2:n+=el(s.type,null,null);break}s=s.parent}while(s);return n}catch(u){return`
|
|
65
65
|
Error generating stack: `+u.message+`
|
|
66
|
-
`+u.stack}}var vs=n.ReactCurrentDispatcher,Qi=n.ReactDebugCurrentFrame,ys=0,Xo=1,bs=2,ws=3,xs=4,Qo=0,Dl=1,Kn=2,Qu=12800;function Wf(r){return console.error(r),null}function qo(){}function Ko(r,o,s,u,g,w,k,M,z){var Q=[],ee=new Set,de={destination:null,responseState:o,progressiveChunkSize:u===void 0?Qu:u,status:Qo,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ee,pingedTasks:Q,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:g===void 0?Wf:g,onAllReady:qo,onShellReady:k===void 0?qo:k,onShellError:qo,onFatalError:qo},Me=Ss(de,0,null,s,!1,!1);Me.parentFlushed=!0;var Xe=Jn(de,r,null,Me,ee,Ni,ts,Tf);return Q.push(Xe),de}function Vf(r,o){var s=r.pingedTasks;s.push(o),s.length===1&&p(function(){return Wl(r)})}function Gf(r,o){return{id:Po,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:o,errorDigest:null}}function Jn(r,o,s,u,g,w,k,M){r.allPendingTasks++,s===null?r.pendingRootTasks++:s.pendingTasks++;var z={node:o,ping:function(){return Vf(r,z)},blockedBoundary:s,blockedSegment:u,abortSet:g,legacyContext:w,context:k,treeContext:M};return z.componentStack=null,g.add(z),z}function Ss(r,o,s,u,g,w){return{status:ys,id:-1,index:o,parentFlushed:!1,chunks:[],children:[],formatContext:u,boundary:s,lastPushedText:g,textEmbedded:w}}var Kr=null;function _l(){return Kr===null||Kr.componentStack===null?"":gs(Kr.componentStack)}function Zn(r,o){r.componentStack={tag:0,parent:r.componentStack,type:o}}function qi(r,o){r.componentStack={tag:1,parent:r.componentStack,type:o}}function Jr(r,o){r.componentStack={tag:2,parent:r.componentStack,type:o}}function Lr(r){r.componentStack===null?a("Unexpectedly popped too many stack frames. This is a bug in React."):r.componentStack=r.componentStack.parent}var Zr=null;function ks(r,o){{var s;typeof o=="string"?s=o:o&&typeof o.message=="string"?s=o.message:s=String(o);var u=Zr||_l();Zr=null,r.errorMessage=s,r.errorComponentStack=u}}function Ki(r,o){var s=r.onError(o);if(s!=null&&typeof s!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof s+'" instead');return s}function br(r,o){var s=r.onShellError;s(o);var u=r.onFatalError;u(o),r.destination!==null?(r.status=Kn,L(r.destination,o)):(r.status=Dl,r.fatalError=o)}function Ji(r,o,s){Zn(o,"Suspense");var u=o.blockedBoundary,g=o.blockedSegment,w=s.fallback,k=s.children,M=new Set,z=Gf(r,M),Q=g.chunks.length,ee=Ss(r,Q,z,g.formatContext,!1,!1);g.children.push(ee),g.lastPushedText=!1;var de=Ss(r,0,null,g.formatContext,!1,!1);de.parentFlushed=!0,o.blockedBoundary=z,o.blockedSegment=de;try{if(Ft(r,o,k),Tu(de.chunks,r.responseState,de.lastPushedText,de.textEmbedded),de.status=Xo,Jo(z,de),z.pendingTasks===0){Lr(o);return}}catch(Xe){de.status=xs,z.forceClientRender=!0,z.errorDigest=Ki(r,Xe),ks(z,Xe)}finally{o.blockedBoundary=u,o.blockedSegment=g}var Me=Jn(r,w,u,ee,M,o.legacyContext,o.context,o.treeContext);Me.componentStack=o.componentStack,r.pingedTasks.push(Me),Lr(o)}function Ll(r,o,s,u){Zn(o,s);var g=o.blockedSegment,w=vr(g.chunks,s,u,r.responseState,g.formatContext);g.lastPushedText=!1;var k=g.formatContext;g.formatContext=Ro(k,s,u),Ft(r,o,w),g.formatContext=k,qe(g.chunks,s),g.lastPushedText=!1,Lr(o)}function Zi(r){return r.prototype&&r.prototype.isReactComponent}function ea(r,o,s,u,g){var w={};qn(o,w);var k=s(u,g);return Df(s,u,k,g)}function qu(r,o,s,u,g){var w=s.render();s.props!==g&&(jl||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",it(u)||"a component"),jl=!0);{var k=u.childContextTypes;if(k!=null){var M=o.legacyContext,z=Du(s,u,M,k);o.legacyContext=z,qt(r,o,w),o.legacyContext=M;return}}qt(r,o,w)}function Yf(r,o,s,u){Jr(o,s);var g=zi(s,o.legacyContext),w=Nu(s,u,g);Uu(w,s,u,g),qu(r,o,w,s,u),Lr(o)}var Ku={},ta={},$l={},Ju={},jl=!1,ra={},Nl=!1,zl=!1,Bl=!1;function Zu(r,o,s,u){var g;if(g=zi(s,o.legacyContext),qi(o,s),s.prototype&&typeof s.prototype.render=="function"){var w=it(s)||"Unknown";Ku[w]||(a("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",w,w),Ku[w]=!0)}var k=ea(r,o,s,u,g),M=Ol();if(typeof k=="object"&&k!==null&&typeof k.render=="function"&&k.$$typeof===void 0){var z=it(s)||"Unknown";ta[z]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",z,z,z),ta[z]=!0)}if(typeof k=="object"&&k!==null&&typeof k.render=="function"&&k.$$typeof===void 0){{var Q=it(s)||"Unknown";ta[Q]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Q,Q,Q),ta[Q]=!0)}Uu(k,s,u,g),qu(r,o,k,s,u)}else if(ec(s),M){var ee=o.treeContext,de=1,Me=0;o.treeContext=Rl(ee,de,Me);try{qt(r,o,k)}finally{o.treeContext=ee}}else qt(r,o,k);Lr(o)}function ec(r){{if(r&&r.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",r.displayName||r.name||"Component"),r.defaultProps!==void 0){var o=it(r)||"Unknown";ra[o]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",o),ra[o]=!0)}if(typeof r.getDerivedStateFromProps=="function"){var s=it(r)||"Unknown";Ju[s]||(a("%s: Function components do not support getDerivedStateFromProps.",s),Ju[s]=!0)}if(typeof r.contextType=="object"&&r.contextType!==null){var u=it(r)||"Unknown";$l[u]||(a("%s: Function components do not support contextType.",u),$l[u]=!0)}}}function Ul(r,o){if(r&&r.defaultProps){var s=Lt({},o),u=r.defaultProps;for(var g in u)s[g]===void 0&&(s[g]=u[g]);return s}return o}function tc(r,o,s,u,g){qi(o,s.render);var w=ea(r,o,s.render,u,g),k=Ol();if(k){var M=o.treeContext,z=1,Q=0;o.treeContext=Rl(M,z,Q);try{qt(r,o,w)}finally{o.treeContext=M}}else qt(r,o,w);Lr(o)}function Xf(r,o,s,u,g){var w=s.type,k=Ul(w,u);Hl(r,o,w,k,g)}function Qf(r,o,s,u){s._context===void 0?s!==s.Consumer&&(Bl||(Bl=!0,a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):s=s._context;var g=u.children;typeof g!="function"&&a("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var w=xn(s),k=g(w);qt(r,o,k)}function rc(r,o,s,u){var g=s._context,w=u.value,k=u.children,M;M=o.context,o.context=_u(g,w),qt(r,o,k),o.context=Lu(g),M!==o.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function qf(r,o,s,u,g){Zn(o,"Lazy");var w=s._payload,k=s._init,M=k(w),z=Ul(M,u);Hl(r,o,M,z,g),Lr(o)}function Hl(r,o,s,u,g){if(typeof s=="function")if(Zi(s)){Yf(r,o,s,u);return}else{Zu(r,o,s,u);return}if(typeof s=="string"){Ll(r,o,s,u);return}switch(s){case dl:case fl:case Gt:case Pu:case Wa:{qt(r,o,u.children);return}case Mi:{Zn(o,"SuspenseList"),qt(r,o,u.children),Lr(o);return}case cl:throw new Error("ReactDOMServer does not yet support scope components.");case Xa:{Ji(r,o,u);return}}if(typeof s=="object"&&s!==null)switch(s.$$typeof){case Ya:{tc(r,o,s,u,g);return}case Di:{Xf(r,o,s,u,g);return}case Va:{rc(r,o,s,u);return}case Ga:{Qf(r,o,s,u);return}case Uo:{qf(r,o,s,u);return}}var w="";throw(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(s==null?s:typeof s)+"."+w))}function Kf(r,o){typeof Symbol=="function"&&r[Symbol.toStringTag]==="Generator"&&(Nl||a("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Nl=!0),r.entries===o&&(zl||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),zl=!0)}function qt(r,o,s){try{return Jf(r,o,s)}catch(u){throw typeof u=="object"&&u!==null&&typeof u.then=="function"||(Zr=Zr!==null?Zr:_l()),u}}function Jf(r,o,s){if(o.node=s,typeof s=="object"&&s!==null){switch(s.$$typeof){case bf:{var u=s,g=u.type,w=u.props,k=u.ref;Hl(r,o,g,w,k);return}case Ru:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Uo:{var M=s,z=M._payload,Q=M._init,ee;try{ee=Q(z)}catch(Zo){throw typeof Zo=="object"&&Zo!==null&&typeof Zo.then=="function"&&Zn(o,"Lazy"),Zo}qt(r,o,ee);return}}if(nr(s)){Es(r,o,s);return}var de=xf(s);if(de){Kf(s,de);var Me=de.call(s);if(Me){var Xe=Me.next();if(!Xe.done){var vt=[];do vt.push(Xe.value),Xe=Me.next();while(!Xe.done);Es(r,o,vt);return}return}}var to=Object.prototype.toString.call(s);throw new Error("Objects are not valid as a React child (found: "+(to==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":to)+"). If you meant to render a collection of children, use an array instead.")}if(typeof s=="string"){var ro=o.blockedSegment;ro.lastPushedText=Cu(o.blockedSegment.chunks,s,r.responseState,ro.lastPushedText);return}if(typeof s=="number"){var en=o.blockedSegment;en.lastPushedText=Cu(o.blockedSegment.chunks,""+s,r.responseState,en.lastPushedText);return}typeof s=="function"&&a("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function Es(r,o,s){for(var u=s.length,g=0;g<u;g++){var w=o.treeContext;o.treeContext=Rl(w,u,g);try{Ft(r,o,s[g])}finally{o.treeContext=w}}}function Zf(r,o,s){var u=o.blockedSegment,g=u.chunks.length,w=Ss(r,g,null,u.formatContext,u.lastPushedText,!0);u.children.push(w),u.lastPushedText=!1;var k=Jn(r,o.node,o.blockedBoundary,w,o.abortSet,o.legacyContext,o.context,o.treeContext);o.componentStack!==null&&(k.componentStack=o.componentStack.parent);var M=k.ping;s.then(M,M)}function Ft(r,o,s){var u=o.blockedSegment.formatContext,g=o.legacyContext,w=o.context,k=null;k=o.componentStack;try{return qt(r,o,s)}catch(M){if(Xi(),typeof M=="object"&&M!==null&&typeof M.then=="function"){Zf(r,o,M),o.blockedSegment.formatContext=u,o.legacyContext=g,o.context=w,Ui(w),o.componentStack=k;return}else throw o.blockedSegment.formatContext=u,o.legacyContext=g,o.context=w,Ui(w),o.componentStack=k,M}}function ed(r,o,s,u){var g=Ki(r,u);if(o===null?br(r,u):(o.pendingTasks--,o.forceClientRender||(o.forceClientRender=!0,o.errorDigest=g,ks(o,u),o.parentFlushed&&r.clientRenderedBoundaries.push(o))),r.allPendingTasks--,r.allPendingTasks===0){var w=r.onAllReady;w()}}function nc(r){var o=this,s=r.blockedBoundary,u=r.blockedSegment;u.status=ws,ic(o,s,u)}function oc(r,o,s){var u=r.blockedBoundary,g=r.blockedSegment;if(g.status=ws,u===null)o.allPendingTasks--,o.status!==Kn&&(o.status=Kn,o.destination!==null&&x(o.destination));else{if(u.pendingTasks--,!u.forceClientRender){u.forceClientRender=!0;var w=s===void 0?new Error("The render was aborted by the server without a reason."):s;u.errorDigest=o.onError(w);{var k="The server did not finish this Suspense boundary: ";w&&typeof w.message=="string"?w=k+w.message:w=k+String(w);var M=Kr;Kr=r;try{ks(u,w)}finally{Kr=M}}u.parentFlushed&&o.clientRenderedBoundaries.push(u)}if(u.fallbackAbortableTasks.forEach(function(Q){return oc(Q,o,s)}),u.fallbackAbortableTasks.clear(),o.allPendingTasks--,o.allPendingTasks===0){var z=o.onAllReady;z()}}}function Jo(r,o){if(o.chunks.length===0&&o.children.length===1&&o.children[0].boundary===null){var s=o.children[0];s.id=o.id,s.parentFlushed=!0,s.status===Xo&&Jo(r,s)}else{var u=r.completedSegments;u.push(o)}}function ic(r,o,s){if(o===null){if(s.parentFlushed){if(r.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");r.completedRootSegment=s}if(r.pendingRootTasks--,r.pendingRootTasks===0){r.onShellError=qo;var u=r.onShellReady;u()}}else if(o.pendingTasks--,!o.forceClientRender){if(o.pendingTasks===0)s.parentFlushed&&s.status===Xo&&Jo(o,s),o.parentFlushed&&r.completedBoundaries.push(o),o.fallbackAbortableTasks.forEach(nc,r),o.fallbackAbortableTasks.clear();else if(s.parentFlushed&&s.status===Xo){Jo(o,s);var g=o.completedSegments;g.length===1&&o.parentFlushed&&r.partialBoundaries.push(o)}}if(r.allPendingTasks--,r.allPendingTasks===0){var w=r.onAllReady;w()}}function td(r,o){var s=o.blockedSegment;if(s.status===ys){Ui(o.context);var u=null;u=Kr,Kr=o;try{qt(r,o,o.node),Tu(s.chunks,r.responseState,s.lastPushedText,s.textEmbedded),o.abortSet.delete(o),s.status=Xo,ic(r,o.blockedBoundary,s)}catch(w){if(Xi(),typeof w=="object"&&w!==null&&typeof w.then=="function"){var g=o.ping;w.then(g,g)}else o.abortSet.delete(o),s.status=xs,ed(r,o.blockedBoundary,s,w)}finally{Kr=u}}}function Wl(r){if(r.status!==Kn){var o=$u(),s=vs.current;vs.current=Yu;var u;u=Qi.getCurrentStack,Qi.getCurrentStack=_l;var g=Ml;Xu(r.responseState);try{var w=r.pingedTasks,k;for(k=0;k<w.length;k++){var M=w[k];td(r,M)}w.splice(0,k),r.destination!==null&&Ts(r,r.destination)}catch(z){Ki(r,z),br(r,z)}finally{Xu(g),vs.current=s,Qi.getCurrentStack=u,s===Yu&&Ui(o)}}}function eo(r,o,s){switch(s.parentFlushed=!0,s.status){case ys:{var u=s.id=r.nextSegmentId++;return s.lastPushedText=!1,s.textEmbedded=!1,Mr(o,r.responseState,u)}case Xo:{s.status=bs;for(var g=!0,w=s.chunks,k=0,M=s.children,z=0;z<M.length;z++){for(var Q=M[z];k<Q.index;k++)h(o,w[k]);g=na(r,o,Q)}for(;k<w.length-1;k++)h(o,w[k]);return k<w.length&&(g=v(o,w[k])),g}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function na(r,o,s){var u=s.boundary;if(u===null)return eo(r,o,s);if(u.parentFlushed=!0,u.forceClientRender)return gf(o,r.responseState,u.errorDigest,u.errorMessage,u.errorComponentStack),eo(r,o,s),yf(o,r.responseState);if(u.pendingTasks>0){u.rootSegmentID=r.nextSegmentId++,u.completedSegments.length>0&&r.partialBoundaries.push(u);var g=u.id=mr(r.responseState);return Hn(o,r.responseState,g),eo(r,o,s),vn(o,r.responseState)}else{if(u.byteSize>r.progressiveChunkSize)return u.rootSegmentID=r.nextSegmentId++,r.completedBoundaries.push(u),Hn(o,r.responseState,u.id),eo(r,o,s),vn(o,r.responseState);mf(o,r.responseState);var w=u.completedSegments;if(w.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var k=w[0];return na(r,o,k),vf(o,r.responseState)}}function rd(r,o,s){return ff(o,r.responseState,s.id,s.errorDigest,s.errorMessage,s.errorComponentStack)}function Vl(r,o,s){return Fi(o,r.responseState,s.formatContext,s.id),na(r,o,s),Ua(o,s.formatContext)}function oa(r,o,s){for(var u=s.completedSegments,g=0;g<u.length;g++){var w=u[g];ac(r,o,s,w)}return u.length=0,It(o,r.responseState,s.id,s.rootSegmentID)}function Cs(r,o,s){for(var u=s.completedSegments,g=0;g<u.length;g++){var w=u[g];if(!ac(r,o,s,w))return g++,u.splice(0,g),!1}return u.splice(0,g),!0}function ac(r,o,s,u){if(u.status===bs)return!0;var g=u.id;if(g===-1){var w=u.id=s.rootSegmentID;if(w===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Vl(r,o,u)}else return Vl(r,o,u),oe(o,r.responseState,g)}function Ts(r,o){try{var s=r.completedRootSegment;s!==null&&r.pendingRootTasks===0&&(na(r,o,s),r.completedRootSegment=null,Xr(o,r.responseState));var u=r.clientRenderedBoundaries,g;for(g=0;g<u.length;g++){var w=u[g];if(!rd(r,o,w)){r.destination=null,g++,u.splice(0,g);return}}u.splice(0,g);var k=r.completedBoundaries;for(g=0;g<k.length;g++){var M=k[g];if(!oa(r,o,M)){r.destination=null,g++,k.splice(0,g);return}}k.splice(0,g);var z=r.partialBoundaries;for(g=0;g<z.length;g++){var Q=z[g];if(!Cs(r,o,Q)){r.destination=null,g++,z.splice(0,g);return}}z.splice(0,g);var ee=r.completedBoundaries;for(g=0;g<ee.length;g++){var de=ee[g];if(!oa(r,o,de)){r.destination=null,g++,ee.splice(0,g);return}}ee.splice(0,g)}finally{r.allPendingTasks===0&&r.pingedTasks.length===0&&r.clientRenderedBoundaries.length===0&&r.completedBoundaries.length===0&&(r.abortableTasks.size!==0&&a("There was still abortable task at the root when we closed. This is a bug in React."),x(o))}}function sc(r){p(function(){return Wl(r)})}function nd(r,o){if(r.status===Dl){r.status=Kn,L(o,r.fatalError);return}if(r.status!==Kn&&r.destination===null){r.destination=o;try{Ts(r,o)}catch(s){Ki(r,s),br(r,s)}}}function lc(r,o){try{var s=r.abortableTasks;s.forEach(function(u){return oc(u,r,o)}),s.clear(),r.destination!==null&&Ts(r,r.destination)}catch(u){Ki(r,u),br(r,u)}}function Gl(){}function uc(r,o,s,u){var g=!1,w=null,k="",M={push:function(de){return de!==null&&(k+=de),!0},destroy:function(de){g=!0,w=de}},z=!1;function Q(){z=!0}var ee=Ko(r,pf(s,o?o.identifierPrefix:void 0),hf(),1/0,Gl,void 0,Q);if(sc(ee),lc(ee,u),nd(ee,M),g)throw w;if(!z)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return k}function od(r,o){return uc(r,o,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function cc(r,o){return uc(r,o,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function id(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function l(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}aa.renderToNodeStream=id,aa.renderToStaticMarkup=cc,aa.renderToStaticNodeStream=l,aa.renderToString=od,aa.version=t}()),aa}var pc={};/**
|
|
66
|
+
`+u.stack}}var Xa=o.ReactCurrentDispatcher,Fi=o.ReactDebugCurrentFrame,qa=0,_o=1,Ja=2,Ka=3,Za=4,Lo=0,pl=1,Hn=2,Su=12800;function nf(t){return console.error(t),null}function jo(){}function No(t,n,s,u,p,b,S,A,j){var q=[],K=new Set,le={destination:null,responseState:n,progressiveChunkSize:u===void 0?Su:u,status:Lo,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:K,pingedTasks:q,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:p===void 0?nf:p,onAllReady:jo,onShellReady:S===void 0?jo:S,onShellError:jo,onFatalError:jo},Oe=es(le,0,null,s,!1,!1);Oe.parentFlushed=!0;var Ye=Wn(le,t,null,Oe,K,Si,Ma,$c);return q.push(Ye),le}function of(t,n){var s=t.pingedTasks;s.push(n),s.length===1&&h(function(){return kl(t)})}function af(t,n){return{id:mo,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null}}function Wn(t,n,s,u,p,b,S,A){t.allPendingTasks++,s===null?t.pendingRootTasks++:s.pendingTasks++;var j={node:n,ping:function(){return of(t,j)},blockedBoundary:s,blockedSegment:u,abortSet:p,legacyContext:b,context:S,treeContext:A};return j.componentStack=null,p.add(j),j}function es(t,n,s,u,p,b){return{status:qa,id:-1,index:n,parentFlushed:!1,chunks:[],children:[],formatContext:u,boundary:s,lastPushedText:p,textEmbedded:b}}var Yr=null;function hl(){return Yr===null||Yr.componentStack===null?"":Qa(Yr.componentStack)}function Vn(t,n){t.componentStack={tag:0,parent:t.componentStack,type:n}}function Mi(t,n){t.componentStack={tag:1,parent:t.componentStack,type:n}}function Gr(t,n){t.componentStack={tag:2,parent:t.componentStack,type:n}}function Fr(t){t.componentStack===null?a("Unexpectedly popped too many stack frames. This is a bug in React."):t.componentStack=t.componentStack.parent}var Qr=null;function ts(t,n){{var s;typeof n=="string"?s=n:n&&typeof n.message=="string"?s=n.message:s=String(n);var u=Qr||hl();Qr=null,t.errorMessage=s,t.errorComponentStack=u}}function Di(t,n){var s=t.onError(n);if(s!=null&&typeof s!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof s+'" instead');return s}function mr(t,n){var s=t.onShellError;s(n);var u=t.onFatalError;u(n),t.destination!==null?(t.status=Hn,B(t.destination,n)):(t.status=pl,t.fatalError=n)}function _i(t,n,s){Vn(n,"Suspense");var u=n.blockedBoundary,p=n.blockedSegment,b=s.fallback,S=s.children,A=new Set,j=af(t,A),q=p.chunks.length,K=es(t,q,j,p.formatContext,!1,!1);p.children.push(K),p.lastPushedText=!1;var le=es(t,0,null,p.formatContext,!1,!1);le.parentFlushed=!0,n.blockedBoundary=j,n.blockedSegment=le;try{if(Ot(t,n,S),Zl(le.chunks,t.responseState,le.lastPushedText,le.textEmbedded),le.status=_o,$o(j,le),j.pendingTasks===0){Fr(n);return}}catch(Ye){le.status=Za,j.forceClientRender=!0,j.errorDigest=Di(t,Ye),ts(j,Ye)}finally{n.blockedBoundary=u,n.blockedSegment=p}var Oe=Wn(t,b,u,K,A,n.legacyContext,n.context,n.treeContext);Oe.componentStack=n.componentStack,t.pingedTasks.push(Oe),Fr(n)}function ml(t,n,s,u){Vn(n,s);var p=n.blockedSegment,b=pr(p.chunks,s,u,t.responseState,p.formatContext);p.lastPushedText=!1;var S=p.formatContext;p.formatContext=ho(S,s,u),Ot(t,n,b),p.formatContext=S,qe(p.chunks,s),p.lastPushedText=!1,Fr(n)}function Li(t){return t.prototype&&t.prototype.isReactComponent}function ji(t,n,s,u,p){var b={};Un(n,b);var S=s(u,p);return Gc(s,u,S,p)}function ku(t,n,s,u,p){var b=s.render();s.props!==p&&(vl||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ot(u)||"a component"),vl=!0);{var S=u.childContextTypes;if(S!=null){var A=n.legacyContext,j=su(s,u,A,S);n.legacyContext=j,Gt(t,n,b),n.legacyContext=A;return}}Gt(t,n,b)}function sf(t,n,s,u){Gr(n,s);var p=ki(s,n.legacyContext),b=du(s,u,p);mu(b,s,u,p),ku(t,n,b,s,u),Fr(n)}var Eu={},Ni={},gl={},Cu={},vl=!1,$i={},yl=!1,bl=!1,xl=!1;function Tu(t,n,s,u){var p;if(p=ki(s,n.legacyContext),Mi(n,s),s.prototype&&typeof s.prototype.render=="function"){var b=ot(s)||"Unknown";Eu[b]||(a("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",b,b),Eu[b]=!0)}var S=ji(t,n,s,u,p),A=ul();if(typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){var j=ot(s)||"Unknown";Ni[j]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",j,j,j),Ni[j]=!0)}if(typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){{var q=ot(s)||"Unknown";Ni[q]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",q,q,q),Ni[q]=!0)}mu(S,s,u,p),ku(t,n,S,s,u)}else if(Ru(s),A){var K=n.treeContext,le=1,Oe=0;n.treeContext=al(K,le,Oe);try{Gt(t,n,S)}finally{n.treeContext=K}}else Gt(t,n,S);Fr(n)}function Ru(t){{if(t&&t.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),t.defaultProps!==void 0){var n=ot(t)||"Unknown";$i[n]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",n),$i[n]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var s=ot(t)||"Unknown";Cu[s]||(a("%s: Function components do not support getDerivedStateFromProps.",s),Cu[s]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var u=ot(t)||"Unknown";gl[u]||(a("%s: Function components do not support contextType.",u),gl[u]=!0)}}}function wl(t,n){if(t&&t.defaultProps){var s=Mt({},n),u=t.defaultProps;for(var p in u)s[p]===void 0&&(s[p]=u[p]);return s}return n}function Pu(t,n,s,u,p){Mi(n,s.render);var b=ji(t,n,s.render,u,p),S=ul();if(S){var A=n.treeContext,j=1,q=0;n.treeContext=al(A,j,q);try{Gt(t,n,b)}finally{n.treeContext=A}}else Gt(t,n,b);Fr(n)}function lf(t,n,s,u,p){var b=s.type,S=wl(b,u);Sl(t,n,b,S,p)}function uf(t,n,s,u){s._context===void 0?s!==s.Consumer&&(xl||(xl=!0,a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):s=s._context;var p=u.children;typeof p!="function"&&a("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var b=hn(s),S=p(b);Gt(t,n,S)}function Au(t,n,s,u){var p=s._context,b=u.value,S=u.children,A;A=n.context,n.context=lu(p,b),Gt(t,n,S),n.context=uu(p),A!==n.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function cf(t,n,s,u,p){Vn(n,"Lazy");var b=s._payload,S=s._init,A=S(b),j=wl(A,u);Sl(t,n,A,j,p),Fr(n)}function Sl(t,n,s,u,p){if(typeof s=="function")if(Li(s)){sf(t,n,s,u);return}else{Tu(t,n,s,u);return}if(typeof s=="string"){ml(t,n,s,u);return}switch(s){case Vs:case Ws:case Ht:case tu:case Sa:{Gt(t,n,u.children);return}case gi:{Vn(n,"SuspenseList"),Gt(t,n,u.children),Fr(n);return}case Hs:throw new Error("ReactDOMServer does not yet support scope components.");case Ta:{_i(t,n,u);return}}if(typeof s=="object"&&s!==null)switch(s.$$typeof){case Ca:{Pu(t,n,s,u,p);return}case vi:{lf(t,n,s,u,p);return}case ka:{Au(t,n,s,u);return}case Ea:{uf(t,n,s,u);return}case Ao:{cf(t,n,s,u);return}}var b="";throw(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(b+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(s==null?s:typeof s)+"."+b))}function ff(t,n){typeof Symbol=="function"&&t[Symbol.toStringTag]==="Generator"&&(yl||a("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),yl=!0),t.entries===n&&(bl||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),bl=!0)}function Gt(t,n,s){try{return df(t,n,s)}catch(u){throw typeof u=="object"&&u!==null&&typeof u.then=="function"||(Qr=Qr!==null?Qr:hl()),u}}function df(t,n,s){if(n.node=s,typeof s=="object"&&s!==null){switch(s.$$typeof){case Fc:{var u=s,p=u.type,b=u.props,S=u.ref;Sl(t,n,p,b,S);return}case eu:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Ao:{var A=s,j=A._payload,q=A._init,K;try{K=q(j)}catch(zo){throw typeof zo=="object"&&zo!==null&&typeof zo.then=="function"&&Vn(n,"Lazy"),zo}Gt(t,n,K);return}}if(Zt(s)){rs(t,n,s);return}var le=Dc(s);if(le){ff(s,le);var Oe=le.call(s);if(Oe){var Ye=Oe.next();if(!Ye.done){var gt=[];do gt.push(Ye.value),Ye=Oe.next();while(!Ye.done);rs(t,n,gt);return}return}}var Gn=Object.prototype.toString.call(s);throw new Error("Objects are not valid as a React child (found: "+(Gn==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":Gn)+"). If you meant to render a collection of children, use an array instead.")}if(typeof s=="string"){var Qn=n.blockedSegment;Qn.lastPushedText=Kl(n.blockedSegment.chunks,s,t.responseState,Qn.lastPushedText);return}if(typeof s=="number"){var Xr=n.blockedSegment;Xr.lastPushedText=Kl(n.blockedSegment.chunks,""+s,t.responseState,Xr.lastPushedText);return}typeof s=="function"&&a("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function rs(t,n,s){for(var u=s.length,p=0;p<u;p++){var b=n.treeContext;n.treeContext=al(b,u,p);try{Ot(t,n,s[p])}finally{n.treeContext=b}}}function pf(t,n,s){var u=n.blockedSegment,p=u.chunks.length,b=es(t,p,null,u.formatContext,u.lastPushedText,!0);u.children.push(b),u.lastPushedText=!1;var S=Wn(t,n.node,n.blockedBoundary,b,n.abortSet,n.legacyContext,n.context,n.treeContext);n.componentStack!==null&&(S.componentStack=n.componentStack.parent);var A=S.ping;s.then(A,A)}function Ot(t,n,s){var u=n.blockedSegment.formatContext,p=n.legacyContext,b=n.context,S=null;S=n.componentStack;try{return Gt(t,n,s)}catch(A){if(Oi(),typeof A=="object"&&A!==null&&typeof A.then=="function"){pf(t,n,A),n.blockedSegment.formatContext=u,n.legacyContext=p,n.context=b,Ci(b),n.componentStack=S;return}else throw n.blockedSegment.formatContext=u,n.legacyContext=p,n.context=b,Ci(b),n.componentStack=S,A}}function hf(t,n,s,u){var p=Di(t,u);if(n===null?mr(t,u):(n.pendingTasks--,n.forceClientRender||(n.forceClientRender=!0,n.errorDigest=p,ts(n,u),n.parentFlushed&&t.clientRenderedBoundaries.push(n))),t.allPendingTasks--,t.allPendingTasks===0){var b=t.onAllReady;b()}}function Iu(t){var n=this,s=t.blockedBoundary,u=t.blockedSegment;u.status=Ka,Fu(n,s,u)}function Ou(t,n,s){var u=t.blockedBoundary,p=t.blockedSegment;if(p.status=Ka,u===null)n.allPendingTasks--,n.status!==Hn&&(n.status=Hn,n.destination!==null&&E(n.destination));else{if(u.pendingTasks--,!u.forceClientRender){u.forceClientRender=!0;var b=s===void 0?new Error("The render was aborted by the server without a reason."):s;u.errorDigest=n.onError(b);{var S="The server did not finish this Suspense boundary: ";b&&typeof b.message=="string"?b=S+b.message:b=S+String(b);var A=Yr;Yr=t;try{ts(u,b)}finally{Yr=A}}u.parentFlushed&&n.clientRenderedBoundaries.push(u)}if(u.fallbackAbortableTasks.forEach(function(q){return Ou(q,n,s)}),u.fallbackAbortableTasks.clear(),n.allPendingTasks--,n.allPendingTasks===0){var j=n.onAllReady;j()}}}function $o(t,n){if(n.chunks.length===0&&n.children.length===1&&n.children[0].boundary===null){var s=n.children[0];s.id=n.id,s.parentFlushed=!0,s.status===_o&&$o(t,s)}else{var u=t.completedSegments;u.push(n)}}function Fu(t,n,s){if(n===null){if(s.parentFlushed){if(t.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");t.completedRootSegment=s}if(t.pendingRootTasks--,t.pendingRootTasks===0){t.onShellError=jo;var u=t.onShellReady;u()}}else if(n.pendingTasks--,!n.forceClientRender){if(n.pendingTasks===0)s.parentFlushed&&s.status===_o&&$o(n,s),n.parentFlushed&&t.completedBoundaries.push(n),n.fallbackAbortableTasks.forEach(Iu,t),n.fallbackAbortableTasks.clear();else if(s.parentFlushed&&s.status===_o){$o(n,s);var p=n.completedSegments;p.length===1&&n.parentFlushed&&t.partialBoundaries.push(n)}}if(t.allPendingTasks--,t.allPendingTasks===0){var b=t.onAllReady;b()}}function mf(t,n){var s=n.blockedSegment;if(s.status===qa){Ci(n.context);var u=null;u=Yr,Yr=n;try{Gt(t,n,n.node),Zl(s.chunks,t.responseState,s.lastPushedText,s.textEmbedded),n.abortSet.delete(n),s.status=_o,Fu(t,n.blockedBoundary,s)}catch(b){if(Oi(),typeof b=="object"&&b!==null&&typeof b.then=="function"){var p=n.ping;b.then(p,p)}else n.abortSet.delete(n),s.status=Za,hf(t,n.blockedBoundary,s,b)}finally{Yr=u}}}function kl(t){if(t.status!==Hn){var n=cu(),s=Xa.current;Xa.current=xu;var u;u=Fi.getCurrentStack,Fi.getCurrentStack=hl;var p=dl;wu(t.responseState);try{var b=t.pingedTasks,S;for(S=0;S<b.length;S++){var A=b[S];mf(t,A)}b.splice(0,S),t.destination!==null&&os(t,t.destination)}catch(j){Di(t,j),mr(t,j)}finally{wu(p),Xa.current=s,Fi.getCurrentStack=u,s===xu&&Ci(n)}}}function Yn(t,n,s){switch(s.parentFlushed=!0,s.status){case qa:{var u=s.id=t.nextSegmentId++;return s.lastPushedText=!1,s.textEmbedded=!1,Ar(n,t.responseState,u)}case _o:{s.status=Ja;for(var p=!0,b=s.chunks,S=0,A=s.children,j=0;j<A.length;j++){for(var q=A[j];S<q.index;S++)m(n,b[S]);p=zi(t,n,q)}for(;S<b.length-1;S++)m(n,b[S]);return S<b.length&&(p=x(n,b[S])),p}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function zi(t,n,s){var u=s.boundary;if(u===null)return Yn(t,n,s);if(u.parentFlushed=!0,u.forceClientRender)return Ac(n,t.responseState,u.errorDigest,u.errorMessage,u.errorComponentStack),Yn(t,n,s),Oc(n,t.responseState);if(u.pendingTasks>0){u.rootSegmentID=t.nextSegmentId++,u.completedSegments.length>0&&t.partialBoundaries.push(u);var p=u.id=fr(t.responseState);return _n(n,t.responseState,p),Yn(t,n,s),cn(n,t.responseState)}else{if(u.byteSize>t.progressiveChunkSize)return u.rootSegmentID=t.nextSegmentId++,t.completedBoundaries.push(u),_n(n,t.responseState,u.id),Yn(t,n,s),cn(n,t.responseState);Pc(n,t.responseState);var b=u.completedSegments;if(b.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var S=b[0];return zi(t,n,S),Ic(n,t.responseState)}}function gf(t,n,s){return Ec(n,t.responseState,s.id,s.errorDigest,s.errorMessage,s.errorComponentStack)}function El(t,n,s){return mi(n,t.responseState,s.formatContext,s.id),zi(t,n,s),xa(n,s.formatContext)}function Bi(t,n,s){for(var u=s.completedSegments,p=0;p<u.length;p++){var b=u[p];Mu(t,n,s,b)}return u.length=0,It(n,t.responseState,s.id,s.rootSegmentID)}function ns(t,n,s){for(var u=s.completedSegments,p=0;p<u.length;p++){var b=u[p];if(!Mu(t,n,s,b))return p++,u.splice(0,p),!1}return u.splice(0,p),!0}function Mu(t,n,s,u){if(u.status===Ja)return!0;var p=u.id;if(p===-1){var b=u.id=s.rootSegmentID;if(b===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return El(t,n,u)}else return El(t,n,u),te(n,t.responseState,p)}function os(t,n){try{var s=t.completedRootSegment;s!==null&&t.pendingRootTasks===0&&(zi(t,n,s),t.completedRootSegment=null,Hr(n,t.responseState));var u=t.clientRenderedBoundaries,p;for(p=0;p<u.length;p++){var b=u[p];if(!gf(t,n,b)){t.destination=null,p++,u.splice(0,p);return}}u.splice(0,p);var S=t.completedBoundaries;for(p=0;p<S.length;p++){var A=S[p];if(!Bi(t,n,A)){t.destination=null,p++,S.splice(0,p);return}}S.splice(0,p);var j=t.partialBoundaries;for(p=0;p<j.length;p++){var q=j[p];if(!ns(t,n,q)){t.destination=null,p++,j.splice(0,p);return}}j.splice(0,p);var K=t.completedBoundaries;for(p=0;p<K.length;p++){var le=K[p];if(!Bi(t,n,le)){t.destination=null,p++,K.splice(0,p);return}}K.splice(0,p)}finally{t.allPendingTasks===0&&t.pingedTasks.length===0&&t.clientRenderedBoundaries.length===0&&t.completedBoundaries.length===0&&(t.abortableTasks.size!==0&&a("There was still abortable task at the root when we closed. This is a bug in React."),E(n))}}function Du(t){h(function(){return kl(t)})}function vf(t,n){if(t.status===pl){t.status=Hn,B(n,t.fatalError);return}if(t.status!==Hn&&t.destination===null){t.destination=n;try{os(t,n)}catch(s){Di(t,s),mr(t,s)}}}function _u(t,n){try{var s=t.abortableTasks;s.forEach(function(u){return Ou(u,t,n)}),s.clear(),t.destination!==null&&os(t,t.destination)}catch(u){Di(t,u),mr(t,u)}}function Cl(){}function Lu(t,n,s,u){var p=!1,b=null,S="",A={push:function(le){return le!==null&&(S+=le),!0},destroy:function(le){p=!0,b=le}},j=!1;function q(){j=!0}var K=No(t,Tc(s,n?n.identifierPrefix:void 0),Rc(),1/0,Cl,void 0,q);if(Du(K),_u(K,u),vf(K,A),p)throw b;if(!j)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return S}function yf(t,n){return Lu(t,n,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function ju(t,n){return Lu(t,n,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function bf(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function l(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}Hi.renderToNodeStream=bf,Hi.renderToStaticMarkup=ju,Hi.renderToStaticNodeStream=l,Hi.renderToString=yf,Hi.version=r}()),Hi}var zu={};/**
|
|
67
67
|
* @license React
|
|
68
68
|
* react-dom-server.browser.development.js
|
|
69
69
|
*
|
|
@@ -71,86 +71,69 @@ Error generating stack: `+u.message+`
|
|
|
71
71
|
*
|
|
72
72
|
* This source code is licensed under the MIT license found in the
|
|
73
73
|
* LICENSE file in the root directory of this source tree.
|
|
74
|
-
*/var dh;function Wy(){return dh||(dh=1,process.env.NODE_ENV!=="production"&&function(){var e=A,t="18.3.1",n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(l){{for(var r=arguments.length,o=new Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];c("warn",l,o)}}function a(l){{for(var r=arguments.length,o=new Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];c("error",l,o)}}function c(l,r,o){{var s=n.ReactDebugCurrentFrame,u=s.getStackAddendum();u!==""&&(r+="%s",o=o.concat([u]));var g=o.map(function(w){return String(w)});g.unshift("Warning: "+r),Function.prototype.apply.call(console[l],console,g)}}function p(l){l()}var m=512,h=null,v=0;function C(l){h=new Uint8Array(m),v=0}function x(l,r){if(r.length!==0){if(r.length>m){v>0&&(l.enqueue(new Uint8Array(h.buffer,0,v)),h=new Uint8Array(m),v=0),l.enqueue(r);return}var o=r,s=h.length-v;s<o.length&&(s===0?l.enqueue(h):(h.set(o.subarray(0,s),v),l.enqueue(h),o=o.subarray(s)),h=new Uint8Array(m),v=0),h.set(o,v),v+=o.length}}function F(l,r){return x(l,r),!0}function I(l){h&&v>0&&(l.enqueue(new Uint8Array(h.buffer,0,v)),h=null,v=0)}function L(l){l.close()}var D=new TextEncoder;function T(l){return D.encode(l)}function O(l){return D.encode(l)}function U(l,r){typeof l.error=="function"?l.error(r):l.close()}function j(l){{var r=typeof Symbol=="function"&&Symbol.toStringTag,o=r&&l[Symbol.toStringTag]||l.constructor.name||"Object";return o}}function V(l){try{return $(l),!1}catch{return!0}}function $(l){return""+l}function J(l,r){if(V(l))return a("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",r,j(l)),$(l)}function ae(l,r){if(V(l))return a("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",r,j(l)),$(l)}function re(l){if(V(l))return a("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",j(l)),$(l)}var le=Object.prototype.hasOwnProperty,ye=0,De=1,Fe=2,$e=3,ze=4,xe=5,Re=6,Le=":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",Z=Le+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ve=new RegExp("^["+Le+"]["+Z+"]*$"),Y={},K={};function fe(l){return le.call(K,l)?!0:le.call(Y,l)?!1:ve.test(l)?(K[l]=!0,!0):(Y[l]=!0,a("Invalid attribute name: `%s`",l),!1)}function te(l,r,o,s){if(o!==null&&o.type===ye)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":{if(o!==null)return!o.acceptsBooleans;var u=l.toLowerCase().slice(0,5);return u!=="data-"&&u!=="aria-"}default:return!1}}function he(l){return ue.hasOwnProperty(l)?ue[l]:null}function me(l,r,o,s,u,g,w){this.acceptsBooleans=r===Fe||r===$e||r===ze,this.attributeName=s,this.attributeNamespace=u,this.mustUseProperty=o,this.propertyName=l,this.type=r,this.sanitizeURL=g,this.removeEmptyString=w}var ue={},ce=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ce.forEach(function(l){ue[l]=new me(l,ye,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var r=l[0],o=l[1];ue[r]=new me(r,De,!1,o,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){ue[l]=new me(l,Fe,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){ue[l]=new me(l,Fe,!1,l,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"].forEach(function(l){ue[l]=new me(l,$e,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){ue[l]=new me(l,$e,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){ue[l]=new me(l,ze,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){ue[l]=new me(l,Re,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){ue[l]=new me(l,xe,!1,l.toLowerCase(),null,!1,!1)});var Ee=/[\-\:]([a-z])/g,Se=function(l){return l[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"].forEach(function(l){var r=l.replace(Ee,Se);ue[r]=new me(r,De,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var r=l.replace(Ee,Se);ue[r]=new me(r,De,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var r=l.replace(Ee,Se);ue[r]=new me(r,De,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){ue[l]=new me(l,De,!1,l.toLowerCase(),null,!1,!1)});var Pe="xlinkHref";ue[Pe]=new me("xlinkHref",De,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){ue[l]=new me(l,De,!1,l.toLowerCase(),null,!0,!0)});var Be={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function se(l,r){return l+r.charAt(0).toUpperCase()+r.substring(1)}var We=["Webkit","ms","Moz","O"];Object.keys(Be).forEach(function(l){We.forEach(function(r){Be[se(r,l)]=Be[l]})});var ot={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Nt(l,r){ot[r.type]||r.onChange||r.onInput||r.readOnly||r.disabled||r.value==null||a("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),r.onChange||r.readOnly||r.disabled||r.checked==null||a("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Br(l,r){if(l.indexOf("-")===-1)return typeof r.is=="string";switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xo={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},zt={},Ur=new RegExp("^(aria)-["+Z+"]*$"),Hr=new RegExp("^(aria)[A-Z]["+Z+"]*$");function So(l,r){{if(le.call(zt,r)&&zt[r])return!0;if(Hr.test(r)){var o="aria-"+r.slice(4).toLowerCase(),s=xo.hasOwnProperty(o)?o:null;if(s==null)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",r),zt[r]=!0,!0;if(r!==s)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",r,s),zt[r]=!0,!0}if(Ur.test(r)){var u=r.toLowerCase(),g=xo.hasOwnProperty(u)?u:null;if(g==null)return zt[r]=!0,!1;if(r!==g)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",r,g),zt[r]=!0,!0}}return!0}function Bt(l,r){{var o=[];for(var s in r){var u=So(l,s);u||o.push(s)}var g=o.map(function(w){return"`"+w+"`"}).join(", ");o.length===1?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,l):o.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,l)}}function gt(l,r){Br(l,r)||Bt(l,r)}var ft=!1;function In(l,r){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;r!=null&&r.value===null&&!ft&&(ft=!0,l==="select"&&r.multiple?a("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",l):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",l))}}var Fn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Mn=function(){};{var st={},Dn=/^on./,ko=/^on[^A-Z]/,Eo=new RegExp("^(aria)-["+Z+"]*$"),_n=new RegExp("^(aria)[A-Z]["+Z+"]*$");Mn=function(l,r,o,s){if(le.call(st,r)&&st[r])return!0;var u=r.toLowerCase();if(u==="onfocusin"||u==="onfocusout")return a("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),st[r]=!0,!0;if(s!=null){var g=s.registrationNameDependencies,w=s.possibleRegistrationNames;if(g.hasOwnProperty(r))return!0;var k=w.hasOwnProperty(u)?w[u]:null;if(k!=null)return a("Invalid event handler property `%s`. Did you mean `%s`?",r,k),st[r]=!0,!0;if(Dn.test(r))return a("Unknown event handler property `%s`. It will be ignored.",r),st[r]=!0,!0}else if(Dn.test(r))return ko.test(r)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",r),st[r]=!0,!0;if(Eo.test(r)||_n.test(r))return!0;if(u==="innerhtml")return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),st[r]=!0,!0;if(u==="aria")return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),st[r]=!0,!0;if(u==="is"&&o!==null&&o!==void 0&&typeof o!="string")return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof o),st[r]=!0,!0;if(typeof o=="number"&&isNaN(o))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",r),st[r]=!0,!0;var M=he(r),z=M!==null&&M.type===ye;if(Fn.hasOwnProperty(u)){var Q=Fn[u];if(Q!==r)return a("Invalid DOM property `%s`. Did you mean `%s`?",r,Q),st[r]=!0,!0}else if(!z&&r!==u)return a("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",r,u),st[r]=!0,!0;return typeof o=="boolean"&&te(r,o,M)?(o?a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',o,r,r,o,r):a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',o,r,r,o,r,r,r),st[r]=!0,!0):z?!0:te(r,o,M)?(st[r]=!0,!1):((o==="false"||o==="true")&&M!==null&&M.type===$e&&(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",o,r,o==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',r,o),st[r]=!0),!0)}}var ln=function(l,r,o){{var s=[];for(var u in r){var g=Mn(l,u,r[u],o);g||s.push(u)}var w=s.map(function(k){return"`"+k+"`"}).join(", ");s.length===1?a("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,l):s.length>1&&a("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,l)}};function Ei(l,r,o){Br(l,r)||ln(l,r,o)}var Ln=function(){};{var Sr=/^(?:webkit|moz|o)[A-Z]/,$n=/^-ms-/,Co=/-(.)/g,xt=/;\s*$/,tr={},kr={},Qe=!1,Er=!1,un=function(l){return l.replace(Co,function(r,o){return o.toUpperCase()})},Wr=function(l){tr.hasOwnProperty(l)&&tr[l]||(tr[l]=!0,a("Unsupported style property %s. Did you mean %s?",l,un(l.replace($n,"ms-"))))},rr=function(l){tr.hasOwnProperty(l)&&tr[l]||(tr[l]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},cn=function(l,r){kr.hasOwnProperty(r)&&kr[r]||(kr[r]=!0,a(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,r.replace(xt,"")))},hr=function(l,r){Qe||(Qe=!0,a("`NaN` is an invalid value for the `%s` css style property.",l))},dt=function(l,r){Er||(Er=!0,a("`Infinity` is an invalid value for the `%s` css style property.",l))};Ln=function(l,r){l.indexOf("-")>-1?Wr(l):Sr.test(l)?rr(l):xt.test(r)&&cn(l,r),typeof r=="number"&&(isNaN(r)?hr(l,r):isFinite(r)||dt(l,r))}}var jn=Ln,Nn=/["'&<>]/;function To(l){re(l);var r=""+l,o=Nn.exec(r);if(!o)return r;var s,u="",g,w=0;for(g=o.index;g<r.length;g++){switch(r.charCodeAt(g)){case 34:s=""";break;case 38:s="&";break;case 39:s="'";break;case 60:s="<";break;case 62:s=">";break;default:continue}w!==g&&(u+=r.substring(w,g)),w=g+1,u+=s}return w!==g?u+r.substring(w,g):u}function lt(l){return typeof l=="boolean"||typeof l=="number"?""+l:To(l)}var zn=/([A-Z])/g,Ci=/^ms-/;function Ti(l){return l.replace(zn,"-$1").toLowerCase().replace(Ci,"-ms-")}var nr=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Bn=!1;function fn(l){!Bn&&nr.test(l)&&(Bn=!0,a("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(l)))}var Cr=Array.isArray;function Rt(l){return Cr(l)}var or=O("<script>"),dn=O("<\/script>"),Tr=O('<script src="'),Rr=O('<script type="module" src="'),ir=O('" async=""><\/script>');function Pr(l){return re(l),(""+l).replace(Pt,Ro)}var Pt=/(<\/|<)(s)(cript)/gi,Ro=function(l,r,o,s){return""+r+(o==="s"?"\\u0073":"\\u0053")+s};function Po(l,r,o,s,u){var g=l===void 0?"":l,w=r===void 0?or:O('<script nonce="'+lt(r)+'">'),k=[];if(o!==void 0&&k.push(w,T(Pr(o)),dn),s!==void 0)for(var M=0;M<s.length;M++)k.push(Tr,T(lt(s[M])),ir);if(u!==void 0)for(var z=0;z<u.length;z++)k.push(Rr,T(lt(u[z])),ir);return{bootstrapChunks:k,startInlineScript:w,placeholderPrefix:O(g+"P:"),segmentPrefix:O(g+"S:"),boundaryPrefix:g+"B:",idPrefix:g,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var mr=0,ut=1,ar=2,sr=3,Ar=4,pn=5,Ut=6,lr=7;function St(l,r){return{insertionMode:l,selectedValue:r}}function Or(l){var r=l==="http://www.w3.org/2000/svg"?ar:l==="http://www.w3.org/1998/Math/MathML"?sr:mr;return St(r,null)}function Vr(l,r,o){switch(r){case"select":return St(ut,o.value!=null?o.value:o.defaultValue);case"svg":return St(ar,null);case"math":return St(sr,null);case"foreignObject":return St(ut,null);case"table":return St(Ar,null);case"thead":case"tbody":case"tfoot":return St(pn,null);case"colgroup":return St(lr,null);case"tr":return St(Ut,null)}return l.insertionMode>=Ar||l.insertionMode===mr?St(ut,null):l}var hn=null;function _t(l){var r=l.nextSuspenseID++;return O(l.boundaryPrefix+r.toString(16))}function ur(l,r,o){var s=l.idPrefix,u=":"+s+"R"+r;return o>0&&(u+="H"+o.toString(32)),u+":"}function kt(l){return lt(l)}var mn=O("<!-- -->");function mt(l,r,o,s){return r===""?s:(s&&l.push(mn),l.push(T(kt(r))),!0)}function At(l,r,o,s){o&&s&&l.push(mn)}var f=new Map;function b(l){var r=f.get(l);if(r!==void 0)return r;var o=O(lt(Ti(l)));return f.set(l,o),o}var E=O(' style="'),P=O(":"),H=O(";");function N(l,r,o){if(typeof o!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var s=!0;for(var u in o)if(le.call(o,u)){var g=o[u];if(!(g==null||typeof g=="boolean"||g==="")){var w=void 0,k=void 0,M=u.indexOf("--")===0;M?(w=T(lt(u)),ae(g,u),k=T(lt((""+g).trim()))):(jn(u,g),w=b(u),typeof g=="number"?g!==0&&!le.call(Be,u)?k=T(g+"px"):k=T(""+g):(ae(g,u),k=T(lt((""+g).trim())))),s?(s=!1,l.push(E,w,P,k)):l.push(H,w,P,k)}}s||l.push(ke)}var G=O(" "),ne=O('="'),ke=O('"'),Ae=O('=""');function Ce(l,r,o,s){switch(o){case"style":{N(l,r,s);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(o.length>2&&(o[0]==="o"||o[0]==="O")&&(o[1]==="n"||o[1]==="N"))){var u=he(o);if(u!==null){switch(typeof s){case"function":case"symbol":return;case"boolean":if(!u.acceptsBooleans)return}var g=u.attributeName,w=T(g);switch(u.type){case $e:s&&l.push(G,w,Ae);return;case ze:s===!0?l.push(G,w,Ae):s===!1||l.push(G,w,ne,T(lt(s)),ke);return;case xe:isNaN(s)||l.push(G,w,ne,T(lt(s)),ke);break;case Re:!isNaN(s)&&s>=1&&l.push(G,w,ne,T(lt(s)),ke);break;default:u.sanitizeURL&&(J(s,g),s=""+s,fn(s)),l.push(G,w,ne,T(lt(s)),ke)}}else if(fe(o)){switch(typeof s){case"function":case"symbol":return;case"boolean":{var k=o.toLowerCase().slice(0,5);if(k!=="data-"&&k!=="aria-")return}}l.push(G,T(o),ne,T(lt(s)),ke)}}}var Ve=O(">"),Et=O("/>");function Ct(l,r,o){if(r!=null){if(o!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof r!="object"||!("__html"in r))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var s=r.__html;s!=null&&(re(s),l.push(T(""+s)))}}var Tt=!1,Ir=!1,cr=!1,gn=!1,Fr=!1,Gr=!1,gr=!1;function Yr(l,r){{var o=l[r];if(o!=null){var s=Rt(o);l.multiple&&!s?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.",r):!l.multiple&&s&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",r)}}}function rl(l,r,o){Nt("select",r),Yr(r,"value"),Yr(r,"defaultValue"),r.value!==void 0&&r.defaultValue!==void 0&&!cr&&(a("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),cr=!0),l.push(Ht("select"));var s=null,u=null;for(var g in r)if(le.call(r,g)){var w=r[g];if(w==null)continue;switch(g){case"children":s=w;break;case"dangerouslySetInnerHTML":u=w;break;case"defaultValue":case"value":break;default:Ce(l,o,g,w);break}}return l.push(Ve),Ct(l,u,s),s}function nl(l){var r="";return e.Children.forEach(l,function(o){o!=null&&(r+=o,!Fr&&typeof o!="string"&&typeof o!="number"&&(Fr=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),r}var Ao=O(' selected=""');function fr(l,r,o,s){var u=s.selectedValue;l.push(Ht("option"));var g=null,w=null,k=null,M=null;for(var z in r)if(le.call(r,z)){var Q=r[z];if(Q==null)continue;switch(z){case"children":g=Q;break;case"selected":k=Q,gr||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),gr=!0);break;case"dangerouslySetInnerHTML":M=Q;break;case"value":w=Q;default:Ce(l,o,z,Q);break}}if(u!=null){var ee;if(w!==null?(J(w,"value"),ee=""+w):(M!==null&&(Gr||(Gr=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),ee=nl(g)),Rt(u))for(var de=0;de<u.length;de++){J(u[de],"value");var Me=""+u[de];if(Me===ee){l.push(Ao);break}}else J(u,"select.value"),""+u===ee&&l.push(Ao)}else k&&l.push(Ao);return l.push(Ve),Ct(l,M,g),g}function ol(l,r,o){Nt("input",r),r.checked!==void 0&&r.defaultChecked!==void 0&&!Ir&&(a("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",r.type),Ir=!0),r.value!==void 0&&r.defaultValue!==void 0&&!Tt&&(a("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",r.type),Tt=!0),l.push(Ht("input"));var s=null,u=null,g=null,w=null;for(var k in r)if(le.call(r,k)){var M=r[k];if(M==null)continue;switch(k){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":w=M;break;case"defaultValue":u=M;break;case"checked":g=M;break;case"value":s=M;break;default:Ce(l,o,k,M);break}}return g!==null?Ce(l,o,"checked",g):w!==null&&Ce(l,o,"checked",w),s!==null?Ce(l,o,"value",s):u!==null&&Ce(l,o,"value",u),l.push(Et),null}function vr(l,r,o){Nt("textarea",r),r.value!==void 0&&r.defaultValue!==void 0&&!gn&&(a("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),gn=!0),l.push(Ht("textarea"));var s=null,u=null,g=null;for(var w in r)if(le.call(r,w)){var k=r[w];if(k==null)continue;switch(w){case"children":g=k;break;case"value":s=k;break;case"defaultValue":u=k;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:Ce(l,o,w,k);break}}if(s===null&&u!==null&&(s=u),l.push(Ve),g!=null){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),s!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Rt(g)){if(g.length>1)throw new Error("<textarea> can only have at most one child.");re(g[0]),s=""+g[0]}re(g),s=""+g}return typeof s=="string"&&s[0]===`
|
|
75
|
-
`&&l.push(
|
|
76
|
-
`);function
|
|
77
|
-
`?l.push(
|
|
78
|
-
`&&l.push(
|
|
79
|
-
`+
|
|
80
|
-
`),
|
|
81
|
-
`),
|
|
82
|
-
`+
|
|
83
|
-
|
|
84
|
-
Please check the code for the %s component.`,
|
|
74
|
+
*/var mp;function ov(){return mp||(mp=1,process.env.NODE_ENV!=="production"&&function(){var e=V,r="18.3.1",o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(l){{for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];d("warn",l,n)}}function a(l){{for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];d("error",l,n)}}function d(l,t,n){{var s=o.ReactDebugCurrentFrame,u=s.getStackAddendum();u!==""&&(t+="%s",n=n.concat([u]));var p=n.map(function(b){return String(b)});p.unshift("Warning: "+t),Function.prototype.apply.call(console[l],console,p)}}function h(l){l()}var y=512,m=null,x=0;function R(l){m=new Uint8Array(y),x=0}function E(l,t){if(t.length!==0){if(t.length>y){x>0&&(l.enqueue(new Uint8Array(m.buffer,0,x)),m=new Uint8Array(y),x=0),l.enqueue(t);return}var n=t,s=m.length-x;s<n.length&&(s===0?l.enqueue(m):(m.set(n.subarray(0,s),x),l.enqueue(m),n=n.subarray(s)),m=new Uint8Array(y),x=0),m.set(n,x),x+=n.length}}function F(l,t){return E(l,t),!0}function M(l){m&&x>0&&(l.enqueue(new Uint8Array(m.buffer,0,x)),m=null,x=0)}function B(l){l.close()}var D=new TextEncoder;function P(l){return D.encode(l)}function I(l){return D.encode(l)}function W(l,t){typeof l.error=="function"?l.error(t):l.close()}function U(l){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&l[Symbol.toStringTag]||l.constructor.name||"Object";return n}}function Y(l){try{return _(l),!1}catch{return!0}}function _(l){return""+l}function ie(l,t){if(Y(l))return a("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,U(l)),_(l)}function fe(l,t){if(Y(l))return a("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,U(l)),_(l)}function ne(l){if(Y(l))return a("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",U(l)),_(l)}var ae=Object.prototype.hasOwnProperty,Fe=0,Ne=1,_e=2,Ge=3,Qe=4,ke=5,Ce=6,je=":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",Z=je+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",be=new RegExp("^["+je+"]["+Z+"]*$"),Q={},J={};function ce(l){return ae.call(J,l)?!0:ae.call(Q,l)?!1:be.test(l)?(J[l]=!0,!0):(Q[l]=!0,a("Invalid attribute name: `%s`",l),!1)}function me(l,t,n,s){if(n!==null&&n.type===Fe)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(n!==null)return!n.acceptsBooleans;var u=l.toLowerCase().slice(0,5);return u!=="data-"&&u!=="aria-"}default:return!1}}function pe(l){return se.hasOwnProperty(l)?se[l]:null}function ge(l,t,n,s,u,p,b){this.acceptsBooleans=t===_e||t===Ge||t===Qe,this.attributeName=s,this.attributeNamespace=u,this.mustUseProperty=n,this.propertyName=l,this.type=t,this.sanitizeURL=p,this.removeEmptyString=b}var se={},ue=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ue.forEach(function(l){se[l]=new ge(l,Fe,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var t=l[0],n=l[1];se[t]=new ge(t,Ne,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){se[l]=new ge(l,_e,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){se[l]=new ge(l,_e,!1,l,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"].forEach(function(l){se[l]=new ge(l,Ge,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){se[l]=new ge(l,Ge,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){se[l]=new ge(l,Qe,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){se[l]=new ge(l,Ce,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){se[l]=new ge(l,ke,!1,l.toLowerCase(),null,!1,!1)});var Te=/[\-\:]([a-z])/g,Ee=function(l){return l[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"].forEach(function(l){var t=l.replace(Te,Ee);se[t]=new ge(t,Ne,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var t=l.replace(Te,Ee);se[t]=new ge(t,Ne,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var t=l.replace(Te,Ee);se[t]=new ge(t,Ne,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){se[l]=new ge(l,Ne,!1,l.toLowerCase(),null,!1,!1)});var Re="xlinkHref";se[Re]=new ge("xlinkHref",Ne,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){se[l]=new ge(l,Ne,!1,l.toLowerCase(),null,!0,!0)});var $e={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function oe(l,t){return l+t.charAt(0).toUpperCase()+t.substring(1)}var Ue=["Webkit","ms","Moz","O"];Object.keys($e).forEach(function(l){Ue.forEach(function(t){$e[oe(t,l)]=$e[l]})});var nt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Lt(l,t){nt[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||a("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||a("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Lr(l,t){if(l.indexOf("-")===-1)return typeof t.is=="string";switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var so={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},jt={},jr=new RegExp("^(aria)-["+Z+"]*$"),Nr=new RegExp("^(aria)[A-Z]["+Z+"]*$");function lo(l,t){{if(ae.call(jt,t)&&jt[t])return!0;if(Nr.test(t)){var n="aria-"+t.slice(4).toLowerCase(),s=so.hasOwnProperty(n)?n:null;if(s==null)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),jt[t]=!0,!0;if(t!==s)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,s),jt[t]=!0,!0}if(jr.test(t)){var u=t.toLowerCase(),p=so.hasOwnProperty(u)?u:null;if(p==null)return jt[t]=!0,!1;if(t!==p)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,p),jt[t]=!0,!0}}return!0}function Nt(l,t){{var n=[];for(var s in t){var u=lo(l,s);u||n.push(s)}var p=n.map(function(b){return"`"+b+"`"}).join(", ");n.length===1?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",p,l):n.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",p,l)}}function mt(l,t){Lr(l,t)||Nt(l,t)}var ct=!1;function kn(l,t){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;t!=null&&t.value===null&&!ct&&(ct=!0,l==="select"&&t.multiple?a("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",l):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",l))}}var En={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Cn=function(){};{var at={},Tn=/^on./,uo=/^on[^A-Z]/,co=new RegExp("^(aria)-["+Z+"]*$"),Rn=new RegExp("^(aria)[A-Z]["+Z+"]*$");Cn=function(l,t,n,s){if(ae.call(at,t)&&at[t])return!0;var u=t.toLowerCase();if(u==="onfocusin"||u==="onfocusout")return a("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),at[t]=!0,!0;if(s!=null){var p=s.registrationNameDependencies,b=s.possibleRegistrationNames;if(p.hasOwnProperty(t))return!0;var S=b.hasOwnProperty(u)?b[u]:null;if(S!=null)return a("Invalid event handler property `%s`. Did you mean `%s`?",t,S),at[t]=!0,!0;if(Tn.test(t))return a("Unknown event handler property `%s`. It will be ignored.",t),at[t]=!0,!0}else if(Tn.test(t))return uo.test(t)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),at[t]=!0,!0;if(co.test(t)||Rn.test(t))return!0;if(u==="innerhtml")return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),at[t]=!0,!0;if(u==="aria")return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),at[t]=!0,!0;if(u==="is"&&n!==null&&n!==void 0&&typeof n!="string")return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),at[t]=!0,!0;if(typeof n=="number"&&isNaN(n))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),at[t]=!0,!0;var A=pe(t),j=A!==null&&A.type===Fe;if(En.hasOwnProperty(u)){var q=En[u];if(q!==t)return a("Invalid DOM property `%s`. Did you mean `%s`?",t,q),at[t]=!0,!0}else if(!j&&t!==u)return a("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,u),at[t]=!0,!0;return typeof n=="boolean"&&me(t,n,A)?(n?a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),at[t]=!0,!0):j?!0:me(t,n,A)?(at[t]=!0,!1):((n==="false"||n==="true")&&A!==null&&A.type===Ge&&(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),at[t]=!0),!0)}}var en=function(l,t,n){{var s=[];for(var u in t){var p=Cn(l,u,t[u],n);p||s.push(u)}var b=s.map(function(S){return"`"+S+"`"}).join(", ");s.length===1?a("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",b,l):s.length>1&&a("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",b,l)}};function si(l,t,n){Lr(l,t)||en(l,t,n)}var Pn=function(){};{var yr=/^(?:webkit|moz|o)[A-Z]/,An=/^-ms-/,fo=/-(.)/g,xt=/;\s*$/,Jt={},br={},Xe=!1,xr=!1,tn=function(l){return l.replace(fo,function(t,n){return n.toUpperCase()})},$r=function(l){Jt.hasOwnProperty(l)&&Jt[l]||(Jt[l]=!0,a("Unsupported style property %s. Did you mean %s?",l,tn(l.replace(An,"ms-"))))},Kt=function(l){Jt.hasOwnProperty(l)&&Jt[l]||(Jt[l]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},rn=function(l,t){br.hasOwnProperty(t)&&br[t]||(br[t]=!0,a(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,t.replace(xt,"")))},cr=function(l,t){Xe||(Xe=!0,a("`NaN` is an invalid value for the `%s` css style property.",l))},ft=function(l,t){xr||(xr=!0,a("`Infinity` is an invalid value for the `%s` css style property.",l))};Pn=function(l,t){l.indexOf("-")>-1?$r(l):yr.test(l)?Kt(l):xt.test(t)&&rn(l,t),typeof t=="number"&&(isNaN(t)?cr(l,t):isFinite(t)||ft(l,t))}}var In=Pn,On=/["'&<>]/;function po(l){ne(l);var t=""+l,n=On.exec(t);if(!n)return t;var s,u="",p,b=0;for(p=n.index;p<t.length;p++){switch(t.charCodeAt(p)){case 34:s=""";break;case 38:s="&";break;case 39:s="'";break;case 60:s="<";break;case 62:s=">";break;default:continue}b!==p&&(u+=t.substring(b,p)),b=p+1,u+=s}return b!==p?u+t.substring(b,p):u}function st(l){return typeof l=="boolean"||typeof l=="number"?""+l:po(l)}var Fn=/([A-Z])/g,li=/^ms-/;function ui(l){return l.replace(Fn,"-$1").toLowerCase().replace(li,"-ms-")}var Zt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Mn=!1;function nn(l){!Mn&&Zt.test(l)&&(Mn=!0,a("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(l)))}var wr=Array.isArray;function Tt(l){return wr(l)}var er=I("<script>"),on=I("<\/script>"),Sr=I('<script src="'),kr=I('<script type="module" src="'),tr=I('" async=""><\/script>');function Er(l){return ne(l),(""+l).replace(Rt,ho)}var Rt=/(<\/|<)(s)(cript)/gi,ho=function(l,t,n,s){return""+t+(n==="s"?"\\u0073":"\\u0053")+s};function mo(l,t,n,s,u){var p=l===void 0?"":l,b=t===void 0?er:I('<script nonce="'+st(t)+'">'),S=[];if(n!==void 0&&S.push(b,P(Er(n)),on),s!==void 0)for(var A=0;A<s.length;A++)S.push(Sr,P(st(s[A])),tr);if(u!==void 0)for(var j=0;j<u.length;j++)S.push(kr,P(st(u[j])),tr);return{bootstrapChunks:S,startInlineScript:b,placeholderPrefix:I(p+"P:"),segmentPrefix:I(p+"S:"),boundaryPrefix:p+"B:",idPrefix:p,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var fr=0,lt=1,rr=2,nr=3,Cr=4,an=5,$t=6,or=7;function wt(l,t){return{insertionMode:l,selectedValue:t}}function Tr(l){var t=l==="http://www.w3.org/2000/svg"?rr:l==="http://www.w3.org/1998/Math/MathML"?nr:fr;return wt(t,null)}function zr(l,t,n){switch(t){case"select":return wt(lt,n.value!=null?n.value:n.defaultValue);case"svg":return wt(rr,null);case"math":return wt(nr,null);case"foreignObject":return wt(lt,null);case"table":return wt(Cr,null);case"thead":case"tbody":case"tfoot":return wt(an,null);case"colgroup":return wt(or,null);case"tr":return wt($t,null)}return l.insertionMode>=Cr||l.insertionMode===fr?wt(lt,null):l}var sn=null;function Ft(l){var t=l.nextSuspenseID++;return I(l.boundaryPrefix+t.toString(16))}function ir(l,t,n){var s=l.idPrefix,u=":"+s+"R"+t;return n>0&&(u+="H"+n.toString(32)),u+":"}function St(l){return st(l)}var ln=I("<!-- -->");function ht(l,t,n,s){return t===""?s:(s&&l.push(ln),l.push(P(St(t))),!0)}function Pt(l,t,n,s){n&&s&&l.push(ln)}var c=new Map;function v(l){var t=c.get(l);if(t!==void 0)return t;var n=I(st(ui(l)));return c.set(l,n),n}var k=I(' style="'),T=I(":"),$=I(";");function L(l,t,n){if(typeof n!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var s=!0;for(var u in n)if(ae.call(n,u)){var p=n[u];if(!(p==null||typeof p=="boolean"||p==="")){var b=void 0,S=void 0,A=u.indexOf("--")===0;A?(b=P(st(u)),fe(p,u),S=P(st((""+p).trim()))):(In(u,p),b=v(u),typeof p=="number"?p!==0&&!ae.call($e,u)?S=P(p+"px"):S=P(""+p):(fe(p,u),S=P(st((""+p).trim())))),s?(s=!1,l.push(k,b,T,S)):l.push($,b,T,S)}}s||l.push(xe)}var H=I(" "),ee=I('="'),xe=I('"'),Pe=I('=""');function we(l,t,n,s){switch(n){case"style":{L(l,t,s);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(n.length>2&&(n[0]==="o"||n[0]==="O")&&(n[1]==="n"||n[1]==="N"))){var u=pe(n);if(u!==null){switch(typeof s){case"function":case"symbol":return;case"boolean":if(!u.acceptsBooleans)return}var p=u.attributeName,b=P(p);switch(u.type){case Ge:s&&l.push(H,b,Pe);return;case Qe:s===!0?l.push(H,b,Pe):s===!1||l.push(H,b,ee,P(st(s)),xe);return;case ke:isNaN(s)||l.push(H,b,ee,P(st(s)),xe);break;case Ce:!isNaN(s)&&s>=1&&l.push(H,b,ee,P(st(s)),xe);break;default:u.sanitizeURL&&(ie(s,p),s=""+s,nn(s)),l.push(H,b,ee,P(st(s)),xe)}}else if(ce(n)){switch(typeof s){case"function":case"symbol":return;case"boolean":{var S=n.toLowerCase().slice(0,5);if(S!=="data-"&&S!=="aria-")return}}l.push(H,P(n),ee,P(st(s)),xe)}}}var He=I(">"),kt=I("/>");function Et(l,t,n){if(t!=null){if(n!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t!="object"||!("__html"in t))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var s=t.__html;s!=null&&(ne(s),l.push(P(""+s)))}}var Ct=!1,Rr=!1,ar=!1,un=!1,Pr=!1,Br=!1,dr=!1;function Ur(l,t){{var n=l[t];if(n!=null){var s=Tt(n);l.multiple&&!s?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.",t):!l.multiple&&s&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",t)}}}function _s(l,t,n){Lt("select",t),Ur(t,"value"),Ur(t,"defaultValue"),t.value!==void 0&&t.defaultValue!==void 0&&!ar&&(a("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),ar=!0),l.push(zt("select"));var s=null,u=null;for(var p in t)if(ae.call(t,p)){var b=t[p];if(b==null)continue;switch(p){case"children":s=b;break;case"dangerouslySetInnerHTML":u=b;break;case"defaultValue":case"value":break;default:we(l,n,p,b);break}}return l.push(He),Et(l,u,s),s}function Ls(l){var t="";return e.Children.forEach(l,function(n){n!=null&&(t+=n,!Pr&&typeof n!="string"&&typeof n!="number"&&(Pr=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),t}var go=I(' selected=""');function sr(l,t,n,s){var u=s.selectedValue;l.push(zt("option"));var p=null,b=null,S=null,A=null;for(var j in t)if(ae.call(t,j)){var q=t[j];if(q==null)continue;switch(j){case"children":p=q;break;case"selected":S=q,dr||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),dr=!0);break;case"dangerouslySetInnerHTML":A=q;break;case"value":b=q;default:we(l,n,j,q);break}}if(u!=null){var K;if(b!==null?(ie(b,"value"),K=""+b):(A!==null&&(Br||(Br=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),K=Ls(p)),Tt(u))for(var le=0;le<u.length;le++){ie(u[le],"value");var Oe=""+u[le];if(Oe===K){l.push(go);break}}else ie(u,"select.value"),""+u===K&&l.push(go)}else S&&l.push(go);return l.push(He),Et(l,A,p),p}function js(l,t,n){Lt("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Rr&&(a("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",t.type),Rr=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Ct&&(a("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",t.type),Ct=!0),l.push(zt("input"));var s=null,u=null,p=null,b=null;for(var S in t)if(ae.call(t,S)){var A=t[S];if(A==null)continue;switch(S){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":b=A;break;case"defaultValue":u=A;break;case"checked":p=A;break;case"value":s=A;break;default:we(l,n,S,A);break}}return p!==null?we(l,n,"checked",p):b!==null&&we(l,n,"checked",b),s!==null?we(l,n,"value",s):u!==null&&we(l,n,"value",u),l.push(kt),null}function pr(l,t,n){Lt("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!un&&(a("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),un=!0),l.push(zt("textarea"));var s=null,u=null,p=null;for(var b in t)if(ae.call(t,b)){var S=t[b];if(S==null)continue;switch(b){case"children":p=S;break;case"value":s=S;break;case"defaultValue":u=S;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:we(l,n,b,S);break}}if(s===null&&u!==null&&(s=u),l.push(He),p!=null){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),s!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Tt(p)){if(p.length>1)throw new Error("<textarea> can only have at most one child.");ne(p[0]),s=""+p[0]}ne(p),s=""+p}return typeof s=="string"&&s[0]===`
|
|
75
|
+
`&&l.push(Wr),s!==null&&(ie(s,"value"),l.push(P(St(""+s)))),null}function ci(l,t,n,s){l.push(zt(n));for(var u in t)if(ae.call(t,u)){var p=t[u];if(p==null)continue;switch(u){case"children":case"dangerouslySetInnerHTML":throw new Error(n+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:we(l,s,u,p);break}}return l.push(kt),null}function vo(l,t,n){l.push(zt("menuitem"));for(var s in t)if(ae.call(t,s)){var u=t[s];if(u==null)continue;switch(s){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:we(l,n,s,u);break}}return l.push(He),null}function qe(l,t,n){l.push(zt("title"));var s=null;for(var u in t)if(ae.call(t,u)){var p=t[u];if(p==null)continue;switch(u){case"children":s=p;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:we(l,n,u,p);break}}l.push(He);{var b=Array.isArray(s)&&s.length<2?s[0]||null:s;Array.isArray(s)&&s.length>1?a("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):b!=null&&b.$$typeof!=null?a("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):b!=null&&typeof b!="string"&&typeof b!="number"&&a("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return s}function Hr(l,t,n,s){l.push(zt(n));var u=null,p=null;for(var b in t)if(ae.call(t,b)){var S=t[b];if(S==null)continue;switch(b){case"children":u=S;break;case"dangerouslySetInnerHTML":p=S;break;default:we(l,s,b,S);break}}return l.push(He),Et(l,p,u),typeof u=="string"?(l.push(P(St(u))),null):u}function yo(l,t,n,s){l.push(zt(n));var u=null,p=null;for(var b in t)if(ae.call(t,b)){var S=t[b];if(S==null)continue;switch(b){case"children":u=S;break;case"dangerouslySetInnerHTML":p=S;break;case"style":L(l,s,S);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ce(b)&&typeof S!="function"&&typeof S!="symbol"&&l.push(H,P(b),ee,P(st(S)),xe);break}}return l.push(He),Et(l,p,u),u}var Wr=I(`
|
|
76
|
+
`);function Ar(l,t,n,s){l.push(zt(n));var u=null,p=null;for(var b in t)if(ae.call(t,b)){var S=t[b];if(S==null)continue;switch(b){case"children":u=S;break;case"dangerouslySetInnerHTML":p=S;break;default:we(l,s,b,S);break}}if(l.push(He),p!=null){if(u!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof p!="object"||!("__html"in p))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var A=p.__html;A!=null&&(typeof A=="string"&&A.length>0&&A[0]===`
|
|
77
|
+
`?l.push(Wr,P(A)):(ne(A),l.push(P(""+A))))}return typeof u=="string"&&u[0]===`
|
|
78
|
+
`&&l.push(Wr),u}var bo=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ir=new Map;function zt(l){var t=Ir.get(l);if(t===void 0){if(!bo.test(l))throw new Error("Invalid tag: "+l);t=I("<"+l),Ir.set(l,t)}return t}var fi=I("<!DOCTYPE html>");function Dn(l,t,n,s,u){switch(mt(t,n),kn(t,n),si(t,n,null),!n.suppressContentEditableWarning&&n.contentEditable&&n.children!=null&&a("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),u.insertionMode!==rr&&u.insertionMode!==nr&&t.indexOf("-")===-1&&typeof n.is!="string"&&t.toLowerCase()!==t&&a("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",t),t){case"select":return _s(l,n,s);case"option":return sr(l,n,s,u);case"textarea":return pr(l,n,s);case"input":return js(l,n,s);case"menuitem":return vo(l,n,s);case"title":return qe(l,n,s);case"listing":case"pre":return Ar(l,n,t,s);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return ci(l,n,t,s);case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Hr(l,n,t,s);case"html":return u.insertionMode===fr&&l.push(fi),Hr(l,n,t,s);default:return t.indexOf("-")===-1&&typeof n.is!="string"?Hr(l,n,t,s):yo(l,n,t,s)}}var sa=I("</"),xo=I(">");function la(l,t,n){switch(t){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:l.push(sa,P(t),xo)}}function Ns(l,t){for(var n=t.bootstrapChunks,s=0;s<n.length-1;s++)E(l,n[s]);return s<n.length?F(l,n[s]):!0}var $s=I('<template id="'),wo=I('"></template>');function ua(l,t,n){E(l,$s),E(l,t.placeholderPrefix);var s=P(n.toString(16));return E(l,s),F(l,wo)}var _n=I("<!--$-->"),di=I('<!--$?--><template id="'),zs=I('"></template>'),cn=I("<!--$!-->"),pi=I("<!--/$-->"),hi=I("<template"),fn=I('"'),Ln=I(' data-dgst="'),So=I(' data-msg="'),ca=I(' data-stck="'),fa=I("></template>");function da(l,t){return F(l,_n)}function ko(l,t,n){if(E(l,di),n===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return E(l,n),F(l,zs)}function At(l,t,n,s,u){var p;return p=F(l,cn),E(l,hi),n&&(E(l,Ln),E(l,P(st(n))),E(l,fn)),s&&(E(l,So),E(l,P(st(s))),E(l,fn)),u&&(E(l,ca),E(l,P(st(u))),E(l,fn)),p=F(l,fa),p}function pa(l,t){return F(l,pi)}function Eo(l,t){return F(l,pi)}function Bs(l,t){return F(l,pi)}var ha=I('<div hidden id="'),Co=I('">'),ma=I("</div>"),ga=I('<svg aria-hidden="true" style="display:none" id="'),To=I('">'),Ro=I("</svg>"),va=I('<math aria-hidden="true" style="display:none" id="'),ya=I('">'),ba=I("</math>"),mi=I('<table hidden id="'),xa=I('">'),f=I("</table>"),g=I('<table hidden><tbody id="'),w=I('">'),C=I("</tbody></table>"),z=I('<table hidden><tr id="'),N=I('">'),G=I("</tr></table>"),te=I('<table hidden><colgroup id="'),Ae=I('">'),Le=I("</colgroup></table>");function De(l,t,n,s){switch(n.insertionMode){case fr:case lt:return E(l,ha),E(l,t.segmentPrefix),E(l,P(s.toString(16))),F(l,Co);case rr:return E(l,ga),E(l,t.segmentPrefix),E(l,P(s.toString(16))),F(l,To);case nr:return E(l,va),E(l,t.segmentPrefix),E(l,P(s.toString(16))),F(l,ya);case Cr:return E(l,mi),E(l,t.segmentPrefix),E(l,P(s.toString(16))),F(l,xa);case an:return E(l,g),E(l,t.segmentPrefix),E(l,P(s.toString(16))),F(l,w);case $t:return E(l,z),E(l,t.segmentPrefix),E(l,P(s.toString(16))),F(l,N);case or:return E(l,te),E(l,t.segmentPrefix),E(l,P(s.toString(16))),F(l,Ae);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function et(l,t){switch(t.insertionMode){case fr:case lt:return F(l,ma);case rr:return F(l,Ro);case nr:return F(l,ba);case Cr:return F(l,f);case an:return F(l,C);case $t:return F(l,G);case or:return F(l,Le);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var It="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",Bt='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',Ut='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',Po=I(It+';$RS("'),wa=I('$RS("'),jn=I('","'),Ec=I('")<\/script>');function Cc(l,t,n){E(l,t.startInlineScript),t.sentCompleteSegmentFunction?E(l,wa):(t.sentCompleteSegmentFunction=!0,E(l,Po)),E(l,t.segmentPrefix);var s=P(n.toString(16));return E(l,s),E(l,jn),E(l,t.placeholderPrefix),E(l,s),F(l,Ec)}var Us=I(Bt+';$RC("'),Tc=I('$RC("'),Rc=I('","'),Kl=I('")<\/script>');function Zl(l,t,n,s){if(E(l,t.startInlineScript),t.sentCompleteBoundaryFunction?E(l,Tc):(t.sentCompleteBoundaryFunction=!0,E(l,Us)),n===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var u=P(s.toString(16));return E(l,n),E(l,Rc),E(l,t.segmentPrefix),E(l,u),F(l,Kl)}var Pc=I(Ut+';$RX("'),Ac=I('$RX("'),Ic=I('"'),Oc=I(")<\/script>"),Mt=I(",");function Fc(l,t,n,s,u,p){if(E(l,t.startInlineScript),t.sentClientRenderFunction?E(l,Ac):(t.sentClientRenderFunction=!0,E(l,Pc)),n===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return E(l,n),E(l,Ic),(s||u||p)&&(E(l,Mt),E(l,P(Sa(s||"")))),(u||p)&&(E(l,Mt),E(l,P(Sa(u||"")))),p&&(E(l,Mt),E(l,P(Sa(p)))),F(l,Oc)}var eu=/[<\u2028\u2029]/g;function Sa(l){var t=JSON.stringify(l);return t.replace(eu,function(n){switch(n){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Ht=Object.assign,tu=Symbol.for("react.element"),ka=Symbol.for("react.portal"),Ea=Symbol.for("react.fragment"),Ca=Symbol.for("react.strict_mode"),Ta=Symbol.for("react.profiler"),gi=Symbol.for("react.provider"),vi=Symbol.for("react.context"),Ao=Symbol.for("react.forward_ref"),Hs=Symbol.for("react.suspense"),Ws=Symbol.for("react.suspense_list"),Vs=Symbol.for("react.memo"),Ra=Symbol.for("react.lazy"),ru=Symbol.for("react.scope"),Mc=Symbol.for("react.debug_trace_mode"),Dc=Symbol.for("react.legacy_hidden"),_c=Symbol.for("react.default_value"),Ys=Symbol.iterator,ot="@@iterator";function yi(l){if(l===null||typeof l!="object")return null;var t=Ys&&l[Ys]||l[ot];return typeof t=="function"?t:null}function nu(l,t,n){var s=l.displayName;if(s)return s;var u=t.displayName||t.name||"";return u!==""?n+"("+u+")":n}function Gs(l){return l.displayName||"Context"}function rt(l){if(l==null)return null;if(typeof l.tag=="number"&&a("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Ea:return"Fragment";case ka:return"Portal";case Ta:return"Profiler";case Ca:return"StrictMode";case Hs:return"Suspense";case Ws:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case vi:var t=l;return Gs(t)+".Consumer";case gi:var n=l;return Gs(n._context)+".Provider";case Ao:return nu(l,l.render,"ForwardRef");case Vs:var s=l.displayName||null;return s!==null?s:rt(l.type)||"Memo";case Ra:{var u=l,p=u._payload,b=u._init;try{return rt(b(p))}catch{return null}}}return null}var Io=0,Qs,Xs,qs,Js,ou,iu,Pa;function Aa(){}Aa.__reactDisabledLog=!0;function bi(){{if(Io===0){Qs=console.log,Xs=console.info,qs=console.warn,Js=console.error,ou=console.group,iu=console.groupCollapsed,Pa=console.groupEnd;var l={configurable:!0,enumerable:!0,value:Aa,writable:!0};Object.defineProperties(console,{info:l,log:l,warn:l,error:l,group:l,groupCollapsed:l,groupEnd:l})}Io++}}function Ks(){{if(Io--,Io===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ht({},l,{value:Qs}),info:Ht({},l,{value:Xs}),warn:Ht({},l,{value:qs}),error:Ht({},l,{value:Js}),group:Ht({},l,{value:ou}),groupCollapsed:Ht({},l,{value:iu}),groupEnd:Ht({},l,{value:Pa})})}Io<0&&a("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Oo=o.ReactCurrentDispatcher,Zs;function Nn(l,t,n){{if(Zs===void 0)try{throw Error()}catch(u){var s=u.stack.trim().match(/\n( *(at )?)/);Zs=s&&s[1]||""}return`
|
|
79
|
+
`+Zs+l}}var el=!1,xi;{var Lc=typeof WeakMap=="function"?WeakMap:Map;xi=new Lc}function wi(l,t){if(!l||el)return"";{var n=xi.get(l);if(n!==void 0)return n}var s;el=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var p;p=Oo.current,Oo.current=null,bi();try{if(t){var b=function(){throw Error()};if(Object.defineProperty(b.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(b,[])}catch(Ye){s=Ye}Reflect.construct(l,[],b)}else{try{b.call()}catch(Ye){s=Ye}l.call(b.prototype)}}else{try{throw Error()}catch(Ye){s=Ye}l()}}catch(Ye){if(Ye&&s&&typeof Ye.stack=="string"){for(var S=Ye.stack.split(`
|
|
80
|
+
`),A=s.stack.split(`
|
|
81
|
+
`),j=S.length-1,q=A.length-1;j>=1&&q>=0&&S[j]!==A[q];)q--;for(;j>=1&&q>=0;j--,q--)if(S[j]!==A[q]){if(j!==1||q!==1)do if(j--,q--,q<0||S[j]!==A[q]){var K=`
|
|
82
|
+
`+S[j].replace(" at new "," at ");return l.displayName&&K.includes("<anonymous>")&&(K=K.replace("<anonymous>",l.displayName)),typeof l=="function"&&xi.set(l,K),K}while(j>=1&&q>=0);break}}}finally{el=!1,Oo.current=p,Ks(),Error.prepareStackTrace=u}var le=l?l.displayName||l.name:"",Oe=le?Nn(le):"";return typeof l=="function"&&xi.set(l,Oe),Oe}function au(l,t,n){return wi(l,!0)}function tl(l,t,n){return wi(l,!1)}function Ia(l){var t=l.prototype;return!!(t&&t.isReactComponent)}function Oa(l,t,n){if(l==null)return"";if(typeof l=="function")return wi(l,Ia(l));if(typeof l=="string")return Nn(l);switch(l){case Hs:return Nn("Suspense");case Ws:return Nn("SuspenseList")}if(typeof l=="object")switch(l.$$typeof){case Ao:return tl(l.render);case Vs:return Oa(l.type,t,n);case Ra:{var s=l,u=s._payload,p=s._init;try{return Oa(p(u),t,n)}catch{}}}return""}var Fa={},Si=o.ReactDebugCurrentFrame;function ki(l){if(l){var t=l._owner,n=Oa(l.type,l._source,t?t.type:null);Si.setExtraStackFrame(n)}else Si.setExtraStackFrame(null)}function su(l,t,n,s,u){{var p=Function.call.bind(ae);for(var b in l)if(p(l,b)){var S=void 0;try{if(typeof l[b]!="function"){var A=Error((s||"React class")+": "+n+" type `"+b+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[b]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw A.name="Invariant Violation",A}S=l[b](t,b,s,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(j){S=j}S&&!(S instanceof Error)&&(ki(u),a("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",s||"React class",n,b,typeof S),ki(null)),S instanceof Error&&!(S.message in Fa)&&(Fa[S.message]=!0,ki(u),a("Failed %s type: %s",n,S.message),ki(null))}}}var $n;$n={};var Ma={};Object.freeze(Ma);function dn(l,t){{var n=l.contextTypes;if(!n)return Ma;var s={};for(var u in n)s[u]=t[u];{var p=rt(l)||"Unknown";su(n,s,"context",p)}return s}}function rl(l,t,n,s){{if(typeof l.getChildContext!="function"){{var u=rt(t)||"Unknown";$n[u]||($n[u]=!0,a("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",u,u))}return n}var p=l.getChildContext();for(var b in p)if(!(b in s))throw new Error((rt(t)||"Unknown")+'.getChildContext(): key "'+b+'" is not defined in childContextTypes.');{var S=rt(t)||"Unknown";su(s,p,"child context",S)}return Ht({},n,p)}}var zn;zn={};var Da=null,pn=null;function _a(l){l.context._currentValue=l.parentValue}function La(l){l.context._currentValue=l.value}function Ei(l,t){if(l!==t){_a(l);var n=l.parent,s=t.parent;if(n===null){if(s!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(s===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");Ei(n,s)}La(t)}}function Ci(l){_a(l);var t=l.parent;t!==null&&Ci(t)}function lu(l){var t=l.parent;t!==null&&lu(t),La(l)}function uu(l,t){_a(l);var n=l.parent;if(n===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");n.depth===t.depth?Ei(n,t):uu(n,t)}function cu(l,t){var n=t.parent;if(n===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");l.depth===n.depth?Ei(l,n):cu(l,n),La(t)}function hn(l){var t=pn,n=l;t!==n&&(t===null?lu(n):n===null?Ci(t):t.depth===n.depth?Ei(t,n):t.depth>n.depth?uu(t,n):cu(t,n),pn=n)}function nl(l,t){var n;n=l._currentValue,l._currentValue=t,l._currentRenderer!==void 0&&l._currentRenderer!==null&&l._currentRenderer!==zn&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),l._currentRenderer=zn;var s=pn,u={parent:s,depth:s===null?0:s.depth+1,context:l,parentValue:n,value:t};return pn=u,u}function jc(l){var t=pn;if(t===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");t.context!==l&&a("The parent context is not the expected context. This is probably a bug in React.");{var n=t.parentValue;n===_c?t.context._currentValue=t.context._defaultValue:t.context._currentValue=n,l._currentRenderer!==void 0&&l._currentRenderer!==null&&l._currentRenderer!==zn&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),l._currentRenderer=zn}return pn=t.parent}function fu(){return pn}function Fo(l){var t=l._currentValue;return t}function Ti(l){return l._reactInternals}function ol(l,t){l._reactInternals=t}var ja={},Na={},$a,Mo,Ri,Pi,za,Ai,Ba,Ua,il;{$a=new Set,Mo=new Set,Ri=new Set,Ba=new Set,Pi=new Set,Ua=new Set,il=new Set;var du=new Set;Ai=function(l,t){if(!(l===null||typeof l=="function")){var n=t+"_"+l;du.has(n)||(du.add(n),a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,l))}},za=function(l,t){if(t===void 0){var n=rt(l)||"Component";Pi.has(n)||(Pi.add(n),a("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}}}function pu(l,t){{var n=l.constructor,s=n&&rt(n)||"ReactClass",u=s+"."+t;if(ja[u])return;a(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
|
|
83
|
+
|
|
84
|
+
Please check the code for the %s component.`,t,t,s),ja[u]=!0}}var hu={isMounted:function(l){return!1},enqueueSetState:function(l,t,n){var s=Ti(l);s.queue===null?pu(l,"setState"):(s.queue.push(t),n!=null&&Ai(n,"setState"))},enqueueReplaceState:function(l,t,n){var s=Ti(l);s.replace=!0,s.queue=[t],n!=null&&Ai(n,"setState")},enqueueForceUpdate:function(l,t){var n=Ti(l);n.queue===null?pu(l,"forceUpdate"):t!=null&&Ai(t,"setState")}};function Nc(l,t,n,s,u){var p=n(u,s);za(t,p);var b=p==null?s:Ht({},s,p);return b}function mu(l,t,n){var s=Ma,u=l.contextType;if("contextType"in l){var p=u===null||u!==void 0&&u.$$typeof===vi&&u._context===void 0;if(!p&&!il.has(l)){il.add(l);var b="";u===void 0?b=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof u!="object"?b=" However, it is set to a "+typeof u+".":u.$$typeof===gi?b=" Did you accidentally pass the Context.Provider instead?":u._context!==void 0?b=" Did you accidentally pass the Context.Consumer instead?":b=" However, it is set to an object with keys {"+Object.keys(u).join(", ")+"}.",a("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",rt(l)||"Component",b)}}typeof u=="object"&&u!==null?s=Fo(u):s=n;var S=new l(t,s);{if(typeof l.getDerivedStateFromProps=="function"&&(S.state===null||S.state===void 0)){var A=rt(l)||"Component";$a.has(A)||($a.add(A),a("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",A,S.state===null?"null":"undefined",A))}if(typeof l.getDerivedStateFromProps=="function"||typeof S.getSnapshotBeforeUpdate=="function"){var j=null,q=null,K=null;if(typeof S.componentWillMount=="function"&&S.componentWillMount.__suppressDeprecationWarning!==!0?j="componentWillMount":typeof S.UNSAFE_componentWillMount=="function"&&(j="UNSAFE_componentWillMount"),typeof S.componentWillReceiveProps=="function"&&S.componentWillReceiveProps.__suppressDeprecationWarning!==!0?q="componentWillReceiveProps":typeof S.UNSAFE_componentWillReceiveProps=="function"&&(q="UNSAFE_componentWillReceiveProps"),typeof S.componentWillUpdate=="function"&&S.componentWillUpdate.__suppressDeprecationWarning!==!0?K="componentWillUpdate":typeof S.UNSAFE_componentWillUpdate=="function"&&(K="UNSAFE_componentWillUpdate"),j!==null||q!==null||K!==null){var le=rt(l)||"Component",Oe=typeof l.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Ri.has(le)||(Ri.add(le),a(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
85
85
|
|
|
86
86
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
87
87
|
|
|
88
88
|
The above lifecycles should be removed. Learn more about this warning here:
|
|
89
|
-
https://reactjs.org/link/unsafe-component-lifecycles`,
|
|
90
|
-
`+
|
|
91
|
-
`+
|
|
92
|
-
`+
|
|
89
|
+
https://reactjs.org/link/unsafe-component-lifecycles`,le,Oe,j!==null?`
|
|
90
|
+
`+j:"",q!==null?`
|
|
91
|
+
`+q:"",K!==null?`
|
|
92
|
+
`+K:""))}}}return S}function $c(l,t,n){{var s=rt(t)||"Component",u=l.render;u||(t.prototype&&typeof t.prototype.render=="function"?a("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",s):a("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",s)),l.getInitialState&&!l.getInitialState.isReactClassApproved&&!l.state&&a("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",s),l.getDefaultProps&&!l.getDefaultProps.isReactClassApproved&&a("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",s),l.propTypes&&a("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",s),l.contextType&&a("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",s),l.contextTypes&&a("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",s),t.contextType&&t.contextTypes&&!Ua.has(t)&&(Ua.add(t),a("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",s)),typeof l.componentShouldUpdate=="function"&&a("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",s),t.prototype&&t.prototype.isPureReactComponent&&typeof l.shouldComponentUpdate<"u"&&a("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",rt(t)||"A pure component"),typeof l.componentDidUnmount=="function"&&a("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",s),typeof l.componentDidReceiveProps=="function"&&a("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",s),typeof l.componentWillRecieveProps=="function"&&a("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",s),typeof l.UNSAFE_componentWillRecieveProps=="function"&&a("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",s);var p=l.props!==n;l.props!==void 0&&p&&a("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",s,s),l.defaultProps&&a("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",s,s),typeof l.getSnapshotBeforeUpdate=="function"&&typeof l.componentDidUpdate!="function"&&!Mo.has(t)&&(Mo.add(t),a("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",rt(t))),typeof l.getDerivedStateFromProps=="function"&&a("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",s),typeof l.getDerivedStateFromError=="function"&&a("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",s),typeof t.getSnapshotBeforeUpdate=="function"&&a("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",s);var b=l.state;b&&(typeof b!="object"||Tt(b))&&a("%s.state: must be set to an object or null",s),typeof l.getChildContext=="function"&&typeof t.childContextTypes!="object"&&a("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",s)}}function zc(l,t){var n=t.state;if(typeof t.componentWillMount=="function"){if(t.componentWillMount.__suppressDeprecationWarning!==!0){var s=rt(l)||"Unknown";Na[s]||(i(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
93
93
|
|
|
94
94
|
* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
|
|
95
95
|
|
|
96
|
-
Please update the following components: %s`,s),
|
|
96
|
+
Please update the following components: %s`,s),Na[s]=!0)}t.componentWillMount()}typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",rt(l)||"Component"),hu.enqueueReplaceState(t,t.state,null))}function al(l,t,n,s){if(l.queue!==null&&l.queue.length>0){var u=l.queue,p=l.replace;if(l.queue=null,l.replace=!1,p&&u.length===1)t.state=u[0];else{for(var b=p?u[0]:t.state,S=!0,A=p?1:0;A<u.length;A++){var j=u[A],q=typeof j=="function"?j.call(t,b,n,s):j;q!=null&&(S?(S=!1,b=Ht({},b,q)):Ht(b,q))}t.state=b}}else l.queue=null}function Ii(l,t,n,s){$c(l,t,n);var u=l.state!==void 0?l.state:null;l.updater=hu,l.props=n,l.state=u;var p={queue:[],replace:!1};ol(l,p);var b=t.contextType;if(typeof b=="object"&&b!==null?l.context=Fo(b):l.context=s,l.state===n){var S=rt(t)||"Component";Ba.has(S)||(Ba.add(S),a("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",S))}var A=t.getDerivedStateFromProps;typeof A=="function"&&(l.state=Nc(l,t,A,u,n)),typeof t.getDerivedStateFromProps!="function"&&typeof l.getSnapshotBeforeUpdate!="function"&&(typeof l.UNSAFE_componentWillMount=="function"||typeof l.componentWillMount=="function")&&(zc(t,l),al(p,l,n,s))}var Bc={id:1,overflow:""};function Uc(l){var t=l.overflow,n=l.id,s=n&~Hc(n);return s.toString(32)+t}function sl(l,t,n){var s=l.id,u=l.overflow,p=Ha(s)-1,b=s&~(1<<p),S=n+1,A=Ha(t)+p;if(A>30){var j=p-p%5,q=(1<<j)-1,K=(b&q).toString(32),le=b>>j,Oe=p-j,Ye=Ha(t)+Oe,gt=S<<Oe,Gn=gt|le,Qn=K+u;return{id:1<<Ye|Gn,overflow:Qn}}else{var Xr=S<<p,zo=Xr|b,xf=u;return{id:1<<A|zo,overflow:xf}}}function Ha(l){return 32-Wc(l)}function Hc(l){return 1<<Ha(l)-1}var Wc=Math.clz32?Math.clz32:ll,Vc=Math.log,Vr=Math.LN2;function ll(l){var t=l>>>0;return t===0?32:31-(Vc(t)/Vr|0)|0}function Wa(l,t){return l===t&&(l!==0||1/l===1/t)||l!==l&&t!==t}var tt=typeof Object.is=="function"?Object.is:Wa,Wt=null,Do=null,Bn=null,We=null,mn=!1,Va=!1,Vt=0,Yt=null,Or=0,Yc=25,hr=!1,gn;function Un(){if(Wt===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
97
97
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
98
98
|
2. You might be breaking the Rules of Hooks
|
|
99
99
|
3. You might have more than one copy of React in the same app
|
|
100
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return
|
|
100
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return hr&&a("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Wt}function Gc(l,t){if(t===null)return a("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",gn),!1;l.length!==t.length&&a(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
101
101
|
|
|
102
102
|
Previous: %s
|
|
103
|
-
Incoming: %s`,
|
|
103
|
+
Incoming: %s`,gn,"["+l.join(", ")+"]","["+t.join(", ")+"]");for(var n=0;n<t.length&&n<l.length;n++)if(!tt(l[n],t[n]))return!1;return!0}function ul(){if(Or>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Oi(){return We===null?Bn===null?(mn=!1,Bn=We=ul()):(mn=!0,We=Bn):We.next===null?(mn=!1,We=We.next=ul()):(mn=!0,We=We.next),We}function Qc(l,t){Wt=t,Do=l,hr=!1,Vt=0}function Xc(l,t,n,s){for(;Va;)Va=!1,Vt=0,Or+=1,We=null,n=l(t,s);return cl(),n}function Ya(){var l=Vt!==0;return l}function cl(){hr=!1,Wt=null,Do=null,Va=!1,Bn=null,Or=0,Yt=null,We=null}function gu(l){return hr&&a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Fo(l)}function vu(l){return gn="useContext",Un(),Fo(l)}function fl(l,t){return typeof t=="function"?t(l):t}function qc(l){return gn="useState",yu(fl,l)}function yu(l,t,n){if(l!==fl&&(gn="useReducer"),Wt=Un(),We=Oi(),mn){var s=We.queue,u=s.dispatch;if(Yt!==null){var p=Yt.get(s);if(p!==void 0){Yt.delete(s);var b=We.memoizedState,S=p;do{var A=S.action;hr=!0,b=l(b,A),hr=!1,S=S.next}while(S!==null);return We.memoizedState=b,[b,u]}}return[We.memoizedState,u]}else{hr=!0;var j;l===fl?j=typeof t=="function"?t():t:j=n!==void 0?n(t):t,hr=!1,We.memoizedState=j;var q=We.queue={last:null,dispatch:null},K=q.dispatch=Zc.bind(null,Wt,q);return[We.memoizedState,K]}}function bu(l,t){Wt=Un(),We=Oi();var n=t===void 0?null:t;if(We!==null){var s=We.memoizedState;if(s!==null&&n!==null){var u=s[1];if(Gc(n,u))return s[0]}}hr=!0;var p=l();return hr=!1,We.memoizedState=[p,n],p}function Jc(l){Wt=Un(),We=Oi();var t=We.memoizedState;if(t===null){var n={current:l};return Object.seal(n),We.memoizedState=n,n}else return t}function Kc(l,t){gn="useLayoutEffect",a("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function Zc(l,t,n){if(Or>=Yc)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l===Wt){Va=!0;var s={action:n,next:null};Yt===null&&(Yt=new Map);var u=Yt.get(t);if(u===void 0)Yt.set(t,s);else{for(var p=u;p.next!==null;)p=p.next;p.next=s}}}function ef(l,t){return bu(function(){return l},t)}function tf(l,t,n){return Un(),t(l._source)}function rf(l,t,n){if(n===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return n()}function Ga(l){return Un(),l}function xu(){throw new Error("startTransition cannot be called during server rendering.")}function dl(){return Un(),[!1,xu]}function wu(){var l=Do,t=Uc(l.treeContext),n=Fi;if(n===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var s=Vt++;return ir(n,t,s)}function Qa(){}var Xa={readContext:gu,useContext:vu,useMemo:bu,useReducer:yu,useRef:Jc,useState:qc,useInsertionEffect:Qa,useLayoutEffect:Kc,useCallback:ef,useImperativeHandle:Qa,useEffect:Qa,useDebugValue:Qa,useDeferredValue:Ga,useTransition:dl,useId:wu,useMutableSource:tf,useSyncExternalStore:rf},Fi=null;function qa(l){Fi=l}function _o(l){try{var t="",n=l;do{switch(n.tag){case 0:t+=Nn(n.type,null,null);break;case 1:t+=tl(n.type,null,null);break;case 2:t+=au(n.type,null,null);break}n=n.parent}while(n);return t}catch(s){return`
|
|
104
104
|
Error generating stack: `+s.message+`
|
|
105
|
-
`+s.stack}}var bs=n.ReactCurrentDispatcher,ws=n.ReactDebugCurrentFrame,xs=0,Qo=1,Dl=2,Kn=3,Qu=4,Wf=0,qo=1,Ko=2,Vf=12800;function Gf(l){return console.error(l),null}function Jn(){}function Ss(l,r,o,s,u,g,w,k,M){var z=[],Q=new Set,ee={destination:null,responseState:r,progressiveChunkSize:s===void 0?Vf:s,status:Wf,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Q,pingedTasks:z,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:u===void 0?Gf:u,onAllReady:g===void 0?Jn:g,onShellReady:w===void 0?Jn:w,onShellError:k===void 0?Jn:k,onFatalError:M===void 0?Jn:M},de=qi(ee,0,null,o,!1,!1);de.parentFlushed=!0;var Me=Zn(ee,l,null,de,Q,ts,rs,Pf);return z.push(Me),ee}function Kr(l,r){var o=l.pingedTasks;o.push(r),o.length===1&&p(function(){return Vl(l)})}function _l(l,r){return{id:hn,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:r,errorDigest:null}}function Zn(l,r,o,s,u,g,w,k){l.allPendingTasks++,o===null?l.pendingRootTasks++:o.pendingTasks++;var M={node:r,ping:function(){return Kr(l,M)},blockedBoundary:o,blockedSegment:s,abortSet:u,legacyContext:g,context:w,treeContext:k};return M.componentStack=null,u.add(M),M}function qi(l,r,o,s,u,g){return{status:xs,id:-1,index:r,parentFlushed:!1,chunks:[],children:[],formatContext:s,boundary:o,lastPushedText:u,textEmbedded:g}}var Jr=null;function Lr(){return Jr===null||Jr.componentStack===null?"":Xo(Jr.componentStack)}function Zr(l,r){l.componentStack={tag:0,parent:l.componentStack,type:r}}function ks(l,r){l.componentStack={tag:1,parent:l.componentStack,type:r}}function Ki(l,r){l.componentStack={tag:2,parent:l.componentStack,type:r}}function br(l){l.componentStack===null?a("Unexpectedly popped too many stack frames. This is a bug in React."):l.componentStack=l.componentStack.parent}var Ji=null;function Ll(l,r){{var o;typeof r=="string"?o=r:r&&typeof r.message=="string"?o=r.message:o=String(r);var s=Ji||Lr();Ji=null,l.errorMessage=o,l.errorComponentStack=s}}function Zi(l,r){var o=l.onError(r);if(o!=null&&typeof o!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof o+'" instead');return o}function ea(l,r){var o=l.onShellError;o(r);var s=l.onFatalError;s(r),l.destination!==null?(l.status=Ko,U(l.destination,r)):(l.status=qo,l.fatalError=r)}function qu(l,r,o){Zr(r,"Suspense");var s=r.blockedBoundary,u=r.blockedSegment,g=o.fallback,w=o.children,k=new Set,M=_l(l,k),z=u.chunks.length,Q=qi(l,z,M,u.formatContext,!1,!1);u.children.push(Q),u.lastPushedText=!1;var ee=qi(l,0,null,u.formatContext,!1,!1);ee.parentFlushed=!0,r.blockedBoundary=M,r.blockedSegment=ee;try{if(Jo(l,r,w),At(ee.chunks,l.responseState,ee.lastPushedText,ee.textEmbedded),ee.status=Qo,eo(M,ee),M.pendingTasks===0){br(r);return}}catch(Me){ee.status=Qu,M.forceClientRender=!0,M.errorDigest=Zi(l,Me),Ll(M,Me)}finally{r.blockedBoundary=s,r.blockedSegment=u}var de=Zn(l,g,s,Q,k,r.legacyContext,r.context,r.treeContext);de.componentStack=r.componentStack,l.pingedTasks.push(de),br(r)}function Yf(l,r,o,s){Zr(r,o);var u=r.blockedSegment,g=Un(u.chunks,o,s,l.responseState,u.formatContext);u.lastPushedText=!1;var w=u.formatContext;u.formatContext=Vr(w,o,s),Jo(l,r,g),u.formatContext=w,Oa(u.chunks,o),u.lastPushedText=!1,br(r)}function Ku(l){return l.prototype&&l.prototype.isReactComponent}function ta(l,r,o,s,u){var g={};_f(r,g);var w=o(s,u);return Lf(o,s,w,u)}function $l(l,r,o,s,u){var g=o.render();o.props!==u&&(Bl||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",nt(s)||"a component"),Bl=!0);{var w=s.childContextTypes;if(w!=null){var k=r.legacyContext,M=kl(o,s,k,w);r.legacyContext=M,Ft(l,r,g),r.legacyContext=k;return}}Ft(l,r,g)}function Ju(l,r,o,s){Ki(r,o);var u=bn(o,r.legacyContext),g=Uu(o,s,u);Yi(g,o,s,u),$l(l,r,g,o,s),br(r)}var jl={},ra={},Nl={},zl={},Bl=!1,Zu={},ec=!1,Ul=!1,tc=!1;function Xf(l,r,o,s){var u;if(u=bn(o,r.legacyContext),ks(r,o),o.prototype&&typeof o.prototype.render=="function"){var g=nt(o)||"Unknown";jl[g]||(a("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",g,g),jl[g]=!0)}var w=ta(l,r,o,s,u),k=hs();if(typeof w=="object"&&w!==null&&typeof w.render=="function"&&w.$$typeof===void 0){var M=nt(o)||"Unknown";ra[M]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",M,M,M),ra[M]=!0)}if(typeof w=="object"&&w!==null&&typeof w.render=="function"&&w.$$typeof===void 0){{var z=nt(o)||"Unknown";ra[z]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",z,z,z),ra[z]=!0)}Yi(w,o,s,u),$l(l,r,w,o,s)}else if(Qf(o),k){var Q=r.treeContext,ee=1,de=0;r.treeContext=Pl(Q,ee,de);try{Ft(l,r,w)}finally{r.treeContext=Q}}else Ft(l,r,w);br(r)}function Qf(l){{if(l&&l.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",l.displayName||l.name||"Component"),l.defaultProps!==void 0){var r=nt(l)||"Unknown";Zu[r]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",r),Zu[r]=!0)}if(typeof l.getDerivedStateFromProps=="function"){var o=nt(l)||"Unknown";zl[o]||(a("%s: Function components do not support getDerivedStateFromProps.",o),zl[o]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var s=nt(l)||"Unknown";Nl[s]||(a("%s: Function components do not support contextType.",s),Nl[s]=!0)}}}function rc(l,r){if(l&&l.defaultProps){var o=Gt({},r),s=l.defaultProps;for(var u in s)o[u]===void 0&&(o[u]=s[u]);return o}return r}function qf(l,r,o,s,u){ks(r,o.render);var g=ta(l,r,o.render,s,u),w=hs();if(w){var k=r.treeContext,M=1,z=0;r.treeContext=Pl(k,M,z);try{Ft(l,r,g)}finally{r.treeContext=k}}else Ft(l,r,g);br(r)}function Hl(l,r,o,s,u){var g=o.type,w=rc(g,s);Es(l,r,g,w,u)}function Kf(l,r,o,s){o._context===void 0?o!==o.Consumer&&(tc||(tc=!0,a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):o=o._context;var u=s.children;typeof u!="function"&&a("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var g=Vo(o),w=u(g);Ft(l,r,w)}function qt(l,r,o,s){var u=o._context,g=s.value,w=s.children,k;k=r.context,r.context=El(u,g),Ft(l,r,w),r.context=Ef(u),k!==r.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Jf(l,r,o,s,u){Zr(r,"Lazy");var g=o._payload,w=o._init,k=w(g),M=rc(k,s);Es(l,r,k,M,u),br(r)}function Es(l,r,o,s,u){if(typeof o=="function")if(Ku(o)){Ju(l,r,o,s);return}else{Xf(l,r,o,s);return}if(typeof o=="string"){Yf(l,r,o,s);return}switch(o){case xf:case wf:case Ya:case Xa:case Ga:{Ft(l,r,s.children);return}case fl:{Zr(r,"SuspenseList"),Ft(l,r,s.children),br(r);return}case Au:throw new Error("ReactDOMServer does not yet support scope components.");case cl:{qu(l,r,s);return}}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case Uo:{qf(l,r,o,s,u);return}case dl:{Hl(l,r,o,s,u);return}case Mi:{qt(l,r,o,s);return}case Di:{Kf(l,r,o,s);return}case Qa:{Jf(l,r,o,s);return}}var g="";throw(o===void 0||typeof o=="object"&&o!==null&&Object.keys(o).length===0)&&(g+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(o==null?o:typeof o)+"."+g))}function Zf(l,r){typeof Symbol=="function"&&l[Symbol.toStringTag]==="Generator"&&(ec||a("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),ec=!0),l.entries===r&&(Ul||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ul=!0)}function Ft(l,r,o){try{return ed(l,r,o)}catch(s){throw typeof s=="object"&&s!==null&&typeof s.then=="function"||(Ji=Ji!==null?Ji:Lr()),s}}function ed(l,r,o){if(r.node=o,typeof o=="object"&&o!==null){switch(o.$$typeof){case Pu:{var s=o,u=s.type,g=s.props,w=s.ref;Es(l,r,u,g,w);return}case Va:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Qa:{var k=o,M=k._payload,z=k._init,Q;try{Q=z(M)}catch(en){throw typeof en=="object"&&en!==null&&typeof en.then=="function"&&Zr(r,"Lazy"),en}Ft(l,r,Q);return}}if(Rt(o)){nc(l,r,o);return}var ee=_i(o);if(ee){Zf(o,ee);var de=ee.call(o);if(de){var Me=de.next();if(!Me.done){var Xe=[];do Xe.push(Me.value),Me=de.next();while(!Me.done);nc(l,r,Xe);return}return}}var vt=Object.prototype.toString.call(o);throw new Error("Objects are not valid as a React child (found: "+(vt==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":vt)+"). If you meant to render a collection of children, use an array instead.")}if(typeof o=="string"){var to=r.blockedSegment;to.lastPushedText=mt(r.blockedSegment.chunks,o,l.responseState,to.lastPushedText);return}if(typeof o=="number"){var ro=r.blockedSegment;ro.lastPushedText=mt(r.blockedSegment.chunks,""+o,l.responseState,ro.lastPushedText);return}typeof o=="function"&&a("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function nc(l,r,o){for(var s=o.length,u=0;u<s;u++){var g=r.treeContext;r.treeContext=Pl(g,s,u);try{Jo(l,r,o[u])}finally{r.treeContext=g}}}function oc(l,r,o){var s=r.blockedSegment,u=s.chunks.length,g=qi(l,u,null,s.formatContext,s.lastPushedText,!0);s.children.push(g),s.lastPushedText=!1;var w=Zn(l,r.node,r.blockedBoundary,g,r.abortSet,r.legacyContext,r.context,r.treeContext);r.componentStack!==null&&(w.componentStack=r.componentStack.parent);var k=w.ping;o.then(k,k)}function Jo(l,r,o){var s=r.blockedSegment.formatContext,u=r.legacyContext,g=r.context,w=null;w=r.componentStack;try{return Ft(l,r,o)}catch(k){if(Il(),typeof k=="object"&&k!==null&&typeof k.then=="function"){oc(l,r,k),r.blockedSegment.formatContext=s,r.legacyContext=u,r.context=g,xn(g),r.componentStack=w;return}else throw r.blockedSegment.formatContext=s,r.legacyContext=u,r.context=g,xn(g),r.componentStack=w,k}}function ic(l,r,o,s){var u=Zi(l,s);if(r===null?ea(l,s):(r.pendingTasks--,r.forceClientRender||(r.forceClientRender=!0,r.errorDigest=u,Ll(r,s),r.parentFlushed&&l.clientRenderedBoundaries.push(r))),l.allPendingTasks--,l.allPendingTasks===0){var g=l.onAllReady;g()}}function td(l){var r=this,o=l.blockedBoundary,s=l.blockedSegment;s.status=Kn,na(r,o,s)}function Wl(l,r,o){var s=l.blockedBoundary,u=l.blockedSegment;if(u.status=Kn,s===null)r.allPendingTasks--,r.status!==Ko&&(r.status=Ko,r.destination!==null&&L(r.destination));else{if(s.pendingTasks--,!s.forceClientRender){s.forceClientRender=!0;var g=o===void 0?new Error("The render was aborted by the server without a reason."):o;s.errorDigest=r.onError(g);{var w="The server did not finish this Suspense boundary: ";g&&typeof g.message=="string"?g=w+g.message:g=w+String(g);var k=Jr;Jr=l;try{Ll(s,g)}finally{Jr=k}}s.parentFlushed&&r.clientRenderedBoundaries.push(s)}if(s.fallbackAbortableTasks.forEach(function(z){return Wl(z,r,o)}),s.fallbackAbortableTasks.clear(),r.allPendingTasks--,r.allPendingTasks===0){var M=r.onAllReady;M()}}}function eo(l,r){if(r.chunks.length===0&&r.children.length===1&&r.children[0].boundary===null){var o=r.children[0];o.id=r.id,o.parentFlushed=!0,o.status===Qo&&eo(l,o)}else{var s=l.completedSegments;s.push(r)}}function na(l,r,o){if(r===null){if(o.parentFlushed){if(l.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");l.completedRootSegment=o}if(l.pendingRootTasks--,l.pendingRootTasks===0){l.onShellError=Jn;var s=l.onShellReady;s()}}else if(r.pendingTasks--,!r.forceClientRender){if(r.pendingTasks===0)o.parentFlushed&&o.status===Qo&&eo(r,o),r.parentFlushed&&l.completedBoundaries.push(r),r.fallbackAbortableTasks.forEach(td,l),r.fallbackAbortableTasks.clear();else if(o.parentFlushed&&o.status===Qo){eo(r,o);var u=r.completedSegments;u.length===1&&r.parentFlushed&&l.partialBoundaries.push(r)}}if(l.allPendingTasks--,l.allPendingTasks===0){var g=l.onAllReady;g()}}function rd(l,r){var o=r.blockedSegment;if(o.status===xs){xn(r.context);var s=null;s=Jr,Jr=r;try{Ft(l,r,r.node),At(o.chunks,l.responseState,o.lastPushedText,o.textEmbedded),r.abortSet.delete(r),o.status=Qo,na(l,r.blockedBoundary,o)}catch(g){if(Il(),typeof g=="object"&&g!==null&&typeof g.then=="function"){var u=r.ping;g.then(u,u)}else r.abortSet.delete(r),o.status=Qu,ic(l,r.blockedBoundary,o,g)}finally{Jr=s}}}function Vl(l){if(l.status!==Ko){var r=ju(),o=bs.current;bs.current=vs;var s;s=ws.getCurrentStack,ws.getCurrentStack=Lr;var u=Qi;ys(l.responseState);try{var g=l.pingedTasks,w;for(w=0;w<g.length;w++){var k=g[w];rd(l,k)}g.splice(0,w),l.destination!==null&&Gl(l,l.destination)}catch(M){Zi(l,M),ea(l,M)}finally{ys(u),bs.current=o,ws.getCurrentStack=s,o===vs&&xn(r)}}}function oa(l,r,o){switch(o.parentFlushed=!0,o.status){case xs:{var s=o.id=l.nextSegmentId++;return o.lastPushedText=!1,o.textEmbedded=!1,Ia(r,l.responseState,s)}case Qo:{o.status=Dl;for(var u=!0,g=o.chunks,w=0,k=o.children,M=0;M<k.length;M++){for(var z=k[M];w<z.index;w++)x(r,g[w]);u=Cs(l,r,z)}for(;w<g.length-1;w++)x(r,g[w]);return w<g.length&&(u=F(r,g[w])),u}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Cs(l,r,o){var s=o.boundary;if(s===null)return oa(l,r,o);if(s.parentFlushed=!0,s.forceClientRender)return Ot(r,l.responseState,s.errorDigest,s.errorMessage,s.errorComponentStack),oa(l,r,o),ll(r,l.responseState);if(s.pendingTasks>0){s.rootSegmentID=l.nextSegmentId++,s.completedSegments.length>0&&l.partialBoundaries.push(s);var u=s.id=_t(l.responseState);return Lo(r,l.responseState,u),oa(l,r,o),$o(r,l.responseState)}else{if(s.byteSize>l.progressiveChunkSize)return s.rootSegmentID=l.nextSegmentId++,l.completedBoundaries.push(s),Lo(r,l.responseState,s.id),oa(l,r,o),$o(r,l.responseState);Da(r,l.responseState);var g=s.completedSegments;if(g.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var w=g[0];return Cs(l,r,w),_a(r,l.responseState)}}function ac(l,r,o){return bf(r,l.responseState,o.id,o.errorDigest,o.errorMessage,o.errorComponentStack)}function Ts(l,r,o){return je(r,l.responseState,o.formatContext,o.id),Cs(l,r,o),et(r,o.formatContext)}function sc(l,r,o){for(var s=o.completedSegments,u=0;u<s.length;u++){var g=s[u];lc(l,r,o,g)}return s.length=0,Tu(r,l.responseState,o.id,o.rootSegmentID)}function nd(l,r,o){for(var s=o.completedSegments,u=0;u<s.length;u++){var g=s[u];if(!lc(l,r,o,g))return u++,s.splice(0,u),!1}return s.splice(0,u),!0}function lc(l,r,o,s){if(s.status===Dl)return!0;var u=s.id;if(u===-1){var g=s.id=o.rootSegmentID;if(g===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Ts(l,r,s)}else return Ts(l,r,s),df(r,l.responseState,u)}function Gl(l,r){C();try{var o=l.completedRootSegment;o!==null&&l.pendingRootTasks===0&&(Cs(l,r,o),l.completedRootSegment=null,il(r,l.responseState));var s=l.clientRenderedBoundaries,u;for(u=0;u<s.length;u++){var g=s[u];ac(l,r,g)}s.splice(0,u);var w=l.completedBoundaries;for(u=0;u<w.length;u++){var k=w[u];sc(l,r,k)}w.splice(0,u),I(r),C(r);var M=l.partialBoundaries;for(u=0;u<M.length;u++){var z=M[u];if(!nd(l,r,z)){l.destination=null,u++,M.splice(0,u);return}}M.splice(0,u);var Q=l.completedBoundaries;for(u=0;u<Q.length;u++){var ee=Q[u];sc(l,r,ee)}Q.splice(0,u)}finally{I(r),l.allPendingTasks===0&&l.pingedTasks.length===0&&l.clientRenderedBoundaries.length===0&&l.completedBoundaries.length===0&&(l.abortableTasks.size!==0&&a("There was still abortable task at the root when we closed. This is a bug in React."),L(r))}}function uc(l){p(function(){return Vl(l)})}function od(l,r){if(l.status===qo){l.status=Ko,U(r,l.fatalError);return}if(l.status!==Ko&&l.destination===null){l.destination=r;try{Gl(l,r)}catch(o){Zi(l,o),ea(l,o)}}}function cc(l,r){try{var o=l.abortableTasks;o.forEach(function(s){return Wl(s,l,r)}),o.clear(),l.destination!==null&&Gl(l,l.destination)}catch(s){Zi(l,s),ea(l,s)}}function id(l,r){return new Promise(function(o,s){var u,g,w=new Promise(function(de,Me){g=de,u=Me});function k(){var de=new ReadableStream({type:"bytes",pull:function(Me){od(z,Me)},cancel:function(Me){cc(z)}},{highWaterMark:0});de.allReady=w,o(de)}function M(de){w.catch(function(){}),s(de)}var z=Ss(l,Po(r?r.identifierPrefix:void 0,r?r.nonce:void 0,r?r.bootstrapScriptContent:void 0,r?r.bootstrapScripts:void 0,r?r.bootstrapModules:void 0),Or(r?r.namespaceURI:void 0),r?r.progressiveChunkSize:void 0,r?r.onError:void 0,g,k,M,u);if(r&&r.signal){var Q=r.signal,ee=function(){cc(z,Q.reason),Q.removeEventListener("abort",ee)};Q.addEventListener("abort",ee)}uc(z)})}pc.renderToReadableStream=id,pc.version=t}()),pc}var ph;function Vy(){if(ph)return ei;ph=1;var e,t;return process.env.NODE_ENV==="production"?(e=By(),t=Uy()):(e=Hy(),t=Wy()),ei.version=e.version,ei.renderToString=e.renderToString,ei.renderToStaticMarkup=e.renderToStaticMarkup,ei.renderToNodeStream=e.renderToNodeStream,ei.renderToStaticNodeStream=e.renderToStaticNodeStream,ei.renderToReadableStream=t.renderToReadableStream,ei}var Gy=Vy(),hc={exports:{}},mc={exports:{}},Ke={};/** @license React v16.13.1
|
|
105
|
+
`+s.stack}}var Ja=o.ReactCurrentDispatcher,Ka=o.ReactDebugCurrentFrame,Za=0,Lo=1,pl=2,Hn=3,Su=4,nf=0,jo=1,No=2,of=12800;function af(l){return console.error(l),null}function Wn(){}function es(l,t,n,s,u,p,b,S,A){var j=[],q=new Set,K={destination:null,responseState:t,progressiveChunkSize:s===void 0?of:s,status:nf,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:q,pingedTasks:j,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:u===void 0?af:u,onAllReady:p===void 0?Wn:p,onShellReady:b===void 0?Wn:b,onShellError:S===void 0?Wn:S,onFatalError:A===void 0?Wn:A},le=Mi(K,0,null,n,!1,!1);le.parentFlushed=!0;var Oe=Vn(K,l,null,le,q,Ma,Da,Bc);return j.push(Oe),K}function Yr(l,t){var n=l.pingedTasks;n.push(t),n.length===1&&h(function(){return El(l)})}function hl(l,t){return{id:sn,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:t,errorDigest:null}}function Vn(l,t,n,s,u,p,b,S){l.allPendingTasks++,n===null?l.pendingRootTasks++:n.pendingTasks++;var A={node:t,ping:function(){return Yr(l,A)},blockedBoundary:n,blockedSegment:s,abortSet:u,legacyContext:p,context:b,treeContext:S};return A.componentStack=null,u.add(A),A}function Mi(l,t,n,s,u,p){return{status:Za,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:s,boundary:n,lastPushedText:u,textEmbedded:p}}var Gr=null;function Fr(){return Gr===null||Gr.componentStack===null?"":_o(Gr.componentStack)}function Qr(l,t){l.componentStack={tag:0,parent:l.componentStack,type:t}}function ts(l,t){l.componentStack={tag:1,parent:l.componentStack,type:t}}function Di(l,t){l.componentStack={tag:2,parent:l.componentStack,type:t}}function mr(l){l.componentStack===null?a("Unexpectedly popped too many stack frames. This is a bug in React."):l.componentStack=l.componentStack.parent}var _i=null;function ml(l,t){{var n;typeof t=="string"?n=t:t&&typeof t.message=="string"?n=t.message:n=String(t);var s=_i||Fr();_i=null,l.errorMessage=n,l.errorComponentStack=s}}function Li(l,t){var n=l.onError(t);if(n!=null&&typeof n!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof n+'" instead');return n}function ji(l,t){var n=l.onShellError;n(t);var s=l.onFatalError;s(t),l.destination!==null?(l.status=No,W(l.destination,t)):(l.status=jo,l.fatalError=t)}function ku(l,t,n){Qr(t,"Suspense");var s=t.blockedBoundary,u=t.blockedSegment,p=n.fallback,b=n.children,S=new Set,A=hl(l,S),j=u.chunks.length,q=Mi(l,j,A,u.formatContext,!1,!1);u.children.push(q),u.lastPushedText=!1;var K=Mi(l,0,null,u.formatContext,!1,!1);K.parentFlushed=!0,t.blockedBoundary=A,t.blockedSegment=K;try{if($o(l,t,b),Pt(K.chunks,l.responseState,K.lastPushedText,K.textEmbedded),K.status=Lo,Yn(A,K),A.pendingTasks===0){mr(t);return}}catch(Oe){K.status=Su,A.forceClientRender=!0,A.errorDigest=Li(l,Oe),ml(A,Oe)}finally{t.blockedBoundary=s,t.blockedSegment=u}var le=Vn(l,p,s,q,S,t.legacyContext,t.context,t.treeContext);le.componentStack=t.componentStack,l.pingedTasks.push(le),mr(t)}function sf(l,t,n,s){Qr(t,n);var u=t.blockedSegment,p=Dn(u.chunks,n,s,l.responseState,u.formatContext);u.lastPushedText=!1;var b=u.formatContext;u.formatContext=zr(b,n,s),$o(l,t,p),u.formatContext=b,la(u.chunks,n),u.lastPushedText=!1,mr(t)}function Eu(l){return l.prototype&&l.prototype.isReactComponent}function Ni(l,t,n,s,u){var p={};Qc(t,p);var b=n(s,u);return Xc(n,s,b,u)}function gl(l,t,n,s,u){var p=n.render();n.props!==u&&(xl||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",rt(s)||"a component"),xl=!0);{var b=s.childContextTypes;if(b!=null){var S=t.legacyContext,A=rl(n,s,S,b);t.legacyContext=A,Ot(l,t,p),t.legacyContext=S;return}}Ot(l,t,p)}function Cu(l,t,n,s){Di(t,n);var u=dn(n,t.legacyContext),p=mu(n,s,u);Ii(p,n,s,u),gl(l,t,p,n,s),mr(t)}var vl={},$i={},yl={},bl={},xl=!1,Tu={},Ru=!1,wl=!1,Pu=!1;function lf(l,t,n,s){var u;if(u=dn(n,t.legacyContext),ts(t,n),n.prototype&&typeof n.prototype.render=="function"){var p=rt(n)||"Unknown";vl[p]||(a("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",p,p),vl[p]=!0)}var b=Ni(l,t,n,s,u),S=Ya();if(typeof b=="object"&&b!==null&&typeof b.render=="function"&&b.$$typeof===void 0){var A=rt(n)||"Unknown";$i[A]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",A,A,A),$i[A]=!0)}if(typeof b=="object"&&b!==null&&typeof b.render=="function"&&b.$$typeof===void 0){{var j=rt(n)||"Unknown";$i[j]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",j,j,j),$i[j]=!0)}Ii(b,n,s,u),gl(l,t,b,n,s)}else if(uf(n),S){var q=t.treeContext,K=1,le=0;t.treeContext=sl(q,K,le);try{Ot(l,t,b)}finally{t.treeContext=q}}else Ot(l,t,b);mr(t)}function uf(l){{if(l&&l.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",l.displayName||l.name||"Component"),l.defaultProps!==void 0){var t=rt(l)||"Unknown";Tu[t]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",t),Tu[t]=!0)}if(typeof l.getDerivedStateFromProps=="function"){var n=rt(l)||"Unknown";bl[n]||(a("%s: Function components do not support getDerivedStateFromProps.",n),bl[n]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var s=rt(l)||"Unknown";yl[s]||(a("%s: Function components do not support contextType.",s),yl[s]=!0)}}}function Au(l,t){if(l&&l.defaultProps){var n=Ht({},t),s=l.defaultProps;for(var u in s)n[u]===void 0&&(n[u]=s[u]);return n}return t}function cf(l,t,n,s,u){ts(t,n.render);var p=Ni(l,t,n.render,s,u),b=Ya();if(b){var S=t.treeContext,A=1,j=0;t.treeContext=sl(S,A,j);try{Ot(l,t,p)}finally{t.treeContext=S}}else Ot(l,t,p);mr(t)}function Sl(l,t,n,s,u){var p=n.type,b=Au(p,s);rs(l,t,p,b,u)}function ff(l,t,n,s){n._context===void 0?n!==n.Consumer&&(Pu||(Pu=!0,a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):n=n._context;var u=s.children;typeof u!="function"&&a("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var p=Fo(n),b=u(p);Ot(l,t,b)}function Gt(l,t,n,s){var u=n._context,p=s.value,b=s.children,S;S=t.context,t.context=nl(u,p),Ot(l,t,b),t.context=jc(u),S!==t.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function df(l,t,n,s,u){Qr(t,"Lazy");var p=n._payload,b=n._init,S=b(p),A=Au(S,s);rs(l,t,S,A,u),mr(t)}function rs(l,t,n,s,u){if(typeof n=="function")if(Eu(n)){Cu(l,t,n,s);return}else{lf(l,t,n,s);return}if(typeof n=="string"){sf(l,t,n,s);return}switch(n){case Dc:case Mc:case Ca:case Ta:case Ea:{Ot(l,t,s.children);return}case Ws:{Qr(t,"SuspenseList"),Ot(l,t,s.children),mr(t);return}case ru:throw new Error("ReactDOMServer does not yet support scope components.");case Hs:{ku(l,t,s);return}}if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Ao:{cf(l,t,n,s,u);return}case Vs:{Sl(l,t,n,s,u);return}case gi:{Gt(l,t,n,s);return}case vi:{ff(l,t,n,s);return}case Ra:{df(l,t,n,s);return}}var p="";throw(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&(p+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(n==null?n:typeof n)+"."+p))}function pf(l,t){typeof Symbol=="function"&&l[Symbol.toStringTag]==="Generator"&&(Ru||a("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Ru=!0),l.entries===t&&(wl||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),wl=!0)}function Ot(l,t,n){try{return hf(l,t,n)}catch(s){throw typeof s=="object"&&s!==null&&typeof s.then=="function"||(_i=_i!==null?_i:Fr()),s}}function hf(l,t,n){if(t.node=n,typeof n=="object"&&n!==null){switch(n.$$typeof){case tu:{var s=n,u=s.type,p=s.props,b=s.ref;rs(l,t,u,p,b);return}case ka:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Ra:{var S=n,A=S._payload,j=S._init,q;try{q=j(A)}catch(Xr){throw typeof Xr=="object"&&Xr!==null&&typeof Xr.then=="function"&&Qr(t,"Lazy"),Xr}Ot(l,t,q);return}}if(Tt(n)){Iu(l,t,n);return}var K=yi(n);if(K){pf(n,K);var le=K.call(n);if(le){var Oe=le.next();if(!Oe.done){var Ye=[];do Ye.push(Oe.value),Oe=le.next();while(!Oe.done);Iu(l,t,Ye);return}return}}var gt=Object.prototype.toString.call(n);throw new Error("Objects are not valid as a React child (found: "+(gt==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":gt)+"). If you meant to render a collection of children, use an array instead.")}if(typeof n=="string"){var Gn=t.blockedSegment;Gn.lastPushedText=ht(t.blockedSegment.chunks,n,l.responseState,Gn.lastPushedText);return}if(typeof n=="number"){var Qn=t.blockedSegment;Qn.lastPushedText=ht(t.blockedSegment.chunks,""+n,l.responseState,Qn.lastPushedText);return}typeof n=="function"&&a("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function Iu(l,t,n){for(var s=n.length,u=0;u<s;u++){var p=t.treeContext;t.treeContext=sl(p,s,u);try{$o(l,t,n[u])}finally{t.treeContext=p}}}function Ou(l,t,n){var s=t.blockedSegment,u=s.chunks.length,p=Mi(l,u,null,s.formatContext,s.lastPushedText,!0);s.children.push(p),s.lastPushedText=!1;var b=Vn(l,t.node,t.blockedBoundary,p,t.abortSet,t.legacyContext,t.context,t.treeContext);t.componentStack!==null&&(b.componentStack=t.componentStack.parent);var S=b.ping;n.then(S,S)}function $o(l,t,n){var s=t.blockedSegment.formatContext,u=t.legacyContext,p=t.context,b=null;b=t.componentStack;try{return Ot(l,t,n)}catch(S){if(cl(),typeof S=="object"&&S!==null&&typeof S.then=="function"){Ou(l,t,S),t.blockedSegment.formatContext=s,t.legacyContext=u,t.context=p,hn(p),t.componentStack=b;return}else throw t.blockedSegment.formatContext=s,t.legacyContext=u,t.context=p,hn(p),t.componentStack=b,S}}function Fu(l,t,n,s){var u=Li(l,s);if(t===null?ji(l,s):(t.pendingTasks--,t.forceClientRender||(t.forceClientRender=!0,t.errorDigest=u,ml(t,s),t.parentFlushed&&l.clientRenderedBoundaries.push(t))),l.allPendingTasks--,l.allPendingTasks===0){var p=l.onAllReady;p()}}function mf(l){var t=this,n=l.blockedBoundary,s=l.blockedSegment;s.status=Hn,zi(t,n,s)}function kl(l,t,n){var s=l.blockedBoundary,u=l.blockedSegment;if(u.status=Hn,s===null)t.allPendingTasks--,t.status!==No&&(t.status=No,t.destination!==null&&B(t.destination));else{if(s.pendingTasks--,!s.forceClientRender){s.forceClientRender=!0;var p=n===void 0?new Error("The render was aborted by the server without a reason."):n;s.errorDigest=t.onError(p);{var b="The server did not finish this Suspense boundary: ";p&&typeof p.message=="string"?p=b+p.message:p=b+String(p);var S=Gr;Gr=l;try{ml(s,p)}finally{Gr=S}}s.parentFlushed&&t.clientRenderedBoundaries.push(s)}if(s.fallbackAbortableTasks.forEach(function(j){return kl(j,t,n)}),s.fallbackAbortableTasks.clear(),t.allPendingTasks--,t.allPendingTasks===0){var A=t.onAllReady;A()}}}function Yn(l,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,n.status===Lo&&Yn(l,n)}else{var s=l.completedSegments;s.push(t)}}function zi(l,t,n){if(t===null){if(n.parentFlushed){if(l.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");l.completedRootSegment=n}if(l.pendingRootTasks--,l.pendingRootTasks===0){l.onShellError=Wn;var s=l.onShellReady;s()}}else if(t.pendingTasks--,!t.forceClientRender){if(t.pendingTasks===0)n.parentFlushed&&n.status===Lo&&Yn(t,n),t.parentFlushed&&l.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(mf,l),t.fallbackAbortableTasks.clear();else if(n.parentFlushed&&n.status===Lo){Yn(t,n);var u=t.completedSegments;u.length===1&&t.parentFlushed&&l.partialBoundaries.push(t)}}if(l.allPendingTasks--,l.allPendingTasks===0){var p=l.onAllReady;p()}}function gf(l,t){var n=t.blockedSegment;if(n.status===Za){hn(t.context);var s=null;s=Gr,Gr=t;try{Ot(l,t,t.node),Pt(n.chunks,l.responseState,n.lastPushedText,n.textEmbedded),t.abortSet.delete(t),n.status=Lo,zi(l,t.blockedBoundary,n)}catch(p){if(cl(),typeof p=="object"&&p!==null&&typeof p.then=="function"){var u=t.ping;p.then(u,u)}else t.abortSet.delete(t),n.status=Su,Fu(l,t.blockedBoundary,n,p)}finally{Gr=s}}}function El(l){if(l.status!==No){var t=fu(),n=Ja.current;Ja.current=Xa;var s;s=Ka.getCurrentStack,Ka.getCurrentStack=Fr;var u=Fi;qa(l.responseState);try{var p=l.pingedTasks,b;for(b=0;b<p.length;b++){var S=p[b];gf(l,S)}p.splice(0,b),l.destination!==null&&Cl(l,l.destination)}catch(A){Li(l,A),ji(l,A)}finally{qa(u),Ja.current=n,Ka.getCurrentStack=s,n===Xa&&hn(t)}}}function Bi(l,t,n){switch(n.parentFlushed=!0,n.status){case Za:{var s=n.id=l.nextSegmentId++;return n.lastPushedText=!1,n.textEmbedded=!1,ua(t,l.responseState,s)}case Lo:{n.status=pl;for(var u=!0,p=n.chunks,b=0,S=n.children,A=0;A<S.length;A++){for(var j=S[A];b<j.index;b++)E(t,p[b]);u=ns(l,t,j)}for(;b<p.length-1;b++)E(t,p[b]);return b<p.length&&(u=F(t,p[b])),u}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ns(l,t,n){var s=n.boundary;if(s===null)return Bi(l,t,n);if(s.parentFlushed=!0,s.forceClientRender)return At(t,l.responseState,s.errorDigest,s.errorMessage,s.errorComponentStack),Bi(l,t,n),Bs(t,l.responseState);if(s.pendingTasks>0){s.rootSegmentID=l.nextSegmentId++,s.completedSegments.length>0&&l.partialBoundaries.push(s);var u=s.id=Ft(l.responseState);return ko(t,l.responseState,u),Bi(l,t,n),Eo(t,l.responseState)}else{if(s.byteSize>l.progressiveChunkSize)return s.rootSegmentID=l.nextSegmentId++,l.completedBoundaries.push(s),ko(t,l.responseState,s.id),Bi(l,t,n),Eo(t,l.responseState);da(t,l.responseState);var p=s.completedSegments;if(p.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var b=p[0];return ns(l,t,b),pa(t,l.responseState)}}function Mu(l,t,n){return Fc(t,l.responseState,n.id,n.errorDigest,n.errorMessage,n.errorComponentStack)}function os(l,t,n){return De(t,l.responseState,n.formatContext,n.id),ns(l,t,n),et(t,n.formatContext)}function Du(l,t,n){for(var s=n.completedSegments,u=0;u<s.length;u++){var p=s[u];_u(l,t,n,p)}return s.length=0,Zl(t,l.responseState,n.id,n.rootSegmentID)}function vf(l,t,n){for(var s=n.completedSegments,u=0;u<s.length;u++){var p=s[u];if(!_u(l,t,n,p))return u++,s.splice(0,u),!1}return s.splice(0,u),!0}function _u(l,t,n,s){if(s.status===pl)return!0;var u=s.id;if(u===-1){var p=s.id=n.rootSegmentID;if(p===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return os(l,t,s)}else return os(l,t,s),Cc(t,l.responseState,u)}function Cl(l,t){R();try{var n=l.completedRootSegment;n!==null&&l.pendingRootTasks===0&&(ns(l,t,n),l.completedRootSegment=null,Ns(t,l.responseState));var s=l.clientRenderedBoundaries,u;for(u=0;u<s.length;u++){var p=s[u];Mu(l,t,p)}s.splice(0,u);var b=l.completedBoundaries;for(u=0;u<b.length;u++){var S=b[u];Du(l,t,S)}b.splice(0,u),M(t),R(t);var A=l.partialBoundaries;for(u=0;u<A.length;u++){var j=A[u];if(!vf(l,t,j)){l.destination=null,u++,A.splice(0,u);return}}A.splice(0,u);var q=l.completedBoundaries;for(u=0;u<q.length;u++){var K=q[u];Du(l,t,K)}q.splice(0,u)}finally{M(t),l.allPendingTasks===0&&l.pingedTasks.length===0&&l.clientRenderedBoundaries.length===0&&l.completedBoundaries.length===0&&(l.abortableTasks.size!==0&&a("There was still abortable task at the root when we closed. This is a bug in React."),B(t))}}function Lu(l){h(function(){return El(l)})}function yf(l,t){if(l.status===jo){l.status=No,W(t,l.fatalError);return}if(l.status!==No&&l.destination===null){l.destination=t;try{Cl(l,t)}catch(n){Li(l,n),ji(l,n)}}}function ju(l,t){try{var n=l.abortableTasks;n.forEach(function(s){return kl(s,l,t)}),n.clear(),l.destination!==null&&Cl(l,l.destination)}catch(s){Li(l,s),ji(l,s)}}function bf(l,t){return new Promise(function(n,s){var u,p,b=new Promise(function(le,Oe){p=le,u=Oe});function S(){var le=new ReadableStream({type:"bytes",pull:function(Oe){yf(j,Oe)},cancel:function(Oe){ju(j)}},{highWaterMark:0});le.allReady=b,n(le)}function A(le){b.catch(function(){}),s(le)}var j=es(l,mo(t?t.identifierPrefix:void 0,t?t.nonce:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),Tr(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,p,S,A,u);if(t&&t.signal){var q=t.signal,K=function(){ju(j,q.reason),q.removeEventListener("abort",K)};q.addEventListener("abort",K)}Lu(j)})}zu.renderToReadableStream=bf,zu.version=r}()),zu}var gp;function iv(){if(gp)return Bo;gp=1;var e,r;return process.env.NODE_ENV==="production"?(e=tv(),r=rv()):(e=nv(),r=ov()),Bo.version=e.version,Bo.renderToString=e.renderToString,Bo.renderToStaticMarkup=e.renderToStaticMarkup,Bo.renderToNodeStream=e.renderToNodeStream,Bo.renderToStaticNodeStream=e.renderToStaticNodeStream,Bo.renderToReadableStream=r.renderToReadableStream,Bo}var av=iv(),Bu={exports:{}},Uu={exports:{}},Je={};/** @license React v16.13.1
|
|
106
106
|
* react-is.production.min.js
|
|
107
107
|
*
|
|
108
108
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
109
109
|
*
|
|
110
110
|
* This source code is licensed under the MIT license found in the
|
|
111
111
|
* LICENSE file in the root directory of this source tree.
|
|
112
|
-
*/var
|
|
112
|
+
*/var vp;function sv(){if(vp)return Je;vp=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,d=e?Symbol.for("react.profiler"):60114,h=e?Symbol.for("react.provider"):60109,y=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,x=e?Symbol.for("react.concurrent_mode"):60111,R=e?Symbol.for("react.forward_ref"):60112,E=e?Symbol.for("react.suspense"):60113,F=e?Symbol.for("react.suspense_list"):60120,M=e?Symbol.for("react.memo"):60115,B=e?Symbol.for("react.lazy"):60116,D=e?Symbol.for("react.block"):60121,P=e?Symbol.for("react.fundamental"):60117,I=e?Symbol.for("react.responder"):60118,W=e?Symbol.for("react.scope"):60119;function U(_){if(typeof _=="object"&&_!==null){var ie=_.$$typeof;switch(ie){case r:switch(_=_.type,_){case m:case x:case i:case d:case a:case E:return _;default:switch(_=_&&_.$$typeof,_){case y:case R:case B:case M:case h:return _;default:return ie}}case o:return ie}}}function Y(_){return U(_)===x}return Je.AsyncMode=m,Je.ConcurrentMode=x,Je.ContextConsumer=y,Je.ContextProvider=h,Je.Element=r,Je.ForwardRef=R,Je.Fragment=i,Je.Lazy=B,Je.Memo=M,Je.Portal=o,Je.Profiler=d,Je.StrictMode=a,Je.Suspense=E,Je.isAsyncMode=function(_){return Y(_)||U(_)===m},Je.isConcurrentMode=Y,Je.isContextConsumer=function(_){return U(_)===y},Je.isContextProvider=function(_){return U(_)===h},Je.isElement=function(_){return typeof _=="object"&&_!==null&&_.$$typeof===r},Je.isForwardRef=function(_){return U(_)===R},Je.isFragment=function(_){return U(_)===i},Je.isLazy=function(_){return U(_)===B},Je.isMemo=function(_){return U(_)===M},Je.isPortal=function(_){return U(_)===o},Je.isProfiler=function(_){return U(_)===d},Je.isStrictMode=function(_){return U(_)===a},Je.isSuspense=function(_){return U(_)===E},Je.isValidElementType=function(_){return typeof _=="string"||typeof _=="function"||_===i||_===x||_===d||_===a||_===E||_===F||typeof _=="object"&&_!==null&&(_.$$typeof===B||_.$$typeof===M||_.$$typeof===h||_.$$typeof===y||_.$$typeof===R||_.$$typeof===P||_.$$typeof===I||_.$$typeof===W||_.$$typeof===D)},Je.typeOf=U,Je}var Ke={};/** @license React v16.13.1
|
|
113
113
|
* react-is.development.js
|
|
114
114
|
*
|
|
115
115
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
116
116
|
*
|
|
117
117
|
* This source code is licensed under the MIT license found in the
|
|
118
118
|
* LICENSE file in the root directory of this source tree.
|
|
119
|
-
*/var
|
|
119
|
+
*/var yp;function lv(){return yp||(yp=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,d=e?Symbol.for("react.profiler"):60114,h=e?Symbol.for("react.provider"):60109,y=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,x=e?Symbol.for("react.concurrent_mode"):60111,R=e?Symbol.for("react.forward_ref"):60112,E=e?Symbol.for("react.suspense"):60113,F=e?Symbol.for("react.suspense_list"):60120,M=e?Symbol.for("react.memo"):60115,B=e?Symbol.for("react.lazy"):60116,D=e?Symbol.for("react.block"):60121,P=e?Symbol.for("react.fundamental"):60117,I=e?Symbol.for("react.responder"):60118,W=e?Symbol.for("react.scope"):60119;function U(oe){return typeof oe=="string"||typeof oe=="function"||oe===i||oe===x||oe===d||oe===a||oe===E||oe===F||typeof oe=="object"&&oe!==null&&(oe.$$typeof===B||oe.$$typeof===M||oe.$$typeof===h||oe.$$typeof===y||oe.$$typeof===R||oe.$$typeof===P||oe.$$typeof===I||oe.$$typeof===W||oe.$$typeof===D)}function Y(oe){if(typeof oe=="object"&&oe!==null){var Ue=oe.$$typeof;switch(Ue){case r:var nt=oe.type;switch(nt){case m:case x:case i:case d:case a:case E:return nt;default:var Lt=nt&&nt.$$typeof;switch(Lt){case y:case R:case B:case M:case h:return Lt;default:return Ue}}case o:return Ue}}}var _=m,ie=x,fe=y,ne=h,ae=r,Fe=R,Ne=i,_e=B,Ge=M,Qe=o,ke=d,Ce=a,je=E,Z=!1;function be(oe){return Z||(Z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Q(oe)||Y(oe)===m}function Q(oe){return Y(oe)===x}function J(oe){return Y(oe)===y}function ce(oe){return Y(oe)===h}function me(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===r}function pe(oe){return Y(oe)===R}function ge(oe){return Y(oe)===i}function se(oe){return Y(oe)===B}function ue(oe){return Y(oe)===M}function Te(oe){return Y(oe)===o}function Ee(oe){return Y(oe)===d}function Re(oe){return Y(oe)===a}function $e(oe){return Y(oe)===E}Ke.AsyncMode=_,Ke.ConcurrentMode=ie,Ke.ContextConsumer=fe,Ke.ContextProvider=ne,Ke.Element=ae,Ke.ForwardRef=Fe,Ke.Fragment=Ne,Ke.Lazy=_e,Ke.Memo=Ge,Ke.Portal=Qe,Ke.Profiler=ke,Ke.StrictMode=Ce,Ke.Suspense=je,Ke.isAsyncMode=be,Ke.isConcurrentMode=Q,Ke.isContextConsumer=J,Ke.isContextProvider=ce,Ke.isElement=me,Ke.isForwardRef=pe,Ke.isFragment=ge,Ke.isLazy=se,Ke.isMemo=ue,Ke.isPortal=Te,Ke.isProfiler=Ee,Ke.isStrictMode=Re,Ke.isSuspense=$e,Ke.isValidElementType=U,Ke.typeOf=Y}()),Ke}var bp;function Wh(){return bp||(bp=1,process.env.NODE_ENV==="production"?Uu.exports=sv():Uu.exports=lv()),Uu.exports}/*
|
|
120
120
|
object-assign
|
|
121
121
|
(c) Sindre Sorhus
|
|
122
122
|
@license MIT
|
|
123
|
-
*/var
|
|
124
|
-
Valid keys: `+JSON.stringify(Object.keys(
|
|
125
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},sb=function(e,t){return nb(e)||ob(e,t)||ib(e,t)||ab()},og=ng(function(e){function t(){return e.exports=t=Object.assign||function(n){for(var i=1;i<arguments.length;i++){var a=arguments[i];for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(n[c]=a[c])}return n},t.apply(this,arguments)}e.exports=t}),lb=function(e,t){if(e==null)return{};var n,i,a={},c=Object.keys(e);for(i=0;i<c.length;i++)n=c[i],t.indexOf(n)>=0||(a[n]=e[n]);return a},ig=function(e,t){if(e==null)return{};var n,i,a=lb(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(i=0;i<c.length;i++)n=c[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a},ub=A.createContext(null);function ag(e){var t=e.children,n=t===void 0?"":t,i=ig(e,["children"]);return typeof n!="string"&&(n=Gy.renderToString(n)),A.createElement("template",og({},i,{dangerouslySetInnerHTML:{__html:n}}))}function sg(e){var t=e.root,n=e.children;return Bc.createPortal(n===void 0?null:n,t)}function cb(e){var t=A.forwardRef(function(n,i){var a,c,p=n.mode,m=p===void 0?"open":p,h=n.delegatesFocus,v=h!==void 0&&h,C=n.styleSheets,x=C===void 0?[]:C,F=n.ssr,I=F!==void 0&&F,L=n.children,D=ig(n,["mode","delegatesFocus","styleSheets","ssr","children"]),T=(c=A.useRef((a=i)&&a.current),A.useEffect(function(){a&&(a.current=c.current)},[a]),c),O=A.useState(null),U=sb(O,2),j=U[0],V=U[1],$="node_".concat(m).concat(v);return A.useLayoutEffect(function(){if(T.current)try{if(typeof i=="function"&&i(T.current),I){var J=T.current.shadowRoot;return void V(J)}var ae=T.current.attachShadow({mode:m,delegatesFocus:v});x.length>0&&(ae.adoptedStyleSheets=x),V(ae)}catch(re){(function(le){var ye=le.error,De=le.styleSheets,Fe=le.root;switch(ye.name){case"NotSupportedError":De.length>0&&(Fe.adoptedStyleSheets=De);break;default:throw ye}})({error:re,styleSheets:x,root:j})}},[i,T,x]),A.createElement(A.Fragment,null,A.createElement(e.tag,og({key:$,ref:T},D),(j||I)&&A.createElement(ub.Provider,{value:j},I?A.createElement(ag,{shadowroot:m,shadowrootmode:m},e.render({root:j,ssr:I,children:L})):A.createElement(sg,{root:j},e.render({root:j,ssr:I,children:L})))))});return t.propTypes={mode:_e.oneOf(["open","closed"]),delegatesFocus:_e.bool,styleSheets:_e.arrayOf(_e.instanceOf(globalThis.CSSStyleSheet)),ssr:_e.bool,children:_e.node},t}ag.propTypes={children:_e.oneOfType([_e.string,_e.node])},sg.propTypes={root:_e.object.isRequired,children:_e.node};var hd=new Map;function fb(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(i){return i.children};return new Proxy(e,{get:function(i,a){var c=rb(a,{separator:"-"}),p="".concat(t,"-").concat(c);return hd.has(p)||hd.set(p,cb({tag:c,render:n})),hd.get(p)}})}var lg=fb();const ug="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAYCAYAAADpnJ2CAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGpSURBVHgBpVbRdYMwDDR9/S8jeARGYIRuUDpBuwHJBGQDskG6ASOQDcwGdANVLnJRHdmIRO/dI8D5zgIhpTAbAQAlHiqEJUyEa1EU30YRqFHj4Q1xzJIQF8QMSziGEAPi1eTNPhi/lwglomOCDWUZc/yGzkEIYQWtlpnNNxwSGimL2ijCi7DMLbveR2aVtHiMFypN/UZPlLUlHR6iWXuPWaQRsuXRpIjyTb1ZDWuBQVaPnvfAzLs9mcL/SoTNzXMCLJ9CiFZh1glmh9yCmkhldB7CgVzyvlCGlBlEnxJf+IkYo2uNINSy+1JxcDOv2acMD0DvT2HqSCxpRmt9Q/iS/J5NIrBP+kX+J9+pRXQC/Yj8Q3TtReCZJ7M0YpsyxcO7yUfKbBLZmEUFrGgSHOnx+jgn+M4/epMRnLME8/euNWYhgSondpIKJ2HqclxYmsi4JRRaW3a2KTakb5FU7rczS29WUvb9nkUD3D+e9o82WNuVA+XkgKUVOnhktLGK/DWOK4421sDaSy+5z0praqlF8Rnn2PlMhvUe3UJDogwtImRxRUzav4k8fgCQHVaVoXL9RAAAAABJRU5ErkJggg==";var qs=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Sa=typeof window>"u"||"Deno"in globalThis;function Zt(){}function db(e,t){return typeof e=="function"?e(t):e}function $d(e){return typeof e=="number"&&e>=0&&e!==1/0}function cg(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Is(e,t){return typeof e=="function"?e(t):e}function nn(e,t){return typeof e=="function"?e(t):e}function Ch(e,t){const{type:n="all",exact:i,fetchStatus:a,predicate:c,queryKey:p,stale:m}=e;if(p){if(i){if(t.queryHash!==Dp(p,t.options))return!1}else if(!su(t.queryKey,p))return!1}if(n!=="all"){const h=t.isActive();if(n==="active"&&!h||n==="inactive"&&h)return!1}return!(typeof m=="boolean"&&t.isStale()!==m||a&&a!==t.state.fetchStatus||c&&!c(t))}function Th(e,t){const{exact:n,status:i,predicate:a,mutationKey:c}=e;if(c){if(!t.options.mutationKey)return!1;if(n){if(ka(t.options.mutationKey)!==ka(c))return!1}else if(!su(t.options.mutationKey,c))return!1}return!(i&&t.state.status!==i||a&&!a(t))}function Dp(e,t){return((t==null?void 0:t.queryKeyHashFn)||ka)(e)}function ka(e){return JSON.stringify(e,(t,n)=>Nd(n)?Object.keys(n).sort().reduce((i,a)=>(i[a]=n[a],i),{}):n)}function su(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>su(e[n],t[n])):!1}function jd(e,t){if(e===t)return e;const n=Rh(e)&&Rh(t);if(n||Nd(e)&&Nd(t)){const i=n?e:Object.keys(e),a=i.length,c=n?t:Object.keys(t),p=c.length,m=n?[]:{};let h=0;for(let v=0;v<p;v++){const C=n?v:c[v];(!n&&i.includes(C)||n)&&e[C]===void 0&&t[C]===void 0?(m[C]=void 0,h++):(m[C]=jd(e[C],t[C]),m[C]===e[C]&&e[C]!==void 0&&h++)}return a===p&&h===a?e:m}return t}function Pc(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Rh(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Nd(e){if(!Ph(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Ph(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Ph(e){return Object.prototype.toString.call(e)==="[object Object]"}function pb(e){return new Promise(t=>{setTimeout(t,e)})}function zd(e,t,n){if(typeof n.structuralSharing=="function")return n.structuralSharing(e,t);if(n.structuralSharing!==!1){if(process.env.NODE_ENV!=="production")try{return jd(e,t)}catch(i){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${i}`),i}return jd(e,t)}return t}function hb(e,t,n=0){const i=[...e,t];return n&&i.length>n?i.slice(1):i}function mb(e,t,n=0){const i=[t,...e];return n&&i.length>n?i.slice(0,-1):i}var Ac=Symbol();function fg(e,t){return process.env.NODE_ENV!=="production"&&e.queryFn===Ac&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Ac?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function dg(e,t){return typeof e=="function"?e(...t):!!e}var pa,ii,Ls,Wm,gb=(Wm=class extends qs{constructor(){super();Ie(this,pa);Ie(this,ii);Ie(this,Ls);ge(this,Ls,t=>{if(!Sa&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){_(this,ii)||this.setEventListener(_(this,Ls))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ii))==null||t.call(this),ge(this,ii,void 0))}setEventListener(t){var n;ge(this,Ls,t),(n=_(this,ii))==null||n.call(this),ge(this,ii,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){_(this,pa)!==t&&(ge(this,pa,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof _(this,pa)=="boolean"?_(this,pa):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},pa=new WeakMap,ii=new WeakMap,Ls=new WeakMap,Wm),_p=new gb,$s,ai,js,Vm,vb=(Vm=class extends qs{constructor(){super();Ie(this,$s,!0);Ie(this,ai);Ie(this,js);ge(this,js,t=>{if(!Sa&&window.addEventListener){const n=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",i)}}})}onSubscribe(){_(this,ai)||this.setEventListener(_(this,js))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ai))==null||t.call(this),ge(this,ai,void 0))}setEventListener(t){var n;ge(this,js,t),(n=_(this,ai))==null||n.call(this),ge(this,ai,t(this.setOnline.bind(this)))}setOnline(t){_(this,$s)!==t&&(ge(this,$s,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return _(this,$s)}},$s=new WeakMap,ai=new WeakMap,js=new WeakMap,Vm),Oc=new vb;function Bd(){let e,t;const n=new Promise((a,c)=>{e=a,t=c});n.status="pending",n.catch(()=>{});function i(a){Object.assign(n,a),delete n.resolve,delete n.reject}return n.resolve=a=>{i({status:"fulfilled",value:a}),e(a)},n.reject=a=>{i({status:"rejected",reason:a}),t(a)},n}function yb(e){return Math.min(1e3*2**e,3e4)}function pg(e){return(e??"online")==="online"?Oc.isOnline():!0}var hg=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function md(e){return e instanceof hg}function mg(e){let t=!1,n=0,i=!1,a;const c=Bd(),p=D=>{var T;i||(F(new hg(D)),(T=e.abort)==null||T.call(e))},m=()=>{t=!0},h=()=>{t=!1},v=()=>_p.isFocused()&&(e.networkMode==="always"||Oc.isOnline())&&e.canRun(),C=()=>pg(e.networkMode)&&e.canRun(),x=D=>{var T;i||(i=!0,(T=e.onSuccess)==null||T.call(e,D),a==null||a(),c.resolve(D))},F=D=>{var T;i||(i=!0,(T=e.onError)==null||T.call(e,D),a==null||a(),c.reject(D))},I=()=>new Promise(D=>{var T;a=O=>{(i||v())&&D(O)},(T=e.onPause)==null||T.call(e)}).then(()=>{var D;a=void 0,i||(D=e.onContinue)==null||D.call(e)}),L=()=>{if(i)return;let D;const T=n===0?e.initialPromise:void 0;try{D=T??e.fn()}catch(O){D=Promise.reject(O)}Promise.resolve(D).then(x).catch(O=>{var J;if(i)return;const U=e.retry??(Sa?0:3),j=e.retryDelay??yb,V=typeof j=="function"?j(n,O):j,$=U===!0||typeof U=="number"&&n<U||typeof U=="function"&&U(n,O);if(t||!$){F(O);return}n++,(J=e.onFail)==null||J.call(e,n,O),pb(V).then(()=>v()?void 0:I()).then(()=>{t?F(O):L()})})};return{promise:c,cancel:p,continue:()=>(a==null||a(),c),cancelRetry:m,continueRetry:h,canStart:C,start:()=>(C()?L():I().then(L),c)}}var bb=e=>setTimeout(e,0);function wb(){let e=[],t=0,n=m=>{m()},i=m=>{m()},a=bb;const c=m=>{t?e.push(m):a(()=>{n(m)})},p=()=>{const m=e;e=[],m.length&&a(()=>{i(()=>{m.forEach(h=>{n(h)})})})};return{batch:m=>{let h;t++;try{h=m()}finally{t--,t||p()}return h},batchCalls:m=>(...h)=>{c(()=>{m(...h)})},schedule:c,setNotifyFunction:m=>{n=m},setBatchNotifyFunction:m=>{i=m},setScheduler:m=>{a=m}}}var bt=wb(),ha,Gm,gg=(Gm=class{constructor(){Ie(this,ha)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),$d(this.gcTime)&&ge(this,ha,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Sa?1/0:5*60*1e3))}clearGcTimeout(){_(this,ha)&&(clearTimeout(_(this,ha)),ge(this,ha,void 0))}},ha=new WeakMap,Gm),Ns,zs,jr,ma,$t,hu,ga,tn,oo,Ym,xb=(Ym=class extends gg{constructor(t){super();Ie(this,tn);Ie(this,Ns);Ie(this,zs);Ie(this,jr);Ie(this,ma);Ie(this,$t);Ie(this,hu);Ie(this,ga);ge(this,ga,!1),ge(this,hu,t.defaultOptions),this.setOptions(t.options),this.observers=[],ge(this,ma,t.client),ge(this,jr,_(this,ma).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ge(this,Ns,Sb(this.options)),this.state=t.state??_(this,Ns),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=_(this,$t))==null?void 0:t.promise}setOptions(t){this.options={..._(this,hu),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&_(this,jr).remove(this)}setData(t,n){const i=zd(this.state.data,t,this.options);return Ue(this,tn,oo).call(this,{data:i,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),i}setState(t,n){Ue(this,tn,oo).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var i,a;const n=(i=_(this,$t))==null?void 0:i.promise;return(a=_(this,$t))==null||a.cancel(t),n?n.then(Zt).catch(Zt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(_(this,Ns))}isActive(){return this.observers.some(t=>nn(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Ac||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!cg(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,$t))==null||n.continue()}onOnline(){var n;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,$t))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),_(this,jr).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(_(this,$t)&&(_(this,ga)?_(this,$t).cancel({revert:!0}):_(this,$t).cancelRetry()),this.scheduleGc()),_(this,jr).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ue(this,tn,oo).call(this,{type:"invalidate"})}fetch(t,n){var h,v,C;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(_(this,$t))return _(this,$t).continueRetry(),_(this,$t).promise}if(t&&this.setOptions(t),!this.options.queryFn){const x=this.observers.find(F=>F.options.queryFn);x&&this.setOptions(x.options)}process.env.NODE_ENV!=="production"&&(Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const i=new AbortController,a=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(ge(this,ga,!0),i.signal)})},c=()=>{const x=fg(this.options,n),F={client:_(this,ma),queryKey:this.queryKey,meta:this.meta};return a(F),ge(this,ga,!1),this.options.persister?this.options.persister(x,F,this):x(F)},p={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:_(this,ma),state:this.state,fetchFn:c};a(p),(h=this.options.behavior)==null||h.onFetch(p,this),ge(this,zs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((v=p.fetchOptions)==null?void 0:v.meta))&&Ue(this,tn,oo).call(this,{type:"fetch",meta:(C=p.fetchOptions)==null?void 0:C.meta});const m=x=>{var F,I,L,D;md(x)&&x.silent||Ue(this,tn,oo).call(this,{type:"error",error:x}),md(x)||((I=(F=_(this,jr).config).onError)==null||I.call(F,x,this),(D=(L=_(this,jr).config).onSettled)==null||D.call(L,this.state.data,x,this)),this.scheduleGc()};return ge(this,$t,mg({initialPromise:n==null?void 0:n.initialPromise,fn:p.fetchFn,abort:i.abort.bind(i),onSuccess:x=>{var F,I,L,D;if(x===void 0){process.env.NODE_ENV!=="production"&&console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),m(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(x)}catch(T){m(T);return}(I=(F=_(this,jr).config).onSuccess)==null||I.call(F,x,this),(D=(L=_(this,jr).config).onSettled)==null||D.call(L,x,this.state.error,this),this.scheduleGc()},onError:m,onFail:(x,F)=>{Ue(this,tn,oo).call(this,{type:"failed",failureCount:x,error:F})},onPause:()=>{Ue(this,tn,oo).call(this,{type:"pause"})},onContinue:()=>{Ue(this,tn,oo).call(this,{type:"continue"})},retry:p.options.retry,retryDelay:p.options.retryDelay,networkMode:p.options.networkMode,canRun:()=>!0})),_(this,$t).start()}},Ns=new WeakMap,zs=new WeakMap,jr=new WeakMap,ma=new WeakMap,$t=new WeakMap,hu=new WeakMap,ga=new WeakMap,tn=new WeakSet,oo=function(t){const n=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...vg(i.data,this.options),fetchMeta:t.meta??null};case"success":return{...i,data:t.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=t.error;return md(a)&&a.revert&&_(this,zs)?{..._(this,zs),fetchStatus:"idle"}:{...i,error:a,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=n(this.state),bt.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),_(this,jr).notify({query:this,type:"updated",action:t})})},Ym);function vg(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:pg(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Sb(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,i=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Cn,Xm,kb=(Xm=class extends qs{constructor(t={}){super();Ie(this,Cn);this.config=t,ge(this,Cn,new Map)}build(t,n,i){const a=n.queryKey,c=n.queryHash??Dp(a,n);let p=this.get(c);return p||(p=new xb({client:t,queryKey:a,queryHash:c,options:t.defaultQueryOptions(n),state:i,defaultOptions:t.getQueryDefaults(a)}),this.add(p)),p}add(t){_(this,Cn).has(t.queryHash)||(_(this,Cn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=_(this,Cn).get(t.queryHash);n&&(t.destroy(),n===t&&_(this,Cn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){bt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return _(this,Cn).get(t)}getAll(){return[..._(this,Cn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(i=>Ch(n,i))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(i=>Ch(t,i)):n}notify(t){bt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){bt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){bt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Cn=new WeakMap,Xm),Tn,Kt,va,Rn,ni,Qm,Eb=(Qm=class extends gg{constructor(t){super();Ie(this,Rn);Ie(this,Tn);Ie(this,Kt);Ie(this,va);this.mutationId=t.mutationId,ge(this,Kt,t.mutationCache),ge(this,Tn,[]),this.state=t.state||yg(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){_(this,Tn).includes(t)||(_(this,Tn).push(t),this.clearGcTimeout(),_(this,Kt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ge(this,Tn,_(this,Tn).filter(n=>n!==t)),this.scheduleGc(),_(this,Kt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){_(this,Tn).length||(this.state.status==="pending"?this.scheduleGc():_(this,Kt).remove(this))}continue(){var t;return((t=_(this,va))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var c,p,m,h,v,C,x,F,I,L,D,T,O,U,j,V,$,J,ae,re;const n=()=>{Ue(this,Rn,ni).call(this,{type:"continue"})};ge(this,va,mg({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(le,ye)=>{Ue(this,Rn,ni).call(this,{type:"failed",failureCount:le,error:ye})},onPause:()=>{Ue(this,Rn,ni).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>_(this,Kt).canRun(this)}));const i=this.state.status==="pending",a=!_(this,va).canStart();try{if(i)n();else{Ue(this,Rn,ni).call(this,{type:"pending",variables:t,isPaused:a}),await((p=(c=_(this,Kt).config).onMutate)==null?void 0:p.call(c,t,this));const ye=await((h=(m=this.options).onMutate)==null?void 0:h.call(m,t));ye!==this.state.context&&Ue(this,Rn,ni).call(this,{type:"pending",context:ye,variables:t,isPaused:a})}const le=await _(this,va).start();return await((C=(v=_(this,Kt).config).onSuccess)==null?void 0:C.call(v,le,t,this.state.context,this)),await((F=(x=this.options).onSuccess)==null?void 0:F.call(x,le,t,this.state.context)),await((L=(I=_(this,Kt).config).onSettled)==null?void 0:L.call(I,le,null,this.state.variables,this.state.context,this)),await((T=(D=this.options).onSettled)==null?void 0:T.call(D,le,null,t,this.state.context)),Ue(this,Rn,ni).call(this,{type:"success",data:le}),le}catch(le){try{throw await((U=(O=_(this,Kt).config).onError)==null?void 0:U.call(O,le,t,this.state.context,this)),await((V=(j=this.options).onError)==null?void 0:V.call(j,le,t,this.state.context)),await((J=($=_(this,Kt).config).onSettled)==null?void 0:J.call($,void 0,le,this.state.variables,this.state.context,this)),await((re=(ae=this.options).onSettled)==null?void 0:re.call(ae,void 0,le,t,this.state.context)),le}finally{Ue(this,Rn,ni).call(this,{type:"error",error:le})}}finally{_(this,Kt).runNext(this)}}},Tn=new WeakMap,Kt=new WeakMap,va=new WeakMap,Rn=new WeakSet,ni=function(t){const n=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),bt.batch(()=>{_(this,Tn).forEach(i=>{i.onMutationUpdate(t)}),_(this,Kt).notify({mutation:this,type:"updated",action:t})})},Qm);function yg(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var io,rn,mu,qm,Cb=(qm=class extends qs{constructor(t={}){super();Ie(this,io);Ie(this,rn);Ie(this,mu);this.config=t,ge(this,io,new Set),ge(this,rn,new Map),ge(this,mu,0)}build(t,n,i){const a=new Eb({mutationCache:this,mutationId:++fc(this,mu)._,options:t.defaultMutationOptions(n),state:i});return this.add(a),a}add(t){_(this,io).add(t);const n=gc(t);if(typeof n=="string"){const i=_(this,rn).get(n);i?i.push(t):_(this,rn).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(_(this,io).delete(t)){const n=gc(t);if(typeof n=="string"){const i=_(this,rn).get(n);if(i)if(i.length>1){const a=i.indexOf(t);a!==-1&&i.splice(a,1)}else i[0]===t&&_(this,rn).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=gc(t);if(typeof n=="string"){const i=_(this,rn).get(n),a=i==null?void 0:i.find(c=>c.state.status==="pending");return!a||a===t}else return!0}runNext(t){var i;const n=gc(t);if(typeof n=="string"){const a=(i=_(this,rn).get(n))==null?void 0:i.find(c=>c!==t&&c.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){bt.batch(()=>{_(this,io).forEach(t=>{this.notify({type:"removed",mutation:t})}),_(this,io).clear(),_(this,rn).clear()})}getAll(){return Array.from(_(this,io))}find(t){const n={exact:!0,...t};return this.getAll().find(i=>Th(n,i))}findAll(t={}){return this.getAll().filter(n=>Th(t,n))}notify(t){bt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return bt.batch(()=>Promise.all(t.map(n=>n.continue().catch(Zt))))}},io=new WeakMap,rn=new WeakMap,mu=new WeakMap,qm);function gc(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Ah(e){return{onFetch:(t,n)=>{var C,x,F,I,L;const i=t.options,a=(F=(x=(C=t.fetchOptions)==null?void 0:C.meta)==null?void 0:x.fetchMore)==null?void 0:F.direction,c=((I=t.state.data)==null?void 0:I.pages)||[],p=((L=t.state.data)==null?void 0:L.pageParams)||[];let m={pages:[],pageParams:[]},h=0;const v=async()=>{let D=!1;const T=j=>{Object.defineProperty(j,"signal",{enumerable:!0,get:()=>(t.signal.aborted?D=!0:t.signal.addEventListener("abort",()=>{D=!0}),t.signal)})},O=fg(t.options,t.fetchOptions),U=async(j,V,$)=>{if(D)return Promise.reject();if(V==null&&j.pages.length)return Promise.resolve(j);const J={client:t.client,queryKey:t.queryKey,pageParam:V,direction:$?"backward":"forward",meta:t.options.meta};T(J);const ae=await O(J),{maxPages:re}=t.options,le=$?mb:hb;return{pages:le(j.pages,ae,re),pageParams:le(j.pageParams,V,re)}};if(a&&c.length){const j=a==="backward",V=j?Tb:Oh,$={pages:c,pageParams:p},J=V(i,$);m=await U($,J,j)}else{const j=e??c.length;do{const V=h===0?p[0]??i.initialPageParam:Oh(i,m);if(h>0&&V==null)break;m=await U(m,V),h++}while(h<j)}return m};t.options.persister?t.fetchFn=()=>{var D,T;return(T=(D=t.options).persister)==null?void 0:T.call(D,v,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=v}}}function Oh(e,{pages:t,pageParams:n}){const i=t.length-1;return t.length>0?e.getNextPageParam(t[i],t,n[i],n):void 0}function Tb(e,{pages:t,pageParams:n}){var i;return t.length>0?(i=e.getPreviousPageParam)==null?void 0:i.call(e,t[0],t,n[0],n):void 0}var pt,si,li,Bs,Us,ui,Hs,Ws,Km,Rb=(Km=class{constructor(e={}){Ie(this,pt);Ie(this,si);Ie(this,li);Ie(this,Bs);Ie(this,Us);Ie(this,ui);Ie(this,Hs);Ie(this,Ws);ge(this,pt,e.queryCache||new kb),ge(this,si,e.mutationCache||new Cb),ge(this,li,e.defaultOptions||{}),ge(this,Bs,new Map),ge(this,Us,new Map),ge(this,ui,0)}mount(){fc(this,ui)._++,_(this,ui)===1&&(ge(this,Hs,_p.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,pt).onFocus())})),ge(this,Ws,Oc.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,pt).onOnline())})))}unmount(){var e,t;fc(this,ui)._--,_(this,ui)===0&&((e=_(this,Hs))==null||e.call(this),ge(this,Hs,void 0),(t=_(this,Ws))==null||t.call(this),ge(this,Ws,void 0))}isFetching(e){return _(this,pt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return _(this,si).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,pt).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=_(this,pt).build(this,t),i=n.state.data;return i===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Is(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return _(this,pt).findAll(e).map(({queryKey:t,state:n})=>{const i=n.data;return[t,i]})}setQueryData(e,t,n){const i=this.defaultQueryOptions({queryKey:e}),a=_(this,pt).get(i.queryHash),c=a==null?void 0:a.state.data,p=db(t,c);if(p!==void 0)return _(this,pt).build(this,i).setData(p,{...n,manual:!0})}setQueriesData(e,t,n){return bt.batch(()=>_(this,pt).findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,pt).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=_(this,pt);bt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=_(this,pt);return bt.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},i=bt.batch(()=>_(this,pt).findAll(e).map(a=>a.cancel(n)));return Promise.all(i).then(Zt).catch(Zt)}invalidateQueries(e,t={}){return bt.batch(()=>(_(this,pt).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},i=bt.batch(()=>_(this,pt).findAll(e).filter(a=>!a.isDisabled()).map(a=>{let c=a.fetch(void 0,n);return n.throwOnError||(c=c.catch(Zt)),a.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(i).then(Zt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=_(this,pt).build(this,t);return n.isStaleByTime(Is(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Zt).catch(Zt)}fetchInfiniteQuery(e){return e.behavior=Ah(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Zt).catch(Zt)}ensureInfiniteQueryData(e){return e.behavior=Ah(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Oc.isOnline()?_(this,si).resumePausedMutations():Promise.resolve()}getQueryCache(){return _(this,pt)}getMutationCache(){return _(this,si)}getDefaultOptions(){return _(this,li)}setDefaultOptions(e){ge(this,li,e)}setQueryDefaults(e,t){_(this,Bs).set(ka(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[..._(this,Bs).values()],n={};return t.forEach(i=>{su(e,i.queryKey)&&Object.assign(n,i.defaultOptions)}),n}setMutationDefaults(e,t){_(this,Us).set(ka(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[..._(this,Us).values()],n={};return t.forEach(i=>{su(e,i.mutationKey)&&Object.assign(n,i.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={..._(this,li).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Dp(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Ac&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{..._(this,li).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){_(this,pt).clear(),_(this,si).clear()}},pt=new WeakMap,si=new WeakMap,li=new WeakMap,Bs=new WeakMap,Us=new WeakMap,ui=new WeakMap,Hs=new WeakMap,Ws=new WeakMap,Km),dr,Ye,gu,Jt,ya,Vs,ci,fi,vu,Gs,Ys,ba,wa,di,Xs,Ze,Ql,Ud,Hd,Wd,Vd,Gd,Yd,Xd,bg,Jm,Pb=(Jm=class extends qs{constructor(t,n){super();Ie(this,Ze);Ie(this,dr);Ie(this,Ye);Ie(this,gu);Ie(this,Jt);Ie(this,ya);Ie(this,Vs);Ie(this,ci);Ie(this,fi);Ie(this,vu);Ie(this,Gs);Ie(this,Ys);Ie(this,ba);Ie(this,wa);Ie(this,di);Ie(this,Xs,new Set);this.options=n,ge(this,dr,t),ge(this,fi,null),ge(this,ci,Bd()),this.options.experimental_prefetchInRender||_(this,ci).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(_(this,Ye).addObserver(this),Ih(_(this,Ye),this.options)?Ue(this,Ze,Ql).call(this):this.updateResult(),Ue(this,Ze,Vd).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Qd(_(this,Ye),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Qd(_(this,Ye),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Ue(this,Ze,Gd).call(this),Ue(this,Ze,Yd).call(this),_(this,Ye).removeObserver(this)}setOptions(t){const n=this.options,i=_(this,Ye);if(this.options=_(this,dr).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof nn(this.options.enabled,_(this,Ye))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Ue(this,Ze,Xd).call(this),_(this,Ye).setOptions(this.options),n._defaulted&&!Pc(this.options,n)&&_(this,dr).getQueryCache().notify({type:"observerOptionsUpdated",query:_(this,Ye),observer:this});const a=this.hasListeners();a&&Fh(_(this,Ye),i,this.options,n)&&Ue(this,Ze,Ql).call(this),this.updateResult(),a&&(_(this,Ye)!==i||nn(this.options.enabled,_(this,Ye))!==nn(n.enabled,_(this,Ye))||Is(this.options.staleTime,_(this,Ye))!==Is(n.staleTime,_(this,Ye)))&&Ue(this,Ze,Ud).call(this);const c=Ue(this,Ze,Hd).call(this);a&&(_(this,Ye)!==i||nn(this.options.enabled,_(this,Ye))!==nn(n.enabled,_(this,Ye))||c!==_(this,di))&&Ue(this,Ze,Wd).call(this,c)}getOptimisticResult(t){const n=_(this,dr).getQueryCache().build(_(this,dr),t),i=this.createResult(n,t);return Ob(this,i)&&(ge(this,Jt,i),ge(this,Vs,this.options),ge(this,ya,_(this,Ye).state)),i}getCurrentResult(){return _(this,Jt)}trackResult(t,n){return new Proxy(t,{get:(i,a)=>(this.trackProp(a),n==null||n(a),Reflect.get(i,a))})}trackProp(t){_(this,Xs).add(t)}getCurrentQuery(){return _(this,Ye)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=_(this,dr).defaultQueryOptions(t),i=_(this,dr).getQueryCache().build(_(this,dr),n);return i.fetch().then(()=>this.createResult(i,n))}fetch(t){return Ue(this,Ze,Ql).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),_(this,Jt)))}createResult(t,n){var le;const i=_(this,Ye),a=this.options,c=_(this,Jt),p=_(this,ya),m=_(this,Vs),v=t!==i?t.state:_(this,gu),{state:C}=t;let x={...C},F=!1,I;if(n._optimisticResults){const ye=this.hasListeners(),De=!ye&&Ih(t,n),Fe=ye&&Fh(t,i,n,a);(De||Fe)&&(x={...x,...vg(C.data,t.options)}),n._optimisticResults==="isRestoring"&&(x.fetchStatus="idle")}let{error:L,errorUpdatedAt:D,status:T}=x;I=x.data;let O=!1;if(n.placeholderData!==void 0&&I===void 0&&T==="pending"){let ye;c!=null&&c.isPlaceholderData&&n.placeholderData===(m==null?void 0:m.placeholderData)?(ye=c.data,O=!0):ye=typeof n.placeholderData=="function"?n.placeholderData((le=_(this,Ys))==null?void 0:le.state.data,_(this,Ys)):n.placeholderData,ye!==void 0&&(T="success",I=zd(c==null?void 0:c.data,ye,n),F=!0)}if(n.select&&I!==void 0&&!O)if(c&&I===(p==null?void 0:p.data)&&n.select===_(this,vu))I=_(this,Gs);else try{ge(this,vu,n.select),I=n.select(I),I=zd(c==null?void 0:c.data,I,n),ge(this,Gs,I),ge(this,fi,null)}catch(ye){ge(this,fi,ye)}_(this,fi)&&(L=_(this,fi),I=_(this,Gs),D=Date.now(),T="error");const U=x.fetchStatus==="fetching",j=T==="pending",V=T==="error",$=j&&U,J=I!==void 0,re={status:T,fetchStatus:x.fetchStatus,isPending:j,isSuccess:T==="success",isError:V,isInitialLoading:$,isLoading:$,data:I,dataUpdatedAt:x.dataUpdatedAt,error:L,errorUpdatedAt:D,failureCount:x.fetchFailureCount,failureReason:x.fetchFailureReason,errorUpdateCount:x.errorUpdateCount,isFetched:x.dataUpdateCount>0||x.errorUpdateCount>0,isFetchedAfterMount:x.dataUpdateCount>v.dataUpdateCount||x.errorUpdateCount>v.errorUpdateCount,isFetching:U,isRefetching:U&&!j,isLoadingError:V&&!J,isPaused:x.fetchStatus==="paused",isPlaceholderData:F,isRefetchError:V&&J,isStale:Lp(t,n),refetch:this.refetch,promise:_(this,ci)};if(this.options.experimental_prefetchInRender){const ye=$e=>{re.status==="error"?$e.reject(re.error):re.data!==void 0&&$e.resolve(re.data)},De=()=>{const $e=ge(this,ci,re.promise=Bd());ye($e)},Fe=_(this,ci);switch(Fe.status){case"pending":t.queryHash===i.queryHash&&ye(Fe);break;case"fulfilled":(re.status==="error"||re.data!==Fe.value)&&De();break;case"rejected":(re.status!=="error"||re.error!==Fe.reason)&&De();break}}return re}updateResult(){const t=_(this,Jt),n=this.createResult(_(this,Ye),this.options);if(ge(this,ya,_(this,Ye).state),ge(this,Vs,this.options),_(this,ya).data!==void 0&&ge(this,Ys,_(this,Ye)),Pc(n,t))return;ge(this,Jt,n);const i=()=>{if(!t)return!0;const{notifyOnChangeProps:a}=this.options,c=typeof a=="function"?a():a;if(c==="all"||!c&&!_(this,Xs).size)return!0;const p=new Set(c??_(this,Xs));return this.options.throwOnError&&p.add("error"),Object.keys(_(this,Jt)).some(m=>{const h=m;return _(this,Jt)[h]!==t[h]&&p.has(h)})};Ue(this,Ze,bg).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Ue(this,Ze,Vd).call(this)}},dr=new WeakMap,Ye=new WeakMap,gu=new WeakMap,Jt=new WeakMap,ya=new WeakMap,Vs=new WeakMap,ci=new WeakMap,fi=new WeakMap,vu=new WeakMap,Gs=new WeakMap,Ys=new WeakMap,ba=new WeakMap,wa=new WeakMap,di=new WeakMap,Xs=new WeakMap,Ze=new WeakSet,Ql=function(t){Ue(this,Ze,Xd).call(this);let n=_(this,Ye).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Zt)),n},Ud=function(){Ue(this,Ze,Gd).call(this);const t=Is(this.options.staleTime,_(this,Ye));if(Sa||_(this,Jt).isStale||!$d(t))return;const i=cg(_(this,Jt).dataUpdatedAt,t)+1;ge(this,ba,setTimeout(()=>{_(this,Jt).isStale||this.updateResult()},i))},Hd=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(_(this,Ye)):this.options.refetchInterval)??!1},Wd=function(t){Ue(this,Ze,Yd).call(this),ge(this,di,t),!(Sa||nn(this.options.enabled,_(this,Ye))===!1||!$d(_(this,di))||_(this,di)===0)&&ge(this,wa,setInterval(()=>{(this.options.refetchIntervalInBackground||_p.isFocused())&&Ue(this,Ze,Ql).call(this)},_(this,di)))},Vd=function(){Ue(this,Ze,Ud).call(this),Ue(this,Ze,Wd).call(this,Ue(this,Ze,Hd).call(this))},Gd=function(){_(this,ba)&&(clearTimeout(_(this,ba)),ge(this,ba,void 0))},Yd=function(){_(this,wa)&&(clearInterval(_(this,wa)),ge(this,wa,void 0))},Xd=function(){const t=_(this,dr).getQueryCache().build(_(this,dr),this.options);if(t===_(this,Ye))return;const n=_(this,Ye);ge(this,Ye,t),ge(this,gu,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},bg=function(t){bt.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(_(this,Jt))}),_(this,dr).getQueryCache().notify({query:_(this,Ye),type:"observerResultsUpdated"})})},Jm);function Ab(e,t){return nn(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Ih(e,t){return Ab(e,t)||e.state.data!==void 0&&Qd(e,t,t.refetchOnMount)}function Qd(e,t,n){if(nn(t.enabled,e)!==!1){const i=typeof n=="function"?n(e):n;return i==="always"||i!==!1&&Lp(e,t)}return!1}function Fh(e,t,n,i){return(e!==t||nn(i.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Lp(e,n)}function Lp(e,t){return nn(t.enabled,e)!==!1&&e.isStaleByTime(Is(t.staleTime,e))}function Ob(e,t){return!Pc(e.getCurrentResult(),t)}var pi,hi,pr,ao,fo,Ec,qd,Zm,Ib=(Zm=class extends qs{constructor(n,i){super();Ie(this,fo);Ie(this,pi);Ie(this,hi);Ie(this,pr);Ie(this,ao);ge(this,pi,n),this.setOptions(i),this.bindMethods(),Ue(this,fo,Ec).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var a;const i=this.options;this.options=_(this,pi).defaultMutationOptions(n),Pc(this.options,i)||_(this,pi).getMutationCache().notify({type:"observerOptionsUpdated",mutation:_(this,pr),observer:this}),i!=null&&i.mutationKey&&this.options.mutationKey&&ka(i.mutationKey)!==ka(this.options.mutationKey)?this.reset():((a=_(this,pr))==null?void 0:a.state.status)==="pending"&&_(this,pr).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=_(this,pr))==null||n.removeObserver(this)}onMutationUpdate(n){Ue(this,fo,Ec).call(this),Ue(this,fo,qd).call(this,n)}getCurrentResult(){return _(this,hi)}reset(){var n;(n=_(this,pr))==null||n.removeObserver(this),ge(this,pr,void 0),Ue(this,fo,Ec).call(this),Ue(this,fo,qd).call(this)}mutate(n,i){var a;return ge(this,ao,i),(a=_(this,pr))==null||a.removeObserver(this),ge(this,pr,_(this,pi).getMutationCache().build(_(this,pi),this.options)),_(this,pr).addObserver(this),_(this,pr).execute(n)}},pi=new WeakMap,hi=new WeakMap,pr=new WeakMap,ao=new WeakMap,fo=new WeakSet,Ec=function(){var i;const n=((i=_(this,pr))==null?void 0:i.state)??yg();ge(this,hi,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},qd=function(n){bt.batch(()=>{var i,a,c,p,m,h,v,C;if(_(this,ao)&&this.hasListeners()){const x=_(this,hi).variables,F=_(this,hi).context;(n==null?void 0:n.type)==="success"?((a=(i=_(this,ao)).onSuccess)==null||a.call(i,n.data,x,F),(p=(c=_(this,ao)).onSettled)==null||p.call(c,n.data,null,x,F)):(n==null?void 0:n.type)==="error"&&((h=(m=_(this,ao)).onError)==null||h.call(m,n.error,x,F),(C=(v=_(this,ao)).onSettled)==null||C.call(v,void 0,n.error,x,F))}this.listeners.forEach(x=>{x(_(this,hi))})})},Zm),wg=pe.createContext(void 0),xg=e=>{const t=pe.useContext(wg);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Fb=({client:e,children:t})=>(pe.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),q.jsx(wg.Provider,{value:e,children:t})),Sg=pe.createContext(!1),Mb=()=>pe.useContext(Sg);Sg.Provider;function Db(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var _b=pe.createContext(Db()),Lb=()=>pe.useContext(_b),$b=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},jb=e=>{pe.useEffect(()=>{e.clearReset()},[e])},Nb=({result:e,errorResetBoundary:t,throwOnError:n,query:i,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&i&&(a&&e.data===void 0||dg(n,[e.error,i])),zb=e=>{const t=e.staleTime;e.suspense&&(e.staleTime=typeof t=="function"?(...n)=>Math.max(t(...n),1e3):Math.max(t??1e3,1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},Bb=(e,t)=>e.isLoading&&e.isFetching&&!t,Ub=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,Mh=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function Hb(e,t,n){var x,F,I,L,D;if(process.env.NODE_ENV!=="production"&&(typeof e!="object"||Array.isArray(e)))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const i=xg(n),a=Mb(),c=Lb(),p=i.defaultQueryOptions(e);(F=(x=i.getDefaultOptions().queries)==null?void 0:x._experimental_beforeQuery)==null||F.call(x,p),process.env.NODE_ENV!=="production"&&(p.queryFn||console.error(`[${p.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`)),p._optimisticResults=a?"isRestoring":"optimistic",zb(p),$b(p,c),jb(c);const m=!i.getQueryCache().get(p.queryHash),[h]=pe.useState(()=>new t(i,p)),v=h.getOptimisticResult(p),C=!a&&e.subscribed!==!1;if(pe.useSyncExternalStore(pe.useCallback(T=>{const O=C?h.subscribe(bt.batchCalls(T)):Zt;return h.updateResult(),O},[h,C]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),pe.useEffect(()=>{h.setOptions(p)},[p,h]),Ub(p,v))throw Mh(p,h,c);if(Nb({result:v,errorResetBoundary:c,throwOnError:p.throwOnError,query:i.getQueryCache().get(p.queryHash),suspense:p.suspense}))throw v.error;if((L=(I=i.getDefaultOptions().queries)==null?void 0:I._experimental_afterQuery)==null||L.call(I,p,v),p.experimental_prefetchInRender&&!Sa&&Bb(v,a)){const T=m?Mh(p,h,c):(D=i.getQueryCache().get(p.queryHash))==null?void 0:D.promise;T==null||T.catch(Zt).finally(()=>{h.updateResult()})}return p.notifyOnChangeProps?v:h.trackResult(v)}function $p(e,t){return Hb(e,Pb,t)}function kg(e,t){const n=xg(t),[i]=pe.useState(()=>new Ib(n,e));pe.useEffect(()=>{i.setOptions(e)},[i,e]);const a=pe.useSyncExternalStore(pe.useCallback(p=>i.subscribe(bt.batchCalls(p)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),c=pe.useCallback((p,m)=>{i.mutate(p,m).catch(Zt)},[i]);if(a.error&&dg(i.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:c,mutateAsync:a.mutate}}const jp=A.createContext(null);jp.Provider;const Ks=()=>A.useContext(jp),Eg=({children:e})=>{const[t]=A.useState(new Rb);return console.log("Confidence Playbook Context Initialized"),q.jsx(jp.Provider,{value:{queryClient:t},children:q.jsx(Fb,{client:t,children:e})})},ct={OPEN:"Open",IN_PROGRESS:"In progress",IN_REVIEW:"In review",COMPLETED:"Completed"},Cg="https://marketplace.confidence.com/api",yu=Cg+"/confidence",Dh=Cg+"/dropbox/prod",Wb=async e=>{const t={taskInstanceId:e},n=new Headers;return n.append("Content-Type","application/json"),await(await fetch(`${yu}/playbook-task-complete`,{method:"POST",headers:n,body:JSON.stringify(t)})).json()},Vb=()=>{const{queryClient:e}=Ks(),t=kg({mutationFn:async i=>Wb(i)},e);return{completeTask:async i=>t.mutateAsync(i,{onSuccess:()=>{console.log("Task completed successfully")},onError:a=>{console.error("Error completing task:",a)}}),...t}},Gb=async e=>{const t={taskInstanceId:e},n=new Headers;n.append("Content-Type","application/json");const a=await(await fetch(`${yu}/playbook-task-start`,{method:"POST",headers:n,body:JSON.stringify(t)})).json();return console.log({data:a}),a},Yb=()=>{const{queryClient:e}=Ks(),t=kg({mutationFn:async i=>{const a=await Gb(i);return console.log(a),a}},e);return{startTask:i=>t.mutateAsync(i,{onSuccess:()=>{console.log("Task started successfully")},onError:a=>{console.error("Error starting task:",a)}}),...t}},Tg=(e,t)=>{const{queryClient:n}=Ks(),i=$p({initialData:{},queryFn:()=>n.getQueryData(["PLAYBOOK_EXPANDED_TASKS",+e]),queryKey:["PLAYBOOK_EXPANDED_TASKS",+e]}),a=p=>{var m;return((m=i.data)==null?void 0:m[p.toString()])??!1};return{isTaskExpanded:a,toggleTaskExpanded:(p,m)=>{var h;n.setQueryData(["PLAYBOOK_EXPANDED_TASKS",+e],()=>({[p]:m!==void 0?m:!a(p)})),(h=t==null?void 0:t.onTaskExpanded)==null||h.call(t,p,a(p))}}},Xb=(e,t)=>{const{queryClient:n}=Ks(),{completeTask:i}=Vb(),{startTask:a}=Yb(),{toggleTaskExpanded:c}=Tg(e);return{completeTask:async(h,v)=>{const{status:C}=await i(h.toString());C&&(c(h,!1),n.setQueryData(["playbook",+e],x=>{if(!x)return x;const F=x.tasks.map(I=>I.sequenceOrder===v+1&&t.quickComplete?{...I,workflowStatus:ct.IN_PROGRESS}:I.taskInstanceId===h?{...I,workflowStatus:C}:I);return{...x,tasks:F}}))},startTask:async h=>{const{status:v}=await a(h.toString());v&&(c(h,!0),n.setQueryData(["playbook",+e],C=>{if(!C)return C;const x=C.tasks.map(F=>F.taskInstanceId===h?{...F,workflowStatus:v}:F);return{...C,tasks:x}}))}}},Qb=e=>{var a;const{queryClient:t}=Ks(),n=$p({queryFn:async()=>{const c=new Headers,p=await fetch(`${yu}/playbook-details`,{method:"POST",cache:"no-store",headers:c,body:JSON.stringify({playbookInstanceId:+e,start:0,limit:50})});if(!p.ok)throw new Error("Network response was not ok");const m=await p.json();if(m.error)throw new Error(m.error);return m},queryKey:["playbook",+e]},t),i=Xb(e,{quickComplete:(a=n.data)==null?void 0:a.quickComplete});return{playbook:n.data,isLoading:n.isLoading,error:n.error,actions:i}},eu={START:"START",PAUSE:"PAUSE",COMPLETE:"COMPLETE"},qb={START:"Start",PAUSE:"Pause",RESUME:"Resume",COMPLETE:"Complete"},Kb=e=>{const{taskStatus:t,canStart:n}=e;return{buttons:A.useMemo(()=>t===ct.OPEN&&n?[eu.START]:t===ct.IN_PROGRESS?[eu.PAUSE,eu.COMPLETE]:t===ct.COMPLETED?[]:[],[e.taskStatus,e.canStart])}},Rg=async e=>{const t=new Headers;t.append("Content-Type","application/json");const i=await(await fetch(`${yu}/playbook-initiate`,{method:"POST",headers:t,body:JSON.stringify(e)})).json();return console.log({data:i}),i},Pg='/*! tailwindcss v4.1.4 | MIT License | https://tailwindcss.com */@layer properties{*{--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial}@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(63.7% .237 25.331);--spacing:.25rem;--container-md:28rem;--container-lg:32rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-bold:700;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none!important}.absolute{position:absolute!important}.fixed{position:fixed!important}.relative{position:relative!important}.sticky{position:sticky!important}.inset-0{inset:calc(var(--spacing)*0)!important}.top-0{top:calc(var(--spacing)*0)!important}.top-3{top:calc(var(--spacing)*3)!important}.bottom-0{bottom:calc(var(--spacing)*0)!important}.z-2{z-index:2!important}.z-50{z-index:50!important}.z-\\[99999999999999\\]{z-index:2147483647!important}.container{width:100%!important}@media (min-width:40rem){.container{max-width:40rem!important}}@media (min-width:48rem){.container{max-width:48rem!important}}@media (min-width:64rem){.container{max-width:64rem!important}}@media (min-width:80rem){.container{max-width:80rem!important}}@media (min-width:96rem){.container{max-width:96rem!important}}.mx-1{margin-inline:calc(var(--spacing)*1)!important}.mx-4{margin-inline:calc(var(--spacing)*4)!important}.-mt-\\[1px\\]{margin-top:-1px!important}.mt-3{margin-top:calc(var(--spacing)*3)!important}.-mb-3{margin-bottom:calc(var(--spacing)*-3)!important}.mb-4{margin-bottom:calc(var(--spacing)*4)!important}.ml-2{margin-left:calc(var(--spacing)*2)!important}.block{display:block!important}.flex{display:flex!important}.hidden{display:none!important}.size-4{width:calc(var(--spacing)*4)!important;height:calc(var(--spacing)*4)!important}.size-9{width:calc(var(--spacing)*9)!important;height:calc(var(--spacing)*9)!important}.h-\\[18px\\]{height:18px!important}.h-\\[22px\\]{height:22px!important}.h-\\[24px\\]{height:24px!important}.h-\\[30px\\]{height:30px!important}.h-\\[38px\\]{height:38px!important}.h-\\[40px\\]{height:40px!important}.h-full{height:100%!important}.min-h-16{min-height:calc(var(--spacing)*16)!important}.min-h-screen{min-height:100vh!important}.w-\\[27px\\]{width:27px!important}.w-\\[38px\\]{width:38px!important}.w-\\[400px\\]{width:400px!important}.w-full{width:100%!important}.w-screen{width:100vw!important}.max-w-lg{max-width:var(--container-lg)!important}.max-w-md{max-width:var(--container-md)!important}.min-w-\\[106px\\]{min-width:106px!important}.min-w-\\[140px\\]{min-width:140px!important}.min-w-\\[160px\\]{min-width:160px!important}.min-w-\\[172px\\]{min-width:172px!important}.min-w-fit{min-width:fit-content!important}.flex-1{flex:1!important}.rotate-180{rotate:180deg!important}.cursor-pointer{cursor:pointer!important}.resize{resize:both!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.items-stretch{align-items:stretch!important}.justify-center{justify-content:center!important}.justify-end{justify-content:flex-end!important}.gap-1{gap:calc(var(--spacing)*1)!important}.gap-2{gap:calc(var(--spacing)*2)!important}.gap-3{gap:calc(var(--spacing)*3)!important}.gap-4{gap:calc(var(--spacing)*4)!important}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))!important}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))!important}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0!important;margin-inline-start:calc(calc(var(--spacing)*1)*var(--tw-space-x-reverse))!important;margin-inline-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-x-reverse)))!important}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0!important;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse))!important;margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))!important}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0!important;border-bottom-style:var(--tw-border-style)!important;border-top-style:var(--tw-border-style)!important;border-top-width:calc(1px*var(--tw-divide-y-reverse))!important;border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))!important}:where(.divide-black\\/10>:not(:last-child)){border-color:oklab(0% none none/.1) oklab(0% none none/.1) oklab(0% none none/.1) oklab(0% none none/.1)!important}:where(.divide-gray-100>:not(:last-child)){border-color:#ebedef!important}.self-end{align-self:flex-end!important}.truncate{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}.overflow-hidden{overflow:hidden!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-y-auto{overflow-y:auto!important}.rounded{border-radius:.25rem!important}.rounded-lg{border-radius:var(--radius-lg)!important}.rounded-md{border-radius:var(--radius-md)!important}.rounded-sm{border-radius:var(--radius-sm)!important}.rounded-t-sm{border-top-left-radius:var(--radius-sm)!important;border-top-right-radius:var(--radius-sm)!important}.rounded-l-sm{border-top-left-radius:var(--radius-sm)!important;border-bottom-left-radius:var(--radius-sm)!important}.rounded-b-md{border-bottom-right-radius:var(--radius-md)!important;border-bottom-left-radius:var(--radius-md)!important}.border{border-style:var(--tw-border-style)!important;border-width:1px!important}.border-t{border-top-style:var(--tw-border-style)!important;border-top-width:1px!important}.border-b{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important}.border-none{--tw-border-style:none!important;border-style:none!important}.border-\\[\\#94C8FF\\]{border-color:#94c8ff!important}.border-\\[\\#A5DAB1\\]{border-color:#a5dab1!important}.border-\\[\\#C1C5C8\\]{border-color:#c1c5c8!important}.border-black\\/10{border-color:oklab(0% none none/.1) oklab(0% none none/.1) oklab(0% none none/.1) oklab(0% none none/.1)!important}.border-danger-500{border-color:#dc3545!important}.border-gray-50{border-color:#f5f6f7!important}.border-gray-100{border-color:#ebedef!important}.border-gray-200{border-color:#ced1d6!important}.border-gray-300{border-color:#b0b5bd!important}.border-gray-400{border-color:#757e8c!important}.border-gray-700{border-color:#2c3544!important}.border-gray-800{border-color:#232b37!important}.border-info-500{border-color:#17a2b8!important}.border-orange-500{border-color:#ff7800!important}.border-primary-600{border-color:#0069d9!important}.border-purple-500{border-color:#a855f7!important}.border-red-500{border-color:var(--color-red-500)!important}.border-secondary-500{border-color:#6c757d!important}.border-secondary-600{border-color:#5a6268!important}.border-steel-500{border-color:#556987!important}.border-success-600{border-color:#218838!important}.border-warning-500{border-color:#ffc107!important}.border-white{border-color:#fff!important}.bg-\\[\\#E6F2FF\\]{background-color:#e6f2ff!important}.bg-\\[\\#EAF6EC\\]{background-color:#eaf6ec!important}.bg-\\[\\#F0F1F2\\]{background-color:#f0f1f2!important}.bg-\\[\\#FFE600\\]{background-color:#ffe600!important}.bg-black\\/30{background-color:oklab(0% none none/.3)!important}.bg-danger-500{background-color:#dc3545!important}.bg-dark{background-color:#1c232d!important}.bg-fiserv-orange-500{background-color:#f60!important}.bg-gray-50{background-color:#f5f6f7!important}.bg-gray-100{background-color:#ebedef!important}.bg-gray-400{background-color:#757e8c!important}.bg-gray-500{background-color:#3a475b!important}.bg-gray-800{background-color:#232b37!important}.bg-gray-900{background-color:#1c232d!important}.bg-info-500{background-color:#17a2b8!important}.bg-orange-500{background-color:#ff7800!important}.bg-primary-600{background-color:#0069d9!important}.bg-primary-800{background-color:#0054af!important}.bg-purple-500{background-color:#a855f7!important}.bg-secondary-500{background-color:#6c757d!important}.bg-steel-500{background-color:#556987!important}.bg-success-500{background-color:#28a745!important}.bg-success-600{background-color:#218838!important}.bg-warning-500{background-color:#ffc107!important}.bg-white{background-color:#fff!important}.bg-yellow{background-color:#ffe600!important}.object-contain{object-fit:contain!important}.p-1{padding:calc(var(--spacing)*1)!important}.p-2{padding:calc(var(--spacing)*2)!important}.p-4{padding:calc(var(--spacing)*4)!important}.px-1{padding-inline:calc(var(--spacing)*1)!important}.px-2{padding-inline:calc(var(--spacing)*2)!important}.px-3{padding-inline:calc(var(--spacing)*3)!important}.px-4{padding-inline:calc(var(--spacing)*4)!important}.px-\\[2px\\]{padding-inline:2px!important}.py-1{padding-block:calc(var(--spacing)*1)!important}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)!important}.pt-2{padding-top:calc(var(--spacing)*2)!important}.pr-2{padding-right:calc(var(--spacing)*2)!important}.pb-1{padding-bottom:calc(var(--spacing)*1)!important}.pb-2{padding-bottom:calc(var(--spacing)*2)!important}.text-center{text-align:center!important}.text-2xl{font-size:var(--text-2xl)!important;line-height:var(--tw-leading,var(--text-2xl--line-height))!important}.text-base{font-size:var(--text-base)!important;line-height:var(--tw-leading,var(--text-base--line-height))!important}.text-lg{font-size:var(--text-lg)!important;line-height:var(--tw-leading,var(--text-lg--line-height))!important}.text-sm{font-size:var(--text-sm)!important;line-height:var(--tw-leading,var(--text-sm--line-height))!important}.text-sm\\/6{font-size:var(--text-sm)!important;line-height:calc(var(--spacing)*6)!important}.text-xl{font-size:var(--text-xl)!important;line-height:var(--tw-leading,var(--text-xl--line-height))!important}.text-xs{font-size:var(--text-xs)!important;line-height:var(--tw-leading,var(--text-xs--line-height))!important}.leading-\\[18px\\]{--tw-leading:18px!important;line-height:18px!important}.leading-\\[22px\\]{--tw-leading:22px!important;line-height:22px!important}.leading-\\[24px\\]{--tw-leading:24px!important;line-height:24px!important}.font-bold{--tw-font-weight:var(--font-weight-bold)!important;font-weight:var(--font-weight-bold)!important}.font-medium{--tw-font-weight:var(--font-weight-medium)!important;font-weight:var(--font-weight-medium)!important}.font-normal{--tw-font-weight:var(--font-weight-normal)!important;font-weight:var(--font-weight-normal)!important}.whitespace-nowrap{white-space:nowrap!important}.text-\\[\\#0069D9\\]{color:#0069d9!important}.text-black{color:#000!important}.text-danger-500{color:#dc3545!important}.text-dark{color:#1c232d!important}.text-dark-300{color:#343a40!important}.text-fiserv-orange-500{color:#f60!important}.text-gray-50{color:#f5f6f7!important}.text-gray-200{color:#ced1d6!important}.text-gray-400{color:#757e8c!important}.text-gray-500{color:#3a475b!important}.text-gray-700{color:#2c3544!important}.text-gray-800{color:#232b37!important}.text-gray-900{color:#1c232d!important}.text-info-500{color:#17a2b8!important}.text-orange-500{color:#ff7800!important}.text-primary-600{color:#0069d9!important}.text-purple-500{color:#a855f7!important}.text-secondary{color:#6c757d!important}.text-secondary-400{color:#899197!important}.text-secondary-500{color:#6c757d!important}.text-secondary-600{color:#5a6268!important}.text-steel-500{color:#556987!important}.text-success-500{color:#28a745!important}.text-success-600{color:#218838!important}.text-warning-500{color:#ffc107!important}.text-white{color:#fff!important}.text-yellow{color:#ffe600!important}.uppercase{text-transform:uppercase!important}.line-through{text-decoration-line:line-through!important}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow-dark\\/50{--tw-shadow-color:#1c232d80!important}@supports (color:color-mix(in lab,red,red)){.shadow-dark\\/50{--tw-shadow-color:color-mix(in oklab,oklab(25.3864% -.0047446 -.0210213/.5) var(--tw-shadow-alpha),transparent)!important}}.outline{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-all{transition-property:all!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.duration-300{--tw-duration:.3s!important;transition-duration:.3s!important}.ease-in-out{--tw-ease:var(--ease-in-out)!important;transition-timing-function:var(--ease-in-out)!important}.ease-out{--tw-ease:var(--ease-out)!important;transition-timing-function:var(--ease-out)!important}.\\[writing-mode\\:vertical-lr\\]{writing-mode:vertical-lr!important}@media (hover:hover){.hover\\:bg-danger-500:hover{background-color:#dc3545!important}.hover\\:bg-dark:hover{background-color:#1c232d!important}.hover\\:bg-fiserv-orange-500:hover{background-color:#f60!important}.hover\\:bg-gray-50:hover{background-color:#f5f6f7!important}.hover\\:bg-gray-100:hover{background-color:#ebedef!important}.hover\\:bg-gray-400:hover{background-color:#757e8c!important}.hover\\:bg-gray-500:hover{background-color:#3a475b!important}.hover\\:bg-gray-800:hover{background-color:#232b37!important}.hover\\:bg-gray-900:hover{background-color:#1c232d!important}.hover\\:bg-info-500:hover{background-color:#17a2b8!important}.hover\\:bg-orange-500:hover{background-color:#ff7800!important}.hover\\:bg-primary-800:hover{background-color:#0054af!important}.hover\\:bg-purple-500:hover{background-color:#a855f7!important}.hover\\:bg-secondary-500:hover{background-color:#6c757d!important}.hover\\:bg-steel-500:hover{background-color:#556987!important}.hover\\:bg-success-500:hover{background-color:#28a745!important}.hover\\:bg-warning-500:hover{background-color:#ffc107!important}.hover\\:bg-yellow:hover{background-color:#ffe600!important}.hover\\:text-black:hover{color:#000!important}.hover\\:text-danger-800:hover{color:#aa1927!important}.hover\\:text-dark:hover{color:#1c232d!important}.hover\\:text-fiserv-orange-800:hover{color:#bf4c00!important}.hover\\:text-gray-400:hover{color:#757e8c!important}.hover\\:text-gray-700:hover{color:#2c3544!important}.hover\\:text-gray-800:hover{color:#232b37!important}.hover\\:text-gray-900:hover{color:#1c232d!important}.hover\\:text-info-800:hover{color:#026777!important}.hover\\:text-orange-800:hover{color:#c75d00!important}.hover\\:text-primary-800:hover{color:#0054af!important}.hover\\:text-purple-800:hover{color:#6f33a7!important}.hover\\:text-secondary-800:hover{color:#444a50!important}.hover\\:text-steel-800:hover{color:#333f51!important}.hover\\:text-success-800:hover{color:#106c25!important}.hover\\:text-warning-800:hover{color:#b87708!important}.hover\\:text-white:hover{color:#fff!important}.hover\\:text-yellow:hover{color:#ffe600!important}}.focus\\:border-red-500:focus{border-color:var(--color-red-500)!important}.focus\\:outline:focus{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}.focus\\:outline-3:focus{outline-style:var(--tw-outline-style)!important;outline-width:3px!important}.focus\\:outline-primary-500\\/\\[\\.3\\]:focus{outline-color:#007bff4d!important}.focus\\:not-data-focus\\:outline-none:focus:not([data-focus]){--tw-outline-style:none!important;outline-style:none!important}.active\\:bg-gray-50:active{background-color:#f5f6f7!important}.active\\:bg-gray-800:active{background-color:#232b37!important}.active\\:text-black:active{color:#000!important}.active\\:text-white:active{color:#fff!important}.disabled\\:pointer-events-none:disabled{pointer-events:none!important}.disabled\\:opacity-15:disabled{opacity:.15!important}.data-closed\\:opacity-0[data-closed]{opacity:0!important}.data-focus\\:outline-2[data-focus]{outline-style:var(--tw-outline-style)!important;outline-width:2px!important}.data-focus\\:-outline-offset-2[data-focus]{outline-offset:-2px!important}.data-focus\\:outline-primary-500[data-focus]{outline-color:#007bff!important}@media (min-width:48rem){.md\\:min-w-fit{min-width:fit-content!important}}}.lexical-view-mode{word-break:break-word!important;width:100%!important}.lexical-view-mode ul{list-style:revert!important}.editable .lexical-view-mode:hover{cursor:text!important;background-color:#00000012!important;border-radius:1px!important;outline:4px solid #00000012!important}.lexical-view-mode .Collapsible__container{width:fit-content!important}.lexical-view-mode .Collapsible__title{color:#007bff!important;cursor:pointer!important;background-color:#0000!important;align-items:center!important;margin-bottom:4px!important;padding:0!important;list-style:none!important;display:flex!important}.lexical-view-mode .Collapsible__title:hover{color:#0069d9!important}.lexical-view-mode .Collapsible__title:hover .editor-paragraph{text-decoration:underline!important}.lexical-view-mode .Collapsible__title::marker{display:none!important}.lexical-view-mode .Collapsible__title::-webkit-details-marker{display:none!important}.lexical-view-mode .Collapsible__title:before{content:""!important;-moz-osx-font-smoothing:grayscale!important;-webkit-font-smoothing:antialiased!important;display:var(--fa-display,inline-block)!important;font-variant:normal!important;text-rendering:auto!important;background:#fff!important;border-radius:30px!important;margin-right:4px!important;font-family:"Font Awesome 5 Pro"!important;font-style:normal!important;font-weight:900!important;line-height:1!important}.lexical-view-mode .Collapsible__title:hover:before{color:#0069d9!important;border:3px solid #fff!important;margin-left:-3px!important;margin-right:1px!important}.lexical-view-mode hr{border:none!important;margin:5px 0!important;padding:3px 0!important}.lexical-view-mode hr:after{content:""!important;background-color:#0000001a!important;height:2px!important;line-height:2px!important;display:block!important}.lexical-view-mode .editor-line-spacer{background:0 0!important;border:1px dashed #0000!important;line-height:6px!important}.lexical-view-mode .other h2{margin-bottom:7px;color:#444!important;font-size:18px!important}.lexical-view-mode .other a{font-size:14px;color:#777!important;text-decoration:underline!important}.lexical-view-mode .other ul{list-style-type:none;margin:0!important;padding:0!important}.lexical-view-mode .ltr{text-align:left}.lexical-view-mode .rtl{text-align:right}.lexical-view-mode .editor-shell{color:#1c232d!important;border-radius:4px!important;width:100%!important;font-weight:400!important;position:relative!important}.lexical-view-mode .editor{position:relative;background:#fff!important}.lexical-view-mode .editor-input{caret-color:#444;resize:none!important;-moz-tab-size:1!important;tab-size:1!important;outline:0!important;min-height:150px!important;padding:12px!important;position:relative!important}.lexical-view-mode .editor-placeholder{pointer-events:none;color:#999!important;text-overflow:ellipsis!important;-webkit-user-select:none!important;user-select:none!important;font-size:15px!important;display:inline-block!important;position:absolute!important;top:15px!important;left:10px!important;overflow:hidden!important}.lexical-view-mode .editor-text-bold,.lexical-view-mode strong{font-weight:700!important}.lexical-view-mode .editor-text-italic{font-style:italic}.lexical-view-mode .editor-text-code{color:#d70c69;background-color:#0000001a!important;border-radius:4px!important;padding:1px .25rem!important;font-family:Menlo,Consolas,Monaco,monospace!important;font-size:85%!important}.lexical-view-mode .editor-link{word-break:break-word;color:#007bff!important;cursor:pointer!important;background-color:#0000!important;text-decoration:underline!important}.lexical-view-mode .editor-link:hover{color:#0062cc!important;text-decoration:underline!important}.lexical-view-mode .editor-code,.lexical-view-mode pre{word-break:break-word;-moz-tab-size:2!important;tab-size:2!important;background-color:#f0f2f5!important;border-radius:4px!important;margin:8px 0!important;padding:8px 8px 8px 52px!important;font-family:Menlo,Consolas,Monaco,monospace!important;font-size:13px!important;line-height:1.53!important;display:block!important;position:relative!important;overflow-x:auto!important}.lexical-view-mode .editor-code:before{min-width:25px;content:attr(data-gutter)!important;color:#777!important;white-space:pre-wrap!important;text-align:right!important;background-color:#eee!important;border-right:1px solid #ccc!important;padding:8px!important;position:absolute!important;top:0!important;left:0!important}.lexical-view-mode pre{white-space:pre-wrap!important;padding-left:8px!important}.lexical-view-mode pre:before{border-right:0!important;width:100%!important;height:23px!important}.lexical-view-mode .editor-code:after,.lexical-view-mode pre:after{color:#00000080;content:attr(data-highlight-language)!important;text-transform:uppercase!important;padding:3px!important;font-size:10px!important;position:absolute!important;top:0!important;right:3px!important}.lexical-view-mode .editor-tokenComment{color:#708090}.lexical-view-mode .editor-tokenPunctuation{color:#999}.lexical-view-mode .editor-tokenProperty{color:#905}.lexical-view-mode .editor-tokenSelector{color:#690}.lexical-view-mode .editor-tokenOperator{color:#9a6e3a}.lexical-view-mode .editor-tokenAttr{color:#07a}.lexical-view-mode .editor-tokenVariable{color:#e90}.lexical-view-mode .editor-tokenFunction{color:#dd4a68}.lexical-view-mode .editor-paragraph,.lexical-view-mode p{word-break:break-word;margin:0 0 .3rem!important;padding:0!important}.lexical-view-mode .editor-paragraph:last-child{margin-bottom:0}.lexical-view-mode .editor-heading-h1,.lexical-view-mode h1{line-height:100%;border-bottom:thin solid #0000001a!important;margin-top:1.2em!important;margin-bottom:.6em!important;padding-bottom:6px!important;font-size:24px!important}.lexical-view-mode .editor-heading-h2:first-child,.lexical-view-mode .editor-heading-h1:first-child,.lexical-view-mode h2:first-child,.lexical-view-mode h1:first-child{margin-top:0}.lexical-view-mode .editor-heading-h2,.lexical-view-mode h2{line-height:100%;border-bottom:thin solid #0000001a!important;margin-top:1.2em!important;margin-bottom:.6em!important;padding-bottom:6px!important;font-size:20px!important}.lexical-view-mode .editor-list-ol,.lexical-view-mode ol{margin:0 0 .3rem 15px!important;padding:0 0 0 15px!important;list-style-type:decimal!important;list-style-position:outside!important}.lexical-view-mode li ol{margin:0 0 0 20px!important}.lexical-view-mode .editor-list-ol2,.lexical-view-mode .editor-list-ol3,.lexical-view-mode .editor-list-ol4,.lexical-view-mode .editor-list-ol5,.lexical-view-mode .editor-list-ol6,.lexical-view-mode .editor-list-ol7{list-style-position:outside;padding:0!important}.lexical-view-mode .editor-list-ol2{list-style-type:lower-alpha}.lexical-view-mode .editor-list-ol3{list-style-type:lower-roman}.lexical-view-mode .editor-list-ol4{list-style-type:decimal}.lexical-view-mode .editor-list-ol5{list-style-type:lower-alpha}.lexical-view-mode .editor-list-ol6{list-style-type:lower-roman}.lexical-view-mode .editor-list-ol7{list-style-type:decimal}.lexical-view-mode .editor-list-ul,.lexical-view-mode ul{margin-bottom:.3rem;margin:0 0 0 15px!important;padding:0 0 0 5px!important;list-style-position:outside!important}.lexical-view-mode li ul{margin:0 0 0 15px!important;padding:0 0 0 3px!important}.lexical-view-mode .editor-list-item{padding-left:0;vertical-align:top!important;margin-bottom:12px!important;line-height:1.3!important}.lexical-view-mode .editor-nested-list-item{list-style-type:none}.lexical-view-mode code{color:inherit!important;word-wrap:break-word!important;white-space:break-spaces!important}.lexical-view-mode a>code{color:inherit}.lexical-view-mode pre::-webkit-scrollbar{width:10px;background:0 0!important}.lexical-view-mode pre::-webkit-scrollbar-thumb{background:#999}.lexical-view-mode img{cursor:zoom-in!important;border:1px solid #ccc!important;border-radius:4px!important;width:auto!important;max-width:250px!important;height:auto!important;max-height:250px!important;display:block!important}.lexical-view-mode img:hover,.lexical-view-mode img:focus{outline:3px solid #007bff4d}.lexical-view-mode iframe{background:#000!important;border:1px solid #ccc!important;width:fit-content!important;max-width:100%!important;height:fit-content!important}.lexical-view-mode .ql-align-left{text-align:left!important}.lexical-view-mode .ql-align-right{text-align:right!important}.lexical-view-mode .ql-align-center{text-align:center!important}.lexical-view-mode .ql-align-justify{text-align:justify!important}.lexical-view-mode .ql-size-small{font-size:.75em!important}.lexical-view-mode p>a,.lexical-view-mode li>a{color:#007bff!important;cursor:pointer!important;background-color:#0000!important;text-decoration:underline!important}.lexical-view-mode p>a:hover,.lexical-view-mode li>a:hover{color:#0062cc!important;text-decoration:underline!important}.lexical-view-mode .ql-size-large{font-size:1.25rem!important}.lexical-view-mode .ql-indent-1{margin-left:20px!important}.lexical-view-mode .ql-indent-2{margin-left:40px!important}.lexical-view-mode .ql-indent-3{margin-left:60px!important}.lexical-view-mode .ql-indent-4{margin-left:80px!important}.lexical-view-mode .ql-indent-5{margin-left:100px!important}.lexical-view-mode .ql-indent-6{margin-left:120px!important}.lexical-view-mode .ql-indent-7{margin-left:140px!important}.lexical-view-mode .ql-indent-8{margin-left:160px!important}.lexical-view-mode ol li.ql-indent-1,.lexical-view-mode ol li.ql-indent-2,.lexical-view-mode ol li.ql-indent-3,.lexical-view-mode ol li.ql-indent-4,.lexical-view-mode ol li.ql-indent-5,.lexical-view-mode ol li.ql-indent-6,.lexical-view-mode ol li.ql-indent-7,.lexical-view-mode ol li.ql-indent-8,.lexical-view-mode ul li.ql-indent-1,.lexical-view-mode ul li.ql-indent-2,.lexical-view-mode ul li.ql-indent-3,.lexical-view-mode ul li.ql-indent-4,.lexical-view-mode ul li.ql-indent-5,.lexical-view-mode ul li.ql-indent-6,.lexical-view-mode ul li.ql-indent-7,.lexical-view-mode ul li.ql-indent-8{margin-bottom:.3em!important}.lexical-view-mode ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9!important;counter-increment:list-1!important;margin-left:0!important;list-style-type:none!important}.lexical-view-mode ol li.ql-indent-1::marker{display:none}.lexical-view-mode ol li.ql-indent-1:before{content:counter(list-1,lower-alpha)". "!important}.lexical-view-mode ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9!important;counter-increment:list-2!important;margin-left:20px!important;list-style-type:none!important}.lexical-view-mode ol li.ql-indent-2::marker{display:none}.lexical-view-mode ol li.ql-indent-2:before{content:counter(list-2,lower-roman)". "!important}.lexical-view-mode ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9!important;counter-increment:list-3!important;margin-left:40px!important;list-style-type:none!important}.lexical-view-mode ol li.ql-indent-3::marker{display:none}.lexical-view-mode ol li.ql-indent-3:before{content:counter(list-3,decimal)". "!important}.lexical-view-mode ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9!important;counter-increment:list-4!important;margin-left:60px!important;list-style-type:none!important}.lexical-view-mode ol li.ql-indent-4::marker{display:none}.lexical-view-mode ol li.ql-indent-4:before{content:counter(list-4,lower-alpha)". "!important}.lexical-view-mode ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9!important;counter-increment:list-5!important;margin-left:80px!important;list-style-type:none!important}.lexical-view-mode ol li.ql-indent-5::marker{display:none}.lexical-view-mode ol li.ql-indent-5:before{content:counter(list-5,lower-roman)". "!important}.lexical-view-mode ol li.ql-indent-6{counter-reset:list-7 list-8 list-9!important;counter-increment:list-6!important;margin-left:100px!important;list-style-type:none!important}.lexical-view-mode ol li.ql-indent-6::marker{display:none}.lexical-view-mode ol li.ql-indent-6:before{content:counter(list-6,decimal)". "!important}.lexical-view-mode ol li.ql-indent-7{counter-reset:list-8 list-9!important;counter-increment:list-7!important;margin-left:120px!important;list-style-type:none!important}.lexical-view-mode ol li.ql-indent-7::marker{display:none}.lexical-view-mode ol li.ql-indent-7:before{content:counter(list-7,lower-alpha)". "!important}.lexical-view-mode ol li.ql-indent-8{counter-reset:list-9!important;counter-increment:list-8!important;margin-left:140px!important;list-style-type:none!important}.lexical-view-mode ol li.ql-indent-8::marker{display:none}.lexical-view-mode ol li.ql-indent-8:before{content:counter(list-8,lower-roman)". "!important}.lexical-view-mode ul li.ql-indent-3,.lexical-view-mode ul li.ql-indent-6{list-style-type:disc}.lexical-view-mode ul li.ql-indent-1,.lexical-view-mode ul li.ql-indent-4,.lexical-view-mode ul li.ql-indent-7{list-style-type:circle}.lexical-view-mode ul li.ql-indent-2,.lexical-view-mode ul li.ql-indent-5,.lexical-view-mode ul li.ql-indent-8{list-style-type:square}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}',Np="-",Jb=e=>{const t=e0(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:p=>{const m=p.split(Np);return m[0]===""&&m.length!==1&&m.shift(),Ag(m,t)||Zb(p)},getConflictingClassGroupIds:(p,m)=>{const h=n[p]||[];return m&&i[p]?[...h,...i[p]]:h}}},Ag=(e,t)=>{var p;if(e.length===0)return t.classGroupId;const n=e[0],i=t.nextPart.get(n),a=i?Ag(e.slice(1),i):void 0;if(a)return a;if(t.validators.length===0)return;const c=e.join(Np);return(p=t.validators.find(({validator:m})=>m(c)))==null?void 0:p.classGroupId},_h=/^\[(.+)\]$/,Zb=e=>{if(_h.test(e)){const t=_h.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},e0=e=>{const{theme:t,classGroups:n}=e,i={nextPart:new Map,validators:[]};for(const a in n)Kd(n[a],i,a,t);return i},Kd=(e,t,n,i)=>{e.forEach(a=>{if(typeof a=="string"){const c=a===""?t:Lh(t,a);c.classGroupId=n;return}if(typeof a=="function"){if(t0(a)){Kd(a(i),t,n,i);return}t.validators.push({validator:a,classGroupId:n});return}Object.entries(a).forEach(([c,p])=>{Kd(p,Lh(t,c),n,i)})})},Lh=(e,t)=>{let n=e;return t.split(Np).forEach(i=>{n.nextPart.has(i)||n.nextPart.set(i,{nextPart:new Map,validators:[]}),n=n.nextPart.get(i)}),n},t0=e=>e.isThemeGetter,r0=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,i=new Map;const a=(c,p)=>{n.set(c,p),t++,t>e&&(t=0,i=n,n=new Map)};return{get(c){let p=n.get(c);if(p!==void 0)return p;if((p=i.get(c))!==void 0)return a(c,p),p},set(c,p){n.has(c)?n.set(c,p):a(c,p)}}},Jd="!",Zd=":",n0=Zd.length,o0=e=>{const{prefix:t,experimentalParseClassName:n}=e;let i=a=>{const c=[];let p=0,m=0,h=0,v;for(let L=0;L<a.length;L++){let D=a[L];if(p===0&&m===0){if(D===Zd){c.push(a.slice(h,L)),h=L+n0;continue}if(D==="/"){v=L;continue}}D==="["?p++:D==="]"?p--:D==="("?m++:D===")"&&m--}const C=c.length===0?a:a.substring(h),x=i0(C),F=x!==C,I=v&&v>h?v-h:void 0;return{modifiers:c,hasImportantModifier:F,baseClassName:x,maybePostfixModifierPosition:I}};if(t){const a=t+Zd,c=i;i=p=>p.startsWith(a)?c(p.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:p,maybePostfixModifierPosition:void 0}}if(n){const a=i;i=c=>n({className:c,parseClassName:a})}return i},i0=e=>e.endsWith(Jd)?e.substring(0,e.length-1):e.startsWith(Jd)?e.substring(1):e,a0=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(i=>[i,!0]));return i=>{if(i.length<=1)return i;const a=[];let c=[];return i.forEach(p=>{p[0]==="["||t[p]?(a.push(...c.sort(),p),c=[]):c.push(p)}),a.push(...c.sort()),a}},s0=e=>({cache:r0(e.cacheSize),parseClassName:o0(e),sortModifiers:a0(e),...Jb(e)}),l0=/\s+/,u0=(e,t)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:a,sortModifiers:c}=t,p=[],m=e.trim().split(l0);let h="";for(let v=m.length-1;v>=0;v-=1){const C=m[v],{isExternal:x,modifiers:F,hasImportantModifier:I,baseClassName:L,maybePostfixModifierPosition:D}=n(C);if(x){h=C+(h.length>0?" "+h:h);continue}let T=!!D,O=i(T?L.substring(0,D):L);if(!O){if(!T){h=C+(h.length>0?" "+h:h);continue}if(O=i(L),!O){h=C+(h.length>0?" "+h:h);continue}T=!1}const U=c(F).join(":"),j=I?U+Jd:U,V=j+O;if(p.includes(V))continue;p.push(V);const $=a(O,T);for(let J=0;J<$.length;++J){const ae=$[J];p.push(j+ae)}h=C+(h.length>0?" "+h:h)}return h};function c0(){let e=0,t,n,i="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Og(t))&&(i&&(i+=" "),i+=n);return i}const Og=e=>{if(typeof e=="string")return e;let t,n="";for(let i=0;i<e.length;i++)e[i]&&(t=Og(e[i]))&&(n&&(n+=" "),n+=t);return n};function f0(e,...t){let n,i,a,c=p;function p(h){const v=t.reduce((C,x)=>x(C),e());return n=s0(v),i=n.cache.get,a=n.cache.set,c=m,m(h)}function m(h){const v=i(h);if(v)return v;const C=u0(h,n);return a(h,C),C}return function(){return c(c0.apply(null,arguments))}}const yt=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Ig=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Fg=/^\((?:(\w[\w-]*):)?(.+)\)$/i,d0=/^\d+\/\d+$/,p0=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,h0=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,m0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,g0=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,v0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Rs=e=>d0.test(e),He=e=>!!e&&!Number.isNaN(Number(e)),ti=e=>!!e&&Number.isInteger(Number(e)),gd=e=>e.endsWith("%")&&He(e.slice(0,-1)),no=e=>p0.test(e),y0=()=>!0,b0=e=>h0.test(e)&&!m0.test(e),Mg=()=>!1,w0=e=>g0.test(e),x0=e=>v0.test(e),S0=e=>!be(e)&&!we(e),k0=e=>Js(e,Lg,Mg),be=e=>Ig.test(e),sa=e=>Js(e,$g,b0),vd=e=>Js(e,P0,He),$h=e=>Js(e,Dg,Mg),E0=e=>Js(e,_g,x0),vc=e=>Js(e,jg,w0),we=e=>Fg.test(e),Yl=e=>Zs(e,$g),C0=e=>Zs(e,A0),jh=e=>Zs(e,Dg),T0=e=>Zs(e,Lg),R0=e=>Zs(e,_g),yc=e=>Zs(e,jg,!0),Js=(e,t,n)=>{const i=Ig.exec(e);return i?i[1]?t(i[1]):n(i[2]):!1},Zs=(e,t,n=!1)=>{const i=Fg.exec(e);return i?i[1]?t(i[1]):n:!1},Dg=e=>e==="position"||e==="percentage",_g=e=>e==="image"||e==="url",Lg=e=>e==="length"||e==="size"||e==="bg-size",$g=e=>e==="length",P0=e=>e==="number",A0=e=>e==="family-name",jg=e=>e==="shadow",O0=()=>{const e=yt("color"),t=yt("font"),n=yt("text"),i=yt("font-weight"),a=yt("tracking"),c=yt("leading"),p=yt("breakpoint"),m=yt("container"),h=yt("spacing"),v=yt("radius"),C=yt("shadow"),x=yt("inset-shadow"),F=yt("text-shadow"),I=yt("drop-shadow"),L=yt("blur"),D=yt("perspective"),T=yt("aspect"),O=yt("ease"),U=yt("animate"),j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],$=()=>[...V(),we,be],J=()=>["auto","hidden","clip","visible","scroll"],ae=()=>["auto","contain","none"],re=()=>[we,be,h],le=()=>[Rs,"full","auto",...re()],ye=()=>[ti,"none","subgrid",we,be],De=()=>["auto",{span:["full",ti,we,be]},ti,we,be],Fe=()=>[ti,"auto",we,be],$e=()=>["auto","min","max","fr",we,be],ze=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],xe=()=>["start","end","center","stretch","center-safe","end-safe"],Re=()=>["auto",...re()],Le=()=>[Rs,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...re()],Z=()=>[e,we,be],ve=()=>[...V(),jh,$h,{position:[we,be]}],Y=()=>["no-repeat",{repeat:["","x","y","space","round"]}],K=()=>["auto","cover","contain",T0,k0,{size:[we,be]}],fe=()=>[gd,Yl,sa],te=()=>["","none","full",v,we,be],he=()=>["",He,Yl,sa],me=()=>["solid","dashed","dotted","double"],ue=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>[He,gd,jh,$h],Ee=()=>["","none",L,we,be],Se=()=>["none",He,we,be],Pe=()=>["none",He,we,be],Be=()=>[He,we,be],se=()=>[Rs,"full",...re()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[no],breakpoint:[no],color:[y0],container:[no],"drop-shadow":[no],ease:["in","out","in-out"],font:[S0],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[no],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[no],shadow:[no],spacing:["px",He],text:[no],"text-shadow":[no],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Rs,be,we,T]}],container:["container"],columns:[{columns:[He,be,we,m]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:$()}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:ae()}],"overscroll-x":[{"overscroll-x":ae()}],"overscroll-y":[{"overscroll-y":ae()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:le()}],"inset-x":[{"inset-x":le()}],"inset-y":[{"inset-y":le()}],start:[{start:le()}],end:[{end:le()}],top:[{top:le()}],right:[{right:le()}],bottom:[{bottom:le()}],left:[{left:le()}],visibility:["visible","invisible","collapse"],z:[{z:[ti,"auto",we,be]}],basis:[{basis:[Rs,"full","auto",m,...re()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[He,Rs,"auto","initial","none",be]}],grow:[{grow:["",He,we,be]}],shrink:[{shrink:["",He,we,be]}],order:[{order:[ti,"first","last","none",we,be]}],"grid-cols":[{"grid-cols":ye()}],"col-start-end":[{col:De()}],"col-start":[{"col-start":Fe()}],"col-end":[{"col-end":Fe()}],"grid-rows":[{"grid-rows":ye()}],"row-start-end":[{row:De()}],"row-start":[{"row-start":Fe()}],"row-end":[{"row-end":Fe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":$e()}],"auto-rows":[{"auto-rows":$e()}],gap:[{gap:re()}],"gap-x":[{"gap-x":re()}],"gap-y":[{"gap-y":re()}],"justify-content":[{justify:[...ze(),"normal"]}],"justify-items":[{"justify-items":[...xe(),"normal"]}],"justify-self":[{"justify-self":["auto",...xe()]}],"align-content":[{content:["normal",...ze()]}],"align-items":[{items:[...xe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...xe(),{baseline:["","last"]}]}],"place-content":[{"place-content":ze()}],"place-items":[{"place-items":[...xe(),"baseline"]}],"place-self":[{"place-self":["auto",...xe()]}],p:[{p:re()}],px:[{px:re()}],py:[{py:re()}],ps:[{ps:re()}],pe:[{pe:re()}],pt:[{pt:re()}],pr:[{pr:re()}],pb:[{pb:re()}],pl:[{pl:re()}],m:[{m:Re()}],mx:[{mx:Re()}],my:[{my:Re()}],ms:[{ms:Re()}],me:[{me:Re()}],mt:[{mt:Re()}],mr:[{mr:Re()}],mb:[{mb:Re()}],ml:[{ml:Re()}],"space-x":[{"space-x":re()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":re()}],"space-y-reverse":["space-y-reverse"],size:[{size:Le()}],w:[{w:[m,"screen",...Le()]}],"min-w":[{"min-w":[m,"screen","none",...Le()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[p]},...Le()]}],h:[{h:["screen",...Le()]}],"min-h":[{"min-h":["screen","none",...Le()]}],"max-h":[{"max-h":["screen",...Le()]}],"font-size":[{text:["base",n,Yl,sa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,we,vd]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",gd,be]}],"font-family":[{font:[C0,be,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,we,be]}],"line-clamp":[{"line-clamp":[He,"none",we,vd]}],leading:[{leading:[c,...re()]}],"list-image":[{"list-image":["none",we,be]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",we,be]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Z()}],"text-color":[{text:Z()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:[He,"from-font","auto",we,sa]}],"text-decoration-color":[{decoration:Z()}],"underline-offset":[{"underline-offset":[He,"auto",we,be]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:re()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",we,be]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",we,be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ve()}],"bg-repeat":[{bg:Y()}],"bg-size":[{bg:K()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ti,we,be],radial:["",we,be],conic:[ti,we,be]},R0,E0]}],"bg-color":[{bg:Z()}],"gradient-from-pos":[{from:fe()}],"gradient-via-pos":[{via:fe()}],"gradient-to-pos":[{to:fe()}],"gradient-from":[{from:Z()}],"gradient-via":[{via:Z()}],"gradient-to":[{to:Z()}],rounded:[{rounded:te()}],"rounded-s":[{"rounded-s":te()}],"rounded-e":[{"rounded-e":te()}],"rounded-t":[{"rounded-t":te()}],"rounded-r":[{"rounded-r":te()}],"rounded-b":[{"rounded-b":te()}],"rounded-l":[{"rounded-l":te()}],"rounded-ss":[{"rounded-ss":te()}],"rounded-se":[{"rounded-se":te()}],"rounded-ee":[{"rounded-ee":te()}],"rounded-es":[{"rounded-es":te()}],"rounded-tl":[{"rounded-tl":te()}],"rounded-tr":[{"rounded-tr":te()}],"rounded-br":[{"rounded-br":te()}],"rounded-bl":[{"rounded-bl":te()}],"border-w":[{border:he()}],"border-w-x":[{"border-x":he()}],"border-w-y":[{"border-y":he()}],"border-w-s":[{"border-s":he()}],"border-w-e":[{"border-e":he()}],"border-w-t":[{"border-t":he()}],"border-w-r":[{"border-r":he()}],"border-w-b":[{"border-b":he()}],"border-w-l":[{"border-l":he()}],"divide-x":[{"divide-x":he()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":he()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...me(),"hidden","none"]}],"divide-style":[{divide:[...me(),"hidden","none"]}],"border-color":[{border:Z()}],"border-color-x":[{"border-x":Z()}],"border-color-y":[{"border-y":Z()}],"border-color-s":[{"border-s":Z()}],"border-color-e":[{"border-e":Z()}],"border-color-t":[{"border-t":Z()}],"border-color-r":[{"border-r":Z()}],"border-color-b":[{"border-b":Z()}],"border-color-l":[{"border-l":Z()}],"divide-color":[{divide:Z()}],"outline-style":[{outline:[...me(),"none","hidden"]}],"outline-offset":[{"outline-offset":[He,we,be]}],"outline-w":[{outline:["",He,Yl,sa]}],"outline-color":[{outline:Z()}],shadow:[{shadow:["","none",C,yc,vc]}],"shadow-color":[{shadow:Z()}],"inset-shadow":[{"inset-shadow":["none",x,yc,vc]}],"inset-shadow-color":[{"inset-shadow":Z()}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Z()}],"ring-offset-w":[{"ring-offset":[He,sa]}],"ring-offset-color":[{"ring-offset":Z()}],"inset-ring-w":[{"inset-ring":he()}],"inset-ring-color":[{"inset-ring":Z()}],"text-shadow":[{"text-shadow":["none",F,yc,vc]}],"text-shadow-color":[{"text-shadow":Z()}],opacity:[{opacity:[He,we,be]}],"mix-blend":[{"mix-blend":[...ue(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ue()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[He]}],"mask-image-linear-from-pos":[{"mask-linear-from":ce()}],"mask-image-linear-to-pos":[{"mask-linear-to":ce()}],"mask-image-linear-from-color":[{"mask-linear-from":Z()}],"mask-image-linear-to-color":[{"mask-linear-to":Z()}],"mask-image-t-from-pos":[{"mask-t-from":ce()}],"mask-image-t-to-pos":[{"mask-t-to":ce()}],"mask-image-t-from-color":[{"mask-t-from":Z()}],"mask-image-t-to-color":[{"mask-t-to":Z()}],"mask-image-r-from-pos":[{"mask-r-from":ce()}],"mask-image-r-to-pos":[{"mask-r-to":ce()}],"mask-image-r-from-color":[{"mask-r-from":Z()}],"mask-image-r-to-color":[{"mask-r-to":Z()}],"mask-image-b-from-pos":[{"mask-b-from":ce()}],"mask-image-b-to-pos":[{"mask-b-to":ce()}],"mask-image-b-from-color":[{"mask-b-from":Z()}],"mask-image-b-to-color":[{"mask-b-to":Z()}],"mask-image-l-from-pos":[{"mask-l-from":ce()}],"mask-image-l-to-pos":[{"mask-l-to":ce()}],"mask-image-l-from-color":[{"mask-l-from":Z()}],"mask-image-l-to-color":[{"mask-l-to":Z()}],"mask-image-x-from-pos":[{"mask-x-from":ce()}],"mask-image-x-to-pos":[{"mask-x-to":ce()}],"mask-image-x-from-color":[{"mask-x-from":Z()}],"mask-image-x-to-color":[{"mask-x-to":Z()}],"mask-image-y-from-pos":[{"mask-y-from":ce()}],"mask-image-y-to-pos":[{"mask-y-to":ce()}],"mask-image-y-from-color":[{"mask-y-from":Z()}],"mask-image-y-to-color":[{"mask-y-to":Z()}],"mask-image-radial":[{"mask-radial":[we,be]}],"mask-image-radial-from-pos":[{"mask-radial-from":ce()}],"mask-image-radial-to-pos":[{"mask-radial-to":ce()}],"mask-image-radial-from-color":[{"mask-radial-from":Z()}],"mask-image-radial-to-color":[{"mask-radial-to":Z()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":V()}],"mask-image-conic-pos":[{"mask-conic":[He]}],"mask-image-conic-from-pos":[{"mask-conic-from":ce()}],"mask-image-conic-to-pos":[{"mask-conic-to":ce()}],"mask-image-conic-from-color":[{"mask-conic-from":Z()}],"mask-image-conic-to-color":[{"mask-conic-to":Z()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ve()}],"mask-repeat":[{mask:Y()}],"mask-size":[{mask:K()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",we,be]}],filter:[{filter:["","none",we,be]}],blur:[{blur:Ee()}],brightness:[{brightness:[He,we,be]}],contrast:[{contrast:[He,we,be]}],"drop-shadow":[{"drop-shadow":["","none",I,yc,vc]}],"drop-shadow-color":[{"drop-shadow":Z()}],grayscale:[{grayscale:["",He,we,be]}],"hue-rotate":[{"hue-rotate":[He,we,be]}],invert:[{invert:["",He,we,be]}],saturate:[{saturate:[He,we,be]}],sepia:[{sepia:["",He,we,be]}],"backdrop-filter":[{"backdrop-filter":["","none",we,be]}],"backdrop-blur":[{"backdrop-blur":Ee()}],"backdrop-brightness":[{"backdrop-brightness":[He,we,be]}],"backdrop-contrast":[{"backdrop-contrast":[He,we,be]}],"backdrop-grayscale":[{"backdrop-grayscale":["",He,we,be]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[He,we,be]}],"backdrop-invert":[{"backdrop-invert":["",He,we,be]}],"backdrop-opacity":[{"backdrop-opacity":[He,we,be]}],"backdrop-saturate":[{"backdrop-saturate":[He,we,be]}],"backdrop-sepia":[{"backdrop-sepia":["",He,we,be]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":re()}],"border-spacing-x":[{"border-spacing-x":re()}],"border-spacing-y":[{"border-spacing-y":re()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",we,be]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[He,"initial",we,be]}],ease:[{ease:["linear","initial",O,we,be]}],delay:[{delay:[He,we,be]}],animate:[{animate:["none",U,we,be]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[D,we,be]}],"perspective-origin":[{"perspective-origin":$()}],rotate:[{rotate:Se()}],"rotate-x":[{"rotate-x":Se()}],"rotate-y":[{"rotate-y":Se()}],"rotate-z":[{"rotate-z":Se()}],scale:[{scale:Pe()}],"scale-x":[{"scale-x":Pe()}],"scale-y":[{"scale-y":Pe()}],"scale-z":[{"scale-z":Pe()}],"scale-3d":["scale-3d"],skew:[{skew:Be()}],"skew-x":[{"skew-x":Be()}],"skew-y":[{"skew-y":Be()}],transform:[{transform:[we,be,"","none","gpu","cpu"]}],"transform-origin":[{origin:$()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:se()}],"translate-x":[{"translate-x":se()}],"translate-y":[{"translate-y":se()}],"translate-z":[{"translate-z":se()}],"translate-none":["translate-none"],accent:[{accent:Z()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Z()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",we,be]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":re()}],"scroll-mx":[{"scroll-mx":re()}],"scroll-my":[{"scroll-my":re()}],"scroll-ms":[{"scroll-ms":re()}],"scroll-me":[{"scroll-me":re()}],"scroll-mt":[{"scroll-mt":re()}],"scroll-mr":[{"scroll-mr":re()}],"scroll-mb":[{"scroll-mb":re()}],"scroll-ml":[{"scroll-ml":re()}],"scroll-p":[{"scroll-p":re()}],"scroll-px":[{"scroll-px":re()}],"scroll-py":[{"scroll-py":re()}],"scroll-ps":[{"scroll-ps":re()}],"scroll-pe":[{"scroll-pe":re()}],"scroll-pt":[{"scroll-pt":re()}],"scroll-pr":[{"scroll-pr":re()}],"scroll-pb":[{"scroll-pb":re()}],"scroll-pl":[{"scroll-pl":re()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",we,be]}],fill:[{fill:["none",...Z()]}],"stroke-w":[{stroke:[He,Yl,sa,vd]}],stroke:[{stroke:["none",...Z()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Fs=f0(O0);function Ng(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=Ng(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function lu(){for(var e,t,n=0,i="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=Ng(e))&&(i&&(i+=" "),i+=t);return i}function wt(...e){return Fs(lu(e))}const zg=typeof document<"u"?A.useLayoutEffect:()=>{};function I0(e){const t=A.useRef(null);return zg(()=>{t.current=e},[e]),A.useCallback((...n)=>{const i=t.current;return i==null?void 0:i(...n)},[])}const ki=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},ca=e=>e&&"window"in e&&e.window===e?e:ki(e).defaultView||window;function F0(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function M0(e){return F0(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let D0=!1;function zp(){return D0}function Bg(e,t){if(!zp())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n.tagName==="SLOT"&&n.assignedSlot?n=n.assignedSlot.parentNode:M0(n)?n=n.host:n=n.parentNode}return!1}const ep=(e=document)=>{var t;if(!zp())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(!((t=n.shadowRoot)===null||t===void 0)&&t.activeElement);)n=n.shadowRoot.activeElement;return n};function Ug(e){return zp()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function Uc(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>e.test(n.brand)))||e.test(window.navigator.userAgent)}function Bp(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 vo(e){if(process.env.NODE_ENV==="test")return e;let t=null;return()=>(t==null&&(t=e()),t)}const Up=vo(function(){return Bp(/^Mac/i)}),_0=vo(function(){return Bp(/^iPhone/i)}),L0=vo(function(){return Bp(/^iPad/i)||Up()&&navigator.maxTouchPoints>1}),$0=vo(function(){return _0()||L0()});vo(function(){return Up()||$0()});vo(function(){return Uc(/AppleWebKit/i)&&!j0()});const j0=vo(function(){return Uc(/Chrome/i)}),N0=vo(function(){return Uc(/Android/i)});vo(function(){return Uc(/Firefox/i)});function Hg(){let e=A.useRef(new Map),t=A.useCallback((a,c,p,m)=>{let h=m!=null&&m.once?(...v)=>{e.current.delete(p),p(...v)}:p;e.current.set(p,{type:c,eventTarget:a,fn:h,options:m}),a.addEventListener(c,h,m)},[]),n=A.useCallback((a,c,p,m)=>{var h;let v=((h=e.current.get(p))===null||h===void 0?void 0:h.fn)||p;a.removeEventListener(c,v,m),e.current.delete(p)},[]),i=A.useCallback(()=>{e.current.forEach((a,c)=>{n(a.eventTarget,a.type,c,a.options)})},[n]);return A.useEffect(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:i}}function z0(e){return e.mozInputSource===0&&e.isTrusted?!0:N0()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Wg(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function B0(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function Vg(e){let t=A.useRef({isFocused:!1,observer:null});zg(()=>{const i=t.current;return()=>{i.observer&&(i.observer.disconnect(),i.observer=null)}},[]);let n=I0(i=>{e==null||e(i)});return A.useCallback(i=>{if(i.target instanceof HTMLButtonElement||i.target instanceof HTMLInputElement||i.target instanceof HTMLTextAreaElement||i.target instanceof HTMLSelectElement){t.current.isFocused=!0;let a=i.target,c=p=>{if(t.current.isFocused=!1,a.disabled){let m=Wg(p);n(m)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};a.addEventListener("focusout",c,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&a.disabled){var p;(p=t.current.observer)===null||p===void 0||p.disconnect();let m=a===document.activeElement?null:document.activeElement;a.dispatchEvent(new FocusEvent("blur",{relatedTarget:m})),a.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:m}))}}),t.current.observer.observe(a,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let U0=!1,bu=null,tp=new Set,tu=new Map,Ea=!1,rp=!1;const H0={Tab:!0,Escape:!0};function Hp(e,t){for(let n of tp)n(e,t)}function W0(e){return!(e.metaKey||!Up()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Ic(e){Ea=!0,W0(e)&&(bu="keyboard",Hp("keyboard",e))}function Nr(e){bu="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Ea=!0,Hp("pointer",e))}function Gg(e){z0(e)&&(Ea=!0,bu="virtual")}function Yg(e){e.target===window||e.target===document||U0||!e.isTrusted||(!Ea&&!rp&&(bu="virtual",Hp("virtual",e)),Ea=!1,rp=!1)}function Xg(){Ea=!1,rp=!0}function np(e){if(typeof window>"u"||typeof document>"u"||tu.get(ca(e)))return;const t=ca(e),n=ki(e);let i=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Ea=!0,i.apply(this,arguments)},n.addEventListener("keydown",Ic,!0),n.addEventListener("keyup",Ic,!0),n.addEventListener("click",Gg,!0),t.addEventListener("focus",Yg,!0),t.addEventListener("blur",Xg,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",Nr,!0),n.addEventListener("pointermove",Nr,!0),n.addEventListener("pointerup",Nr,!0)):process.env.NODE_ENV==="test"&&(n.addEventListener("mousedown",Nr,!0),n.addEventListener("mousemove",Nr,!0),n.addEventListener("mouseup",Nr,!0)),t.addEventListener("beforeunload",()=>{Qg(e)},{once:!0}),tu.set(t,{focus:i})}const Qg=(e,t)=>{const n=ca(e),i=ki(e);t&&i.removeEventListener("DOMContentLoaded",t),tu.has(n)&&(n.HTMLElement.prototype.focus=tu.get(n).focus,i.removeEventListener("keydown",Ic,!0),i.removeEventListener("keyup",Ic,!0),i.removeEventListener("click",Gg,!0),n.removeEventListener("focus",Yg,!0),n.removeEventListener("blur",Xg,!1),typeof PointerEvent<"u"?(i.removeEventListener("pointerdown",Nr,!0),i.removeEventListener("pointermove",Nr,!0),i.removeEventListener("pointerup",Nr,!0)):process.env.NODE_ENV==="test"&&(i.removeEventListener("mousedown",Nr,!0),i.removeEventListener("mousemove",Nr,!0),i.removeEventListener("mouseup",Nr,!0)),tu.delete(n))};function V0(e){const t=ki(e);let n;return t.readyState!=="loading"?np(e):(n=()=>{np(e)},t.addEventListener("DOMContentLoaded",n)),()=>Qg(e,n)}typeof document<"u"&&V0();function qg(){return bu!=="pointer"}const G0=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Y0(e,t,n){let i=ki(n==null?void 0:n.target);const a=typeof window<"u"?ca(n==null?void 0:n.target).HTMLInputElement:HTMLInputElement,c=typeof window<"u"?ca(n==null?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,p=typeof window<"u"?ca(n==null?void 0:n.target).HTMLElement:HTMLElement,m=typeof window<"u"?ca(n==null?void 0:n.target).KeyboardEvent:KeyboardEvent;return e=e||i.activeElement instanceof a&&!G0.has(i.activeElement.type)||i.activeElement instanceof c||i.activeElement instanceof p&&i.activeElement.isContentEditable,!(e&&t==="keyboard"&&n instanceof m&&!H0[n.key])}function X0(e,t,n){np(),A.useEffect(()=>{let i=(a,c)=>{Y0(!!(n!=null&&n.isTextInput),a,c)&&e(qg())};return tp.add(i),()=>{tp.delete(i)}},t)}function Q0(e){let{isDisabled:t,onFocus:n,onBlur:i,onFocusChange:a}=e;const c=A.useCallback(h=>{if(h.target===h.currentTarget)return i&&i(h),a&&a(!1),!0},[i,a]),p=Vg(c),m=A.useCallback(h=>{const v=ki(h.target),C=v?ep(v):ep();h.target===h.currentTarget&&C===Ug(h.nativeEvent)&&(n&&n(h),a&&a(!0),p(h))},[a,n,p]);return{focusProps:{onFocus:!t&&(n||a||i)?m:void 0,onBlur:!t&&(i||a)?c:void 0}}}function q0(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:i,onFocusWithinChange:a}=e,c=A.useRef({isFocusWithin:!1}),{addGlobalListener:p,removeAllGlobalListeners:m}=Hg(),h=A.useCallback(x=>{x.currentTarget.contains(x.target)&&c.current.isFocusWithin&&!x.currentTarget.contains(x.relatedTarget)&&(c.current.isFocusWithin=!1,m(),n&&n(x),a&&a(!1))},[n,a,c,m]),v=Vg(h),C=A.useCallback(x=>{if(!x.currentTarget.contains(x.target))return;const F=ki(x.target),I=ep(F);if(!c.current.isFocusWithin&&I===Ug(x.nativeEvent)){i&&i(x),a&&a(!0),c.current.isFocusWithin=!0,v(x);let L=x.currentTarget;p(F,"focus",D=>{if(c.current.isFocusWithin&&!Bg(L,D.target)){let T=new F.defaultView.FocusEvent("blur",{relatedTarget:D.target});B0(T,L);let O=Wg(T);h(O)}},{capture:!0})}},[i,a,v,p,h]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:C,onBlur:h}}}let Fc=!1,yd=0;function op(){Fc=!0,setTimeout(()=>{Fc=!1},50)}function Nh(e){e.pointerType==="touch"&&op()}function K0(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Nh):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",op),yd++,()=>{yd--,!(yd>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Nh):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",op))}}function J0(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:i,isDisabled:a}=e,[c,p]=A.useState(!1),m=A.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;A.useEffect(K0,[]);let{addGlobalListener:h,removeAllGlobalListeners:v}=Hg(),{hoverProps:C,triggerHoverEnd:x}=A.useMemo(()=>{let F=(D,T)=>{if(m.pointerType=T,a||T==="touch"||m.isHovered||!D.currentTarget.contains(D.target))return;m.isHovered=!0;let O=D.currentTarget;m.target=O,h(ki(D.target),"pointerover",U=>{m.isHovered&&m.target&&!Bg(m.target,U.target)&&I(U,U.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:O,pointerType:T}),n&&n(!0),p(!0)},I=(D,T)=>{let O=m.target;m.pointerType="",m.target=null,!(T==="touch"||!m.isHovered||!O)&&(m.isHovered=!1,v(),i&&i({type:"hoverend",target:O,pointerType:T}),n&&n(!1),p(!1))},L={};return typeof PointerEvent<"u"?(L.onPointerEnter=D=>{Fc&&D.pointerType==="mouse"||F(D,D.pointerType)},L.onPointerLeave=D=>{!a&&D.currentTarget.contains(D.target)&&I(D,D.pointerType)}):process.env.NODE_ENV==="test"&&(L.onTouchStart=()=>{m.ignoreEmulatedMouseEvents=!0},L.onMouseEnter=D=>{!m.ignoreEmulatedMouseEvents&&!Fc&&F(D,"mouse"),m.ignoreEmulatedMouseEvents=!1},L.onMouseLeave=D=>{!a&&D.currentTarget.contains(D.target)&&I(D,"mouse")}),{hoverProps:L,triggerHoverEnd:I}},[t,n,i,a,m,h,v]);return A.useEffect(()=>{a&&x({currentTarget:m.target},m.pointerType)},[a]),{hoverProps:C,isHovered:c}}function Z0(e={}){let{autoFocus:t=!1,isTextInput:n,within:i}=e,a=A.useRef({isFocused:!1,isFocusVisible:t||qg()}),[c,p]=A.useState(!1),[m,h]=A.useState(()=>a.current.isFocused&&a.current.isFocusVisible),v=A.useCallback(()=>h(a.current.isFocused&&a.current.isFocusVisible),[]),C=A.useCallback(I=>{a.current.isFocused=I,p(I),v()},[v]);X0(I=>{a.current.isFocusVisible=I,v()},[],{isTextInput:n});let{focusProps:x}=Q0({isDisabled:i,onFocusChange:C}),{focusWithinProps:F}=q0({isDisabled:!i,onFocusWithinChange:C});return{isFocused:c,isFocusVisible:m,focusProps:i?F:x}}var ew=Object.defineProperty,tw=(e,t,n)=>t in e?ew(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bd=(e,t,n)=>(tw(e,typeof t!="symbol"?t+"":t,n),n);let rw=class{constructor(){bd(this,"current",this.detect()),bd(this,"handoffState","pending"),bd(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},xa=new rw;function Hc(e){var t,n;return xa.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?(n=(t=e.current)==null?void 0:t.ownerDocument)!=null?n:document:null:document}function Wc(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function yo(){let e=[],t={addEventListener(n,i,a,c){return n.addEventListener(i,a,c),t.add(()=>n.removeEventListener(i,a,c))},requestAnimationFrame(...n){let i=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(i))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let i=setTimeout(...n);return t.add(()=>clearTimeout(i))},microTask(...n){let i={current:!0};return Wc(()=>{i.current&&n[0]()}),t.add(()=>{i.current=!1})},style(n,i,a){let c=n.style.getPropertyValue(i);return Object.assign(n.style,{[i]:a}),this.add(()=>{Object.assign(n.style,{[i]:c})})},group(n){let i=yo();return n(i),this.add(()=>i.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let i=e.indexOf(n);if(i>=0)for(let a of e.splice(i,1))a()}},dispose(){for(let n of e.splice(0))n()}};return t}function Wp(){let[e]=A.useState(yo);return A.useEffect(()=>()=>e.dispose(),[e]),e}let Mt=(e,t)=>{xa.isServer?A.useEffect(e,t):A.useLayoutEffect(e,t)};function Ra(e){let t=A.useRef(e);return Mt(()=>{t.current=e},[e]),t}let tt=function(e){let t=Ra(e);return A.useCallback((...n)=>t.current(...n),[t])},Kg=A.createContext(void 0);function Vc(){return A.useContext(Kg)}function nw({value:e,children:t}){return A.createElement(Kg.Provider,{value:e},t)}function ip(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function po(e,t,...n){if(e in t){let a=t[e];return typeof a=="function"?a(...n):a}let i=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(a=>`"${a}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,po),i}var Mc=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Mc||{}),mi=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(mi||{});function er(){let e=iw();return A.useCallback(t=>ow({mergeRefs:e,...t}),[e])}function ow({ourProps:e,theirProps:t,slot:n,defaultTag:i,features:a,visible:c=!0,name:p,mergeRefs:m}){m=m??aw;let h=Jg(t,e);if(c)return bc(h,n,i,p,m);let v=a??0;if(v&2){let{static:C=!1,...x}=h;if(C)return bc(x,n,i,p,m)}if(v&1){let{unmount:C=!0,...x}=h;return po(C?0:1,{0(){return null},1(){return bc({...x,hidden:!0,style:{display:"none"}},n,i,p,m)}})}return bc(h,n,i,p,m)}function bc(e,t={},n,i,a){let{as:c=n,children:p,refName:m="ref",...h}=wd(e,["unmount","static"]),v=e.ref!==void 0?{[m]:e.ref}:{},C=typeof p=="function"?p(t):p;"className"in h&&h.className&&typeof h.className=="function"&&(h.className=h.className(t)),h["aria-labelledby"]&&h["aria-labelledby"]===h.id&&(h["aria-labelledby"]=void 0);let x={};if(t){let F=!1,I=[];for(let[L,D]of Object.entries(t))typeof D=="boolean"&&(F=!0),D===!0&&I.push(L.replace(/([A-Z])/g,T=>`-${T.toLowerCase()}`));if(F){x["data-headlessui-state"]=I.join(" ");for(let L of I)x[`data-${L}`]=""}}if(c===A.Fragment&&(Object.keys(la(h)).length>0||Object.keys(la(x)).length>0))if(!A.isValidElement(C)||Array.isArray(C)&&C.length>1){if(Object.keys(la(h)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${i} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(la(h)).concat(Object.keys(la(x))).map(F=>` - ${F}`).join(`
|
|
123
|
+
*/var Sf,xp;function uv(){if(xp)return Sf;xp=1;var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(d){if(d==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(d)}function a(){try{if(!Object.assign)return!1;var d=new String("abc");if(d[5]="de",Object.getOwnPropertyNames(d)[0]==="5")return!1;for(var h={},y=0;y<10;y++)h["_"+String.fromCharCode(y)]=y;var m=Object.getOwnPropertyNames(h).map(function(R){return h[R]});if(m.join("")!=="0123456789")return!1;var x={};return"abcdefghijklmnopqrst".split("").forEach(function(R){x[R]=R}),Object.keys(Object.assign({},x)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Sf=a()?Object.assign:function(d,h){for(var y,m=i(d),x,R=1;R<arguments.length;R++){y=Object(arguments[R]);for(var E in y)r.call(y,E)&&(m[E]=y[E]);if(e){x=e(y);for(var F=0;F<x.length;F++)o.call(y,x[F])&&(m[x[F]]=y[x[F]])}}return m},Sf}var kf,wp;function Nd(){if(wp)return kf;wp=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return kf=e,kf}var Ef,Sp;function Vh(){return Sp||(Sp=1,Ef=Function.call.bind(Object.prototype.hasOwnProperty)),Ef}var Cf,kp;function cv(){if(kp)return Cf;kp=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var r=Nd(),o={},i=Vh();e=function(d){var h="Warning: "+d;typeof console<"u"&&console.error(h);try{throw new Error(h)}catch{}}}function a(d,h,y,m,x){if(process.env.NODE_ENV!=="production"){for(var R in d)if(i(d,R)){var E;try{if(typeof d[R]!="function"){var F=Error((m||"React class")+": "+y+" type `"+R+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof d[R]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw F.name="Invariant Violation",F}E=d[R](h,R,m,y,null,r)}catch(B){E=B}if(E&&!(E instanceof Error)&&e((m||"React class")+": type specification of "+y+" `"+R+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof E+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),E instanceof Error&&!(E.message in o)){o[E.message]=!0;var M=x?x():"";e("Failed "+y+" type: "+E.message+(M??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(o={})},Cf=a,Cf}var Tf,Ep;function fv(){if(Ep)return Tf;Ep=1;var e=Wh(),r=uv(),o=Nd(),i=Vh(),a=cv(),d=function(){};process.env.NODE_ENV!=="production"&&(d=function(y){var m="Warning: "+y;typeof console<"u"&&console.error(m);try{throw new Error(m)}catch{}});function h(){return null}return Tf=function(y,m){var x=typeof Symbol=="function"&&Symbol.iterator,R="@@iterator";function E(Q){var J=Q&&(x&&Q[x]||Q[R]);if(typeof J=="function")return J}var F="<<anonymous>>",M={array:I("array"),bigint:I("bigint"),bool:I("boolean"),func:I("function"),number:I("number"),object:I("object"),string:I("string"),symbol:I("symbol"),any:W(),arrayOf:U,element:Y(),elementType:_(),instanceOf:ie,node:Fe(),objectOf:ne,oneOf:fe,oneOfType:ae,shape:_e,exact:Ge};function B(Q,J){return Q===J?Q!==0||1/Q===1/J:Q!==Q&&J!==J}function D(Q,J){this.message=Q,this.data=J&&typeof J=="object"?J:{},this.stack=""}D.prototype=Error.prototype;function P(Q){if(process.env.NODE_ENV!=="production")var J={},ce=0;function me(ge,se,ue,Te,Ee,Re,$e){if(Te=Te||F,Re=Re||ue,$e!==o){if(m){var oe=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 oe.name="Invariant Violation",oe}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ue=Te+":"+ue;!J[Ue]&&ce<3&&(d("You are manually calling a React.PropTypes validation function for the `"+Re+"` prop on `"+Te+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),J[Ue]=!0,ce++)}}return se[ue]==null?ge?se[ue]===null?new D("The "+Ee+" `"+Re+"` is marked as required "+("in `"+Te+"`, but its value is `null`.")):new D("The "+Ee+" `"+Re+"` is marked as required in "+("`"+Te+"`, but its value is `undefined`.")):null:Q(se,ue,Te,Ee,Re)}var pe=me.bind(null,!1);return pe.isRequired=me.bind(null,!0),pe}function I(Q){function J(ce,me,pe,ge,se,ue){var Te=ce[me],Ee=Ce(Te);if(Ee!==Q){var Re=je(Te);return new D("Invalid "+ge+" `"+se+"` of type "+("`"+Re+"` supplied to `"+pe+"`, expected ")+("`"+Q+"`."),{expectedType:Q})}return null}return P(J)}function W(){return P(h)}function U(Q){function J(ce,me,pe,ge,se){if(typeof Q!="function")return new D("Property `"+se+"` of component `"+pe+"` has invalid PropType notation inside arrayOf.");var ue=ce[me];if(!Array.isArray(ue)){var Te=Ce(ue);return new D("Invalid "+ge+" `"+se+"` of type "+("`"+Te+"` supplied to `"+pe+"`, expected an array."))}for(var Ee=0;Ee<ue.length;Ee++){var Re=Q(ue,Ee,pe,ge,se+"["+Ee+"]",o);if(Re instanceof Error)return Re}return null}return P(J)}function Y(){function Q(J,ce,me,pe,ge){var se=J[ce];if(!y(se)){var ue=Ce(se);return new D("Invalid "+pe+" `"+ge+"` of type "+("`"+ue+"` supplied to `"+me+"`, expected a single ReactElement."))}return null}return P(Q)}function _(){function Q(J,ce,me,pe,ge){var se=J[ce];if(!e.isValidElementType(se)){var ue=Ce(se);return new D("Invalid "+pe+" `"+ge+"` of type "+("`"+ue+"` supplied to `"+me+"`, expected a single ReactElement type."))}return null}return P(Q)}function ie(Q){function J(ce,me,pe,ge,se){if(!(ce[me]instanceof Q)){var ue=Q.name||F,Te=be(ce[me]);return new D("Invalid "+ge+" `"+se+"` of type "+("`"+Te+"` supplied to `"+pe+"`, expected ")+("instance of `"+ue+"`."))}return null}return P(J)}function fe(Q){if(!Array.isArray(Q))return process.env.NODE_ENV!=="production"&&(arguments.length>1?d("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):d("Invalid argument supplied to oneOf, expected an array.")),h;function J(ce,me,pe,ge,se){for(var ue=ce[me],Te=0;Te<Q.length;Te++)if(B(ue,Q[Te]))return null;var Ee=JSON.stringify(Q,function($e,oe){var Ue=je(oe);return Ue==="symbol"?String(oe):oe});return new D("Invalid "+ge+" `"+se+"` of value `"+String(ue)+"` "+("supplied to `"+pe+"`, expected one of "+Ee+"."))}return P(J)}function ne(Q){function J(ce,me,pe,ge,se){if(typeof Q!="function")return new D("Property `"+se+"` of component `"+pe+"` has invalid PropType notation inside objectOf.");var ue=ce[me],Te=Ce(ue);if(Te!=="object")return new D("Invalid "+ge+" `"+se+"` of type "+("`"+Te+"` supplied to `"+pe+"`, expected an object."));for(var Ee in ue)if(i(ue,Ee)){var Re=Q(ue,Ee,pe,ge,se+"."+Ee,o);if(Re instanceof Error)return Re}return null}return P(J)}function ae(Q){if(!Array.isArray(Q))return process.env.NODE_ENV!=="production"&&d("Invalid argument supplied to oneOfType, expected an instance of array."),h;for(var J=0;J<Q.length;J++){var ce=Q[J];if(typeof ce!="function")return d("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Z(ce)+" at index "+J+"."),h}function me(pe,ge,se,ue,Te){for(var Ee=[],Re=0;Re<Q.length;Re++){var $e=Q[Re],oe=$e(pe,ge,se,ue,Te,o);if(oe==null)return null;oe.data&&i(oe.data,"expectedType")&&Ee.push(oe.data.expectedType)}var Ue=Ee.length>0?", expected one of type ["+Ee.join(", ")+"]":"";return new D("Invalid "+ue+" `"+Te+"` supplied to "+("`"+se+"`"+Ue+"."))}return P(me)}function Fe(){function Q(J,ce,me,pe,ge){return Qe(J[ce])?null:new D("Invalid "+pe+" `"+ge+"` supplied to "+("`"+me+"`, expected a ReactNode."))}return P(Q)}function Ne(Q,J,ce,me,pe){return new D((Q||"React class")+": "+J+" type `"+ce+"."+me+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+pe+"`.")}function _e(Q){function J(ce,me,pe,ge,se){var ue=ce[me],Te=Ce(ue);if(Te!=="object")return new D("Invalid "+ge+" `"+se+"` of type `"+Te+"` "+("supplied to `"+pe+"`, expected `object`."));for(var Ee in Q){var Re=Q[Ee];if(typeof Re!="function")return Ne(pe,ge,se,Ee,je(Re));var $e=Re(ue,Ee,pe,ge,se+"."+Ee,o);if($e)return $e}return null}return P(J)}function Ge(Q){function J(ce,me,pe,ge,se){var ue=ce[me],Te=Ce(ue);if(Te!=="object")return new D("Invalid "+ge+" `"+se+"` of type `"+Te+"` "+("supplied to `"+pe+"`, expected `object`."));var Ee=r({},ce[me],Q);for(var Re in Ee){var $e=Q[Re];if(i(Q,Re)&&typeof $e!="function")return Ne(pe,ge,se,Re,je($e));if(!$e)return new D("Invalid "+ge+" `"+se+"` key `"+Re+"` supplied to `"+pe+"`.\nBad object: "+JSON.stringify(ce[me],null," ")+`
|
|
124
|
+
Valid keys: `+JSON.stringify(Object.keys(Q),null," "));var oe=$e(ue,Re,pe,ge,se+"."+Re,o);if(oe)return oe}return null}return P(J)}function Qe(Q){switch(typeof Q){case"number":case"string":case"undefined":return!0;case"boolean":return!Q;case"object":if(Array.isArray(Q))return Q.every(Qe);if(Q===null||y(Q))return!0;var J=E(Q);if(J){var ce=J.call(Q),me;if(J!==Q.entries){for(;!(me=ce.next()).done;)if(!Qe(me.value))return!1}else for(;!(me=ce.next()).done;){var pe=me.value;if(pe&&!Qe(pe[1]))return!1}}else return!1;return!0;default:return!1}}function ke(Q,J){return Q==="symbol"?!0:J?J["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&J instanceof Symbol:!1}function Ce(Q){var J=typeof Q;return Array.isArray(Q)?"array":Q instanceof RegExp?"object":ke(J,Q)?"symbol":J}function je(Q){if(typeof Q>"u"||Q===null)return""+Q;var J=Ce(Q);if(J==="object"){if(Q instanceof Date)return"date";if(Q instanceof RegExp)return"regexp"}return J}function Z(Q){var J=je(Q);switch(J){case"array":case"object":return"an "+J;case"boolean":case"date":case"regexp":return"a "+J;default:return J}}function be(Q){return!Q.constructor||!Q.constructor.name?F:Q.constructor.name}return M.checkPropTypes=a,M.resetWarningCache=a.resetWarningCache,M.PropTypes=M,M},Tf}var Rf,Cp;function dv(){if(Cp)return Rf;Cp=1;var e=Nd();function r(){}function o(){}return o.resetWarningCache=r,Rf=function(){function i(h,y,m,x,R,E){if(E!==e){var F=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 F.name="Invariant Violation",F}}i.isRequired=i;function a(){return i}var d={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:a,element:i,elementType:i,instanceOf:a,node:i,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:o,resetWarningCache:r};return d.PropTypes=d,d},Rf}var Tp;function pv(){if(Tp)return Bu.exports;if(Tp=1,process.env.NODE_ENV!=="production"){var e=Wh(),r=!0;Bu.exports=fv()(e.isElement,r)}else Bu.exports=dv()();return Bu.exports}var hv=pv();const Me=ev(hv);var mv=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Yh(e,r){return e(r={exports:{}},r.exports),r.exports}var gv=Yh(function(e){(function(r){var o=function(P,I,W){if(!m(I)||R(I)||E(I)||F(I)||y(I))return I;var U,Y=0,_=0;if(x(I))for(U=[],_=I.length;Y<_;Y++)U.push(o(P,I[Y],W));else for(var ie in U={},I)Object.prototype.hasOwnProperty.call(I,ie)&&(U[P(ie,W)]=o(P,I[ie],W));return U},i=function(P){return M(P)?P:(P=P.replace(/[\-_\s]+(.)?/g,function(I,W){return W?W.toUpperCase():""})).substr(0,1).toLowerCase()+P.substr(1)},a=function(P){var I=i(P);return I.substr(0,1).toUpperCase()+I.substr(1)},d=function(P,I){return function(W,U){var Y=(U=U||{}).separator||"_",_=U.split||/(?=[A-Z])/;return W.split(_).join(Y)}(P,I).toLowerCase()},h=Object.prototype.toString,y=function(P){return typeof P=="function"},m=function(P){return P===Object(P)},x=function(P){return h.call(P)=="[object Array]"},R=function(P){return h.call(P)=="[object Date]"},E=function(P){return h.call(P)=="[object RegExp]"},F=function(P){return h.call(P)=="[object Boolean]"},M=function(P){return(P-=0)==P},B=function(P,I){var W=I&&"process"in I?I.process:I;return typeof W!="function"?P:function(U,Y){return W(U,P,Y)}},D={camelize:i,decamelize:d,pascalize:a,depascalize:d,camelizeKeys:function(P,I){return o(B(i,I),P)},decamelizeKeys:function(P,I){return o(B(d,I),P,I)},pascalizeKeys:function(P,I){return o(B(a,I),P)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=D:r.humps=D})(mv)}).decamelize,vv=function(e){if(Array.isArray(e))return e},yv=function(e,r){if(typeof Symbol<"u"&&Symbol.iterator in Object(e)){var o=[],i=!0,a=!1,d=void 0;try{for(var h,y=e[Symbol.iterator]();!(i=(h=y.next()).done)&&(o.push(h.value),!r||o.length!==r);i=!0);}catch(m){a=!0,d=m}finally{try{i||y.return==null||y.return()}finally{if(a)throw d}}return o}},Rp=function(e,r){(r==null||r>e.length)&&(r=e.length);for(var o=0,i=new Array(r);o<r;o++)i[o]=e[o];return i},bv=function(e,r){if(e){if(typeof e=="string")return Rp(e,r);var o=Object.prototype.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Rp(e,r):void 0}},xv=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
125
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},wv=function(e,r){return vv(e)||yv(e,r)||bv(e,r)||xv()},Gh=Yh(function(e){function r(){return e.exports=r=Object.assign||function(o){for(var i=1;i<arguments.length;i++){var a=arguments[i];for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&(o[d]=a[d])}return o},r.apply(this,arguments)}e.exports=r}),Sv=function(e,r){if(e==null)return{};var o,i,a={},d=Object.keys(e);for(i=0;i<d.length;i++)o=d[i],r.indexOf(o)>=0||(a[o]=e[o]);return a},Qh=function(e,r){if(e==null)return{};var o,i,a=Sv(e,r);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(e);for(i=0;i<d.length;i++)o=d[i],r.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(a[o]=e[o])}return a},kv=V.createContext(null);function Xh(e){var r=e.children,o=r===void 0?"":r,i=Qh(e,["children"]);return typeof o!="string"&&(o=av.renderToString(o)),V.createElement("template",Gh({},i,{dangerouslySetInnerHTML:{__html:o}}))}function qh(e){var r=e.root,o=e.children;return uc.createPortal(o===void 0?null:o,r)}function Ev(e){var r=V.forwardRef(function(o,i){var a,d,h=o.mode,y=h===void 0?"open":h,m=o.delegatesFocus,x=m!==void 0&&m,R=o.styleSheets,E=R===void 0?[]:R,F=o.ssr,M=F!==void 0&&F,B=o.children,D=Qh(o,["mode","delegatesFocus","styleSheets","ssr","children"]),P=(d=V.useRef((a=i)&&a.current),V.useEffect(function(){a&&(a.current=d.current)},[a]),d),I=V.useState(null),W=wv(I,2),U=W[0],Y=W[1],_="node_".concat(y).concat(x);return V.useLayoutEffect(function(){if(P.current)try{if(typeof i=="function"&&i(P.current),M){var ie=P.current.shadowRoot;return void Y(ie)}var fe=P.current.attachShadow({mode:y,delegatesFocus:x});E.length>0&&(fe.adoptedStyleSheets=E),Y(fe)}catch(ne){(function(ae){var Fe=ae.error,Ne=ae.styleSheets,_e=ae.root;switch(Fe.name){case"NotSupportedError":Ne.length>0&&(_e.adoptedStyleSheets=Ne);break;default:throw Fe}})({error:ne,styleSheets:E,root:U})}},[i,P,E]),V.createElement(V.Fragment,null,V.createElement(e.tag,Gh({key:_,ref:P},D),(U||M)&&V.createElement(kv.Provider,{value:U},M?V.createElement(Xh,{shadowroot:y,shadowrootmode:y},e.render({root:U,ssr:M,children:B})):V.createElement(qh,{root:U},e.render({root:U,ssr:M,children:B})))))});return r.propTypes={mode:Me.oneOf(["open","closed"]),delegatesFocus:Me.bool,styleSheets:Me.arrayOf(Me.instanceOf(globalThis.CSSStyleSheet)),ssr:Me.bool,children:Me.node},r}Xh.propTypes={children:Me.oneOfType([Me.string,Me.node])},qh.propTypes={root:Me.object.isRequired,children:Me.node};var Pf=new Map;function Cv(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(i){return i.children};return new Proxy(e,{get:function(i,a){var d=gv(a,{separator:"-"}),h="".concat(r,"-").concat(d);return Pf.has(h)||Pf.set(h,Ev({tag:d,render:o})),Pf.get(h)}})}var $d=Cv();const Jh="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAYCAYAAADpnJ2CAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGpSURBVHgBpVbRdYMwDDR9/S8jeARGYIRuUDpBuwHJBGQDskG6ASOQDcwGdANVLnJRHdmIRO/dI8D5zgIhpTAbAQAlHiqEJUyEa1EU30YRqFHj4Q1xzJIQF8QMSziGEAPi1eTNPhi/lwglomOCDWUZc/yGzkEIYQWtlpnNNxwSGimL2ijCi7DMLbveR2aVtHiMFypN/UZPlLUlHR6iWXuPWaQRsuXRpIjyTb1ZDWuBQVaPnvfAzLs9mcL/SoTNzXMCLJ9CiFZh1glmh9yCmkhldB7CgVzyvlCGlBlEnxJf+IkYo2uNINSy+1JxcDOv2acMD0DvT2HqSCxpRmt9Q/iS/J5NIrBP+kX+J9+pRXQC/Yj8Q3TtReCZJ7M0YpsyxcO7yUfKbBLZmEUFrGgSHOnx+jgn+M4/epMRnLME8/euNWYhgSondpIKJ2HqclxYmsi4JRRaW3a2KTakb5FU7rczS29WUvb9nkUD3D+e9o82WNuVA+XkgKUVOnhktLGK/DWOK4421sDaSy+5z0praqlF8Rnn2PlMhvUe3UJDogwtImRxRUzav4k8fgCQHVaVoXL9RAAAAABJRU5ErkJggg==";var As=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ta=typeof window>"u"||"Deno"in globalThis;function qt(){}function Tv(e,r){return typeof e=="function"?e(r):e}function Gf(e){return typeof e=="number"&&e>=0&&e!==1/0}function Kh(e,r){return Math.max(e+(r||0)-Date.now(),0)}function cs(e,r){return typeof e=="function"?e(r):e}function Kr(e,r){return typeof e=="function"?e(r):e}function Pp(e,r){const{type:o="all",exact:i,fetchStatus:a,predicate:d,queryKey:h,stale:y}=e;if(h){if(i){if(r.queryHash!==zd(h,r.options))return!1}else if(!_l(r.queryKey,h))return!1}if(o!=="all"){const m=r.isActive();if(o==="active"&&!m||o==="inactive"&&m)return!1}return!(typeof y=="boolean"&&r.isStale()!==y||a&&a!==r.state.fetchStatus||d&&!d(r))}function Ap(e,r){const{exact:o,status:i,predicate:a,mutationKey:d}=e;if(d){if(!r.options.mutationKey)return!1;if(o){if(ra(r.options.mutationKey)!==ra(d))return!1}else if(!_l(r.options.mutationKey,d))return!1}return!(i&&r.state.status!==i||a&&!a(r))}function zd(e,r){return((r==null?void 0:r.queryKeyHashFn)||ra)(e)}function ra(e){return JSON.stringify(e,(r,o)=>Xf(o)?Object.keys(o).sort().reduce((i,a)=>(i[a]=o[a],i),{}):o)}function _l(e,r){return e===r?!0:typeof e!=typeof r?!1:e&&r&&typeof e=="object"&&typeof r=="object"?Object.keys(r).every(o=>_l(e[o],r[o])):!1}function Qf(e,r){if(e===r)return e;const o=Ip(e)&&Ip(r);if(o||Xf(e)&&Xf(r)){const i=o?e:Object.keys(e),a=i.length,d=o?r:Object.keys(r),h=d.length,y=o?[]:{};let m=0;for(let x=0;x<h;x++){const R=o?x:d[x];(!o&&i.includes(R)||o)&&e[R]===void 0&&r[R]===void 0?(y[R]=void 0,m++):(y[R]=Qf(e[R],r[R]),y[R]===e[R]&&e[R]!==void 0&&m++)}return a===h&&m===a?e:y}return r}function Zu(e,r){if(!r||Object.keys(e).length!==Object.keys(r).length)return!1;for(const o in e)if(e[o]!==r[o])return!1;return!0}function Ip(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Xf(e){if(!Op(e))return!1;const r=e.constructor;if(r===void 0)return!0;const o=r.prototype;return!(!Op(o)||!o.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Op(e){return Object.prototype.toString.call(e)==="[object Object]"}function Rv(e){return new Promise(r=>{setTimeout(r,e)})}function qf(e,r,o){if(typeof o.structuralSharing=="function")return o.structuralSharing(e,r);if(o.structuralSharing!==!1){if(process.env.NODE_ENV!=="production")try{return Qf(e,r)}catch(i){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${o.queryHash}]: ${i}`),i}return Qf(e,r)}return r}function Pv(e,r,o=0){const i=[...e,r];return o&&i.length>o?i.slice(1):i}function Av(e,r,o=0){const i=[r,...e];return o&&i.length>o?i.slice(0,-1):i}var ec=Symbol();function Zh(e,r){return process.env.NODE_ENV!=="production"&&e.queryFn===ec&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&(r!=null&&r.initialPromise)?()=>r.initialPromise:!e.queryFn||e.queryFn===ec?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function em(e,r){return typeof e=="function"?e(...r):!!e}var Gi,Vo,ms,Mh,Iv=(Mh=class extends As{constructor(){super();Ie(this,Gi);Ie(this,Vo);Ie(this,ms);he(this,ms,r=>{if(!ta&&window.addEventListener){const o=()=>r();return window.addEventListener("visibilitychange",o,!1),()=>{window.removeEventListener("visibilitychange",o)}}})}onSubscribe(){O(this,Vo)||this.setEventListener(O(this,ms))}onUnsubscribe(){var r;this.hasListeners()||((r=O(this,Vo))==null||r.call(this),he(this,Vo,void 0))}setEventListener(r){var o;he(this,ms,r),(o=O(this,Vo))==null||o.call(this),he(this,Vo,r(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(r){O(this,Gi)!==r&&(he(this,Gi,r),this.onFocus())}onFocus(){const r=this.isFocused();this.listeners.forEach(o=>{o(r)})}isFocused(){var r;return typeof O(this,Gi)=="boolean"?O(this,Gi):((r=globalThis.document)==null?void 0:r.visibilityState)!=="hidden"}},Gi=new WeakMap,Vo=new WeakMap,ms=new WeakMap,Mh),Bd=new Iv,gs,Yo,vs,Dh,Ov=(Dh=class extends As{constructor(){super();Ie(this,gs,!0);Ie(this,Yo);Ie(this,vs);he(this,vs,r=>{if(!ta&&window.addEventListener){const o=()=>r(!0),i=()=>r(!1);return window.addEventListener("online",o,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",o),window.removeEventListener("offline",i)}}})}onSubscribe(){O(this,Yo)||this.setEventListener(O(this,vs))}onUnsubscribe(){var r;this.hasListeners()||((r=O(this,Yo))==null||r.call(this),he(this,Yo,void 0))}setEventListener(r){var o;he(this,vs,r),(o=O(this,Yo))==null||o.call(this),he(this,Yo,r(this.setOnline.bind(this)))}setOnline(r){O(this,gs)!==r&&(he(this,gs,r),this.listeners.forEach(i=>{i(r)}))}isOnline(){return O(this,gs)}},gs=new WeakMap,Yo=new WeakMap,vs=new WeakMap,Dh),tc=new Ov;function Jf(){let e,r;const o=new Promise((a,d)=>{e=a,r=d});o.status="pending",o.catch(()=>{});function i(a){Object.assign(o,a),delete o.resolve,delete o.reject}return o.resolve=a=>{i({status:"fulfilled",value:a}),e(a)},o.reject=a=>{i({status:"rejected",reason:a}),r(a)},o}function Fv(e){return Math.min(1e3*2**e,3e4)}function tm(e){return(e??"online")==="online"?tc.isOnline():!0}var rm=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Af(e){return e instanceof rm}function nm(e){let r=!1,o=0,i=!1,a;const d=Jf(),h=D=>{var P;i||(F(new rm(D)),(P=e.abort)==null||P.call(e))},y=()=>{r=!0},m=()=>{r=!1},x=()=>Bd.isFocused()&&(e.networkMode==="always"||tc.isOnline())&&e.canRun(),R=()=>tm(e.networkMode)&&e.canRun(),E=D=>{var P;i||(i=!0,(P=e.onSuccess)==null||P.call(e,D),a==null||a(),d.resolve(D))},F=D=>{var P;i||(i=!0,(P=e.onError)==null||P.call(e,D),a==null||a(),d.reject(D))},M=()=>new Promise(D=>{var P;a=I=>{(i||x())&&D(I)},(P=e.onPause)==null||P.call(e)}).then(()=>{var D;a=void 0,i||(D=e.onContinue)==null||D.call(e)}),B=()=>{if(i)return;let D;const P=o===0?e.initialPromise:void 0;try{D=P??e.fn()}catch(I){D=Promise.reject(I)}Promise.resolve(D).then(E).catch(I=>{var ie;if(i)return;const W=e.retry??(ta?0:3),U=e.retryDelay??Fv,Y=typeof U=="function"?U(o,I):U,_=W===!0||typeof W=="number"&&o<W||typeof W=="function"&&W(o,I);if(r||!_){F(I);return}o++,(ie=e.onFail)==null||ie.call(e,o,I),Rv(Y).then(()=>x()?void 0:M()).then(()=>{r?F(I):B()})})};return{promise:d,cancel:h,continue:()=>(a==null||a(),d),cancelRetry:y,continueRetry:m,canStart:R,start:()=>(R()?B():M().then(B),d)}}var Mv=e=>setTimeout(e,0);function Dv(){let e=[],r=0,o=y=>{y()},i=y=>{y()},a=Mv;const d=y=>{r?e.push(y):a(()=>{o(y)})},h=()=>{const y=e;e=[],y.length&&a(()=>{i(()=>{y.forEach(m=>{o(m)})})})};return{batch:y=>{let m;r++;try{m=y()}finally{r--,r||h()}return m},batchCalls:y=>(...m)=>{d(()=>{y(...m)})},schedule:d,setNotifyFunction:y=>{o=y},setBatchNotifyFunction:y=>{i=y},setScheduler:y=>{a=y}}}var yt=Dv(),Qi,_h,om=(_h=class{constructor(){Ie(this,Qi)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Gf(this.gcTime)&&he(this,Qi,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ta?1/0:5*60*1e3))}clearGcTimeout(){O(this,Qi)&&(clearTimeout(O(this,Qi)),he(this,Qi,void 0))}},Qi=new WeakMap,_h),ys,bs,Mr,Xi,Dt,Bl,qi,qr,qn,Lh,_v=(Lh=class extends om{constructor(r){super();Ie(this,qr);Ie(this,ys);Ie(this,bs);Ie(this,Mr);Ie(this,Xi);Ie(this,Dt);Ie(this,Bl);Ie(this,qi);he(this,qi,!1),he(this,Bl,r.defaultOptions),this.setOptions(r.options),this.observers=[],he(this,Xi,r.client),he(this,Mr,O(this,Xi).getQueryCache()),this.queryKey=r.queryKey,this.queryHash=r.queryHash,he(this,ys,Lv(this.options)),this.state=r.state??O(this,ys),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var r;return(r=O(this,Dt))==null?void 0:r.promise}setOptions(r){this.options={...O(this,Bl),...r},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&O(this,Mr).remove(this)}setData(r,o){const i=qf(this.state.data,r,this.options);return ze(this,qr,qn).call(this,{data:i,type:"success",dataUpdatedAt:o==null?void 0:o.updatedAt,manual:o==null?void 0:o.manual}),i}setState(r,o){ze(this,qr,qn).call(this,{type:"setState",state:r,setStateOptions:o})}cancel(r){var i,a;const o=(i=O(this,Dt))==null?void 0:i.promise;return(a=O(this,Dt))==null||a.cancel(r),o?o.then(qt).catch(qt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(O(this,ys))}isActive(){return this.observers.some(r=>Kr(r.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ec||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(r=>r.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(r=0){return this.state.isInvalidated||this.state.data===void 0||!Kh(this.state.dataUpdatedAt,r)}onFocus(){var o;const r=this.observers.find(i=>i.shouldFetchOnWindowFocus());r==null||r.refetch({cancelRefetch:!1}),(o=O(this,Dt))==null||o.continue()}onOnline(){var o;const r=this.observers.find(i=>i.shouldFetchOnReconnect());r==null||r.refetch({cancelRefetch:!1}),(o=O(this,Dt))==null||o.continue()}addObserver(r){this.observers.includes(r)||(this.observers.push(r),this.clearGcTimeout(),O(this,Mr).notify({type:"observerAdded",query:this,observer:r}))}removeObserver(r){this.observers.includes(r)&&(this.observers=this.observers.filter(o=>o!==r),this.observers.length||(O(this,Dt)&&(O(this,qi)?O(this,Dt).cancel({revert:!0}):O(this,Dt).cancelRetry()),this.scheduleGc()),O(this,Mr).notify({type:"observerRemoved",query:this,observer:r}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ze(this,qr,qn).call(this,{type:"invalidate"})}fetch(r,o){var m,x,R;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(o!=null&&o.cancelRefetch))this.cancel({silent:!0});else if(O(this,Dt))return O(this,Dt).continueRetry(),O(this,Dt).promise}if(r&&this.setOptions(r),!this.options.queryFn){const E=this.observers.find(F=>F.options.queryFn);E&&this.setOptions(E.options)}process.env.NODE_ENV!=="production"&&(Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const i=new AbortController,a=E=>{Object.defineProperty(E,"signal",{enumerable:!0,get:()=>(he(this,qi,!0),i.signal)})},d=()=>{const E=Zh(this.options,o),F={client:O(this,Xi),queryKey:this.queryKey,meta:this.meta};return a(F),he(this,qi,!1),this.options.persister?this.options.persister(E,F,this):E(F)},h={fetchOptions:o,options:this.options,queryKey:this.queryKey,client:O(this,Xi),state:this.state,fetchFn:d};a(h),(m=this.options.behavior)==null||m.onFetch(h,this),he(this,bs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((x=h.fetchOptions)==null?void 0:x.meta))&&ze(this,qr,qn).call(this,{type:"fetch",meta:(R=h.fetchOptions)==null?void 0:R.meta});const y=E=>{var F,M,B,D;Af(E)&&E.silent||ze(this,qr,qn).call(this,{type:"error",error:E}),Af(E)||((M=(F=O(this,Mr).config).onError)==null||M.call(F,E,this),(D=(B=O(this,Mr).config).onSettled)==null||D.call(B,this.state.data,E,this)),this.scheduleGc()};return he(this,Dt,nm({initialPromise:o==null?void 0:o.initialPromise,fn:h.fetchFn,abort:i.abort.bind(i),onSuccess:E=>{var F,M,B,D;if(E===void 0){process.env.NODE_ENV!=="production"&&console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),y(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(E)}catch(P){y(P);return}(M=(F=O(this,Mr).config).onSuccess)==null||M.call(F,E,this),(D=(B=O(this,Mr).config).onSettled)==null||D.call(B,E,this.state.error,this),this.scheduleGc()},onError:y,onFail:(E,F)=>{ze(this,qr,qn).call(this,{type:"failed",failureCount:E,error:F})},onPause:()=>{ze(this,qr,qn).call(this,{type:"pause"})},onContinue:()=>{ze(this,qr,qn).call(this,{type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode,canRun:()=>!0})),O(this,Dt).start()}},ys=new WeakMap,bs=new WeakMap,Mr=new WeakMap,Xi=new WeakMap,Dt=new WeakMap,Bl=new WeakMap,qi=new WeakMap,qr=new WeakSet,qn=function(r){const o=i=>{switch(r.type){case"failed":return{...i,fetchFailureCount:r.failureCount,fetchFailureReason:r.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...im(i.data,this.options),fetchMeta:r.meta??null};case"success":return{...i,data:r.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:r.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!r.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=r.error;return Af(a)&&a.revert&&O(this,bs)?{...O(this,bs),fetchStatus:"idle"}:{...i,error:a,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...r.state}}};this.state=o(this.state),yt.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),O(this,Mr).notify({query:this,type:"updated",action:r})})},Lh);function im(e,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:tm(r.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Lv(e){const r=typeof e.initialData=="function"?e.initialData():e.initialData,o=r!==void 0,i=o?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:o?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:o?"success":"pending",fetchStatus:"idle"}}var vn,jh,jv=(jh=class extends As{constructor(r={}){super();Ie(this,vn);this.config=r,he(this,vn,new Map)}build(r,o,i){const a=o.queryKey,d=o.queryHash??zd(a,o);let h=this.get(d);return h||(h=new _v({client:r,queryKey:a,queryHash:d,options:r.defaultQueryOptions(o),state:i,defaultOptions:r.getQueryDefaults(a)}),this.add(h)),h}add(r){O(this,vn).has(r.queryHash)||(O(this,vn).set(r.queryHash,r),this.notify({type:"added",query:r}))}remove(r){const o=O(this,vn).get(r.queryHash);o&&(r.destroy(),o===r&&O(this,vn).delete(r.queryHash),this.notify({type:"removed",query:r}))}clear(){yt.batch(()=>{this.getAll().forEach(r=>{this.remove(r)})})}get(r){return O(this,vn).get(r)}getAll(){return[...O(this,vn).values()]}find(r){const o={exact:!0,...r};return this.getAll().find(i=>Pp(o,i))}findAll(r={}){const o=this.getAll();return Object.keys(r).length>0?o.filter(i=>Pp(r,i)):o}notify(r){yt.batch(()=>{this.listeners.forEach(o=>{o(r)})})}onFocus(){yt.batch(()=>{this.getAll().forEach(r=>{r.onFocus()})})}onOnline(){yt.batch(()=>{this.getAll().forEach(r=>{r.onOnline()})})}},vn=new WeakMap,jh),yn,Qt,Ji,bn,Wo,Nh,Nv=(Nh=class extends om{constructor(r){super();Ie(this,bn);Ie(this,yn);Ie(this,Qt);Ie(this,Ji);this.mutationId=r.mutationId,he(this,Qt,r.mutationCache),he(this,yn,[]),this.state=r.state||am(),this.setOptions(r.options),this.scheduleGc()}setOptions(r){this.options=r,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(r){O(this,yn).includes(r)||(O(this,yn).push(r),this.clearGcTimeout(),O(this,Qt).notify({type:"observerAdded",mutation:this,observer:r}))}removeObserver(r){he(this,yn,O(this,yn).filter(o=>o!==r)),this.scheduleGc(),O(this,Qt).notify({type:"observerRemoved",mutation:this,observer:r})}optionalRemove(){O(this,yn).length||(this.state.status==="pending"?this.scheduleGc():O(this,Qt).remove(this))}continue(){var r;return((r=O(this,Ji))==null?void 0:r.continue())??this.execute(this.state.variables)}async execute(r){var d,h,y,m,x,R,E,F,M,B,D,P,I,W,U,Y,_,ie,fe,ne;const o=()=>{ze(this,bn,Wo).call(this,{type:"continue"})};he(this,Ji,nm({fn:()=>this.options.mutationFn?this.options.mutationFn(r):Promise.reject(new Error("No mutationFn found")),onFail:(ae,Fe)=>{ze(this,bn,Wo).call(this,{type:"failed",failureCount:ae,error:Fe})},onPause:()=>{ze(this,bn,Wo).call(this,{type:"pause"})},onContinue:o,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>O(this,Qt).canRun(this)}));const i=this.state.status==="pending",a=!O(this,Ji).canStart();try{if(i)o();else{ze(this,bn,Wo).call(this,{type:"pending",variables:r,isPaused:a}),await((h=(d=O(this,Qt).config).onMutate)==null?void 0:h.call(d,r,this));const Fe=await((m=(y=this.options).onMutate)==null?void 0:m.call(y,r));Fe!==this.state.context&&ze(this,bn,Wo).call(this,{type:"pending",context:Fe,variables:r,isPaused:a})}const ae=await O(this,Ji).start();return await((R=(x=O(this,Qt).config).onSuccess)==null?void 0:R.call(x,ae,r,this.state.context,this)),await((F=(E=this.options).onSuccess)==null?void 0:F.call(E,ae,r,this.state.context)),await((B=(M=O(this,Qt).config).onSettled)==null?void 0:B.call(M,ae,null,this.state.variables,this.state.context,this)),await((P=(D=this.options).onSettled)==null?void 0:P.call(D,ae,null,r,this.state.context)),ze(this,bn,Wo).call(this,{type:"success",data:ae}),ae}catch(ae){try{throw await((W=(I=O(this,Qt).config).onError)==null?void 0:W.call(I,ae,r,this.state.context,this)),await((Y=(U=this.options).onError)==null?void 0:Y.call(U,ae,r,this.state.context)),await((ie=(_=O(this,Qt).config).onSettled)==null?void 0:ie.call(_,void 0,ae,this.state.variables,this.state.context,this)),await((ne=(fe=this.options).onSettled)==null?void 0:ne.call(fe,void 0,ae,r,this.state.context)),ae}finally{ze(this,bn,Wo).call(this,{type:"error",error:ae})}}finally{O(this,Qt).runNext(this)}}},yn=new WeakMap,Qt=new WeakMap,Ji=new WeakMap,bn=new WeakSet,Wo=function(r){const o=i=>{switch(r.type){case"failed":return{...i,failureCount:r.failureCount,failureReason:r.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:r.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:r.isPaused,status:"pending",variables:r.variables,submittedAt:Date.now()};case"success":return{...i,data:r.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:r.error,failureCount:i.failureCount+1,failureReason:r.error,isPaused:!1,status:"error"}}};this.state=o(this.state),yt.batch(()=>{O(this,yn).forEach(i=>{i.onMutationUpdate(r)}),O(this,Qt).notify({mutation:this,type:"updated",action:r})})},Nh);function am(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Jn,Jr,Ul,$h,$v=($h=class extends As{constructor(r={}){super();Ie(this,Jn);Ie(this,Jr);Ie(this,Ul);this.config=r,he(this,Jn,new Set),he(this,Jr,new Map),he(this,Ul,0)}build(r,o,i){const a=new Nv({mutationCache:this,mutationId:++Nu(this,Ul)._,options:r.defaultMutationOptions(o),state:i});return this.add(a),a}add(r){O(this,Jn).add(r);const o=Hu(r);if(typeof o=="string"){const i=O(this,Jr).get(o);i?i.push(r):O(this,Jr).set(o,[r])}this.notify({type:"added",mutation:r})}remove(r){if(O(this,Jn).delete(r)){const o=Hu(r);if(typeof o=="string"){const i=O(this,Jr).get(o);if(i)if(i.length>1){const a=i.indexOf(r);a!==-1&&i.splice(a,1)}else i[0]===r&&O(this,Jr).delete(o)}}this.notify({type:"removed",mutation:r})}canRun(r){const o=Hu(r);if(typeof o=="string"){const i=O(this,Jr).get(o),a=i==null?void 0:i.find(d=>d.state.status==="pending");return!a||a===r}else return!0}runNext(r){var i;const o=Hu(r);if(typeof o=="string"){const a=(i=O(this,Jr).get(o))==null?void 0:i.find(d=>d!==r&&d.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){yt.batch(()=>{O(this,Jn).forEach(r=>{this.notify({type:"removed",mutation:r})}),O(this,Jn).clear(),O(this,Jr).clear()})}getAll(){return Array.from(O(this,Jn))}find(r){const o={exact:!0,...r};return this.getAll().find(i=>Ap(o,i))}findAll(r={}){return this.getAll().filter(o=>Ap(r,o))}notify(r){yt.batch(()=>{this.listeners.forEach(o=>{o(r)})})}resumePausedMutations(){const r=this.getAll().filter(o=>o.state.isPaused);return yt.batch(()=>Promise.all(r.map(o=>o.continue().catch(qt))))}},Jn=new WeakMap,Jr=new WeakMap,Ul=new WeakMap,$h);function Hu(e){var r;return(r=e.options.scope)==null?void 0:r.id}function Fp(e){return{onFetch:(r,o)=>{var R,E,F,M,B;const i=r.options,a=(F=(E=(R=r.fetchOptions)==null?void 0:R.meta)==null?void 0:E.fetchMore)==null?void 0:F.direction,d=((M=r.state.data)==null?void 0:M.pages)||[],h=((B=r.state.data)==null?void 0:B.pageParams)||[];let y={pages:[],pageParams:[]},m=0;const x=async()=>{let D=!1;const P=U=>{Object.defineProperty(U,"signal",{enumerable:!0,get:()=>(r.signal.aborted?D=!0:r.signal.addEventListener("abort",()=>{D=!0}),r.signal)})},I=Zh(r.options,r.fetchOptions),W=async(U,Y,_)=>{if(D)return Promise.reject();if(Y==null&&U.pages.length)return Promise.resolve(U);const ie={client:r.client,queryKey:r.queryKey,pageParam:Y,direction:_?"backward":"forward",meta:r.options.meta};P(ie);const fe=await I(ie),{maxPages:ne}=r.options,ae=_?Av:Pv;return{pages:ae(U.pages,fe,ne),pageParams:ae(U.pageParams,Y,ne)}};if(a&&d.length){const U=a==="backward",Y=U?zv:Mp,_={pages:d,pageParams:h},ie=Y(i,_);y=await W(_,ie,U)}else{const U=e??d.length;do{const Y=m===0?h[0]??i.initialPageParam:Mp(i,y);if(m>0&&Y==null)break;y=await W(y,Y),m++}while(m<U)}return y};r.options.persister?r.fetchFn=()=>{var D,P;return(P=(D=r.options).persister)==null?void 0:P.call(D,x,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},o)}:r.fetchFn=x}}}function Mp(e,{pages:r,pageParams:o}){const i=r.length-1;return r.length>0?e.getNextPageParam(r[i],r,o[i],o):void 0}function zv(e,{pages:r,pageParams:o}){var i;return r.length>0?(i=e.getPreviousPageParam)==null?void 0:i.call(e,r[0],r,o[0],o):void 0}var dt,Go,Qo,xs,ws,Xo,Ss,ks,zh,Bv=(zh=class{constructor(e={}){Ie(this,dt);Ie(this,Go);Ie(this,Qo);Ie(this,xs);Ie(this,ws);Ie(this,Xo);Ie(this,Ss);Ie(this,ks);he(this,dt,e.queryCache||new jv),he(this,Go,e.mutationCache||new $v),he(this,Qo,e.defaultOptions||{}),he(this,xs,new Map),he(this,ws,new Map),he(this,Xo,0)}mount(){Nu(this,Xo)._++,O(this,Xo)===1&&(he(this,Ss,Bd.subscribe(async e=>{e&&(await this.resumePausedMutations(),O(this,dt).onFocus())})),he(this,ks,tc.subscribe(async e=>{e&&(await this.resumePausedMutations(),O(this,dt).onOnline())})))}unmount(){var e,r;Nu(this,Xo)._--,O(this,Xo)===0&&((e=O(this,Ss))==null||e.call(this),he(this,Ss,void 0),(r=O(this,ks))==null||r.call(this),he(this,ks,void 0))}isFetching(e){return O(this,dt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return O(this,Go).findAll({...e,status:"pending"}).length}getQueryData(e){var o;const r=this.defaultQueryOptions({queryKey:e});return(o=O(this,dt).get(r.queryHash))==null?void 0:o.state.data}ensureQueryData(e){const r=this.defaultQueryOptions(e),o=O(this,dt).build(this,r),i=o.state.data;return i===void 0?this.fetchQuery(e):(e.revalidateIfStale&&o.isStaleByTime(cs(r.staleTime,o))&&this.prefetchQuery(r),Promise.resolve(i))}getQueriesData(e){return O(this,dt).findAll(e).map(({queryKey:r,state:o})=>{const i=o.data;return[r,i]})}setQueryData(e,r,o){const i=this.defaultQueryOptions({queryKey:e}),a=O(this,dt).get(i.queryHash),d=a==null?void 0:a.state.data,h=Tv(r,d);if(h!==void 0)return O(this,dt).build(this,i).setData(h,{...o,manual:!0})}setQueriesData(e,r,o){return yt.batch(()=>O(this,dt).findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,r,o)]))}getQueryState(e){var o;const r=this.defaultQueryOptions({queryKey:e});return(o=O(this,dt).get(r.queryHash))==null?void 0:o.state}removeQueries(e){const r=O(this,dt);yt.batch(()=>{r.findAll(e).forEach(o=>{r.remove(o)})})}resetQueries(e,r){const o=O(this,dt);return yt.batch(()=>(o.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...e},r)))}cancelQueries(e,r={}){const o={revert:!0,...r},i=yt.batch(()=>O(this,dt).findAll(e).map(a=>a.cancel(o)));return Promise.all(i).then(qt).catch(qt)}invalidateQueries(e,r={}){return yt.batch(()=>(O(this,dt).findAll(e).forEach(o=>{o.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},r)))}refetchQueries(e,r={}){const o={...r,cancelRefetch:r.cancelRefetch??!0},i=yt.batch(()=>O(this,dt).findAll(e).filter(a=>!a.isDisabled()).map(a=>{let d=a.fetch(void 0,o);return o.throwOnError||(d=d.catch(qt)),a.state.fetchStatus==="paused"?Promise.resolve():d}));return Promise.all(i).then(qt)}fetchQuery(e){const r=this.defaultQueryOptions(e);r.retry===void 0&&(r.retry=!1);const o=O(this,dt).build(this,r);return o.isStaleByTime(cs(r.staleTime,o))?o.fetch(r):Promise.resolve(o.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(qt).catch(qt)}fetchInfiniteQuery(e){return e.behavior=Fp(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(qt).catch(qt)}ensureInfiniteQueryData(e){return e.behavior=Fp(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return tc.isOnline()?O(this,Go).resumePausedMutations():Promise.resolve()}getQueryCache(){return O(this,dt)}getMutationCache(){return O(this,Go)}getDefaultOptions(){return O(this,Qo)}setDefaultOptions(e){he(this,Qo,e)}setQueryDefaults(e,r){O(this,xs).set(ra(e),{queryKey:e,defaultOptions:r})}getQueryDefaults(e){const r=[...O(this,xs).values()],o={};return r.forEach(i=>{_l(e,i.queryKey)&&Object.assign(o,i.defaultOptions)}),o}setMutationDefaults(e,r){O(this,ws).set(ra(e),{mutationKey:e,defaultOptions:r})}getMutationDefaults(e){const r=[...O(this,ws).values()],o={};return r.forEach(i=>{_l(e,i.mutationKey)&&Object.assign(o,i.defaultOptions)}),o}defaultQueryOptions(e){if(e._defaulted)return e;const r={...O(this,Qo).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return r.queryHash||(r.queryHash=zd(r.queryKey,r)),r.refetchOnReconnect===void 0&&(r.refetchOnReconnect=r.networkMode!=="always"),r.throwOnError===void 0&&(r.throwOnError=!!r.suspense),!r.networkMode&&r.persister&&(r.networkMode="offlineFirst"),r.queryFn===ec&&(r.enabled=!1),r}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...O(this,Qo).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){O(this,dt).clear(),O(this,Go).clear()}},dt=new WeakMap,Go=new WeakMap,Qo=new WeakMap,xs=new WeakMap,ws=new WeakMap,Xo=new WeakMap,Ss=new WeakMap,ks=new WeakMap,zh),lr,Ve,Hl,Xt,Ki,Es,qo,Jo,Wl,Cs,Ts,Zi,ea,Ko,Rs,Ze,Pl,Kf,Zf,ed,td,rd,nd,od,sm,Bh,Uv=(Bh=class extends As{constructor(r,o){super();Ie(this,Ze);Ie(this,lr);Ie(this,Ve);Ie(this,Hl);Ie(this,Xt);Ie(this,Ki);Ie(this,Es);Ie(this,qo);Ie(this,Jo);Ie(this,Wl);Ie(this,Cs);Ie(this,Ts);Ie(this,Zi);Ie(this,ea);Ie(this,Ko);Ie(this,Rs,new Set);this.options=o,he(this,lr,r),he(this,Jo,null),he(this,qo,Jf()),this.options.experimental_prefetchInRender||O(this,qo).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(o)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(O(this,Ve).addObserver(this),Dp(O(this,Ve),this.options)?ze(this,Ze,Pl).call(this):this.updateResult(),ze(this,Ze,td).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return id(O(this,Ve),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return id(O(this,Ve),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,ze(this,Ze,rd).call(this),ze(this,Ze,nd).call(this),O(this,Ve).removeObserver(this)}setOptions(r){const o=this.options,i=O(this,Ve);if(this.options=O(this,lr).defaultQueryOptions(r),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Kr(this.options.enabled,O(this,Ve))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");ze(this,Ze,od).call(this),O(this,Ve).setOptions(this.options),o._defaulted&&!Zu(this.options,o)&&O(this,lr).getQueryCache().notify({type:"observerOptionsUpdated",query:O(this,Ve),observer:this});const a=this.hasListeners();a&&_p(O(this,Ve),i,this.options,o)&&ze(this,Ze,Pl).call(this),this.updateResult(),a&&(O(this,Ve)!==i||Kr(this.options.enabled,O(this,Ve))!==Kr(o.enabled,O(this,Ve))||cs(this.options.staleTime,O(this,Ve))!==cs(o.staleTime,O(this,Ve)))&&ze(this,Ze,Kf).call(this);const d=ze(this,Ze,Zf).call(this);a&&(O(this,Ve)!==i||Kr(this.options.enabled,O(this,Ve))!==Kr(o.enabled,O(this,Ve))||d!==O(this,Ko))&&ze(this,Ze,ed).call(this,d)}getOptimisticResult(r){const o=O(this,lr).getQueryCache().build(O(this,lr),r),i=this.createResult(o,r);return Wv(this,i)&&(he(this,Xt,i),he(this,Es,this.options),he(this,Ki,O(this,Ve).state)),i}getCurrentResult(){return O(this,Xt)}trackResult(r,o){return new Proxy(r,{get:(i,a)=>(this.trackProp(a),o==null||o(a),Reflect.get(i,a))})}trackProp(r){O(this,Rs).add(r)}getCurrentQuery(){return O(this,Ve)}refetch({...r}={}){return this.fetch({...r})}fetchOptimistic(r){const o=O(this,lr).defaultQueryOptions(r),i=O(this,lr).getQueryCache().build(O(this,lr),o);return i.fetch().then(()=>this.createResult(i,o))}fetch(r){return ze(this,Ze,Pl).call(this,{...r,cancelRefetch:r.cancelRefetch??!0}).then(()=>(this.updateResult(),O(this,Xt)))}createResult(r,o){var ae;const i=O(this,Ve),a=this.options,d=O(this,Xt),h=O(this,Ki),y=O(this,Es),x=r!==i?r.state:O(this,Hl),{state:R}=r;let E={...R},F=!1,M;if(o._optimisticResults){const Fe=this.hasListeners(),Ne=!Fe&&Dp(r,o),_e=Fe&&_p(r,i,o,a);(Ne||_e)&&(E={...E,...im(R.data,r.options)}),o._optimisticResults==="isRestoring"&&(E.fetchStatus="idle")}let{error:B,errorUpdatedAt:D,status:P}=E;M=E.data;let I=!1;if(o.placeholderData!==void 0&&M===void 0&&P==="pending"){let Fe;d!=null&&d.isPlaceholderData&&o.placeholderData===(y==null?void 0:y.placeholderData)?(Fe=d.data,I=!0):Fe=typeof o.placeholderData=="function"?o.placeholderData((ae=O(this,Ts))==null?void 0:ae.state.data,O(this,Ts)):o.placeholderData,Fe!==void 0&&(P="success",M=qf(d==null?void 0:d.data,Fe,o),F=!0)}if(o.select&&M!==void 0&&!I)if(d&&M===(h==null?void 0:h.data)&&o.select===O(this,Wl))M=O(this,Cs);else try{he(this,Wl,o.select),M=o.select(M),M=qf(d==null?void 0:d.data,M,o),he(this,Cs,M),he(this,Jo,null)}catch(Fe){he(this,Jo,Fe)}O(this,Jo)&&(B=O(this,Jo),M=O(this,Cs),D=Date.now(),P="error");const W=E.fetchStatus==="fetching",U=P==="pending",Y=P==="error",_=U&&W,ie=M!==void 0,ne={status:P,fetchStatus:E.fetchStatus,isPending:U,isSuccess:P==="success",isError:Y,isInitialLoading:_,isLoading:_,data:M,dataUpdatedAt:E.dataUpdatedAt,error:B,errorUpdatedAt:D,failureCount:E.fetchFailureCount,failureReason:E.fetchFailureReason,errorUpdateCount:E.errorUpdateCount,isFetched:E.dataUpdateCount>0||E.errorUpdateCount>0,isFetchedAfterMount:E.dataUpdateCount>x.dataUpdateCount||E.errorUpdateCount>x.errorUpdateCount,isFetching:W,isRefetching:W&&!U,isLoadingError:Y&&!ie,isPaused:E.fetchStatus==="paused",isPlaceholderData:F,isRefetchError:Y&&ie,isStale:Ud(r,o),refetch:this.refetch,promise:O(this,qo)};if(this.options.experimental_prefetchInRender){const Fe=Ge=>{ne.status==="error"?Ge.reject(ne.error):ne.data!==void 0&&Ge.resolve(ne.data)},Ne=()=>{const Ge=he(this,qo,ne.promise=Jf());Fe(Ge)},_e=O(this,qo);switch(_e.status){case"pending":r.queryHash===i.queryHash&&Fe(_e);break;case"fulfilled":(ne.status==="error"||ne.data!==_e.value)&&Ne();break;case"rejected":(ne.status!=="error"||ne.error!==_e.reason)&&Ne();break}}return ne}updateResult(){const r=O(this,Xt),o=this.createResult(O(this,Ve),this.options);if(he(this,Ki,O(this,Ve).state),he(this,Es,this.options),O(this,Ki).data!==void 0&&he(this,Ts,O(this,Ve)),Zu(o,r))return;he(this,Xt,o);const i=()=>{if(!r)return!0;const{notifyOnChangeProps:a}=this.options,d=typeof a=="function"?a():a;if(d==="all"||!d&&!O(this,Rs).size)return!0;const h=new Set(d??O(this,Rs));return this.options.throwOnError&&h.add("error"),Object.keys(O(this,Xt)).some(y=>{const m=y;return O(this,Xt)[m]!==r[m]&&h.has(m)})};ze(this,Ze,sm).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&ze(this,Ze,td).call(this)}},lr=new WeakMap,Ve=new WeakMap,Hl=new WeakMap,Xt=new WeakMap,Ki=new WeakMap,Es=new WeakMap,qo=new WeakMap,Jo=new WeakMap,Wl=new WeakMap,Cs=new WeakMap,Ts=new WeakMap,Zi=new WeakMap,ea=new WeakMap,Ko=new WeakMap,Rs=new WeakMap,Ze=new WeakSet,Pl=function(r){ze(this,Ze,od).call(this);let o=O(this,Ve).fetch(this.options,r);return r!=null&&r.throwOnError||(o=o.catch(qt)),o},Kf=function(){ze(this,Ze,rd).call(this);const r=cs(this.options.staleTime,O(this,Ve));if(ta||O(this,Xt).isStale||!Gf(r))return;const i=Kh(O(this,Xt).dataUpdatedAt,r)+1;he(this,Zi,setTimeout(()=>{O(this,Xt).isStale||this.updateResult()},i))},Zf=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(O(this,Ve)):this.options.refetchInterval)??!1},ed=function(r){ze(this,Ze,nd).call(this),he(this,Ko,r),!(ta||Kr(this.options.enabled,O(this,Ve))===!1||!Gf(O(this,Ko))||O(this,Ko)===0)&&he(this,ea,setInterval(()=>{(this.options.refetchIntervalInBackground||Bd.isFocused())&&ze(this,Ze,Pl).call(this)},O(this,Ko)))},td=function(){ze(this,Ze,Kf).call(this),ze(this,Ze,ed).call(this,ze(this,Ze,Zf).call(this))},rd=function(){O(this,Zi)&&(clearTimeout(O(this,Zi)),he(this,Zi,void 0))},nd=function(){O(this,ea)&&(clearInterval(O(this,ea)),he(this,ea,void 0))},od=function(){const r=O(this,lr).getQueryCache().build(O(this,lr),this.options);if(r===O(this,Ve))return;const o=O(this,Ve);he(this,Ve,r),he(this,Hl,r.state),this.hasListeners()&&(o==null||o.removeObserver(this),r.addObserver(this))},sm=function(r){yt.batch(()=>{r.listeners&&this.listeners.forEach(o=>{o(O(this,Xt))}),O(this,lr).getQueryCache().notify({query:O(this,Ve),type:"observerResultsUpdated"})})},Bh);function Hv(e,r){return Kr(r.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&r.retryOnMount===!1)}function Dp(e,r){return Hv(e,r)||e.state.data!==void 0&&id(e,r,r.refetchOnMount)}function id(e,r,o){if(Kr(r.enabled,e)!==!1){const i=typeof o=="function"?o(e):o;return i==="always"||i!==!1&&Ud(e,r)}return!1}function _p(e,r,o,i){return(e!==r||Kr(i.enabled,e)===!1)&&(!o.suspense||e.state.status!=="error")&&Ud(e,o)}function Ud(e,r){return Kr(r.enabled,e)!==!1&&e.isStaleByTime(cs(r.staleTime,e))}function Wv(e,r){return!Zu(e.getCurrentResult(),r)}var Zo,ei,ur,Kn,eo,Xu,ad,Uh,Vv=(Uh=class extends As{constructor(o,i){super();Ie(this,eo);Ie(this,Zo);Ie(this,ei);Ie(this,ur);Ie(this,Kn);he(this,Zo,o),this.setOptions(i),this.bindMethods(),ze(this,eo,Xu).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(o){var a;const i=this.options;this.options=O(this,Zo).defaultMutationOptions(o),Zu(this.options,i)||O(this,Zo).getMutationCache().notify({type:"observerOptionsUpdated",mutation:O(this,ur),observer:this}),i!=null&&i.mutationKey&&this.options.mutationKey&&ra(i.mutationKey)!==ra(this.options.mutationKey)?this.reset():((a=O(this,ur))==null?void 0:a.state.status)==="pending"&&O(this,ur).setOptions(this.options)}onUnsubscribe(){var o;this.hasListeners()||(o=O(this,ur))==null||o.removeObserver(this)}onMutationUpdate(o){ze(this,eo,Xu).call(this),ze(this,eo,ad).call(this,o)}getCurrentResult(){return O(this,ei)}reset(){var o;(o=O(this,ur))==null||o.removeObserver(this),he(this,ur,void 0),ze(this,eo,Xu).call(this),ze(this,eo,ad).call(this)}mutate(o,i){var a;return he(this,Kn,i),(a=O(this,ur))==null||a.removeObserver(this),he(this,ur,O(this,Zo).getMutationCache().build(O(this,Zo),this.options)),O(this,ur).addObserver(this),O(this,ur).execute(o)}},Zo=new WeakMap,ei=new WeakMap,ur=new WeakMap,Kn=new WeakMap,eo=new WeakSet,Xu=function(){var i;const o=((i=O(this,ur))==null?void 0:i.state)??am();he(this,ei,{...o,isPending:o.status==="pending",isSuccess:o.status==="success",isError:o.status==="error",isIdle:o.status==="idle",mutate:this.mutate,reset:this.reset})},ad=function(o){yt.batch(()=>{var i,a,d,h,y,m,x,R;if(O(this,Kn)&&this.hasListeners()){const E=O(this,ei).variables,F=O(this,ei).context;(o==null?void 0:o.type)==="success"?((a=(i=O(this,Kn)).onSuccess)==null||a.call(i,o.data,E,F),(h=(d=O(this,Kn)).onSettled)==null||h.call(d,o.data,null,E,F)):(o==null?void 0:o.type)==="error"&&((m=(y=O(this,Kn)).onError)==null||m.call(y,o.error,E,F),(R=(x=O(this,Kn)).onSettled)==null||R.call(x,void 0,o.error,E,F))}this.listeners.forEach(E=>{E(O(this,ei))})})},Uh),lm=de.createContext(void 0),um=e=>{const r=de.useContext(lm);if(e)return e;if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r},Yv=({client:e,children:r})=>(de.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),X.jsx(lm.Provider,{value:e,children:r})),cm=de.createContext(!1),Gv=()=>de.useContext(cm);cm.Provider;function Qv(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var Xv=de.createContext(Qv()),qv=()=>de.useContext(Xv),Jv=(e,r)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(r.isReset()||(e.retryOnMount=!1))},Kv=e=>{de.useEffect(()=>{e.clearReset()},[e])},Zv=({result:e,errorResetBoundary:r,throwOnError:o,query:i,suspense:a})=>e.isError&&!r.isReset()&&!e.isFetching&&i&&(a&&e.data===void 0||em(o,[e.error,i])),ey=e=>{const r=e.staleTime;e.suspense&&(e.staleTime=typeof r=="function"?(...o)=>Math.max(r(...o),1e3):Math.max(r??1e3,1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},ty=(e,r)=>e.isLoading&&e.isFetching&&!r,ry=(e,r)=>(e==null?void 0:e.suspense)&&r.isPending,Lp=(e,r,o)=>r.fetchOptimistic(e).catch(()=>{o.clearReset()});function ny(e,r,o){var E,F,M,B,D;if(process.env.NODE_ENV!=="production"&&(typeof e!="object"||Array.isArray(e)))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const i=um(o),a=Gv(),d=qv(),h=i.defaultQueryOptions(e);(F=(E=i.getDefaultOptions().queries)==null?void 0:E._experimental_beforeQuery)==null||F.call(E,h),process.env.NODE_ENV!=="production"&&(h.queryFn||console.error(`[${h.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`)),h._optimisticResults=a?"isRestoring":"optimistic",ey(h),Jv(h,d),Kv(d);const y=!i.getQueryCache().get(h.queryHash),[m]=de.useState(()=>new r(i,h)),x=m.getOptimisticResult(h),R=!a&&e.subscribed!==!1;if(de.useSyncExternalStore(de.useCallback(P=>{const I=R?m.subscribe(yt.batchCalls(P)):qt;return m.updateResult(),I},[m,R]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),de.useEffect(()=>{m.setOptions(h)},[h,m]),ry(h,x))throw Lp(h,m,d);if(Zv({result:x,errorResetBoundary:d,throwOnError:h.throwOnError,query:i.getQueryCache().get(h.queryHash),suspense:h.suspense}))throw x.error;if((B=(M=i.getDefaultOptions().queries)==null?void 0:M._experimental_afterQuery)==null||B.call(M,h,x),h.experimental_prefetchInRender&&!ta&&ty(x,a)){const P=y?Lp(h,m,d):(D=i.getQueryCache().get(h.queryHash))==null?void 0:D.promise;P==null||P.catch(qt).finally(()=>{m.updateResult()})}return h.notifyOnChangeProps?x:m.trackResult(x)}function Hd(e,r){return ny(e,Uv,r)}function fm(e,r){const o=um(r),[i]=de.useState(()=>new Vv(o,e));de.useEffect(()=>{i.setOptions(e)},[i,e]);const a=de.useSyncExternalStore(de.useCallback(h=>i.subscribe(yt.batchCalls(h)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),d=de.useCallback((h,y)=>{i.mutate(h,y).catch(qt)},[i]);if(a.error&&em(i.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:d,mutateAsync:a.mutate}}const Wd=V.createContext(null);Wd.Provider;const Is=()=>V.useContext(Wd),dm=({children:e})=>{const[r]=V.useState(new Bv);return console.log("Confidence Playbook Context Initialized"),X.jsx(Wd.Provider,{value:{queryClient:r},children:X.jsx(Yv,{client:r,children:e})})},ut={OPEN:"Open",IN_PROGRESS:"In progress",IN_REVIEW:"In review",COMPLETED:"Completed"},pm="https://marketplace.confidence.com/api",Vl=pm+"/confidence",jp=pm+"/dropbox/prod",oy=async e=>{const r={taskInstanceId:e},o=new Headers;return o.append("Content-Type","application/json"),await(await fetch(`${Vl}/playbook-task-complete`,{method:"POST",headers:o,body:JSON.stringify(r)})).json()},iy=()=>{const{queryClient:e}=Is(),r=fm({mutationFn:async i=>oy(i)},e);return{completeTask:async i=>r.mutateAsync(i,{onSuccess:()=>{console.log("Task completed successfully")},onError:a=>{console.error("Error completing task:",a)}}),...r}},ay=async e=>{const r={taskInstanceId:e},o=new Headers;o.append("Content-Type","application/json");const a=await(await fetch(`${Vl}/playbook-task-start`,{method:"POST",headers:o,body:JSON.stringify(r)})).json();return console.log({data:a}),a},sy=()=>{const{queryClient:e}=Is(),r=fm({mutationFn:async i=>{const a=await ay(i);return console.log(a),a}},e);return{startTask:i=>r.mutateAsync(i,{onSuccess:()=>{console.log("Task started successfully")},onError:a=>{console.error("Error starting task:",a)}}),...r}},hm=(e,r)=>{const{queryClient:o}=Is(),i=Hd({initialData:{},queryFn:()=>o.getQueryData(["PLAYBOOK_EXPANDED_TASKS",+e]),queryKey:["PLAYBOOK_EXPANDED_TASKS",+e]}),a=h=>{var y;return((y=i.data)==null?void 0:y[h.toString()])??!1};return{isTaskExpanded:a,toggleTaskExpanded:(h,y)=>{var m;o.setQueryData(["PLAYBOOK_EXPANDED_TASKS",+e],()=>({[h]:y!==void 0?y:!a(h)})),(m=r==null?void 0:r.onTaskExpanded)==null||m.call(r,h,a(h))}}},ly=(e,r)=>{const{queryClient:o}=Is(),{completeTask:i}=iy(),{startTask:a}=sy(),{toggleTaskExpanded:d}=hm(e);return{completeTask:async(m,x)=>{const{status:R}=await i(m.toString());R&&(d(m,!1),o.setQueryData(["playbook",+e],E=>{if(!E)return E;const F=E.tasks.map(M=>M.sequenceOrder===x+1&&r.quickComplete?{...M,workflowStatus:ut.IN_PROGRESS}:M.taskInstanceId===m?{...M,workflowStatus:R}:M);return{...E,tasks:F}}))},startTask:async m=>{const{status:x}=await a(m.toString());x&&(d(m,!0),o.setQueryData(["playbook",+e],R=>{if(!R)return R;const E=R.tasks.map(F=>F.taskInstanceId===m?{...F,workflowStatus:x}:F);return{...R,tasks:E}}))}}},uy=e=>{var a;const{queryClient:r}=Is(),o=Hd({queryFn:async()=>{const d=new Headers,h=await fetch(`${Vl}/playbook-details`,{method:"POST",cache:"no-store",headers:d,body:JSON.stringify({playbookInstanceId:+e,start:0,limit:50})});if(!h.ok)throw new Error("Network response was not ok");const y=await h.json();if(y.error)throw new Error(y.error);return y},queryKey:["playbook",+e]},r),i=ly(e,{quickComplete:(a=o.data)==null?void 0:a.quickComplete});return{playbook:o.data,isLoading:o.isLoading,error:o.error,actions:i}},Il={START:"START",PAUSE:"PAUSE",COMPLETE:"COMPLETE"},cy={START:"Start",PAUSE:"Pause",RESUME:"Resume",COMPLETE:"Complete"},fy=e=>{const{taskStatus:r,canStart:o}=e;return{buttons:V.useMemo(()=>r===ut.OPEN&&o?[Il.START]:r===ut.IN_PROGRESS?[Il.PAUSE,Il.COMPLETE]:r===ut.COMPLETED?[]:[],[e.taskStatus,e.canStart])}},mm=async e=>{const r=new Headers;r.append("Content-Type","application/json");const i=await(await fetch(`${Vl}/playbook-initiate`,{method:"POST",headers:r,body:JSON.stringify(e)})).json();return console.log({data:i}),i},Vd='/*! tailwindcss v4.1.4 | MIT License | https://tailwindcss.com */@layer properties{*{--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial}@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(63.7% .237 25.331);--spacing:.25rem;--container-md:28rem;--container-lg:32rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-bold:700;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none!important}.absolute{position:absolute!important}.fixed{position:fixed!important}.relative{position:relative!important}.sticky{position:sticky!important}.inset-0{inset:calc(var(--spacing)*0)!important}.top-0{top:calc(var(--spacing)*0)!important}.top-3{top:calc(var(--spacing)*3)!important}.bottom-0{bottom:calc(var(--spacing)*0)!important}.z-2{z-index:2!important}.z-50{z-index:50!important}.z-\\[99999999999999\\]{z-index:2147483647!important}.container{width:100%!important}@media (min-width:40rem){.container{max-width:40rem!important}}@media (min-width:48rem){.container{max-width:48rem!important}}@media (min-width:64rem){.container{max-width:64rem!important}}@media (min-width:80rem){.container{max-width:80rem!important}}@media (min-width:96rem){.container{max-width:96rem!important}}.mx-1{margin-inline:calc(var(--spacing)*1)!important}.mx-4{margin-inline:calc(var(--spacing)*4)!important}.-mt-\\[1px\\]{margin-top:-1px!important}.mt-3{margin-top:calc(var(--spacing)*3)!important}.-mb-3{margin-bottom:calc(var(--spacing)*-3)!important}.mb-4{margin-bottom:calc(var(--spacing)*4)!important}.ml-2{margin-left:calc(var(--spacing)*2)!important}.block{display:block!important}.flex{display:flex!important}.hidden{display:none!important}.size-4{width:calc(var(--spacing)*4)!important;height:calc(var(--spacing)*4)!important}.size-9{width:calc(var(--spacing)*9)!important;height:calc(var(--spacing)*9)!important}.h-\\[18px\\]{height:18px!important}.h-\\[22px\\]{height:22px!important}.h-\\[24px\\]{height:24px!important}.h-\\[30px\\]{height:30px!important}.h-\\[38px\\]{height:38px!important}.h-\\[40px\\]{height:40px!important}.h-full{height:100%!important}.min-h-16{min-height:calc(var(--spacing)*16)!important}.min-h-screen{min-height:100vh!important}.w-\\[27px\\]{width:27px!important}.w-\\[38px\\]{width:38px!important}.w-\\[400px\\]{width:400px!important}.w-full{width:100%!important}.w-screen{width:100vw!important}.max-w-lg{max-width:var(--container-lg)!important}.max-w-md{max-width:var(--container-md)!important}.min-w-\\[106px\\]{min-width:106px!important}.min-w-\\[140px\\]{min-width:140px!important}.min-w-\\[160px\\]{min-width:160px!important}.min-w-\\[172px\\]{min-width:172px!important}.min-w-fit{min-width:fit-content!important}.flex-1{flex:1!important}.rotate-180{rotate:180deg!important}.cursor-pointer{cursor:pointer!important}.resize{resize:both!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.items-stretch{align-items:stretch!important}.justify-center{justify-content:center!important}.justify-end{justify-content:flex-end!important}.gap-1{gap:calc(var(--spacing)*1)!important}.gap-2{gap:calc(var(--spacing)*2)!important}.gap-3{gap:calc(var(--spacing)*3)!important}.gap-4{gap:calc(var(--spacing)*4)!important}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))!important}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))!important}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0!important;margin-inline-start:calc(calc(var(--spacing)*1)*var(--tw-space-x-reverse))!important;margin-inline-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-x-reverse)))!important}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0!important;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse))!important;margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))!important}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0!important;border-bottom-style:var(--tw-border-style)!important;border-top-style:var(--tw-border-style)!important;border-top-width:calc(1px*var(--tw-divide-y-reverse))!important;border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))!important}:where(.divide-black\\/10>:not(:last-child)){border-color:oklab(0% none none/.1) oklab(0% none none/.1) oklab(0% none none/.1) oklab(0% none none/.1)!important}:where(.divide-gray-100>:not(:last-child)){border-color:#ebedef!important}.self-end{align-self:flex-end!important}.truncate{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}.overflow-hidden{overflow:hidden!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-y-auto{overflow-y:auto!important}.rounded{border-radius:.25rem!important}.rounded-lg{border-radius:var(--radius-lg)!important}.rounded-md{border-radius:var(--radius-md)!important}.rounded-sm{border-radius:var(--radius-sm)!important}.rounded-t-sm{border-top-left-radius:var(--radius-sm)!important;border-top-right-radius:var(--radius-sm)!important}.rounded-l-sm{border-top-left-radius:var(--radius-sm)!important;border-bottom-left-radius:var(--radius-sm)!important}.rounded-b-md{border-bottom-right-radius:var(--radius-md)!important;border-bottom-left-radius:var(--radius-md)!important}.border{border-style:var(--tw-border-style)!important;border-width:1px!important}.border-t{border-top-style:var(--tw-border-style)!important;border-top-width:1px!important}.border-b{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important}.border-none{--tw-border-style:none!important;border-style:none!important}.border-\\[\\#94C8FF\\]{border-color:#94c8ff!important}.border-\\[\\#A5DAB1\\]{border-color:#a5dab1!important}.border-\\[\\#C1C5C8\\]{border-color:#c1c5c8!important}.border-black\\/10{border-color:oklab(0% none none/.1) oklab(0% none none/.1) oklab(0% none none/.1) oklab(0% none none/.1)!important}.border-danger-500{border-color:#dc3545!important}.border-gray-50{border-color:#f5f6f7!important}.border-gray-100{border-color:#ebedef!important}.border-gray-200{border-color:#ced1d6!important}.border-gray-300{border-color:#b0b5bd!important}.border-gray-400{border-color:#757e8c!important}.border-gray-700{border-color:#2c3544!important}.border-gray-800{border-color:#232b37!important}.border-info-500{border-color:#17a2b8!important}.border-orange-500{border-color:#ff7800!important}.border-primary-600{border-color:#0069d9!important}.border-purple-500{border-color:#a855f7!important}.border-red-500{border-color:var(--color-red-500)!important}.border-secondary-500{border-color:#6c757d!important}.border-secondary-600{border-color:#5a6268!important}.border-steel-500{border-color:#556987!important}.border-success-600{border-color:#218838!important}.border-warning-500{border-color:#ffc107!important}.border-white{border-color:#fff!important}.bg-\\[\\#E6F2FF\\]{background-color:#e6f2ff!important}.bg-\\[\\#EAF6EC\\]{background-color:#eaf6ec!important}.bg-\\[\\#F0F1F2\\]{background-color:#f0f1f2!important}.bg-\\[\\#FFE600\\]{background-color:#ffe600!important}.bg-black\\/30{background-color:oklab(0% none none/.3)!important}.bg-danger-500{background-color:#dc3545!important}.bg-dark{background-color:#1c232d!important}.bg-fiserv-orange-500{background-color:#f60!important}.bg-gray-50{background-color:#f5f6f7!important}.bg-gray-100{background-color:#ebedef!important}.bg-gray-400{background-color:#757e8c!important}.bg-gray-500{background-color:#3a475b!important}.bg-gray-800{background-color:#232b37!important}.bg-gray-900{background-color:#1c232d!important}.bg-info-500{background-color:#17a2b8!important}.bg-orange-500{background-color:#ff7800!important}.bg-primary-600{background-color:#0069d9!important}.bg-primary-800{background-color:#0054af!important}.bg-purple-500{background-color:#a855f7!important}.bg-secondary-500{background-color:#6c757d!important}.bg-steel-500{background-color:#556987!important}.bg-success-500{background-color:#28a745!important}.bg-success-600{background-color:#218838!important}.bg-warning-500{background-color:#ffc107!important}.bg-white{background-color:#fff!important}.bg-yellow{background-color:#ffe600!important}.object-contain{object-fit:contain!important}.p-1{padding:calc(var(--spacing)*1)!important}.p-2{padding:calc(var(--spacing)*2)!important}.p-4{padding:calc(var(--spacing)*4)!important}.px-1{padding-inline:calc(var(--spacing)*1)!important}.px-2{padding-inline:calc(var(--spacing)*2)!important}.px-3{padding-inline:calc(var(--spacing)*3)!important}.px-4{padding-inline:calc(var(--spacing)*4)!important}.px-\\[2px\\]{padding-inline:2px!important}.py-1{padding-block:calc(var(--spacing)*1)!important}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)!important}.pt-2{padding-top:calc(var(--spacing)*2)!important}.pr-2{padding-right:calc(var(--spacing)*2)!important}.pb-1{padding-bottom:calc(var(--spacing)*1)!important}.pb-2{padding-bottom:calc(var(--spacing)*2)!important}.text-center{text-align:center!important}.text-2xl{font-size:var(--text-2xl)!important;line-height:var(--tw-leading,var(--text-2xl--line-height))!important}.text-base{font-size:var(--text-base)!important;line-height:var(--tw-leading,var(--text-base--line-height))!important}.text-lg{font-size:var(--text-lg)!important;line-height:var(--tw-leading,var(--text-lg--line-height))!important}.text-sm{font-size:var(--text-sm)!important;line-height:var(--tw-leading,var(--text-sm--line-height))!important}.text-sm\\/6{font-size:var(--text-sm)!important;line-height:calc(var(--spacing)*6)!important}.text-xl{font-size:var(--text-xl)!important;line-height:var(--tw-leading,var(--text-xl--line-height))!important}.text-xs{font-size:var(--text-xs)!important;line-height:var(--tw-leading,var(--text-xs--line-height))!important}.leading-\\[18px\\]{--tw-leading:18px!important;line-height:18px!important}.leading-\\[22px\\]{--tw-leading:22px!important;line-height:22px!important}.leading-\\[24px\\]{--tw-leading:24px!important;line-height:24px!important}.font-bold{--tw-font-weight:var(--font-weight-bold)!important;font-weight:var(--font-weight-bold)!important}.font-medium{--tw-font-weight:var(--font-weight-medium)!important;font-weight:var(--font-weight-medium)!important}.font-normal{--tw-font-weight:var(--font-weight-normal)!important;font-weight:var(--font-weight-normal)!important}.whitespace-nowrap{white-space:nowrap!important}.text-\\[\\#0069D9\\]{color:#0069d9!important}.text-black{color:#000!important}.text-danger-500{color:#dc3545!important}.text-dark{color:#1c232d!important}.text-dark-300{color:#343a40!important}.text-fiserv-orange-500{color:#f60!important}.text-gray-50{color:#f5f6f7!important}.text-gray-200{color:#ced1d6!important}.text-gray-400{color:#757e8c!important}.text-gray-500{color:#3a475b!important}.text-gray-700{color:#2c3544!important}.text-gray-800{color:#232b37!important}.text-gray-900{color:#1c232d!important}.text-info-500{color:#17a2b8!important}.text-orange-500{color:#ff7800!important}.text-primary-600{color:#0069d9!important}.text-purple-500{color:#a855f7!important}.text-secondary{color:#6c757d!important}.text-secondary-400{color:#899197!important}.text-secondary-500{color:#6c757d!important}.text-secondary-600{color:#5a6268!important}.text-steel-500{color:#556987!important}.text-success-500{color:#28a745!important}.text-success-600{color:#218838!important}.text-warning-500{color:#ffc107!important}.text-white{color:#fff!important}.text-yellow{color:#ffe600!important}.uppercase{text-transform:uppercase!important}.line-through{text-decoration-line:line-through!important}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow-dark\\/50{--tw-shadow-color:#1c232d80!important}@supports (color:color-mix(in lab,red,red)){.shadow-dark\\/50{--tw-shadow-color:color-mix(in oklab,oklab(25.3864% -.0047446 -.0210213/.5) var(--tw-shadow-alpha),transparent)!important}}.outline{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-all{transition-property:all!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.duration-300{--tw-duration:.3s!important;transition-duration:.3s!important}.ease-in-out{--tw-ease:var(--ease-in-out)!important;transition-timing-function:var(--ease-in-out)!important}.ease-out{--tw-ease:var(--ease-out)!important;transition-timing-function:var(--ease-out)!important}.\\[writing-mode\\:vertical-lr\\]{writing-mode:vertical-lr!important}@media (hover:hover){.hover\\:bg-danger-500:hover{background-color:#dc3545!important}.hover\\:bg-dark:hover{background-color:#1c232d!important}.hover\\:bg-fiserv-orange-500:hover{background-color:#f60!important}.hover\\:bg-gray-50:hover{background-color:#f5f6f7!important}.hover\\:bg-gray-100:hover{background-color:#ebedef!important}.hover\\:bg-gray-400:hover{background-color:#757e8c!important}.hover\\:bg-gray-500:hover{background-color:#3a475b!important}.hover\\:bg-gray-800:hover{background-color:#232b37!important}.hover\\:bg-gray-900:hover{background-color:#1c232d!important}.hover\\:bg-info-500:hover{background-color:#17a2b8!important}.hover\\:bg-orange-500:hover{background-color:#ff7800!important}.hover\\:bg-primary-800:hover{background-color:#0054af!important}.hover\\:bg-purple-500:hover{background-color:#a855f7!important}.hover\\:bg-secondary-500:hover{background-color:#6c757d!important}.hover\\:bg-steel-500:hover{background-color:#556987!important}.hover\\:bg-success-500:hover{background-color:#28a745!important}.hover\\:bg-warning-500:hover{background-color:#ffc107!important}.hover\\:bg-yellow:hover{background-color:#ffe600!important}.hover\\:text-black:hover{color:#000!important}.hover\\:text-danger-800:hover{color:#aa1927!important}.hover\\:text-dark:hover{color:#1c232d!important}.hover\\:text-fiserv-orange-800:hover{color:#bf4c00!important}.hover\\:text-gray-400:hover{color:#757e8c!important}.hover\\:text-gray-700:hover{color:#2c3544!important}.hover\\:text-gray-800:hover{color:#232b37!important}.hover\\:text-gray-900:hover{color:#1c232d!important}.hover\\:text-info-800:hover{color:#026777!important}.hover\\:text-orange-800:hover{color:#c75d00!important}.hover\\:text-primary-800:hover{color:#0054af!important}.hover\\:text-purple-800:hover{color:#6f33a7!important}.hover\\:text-secondary-800:hover{color:#444a50!important}.hover\\:text-steel-800:hover{color:#333f51!important}.hover\\:text-success-800:hover{color:#106c25!important}.hover\\:text-warning-800:hover{color:#b87708!important}.hover\\:text-white:hover{color:#fff!important}.hover\\:text-yellow:hover{color:#ffe600!important}}.focus\\:border-red-500:focus{border-color:var(--color-red-500)!important}.focus\\:outline:focus{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}.focus\\:outline-3:focus{outline-style:var(--tw-outline-style)!important;outline-width:3px!important}.focus\\:outline-primary-500\\/\\[\\.3\\]:focus{outline-color:#007bff4d!important}.active\\:bg-gray-50:active{background-color:#f5f6f7!important}.active\\:bg-gray-800:active{background-color:#232b37!important}.active\\:text-black:active{color:#000!important}.active\\:text-white:active{color:#fff!important}.disabled\\:pointer-events-none:disabled{pointer-events:none!important}.disabled\\:opacity-15:disabled{opacity:.15!important}.data-closed\\:opacity-0[data-closed]{opacity:0!important}.data-focus\\:-outline-offset-2[data-focus]{outline-offset:-2px!important}.data-focus\\:outline-primary-500[data-focus]{outline-color:#007bff!important}@media (min-width:48rem){.md\\:min-w-fit{min-width:fit-content!important}}}.lexical-view-mode{word-break:break-word!important;width:100%!important}.lexical-view-mode ul{list-style:revert!important}.editable .lexical-view-mode:hover{cursor:text!important;background-color:#00000012!important;border-radius:1px!important;outline:4px solid #00000012!important}.lexical-view-mode .Collapsible__container{width:fit-content!important}.lexical-view-mode .Collapsible__title{color:#007bff!important;cursor:pointer!important;background-color:#0000!important;align-items:center!important;margin-bottom:4px!important;padding:0!important;list-style:none!important;display:flex!important}.lexical-view-mode .Collapsible__title:hover{color:#0069d9!important}.lexical-view-mode .Collapsible__title:hover .editor-paragraph{text-decoration:underline!important}.lexical-view-mode .Collapsible__title::marker{display:none!important}.lexical-view-mode .Collapsible__title::-webkit-details-marker{display:none!important}.lexical-view-mode .Collapsible__title:before{content:""!important;-moz-osx-font-smoothing:grayscale!important;-webkit-font-smoothing:antialiased!important;display:var(--fa-display,inline-block)!important;font-variant:normal!important;text-rendering:auto!important;background:#fff!important;border-radius:30px!important;margin-right:4px!important;font-family:"Font Awesome 5 Pro"!important;font-style:normal!important;font-weight:900!important;line-height:1!important}.lexical-view-mode .Collapsible__title:hover:before{color:#0069d9!important;border:3px solid #fff!important;margin-left:-3px!important;margin-right:1px!important}.lexical-view-mode hr{border:none!important;margin:5px 0!important;padding:3px 0!important}.lexical-view-mode hr:after{content:""!important;background-color:#0000001a!important;height:2px!important;line-height:2px!important;display:block!important}.lexical-view-mode .editor-line-spacer{background:0 0!important;border:1px dashed #0000!important;line-height:6px!important}.lexical-view-mode .other h2{margin-bottom:7px;color:#444!important;font-size:18px!important}.lexical-view-mode .other a{font-size:14px;color:#777!important;text-decoration:underline!important}.lexical-view-mode .other ul{list-style-type:none;margin:0!important;padding:0!important}.lexical-view-mode .ltr{text-align:left}.lexical-view-mode .rtl{text-align:right}.lexical-view-mode .editor-shell{color:#1c232d!important;border-radius:4px!important;width:100%!important;font-weight:400!important;position:relative!important}.lexical-view-mode .editor{position:relative;background:#fff!important}.lexical-view-mode .editor-input{caret-color:#444;resize:none!important;-moz-tab-size:1!important;tab-size:1!important;outline:0!important;min-height:150px!important;padding:12px!important;position:relative!important}.lexical-view-mode .editor-placeholder{pointer-events:none;color:#999!important;text-overflow:ellipsis!important;-webkit-user-select:none!important;user-select:none!important;font-size:15px!important;display:inline-block!important;position:absolute!important;top:15px!important;left:10px!important;overflow:hidden!important}.lexical-view-mode .editor-text-bold,.lexical-view-mode strong{font-weight:700!important}.lexical-view-mode .editor-text-italic{font-style:italic}.lexical-view-mode .editor-text-code{color:#d70c69;background-color:#0000001a!important;border-radius:4px!important;padding:1px .25rem!important;font-family:Menlo,Consolas,Monaco,monospace!important;font-size:85%!important}.lexical-view-mode .editor-link{word-break:break-word;color:#007bff!important;cursor:pointer!important;background-color:#0000!important;text-decoration:underline!important}.lexical-view-mode .editor-link:hover{color:#0062cc!important;text-decoration:underline!important}.lexical-view-mode .editor-code,.lexical-view-mode pre{word-break:break-word;-moz-tab-size:2!important;tab-size:2!important;background-color:#f0f2f5!important;border-radius:4px!important;margin:8px 0!important;padding:8px 8px 8px 52px!important;font-family:Menlo,Consolas,Monaco,monospace!important;font-size:13px!important;line-height:1.53!important;display:block!important;position:relative!important;overflow-x:auto!important}.lexical-view-mode .editor-code:before{min-width:25px;content:attr(data-gutter)!important;color:#777!important;white-space:pre-wrap!important;text-align:right!important;background-color:#eee!important;border-right:1px solid #ccc!important;padding:8px!important;position:absolute!important;top:0!important;left:0!important}.lexical-view-mode pre{white-space:pre-wrap!important;padding-left:8px!important}.lexical-view-mode pre:before{border-right:0!important;width:100%!important;height:23px!important}.lexical-view-mode .editor-code:after,.lexical-view-mode pre:after{color:#00000080;content:attr(data-highlight-language)!important;text-transform:uppercase!important;padding:3px!important;font-size:10px!important;position:absolute!important;top:0!important;right:3px!important}.lexical-view-mode .editor-tokenComment{color:#708090}.lexical-view-mode .editor-tokenPunctuation{color:#999}.lexical-view-mode .editor-tokenProperty{color:#905}.lexical-view-mode .editor-tokenSelector{color:#690}.lexical-view-mode .editor-tokenOperator{color:#9a6e3a}.lexical-view-mode .editor-tokenAttr{color:#07a}.lexical-view-mode .editor-tokenVariable{color:#e90}.lexical-view-mode .editor-tokenFunction{color:#dd4a68}.lexical-view-mode .editor-paragraph,.lexical-view-mode p{word-break:break-word;margin:0 0 .3rem!important;padding:0!important}.lexical-view-mode .editor-paragraph:last-child{margin-bottom:0}.lexical-view-mode .editor-heading-h1,.lexical-view-mode h1{line-height:100%;border-bottom:thin solid #0000001a!important;margin-top:1.2em!important;margin-bottom:.6em!important;padding-bottom:6px!important;font-size:24px!important}.lexical-view-mode .editor-heading-h2:first-child,.lexical-view-mode .editor-heading-h1:first-child,.lexical-view-mode h2:first-child,.lexical-view-mode h1:first-child{margin-top:0}.lexical-view-mode .editor-heading-h2,.lexical-view-mode h2{line-height:100%;border-bottom:thin solid #0000001a!important;margin-top:1.2em!important;margin-bottom:.6em!important;padding-bottom:6px!important;font-size:20px!important}.lexical-view-mode .editor-list-ol,.lexical-view-mode ol{margin:0 0 .3rem 15px!important;padding:0 0 0 15px!important;list-style-type:decimal!important;list-style-position:outside!important}.lexical-view-mode li ol{margin:0 0 0 20px!important}.lexical-view-mode .editor-list-ol2,.lexical-view-mode .editor-list-ol3,.lexical-view-mode .editor-list-ol4,.lexical-view-mode .editor-list-ol5,.lexical-view-mode .editor-list-ol6,.lexical-view-mode .editor-list-ol7{list-style-position:outside;padding:0!important}.lexical-view-mode .editor-list-ol2{list-style-type:lower-alpha}.lexical-view-mode .editor-list-ol3{list-style-type:lower-roman}.lexical-view-mode .editor-list-ol4{list-style-type:decimal}.lexical-view-mode .editor-list-ol5{list-style-type:lower-alpha}.lexical-view-mode .editor-list-ol6{list-style-type:lower-roman}.lexical-view-mode .editor-list-ol7{list-style-type:decimal}.lexical-view-mode .editor-list-ul,.lexical-view-mode ul{margin-bottom:.3rem;margin:0 0 0 15px!important;padding:0 0 0 5px!important;list-style-position:outside!important}.lexical-view-mode li ul{margin:0 0 0 15px!important;padding:0 0 0 3px!important}.lexical-view-mode .editor-list-item{padding-left:0;vertical-align:top!important;margin-bottom:12px!important;line-height:1.3!important}.lexical-view-mode .editor-nested-list-item{list-style-type:none}.lexical-view-mode code{color:inherit!important;word-wrap:break-word!important;white-space:break-spaces!important}.lexical-view-mode a>code{color:inherit}.lexical-view-mode pre::-webkit-scrollbar{width:10px;background:0 0!important}.lexical-view-mode pre::-webkit-scrollbar-thumb{background:#999}.lexical-view-mode img{cursor:zoom-in!important;border:1px solid #ccc!important;border-radius:4px!important;width:auto!important;max-width:250px!important;height:auto!important;max-height:250px!important;display:block!important}.lexical-view-mode img:hover,.lexical-view-mode img:focus{outline:3px solid #007bff4d}.lexical-view-mode iframe{background:#000!important;border:1px solid #ccc!important;width:fit-content!important;max-width:100%!important;height:fit-content!important}.lexical-view-mode .ql-align-left{text-align:left!important}.lexical-view-mode .ql-align-right{text-align:right!important}.lexical-view-mode .ql-align-center{text-align:center!important}.lexical-view-mode .ql-align-justify{text-align:justify!important}.lexical-view-mode .ql-size-small{font-size:.75em!important}.lexical-view-mode p>a,.lexical-view-mode li>a{color:#007bff!important;cursor:pointer!important;background-color:#0000!important;text-decoration:underline!important}.lexical-view-mode p>a:hover,.lexical-view-mode li>a:hover{color:#0062cc!important;text-decoration:underline!important}.lexical-view-mode .ql-size-large{font-size:1.25rem!important}.lexical-view-mode .ql-indent-1{margin-left:20px!important}.lexical-view-mode .ql-indent-2{margin-left:40px!important}.lexical-view-mode .ql-indent-3{margin-left:60px!important}.lexical-view-mode .ql-indent-4{margin-left:80px!important}.lexical-view-mode .ql-indent-5{margin-left:100px!important}.lexical-view-mode .ql-indent-6{margin-left:120px!important}.lexical-view-mode .ql-indent-7{margin-left:140px!important}.lexical-view-mode .ql-indent-8{margin-left:160px!important}.lexical-view-mode ol li.ql-indent-1,.lexical-view-mode ol li.ql-indent-2,.lexical-view-mode ol li.ql-indent-3,.lexical-view-mode ol li.ql-indent-4,.lexical-view-mode ol li.ql-indent-5,.lexical-view-mode ol li.ql-indent-6,.lexical-view-mode ol li.ql-indent-7,.lexical-view-mode ol li.ql-indent-8,.lexical-view-mode ul li.ql-indent-1,.lexical-view-mode ul li.ql-indent-2,.lexical-view-mode ul li.ql-indent-3,.lexical-view-mode ul li.ql-indent-4,.lexical-view-mode ul li.ql-indent-5,.lexical-view-mode ul li.ql-indent-6,.lexical-view-mode ul li.ql-indent-7,.lexical-view-mode ul li.ql-indent-8{margin-bottom:.3em!important}.lexical-view-mode ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9!important;counter-increment:list-1!important;margin-left:0!important;list-style-type:none!important}.lexical-view-mode ol li.ql-indent-1::marker{display:none}.lexical-view-mode ol li.ql-indent-1:before{content:counter(list-1,lower-alpha)". "!important}.lexical-view-mode ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9!important;counter-increment:list-2!important;margin-left:20px!important;list-style-type:none!important}.lexical-view-mode ol li.ql-indent-2::marker{display:none}.lexical-view-mode ol li.ql-indent-2:before{content:counter(list-2,lower-roman)". "!important}.lexical-view-mode ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9!important;counter-increment:list-3!important;margin-left:40px!important;list-style-type:none!important}.lexical-view-mode ol li.ql-indent-3::marker{display:none}.lexical-view-mode ol li.ql-indent-3:before{content:counter(list-3,decimal)". "!important}.lexical-view-mode ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9!important;counter-increment:list-4!important;margin-left:60px!important;list-style-type:none!important}.lexical-view-mode ol li.ql-indent-4::marker{display:none}.lexical-view-mode ol li.ql-indent-4:before{content:counter(list-4,lower-alpha)". "!important}.lexical-view-mode ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9!important;counter-increment:list-5!important;margin-left:80px!important;list-style-type:none!important}.lexical-view-mode ol li.ql-indent-5::marker{display:none}.lexical-view-mode ol li.ql-indent-5:before{content:counter(list-5,lower-roman)". "!important}.lexical-view-mode ol li.ql-indent-6{counter-reset:list-7 list-8 list-9!important;counter-increment:list-6!important;margin-left:100px!important;list-style-type:none!important}.lexical-view-mode ol li.ql-indent-6::marker{display:none}.lexical-view-mode ol li.ql-indent-6:before{content:counter(list-6,decimal)". "!important}.lexical-view-mode ol li.ql-indent-7{counter-reset:list-8 list-9!important;counter-increment:list-7!important;margin-left:120px!important;list-style-type:none!important}.lexical-view-mode ol li.ql-indent-7::marker{display:none}.lexical-view-mode ol li.ql-indent-7:before{content:counter(list-7,lower-alpha)". "!important}.lexical-view-mode ol li.ql-indent-8{counter-reset:list-9!important;counter-increment:list-8!important;margin-left:140px!important;list-style-type:none!important}.lexical-view-mode ol li.ql-indent-8::marker{display:none}.lexical-view-mode ol li.ql-indent-8:before{content:counter(list-8,lower-roman)". "!important}.lexical-view-mode ul li.ql-indent-3,.lexical-view-mode ul li.ql-indent-6{list-style-type:disc}.lexical-view-mode ul li.ql-indent-1,.lexical-view-mode ul li.ql-indent-4,.lexical-view-mode ul li.ql-indent-7{list-style-type:circle}.lexical-view-mode ul li.ql-indent-2,.lexical-view-mode ul li.ql-indent-5,.lexical-view-mode ul li.ql-indent-8{list-style-type:square}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}',Yd="-",dy=e=>{const r=hy(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:h=>{const y=h.split(Yd);return y[0]===""&&y.length!==1&&y.shift(),gm(y,r)||py(h)},getConflictingClassGroupIds:(h,y)=>{const m=o[h]||[];return y&&i[h]?[...m,...i[h]]:m}}},gm=(e,r)=>{var h;if(e.length===0)return r.classGroupId;const o=e[0],i=r.nextPart.get(o),a=i?gm(e.slice(1),i):void 0;if(a)return a;if(r.validators.length===0)return;const d=e.join(Yd);return(h=r.validators.find(({validator:y})=>y(d)))==null?void 0:h.classGroupId},Np=/^\[(.+)\]$/,py=e=>{if(Np.test(e)){const r=Np.exec(e)[1],o=r==null?void 0:r.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},hy=e=>{const{theme:r,classGroups:o}=e,i={nextPart:new Map,validators:[]};for(const a in o)sd(o[a],i,a,r);return i},sd=(e,r,o,i)=>{e.forEach(a=>{if(typeof a=="string"){const d=a===""?r:$p(r,a);d.classGroupId=o;return}if(typeof a=="function"){if(my(a)){sd(a(i),r,o,i);return}r.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([d,h])=>{sd(h,$p(r,d),o,i)})})},$p=(e,r)=>{let o=e;return r.split(Yd).forEach(i=>{o.nextPart.has(i)||o.nextPart.set(i,{nextPart:new Map,validators:[]}),o=o.nextPart.get(i)}),o},my=e=>e.isThemeGetter,gy=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,i=new Map;const a=(d,h)=>{o.set(d,h),r++,r>e&&(r=0,i=o,o=new Map)};return{get(d){let h=o.get(d);if(h!==void 0)return h;if((h=i.get(d))!==void 0)return a(d,h),h},set(d,h){o.has(d)?o.set(d,h):a(d,h)}}},ld="!",ud=":",vy=ud.length,yy=e=>{const{prefix:r,experimentalParseClassName:o}=e;let i=a=>{const d=[];let h=0,y=0,m=0,x;for(let B=0;B<a.length;B++){let D=a[B];if(h===0&&y===0){if(D===ud){d.push(a.slice(m,B)),m=B+vy;continue}if(D==="/"){x=B;continue}}D==="["?h++:D==="]"?h--:D==="("?y++:D===")"&&y--}const R=d.length===0?a:a.substring(m),E=by(R),F=E!==R,M=x&&x>m?x-m:void 0;return{modifiers:d,hasImportantModifier:F,baseClassName:E,maybePostfixModifierPosition:M}};if(r){const a=r+ud,d=i;i=h=>h.startsWith(a)?d(h.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:h,maybePostfixModifierPosition:void 0}}if(o){const a=i;i=d=>o({className:d,parseClassName:a})}return i},by=e=>e.endsWith(ld)?e.substring(0,e.length-1):e.startsWith(ld)?e.substring(1):e,xy=e=>{const r=Object.fromEntries(e.orderSensitiveModifiers.map(i=>[i,!0]));return i=>{if(i.length<=1)return i;const a=[];let d=[];return i.forEach(h=>{h[0]==="["||r[h]?(a.push(...d.sort(),h),d=[]):d.push(h)}),a.push(...d.sort()),a}},wy=e=>({cache:gy(e.cacheSize),parseClassName:yy(e),sortModifiers:xy(e),...dy(e)}),Sy=/\s+/,ky=(e,r)=>{const{parseClassName:o,getClassGroupId:i,getConflictingClassGroupIds:a,sortModifiers:d}=r,h=[],y=e.trim().split(Sy);let m="";for(let x=y.length-1;x>=0;x-=1){const R=y[x],{isExternal:E,modifiers:F,hasImportantModifier:M,baseClassName:B,maybePostfixModifierPosition:D}=o(R);if(E){m=R+(m.length>0?" "+m:m);continue}let P=!!D,I=i(P?B.substring(0,D):B);if(!I){if(!P){m=R+(m.length>0?" "+m:m);continue}if(I=i(B),!I){m=R+(m.length>0?" "+m:m);continue}P=!1}const W=d(F).join(":"),U=M?W+ld:W,Y=U+I;if(h.includes(Y))continue;h.push(Y);const _=a(I,P);for(let ie=0;ie<_.length;++ie){const fe=_[ie];h.push(U+fe)}m=R+(m.length>0?" "+m:m)}return m};function Ey(){let e=0,r,o,i="";for(;e<arguments.length;)(r=arguments[e++])&&(o=vm(r))&&(i&&(i+=" "),i+=o);return i}const vm=e=>{if(typeof e=="string")return e;let r,o="";for(let i=0;i<e.length;i++)e[i]&&(r=vm(e[i]))&&(o&&(o+=" "),o+=r);return o};function Cy(e,...r){let o,i,a,d=h;function h(m){const x=r.reduce((R,E)=>E(R),e());return o=wy(x),i=o.cache.get,a=o.cache.set,d=y,y(m)}function y(m){const x=i(m);if(x)return x;const R=ky(m,o);return a(m,R),R}return function(){return d(Ey.apply(null,arguments))}}const vt=e=>{const r=o=>o[e]||[];return r.isThemeGetter=!0,r},ym=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,bm=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ty=/^\d+\/\d+$/,Ry=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Py=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ay=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Iy=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Oy=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,is=e=>Ty.test(e),Be=e=>!!e&&!Number.isNaN(Number(e)),Uo=e=>!!e&&Number.isInteger(Number(e)),If=e=>e.endsWith("%")&&Be(e.slice(0,-1)),Xn=e=>Ry.test(e),Fy=()=>!0,My=e=>Py.test(e)&&!Ay.test(e),xm=()=>!1,Dy=e=>Iy.test(e),_y=e=>Oy.test(e),Ly=e=>!ve(e)&&!ye(e),jy=e=>Os(e,km,xm),ve=e=>ym.test(e),Wi=e=>Os(e,Em,My),Of=e=>Os(e,Uy,Be),zp=e=>Os(e,wm,xm),Ny=e=>Os(e,Sm,_y),Wu=e=>Os(e,Cm,Dy),ye=e=>bm.test(e),Tl=e=>Fs(e,Em),$y=e=>Fs(e,Hy),Bp=e=>Fs(e,wm),zy=e=>Fs(e,km),By=e=>Fs(e,Sm),Vu=e=>Fs(e,Cm,!0),Os=(e,r,o)=>{const i=ym.exec(e);return i?i[1]?r(i[1]):o(i[2]):!1},Fs=(e,r,o=!1)=>{const i=bm.exec(e);return i?i[1]?r(i[1]):o:!1},wm=e=>e==="position"||e==="percentage",Sm=e=>e==="image"||e==="url",km=e=>e==="length"||e==="size"||e==="bg-size",Em=e=>e==="length",Uy=e=>e==="number",Hy=e=>e==="family-name",Cm=e=>e==="shadow",Wy=()=>{const e=vt("color"),r=vt("font"),o=vt("text"),i=vt("font-weight"),a=vt("tracking"),d=vt("leading"),h=vt("breakpoint"),y=vt("container"),m=vt("spacing"),x=vt("radius"),R=vt("shadow"),E=vt("inset-shadow"),F=vt("text-shadow"),M=vt("drop-shadow"),B=vt("blur"),D=vt("perspective"),P=vt("aspect"),I=vt("ease"),W=vt("animate"),U=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],_=()=>[...Y(),ye,ve],ie=()=>["auto","hidden","clip","visible","scroll"],fe=()=>["auto","contain","none"],ne=()=>[ye,ve,m],ae=()=>[is,"full","auto",...ne()],Fe=()=>[Uo,"none","subgrid",ye,ve],Ne=()=>["auto",{span:["full",Uo,ye,ve]},Uo,ye,ve],_e=()=>[Uo,"auto",ye,ve],Ge=()=>["auto","min","max","fr",ye,ve],Qe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ke=()=>["start","end","center","stretch","center-safe","end-safe"],Ce=()=>["auto",...ne()],je=()=>[is,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...ne()],Z=()=>[e,ye,ve],be=()=>[...Y(),Bp,zp,{position:[ye,ve]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],J=()=>["auto","cover","contain",zy,jy,{size:[ye,ve]}],ce=()=>[If,Tl,Wi],me=()=>["","none","full",x,ye,ve],pe=()=>["",Be,Tl,Wi],ge=()=>["solid","dashed","dotted","double"],se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>[Be,If,Bp,zp],Te=()=>["","none",B,ye,ve],Ee=()=>["none",Be,ye,ve],Re=()=>["none",Be,ye,ve],$e=()=>[Be,ye,ve],oe=()=>[is,"full",...ne()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Xn],breakpoint:[Xn],color:[Fy],container:[Xn],"drop-shadow":[Xn],ease:["in","out","in-out"],font:[Ly],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Xn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Xn],shadow:[Xn],spacing:["px",Be],text:[Xn],"text-shadow":[Xn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",is,ve,ye,P]}],container:["container"],columns:[{columns:[Be,ve,ye,y]}],"break-after":[{"break-after":U()}],"break-before":[{"break-before":U()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:_()}],overflow:[{overflow:ie()}],"overflow-x":[{"overflow-x":ie()}],"overflow-y":[{"overflow-y":ie()}],overscroll:[{overscroll:fe()}],"overscroll-x":[{"overscroll-x":fe()}],"overscroll-y":[{"overscroll-y":fe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ae()}],"inset-x":[{"inset-x":ae()}],"inset-y":[{"inset-y":ae()}],start:[{start:ae()}],end:[{end:ae()}],top:[{top:ae()}],right:[{right:ae()}],bottom:[{bottom:ae()}],left:[{left:ae()}],visibility:["visible","invisible","collapse"],z:[{z:[Uo,"auto",ye,ve]}],basis:[{basis:[is,"full","auto",y,...ne()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Be,is,"auto","initial","none",ve]}],grow:[{grow:["",Be,ye,ve]}],shrink:[{shrink:["",Be,ye,ve]}],order:[{order:[Uo,"first","last","none",ye,ve]}],"grid-cols":[{"grid-cols":Fe()}],"col-start-end":[{col:Ne()}],"col-start":[{"col-start":_e()}],"col-end":[{"col-end":_e()}],"grid-rows":[{"grid-rows":Fe()}],"row-start-end":[{row:Ne()}],"row-start":[{"row-start":_e()}],"row-end":[{"row-end":_e()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ge()}],"auto-rows":[{"auto-rows":Ge()}],gap:[{gap:ne()}],"gap-x":[{"gap-x":ne()}],"gap-y":[{"gap-y":ne()}],"justify-content":[{justify:[...Qe(),"normal"]}],"justify-items":[{"justify-items":[...ke(),"normal"]}],"justify-self":[{"justify-self":["auto",...ke()]}],"align-content":[{content:["normal",...Qe()]}],"align-items":[{items:[...ke(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ke(),{baseline:["","last"]}]}],"place-content":[{"place-content":Qe()}],"place-items":[{"place-items":[...ke(),"baseline"]}],"place-self":[{"place-self":["auto",...ke()]}],p:[{p:ne()}],px:[{px:ne()}],py:[{py:ne()}],ps:[{ps:ne()}],pe:[{pe:ne()}],pt:[{pt:ne()}],pr:[{pr:ne()}],pb:[{pb:ne()}],pl:[{pl:ne()}],m:[{m:Ce()}],mx:[{mx:Ce()}],my:[{my:Ce()}],ms:[{ms:Ce()}],me:[{me:Ce()}],mt:[{mt:Ce()}],mr:[{mr:Ce()}],mb:[{mb:Ce()}],ml:[{ml:Ce()}],"space-x":[{"space-x":ne()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":ne()}],"space-y-reverse":["space-y-reverse"],size:[{size:je()}],w:[{w:[y,"screen",...je()]}],"min-w":[{"min-w":[y,"screen","none",...je()]}],"max-w":[{"max-w":[y,"screen","none","prose",{screen:[h]},...je()]}],h:[{h:["screen",...je()]}],"min-h":[{"min-h":["screen","none",...je()]}],"max-h":[{"max-h":["screen",...je()]}],"font-size":[{text:["base",o,Tl,Wi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,ye,Of]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",If,ve]}],"font-family":[{font:[$y,ve,r]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,ye,ve]}],"line-clamp":[{"line-clamp":[Be,"none",ye,Of]}],leading:[{leading:[d,...ne()]}],"list-image":[{"list-image":["none",ye,ve]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ye,ve]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Z()}],"text-color":[{text:Z()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ge(),"wavy"]}],"text-decoration-thickness":[{decoration:[Be,"from-font","auto",ye,Wi]}],"text-decoration-color":[{decoration:Z()}],"underline-offset":[{"underline-offset":[Be,"auto",ye,ve]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ne()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ye,ve]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ye,ve]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:be()}],"bg-repeat":[{bg:Q()}],"bg-size":[{bg:J()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Uo,ye,ve],radial:["",ye,ve],conic:[Uo,ye,ve]},By,Ny]}],"bg-color":[{bg:Z()}],"gradient-from-pos":[{from:ce()}],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:Z()}],"gradient-via":[{via:Z()}],"gradient-to":[{to:Z()}],rounded:[{rounded:me()}],"rounded-s":[{"rounded-s":me()}],"rounded-e":[{"rounded-e":me()}],"rounded-t":[{"rounded-t":me()}],"rounded-r":[{"rounded-r":me()}],"rounded-b":[{"rounded-b":me()}],"rounded-l":[{"rounded-l":me()}],"rounded-ss":[{"rounded-ss":me()}],"rounded-se":[{"rounded-se":me()}],"rounded-ee":[{"rounded-ee":me()}],"rounded-es":[{"rounded-es":me()}],"rounded-tl":[{"rounded-tl":me()}],"rounded-tr":[{"rounded-tr":me()}],"rounded-br":[{"rounded-br":me()}],"rounded-bl":[{"rounded-bl":me()}],"border-w":[{border:pe()}],"border-w-x":[{"border-x":pe()}],"border-w-y":[{"border-y":pe()}],"border-w-s":[{"border-s":pe()}],"border-w-e":[{"border-e":pe()}],"border-w-t":[{"border-t":pe()}],"border-w-r":[{"border-r":pe()}],"border-w-b":[{"border-b":pe()}],"border-w-l":[{"border-l":pe()}],"divide-x":[{"divide-x":pe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":pe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ge(),"hidden","none"]}],"divide-style":[{divide:[...ge(),"hidden","none"]}],"border-color":[{border:Z()}],"border-color-x":[{"border-x":Z()}],"border-color-y":[{"border-y":Z()}],"border-color-s":[{"border-s":Z()}],"border-color-e":[{"border-e":Z()}],"border-color-t":[{"border-t":Z()}],"border-color-r":[{"border-r":Z()}],"border-color-b":[{"border-b":Z()}],"border-color-l":[{"border-l":Z()}],"divide-color":[{divide:Z()}],"outline-style":[{outline:[...ge(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Be,ye,ve]}],"outline-w":[{outline:["",Be,Tl,Wi]}],"outline-color":[{outline:Z()}],shadow:[{shadow:["","none",R,Vu,Wu]}],"shadow-color":[{shadow:Z()}],"inset-shadow":[{"inset-shadow":["none",E,Vu,Wu]}],"inset-shadow-color":[{"inset-shadow":Z()}],"ring-w":[{ring:pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Z()}],"ring-offset-w":[{"ring-offset":[Be,Wi]}],"ring-offset-color":[{"ring-offset":Z()}],"inset-ring-w":[{"inset-ring":pe()}],"inset-ring-color":[{"inset-ring":Z()}],"text-shadow":[{"text-shadow":["none",F,Vu,Wu]}],"text-shadow-color":[{"text-shadow":Z()}],opacity:[{opacity:[Be,ye,ve]}],"mix-blend":[{"mix-blend":[...se(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":se()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Be]}],"mask-image-linear-from-pos":[{"mask-linear-from":ue()}],"mask-image-linear-to-pos":[{"mask-linear-to":ue()}],"mask-image-linear-from-color":[{"mask-linear-from":Z()}],"mask-image-linear-to-color":[{"mask-linear-to":Z()}],"mask-image-t-from-pos":[{"mask-t-from":ue()}],"mask-image-t-to-pos":[{"mask-t-to":ue()}],"mask-image-t-from-color":[{"mask-t-from":Z()}],"mask-image-t-to-color":[{"mask-t-to":Z()}],"mask-image-r-from-pos":[{"mask-r-from":ue()}],"mask-image-r-to-pos":[{"mask-r-to":ue()}],"mask-image-r-from-color":[{"mask-r-from":Z()}],"mask-image-r-to-color":[{"mask-r-to":Z()}],"mask-image-b-from-pos":[{"mask-b-from":ue()}],"mask-image-b-to-pos":[{"mask-b-to":ue()}],"mask-image-b-from-color":[{"mask-b-from":Z()}],"mask-image-b-to-color":[{"mask-b-to":Z()}],"mask-image-l-from-pos":[{"mask-l-from":ue()}],"mask-image-l-to-pos":[{"mask-l-to":ue()}],"mask-image-l-from-color":[{"mask-l-from":Z()}],"mask-image-l-to-color":[{"mask-l-to":Z()}],"mask-image-x-from-pos":[{"mask-x-from":ue()}],"mask-image-x-to-pos":[{"mask-x-to":ue()}],"mask-image-x-from-color":[{"mask-x-from":Z()}],"mask-image-x-to-color":[{"mask-x-to":Z()}],"mask-image-y-from-pos":[{"mask-y-from":ue()}],"mask-image-y-to-pos":[{"mask-y-to":ue()}],"mask-image-y-from-color":[{"mask-y-from":Z()}],"mask-image-y-to-color":[{"mask-y-to":Z()}],"mask-image-radial":[{"mask-radial":[ye,ve]}],"mask-image-radial-from-pos":[{"mask-radial-from":ue()}],"mask-image-radial-to-pos":[{"mask-radial-to":ue()}],"mask-image-radial-from-color":[{"mask-radial-from":Z()}],"mask-image-radial-to-color":[{"mask-radial-to":Z()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":Y()}],"mask-image-conic-pos":[{"mask-conic":[Be]}],"mask-image-conic-from-pos":[{"mask-conic-from":ue()}],"mask-image-conic-to-pos":[{"mask-conic-to":ue()}],"mask-image-conic-from-color":[{"mask-conic-from":Z()}],"mask-image-conic-to-color":[{"mask-conic-to":Z()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:be()}],"mask-repeat":[{mask:Q()}],"mask-size":[{mask:J()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ye,ve]}],filter:[{filter:["","none",ye,ve]}],blur:[{blur:Te()}],brightness:[{brightness:[Be,ye,ve]}],contrast:[{contrast:[Be,ye,ve]}],"drop-shadow":[{"drop-shadow":["","none",M,Vu,Wu]}],"drop-shadow-color":[{"drop-shadow":Z()}],grayscale:[{grayscale:["",Be,ye,ve]}],"hue-rotate":[{"hue-rotate":[Be,ye,ve]}],invert:[{invert:["",Be,ye,ve]}],saturate:[{saturate:[Be,ye,ve]}],sepia:[{sepia:["",Be,ye,ve]}],"backdrop-filter":[{"backdrop-filter":["","none",ye,ve]}],"backdrop-blur":[{"backdrop-blur":Te()}],"backdrop-brightness":[{"backdrop-brightness":[Be,ye,ve]}],"backdrop-contrast":[{"backdrop-contrast":[Be,ye,ve]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Be,ye,ve]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Be,ye,ve]}],"backdrop-invert":[{"backdrop-invert":["",Be,ye,ve]}],"backdrop-opacity":[{"backdrop-opacity":[Be,ye,ve]}],"backdrop-saturate":[{"backdrop-saturate":[Be,ye,ve]}],"backdrop-sepia":[{"backdrop-sepia":["",Be,ye,ve]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":ne()}],"border-spacing-x":[{"border-spacing-x":ne()}],"border-spacing-y":[{"border-spacing-y":ne()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ye,ve]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Be,"initial",ye,ve]}],ease:[{ease:["linear","initial",I,ye,ve]}],delay:[{delay:[Be,ye,ve]}],animate:[{animate:["none",W,ye,ve]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[D,ye,ve]}],"perspective-origin":[{"perspective-origin":_()}],rotate:[{rotate:Ee()}],"rotate-x":[{"rotate-x":Ee()}],"rotate-y":[{"rotate-y":Ee()}],"rotate-z":[{"rotate-z":Ee()}],scale:[{scale:Re()}],"scale-x":[{"scale-x":Re()}],"scale-y":[{"scale-y":Re()}],"scale-z":[{"scale-z":Re()}],"scale-3d":["scale-3d"],skew:[{skew:$e()}],"skew-x":[{"skew-x":$e()}],"skew-y":[{"skew-y":$e()}],transform:[{transform:[ye,ve,"","none","gpu","cpu"]}],"transform-origin":[{origin:_()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:oe()}],"translate-x":[{"translate-x":oe()}],"translate-y":[{"translate-y":oe()}],"translate-z":[{"translate-z":oe()}],"translate-none":["translate-none"],accent:[{accent:Z()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Z()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ye,ve]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ne()}],"scroll-mx":[{"scroll-mx":ne()}],"scroll-my":[{"scroll-my":ne()}],"scroll-ms":[{"scroll-ms":ne()}],"scroll-me":[{"scroll-me":ne()}],"scroll-mt":[{"scroll-mt":ne()}],"scroll-mr":[{"scroll-mr":ne()}],"scroll-mb":[{"scroll-mb":ne()}],"scroll-ml":[{"scroll-ml":ne()}],"scroll-p":[{"scroll-p":ne()}],"scroll-px":[{"scroll-px":ne()}],"scroll-py":[{"scroll-py":ne()}],"scroll-ps":[{"scroll-ps":ne()}],"scroll-pe":[{"scroll-pe":ne()}],"scroll-pt":[{"scroll-pt":ne()}],"scroll-pr":[{"scroll-pr":ne()}],"scroll-pb":[{"scroll-pb":ne()}],"scroll-pl":[{"scroll-pl":ne()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ye,ve]}],fill:[{fill:["none",...Z()]}],"stroke-w":[{stroke:[Be,Tl,Wi,Of]}],stroke:[{stroke:["none",...Z()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},fs=Cy(Wy);function Tm(e){var r,o,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(o=Tm(e[r]))&&(i&&(i+=" "),i+=o)}else for(o in e)e[o]&&(i&&(i+=" "),i+=o);return i}function Ll(){for(var e,r,o=0,i="",a=arguments.length;o<a;o++)(e=arguments[o])&&(r=Tm(e))&&(i&&(i+=" "),i+=r);return i}function bt(...e){return fs(Ll(e))}const Vy="whitespace-nowrap font-normal flex items-center justify-center",Yy="focus:outline focus:outline-3 focus:outline-primary-500/[.3]",Gy="disabled:opacity-15 disabled:pointer-events-none",Rm=e=>e==="grayLight"||e==="warning",Pm=(e,r)=>!r||r==="none"?"":e(),Qy=(e,r)=>Pm(()=>{const o=e==="gray400"?"gray":e,i=Rm(o)?"active:text-black":"active:text-white";return e==="primary"?r?`bg-${o}-800 text-white`:`hover:bg-${o}-800 active:bg-${o}-800 hover:text-white ${i}`:o==="grayDark"?r?"bg-gray-800 text-white":`hover:bg-gray-800 active:bg-gray-800 hover:text-white ${i}`:o==="grayLight"?r?"bg-gray-50 text-black":`hover:bg-gray-50 active:bg-gray-50 hover:text-black ${i}`:e==="gray400"?r?`bg-${o}-500 text-white`:`hover:bg-${o}-500 active:bg-${o}-500 hover:text-white ${i}`:r?`bg-${o}-700 text-white`:`hover:bg-${o}-600 active:bg-${o}-700 hover:text-white ${i}`},e),Xy=e=>Pm(()=>{const r=Rm(e)?"text-black":"text-white";return e==="primary"?`bg-primary-600 ${r}`:e==="gray400"?`bg-gray-400 ${r}`:`bg-${e}-500 ${r}`},e),qy=e=>e&&{dark:"text-dark hover:text-dark",yellow:"text-yellow hover:text-yellow",gray:"text-gray-500 hover:text-gray-800",primary:"text-primary-600 hover:text-primary-800",secondary:"text-secondary-500 hover:text-secondary-800",success:"text-success-500 hover:text-success-800",info:"text-info-500 hover:text-info-800",warning:"text-warning-500 hover:text-warning-800",danger:"text-danger-500 hover:text-danger-800",steel:"text-steel-500 hover:text-steel-800",orange:"text-orange-500 hover:text-orange-800",purple:"text-purple-500 hover:text-purple-800","fiserv-orange":"text-fiserv-orange-500 hover:text-fiserv-orange-800",grayDark:"text-gray-800 hover:text-gray-900",grayLight:"text-gray-50 hover:text-gray-400",gray400:"text-gray-400 hover:text-gray-700"}[e]||"",Jy=(e,r)=>e&&{dark:r?"bg-dark text-white":"text-dark hover:bg-dark hover:text-white",yellow:r?"bg-yellow text-white":"text-yellow hover:bg-yellow hover:text-white",gray:r?"bg-gray-500 text-white":"text-gray-500 hover:bg-gray-500 hover:text-white",primary:r?"bg-primary-800 text-white":"text-primary-600 hover:bg-primary-800 hover:text-white",secondary:r?"bg-secondary-500 text-white":"text-secondary-500 hover:bg-secondary-500 hover:text-white",success:r?"bg-success-500 text-white":"text-success-500 hover:bg-success-500 hover:text-white",info:r?"bg-info-500 text-white":"text-info-500 hover:bg-info-500 hover:text-white",warning:r?"bg-warning-500 text-white":"text-warning-500 hover:bg-warning-500 hover:text-white",danger:r?"bg-danger-500 text-white":"text-danger-500 hover:bg-danger-500 hover:text-white",steel:r?"bg-steel-500 text-white":"text-steel-500 hover:bg-steel-500 hover:text-white",orange:r?"bg-orange-500 text-white":"text-orange-500 hover:bg-orange-500 hover:text-white",purple:r?"bg-purple-500 text-white":"text-purple-500 hover:bg-purple-500 hover:text-white","fiserv-orange":r?"bg-fiserv-orange-500 text-white":"text-fiserv-orange-500 hover:bg-fiserv-orange-500 hover:text-white",grayDark:r?"bg-gray-900 text-white":"text-gray-800 hover:bg-gray-900 hover:text-white",grayLight:r?"bg-gray-400 text-white":"text-gray-50 hover:bg-gray-400 hover:text-white",gray400:r?"bg-gray-500 text-white":"text-gray-400 hover:bg-gray-500 hover:text-white"}[e]||"",Ky=(e,r)=>!e||e==="none"?"":e==="primary"?`border border-primary-600 ${r?"":"text-primary-600"}`:e==="grayDark"?`border border-gray-800 ${r?"":"text-gray-800"}`:e==="grayLight"?`border border-gray-50 ${r?"":"text-gray-400"}`:e==="gray400"?`border border-gray-400 ${r?"":"text-gray-400"}`:`border border-${e}-500 ${r?"":`text-${e}-500`}`,Zy=(e,r)=>({solid:Xy(e),link:qy(e),linkHoverSolid:Jy(e,r),outline:Ky(e,r)}),eb={none:"",default:"min-w-fit h-[40px] text-base px-3",base:"w-full md:min-w-fit h-[40px] text-base px-3",small:"min-w-[106px] h-[30px] text-sm px-2",normal:"min-w-[140px] h-[38px] text-base px-3",large:"min-w-[160px] h-[40px] text-lg px-3",NormalBlock:"w-full h-[40px] text-lg px-3",box:"w-[38px] h-[38px]",smallCollapse:"h-[30px] text-sm px-2",normalCollapse:"h-[38px] text-base px-3"},tb={none:"",default:"rounded",pill:"rounded-pill"},rb=({active:e=!1,children:r,color:o="primary",size:i="normal",category:a="solid",className:d,type:h="button",rounded:y="default",style:m={},primaryColor:x,...R},E)=>{var U;const F=Gy,M=/link/.test(a)?null:Qy(o,e),B=Yy,D=eb[i],P=(U=Zy(o,e))==null?void 0:U[a],I=fs(M,P),W=tb[y];return X.jsx("button",{...R,style:{...m,transition:"color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out",backgroundColor:x?x+"!important":void 0},type:h,ref:E,className:fs(Vy,B,F,D,I,W,d,"cursor-pointer"),children:r})},jl=V.forwardRef(rb),nb=({isOpen:e,close:r,title:o,dismissOptions:i,confirmOptions:a,children:d,className:h})=>X.jsx(X.Fragment,{children:e&&uc.createPortal(X.jsxs($d.div,{className:bt("relative z-50 transition duration-300 ease-out data-closed:opacity-0",h),children:[X.jsx("div",{className:"fixed inset-0 bg-black/30"}),X.jsx("div",{className:"fixed inset-0 flex w-screen items-center justify-center p-4",children:X.jsxs("div",{className:"max-w-lg divide-y divide-gray-100 bg-white rounded-sm shadow-xl",children:[o&&X.jsx("div",{className:" text-gray-900 p-4",children:o}),X.jsx("div",{className:"p-4",children:d}),i||a?X.jsxs("div",{className:"flex gap-4 p-4",children:[i?X.jsx(jl,{className:"flex-1",onClick:()=>{i.onClick(),r()},size:"small",color:"secondary",children:i.label}):X.jsx(X.Fragment,{}),a?X.jsx(jl,{className:"flex-1",disabled:a.disabled,onClick:()=>{a.onClick(),r()},size:"small",color:"primary",children:a.label}):X.jsx(X.Fragment,{})]}):X.jsx(X.Fragment,{})]})}),X.jsx("style",{type:"text/css",children:Vd})]}),document.body,"confidence-modal")}),Am=typeof document<"u"?V.useLayoutEffect:()=>{};function ob(e){const r=V.useRef(null);return Am(()=>{r.current=e},[e]),V.useCallback((...o)=>{const i=r.current;return i==null?void 0:i(...o)},[])}const ai=e=>{var r;return(r=e==null?void 0:e.ownerDocument)!==null&&r!==void 0?r:document},Vi=e=>e&&"window"in e&&e.window===e?e:ai(e).defaultView||window;function ib(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function ab(e){return ib(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let sb=!1;function Gd(){return sb}function Im(e,r){if(!Gd())return r&&e?e.contains(r):!1;if(!e||!r)return!1;let o=r;for(;o!==null;){if(o===e)return!0;o.tagName==="SLOT"&&o.assignedSlot?o=o.assignedSlot.parentNode:ab(o)?o=o.host:o=o.parentNode}return!1}const cd=(e=document)=>{var r;if(!Gd())return e.activeElement;let o=e.activeElement;for(;o&&"shadowRoot"in o&&(!((r=o.shadowRoot)===null||r===void 0)&&r.activeElement);)o=o.shadowRoot.activeElement;return o};function Om(e){return Gd()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function cc(e){var r;return typeof window>"u"||window.navigator==null?!1:((r=window.navigator.userAgentData)===null||r===void 0?void 0:r.brands.some(o=>e.test(o.brand)))||e.test(window.navigator.userAgent)}function Qd(e){var r;return typeof window<"u"&&window.navigator!=null?e.test(((r=window.navigator.userAgentData)===null||r===void 0?void 0:r.platform)||window.navigator.platform):!1}function oo(e){if(process.env.NODE_ENV==="test")return e;let r=null;return()=>(r==null&&(r=e()),r)}const Xd=oo(function(){return Qd(/^Mac/i)}),lb=oo(function(){return Qd(/^iPhone/i)}),ub=oo(function(){return Qd(/^iPad/i)||Xd()&&navigator.maxTouchPoints>1}),cb=oo(function(){return lb()||ub()});oo(function(){return Xd()||cb()});oo(function(){return cc(/AppleWebKit/i)&&!fb()});const fb=oo(function(){return cc(/Chrome/i)}),db=oo(function(){return cc(/Android/i)});oo(function(){return cc(/Firefox/i)});function Fm(){let e=V.useRef(new Map),r=V.useCallback((a,d,h,y)=>{let m=y!=null&&y.once?(...x)=>{e.current.delete(h),h(...x)}:h;e.current.set(h,{type:d,eventTarget:a,fn:m,options:y}),a.addEventListener(d,m,y)},[]),o=V.useCallback((a,d,h,y)=>{var m;let x=((m=e.current.get(h))===null||m===void 0?void 0:m.fn)||h;a.removeEventListener(d,x,y),e.current.delete(h)},[]),i=V.useCallback(()=>{e.current.forEach((a,d)=>{o(a.eventTarget,a.type,d,a.options)})},[o]);return V.useEffect(()=>i,[i]),{addGlobalListener:r,removeGlobalListener:o,removeAllGlobalListeners:i}}function pb(e){return e.mozInputSource===0&&e.isTrusted?!0:db()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Mm(e){let r=e;return r.nativeEvent=e,r.isDefaultPrevented=()=>r.defaultPrevented,r.isPropagationStopped=()=>r.cancelBubble,r.persist=()=>{},r}function hb(e,r){Object.defineProperty(e,"target",{value:r}),Object.defineProperty(e,"currentTarget",{value:r})}function Dm(e){let r=V.useRef({isFocused:!1,observer:null});Am(()=>{const i=r.current;return()=>{i.observer&&(i.observer.disconnect(),i.observer=null)}},[]);let o=ob(i=>{e==null||e(i)});return V.useCallback(i=>{if(i.target instanceof HTMLButtonElement||i.target instanceof HTMLInputElement||i.target instanceof HTMLTextAreaElement||i.target instanceof HTMLSelectElement){r.current.isFocused=!0;let a=i.target,d=h=>{if(r.current.isFocused=!1,a.disabled){let y=Mm(h);o(y)}r.current.observer&&(r.current.observer.disconnect(),r.current.observer=null)};a.addEventListener("focusout",d,{once:!0}),r.current.observer=new MutationObserver(()=>{if(r.current.isFocused&&a.disabled){var h;(h=r.current.observer)===null||h===void 0||h.disconnect();let y=a===document.activeElement?null:document.activeElement;a.dispatchEvent(new FocusEvent("blur",{relatedTarget:y})),a.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:y}))}}),r.current.observer.observe(a,{attributes:!0,attributeFilter:["disabled"]})}},[o])}let mb=!1,Yl=null,fd=new Set,Ol=new Map,na=!1,dd=!1;const gb={Tab:!0,Escape:!0};function qd(e,r){for(let o of fd)o(e,r)}function vb(e){return!(e.metaKey||!Xd()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function rc(e){na=!0,vb(e)&&(Yl="keyboard",qd("keyboard",e))}function Dr(e){Yl="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(na=!0,qd("pointer",e))}function _m(e){pb(e)&&(na=!0,Yl="virtual")}function Lm(e){e.target===window||e.target===document||mb||!e.isTrusted||(!na&&!dd&&(Yl="virtual",qd("virtual",e)),na=!1,dd=!1)}function jm(){na=!1,dd=!0}function pd(e){if(typeof window>"u"||typeof document>"u"||Ol.get(Vi(e)))return;const r=Vi(e),o=ai(e);let i=r.HTMLElement.prototype.focus;r.HTMLElement.prototype.focus=function(){na=!0,i.apply(this,arguments)},o.addEventListener("keydown",rc,!0),o.addEventListener("keyup",rc,!0),o.addEventListener("click",_m,!0),r.addEventListener("focus",Lm,!0),r.addEventListener("blur",jm,!1),typeof PointerEvent<"u"?(o.addEventListener("pointerdown",Dr,!0),o.addEventListener("pointermove",Dr,!0),o.addEventListener("pointerup",Dr,!0)):process.env.NODE_ENV==="test"&&(o.addEventListener("mousedown",Dr,!0),o.addEventListener("mousemove",Dr,!0),o.addEventListener("mouseup",Dr,!0)),r.addEventListener("beforeunload",()=>{Nm(e)},{once:!0}),Ol.set(r,{focus:i})}const Nm=(e,r)=>{const o=Vi(e),i=ai(e);r&&i.removeEventListener("DOMContentLoaded",r),Ol.has(o)&&(o.HTMLElement.prototype.focus=Ol.get(o).focus,i.removeEventListener("keydown",rc,!0),i.removeEventListener("keyup",rc,!0),i.removeEventListener("click",_m,!0),o.removeEventListener("focus",Lm,!0),o.removeEventListener("blur",jm,!1),typeof PointerEvent<"u"?(i.removeEventListener("pointerdown",Dr,!0),i.removeEventListener("pointermove",Dr,!0),i.removeEventListener("pointerup",Dr,!0)):process.env.NODE_ENV==="test"&&(i.removeEventListener("mousedown",Dr,!0),i.removeEventListener("mousemove",Dr,!0),i.removeEventListener("mouseup",Dr,!0)),Ol.delete(o))};function yb(e){const r=ai(e);let o;return r.readyState!=="loading"?pd(e):(o=()=>{pd(e)},r.addEventListener("DOMContentLoaded",o)),()=>Nm(e,o)}typeof document<"u"&&yb();function $m(){return Yl!=="pointer"}const bb=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function xb(e,r,o){let i=ai(o==null?void 0:o.target);const a=typeof window<"u"?Vi(o==null?void 0:o.target).HTMLInputElement:HTMLInputElement,d=typeof window<"u"?Vi(o==null?void 0:o.target).HTMLTextAreaElement:HTMLTextAreaElement,h=typeof window<"u"?Vi(o==null?void 0:o.target).HTMLElement:HTMLElement,y=typeof window<"u"?Vi(o==null?void 0:o.target).KeyboardEvent:KeyboardEvent;return e=e||i.activeElement instanceof a&&!bb.has(i.activeElement.type)||i.activeElement instanceof d||i.activeElement instanceof h&&i.activeElement.isContentEditable,!(e&&r==="keyboard"&&o instanceof y&&!gb[o.key])}function wb(e,r,o){pd(),V.useEffect(()=>{let i=(a,d)=>{xb(!!(o!=null&&o.isTextInput),a,d)&&e($m())};return fd.add(i),()=>{fd.delete(i)}},r)}function Sb(e){let{isDisabled:r,onFocus:o,onBlur:i,onFocusChange:a}=e;const d=V.useCallback(m=>{if(m.target===m.currentTarget)return i&&i(m),a&&a(!1),!0},[i,a]),h=Dm(d),y=V.useCallback(m=>{const x=ai(m.target),R=x?cd(x):cd();m.target===m.currentTarget&&R===Om(m.nativeEvent)&&(o&&o(m),a&&a(!0),h(m))},[a,o,h]);return{focusProps:{onFocus:!r&&(o||a||i)?y:void 0,onBlur:!r&&(i||a)?d:void 0}}}function kb(e){let{isDisabled:r,onBlurWithin:o,onFocusWithin:i,onFocusWithinChange:a}=e,d=V.useRef({isFocusWithin:!1}),{addGlobalListener:h,removeAllGlobalListeners:y}=Fm(),m=V.useCallback(E=>{E.currentTarget.contains(E.target)&&d.current.isFocusWithin&&!E.currentTarget.contains(E.relatedTarget)&&(d.current.isFocusWithin=!1,y(),o&&o(E),a&&a(!1))},[o,a,d,y]),x=Dm(m),R=V.useCallback(E=>{if(!E.currentTarget.contains(E.target))return;const F=ai(E.target),M=cd(F);if(!d.current.isFocusWithin&&M===Om(E.nativeEvent)){i&&i(E),a&&a(!0),d.current.isFocusWithin=!0,x(E);let B=E.currentTarget;h(F,"focus",D=>{if(d.current.isFocusWithin&&!Im(B,D.target)){let P=new F.defaultView.FocusEvent("blur",{relatedTarget:D.target});hb(P,B);let I=Mm(P);m(I)}},{capture:!0})}},[i,a,x,h,m]);return r?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:R,onBlur:m}}}let nc=!1,Ff=0;function hd(){nc=!0,setTimeout(()=>{nc=!1},50)}function Up(e){e.pointerType==="touch"&&hd()}function Eb(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Up):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",hd),Ff++,()=>{Ff--,!(Ff>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Up):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",hd))}}function Cb(e){let{onHoverStart:r,onHoverChange:o,onHoverEnd:i,isDisabled:a}=e,[d,h]=V.useState(!1),y=V.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;V.useEffect(Eb,[]);let{addGlobalListener:m,removeAllGlobalListeners:x}=Fm(),{hoverProps:R,triggerHoverEnd:E}=V.useMemo(()=>{let F=(D,P)=>{if(y.pointerType=P,a||P==="touch"||y.isHovered||!D.currentTarget.contains(D.target))return;y.isHovered=!0;let I=D.currentTarget;y.target=I,m(ai(D.target),"pointerover",W=>{y.isHovered&&y.target&&!Im(y.target,W.target)&&M(W,W.pointerType)},{capture:!0}),r&&r({type:"hoverstart",target:I,pointerType:P}),o&&o(!0),h(!0)},M=(D,P)=>{let I=y.target;y.pointerType="",y.target=null,!(P==="touch"||!y.isHovered||!I)&&(y.isHovered=!1,x(),i&&i({type:"hoverend",target:I,pointerType:P}),o&&o(!1),h(!1))},B={};return typeof PointerEvent<"u"?(B.onPointerEnter=D=>{nc&&D.pointerType==="mouse"||F(D,D.pointerType)},B.onPointerLeave=D=>{!a&&D.currentTarget.contains(D.target)&&M(D,D.pointerType)}):process.env.NODE_ENV==="test"&&(B.onTouchStart=()=>{y.ignoreEmulatedMouseEvents=!0},B.onMouseEnter=D=>{!y.ignoreEmulatedMouseEvents&&!nc&&F(D,"mouse"),y.ignoreEmulatedMouseEvents=!1},B.onMouseLeave=D=>{!a&&D.currentTarget.contains(D.target)&&M(D,"mouse")}),{hoverProps:B,triggerHoverEnd:M}},[r,o,i,a,y,m,x]);return V.useEffect(()=>{a&&E({currentTarget:y.target},y.pointerType)},[a]),{hoverProps:R,isHovered:d}}function Tb(e={}){let{autoFocus:r=!1,isTextInput:o,within:i}=e,a=V.useRef({isFocused:!1,isFocusVisible:r||$m()}),[d,h]=V.useState(!1),[y,m]=V.useState(()=>a.current.isFocused&&a.current.isFocusVisible),x=V.useCallback(()=>m(a.current.isFocused&&a.current.isFocusVisible),[]),R=V.useCallback(M=>{a.current.isFocused=M,h(M),x()},[x]);wb(M=>{a.current.isFocusVisible=M,x()},[],{isTextInput:o});let{focusProps:E}=Sb({isDisabled:i,onFocusChange:R}),{focusWithinProps:F}=kb({isDisabled:!i,onFocusWithinChange:R});return{isFocused:d,isFocusVisible:y,focusProps:i?F:E}}var Rb=Object.defineProperty,Pb=(e,r,o)=>r in e?Rb(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o,Mf=(e,r,o)=>(Pb(e,typeof r!="symbol"?r+"":r,o),o);let Ab=class{constructor(){Mf(this,"current",this.detect()),Mf(this,"handoffState","pending"),Mf(this,"currentId",0)}set(r){this.current!==r&&(this.handoffState="pending",this.currentId=0,this.current=r)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Ib=new Ab,Jd=(e,r)=>{Ib.isServer?V.useEffect(e,r):V.useLayoutEffect(e,r)};function Ob(e){let r=V.useRef(e);return Jd(()=>{r.current=e},[e]),r}let fc=function(e){let r=Ob(e);return V.useCallback((...o)=>r.current(...o),[r])},zm=V.createContext(void 0);function dc(){return V.useContext(zm)}function Fb({value:e,children:r}){return V.createElement(zm.Provider,{value:e},r)}function Hp(...e){return Array.from(new Set(e.flatMap(r=>typeof r=="string"?r.split(" "):[]))).filter(Boolean).join(" ")}function Bm(e,r,...o){if(e in r){let a=r[e];return typeof a=="function"?a(...o):a}let i=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(r).map(a=>`"${a}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,Bm),i}var Mb=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Mb||{}),Db=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Db||{});function Gl(){let e=Lb();return V.useCallback(r=>_b({mergeRefs:e,...r}),[e])}function _b({ourProps:e,theirProps:r,slot:o,defaultTag:i,features:a,visible:d=!0,name:h,mergeRefs:y}){y=y??jb;let m=Um(r,e);if(d)return Yu(m,o,i,h,y);let x=a??0;if(x&2){let{static:R=!1,...E}=m;if(R)return Yu(E,o,i,h,y)}if(x&1){let{unmount:R=!0,...E}=m;return Bm(R?0:1,{0(){return null},1(){return Yu({...E,hidden:!0,style:{display:"none"}},o,i,h,y)}})}return Yu(m,o,i,h,y)}function Yu(e,r={},o,i,a){let{as:d=o,children:h,refName:y="ref",...m}=Df(e,["unmount","static"]),x=e.ref!==void 0?{[y]:e.ref}:{},R=typeof h=="function"?h(r):h;"className"in m&&m.className&&typeof m.className=="function"&&(m.className=m.className(r)),m["aria-labelledby"]&&m["aria-labelledby"]===m.id&&(m["aria-labelledby"]=void 0);let E={};if(r){let F=!1,M=[];for(let[B,D]of Object.entries(r))typeof D=="boolean"&&(F=!0),D===!0&&M.push(B.replace(/([A-Z])/g,P=>`-${P.toLowerCase()}`));if(F){E["data-headlessui-state"]=M.join(" ");for(let B of M)E[`data-${B}`]=""}}if(d===V.Fragment&&(Object.keys(as(m)).length>0||Object.keys(as(E)).length>0))if(!V.isValidElement(R)||Array.isArray(R)&&R.length>1){if(Object.keys(as(m)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${i} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(as(m)).concat(Object.keys(as(E))).map(F=>` - ${F}`).join(`
|
|
126
126
|
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(F=>` - ${F}`).join(`
|
|
127
127
|
`)].join(`
|
|
128
|
-
`))}else{let F=C.props,I=F==null?void 0:F.className,L=typeof I=="function"?(...O)=>ip(I(...O),h.className):ip(I,h.className),D=L?{className:L}:{},T=Jg(C.props,la(wd(h,["ref"])));for(let O in x)O in T&&delete x[O];return A.cloneElement(C,Object.assign({},T,x,v,{ref:a(lw(C),v.ref)},D))}return A.createElement(c,Object.assign({},wd(h,["ref"]),c!==A.Fragment&&v,c!==A.Fragment&&x),C)}function iw(){let e=A.useRef([]),t=A.useCallback(n=>{for(let i of e.current)i!=null&&(typeof i=="function"?i(n):i.current=n)},[]);return(...n)=>{if(!n.every(i=>i==null))return e.current=n,t}}function aw(...e){return e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}function Jg(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let i of e)for(let a in i)a.startsWith("on")&&typeof i[a]=="function"?(n[a]!=null||(n[a]=[]),n[a].push(i[a])):t[a]=i[a];if(t.disabled||t["aria-disabled"])for(let i in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(i)&&(n[i]=[a=>{var c;return(c=a==null?void 0:a.preventDefault)==null?void 0:c.call(a)}]);for(let i in n)Object.assign(t,{[i](a,...c){let p=n[i];for(let m of p){if((a instanceof Event||(a==null?void 0:a.nativeEvent)instanceof Event)&&a.defaultPrevented)return;m(a,...c)}}});return t}function sw(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let i of e)for(let a in i)a.startsWith("on")&&typeof i[a]=="function"?(n[a]!=null||(n[a]=[]),n[a].push(i[a])):t[a]=i[a];for(let i in n)Object.assign(t,{[i](...a){let c=n[i];for(let p of c)p==null||p(...a)}});return t}function Dt(e){var t;return Object.assign(A.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function la(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function wd(e,t=[]){let n=Object.assign({},e);for(let i of t)i in n&&delete n[i];return n}function lw(e){return A.version.split(".")[0]>="19"?e.props.ref:e.ref}let uw="span";var uu=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(uu||{});function cw(e,t){var n;let{features:i=1,...a}=e,c={ref:t,"aria-hidden":(i&2)===2?!0:(n=a["aria-hidden"])!=null?n:void 0,hidden:(i&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(i&4)===4&&(i&2)!==2&&{display:"none"}}};return er()({ourProps:c,theirProps:a,slot:{},defaultTag:uw,name:"Hidden"})}let Dc=Dt(cw),fw=A.createContext(null);function dw(e){let[t,n]=A.useState(null);return A.createElement(fw.Provider,{value:{target:t}},e.children,A.createElement(Dc,{features:uu.Hidden,ref:n}))}let Zg=A.createContext(void 0);function ev(){return A.useContext(Zg)}function pw({id:e,children:t}){return A.createElement(Zg.Provider,{value:e},t)}function tv(e){return typeof e!="object"||e===null?!1:"nodeType"in e}function lo(e){return tv(e)&&"tagName"in e}function yi(e){return lo(e)&&"accessKey"in e}function gi(e){return lo(e)&&"tabIndex"in e}function hw(e){return lo(e)&&"style"in e}function mw(e){return yi(e)&&e.nodeName==="IFRAME"}function rv(e){return yi(e)&&e.nodeName==="INPUT"}function zh(e){return yi(e)&&e.nodeName==="LABEL"}function gw(e){return lo(e)?e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]'):!1}let nv=Symbol();function vw(e,t=!0){return Object.assign(e,{[nv]:t})}function sn(...e){let t=A.useRef(e);A.useEffect(()=>{t.current=e},[e]);let n=tt(i=>{for(let a of t.current)a!=null&&(typeof a=="function"?a(i):a.current=i)});return e.every(i=>i==null||(i==null?void 0:i[nv]))?void 0:n}let Gc=A.createContext(null);Gc.displayName="DescriptionContext";function ov(){let e=A.useContext(Gc);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,ov),t}return e}function yw(){var e,t;return(t=(e=A.useContext(Gc))==null?void 0:e.value)!=null?t:void 0}function iv(){let[e,t]=A.useState([]);return[e.length>0?e.join(" "):void 0,A.useMemo(()=>function(n){let i=tt(c=>(t(p=>[...p,c]),()=>t(p=>{let m=p.slice(),h=m.indexOf(c);return h!==-1&&m.splice(h,1),m}))),a=A.useMemo(()=>({register:i,slot:n.slot,name:n.name,props:n.props,value:n.value}),[i,n.slot,n.name,n.props,n.value]);return A.createElement(Gc.Provider,{value:a},n.children)},[t])]}let bw="p";function ww(e,t){let n=A.useId(),i=Vc(),{id:a=`headlessui-description-${n}`,...c}=e,p=ov(),m=sn(t);Mt(()=>p.register(a),[a,p.register]);let h=i||!1,v=A.useMemo(()=>({...p.slot,disabled:h}),[p.slot,h]),C={ref:m,...p.props,id:a};return er()({ourProps:C,theirProps:c,slot:v,defaultTag:bw,name:p.name||"Description"})}let xw=Dt(ww),av=Object.assign(xw,{});var sv=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(sv||{});let Yc=A.createContext(null);Yc.displayName="LabelContext";function lv(){let e=A.useContext(Yc);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,lv),t}return e}function uv(e){var t,n,i;let a=(n=(t=A.useContext(Yc))==null?void 0:t.value)!=null?n:void 0;return((i=void 0)!=null?i:0)>0?[a,...e].filter(Boolean).join(" "):a}function Sw({inherit:e=!1}={}){let t=uv(),[n,i]=A.useState([]),a=e?[t,...n].filter(Boolean):n;return[a.length>0?a.join(" "):void 0,A.useMemo(()=>function(c){let p=tt(h=>(i(v=>[...v,h]),()=>i(v=>{let C=v.slice(),x=C.indexOf(h);return x!==-1&&C.splice(x,1),C}))),m=A.useMemo(()=>({register:p,slot:c.slot,name:c.name,props:c.props,value:c.value}),[p,c.slot,c.name,c.props,c.value]);return A.createElement(Yc.Provider,{value:m},c.children)},[i])]}let kw="label";function Ew(e,t){var n;let i=A.useId(),a=lv(),c=ev(),p=Vc(),{id:m=`headlessui-label-${i}`,htmlFor:h=c??((n=a.props)==null?void 0:n.htmlFor),passive:v=!1,...C}=e,x=sn(t);Mt(()=>a.register(m),[m,a.register]);let F=tt(T=>{let O=T.currentTarget;if(!(T.target!==T.currentTarget&&gw(T.target))&&(zh(O)&&T.preventDefault(),a.props&&"onClick"in a.props&&typeof a.props.onClick=="function"&&a.props.onClick(T),zh(O))){let U=document.getElementById(O.htmlFor);if(U){let j=U.getAttribute("disabled");if(j==="true"||j==="")return;let V=U.getAttribute("aria-disabled");if(V==="true"||V==="")return;(rv(U)&&(U.type==="file"||U.type==="radio"||U.type==="checkbox")||U.role==="radio"||U.role==="checkbox"||U.role==="switch")&&U.click(),U.focus({preventScroll:!0})}}}),I=p||!1,L=A.useMemo(()=>({...a.slot,disabled:I}),[a.slot,I]),D={ref:x,...a.props,id:m,htmlFor:h,onClick:F};return v&&("onClick"in D&&(delete D.htmlFor,delete D.onClick),"onClick"in C&&delete C.onClick),er()({ourProps:D,theirProps:C,slot:L,defaultTag:h?kw:"div",name:a.name||"Label"})}let Cw=Dt(Ew),Tw=Object.assign(Cw,{}),Rw=A.createContext(()=>{});function Pw({value:e,children:t}){return A.createElement(Rw.Provider,{value:e},t)}let cv=class extends Map{constructor(t){super(),this.factory=t}get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t),this.set(t,n)),n}};var Aw=Object.defineProperty,Ow=(e,t,n)=>t in e?Aw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Iw=(e,t,n)=>(Ow(e,t+"",n),n),fv=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},$r=(e,t,n)=>(fv(e,t,"read from private field"),n?n.call(e):t.get(e)),xd=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Bh=(e,t,n,i)=>(fv(e,t,"write to private field"),t.set(e,n),n),En,ql,Kl;let Fw=class{constructor(t){xd(this,En,{}),xd(this,ql,new cv(()=>new Set)),xd(this,Kl,new Set),Iw(this,"disposables",yo()),Bh(this,En,t)}dispose(){this.disposables.dispose()}get state(){return $r(this,En)}subscribe(t,n){let i={selector:t,callback:n,current:t($r(this,En))};return $r(this,Kl).add(i),this.disposables.add(()=>{$r(this,Kl).delete(i)})}on(t,n){return $r(this,ql).get(t).add(n),this.disposables.add(()=>{$r(this,ql).get(t).delete(n)})}send(t){let n=this.reduce($r(this,En),t);if(n!==$r(this,En)){Bh(this,En,n);for(let i of $r(this,Kl)){let a=i.selector($r(this,En));dv(i.current,a)||(i.current=a,i.callback(a))}for(let i of $r(this,ql).get(t.type))i($r(this,En),t)}}};En=new WeakMap,ql=new WeakMap,Kl=new WeakMap;function dv(e,t){return Object.is(e,t)?!0:typeof e!="object"||e===null||typeof t!="object"||t===null?!1:Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:Sd(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size!==t.size?!1:Sd(e.entries(),t.entries()):Uh(e)&&Uh(t)?Sd(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()):!1}function Sd(e,t){do{let n=e.next(),i=t.next();if(n.done&&i.done)return!0;if(n.done||i.done||!Object.is(n.value,i.value))return!1}while(!0)}function Uh(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}var Mw=Object.defineProperty,Dw=(e,t,n)=>t in e?Mw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Hh=(e,t,n)=>(Dw(e,typeof t!="symbol"?t+"":t,n),n),_w=(e=>(e[e.Push=0]="Push",e[e.Pop=1]="Pop",e))(_w||{});let Lw={0(e,t){let n=t.id,i=e.stack,a=e.stack.indexOf(n);if(a!==-1){let c=e.stack.slice();return c.splice(a,1),c.push(n),i=c,{...e,stack:i}}return{...e,stack:[...e.stack,n]}},1(e,t){let n=t.id,i=e.stack.indexOf(n);if(i===-1)return e;let a=e.stack.slice();return a.splice(i,1),{...e,stack:a}}},$w=class pv extends Fw{constructor(){super(...arguments),Hh(this,"actions",{push:t=>this.send({type:0,id:t}),pop:t=>this.send({type:1,id:t})}),Hh(this,"selectors",{isTop:(t,n)=>t.stack[t.stack.length-1]===n,inStack:(t,n)=>t.stack.includes(n)})}static new(){return new pv({stack:[]})}reduce(t,n){return po(n.type,Lw,t,n)}};const hv=new cv(()=>$w.new());var wc={exports:{}},kd={};/**
|
|
129
|
-
* @license React
|
|
130
|
-
* use-sync-external-store-with-selector.production.js
|
|
131
|
-
*
|
|
132
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
133
|
-
*
|
|
134
|
-
* This source code is licensed under the MIT license found in the
|
|
135
|
-
* LICENSE file in the root directory of this source tree.
|
|
136
|
-
*/var Wh;function jw(){if(Wh)return kd;Wh=1;var e=A;function t(h,v){return h===v&&(h!==0||1/h===1/v)||h!==h&&v!==v}var n=typeof Object.is=="function"?Object.is:t,i=e.useSyncExternalStore,a=e.useRef,c=e.useEffect,p=e.useMemo,m=e.useDebugValue;return kd.useSyncExternalStoreWithSelector=function(h,v,C,x,F){var I=a(null);if(I.current===null){var L={hasValue:!1,value:null};I.current=L}else L=I.current;I=p(function(){function T($){if(!O){if(O=!0,U=$,$=x($),F!==void 0&&L.hasValue){var J=L.value;if(F(J,$))return j=J}return j=$}if(J=j,n(U,$))return J;var ae=x($);return F!==void 0&&F(J,ae)?(U=$,J):(U=$,j=ae)}var O=!1,U,j,V=C===void 0?null:C;return[function(){return T(v())},V===null?void 0:function(){return T(V())}]},[v,C,x,F]);var D=i(h,I[0],I[1]);return c(function(){L.hasValue=!0,L.value=D},[D]),m(D),D},kd}var Ed={};/**
|
|
137
|
-
* @license React
|
|
138
|
-
* use-sync-external-store-with-selector.development.js
|
|
139
|
-
*
|
|
140
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
141
|
-
*
|
|
142
|
-
* This source code is licensed under the MIT license found in the
|
|
143
|
-
* LICENSE file in the root directory of this source tree.
|
|
144
|
-
*/var Vh;function Nw(){return Vh||(Vh=1,process.env.NODE_ENV!=="production"&&function(){function e(h,v){return h===v&&(h!==0||1/h===1/v)||h!==h&&v!==v}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=A,n=typeof Object.is=="function"?Object.is:e,i=t.useSyncExternalStore,a=t.useRef,c=t.useEffect,p=t.useMemo,m=t.useDebugValue;Ed.useSyncExternalStoreWithSelector=function(h,v,C,x,F){var I=a(null);if(I.current===null){var L={hasValue:!1,value:null};I.current=L}else L=I.current;I=p(function(){function T($){if(!O){if(O=!0,U=$,$=x($),F!==void 0&&L.hasValue){var J=L.value;if(F(J,$))return j=J}return j=$}if(J=j,n(U,$))return J;var ae=x($);return F!==void 0&&F(J,ae)?(U=$,J):(U=$,j=ae)}var O=!1,U,j,V=C===void 0?null:C;return[function(){return T(v())},V===null?void 0:function(){return T(V())}]},[v,C,x,F]);var D=i(h,I[0],I[1]);return c(function(){L.hasValue=!0,L.value=D},[D]),m(D),D},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Ed}var Gh;function zw(){return Gh||(Gh=1,process.env.NODE_ENV==="production"?wc.exports=jw():wc.exports=Nw()),wc.exports}var Bw=zw();function mv(e,t,n=dv){return Bw.useSyncExternalStoreWithSelector(tt(i=>e.subscribe(Uw,i)),tt(()=>e.state),tt(()=>e.state),tt(t),n)}function Uw(e){return e}function wu(e,t){let n=A.useId(),i=hv.get(t),[a,c]=mv(i,A.useCallback(p=>[i.selectors.isTop(p,n),i.selectors.inStack(p,n)],[i,n]));return Mt(()=>{if(e)return i.actions.push(n),()=>i.actions.pop(n)},[i,e,n]),e?c?a:!0:!1}let ap=new Map,ru=new Map;function Yh(e){var t;let n=(t=ru.get(e))!=null?t:0;return ru.set(e,n+1),n!==0?()=>Xh(e):(ap.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>Xh(e))}function Xh(e){var t;let n=(t=ru.get(e))!=null?t:1;if(n===1?ru.delete(e):ru.set(e,n-1),n!==1)return;let i=ap.get(e);i&&(i["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",i["aria-hidden"]),e.inert=i.inert,ap.delete(e))}function Hw(e,{allowed:t,disallowed:n}={}){let i=wu(e,"inert-others");Mt(()=>{var a,c;if(!i)return;let p=yo();for(let h of(a=n==null?void 0:n())!=null?a:[])h&&p.add(Yh(h));let m=(c=t==null?void 0:t())!=null?c:[];for(let h of m){if(!h)continue;let v=Hc(h);if(!v)continue;let C=h.parentElement;for(;C&&C!==v.body;){for(let x of C.children)m.some(F=>x.contains(F))||p.add(Yh(x));C=C.parentElement}}return p.dispose},[i,t,n])}function Ww(e,t,n){let i=Ra(a=>{let c=a.getBoundingClientRect();c.x===0&&c.y===0&&c.width===0&&c.height===0&&n()});A.useEffect(()=>{if(!e)return;let a=t===null?null:yi(t)?t:t.current;if(!a)return;let c=yo();if(typeof ResizeObserver<"u"){let p=new ResizeObserver(()=>i.current(a));p.observe(a),c.add(()=>p.disconnect())}if(typeof IntersectionObserver<"u"){let p=new IntersectionObserver(()=>i.current(a));p.observe(a),c.add(()=>p.disconnect())}return()=>c.dispose()},[t,i,e])}let _c=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),Vw=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var so=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(so||{}),sp=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(sp||{}),Gw=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Gw||{});function Yw(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(_c)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function Xw(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Vw)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var gv=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(gv||{});function Qw(e,t=0){var n;return e===((n=Hc(e))==null?void 0:n.body)?!1:po(t,{0(){return e.matches(_c)},1(){let i=e;for(;i!==null;){if(i.matches(_c))return!0;i=i.parentElement}return!1}})}var qw=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(qw||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function uo(e){e==null||e.focus({preventScroll:!0})}let Kw=["textarea","input"].join(",");function Jw(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Kw))!=null?n:!1}function Zw(e,t=n=>n){return e.slice().sort((n,i)=>{let a=t(n),c=t(i);if(a===null||c===null)return 0;let p=a.compareDocumentPosition(c);return p&Node.DOCUMENT_POSITION_FOLLOWING?-1:p&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function nu(e,t,{sorted:n=!0,relativeTo:i=null,skipElements:a=[]}={}){let c=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,p=Array.isArray(e)?n?Zw(e):e:t&64?Xw(e):Yw(e);a.length>0&&p.length>1&&(p=p.filter(I=>!a.some(L=>L!=null&&"current"in L?(L==null?void 0:L.current)===I:L===I))),i=i??c.activeElement;let m=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),h=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,p.indexOf(i))-1;if(t&4)return Math.max(0,p.indexOf(i))+1;if(t&8)return p.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),v=t&32?{preventScroll:!0}:{},C=0,x=p.length,F;do{if(C>=x||C+x<=0)return 0;let I=h+C;if(t&16)I=(I+x)%x;else{if(I<0)return 3;if(I>=x)return 1}F=p[I],F==null||F.focus(v),C+=m}while(F!==c.activeElement);return t&6&&Jw(F)&&F.select(),2}function vv(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function ex(){return/Android/gi.test(window.navigator.userAgent)}function Qh(){return vv()||ex()}function xc(e,t,n,i){let a=Ra(n);A.useEffect(()=>{if(!e)return;function c(p){a.current(p)}return document.addEventListener(t,c,i),()=>document.removeEventListener(t,c,i)},[e,t,i])}function yv(e,t,n,i){let a=Ra(n);A.useEffect(()=>{if(!e)return;function c(p){a.current(p)}return window.addEventListener(t,c,i),()=>window.removeEventListener(t,c,i)},[e,t,i])}const qh=30;function tx(e,t,n){let i=Ra(n),a=A.useCallback(function(m,h){if(m.defaultPrevented)return;let v=h(m);if(v===null||!v.getRootNode().contains(v)||!v.isConnected)return;let C=function x(F){return typeof F=="function"?x(F()):Array.isArray(F)||F instanceof Set?F:[F]}(t);for(let x of C)if(x!==null&&(x.contains(v)||m.composed&&m.composedPath().includes(x)))return;return!Qw(v,gv.Loose)&&v.tabIndex!==-1&&m.preventDefault(),i.current(m,v)},[i,t]),c=A.useRef(null);xc(e,"pointerdown",m=>{var h,v;Qh()||(c.current=((v=(h=m.composedPath)==null?void 0:h.call(m))==null?void 0:v[0])||m.target)},!0),xc(e,"pointerup",m=>{if(Qh()||!c.current)return;let h=c.current;return c.current=null,a(m,()=>h)},!0);let p=A.useRef({x:0,y:0});xc(e,"touchstart",m=>{p.current.x=m.touches[0].clientX,p.current.y=m.touches[0].clientY},!0),xc(e,"touchend",m=>{let h={x:m.changedTouches[0].clientX,y:m.changedTouches[0].clientY};if(!(Math.abs(h.x-p.current.x)>=qh||Math.abs(h.y-p.current.y)>=qh))return a(m,()=>gi(m.target)?m.target:null)},!0),yv(e,"blur",m=>a(m,()=>mw(window.document.activeElement)?window.document.activeElement:null),!0)}function Xc(...e){return A.useMemo(()=>Hc(...e),[...e])}function bv(e,t,n,i){let a=Ra(n);A.useEffect(()=>{e=e??window;function c(p){a.current(p)}return e.addEventListener(t,c,i),()=>e.removeEventListener(t,c,i)},[e,t,i])}function rx(e){return A.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}function nx(e,t){let n=e(),i=new Set;return{getSnapshot(){return n},subscribe(a){return i.add(a),()=>i.delete(a)},dispatch(a,...c){let p=t[a].call(n,...c);p&&(n=p,i.forEach(m=>m()))}}}function ox(){let e;return{before({doc:t}){var n;let i=t.documentElement,a=(n=t.defaultView)!=null?n:window;e=Math.max(0,a.innerWidth-i.clientWidth)},after({doc:t,d:n}){let i=t.documentElement,a=Math.max(0,i.clientWidth-i.offsetWidth),c=Math.max(0,e-a);n.style(i,"paddingRight",`${c}px`)}}}function ix(){return vv()?{before({doc:e,d:t,meta:n}){function i(a){return n.containers.flatMap(c=>c()).some(c=>c.contains(a))}t.microTask(()=>{var a;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let m=yo();m.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>m.dispose()))}let c=(a=window.scrollY)!=null?a:window.pageYOffset,p=null;t.addEventListener(e,"click",m=>{if(gi(m.target))try{let h=m.target.closest("a");if(!h)return;let{hash:v}=new URL(h.href),C=e.querySelector(v);gi(C)&&!i(C)&&(p=C)}catch{}},!0),t.addEventListener(e,"touchstart",m=>{if(gi(m.target)&&hw(m.target))if(i(m.target)){let h=m.target;for(;h.parentElement&&i(h.parentElement);)h=h.parentElement;t.style(h,"overscrollBehavior","contain")}else t.style(m.target,"touchAction","none")}),t.addEventListener(e,"touchmove",m=>{if(gi(m.target)){if(rv(m.target))return;if(i(m.target)){let h=m.target;for(;h.parentElement&&h.dataset.headlessuiPortal!==""&&!(h.scrollHeight>h.clientHeight||h.scrollWidth>h.clientWidth);)h=h.parentElement;h.dataset.headlessuiPortal===""&&m.preventDefault()}else m.preventDefault()}},{passive:!1}),t.add(()=>{var m;let h=(m=window.scrollY)!=null?m:window.pageYOffset;c!==h&&window.scrollTo(0,c),p&&p.isConnected&&(p.scrollIntoView({block:"nearest"}),p=null)})})}}:{}}function ax(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function sx(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let fa=nx(()=>new Map,{PUSH(e,t){var n;let i=(n=this.get(e))!=null?n:{doc:e,count:0,d:yo(),meta:new Set};return i.count++,i.meta.add(t),this.set(e,i),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let i={doc:e,d:t,meta:sx(n)},a=[ix(),ox(),ax()];a.forEach(({before:c})=>c==null?void 0:c(i)),a.forEach(({after:c})=>c==null?void 0:c(i))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});fa.subscribe(()=>{let e=fa.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let i=t.get(n.doc)==="hidden",a=n.count!==0;(a&&!i||!a&&i)&&fa.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&fa.dispatch("TEARDOWN",n)}});function lx(e,t,n=()=>({containers:[]})){let i=rx(fa),a=t?i.get(t):void 0,c=a?a.count>0:!1;return Mt(()=>{if(!(!t||!e))return fa.dispatch("PUSH",t,n),()=>fa.dispatch("POP",t,n)},[e,t]),c}function ux(e,t,n=()=>[document.body]){let i=wu(e,"scroll-lock");lx(i,t,a=>{var c;return{containers:[...(c=a.containers)!=null?c:[],n]}})}function cx(e=0){let[t,n]=A.useState(e),i=A.useCallback(h=>n(h),[t]),a=A.useCallback(h=>n(v=>v|h),[t]),c=A.useCallback(h=>(t&h)===h,[t]),p=A.useCallback(h=>n(v=>v&~h),[n]),m=A.useCallback(h=>n(v=>v^h),[n]);return{flags:t,setFlag:i,addFlag:a,hasFlag:c,removeFlag:p,toggleFlag:m}}var Kh,Jh;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((Kh=process==null?void 0:process.env)==null?void 0:Kh.NODE_ENV)==="test"&&typeof((Jh=Element==null?void 0:Element.prototype)==null?void 0:Jh.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
|
|
145
|
-
`)),[]});var fx=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(fx||{});function dx(e){let t={};for(let n in e)e[n]===!0&&(t[`data-${n}`]="");return t}function px(e,t,n,i){let[a,c]=A.useState(n),{hasFlag:p,addFlag:m,removeFlag:h}=cx(e&&a?3:0),v=A.useRef(!1),C=A.useRef(!1),x=Wp();return Mt(()=>{var F;if(e){if(n&&c(!0),!t){n&&m(3);return}return(F=i==null?void 0:i.start)==null||F.call(i,n),hx(t,{inFlight:v,prepare(){C.current?C.current=!1:C.current=v.current,v.current=!0,!C.current&&(n?(m(3),h(4)):(m(4),h(2)))},run(){C.current?n?(h(3),m(4)):(h(4),m(3)):n?h(1):m(1)},done(){var I;C.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(v.current=!1,h(7),n||c(!1),(I=i==null?void 0:i.end)==null||I.call(i,n))}})}},[e,n,t,x]),e?[a,{closed:p(1),enter:p(2),leave:p(4),transition:p(2)||p(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function hx(e,{prepare:t,run:n,done:i,inFlight:a}){let c=yo();return gx(e,{prepare:t,inFlight:a}),c.nextFrame(()=>{n(),c.requestAnimationFrame(()=>{c.add(mx(e,i))})}),c.dispose}function mx(e,t){var n,i;let a=yo();if(!e)return a.dispose;let c=!1;a.add(()=>{c=!0});let p=(i=(n=e.getAnimations)==null?void 0:n.call(e).filter(m=>m instanceof CSSTransition))!=null?i:[];return p.length===0?(t(),a.dispose):(Promise.allSettled(p.map(m=>m.finished)).then(()=>{c||t()}),a.dispose)}function gx(e,{inFlight:t,prepare:n}){if(t!=null&&t.current){n();return}let i=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=i}function Vp(e,t){let n=A.useRef([]),i=tt(e);A.useEffect(()=>{let a=[...n.current];for(let[c,p]of t.entries())if(n.current[c]!==p){let m=i(t,a);return n.current=t,m}},[i,...t])}function Qc(){return typeof window<"u"}function el(e){return wv(e)?(e.nodeName||"").toLowerCase():"#document"}function wr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function bo(e){var t;return(t=(wv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function wv(e){return Qc()?e instanceof Node||e instanceof wr(e).Node:!1}function ht(e){return Qc()?e instanceof Element||e instanceof wr(e).Element:!1}function an(e){return Qc()?e instanceof HTMLElement||e instanceof wr(e).HTMLElement:!1}function lp(e){return!Qc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof wr(e).ShadowRoot}function xu(e){const{overflow:t,overflowX:n,overflowY:i,display:a}=zr(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(a)}function vx(e){return["table","td","th"].includes(el(e))}function qc(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Gp(e){const t=Kc(),n=ht(e)?zr(e):e;return["transform","translate","scale","rotate","perspective"].some(i=>n[i]?n[i]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(i=>(n.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(n.contain||"").includes(i))}function yx(e){let t=ho(e);for(;an(t)&&!co(t);){if(Gp(t))return t;if(qc(t))return null;t=ho(t)}return null}function Kc(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function co(e){return["html","body","#document"].includes(el(e))}function zr(e){return wr(e).getComputedStyle(e)}function Jc(e){return ht(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ho(e){if(el(e)==="html")return e;const t=e.assignedSlot||e.parentNode||lp(e)&&e.host||bo(e);return lp(t)?t.host:t}function xv(e){const t=ho(e);return co(t)?e.ownerDocument?e.ownerDocument.body:e.body:an(t)&&xu(t)?t:xv(t)}function Ms(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=xv(e),c=a===((i=e.ownerDocument)==null?void 0:i.body),p=wr(a);if(c){const m=up(p);return t.concat(p,p.visualViewport||[],xu(a)?a:[],m&&n?Ms(m):[])}return t.concat(a,Ms(a,[],n))}function up(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const Zh=Math.min,ou=Math.max,Lc=Math.round,On=e=>({x:e,y:e});function Sv(e){return e.split("-")[0]}function bx(e){return e.split("-")[1]}function wx(e){return e==="x"?"y":"x"}function xx(e){return e==="y"?"height":"width"}function kv(e){return["top","bottom"].includes(Sv(e))?"y":"x"}function Sx(e){return wx(kv(e))}function Ev(e){const{x:t,y:n,width:i,height:a}=e;return{width:i,height:a,top:n,left:t,right:t+i,bottom:n+a,x:t,y:n}}function em(e,t,n){let{reference:i,floating:a}=e;const c=kv(t),p=Sx(t),m=xx(p),h=Sv(t),v=c==="y",C=i.x+i.width/2-a.width/2,x=i.y+i.height/2-a.height/2,F=i[m]/2-a[m]/2;let I;switch(h){case"top":I={x:C,y:i.y-a.height};break;case"bottom":I={x:C,y:i.y+i.height};break;case"right":I={x:i.x+i.width,y:x};break;case"left":I={x:i.x-a.width,y:x};break;default:I={x:i.x,y:i.y}}switch(bx(t)){case"start":I[p]-=F*(n&&v?-1:1);break;case"end":I[p]+=F*(n&&v?-1:1);break}return I}const kx=async(e,t,n)=>{const{placement:i="bottom",strategy:a="absolute",middleware:c=[],platform:p}=n,m=c.filter(Boolean),h=await(p.isRTL==null?void 0:p.isRTL(t));let v=await p.getElementRects({reference:e,floating:t,strategy:a}),{x:C,y:x}=em(v,i,h),F=i,I={},L=0;for(let D=0;D<m.length;D++){const{name:T,fn:O}=m[D],{x:U,y:j,data:V,reset:$}=await O({x:C,y:x,initialPlacement:i,placement:F,strategy:a,middlewareData:I,rects:v,platform:p,elements:{reference:e,floating:t}});C=U??C,x=j??x,I={...I,[T]:{...I[T],...V}},$&&L<=50&&(L++,typeof $=="object"&&($.placement&&(F=$.placement),$.rects&&(v=$.rects===!0?await p.getElementRects({reference:e,floating:t,strategy:a}):$.rects),{x:C,y:x}=em(v,F,h)),D=-1)}return{x:C,y:x,placement:F,strategy:a,middlewareData:I}};function Cv(e){const t=zr(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const a=an(e),c=a?e.offsetWidth:n,p=a?e.offsetHeight:i,m=Lc(n)!==c||Lc(i)!==p;return m&&(n=c,i=p),{width:n,height:i,$:m}}function Tv(e){return ht(e)?e:e.contextElement}function Ds(e){const t=Tv(e);if(!an(t))return On(1);const n=t.getBoundingClientRect(),{width:i,height:a,$:c}=Cv(t);let p=(c?Lc(n.width):n.width)/i,m=(c?Lc(n.height):n.height)/a;return(!p||!Number.isFinite(p))&&(p=1),(!m||!Number.isFinite(m))&&(m=1),{x:p,y:m}}const Ex=On(0);function Rv(e){const t=wr(e);return!Kc()||!t.visualViewport?Ex:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Cx(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==wr(e)?!1:t}function cu(e,t,n,i){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),c=Tv(e);let p=On(1);t&&(i?ht(i)&&(p=Ds(i)):p=Ds(e));const m=Cx(c,n,i)?Rv(c):On(0);let h=(a.left+m.x)/p.x,v=(a.top+m.y)/p.y,C=a.width/p.x,x=a.height/p.y;if(c){const F=wr(c),I=i&&ht(i)?wr(i):i;let L=F,D=up(L);for(;D&&i&&I!==L;){const T=Ds(D),O=D.getBoundingClientRect(),U=zr(D),j=O.left+(D.clientLeft+parseFloat(U.paddingLeft))*T.x,V=O.top+(D.clientTop+parseFloat(U.paddingTop))*T.y;h*=T.x,v*=T.y,C*=T.x,x*=T.y,h+=j,v+=V,L=wr(D),D=up(L)}}return Ev({width:C,height:x,x:h,y:v})}function Yp(e,t){const n=Jc(e).scrollLeft;return t?t.left+n:cu(bo(e)).left+n}function Pv(e,t,n){n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=i.left+t.scrollLeft-(n?0:Yp(e,i)),c=i.top+t.scrollTop;return{x:a,y:c}}function Tx(e){let{elements:t,rect:n,offsetParent:i,strategy:a}=e;const c=a==="fixed",p=bo(i),m=t?qc(t.floating):!1;if(i===p||m&&c)return n;let h={scrollLeft:0,scrollTop:0},v=On(1);const C=On(0),x=an(i);if((x||!x&&!c)&&((el(i)!=="body"||xu(p))&&(h=Jc(i)),an(i))){const I=cu(i);v=Ds(i),C.x=I.x+i.clientLeft,C.y=I.y+i.clientTop}const F=p&&!x&&!c?Pv(p,h,!0):On(0);return{width:n.width*v.x,height:n.height*v.y,x:n.x*v.x-h.scrollLeft*v.x+C.x+F.x,y:n.y*v.y-h.scrollTop*v.y+C.y+F.y}}function Rx(e){return Array.from(e.getClientRects())}function Px(e){const t=bo(e),n=Jc(e),i=e.ownerDocument.body,a=ou(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),c=ou(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let p=-n.scrollLeft+Yp(e);const m=-n.scrollTop;return zr(i).direction==="rtl"&&(p+=ou(t.clientWidth,i.clientWidth)-a),{width:a,height:c,x:p,y:m}}function Ax(e,t){const n=wr(e),i=bo(e),a=n.visualViewport;let c=i.clientWidth,p=i.clientHeight,m=0,h=0;if(a){c=a.width,p=a.height;const v=Kc();(!v||v&&t==="fixed")&&(m=a.offsetLeft,h=a.offsetTop)}return{width:c,height:p,x:m,y:h}}function Ox(e,t){const n=cu(e,!0,t==="fixed"),i=n.top+e.clientTop,a=n.left+e.clientLeft,c=an(e)?Ds(e):On(1),p=e.clientWidth*c.x,m=e.clientHeight*c.y,h=a*c.x,v=i*c.y;return{width:p,height:m,x:h,y:v}}function tm(e,t,n){let i;if(t==="viewport")i=Ax(e,n);else if(t==="document")i=Px(bo(e));else if(ht(t))i=Ox(t,n);else{const a=Rv(e);i={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Ev(i)}function Av(e,t){const n=ho(e);return n===t||!ht(n)||co(n)?!1:zr(n).position==="fixed"||Av(n,t)}function Ix(e,t){const n=t.get(e);if(n)return n;let i=Ms(e,[],!1).filter(m=>ht(m)&&el(m)!=="body"),a=null;const c=zr(e).position==="fixed";let p=c?ho(e):e;for(;ht(p)&&!co(p);){const m=zr(p),h=Gp(p);!h&&m.position==="fixed"&&(a=null),(c?!h&&!a:!h&&m.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||xu(p)&&!h&&Av(e,p))?i=i.filter(C=>C!==p):a=m,p=ho(p)}return t.set(e,i),i}function Fx(e){let{element:t,boundary:n,rootBoundary:i,strategy:a}=e;const p=[...n==="clippingAncestors"?qc(t)?[]:Ix(t,this._c):[].concat(n),i],m=p[0],h=p.reduce((v,C)=>{const x=tm(t,C,a);return v.top=ou(x.top,v.top),v.right=Zh(x.right,v.right),v.bottom=Zh(x.bottom,v.bottom),v.left=ou(x.left,v.left),v},tm(t,m,a));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function Mx(e){const{width:t,height:n}=Cv(e);return{width:t,height:n}}function Dx(e,t,n){const i=an(t),a=bo(t),c=n==="fixed",p=cu(e,!0,c,t);let m={scrollLeft:0,scrollTop:0};const h=On(0);function v(){h.x=Yp(a)}if(i||!i&&!c)if((el(t)!=="body"||xu(a))&&(m=Jc(t)),i){const I=cu(t,!0,c,t);h.x=I.x+t.clientLeft,h.y=I.y+t.clientTop}else a&&v();c&&!i&&a&&v();const C=a&&!i&&!c?Pv(a,m):On(0),x=p.left+m.scrollLeft-h.x-C.x,F=p.top+m.scrollTop-h.y-C.y;return{x,y:F,width:p.width,height:p.height}}function Cd(e){return zr(e).position==="static"}function rm(e,t){if(!an(e)||zr(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return bo(e)===n&&(n=n.ownerDocument.body),n}function Ov(e,t){const n=wr(e);if(qc(e))return n;if(!an(e)){let a=ho(e);for(;a&&!co(a);){if(ht(a)&&!Cd(a))return a;a=ho(a)}return n}let i=rm(e,t);for(;i&&vx(i)&&Cd(i);)i=rm(i,t);return i&&co(i)&&Cd(i)&&!Gp(i)?n:i||yx(e)||n}const _x=async function(e){const t=this.getOffsetParent||Ov,n=this.getDimensions,i=await n(e.floating);return{reference:Dx(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Lx(e){return zr(e).direction==="rtl"}const $x={convertOffsetParentRelativeRectToViewportRelativeRect:Tx,getDocumentElement:bo,getClippingRect:Fx,getOffsetParent:Ov,getElementRects:_x,getClientRects:Rx,getDimensions:Mx,getScale:Ds,isElement:ht,isRTL:Lx},jx=(e,t,n)=>{const i=new Map,a={platform:$x,...n},c={...a.platform,_c:i};return kx(e,t,{...a,platform:c})};var Nx=typeof document<"u",zx=function(){},Cc=Nx?A.useLayoutEffect:zx;function $c(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,i,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(i=n;i--!==0;)if(!$c(e[i],t[i]))return!1;return!0}if(a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(i=n;i--!==0;)if(!{}.hasOwnProperty.call(t,a[i]))return!1;for(i=n;i--!==0;){const c=a[i];if(!(c==="_owner"&&e.$$typeof)&&!$c(e[c],t[c]))return!1}return!0}return e!==e&&t!==t}function Iv(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function nm(e,t){const n=Iv(e);return Math.round(t*n)/n}function Td(e){const t=pe.useRef(e);return Cc(()=>{t.current=e}),t}function Bx(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:a,elements:{reference:c,floating:p}={},transform:m=!0,whileElementsMounted:h,open:v}=e,[C,x]=pe.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[F,I]=pe.useState(i);$c(F,i)||I(i);const[L,D]=pe.useState(null),[T,O]=pe.useState(null),U=pe.useCallback(Z=>{Z!==J.current&&(J.current=Z,D(Z))},[]),j=pe.useCallback(Z=>{Z!==ae.current&&(ae.current=Z,O(Z))},[]),V=c||L,$=p||T,J=pe.useRef(null),ae=pe.useRef(null),re=pe.useRef(C),le=h!=null,ye=Td(h),De=Td(a),Fe=Td(v),$e=pe.useCallback(()=>{if(!J.current||!ae.current)return;const Z={placement:t,strategy:n,middleware:F};De.current&&(Z.platform=De.current),jx(J.current,ae.current,Z).then(ve=>{const Y={...ve,isPositioned:Fe.current!==!1};ze.current&&!$c(re.current,Y)&&(re.current=Y,Ny.flushSync(()=>{x(Y)}))})},[F,t,n,De,Fe]);Cc(()=>{v===!1&&re.current.isPositioned&&(re.current.isPositioned=!1,x(Z=>({...Z,isPositioned:!1})))},[v]);const ze=pe.useRef(!1);Cc(()=>(ze.current=!0,()=>{ze.current=!1}),[]),Cc(()=>{if(V&&(J.current=V),$&&(ae.current=$),V&&$){if(ye.current)return ye.current(V,$,$e);$e()}},[V,$,$e,ye,le]);const xe=pe.useMemo(()=>({reference:J,floating:ae,setReference:U,setFloating:j}),[U,j]),Re=pe.useMemo(()=>({reference:V,floating:$}),[V,$]),Le=pe.useMemo(()=>{const Z={position:n,left:0,top:0};if(!Re.floating)return Z;const ve=nm(Re.floating,C.x),Y=nm(Re.floating,C.y);return m?{...Z,transform:"translate("+ve+"px, "+Y+"px)",...Iv(Re.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:ve,top:Y}},[n,m,Re.floating,C.x,C.y]);return pe.useMemo(()=>({...C,update:$e,refs:xe,elements:Re,floatingStyles:Le}),[C,$e,xe,Re,Le])}let Zc=A.createContext(null);Zc.displayName="OpenClosedContext";var on=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(on||{});function ef(){return A.useContext(Zc)}function Ux({value:e,children:t}){return A.createElement(Zc.Provider,{value:e},t)}function Hx({children:e}){return A.createElement(Zc.Provider,{value:null},e)}function Wx(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let oi=[];Wx(()=>{function e(t){if(!gi(t.target)||t.target===document.body||oi[0]===t.target)return;let n=t.target;n=n.closest(_c),oi.unshift(n??t.target),oi=oi.filter(i=>i!=null&&i.isConnected),oi.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function Fv(e){let t=tt(e),n=A.useRef(!1);A.useEffect(()=>(n.current=!1,()=>{n.current=!0,Wc(()=>{n.current&&t()})}),[t])}function Vx(){let e=typeof document>"u";return"useSyncExternalStore"in pe?(t=>t.useSyncExternalStore)(pe)(()=>()=>{},()=>!1,()=>!e):!1}function Su(){let e=Vx(),[t,n]=pe.useState(xa.isHandoffComplete);return t&&xa.isHandoffComplete===!1&&n(!1),pe.useEffect(()=>{t!==!0&&n(!0)},[t]),pe.useEffect(()=>xa.handoff(),[]),e?!1:t}let Mv=A.createContext(!1);function Gx(){return A.useContext(Mv)}function om(e){return A.createElement(Mv.Provider,{value:e.force},e.children)}function Yx(e){let t=Gx(),n=A.useContext(_v),[i,a]=A.useState(()=>{var c;if(!t&&n!==null)return(c=n.current)!=null?c:null;if(xa.isServer)return null;let p=e==null?void 0:e.getElementById("headlessui-portal-root");if(p)return p;if(e===null)return null;let m=e.createElement("div");return m.setAttribute("id","headlessui-portal-root"),e.body.appendChild(m)});return A.useEffect(()=>{i!==null&&(e!=null&&e.body.contains(i)||e==null||e.body.appendChild(i))},[i,e]),A.useEffect(()=>{t||n!==null&&a(n.current)},[n,a,t]),i}let Dv=A.Fragment,Xx=Dt(function(e,t){let{ownerDocument:n=null,...i}=e,a=A.useRef(null),c=sn(vw(I=>{a.current=I}),t),p=Xc(a),m=n??p,h=Yx(m),[v]=A.useState(()=>{var I;return xa.isServer?null:(I=m==null?void 0:m.createElement("div"))!=null?I:null}),C=A.useContext(cp),x=Su();Mt(()=>{!h||!v||h.contains(v)||(v.setAttribute("data-headlessui-portal",""),h.appendChild(v))},[h,v]),Mt(()=>{if(v&&C)return C.register(v)},[C,v]),Fv(()=>{var I;!h||!v||(tv(v)&&h.contains(v)&&h.removeChild(v),h.childNodes.length<=0&&((I=h.parentElement)==null||I.removeChild(h)))});let F=er();return x?!h||!v?null:Bc.createPortal(F({ourProps:{ref:c},theirProps:i,slot:{},defaultTag:Dv,name:"Portal"}),v):null});function Qx(e,t){let n=sn(t),{enabled:i=!0,ownerDocument:a,...c}=e,p=er();return i?A.createElement(Xx,{...c,ownerDocument:a,ref:n}):p({ourProps:{ref:n},theirProps:c,slot:{},defaultTag:Dv,name:"Portal"})}let qx=A.Fragment,_v=A.createContext(null);function Kx(e,t){let{target:n,...i}=e,a={ref:sn(t)},c=er();return A.createElement(_v.Provider,{value:n},c({ourProps:a,theirProps:i,defaultTag:qx,name:"Popover.Group"}))}let cp=A.createContext(null);function Jx(){let e=A.useContext(cp),t=A.useRef([]),n=tt(c=>(t.current.push(c),e&&e.register(c),()=>i(c))),i=tt(c=>{let p=t.current.indexOf(c);p!==-1&&t.current.splice(p,1),e&&e.unregister(c)}),a=A.useMemo(()=>({register:n,unregister:i,portals:t}),[n,i,t]);return[t,A.useMemo(()=>function({children:c}){return A.createElement(cp.Provider,{value:a},c)},[a])]}let Zx=Dt(Qx),Lv=Dt(Kx),eS=Object.assign(Zx,{Group:Lv});function tS(e,t=typeof document<"u"?document.defaultView:null,n){let i=wu(e,"escape");bv(t,"keydown",a=>{i&&(a.defaultPrevented||a.key===sv.Escape&&n(a))})}function rS(){var e;let[t]=A.useState(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[n,i]=A.useState((e=t==null?void 0:t.matches)!=null?e:!1);return Mt(()=>{if(!t)return;function a(c){i(c.matches)}return t.addEventListener("change",a),()=>t.removeEventListener("change",a)},[t]),n}function nS({defaultContainers:e=[],portals:t,mainTreeNode:n}={}){let i=Xc(n),a=tt(()=>{var c,p;let m=[];for(let h of e)h!==null&&(lo(h)?m.push(h):"current"in h&&lo(h.current)&&m.push(h.current));if(t!=null&&t.current)for(let h of t.current)m.push(h);for(let h of(c=i==null?void 0:i.querySelectorAll("html > *, body > *"))!=null?c:[])h!==document.body&&h!==document.head&&lo(h)&&h.id!=="headlessui-portal-root"&&(n&&(h.contains(n)||h.contains((p=n==null?void 0:n.getRootNode())==null?void 0:p.host))||m.some(v=>h.contains(v))||m.push(h));return m});return{resolveContainers:a,contains:tt(c=>a().some(p=>p.contains(c)))}}let $v=A.createContext(null);function im({children:e,node:t}){let[n,i]=A.useState(null),a=jv(t??n);return A.createElement($v.Provider,{value:a},e,a===null&&A.createElement(Dc,{features:uu.Hidden,ref:c=>{var p,m;if(c){for(let h of(m=(p=Hc(c))==null?void 0:p.querySelectorAll("html > *, body > *"))!=null?m:[])if(h!==document.body&&h!==document.head&&lo(h)&&h!=null&&h.contains(c)){i(h);break}}}}))}function jv(e=null){var t;return(t=A.useContext($v))!=null?t:e}function Xp(){let e=A.useRef(!1);return Mt(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var Jl=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Jl||{});function oS(){let e=A.useRef(0);return yv(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function Nv(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.current)lo(n.current)&&t.add(n.current);return t}let iS="div";var ua=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(ua||{});function aS(e,t){let n=A.useRef(null),i=sn(n,t),{initialFocus:a,initialFocusFallback:c,containers:p,features:m=15,...h}=e;Su()||(m=0);let v=Xc(n);cS(m,{ownerDocument:v});let C=fS(m,{ownerDocument:v,container:n,initialFocus:a,initialFocusFallback:c});dS(m,{ownerDocument:v,container:n,containers:p,previousActiveElement:C});let x=oS(),F=tt(U=>{if(!yi(n.current))return;let j=n.current;(V=>V())(()=>{po(x.current,{[Jl.Forwards]:()=>{nu(j,so.First,{skipElements:[U.relatedTarget,c]})},[Jl.Backwards]:()=>{nu(j,so.Last,{skipElements:[U.relatedTarget,c]})}})})}),I=wu(!!(m&2),"focus-trap#tab-lock"),L=Wp(),D=A.useRef(!1),T={ref:i,onKeyDown(U){U.key=="Tab"&&(D.current=!0,L.requestAnimationFrame(()=>{D.current=!1}))},onBlur(U){if(!(m&4))return;let j=Nv(p);yi(n.current)&&j.add(n.current);let V=U.relatedTarget;gi(V)&&V.dataset.headlessuiFocusGuard!=="true"&&(zv(j,V)||(D.current?nu(n.current,po(x.current,{[Jl.Forwards]:()=>so.Next,[Jl.Backwards]:()=>so.Previous})|so.WrapAround,{relativeTo:U.target}):gi(U.target)&&uo(U.target)))}},O=er();return A.createElement(A.Fragment,null,I&&A.createElement(Dc,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:F,features:uu.Focusable}),O({ourProps:T,theirProps:h,defaultTag:iS,name:"FocusTrap"}),I&&A.createElement(Dc,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:F,features:uu.Focusable}))}let sS=Dt(aS),lS=Object.assign(sS,{features:ua});function uS(e=!0){let t=A.useRef(oi.slice());return Vp(([n],[i])=>{i===!0&&n===!1&&Wc(()=>{t.current.splice(0)}),i===!1&&n===!0&&(t.current=oi.slice())},[e,oi,t]),tt(()=>{var n;return(n=t.current.find(i=>i!=null&&i.isConnected))!=null?n:null})}function cS(e,{ownerDocument:t}){let n=!!(e&8),i=uS(n);Vp(()=>{n||(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)&&uo(i())},[n]),Fv(()=>{n&&uo(i())})}function fS(e,{ownerDocument:t,container:n,initialFocus:i,initialFocusFallback:a}){let c=A.useRef(null),p=wu(!!(e&1),"focus-trap#initial-focus"),m=Xp();return Vp(()=>{if(e===0)return;if(!p){a!=null&&a.current&&uo(a.current);return}let h=n.current;h&&Wc(()=>{if(!m.current)return;let v=t==null?void 0:t.activeElement;if(i!=null&&i.current){if((i==null?void 0:i.current)===v){c.current=v;return}}else if(h.contains(v)){c.current=v;return}if(i!=null&&i.current)uo(i.current);else{if(e&16){if(nu(h,so.First|so.AutoFocus)!==sp.Error)return}else if(nu(h,so.First)!==sp.Error)return;if(a!=null&&a.current&&(uo(a.current),(t==null?void 0:t.activeElement)===a.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}c.current=t==null?void 0:t.activeElement})},[a,p,e]),c}function dS(e,{ownerDocument:t,container:n,containers:i,previousActiveElement:a}){let c=Xp(),p=!!(e&4);bv(t==null?void 0:t.defaultView,"focus",m=>{if(!p||!c.current)return;let h=Nv(i);yi(n.current)&&h.add(n.current);let v=a.current;if(!v)return;let C=m.target;yi(C)?zv(h,C)?(a.current=C,uo(C)):(m.preventDefault(),m.stopPropagation(),uo(v)):uo(a.current)},!0)}function zv(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function Bv(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:Hv)!==A.Fragment||A.Children.count(e.children)===1}let tf=A.createContext(null);tf.displayName="TransitionContext";var pS=(e=>(e.Visible="visible",e.Hidden="hidden",e))(pS||{});function hS(){let e=A.useContext(tf);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function mS(){let e=A.useContext(rf);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let rf=A.createContext(null);rf.displayName="NestingContext";function nf(e){return"children"in e?nf(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function Uv(e,t){let n=Ra(e),i=A.useRef([]),a=Xp(),c=Wp(),p=tt((I,L=mi.Hidden)=>{let D=i.current.findIndex(({el:T})=>T===I);D!==-1&&(po(L,{[mi.Unmount](){i.current.splice(D,1)},[mi.Hidden](){i.current[D].state="hidden"}}),c.microTask(()=>{var T;!nf(i)&&a.current&&((T=n.current)==null||T.call(n))}))}),m=tt(I=>{let L=i.current.find(({el:D})=>D===I);return L?L.state!=="visible"&&(L.state="visible"):i.current.push({el:I,state:"visible"}),()=>p(I,mi.Unmount)}),h=A.useRef([]),v=A.useRef(Promise.resolve()),C=A.useRef({enter:[],leave:[]}),x=tt((I,L,D)=>{h.current.splice(0),t&&(t.chains.current[L]=t.chains.current[L].filter(([T])=>T!==I)),t==null||t.chains.current[L].push([I,new Promise(T=>{h.current.push(T)})]),t==null||t.chains.current[L].push([I,new Promise(T=>{Promise.all(C.current[L].map(([O,U])=>U)).then(()=>T())})]),L==="enter"?v.current=v.current.then(()=>t==null?void 0:t.wait.current).then(()=>D(L)):D(L)}),F=tt((I,L,D)=>{Promise.all(C.current[L].splice(0).map(([T,O])=>O)).then(()=>{var T;(T=h.current.shift())==null||T()}).then(()=>D(L))});return A.useMemo(()=>({children:i,register:m,unregister:p,onStart:x,onStop:F,wait:v,chains:C}),[m,p,i,x,F,C,v])}let Hv=A.Fragment,Wv=Mc.RenderStrategy;function gS(e,t){var n,i;let{transition:a=!0,beforeEnter:c,afterEnter:p,beforeLeave:m,afterLeave:h,enter:v,enterFrom:C,enterTo:x,entered:F,leave:I,leaveFrom:L,leaveTo:D,...T}=e,[O,U]=A.useState(null),j=A.useRef(null),V=Bv(e),$=sn(...V?[j,t,U]:t===null?[]:[t]),J=(n=T.unmount)==null||n?mi.Unmount:mi.Hidden,{show:ae,appear:re,initial:le}=hS(),[ye,De]=A.useState(ae?"visible":"hidden"),Fe=mS(),{register:$e,unregister:ze}=Fe;Mt(()=>$e(j),[$e,j]),Mt(()=>{if(J===mi.Hidden&&j.current){if(ae&&ye!=="visible"){De("visible");return}return po(ye,{hidden:()=>ze(j),visible:()=>$e(j)})}},[ye,j,$e,ze,ae,J]);let xe=Su();Mt(()=>{if(V&&xe&&ye==="visible"&&j.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[j,ye,xe,V]);let Re=le&&!re,Le=re&&ae&&le,Z=A.useRef(!1),ve=Uv(()=>{Z.current||(De("hidden"),ze(j))},Fe),Y=tt(ce=>{Z.current=!0;let Ee=ce?"enter":"leave";ve.onStart(j,Ee,Se=>{Se==="enter"?c==null||c():Se==="leave"&&(m==null||m())})}),K=tt(ce=>{let Ee=ce?"enter":"leave";Z.current=!1,ve.onStop(j,Ee,Se=>{Se==="enter"?p==null||p():Se==="leave"&&(h==null||h())}),Ee==="leave"&&!nf(ve)&&(De("hidden"),ze(j))});A.useEffect(()=>{V&&a||(Y(ae),K(ae))},[ae,V,a]);let fe=!(!a||!V||!xe||Re),[,te]=px(fe,O,ae,{start:Y,end:K}),he=la({ref:$,className:((i=ip(T.className,Le&&v,Le&&C,te.enter&&v,te.enter&&te.closed&&C,te.enter&&!te.closed&&x,te.leave&&I,te.leave&&!te.closed&&L,te.leave&&te.closed&&D,!te.transition&&ae&&F))==null?void 0:i.trim())||void 0,...dx(te)}),me=0;ye==="visible"&&(me|=on.Open),ye==="hidden"&&(me|=on.Closed),ae&&ye==="hidden"&&(me|=on.Opening),!ae&&ye==="visible"&&(me|=on.Closing);let ue=er();return A.createElement(rf.Provider,{value:ve},A.createElement(Ux,{value:me},ue({ourProps:he,theirProps:T,defaultTag:Hv,features:Wv,visible:ye==="visible",name:"Transition.Child"})))}function vS(e,t){let{show:n,appear:i=!1,unmount:a=!0,...c}=e,p=A.useRef(null),m=Bv(e),h=sn(...m?[p,t]:t===null?[]:[t]);Su();let v=ef();if(n===void 0&&v!==null&&(n=(v&on.Open)===on.Open),n===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[C,x]=A.useState(n?"visible":"hidden"),F=Uv(()=>{n||x("hidden")}),[I,L]=A.useState(!0),D=A.useRef([n]);Mt(()=>{I!==!1&&D.current[D.current.length-1]!==n&&(D.current.push(n),L(!1))},[D,n]);let T=A.useMemo(()=>({show:n,appear:i,initial:I}),[n,i,I]);Mt(()=>{n?x("visible"):!nf(F)&&p.current!==null&&x("hidden")},[n,F]);let O={unmount:a},U=tt(()=>{var $;I&&L(!1),($=e.beforeEnter)==null||$.call(e)}),j=tt(()=>{var $;I&&L(!1),($=e.beforeLeave)==null||$.call(e)}),V=er();return A.createElement(rf.Provider,{value:F},A.createElement(tf.Provider,{value:T},V({ourProps:{...O,as:A.Fragment,children:A.createElement(Vv,{ref:h,...O,...c,beforeEnter:U,beforeLeave:j})},theirProps:{},defaultTag:A.Fragment,features:Wv,visible:C==="visible",name:"Transition"})))}function yS(e,t){let n=A.useContext(tf)!==null,i=ef()!==null;return A.createElement(A.Fragment,null,!n&&i?A.createElement(fp,{ref:t,...e}):A.createElement(Vv,{ref:t,...e}))}let fp=Dt(vS),Vv=Dt(gS),Qp=Dt(yS),bS=Object.assign(fp,{Child:Qp,Root:fp});var wS=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(wS||{}),xS=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(xS||{});let SS={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},qp=A.createContext(null);qp.displayName="DialogContext";function of(e){let t=A.useContext(qp);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,of),n}return t}function kS(e,t){return po(t.type,SS,e,t)}let am=Dt(function(e,t){let n=A.useId(),{id:i=`headlessui-dialog-${n}`,open:a,onClose:c,initialFocus:p,role:m="dialog",autoFocus:h=!0,__demoMode:v=!1,unmount:C=!1,...x}=e,F=A.useRef(!1);m=function(){return m==="dialog"||m==="alertdialog"?m:(F.current||(F.current=!0,console.warn(`Invalid role [${m}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let I=ef();a===void 0&&I!==null&&(a=(I&on.Open)===on.Open);let L=A.useRef(null),D=sn(L,t),T=Xc(L),O=a?0:1,[U,j]=A.useReducer(kS,{titleId:null,descriptionId:null,panelRef:A.createRef()}),V=tt(()=>c(!1)),$=tt(te=>j({type:0,id:te})),J=Su()?O===0:!1,[ae,re]=Jx(),le={get current(){var te;return(te=U.panelRef.current)!=null?te:L.current}},ye=jv(),{resolveContainers:De}=nS({mainTreeNode:ye,portals:ae,defaultContainers:[le]}),Fe=I!==null?(I&on.Closing)===on.Closing:!1;Hw(v||Fe?!1:J,{allowed:tt(()=>{var te,he;return[(he=(te=L.current)==null?void 0:te.closest("[data-headlessui-portal]"))!=null?he:null]}),disallowed:tt(()=>{var te;return[(te=ye==null?void 0:ye.closest("body > *:not(#headlessui-portal-root)"))!=null?te:null]})});let $e=hv.get(null);Mt(()=>{if(J)return $e.actions.push(i),()=>$e.actions.pop(i)},[$e,i,J]);let ze=mv($e,A.useCallback(te=>$e.selectors.isTop(te,i),[$e,i]));tx(ze,De,te=>{te.preventDefault(),V()}),tS(ze,T==null?void 0:T.defaultView,te=>{te.preventDefault(),te.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),V()}),ux(v||Fe?!1:J,T,De),Ww(J,L,V);let[xe,Re]=iv(),Le=A.useMemo(()=>[{dialogState:O,close:V,setTitleId:$,unmount:C},U],[O,U,V,$,C]),Z=A.useMemo(()=>({open:O===0}),[O]),ve={ref:D,id:i,role:m,tabIndex:-1,"aria-modal":v?void 0:O===0?!0:void 0,"aria-labelledby":U.titleId,"aria-describedby":xe,unmount:C},Y=!rS(),K=ua.None;J&&!v&&(K|=ua.RestoreFocus,K|=ua.TabLock,h&&(K|=ua.AutoFocus),Y&&(K|=ua.InitialFocus));let fe=er();return A.createElement(Hx,null,A.createElement(om,{force:!0},A.createElement(eS,null,A.createElement(qp.Provider,{value:Le},A.createElement(Lv,{target:L},A.createElement(om,{force:!1},A.createElement(Re,{slot:Z},A.createElement(re,null,A.createElement(lS,{initialFocus:p,initialFocusFallback:L,containers:De,features:K},A.createElement(Pw,{value:V},fe({ourProps:ve,theirProps:x,slot:Z,defaultTag:ES,features:CS,visible:O===0,name:"Dialog"})))))))))))}),ES="div",CS=Mc.RenderStrategy|Mc.Static;function TS(e,t){let{transition:n=!1,open:i,...a}=e,c=ef(),p=e.hasOwnProperty("open")||c!==null,m=e.hasOwnProperty("onClose");if(!p&&!m)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!p)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!m)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!c&&typeof e.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if(typeof e.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(i!==void 0||n)&&!a.static?A.createElement(im,null,A.createElement(bS,{show:i,transition:n,unmount:a.unmount},A.createElement(am,{ref:t,...a}))):A.createElement(im,null,A.createElement(am,{ref:t,open:i,...a}))}let RS="div";function PS(e,t){let n=A.useId(),{id:i=`headlessui-dialog-panel-${n}`,transition:a=!1,...c}=e,[{dialogState:p,unmount:m},h]=of("Dialog.Panel"),v=sn(t,h.panelRef),C=A.useMemo(()=>({open:p===0}),[p]),x=tt(T=>{T.stopPropagation()}),F={ref:v,id:i,onClick:x},I=a?Qp:A.Fragment,L=a?{unmount:m}:{},D=er();return A.createElement(I,{...L},D({ourProps:F,theirProps:c,slot:C,defaultTag:RS,name:"Dialog.Panel"}))}let AS="div";function OS(e,t){let{transition:n=!1,...i}=e,[{dialogState:a,unmount:c}]=of("Dialog.Backdrop"),p=A.useMemo(()=>({open:a===0}),[a]),m={ref:t,"aria-hidden":!0},h=n?Qp:A.Fragment,v=n?{unmount:c}:{},C=er();return A.createElement(h,{...v},C({ourProps:m,theirProps:i,slot:p,defaultTag:AS,name:"Dialog.Backdrop"}))}let IS="h2";function FS(e,t){let n=A.useId(),{id:i=`headlessui-dialog-title-${n}`,...a}=e,[{dialogState:c,setTitleId:p}]=of("Dialog.Title"),m=sn(t);A.useEffect(()=>(p(i),()=>p(null)),[i,p]);let h=A.useMemo(()=>({open:c===0}),[c]),v={ref:m,id:i};return er()({ourProps:v,theirProps:a,slot:h,defaultTag:IS,name:"Dialog.Title"})}let MS=Dt(TS),Gv=Dt(PS),DS=Dt(OS),Yv=Dt(FS),_S=Object.assign(MS,{Panel:Gv,Title:Yv,Description:av}),LS="div";function $S(e,t){let n=`headlessui-control-${A.useId()}`,[i,a]=Sw(),[c,p]=iv(),m=Vc(),{disabled:h=m||!1,...v}=e,C=A.useMemo(()=>({disabled:h}),[h]),x={ref:t,disabled:h||void 0,"aria-disabled":h||void 0},F=er();return A.createElement(nw,{value:h},A.createElement(a,{value:i},A.createElement(p,{value:c},A.createElement(pw,{id:n},F({ourProps:x,theirProps:{...v,children:A.createElement(dw,null,typeof v.children=="function"?v.children(C):v.children)},slot:C,defaultTag:LS,name:"Field"})))))}let jS=Dt($S),NS="input";function zS(e,t){let n=A.useId(),i=ev(),a=Vc(),{id:c=i||`headlessui-input-${n}`,disabled:p=a||!1,autoFocus:m=!1,invalid:h=!1,...v}=e,C=uv(),x=yw(),{isFocused:F,focusProps:I}=Z0({autoFocus:m}),{isHovered:L,hoverProps:D}=J0({isDisabled:p}),T=sw({ref:t,id:c,"aria-labelledby":C,"aria-describedby":x,"aria-invalid":h?"true":void 0,disabled:p||void 0,autoFocus:m},I,D),O=A.useMemo(()=>({disabled:p,invalid:h,hover:L,focus:F,autofocus:m}),[p,h,L,F,m]);return er()({ourProps:T,theirProps:v,slot:O,defaultTag:NS,name:"Input"})}let BS=Dt(zS);const US="whitespace-nowrap font-normal flex items-center justify-center",HS="focus:outline focus:outline-3 focus:outline-primary-500/[.3]",WS="disabled:opacity-15 disabled:pointer-events-none",Xv=e=>e==="grayLight"||e==="warning",Qv=(e,t)=>!t||t==="none"?"":e(),VS=(e,t)=>Qv(()=>{const n=e==="gray400"?"gray":e,i=Xv(n)?"active:text-black":"active:text-white";return e==="primary"?t?`bg-${n}-800 text-white`:`hover:bg-${n}-800 active:bg-${n}-800 hover:text-white ${i}`:n==="grayDark"?t?"bg-gray-800 text-white":`hover:bg-gray-800 active:bg-gray-800 hover:text-white ${i}`:n==="grayLight"?t?"bg-gray-50 text-black":`hover:bg-gray-50 active:bg-gray-50 hover:text-black ${i}`:e==="gray400"?t?`bg-${n}-500 text-white`:`hover:bg-${n}-500 active:bg-${n}-500 hover:text-white ${i}`:t?`bg-${n}-700 text-white`:`hover:bg-${n}-600 active:bg-${n}-700 hover:text-white ${i}`},e),GS=e=>Qv(()=>{const t=Xv(e)?"text-black":"text-white";return e==="primary"?`bg-primary-600 ${t}`:e==="gray400"?`bg-gray-400 ${t}`:`bg-${e}-500 ${t}`},e),YS=e=>e&&{dark:"text-dark hover:text-dark",yellow:"text-yellow hover:text-yellow",gray:"text-gray-500 hover:text-gray-800",primary:"text-primary-600 hover:text-primary-800",secondary:"text-secondary-500 hover:text-secondary-800",success:"text-success-500 hover:text-success-800",info:"text-info-500 hover:text-info-800",warning:"text-warning-500 hover:text-warning-800",danger:"text-danger-500 hover:text-danger-800",steel:"text-steel-500 hover:text-steel-800",orange:"text-orange-500 hover:text-orange-800",purple:"text-purple-500 hover:text-purple-800","fiserv-orange":"text-fiserv-orange-500 hover:text-fiserv-orange-800",grayDark:"text-gray-800 hover:text-gray-900",grayLight:"text-gray-50 hover:text-gray-400",gray400:"text-gray-400 hover:text-gray-700"}[e]||"",XS=(e,t)=>e&&{dark:t?"bg-dark text-white":"text-dark hover:bg-dark hover:text-white",yellow:t?"bg-yellow text-white":"text-yellow hover:bg-yellow hover:text-white",gray:t?"bg-gray-500 text-white":"text-gray-500 hover:bg-gray-500 hover:text-white",primary:t?"bg-primary-800 text-white":"text-primary-600 hover:bg-primary-800 hover:text-white",secondary:t?"bg-secondary-500 text-white":"text-secondary-500 hover:bg-secondary-500 hover:text-white",success:t?"bg-success-500 text-white":"text-success-500 hover:bg-success-500 hover:text-white",info:t?"bg-info-500 text-white":"text-info-500 hover:bg-info-500 hover:text-white",warning:t?"bg-warning-500 text-white":"text-warning-500 hover:bg-warning-500 hover:text-white",danger:t?"bg-danger-500 text-white":"text-danger-500 hover:bg-danger-500 hover:text-white",steel:t?"bg-steel-500 text-white":"text-steel-500 hover:bg-steel-500 hover:text-white",orange:t?"bg-orange-500 text-white":"text-orange-500 hover:bg-orange-500 hover:text-white",purple:t?"bg-purple-500 text-white":"text-purple-500 hover:bg-purple-500 hover:text-white","fiserv-orange":t?"bg-fiserv-orange-500 text-white":"text-fiserv-orange-500 hover:bg-fiserv-orange-500 hover:text-white",grayDark:t?"bg-gray-900 text-white":"text-gray-800 hover:bg-gray-900 hover:text-white",grayLight:t?"bg-gray-400 text-white":"text-gray-50 hover:bg-gray-400 hover:text-white",gray400:t?"bg-gray-500 text-white":"text-gray-400 hover:bg-gray-500 hover:text-white"}[e]||"",QS=(e,t)=>!e||e==="none"?"":e==="primary"?`border border-primary-600 ${t?"":"text-primary-600"}`:e==="grayDark"?`border border-gray-800 ${t?"":"text-gray-800"}`:e==="grayLight"?`border border-gray-50 ${t?"":"text-gray-400"}`:e==="gray400"?`border border-gray-400 ${t?"":"text-gray-400"}`:`border border-${e}-500 ${t?"":`text-${e}-500`}`,qS=(e,t)=>({solid:GS(e),link:YS(e),linkHoverSolid:XS(e,t),outline:QS(e,t)}),KS={none:"",default:"min-w-fit h-[40px] text-base px-3",base:"w-full md:min-w-fit h-[40px] text-base px-3",small:"min-w-[106px] h-[30px] text-sm px-2",normal:"min-w-[140px] h-[38px] text-base px-3",large:"min-w-[160px] h-[40px] text-lg px-3",NormalBlock:"w-full h-[40px] text-lg px-3",box:"w-[38px] h-[38px]",smallCollapse:"h-[30px] text-sm px-2",normalCollapse:"h-[38px] text-base px-3"},JS={none:"",default:"rounded",pill:"rounded-pill"},ZS=({active:e=!1,children:t,color:n="primary",size:i="normal",category:a="solid",className:c,type:p="button",rounded:m="default",style:h={},primaryColor:v,...C},x)=>{var j;const F=WS,I=/link/.test(a)?null:VS(n,e),L=HS,D=KS[i],T=(j=qS(n,e))==null?void 0:j[a],O=Fs(I,T),U=JS[m];return q.jsx("button",{...C,style:{...h,transition:"color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out",backgroundColor:v?v+"!important":void 0},type:p,ref:x,className:Fs(US,L,F,D,O,U,c,"cursor-pointer"),children:t})},fu=A.forwardRef(ZS),ek=({isOpen:e,close:t,title:n,dismissOptions:i,confirmOptions:a,children:c,className:p})=>q.jsxs(_S,{open:e,onClose:t,className:wt("relative z-50 transition duration-300 ease-out data-closed:opacity-0 confidence-ui",p),transition:!0,children:[q.jsx(DS,{className:"fixed inset-0 bg-black/30"}),q.jsx("div",{className:"fixed inset-0 flex w-screen items-center justify-center p-4",children:q.jsxs(Gv,{className:"max-w-lg divide-y divide-gray-100 bg-white rounded-sm shadow-xl",children:[n&&q.jsx(Yv,{className:" text-gray-900 p-4",children:n}),q.jsx("div",{className:"p-4",children:c}),i||a?q.jsxs("div",{className:"flex gap-4 p-4",children:[i?q.jsx(fu,{className:"flex-1",onClick:()=>{i.onClick(),t()},size:"small",color:"secondary",children:i.label}):q.jsx(q.Fragment,{}),a?q.jsx(fu,{className:"flex-1",disabled:a.disabled,onClick:()=>{a.onClick(),t()},size:"small",color:"primary",children:a.label}):q.jsx(q.Fragment,{})]}):q.jsx(q.Fragment,{})]})})]}),tk=({type:e="text",className:t,label:n,description:i,error:a,...c})=>q.jsx("div",{className:"w-full max-w-md px-4",children:q.jsxs(jS,{children:[n&&q.jsx(Tw,{className:"font-medium text-gray-900",children:n}),i&&q.jsx(av,{className:"text-sm text-secondary",children:i}),q.jsx(BS,{type:e,className:wt("mt-3 block w-full rounded-lg border border-gray-200 px-3 py-1.5 text-sm/6 text-gray-800","focus:not-data-focus:outline-none data-focus:outline-2 data-focus:-outline-offset-2 data-focus:outline-primary-500",t,a&&"border-red-500 focus:border-red-500"),...c})]})}),rk=({onConfirm:e,onClose:t,isOpen:n,title:i})=>{const[a,c]=A.useState(""),[p,m]=A.useState(!1),[h,v]=A.useState(!1),C=async()=>{if(a)try{m(!0),await e(a),c("")}catch{v(!0)}finally{m(!1)}else alert("Please enter a valid email address.")};return q.jsx(ek,{isOpen:n,close:t,dismissOptions:{label:"Cancel",onClick:t},confirmOptions:{label:"Initiate",onClick:C,disabled:p||!a||h},children:q.jsxs("div",{className:"flex flex-col items-center gap-4 w-[400px]",children:[q.jsxs("div",{children:[q.jsx("div",{className:"text-center text-2xl font-medium",children:h?"User already has access":i||"Access Playbook"}),q.jsx("div",{className:"text-center",children:h?q.jsxs(q.Fragment,{children:[q.jsx("b",{children:a})," has already accessed a playbook. Contact Confidence to speak to representative."]}):q.jsx(q.Fragment,{children:"Please enter your company email address to access this playbook."})})]}),q.jsx(tk,{disabled:p||h,placeholder:"Enter company email address",onChange:x=>c(x.target.value)})]})})},nk=({btnClassName:e,buttonNode:t,size:n,playbookId:i,onInitiated:a,disabled:c,btnLabel:p="Run Playbook",btnColor:m="primary"})=>{const[h,v]=A.useState(!1),[C,x]=A.useState(!1);function F(){v(!0)}function I(){v(!1)}const L=async D=>{try{x(!0);const{playbookInstanceId:T,errorCode:O,details:U,message:j}=await Rg({bank:"public-sdk",email:D,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles",playbookUid:i})||{};if(O)throw new Error(`Error initiating playbook: ${j} (Code: ${O}) - Details: ${U}`);a(T)}finally{x(!1)}};return q.jsxs(q.Fragment,{children:[t?{buttonNode:t}:q.jsxs(fu,{onClick:F,className:wt(e,"flex items-center gap-1"),color:m,size:n,disabled:c||C,children:[q.jsx("img",{src:ug,alt:"Confidence Logo",className:"size-4 object-contain text-white"}),p]}),q.jsx(rk,{isOpen:h,onClose:I,onConfirm:async D=>{await L(D),I()}})]})};/*!
|
|
128
|
+
`))}else{let F=R.props,M=F==null?void 0:F.className,B=typeof M=="function"?(...I)=>Hp(M(...I),m.className):Hp(M,m.className),D=B?{className:B}:{},P=Um(R.props,as(Df(m,["ref"])));for(let I in E)I in P&&delete E[I];return V.cloneElement(R,Object.assign({},P,E,x,{ref:a($b(R),x.ref)},D))}return V.createElement(d,Object.assign({},Df(m,["ref"]),d!==V.Fragment&&x,d!==V.Fragment&&E),R)}function Lb(){let e=V.useRef([]),r=V.useCallback(o=>{for(let i of e.current)i!=null&&(typeof i=="function"?i(o):i.current=o)},[]);return(...o)=>{if(!o.every(i=>i==null))return e.current=o,r}}function jb(...e){return e.every(r=>r==null)?void 0:r=>{for(let o of e)o!=null&&(typeof o=="function"?o(r):o.current=r)}}function Um(...e){if(e.length===0)return{};if(e.length===1)return e[0];let r={},o={};for(let i of e)for(let a in i)a.startsWith("on")&&typeof i[a]=="function"?(o[a]!=null||(o[a]=[]),o[a].push(i[a])):r[a]=i[a];if(r.disabled||r["aria-disabled"])for(let i in o)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(i)&&(o[i]=[a=>{var d;return(d=a==null?void 0:a.preventDefault)==null?void 0:d.call(a)}]);for(let i in o)Object.assign(r,{[i](a,...d){let h=o[i];for(let y of h){if((a instanceof Event||(a==null?void 0:a.nativeEvent)instanceof Event)&&a.defaultPrevented)return;y(a,...d)}}});return r}function Nb(...e){if(e.length===0)return{};if(e.length===1)return e[0];let r={},o={};for(let i of e)for(let a in i)a.startsWith("on")&&typeof i[a]=="function"?(o[a]!=null||(o[a]=[]),o[a].push(i[a])):r[a]=i[a];for(let i in o)Object.assign(r,{[i](...a){let d=o[i];for(let h of d)h==null||h(...a)}});return r}function Ql(e){var r;return Object.assign(V.forwardRef(e),{displayName:(r=e.displayName)!=null?r:e.name})}function as(e){let r=Object.assign({},e);for(let o in r)r[o]===void 0&&delete r[o];return r}function Df(e,r=[]){let o=Object.assign({},e);for(let i of r)i in o&&delete o[i];return o}function $b(e){return V.version.split(".")[0]>="19"?e.props.ref:e.ref}let zb="span";var Hm=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Hm||{});function Bb(e,r){var o;let{features:i=1,...a}=e,d={ref:r,"aria-hidden":(i&2)===2?!0:(o=a["aria-hidden"])!=null?o:void 0,hidden:(i&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(i&4)===4&&(i&2)!==2&&{display:"none"}}};return Gl()({ourProps:d,theirProps:a,slot:{},defaultTag:zb,name:"Hidden"})}let Ub=Ql(Bb),Hb=V.createContext(null);function Wb(e){let[r,o]=V.useState(null);return V.createElement(Hb.Provider,{value:{target:r}},e.children,V.createElement(Ub,{features:Hm.Hidden,ref:o}))}let Wm=V.createContext(void 0);function Vm(){return V.useContext(Wm)}function Vb({id:e,children:r}){return V.createElement(Wm.Provider,{value:e},r)}function Yb(e){return typeof e!="object"||e===null?!1:"nodeType"in e}function Ym(e){return Yb(e)&&"tagName"in e}function Gm(e){return Ym(e)&&"accessKey"in e}function Gb(e){return Gm(e)&&e.nodeName==="INPUT"}function Wp(e){return Gm(e)&&e.nodeName==="LABEL"}function Qb(e){return Ym(e)?e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]'):!1}let Xb=Symbol();function Qm(...e){let r=V.useRef(e);V.useEffect(()=>{r.current=e},[e]);let o=fc(i=>{for(let a of r.current)a!=null&&(typeof a=="function"?a(i):a.current=i)});return e.every(i=>i==null||(i==null?void 0:i[Xb]))?void 0:o}let pc=V.createContext(null);pc.displayName="DescriptionContext";function Xm(){let e=V.useContext(pc);if(e===null){let r=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(r,Xm),r}return e}function qb(){var e,r;return(r=(e=V.useContext(pc))==null?void 0:e.value)!=null?r:void 0}function Jb(){let[e,r]=V.useState([]);return[e.length>0?e.join(" "):void 0,V.useMemo(()=>function(o){let i=fc(d=>(r(h=>[...h,d]),()=>r(h=>{let y=h.slice(),m=y.indexOf(d);return m!==-1&&y.splice(m,1),y}))),a=V.useMemo(()=>({register:i,slot:o.slot,name:o.name,props:o.props,value:o.value}),[i,o.slot,o.name,o.props,o.value]);return V.createElement(pc.Provider,{value:a},o.children)},[r])]}let Kb="p";function Zb(e,r){let o=V.useId(),i=dc(),{id:a=`headlessui-description-${o}`,...d}=e,h=Xm(),y=Qm(r);Jd(()=>h.register(a),[a,h.register]);let m=i||!1,x=V.useMemo(()=>({...h.slot,disabled:m}),[h.slot,m]),R={ref:y,...h.props,id:a};return Gl()({ourProps:R,theirProps:d,slot:x,defaultTag:Kb,name:h.name||"Description"})}let e0=Ql(Zb),t0=Object.assign(e0,{}),hc=V.createContext(null);hc.displayName="LabelContext";function qm(){let e=V.useContext(hc);if(e===null){let r=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(r,qm),r}return e}function Jm(e){var r,o,i;let a=(o=(r=V.useContext(hc))==null?void 0:r.value)!=null?o:void 0;return((i=void 0)!=null?i:0)>0?[a,...e].filter(Boolean).join(" "):a}function r0({inherit:e=!1}={}){let r=Jm(),[o,i]=V.useState([]),a=e?[r,...o].filter(Boolean):o;return[a.length>0?a.join(" "):void 0,V.useMemo(()=>function(d){let h=fc(m=>(i(x=>[...x,m]),()=>i(x=>{let R=x.slice(),E=R.indexOf(m);return E!==-1&&R.splice(E,1),R}))),y=V.useMemo(()=>({register:h,slot:d.slot,name:d.name,props:d.props,value:d.value}),[h,d.slot,d.name,d.props,d.value]);return V.createElement(hc.Provider,{value:y},d.children)},[i])]}let n0="label";function o0(e,r){var o;let i=V.useId(),a=qm(),d=Vm(),h=dc(),{id:y=`headlessui-label-${i}`,htmlFor:m=d??((o=a.props)==null?void 0:o.htmlFor),passive:x=!1,...R}=e,E=Qm(r);Jd(()=>a.register(y),[y,a.register]);let F=fc(P=>{let I=P.currentTarget;if(!(P.target!==P.currentTarget&&Qb(P.target))&&(Wp(I)&&P.preventDefault(),a.props&&"onClick"in a.props&&typeof a.props.onClick=="function"&&a.props.onClick(P),Wp(I))){let W=document.getElementById(I.htmlFor);if(W){let U=W.getAttribute("disabled");if(U==="true"||U==="")return;let Y=W.getAttribute("aria-disabled");if(Y==="true"||Y==="")return;(Gb(W)&&(W.type==="file"||W.type==="radio"||W.type==="checkbox")||W.role==="radio"||W.role==="checkbox"||W.role==="switch")&&W.click(),W.focus({preventScroll:!0})}}}),M=h||!1,B=V.useMemo(()=>({...a.slot,disabled:M}),[a.slot,M]),D={ref:E,...a.props,id:y,htmlFor:m,onClick:F};return x&&("onClick"in D&&(delete D.htmlFor,delete D.onClick),"onClick"in R&&delete R.onClick),Gl()({ourProps:D,theirProps:R,slot:B,defaultTag:m?n0:"div",name:a.name||"Label"})}let i0=Ql(o0),a0=Object.assign(i0,{});function mc(){return typeof window<"u"}function Ms(e){return Km(e)?(e.nodeName||"").toLowerCase():"#document"}function gr(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function io(e){var r;return(r=(Km(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function Km(e){return mc()?e instanceof Node||e instanceof gr(e).Node:!1}function pt(e){return mc()?e instanceof Element||e instanceof gr(e).Element:!1}function Zr(e){return mc()?e instanceof HTMLElement||e instanceof gr(e).HTMLElement:!1}function md(e){return!mc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof gr(e).ShadowRoot}function Xl(e){const{overflow:r,overflowX:o,overflowY:i,display:a}=_r(e);return/auto|scroll|overlay|hidden|clip/.test(r+i+o)&&!["inline","contents"].includes(a)}function s0(e){return["table","td","th"].includes(Ms(e))}function gc(e){return[":popover-open",":modal"].some(r=>{try{return e.matches(r)}catch{return!1}})}function Kd(e){const r=vc(),o=pt(e)?_r(e):e;return["transform","translate","scale","rotate","perspective"].some(i=>o[i]?o[i]!=="none":!1)||(o.containerType?o.containerType!=="normal":!1)||!r&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!r&&(o.filter?o.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(i=>(o.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(o.contain||"").includes(i))}function l0(e){let r=to(e);for(;Zr(r)&&!Zn(r);){if(Kd(r))return r;if(gc(r))return null;r=to(r)}return null}function vc(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Zn(e){return["html","body","#document"].includes(Ms(e))}function _r(e){return gr(e).getComputedStyle(e)}function yc(e){return pt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function to(e){if(Ms(e)==="html")return e;const r=e.assignedSlot||e.parentNode||md(e)&&e.host||io(e);return md(r)?r.host:r}function Zm(e){const r=to(e);return Zn(r)?e.ownerDocument?e.ownerDocument.body:e.body:Zr(r)&&Xl(r)?r:Zm(r)}function ds(e,r,o){var i;r===void 0&&(r=[]),o===void 0&&(o=!0);const a=Zm(e),d=a===((i=e.ownerDocument)==null?void 0:i.body),h=gr(a);if(d){const y=gd(h);return r.concat(h,h.visualViewport||[],Xl(a)?a:[],y&&o?ds(y):[])}return r.concat(a,ds(a,[],o))}function gd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const Vp=Math.min,Fl=Math.max,oc=Math.round,Sn=e=>({x:e,y:e});function eg(e){return e.split("-")[0]}function u0(e){return e.split("-")[1]}function c0(e){return e==="x"?"y":"x"}function f0(e){return e==="y"?"height":"width"}function tg(e){return["top","bottom"].includes(eg(e))?"y":"x"}function d0(e){return c0(tg(e))}function rg(e){const{x:r,y:o,width:i,height:a}=e;return{width:i,height:a,top:o,left:r,right:r+i,bottom:o+a,x:r,y:o}}function Yp(e,r,o){let{reference:i,floating:a}=e;const d=tg(r),h=d0(r),y=f0(h),m=eg(r),x=d==="y",R=i.x+i.width/2-a.width/2,E=i.y+i.height/2-a.height/2,F=i[y]/2-a[y]/2;let M;switch(m){case"top":M={x:R,y:i.y-a.height};break;case"bottom":M={x:R,y:i.y+i.height};break;case"right":M={x:i.x+i.width,y:E};break;case"left":M={x:i.x-a.width,y:E};break;default:M={x:i.x,y:i.y}}switch(u0(r)){case"start":M[h]-=F*(o&&x?-1:1);break;case"end":M[h]+=F*(o&&x?-1:1);break}return M}const p0=async(e,r,o)=>{const{placement:i="bottom",strategy:a="absolute",middleware:d=[],platform:h}=o,y=d.filter(Boolean),m=await(h.isRTL==null?void 0:h.isRTL(r));let x=await h.getElementRects({reference:e,floating:r,strategy:a}),{x:R,y:E}=Yp(x,i,m),F=i,M={},B=0;for(let D=0;D<y.length;D++){const{name:P,fn:I}=y[D],{x:W,y:U,data:Y,reset:_}=await I({x:R,y:E,initialPlacement:i,placement:F,strategy:a,middlewareData:M,rects:x,platform:h,elements:{reference:e,floating:r}});R=W??R,E=U??E,M={...M,[P]:{...M[P],...Y}},_&&B<=50&&(B++,typeof _=="object"&&(_.placement&&(F=_.placement),_.rects&&(x=_.rects===!0?await h.getElementRects({reference:e,floating:r,strategy:a}):_.rects),{x:R,y:E}=Yp(x,F,m)),D=-1)}return{x:R,y:E,placement:F,strategy:a,middlewareData:M}};function ng(e){const r=_r(e);let o=parseFloat(r.width)||0,i=parseFloat(r.height)||0;const a=Zr(e),d=a?e.offsetWidth:o,h=a?e.offsetHeight:i,y=oc(o)!==d||oc(i)!==h;return y&&(o=d,i=h),{width:o,height:i,$:y}}function og(e){return pt(e)?e:e.contextElement}function ps(e){const r=og(e);if(!Zr(r))return Sn(1);const o=r.getBoundingClientRect(),{width:i,height:a,$:d}=ng(r);let h=(d?oc(o.width):o.width)/i,y=(d?oc(o.height):o.height)/a;return(!h||!Number.isFinite(h))&&(h=1),(!y||!Number.isFinite(y))&&(y=1),{x:h,y}}const h0=Sn(0);function ig(e){const r=gr(e);return!vc()||!r.visualViewport?h0:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function m0(e,r,o){return r===void 0&&(r=!1),!o||r&&o!==gr(e)?!1:r}function Nl(e,r,o,i){r===void 0&&(r=!1),o===void 0&&(o=!1);const a=e.getBoundingClientRect(),d=og(e);let h=Sn(1);r&&(i?pt(i)&&(h=ps(i)):h=ps(e));const y=m0(d,o,i)?ig(d):Sn(0);let m=(a.left+y.x)/h.x,x=(a.top+y.y)/h.y,R=a.width/h.x,E=a.height/h.y;if(d){const F=gr(d),M=i&&pt(i)?gr(i):i;let B=F,D=gd(B);for(;D&&i&&M!==B;){const P=ps(D),I=D.getBoundingClientRect(),W=_r(D),U=I.left+(D.clientLeft+parseFloat(W.paddingLeft))*P.x,Y=I.top+(D.clientTop+parseFloat(W.paddingTop))*P.y;m*=P.x,x*=P.y,R*=P.x,E*=P.y,m+=U,x+=Y,B=gr(D),D=gd(B)}}return rg({width:R,height:E,x:m,y:x})}function Zd(e,r){const o=yc(e).scrollLeft;return r?r.left+o:Nl(io(e)).left+o}function ag(e,r,o){o===void 0&&(o=!1);const i=e.getBoundingClientRect(),a=i.left+r.scrollLeft-(o?0:Zd(e,i)),d=i.top+r.scrollTop;return{x:a,y:d}}function g0(e){let{elements:r,rect:o,offsetParent:i,strategy:a}=e;const d=a==="fixed",h=io(i),y=r?gc(r.floating):!1;if(i===h||y&&d)return o;let m={scrollLeft:0,scrollTop:0},x=Sn(1);const R=Sn(0),E=Zr(i);if((E||!E&&!d)&&((Ms(i)!=="body"||Xl(h))&&(m=yc(i)),Zr(i))){const M=Nl(i);x=ps(i),R.x=M.x+i.clientLeft,R.y=M.y+i.clientTop}const F=h&&!E&&!d?ag(h,m,!0):Sn(0);return{width:o.width*x.x,height:o.height*x.y,x:o.x*x.x-m.scrollLeft*x.x+R.x+F.x,y:o.y*x.y-m.scrollTop*x.y+R.y+F.y}}function v0(e){return Array.from(e.getClientRects())}function y0(e){const r=io(e),o=yc(e),i=e.ownerDocument.body,a=Fl(r.scrollWidth,r.clientWidth,i.scrollWidth,i.clientWidth),d=Fl(r.scrollHeight,r.clientHeight,i.scrollHeight,i.clientHeight);let h=-o.scrollLeft+Zd(e);const y=-o.scrollTop;return _r(i).direction==="rtl"&&(h+=Fl(r.clientWidth,i.clientWidth)-a),{width:a,height:d,x:h,y}}function b0(e,r){const o=gr(e),i=io(e),a=o.visualViewport;let d=i.clientWidth,h=i.clientHeight,y=0,m=0;if(a){d=a.width,h=a.height;const x=vc();(!x||x&&r==="fixed")&&(y=a.offsetLeft,m=a.offsetTop)}return{width:d,height:h,x:y,y:m}}function x0(e,r){const o=Nl(e,!0,r==="fixed"),i=o.top+e.clientTop,a=o.left+e.clientLeft,d=Zr(e)?ps(e):Sn(1),h=e.clientWidth*d.x,y=e.clientHeight*d.y,m=a*d.x,x=i*d.y;return{width:h,height:y,x:m,y:x}}function Gp(e,r,o){let i;if(r==="viewport")i=b0(e,o);else if(r==="document")i=y0(io(e));else if(pt(r))i=x0(r,o);else{const a=ig(e);i={x:r.x-a.x,y:r.y-a.y,width:r.width,height:r.height}}return rg(i)}function sg(e,r){const o=to(e);return o===r||!pt(o)||Zn(o)?!1:_r(o).position==="fixed"||sg(o,r)}function w0(e,r){const o=r.get(e);if(o)return o;let i=ds(e,[],!1).filter(y=>pt(y)&&Ms(y)!=="body"),a=null;const d=_r(e).position==="fixed";let h=d?to(e):e;for(;pt(h)&&!Zn(h);){const y=_r(h),m=Kd(h);!m&&y.position==="fixed"&&(a=null),(d?!m&&!a:!m&&y.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Xl(h)&&!m&&sg(e,h))?i=i.filter(R=>R!==h):a=y,h=to(h)}return r.set(e,i),i}function S0(e){let{element:r,boundary:o,rootBoundary:i,strategy:a}=e;const h=[...o==="clippingAncestors"?gc(r)?[]:w0(r,this._c):[].concat(o),i],y=h[0],m=h.reduce((x,R)=>{const E=Gp(r,R,a);return x.top=Fl(E.top,x.top),x.right=Vp(E.right,x.right),x.bottom=Vp(E.bottom,x.bottom),x.left=Fl(E.left,x.left),x},Gp(r,y,a));return{width:m.right-m.left,height:m.bottom-m.top,x:m.left,y:m.top}}function k0(e){const{width:r,height:o}=ng(e);return{width:r,height:o}}function E0(e,r,o){const i=Zr(r),a=io(r),d=o==="fixed",h=Nl(e,!0,d,r);let y={scrollLeft:0,scrollTop:0};const m=Sn(0);function x(){m.x=Zd(a)}if(i||!i&&!d)if((Ms(r)!=="body"||Xl(a))&&(y=yc(r)),i){const M=Nl(r,!0,d,r);m.x=M.x+r.clientLeft,m.y=M.y+r.clientTop}else a&&x();d&&!i&&a&&x();const R=a&&!i&&!d?ag(a,y):Sn(0),E=h.left+y.scrollLeft-m.x-R.x,F=h.top+y.scrollTop-m.y-R.y;return{x:E,y:F,width:h.width,height:h.height}}function _f(e){return _r(e).position==="static"}function Qp(e,r){if(!Zr(e)||_r(e).position==="fixed")return null;if(r)return r(e);let o=e.offsetParent;return io(e)===o&&(o=o.ownerDocument.body),o}function lg(e,r){const o=gr(e);if(gc(e))return o;if(!Zr(e)){let a=to(e);for(;a&&!Zn(a);){if(pt(a)&&!_f(a))return a;a=to(a)}return o}let i=Qp(e,r);for(;i&&s0(i)&&_f(i);)i=Qp(i,r);return i&&Zn(i)&&_f(i)&&!Kd(i)?o:i||l0(e)||o}const C0=async function(e){const r=this.getOffsetParent||lg,o=this.getDimensions,i=await o(e.floating);return{reference:E0(e.reference,await r(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function T0(e){return _r(e).direction==="rtl"}const R0={convertOffsetParentRelativeRectToViewportRelativeRect:g0,getDocumentElement:io,getClippingRect:S0,getOffsetParent:lg,getElementRects:C0,getClientRects:v0,getDimensions:k0,getScale:ps,isElement:pt,isRTL:T0},P0=(e,r,o)=>{const i=new Map,a={platform:R0,...o},d={...a.platform,_c:i};return p0(e,r,{...a,platform:d})};var A0=typeof document<"u",I0=function(){},qu=A0?V.useLayoutEffect:I0;function ic(e,r){if(e===r)return!0;if(typeof e!=typeof r)return!1;if(typeof e=="function"&&e.toString()===r.toString())return!0;let o,i,a;if(e&&r&&typeof e=="object"){if(Array.isArray(e)){if(o=e.length,o!==r.length)return!1;for(i=o;i--!==0;)if(!ic(e[i],r[i]))return!1;return!0}if(a=Object.keys(e),o=a.length,o!==Object.keys(r).length)return!1;for(i=o;i--!==0;)if(!{}.hasOwnProperty.call(r,a[i]))return!1;for(i=o;i--!==0;){const d=a[i];if(!(d==="_owner"&&e.$$typeof)&&!ic(e[d],r[d]))return!1}return!0}return e!==e&&r!==r}function ug(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Xp(e,r){const o=ug(e);return Math.round(r*o)/o}function Lf(e){const r=de.useRef(e);return qu(()=>{r.current=e}),r}function O0(e){e===void 0&&(e={});const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a,elements:{reference:d,floating:h}={},transform:y=!0,whileElementsMounted:m,open:x}=e,[R,E]=de.useState({x:0,y:0,strategy:o,placement:r,middlewareData:{},isPositioned:!1}),[F,M]=de.useState(i);ic(F,i)||M(i);const[B,D]=de.useState(null),[P,I]=de.useState(null),W=de.useCallback(Z=>{Z!==ie.current&&(ie.current=Z,D(Z))},[]),U=de.useCallback(Z=>{Z!==fe.current&&(fe.current=Z,I(Z))},[]),Y=d||B,_=h||P,ie=de.useRef(null),fe=de.useRef(null),ne=de.useRef(R),ae=m!=null,Fe=Lf(m),Ne=Lf(a),_e=Lf(x),Ge=de.useCallback(()=>{if(!ie.current||!fe.current)return;const Z={placement:r,strategy:o,middleware:F};Ne.current&&(Z.platform=Ne.current),P0(ie.current,fe.current,Z).then(be=>{const Q={...be,isPositioned:_e.current!==!1};Qe.current&&!ic(ne.current,Q)&&(ne.current=Q,Zg.flushSync(()=>{E(Q)}))})},[F,r,o,Ne,_e]);qu(()=>{x===!1&&ne.current.isPositioned&&(ne.current.isPositioned=!1,E(Z=>({...Z,isPositioned:!1})))},[x]);const Qe=de.useRef(!1);qu(()=>(Qe.current=!0,()=>{Qe.current=!1}),[]),qu(()=>{if(Y&&(ie.current=Y),_&&(fe.current=_),Y&&_){if(Fe.current)return Fe.current(Y,_,Ge);Ge()}},[Y,_,Ge,Fe,ae]);const ke=de.useMemo(()=>({reference:ie,floating:fe,setReference:W,setFloating:U}),[W,U]),Ce=de.useMemo(()=>({reference:Y,floating:_}),[Y,_]),je=de.useMemo(()=>{const Z={position:o,left:0,top:0};if(!Ce.floating)return Z;const be=Xp(Ce.floating,R.x),Q=Xp(Ce.floating,R.y);return y?{...Z,transform:"translate("+be+"px, "+Q+"px)",...ug(Ce.floating)>=1.5&&{willChange:"transform"}}:{position:o,left:be,top:Q}},[o,y,Ce.floating,R.x,R.y]);return de.useMemo(()=>({...R,update:Ge,refs:ke,elements:Ce,floatingStyles:je}),[R,Ge,ke,Ce,je])}let F0="div";function M0(e,r){let o=`headlessui-control-${V.useId()}`,[i,a]=r0(),[d,h]=Jb(),y=dc(),{disabled:m=y||!1,...x}=e,R=V.useMemo(()=>({disabled:m}),[m]),E={ref:r,disabled:m||void 0,"aria-disabled":m||void 0},F=Gl();return V.createElement(Fb,{value:m},V.createElement(a,{value:i},V.createElement(h,{value:d},V.createElement(Vb,{id:o},F({ourProps:E,theirProps:{...x,children:V.createElement(Wb,null,typeof x.children=="function"?x.children(R):x.children)},slot:R,defaultTag:F0,name:"Field"})))))}let D0=Ql(M0),_0="input";function L0(e,r){let o=V.useId(),i=Vm(),a=dc(),{id:d=i||`headlessui-input-${o}`,disabled:h=a||!1,autoFocus:y=!1,invalid:m=!1,...x}=e,R=Jm(),E=qb(),{isFocused:F,focusProps:M}=Tb({autoFocus:y}),{isHovered:B,hoverProps:D}=Cb({isDisabled:h}),P=Nb({ref:r,id:d,"aria-labelledby":R,"aria-describedby":E,"aria-invalid":m?"true":void 0,disabled:h||void 0,autoFocus:y},M,D),I=V.useMemo(()=>({disabled:h,invalid:m,hover:B,focus:F,autofocus:y}),[h,m,B,F,y]);return Gl()({ourProps:P,theirProps:x,slot:I,defaultTag:_0,name:"Input"})}let j0=Ql(L0);const N0=({type:e="text",className:r,label:o,description:i,error:a,...d})=>X.jsx("div",{className:"w-full max-w-md px-4",children:X.jsxs(D0,{children:[o&&X.jsx(a0,{className:"font-medium text-gray-900",children:o}),i&&X.jsx(t0,{className:"text-sm text-secondary",children:i}),X.jsx(j0,{type:e,className:bt("mt-3 block w-full rounded-lg border border-gray-200 px-3 py-1.5 text-sm/6 text-gray-800","data-focus:-outline-offset-2 data-focus:outline-primary-500",r,a&&"border-red-500 focus:border-red-500"),...d})]})}),$0=({onConfirm:e,onClose:r,isOpen:o,title:i})=>{const[a,d]=V.useState(""),[h,y]=V.useState(!1),[m,x]=V.useState(!1),R=async()=>{if(a)try{y(!0),await e(a),d("")}catch{x(!0)}finally{y(!1)}else alert("Please enter a valid email address.")};return X.jsx(nb,{isOpen:o,close:r,dismissOptions:{label:"Cancel",onClick:r},confirmOptions:{label:"Initiate",onClick:R,disabled:h||!a||m},children:X.jsxs("div",{className:"flex flex-col items-center gap-4 w-[400px]",children:[X.jsxs("div",{children:[X.jsx("div",{className:"text-center text-2xl font-medium",children:m?"User already has access":i||"Access Playbook"}),X.jsx("div",{className:"text-center",children:m?X.jsxs(X.Fragment,{children:[X.jsx("b",{children:a})," has already accessed a playbook. Contact Confidence to speak to representative."]}):X.jsx(X.Fragment,{children:"Please enter your company email address to access this playbook."})})]}),X.jsx(N0,{disabled:h||m,placeholder:"Enter company email address",onChange:E=>d(E.target.value)})]})})},z0=({btnClassName:e,buttonNode:r,size:o,playbookId:i,onInitiated:a,disabled:d,btnLabel:h="Run Playbook",btnColor:y="primary"})=>{const[m,x]=V.useState(!1),[R,E]=V.useState(!1);function F(){x(!0)}function M(){x(!1)}const B=async D=>{try{E(!0);const{playbookInstanceId:P,errorCode:I,details:W,message:U}=await mm({bank:"public-sdk",email:D,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles",playbookUid:i})||{};if(I)throw new Error(`Error initiating playbook: ${U} (Code: ${I}) - Details: ${W}`);a(P)}finally{E(!1)}};return X.jsxs(X.Fragment,{children:[r?{buttonNode:r}:X.jsxs(jl,{onClick:F,className:bt(e,"flex items-center gap-1"),color:y,size:o,disabled:d||R,children:[X.jsx("img",{src:Jh,alt:"Confidence Logo",className:"size-4 object-contain text-white"}),h]}),X.jsx($0,{isOpen:m,onClose:M,onConfirm:async D=>{await B(D),M()}})]})};/*!
|
|
146
129
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
147
130
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
148
131
|
* Copyright 2024 Fonticons, Inc.
|
|
149
|
-
*/const
|
|
132
|
+
*/const B0={prefix:"fas",iconName:"square-check",icon:[448,512,[9745,9989,61510,"check-square"],"f14a","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM337 209L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},U0=B0,H0={prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]},cg={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]};/*!
|
|
150
133
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
151
134
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
152
135
|
* Copyright 2024 Fonticons, Inc.
|
|
153
|
-
*/function sk(e,t,n){return(t=uk(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?sm(Object(n),!0).forEach(function(i){sk(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sm(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function lk(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function uk(e){var t=lk(e,"string");return typeof t=="symbol"?t:t+""}const lm=()=>{};let Kp={},Kv={},Jv=null,Zv={mark:lm,measure:lm};try{typeof window<"u"&&(Kp=window),typeof document<"u"&&(Kv=document),typeof MutationObserver<"u"&&(Jv=MutationObserver),typeof performance<"u"&&(Zv=performance)}catch{}const{userAgent:um=""}=Kp.navigator||{},bi=Kp,at=Kv,cm=Jv,Sc=Zv;bi.document;const wo=!!at.documentElement&&!!at.head&&typeof at.addEventListener=="function"&&typeof at.createElement=="function",ey=~um.indexOf("MSIE")||~um.indexOf("Trident/");var ck=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,fk=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,ty={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},dk={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},ry=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],jt="classic",af="duotone",pk="sharp",hk="sharp-duotone",ny=[jt,af,pk,hk],mk={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},gk={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},vk=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),yk={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},bk=["fak","fa-kit","fakd","fa-kit-duotone"],fm={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},wk=["kit"],xk={kit:{"fa-kit":"fak"}},Sk=["fak","fakd"],kk={kit:{fak:"fa-kit"}},dm={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},kc={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Ek=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Ck=["fak","fa-kit","fakd","fa-kit-duotone"],Tk={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Rk={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},Pk={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},dp={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},Ak=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],pp=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...Ek,...Ak],Ok=["solid","regular","light","thin","duotone","brands"],oy=[1,2,3,4,5,6,7,8,9,10],Ik=oy.concat([11,12,13,14,15,16,17,18,19,20]),Fk=[...Object.keys(Pk),...Ok,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",kc.GROUP,kc.SWAP_OPACITY,kc.PRIMARY,kc.SECONDARY].concat(oy.map(e=>"".concat(e,"x"))).concat(Ik.map(e=>"w-".concat(e))),Mk={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const mo="___FONT_AWESOME___",hp=16,iy="fa",ay="svg-inline--fa",Ca="data-fa-i2svg",mp="data-fa-pseudo-element",Dk="data-fa-pseudo-element-pending",Jp="data-prefix",Zp="data-icon",pm="fontawesome-i2svg",_k="async",Lk=["HTML","HEAD","STYLE","SCRIPT"],sy=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})();function ku(e){return new Proxy(e,{get(t,n){return n in t?t[n]:t[jt]}})}const ly=ie({},ty);ly[jt]=ie(ie(ie(ie({},{"fa-duotone":"duotone"}),ty[jt]),fm.kit),fm["kit-duotone"]);const $k=ku(ly),gp=ie({},yk);gp[jt]=ie(ie(ie(ie({},{duotone:"fad"}),gp[jt]),dm.kit),dm["kit-duotone"]);const hm=ku(gp),vp=ie({},dp);vp[jt]=ie(ie({},vp[jt]),kk.kit);const eh=ku(vp),yp=ie({},Rk);yp[jt]=ie(ie({},yp[jt]),xk.kit);ku(yp);const jk=ck,uy="fa-layers-text",Nk=fk,zk=ie({},mk);ku(zk);const Bk=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Rd=dk,Uk=[...wk,...Fk],iu=bi.FontAwesomeConfig||{};function Hk(e){var t=at.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function Wk(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}at&&typeof at.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(t=>{let[n,i]=t;const a=Wk(Hk(n));a!=null&&(iu[i]=a)});const cy={styleDefault:"solid",familyDefault:jt,cssPrefix:iy,replacementClass:ay,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};iu.familyPrefix&&(iu.cssPrefix=iu.familyPrefix);const Qs=ie(ie({},cy),iu);Qs.autoReplaceSvg||(Qs.observeMutations=!1);const Te={};Object.keys(cy).forEach(e=>{Object.defineProperty(Te,e,{enumerable:!0,set:function(t){Qs[e]=t,au.forEach(n=>n(Te))},get:function(){return Qs[e]}})});Object.defineProperty(Te,"familyPrefix",{enumerable:!0,set:function(e){Qs.cssPrefix=e,au.forEach(t=>t(Te))},get:function(){return Qs.cssPrefix}});bi.FontAwesomeConfig=Te;const au=[];function Vk(e){return au.push(e),()=>{au.splice(au.indexOf(e),1)}}const ri=hp,Pn={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Gk(e){if(!e||!wo)return;const t=at.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=at.head.childNodes;let i=null;for(let a=n.length-1;a>-1;a--){const c=n[a],p=(c.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(p)>-1&&(i=c)}return at.head.insertBefore(t,i),e}const Yk="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function du(){let e=12,t="";for(;e-- >0;)t+=Yk[Math.random()*62|0];return t}function tl(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function th(e){return e.classList?tl(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function fy(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Xk(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,'="').concat(fy(e[n]),'" '),"").trim()}function sf(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";"),"")}function rh(e){return e.size!==Pn.size||e.x!==Pn.x||e.y!==Pn.y||e.rotate!==Pn.rotate||e.flipX||e.flipY}function Qk(e){let{transform:t,containerWidth:n,iconWidth:i}=e;const a={transform:"translate(".concat(n/2," 256)")},c="translate(".concat(t.x*32,", ").concat(t.y*32,") "),p="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),m="rotate(".concat(t.rotate," 0 0)"),h={transform:"".concat(c," ").concat(p," ").concat(m)},v={transform:"translate(".concat(i/2*-1," -256)")};return{outer:a,inner:h,path:v}}function qk(e){let{transform:t,width:n=hp,height:i=hp,startCentered:a=!1}=e,c="";return a&&ey?c+="translate(".concat(t.x/ri-n/2,"em, ").concat(t.y/ri-i/2,"em) "):a?c+="translate(calc(-50% + ".concat(t.x/ri,"em), calc(-50% + ").concat(t.y/ri,"em)) "):c+="translate(".concat(t.x/ri,"em, ").concat(t.y/ri,"em) "),c+="scale(".concat(t.size/ri*(t.flipX?-1:1),", ").concat(t.size/ri*(t.flipY?-1:1),") "),c+="rotate(".concat(t.rotate,"deg) "),c}var Kk=`:root, :host {
|
|
136
|
+
*/function W0(e,r,o){return(r=Y0(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}function qp(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);r&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,i)}return o}function re(e){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{};r%2?qp(Object(o),!0).forEach(function(i){W0(e,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):qp(Object(o)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(o,i))})}return e}function V0(e,r){if(typeof e!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var i=o.call(e,r);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function Y0(e){var r=V0(e,"string");return typeof r=="symbol"?r:r+""}const Jp=()=>{};let ep={},fg={},dg=null,pg={mark:Jp,measure:Jp};try{typeof window<"u"&&(ep=window),typeof document<"u"&&(fg=document),typeof MutationObserver<"u"&&(dg=MutationObserver),typeof performance<"u"&&(pg=performance)}catch{}const{userAgent:Kp=""}=ep.navigator||{},ri=ep,it=fg,Zp=dg,Gu=pg;ri.document;const ao=!!it.documentElement&&!!it.head&&typeof it.addEventListener=="function"&&typeof it.createElement=="function",hg=~Kp.indexOf("MSIE")||~Kp.indexOf("Trident/");var G0=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Q0=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,mg={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},X0={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},gg=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],_t="classic",bc="duotone",q0="sharp",J0="sharp-duotone",vg=[_t,bc,q0,J0],K0={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},Z0={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},ex=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),tx={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},rx=["fak","fa-kit","fakd","fa-kit-duotone"],eh={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},nx=["kit"],ox={kit:{"fa-kit":"fak"}},ix=["fak","fakd"],ax={kit:{fak:"fa-kit"}},th={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Qu={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},sx=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],lx=["fak","fa-kit","fakd","fa-kit-duotone"],ux={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},cx={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},fx={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},vd={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},dx=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],yd=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...sx,...dx],px=["solid","regular","light","thin","duotone","brands"],yg=[1,2,3,4,5,6,7,8,9,10],hx=yg.concat([11,12,13,14,15,16,17,18,19,20]),mx=[...Object.keys(fx),...px,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Qu.GROUP,Qu.SWAP_OPACITY,Qu.PRIMARY,Qu.SECONDARY].concat(yg.map(e=>"".concat(e,"x"))).concat(hx.map(e=>"w-".concat(e))),gx={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const ro="___FONT_AWESOME___",bd=16,bg="fa",xg="svg-inline--fa",oa="data-fa-i2svg",xd="data-fa-pseudo-element",vx="data-fa-pseudo-element-pending",tp="data-prefix",rp="data-icon",rh="fontawesome-i2svg",yx="async",bx=["HTML","HEAD","STYLE","SCRIPT"],wg=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})();function ql(e){return new Proxy(e,{get(r,o){return o in r?r[o]:r[_t]}})}const Sg=re({},mg);Sg[_t]=re(re(re(re({},{"fa-duotone":"duotone"}),mg[_t]),eh.kit),eh["kit-duotone"]);const xx=ql(Sg),wd=re({},tx);wd[_t]=re(re(re(re({},{duotone:"fad"}),wd[_t]),th.kit),th["kit-duotone"]);const nh=ql(wd),Sd=re({},vd);Sd[_t]=re(re({},Sd[_t]),ax.kit);const np=ql(Sd),kd=re({},cx);kd[_t]=re(re({},kd[_t]),ox.kit);ql(kd);const wx=G0,kg="fa-layers-text",Sx=Q0,kx=re({},K0);ql(kx);const Ex=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],jf=X0,Cx=[...nx,...mx],Ml=ri.FontAwesomeConfig||{};function Tx(e){var r=it.querySelector("script["+e+"]");if(r)return r.getAttribute(e)}function Rx(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}it&&typeof it.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(r=>{let[o,i]=r;const a=Rx(Tx(o));a!=null&&(Ml[i]=a)});const Eg={styleDefault:"solid",familyDefault:_t,cssPrefix:bg,replacementClass:xg,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ml.familyPrefix&&(Ml.cssPrefix=Ml.familyPrefix);const Ps=re(re({},Eg),Ml);Ps.autoReplaceSvg||(Ps.observeMutations=!1);const Se={};Object.keys(Eg).forEach(e=>{Object.defineProperty(Se,e,{enumerable:!0,set:function(r){Ps[e]=r,Dl.forEach(o=>o(Se))},get:function(){return Ps[e]}})});Object.defineProperty(Se,"familyPrefix",{enumerable:!0,set:function(e){Ps.cssPrefix=e,Dl.forEach(r=>r(Se))},get:function(){return Ps.cssPrefix}});ri.FontAwesomeConfig=Se;const Dl=[];function Px(e){return Dl.push(e),()=>{Dl.splice(Dl.indexOf(e),1)}}const Ho=bd,xn={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Ax(e){if(!e||!ao)return;const r=it.createElement("style");r.setAttribute("type","text/css"),r.innerHTML=e;const o=it.head.childNodes;let i=null;for(let a=o.length-1;a>-1;a--){const d=o[a],h=(d.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(h)>-1&&(i=d)}return it.head.insertBefore(r,i),e}const Ix="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function $l(){let e=12,r="";for(;e-- >0;)r+=Ix[Math.random()*62|0];return r}function Ds(e){const r=[];for(let o=(e||[]).length>>>0;o--;)r[o]=e[o];return r}function op(e){return e.classList?Ds(e.classList):(e.getAttribute("class")||"").split(" ").filter(r=>r)}function Cg(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Ox(e){return Object.keys(e||{}).reduce((r,o)=>r+"".concat(o,'="').concat(Cg(e[o]),'" '),"").trim()}function xc(e){return Object.keys(e||{}).reduce((r,o)=>r+"".concat(o,": ").concat(e[o].trim(),";"),"")}function ip(e){return e.size!==xn.size||e.x!==xn.x||e.y!==xn.y||e.rotate!==xn.rotate||e.flipX||e.flipY}function Fx(e){let{transform:r,containerWidth:o,iconWidth:i}=e;const a={transform:"translate(".concat(o/2," 256)")},d="translate(".concat(r.x*32,", ").concat(r.y*32,") "),h="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),y="rotate(".concat(r.rotate," 0 0)"),m={transform:"".concat(d," ").concat(h," ").concat(y)},x={transform:"translate(".concat(i/2*-1," -256)")};return{outer:a,inner:m,path:x}}function Mx(e){let{transform:r,width:o=bd,height:i=bd,startCentered:a=!1}=e,d="";return a&&hg?d+="translate(".concat(r.x/Ho-o/2,"em, ").concat(r.y/Ho-i/2,"em) "):a?d+="translate(calc(-50% + ".concat(r.x/Ho,"em), calc(-50% + ").concat(r.y/Ho,"em)) "):d+="translate(".concat(r.x/Ho,"em, ").concat(r.y/Ho,"em) "),d+="scale(".concat(r.size/Ho*(r.flipX?-1:1),", ").concat(r.size/Ho*(r.flipY?-1:1),") "),d+="rotate(".concat(r.rotate,"deg) "),d}var Dx=`:root, :host {
|
|
154
137
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
|
|
155
138
|
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
|
|
156
139
|
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
|
|
@@ -703,7 +686,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
703
686
|
.svg-inline--fa mask .fa-primary,
|
|
704
687
|
.svg-inline--fa mask .fa-secondary {
|
|
705
688
|
fill: black;
|
|
706
|
-
}`;function dy(){const e=iy,t=ay,n=Te.cssPrefix,i=Te.replacementClass;let a=Kk;if(n!==e||i!==t){const c=new RegExp("\\.".concat(e,"\\-"),"g"),p=new RegExp("\\--".concat(e,"\\-"),"g"),m=new RegExp("\\.".concat(t),"g");a=a.replace(c,".".concat(n,"-")).replace(p,"--".concat(n,"-")).replace(m,".".concat(i))}return a}let mm=!1;function Pd(){Te.autoAddCss&&!mm&&(Gk(dy()),mm=!0)}var Jk={mixout(){return{dom:{css:dy,insertCss:Pd}}},hooks(){return{beforeDOMElementCreation(){Pd()},beforeI2svg(){Pd()}}}};const go=bi||{};go[mo]||(go[mo]={});go[mo].styles||(go[mo].styles={});go[mo].hooks||(go[mo].hooks={});go[mo].shims||(go[mo].shims=[]);var An=go[mo];const py=[],hy=function(){at.removeEventListener("DOMContentLoaded",hy),jc=1,py.map(e=>e())};let jc=!1;wo&&(jc=(at.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(at.readyState),jc||at.addEventListener("DOMContentLoaded",hy));function Zk(e){wo&&(jc?setTimeout(e,0):py.push(e))}function Eu(e){const{tag:t,attributes:n={},children:i=[]}=e;return typeof e=="string"?fy(e):"<".concat(t," ").concat(Xk(n),">").concat(i.map(Eu).join(""),"</").concat(t,">")}function gm(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Ad=function(t,n,i,a){var c=Object.keys(t),p=c.length,m=n,h,v,C;for(i===void 0?(h=1,C=t[c[0]]):(h=0,C=i);h<p;h++)v=c[h],C=m(C,t[v],v,t);return C};function eE(e){const t=[];let n=0;const i=e.length;for(;n<i;){const a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<i){const c=e.charCodeAt(n++);(c&64512)==56320?t.push(((a&1023)<<10)+(c&1023)+65536):(t.push(a),n--)}else t.push(a)}return t}function bp(e){const t=eE(e);return t.length===1?t[0].toString(16):null}function tE(e,t){const n=e.length;let i=e.charCodeAt(t),a;return i>=55296&&i<=56319&&n>t+1&&(a=e.charCodeAt(t+1),a>=56320&&a<=57343)?(i-55296)*1024+a-56320+65536:i}function vm(e){return Object.keys(e).reduce((t,n)=>{const i=e[n];return!!i.icon?t[i.iconName]=i.icon:t[n]=i,t},{})}function wp(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:i=!1}=n,a=vm(t);typeof An.hooks.addPack=="function"&&!i?An.hooks.addPack(e,vm(t)):An.styles[e]=ie(ie({},An.styles[e]||{}),a),e==="fas"&&wp("fa",t)}const{styles:pu,shims:rE}=An,my=Object.keys(eh),nE=my.reduce((e,t)=>(e[t]=Object.keys(eh[t]),e),{});let nh=null,gy={},vy={},yy={},by={},wy={};function oE(e){return~Uk.indexOf(e)}function iE(e,t){const n=t.split("-"),i=n[0],a=n.slice(1).join("-");return i===e&&a!==""&&!oE(a)?a:null}const xy=()=>{const e=i=>Ad(pu,(a,c,p)=>(a[p]=Ad(c,i,{}),a),{});gy=e((i,a,c)=>(a[3]&&(i[a[3]]=c),a[2]&&a[2].filter(m=>typeof m=="number").forEach(m=>{i[m.toString(16)]=c}),i)),vy=e((i,a,c)=>(i[c]=c,a[2]&&a[2].filter(m=>typeof m=="string").forEach(m=>{i[m]=c}),i)),wy=e((i,a,c)=>{const p=a[2];return i[c]=c,p.forEach(m=>{i[m]=c}),i});const t="far"in pu||Te.autoFetchSvg,n=Ad(rE,(i,a)=>{const c=a[0];let p=a[1];const m=a[2];return p==="far"&&!t&&(p="fas"),typeof c=="string"&&(i.names[c]={prefix:p,iconName:m}),typeof c=="number"&&(i.unicodes[c.toString(16)]={prefix:p,iconName:m}),i},{names:{},unicodes:{}});yy=n.names,by=n.unicodes,nh=lf(Te.styleDefault,{family:Te.familyDefault})};Vk(e=>{nh=lf(e.styleDefault,{family:Te.familyDefault})});xy();function oh(e,t){return(gy[e]||{})[t]}function aE(e,t){return(vy[e]||{})[t]}function da(e,t){return(wy[e]||{})[t]}function Sy(e){return yy[e]||{prefix:null,iconName:null}}function sE(e){const t=by[e],n=oh("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function wi(){return nh}const ky=()=>({prefix:null,iconName:null,rest:[]});function lE(e){let t=jt;const n=my.reduce((i,a)=>(i[a]="".concat(Te.cssPrefix,"-").concat(a),i),{});return ny.forEach(i=>{(e.includes(n[i])||e.some(a=>nE[i].includes(a)))&&(t=i)}),t}function lf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:n=jt}=t,i=$k[n][e];if(n===af&&!e)return"fad";const a=hm[n][e]||hm[n][i],c=e in An.styles?e:null;return a||c||null}function uE(e){let t=[],n=null;return e.forEach(i=>{const a=iE(Te.cssPrefix,i);a?n=a:i&&t.push(i)}),{iconName:n,rest:t}}function ym(e){return e.sort().filter((t,n,i)=>i.indexOf(t)===n)}function uf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:n=!1}=t;let i=null;const a=pp.concat(Ck),c=ym(e.filter(x=>a.includes(x))),p=ym(e.filter(x=>!pp.includes(x))),m=c.filter(x=>(i=x,!ry.includes(x))),[h=null]=m,v=lE(c),C=ie(ie({},uE(p)),{},{prefix:lf(h,{family:v})});return ie(ie(ie({},C),pE({values:e,family:v,styles:pu,config:Te,canonical:C,givenPrefix:i})),cE(n,i,C))}function cE(e,t,n){let{prefix:i,iconName:a}=n;if(e||!i||!a)return{prefix:i,iconName:a};const c=t==="fa"?Sy(a):{},p=da(i,a);return a=c.iconName||p||a,i=c.prefix||i,i==="far"&&!pu.far&&pu.fas&&!Te.autoFetchSvg&&(i="fas"),{prefix:i,iconName:a}}const fE=ny.filter(e=>e!==jt||e!==af),dE=Object.keys(dp).filter(e=>e!==jt).map(e=>Object.keys(dp[e])).flat();function pE(e){const{values:t,family:n,canonical:i,givenPrefix:a="",styles:c={},config:p={}}=e,m=n===af,h=t.includes("fa-duotone")||t.includes("fad"),v=p.familyDefault==="duotone",C=i.prefix==="fad"||i.prefix==="fa-duotone";if(!m&&(h||v||C)&&(i.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(i.prefix="fab"),!i.prefix&&fE.includes(n)&&(Object.keys(c).find(F=>dE.includes(F))||p.autoFetchSvg)){const F=vk.get(n).defaultShortPrefixId;i.prefix=F,i.iconName=da(i.prefix,i.iconName)||i.iconName}return(i.prefix==="fa"||a==="fa")&&(i.prefix=wi()||"fas"),i}class hE{constructor(){this.definitions={}}add(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];const a=n.reduce(this._pullDefinitions,{});Object.keys(a).forEach(c=>{this.definitions[c]=ie(ie({},this.definitions[c]||{}),a[c]),wp(c,a[c]);const p=eh[jt][c];p&&wp(p,a[c]),xy()})}reset(){this.definitions={}}_pullDefinitions(t,n){const i=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(i).map(a=>{const{prefix:c,iconName:p,icon:m}=i[a],h=m[2];t[c]||(t[c]={}),h.length>0&&h.forEach(v=>{typeof v=="string"&&(t[c][v]=m)}),t[c][p]=m}),t}}let bm=[],As={};const _s={},mE=Object.keys(_s);function gE(e,t){let{mixoutsTo:n}=t;return bm=e,As={},Object.keys(_s).forEach(i=>{mE.indexOf(i)===-1&&delete _s[i]}),bm.forEach(i=>{const a=i.mixout?i.mixout():{};if(Object.keys(a).forEach(c=>{typeof a[c]=="function"&&(n[c]=a[c]),typeof a[c]=="object"&&Object.keys(a[c]).forEach(p=>{n[c]||(n[c]={}),n[c][p]=a[c][p]})}),i.hooks){const c=i.hooks();Object.keys(c).forEach(p=>{As[p]||(As[p]=[]),As[p].push(c[p])})}i.provides&&i.provides(_s)}),n}function xp(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];return(As[e]||[]).forEach(p=>{t=p.apply(null,[t,...i])}),t}function Ta(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];(As[e]||[]).forEach(c=>{c.apply(null,n)})}function xi(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return _s[e]?_s[e].apply(null,t):void 0}function Sp(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const n=e.prefix||wi();if(t)return t=da(n,t)||t,gm(Ey.definitions,n,t)||gm(An.styles,n,t)}const Ey=new hE,vE=()=>{Te.autoReplaceSvg=!1,Te.observeMutations=!1,Ta("noAuto")},yE={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return wo?(Ta("beforeI2svg",e),xi("pseudoElements2svg",e),xi("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;Te.autoReplaceSvg===!1&&(Te.autoReplaceSvg=!0),Te.observeMutations=!0,Zk(()=>{wE({autoReplaceSvgRoot:t}),Ta("watch",e)})}},bE={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:da(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],n=lf(e[0]);return{prefix:n,iconName:da(n,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(Te.cssPrefix,"-"))>-1||e.match(jk))){const t=uf(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||wi(),iconName:da(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){const t=wi();return{prefix:t,iconName:da(t,e)||e}}}},xr={noAuto:vE,config:Te,dom:yE,parse:bE,library:Ey,findIconDefinition:Sp,toHtml:Eu},wE=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=at}=e;(Object.keys(An.styles).length>0||Te.autoFetchSvg)&&wo&&Te.autoReplaceSvg&&xr.dom.i2svg({node:t})};function cf(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(n=>Eu(n))}}),Object.defineProperty(e,"node",{get:function(){if(!wo)return;const n=at.createElement("div");return n.innerHTML=e.html,n.children}}),e}function xE(e){let{children:t,main:n,mask:i,attributes:a,styles:c,transform:p}=e;if(rh(p)&&n.found&&!i.found){const{width:m,height:h}=n,v={x:m/h/2,y:.5};a.style=sf(ie(ie({},c),{},{"transform-origin":"".concat(v.x+p.x/16,"em ").concat(v.y+p.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}function SE(e){let{prefix:t,iconName:n,children:i,attributes:a,symbol:c}=e;const p=c===!0?"".concat(t,"-").concat(Te.cssPrefix,"-").concat(n):c;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ie(ie({},a),{},{id:p}),children:i}]}]}function ih(e){const{icons:{main:t,mask:n},prefix:i,iconName:a,transform:c,symbol:p,title:m,maskId:h,titleId:v,extra:C,watchable:x=!1}=e,{width:F,height:I}=n.found?n:t,L=Sk.includes(i),D=[Te.replacementClass,a?"".concat(Te.cssPrefix,"-").concat(a):""].filter($=>C.classes.indexOf($)===-1).filter($=>$!==""||!!$).concat(C.classes).join(" ");let T={children:[],attributes:ie(ie({},C.attributes),{},{"data-prefix":i,"data-icon":a,class:D,role:C.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(F," ").concat(I)})};const O=L&&!~C.classes.indexOf("fa-fw")?{width:"".concat(F/I*16*.0625,"em")}:{};x&&(T.attributes[Ca]=""),m&&(T.children.push({tag:"title",attributes:{id:T.attributes["aria-labelledby"]||"title-".concat(v||du())},children:[m]}),delete T.attributes.title);const U=ie(ie({},T),{},{prefix:i,iconName:a,main:t,mask:n,maskId:h,transform:c,symbol:p,styles:ie(ie({},O),C.styles)}),{children:j,attributes:V}=n.found&&t.found?xi("generateAbstractMask",U)||{children:[],attributes:{}}:xi("generateAbstractIcon",U)||{children:[],attributes:{}};return U.children=j,U.attributes=V,p?SE(U):xE(U)}function wm(e){const{content:t,width:n,height:i,transform:a,title:c,extra:p,watchable:m=!1}=e,h=ie(ie(ie({},p.attributes),c?{title:c}:{}),{},{class:p.classes.join(" ")});m&&(h[Ca]="");const v=ie({},p.styles);rh(a)&&(v.transform=qk({transform:a,startCentered:!0,width:n,height:i}),v["-webkit-transform"]=v.transform);const C=sf(v);C.length>0&&(h.style=C);const x=[];return x.push({tag:"span",attributes:h,children:[t]}),c&&x.push({tag:"span",attributes:{class:"sr-only"},children:[c]}),x}function kE(e){const{content:t,title:n,extra:i}=e,a=ie(ie(ie({},i.attributes),n?{title:n}:{}),{},{class:i.classes.join(" ")}),c=sf(i.styles);c.length>0&&(a.style=c);const p=[];return p.push({tag:"span",attributes:a,children:[t]}),n&&p.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),p}const{styles:Od}=An;function kp(e){const t=e[0],n=e[1],[i]=e.slice(4);let a=null;return Array.isArray(i)?a={tag:"g",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Rd.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Rd.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Rd.PRIMARY),fill:"currentColor",d:i[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:n,icon:a}}const EE={found:!1,width:512,height:512};function CE(e,t){!sy&&!Te.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Ep(e,t){let n=t;return t==="fa"&&Te.styleDefault!==null&&(t=wi()),new Promise((i,a)=>{if(n==="fa"){const c=Sy(e)||{};e=c.iconName||e,t=c.prefix||t}if(e&&t&&Od[t]&&Od[t][e]){const c=Od[t][e];return i(kp(c))}CE(e,t),i(ie(ie({},EE),{},{icon:Te.showMissingIcons&&e?xi("missingIconAbstract")||{}:{}}))})}const xm=()=>{},Cp=Te.measurePerformance&&Sc&&Sc.mark&&Sc.measure?Sc:{mark:xm,measure:xm},Zl='FA "6.7.2"',TE=e=>(Cp.mark("".concat(Zl," ").concat(e," begins")),()=>Cy(e)),Cy=e=>{Cp.mark("".concat(Zl," ").concat(e," ends")),Cp.measure("".concat(Zl," ").concat(e),"".concat(Zl," ").concat(e," begins"),"".concat(Zl," ").concat(e," ends"))};var ah={begin:TE,end:Cy};const Tc=()=>{};function Sm(e){return typeof(e.getAttribute?e.getAttribute(Ca):null)=="string"}function RE(e){const t=e.getAttribute?e.getAttribute(Jp):null,n=e.getAttribute?e.getAttribute(Zp):null;return t&&n}function PE(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Te.replacementClass)}function AE(){return Te.autoReplaceSvg===!0?Rc.replace:Rc[Te.autoReplaceSvg]||Rc.replace}function OE(e){return at.createElementNS("http://www.w3.org/2000/svg",e)}function IE(e){return at.createElement(e)}function Ty(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:n=e.tag==="svg"?OE:IE}=t;if(typeof e=="string")return at.createTextNode(e);const i=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(c){i.setAttribute(c,e.attributes[c])}),(e.children||[]).forEach(function(c){i.appendChild(Ty(c,{ceFn:n}))}),i}function FE(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const Rc={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(n=>{t.parentNode.insertBefore(Ty(n),t)}),t.getAttribute(Ca)===null&&Te.keepOriginalSource){let n=at.createComment(FE(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){const t=e[0],n=e[1];if(~th(t).indexOf(Te.replacementClass))return Rc.replace(e);const i=new RegExp("".concat(Te.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){const c=n[0].attributes.class.split(" ").reduce((p,m)=>(m===Te.replacementClass||m.match(i)?p.toSvg.push(m):p.toNode.push(m),p),{toNode:[],toSvg:[]});n[0].attributes.class=c.toSvg.join(" "),c.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",c.toNode.join(" "))}const a=n.map(c=>Eu(c)).join(`
|
|
707
|
-
`);
|
|
708
|
-
`),e.removeAttribute(
|
|
709
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pC(e){var t,n=e.beat,i=e.fade,a=e.beatFade,c=e.bounce,p=e.shake,m=e.flash,h=e.spin,v=e.spinPulse,C=e.spinReverse,x=e.pulse,F=e.fixedWidth,I=e.inverse,L=e.border,D=e.listItem,T=e.flip,O=e.size,U=e.rotation,j=e.pull,V=(t={"fa-beat":n,"fa-fade":i,"fa-beat-fade":a,"fa-bounce":c,"fa-shake":p,"fa-flash":m,"fa-spin":h,"fa-spin-reverse":C,"fa-spin-pulse":v,"fa-pulse":x,"fa-fw":F,"fa-inverse":I,"fa-border":L,"fa-li":D,"fa-flip":T===!0,"fa-flip-horizontal":T==="horizontal"||T==="both","fa-flip-vertical":T==="vertical"||T==="both"},Os(t,"fa-".concat(O),typeof O<"u"&&O!==null),Os(t,"fa-rotate-".concat(U),typeof U<"u"&&U!==null&&U!==0),Os(t,"fa-pull-".concat(j),typeof j<"u"&&j!==null),Os(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(V).map(function($){return V[$]?$:null}).filter(function($){return $})}function hC(e){return e=e-0,e===e}function Iy(e){return hC(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var mC=["style"];function gC(e){return e.charAt(0).toUpperCase()+e.slice(1)}function vC(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var i=n.indexOf(":"),a=Iy(n.slice(0,i)),c=n.slice(i+1).trim();return a.startsWith("webkit")?t[gC(a)]=c:t[a]=c,t},{})}function Fy(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var i=(t.children||[]).map(function(h){return Fy(e,h)}),a=Object.keys(t.attributes||{}).reduce(function(h,v){var C=t.attributes[v];switch(v){case"class":h.attrs.className=C,delete t.attributes.class;break;case"style":h.attrs.style=vC(C);break;default:v.indexOf("aria-")===0||v.indexOf("data-")===0?h.attrs[v.toLowerCase()]=C:h.attrs[Iy(v)]=C}return h},{attrs:{}}),c=n.style,p=c===void 0?{}:c,m=Oy(n,mC);return a.attrs.style=vi(vi({},a.attrs.style),p),e.apply(void 0,[t.tag,vi(vi({},a.attrs),m)].concat(Ap(i)))}var My=!1;try{My=process.env.NODE_ENV==="production"}catch{}function yC(){if(!My&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function _m(e){if(e&&zc(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Pp.icon)return Pp.icon(e);if(e===null)return null;if(e&&zc(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function Fd(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Os({},e,t):{}}var bC=["forwardedRef"];function Si(e){var t=e.forwardedRef,n=Oy(e,bC),i=n.icon,a=n.mask,c=n.symbol,p=n.className,m=n.title,h=n.titleId,v=n.maskId,C=_m(i),x=Fd("classes",[].concat(Ap(pC(n)),Ap(p.split(" ")))),F=Fd("transform",typeof n.transform=="string"?Pp.transform(n.transform):n.transform),I=Fd("mask",_m(a)),L=sC(C,vi(vi(vi(vi({},x),F),I),{},{symbol:c,title:m,titleId:h,maskId:v}));if(!L)return yC("Could not find icon",C),null;var D=L.abstract,T={ref:t};return Object.keys(n).forEach(function(O){Si.defaultProps.hasOwnProperty(O)||(T[O]=n[O])}),wC(D[0],T)}Si.displayName="FontAwesomeIcon";Si.propTypes={beat:_e.bool,border:_e.bool,beatFade:_e.bool,bounce:_e.bool,className:_e.string,fade:_e.bool,flash:_e.bool,mask:_e.oneOfType([_e.object,_e.array,_e.string]),maskId:_e.string,fixedWidth:_e.bool,inverse:_e.bool,flip:_e.oneOf([!0,!1,"horizontal","vertical","both"]),icon:_e.oneOfType([_e.object,_e.array,_e.string]),listItem:_e.bool,pull:_e.oneOf(["right","left"]),pulse:_e.bool,rotation:_e.oneOf([0,90,180,270]),shake:_e.bool,size:_e.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:_e.bool,spinPulse:_e.bool,spinReverse:_e.bool,symbol:_e.oneOfType([_e.bool,_e.string]),title:_e.string,titleId:_e.string,transform:_e.oneOfType([_e.string,_e.object]),swapOpacity:_e.bool};Si.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var wC=Fy.bind(null,A.createElement);const xC=async e=>await(await fetch(`${yu}/playbook-task-details`,{method:"POST",body:JSON.stringify(e)})).json(),SC=({taskId:e,playbookId:t,enabled:n})=>{const{queryClient:i}=Ks(),a=async()=>xC({taskId:+e,templateId:t.toString()}),c=["taskDetails",+e,t],p=$p({queryKey:c,queryFn:a,enabled:n},i),m=()=>{i.prefetchQuery({queryFn:a,queryKey:c})};return{taskDetails:p.data,prefetchQuery:m,...p}},kC=({buttons:e,onButtonClick:t,disabled:n})=>q.jsx("div",{className:"flex items-center justify-end",children:e.map(i=>q.jsx(fu,{size:"smallCollapse",className:"ml-2",disabled:n,onClick:()=>{t(i)},children:qb[i]},i))});function Lm(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&lp(n)){let i=t;for(;i;){if(e===i)return!0;i=i.parentNode||i.host}}return!1}function Xl(e){return"composedPath"in e?e.composedPath()[0]:e.target}function Md(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}function EC(e){return e.matches("html,body")}function $m(e){return(e==null?void 0:e.ownerDocument)||document}function Dd(e,t){let n=e.filter(a=>{var c;return a.parentId===t&&((c=a.context)==null?void 0:c.open)}),i=n;for(;i.length;)i=e.filter(a=>{var c;return(c=i)==null?void 0:c.some(p=>{var m;return a.parentId===p.id&&((m=a.context)==null?void 0:m.open)})}),n=n.concat(i);return n}function CC(e){return"nativeEvent"in e}var TC=typeof document<"u",RC=function(){},Ip=TC?A.useLayoutEffect:RC;const PC={...pe},AC=PC.useInsertionEffect,OC=AC||(e=>e());function Ps(e){const t=pe.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return OC(()=>{t.current=e}),pe.useCallback(function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return t.current==null?void 0:t.current(...i)},[])}const IC="data-floating-ui-focusable",jm="active",Nm="selected",FC={...pe};let zm=!1,MC=0;const Bm=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+MC++;function DC(){const[e,t]=pe.useState(()=>zm?Bm():void 0);return Ip(()=>{e==null&&t(Bm())},[]),pe.useEffect(()=>{zm=!0},[]),e}const _C=FC.useId,LC=_C||DC;let Fp;process.env.NODE_ENV!=="production"&&(Fp=new Set);function $C(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];const a="Floating UI: "+n.join(" ");if(!((e=Fp)!=null&&e.has(a))){var c;(c=Fp)==null||c.add(a),console.error(a)}}function jC(){const e=new Map;return{emit(t,n){var i;(i=e.get(t))==null||i.forEach(a=>a(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var i;(i=e.get(t))==null||i.delete(n)}}}const NC=pe.createContext(null),zC=pe.createContext(null),BC=()=>{var e;return((e=pe.useContext(NC))==null?void 0:e.id)||null},Dy=()=>pe.useContext(zC);function UC(e){return"data-floating-ui-"+e}function HC(e){e.current!==-1&&(clearTimeout(e.current),e.current=-1)}const WC={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},VC={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Um=e=>{var t,n;return{escapeKey:typeof e=="boolean"?e:(t=e==null?void 0:e.escapeKey)!=null?t:!1,outsidePress:typeof e=="boolean"?e:(n=e==null?void 0:e.outsidePress)!=null?n:!0}};function GC(e,t){t===void 0&&(t={});const{open:n,onOpenChange:i,elements:a,dataRef:c}=e,{enabled:p=!0,escapeKey:m=!0,outsidePress:h=!0,outsidePressEvent:v="pointerdown",referencePress:C=!1,referencePressEvent:x="pointerdown",ancestorScroll:F=!1,bubbles:I,capture:L}=t,D=Dy(),T=Ps(typeof h=="function"?h:()=>!1),O=typeof h=="function"?T:h,U=pe.useRef(!1),{escapeKey:j,outsidePress:V}=Um(I),{escapeKey:$,outsidePress:J}=Um(L),ae=pe.useRef(!1),re=pe.useRef(-1),le=Ps(xe=>{var Re;if(!n||!p||!m||xe.key!=="Escape"||ae.current)return;const Le=(Re=c.current.floatingContext)==null?void 0:Re.nodeId,Z=D?Dd(D.nodesRef.current,Le):[];if(!j&&(xe.stopPropagation(),Z.length>0)){let ve=!0;if(Z.forEach(Y=>{var K;if((K=Y.context)!=null&&K.open&&!Y.context.dataRef.current.__escapeKeyBubbles){ve=!1;return}}),!ve)return}i(!1,CC(xe)?xe.nativeEvent:xe,"escape-key")}),ye=Ps(xe=>{var Re;const Le=()=>{var Z;le(xe),(Z=Xl(xe))==null||Z.removeEventListener("keydown",Le)};(Re=Xl(xe))==null||Re.addEventListener("keydown",Le)}),De=Ps(xe=>{var Re;const Le=c.current.insideReactTree;c.current.insideReactTree=!1;const Z=U.current;if(U.current=!1,v==="click"&&Z||Le||typeof O=="function"&&!O(xe))return;const ve=Xl(xe),Y="["+UC("inert")+"]",K=$m(a.floating).querySelectorAll(Y);let fe=ht(ve)?ve:null;for(;fe&&!co(fe);){const ue=ho(fe);if(co(ue)||!ht(ue))break;fe=ue}if(K.length&&ht(ve)&&!EC(ve)&&!Lm(ve,a.floating)&&Array.from(K).every(ue=>!Lm(fe,ue)))return;if(an(ve)&&ze){const ue=co(ve),ce=zr(ve),Ee=/auto|scroll/,Se=ue||Ee.test(ce.overflowX),Pe=ue||Ee.test(ce.overflowY),Be=Se&&ve.clientWidth>0&&ve.scrollWidth>ve.clientWidth,se=Pe&&ve.clientHeight>0&&ve.scrollHeight>ve.clientHeight,We=ce.direction==="rtl",ot=se&&(We?xe.offsetX<=ve.offsetWidth-ve.clientWidth:xe.offsetX>ve.clientWidth),Nt=Be&&xe.offsetY>ve.clientHeight;if(ot||Nt)return}const te=(Re=c.current.floatingContext)==null?void 0:Re.nodeId,he=D&&Dd(D.nodesRef.current,te).some(ue=>{var ce;return Md(xe,(ce=ue.context)==null?void 0:ce.elements.floating)});if(Md(xe,a.floating)||Md(xe,a.domReference)||he)return;const me=D?Dd(D.nodesRef.current,te):[];if(me.length>0){let ue=!0;if(me.forEach(ce=>{var Ee;if((Ee=ce.context)!=null&&Ee.open&&!ce.context.dataRef.current.__outsidePressBubbles){ue=!1;return}}),!ue)return}i(!1,xe,"outside-press")}),Fe=Ps(xe=>{var Re;const Le=()=>{var Z;De(xe),(Z=Xl(xe))==null||Z.removeEventListener(v,Le)};(Re=Xl(xe))==null||Re.addEventListener(v,Le)});pe.useEffect(()=>{if(!n||!p)return;c.current.__escapeKeyBubbles=j,c.current.__outsidePressBubbles=V;let xe=-1;function Re(K){i(!1,K,"ancestor-scroll")}function Le(){window.clearTimeout(xe),ae.current=!0}function Z(){xe=window.setTimeout(()=>{ae.current=!1},Kc()?5:0)}const ve=$m(a.floating);m&&(ve.addEventListener("keydown",$?ye:le,$),ve.addEventListener("compositionstart",Le),ve.addEventListener("compositionend",Z)),O&&ve.addEventListener(v,J?Fe:De,J);let Y=[];return F&&(ht(a.domReference)&&(Y=Ms(a.domReference)),ht(a.floating)&&(Y=Y.concat(Ms(a.floating))),!ht(a.reference)&&a.reference&&a.reference.contextElement&&(Y=Y.concat(Ms(a.reference.contextElement)))),Y=Y.filter(K=>{var fe;return K!==((fe=ve.defaultView)==null?void 0:fe.visualViewport)}),Y.forEach(K=>{K.addEventListener("scroll",Re,{passive:!0})}),()=>{m&&(ve.removeEventListener("keydown",$?ye:le,$),ve.removeEventListener("compositionstart",Le),ve.removeEventListener("compositionend",Z)),O&&ve.removeEventListener(v,J?Fe:De,J),Y.forEach(K=>{K.removeEventListener("scroll",Re)}),window.clearTimeout(xe)}},[c,a,m,O,v,n,i,F,p,j,V,le,$,ye,De,J,Fe]),pe.useEffect(()=>{c.current.insideReactTree=!1},[c,O,v]);const $e=pe.useMemo(()=>({onKeyDown:le,...C&&{[WC[x]]:xe=>{i(!1,xe.nativeEvent,"reference-press")},...x!=="click"&&{onClick(xe){i(!1,xe.nativeEvent,"reference-press")}}}}),[le,i,C,x]),ze=pe.useMemo(()=>({onKeyDown:le,onMouseDown(){U.current=!0},onMouseUp(){U.current=!0},[VC[v]]:()=>{c.current.insideReactTree=!0},onBlurCapture(){D||(HC(re),c.current.insideReactTree=!0,re.current=window.setTimeout(()=>{c.current.insideReactTree=!1}))}}),[le,v,c,D]);return pe.useMemo(()=>p?{reference:$e,floating:ze}:{},[p,$e,ze])}function YC(e){const{open:t=!1,onOpenChange:n,elements:i}=e,a=LC(),c=pe.useRef({}),[p]=pe.useState(()=>jC()),m=BC()!=null;if(process.env.NODE_ENV!=="production"){const I=i.reference;I&&!ht(I)&&$C("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[h,v]=pe.useState(i.reference),C=Ps((I,L,D)=>{c.current.openEvent=I?L:void 0,p.emit("openchange",{open:I,event:L,reason:D,nested:m}),n==null||n(I,L,D)}),x=pe.useMemo(()=>({setPositionReference:v}),[]),F=pe.useMemo(()=>({reference:h||i.reference||null,floating:i.floating||null,domReference:i.reference}),[h,i.reference,i.floating]);return pe.useMemo(()=>({dataRef:c,open:t,onOpenChange:C,elements:F,events:p,floatingId:a,refs:x}),[t,C,F,p,a,x])}function XC(e){e===void 0&&(e={});const{nodeId:t}=e,n=YC({...e,elements:{reference:null,floating:null,...e.elements}}),i=e.rootContext||n,a=i.elements,[c,p]=pe.useState(null),[m,h]=pe.useState(null),C=(a==null?void 0:a.domReference)||c,x=pe.useRef(null),F=Dy();Ip(()=>{C&&(x.current=C)},[C]);const I=Bx({...e,elements:{...a,...m&&{reference:m}}}),L=pe.useCallback(j=>{const V=ht(j)?{getBoundingClientRect:()=>j.getBoundingClientRect(),getClientRects:()=>j.getClientRects(),contextElement:j}:j;h(V),I.refs.setReference(V)},[I.refs]),D=pe.useCallback(j=>{(ht(j)||j===null)&&(x.current=j,p(j)),(ht(I.refs.reference.current)||I.refs.reference.current===null||j!==null&&!ht(j))&&I.refs.setReference(j)},[I.refs]),T=pe.useMemo(()=>({...I.refs,setReference:D,setPositionReference:L,domReference:x}),[I.refs,D,L]),O=pe.useMemo(()=>({...I.elements,domReference:C}),[I.elements,C]),U=pe.useMemo(()=>({...I,...i,refs:T,elements:O,nodeId:t}),[I,T,O,t,i]);return Ip(()=>{i.dataRef.current.floatingContext=U;const j=F==null?void 0:F.nodesRef.current.find(V=>V.id===t);j&&(j.context=U)}),pe.useMemo(()=>({...I,context:U,refs:T,elements:O}),[I,T,O,U])}function _d(e,t,n){const i=new Map,a=n==="item";let c=e;if(a&&e){const{[jm]:p,[Nm]:m,...h}=e;c=h}return{...n==="floating"&&{tabIndex:-1,[IC]:""},...c,...t.map(p=>{const m=p?p[n]:null;return typeof m=="function"?e?m(e):null:m}).concat(e).reduce((p,m)=>(m&&Object.entries(m).forEach(h=>{let[v,C]=h;if(!(a&&[jm,Nm].includes(v)))if(v.indexOf("on")===0){if(i.has(v)||i.set(v,[]),typeof C=="function"){var x;(x=i.get(v))==null||x.push(C),p[v]=function(){for(var F,I=arguments.length,L=new Array(I),D=0;D<I;D++)L[D]=arguments[D];return(F=i.get(v))==null?void 0:F.map(T=>T(...L)).find(T=>T!==void 0)}}}else p[v]=C}),p),{})}}function QC(e){e===void 0&&(e=[]);const t=e.map(m=>m==null?void 0:m.reference),n=e.map(m=>m==null?void 0:m.floating),i=e.map(m=>m==null?void 0:m.item),a=pe.useCallback(m=>_d(m,e,"reference"),t),c=pe.useCallback(m=>_d(m,e,"floating"),n),p=pe.useCallback(m=>_d(m,e,"item"),i);return pe.useMemo(()=>({getReferenceProps:a,getFloatingProps:c,getItemProps:p}),[a,c,p])}const qC={white:"bg-white text-dark-300 border border-gray-300",primary:"bg-primary-600",secondary:"bg-secondary-500",success:"bg-success-600",info:"bg-info-500",warning:"bg-warning-500 text-gray-800",danger:"bg-danger-500",steel:"bg-steel-500",orange:"bg-orange-500",purple:"bg-purple-500",grayDark:"bg-gray-900",grayLight:"bg-gray-100 text-gray-800"},KC={white:"text-white border border-white",primary:"text-primary-600 border border-primary-600",secondary:"text-secondary-500 border border-secondary-500",success:"text-success-600 border border-success-600",info:"text-info-500 border border-info-500",warning:"text-warning-500 border border-warning-500",danger:"text-danger-500 border border-danger-500",steel:"text-steel-500 border border-steel-500",orange:"text-orange-500 border border-orange-500",purple:"text-purple-500 border border-purple-500",grayDark:"text-gray-700 border border-gray-700",grayLight:"text-gray-500 border border-gray-100"},JC={white:"text-dark-300",primary:"text-white",secondary:"text-white",success:"text-white",info:"text-black",warning:"text-gray-800",danger:"text-white",steel:"text-white",orange:"text-black",purple:"text-white",grayDark:"text-white",grayLight:"text-gray-800"},ZC={normal:"rounded",pill:"rounded-pill"},eT={big:"h-[24px] leading-[24px] text-md px-1",medium:"h-[22px] leading-[22px] text-sm px-[2px]",small:"h-[18px] leading-[18px] text-xs px-[2px]"},_y=({category:e="solid",color:t="primary",roundness:n="normal",size:i="medium",textClassName:a="uppercase",children:c,className:p,...m})=>{const h=A.useMemo(()=>JC[t]??"text-white",[t]),v=A.useMemo(()=>Fs(h,e==="outline"?KC[t]:qC[t],ZC[n],eT[i]),[h,e,t,i,n]);return q.jsx("div",{className:Fs("ui-badge flex items-center font-bold",v,p),style:m==null?void 0:m.style,"data-testid":"badge","data-category":e,"data-color":t,...m,children:q.jsx("p",{className:Fs("mx-1",a),children:c})})},tT={default:"text-secondary-600 border-secondary-600",primary:"text-primary-600 border-primary-600",success:"text-success-600 border-success-600"},rT=({transition:e,onClick:t})=>q.jsxs("div",{className:"py-1 px-3 space-x-2 flex items-center hover:bg-gray-100 cursor-pointer",onClick:n=>{n.stopPropagation(),t()},children:[q.jsx("span",{className:"text-base text-dark flex-1",children:e.action}),q.jsx(Si,{icon:ak,className:"text-gray-400 size-4"}),q.jsx(_y,{category:"outline",color:e.color,children:e.to})]}),nT=({title:e,variant:t="default",transitions:n,onClick:i})=>{const[a,c]=A.useState(!1),{refs:p,floatingStyles:m,context:h}=XC({strategy:"fixed",placement:"bottom-end",open:a,onOpenChange:c}),v=GC(h,{outsidePress:!0}),{getReferenceProps:C,getFloatingProps:x}=QC([v]);return q.jsxs(q.Fragment,{children:[q.jsxs("div",{onClick:n!=null&&n.length?()=>c(F=>!F):void 0,ref:p.setReference,className:wt("px-1 uppercase border rounded-sm flex items-center space-x-1",n.length?"cursor-pointer":"pointer-events-none",tT[t]),...C(),children:[q.jsx("span",{className:"text-sm font-bold",children:e}),n.length>0?q.jsx(Si,{icon:qv,className:"size-4"}):q.jsx(q.Fragment,{})]}),a&&n.length&&q.jsx("div",{ref:p.setFloating,style:m,className:wt("border border-gray-200 py-1.5 rounded-sm min-w-[172px] bg-white shadow-dark/50"),...x(),children:n.map((F,I)=>q.jsx(rT,{transition:F,onClick:()=>{i==null||i(F.id),c(!1)}},I))})]})},Hm=({description:e})=>{const t=A.useMemo(()=>{const n=/https:\/\/[^/]+\/api\/files/g,i=e==null?void 0:e.replaceAll(n,`${Dh}`),a=i==null?void 0:i.replaceAll('src="/api/files',`src="${Dh}`),m=new DOMParser().parseFromString(a,"text/html").querySelectorAll("img");return m==null||m.forEach(h=>{const v=h.getAttribute("src");v&&(new Image().src=v)}),a},[e]);return A.useEffect(()=>{},[t]),q.jsx("div",{className:"flex flex-col gap-4",children:q.jsx("div",{style:{display:"unset"},className:"lexical-view-mode",dangerouslySetInnerHTML:{__html:t}})})},oT={SEQUENTIAL:"Sequential"},iT={[ct.IN_REVIEW]:"In Review"},aT={[ct.OPEN]:"bg-secondary-500",[ct.IN_PROGRESS]:"bg-primary-600",[ct.IN_REVIEW]:"bg-success-600",[ct.COMPLETED]:"bg-success-600"},sT=({playbookType:e,status:t,step:n,isSelected:i,onSelect:a})=>q.jsx("div",{className:lu("flex flex-col items-center justify-center",i?"bg-[#FFE600]":aT[t],a&&"cursor-pointer"),onClick:c=>{c.stopPropagation(),a==null||a(c.shiftKey)},children:q.jsx("span",{className:lu("text-orientation-mixed w-[27px] flex items-center whitespace-nowrap px-2 text-sm font-bold [writing-mode:vertical-lr]",i?"text-black":"text-white"),children:e===oT.SEQUENTIAL?`STEP ${n}`:(iT[t]||t).toUpperCase()})}),lT={[ct.OPEN]:"secondary",[ct.IN_PROGRESS]:"primary",[ct.IN_REVIEW]:"success",[ct.COMPLETED]:"success"},uT=({status:e})=>q.jsx(_y,{category:"outline",color:lT[e],children:e}),cT={[ct.OPEN]:"border-[#C1C5C8] bg-[#F0F1F2]",[ct.IN_PROGRESS]:"bg-[#E6F2FF] border-[#94C8FF]",[ct.IN_REVIEW]:"bg-[#EAF6EC] border-[#A5DAB1]",[ct.COMPLETED]:"bg-[#EAF6EC] border-[#A5DAB1]"},Ld={PHOTO:"photo",SCREENSHOT:"screenshot"},fT=({task:e,step:t,playbookType:n,onButtonClick:i,viewMode:a="card",canStart:c=!1,isExpanded:p=!1,toggleExpanded:m,playbookId:h,taskStyle:v,listStickyTopBase:C})=>{const[x,F]=A.useState(!1),{taskDetails:I,prefetchQuery:L}=SC({taskId:e.taskId,playbookId:h,enabled:p}),{buttons:D}=Kb({taskStatus:e.workflowStatus,canStart:c}),T=A.useMemo(()=>e.imageRequired===0?null:e.imageRequired===1?Ld.SCREENSHOT:e.imageRequired===2?Ld.PHOTO:null,[e.imageRequired]),O=async U=>{try{F(!0),await i(U)}finally{F(!1)}};if(a==="list"){const U=A.useMemo(()=>e.workflowStatus===ct.COMPLETED?"success":e.workflowStatus===ct.IN_PROGRESS?"primary":"default",[e.workflowStatus]),j=A.useMemo(()=>{const V=[];return D.forEach($=>{$==="START"&&V.push({id:"START",color:"primary",action:"Start",to:ct.IN_PROGRESS}),$==="COMPLETE"&&V.push({id:"COMPLETE",color:"success",action:"Complete",to:ct.COMPLETED})}),V},[D]);return q.jsxs("div",{className:wt("flex flex-col"),children:[q.jsxs("div",{className:wt("flex gap-3 p-2 border-gray-200",e.sequenceOrder>0&&"border-t",p&&"bg-white rounded-md border border-t-none shadow-sm sticky"),style:{top:p?C:0},children:[q.jsx("div",{className:"text-gray-200 text-base",children:e.sequenceOrder+1}),q.jsx("div",{onClick:()=>{m==null||m(!p)},onMouseOver:L,className:wt("flex-1 truncate cursor-pointer",p&&"font-medium",e.workflowStatus===ct.COMPLETED&&"text-secondary-400 line-through"),style:{color:e.workflowStatus===ct.IN_PROGRESS&&(v==null?void 0:v.titleColor)||"#1C232D"},children:e.taskInstanceName}),q.jsx(nT,{title:e.workflowStatus,variant:U,transitions:j,onClick:V=>{i(V)}})]}),(I==null?void 0:I.description)&&q.jsx("div",{className:wt(!p&&"hidden","border-gray-200 border p-2 mx-4 mb-4 border-t-none -mt-[1px] bg-gray-100 rounded-b-md"),children:q.jsx(Hm,{description:(I==null?void 0:I.description)||""})})]})}return q.jsxs("div",{className:lu("flex items-stretch rounded-sm overflow-hidden border",cT[e.workflowStatus]),children:[q.jsx(sT,{playbookType:n,status:e.workflowStatus,step:t}),q.jsxs("div",{className:"flex w-full flex-col overflow-x-hidden flex-1 p-2",children:[n==="Sequential"&&q.jsx("div",{className:"-mb-3 self-end pr-2 pt-2",children:q.jsx(uT,{status:e.workflowStatus})}),q.jsxs("div",{className:"space-y-2 divide-y divide-black/10 flex flex-col flex-1",children:[q.jsx("div",{className:wt("text-lg font-medium flex-1 pb-1"),style:{color:e.workflowStatus==="Completed"?"#1C232D":(v==null?void 0:v.titleColor)||"#1C232D"},children:e.taskInstanceName}),T?q.jsxs("div",{className:"flex items-center gap-2 text-sm pb-2",children:[q.jsx(Si,{icon:ik,className:"size-4"}),q.jsxs("div",{children:[q.jsx("span",{className:"font-medium",children:T===Ld.PHOTO?"Photo":"Screenshot"})," ","required"]})]}):q.jsx(q.Fragment,{})]}),(I==null?void 0:I.description)&&q.jsx("div",{className:wt(!p&&"hidden"),children:q.jsx(Hm,{description:(I==null?void 0:I.description)||""})}),(D.length>0||e.hasDescription)&&q.jsxs("div",{className:"flex items-center justify-end gap-4 border-t border-black/10 pt-2",children:[q.jsx("div",{className:"flex-1",children:q.jsx(kC,{buttons:D,onButtonClick:O,disabled:x})}),m&&q.jsx(fu,{size:"smallCollapse",onMouseOver:L,category:"link",onClick:()=>{m()},title:p?"Hide task description":"Show task description",children:q.jsx(Si,{icon:qv,className:lu("cursor-pointer text-[#0069D9]",p?"rotate-180":"")})})]})]})]})},Ly=A.forwardRef(({title:e,className:t,playbookStyle:n,...i},a)=>{var c,p;return q.jsx("div",{ref:a,className:wt("border-b border-gray-200 flex items-center",t),style:{backgroundColor:((c=n==null?void 0:n.whiteLabel)==null?void 0:c.titleBackgroundColor)||"#f8f9fa"},...i,children:q.jsx("div",{className:"text-xl min-h-16 p-4",style:{color:(p=n==null?void 0:n.whiteLabel)==null?void 0:p.titleTextColor},children:e})})});Ly.displayName="PlaybookHeader";const dT=({playbookInstanceId:e,playbookMode:t,playbookStyle:n})=>{const{playbook:i,actions:a}=Qb(e);if(!i)return q.jsx("div",{});const c=async(p,m)=>{var h;if(p===eu.COMPLETE){const v=(h=i.tasks.find(C=>C.taskInstanceId===m))==null?void 0:h.sequenceOrder;if(v===void 0){console.error("Task not found in playbook");return}return a.completeTask(m,v)}if(p===eu.START)return a.startTask(m)};return q.jsx($y,{playbook:i,playbookMode:t,onTaskButtonClick:c,playbookStyle:n})},pT=({className:e,children:t,numberOfTasks:n,playbookMode:i})=>q.jsxs("div",{className:wt("w-full p-4",e),children:[n&&q.jsxs("div",{className:wt(i==="card"&&"mb-4"),children:[q.jsx("span",{className:"font-medium",children:"Tasks"})," (",n,")"]}),q.jsx("div",{className:wt(i==="card"&&"space-y-4"),children:t})]}),$y=({playbook:e,playbookMode:t,onTaskButtonClick:n,playbookStyle:i})=>{var D,T,O,U,j;const{playbookInstanceName:a,tasks:c}=e,p=A.useRef(null),[m,h]=A.useState(0),[v,C]=A.useState(!1),x=()=>{C(!v)},{isTaskExpanded:F,toggleTaskExpanded:I}=Tg(e.playbookInstanceId,{onTaskExpanded:()=>{var V,$;console.log("Header height before update:",(V=p.current)==null?void 0:V.offsetHeight),h((($=p.current)==null?void 0:$.offsetHeight)||0)}});A.useEffect(()=>(p.current&&new ResizeObserver($=>{var J;for(const ae of $)console.log("ResizeObserver entry:",ae),ae.contentRect&&h(((J=p.current)==null?void 0:J.offsetHeight)||0)}).observe(p.current),()=>{p.current&&new ResizeObserver(()=>{}).unobserve(p.current)}),[p]);const L=A.useMemo(()=>{const V=c.filter($=>$.workflowStatus===ct.COMPLETED).sort(($,J)=>J.sequenceOrder-$.sequenceOrder)[0];return console.log({lastCompletedTask:V}),V?V.sequenceOrder+1:0},[c]);return Bc.createPortal(q.jsxs(lg.div,{children:[q.jsxs("div",{className:wt(!(i!=null&&i.overlay)&&"min-h-screen",(i==null?void 0:i.overlay)&&"fixed bottom-0 z-[99999999999999] flex","transition-all duration-300 ease-in-out"),...(i==null?void 0:i.overlay)&&{style:{width:"100%",maxWidth:v?((D=i.overlay.size)==null?void 0:D.width)||450:"2.25rem",height:((T=i.overlay.size)==null?void 0:T.height)||"calc(100vh - 4rem)",maxHeight:"calc(100vh - 4rem)",right:((O=i.overlay.offset)==null?void 0:O.right)!==void 0?i.overlay.offset.right:i.overlay.position==="right"?32:void 0,left:((U=i.overlay.offset)==null?void 0:U.left)!==void 0?i.overlay.offset.left:i.overlay.position==="left"?32:void 0}},children:[(i==null?void 0:i.overlay)&&q.jsx("div",{onClick:x,className:wt("size-9 relative p-1 top-3 z-[99999999999999] border-none rounded-l-sm cursor-pointer"),style:{backgroundColor:((j=i==null?void 0:i.whiteLabel)==null?void 0:j.primaryColor)||"#007BFF",boxShadow:"0px 3px 3px 0px #00000040"},children:q.jsx("img",{src:ug,alt:"Confidence Logo",className:"w-full h-full object-contain"})}),q.jsxs("div",{className:wt("flex flex-col flex-1 bg-gray-50",(i==null?void 0:i.overlay)&&"border border-gray-200 shadow-2xl rounded-t-sm overflow-y-auto"),children:[q.jsx(Ly,{title:a,className:wt("top-0 sticky z-2"),playbookStyle:i,ref:p}),q.jsx(pT,{playbookMode:t,numberOfTasks:e.numberofTasks,children:c.map((V,$)=>{var J;return q.jsx(fT,{task:V,step:$+1,viewMode:t,playbookId:e.playbookId,canStart:V.sequenceOrder===L,onButtonClick:ae=>n(ae,V.taskInstanceId),playbookType:"Non-Sequential",taskStyle:{titleColor:(J=i==null?void 0:i.whiteLabel)==null?void 0:J.primaryColor},isExpanded:F(V.taskInstanceId),toggleExpanded:()=>I(V.taskInstanceId),listStickyTopBase:m||104},$)})})]})]}),q.jsx("style",{children:Pg})]}),document.body,"confidence-playbook-portal")},hT=({email:e,playbookId:t,playbookMode:n,playbookStyle:i})=>{const[a,c]=A.useState(null);return A.useEffect(()=>{(async()=>{const{playbookInstanceId:p,errorCode:m,details:h,message:v}=await Rg({bank:"public-sdk",email:e,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles",playbookUid:t})||{};if(m)throw new Error(`Error initiating playbook: ${v} (Code: ${m}) - Details: ${h}`);c(p)})()},[]),a?q.jsx(Pa,{playbookInstanceId:a,playbookMode:n,playbookStyle:i}):q.jsx("div",{children:"Loading..."})},mT=({playbookId:e,playbookMode:t="list",playbookStyle:n,btnLabel:i="Start Playbook",btnColor:a="primary"})=>{const[c,p]=A.useState(null);return q.jsxs(q.Fragment,{children:[q.jsxs(lg.div,{children:[q.jsx(nk,{playbookId:e,disabled:!!c,onInitiated:p,btnLabel:i,btnColor:a}),q.jsx("style",{type:"text/css",children:Pg})]}),c&&q.jsx(Pa,{playbookInstanceId:c,playbookMode:t,playbookStyle:n})]})},Pa=({playbookInstanceId:e,playbookMode:t,playbookStyle:n})=>q.jsx(Eg,{children:q.jsx(dT,{playbookInstanceId:e,playbookMode:t,playbookStyle:n})});Pa.Context=Eg;Pa.View=$y;Pa.AutoInstantiated=hT;Pa.WithInstantiateButton=mT;const gT=({children:e})=>q.jsx("div",{className:"confidence-ui",style:{display:"unset"},children:e});exports.ConfidencePlaybook=Pa;exports.ConfidenceUIWrapper=gT;
|
|
689
|
+
}`;function Tg(){const e=bg,r=xg,o=Se.cssPrefix,i=Se.replacementClass;let a=Dx;if(o!==e||i!==r){const d=new RegExp("\\.".concat(e,"\\-"),"g"),h=new RegExp("\\--".concat(e,"\\-"),"g"),y=new RegExp("\\.".concat(r),"g");a=a.replace(d,".".concat(o,"-")).replace(h,"--".concat(o,"-")).replace(y,".".concat(i))}return a}let oh=!1;function Nf(){Se.autoAddCss&&!oh&&(Ax(Tg()),oh=!0)}var _x={mixout(){return{dom:{css:Tg,insertCss:Nf}}},hooks(){return{beforeDOMElementCreation(){Nf()},beforeI2svg(){Nf()}}}};const no=ri||{};no[ro]||(no[ro]={});no[ro].styles||(no[ro].styles={});no[ro].hooks||(no[ro].hooks={});no[ro].shims||(no[ro].shims=[]);var wn=no[ro];const Rg=[],Pg=function(){it.removeEventListener("DOMContentLoaded",Pg),ac=1,Rg.map(e=>e())};let ac=!1;ao&&(ac=(it.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(it.readyState),ac||it.addEventListener("DOMContentLoaded",Pg));function Lx(e){ao&&(ac?setTimeout(e,0):Rg.push(e))}function Jl(e){const{tag:r,attributes:o={},children:i=[]}=e;return typeof e=="string"?Cg(e):"<".concat(r," ").concat(Ox(o),">").concat(i.map(Jl).join(""),"</").concat(r,">")}function ih(e,r,o){if(e&&e[r]&&e[r][o])return{prefix:r,iconName:o,icon:e[r][o]}}var $f=function(r,o,i,a){var d=Object.keys(r),h=d.length,y=o,m,x,R;for(i===void 0?(m=1,R=r[d[0]]):(m=0,R=i);m<h;m++)x=d[m],R=y(R,r[x],x,r);return R};function jx(e){const r=[];let o=0;const i=e.length;for(;o<i;){const a=e.charCodeAt(o++);if(a>=55296&&a<=56319&&o<i){const d=e.charCodeAt(o++);(d&64512)==56320?r.push(((a&1023)<<10)+(d&1023)+65536):(r.push(a),o--)}else r.push(a)}return r}function Ed(e){const r=jx(e);return r.length===1?r[0].toString(16):null}function Nx(e,r){const o=e.length;let i=e.charCodeAt(r),a;return i>=55296&&i<=56319&&o>r+1&&(a=e.charCodeAt(r+1),a>=56320&&a<=57343)?(i-55296)*1024+a-56320+65536:i}function ah(e){return Object.keys(e).reduce((r,o)=>{const i=e[o];return!!i.icon?r[i.iconName]=i.icon:r[o]=i,r},{})}function Cd(e,r){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:i=!1}=o,a=ah(r);typeof wn.hooks.addPack=="function"&&!i?wn.hooks.addPack(e,ah(r)):wn.styles[e]=re(re({},wn.styles[e]||{}),a),e==="fas"&&Cd("fa",r)}const{styles:zl,shims:$x}=wn,Ag=Object.keys(np),zx=Ag.reduce((e,r)=>(e[r]=Object.keys(np[r]),e),{});let ap=null,Ig={},Og={},Fg={},Mg={},Dg={};function Bx(e){return~Cx.indexOf(e)}function Ux(e,r){const o=r.split("-"),i=o[0],a=o.slice(1).join("-");return i===e&&a!==""&&!Bx(a)?a:null}const _g=()=>{const e=i=>$f(zl,(a,d,h)=>(a[h]=$f(d,i,{}),a),{});Ig=e((i,a,d)=>(a[3]&&(i[a[3]]=d),a[2]&&a[2].filter(y=>typeof y=="number").forEach(y=>{i[y.toString(16)]=d}),i)),Og=e((i,a,d)=>(i[d]=d,a[2]&&a[2].filter(y=>typeof y=="string").forEach(y=>{i[y]=d}),i)),Dg=e((i,a,d)=>{const h=a[2];return i[d]=d,h.forEach(y=>{i[y]=d}),i});const r="far"in zl||Se.autoFetchSvg,o=$f($x,(i,a)=>{const d=a[0];let h=a[1];const y=a[2];return h==="far"&&!r&&(h="fas"),typeof d=="string"&&(i.names[d]={prefix:h,iconName:y}),typeof d=="number"&&(i.unicodes[d.toString(16)]={prefix:h,iconName:y}),i},{names:{},unicodes:{}});Fg=o.names,Mg=o.unicodes,ap=wc(Se.styleDefault,{family:Se.familyDefault})};Px(e=>{ap=wc(e.styleDefault,{family:Se.familyDefault})});_g();function sp(e,r){return(Ig[e]||{})[r]}function Hx(e,r){return(Og[e]||{})[r]}function Yi(e,r){return(Dg[e]||{})[r]}function Lg(e){return Fg[e]||{prefix:null,iconName:null}}function Wx(e){const r=Mg[e],o=sp("fas",e);return r||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function ni(){return ap}const jg=()=>({prefix:null,iconName:null,rest:[]});function Vx(e){let r=_t;const o=Ag.reduce((i,a)=>(i[a]="".concat(Se.cssPrefix,"-").concat(a),i),{});return vg.forEach(i=>{(e.includes(o[i])||e.some(a=>zx[i].includes(a)))&&(r=i)}),r}function wc(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:o=_t}=r,i=xx[o][e];if(o===bc&&!e)return"fad";const a=nh[o][e]||nh[o][i],d=e in wn.styles?e:null;return a||d||null}function Yx(e){let r=[],o=null;return e.forEach(i=>{const a=Ux(Se.cssPrefix,i);a?o=a:i&&r.push(i)}),{iconName:o,rest:r}}function sh(e){return e.sort().filter((r,o,i)=>i.indexOf(r)===o)}function Sc(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:o=!1}=r;let i=null;const a=yd.concat(lx),d=sh(e.filter(E=>a.includes(E))),h=sh(e.filter(E=>!yd.includes(E))),y=d.filter(E=>(i=E,!gg.includes(E))),[m=null]=y,x=Vx(d),R=re(re({},Yx(h)),{},{prefix:wc(m,{family:x})});return re(re(re({},R),qx({values:e,family:x,styles:zl,config:Se,canonical:R,givenPrefix:i})),Gx(o,i,R))}function Gx(e,r,o){let{prefix:i,iconName:a}=o;if(e||!i||!a)return{prefix:i,iconName:a};const d=r==="fa"?Lg(a):{},h=Yi(i,a);return a=d.iconName||h||a,i=d.prefix||i,i==="far"&&!zl.far&&zl.fas&&!Se.autoFetchSvg&&(i="fas"),{prefix:i,iconName:a}}const Qx=vg.filter(e=>e!==_t||e!==bc),Xx=Object.keys(vd).filter(e=>e!==_t).map(e=>Object.keys(vd[e])).flat();function qx(e){const{values:r,family:o,canonical:i,givenPrefix:a="",styles:d={},config:h={}}=e,y=o===bc,m=r.includes("fa-duotone")||r.includes("fad"),x=h.familyDefault==="duotone",R=i.prefix==="fad"||i.prefix==="fa-duotone";if(!y&&(m||x||R)&&(i.prefix="fad"),(r.includes("fa-brands")||r.includes("fab"))&&(i.prefix="fab"),!i.prefix&&Qx.includes(o)&&(Object.keys(d).find(F=>Xx.includes(F))||h.autoFetchSvg)){const F=ex.get(o).defaultShortPrefixId;i.prefix=F,i.iconName=Yi(i.prefix,i.iconName)||i.iconName}return(i.prefix==="fa"||a==="fa")&&(i.prefix=ni()||"fas"),i}class Jx{constructor(){this.definitions={}}add(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];const a=o.reduce(this._pullDefinitions,{});Object.keys(a).forEach(d=>{this.definitions[d]=re(re({},this.definitions[d]||{}),a[d]),Cd(d,a[d]);const h=np[_t][d];h&&Cd(h,a[d]),_g()})}reset(){this.definitions={}}_pullDefinitions(r,o){const i=o.prefix&&o.iconName&&o.icon?{0:o}:o;return Object.keys(i).map(a=>{const{prefix:d,iconName:h,icon:y}=i[a],m=y[2];r[d]||(r[d]={}),m.length>0&&m.forEach(x=>{typeof x=="string"&&(r[d][x]=y)}),r[d][h]=y}),r}}let lh=[],ls={};const hs={},Kx=Object.keys(hs);function Zx(e,r){let{mixoutsTo:o}=r;return lh=e,ls={},Object.keys(hs).forEach(i=>{Kx.indexOf(i)===-1&&delete hs[i]}),lh.forEach(i=>{const a=i.mixout?i.mixout():{};if(Object.keys(a).forEach(d=>{typeof a[d]=="function"&&(o[d]=a[d]),typeof a[d]=="object"&&Object.keys(a[d]).forEach(h=>{o[d]||(o[d]={}),o[d][h]=a[d][h]})}),i.hooks){const d=i.hooks();Object.keys(d).forEach(h=>{ls[h]||(ls[h]=[]),ls[h].push(d[h])})}i.provides&&i.provides(hs)}),o}function Td(e,r){for(var o=arguments.length,i=new Array(o>2?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];return(ls[e]||[]).forEach(h=>{r=h.apply(null,[r,...i])}),r}function ia(e){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];(ls[e]||[]).forEach(d=>{d.apply(null,o)})}function oi(){const e=arguments[0],r=Array.prototype.slice.call(arguments,1);return hs[e]?hs[e].apply(null,r):void 0}function Rd(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:r}=e;const o=e.prefix||ni();if(r)return r=Yi(o,r)||r,ih(Ng.definitions,o,r)||ih(wn.styles,o,r)}const Ng=new Jx,ew=()=>{Se.autoReplaceSvg=!1,Se.observeMutations=!1,ia("noAuto")},tw={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return ao?(ia("beforeI2svg",e),oi("pseudoElements2svg",e),oi("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:r}=e;Se.autoReplaceSvg===!1&&(Se.autoReplaceSvg=!0),Se.observeMutations=!0,Lx(()=>{nw({autoReplaceSvgRoot:r}),ia("watch",e)})}},rw={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Yi(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const r=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],o=wc(e[0]);return{prefix:o,iconName:Yi(o,r)||r}}if(typeof e=="string"&&(e.indexOf("".concat(Se.cssPrefix,"-"))>-1||e.match(wx))){const r=Sc(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||ni(),iconName:Yi(r.prefix,r.iconName)||r.iconName}}if(typeof e=="string"){const r=ni();return{prefix:r,iconName:Yi(r,e)||e}}}},vr={noAuto:ew,config:Se,dom:tw,parse:rw,library:Ng,findIconDefinition:Rd,toHtml:Jl},nw=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:r=it}=e;(Object.keys(wn.styles).length>0||Se.autoFetchSvg)&&ao&&Se.autoReplaceSvg&&vr.dom.i2svg({node:r})};function kc(e,r){return Object.defineProperty(e,"abstract",{get:r}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(o=>Jl(o))}}),Object.defineProperty(e,"node",{get:function(){if(!ao)return;const o=it.createElement("div");return o.innerHTML=e.html,o.children}}),e}function ow(e){let{children:r,main:o,mask:i,attributes:a,styles:d,transform:h}=e;if(ip(h)&&o.found&&!i.found){const{width:y,height:m}=o,x={x:y/m/2,y:.5};a.style=xc(re(re({},d),{},{"transform-origin":"".concat(x.x+h.x/16,"em ").concat(x.y+h.y/16,"em")}))}return[{tag:"svg",attributes:a,children:r}]}function iw(e){let{prefix:r,iconName:o,children:i,attributes:a,symbol:d}=e;const h=d===!0?"".concat(r,"-").concat(Se.cssPrefix,"-").concat(o):d;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:re(re({},a),{},{id:h}),children:i}]}]}function lp(e){const{icons:{main:r,mask:o},prefix:i,iconName:a,transform:d,symbol:h,title:y,maskId:m,titleId:x,extra:R,watchable:E=!1}=e,{width:F,height:M}=o.found?o:r,B=ix.includes(i),D=[Se.replacementClass,a?"".concat(Se.cssPrefix,"-").concat(a):""].filter(_=>R.classes.indexOf(_)===-1).filter(_=>_!==""||!!_).concat(R.classes).join(" ");let P={children:[],attributes:re(re({},R.attributes),{},{"data-prefix":i,"data-icon":a,class:D,role:R.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(F," ").concat(M)})};const I=B&&!~R.classes.indexOf("fa-fw")?{width:"".concat(F/M*16*.0625,"em")}:{};E&&(P.attributes[oa]=""),y&&(P.children.push({tag:"title",attributes:{id:P.attributes["aria-labelledby"]||"title-".concat(x||$l())},children:[y]}),delete P.attributes.title);const W=re(re({},P),{},{prefix:i,iconName:a,main:r,mask:o,maskId:m,transform:d,symbol:h,styles:re(re({},I),R.styles)}),{children:U,attributes:Y}=o.found&&r.found?oi("generateAbstractMask",W)||{children:[],attributes:{}}:oi("generateAbstractIcon",W)||{children:[],attributes:{}};return W.children=U,W.attributes=Y,h?iw(W):ow(W)}function uh(e){const{content:r,width:o,height:i,transform:a,title:d,extra:h,watchable:y=!1}=e,m=re(re(re({},h.attributes),d?{title:d}:{}),{},{class:h.classes.join(" ")});y&&(m[oa]="");const x=re({},h.styles);ip(a)&&(x.transform=Mx({transform:a,startCentered:!0,width:o,height:i}),x["-webkit-transform"]=x.transform);const R=xc(x);R.length>0&&(m.style=R);const E=[];return E.push({tag:"span",attributes:m,children:[r]}),d&&E.push({tag:"span",attributes:{class:"sr-only"},children:[d]}),E}function aw(e){const{content:r,title:o,extra:i}=e,a=re(re(re({},i.attributes),o?{title:o}:{}),{},{class:i.classes.join(" ")}),d=xc(i.styles);d.length>0&&(a.style=d);const h=[];return h.push({tag:"span",attributes:a,children:[r]}),o&&h.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),h}const{styles:zf}=wn;function Pd(e){const r=e[0],o=e[1],[i]=e.slice(4);let a=null;return Array.isArray(i)?a={tag:"g",attributes:{class:"".concat(Se.cssPrefix,"-").concat(jf.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Se.cssPrefix,"-").concat(jf.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(Se.cssPrefix,"-").concat(jf.PRIMARY),fill:"currentColor",d:i[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:r,height:o,icon:a}}const sw={found:!1,width:512,height:512};function lw(e,r){!wg&&!Se.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(r,'" is missing.'))}function Ad(e,r){let o=r;return r==="fa"&&Se.styleDefault!==null&&(r=ni()),new Promise((i,a)=>{if(o==="fa"){const d=Lg(e)||{};e=d.iconName||e,r=d.prefix||r}if(e&&r&&zf[r]&&zf[r][e]){const d=zf[r][e];return i(Pd(d))}lw(e,r),i(re(re({},sw),{},{icon:Se.showMissingIcons&&e?oi("missingIconAbstract")||{}:{}}))})}const ch=()=>{},Id=Se.measurePerformance&&Gu&&Gu.mark&&Gu.measure?Gu:{mark:ch,measure:ch},Al='FA "6.7.2"',uw=e=>(Id.mark("".concat(Al," ").concat(e," begins")),()=>$g(e)),$g=e=>{Id.mark("".concat(Al," ").concat(e," ends")),Id.measure("".concat(Al," ").concat(e),"".concat(Al," ").concat(e," begins"),"".concat(Al," ").concat(e," ends"))};var up={begin:uw,end:$g};const Ju=()=>{};function fh(e){return typeof(e.getAttribute?e.getAttribute(oa):null)=="string"}function cw(e){const r=e.getAttribute?e.getAttribute(tp):null,o=e.getAttribute?e.getAttribute(rp):null;return r&&o}function fw(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Se.replacementClass)}function dw(){return Se.autoReplaceSvg===!0?Ku.replace:Ku[Se.autoReplaceSvg]||Ku.replace}function pw(e){return it.createElementNS("http://www.w3.org/2000/svg",e)}function hw(e){return it.createElement(e)}function zg(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:o=e.tag==="svg"?pw:hw}=r;if(typeof e=="string")return it.createTextNode(e);const i=o(e.tag);return Object.keys(e.attributes||[]).forEach(function(d){i.setAttribute(d,e.attributes[d])}),(e.children||[]).forEach(function(d){i.appendChild(zg(d,{ceFn:o}))}),i}function mw(e){let r=" ".concat(e.outerHTML," ");return r="".concat(r,"Font Awesome fontawesome.com "),r}const Ku={replace:function(e){const r=e[0];if(r.parentNode)if(e[1].forEach(o=>{r.parentNode.insertBefore(zg(o),r)}),r.getAttribute(oa)===null&&Se.keepOriginalSource){let o=it.createComment(mw(r));r.parentNode.replaceChild(o,r)}else r.remove()},nest:function(e){const r=e[0],o=e[1];if(~op(r).indexOf(Se.replacementClass))return Ku.replace(e);const i=new RegExp("".concat(Se.cssPrefix,"-.*"));if(delete o[0].attributes.id,o[0].attributes.class){const d=o[0].attributes.class.split(" ").reduce((h,y)=>(y===Se.replacementClass||y.match(i)?h.toSvg.push(y):h.toNode.push(y),h),{toNode:[],toSvg:[]});o[0].attributes.class=d.toSvg.join(" "),d.toNode.length===0?r.removeAttribute("class"):r.setAttribute("class",d.toNode.join(" "))}const a=o.map(d=>Jl(d)).join(`
|
|
690
|
+
`);r.setAttribute(oa,""),r.innerHTML=a}};function dh(e){e()}function Bg(e,r){const o=typeof r=="function"?r:Ju;if(e.length===0)o();else{let i=dh;Se.mutateApproach===yx&&(i=ri.requestAnimationFrame||dh),i(()=>{const a=dw(),d=up.begin("mutate");e.map(a),d(),o()})}}let cp=!1;function Ug(){cp=!0}function Od(){cp=!1}let sc=null;function ph(e){if(!Zp||!Se.observeMutations)return;const{treeCallback:r=Ju,nodeCallback:o=Ju,pseudoElementsCallback:i=Ju,observeMutationsRoot:a=it}=e;sc=new Zp(d=>{if(cp)return;const h=ni();Ds(d).forEach(y=>{if(y.type==="childList"&&y.addedNodes.length>0&&!fh(y.addedNodes[0])&&(Se.searchPseudoElements&&i(y.target),r(y.target)),y.type==="attributes"&&y.target.parentNode&&Se.searchPseudoElements&&i(y.target.parentNode),y.type==="attributes"&&fh(y.target)&&~Ex.indexOf(y.attributeName))if(y.attributeName==="class"&&cw(y.target)){const{prefix:m,iconName:x}=Sc(op(y.target));y.target.setAttribute(tp,m||h),x&&y.target.setAttribute(rp,x)}else fw(y.target)&&o(y.target)})}),ao&&sc.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function gw(){sc&&sc.disconnect()}function vw(e){const r=e.getAttribute("style");let o=[];return r&&(o=r.split(";").reduce((i,a)=>{const d=a.split(":"),h=d[0],y=d.slice(1);return h&&y.length>0&&(i[h]=y.join(":").trim()),i},{})),o}function yw(e){const r=e.getAttribute("data-prefix"),o=e.getAttribute("data-icon"),i=e.innerText!==void 0?e.innerText.trim():"";let a=Sc(op(e));return a.prefix||(a.prefix=ni()),r&&o&&(a.prefix=r,a.iconName=o),a.iconName&&a.prefix||(a.prefix&&i.length>0&&(a.iconName=Hx(a.prefix,e.innerText)||sp(a.prefix,Ed(e.innerText))),!a.iconName&&Se.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function bw(e){const r=Ds(e.attributes).reduce((a,d)=>(a.name!=="class"&&a.name!=="style"&&(a[d.name]=d.value),a),{}),o=e.getAttribute("title"),i=e.getAttribute("data-fa-title-id");return Se.autoA11y&&(o?r["aria-labelledby"]="".concat(Se.replacementClass,"-title-").concat(i||$l()):(r["aria-hidden"]="true",r.focusable="false")),r}function xw(){return{iconName:null,title:null,titleId:null,prefix:null,transform:xn,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function hh(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:o,prefix:i,rest:a}=yw(e),d=bw(e),h=Td("parseNodeAttributes",{},e);let y=r.styleParser?vw(e):[];return re({iconName:o,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:xn,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:y,attributes:d}},h)}const{styles:ww}=wn;function Hg(e){const r=Se.autoReplaceSvg==="nest"?hh(e,{styleParser:!1}):hh(e);return~r.extra.classes.indexOf(kg)?oi("generateLayersText",e,r):oi("generateSvgReplacementMutation",e,r)}function Sw(){return[...rx,...yd]}function mh(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!ao)return Promise.resolve();const o=it.documentElement.classList,i=R=>o.add("".concat(rh,"-").concat(R)),a=R=>o.remove("".concat(rh,"-").concat(R)),d=Se.autoFetchSvg?Sw():gg.concat(Object.keys(ww));d.includes("fa")||d.push("fa");const h=[".".concat(kg,":not([").concat(oa,"])")].concat(d.map(R=>".".concat(R,":not([").concat(oa,"])"))).join(", ");if(h.length===0)return Promise.resolve();let y=[];try{y=Ds(e.querySelectorAll(h))}catch{}if(y.length>0)i("pending"),a("complete");else return Promise.resolve();const m=up.begin("onTree"),x=y.reduce((R,E)=>{try{const F=Hg(E);F&&R.push(F)}catch(F){wg||F.name==="MissingIcon"&&console.error(F)}return R},[]);return new Promise((R,E)=>{Promise.all(x).then(F=>{Bg(F,()=>{i("active"),i("complete"),a("pending"),typeof r=="function"&&r(),m(),R()})}).catch(F=>{m(),E(F)})})}function kw(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Hg(e).then(o=>{o&&Bg([o],r)})}function Ew(e){return function(r){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=(r||{}).icon?r:Rd(r||{});let{mask:a}=o;return a&&(a=(a||{}).icon?a:Rd(a||{})),e(i,re(re({},o),{},{mask:a}))}}const Cw=function(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:o=xn,symbol:i=!1,mask:a=null,maskId:d=null,title:h=null,titleId:y=null,classes:m=[],attributes:x={},styles:R={}}=r;if(!e)return;const{prefix:E,iconName:F,icon:M}=e;return kc(re({type:"icon"},e),()=>(ia("beforeDOMElementCreation",{iconDefinition:e,params:r}),Se.autoA11y&&(h?x["aria-labelledby"]="".concat(Se.replacementClass,"-title-").concat(y||$l()):(x["aria-hidden"]="true",x.focusable="false")),lp({icons:{main:Pd(M),mask:a?Pd(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:E,iconName:F,transform:re(re({},xn),o),symbol:i,title:h,maskId:d,titleId:y,extra:{attributes:x,styles:R,classes:m}})))};var Tw={mixout(){return{icon:Ew(Cw)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=mh,e.nodeCallback=kw,e}}},provides(e){e.i2svg=function(r){const{node:o=it,callback:i=()=>{}}=r;return mh(o,i)},e.generateSvgReplacementMutation=function(r,o){const{iconName:i,title:a,titleId:d,prefix:h,transform:y,symbol:m,mask:x,maskId:R,extra:E}=o;return new Promise((F,M)=>{Promise.all([Ad(i,h),x.iconName?Ad(x.iconName,x.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(B=>{let[D,P]=B;F([r,lp({icons:{main:D,mask:P},prefix:h,iconName:i,transform:y,symbol:m,maskId:R,title:a,titleId:d,extra:E,watchable:!0})])}).catch(M)})},e.generateAbstractIcon=function(r){let{children:o,attributes:i,main:a,transform:d,styles:h}=r;const y=xc(h);y.length>0&&(i.style=y);let m;return ip(d)&&(m=oi("generateAbstractTransformGrouping",{main:a,transform:d,containerWidth:a.width,iconWidth:a.width})),o.push(m||a.icon),{children:o,attributes:i}}}},Rw={mixout(){return{layer(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:o=[]}=r;return kc({type:"layer"},()=>{ia("beforeDOMElementCreation",{assembler:e,params:r});let i=[];return e(a=>{Array.isArray(a)?a.map(d=>{i=i.concat(d.abstract)}):i=i.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(Se.cssPrefix,"-layers"),...o].join(" ")},children:i}]})}}}},Pw={mixout(){return{counter(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:o=null,classes:i=[],attributes:a={},styles:d={}}=r;return kc({type:"counter",content:e},()=>(ia("beforeDOMElementCreation",{content:e,params:r}),aw({content:e.toString(),title:o,extra:{attributes:a,styles:d,classes:["".concat(Se.cssPrefix,"-layers-counter"),...i]}})))}}}},Aw={mixout(){return{text(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:o=xn,title:i=null,classes:a=[],attributes:d={},styles:h={}}=r;return kc({type:"text",content:e},()=>(ia("beforeDOMElementCreation",{content:e,params:r}),uh({content:e,transform:re(re({},xn),o),title:i,extra:{attributes:d,styles:h,classes:["".concat(Se.cssPrefix,"-layers-text"),...a]}})))}}},provides(e){e.generateLayersText=function(r,o){const{title:i,transform:a,extra:d}=o;let h=null,y=null;if(hg){const m=parseInt(getComputedStyle(r).fontSize,10),x=r.getBoundingClientRect();h=x.width/m,y=x.height/m}return Se.autoA11y&&!i&&(d.attributes["aria-hidden"]="true"),Promise.resolve([r,uh({content:r.innerHTML,width:h,height:y,transform:a,title:i,extra:d,watchable:!0})])}}};const Iw=new RegExp('"',"ug"),gh=[1105920,1112319],vh=re(re(re(re({},{FontAwesome:{normal:"fas",400:"fas"}}),Z0),gx),ux),Fd=Object.keys(vh).reduce((e,r)=>(e[r.toLowerCase()]=vh[r],e),{}),Ow=Object.keys(Fd).reduce((e,r)=>{const o=Fd[r];return e[r]=o[900]||[...Object.entries(o)][0][1],e},{});function Fw(e){const r=e.replace(Iw,""),o=Nx(r,0),i=o>=gh[0]&&o<=gh[1],a=r.length===2?r[0]===r[1]:!1;return{value:Ed(a?r[0]:r),isSecondary:i||a}}function Mw(e,r){const o=e.replace(/^['"]|['"]$/g,"").toLowerCase(),i=parseInt(r),a=isNaN(i)?"normal":i;return(Fd[o]||{})[a]||Ow[o]}function yh(e,r){const o="".concat(vx).concat(r.replace(":","-"));return new Promise((i,a)=>{if(e.getAttribute(o)!==null)return i();const h=Ds(e.children).filter(F=>F.getAttribute(xd)===r)[0],y=ri.getComputedStyle(e,r),m=y.getPropertyValue("font-family"),x=m.match(Sx),R=y.getPropertyValue("font-weight"),E=y.getPropertyValue("content");if(h&&!x)return e.removeChild(h),i();if(x&&E!=="none"&&E!==""){const F=y.getPropertyValue("content");let M=Mw(m,R);const{value:B,isSecondary:D}=Fw(F),P=x[0].startsWith("FontAwesome");let I=sp(M,B),W=I;if(P){const U=Wx(B);U.iconName&&U.prefix&&(I=U.iconName,M=U.prefix)}if(I&&!D&&(!h||h.getAttribute(tp)!==M||h.getAttribute(rp)!==W)){e.setAttribute(o,W),h&&e.removeChild(h);const U=xw(),{extra:Y}=U;Y.attributes[xd]=r,Ad(I,M).then(_=>{const ie=lp(re(re({},U),{},{icons:{main:_,mask:jg()},prefix:M,iconName:W,extra:Y,watchable:!0})),fe=it.createElementNS("http://www.w3.org/2000/svg","svg");r==="::before"?e.insertBefore(fe,e.firstChild):e.appendChild(fe),fe.outerHTML=ie.map(ne=>Jl(ne)).join(`
|
|
691
|
+
`),e.removeAttribute(o),i()}).catch(a)}else i()}else i()})}function Dw(e){return Promise.all([yh(e,"::before"),yh(e,"::after")])}function _w(e){return e.parentNode!==document.head&&!~bx.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(xd)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function bh(e){if(ao)return new Promise((r,o)=>{const i=Ds(e.querySelectorAll("*")).filter(_w).map(Dw),a=up.begin("searchPseudoElements");Ug(),Promise.all(i).then(()=>{a(),Od(),r()}).catch(()=>{a(),Od(),o()})})}var Lw={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=bh,e}}},provides(e){e.pseudoElements2svg=function(r){const{node:o=it}=r;Se.searchPseudoElements&&bh(o)}}};let xh=!1;var jw={mixout(){return{dom:{unwatch(){Ug(),xh=!0}}}},hooks(){return{bootstrap(){ph(Td("mutationObserverCallbacks",{}))},noAuto(){gw()},watch(e){const{observeMutationsRoot:r}=e;xh?Od():ph(Td("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}};const wh=e=>{let r={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((o,i)=>{const a=i.toLowerCase().split("-"),d=a[0];let h=a.slice(1).join("-");if(d&&h==="h")return o.flipX=!0,o;if(d&&h==="v")return o.flipY=!0,o;if(h=parseFloat(h),isNaN(h))return o;switch(d){case"grow":o.size=o.size+h;break;case"shrink":o.size=o.size-h;break;case"left":o.x=o.x-h;break;case"right":o.x=o.x+h;break;case"up":o.y=o.y-h;break;case"down":o.y=o.y+h;break;case"rotate":o.rotate=o.rotate+h;break}return o},r)};var Nw={mixout(){return{parse:{transform:e=>wh(e)}}},hooks(){return{parseNodeAttributes(e,r){const o=r.getAttribute("data-fa-transform");return o&&(e.transform=wh(o)),e}}},provides(e){e.generateAbstractTransformGrouping=function(r){let{main:o,transform:i,containerWidth:a,iconWidth:d}=r;const h={transform:"translate(".concat(a/2," 256)")},y="translate(".concat(i.x*32,", ").concat(i.y*32,") "),m="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),x="rotate(".concat(i.rotate," 0 0)"),R={transform:"".concat(y," ").concat(m," ").concat(x)},E={transform:"translate(".concat(d/2*-1," -256)")},F={outer:h,inner:R,path:E};return{tag:"g",attributes:re({},F.outer),children:[{tag:"g",attributes:re({},F.inner),children:[{tag:o.icon.tag,children:o.icon.children,attributes:re(re({},o.icon.attributes),F.path)}]}]}}}};const Bf={x:0,y:0,width:"100%",height:"100%"};function Sh(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||r)&&(e.attributes.fill="black"),e}function $w(e){return e.tag==="g"?e.children:[e]}var zw={hooks(){return{parseNodeAttributes(e,r){const o=r.getAttribute("data-fa-mask"),i=o?Sc(o.split(" ").map(a=>a.trim())):jg();return i.prefix||(i.prefix=ni()),e.mask=i,e.maskId=r.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(r){let{children:o,attributes:i,main:a,mask:d,maskId:h,transform:y}=r;const{width:m,icon:x}=a,{width:R,icon:E}=d,F=Fx({transform:y,containerWidth:R,iconWidth:m}),M={tag:"rect",attributes:re(re({},Bf),{},{fill:"white"})},B=x.children?{children:x.children.map(Sh)}:{},D={tag:"g",attributes:re({},F.inner),children:[Sh(re({tag:x.tag,attributes:re(re({},x.attributes),F.path)},B))]},P={tag:"g",attributes:re({},F.outer),children:[D]},I="mask-".concat(h||$l()),W="clip-".concat(h||$l()),U={tag:"mask",attributes:re(re({},Bf),{},{id:I,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[M,P]},Y={tag:"defs",children:[{tag:"clipPath",attributes:{id:W},children:$w(E)},U]};return o.push(Y,{tag:"rect",attributes:re({fill:"currentColor","clip-path":"url(#".concat(W,")"),mask:"url(#".concat(I,")")},Bf)}),{children:o,attributes:i}}}},Bw={provides(e){let r=!1;ri.matchMedia&&(r=ri.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const o=[],i={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};o.push({tag:"path",attributes:re(re({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const d=re(re({},a),{},{attributeName:"opacity"}),h={tag:"circle",attributes:re(re({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return r||h.children.push({tag:"animate",attributes:re(re({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:re(re({},d),{},{values:"1;0;1;1;0;1;"})}),o.push(h),o.push({tag:"path",attributes:re(re({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:r?[]:[{tag:"animate",attributes:re(re({},d),{},{values:"1;0;0;0;0;1;"})}]}),r||o.push({tag:"path",attributes:re(re({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:re(re({},d),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:o}}}},Uw={hooks(){return{parseNodeAttributes(e,r){const o=r.getAttribute("data-fa-symbol"),i=o===null?!1:o===""?!0:o;return e.symbol=i,e}}}},Hw=[_x,Tw,Rw,Pw,Aw,Lw,jw,Nw,zw,Bw,Uw];Zx(Hw,{mixoutsTo:vr});vr.noAuto;vr.config;vr.library;vr.dom;const Md=vr.parse;vr.findIconDefinition;vr.toHtml;const Ww=vr.icon;vr.layer;vr.text;vr.counter;function kh(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);r&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,i)}return o}function ti(e){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{};r%2?kh(Object(o),!0).forEach(function(i){us(e,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):kh(Object(o)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(o,i))})}return e}function lc(e){"@babel/helpers - typeof";return lc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},lc(e)}function us(e,r,o){return r in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}function Vw(e,r){if(e==null)return{};var o={},i=Object.keys(e),a,d;for(d=0;d<i.length;d++)a=i[d],!(r.indexOf(a)>=0)&&(o[a]=e[a]);return o}function Wg(e,r){if(e==null)return{};var o=Vw(e,r),i,a;if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(e);for(a=0;a<d.length;a++)i=d[a],!(r.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}function Dd(e){return Yw(e)||Gw(e)||Qw(e)||Xw()}function Yw(e){if(Array.isArray(e))return _d(e)}function Gw(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Qw(e,r){if(e){if(typeof e=="string")return _d(e,r);var o=Object.prototype.toString.call(e).slice(8,-1);if(o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set")return Array.from(e);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return _d(e,r)}}function _d(e,r){(r==null||r>e.length)&&(r=e.length);for(var o=0,i=new Array(r);o<r;o++)i[o]=e[o];return i}function Xw(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
692
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qw(e){var r,o=e.beat,i=e.fade,a=e.beatFade,d=e.bounce,h=e.shake,y=e.flash,m=e.spin,x=e.spinPulse,R=e.spinReverse,E=e.pulse,F=e.fixedWidth,M=e.inverse,B=e.border,D=e.listItem,P=e.flip,I=e.size,W=e.rotation,U=e.pull,Y=(r={"fa-beat":o,"fa-fade":i,"fa-beat-fade":a,"fa-bounce":d,"fa-shake":h,"fa-flash":y,"fa-spin":m,"fa-spin-reverse":R,"fa-spin-pulse":x,"fa-pulse":E,"fa-fw":F,"fa-inverse":M,"fa-border":B,"fa-li":D,"fa-flip":P===!0,"fa-flip-horizontal":P==="horizontal"||P==="both","fa-flip-vertical":P==="vertical"||P==="both"},us(r,"fa-".concat(I),typeof I<"u"&&I!==null),us(r,"fa-rotate-".concat(W),typeof W<"u"&&W!==null&&W!==0),us(r,"fa-pull-".concat(U),typeof U<"u"&&U!==null),us(r,"fa-swap-opacity",e.swapOpacity),r);return Object.keys(Y).map(function(_){return Y[_]?_:null}).filter(function(_){return _})}function Jw(e){return e=e-0,e===e}function Vg(e){return Jw(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(r,o){return o?o.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var Kw=["style"];function Zw(e){return e.charAt(0).toUpperCase()+e.slice(1)}function eS(e){return e.split(";").map(function(r){return r.trim()}).filter(function(r){return r}).reduce(function(r,o){var i=o.indexOf(":"),a=Vg(o.slice(0,i)),d=o.slice(i+1).trim();return a.startsWith("webkit")?r[Zw(a)]=d:r[a]=d,r},{})}function Yg(e,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof r=="string")return r;var i=(r.children||[]).map(function(m){return Yg(e,m)}),a=Object.keys(r.attributes||{}).reduce(function(m,x){var R=r.attributes[x];switch(x){case"class":m.attrs.className=R,delete r.attributes.class;break;case"style":m.attrs.style=eS(R);break;default:x.indexOf("aria-")===0||x.indexOf("data-")===0?m.attrs[x.toLowerCase()]=R:m.attrs[Vg(x)]=R}return m},{attrs:{}}),d=o.style,h=d===void 0?{}:d,y=Wg(o,Kw);return a.attrs.style=ti(ti({},a.attrs.style),h),e.apply(void 0,[r.tag,ti(ti({},a.attrs),y)].concat(Dd(i)))}var Gg=!1;try{Gg=process.env.NODE_ENV==="production"}catch{}function tS(){if(!Gg&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Eh(e){if(e&&lc(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Md.icon)return Md.icon(e);if(e===null)return null;if(e&&lc(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function Uf(e,r){return Array.isArray(r)&&r.length>0||!Array.isArray(r)&&r?us({},e,r):{}}var rS=["forwardedRef"];function ii(e){var r=e.forwardedRef,o=Wg(e,rS),i=o.icon,a=o.mask,d=o.symbol,h=o.className,y=o.title,m=o.titleId,x=o.maskId,R=Eh(i),E=Uf("classes",[].concat(Dd(qw(o)),Dd(h.split(" ")))),F=Uf("transform",typeof o.transform=="string"?Md.transform(o.transform):o.transform),M=Uf("mask",Eh(a)),B=Ww(R,ti(ti(ti(ti({},E),F),M),{},{symbol:d,title:y,titleId:m,maskId:x}));if(!B)return tS("Could not find icon",R),null;var D=B.abstract,P={ref:r};return Object.keys(o).forEach(function(I){ii.defaultProps.hasOwnProperty(I)||(P[I]=o[I])}),nS(D[0],P)}ii.displayName="FontAwesomeIcon";ii.propTypes={beat:Me.bool,border:Me.bool,beatFade:Me.bool,bounce:Me.bool,className:Me.string,fade:Me.bool,flash:Me.bool,mask:Me.oneOfType([Me.object,Me.array,Me.string]),maskId:Me.string,fixedWidth:Me.bool,inverse:Me.bool,flip:Me.oneOf([!0,!1,"horizontal","vertical","both"]),icon:Me.oneOfType([Me.object,Me.array,Me.string]),listItem:Me.bool,pull:Me.oneOf(["right","left"]),pulse:Me.bool,rotation:Me.oneOf([0,90,180,270]),shake:Me.bool,size:Me.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Me.bool,spinPulse:Me.bool,spinReverse:Me.bool,symbol:Me.oneOfType([Me.bool,Me.string]),title:Me.string,titleId:Me.string,transform:Me.oneOfType([Me.string,Me.object]),swapOpacity:Me.bool};ii.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var nS=Yg.bind(null,V.createElement);const oS=async e=>await(await fetch(`${Vl}/playbook-task-details`,{method:"POST",body:JSON.stringify(e)})).json(),iS=({taskId:e,playbookId:r,enabled:o})=>{const{queryClient:i}=Is(),a=async()=>oS({taskId:+e,templateId:r.toString()}),d=["taskDetails",+e,r],h=Hd({queryKey:d,queryFn:a,enabled:o},i),y=()=>{i.prefetchQuery({queryFn:a,queryKey:d})};return{taskDetails:h.data,prefetchQuery:y,...h}},aS=({buttons:e,onButtonClick:r,disabled:o})=>X.jsx("div",{className:"flex items-center justify-end",children:e.map(i=>X.jsx(jl,{size:"smallCollapse",className:"ml-2",disabled:o,onClick:()=>{r(i)},children:cy[i]},i))});function Ch(e,r){if(!e||!r)return!1;const o=r.getRootNode==null?void 0:r.getRootNode();if(e.contains(r))return!0;if(o&&md(o)){let i=r;for(;i;){if(e===i)return!0;i=i.parentNode||i.host}}return!1}function Rl(e){return"composedPath"in e?e.composedPath()[0]:e.target}function Hf(e,r){if(r==null)return!1;if("composedPath"in e)return e.composedPath().includes(r);const o=e;return o.target!=null&&r.contains(o.target)}function sS(e){return e.matches("html,body")}function Th(e){return(e==null?void 0:e.ownerDocument)||document}function Wf(e,r){let o=e.filter(a=>{var d;return a.parentId===r&&((d=a.context)==null?void 0:d.open)}),i=o;for(;i.length;)i=e.filter(a=>{var d;return(d=i)==null?void 0:d.some(h=>{var y;return a.parentId===h.id&&((y=a.context)==null?void 0:y.open)})}),o=o.concat(i);return o}function lS(e){return"nativeEvent"in e}var uS=typeof document<"u",cS=function(){},Ld=uS?V.useLayoutEffect:cS;const fS={...de},dS=fS.useInsertionEffect,pS=dS||(e=>e());function ss(e){const r=de.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return pS(()=>{r.current=e}),de.useCallback(function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return r.current==null?void 0:r.current(...i)},[])}const hS="data-floating-ui-focusable",Rh="active",Ph="selected",mS={...de};let Ah=!1,gS=0;const Ih=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+gS++;function vS(){const[e,r]=de.useState(()=>Ah?Ih():void 0);return Ld(()=>{e==null&&r(Ih())},[]),de.useEffect(()=>{Ah=!0},[]),e}const yS=mS.useId,bS=yS||vS;let jd;process.env.NODE_ENV!=="production"&&(jd=new Set);function xS(){for(var e,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];const a="Floating UI: "+o.join(" ");if(!((e=jd)!=null&&e.has(a))){var d;(d=jd)==null||d.add(a),console.error(a)}}function wS(){const e=new Map;return{emit(r,o){var i;(i=e.get(r))==null||i.forEach(a=>a(o))},on(r,o){e.has(r)||e.set(r,new Set),e.get(r).add(o)},off(r,o){var i;(i=e.get(r))==null||i.delete(o)}}}const SS=de.createContext(null),kS=de.createContext(null),ES=()=>{var e;return((e=de.useContext(SS))==null?void 0:e.id)||null},Qg=()=>de.useContext(kS);function CS(e){return"data-floating-ui-"+e}function TS(e){e.current!==-1&&(clearTimeout(e.current),e.current=-1)}const RS={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},PS={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Oh=e=>{var r,o;return{escapeKey:typeof e=="boolean"?e:(r=e==null?void 0:e.escapeKey)!=null?r:!1,outsidePress:typeof e=="boolean"?e:(o=e==null?void 0:e.outsidePress)!=null?o:!0}};function AS(e,r){r===void 0&&(r={});const{open:o,onOpenChange:i,elements:a,dataRef:d}=e,{enabled:h=!0,escapeKey:y=!0,outsidePress:m=!0,outsidePressEvent:x="pointerdown",referencePress:R=!1,referencePressEvent:E="pointerdown",ancestorScroll:F=!1,bubbles:M,capture:B}=r,D=Qg(),P=ss(typeof m=="function"?m:()=>!1),I=typeof m=="function"?P:m,W=de.useRef(!1),{escapeKey:U,outsidePress:Y}=Oh(M),{escapeKey:_,outsidePress:ie}=Oh(B),fe=de.useRef(!1),ne=de.useRef(-1),ae=ss(ke=>{var Ce;if(!o||!h||!y||ke.key!=="Escape"||fe.current)return;const je=(Ce=d.current.floatingContext)==null?void 0:Ce.nodeId,Z=D?Wf(D.nodesRef.current,je):[];if(!U&&(ke.stopPropagation(),Z.length>0)){let be=!0;if(Z.forEach(Q=>{var J;if((J=Q.context)!=null&&J.open&&!Q.context.dataRef.current.__escapeKeyBubbles){be=!1;return}}),!be)return}i(!1,lS(ke)?ke.nativeEvent:ke,"escape-key")}),Fe=ss(ke=>{var Ce;const je=()=>{var Z;ae(ke),(Z=Rl(ke))==null||Z.removeEventListener("keydown",je)};(Ce=Rl(ke))==null||Ce.addEventListener("keydown",je)}),Ne=ss(ke=>{var Ce;const je=d.current.insideReactTree;d.current.insideReactTree=!1;const Z=W.current;if(W.current=!1,x==="click"&&Z||je||typeof I=="function"&&!I(ke))return;const be=Rl(ke),Q="["+CS("inert")+"]",J=Th(a.floating).querySelectorAll(Q);let ce=pt(be)?be:null;for(;ce&&!Zn(ce);){const se=to(ce);if(Zn(se)||!pt(se))break;ce=se}if(J.length&&pt(be)&&!sS(be)&&!Ch(be,a.floating)&&Array.from(J).every(se=>!Ch(ce,se)))return;if(Zr(be)&&Qe){const se=Zn(be),ue=_r(be),Te=/auto|scroll/,Ee=se||Te.test(ue.overflowX),Re=se||Te.test(ue.overflowY),$e=Ee&&be.clientWidth>0&&be.scrollWidth>be.clientWidth,oe=Re&&be.clientHeight>0&&be.scrollHeight>be.clientHeight,Ue=ue.direction==="rtl",nt=oe&&(Ue?ke.offsetX<=be.offsetWidth-be.clientWidth:ke.offsetX>be.clientWidth),Lt=$e&&ke.offsetY>be.clientHeight;if(nt||Lt)return}const me=(Ce=d.current.floatingContext)==null?void 0:Ce.nodeId,pe=D&&Wf(D.nodesRef.current,me).some(se=>{var ue;return Hf(ke,(ue=se.context)==null?void 0:ue.elements.floating)});if(Hf(ke,a.floating)||Hf(ke,a.domReference)||pe)return;const ge=D?Wf(D.nodesRef.current,me):[];if(ge.length>0){let se=!0;if(ge.forEach(ue=>{var Te;if((Te=ue.context)!=null&&Te.open&&!ue.context.dataRef.current.__outsidePressBubbles){se=!1;return}}),!se)return}i(!1,ke,"outside-press")}),_e=ss(ke=>{var Ce;const je=()=>{var Z;Ne(ke),(Z=Rl(ke))==null||Z.removeEventListener(x,je)};(Ce=Rl(ke))==null||Ce.addEventListener(x,je)});de.useEffect(()=>{if(!o||!h)return;d.current.__escapeKeyBubbles=U,d.current.__outsidePressBubbles=Y;let ke=-1;function Ce(J){i(!1,J,"ancestor-scroll")}function je(){window.clearTimeout(ke),fe.current=!0}function Z(){ke=window.setTimeout(()=>{fe.current=!1},vc()?5:0)}const be=Th(a.floating);y&&(be.addEventListener("keydown",_?Fe:ae,_),be.addEventListener("compositionstart",je),be.addEventListener("compositionend",Z)),I&&be.addEventListener(x,ie?_e:Ne,ie);let Q=[];return F&&(pt(a.domReference)&&(Q=ds(a.domReference)),pt(a.floating)&&(Q=Q.concat(ds(a.floating))),!pt(a.reference)&&a.reference&&a.reference.contextElement&&(Q=Q.concat(ds(a.reference.contextElement)))),Q=Q.filter(J=>{var ce;return J!==((ce=be.defaultView)==null?void 0:ce.visualViewport)}),Q.forEach(J=>{J.addEventListener("scroll",Ce,{passive:!0})}),()=>{y&&(be.removeEventListener("keydown",_?Fe:ae,_),be.removeEventListener("compositionstart",je),be.removeEventListener("compositionend",Z)),I&&be.removeEventListener(x,ie?_e:Ne,ie),Q.forEach(J=>{J.removeEventListener("scroll",Ce)}),window.clearTimeout(ke)}},[d,a,y,I,x,o,i,F,h,U,Y,ae,_,Fe,Ne,ie,_e]),de.useEffect(()=>{d.current.insideReactTree=!1},[d,I,x]);const Ge=de.useMemo(()=>({onKeyDown:ae,...R&&{[RS[E]]:ke=>{i(!1,ke.nativeEvent,"reference-press")},...E!=="click"&&{onClick(ke){i(!1,ke.nativeEvent,"reference-press")}}}}),[ae,i,R,E]),Qe=de.useMemo(()=>({onKeyDown:ae,onMouseDown(){W.current=!0},onMouseUp(){W.current=!0},[PS[x]]:()=>{d.current.insideReactTree=!0},onBlurCapture(){D||(TS(ne),d.current.insideReactTree=!0,ne.current=window.setTimeout(()=>{d.current.insideReactTree=!1}))}}),[ae,x,d,D]);return de.useMemo(()=>h?{reference:Ge,floating:Qe}:{},[h,Ge,Qe])}function IS(e){const{open:r=!1,onOpenChange:o,elements:i}=e,a=bS(),d=de.useRef({}),[h]=de.useState(()=>wS()),y=ES()!=null;if(process.env.NODE_ENV!=="production"){const M=i.reference;M&&!pt(M)&&xS("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[m,x]=de.useState(i.reference),R=ss((M,B,D)=>{d.current.openEvent=M?B:void 0,h.emit("openchange",{open:M,event:B,reason:D,nested:y}),o==null||o(M,B,D)}),E=de.useMemo(()=>({setPositionReference:x}),[]),F=de.useMemo(()=>({reference:m||i.reference||null,floating:i.floating||null,domReference:i.reference}),[m,i.reference,i.floating]);return de.useMemo(()=>({dataRef:d,open:r,onOpenChange:R,elements:F,events:h,floatingId:a,refs:E}),[r,R,F,h,a,E])}function OS(e){e===void 0&&(e={});const{nodeId:r}=e,o=IS({...e,elements:{reference:null,floating:null,...e.elements}}),i=e.rootContext||o,a=i.elements,[d,h]=de.useState(null),[y,m]=de.useState(null),R=(a==null?void 0:a.domReference)||d,E=de.useRef(null),F=Qg();Ld(()=>{R&&(E.current=R)},[R]);const M=O0({...e,elements:{...a,...y&&{reference:y}}}),B=de.useCallback(U=>{const Y=pt(U)?{getBoundingClientRect:()=>U.getBoundingClientRect(),getClientRects:()=>U.getClientRects(),contextElement:U}:U;m(Y),M.refs.setReference(Y)},[M.refs]),D=de.useCallback(U=>{(pt(U)||U===null)&&(E.current=U,h(U)),(pt(M.refs.reference.current)||M.refs.reference.current===null||U!==null&&!pt(U))&&M.refs.setReference(U)},[M.refs]),P=de.useMemo(()=>({...M.refs,setReference:D,setPositionReference:B,domReference:E}),[M.refs,D,B]),I=de.useMemo(()=>({...M.elements,domReference:R}),[M.elements,R]),W=de.useMemo(()=>({...M,...i,refs:P,elements:I,nodeId:r}),[M,P,I,r,i]);return Ld(()=>{i.dataRef.current.floatingContext=W;const U=F==null?void 0:F.nodesRef.current.find(Y=>Y.id===r);U&&(U.context=W)}),de.useMemo(()=>({...M,context:W,refs:P,elements:I}),[M,P,I,W])}function Vf(e,r,o){const i=new Map,a=o==="item";let d=e;if(a&&e){const{[Rh]:h,[Ph]:y,...m}=e;d=m}return{...o==="floating"&&{tabIndex:-1,[hS]:""},...d,...r.map(h=>{const y=h?h[o]:null;return typeof y=="function"?e?y(e):null:y}).concat(e).reduce((h,y)=>(y&&Object.entries(y).forEach(m=>{let[x,R]=m;if(!(a&&[Rh,Ph].includes(x)))if(x.indexOf("on")===0){if(i.has(x)||i.set(x,[]),typeof R=="function"){var E;(E=i.get(x))==null||E.push(R),h[x]=function(){for(var F,M=arguments.length,B=new Array(M),D=0;D<M;D++)B[D]=arguments[D];return(F=i.get(x))==null?void 0:F.map(P=>P(...B)).find(P=>P!==void 0)}}}else h[x]=R}),h),{})}}function FS(e){e===void 0&&(e=[]);const r=e.map(y=>y==null?void 0:y.reference),o=e.map(y=>y==null?void 0:y.floating),i=e.map(y=>y==null?void 0:y.item),a=de.useCallback(y=>Vf(y,e,"reference"),r),d=de.useCallback(y=>Vf(y,e,"floating"),o),h=de.useCallback(y=>Vf(y,e,"item"),i);return de.useMemo(()=>({getReferenceProps:a,getFloatingProps:d,getItemProps:h}),[a,d,h])}const MS={white:"bg-white text-dark-300 border border-gray-300",primary:"bg-primary-600",secondary:"bg-secondary-500",success:"bg-success-600",info:"bg-info-500",warning:"bg-warning-500 text-gray-800",danger:"bg-danger-500",steel:"bg-steel-500",orange:"bg-orange-500",purple:"bg-purple-500",grayDark:"bg-gray-900",grayLight:"bg-gray-100 text-gray-800"},DS={white:"text-white border border-white",primary:"text-primary-600 border border-primary-600",secondary:"text-secondary-500 border border-secondary-500",success:"text-success-600 border border-success-600",info:"text-info-500 border border-info-500",warning:"text-warning-500 border border-warning-500",danger:"text-danger-500 border border-danger-500",steel:"text-steel-500 border border-steel-500",orange:"text-orange-500 border border-orange-500",purple:"text-purple-500 border border-purple-500",grayDark:"text-gray-700 border border-gray-700",grayLight:"text-gray-500 border border-gray-100"},_S={white:"text-dark-300",primary:"text-white",secondary:"text-white",success:"text-white",info:"text-black",warning:"text-gray-800",danger:"text-white",steel:"text-white",orange:"text-black",purple:"text-white",grayDark:"text-white",grayLight:"text-gray-800"},LS={normal:"rounded",pill:"rounded-pill"},jS={big:"h-[24px] leading-[24px] text-md px-1",medium:"h-[22px] leading-[22px] text-sm px-[2px]",small:"h-[18px] leading-[18px] text-xs px-[2px]"},Xg=({category:e="solid",color:r="primary",roundness:o="normal",size:i="medium",textClassName:a="uppercase",children:d,className:h,...y})=>{const m=V.useMemo(()=>_S[r]??"text-white",[r]),x=V.useMemo(()=>fs(m,e==="outline"?DS[r]:MS[r],LS[o],jS[i]),[m,e,r,i,o]);return X.jsx("div",{className:fs("ui-badge flex items-center font-bold",x,h),style:y==null?void 0:y.style,"data-testid":"badge","data-category":e,"data-color":r,...y,children:X.jsx("p",{className:fs("mx-1",a),children:d})})},NS={default:"text-secondary-600 border-secondary-600",primary:"text-primary-600 border-primary-600",success:"text-success-600 border-success-600"},$S=({transition:e,onClick:r})=>X.jsxs("div",{className:"py-1 px-3 space-x-2 flex items-center hover:bg-gray-100 cursor-pointer",onClick:o=>{o.stopPropagation(),r()},children:[X.jsx("span",{className:"text-base text-dark flex-1",children:e.action}),X.jsx(ii,{icon:H0,className:"text-gray-400 size-4"}),X.jsx(Xg,{category:"outline",color:e.color,children:e.to})]}),zS=({title:e,variant:r="default",transitions:o,onClick:i})=>{const[a,d]=V.useState(!1),{refs:h,floatingStyles:y,context:m}=OS({strategy:"fixed",placement:"bottom-end",open:a,onOpenChange:d}),x=AS(m,{outsidePress:!0}),{getReferenceProps:R,getFloatingProps:E}=FS([x]);return X.jsxs(X.Fragment,{children:[X.jsxs("div",{onClick:o!=null&&o.length?()=>d(F=>!F):void 0,ref:h.setReference,className:bt("px-1 uppercase border rounded-sm flex items-center space-x-1",o.length?"cursor-pointer":"pointer-events-none",NS[r]),...R(),children:[X.jsx("span",{className:"text-sm font-bold",children:e}),o.length>0?X.jsx(ii,{icon:cg,className:"size-4"}):X.jsx(X.Fragment,{})]}),a&&o.length&&X.jsx("div",{ref:h.setFloating,style:y,className:bt("border border-gray-200 py-1.5 rounded-sm min-w-[172px] bg-white shadow-dark/50"),...E(),children:o.map((F,M)=>X.jsx($S,{transition:F,onClick:()=>{i==null||i(F.id),d(!1)}},M))})]})},Fh=({description:e})=>{const r=V.useMemo(()=>{const o=/https:\/\/[^/]+\/api\/files/g,i=e==null?void 0:e.replaceAll(o,`${jp}`),a=i==null?void 0:i.replaceAll('src="/api/files',`src="${jp}`),y=new DOMParser().parseFromString(a,"text/html").querySelectorAll("img");return y==null||y.forEach(m=>{const x=m.getAttribute("src");x&&(new Image().src=x)}),a},[e]);return V.useEffect(()=>{},[r]),X.jsx("div",{className:"flex flex-col gap-4",children:X.jsx("div",{style:{display:"unset"},className:"lexical-view-mode",dangerouslySetInnerHTML:{__html:r}})})},BS={SEQUENTIAL:"Sequential"},US={[ut.IN_REVIEW]:"In Review"},HS={[ut.OPEN]:"bg-secondary-500",[ut.IN_PROGRESS]:"bg-primary-600",[ut.IN_REVIEW]:"bg-success-600",[ut.COMPLETED]:"bg-success-600"},WS=({playbookType:e,status:r,step:o,isSelected:i,onSelect:a})=>X.jsx("div",{className:Ll("flex flex-col items-center justify-center",i?"bg-[#FFE600]":HS[r],a&&"cursor-pointer"),onClick:d=>{d.stopPropagation(),a==null||a(d.shiftKey)},children:X.jsx("span",{className:Ll("text-orientation-mixed w-[27px] flex items-center whitespace-nowrap px-2 text-sm font-bold [writing-mode:vertical-lr]",i?"text-black":"text-white"),children:e===BS.SEQUENTIAL?`STEP ${o}`:(US[r]||r).toUpperCase()})}),VS={[ut.OPEN]:"secondary",[ut.IN_PROGRESS]:"primary",[ut.IN_REVIEW]:"success",[ut.COMPLETED]:"success"},YS=({status:e})=>X.jsx(Xg,{category:"outline",color:VS[e],children:e}),GS={[ut.OPEN]:"border-[#C1C5C8] bg-[#F0F1F2]",[ut.IN_PROGRESS]:"bg-[#E6F2FF] border-[#94C8FF]",[ut.IN_REVIEW]:"bg-[#EAF6EC] border-[#A5DAB1]",[ut.COMPLETED]:"bg-[#EAF6EC] border-[#A5DAB1]"},Yf={PHOTO:"photo",SCREENSHOT:"screenshot"},QS=({task:e,step:r,playbookType:o,onButtonClick:i,viewMode:a="card",canStart:d=!1,isExpanded:h=!1,toggleExpanded:y,playbookId:m,taskStyle:x,listStickyTopBase:R})=>{const[E,F]=V.useState(!1),{taskDetails:M,prefetchQuery:B}=iS({taskId:e.taskId,playbookId:m,enabled:h}),{buttons:D}=fy({taskStatus:e.workflowStatus,canStart:d}),P=V.useMemo(()=>e.imageRequired===0?null:e.imageRequired===1?Yf.SCREENSHOT:e.imageRequired===2?Yf.PHOTO:null,[e.imageRequired]),I=async W=>{try{F(!0),await i(W)}finally{F(!1)}};if(a==="list"){const W=V.useMemo(()=>e.workflowStatus===ut.COMPLETED?"success":e.workflowStatus===ut.IN_PROGRESS?"primary":"default",[e.workflowStatus]),U=V.useMemo(()=>{const Y=[];return D.forEach(_=>{_==="START"&&Y.push({id:"START",color:"primary",action:"Start",to:ut.IN_PROGRESS}),_==="COMPLETE"&&Y.push({id:"COMPLETE",color:"success",action:"Complete",to:ut.COMPLETED})}),Y},[D]);return X.jsxs("div",{className:bt("flex flex-col"),children:[X.jsxs("div",{className:bt("flex gap-3 p-2 border-gray-200",e.sequenceOrder>0&&"border-t",h&&"bg-white rounded-md border border-t-none shadow-sm sticky"),style:{top:h?R:0},children:[X.jsx("div",{className:"text-gray-200 text-base",children:e.sequenceOrder+1}),X.jsx("div",{onClick:()=>{y==null||y(!h)},onMouseOver:B,className:bt("flex-1 truncate cursor-pointer",h&&"font-medium",e.workflowStatus===ut.COMPLETED&&"text-secondary-400 line-through"),style:{color:e.workflowStatus===ut.IN_PROGRESS&&(x==null?void 0:x.titleColor)||"#1C232D"},children:e.taskInstanceName}),X.jsx(zS,{title:e.workflowStatus,variant:W,transitions:U,onClick:Y=>{i(Y)}})]}),(M==null?void 0:M.description)&&X.jsx("div",{className:bt(!h&&"hidden","border-gray-200 border p-2 mx-4 mb-4 border-t-none -mt-[1px] bg-gray-100 rounded-b-md"),children:X.jsx(Fh,{description:(M==null?void 0:M.description)||""})})]})}return X.jsxs("div",{className:Ll("flex items-stretch rounded-sm overflow-hidden border",GS[e.workflowStatus]),children:[X.jsx(WS,{playbookType:o,status:e.workflowStatus,step:r}),X.jsxs("div",{className:"flex w-full flex-col overflow-x-hidden flex-1 p-2",children:[o==="Sequential"&&X.jsx("div",{className:"-mb-3 self-end pr-2 pt-2",children:X.jsx(YS,{status:e.workflowStatus})}),X.jsxs("div",{className:"space-y-2 divide-y divide-black/10 flex flex-col flex-1",children:[X.jsx("div",{className:bt("text-lg font-medium flex-1 pb-1"),style:{color:e.workflowStatus==="Completed"?"#1C232D":(x==null?void 0:x.titleColor)||"#1C232D"},children:e.taskInstanceName}),P?X.jsxs("div",{className:"flex items-center gap-2 text-sm pb-2",children:[X.jsx(ii,{icon:U0,className:"size-4"}),X.jsxs("div",{children:[X.jsx("span",{className:"font-medium",children:P===Yf.PHOTO?"Photo":"Screenshot"})," ","required"]})]}):X.jsx(X.Fragment,{})]}),(M==null?void 0:M.description)&&X.jsx("div",{className:bt(!h&&"hidden"),children:X.jsx(Fh,{description:(M==null?void 0:M.description)||""})}),(D.length>0||e.hasDescription)&&X.jsxs("div",{className:"flex items-center justify-end gap-4 border-t border-black/10 pt-2",children:[X.jsx("div",{className:"flex-1",children:X.jsx(aS,{buttons:D,onButtonClick:I,disabled:E})}),y&&X.jsx(jl,{size:"smallCollapse",onMouseOver:B,category:"link",onClick:()=>{y()},title:h?"Hide task description":"Show task description",children:X.jsx(ii,{icon:cg,className:Ll("cursor-pointer text-[#0069D9]",h?"rotate-180":"")})})]})]})]})},qg=V.forwardRef(({title:e,className:r,playbookStyle:o,...i},a)=>{var d,h;return X.jsx("div",{ref:a,className:bt("border-b border-gray-200 flex items-center",r),style:{backgroundColor:((d=o==null?void 0:o.whiteLabel)==null?void 0:d.titleBackgroundColor)||"#f8f9fa"},...i,children:X.jsx("div",{className:"text-xl min-h-16 p-4",style:{color:(h=o==null?void 0:o.whiteLabel)==null?void 0:h.titleTextColor},children:e})})});qg.displayName="PlaybookHeader";const XS=({playbookInstanceId:e,playbookMode:r,playbookStyle:o})=>{const{playbook:i,actions:a}=uy(e);if(!i)return X.jsx("div",{});const d=async(h,y)=>{var m;if(h===Il.COMPLETE){const x=(m=i.tasks.find(R=>R.taskInstanceId===y))==null?void 0:m.sequenceOrder;if(x===void 0){console.error("Task not found in playbook");return}return a.completeTask(y,x)}if(h===Il.START)return a.startTask(y)};return X.jsx(Jg,{playbook:i,playbookMode:r,onTaskButtonClick:d,playbookStyle:o})},qS=({className:e,children:r,numberOfTasks:o,playbookMode:i})=>X.jsxs("div",{className:bt("w-full p-4",e),children:[o&&X.jsxs("div",{className:bt(i==="card"&&"mb-4"),children:[X.jsx("span",{className:"font-medium",children:"Tasks"})," (",o,")"]}),X.jsx("div",{className:bt(i==="card"&&"space-y-4"),children:r})]}),Jg=({playbook:e,playbookMode:r,onTaskButtonClick:o,playbookStyle:i})=>{var D,P,I,W,U;const{playbookInstanceName:a,tasks:d}=e,h=V.useRef(null),[y,m]=V.useState(0),[x,R]=V.useState(!0),E=()=>{R(!x)},{isTaskExpanded:F,toggleTaskExpanded:M}=hm(e.playbookInstanceId,{onTaskExpanded:()=>{var Y,_;console.log("Header height before update:",(Y=h.current)==null?void 0:Y.offsetHeight),m(((_=h.current)==null?void 0:_.offsetHeight)||0)}});V.useEffect(()=>(h.current&&new ResizeObserver(_=>{var ie;for(const fe of _)console.log("ResizeObserver entry:",fe),fe.contentRect&&m(((ie=h.current)==null?void 0:ie.offsetHeight)||0)}).observe(h.current),()=>{h.current&&new ResizeObserver(()=>{}).unobserve(h.current)}),[h]);const B=V.useMemo(()=>{const Y=d.filter(_=>_.workflowStatus===ut.COMPLETED).sort((_,ie)=>ie.sequenceOrder-_.sequenceOrder)[0];return console.log({lastCompletedTask:Y}),Y?Y.sequenceOrder+1:0},[d]);return uc.createPortal(X.jsxs($d.div,{children:[X.jsxs("div",{className:bt(!(i!=null&&i.overlay)&&"min-h-screen",(i==null?void 0:i.overlay)&&"fixed bottom-0 z-[99999999999999] flex","transition-all duration-300 ease-in-out"),...(i==null?void 0:i.overlay)&&{style:{width:"100%",maxWidth:x?((D=i.overlay.size)==null?void 0:D.width)||450:"2.25rem",height:((P=i.overlay.size)==null?void 0:P.height)||"calc(100vh - 4rem)",maxHeight:"calc(100vh - 4rem)",right:((I=i.overlay.offset)==null?void 0:I.right)!==void 0?i.overlay.offset.right:i.overlay.position==="right"?32:void 0,left:((W=i.overlay.offset)==null?void 0:W.left)!==void 0?i.overlay.offset.left:i.overlay.position==="left"?32:void 0}},children:[(i==null?void 0:i.overlay)&&X.jsx("div",{onClick:E,className:bt("size-9 relative p-1 top-3 z-[99999999999999] border-none rounded-l-sm cursor-pointer"),style:{backgroundColor:((U=i==null?void 0:i.whiteLabel)==null?void 0:U.primaryColor)||"#007BFF",boxShadow:"0px 3px 3px 0px #00000040"},children:X.jsx("img",{src:Jh,alt:"Confidence Logo",className:"w-full h-full object-contain"})}),X.jsxs("div",{className:bt("flex flex-col flex-1 bg-gray-50",(i==null?void 0:i.overlay)&&"border border-gray-200 shadow-2xl rounded-t-sm overflow-y-auto"),children:[X.jsx(qg,{title:a,className:bt("top-0 sticky z-2"),playbookStyle:i,ref:h}),X.jsx(qS,{playbookMode:r,numberOfTasks:e.numberofTasks,children:d.map((Y,_)=>{var ie;return X.jsx(QS,{task:Y,step:_+1,viewMode:r,playbookId:e.playbookId,canStart:Y.sequenceOrder===B,onButtonClick:fe=>o(fe,Y.taskInstanceId),playbookType:"Non-Sequential",taskStyle:{titleColor:(ie=i==null?void 0:i.whiteLabel)==null?void 0:ie.primaryColor},isExpanded:F(Y.taskInstanceId),toggleExpanded:()=>M(Y.taskInstanceId),listStickyTopBase:y||104},_)})})]})]}),X.jsx("style",{children:Vd})]}),document.body,"confidence-playbook-portal")},JS=({email:e,playbookId:r,playbookMode:o,playbookStyle:i})=>{const[a,d]=V.useState(null);return V.useEffect(()=>{(async()=>{const{playbookInstanceId:h,errorCode:y,details:m,message:x}=await mm({bank:"public-sdk",email:e,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles",playbookUid:r})||{};if(y)throw new Error(`Error initiating playbook: ${x} (Code: ${y}) - Details: ${m}`);d(h)})()},[]),a?X.jsx(aa,{playbookInstanceId:a,playbookMode:o,playbookStyle:i}):X.jsx("div",{children:"Loading..."})},KS=({playbookId:e,playbookMode:r="list",playbookStyle:o,btnLabel:i="Start Playbook",btnColor:a="primary"})=>{const[d,h]=V.useState(null);return X.jsxs(X.Fragment,{children:[X.jsxs($d.div,{children:[X.jsx(z0,{playbookId:e,disabled:!!d,onInitiated:h,btnLabel:i,btnColor:a}),X.jsx("style",{type:"text/css",children:Vd})]}),d&&X.jsx(aa,{playbookInstanceId:d,playbookMode:r,playbookStyle:o})]})},aa=({playbookInstanceId:e,playbookMode:r,playbookStyle:o})=>X.jsx(dm,{children:X.jsx(XS,{playbookInstanceId:e,playbookMode:r,playbookStyle:o})});aa.Context=dm;aa.View=Jg;aa.AutoInstantiated=JS;aa.WithInstantiateButton=KS;const ZS=({children:e})=>X.jsx("div",{className:"confidence-ui",style:{display:"unset"},children:e});exports.ConfidencePlaybook=aa;exports.ConfidenceUIWrapper=ZS;
|