@ukpc-lib/react 0.1.15 → 0.1.17

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.
@@ -1,177 +0,0 @@
1
- var Gk=require("./index.css");const ft=require("react/jsx-runtime"),mw=require("axios"),Fe=require("react"),Ng=require("react-dom"),Wg=require("react-router-dom"),np=require("@mui/material"),vw=require("moment");function yw(n){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const i in n)if(i!=="default"){const s=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(t,i,s.get?s:{enumerable:!0,get:()=>n[i]})}}return t.default=n,Object.freeze(t)}const kn=yw(Fe),bw=`.modal-overlay{z-index:1300;position:fixed;top:0;right:0;bottom:0;left:0;background:hsla(0,0%,0%,.254);--tw-backdrop-blur: blur(4px);justify-content:center;align-items:center;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.modal-title{font-size:1.25rem;line-height:1.75rem;color:#e01b00;font-weight:500}.modal-footer{display:flex;justify-content:space-between;width:80%}.modal-container{background:#ffffff;-webkit-backdrop-filter:blur(4.5px);backdrop-filter:blur(4.5px);display:flex;padding:32px 24px 40px;flex-direction:column;align-items:center;gap:24px;align-self:stretch;width:500px;height:204px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:.5rem}.modal-button{border-radius:3px;border:1px solid #ddd;background:#ddd;padding:8px 32px;font-size:14px}.confirm-btn{background:#e01b00!important}.text-white{color:#fff}.text-sm{font-size:.875rem;line-height:1.25rem}
2
- `;function Vg({isOpen:n,onClose:t,onConfirm:i}){if(!n)return null;function s(a){var h;((h=a.target)==null?void 0:h.id)==="modal-wrapper"&&t()}return ft.jsxs(ft.Fragment,{children:[ft.jsx("style",{type:"text/css",children:bw}),ft.jsx("div",{onClick:s,className:"modal-overlay",id:"modal-wrapper",children:ft.jsxs("div",{className:"modal-container",children:[ft.jsx("h3",{className:"modal-title",children:"Log out"}),ft.jsx("p",{className:"text-sm",children:"Are you sure want to log out?"}),ft.jsxs("div",{className:"modal-footer",children:[ft.jsx("button",{className:"modal-button",onClick:t,children:"Cancel"}),ft.jsx("button",{onClick:i,className:"text-white confirm-btn modal-button",children:"Confirm"})]})]})})]})}var yl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function df(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var au={};/**
3
- * @license React
4
- * react-dom-server-legacy.browser.production.min.js
5
- *
6
- * Copyright (c) Facebook, Inc. and its affiliates.
7
- *
8
- * This source code is licensed under the MIT license found in the
9
- * LICENSE file in the root directory of this source tree.
10
- */var rp;function xw(){if(rp)return au;rp=1;var n=Fe;function t(y){for(var D="https://reactjs.org/docs/error-decoder.html?invariant="+y,V=1;V<arguments.length;V++)D+="&args[]="+encodeURIComponent(arguments[V]);return"Minified React error #"+y+"; visit "+D+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=Object.prototype.hasOwnProperty,s=/^[: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={},h={};function v(y){return i.call(h,y)?!0:i.call(a,y)?!1:s.test(y)?h[y]=!0:(a[y]=!0,!1)}function T(y,D,V,q,we,de,Re){this.acceptsBooleans=D===2||D===3||D===4,this.attributeName=q,this.attributeNamespace=we,this.mustUseProperty=V,this.propertyName=y,this.type=D,this.sanitizeURL=de,this.removeEmptyString=Re}var x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(y){x[y]=new T(y,0,!1,y,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(y){var D=y[0];x[D]=new T(D,1,!1,y[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(y){x[y]=new T(y,2,!1,y.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(y){x[y]=new T(y,2,!1,y,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(y){x[y]=new T(y,3,!1,y.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(y){x[y]=new T(y,3,!0,y,null,!1,!1)}),["capture","download"].forEach(function(y){x[y]=new T(y,4,!1,y,null,!1,!1)}),["cols","rows","size","span"].forEach(function(y){x[y]=new T(y,6,!1,y,null,!1,!1)}),["rowSpan","start"].forEach(function(y){x[y]=new T(y,5,!1,y.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function L(y){return y[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(y){var D=y.replace(E,L);x[D]=new T(D,1,!1,y,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(y){var D=y.replace(E,L);x[D]=new T(D,1,!1,y,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(y){var D=y.replace(E,L);x[D]=new T(D,1,!1,y,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(y){x[y]=new T(y,1,!1,y.toLowerCase(),null,!1,!1)}),x.xlinkHref=new T("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(y){x[y]=new T(y,1,!1,y.toLowerCase(),null,!0,!0)});var _={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},H=["Webkit","ms","Moz","O"];Object.keys(_).forEach(function(y){H.forEach(function(D){D=D+y.charAt(0).toUpperCase()+y.substring(1),_[D]=_[y]})});var Y=/["'&<>]/;function Q(y){if(typeof y=="boolean"||typeof y=="number")return""+y;y=""+y;var D=Y.exec(y);if(D){var V="",q,we=0;for(q=D.index;q<y.length;q++){switch(y.charCodeAt(q)){case 34:D="&quot;";break;case 38:D="&amp;";break;case 39:D="&#x27;";break;case 60:D="&lt;";break;case 62:D="&gt;";break;default:continue}we!==q&&(V+=y.substring(we,q)),we=q+1,V+=D}y=we!==q?V+y.substring(we,q):V}return y}var ee=/([A-Z])/g,Z=/^ms-/,j=Array.isArray;function pe(y,D){return{insertionMode:y,selectedValue:D}}function oe(y,D,V){switch(D){case"select":return pe(1,V.value!=null?V.value:V.defaultValue);case"svg":return pe(2,null);case"math":return pe(3,null);case"foreignObject":return pe(1,null);case"table":return pe(4,null);case"thead":case"tbody":case"tfoot":return pe(5,null);case"colgroup":return pe(7,null);case"tr":return pe(6,null)}return 4<=y.insertionMode||y.insertionMode===0?pe(1,null):y}var xe=new Map;function se(y,D,V){if(typeof V!="object")throw Error(t(62));D=!0;for(var q in V)if(i.call(V,q)){var we=V[q];if(we!=null&&typeof we!="boolean"&&we!==""){if(q.indexOf("--")===0){var de=Q(q);we=Q((""+we).trim())}else{de=q;var Re=xe.get(de);Re!==void 0||(Re=Q(de.replace(ee,"-$1").toLowerCase().replace(Z,"-ms-")),xe.set(de,Re)),de=Re,we=typeof we=="number"?we===0||i.call(_,q)?""+we:we+"px":Q((""+we).trim())}D?(D=!1,y.push(' style="',de,":",we)):y.push(";",de,":",we)}}D||y.push('"')}function Ee(y,D,V,q){switch(V){case"style":se(y,D,q);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<V.length)||V[0]!=="o"&&V[0]!=="O"||V[1]!=="n"&&V[1]!=="N"){if(D=x.hasOwnProperty(V)?x[V]:null,D!==null){switch(typeof q){case"function":case"symbol":return;case"boolean":if(!D.acceptsBooleans)return}switch(V=D.attributeName,D.type){case 3:q&&y.push(" ",V,'=""');break;case 4:q===!0?y.push(" ",V,'=""'):q!==!1&&y.push(" ",V,'="',Q(q),'"');break;case 5:isNaN(q)||y.push(" ",V,'="',Q(q),'"');break;case 6:!isNaN(q)&&1<=q&&y.push(" ",V,'="',Q(q),'"');break;default:D.sanitizeURL&&(q=""+q),y.push(" ",V,'="',Q(q),'"')}}else if(v(V)){switch(typeof q){case"function":case"symbol":return;case"boolean":if(D=V.toLowerCase().slice(0,5),D!=="data-"&&D!=="aria-")return}y.push(" ",V,'="',Q(q),'"')}}}function m(y,D,V){if(D!=null){if(V!=null)throw Error(t(60));if(typeof D!="object"||!("__html"in D))throw Error(t(61));D=D.__html,D!=null&&y.push(""+D)}}function ke(y){var D="";return n.Children.forEach(y,function(V){V!=null&&(D+=V)}),D}function Ce(y,D,V,q){y.push(dt(V));var we=V=null,de;for(de in D)if(i.call(D,de)){var Re=D[de];if(Re!=null)switch(de){case"children":V=Re;break;case"dangerouslySetInnerHTML":we=Re;break;default:Ee(y,q,de,Re)}}return y.push(">"),m(y,we,V),typeof V=="string"?(y.push(Q(V)),null):V}var mt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,St=new Map;function dt(y){var D=St.get(y);if(D===void 0){if(!mt.test(y))throw Error(t(65,y));D="<"+y,St.set(y,D)}return D}function Ke(y,D,V,q,we){switch(D){case"select":y.push(dt("select"));var de=null,Re=null;for(at in V)if(i.call(V,at)){var He=V[at];if(He!=null)switch(at){case"children":de=He;break;case"dangerouslySetInnerHTML":Re=He;break;case"defaultValue":case"value":break;default:Ee(y,q,at,He)}}return y.push(">"),m(y,Re,de),de;case"option":Re=we.selectedValue,y.push(dt("option"));var ot=He=null,pt=null,at=null;for(de in V)if(i.call(V,de)){var jt=V[de];if(jt!=null)switch(de){case"children":He=jt;break;case"selected":pt=jt;break;case"dangerouslySetInnerHTML":at=jt;break;case"value":ot=jt;default:Ee(y,q,de,jt)}}if(Re!=null)if(V=ot!==null?""+ot:ke(He),j(Re)){for(q=0;q<Re.length;q++)if(""+Re[q]===V){y.push(' selected=""');break}}else""+Re===V&&y.push(' selected=""');else pt&&y.push(' selected=""');return y.push(">"),m(y,at,He),He;case"textarea":y.push(dt("textarea")),at=Re=de=null;for(He in V)if(i.call(V,He)&&(ot=V[He],ot!=null))switch(He){case"children":at=ot;break;case"value":de=ot;break;case"defaultValue":Re=ot;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:Ee(y,q,He,ot)}if(de===null&&Re!==null&&(de=Re),y.push(">"),at!=null){if(de!=null)throw Error(t(92));if(j(at)&&1<at.length)throw Error(t(93));de=""+at}return typeof de=="string"&&de[0]===`
11
- `&&y.push(`
12
- `),de!==null&&y.push(Q(""+de)),null;case"input":y.push(dt("input")),ot=at=He=de=null;for(Re in V)if(i.call(V,Re)&&(pt=V[Re],pt!=null))switch(Re){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":ot=pt;break;case"defaultValue":He=pt;break;case"checked":at=pt;break;case"value":de=pt;break;default:Ee(y,q,Re,pt)}return at!==null?Ee(y,q,"checked",at):ot!==null&&Ee(y,q,"checked",ot),de!==null?Ee(y,q,"value",de):He!==null&&Ee(y,q,"value",He),y.push("/>"),null;case"menuitem":y.push(dt("menuitem"));for(var Gn in V)if(i.call(V,Gn)&&(de=V[Gn],de!=null))switch(Gn){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:Ee(y,q,Gn,de)}return y.push(">"),null;case"title":y.push(dt("title")),de=null;for(jt in V)if(i.call(V,jt)&&(Re=V[jt],Re!=null))switch(jt){case"children":de=Re;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:Ee(y,q,jt,Re)}return y.push(">"),de;case"listing":case"pre":y.push(dt(D)),Re=de=null;for(ot in V)if(i.call(V,ot)&&(He=V[ot],He!=null))switch(ot){case"children":de=He;break;case"dangerouslySetInnerHTML":Re=He;break;default:Ee(y,q,ot,He)}if(y.push(">"),Re!=null){if(de!=null)throw Error(t(60));if(typeof Re!="object"||!("__html"in Re))throw Error(t(61));V=Re.__html,V!=null&&(typeof V=="string"&&0<V.length&&V[0]===`
13
- `?y.push(`
14
- `,V):y.push(""+V))}return typeof de=="string"&&de[0]===`
15
- `&&y.push(`
16
- `),de;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":y.push(dt(D));for(var Nn in V)if(i.call(V,Nn)&&(de=V[Nn],de!=null))switch(Nn){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,D));default:Ee(y,q,Nn,de)}return y.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 Ce(y,V,D,q);case"html":return we.insertionMode===0&&y.push("<!DOCTYPE html>"),Ce(y,V,D,q);default:if(D.indexOf("-")===-1&&typeof V.is!="string")return Ce(y,V,D,q);y.push(dt(D)),Re=de=null;for(pt in V)if(i.call(V,pt)&&(He=V[pt],He!=null))switch(pt){case"children":de=He;break;case"dangerouslySetInnerHTML":Re=He;break;case"style":se(y,q,He);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:v(pt)&&typeof He!="function"&&typeof He!="symbol"&&y.push(" ",pt,'="',Q(He),'"')}return y.push(">"),m(y,Re,de),de}}function bt(y,D,V){if(y.push('<!--$?--><template id="'),V===null)throw Error(t(395));return y.push(V),y.push('"></template>')}function Kt(y,D,V,q){switch(V.insertionMode){case 0:case 1:return y.push('<div hidden id="'),y.push(D.segmentPrefix),D=q.toString(16),y.push(D),y.push('">');case 2:return y.push('<svg aria-hidden="true" style="display:none" id="'),y.push(D.segmentPrefix),D=q.toString(16),y.push(D),y.push('">');case 3:return y.push('<math aria-hidden="true" style="display:none" id="'),y.push(D.segmentPrefix),D=q.toString(16),y.push(D),y.push('">');case 4:return y.push('<table hidden id="'),y.push(D.segmentPrefix),D=q.toString(16),y.push(D),y.push('">');case 5:return y.push('<table hidden><tbody id="'),y.push(D.segmentPrefix),D=q.toString(16),y.push(D),y.push('">');case 6:return y.push('<table hidden><tr id="'),y.push(D.segmentPrefix),D=q.toString(16),y.push(D),y.push('">');case 7:return y.push('<table hidden><colgroup id="'),y.push(D.segmentPrefix),D=q.toString(16),y.push(D),y.push('">');default:throw Error(t(397))}}function _t(y,D){switch(D.insertionMode){case 0:case 1:return y.push("</div>");case 2:return y.push("</svg>");case 3:return y.push("</math>");case 4:return y.push("</table>");case 5:return y.push("</tbody></table>");case 6:return y.push("</tr></table>");case 7:return y.push("</colgroup></table>");default:throw Error(t(397))}}var vt=/[<\u2028\u2029]/g;function it(y){return JSON.stringify(y).replace(vt,function(D){switch(D){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 At(y,D){return D=D===void 0?"":D,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:D+"P:",segmentPrefix:D+"S:",boundaryPrefix:D+"B:",idPrefix:D,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:y}}function Oe(y,D,V,q){return V.generateStaticMarkup?(y.push(Q(D)),!1):(D===""?y=q:(q&&y.push("<!-- -->"),y.push(Q(D)),y=!0),y)}var Pe=Object.assign,ze=Symbol.for("react.element"),qe=Symbol.for("react.portal"),Ze=Symbol.for("react.fragment"),Ge=Symbol.for("react.strict_mode"),Ye=Symbol.for("react.profiler"),lt=Symbol.for("react.provider"),yt=Symbol.for("react.context"),ht=Symbol.for("react.forward_ref"),ut=Symbol.for("react.suspense"),Ct=Symbol.for("react.suspense_list"),$e=Symbol.for("react.memo"),Wt=Symbol.for("react.lazy"),zt=Symbol.for("react.scope"),Un=Symbol.for("react.debug_trace_mode"),dr=Symbol.for("react.legacy_hidden"),zn=Symbol.for("react.default_value"),xn=Symbol.iterator;function Ei(y){if(y==null)return null;if(typeof y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y;switch(y){case Ze:return"Fragment";case qe:return"Portal";case Ye:return"Profiler";case Ge:return"StrictMode";case ut:return"Suspense";case Ct:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case yt:return(y.displayName||"Context")+".Consumer";case lt:return(y._context.displayName||"Context")+".Provider";case ht:var D=y.render;return y=y.displayName,y||(y=D.displayName||D.name||"",y=y!==""?"ForwardRef("+y+")":"ForwardRef"),y;case $e:return D=y.displayName||null,D!==null?D:Ei(y.type)||"Memo";case Wt:D=y._payload,y=y._init;try{return Ei(y(D))}catch{}}return null}var Sr={};function Jn(y,D){if(y=y.contextTypes,!y)return Sr;var V={},q;for(q in y)V[q]=D[q];return V}var an=null;function un(y,D){if(y!==D){y.context._currentValue2=y.parentValue,y=y.parent;var V=D.parent;if(y===null){if(V!==null)throw Error(t(401))}else{if(V===null)throw Error(t(401));un(y,V)}D.context._currentValue2=D.value}}function cn(y){y.context._currentValue2=y.parentValue,y=y.parent,y!==null&&cn(y)}function rt(y){var D=y.parent;D!==null&&rt(D),y.context._currentValue2=y.value}function _n(y,D){if(y.context._currentValue2=y.parentValue,y=y.parent,y===null)throw Error(t(402));y.depth===D.depth?un(y,D):_n(y,D)}function ti(y,D){var V=D.parent;if(V===null)throw Error(t(402));y.depth===V.depth?un(y,V):ti(y,V),D.context._currentValue2=D.value}function on(y){var D=an;D!==y&&(D===null?rt(y):y===null?cn(D):D.depth===y.depth?un(D,y):D.depth>y.depth?_n(D,y):ti(D,y),an=y)}var ki={isMounted:function(){return!1},enqueueSetState:function(y,D){y=y._reactInternals,y.queue!==null&&y.queue.push(D)},enqueueReplaceState:function(y,D){y=y._reactInternals,y.replace=!0,y.queue=[D]},enqueueForceUpdate:function(){}};function _i(y,D,V,q){var we=y.state!==void 0?y.state:null;y.updater=ki,y.props=V,y.state=we;var de={queue:[],replace:!1};y._reactInternals=de;var Re=D.contextType;if(y.context=typeof Re=="object"&&Re!==null?Re._currentValue2:q,Re=D.getDerivedStateFromProps,typeof Re=="function"&&(Re=Re(V,we),we=Re==null?we:Pe({},we,Re),y.state=we),typeof D.getDerivedStateFromProps!="function"&&typeof y.getSnapshotBeforeUpdate!="function"&&(typeof y.UNSAFE_componentWillMount=="function"||typeof y.componentWillMount=="function"))if(D=y.state,typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount(),D!==y.state&&ki.enqueueReplaceState(y,y.state,null),de.queue!==null&&0<de.queue.length)if(D=de.queue,Re=de.replace,de.queue=null,de.replace=!1,Re&&D.length===1)y.state=D[0];else{for(de=Re?D[0]:y.state,we=!0,Re=Re?1:0;Re<D.length;Re++){var He=D[Re];He=typeof He=="function"?He.call(y,de,V,q):He,He!=null&&(we?(we=!1,de=Pe({},de,He)):Pe(de,He))}y.state=de}else de.queue=null}var Ri={id:1,overflow:""};function Cr(y,D,V){var q=y.id;y=y.overflow;var we=32-Bn(q)-1;q&=~(1<<we),V+=1;var de=32-Bn(D)+we;if(30<de){var Re=we-we%5;return de=(q&(1<<Re)-1).toString(32),q>>=Re,we-=Re,{id:1<<32-Bn(D)+we|V<<we|q,overflow:de+y}}return{id:1<<de|V<<we|q,overflow:y}}var Bn=Math.clz32?Math.clz32:Wr,Tr=Math.log,hr=Math.LN2;function Wr(y){return y>>>=0,y===0?32:31-(Tr(y)/hr|0)|0}function Vr(y,D){return y===D&&(y!==0||1/y===1/D)||y!==y&&D!==D}var po=typeof Object.is=="function"?Object.is:Vr,$n=null,Hr=null,Kn=null,Gt=null,ni=!1,Ai=!1,Rn=0,fn=null,ri=0;function ii(){if($n===null)throw Error(t(321));return $n}function hn(){if(0<ri)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function Gi(){return Gt===null?Kn===null?(ni=!1,Kn=Gt=hn()):(ni=!0,Gt=Kn):Gt.next===null?(ni=!1,Gt=Gt.next=hn()):(ni=!0,Gt=Gt.next),Gt}function pr(){Hr=$n=null,Ai=!1,Kn=null,ri=0,Gt=fn=null}function oi(y,D){return typeof D=="function"?D(y):D}function sn(y,D,V){if($n=ii(),Gt=Gi(),ni){var q=Gt.queue;if(D=q.dispatch,fn!==null&&(V=fn.get(q),V!==void 0)){fn.delete(q),q=Gt.memoizedState;do q=y(q,V.action),V=V.next;while(V!==null);return Gt.memoizedState=q,[q,D]}return[Gt.memoizedState,D]}return y=y===oi?typeof D=="function"?D():D:V!==void 0?V(D):D,Gt.memoizedState=y,y=Gt.queue={last:null,dispatch:null},y=y.dispatch=ia.bind(null,$n,y),[Gt.memoizedState,y]}function hi(y,D){if($n=ii(),Gt=Gi(),D=D===void 0?null:D,Gt!==null){var V=Gt.memoizedState;if(V!==null&&D!==null){var q=V[1];e:if(q===null)q=!1;else{for(var we=0;we<q.length&&we<D.length;we++)if(!po(D[we],q[we])){q=!1;break e}q=!0}if(q)return V[0]}}return y=y(),Gt.memoizedState=[y,D],y}function ia(y,D,V){if(25<=ri)throw Error(t(301));if(y===$n)if(Ai=!0,y={action:V,next:null},fn===null&&(fn=new Map),V=fn.get(D),V===void 0)fn.set(D,y);else{for(D=V;D.next!==null;)D=D.next;D.next=y}}function oa(){throw Error(t(394))}function Ur(){}var Xi={readContext:function(y){return y._currentValue2},useContext:function(y){return ii(),y._currentValue2},useMemo:hi,useReducer:sn,useRef:function(y){$n=ii(),Gt=Gi();var D=Gt.memoizedState;return D===null?(y={current:y},Gt.memoizedState=y):D},useState:function(y){return sn(oi,y)},useInsertionEffect:Ur,useLayoutEffect:function(){},useCallback:function(y,D){return hi(function(){return y},D)},useImperativeHandle:Ur,useEffect:Ur,useDebugValue:Ur,useDeferredValue:function(y){return ii(),y},useTransition:function(){return ii(),[!1,oa]},useId:function(){var y=Hr.treeContext,D=y.overflow;y=y.id,y=(y&~(1<<32-Bn(y)-1)).toString(32)+D;var V=qi;if(V===null)throw Error(t(404));return D=Rn++,y=":"+V.idPrefix+"R"+y,0<D&&(y+="H"+D.toString(32)),y+":"},useMutableSource:function(y,D){return ii(),D(y._source)},useSyncExternalStore:function(y,D,V){if(V===void 0)throw Error(t(407));return V()}},qi=null,go=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function pi(y){return console.error(y),null}function ai(){}function gi(y,D,V,q,we,de,Re,He,ot){var pt=[],at=new Set;return D={destination:null,responseState:D,progressiveChunkSize:q===void 0?12800:q,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:at,pingedTasks:pt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:we===void 0?pi:we,onAllReady:de===void 0?ai:de,onShellReady:Re===void 0?ai:Re,onShellError:He===void 0?ai:He,onFatalError:ot===void 0?ai:ot},V=mi(D,0,null,V,!1,!1),V.parentFlushed=!0,y=Zi(D,y,null,V,at,Sr,null,Ri),pt.push(y),D}function Zi(y,D,V,q,we,de,Re,He){y.allPendingTasks++,V===null?y.pendingRootTasks++:V.pendingTasks++;var ot={node:D,ping:function(){var pt=y.pingedTasks;pt.push(ot),pt.length===1&&Yn(y)},blockedBoundary:V,blockedSegment:q,abortSet:we,legacyContext:de,context:Re,treeContext:He};return we.add(ot),ot}function mi(y,D,V,q,we,de){return{status:0,id:-1,index:D,parentFlushed:!1,chunks:[],children:[],formatContext:q,boundary:V,lastPushedText:we,textEmbedded:de}}function zr(y,D){if(y=y.onError(D),y!=null&&typeof y!="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 y+'" instead');return y}function gr(y,D){var V=y.onShellError;V(D),V=y.onFatalError,V(D),y.destination!==null?(y.status=2,y.destination.destroy(D)):(y.status=1,y.fatalError=D)}function Er(y,D,V,q,we){for($n={},Hr=D,Rn=0,y=V(q,we);Ai;)Ai=!1,Rn=0,ri+=1,Gt=null,y=V(q,we);return pr(),y}function $r(y,D,V,q){var we=V.render(),de=q.childContextTypes;if(de!=null){var Re=D.legacyContext;if(typeof V.getChildContext!="function")q=Re;else{V=V.getChildContext();for(var He in V)if(!(He in de))throw Error(t(108,Ei(q)||"Unknown",He));q=Pe({},Re,V)}D.legacyContext=q,dn(y,D,we),D.legacyContext=Re}else dn(y,D,we)}function kr(y,D){if(y&&y.defaultProps){D=Pe({},D),y=y.defaultProps;for(var V in y)D[V]===void 0&&(D[V]=y[V]);return D}return D}function jn(y,D,V,q,we){if(typeof V=="function")if(V.prototype&&V.prototype.isReactComponent){we=Jn(V,D.legacyContext);var de=V.contextType;de=new V(q,typeof de=="object"&&de!==null?de._currentValue2:we),_i(de,V,q,we),$r(y,D,de,V)}else{de=Jn(V,D.legacyContext),we=Er(y,D,V,q,de);var Re=Rn!==0;if(typeof we=="object"&&we!==null&&typeof we.render=="function"&&we.$$typeof===void 0)_i(we,V,q,de),$r(y,D,we,V);else if(Re){q=D.treeContext,D.treeContext=Cr(q,1,0);try{dn(y,D,we)}finally{D.treeContext=q}}else dn(y,D,we)}else if(typeof V=="string"){switch(we=D.blockedSegment,de=Ke(we.chunks,V,q,y.responseState,we.formatContext),we.lastPushedText=!1,Re=we.formatContext,we.formatContext=oe(Re,V,q),mr(y,D,de),we.formatContext=Re,V){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:we.chunks.push("</",V,">")}we.lastPushedText=!1}else{switch(V){case dr:case Un:case Ge:case Ye:case Ze:dn(y,D,q.children);return;case Ct:dn(y,D,q.children);return;case zt:throw Error(t(343));case ut:e:{V=D.blockedBoundary,we=D.blockedSegment,de=q.fallback,q=q.children,Re=new Set;var He={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Re,errorDigest:null},ot=mi(y,we.chunks.length,He,we.formatContext,!1,!1);we.children.push(ot),we.lastPushedText=!1;var pt=mi(y,0,null,we.formatContext,!1,!1);pt.parentFlushed=!0,D.blockedBoundary=He,D.blockedSegment=pt;try{if(mr(y,D,q),y.responseState.generateStaticMarkup||pt.lastPushedText&&pt.textEmbedded&&pt.chunks.push("<!-- -->"),pt.status=1,Rr(He,pt),He.pendingTasks===0)break e}catch(at){pt.status=4,He.forceClientRender=!0,He.errorDigest=zr(y,at)}finally{D.blockedBoundary=V,D.blockedSegment=we}D=Zi(y,de,V,ot,Re,D.legacyContext,D.context,D.treeContext),y.pingedTasks.push(D)}return}if(typeof V=="object"&&V!==null)switch(V.$$typeof){case ht:if(q=Er(y,D,V.render,q,we),Rn!==0){V=D.treeContext,D.treeContext=Cr(V,1,0);try{dn(y,D,q)}finally{D.treeContext=V}}else dn(y,D,q);return;case $e:V=V.type,q=kr(V,q),jn(y,D,V,q,we);return;case lt:if(we=q.children,V=V._context,q=q.value,de=V._currentValue2,V._currentValue2=q,Re=an,an=q={parent:Re,depth:Re===null?0:Re.depth+1,context:V,parentValue:de,value:q},D.context=q,dn(y,D,we),y=an,y===null)throw Error(t(403));q=y.parentValue,y.context._currentValue2=q===zn?y.context._defaultValue:q,y=an=y.parent,D.context=y;return;case yt:q=q.children,q=q(V._currentValue2),dn(y,D,q);return;case Wt:we=V._init,V=we(V._payload),q=kr(V,q),jn(y,D,V,q,void 0);return}throw Error(t(130,V==null?V:typeof V,""))}}function dn(y,D,V){if(D.node=V,typeof V=="object"&&V!==null){switch(V.$$typeof){case ze:jn(y,D,V.type,V.props,V.ref);return;case qe:throw Error(t(257));case Wt:var q=V._init;V=q(V._payload),dn(y,D,V);return}if(j(V)){_r(y,D,V);return}if(V===null||typeof V!="object"?q=null:(q=xn&&V[xn]||V["@@iterator"],q=typeof q=="function"?q:null),q&&(q=q.call(V))){if(V=q.next(),!V.done){var we=[];do we.push(V.value),V=q.next();while(!V.done);_r(y,D,we)}return}throw y=Object.prototype.toString.call(V),Error(t(31,y==="[object Object]"?"object with keys {"+Object.keys(V).join(", ")+"}":y))}typeof V=="string"?(q=D.blockedSegment,q.lastPushedText=Oe(D.blockedSegment.chunks,V,y.responseState,q.lastPushedText)):typeof V=="number"&&(q=D.blockedSegment,q.lastPushedText=Oe(D.blockedSegment.chunks,""+V,y.responseState,q.lastPushedText))}function _r(y,D,V){for(var q=V.length,we=0;we<q;we++){var de=D.treeContext;D.treeContext=Cr(de,q,we);try{mr(y,D,V[we])}finally{D.treeContext=de}}}function mr(y,D,V){var q=D.blockedSegment.formatContext,we=D.legacyContext,de=D.context;try{return dn(y,D,V)}catch(ot){if(pr(),typeof ot=="object"&&ot!==null&&typeof ot.then=="function"){V=ot;var Re=D.blockedSegment,He=mi(y,Re.chunks.length,null,Re.formatContext,Re.lastPushedText,!0);Re.children.push(He),Re.lastPushedText=!1,y=Zi(y,D.node,D.blockedBoundary,He,D.abortSet,D.legacyContext,D.context,D.treeContext).ping,V.then(y,y),D.blockedSegment.formatContext=q,D.legacyContext=we,D.context=de,on(de)}else throw D.blockedSegment.formatContext=q,D.legacyContext=we,D.context=de,on(de),ot}}function An(y){var D=y.blockedBoundary;y=y.blockedSegment,y.status=3,Yr(this,D,y)}function si(y,D,V){var q=y.blockedBoundary;y.blockedSegment.status=3,q===null?(D.allPendingTasks--,D.status!==2&&(D.status=2,D.destination!==null&&D.destination.push(null))):(q.pendingTasks--,q.forceClientRender||(q.forceClientRender=!0,y=V===void 0?Error(t(432)):V,q.errorDigest=D.onError(y),q.parentFlushed&&D.clientRenderedBoundaries.push(q)),q.fallbackAbortableTasks.forEach(function(we){return si(we,D,V)}),q.fallbackAbortableTasks.clear(),D.allPendingTasks--,D.allPendingTasks===0&&(q=D.onAllReady,q()))}function Rr(y,D){if(D.chunks.length===0&&D.children.length===1&&D.children[0].boundary===null){var V=D.children[0];V.id=D.id,V.parentFlushed=!0,V.status===1&&Rr(y,V)}else y.completedSegments.push(D)}function Yr(y,D,V){if(D===null){if(V.parentFlushed){if(y.completedRootSegment!==null)throw Error(t(389));y.completedRootSegment=V}y.pendingRootTasks--,y.pendingRootTasks===0&&(y.onShellError=ai,D=y.onShellReady,D())}else D.pendingTasks--,D.forceClientRender||(D.pendingTasks===0?(V.parentFlushed&&V.status===1&&Rr(D,V),D.parentFlushed&&y.completedBoundaries.push(D),D.fallbackAbortableTasks.forEach(An,y),D.fallbackAbortableTasks.clear()):V.parentFlushed&&V.status===1&&(Rr(D,V),D.completedSegments.length===1&&D.parentFlushed&&y.partialBoundaries.push(D)));y.allPendingTasks--,y.allPendingTasks===0&&(y=y.onAllReady,y())}function Yn(y){if(y.status!==2){var D=an,V=go.current;go.current=Xi;var q=qi;qi=y.responseState;try{var we=y.pingedTasks,de;for(de=0;de<we.length;de++){var Re=we[de],He=y,ot=Re.blockedSegment;if(ot.status===0){on(Re.context);try{dn(He,Re,Re.node),He.responseState.generateStaticMarkup||ot.lastPushedText&&ot.textEmbedded&&ot.chunks.push("<!-- -->"),Re.abortSet.delete(Re),ot.status=1,Yr(He,Re.blockedBoundary,ot)}catch(wn){if(pr(),typeof wn=="object"&&wn!==null&&typeof wn.then=="function"){var pt=Re.ping;wn.then(pt,pt)}else{Re.abortSet.delete(Re),ot.status=4;var at=Re.blockedBoundary,jt=wn,Gn=zr(He,jt);if(at===null?gr(He,jt):(at.pendingTasks--,at.forceClientRender||(at.forceClientRender=!0,at.errorDigest=Gn,at.parentFlushed&&He.clientRenderedBoundaries.push(at))),He.allPendingTasks--,He.allPendingTasks===0){var Nn=He.onAllReady;Nn()}}}finally{}}}we.splice(0,de),y.destination!==null&&ir(y,y.destination)}catch(wn){zr(y,wn),gr(y,wn)}finally{qi=q,go.current=V,V===Xi&&on(D)}}}function Gr(y,D,V){switch(V.parentFlushed=!0,V.status){case 0:var q=V.id=y.nextSegmentId++;return V.lastPushedText=!1,V.textEmbedded=!1,y=y.responseState,D.push('<template id="'),D.push(y.placeholderPrefix),y=q.toString(16),D.push(y),D.push('"></template>');case 1:V.status=2;var we=!0;q=V.chunks;var de=0;V=V.children;for(var Re=0;Re<V.length;Re++){for(we=V[Re];de<we.index;de++)D.push(q[de]);we=Xr(y,D,we)}for(;de<q.length-1;de++)D.push(q[de]);return de<q.length&&(we=D.push(q[de])),we;default:throw Error(t(390))}}function Xr(y,D,V){var q=V.boundary;if(q===null)return Gr(y,D,V);if(q.parentFlushed=!0,q.forceClientRender)return y.responseState.generateStaticMarkup||(q=q.errorDigest,D.push("<!--$!-->"),D.push("<template"),q&&(D.push(' data-dgst="'),q=Q(q),D.push(q),D.push('"')),D.push("></template>")),Gr(y,D,V),y=y.responseState.generateStaticMarkup?!0:D.push("<!--/$-->"),y;if(0<q.pendingTasks){q.rootSegmentID=y.nextSegmentId++,0<q.completedSegments.length&&y.partialBoundaries.push(q);var we=y.responseState,de=we.nextSuspenseID++;return we=we.boundaryPrefix+de.toString(16),q=q.id=we,bt(D,y.responseState,q),Gr(y,D,V),D.push("<!--/$-->")}if(q.byteSize>y.progressiveChunkSize)return q.rootSegmentID=y.nextSegmentId++,y.completedBoundaries.push(q),bt(D,y.responseState,q.id),Gr(y,D,V),D.push("<!--/$-->");if(y.responseState.generateStaticMarkup||D.push("<!--$-->"),V=q.completedSegments,V.length!==1)throw Error(t(391));return Xr(y,D,V[0]),y=y.responseState.generateStaticMarkup?!0:D.push("<!--/$-->"),y}function Pi(y,D,V){return Kt(D,y.responseState,V.formatContext,V.id),Xr(y,D,V),_t(D,V.formatContext)}function En(y,D,V){for(var q=V.completedSegments,we=0;we<q.length;we++)vr(y,D,V,q[we]);if(q.length=0,y=y.responseState,q=V.id,V=V.rootSegmentID,D.push(y.startInlineScript),y.sentCompleteBoundaryFunction?D.push('$RC("'):(y.sentCompleteBoundaryFunction=!0,D.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("')),q===null)throw Error(t(395));return V=V.toString(16),D.push(q),D.push('","'),D.push(y.segmentPrefix),D.push(V),D.push('")<\/script>')}function vr(y,D,V,q){if(q.status===2)return!0;var we=q.id;if(we===-1){if((q.id=V.rootSegmentID)===-1)throw Error(t(392));return Pi(y,D,q)}return Pi(y,D,q),y=y.responseState,D.push(y.startInlineScript),y.sentCompleteSegmentFunction?D.push('$RS("'):(y.sentCompleteSegmentFunction=!0,D.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("')),D.push(y.segmentPrefix),we=we.toString(16),D.push(we),D.push('","'),D.push(y.placeholderPrefix),D.push(we),D.push('")<\/script>')}function ir(y,D){try{var V=y.completedRootSegment;if(V!==null&&y.pendingRootTasks===0){Xr(y,D,V),y.completedRootSegment=null;var q=y.responseState.bootstrapChunks;for(V=0;V<q.length-1;V++)D.push(q[V]);V<q.length&&D.push(q[V])}var we=y.clientRenderedBoundaries,de;for(de=0;de<we.length;de++){var Re=we[de];q=D;var He=y.responseState,ot=Re.id,pt=Re.errorDigest,at=Re.errorMessage,jt=Re.errorComponentStack;if(q.push(He.startInlineScript),He.sentClientRenderFunction?q.push('$RX("'):(He.sentClientRenderFunction=!0,q.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("')),ot===null)throw Error(t(395));if(q.push(ot),q.push('"'),pt||at||jt){q.push(",");var Gn=it(pt||"");q.push(Gn)}if(at||jt){q.push(",");var Nn=it(at||"");q.push(Nn)}if(jt){q.push(",");var wn=it(jt);q.push(wn)}if(!q.push(")<\/script>")){y.destination=null,de++,we.splice(0,de);return}}we.splice(0,de);var Pr=y.completedBoundaries;for(de=0;de<Pr.length;de++)if(!En(y,D,Pr[de])){y.destination=null,de++,Pr.splice(0,de);return}Pr.splice(0,de);var Qn=y.partialBoundaries;for(de=0;de<Qn.length;de++){var Ii=Qn[de];e:{we=y,Re=D;var li=Ii.completedSegments;for(He=0;He<li.length;He++)if(!vr(we,Re,Ii,li[He])){He++,li.splice(0,He);var Mi=!1;break e}li.splice(0,He),Mi=!0}if(!Mi){y.destination=null,de++,Qn.splice(0,de);return}}Qn.splice(0,de);var Dr=y.completedBoundaries;for(de=0;de<Dr.length;de++)if(!En(y,D,Dr[de])){y.destination=null,de++,Dr.splice(0,de);return}Dr.splice(0,de)}finally{y.allPendingTasks===0&&y.pingedTasks.length===0&&y.clientRenderedBoundaries.length===0&&y.completedBoundaries.length===0&&D.push(null)}}function mo(y,D){try{var V=y.abortableTasks;V.forEach(function(q){return si(q,y,D)}),V.clear(),y.destination!==null&&ir(y,y.destination)}catch(q){zr(y,q),gr(y,q)}}function Di(){}function Ar(y,D,V,q){var we=!1,de=null,Re="",He={push:function(pt){return pt!==null&&(Re+=pt),!0},destroy:function(pt){we=!0,de=pt}},ot=!1;if(y=gi(y,At(V,D?D.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Di,void 0,function(){ot=!0},void 0,void 0),Yn(y),mo(y,q),y.status===1)y.status=2,He.destroy(y.fatalError);else if(y.status!==2&&y.destination===null){y.destination=He;try{ir(y,He)}catch(pt){zr(y,pt),gr(y,pt)}}if(we)throw de;if(!ot)throw Error(t(426));return Re}return au.renderToNodeStream=function(){throw Error(t(207))},au.renderToStaticMarkup=function(y,D){return Ar(y,D,!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')},au.renderToStaticNodeStream=function(){throw Error(t(208))},au.renderToString=function(y,D){return Ar(y,D,!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')},au.version="18.2.0",au}var Bc={};/**
17
- * @license React
18
- * react-dom-server.browser.production.min.js
19
- *
20
- * Copyright (c) Facebook, Inc. and its affiliates.
21
- *
22
- * This source code is licensed under the MIT license found in the
23
- * LICENSE file in the root directory of this source tree.
24
- */var ip;function ww(){if(ip)return Bc;ip=1;var n=Fe;function t(b){for(var A="https://reactjs.org/docs/error-decoder.html?invariant="+b,B=1;B<arguments.length;B++)A+="&args[]="+encodeURIComponent(arguments[B]);return"Minified React error #"+b+"; visit "+A+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=null,s=0;function a(b,A){if(A.length!==0)if(512<A.length)0<s&&(b.enqueue(new Uint8Array(i.buffer,0,s)),i=new Uint8Array(512),s=0),b.enqueue(A);else{var B=i.length-s;B<A.length&&(B===0?b.enqueue(i):(i.set(A.subarray(0,B),s),b.enqueue(i),A=A.subarray(B)),i=new Uint8Array(512),s=0),i.set(A,s),s+=A.length}}function h(b,A){return a(b,A),!0}function v(b){i&&0<s&&(b.enqueue(new Uint8Array(i.buffer,0,s)),i=null,s=0)}var T=new TextEncoder;function x(b){return T.encode(b)}function E(b){return T.encode(b)}function L(b,A){typeof b.error=="function"?b.error(A):b.close()}var _=Object.prototype.hasOwnProperty,H=/^[: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]*$/,Y={},Q={};function ee(b){return _.call(Q,b)?!0:_.call(Y,b)?!1:H.test(b)?Q[b]=!0:(Y[b]=!0,!1)}function Z(b,A,B,X,me,ve,Ie){this.acceptsBooleans=A===2||A===3||A===4,this.attributeName=X,this.attributeNamespace=me,this.mustUseProperty=B,this.propertyName=b,this.type=A,this.sanitizeURL=ve,this.removeEmptyString=Ie}var j={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(b){j[b]=new Z(b,0,!1,b,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(b){var A=b[0];j[A]=new Z(A,1,!1,b[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(b){j[b]=new Z(b,2,!1,b.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(b){j[b]=new Z(b,2,!1,b,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(b){j[b]=new Z(b,3,!1,b.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(b){j[b]=new Z(b,3,!0,b,null,!1,!1)}),["capture","download"].forEach(function(b){j[b]=new Z(b,4,!1,b,null,!1,!1)}),["cols","rows","size","span"].forEach(function(b){j[b]=new Z(b,6,!1,b,null,!1,!1)}),["rowSpan","start"].forEach(function(b){j[b]=new Z(b,5,!1,b.toLowerCase(),null,!1,!1)});var pe=/[\-:]([a-z])/g;function oe(b){return b[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(b){var A=b.replace(pe,oe);j[A]=new Z(A,1,!1,b,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(b){var A=b.replace(pe,oe);j[A]=new Z(A,1,!1,b,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(b){var A=b.replace(pe,oe);j[A]=new Z(A,1,!1,b,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(b){j[b]=new Z(b,1,!1,b.toLowerCase(),null,!1,!1)}),j.xlinkHref=new Z("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(b){j[b]=new Z(b,1,!1,b.toLowerCase(),null,!0,!0)});var xe={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},se=["Webkit","ms","Moz","O"];Object.keys(xe).forEach(function(b){se.forEach(function(A){A=A+b.charAt(0).toUpperCase()+b.substring(1),xe[A]=xe[b]})});var Ee=/["'&<>]/;function m(b){if(typeof b=="boolean"||typeof b=="number")return""+b;b=""+b;var A=Ee.exec(b);if(A){var B="",X,me=0;for(X=A.index;X<b.length;X++){switch(b.charCodeAt(X)){case 34:A="&quot;";break;case 38:A="&amp;";break;case 39:A="&#x27;";break;case 60:A="&lt;";break;case 62:A="&gt;";break;default:continue}me!==X&&(B+=b.substring(me,X)),me=X+1,B+=A}b=me!==X?B+b.substring(me,X):B}return b}var ke=/([A-Z])/g,Ce=/^ms-/,mt=Array.isArray,St=E("<script>"),dt=E("<\/script>"),Ke=E('<script src="'),bt=E('<script type="module" src="'),Kt=E('" async=""><\/script>'),_t=/(<\/|<)(s)(cript)/gi;function vt(b,A,B,X){return""+A+(B==="s"?"\\u0073":"\\u0053")+X}function it(b,A,B,X,me){b=b===void 0?"":b,A=A===void 0?St:E('<script nonce="'+m(A)+'">');var ve=[];if(B!==void 0&&ve.push(A,x((""+B).replace(_t,vt)),dt),X!==void 0)for(B=0;B<X.length;B++)ve.push(Ke,x(m(X[B])),Kt);if(me!==void 0)for(X=0;X<me.length;X++)ve.push(bt,x(m(me[X])),Kt);return{bootstrapChunks:ve,startInlineScript:A,placeholderPrefix:E(b+"P:"),segmentPrefix:E(b+"S:"),boundaryPrefix:b+"B:",idPrefix:b,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function At(b,A){return{insertionMode:b,selectedValue:A}}function Oe(b){return At(b==="http://www.w3.org/2000/svg"?2:b==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function Pe(b,A,B){switch(A){case"select":return At(1,B.value!=null?B.value:B.defaultValue);case"svg":return At(2,null);case"math":return At(3,null);case"foreignObject":return At(1,null);case"table":return At(4,null);case"thead":case"tbody":case"tfoot":return At(5,null);case"colgroup":return At(7,null);case"tr":return At(6,null)}return 4<=b.insertionMode||b.insertionMode===0?At(1,null):b}var ze=E("<!-- -->");function qe(b,A,B,X){return A===""?X:(X&&b.push(ze),b.push(x(m(A))),!0)}var Ze=new Map,Ge=E(' style="'),Ye=E(":"),lt=E(";");function yt(b,A,B){if(typeof B!="object")throw Error(t(62));A=!0;for(var X in B)if(_.call(B,X)){var me=B[X];if(me!=null&&typeof me!="boolean"&&me!==""){if(X.indexOf("--")===0){var ve=x(m(X));me=x(m((""+me).trim()))}else{ve=X;var Ie=Ze.get(ve);Ie!==void 0||(Ie=E(m(ve.replace(ke,"-$1").toLowerCase().replace(Ce,"-ms-"))),Ze.set(ve,Ie)),ve=Ie,me=typeof me=="number"?me===0||_.call(xe,X)?x(""+me):x(me+"px"):x(m((""+me).trim()))}A?(A=!1,b.push(Ge,ve,Ye,me)):b.push(lt,ve,Ye,me)}}A||b.push(Ct)}var ht=E(" "),ut=E('="'),Ct=E('"'),$e=E('=""');function Wt(b,A,B,X){switch(B){case"style":yt(b,A,X);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<B.length)||B[0]!=="o"&&B[0]!=="O"||B[1]!=="n"&&B[1]!=="N"){if(A=j.hasOwnProperty(B)?j[B]:null,A!==null){switch(typeof X){case"function":case"symbol":return;case"boolean":if(!A.acceptsBooleans)return}switch(B=x(A.attributeName),A.type){case 3:X&&b.push(ht,B,$e);break;case 4:X===!0?b.push(ht,B,$e):X!==!1&&b.push(ht,B,ut,x(m(X)),Ct);break;case 5:isNaN(X)||b.push(ht,B,ut,x(m(X)),Ct);break;case 6:!isNaN(X)&&1<=X&&b.push(ht,B,ut,x(m(X)),Ct);break;default:A.sanitizeURL&&(X=""+X),b.push(ht,B,ut,x(m(X)),Ct)}}else if(ee(B)){switch(typeof X){case"function":case"symbol":return;case"boolean":if(A=B.toLowerCase().slice(0,5),A!=="data-"&&A!=="aria-")return}b.push(ht,x(B),ut,x(m(X)),Ct)}}}var zt=E(">"),Un=E("/>");function dr(b,A,B){if(A!=null){if(B!=null)throw Error(t(60));if(typeof A!="object"||!("__html"in A))throw Error(t(61));A=A.__html,A!=null&&b.push(x(""+A))}}function zn(b){var A="";return n.Children.forEach(b,function(B){B!=null&&(A+=B)}),A}var xn=E(' selected=""');function Ei(b,A,B,X){b.push(un(B));var me=B=null,ve;for(ve in A)if(_.call(A,ve)){var Ie=A[ve];if(Ie!=null)switch(ve){case"children":B=Ie;break;case"dangerouslySetInnerHTML":me=Ie;break;default:Wt(b,X,ve,Ie)}}return b.push(zt),dr(b,me,B),typeof B=="string"?(b.push(x(m(B))),null):B}var Sr=E(`
25
- `),Jn=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,an=new Map;function un(b){var A=an.get(b);if(A===void 0){if(!Jn.test(b))throw Error(t(65,b));A=E("<"+b),an.set(b,A)}return A}var cn=E("<!DOCTYPE html>");function rt(b,A,B,X,me){switch(A){case"select":b.push(un("select"));var ve=null,Ie=null;for(Tt in B)if(_.call(B,Tt)){var Ve=B[Tt];if(Ve!=null)switch(Tt){case"children":ve=Ve;break;case"dangerouslySetInnerHTML":Ie=Ve;break;case"defaultValue":case"value":break;default:Wt(b,X,Tt,Ve)}}return b.push(zt),dr(b,Ie,ve),ve;case"option":Ie=me.selectedValue,b.push(un("option"));var st=Ve=null,Lt=null,Tt=null;for(ve in B)if(_.call(B,ve)){var gt=B[ve];if(gt!=null)switch(ve){case"children":Ve=gt;break;case"selected":Lt=gt;break;case"dangerouslySetInnerHTML":Tt=gt;break;case"value":st=gt;default:Wt(b,X,ve,gt)}}if(Ie!=null)if(B=st!==null?""+st:zn(Ve),mt(Ie)){for(X=0;X<Ie.length;X++)if(""+Ie[X]===B){b.push(xn);break}}else""+Ie===B&&b.push(xn);else Lt&&b.push(xn);return b.push(zt),dr(b,Tt,Ve),Ve;case"textarea":b.push(un("textarea")),Tt=Ie=ve=null;for(Ve in B)if(_.call(B,Ve)&&(st=B[Ve],st!=null))switch(Ve){case"children":Tt=st;break;case"value":ve=st;break;case"defaultValue":Ie=st;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:Wt(b,X,Ve,st)}if(ve===null&&Ie!==null&&(ve=Ie),b.push(zt),Tt!=null){if(ve!=null)throw Error(t(92));if(mt(Tt)&&1<Tt.length)throw Error(t(93));ve=""+Tt}return typeof ve=="string"&&ve[0]===`
26
- `&&b.push(Sr),ve!==null&&b.push(x(m(""+ve))),null;case"input":b.push(un("input")),st=Tt=Ve=ve=null;for(Ie in B)if(_.call(B,Ie)&&(Lt=B[Ie],Lt!=null))switch(Ie){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":st=Lt;break;case"defaultValue":Ve=Lt;break;case"checked":Tt=Lt;break;case"value":ve=Lt;break;default:Wt(b,X,Ie,Lt)}return Tt!==null?Wt(b,X,"checked",Tt):st!==null&&Wt(b,X,"checked",st),ve!==null?Wt(b,X,"value",ve):Ve!==null&&Wt(b,X,"value",Ve),b.push(Un),null;case"menuitem":b.push(un("menuitem"));for(var On in B)if(_.call(B,On)&&(ve=B[On],ve!=null))switch(On){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:Wt(b,X,On,ve)}return b.push(zt),null;case"title":b.push(un("title")),ve=null;for(gt in B)if(_.call(B,gt)&&(Ie=B[gt],Ie!=null))switch(gt){case"children":ve=Ie;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:Wt(b,X,gt,Ie)}return b.push(zt),ve;case"listing":case"pre":b.push(un(A)),Ie=ve=null;for(st in B)if(_.call(B,st)&&(Ve=B[st],Ve!=null))switch(st){case"children":ve=Ve;break;case"dangerouslySetInnerHTML":Ie=Ve;break;default:Wt(b,X,st,Ve)}if(b.push(zt),Ie!=null){if(ve!=null)throw Error(t(60));if(typeof Ie!="object"||!("__html"in Ie))throw Error(t(61));B=Ie.__html,B!=null&&(typeof B=="string"&&0<B.length&&B[0]===`
27
- `?b.push(Sr,x(B)):b.push(x(""+B)))}return typeof ve=="string"&&ve[0]===`
28
- `&&b.push(Sr),ve;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":b.push(un(A));for(var yn in B)if(_.call(B,yn)&&(ve=B[yn],ve!=null))switch(yn){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,A));default:Wt(b,X,yn,ve)}return b.push(Un),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 Ei(b,B,A,X);case"html":return me.insertionMode===0&&b.push(cn),Ei(b,B,A,X);default:if(A.indexOf("-")===-1&&typeof B.is!="string")return Ei(b,B,A,X);b.push(un(A)),Ie=ve=null;for(Lt in B)if(_.call(B,Lt)&&(Ve=B[Lt],Ve!=null))switch(Lt){case"children":ve=Ve;break;case"dangerouslySetInnerHTML":Ie=Ve;break;case"style":yt(b,X,Ve);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ee(Lt)&&typeof Ve!="function"&&typeof Ve!="symbol"&&b.push(ht,x(Lt),ut,x(m(Ve)),Ct)}return b.push(zt),dr(b,Ie,ve),ve}}var _n=E("</"),ti=E(">"),on=E('<template id="'),ki=E('"></template>'),_i=E("<!--$-->"),Ri=E('<!--$?--><template id="'),Cr=E('"></template>'),Bn=E("<!--$!-->"),Tr=E("<!--/$-->"),hr=E("<template"),Wr=E('"'),Vr=E(' data-dgst="');E(' data-msg="'),E(' data-stck="');var po=E("></template>");function $n(b,A,B){if(a(b,Ri),B===null)throw Error(t(395));return a(b,B),h(b,Cr)}var Hr=E('<div hidden id="'),Kn=E('">'),Gt=E("</div>"),ni=E('<svg aria-hidden="true" style="display:none" id="'),Ai=E('">'),Rn=E("</svg>"),fn=E('<math aria-hidden="true" style="display:none" id="'),ri=E('">'),ii=E("</math>"),hn=E('<table hidden id="'),Gi=E('">'),pr=E("</table>"),oi=E('<table hidden><tbody id="'),sn=E('">'),hi=E("</tbody></table>"),ia=E('<table hidden><tr id="'),oa=E('">'),Ur=E("</tr></table>"),Xi=E('<table hidden><colgroup id="'),qi=E('">'),go=E("</colgroup></table>");function pi(b,A,B,X){switch(B.insertionMode){case 0:case 1:return a(b,Hr),a(b,A.segmentPrefix),a(b,x(X.toString(16))),h(b,Kn);case 2:return a(b,ni),a(b,A.segmentPrefix),a(b,x(X.toString(16))),h(b,Ai);case 3:return a(b,fn),a(b,A.segmentPrefix),a(b,x(X.toString(16))),h(b,ri);case 4:return a(b,hn),a(b,A.segmentPrefix),a(b,x(X.toString(16))),h(b,Gi);case 5:return a(b,oi),a(b,A.segmentPrefix),a(b,x(X.toString(16))),h(b,sn);case 6:return a(b,ia),a(b,A.segmentPrefix),a(b,x(X.toString(16))),h(b,oa);case 7:return a(b,Xi),a(b,A.segmentPrefix),a(b,x(X.toString(16))),h(b,qi);default:throw Error(t(397))}}function ai(b,A){switch(A.insertionMode){case 0:case 1:return h(b,Gt);case 2:return h(b,Rn);case 3:return h(b,ii);case 4:return h(b,pr);case 5:return h(b,hi);case 6:return h(b,Ur);case 7:return h(b,go);default:throw Error(t(397))}}var gi=E('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("'),Zi=E('$RS("'),mi=E('","'),zr=E('")<\/script>'),gr=E('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("'),Er=E('$RC("'),$r=E('","'),kr=E('")<\/script>'),jn=E('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("'),dn=E('$RX("'),_r=E('"'),mr=E(")<\/script>"),An=E(","),si=/[<\u2028\u2029]/g;function Rr(b){return JSON.stringify(b).replace(si,function(A){switch(A){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 Yr=Object.assign,Yn=Symbol.for("react.element"),Gr=Symbol.for("react.portal"),Xr=Symbol.for("react.fragment"),Pi=Symbol.for("react.strict_mode"),En=Symbol.for("react.profiler"),vr=Symbol.for("react.provider"),ir=Symbol.for("react.context"),mo=Symbol.for("react.forward_ref"),Di=Symbol.for("react.suspense"),Ar=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),V=Symbol.for("react.scope"),q=Symbol.for("react.debug_trace_mode"),we=Symbol.for("react.legacy_hidden"),de=Symbol.for("react.default_value"),Re=Symbol.iterator;function He(b){if(b==null)return null;if(typeof b=="function")return b.displayName||b.name||null;if(typeof b=="string")return b;switch(b){case Xr:return"Fragment";case Gr:return"Portal";case En:return"Profiler";case Pi:return"StrictMode";case Di:return"Suspense";case Ar:return"SuspenseList"}if(typeof b=="object")switch(b.$$typeof){case ir:return(b.displayName||"Context")+".Consumer";case vr:return(b._context.displayName||"Context")+".Provider";case mo:var A=b.render;return b=b.displayName,b||(b=A.displayName||A.name||"",b=b!==""?"ForwardRef("+b+")":"ForwardRef"),b;case y:return A=b.displayName||null,A!==null?A:He(b.type)||"Memo";case D:A=b._payload,b=b._init;try{return He(b(A))}catch{}}return null}var ot={};function pt(b,A){if(b=b.contextTypes,!b)return ot;var B={},X;for(X in b)B[X]=A[X];return B}var at=null;function jt(b,A){if(b!==A){b.context._currentValue=b.parentValue,b=b.parent;var B=A.parent;if(b===null){if(B!==null)throw Error(t(401))}else{if(B===null)throw Error(t(401));jt(b,B)}A.context._currentValue=A.value}}function Gn(b){b.context._currentValue=b.parentValue,b=b.parent,b!==null&&Gn(b)}function Nn(b){var A=b.parent;A!==null&&Nn(A),b.context._currentValue=b.value}function wn(b,A){if(b.context._currentValue=b.parentValue,b=b.parent,b===null)throw Error(t(402));b.depth===A.depth?jt(b,A):wn(b,A)}function Pr(b,A){var B=A.parent;if(B===null)throw Error(t(402));b.depth===B.depth?jt(b,B):Pr(b,B),A.context._currentValue=A.value}function Qn(b){var A=at;A!==b&&(A===null?Nn(b):b===null?Gn(A):A.depth===b.depth?jt(A,b):A.depth>b.depth?wn(A,b):Pr(A,b),at=b)}var Ii={isMounted:function(){return!1},enqueueSetState:function(b,A){b=b._reactInternals,b.queue!==null&&b.queue.push(A)},enqueueReplaceState:function(b,A){b=b._reactInternals,b.replace=!0,b.queue=[A]},enqueueForceUpdate:function(){}};function li(b,A,B,X){var me=b.state!==void 0?b.state:null;b.updater=Ii,b.props=B,b.state=me;var ve={queue:[],replace:!1};b._reactInternals=ve;var Ie=A.contextType;if(b.context=typeof Ie=="object"&&Ie!==null?Ie._currentValue:X,Ie=A.getDerivedStateFromProps,typeof Ie=="function"&&(Ie=Ie(B,me),me=Ie==null?me:Yr({},me,Ie),b.state=me),typeof A.getDerivedStateFromProps!="function"&&typeof b.getSnapshotBeforeUpdate!="function"&&(typeof b.UNSAFE_componentWillMount=="function"||typeof b.componentWillMount=="function"))if(A=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),A!==b.state&&Ii.enqueueReplaceState(b,b.state,null),ve.queue!==null&&0<ve.queue.length)if(A=ve.queue,Ie=ve.replace,ve.queue=null,ve.replace=!1,Ie&&A.length===1)b.state=A[0];else{for(ve=Ie?A[0]:b.state,me=!0,Ie=Ie?1:0;Ie<A.length;Ie++){var Ve=A[Ie];Ve=typeof Ve=="function"?Ve.call(b,ve,B,X):Ve,Ve!=null&&(me?(me=!1,ve=Yr({},ve,Ve)):Yr(ve,Ve))}b.state=ve}else ve.queue=null}var Mi={id:1,overflow:""};function Dr(b,A,B){var X=b.id;b=b.overflow;var me=32-vo(X)-1;X&=~(1<<me),B+=1;var ve=32-vo(A)+me;if(30<ve){var Ie=me-me%5;return ve=(X&(1<<Ie)-1).toString(32),X>>=Ie,me-=Ie,{id:1<<32-vo(A)+me|B<<me|X,overflow:ve+b}}return{id:1<<ve|B<<me|X,overflow:b}}var vo=Math.clz32?Math.clz32:sa,es=Math.log,aa=Math.LN2;function sa(b){return b>>>=0,b===0?32:31-(es(b)/aa|0)|0}function la(b,A){return b===A&&(b!==0||1/b===1/A)||b!==b&&A!==A}var ua=typeof Object.is=="function"?Object.is:la,ui=null,yo=null,Bo=null,nn=null,Xt=!1,Bt=!1,vi=0,qr=null,bo=0;function ci(){if(ui===null)throw Error(t(321));return ui}function or(){if(0<bo)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function ca(){return nn===null?Bo===null?(Xt=!1,Bo=nn=or()):(Xt=!0,nn=Bo):nn.next===null?(Xt=!1,nn=nn.next=or()):(Xt=!0,nn=nn.next),nn}function jo(){yo=ui=null,Bt=!1,Bo=null,bo=0,nn=qr=null}function Ra(b,A){return typeof A=="function"?A(b):A}function pn(b,A,B){if(ui=ci(),nn=ca(),Xt){var X=nn.queue;if(A=X.dispatch,qr!==null&&(B=qr.get(X),B!==void 0)){qr.delete(X),X=nn.memoizedState;do X=b(X,B.action),B=B.next;while(B!==null);return nn.memoizedState=X,[X,A]}return[nn.memoizedState,A]}return b=b===Ra?typeof A=="function"?A():A:B!==void 0?B(A):A,nn.memoizedState=b,b=nn.queue={last:null,dispatch:null},b=b.dispatch=fi.bind(null,ui,b),[nn.memoizedState,b]}function xo(b,A){if(ui=ci(),nn=ca(),A=A===void 0?null:A,nn!==null){var B=nn.memoizedState;if(B!==null&&A!==null){var X=B[1];e:if(X===null)X=!1;else{for(var me=0;me<X.length&&me<A.length;me++)if(!ua(A[me],X[me])){X=!1;break e}X=!0}if(X)return B[0]}}return b=b(),nn.memoizedState=[b,A],b}function fi(b,A,B){if(25<=bo)throw Error(t(301));if(b===ui)if(Bt=!0,b={action:B,next:null},qr===null&&(qr=new Map),B=qr.get(A),B===void 0)qr.set(A,b);else{for(A=B;A.next!==null;)A=A.next;A.next=b}}function Aa(){throw Error(t(394))}function Ji(){}var Xn={readContext:function(b){return b._currentValue},useContext:function(b){return ci(),b._currentValue},useMemo:xo,useReducer:pn,useRef:function(b){ui=ci(),nn=ca();var A=nn.memoizedState;return A===null?(b={current:b},nn.memoizedState=b):A},useState:function(b){return pn(Ra,b)},useInsertionEffect:Ji,useLayoutEffect:function(){},useCallback:function(b,A){return xo(function(){return b},A)},useImperativeHandle:Ji,useEffect:Ji,useDebugValue:Ji,useDeferredValue:function(b){return ci(),b},useTransition:function(){return ci(),[!1,Aa]},useId:function(){var b=yo.treeContext,A=b.overflow;b=b.id,b=(b&~(1<<32-vo(b)-1)).toString(32)+A;var B=o;if(B===null)throw Error(t(404));return A=vi++,b=":"+B.idPrefix+"R"+b,0<A&&(b+="H"+A.toString(32)),b+":"},useMutableSource:function(b,A){return ci(),A(b._source)},useSyncExternalStore:function(b,A,B){if(B===void 0)throw Error(t(407));return B()}},o=null,c=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function g(b){return console.error(b),null}function w(){}function P(b,A,B,X,me,ve,Ie,Ve,st){var Lt=[],Tt=new Set;return A={destination:null,responseState:A,progressiveChunkSize:X===void 0?12800:X,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Tt,pingedTasks:Lt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:me===void 0?g:me,onAllReady:ve===void 0?w:ve,onShellReady:Ie===void 0?w:Ie,onShellError:Ve===void 0?w:Ve,onFatalError:st===void 0?w:st},B=F(A,0,null,B,!1,!1),B.parentFlushed=!0,b=I(A,b,null,B,Tt,ot,null,Mi),Lt.push(b),A}function I(b,A,B,X,me,ve,Ie,Ve){b.allPendingTasks++,B===null?b.pendingRootTasks++:B.pendingTasks++;var st={node:A,ping:function(){var Lt=b.pingedTasks;Lt.push(st),Lt.length===1&&Mr(b)},blockedBoundary:B,blockedSegment:X,abortSet:me,legacyContext:ve,context:Ie,treeContext:Ve};return me.add(st),st}function F(b,A,B,X,me,ve){return{status:0,id:-1,index:A,parentFlushed:!1,chunks:[],children:[],formatContext:X,boundary:B,lastPushedText:me,textEmbedded:ve}}function re(b,A){if(b=b.onError(A),b!=null&&typeof b!="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 b+'" instead');return b}function K(b,A){var B=b.onShellError;B(A),B=b.onFatalError,B(A),b.destination!==null?(b.status=2,L(b.destination,A)):(b.status=1,b.fatalError=A)}function he(b,A,B,X,me){for(ui={},yo=A,vi=0,b=B(X,me);Bt;)Bt=!1,vi=0,bo+=1,nn=null,b=B(X,me);return jo(),b}function Ae(b,A,B,X){var me=B.render(),ve=X.childContextTypes;if(ve!=null){var Ie=A.legacyContext;if(typeof B.getChildContext!="function")X=Ie;else{B=B.getChildContext();for(var Ve in B)if(!(Ve in ve))throw Error(t(108,He(X)||"Unknown",Ve));X=Yr({},Ie,B)}A.legacyContext=X,Be(b,A,me),A.legacyContext=Ie}else Be(b,A,me)}function De(b,A){if(b&&b.defaultProps){A=Yr({},A),b=b.defaultProps;for(var B in b)A[B]===void 0&&(A[B]=b[B]);return A}return A}function ye(b,A,B,X,me){if(typeof B=="function")if(B.prototype&&B.prototype.isReactComponent){me=pt(B,A.legacyContext);var ve=B.contextType;ve=new B(X,typeof ve=="object"&&ve!==null?ve._currentValue:me),li(ve,B,X,me),Ae(b,A,ve,B)}else{ve=pt(B,A.legacyContext),me=he(b,A,B,X,ve);var Ie=vi!==0;if(typeof me=="object"&&me!==null&&typeof me.render=="function"&&me.$$typeof===void 0)li(me,B,X,ve),Ae(b,A,me,B);else if(Ie){X=A.treeContext,A.treeContext=Dr(X,1,0);try{Be(b,A,me)}finally{A.treeContext=X}}else Be(b,A,me)}else if(typeof B=="string"){switch(me=A.blockedSegment,ve=rt(me.chunks,B,X,b.responseState,me.formatContext),me.lastPushedText=!1,Ie=me.formatContext,me.formatContext=Pe(Ie,B,X),Et(b,A,ve),me.formatContext=Ie,B){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:me.chunks.push(_n,x(B),ti)}me.lastPushedText=!1}else{switch(B){case we:case q:case Pi:case En:case Xr:Be(b,A,X.children);return;case Ar:Be(b,A,X.children);return;case V:throw Error(t(343));case Di:e:{B=A.blockedBoundary,me=A.blockedSegment,ve=X.fallback,X=X.children,Ie=new Set;var Ve={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Ie,errorDigest:null},st=F(b,me.chunks.length,Ve,me.formatContext,!1,!1);me.children.push(st),me.lastPushedText=!1;var Lt=F(b,0,null,me.formatContext,!1,!1);Lt.parentFlushed=!0,A.blockedBoundary=Ve,A.blockedSegment=Lt;try{if(Et(b,A,X),Lt.lastPushedText&&Lt.textEmbedded&&Lt.chunks.push(ze),Lt.status=1,ln(Ve,Lt),Ve.pendingTasks===0)break e}catch(Tt){Lt.status=4,Ve.forceClientRender=!0,Ve.errorDigest=re(b,Tt)}finally{A.blockedBoundary=B,A.blockedSegment=me}A=I(b,ve,B,st,Ie,A.legacyContext,A.context,A.treeContext),b.pingedTasks.push(A)}return}if(typeof B=="object"&&B!==null)switch(B.$$typeof){case mo:if(X=he(b,A,B.render,X,me),vi!==0){B=A.treeContext,A.treeContext=Dr(B,1,0);try{Be(b,A,X)}finally{A.treeContext=B}}else Be(b,A,X);return;case y:B=B.type,X=De(B,X),ye(b,A,B,X,me);return;case vr:if(me=X.children,B=B._context,X=X.value,ve=B._currentValue,B._currentValue=X,Ie=at,at=X={parent:Ie,depth:Ie===null?0:Ie.depth+1,context:B,parentValue:ve,value:X},A.context=X,Be(b,A,me),b=at,b===null)throw Error(t(403));X=b.parentValue,b.context._currentValue=X===de?b.context._defaultValue:X,b=at=b.parent,A.context=b;return;case ir:X=X.children,X=X(B._currentValue),Be(b,A,X);return;case D:me=B._init,B=me(B._payload),X=De(B,X),ye(b,A,B,X,void 0);return}throw Error(t(130,B==null?B:typeof B,""))}}function Be(b,A,B){if(A.node=B,typeof B=="object"&&B!==null){switch(B.$$typeof){case Yn:ye(b,A,B.type,B.props,B.ref);return;case Gr:throw Error(t(257));case D:var X=B._init;B=X(B._payload),Be(b,A,B);return}if(mt(B)){Je(b,A,B);return}if(B===null||typeof B!="object"?X=null:(X=Re&&B[Re]||B["@@iterator"],X=typeof X=="function"?X:null),X&&(X=X.call(B))){if(B=X.next(),!B.done){var me=[];do me.push(B.value),B=X.next();while(!B.done);Je(b,A,me)}return}throw b=Object.prototype.toString.call(B),Error(t(31,b==="[object Object]"?"object with keys {"+Object.keys(B).join(", ")+"}":b))}typeof B=="string"?(X=A.blockedSegment,X.lastPushedText=qe(A.blockedSegment.chunks,B,b.responseState,X.lastPushedText)):typeof B=="number"&&(X=A.blockedSegment,X.lastPushedText=qe(A.blockedSegment.chunks,""+B,b.responseState,X.lastPushedText))}function Je(b,A,B){for(var X=B.length,me=0;me<X;me++){var ve=A.treeContext;A.treeContext=Dr(ve,X,me);try{Et(b,A,B[me])}finally{A.treeContext=ve}}}function Et(b,A,B){var X=A.blockedSegment.formatContext,me=A.legacyContext,ve=A.context;try{return Be(b,A,B)}catch(st){if(jo(),typeof st=="object"&&st!==null&&typeof st.then=="function"){B=st;var Ie=A.blockedSegment,Ve=F(b,Ie.chunks.length,null,Ie.formatContext,Ie.lastPushedText,!0);Ie.children.push(Ve),Ie.lastPushedText=!1,b=I(b,A.node,A.blockedBoundary,Ve,A.abortSet,A.legacyContext,A.context,A.treeContext).ping,B.then(b,b),A.blockedSegment.formatContext=X,A.legacyContext=me,A.context=ve,Qn(ve)}else throw A.blockedSegment.formatContext=X,A.legacyContext=me,A.context=ve,Qn(ve),st}}function Pt(b){var A=b.blockedBoundary;b=b.blockedSegment,b.status=3,Ir(this,A,b)}function Pn(b,A,B){var X=b.blockedBoundary;b.blockedSegment.status=3,X===null?(A.allPendingTasks--,A.status!==2&&(A.status=2,A.destination!==null&&A.destination.close())):(X.pendingTasks--,X.forceClientRender||(X.forceClientRender=!0,b=B===void 0?Error(t(432)):B,X.errorDigest=A.onError(b),X.parentFlushed&&A.clientRenderedBoundaries.push(X)),X.fallbackAbortableTasks.forEach(function(me){return Pn(me,A,B)}),X.fallbackAbortableTasks.clear(),A.allPendingTasks--,A.allPendingTasks===0&&(X=A.onAllReady,X()))}function ln(b,A){if(A.chunks.length===0&&A.children.length===1&&A.children[0].boundary===null){var B=A.children[0];B.id=A.id,B.parentFlushed=!0,B.status===1&&ln(b,B)}else b.completedSegments.push(A)}function Ir(b,A,B){if(A===null){if(B.parentFlushed){if(b.completedRootSegment!==null)throw Error(t(389));b.completedRootSegment=B}b.pendingRootTasks--,b.pendingRootTasks===0&&(b.onShellError=w,A=b.onShellReady,A())}else A.pendingTasks--,A.forceClientRender||(A.pendingTasks===0?(B.parentFlushed&&B.status===1&&ln(A,B),A.parentFlushed&&b.completedBoundaries.push(A),A.fallbackAbortableTasks.forEach(Pt,b),A.fallbackAbortableTasks.clear()):B.parentFlushed&&B.status===1&&(ln(A,B),A.completedSegments.length===1&&A.parentFlushed&&b.partialBoundaries.push(A)));b.allPendingTasks--,b.allPendingTasks===0&&(b=b.onAllReady,b())}function Mr(b){if(b.status!==2){var A=at,B=c.current;c.current=Xn;var X=o;o=b.responseState;try{var me=b.pingedTasks,ve;for(ve=0;ve<me.length;ve++){var Ie=me[ve],Ve=b,st=Ie.blockedSegment;if(st.status===0){Qn(Ie.context);try{Be(Ve,Ie,Ie.node),st.lastPushedText&&st.textEmbedded&&st.chunks.push(ze),Ie.abortSet.delete(Ie),st.status=1,Ir(Ve,Ie.blockedBoundary,st)}catch(Wn){if(jo(),typeof Wn=="object"&&Wn!==null&&typeof Wn.then=="function"){var Lt=Ie.ping;Wn.then(Lt,Lt)}else{Ie.abortSet.delete(Ie),st.status=4;var Tt=Ie.blockedBoundary,gt=Wn,On=re(Ve,gt);if(Tt===null?K(Ve,gt):(Tt.pendingTasks--,Tt.forceClientRender||(Tt.forceClientRender=!0,Tt.errorDigest=On,Tt.parentFlushed&&Ve.clientRenderedBoundaries.push(Tt))),Ve.allPendingTasks--,Ve.allPendingTasks===0){var yn=Ve.onAllReady;yn()}}}finally{}}}me.splice(0,ve),b.destination!==null&&Qi(b,b.destination)}catch(Wn){re(b,Wn),K(b,Wn)}finally{o=X,c.current=B,B===Xn&&Qn(A)}}}function Nt(b,A,B){switch(B.parentFlushed=!0,B.status){case 0:var X=B.id=b.nextSegmentId++;return B.lastPushedText=!1,B.textEmbedded=!1,b=b.responseState,a(A,on),a(A,b.placeholderPrefix),b=x(X.toString(16)),a(A,b),h(A,ki);case 1:B.status=2;var me=!0;X=B.chunks;var ve=0;B=B.children;for(var Ie=0;Ie<B.length;Ie++){for(me=B[Ie];ve<me.index;ve++)a(A,X[ve]);me=Or(b,A,me)}for(;ve<X.length-1;ve++)a(A,X[ve]);return ve<X.length&&(me=h(A,X[ve])),me;default:throw Error(t(390))}}function Or(b,A,B){var X=B.boundary;if(X===null)return Nt(b,A,B);if(X.parentFlushed=!0,X.forceClientRender)X=X.errorDigest,h(A,Bn),a(A,hr),X&&(a(A,Vr),a(A,x(m(X))),a(A,Wr)),h(A,po),Nt(b,A,B);else if(0<X.pendingTasks){X.rootSegmentID=b.nextSegmentId++,0<X.completedSegments.length&&b.partialBoundaries.push(X);var me=b.responseState,ve=me.nextSuspenseID++;me=E(me.boundaryPrefix+ve.toString(16)),X=X.id=me,$n(A,b.responseState,X),Nt(b,A,B)}else if(X.byteSize>b.progressiveChunkSize)X.rootSegmentID=b.nextSegmentId++,b.completedBoundaries.push(X),$n(A,b.responseState,X.id),Nt(b,A,B);else{if(h(A,_i),B=X.completedSegments,B.length!==1)throw Error(t(391));Or(b,A,B[0])}return h(A,Tr)}function Vt(b,A,B){return pi(A,b.responseState,B.formatContext,B.id),Or(b,A,B),ai(A,B.formatContext)}function en(b,A,B){for(var X=B.completedSegments,me=0;me<X.length;me++)Ki(b,A,B,X[me]);if(X.length=0,b=b.responseState,X=B.id,B=B.rootSegmentID,a(A,b.startInlineScript),b.sentCompleteBoundaryFunction?a(A,Er):(b.sentCompleteBoundaryFunction=!0,a(A,gr)),X===null)throw Error(t(395));return B=x(B.toString(16)),a(A,X),a(A,$r),a(A,b.segmentPrefix),a(A,B),h(A,kr)}function Ki(b,A,B,X){if(X.status===2)return!0;var me=X.id;if(me===-1){if((X.id=B.rootSegmentID)===-1)throw Error(t(392));return Vt(b,A,X)}return Vt(b,A,X),b=b.responseState,a(A,b.startInlineScript),b.sentCompleteSegmentFunction?a(A,Zi):(b.sentCompleteSegmentFunction=!0,a(A,gi)),a(A,b.segmentPrefix),me=x(me.toString(16)),a(A,me),a(A,mi),a(A,b.placeholderPrefix),a(A,me),h(A,zr)}function Qi(b,A){i=new Uint8Array(512),s=0;try{var B=b.completedRootSegment;if(B!==null&&b.pendingRootTasks===0){Or(b,A,B),b.completedRootSegment=null;var X=b.responseState.bootstrapChunks;for(B=0;B<X.length-1;B++)a(A,X[B]);B<X.length&&h(A,X[B])}var me=b.clientRenderedBoundaries,ve;for(ve=0;ve<me.length;ve++){var Ie=me[ve];X=A;var Ve=b.responseState,st=Ie.id,Lt=Ie.errorDigest,Tt=Ie.errorMessage,gt=Ie.errorComponentStack;if(a(X,Ve.startInlineScript),Ve.sentClientRenderFunction?a(X,dn):(Ve.sentClientRenderFunction=!0,a(X,jn)),st===null)throw Error(t(395));a(X,st),a(X,_r),(Lt||Tt||gt)&&(a(X,An),a(X,x(Rr(Lt||"")))),(Tt||gt)&&(a(X,An),a(X,x(Rr(Tt||"")))),gt&&(a(X,An),a(X,x(Rr(gt)))),h(X,mr)}me.splice(0,ve);var On=b.completedBoundaries;for(ve=0;ve<On.length;ve++)en(b,A,On[ve]);On.splice(0,ve),v(A),i=new Uint8Array(512),s=0;var yn=b.partialBoundaries;for(ve=0;ve<yn.length;ve++){var Wn=yn[ve];e:{me=b,Ie=A;var No=Wn.completedSegments;for(Ve=0;Ve<No.length;Ve++)if(!Ki(me,Ie,Wn,No[Ve])){Ve++,No.splice(0,Ve);var Pa=!1;break e}No.splice(0,Ve),Pa=!0}if(!Pa){b.destination=null,ve++,yn.splice(0,ve);return}}yn.splice(0,ve);var Wo=b.completedBoundaries;for(ve=0;ve<Wo.length;ve++)en(b,A,Wo[ve]);Wo.splice(0,ve)}finally{v(A),b.allPendingTasks===0&&b.pingedTasks.length===0&&b.clientRenderedBoundaries.length===0&&b.completedBoundaries.length===0&&A.close()}}function yr(b,A){try{var B=b.abortableTasks;B.forEach(function(X){return Pn(X,b,A)}),B.clear(),b.destination!==null&&Qi(b,b.destination)}catch(X){re(b,X),K(b,X)}}return Bc.renderToReadableStream=function(b,A){return new Promise(function(B,X){var me,ve,Ie=new Promise(function(Tt,gt){ve=Tt,me=gt}),Ve=P(b,it(A?A.identifierPrefix:void 0,A?A.nonce:void 0,A?A.bootstrapScriptContent:void 0,A?A.bootstrapScripts:void 0,A?A.bootstrapModules:void 0),Oe(A?A.namespaceURI:void 0),A?A.progressiveChunkSize:void 0,A?A.onError:void 0,ve,function(){var Tt=new ReadableStream({type:"bytes",pull:function(gt){if(Ve.status===1)Ve.status=2,L(gt,Ve.fatalError);else if(Ve.status!==2&&Ve.destination===null){Ve.destination=gt;try{Qi(Ve,gt)}catch(On){re(Ve,On),K(Ve,On)}}},cancel:function(){yr(Ve)}},{highWaterMark:0});Tt.allReady=Ie,B(Tt)},function(Tt){Ie.catch(function(){}),X(Tt)},me);if(A&&A.signal){var st=A.signal,Lt=function(){yr(Ve,st.reason),st.removeEventListener("abort",Lt)};st.addEventListener("abort",Lt)}Mr(Ve)})},Bc.version="18.2.0",Bc}var su={};/**
29
- * @license React
30
- * react-dom-server-legacy.browser.development.js
31
- *
32
- * Copyright (c) Facebook, Inc. and its affiliates.
33
- *
34
- * This source code is licensed under the MIT license found in the
35
- * LICENSE file in the root directory of this source tree.
36
- */var op;function Sw(){return op||(op=1,process.env.NODE_ENV!=="production"&&function(){var n=Fe,t="18.2.0",i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function s(l){{for(var d=arguments.length,S=new Array(d>1?d-1:0),R=1;R<d;R++)S[R-1]=arguments[R];h("warn",l,S)}}function a(l){{for(var d=arguments.length,S=new Array(d>1?d-1:0),R=1;R<d;R++)S[R-1]=arguments[R];h("error",l,S)}}function h(l,d,S){{var R=i.ReactDebugCurrentFrame,N=R.getStackAddendum();N!==""&&(d+="%s",S=S.concat([N]));var J=S.map(function(ie){return String(ie)});J.unshift("Warning: "+d),Function.prototype.apply.call(console[l],console,J)}}function v(l){l()}function T(l){}function x(l,d){E(l,d)}function E(l,d){return l.push(d)}function L(l){}function _(l){l.push(null)}function H(l){return l}function Y(l){return l}function Q(l,d){l.destroy(d)}function ee(l){{var d=typeof Symbol=="function"&&Symbol.toStringTag,S=d&&l[Symbol.toStringTag]||l.constructor.name||"Object";return S}}function Z(l){try{return j(l),!1}catch{return!0}}function j(l){return""+l}function pe(l,d){if(Z(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.",d,ee(l)),j(l)}function oe(l,d){if(Z(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.",d,ee(l)),j(l)}function xe(l){if(Z(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.",ee(l)),j(l)}var se=Object.prototype.hasOwnProperty,Ee=0,m=1,ke=2,Ce=3,mt=4,St=5,dt=6,Ke=":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",bt=Ke+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Kt=new RegExp("^["+Ke+"]["+bt+"]*$"),_t={},vt={};function it(l){return se.call(vt,l)?!0:se.call(_t,l)?!1:Kt.test(l)?(vt[l]=!0,!0):(_t[l]=!0,a("Invalid attribute name: `%s`",l),!1)}function At(l,d,S,R){if(S!==null&&S.type===Ee)return!1;switch(typeof d){case"function":case"symbol":return!0;case"boolean":{if(R)return!1;if(S!==null)return!S.acceptsBooleans;var N=l.toLowerCase().slice(0,5);return N!=="data-"&&N!=="aria-"}default:return!1}}function Oe(l){return ze.hasOwnProperty(l)?ze[l]:null}function Pe(l,d,S,R,N,J,ie){this.acceptsBooleans=d===ke||d===Ce||d===mt,this.attributeName=R,this.attributeNamespace=N,this.mustUseProperty=S,this.propertyName=l,this.type=d,this.sanitizeURL=J,this.removeEmptyString=ie}var ze={},qe=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];qe.forEach(function(l){ze[l]=new Pe(l,Ee,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var d=l[0],S=l[1];ze[d]=new Pe(d,m,!1,S,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){ze[l]=new Pe(l,ke,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){ze[l]=new Pe(l,ke,!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){ze[l]=new Pe(l,Ce,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){ze[l]=new Pe(l,Ce,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){ze[l]=new Pe(l,mt,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){ze[l]=new Pe(l,dt,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){ze[l]=new Pe(l,St,!1,l.toLowerCase(),null,!1,!1)});var Ze=/[\-\:]([a-z])/g,Ge=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 d=l.replace(Ze,Ge);ze[d]=new Pe(d,m,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var d=l.replace(Ze,Ge);ze[d]=new Pe(d,m,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var d=l.replace(Ze,Ge);ze[d]=new Pe(d,m,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){ze[l]=new Pe(l,m,!1,l.toLowerCase(),null,!1,!1)});var Ye="xlinkHref";ze[Ye]=new Pe("xlinkHref",m,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){ze[l]=new Pe(l,m,!1,l.toLowerCase(),null,!0,!0)});var lt={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 yt(l,d){return l+d.charAt(0).toUpperCase()+d.substring(1)}var ht=["Webkit","ms","Moz","O"];Object.keys(lt).forEach(function(l){ht.forEach(function(d){lt[yt(d,l)]=lt[l]})});var ut={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Ct(l,d){ut[d.type]||d.onChange||d.onInput||d.readOnly||d.disabled||d.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`."),d.onChange||d.readOnly||d.disabled||d.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 $e(l,d){if(l.indexOf("-")===-1)return typeof d.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 Wt={"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={},Un=new RegExp("^(aria)-["+bt+"]*$"),dr=new RegExp("^(aria)[A-Z]["+bt+"]*$");function zn(l,d){{if(se.call(zt,d)&&zt[d])return!0;if(dr.test(d)){var S="aria-"+d.slice(4).toLowerCase(),R=Wt.hasOwnProperty(S)?S:null;if(R==null)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",d),zt[d]=!0,!0;if(d!==R)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",d,R),zt[d]=!0,!0}if(Un.test(d)){var N=d.toLowerCase(),J=Wt.hasOwnProperty(N)?N:null;if(J==null)return zt[d]=!0,!1;if(d!==J)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",d,J),zt[d]=!0,!0}}return!0}function xn(l,d){{var S=[];for(var R in d){var N=zn(l,R);N||S.push(R)}var J=S.map(function(ie){return"`"+ie+"`"}).join(", ");S.length===1?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",J,l):S.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",J,l)}}function Ei(l,d){$e(l,d)||xn(l,d)}var Sr=!1;function Jn(l,d){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;d!=null&&d.value===null&&!Sr&&(Sr=!0,l==="select"&&d.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 an={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"},un=function(){};{var cn={},rt=/^on./,_n=/^on[^A-Z]/,ti=new RegExp("^(aria)-["+bt+"]*$"),on=new RegExp("^(aria)[A-Z]["+bt+"]*$");un=function(l,d,S,R){if(se.call(cn,d)&&cn[d])return!0;var N=d.toLowerCase();if(N==="onfocusin"||N==="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."),cn[d]=!0,!0;if(R!=null){var J=R.registrationNameDependencies,ie=R.possibleRegistrationNames;if(J.hasOwnProperty(d))return!0;var Te=ie.hasOwnProperty(N)?ie[N]:null;if(Te!=null)return a("Invalid event handler property `%s`. Did you mean `%s`?",d,Te),cn[d]=!0,!0;if(rt.test(d))return a("Unknown event handler property `%s`. It will be ignored.",d),cn[d]=!0,!0}else if(rt.test(d))return _n.test(d)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",d),cn[d]=!0,!0;if(ti.test(d)||on.test(d))return!0;if(N==="innerhtml")return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),cn[d]=!0,!0;if(N==="aria")return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),cn[d]=!0,!0;if(N==="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),cn[d]=!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.",d),cn[d]=!0,!0;var We=Oe(d),tt=We!==null&&We.type===Ee;if(an.hasOwnProperty(N)){var ct=an[N];if(ct!==d)return a("Invalid DOM property `%s`. Did you mean `%s`?",d,ct),cn[d]=!0,!0}else if(!tt&&d!==N)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.",d,N),cn[d]=!0,!0;return typeof S=="boolean"&&At(d,S,We,!1)?(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,d,d,S,d):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,d,d,S,d,d,d),cn[d]=!0,!0):tt?!0:At(d,S,We,!1)?(cn[d]=!0,!1):((S==="false"||S==="true")&&We!==null&&We.type===Ce&&(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",S,d,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".',d,S),cn[d]=!0),!0)}}var ki=function(l,d,S){{var R=[];for(var N in d){var J=un(l,N,d[N],S);J||R.push(N)}var ie=R.map(function(Te){return"`"+Te+"`"}).join(", ");R.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 ",ie,l):R.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 ",ie,l)}};function _i(l,d,S){$e(l,d)||ki(l,d,S)}var Ri=function(){};{var Cr=/^(?:webkit|moz|o)[A-Z]/,Bn=/^-ms-/,Tr=/-(.)/g,hr=/;\s*$/,Wr={},Vr={},po=!1,$n=!1,Hr=function(l){return l.replace(Tr,function(d,S){return S.toUpperCase()})},Kn=function(l){Wr.hasOwnProperty(l)&&Wr[l]||(Wr[l]=!0,a("Unsupported style property %s. Did you mean %s?",l,Hr(l.replace(Bn,"ms-"))))},Gt=function(l){Wr.hasOwnProperty(l)&&Wr[l]||(Wr[l]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},ni=function(l,d){Vr.hasOwnProperty(d)&&Vr[d]||(Vr[d]=!0,a(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,d.replace(hr,"")))},Ai=function(l,d){po||(po=!0,a("`NaN` is an invalid value for the `%s` css style property.",l))},Rn=function(l,d){$n||($n=!0,a("`Infinity` is an invalid value for the `%s` css style property.",l))};Ri=function(l,d){l.indexOf("-")>-1?Kn(l):Cr.test(l)?Gt(l):hr.test(d)&&ni(l,d),typeof d=="number"&&(isNaN(d)?Ai(l,d):isFinite(d)||Rn(l,d))}}var fn=Ri,ri=/["'&<>]/;function ii(l){xe(l);var d=""+l,S=ri.exec(d);if(!S)return d;var R,N="",J,ie=0;for(J=S.index;J<d.length;J++){switch(d.charCodeAt(J)){case 34:R="&quot;";break;case 38:R="&amp;";break;case 39:R="&#x27;";break;case 60:R="&lt;";break;case 62:R="&gt;";break;default:continue}ie!==J&&(N+=d.substring(ie,J)),ie=J+1,N+=R}return ie!==J?N+d.substring(ie,J):N}function hn(l){return typeof l=="boolean"||typeof l=="number"?""+l:ii(l)}var Gi=/([A-Z])/g,pr=/^ms-/;function oi(l){return l.replace(Gi,"-$1").toLowerCase().replace(pr,"-ms-")}var sn=/^[\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,hi=!1;function ia(l){!hi&&sn.test(l)&&(hi=!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 oa=Array.isArray;function Ur(l){return oa(l)}var Xi="<script>",qi="<\/script>",go='<script src="',pi='<script type="module" src="',ai='" async=""><\/script>';function gi(l){return xe(l),(""+l).replace(Zi,mi)}var Zi=/(<\/|<)(s)(cript)/gi,mi=function(l,d,S,R){return""+d+(S==="s"?"\\u0073":"\\u0053")+R};function zr(l,d,S,R,N){var J=l===void 0?"":l,ie=d===void 0?Xi:'<script nonce="'+hn(d)+'">',Te=[];if(S!==void 0&&Te.push(ie,gi(S),qi),R!==void 0)for(var We=0;We<R.length;We++)Te.push(go,hn(R[We]),ai);if(N!==void 0)for(var tt=0;tt<N.length;tt++)Te.push(pi,hn(N[tt]),ai);return{bootstrapChunks:Te,startInlineScript:ie,placeholderPrefix:J+"P:",segmentPrefix:J+"S:",boundaryPrefix:J+"B:",idPrefix:J,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var gr=0,Er=1,$r=2,kr=3,jn=4,dn=5,_r=6,mr=7;function An(l,d){return{insertionMode:l,selectedValue:d}}function si(l,d,S){switch(d){case"select":return An(Er,S.value!=null?S.value:S.defaultValue);case"svg":return An($r,null);case"math":return An(kr,null);case"foreignObject":return An(Er,null);case"table":return An(jn,null);case"thead":case"tbody":case"tfoot":return An(dn,null);case"colgroup":return An(mr,null);case"tr":return An(_r,null)}return l.insertionMode>=jn||l.insertionMode===gr?An(Er,null):l}var Rr=null;function Yr(l){var d=l.nextSuspenseID++;return l.boundaryPrefix+d.toString(16)}function Yn(l,d,S){var R=l.idPrefix,N=":"+R+"R"+d;return S>0&&(N+="H"+S.toString(32)),N+":"}function Gr(l){return hn(l)}var Xr="<!-- -->";function Pi(l,d,S,R){return d===""?R:(R&&l.push(Xr),l.push(Gr(d)),!0)}function En(l,d,S,R){S&&R&&l.push(Xr)}var vr=new Map;function ir(l){var d=vr.get(l);if(d!==void 0)return d;var S=hn(oi(l));return vr.set(l,S),S}var mo=' style="',Di=":",Ar=";";function y(l,d,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 R=!0;for(var N in S)if(se.call(S,N)){var J=S[N];if(!(J==null||typeof J=="boolean"||J==="")){var ie=void 0,Te=void 0,We=N.indexOf("--")===0;We?(ie=hn(N),oe(J,N),Te=hn((""+J).trim())):(fn(N,J),ie=ir(N),typeof J=="number"?J!==0&&!se.call(lt,N)?Te=J+"px":Te=""+J:(oe(J,N),Te=hn((""+J).trim()))),R?(R=!1,l.push(mo,ie,Di,Te)):l.push(Ar,ie,Di,Te)}}R||l.push(q)}var D=" ",V='="',q='"',we='=""';function de(l,d,S,R){switch(S){case"style":{y(l,d,R);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 N=Oe(S);if(N!==null){switch(typeof R){case"function":case"symbol":return;case"boolean":if(!N.acceptsBooleans)return}var J=N.attributeName,ie=J;switch(N.type){case Ce:R&&l.push(D,ie,we);return;case mt:R===!0?l.push(D,ie,we):R===!1||l.push(D,ie,V,hn(R),q);return;case St:isNaN(R)||l.push(D,ie,V,hn(R),q);break;case dt:!isNaN(R)&&R>=1&&l.push(D,ie,V,hn(R),q);break;default:N.sanitizeURL&&(pe(R,J),R=""+R,ia(R)),l.push(D,ie,V,hn(R),q)}}else if(it(S)){switch(typeof R){case"function":case"symbol":return;case"boolean":{var Te=S.toLowerCase().slice(0,5);if(Te!=="data-"&&Te!=="aria-")return}}l.push(D,S,V,hn(R),q)}}}var Re=">",He="/>";function ot(l,d,S){if(d!=null){if(S!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof d!="object"||!("__html"in d))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 R=d.__html;R!=null&&(xe(R),l.push(""+R))}}var pt=!1,at=!1,jt=!1,Gn=!1,Nn=!1,wn=!1,Pr=!1;function Qn(l,d){{var S=l[d];if(S!=null){var R=Ur(S);l.multiple&&!R?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.",d):!l.multiple&&R&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",d)}}}function Ii(l,d,S){Ct("select",d),Qn(d,"value"),Qn(d,"defaultValue"),d.value!==void 0&&d.defaultValue!==void 0&&!jt&&(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"),jt=!0),l.push(Bt("select"));var R=null,N=null;for(var J in d)if(se.call(d,J)){var ie=d[J];if(ie==null)continue;switch(J){case"children":R=ie;break;case"dangerouslySetInnerHTML":N=ie;break;case"defaultValue":case"value":break;default:de(l,S,J,ie);break}}return l.push(Re),ot(l,N,R),R}function li(l){var d="";return n.Children.forEach(l,function(S){S!=null&&(d+=S,!Nn&&typeof S!="string"&&typeof S!="number"&&(Nn=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),d}var Mi=' selected=""';function Dr(l,d,S,R){var N=R.selectedValue;l.push(Bt("option"));var J=null,ie=null,Te=null,We=null;for(var tt in d)if(se.call(d,tt)){var ct=d[tt];if(ct==null)continue;switch(tt){case"children":J=ct;break;case"selected":Te=ct,Pr||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Pr=!0);break;case"dangerouslySetInnerHTML":We=ct;break;case"value":ie=ct;default:de(l,S,tt,ct);break}}if(N!=null){var kt;if(ie!==null?(pe(ie,"value"),kt=""+ie):(We!==null&&(wn||(wn=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),kt=li(J)),Ur(N))for(var bn=0;bn<N.length;bn++){pe(N[bn],"value");var tr=""+N[bn];if(tr===kt){l.push(Mi);break}}else pe(N,"select.value"),""+N===kt&&l.push(Mi)}else Te&&l.push(Mi);return l.push(Re),ot(l,We,J),J}function vo(l,d,S){Ct("input",d),d.checked!==void 0&&d.defaultChecked!==void 0&&!at&&(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",d.type),at=!0),d.value!==void 0&&d.defaultValue!==void 0&&!pt&&(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",d.type),pt=!0),l.push(Bt("input"));var R=null,N=null,J=null,ie=null;for(var Te in d)if(se.call(d,Te)){var We=d[Te];if(We==null)continue;switch(Te){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":ie=We;break;case"defaultValue":N=We;break;case"checked":J=We;break;case"value":R=We;break;default:de(l,S,Te,We);break}}return J!==null?de(l,S,"checked",J):ie!==null&&de(l,S,"checked",ie),R!==null?de(l,S,"value",R):N!==null&&de(l,S,"value",N),l.push(He),null}function es(l,d,S){Ct("textarea",d),d.value!==void 0&&d.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(Bt("textarea"));var R=null,N=null,J=null;for(var ie in d)if(se.call(d,ie)){var Te=d[ie];if(Te==null)continue;switch(ie){case"children":J=Te;break;case"value":R=Te;break;case"defaultValue":N=Te;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:de(l,S,ie,Te);break}}if(R===null&&N!==null&&(R=N),l.push(Re),J!=null){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),R!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ur(J)){if(J.length>1)throw new Error("<textarea> can only have at most one child.");xe(J[0]),R=""+J[0]}xe(J),R=""+J}return typeof R=="string"&&R[0]===`
37
- `&&l.push(yo),R!==null&&(pe(R,"value"),l.push(Gr(""+R))),null}function aa(l,d,S,R){l.push(Bt(S));for(var N in d)if(se.call(d,N)){var J=d[N];if(J==null)continue;switch(N){case"children":case"dangerouslySetInnerHTML":throw new Error(S+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:de(l,R,N,J);break}}return l.push(He),null}function sa(l,d,S){l.push(Bt("menuitem"));for(var R in d)if(se.call(d,R)){var N=d[R];if(N==null)continue;switch(R){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:de(l,S,R,N);break}}return l.push(Re),null}function la(l,d,S){l.push(Bt("title"));var R=null;for(var N in d)if(se.call(d,N)){var J=d[N];if(J==null)continue;switch(N){case"children":R=J;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:de(l,S,N,J);break}}l.push(Re);{var ie=Array.isArray(R)&&R.length<2?R[0]||null:R;Array.isArray(R)&&R.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"):ie!=null&&ie.$$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"):ie!=null&&typeof ie!="string"&&typeof ie!="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 R}function ua(l,d,S,R){l.push(Bt(S));var N=null,J=null;for(var ie in d)if(se.call(d,ie)){var Te=d[ie];if(Te==null)continue;switch(ie){case"children":N=Te;break;case"dangerouslySetInnerHTML":J=Te;break;default:de(l,R,ie,Te);break}}return l.push(Re),ot(l,J,N),typeof N=="string"?(l.push(Gr(N)),null):N}function ui(l,d,S,R){l.push(Bt(S));var N=null,J=null;for(var ie in d)if(se.call(d,ie)){var Te=d[ie];if(Te==null)continue;switch(ie){case"children":N=Te;break;case"dangerouslySetInnerHTML":J=Te;break;case"style":y(l,R,Te);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:it(ie)&&typeof Te!="function"&&typeof Te!="symbol"&&l.push(D,ie,V,hn(Te),q);break}}return l.push(Re),ot(l,J,N),N}var yo=`
38
- `;function Bo(l,d,S,R){l.push(Bt(S));var N=null,J=null;for(var ie in d)if(se.call(d,ie)){var Te=d[ie];if(Te==null)continue;switch(ie){case"children":N=Te;break;case"dangerouslySetInnerHTML":J=Te;break;default:de(l,R,ie,Te);break}}if(l.push(Re),J!=null){if(N!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof J!="object"||!("__html"in J))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 We=J.__html;We!=null&&(typeof We=="string"&&We.length>0&&We[0]===`
39
- `?l.push(yo,We):(xe(We),l.push(""+We)))}return typeof N=="string"&&N[0]===`
40
- `&&l.push(yo),N}var nn=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Xt=new Map;function Bt(l){var d=Xt.get(l);if(d===void 0){if(!nn.test(l))throw new Error("Invalid tag: "+l);d="<"+l,Xt.set(l,d)}return d}var vi="<!DOCTYPE html>";function qr(l,d,S,R,N){switch(Ei(d,S),Jn(d,S),_i(d,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."),N.insertionMode!==$r&&N.insertionMode!==kr&&d.indexOf("-")===-1&&typeof S.is!="string"&&d.toLowerCase()!==d&&a("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",d),d){case"select":return Ii(l,S,R);case"option":return Dr(l,S,R,N);case"textarea":return es(l,S,R);case"input":return vo(l,S,R);case"menuitem":return sa(l,S,R);case"title":return la(l,S,R);case"listing":case"pre":return Bo(l,S,d,R);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 aa(l,S,d,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 ua(l,S,d,R);case"html":return N.insertionMode===gr&&l.push(vi),ua(l,S,d,R);default:return d.indexOf("-")===-1&&typeof S.is!="string"?ua(l,S,d,R):ui(l,S,d,R)}}var bo="</",ci=">";function or(l,d,S){switch(d){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(bo,d,ci)}}function ca(l,d){for(var S=d.bootstrapChunks,R=0;R<S.length-1;R++)x(l,S[R]);return R<S.length?E(l,S[R]):!0}var jo='<template id="',Ra='"></template>';function pn(l,d,S){x(l,jo),x(l,d.placeholderPrefix);var R=S.toString(16);return x(l,R),E(l,Ra)}var xo="<!--$-->",fi='<!--$?--><template id="',Aa='"></template>',Ji="<!--$!-->",Xn="<!--/$-->",o="<template",c='"',g=' data-dgst="',w=' data-msg="',P=' data-stck="',I="></template>";function F(l,d){return E(l,xo)}function re(l,d,S){if(x(l,fi),S===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return x(l,S),E(l,Aa)}function K(l,d,S,R,N){var J;return J=E(l,Ji),x(l,o),S&&(x(l,g),x(l,hn(S)),x(l,c)),R&&(x(l,w),x(l,hn(R)),x(l,c)),N&&(x(l,P),x(l,hn(N)),x(l,c)),J=E(l,I),J}function he(l,d){return E(l,Xn)}function Ae(l,d){return E(l,Xn)}function De(l,d){return E(l,Xn)}var ye='<div hidden id="',Be='">',Je="</div>",Et='<svg aria-hidden="true" style="display:none" id="',Pt='">',Pn="</svg>",ln='<math aria-hidden="true" style="display:none" id="',Ir='">',Mr="</math>",Nt='<table hidden id="',Or='">',Vt="</table>",en='<table hidden><tbody id="',Ki='">',Qi="</tbody></table>",yr='<table hidden><tr id="',b='">',A="</tr></table>",B='<table hidden><colgroup id="',X='">',me="</colgroup></table>";function ve(l,d,S,R){switch(S.insertionMode){case gr:case Er:return x(l,ye),x(l,d.segmentPrefix),x(l,R.toString(16)),E(l,Be);case $r:return x(l,Et),x(l,d.segmentPrefix),x(l,R.toString(16)),E(l,Pt);case kr:return x(l,ln),x(l,d.segmentPrefix),x(l,R.toString(16)),E(l,Ir);case jn:return x(l,Nt),x(l,d.segmentPrefix),x(l,R.toString(16)),E(l,Or);case dn:return x(l,en),x(l,d.segmentPrefix),x(l,R.toString(16)),E(l,Ki);case _r:return x(l,yr),x(l,d.segmentPrefix),x(l,R.toString(16)),E(l,b);case mr:return x(l,B),x(l,d.segmentPrefix),x(l,R.toString(16)),E(l,X);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Ie(l,d){switch(d.insertionMode){case gr:case Er:return E(l,Je);case $r:return E(l,Pn);case kr:return E(l,Mr);case jn:return E(l,Vt);case dn:return E(l,Qi);case _r:return E(l,A);case mr:return E(l,me);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var Ve="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)}",st='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()}}',Lt='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())}',Tt=Ve+';$RS("',gt='$RS("',On='","',yn='")<\/script>';function Wn(l,d,S){x(l,d.startInlineScript),d.sentCompleteSegmentFunction?x(l,gt):(d.sentCompleteSegmentFunction=!0,x(l,Tt)),x(l,d.segmentPrefix);var R=S.toString(16);return x(l,R),x(l,On),x(l,d.placeholderPrefix),x(l,R),E(l,yn)}var No=st+';$RC("',Pa='$RC("',Wo='","',Zr='")<\/script>';function ts(l,d,S,R){if(x(l,d.startInlineScript),d.sentCompleteBoundaryFunction?x(l,Pa):(d.sentCompleteBoundaryFunction=!0,x(l,No)),S===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var N=R.toString(16);return x(l,S),x(l,Wo),x(l,d.segmentPrefix),x(l,N),E(l,Zr)}var eo=Lt+';$RX("',Da='$RX("',Vo='"',di=")<\/script>",Oi=",";function ns(l,d,S,R,N,J){if(x(l,d.startInlineScript),d.sentClientRenderFunction?x(l,Da):(d.sentClientRenderFunction=!0,x(l,eo)),S===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return x(l,S),x(l,Vo),(R||N||J)&&(x(l,Oi),x(l,Ho(R||""))),(N||J)&&(x(l,Oi),x(l,Ho(N||""))),J&&(x(l,Oi),x(l,Ho(J))),E(l,di)}var El=/[<\u2028\u2029]/g;function Ho(l){var d=JSON.stringify(l);return d.replace(El,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 to(l,d){var S=zr(d,void 0);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:l}}function ar(){return{insertionMode:Er,selectedValue:null}}function rs(l,d,S,R){return S.generateStaticMarkup?(l.push(hn(d)),!1):Pi(l,d,S,R)}function Ia(l,d,S,R){if(!d.generateStaticMarkup)return En(l,d,S,R)}function Ma(l,d){return d.generateStaticMarkup?!0:F(l)}function G(l,d,S,R,N){return d.generateStaticMarkup?!0:K(l,d,S,R,N)}function fe(l,d){return d.generateStaticMarkup?!0:he(l)}function Se(l,d){return d.generateStaticMarkup?!0:De(l)}var be=Object.assign,$=Symbol.for("react.element"),le=Symbol.for("react.portal"),ae=Symbol.for("react.fragment"),Me=Symbol.for("react.strict_mode"),Le=Symbol.for("react.profiler"),Qe=Symbol.for("react.provider"),et=Symbol.for("react.context"),Xe=Symbol.for("react.forward_ref"),Dt=Symbol.for("react.suspense"),xt=Symbol.for("react.suspense_list"),Ht=Symbol.for("react.memo"),Dn=Symbol.for("react.lazy"),er=Symbol.for("react.scope"),Vn=Symbol.for("react.debug_trace_mode"),Lr=Symbol.for("react.legacy_hidden"),Li=Symbol.for("react.default_value"),It=Symbol.iterator,mu="@@iterator";function Sn(l){if(l===null||typeof l!="object")return null;var d=It&&l[It]||l[mu];return typeof d=="function"?d:null}function Uo(l,d,S){var R=l.displayName;if(R)return R;var N=d.displayName||d.name||"";return N!==""?S+"("+N+")":S}function kl(l){return l.displayName||"Context"}function Cn(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 ae:return"Fragment";case le:return"Portal";case Le:return"Profiler";case Me:return"StrictMode";case Dt:return"Suspense";case xt:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case et:var d=l;return kl(d)+".Consumer";case Qe:var S=l;return kl(S._context)+".Provider";case Xe:return Uo(l,l.render,"ForwardRef");case Ht:var R=l.displayName||null;return R!==null?R:Cn(l.type)||"Memo";case Dn:{var N=l,J=N._payload,ie=N._init;try{return Cn(ie(J))}catch{return null}}}return null}var Oa=0,La,no,Fa,Ws,Ba,_l,Rl;function fa(){}fa.__reactDisabledLog=!0;function Vs(){{if(Oa===0){La=console.log,no=console.info,Fa=console.warn,Ws=console.error,Ba=console.group,_l=console.groupCollapsed,Rl=console.groupEnd;var l={configurable:!0,enumerable:!0,value:fa,writable:!0};Object.defineProperties(console,{info:l,log:l,warn:l,error:l,group:l,groupCollapsed:l,groupEnd:l})}Oa++}}function wo(){{if(Oa--,Oa===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:be({},l,{value:La}),info:be({},l,{value:no}),warn:be({},l,{value:Fa}),error:be({},l,{value:Ws}),group:be({},l,{value:Ba}),groupCollapsed:be({},l,{value:_l}),groupEnd:be({},l,{value:Rl})})}Oa<0&&a("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Fi=i.ReactCurrentDispatcher,So;function is(l,d,S){{if(So===void 0)try{throw Error()}catch(N){var R=N.stack.trim().match(/\n( *(at )?)/);So=R&&R[1]||""}return`
41
- `+So+l}}var os=!1,Hs;{var as=typeof WeakMap=="function"?WeakMap:Map;Hs=new as}function ja(l,d){if(!l||os)return"";{var S=Hs.get(l);if(S!==void 0)return S}var R;os=!0;var N=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var J;J=Fi.current,Fi.current=null,Vs();try{if(d){var ie=function(){throw Error()};if(Object.defineProperty(ie.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ie,[])}catch(Hn){R=Hn}Reflect.construct(l,[],ie)}else{try{ie.call()}catch(Hn){R=Hn}l.call(ie.prototype)}}else{try{throw Error()}catch(Hn){R=Hn}l()}}catch(Hn){if(Hn&&R&&typeof Hn.stack=="string"){for(var Te=Hn.stack.split(`
42
- `),We=R.stack.split(`
43
- `),tt=Te.length-1,ct=We.length-1;tt>=1&&ct>=0&&Te[tt]!==We[ct];)ct--;for(;tt>=1&&ct>=0;tt--,ct--)if(Te[tt]!==We[ct]){if(tt!==1||ct!==1)do if(tt--,ct--,ct<0||Te[tt]!==We[ct]){var kt=`
44
- `+Te[tt].replace(" at new "," at ");return l.displayName&&kt.includes("<anonymous>")&&(kt=kt.replace("<anonymous>",l.displayName)),typeof l=="function"&&Hs.set(l,kt),kt}while(tt>=1&&ct>=0);break}}}finally{os=!1,Fi.current=J,wo(),Error.prepareStackTrace=N}var bn=l?l.displayName||l.name:"",tr=bn?is(bn):"";return typeof l=="function"&&Hs.set(l,tr),tr}function ss(l,d,S){return ja(l,!0)}function Al(l,d,S){return ja(l,!1)}function Pl(l){var d=l.prototype;return!!(d&&d.isReactComponent)}function Na(l,d,S){if(l==null)return"";if(typeof l=="function")return ja(l,Pl(l));if(typeof l=="string")return is(l);switch(l){case Dt:return is("Suspense");case xt:return is("SuspenseList")}if(typeof l=="object")switch(l.$$typeof){case Xe:return Al(l.render);case Ht:return Na(l.type,d,S);case Dn:{var R=l,N=R._payload,J=R._init;try{return Na(J(N),d,S)}catch{}}}return""}var Dl={},In=i.ReactDebugCurrentFrame;function Mn(l){if(l){var d=l._owner,S=Na(l.type,l._source,d?d.type:null);In.setExtraStackFrame(S)}else In.setExtraStackFrame(null)}function Il(l,d,S,R,N){{var J=Function.call.bind(se);for(var ie in l)if(J(l,ie)){var Te=void 0;try{if(typeof l[ie]!="function"){var We=Error((R||"React class")+": "+S+" type `"+ie+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[ie]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw We.name="Invariant Violation",We}Te=l[ie](d,ie,R,S,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(tt){Te=tt}Te&&!(Te instanceof Error)&&(Mn(N),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).",R||"React class",S,ie,typeof Te),Mn(null)),Te instanceof Error&&!(Te.message in Dl)&&(Dl[Te.message]=!0,Mn(N),a("Failed %s type: %s",S,Te.message),Mn(null))}}}var Ml;Ml={};var Co={};Object.freeze(Co);function vu(l,d){{var S=l.contextTypes;if(!S)return Co;var R={};for(var N in S)R[N]=d[N];{var J=Cn(l)||"Unknown";Il(S,R,"context",J)}return R}}function To(l,d,S,R){{if(typeof l.getChildContext!="function"){{var N=Cn(d)||"Unknown";Ml[N]||(Ml[N]=!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.",N,N))}return S}var J=l.getChildContext();for(var ie in J)if(!(ie in R))throw new Error((Cn(d)||"Unknown")+'.getChildContext(): key "'+ie+'" is not defined in childContextTypes.');{var Te=Cn(d)||"Unknown";Il(R,J,"child context",Te)}return be({},S,J)}}var Bi;Bi={};var ls=null,Fr=null;function zo(l){l.context._currentValue2=l.parentValue}function $o(l){l.context._currentValue2=l.value}function Yo(l,d){if(l!==d){zo(l);var S=l.parent,R=d.parent;if(S===null){if(R!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(R===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");Yo(S,R)}$o(d)}}function Go(l){zo(l);var d=l.parent;d!==null&&Go(d)}function us(l){var d=l.parent;d!==null&&us(d),$o(l)}function yu(l,d){zo(l);var S=l.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===d.depth?Yo(S,d):yu(S,d)}function bu(l,d){var S=d.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.");l.depth===S.depth?Yo(l,S):bu(l,S),$o(d)}function Us(l){var d=Fr,S=l;d!==S&&(d===null?us(S):S===null?Go(d):d.depth===S.depth?Yo(d,S):d.depth>S.depth?yu(d,S):bu(d,S),Fr=S)}function cs(l,d){var S;S=l._currentValue2,l._currentValue2=d,l._currentRenderer2!==void 0&&l._currentRenderer2!==null&&l._currentRenderer2!==Bi&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),l._currentRenderer2=Bi;var R=Fr,N={parent:R,depth:R===null?0:R.depth+1,context:l,parentValue:S,value:d};return Fr=N,N}function Wa(l){var d=Fr;if(d===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");d.context!==l&&a("The parent context is not the expected context. This is probably a bug in React.");{var S=d.parentValue;S===Li?d.context._currentValue2=d.context._defaultValue:d.context._currentValue2=S,l._currentRenderer2!==void 0&&l._currentRenderer2!==null&&l._currentRenderer2!==Bi&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),l._currentRenderer2=Bi}return Fr=d.parent}function fs(){return Fr}function da(l){var d=l._currentValue2;return d}function W(l){return l._reactInternals}function Xo(l,d){l._reactInternals=d}var ha={},Br={},$t,zs,Va,ds,ro,Ha,$s,Ys,Gs;{$t=new Set,zs=new Set,Va=new Set,$s=new Set,ds=new Set,Ys=new Set,Gs=new Set;var xu=new Set;Ha=function(l,d){if(!(l===null||typeof l=="function")){var S=d+"_"+l;xu.has(S)||(xu.add(S),a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",d,l))}},ro=function(l,d){if(d===void 0){var S=Cn(l)||"Component";ds.has(S)||(ds.add(S),a("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",S))}}}function io(l,d){{var S=l.constructor,R=S&&Cn(S)||"ReactClass",N=R+"."+d;if(ha[N])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.
45
-
46
- Please check the code for the %s component.`,d,d,R),ha[N]=!0}}var wu={isMounted:function(l){return!1},enqueueSetState:function(l,d,S){var R=W(l);R.queue===null?io(l,"setState"):(R.queue.push(d),S!=null&&Ha(S,"setState"))},enqueueReplaceState:function(l,d,S){var R=W(l);R.replace=!0,R.queue=[d],S!=null&&Ha(S,"setState")},enqueueForceUpdate:function(l,d){var S=W(l);S.queue===null?io(l,"forceUpdate"):d!=null&&Ha(d,"setState")}};function Xu(l,d,S,R,N){var J=S(N,R);ro(d,J);var ie=J==null?R:be({},R,J);return ie}function qu(l,d,S){var R=Co,N=l.contextType;if("contextType"in l){var J=N===null||N!==void 0&&N.$$typeof===et&&N._context===void 0;if(!J&&!Gs.has(l)){Gs.add(l);var ie="";N===void 0?ie=" 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 N!="object"?ie=" However, it is set to a "+typeof N+".":N.$$typeof===Qe?ie=" Did you accidentally pass the Context.Provider instead?":N._context!==void 0?ie=" Did you accidentally pass the Context.Consumer instead?":ie=" However, it is set to an object with keys {"+Object.keys(N).join(", ")+"}.",a("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Cn(l)||"Component",ie)}}typeof N=="object"&&N!==null?R=da(N):R=S;var Te=new l(d,R);{if(typeof l.getDerivedStateFromProps=="function"&&(Te.state===null||Te.state===void 0)){var We=Cn(l)||"Component";$t.has(We)||($t.add(We),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.",We,Te.state===null?"null":"undefined",We))}if(typeof l.getDerivedStateFromProps=="function"||typeof Te.getSnapshotBeforeUpdate=="function"){var tt=null,ct=null,kt=null;if(typeof Te.componentWillMount=="function"&&Te.componentWillMount.__suppressDeprecationWarning!==!0?tt="componentWillMount":typeof Te.UNSAFE_componentWillMount=="function"&&(tt="UNSAFE_componentWillMount"),typeof Te.componentWillReceiveProps=="function"&&Te.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ct="componentWillReceiveProps":typeof Te.UNSAFE_componentWillReceiveProps=="function"&&(ct="UNSAFE_componentWillReceiveProps"),typeof Te.componentWillUpdate=="function"&&Te.componentWillUpdate.__suppressDeprecationWarning!==!0?kt="componentWillUpdate":typeof Te.UNSAFE_componentWillUpdate=="function"&&(kt="UNSAFE_componentWillUpdate"),tt!==null||ct!==null||kt!==null){var bn=Cn(l)||"Component",tr=typeof l.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Va.has(bn)||(Va.add(bn),a(`Unsafe legacy lifecycles will not be called for components using new component APIs.
47
-
48
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
49
-
50
- The above lifecycles should be removed. Learn more about this warning here:
51
- https://reactjs.org/link/unsafe-component-lifecycles`,bn,tr,tt!==null?`
52
- `+tt:"",ct!==null?`
53
- `+ct:"",kt!==null?`
54
- `+kt:""))}}}return Te}function Su(l,d,S){{var R=Cn(d)||"Component",N=l.render;N||(d.prototype&&typeof d.prototype.render=="function"?a("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",R):a("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",R)),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?",R),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.",R),l.propTypes&&a("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",R),l.contextType&&a("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",R),l.contextTypes&&a("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",R),d.contextType&&d.contextTypes&&!Ys.has(d)&&(Ys.add(d),a("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",R)),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.",R),d.prototype&&d.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.",Cn(d)||"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()?",R),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().",R),typeof l.componentWillRecieveProps=="function"&&a("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",R),typeof l.UNSAFE_componentWillRecieveProps=="function"&&a("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",R);var J=l.props!==S;l.props!==void 0&&J&&a("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",R,R),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.",R,R),typeof l.getSnapshotBeforeUpdate=="function"&&typeof l.componentDidUpdate!="function"&&!zs.has(d)&&(zs.add(d),a("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Cn(d))),typeof l.getDerivedStateFromProps=="function"&&a("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",R),typeof l.getDerivedStateFromError=="function"&&a("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",R),typeof d.getSnapshotBeforeUpdate=="function"&&a("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",R);var ie=l.state;ie&&(typeof ie!="object"||Ur(ie))&&a("%s.state: must be set to an object or null",R),typeof l.getChildContext=="function"&&typeof d.childContextTypes!="object"&&a("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",R)}}function Zu(l,d){var S=d.state;if(typeof d.componentWillMount=="function"){if(d.componentWillMount.__suppressDeprecationWarning!==!0){var R=Cn(l)||"Unknown";Br[R]||(s(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
55
-
56
- * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
57
-
58
- Please update the following components: %s`,R),Br[R]=!0)}d.componentWillMount()}typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),S!==d.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Cn(l)||"Component"),wu.enqueueReplaceState(d,d.state,null))}function Eo(l,d,S,R){if(l.queue!==null&&l.queue.length>0){var N=l.queue,J=l.replace;if(l.queue=null,l.replace=!1,J&&N.length===1)d.state=N[0];else{for(var ie=J?N[0]:d.state,Te=!0,We=J?1:0;We<N.length;We++){var tt=N[We],ct=typeof tt=="function"?tt.call(d,ie,S,R):tt;ct!=null&&(Te?(Te=!1,ie=be({},ie,ct)):be(ie,ct))}d.state=ie}}else l.queue=null}function Xs(l,d,S,R){Su(l,d,S);var N=l.state!==void 0?l.state:null;l.updater=wu,l.props=S,l.state=N;var J={queue:[],replace:!1};Xo(l,J);var ie=d.contextType;if(typeof ie=="object"&&ie!==null?l.context=da(ie):l.context=R,l.state===S){var Te=Cn(d)||"Component";$s.has(Te)||($s.add(Te),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.",Te))}var We=d.getDerivedStateFromProps;typeof We=="function"&&(l.state=Xu(l,d,We,N,S)),typeof d.getDerivedStateFromProps!="function"&&typeof l.getSnapshotBeforeUpdate!="function"&&(typeof l.UNSAFE_componentWillMount=="function"||typeof l.componentWillMount=="function")&&(Zu(d,l),Eo(J,l,S,R))}var qs={id:1,overflow:""};function Ju(l){var d=l.overflow,S=l.id,R=S&~pa(S);return R.toString(32)+d}function Ol(l,d,S){var R=l.id,N=l.overflow,J=Zs(R)-1,ie=R&~(1<<J),Te=S+1,We=Zs(d)+J;if(We>30){var tt=J-J%5,ct=(1<<tt)-1,kt=(ie&ct).toString(32),bn=ie>>tt,tr=J-tt,Hn=Zs(d)+tr,tu=Te<<tr,nu=tu|bn,Ou=kt+N;return{id:1<<Hn|nu,overflow:Ou}}else{var As=Te<<J,Sf=As|ie,Cf=N;return{id:1<<We|Sf,overflow:Cf}}}function Zs(l){return 32-Ku(l)}function pa(l){return 1<<Zs(l)-1}var Ku=Math.clz32?Math.clz32:ko,Qu=Math.log,ji=Math.LN2;function ko(l){var d=l>>>0;return d===0?32:31-(Qu(d)/ji|0)|0}function Ll(l,d){return l===d&&(l!==0||1/l===1/d)||l!==l&&d!==d}var Js=typeof Object.is=="function"?Object.is:Ll,Jt=null,ga=null,qo=null,rn=null,yi=!1,ma=!1,Ua=0,Ln=null,bi=0,va=25,Ni=!1,ya;function sr(){if(Jt===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:
59
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
60
- 2. You might be breaking the Rules of Hooks
61
- 3. You might have more than one copy of React in the same app
62
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Ni&&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"),Jt}function Fl(l,d){if(d===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.",ya),!1;l.length!==d.length&&a(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
63
-
64
- Previous: %s
65
- Incoming: %s`,ya,"["+l.join(", ")+"]","["+d.join(", ")+"]");for(var S=0;S<d.length&&S<l.length;S++)if(!Js(l[S],d[S]))return!1;return!0}function Zo(){if(bi>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function jr(){return rn===null?qo===null?(yi=!1,qo=rn=Zo()):(yi=!0,rn=qo):rn.next===null?(yi=!1,rn=rn.next=Zo()):(yi=!0,rn=rn.next),rn}function Bl(l,d){Jt=d,ga=l,Ni=!1,Ua=0}function Cu(l,d,S,R){for(;ma;)ma=!1,Ua=0,bi+=1,rn=null,S=l(d,R);return _o(),S}function jl(){var l=Ua!==0;return l}function _o(){Ni=!1,Jt=null,ga=null,ma=!1,qo=null,bi=0,Ln=null,rn=null}function Jo(l){return Ni&&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()."),da(l)}function Nl(l){return ya="useContext",sr(),da(l)}function Ks(l,d){return typeof d=="function"?d(l):d}function Qs(l){return ya="useState",Tu(Ks,l)}function Tu(l,d,S){if(l!==Ks&&(ya="useReducer"),Jt=sr(),rn=jr(),yi){var R=rn.queue,N=R.dispatch;if(Ln!==null){var J=Ln.get(R);if(J!==void 0){Ln.delete(R);var ie=rn.memoizedState,Te=J;do{var We=Te.action;Ni=!0,ie=l(ie,We),Ni=!1,Te=Te.next}while(Te!==null);return rn.memoizedState=ie,[ie,N]}}return[rn.memoizedState,N]}else{Ni=!0;var tt;l===Ks?tt=typeof d=="function"?d():d:tt=S!==void 0?S(d):d,Ni=!1,rn.memoizedState=tt;var ct=rn.queue={last:null,dispatch:null},kt=ct.dispatch=Eu.bind(null,Jt,ct);return[rn.memoizedState,kt]}}function Wl(l,d){Jt=sr(),rn=jr();var S=d===void 0?null:d;if(rn!==null){var R=rn.memoizedState;if(R!==null&&S!==null){var N=R[1];if(Fl(S,N))return R[0]}}Ni=!0;var J=l();return Ni=!1,rn.memoizedState=[J,S],J}function lr(l){Jt=sr(),rn=jr();var d=rn.memoizedState;if(d===null){var S={current:l};return Object.seal(S),rn.memoizedState=S,S}else return d}function Vl(l,d){ya="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 Eu(l,d,S){if(bi>=va)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l===Jt){ma=!0;var R={action:S,next:null};Ln===null&&(Ln=new Map);var N=Ln.get(d);if(N===void 0)Ln.set(d,R);else{for(var J=N;J.next!==null;)J=J.next;J.next=R}}}function oo(l,d){return Wl(function(){return l},d)}function Hl(l,d,S){return sr(),d(l._source)}function el(l,d,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 ba(l){return sr(),l}function hs(){throw new Error("startTransition cannot be called during server rendering.")}function br(){return sr(),[!1,hs]}function ps(){var l=ga,d=Ju(l.treeContext),S=ms;if(S===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var R=Ua++;return Yn(S,d,R)}function gs(){}var ku={readContext:Jo,useContext:Nl,useMemo:Wl,useReducer:Tu,useRef:lr,useState:Qs,useInsertionEffect:gs,useLayoutEffect:Vl,useCallback:oo,useImperativeHandle:gs,useEffect:gs,useDebugValue:gs,useDeferredValue:ba,useTransition:br,useId:ps,useMutableSource:Hl,useSyncExternalStore:el},ms=null;function za(l){ms=l}function Ul(l){try{var d="",S=l;do{switch(S.tag){case 0:d+=is(S.type,null,null);break;case 1:d+=Al(S.type,null,null);break;case 2:d+=ss(S.type,null,null);break}S=S.parent}while(S);return d}catch(R){return`
66
- Error generating stack: `+R.message+`
67
- `+R.stack}}var xi=i.ReactCurrentDispatcher,vs=i.ReactDebugCurrentFrame,tl=0,xa=1,$a=2,zl=3,wa=4,$l=0,Yl=1,ao=2,ec=12800;function tc(l){return console.error(l),null}function Ya(){}function ys(l,d,S,R,N,J,ie,Te,We){var tt=[],ct=new Set,kt={destination:null,responseState:d,progressiveChunkSize:R===void 0?ec:R,status:$l,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ct,pingedTasks:tt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:N===void 0?tc:N,onAllReady:J===void 0?Ya:J,onShellReady:ie===void 0?Ya:ie,onShellError:Te===void 0?Ya:Te,onFatalError:We===void 0?Ya:We},bn=Ro(kt,0,null,S,!1,!1);bn.parentFlushed=!0;var tr=Ga(kt,l,null,bn,ct,Co,ls,qs);return tt.push(tr),kt}function nl(l,d){var S=l.pingedTasks;S.push(d),S.length===1&&v(function(){return eu(l)})}function Wi(l,d){return{id:Rr,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:d,errorDigest:null}}function Ga(l,d,S,R,N,J,ie,Te){l.allPendingTasks++,S===null?l.pendingRootTasks++:S.pendingTasks++;var We={node:d,ping:function(){return nl(l,We)},blockedBoundary:S,blockedSegment:R,abortSet:N,legacyContext:J,context:ie,treeContext:Te};return We.componentStack=null,N.add(We),We}function Ro(l,d,S,R,N,J){return{status:tl,id:-1,index:d,parentFlushed:!1,chunks:[],children:[],formatContext:R,boundary:S,lastPushedText:N,textEmbedded:J}}var Vi=null;function Xa(){return Vi===null||Vi.componentStack===null?"":Ul(Vi.componentStack)}function wi(l,d){l.componentStack={tag:0,parent:l.componentStack,type:d}}function Sa(l,d){l.componentStack={tag:1,parent:l.componentStack,type:d}}function rl(l,d){l.componentStack={tag:2,parent:l.componentStack,type:d}}function Si(l){l.componentStack===null?a("Unexpectedly popped too many stack frames. This is a bug in React."):l.componentStack=l.componentStack.parent}var Ao=null;function Gl(l,d){{var S;typeof d=="string"?S=d:d&&typeof d.message=="string"?S=d.message:S=String(d);var R=Ao||Xa();Ao=null,l.errorMessage=S,l.errorComponentStack=R}}function Ca(l,d){var S=l.onError(d);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 bs(l,d){var S=l.onShellError;S(d);var R=l.onFatalError;R(d),l.destination!==null?(l.status=ao,Q(l.destination,d)):(l.status=Yl,l.fatalError=d)}function il(l,d,S){wi(d,"Suspense");var R=d.blockedBoundary,N=d.blockedSegment,J=S.fallback,ie=S.children,Te=new Set,We=Wi(l,Te),tt=N.chunks.length,ct=Ro(l,tt,We,N.formatContext,!1,!1);N.children.push(ct),N.lastPushedText=!1;var kt=Ro(l,0,null,N.formatContext,!1,!1);kt.parentFlushed=!0,d.blockedBoundary=We,d.blockedSegment=kt;try{if(Hi(l,d,ie),Ia(kt.chunks,l.responseState,kt.lastPushedText,kt.textEmbedded),kt.status=xa,ks(We,kt),We.pendingTasks===0){Si(d);return}}catch(tr){kt.status=wa,We.forceClientRender=!0,We.errorDigest=Ca(l,tr),Gl(We,tr)}finally{d.blockedBoundary=R,d.blockedSegment=N}var bn=Ga(l,J,R,ct,Te,d.legacyContext,d.context,d.treeContext);bn.componentStack=d.componentStack,l.pingedTasks.push(bn),Si(d)}function _u(l,d,S,R){wi(d,S);var N=d.blockedSegment,J=qr(N.chunks,S,R,l.responseState,N.formatContext);N.lastPushedText=!1;var ie=N.formatContext;N.formatContext=si(ie,S,R),Hi(l,d,J),N.formatContext=ie,or(N.chunks,S),N.lastPushedText=!1,Si(d)}function Xl(l){return l.prototype&&l.prototype.isReactComponent}function Ut(l,d,S,R,N){var J={};Bl(d,J);var ie=S(R,N);return Cu(S,R,ie,N)}function xs(l,d,S,R,N){var J=S.render();S.props!==N&&(Jr||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Cn(R)||"a component"),Jr=!0);{var ie=R.childContextTypes;if(ie!=null){var Te=d.legacyContext,We=To(S,R,Te,ie);d.legacyContext=We,Nr(l,d,J),d.legacyContext=Te;return}}Nr(l,d,J)}function Ru(l,d,S,R){rl(d,S);var N=vu(S,d.legacyContext),J=qu(S,R,N);Xs(J,S,R,N),xs(l,d,J,S,R),Si(d)}var Ta={},qa={},ql={},Zl={},Jr=!1,Au=!1,ws=!1,Ss=!1;function Pu(l,d,S,R){var N;if(N=vu(S,d.legacyContext),Sa(d,S),S.prototype&&typeof S.prototype.render=="function"){var J=Cn(S)||"Unknown";Ta[J]||(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.",J,J),Ta[J]=!0)}var ie=Ut(l,d,S,R,N),Te=jl();if(typeof ie=="object"&&ie!==null&&typeof ie.render=="function"&&ie.$$typeof===void 0){var We=Cn(S)||"Unknown";qa[We]||(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.",We,We,We),qa[We]=!0)}if(typeof ie=="object"&&ie!==null&&typeof ie.render=="function"&&ie.$$typeof===void 0){{var tt=Cn(S)||"Unknown";qa[tt]||(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.",tt,tt,tt),qa[tt]=!0)}Xs(ie,S,R,N),xs(l,d,ie,S,R)}else if(Du(S),Te){var ct=d.treeContext,kt=1,bn=0;d.treeContext=Ol(ct,kt,bn);try{Nr(l,d,ie)}finally{d.treeContext=ct}}else Nr(l,d,ie);Si(d)}function Du(l){{if(l&&l.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",l.displayName||l.name||"Component"),typeof l.getDerivedStateFromProps=="function"){var d=Cn(l)||"Unknown";Zl[d]||(a("%s: Function components do not support getDerivedStateFromProps.",d),Zl[d]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var S=Cn(l)||"Unknown";ql[S]||(a("%s: Function components do not support contextType.",S),ql[S]=!0)}}}function Kr(l,d){if(l&&l.defaultProps){var S=be({},d),R=l.defaultProps;for(var N in R)S[N]===void 0&&(S[N]=R[N]);return S}return d}function Ko(l,d,S,R,N){Sa(d,S.render);var J=Ut(l,d,S.render,R,N),ie=jl();if(ie){var Te=d.treeContext,We=1,tt=0;d.treeContext=Ol(Te,We,tt);try{Nr(l,d,J)}finally{d.treeContext=Te}}else Nr(l,d,J);Si(d)}function Jl(l,d,S,R,N){var J=S.type,ie=Kr(J,R);Cs(l,d,J,ie,N)}function ol(l,d,S,R){S._context===void 0?S!==S.Consumer&&(Ss||(Ss=!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 N=R.children;typeof N!="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 J=da(S),ie=N(J);Nr(l,d,ie)}function al(l,d,S,R){var N=S._context,J=R.value,ie=R.children,Te;Te=d.context,d.context=cs(N,J),Nr(l,d,ie),d.context=Wa(N),Te!==d.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Qr(l,d,S,R,N){wi(d,"Lazy");var J=S._payload,ie=S._init,Te=ie(J),We=Kr(Te,R);Cs(l,d,Te,We,N),Si(d)}function Cs(l,d,S,R,N){if(typeof S=="function")if(Xl(S)){Ru(l,d,S,R);return}else{Pu(l,d,S,R);return}if(typeof S=="string"){_u(l,d,S,R);return}switch(S){case Lr:case Vn:case Me:case Le:case ae:{Nr(l,d,R.children);return}case xt:{wi(d,"SuspenseList"),Nr(l,d,R.children),Si(d);return}case er:throw new Error("ReactDOMServer does not yet support scope components.");case Dt:{il(l,d,R);return}}if(typeof S=="object"&&S!==null)switch(S.$$typeof){case Xe:{Ko(l,d,S,R,N);return}case Ht:{Jl(l,d,S,R,N);return}case Qe:{al(l,d,S,R);return}case et:{ol(l,d,S,R);return}case Dn:{Qr(l,d,S,R);return}}var J="";throw(S===void 0||typeof S=="object"&&S!==null&&Object.keys(S).length===0)&&(J+=" 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)+"."+J))}function Kl(l,d){typeof Symbol=="function"&&l[Symbol.toStringTag]==="Generator"&&(Au||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."),Au=!0),l.entries===d&&(ws||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ws=!0)}function Nr(l,d,S){try{return Ts(l,d,S)}catch(R){throw typeof R=="object"&&R!==null&&typeof R.then=="function"||(Ao=Ao!==null?Ao:Xa()),R}}function Ts(l,d,S){if(d.node=S,typeof S=="object"&&S!==null){switch(S.$$typeof){case $:{var R=S,N=R.type,J=R.props,ie=R.ref;Cs(l,d,N,J,ie);return}case le: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 Dn:{var Te=S,We=Te._payload,tt=Te._init,ct;try{ct=tt(We)}catch(As){throw typeof As=="object"&&As!==null&&typeof As.then=="function"&&wi(d,"Lazy"),As}Nr(l,d,ct);return}}if(Ur(S)){Po(l,d,S);return}var kt=Sn(S);if(kt){Kl(S,kt);var bn=kt.call(S);if(bn){var tr=bn.next();if(!tr.done){var Hn=[];do Hn.push(tr.value),tr=bn.next();while(!tr.done);Po(l,d,Hn);return}return}}var tu=Object.prototype.toString.call(S);throw new Error("Objects are not valid as a React child (found: "+(tu==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":tu)+"). If you meant to render a collection of children, use an array instead.")}if(typeof S=="string"){var nu=d.blockedSegment;nu.lastPushedText=rs(d.blockedSegment.chunks,S,l.responseState,nu.lastPushedText);return}if(typeof S=="number"){var Ou=d.blockedSegment;Ou.lastPushedText=rs(d.blockedSegment.chunks,""+S,l.responseState,Ou.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 Po(l,d,S){for(var R=S.length,N=0;N<R;N++){var J=d.treeContext;d.treeContext=Ol(J,R,N);try{Hi(l,d,S[N])}finally{d.treeContext=J}}}function nc(l,d,S){var R=d.blockedSegment,N=R.chunks.length,J=Ro(l,N,null,R.formatContext,R.lastPushedText,!0);R.children.push(J),R.lastPushedText=!1;var ie=Ga(l,d.node,d.blockedBoundary,J,d.abortSet,d.legacyContext,d.context,d.treeContext);d.componentStack!==null&&(ie.componentStack=d.componentStack.parent);var Te=ie.ping;S.then(Te,Te)}function Hi(l,d,S){var R=d.blockedSegment.formatContext,N=d.legacyContext,J=d.context,ie=null;ie=d.componentStack;try{return Nr(l,d,S)}catch(Te){if(_o(),typeof Te=="object"&&Te!==null&&typeof Te.then=="function"){nc(l,d,Te),d.blockedSegment.formatContext=R,d.legacyContext=N,d.context=J,Us(J),d.componentStack=ie;return}else throw d.blockedSegment.formatContext=R,d.legacyContext=N,d.context=J,Us(J),d.componentStack=ie,Te}}function Es(l,d,S,R){var N=Ca(l,R);if(d===null?bs(l,R):(d.pendingTasks--,d.forceClientRender||(d.forceClientRender=!0,d.errorDigest=N,Gl(d,R),d.parentFlushed&&l.clientRenderedBoundaries.push(d))),l.allPendingTasks--,l.allPendingTasks===0){var J=l.onAllReady;J()}}function Ql(l){var d=this,S=l.blockedBoundary,R=l.blockedSegment;R.status=zl,_s(d,S,R)}function sl(l,d,S){var R=l.blockedBoundary,N=l.blockedSegment;if(N.status=zl,R===null)d.allPendingTasks--,d.status!==ao&&(d.status=ao,d.destination!==null&&_(d.destination));else{if(R.pendingTasks--,!R.forceClientRender){R.forceClientRender=!0;var J=S===void 0?new Error("The render was aborted by the server without a reason."):S;R.errorDigest=d.onError(J);{var ie="The server did not finish this Suspense boundary: ";J&&typeof J.message=="string"?J=ie+J.message:J=ie+String(J);var Te=Vi;Vi=l;try{Gl(R,J)}finally{Vi=Te}}R.parentFlushed&&d.clientRenderedBoundaries.push(R)}if(R.fallbackAbortableTasks.forEach(function(tt){return sl(tt,d,S)}),R.fallbackAbortableTasks.clear(),d.allPendingTasks--,d.allPendingTasks===0){var We=d.onAllReady;We()}}}function ks(l,d){if(d.chunks.length===0&&d.children.length===1&&d.children[0].boundary===null){var S=d.children[0];S.id=d.id,S.parentFlushed=!0,S.status===xa&&ks(l,S)}else{var R=l.completedSegments;R.push(d)}}function _s(l,d,S){if(d===null){if(S.parentFlushed){if(l.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");l.completedRootSegment=S}if(l.pendingRootTasks--,l.pendingRootTasks===0){l.onShellError=Ya;var R=l.onShellReady;R()}}else if(d.pendingTasks--,!d.forceClientRender){if(d.pendingTasks===0)S.parentFlushed&&S.status===xa&&ks(d,S),d.parentFlushed&&l.completedBoundaries.push(d),d.fallbackAbortableTasks.forEach(Ql,l),d.fallbackAbortableTasks.clear();else if(S.parentFlushed&&S.status===xa){ks(d,S);var N=d.completedSegments;N.length===1&&d.parentFlushed&&l.partialBoundaries.push(d)}}if(l.allPendingTasks--,l.allPendingTasks===0){var J=l.onAllReady;J()}}function ll(l,d){var S=d.blockedSegment;if(S.status===tl){Us(d.context);var R=null;R=Vi,Vi=d;try{Nr(l,d,d.node),Ia(S.chunks,l.responseState,S.lastPushedText,S.textEmbedded),d.abortSet.delete(d),S.status=xa,_s(l,d.blockedBoundary,S)}catch(J){if(_o(),typeof J=="object"&&J!==null&&typeof J.then=="function"){var N=d.ping;J.then(N,N)}else d.abortSet.delete(d),S.status=wa,Es(l,d.blockedBoundary,S,J)}finally{Vi=R}}}function eu(l){if(l.status!==ao){var d=fs(),S=xi.current;xi.current=ku;var R;R=vs.getCurrentStack,vs.getCurrentStack=Xa;var N=ms;za(l.responseState);try{var J=l.pingedTasks,ie;for(ie=0;ie<J.length;ie++){var Te=J[ie];ll(l,Te)}J.splice(0,ie),l.destination!==null&&cl(l,l.destination)}catch(We){Ca(l,We),bs(l,We)}finally{za(N),xi.current=S,vs.getCurrentStack=R,S===ku&&Us(d)}}}function Za(l,d,S){switch(S.parentFlushed=!0,S.status){case tl:{var R=S.id=l.nextSegmentId++;return S.lastPushedText=!1,S.textEmbedded=!1,pn(d,l.responseState,R)}case xa:{S.status=$a;for(var N=!0,J=S.chunks,ie=0,Te=S.children,We=0;We<Te.length;We++){for(var tt=Te[We];ie<tt.index;ie++)x(d,J[ie]);N=Rs(l,d,tt)}for(;ie<J.length-1;ie++)x(d,J[ie]);return ie<J.length&&(N=E(d,J[ie])),N}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Rs(l,d,S){var R=S.boundary;if(R===null)return Za(l,d,S);if(R.parentFlushed=!0,R.forceClientRender)return G(d,l.responseState,R.errorDigest,R.errorMessage,R.errorComponentStack),Za(l,d,S),Se(d,l.responseState);if(R.pendingTasks>0){R.rootSegmentID=l.nextSegmentId++,R.completedSegments.length>0&&l.partialBoundaries.push(R);var N=R.id=Yr(l.responseState);return re(d,l.responseState,N),Za(l,d,S),Ae(d,l.responseState)}else{if(R.byteSize>l.progressiveChunkSize)return R.rootSegmentID=l.nextSegmentId++,l.completedBoundaries.push(R),re(d,l.responseState,R.id),Za(l,d,S),Ae(d,l.responseState);Ma(d,l.responseState);var J=R.completedSegments;if(J.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var ie=J[0];return Rs(l,d,ie),fe(d,l.responseState)}}function Iu(l,d,S){return ns(d,l.responseState,S.id,S.errorDigest,S.errorMessage,S.errorComponentStack)}function ul(l,d,S){return ve(d,l.responseState,S.formatContext,S.id),Rs(l,d,S),Ie(d,S.formatContext)}function ur(l,d,S){for(var R=S.completedSegments,N=0;N<R.length;N++){var J=R[N];Mu(l,d,S,J)}return R.length=0,ts(d,l.responseState,S.id,S.rootSegmentID)}function so(l,d,S){for(var R=S.completedSegments,N=0;N<R.length;N++){var J=R[N];if(!Mu(l,d,S,J))return N++,R.splice(0,N),!1}return R.splice(0,N),!0}function Mu(l,d,S,R){if(R.status===$a)return!0;var N=R.id;if(N===-1){var J=R.id=S.rootSegmentID;if(J===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return ul(l,d,R)}else return ul(l,d,R),Wn(d,l.responseState,N)}function cl(l,d){try{var S=l.completedRootSegment;S!==null&&l.pendingRootTasks===0&&(Rs(l,d,S),l.completedRootSegment=null,ca(d,l.responseState));var R=l.clientRenderedBoundaries,N;for(N=0;N<R.length;N++){var J=R[N];if(!Iu(l,d,J)){l.destination=null,N++,R.splice(0,N);return}}R.splice(0,N);var ie=l.completedBoundaries;for(N=0;N<ie.length;N++){var Te=ie[N];if(!ur(l,d,Te)){l.destination=null,N++,ie.splice(0,N);return}}ie.splice(0,N);var We=l.partialBoundaries;for(N=0;N<We.length;N++){var tt=We[N];if(!so(l,d,tt)){l.destination=null,N++,We.splice(0,N);return}}We.splice(0,N);var ct=l.completedBoundaries;for(N=0;N<ct.length;N++){var kt=ct[N];if(!ur(l,d,kt)){l.destination=null,N++,ct.splice(0,N);return}}ct.splice(0,N)}finally{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."),_(d))}}function fl(l){v(function(){return eu(l)})}function u(l,d){if(l.status===Yl){l.status=ao,Q(d,l.fatalError);return}if(l.status!==ao&&l.destination===null){l.destination=d;try{cl(l,d)}catch(S){Ca(l,S),bs(l,S)}}}function p(l,d){try{var S=l.abortableTasks;S.forEach(function(R){return sl(R,l,d)}),S.clear(),l.destination!==null&&cl(l,l.destination)}catch(R){Ca(l,R),bs(l,R)}}function k(){}function M(l,d,S,R){var N=!1,J=null,ie="",Te={push:function(kt){return kt!==null&&(ie+=kt),!0},destroy:function(kt){N=!0,J=kt}},We=!1;function tt(){We=!0}var ct=ys(l,to(S,d?d.identifierPrefix:void 0),ar(),1/0,k,void 0,tt,void 0,void 0);if(fl(ct),p(ct,R),u(ct,Te),N)throw J;if(!We)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 ie}function z(l,d){return M(l,d,!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 te(l,d){return M(l,d,!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 ue(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function _e(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}su.renderToNodeStream=ue,su.renderToStaticMarkup=te,su.renderToStaticNodeStream=_e,su.renderToString=z,su.version=t}()),su}var jc={};/**
68
- * @license React
69
- * react-dom-server.browser.development.js
70
- *
71
- * Copyright (c) Facebook, Inc. and its affiliates.
72
- *
73
- * This source code is licensed under the MIT license found in the
74
- * LICENSE file in the root directory of this source tree.
75
- */var ap;function Cw(){return ap||(ap=1,process.env.NODE_ENV!=="production"&&function(){var n=Fe,t="18.2.0",i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function s(u){{for(var p=arguments.length,k=new Array(p>1?p-1:0),M=1;M<p;M++)k[M-1]=arguments[M];h("warn",u,k)}}function a(u){{for(var p=arguments.length,k=new Array(p>1?p-1:0),M=1;M<p;M++)k[M-1]=arguments[M];h("error",u,k)}}function h(u,p,k){{var M=i.ReactDebugCurrentFrame,z=M.getStackAddendum();z!==""&&(p+="%s",k=k.concat([z]));var te=k.map(function(ue){return String(ue)});te.unshift("Warning: "+p),Function.prototype.apply.call(console[u],console,te)}}function v(u){u()}var T=512,x=null,E=0;function L(u){x=new Uint8Array(T),E=0}function _(u,p){if(p.length!==0){if(p.length>T){E>0&&(u.enqueue(new Uint8Array(x.buffer,0,E)),x=new Uint8Array(T),E=0),u.enqueue(p);return}var k=p,M=x.length-E;M<k.length&&(M===0?u.enqueue(x):(x.set(k.subarray(0,M),E),u.enqueue(x),k=k.subarray(M)),x=new Uint8Array(T),E=0),x.set(k,E),E+=k.length}}function H(u,p){return _(u,p),!0}function Y(u){x&&E>0&&(u.enqueue(new Uint8Array(x.buffer,0,E)),x=null,E=0)}function Q(u){u.close()}var ee=new TextEncoder;function Z(u){return ee.encode(u)}function j(u){return ee.encode(u)}function pe(u,p){typeof u.error=="function"?u.error(p):u.close()}function oe(u){{var p=typeof Symbol=="function"&&Symbol.toStringTag,k=p&&u[Symbol.toStringTag]||u.constructor.name||"Object";return k}}function xe(u){try{return se(u),!1}catch{return!0}}function se(u){return""+u}function Ee(u,p){if(xe(u))return a("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",p,oe(u)),se(u)}function m(u,p){if(xe(u))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.",p,oe(u)),se(u)}function ke(u){if(xe(u))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.",oe(u)),se(u)}var Ce=Object.prototype.hasOwnProperty,mt=0,St=1,dt=2,Ke=3,bt=4,Kt=5,_t=6,vt=":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",it=vt+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",At=new RegExp("^["+vt+"]["+it+"]*$"),Oe={},Pe={};function ze(u){return Ce.call(Pe,u)?!0:Ce.call(Oe,u)?!1:At.test(u)?(Pe[u]=!0,!0):(Oe[u]=!0,a("Invalid attribute name: `%s`",u),!1)}function qe(u,p,k,M){if(k!==null&&k.type===mt)return!1;switch(typeof p){case"function":case"symbol":return!0;case"boolean":{if(M)return!1;if(k!==null)return!k.acceptsBooleans;var z=u.toLowerCase().slice(0,5);return z!=="data-"&&z!=="aria-"}default:return!1}}function Ze(u){return Ye.hasOwnProperty(u)?Ye[u]:null}function Ge(u,p,k,M,z,te,ue){this.acceptsBooleans=p===dt||p===Ke||p===bt,this.attributeName=M,this.attributeNamespace=z,this.mustUseProperty=k,this.propertyName=u,this.type=p,this.sanitizeURL=te,this.removeEmptyString=ue}var Ye={},lt=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];lt.forEach(function(u){Ye[u]=new Ge(u,mt,!1,u,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(u){var p=u[0],k=u[1];Ye[p]=new Ge(p,St,!1,k,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(u){Ye[u]=new Ge(u,dt,!1,u.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(u){Ye[u]=new Ge(u,dt,!1,u,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(u){Ye[u]=new Ge(u,Ke,!1,u.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(u){Ye[u]=new Ge(u,Ke,!0,u,null,!1,!1)}),["capture","download"].forEach(function(u){Ye[u]=new Ge(u,bt,!1,u,null,!1,!1)}),["cols","rows","size","span"].forEach(function(u){Ye[u]=new Ge(u,_t,!1,u,null,!1,!1)}),["rowSpan","start"].forEach(function(u){Ye[u]=new Ge(u,Kt,!1,u.toLowerCase(),null,!1,!1)});var yt=/[\-\:]([a-z])/g,ht=function(u){return u[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(u){var p=u.replace(yt,ht);Ye[p]=new Ge(p,St,!1,u,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(u){var p=u.replace(yt,ht);Ye[p]=new Ge(p,St,!1,u,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(u){var p=u.replace(yt,ht);Ye[p]=new Ge(p,St,!1,u,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(u){Ye[u]=new Ge(u,St,!1,u.toLowerCase(),null,!1,!1)});var ut="xlinkHref";Ye[ut]=new Ge("xlinkHref",St,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(u){Ye[u]=new Ge(u,St,!1,u.toLowerCase(),null,!0,!0)});var Ct={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 $e(u,p){return u+p.charAt(0).toUpperCase()+p.substring(1)}var Wt=["Webkit","ms","Moz","O"];Object.keys(Ct).forEach(function(u){Wt.forEach(function(p){Ct[$e(p,u)]=Ct[u]})});var zt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Un(u,p){zt[p.type]||p.onChange||p.onInput||p.readOnly||p.disabled||p.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`."),p.onChange||p.readOnly||p.disabled||p.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 dr(u,p){if(u.indexOf("-")===-1)return typeof p.is=="string";switch(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!1;default:return!0}}var zn={"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},xn={},Ei=new RegExp("^(aria)-["+it+"]*$"),Sr=new RegExp("^(aria)[A-Z]["+it+"]*$");function Jn(u,p){{if(Ce.call(xn,p)&&xn[p])return!0;if(Sr.test(p)){var k="aria-"+p.slice(4).toLowerCase(),M=zn.hasOwnProperty(k)?k:null;if(M==null)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",p),xn[p]=!0,!0;if(p!==M)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",p,M),xn[p]=!0,!0}if(Ei.test(p)){var z=p.toLowerCase(),te=zn.hasOwnProperty(z)?z:null;if(te==null)return xn[p]=!0,!1;if(p!==te)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",p,te),xn[p]=!0,!0}}return!0}function an(u,p){{var k=[];for(var M in p){var z=Jn(u,M);z||k.push(M)}var te=k.map(function(ue){return"`"+ue+"`"}).join(", ");k.length===1?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",te,u):k.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",te,u)}}function un(u,p){dr(u,p)||an(u,p)}var cn=!1;function rt(u,p){{if(u!=="input"&&u!=="textarea"&&u!=="select")return;p!=null&&p.value===null&&!cn&&(cn=!0,u==="select"&&p.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.",u):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",u))}}var _n={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"},ti=function(){};{var on={},ki=/^on./,_i=/^on[^A-Z]/,Ri=new RegExp("^(aria)-["+it+"]*$"),Cr=new RegExp("^(aria)[A-Z]["+it+"]*$");ti=function(u,p,k,M){if(Ce.call(on,p)&&on[p])return!0;var z=p.toLowerCase();if(z==="onfocusin"||z==="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."),on[p]=!0,!0;if(M!=null){var te=M.registrationNameDependencies,ue=M.possibleRegistrationNames;if(te.hasOwnProperty(p))return!0;var _e=ue.hasOwnProperty(z)?ue[z]:null;if(_e!=null)return a("Invalid event handler property `%s`. Did you mean `%s`?",p,_e),on[p]=!0,!0;if(ki.test(p))return a("Unknown event handler property `%s`. It will be ignored.",p),on[p]=!0,!0}else if(ki.test(p))return _i.test(p)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",p),on[p]=!0,!0;if(Ri.test(p)||Cr.test(p))return!0;if(z==="innerhtml")return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),on[p]=!0,!0;if(z==="aria")return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),on[p]=!0,!0;if(z==="is"&&k!==null&&k!==void 0&&typeof k!="string")return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof k),on[p]=!0,!0;if(typeof k=="number"&&isNaN(k))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",p),on[p]=!0,!0;var l=Ze(p),d=l!==null&&l.type===mt;if(_n.hasOwnProperty(z)){var S=_n[z];if(S!==p)return a("Invalid DOM property `%s`. Did you mean `%s`?",p,S),on[p]=!0,!0}else if(!d&&p!==z)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.",p,z),on[p]=!0,!0;return typeof k=="boolean"&&qe(p,k,l,!1)?(k?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()}.',k,p,p,k,p):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.',k,p,p,k,p,p,p),on[p]=!0,!0):d?!0:qe(p,k,l,!1)?(on[p]=!0,!1):((k==="false"||k==="true")&&l!==null&&l.type===Ke&&(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",k,p,k==="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".',p,k),on[p]=!0),!0)}}var Bn=function(u,p,k){{var M=[];for(var z in p){var te=ti(u,z,p[z],k);te||M.push(z)}var ue=M.map(function(_e){return"`"+_e+"`"}).join(", ");M.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 ",ue,u):M.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 ",ue,u)}};function Tr(u,p,k){dr(u,p)||Bn(u,p,k)}var hr=function(){};{var Wr=/^(?:webkit|moz|o)[A-Z]/,Vr=/^-ms-/,po=/-(.)/g,$n=/;\s*$/,Hr={},Kn={},Gt=!1,ni=!1,Ai=function(u){return u.replace(po,function(p,k){return k.toUpperCase()})},Rn=function(u){Hr.hasOwnProperty(u)&&Hr[u]||(Hr[u]=!0,a("Unsupported style property %s. Did you mean %s?",u,Ai(u.replace(Vr,"ms-"))))},fn=function(u){Hr.hasOwnProperty(u)&&Hr[u]||(Hr[u]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",u,u.charAt(0).toUpperCase()+u.slice(1)))},ri=function(u,p){Kn.hasOwnProperty(p)&&Kn[p]||(Kn[p]=!0,a(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,u,p.replace($n,"")))},ii=function(u,p){Gt||(Gt=!0,a("`NaN` is an invalid value for the `%s` css style property.",u))},hn=function(u,p){ni||(ni=!0,a("`Infinity` is an invalid value for the `%s` css style property.",u))};hr=function(u,p){u.indexOf("-")>-1?Rn(u):Wr.test(u)?fn(u):$n.test(p)&&ri(u,p),typeof p=="number"&&(isNaN(p)?ii(u,p):isFinite(p)||hn(u,p))}}var Gi=hr,pr=/["'&<>]/;function oi(u){ke(u);var p=""+u,k=pr.exec(p);if(!k)return p;var M,z="",te,ue=0;for(te=k.index;te<p.length;te++){switch(p.charCodeAt(te)){case 34:M="&quot;";break;case 38:M="&amp;";break;case 39:M="&#x27;";break;case 60:M="&lt;";break;case 62:M="&gt;";break;default:continue}ue!==te&&(z+=p.substring(ue,te)),ue=te+1,z+=M}return ue!==te?z+p.substring(ue,te):z}function sn(u){return typeof u=="boolean"||typeof u=="number"?""+u:oi(u)}var hi=/([A-Z])/g,ia=/^ms-/;function oa(u){return u.replace(hi,"-$1").toLowerCase().replace(ia,"-ms-")}var Ur=/^[\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,Xi=!1;function qi(u){!Xi&&Ur.test(u)&&(Xi=!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(u)))}var go=Array.isArray;function pi(u){return go(u)}var ai=j("<script>"),gi=j("<\/script>"),Zi=j('<script src="'),mi=j('<script type="module" src="'),zr=j('" async=""><\/script>');function gr(u){return ke(u),(""+u).replace(Er,$r)}var Er=/(<\/|<)(s)(cript)/gi,$r=function(u,p,k,M){return""+p+(k==="s"?"\\u0073":"\\u0053")+M};function kr(u,p,k,M,z){var te=u===void 0?"":u,ue=p===void 0?ai:j('<script nonce="'+sn(p)+'">'),_e=[];if(k!==void 0&&_e.push(ue,Z(gr(k)),gi),M!==void 0)for(var l=0;l<M.length;l++)_e.push(Zi,Z(sn(M[l])),zr);if(z!==void 0)for(var d=0;d<z.length;d++)_e.push(mi,Z(sn(z[d])),zr);return{bootstrapChunks:_e,startInlineScript:ue,placeholderPrefix:j(te+"P:"),segmentPrefix:j(te+"S:"),boundaryPrefix:te+"B:",idPrefix:te,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var jn=0,dn=1,_r=2,mr=3,An=4,si=5,Rr=6,Yr=7;function Yn(u,p){return{insertionMode:u,selectedValue:p}}function Gr(u){var p=u==="http://www.w3.org/2000/svg"?_r:u==="http://www.w3.org/1998/Math/MathML"?mr:jn;return Yn(p,null)}function Xr(u,p,k){switch(p){case"select":return Yn(dn,k.value!=null?k.value:k.defaultValue);case"svg":return Yn(_r,null);case"math":return Yn(mr,null);case"foreignObject":return Yn(dn,null);case"table":return Yn(An,null);case"thead":case"tbody":case"tfoot":return Yn(si,null);case"colgroup":return Yn(Yr,null);case"tr":return Yn(Rr,null)}return u.insertionMode>=An||u.insertionMode===jn?Yn(dn,null):u}var Pi=null;function En(u){var p=u.nextSuspenseID++;return j(u.boundaryPrefix+p.toString(16))}function vr(u,p,k){var M=u.idPrefix,z=":"+M+"R"+p;return k>0&&(z+="H"+k.toString(32)),z+":"}function ir(u){return sn(u)}var mo=j("<!-- -->");function Di(u,p,k,M){return p===""?M:(M&&u.push(mo),u.push(Z(ir(p))),!0)}function Ar(u,p,k,M){k&&M&&u.push(mo)}var y=new Map;function D(u){var p=y.get(u);if(p!==void 0)return p;var k=j(sn(oa(u)));return y.set(u,k),k}var V=j(' style="'),q=j(":"),we=j(";");function de(u,p,k){if(typeof k!="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 M=!0;for(var z in k)if(Ce.call(k,z)){var te=k[z];if(!(te==null||typeof te=="boolean"||te==="")){var ue=void 0,_e=void 0,l=z.indexOf("--")===0;l?(ue=Z(sn(z)),m(te,z),_e=Z(sn((""+te).trim()))):(Gi(z,te),ue=D(z),typeof te=="number"?te!==0&&!Ce.call(Ct,z)?_e=Z(te+"px"):_e=Z(""+te):(m(te,z),_e=Z(sn((""+te).trim())))),M?(M=!1,u.push(V,ue,q,_e)):u.push(we,ue,q,_e)}}M||u.push(ot)}var Re=j(" "),He=j('="'),ot=j('"'),pt=j('=""');function at(u,p,k,M){switch(k){case"style":{de(u,p,M);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(k.length>2&&(k[0]==="o"||k[0]==="O")&&(k[1]==="n"||k[1]==="N"))){var z=Ze(k);if(z!==null){switch(typeof M){case"function":case"symbol":return;case"boolean":if(!z.acceptsBooleans)return}var te=z.attributeName,ue=Z(te);switch(z.type){case Ke:M&&u.push(Re,ue,pt);return;case bt:M===!0?u.push(Re,ue,pt):M===!1||u.push(Re,ue,He,Z(sn(M)),ot);return;case Kt:isNaN(M)||u.push(Re,ue,He,Z(sn(M)),ot);break;case _t:!isNaN(M)&&M>=1&&u.push(Re,ue,He,Z(sn(M)),ot);break;default:z.sanitizeURL&&(Ee(M,te),M=""+M,qi(M)),u.push(Re,ue,He,Z(sn(M)),ot)}}else if(ze(k)){switch(typeof M){case"function":case"symbol":return;case"boolean":{var _e=k.toLowerCase().slice(0,5);if(_e!=="data-"&&_e!=="aria-")return}}u.push(Re,Z(k),He,Z(sn(M)),ot)}}}var jt=j(">"),Gn=j("/>");function Nn(u,p,k){if(p!=null){if(k!=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 M=p.__html;M!=null&&(ke(M),u.push(Z(""+M)))}}var wn=!1,Pr=!1,Qn=!1,Ii=!1,li=!1,Mi=!1,Dr=!1;function vo(u,p){{var k=u[p];if(k!=null){var M=pi(k);u.multiple&&!M?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.",p):!u.multiple&&M&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",p)}}}function es(u,p,k){Un("select",p),vo(p,"value"),vo(p,"defaultValue"),p.value!==void 0&&p.defaultValue!==void 0&&!Qn&&(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"),Qn=!0),u.push(or("select"));var M=null,z=null;for(var te in p)if(Ce.call(p,te)){var ue=p[te];if(ue==null)continue;switch(te){case"children":M=ue;break;case"dangerouslySetInnerHTML":z=ue;break;case"defaultValue":case"value":break;default:at(u,k,te,ue);break}}return u.push(jt),Nn(u,z,M),M}function aa(u){var p="";return n.Children.forEach(u,function(k){k!=null&&(p+=k,!li&&typeof k!="string"&&typeof k!="number"&&(li=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),p}var sa=j(' selected=""');function la(u,p,k,M){var z=M.selectedValue;u.push(or("option"));var te=null,ue=null,_e=null,l=null;for(var d in p)if(Ce.call(p,d)){var S=p[d];if(S==null)continue;switch(d){case"children":te=S;break;case"selected":_e=S,Dr||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Dr=!0);break;case"dangerouslySetInnerHTML":l=S;break;case"value":ue=S;default:at(u,k,d,S);break}}if(z!=null){var R;if(ue!==null?(Ee(ue,"value"),R=""+ue):(l!==null&&(Mi||(Mi=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),R=aa(te)),pi(z))for(var N=0;N<z.length;N++){Ee(z[N],"value");var J=""+z[N];if(J===R){u.push(sa);break}}else Ee(z,"select.value"),""+z===R&&u.push(sa)}else _e&&u.push(sa);return u.push(jt),Nn(u,l,te),te}function ua(u,p,k){Un("input",p),p.checked!==void 0&&p.defaultChecked!==void 0&&!Pr&&(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",p.type),Pr=!0),p.value!==void 0&&p.defaultValue!==void 0&&!wn&&(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",p.type),wn=!0),u.push(or("input"));var M=null,z=null,te=null,ue=null;for(var _e in p)if(Ce.call(p,_e)){var l=p[_e];if(l==null)continue;switch(_e){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":ue=l;break;case"defaultValue":z=l;break;case"checked":te=l;break;case"value":M=l;break;default:at(u,k,_e,l);break}}return te!==null?at(u,k,"checked",te):ue!==null&&at(u,k,"checked",ue),M!==null?at(u,k,"value",M):z!==null&&at(u,k,"value",z),u.push(Gn),null}function ui(u,p,k){Un("textarea",p),p.value!==void 0&&p.defaultValue!==void 0&&!Ii&&(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"),Ii=!0),u.push(or("textarea"));var M=null,z=null,te=null;for(var ue in p)if(Ce.call(p,ue)){var _e=p[ue];if(_e==null)continue;switch(ue){case"children":te=_e;break;case"value":M=_e;break;case"defaultValue":z=_e;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:at(u,k,ue,_e);break}}if(M===null&&z!==null&&(M=z),u.push(jt),te!=null){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),M!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(pi(te)){if(te.length>1)throw new Error("<textarea> can only have at most one child.");ke(te[0]),M=""+te[0]}ke(te),M=""+te}return typeof M=="string"&&M[0]===`
76
- `&&u.push(vi),M!==null&&(Ee(M,"value"),u.push(Z(ir(""+M)))),null}function yo(u,p,k,M){u.push(or(k));for(var z in p)if(Ce.call(p,z)){var te=p[z];if(te==null)continue;switch(z){case"children":case"dangerouslySetInnerHTML":throw new Error(k+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:at(u,M,z,te);break}}return u.push(Gn),null}function Bo(u,p,k){u.push(or("menuitem"));for(var M in p)if(Ce.call(p,M)){var z=p[M];if(z==null)continue;switch(M){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:at(u,k,M,z);break}}return u.push(jt),null}function nn(u,p,k){u.push(or("title"));var M=null;for(var z in p)if(Ce.call(p,z)){var te=p[z];if(te==null)continue;switch(z){case"children":M=te;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:at(u,k,z,te);break}}u.push(jt);{var ue=Array.isArray(M)&&M.length<2?M[0]||null:M;Array.isArray(M)&&M.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"):ue!=null&&ue.$$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"):ue!=null&&typeof ue!="string"&&typeof ue!="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 M}function Xt(u,p,k,M){u.push(or(k));var z=null,te=null;for(var ue in p)if(Ce.call(p,ue)){var _e=p[ue];if(_e==null)continue;switch(ue){case"children":z=_e;break;case"dangerouslySetInnerHTML":te=_e;break;default:at(u,M,ue,_e);break}}return u.push(jt),Nn(u,te,z),typeof z=="string"?(u.push(Z(ir(z))),null):z}function Bt(u,p,k,M){u.push(or(k));var z=null,te=null;for(var ue in p)if(Ce.call(p,ue)){var _e=p[ue];if(_e==null)continue;switch(ue){case"children":z=_e;break;case"dangerouslySetInnerHTML":te=_e;break;case"style":de(u,M,_e);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ze(ue)&&typeof _e!="function"&&typeof _e!="symbol"&&u.push(Re,Z(ue),He,Z(sn(_e)),ot);break}}return u.push(jt),Nn(u,te,z),z}var vi=j(`
77
- `);function qr(u,p,k,M){u.push(or(k));var z=null,te=null;for(var ue in p)if(Ce.call(p,ue)){var _e=p[ue];if(_e==null)continue;switch(ue){case"children":z=_e;break;case"dangerouslySetInnerHTML":te=_e;break;default:at(u,M,ue,_e);break}}if(u.push(jt),te!=null){if(z!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof te!="object"||!("__html"in te))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 l=te.__html;l!=null&&(typeof l=="string"&&l.length>0&&l[0]===`
78
- `?u.push(vi,Z(l)):(ke(l),u.push(Z(""+l))))}return typeof z=="string"&&z[0]===`
79
- `&&u.push(vi),z}var bo=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ci=new Map;function or(u){var p=ci.get(u);if(p===void 0){if(!bo.test(u))throw new Error("Invalid tag: "+u);p=j("<"+u),ci.set(u,p)}return p}var ca=j("<!DOCTYPE html>");function jo(u,p,k,M,z){switch(un(p,k),rt(p,k),Tr(p,k,null),!k.suppressContentEditableWarning&&k.contentEditable&&k.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."),z.insertionMode!==_r&&z.insertionMode!==mr&&p.indexOf("-")===-1&&typeof k.is!="string"&&p.toLowerCase()!==p&&a("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",p),p){case"select":return es(u,k,M);case"option":return la(u,k,M,z);case"textarea":return ui(u,k,M);case"input":return ua(u,k,M);case"menuitem":return Bo(u,k,M);case"title":return nn(u,k,M);case"listing":case"pre":return qr(u,k,p,M);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 yo(u,k,p,M);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 Xt(u,k,p,M);case"html":return z.insertionMode===jn&&u.push(ca),Xt(u,k,p,M);default:return p.indexOf("-")===-1&&typeof k.is!="string"?Xt(u,k,p,M):Bt(u,k,p,M)}}var Ra=j("</"),pn=j(">");function xo(u,p,k){switch(p){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:u.push(Ra,Z(p),pn)}}function fi(u,p){for(var k=p.bootstrapChunks,M=0;M<k.length-1;M++)_(u,k[M]);return M<k.length?H(u,k[M]):!0}var Aa=j('<template id="'),Ji=j('"></template>');function Xn(u,p,k){_(u,Aa),_(u,p.placeholderPrefix);var M=Z(k.toString(16));return _(u,M),H(u,Ji)}var o=j("<!--$-->"),c=j('<!--$?--><template id="'),g=j('"></template>'),w=j("<!--$!-->"),P=j("<!--/$-->"),I=j("<template"),F=j('"'),re=j(' data-dgst="'),K=j(' data-msg="'),he=j(' data-stck="'),Ae=j("></template>");function De(u,p){return H(u,o)}function ye(u,p,k){if(_(u,c),k===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return _(u,k),H(u,g)}function Be(u,p,k,M,z){var te;return te=H(u,w),_(u,I),k&&(_(u,re),_(u,Z(sn(k))),_(u,F)),M&&(_(u,K),_(u,Z(sn(M))),_(u,F)),z&&(_(u,he),_(u,Z(sn(z))),_(u,F)),te=H(u,Ae),te}function Je(u,p){return H(u,P)}function Et(u,p){return H(u,P)}function Pt(u,p){return H(u,P)}var Pn=j('<div hidden id="'),ln=j('">'),Ir=j("</div>"),Mr=j('<svg aria-hidden="true" style="display:none" id="'),Nt=j('">'),Or=j("</svg>"),Vt=j('<math aria-hidden="true" style="display:none" id="'),en=j('">'),Ki=j("</math>"),Qi=j('<table hidden id="'),yr=j('">'),b=j("</table>"),A=j('<table hidden><tbody id="'),B=j('">'),X=j("</tbody></table>"),me=j('<table hidden><tr id="'),ve=j('">'),Ie=j("</tr></table>"),Ve=j('<table hidden><colgroup id="'),st=j('">'),Lt=j("</colgroup></table>");function Tt(u,p,k,M){switch(k.insertionMode){case jn:case dn:return _(u,Pn),_(u,p.segmentPrefix),_(u,Z(M.toString(16))),H(u,ln);case _r:return _(u,Mr),_(u,p.segmentPrefix),_(u,Z(M.toString(16))),H(u,Nt);case mr:return _(u,Vt),_(u,p.segmentPrefix),_(u,Z(M.toString(16))),H(u,en);case An:return _(u,Qi),_(u,p.segmentPrefix),_(u,Z(M.toString(16))),H(u,yr);case si:return _(u,A),_(u,p.segmentPrefix),_(u,Z(M.toString(16))),H(u,B);case Rr:return _(u,me),_(u,p.segmentPrefix),_(u,Z(M.toString(16))),H(u,ve);case Yr:return _(u,Ve),_(u,p.segmentPrefix),_(u,Z(M.toString(16))),H(u,st);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function gt(u,p){switch(p.insertionMode){case jn:case dn:return H(u,Ir);case _r:return H(u,Or);case mr:return H(u,Ki);case An:return H(u,b);case si:return H(u,X);case Rr:return H(u,Ie);case Yr:return H(u,Lt);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var On="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)}",yn='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()}}',Wn='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())}',No=j(On+';$RS("'),Pa=j('$RS("'),Wo=j('","'),Zr=j('")<\/script>');function ts(u,p,k){_(u,p.startInlineScript),p.sentCompleteSegmentFunction?_(u,Pa):(p.sentCompleteSegmentFunction=!0,_(u,No)),_(u,p.segmentPrefix);var M=Z(k.toString(16));return _(u,M),_(u,Wo),_(u,p.placeholderPrefix),_(u,M),H(u,Zr)}var eo=j(yn+';$RC("'),Da=j('$RC("'),Vo=j('","'),di=j('")<\/script>');function Oi(u,p,k,M){if(_(u,p.startInlineScript),p.sentCompleteBoundaryFunction?_(u,Da):(p.sentCompleteBoundaryFunction=!0,_(u,eo)),k===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var z=Z(M.toString(16));return _(u,k),_(u,Vo),_(u,p.segmentPrefix),_(u,z),H(u,di)}var ns=j(Wn+';$RX("'),El=j('$RX("'),Ho=j('"'),to=j(")<\/script>"),ar=j(",");function rs(u,p,k,M,z,te){if(_(u,p.startInlineScript),p.sentClientRenderFunction?_(u,El):(p.sentClientRenderFunction=!0,_(u,ns)),k===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return _(u,k),_(u,Ho),(M||z||te)&&(_(u,ar),_(u,Z(Ma(M||"")))),(z||te)&&(_(u,ar),_(u,Z(Ma(z||"")))),te&&(_(u,ar),_(u,Z(Ma(te)))),H(u,to)}var Ia=/[<\u2028\u2029]/g;function Ma(u){var p=JSON.stringify(u);return p.replace(Ia,function(k){switch(k){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 G=Object.assign,fe=Symbol.for("react.element"),Se=Symbol.for("react.portal"),be=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),le=Symbol.for("react.profiler"),ae=Symbol.for("react.provider"),Me=Symbol.for("react.context"),Le=Symbol.for("react.forward_ref"),Qe=Symbol.for("react.suspense"),et=Symbol.for("react.suspense_list"),Xe=Symbol.for("react.memo"),Dt=Symbol.for("react.lazy"),xt=Symbol.for("react.scope"),Ht=Symbol.for("react.debug_trace_mode"),Dn=Symbol.for("react.legacy_hidden"),er=Symbol.for("react.default_value"),Vn=Symbol.iterator,Lr="@@iterator";function Li(u){if(u===null||typeof u!="object")return null;var p=Vn&&u[Vn]||u[Lr];return typeof p=="function"?p:null}function It(u,p,k){var M=u.displayName;if(M)return M;var z=p.displayName||p.name||"";return z!==""?k+"("+z+")":k}function mu(u){return u.displayName||"Context"}function Sn(u){if(u==null)return null;if(typeof u.tag=="number"&&a("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case be:return"Fragment";case Se:return"Portal";case le:return"Profiler";case $:return"StrictMode";case Qe:return"Suspense";case et:return"SuspenseList"}if(typeof u=="object")switch(u.$$typeof){case Me:var p=u;return mu(p)+".Consumer";case ae:var k=u;return mu(k._context)+".Provider";case Le:return It(u,u.render,"ForwardRef");case Xe:var M=u.displayName||null;return M!==null?M:Sn(u.type)||"Memo";case Dt:{var z=u,te=z._payload,ue=z._init;try{return Sn(ue(te))}catch{return null}}}return null}var Uo=0,kl,Cn,Oa,La,no,Fa,Ws;function Ba(){}Ba.__reactDisabledLog=!0;function _l(){{if(Uo===0){kl=console.log,Cn=console.info,Oa=console.warn,La=console.error,no=console.group,Fa=console.groupCollapsed,Ws=console.groupEnd;var u={configurable:!0,enumerable:!0,value:Ba,writable:!0};Object.defineProperties(console,{info:u,log:u,warn:u,error:u,group:u,groupCollapsed:u,groupEnd:u})}Uo++}}function Rl(){{if(Uo--,Uo===0){var u={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:G({},u,{value:kl}),info:G({},u,{value:Cn}),warn:G({},u,{value:Oa}),error:G({},u,{value:La}),group:G({},u,{value:no}),groupCollapsed:G({},u,{value:Fa}),groupEnd:G({},u,{value:Ws})})}Uo<0&&a("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var fa=i.ReactCurrentDispatcher,Vs;function wo(u,p,k){{if(Vs===void 0)try{throw Error()}catch(z){var M=z.stack.trim().match(/\n( *(at )?)/);Vs=M&&M[1]||""}return`
80
- `+Vs+u}}var Fi=!1,So;{var is=typeof WeakMap=="function"?WeakMap:Map;So=new is}function os(u,p){if(!u||Fi)return"";{var k=So.get(u);if(k!==void 0)return k}var M;Fi=!0;var z=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var te;te=fa.current,fa.current=null,_l();try{if(p){var ue=function(){throw Error()};if(Object.defineProperty(ue.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ue,[])}catch(ie){M=ie}Reflect.construct(u,[],ue)}else{try{ue.call()}catch(ie){M=ie}u.call(ue.prototype)}}else{try{throw Error()}catch(ie){M=ie}u()}}catch(ie){if(ie&&M&&typeof ie.stack=="string"){for(var _e=ie.stack.split(`
81
- `),l=M.stack.split(`
82
- `),d=_e.length-1,S=l.length-1;d>=1&&S>=0&&_e[d]!==l[S];)S--;for(;d>=1&&S>=0;d--,S--)if(_e[d]!==l[S]){if(d!==1||S!==1)do if(d--,S--,S<0||_e[d]!==l[S]){var R=`
83
- `+_e[d].replace(" at new "," at ");return u.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",u.displayName)),typeof u=="function"&&So.set(u,R),R}while(d>=1&&S>=0);break}}}finally{Fi=!1,fa.current=te,Rl(),Error.prepareStackTrace=z}var N=u?u.displayName||u.name:"",J=N?wo(N):"";return typeof u=="function"&&So.set(u,J),J}function Hs(u,p,k){return os(u,!0)}function as(u,p,k){return os(u,!1)}function ja(u){var p=u.prototype;return!!(p&&p.isReactComponent)}function ss(u,p,k){if(u==null)return"";if(typeof u=="function")return os(u,ja(u));if(typeof u=="string")return wo(u);switch(u){case Qe:return wo("Suspense");case et:return wo("SuspenseList")}if(typeof u=="object")switch(u.$$typeof){case Le:return as(u.render);case Xe:return ss(u.type,p,k);case Dt:{var M=u,z=M._payload,te=M._init;try{return ss(te(z),p,k)}catch{}}}return""}var Al={},Pl=i.ReactDebugCurrentFrame;function Na(u){if(u){var p=u._owner,k=ss(u.type,u._source,p?p.type:null);Pl.setExtraStackFrame(k)}else Pl.setExtraStackFrame(null)}function Dl(u,p,k,M,z){{var te=Function.call.bind(Ce);for(var ue in u)if(te(u,ue)){var _e=void 0;try{if(typeof u[ue]!="function"){var l=Error((M||"React class")+": "+k+" type `"+ue+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof u[ue]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}_e=u[ue](p,ue,M,k,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(d){_e=d}_e&&!(_e instanceof Error)&&(Na(z),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).",M||"React class",k,ue,typeof _e),Na(null)),_e instanceof Error&&!(_e.message in Al)&&(Al[_e.message]=!0,Na(z),a("Failed %s type: %s",k,_e.message),Na(null))}}}var In;In={};var Mn={};Object.freeze(Mn);function Il(u,p){{var k=u.contextTypes;if(!k)return Mn;var M={};for(var z in k)M[z]=p[z];{var te=Sn(u)||"Unknown";Dl(k,M,"context",te)}return M}}function Ml(u,p,k,M){{if(typeof u.getChildContext!="function"){{var z=Sn(p)||"Unknown";In[z]||(In[z]=!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.",z,z))}return k}var te=u.getChildContext();for(var ue in te)if(!(ue in M))throw new Error((Sn(p)||"Unknown")+'.getChildContext(): key "'+ue+'" is not defined in childContextTypes.');{var _e=Sn(p)||"Unknown";Dl(M,te,"child context",_e)}return G({},k,te)}}var Co;Co={};var vu=null,To=null;function Bi(u){u.context._currentValue=u.parentValue}function ls(u){u.context._currentValue=u.value}function Fr(u,p){if(u!==p){Bi(u);var k=u.parent,M=p.parent;if(k===null){if(M!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(M===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");Fr(k,M)}ls(p)}}function zo(u){Bi(u);var p=u.parent;p!==null&&zo(p)}function $o(u){var p=u.parent;p!==null&&$o(p),ls(u)}function Yo(u,p){Bi(u);var k=u.parent;if(k===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");k.depth===p.depth?Fr(k,p):Yo(k,p)}function Go(u,p){var k=p.parent;if(k===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");u.depth===k.depth?Fr(u,k):Go(u,k),ls(p)}function us(u){var p=To,k=u;p!==k&&(p===null?$o(k):k===null?zo(p):p.depth===k.depth?Fr(p,k):p.depth>k.depth?Yo(p,k):Go(p,k),To=k)}function yu(u,p){var k;k=u._currentValue,u._currentValue=p,u._currentRenderer!==void 0&&u._currentRenderer!==null&&u._currentRenderer!==Co&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),u._currentRenderer=Co;var M=To,z={parent:M,depth:M===null?0:M.depth+1,context:u,parentValue:k,value:p};return To=z,z}function bu(u){var p=To;if(p===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");p.context!==u&&a("The parent context is not the expected context. This is probably a bug in React.");{var k=p.parentValue;k===er?p.context._currentValue=p.context._defaultValue:p.context._currentValue=k,u._currentRenderer!==void 0&&u._currentRenderer!==null&&u._currentRenderer!==Co&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),u._currentRenderer=Co}return To=p.parent}function Us(){return To}function cs(u){var p=u._currentValue;return p}function Wa(u){return u._reactInternals}function fs(u,p){u._reactInternals=p}var da={},W={},Xo,ha,Br,$t,zs,Va,ds,ro,Ha;{Xo=new Set,ha=new Set,Br=new Set,ds=new Set,$t=new Set,ro=new Set,Ha=new Set;var $s=new Set;Va=function(u,p){if(!(u===null||typeof u=="function")){var k=p+"_"+u;$s.has(k)||($s.add(k),a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",p,u))}},zs=function(u,p){if(p===void 0){var k=Sn(u)||"Component";$t.has(k)||($t.add(k),a("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",k))}}}function Ys(u,p){{var k=u.constructor,M=k&&Sn(k)||"ReactClass",z=M+"."+p;if(da[z])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.
84
-
85
- Please check the code for the %s component.`,p,p,M),da[z]=!0}}var Gs={isMounted:function(u){return!1},enqueueSetState:function(u,p,k){var M=Wa(u);M.queue===null?Ys(u,"setState"):(M.queue.push(p),k!=null&&Va(k,"setState"))},enqueueReplaceState:function(u,p,k){var M=Wa(u);M.replace=!0,M.queue=[p],k!=null&&Va(k,"setState")},enqueueForceUpdate:function(u,p){var k=Wa(u);k.queue===null?Ys(u,"forceUpdate"):p!=null&&Va(p,"setState")}};function xu(u,p,k,M,z){var te=k(z,M);zs(p,te);var ue=te==null?M:G({},M,te);return ue}function io(u,p,k){var M=Mn,z=u.contextType;if("contextType"in u){var te=z===null||z!==void 0&&z.$$typeof===Me&&z._context===void 0;if(!te&&!Ha.has(u)){Ha.add(u);var ue="";z===void 0?ue=" 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 z!="object"?ue=" However, it is set to a "+typeof z+".":z.$$typeof===ae?ue=" Did you accidentally pass the Context.Provider instead?":z._context!==void 0?ue=" Did you accidentally pass the Context.Consumer instead?":ue=" However, it is set to an object with keys {"+Object.keys(z).join(", ")+"}.",a("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Sn(u)||"Component",ue)}}typeof z=="object"&&z!==null?M=cs(z):M=k;var _e=new u(p,M);{if(typeof u.getDerivedStateFromProps=="function"&&(_e.state===null||_e.state===void 0)){var l=Sn(u)||"Component";Xo.has(l)||(Xo.add(l),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.",l,_e.state===null?"null":"undefined",l))}if(typeof u.getDerivedStateFromProps=="function"||typeof _e.getSnapshotBeforeUpdate=="function"){var d=null,S=null,R=null;if(typeof _e.componentWillMount=="function"&&_e.componentWillMount.__suppressDeprecationWarning!==!0?d="componentWillMount":typeof _e.UNSAFE_componentWillMount=="function"&&(d="UNSAFE_componentWillMount"),typeof _e.componentWillReceiveProps=="function"&&_e.componentWillReceiveProps.__suppressDeprecationWarning!==!0?S="componentWillReceiveProps":typeof _e.UNSAFE_componentWillReceiveProps=="function"&&(S="UNSAFE_componentWillReceiveProps"),typeof _e.componentWillUpdate=="function"&&_e.componentWillUpdate.__suppressDeprecationWarning!==!0?R="componentWillUpdate":typeof _e.UNSAFE_componentWillUpdate=="function"&&(R="UNSAFE_componentWillUpdate"),d!==null||S!==null||R!==null){var N=Sn(u)||"Component",J=typeof u.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Br.has(N)||(Br.add(N),a(`Unsafe legacy lifecycles will not be called for components using new component APIs.
86
-
87
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
88
-
89
- The above lifecycles should be removed. Learn more about this warning here:
90
- https://reactjs.org/link/unsafe-component-lifecycles`,N,J,d!==null?`
91
- `+d:"",S!==null?`
92
- `+S:"",R!==null?`
93
- `+R:""))}}}return _e}function wu(u,p,k){{var M=Sn(p)||"Component",z=u.render;z||(p.prototype&&typeof p.prototype.render=="function"?a("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",M):a("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",M)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.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?",M),u.getDefaultProps&&!u.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.",M),u.propTypes&&a("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",M),u.contextType&&a("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",M),u.contextTypes&&a("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",M),p.contextType&&p.contextTypes&&!ro.has(p)&&(ro.add(p),a("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",M)),typeof u.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.",M),p.prototype&&p.prototype.isPureReactComponent&&typeof u.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.",Sn(p)||"A pure component"),typeof u.componentDidUnmount=="function"&&a("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",M),typeof u.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().",M),typeof u.componentWillRecieveProps=="function"&&a("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",M),typeof u.UNSAFE_componentWillRecieveProps=="function"&&a("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",M);var te=u.props!==k;u.props!==void 0&&te&&a("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",M,M),u.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.",M,M),typeof u.getSnapshotBeforeUpdate=="function"&&typeof u.componentDidUpdate!="function"&&!ha.has(p)&&(ha.add(p),a("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Sn(p))),typeof u.getDerivedStateFromProps=="function"&&a("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",M),typeof u.getDerivedStateFromError=="function"&&a("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",M),typeof p.getSnapshotBeforeUpdate=="function"&&a("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",M);var ue=u.state;ue&&(typeof ue!="object"||pi(ue))&&a("%s.state: must be set to an object or null",M),typeof u.getChildContext=="function"&&typeof p.childContextTypes!="object"&&a("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",M)}}function Xu(u,p){var k=p.state;if(typeof p.componentWillMount=="function"){if(p.componentWillMount.__suppressDeprecationWarning!==!0){var M=Sn(u)||"Unknown";W[M]||(s(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
94
-
95
- * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
96
-
97
- Please update the following components: %s`,M),W[M]=!0)}p.componentWillMount()}typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),k!==p.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Sn(u)||"Component"),Gs.enqueueReplaceState(p,p.state,null))}function qu(u,p,k,M){if(u.queue!==null&&u.queue.length>0){var z=u.queue,te=u.replace;if(u.queue=null,u.replace=!1,te&&z.length===1)p.state=z[0];else{for(var ue=te?z[0]:p.state,_e=!0,l=te?1:0;l<z.length;l++){var d=z[l],S=typeof d=="function"?d.call(p,ue,k,M):d;S!=null&&(_e?(_e=!1,ue=G({},ue,S)):G(ue,S))}p.state=ue}}else u.queue=null}function Su(u,p,k,M){wu(u,p,k);var z=u.state!==void 0?u.state:null;u.updater=Gs,u.props=k,u.state=z;var te={queue:[],replace:!1};fs(u,te);var ue=p.contextType;if(typeof ue=="object"&&ue!==null?u.context=cs(ue):u.context=M,u.state===k){var _e=Sn(p)||"Component";ds.has(_e)||(ds.add(_e),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.",_e))}var l=p.getDerivedStateFromProps;typeof l=="function"&&(u.state=xu(u,p,l,z,k)),typeof p.getDerivedStateFromProps!="function"&&typeof u.getSnapshotBeforeUpdate!="function"&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function")&&(Xu(p,u),qu(te,u,k,M))}var Zu={id:1,overflow:""};function Eo(u){var p=u.overflow,k=u.id,M=k&~Ju(k);return M.toString(32)+p}function Xs(u,p,k){var M=u.id,z=u.overflow,te=qs(M)-1,ue=M&~(1<<te),_e=k+1,l=qs(p)+te;if(l>30){var d=te-te%5,S=(1<<d)-1,R=(ue&S).toString(32),N=ue>>d,J=te-d,ie=qs(p)+J,Te=_e<<J,We=Te|N,tt=R+z;return{id:1<<ie|We,overflow:tt}}else{var ct=_e<<te,kt=ct|ue,bn=z;return{id:1<<l|kt,overflow:bn}}}function qs(u){return 32-Ol(u)}function Ju(u){return 1<<qs(u)-1}var Ol=Math.clz32?Math.clz32:Ku,Zs=Math.log,pa=Math.LN2;function Ku(u){var p=u>>>0;return p===0?32:31-(Zs(p)/pa|0)|0}function Qu(u,p){return u===p&&(u!==0||1/u===1/p)||u!==u&&p!==p}var ji=typeof Object.is=="function"?Object.is:Qu,ko=null,Ll=null,Js=null,Jt=null,ga=!1,qo=!1,rn=0,yi=null,ma=0,Ua=25,Ln=!1,bi;function va(){if(ko===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:
98
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
99
- 2. You might be breaking the Rules of Hooks
100
- 3. You might have more than one copy of React in the same app
101
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Ln&&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"),ko}function Ni(u,p){if(p===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.",bi),!1;u.length!==p.length&&a(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
102
-
103
- Previous: %s
104
- Incoming: %s`,bi,"["+u.join(", ")+"]","["+p.join(", ")+"]");for(var k=0;k<p.length&&k<u.length;k++)if(!ji(u[k],p[k]))return!1;return!0}function ya(){if(ma>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function sr(){return Jt===null?Js===null?(ga=!1,Js=Jt=ya()):(ga=!0,Jt=Js):Jt.next===null?(ga=!1,Jt=Jt.next=ya()):(ga=!0,Jt=Jt.next),Jt}function Fl(u,p){ko=p,Ll=u,Ln=!1,rn=0}function Zo(u,p,k,M){for(;qo;)qo=!1,rn=0,ma+=1,Jt=null,k=u(p,M);return Bl(),k}function jr(){var u=rn!==0;return u}function Bl(){Ln=!1,ko=null,Ll=null,qo=!1,Js=null,ma=0,yi=null,Jt=null}function Cu(u){return Ln&&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()."),cs(u)}function jl(u){return bi="useContext",va(),cs(u)}function _o(u,p){return typeof p=="function"?p(u):p}function Jo(u){return bi="useState",Nl(_o,u)}function Nl(u,p,k){if(u!==_o&&(bi="useReducer"),ko=va(),Jt=sr(),ga){var M=Jt.queue,z=M.dispatch;if(yi!==null){var te=yi.get(M);if(te!==void 0){yi.delete(M);var ue=Jt.memoizedState,_e=te;do{var l=_e.action;Ln=!0,ue=u(ue,l),Ln=!1,_e=_e.next}while(_e!==null);return Jt.memoizedState=ue,[ue,z]}}return[Jt.memoizedState,z]}else{Ln=!0;var d;u===_o?d=typeof p=="function"?p():p:d=k!==void 0?k(p):p,Ln=!1,Jt.memoizedState=d;var S=Jt.queue={last:null,dispatch:null},R=S.dispatch=Wl.bind(null,ko,S);return[Jt.memoizedState,R]}}function Ks(u,p){ko=va(),Jt=sr();var k=p===void 0?null:p;if(Jt!==null){var M=Jt.memoizedState;if(M!==null&&k!==null){var z=M[1];if(Ni(k,z))return M[0]}}Ln=!0;var te=u();return Ln=!1,Jt.memoizedState=[te,k],te}function Qs(u){ko=va(),Jt=sr();var p=Jt.memoizedState;if(p===null){var k={current:u};return Object.seal(k),Jt.memoizedState=k,k}else return p}function Tu(u,p){bi="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 Wl(u,p,k){if(ma>=Ua)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(u===ko){qo=!0;var M={action:k,next:null};yi===null&&(yi=new Map);var z=yi.get(p);if(z===void 0)yi.set(p,M);else{for(var te=z;te.next!==null;)te=te.next;te.next=M}}}function lr(u,p){return Ks(function(){return u},p)}function Vl(u,p,k){return va(),p(u._source)}function Eu(u,p,k){if(k===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return k()}function oo(u){return va(),u}function Hl(){throw new Error("startTransition cannot be called during server rendering.")}function el(){return va(),[!1,Hl]}function ba(){var u=Ll,p=Eo(u.treeContext),k=ps;if(k===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var M=rn++;return vr(k,p,M)}function hs(){}var br={readContext:Cu,useContext:jl,useMemo:Ks,useReducer:Nl,useRef:Qs,useState:Jo,useInsertionEffect:hs,useLayoutEffect:Tu,useCallback:lr,useImperativeHandle:hs,useEffect:hs,useDebugValue:hs,useDeferredValue:oo,useTransition:el,useId:ba,useMutableSource:Vl,useSyncExternalStore:Eu},ps=null;function gs(u){ps=u}function ku(u){try{var p="",k=u;do{switch(k.tag){case 0:p+=wo(k.type,null,null);break;case 1:p+=as(k.type,null,null);break;case 2:p+=Hs(k.type,null,null);break}k=k.parent}while(k);return p}catch(M){return`
105
- Error generating stack: `+M.message+`
106
- `+M.stack}}var ms=i.ReactCurrentDispatcher,za=i.ReactDebugCurrentFrame,Ul=0,xi=1,vs=2,tl=3,xa=4,$a=0,zl=1,wa=2,$l=12800;function Yl(u){return console.error(u),null}function ao(){}function ec(u,p,k,M,z,te,ue,_e,l){var d=[],S=new Set,R={destination:null,responseState:p,progressiveChunkSize:M===void 0?$l:M,status:$a,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:S,pingedTasks:d,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:z===void 0?Yl:z,onAllReady:te===void 0?ao:te,onShellReady:ue===void 0?ao:ue,onShellError:_e===void 0?ao:_e,onFatalError:l===void 0?ao:l},N=nl(R,0,null,k,!1,!1);N.parentFlushed=!0;var J=ys(R,u,null,N,S,Mn,vu,Zu);return d.push(J),R}function tc(u,p){var k=u.pingedTasks;k.push(p),k.length===1&&v(function(){return ks(u)})}function Ya(u,p){return{id:Pi,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:p,errorDigest:null}}function ys(u,p,k,M,z,te,ue,_e){u.allPendingTasks++,k===null?u.pendingRootTasks++:k.pendingTasks++;var l={node:p,ping:function(){return tc(u,l)},blockedBoundary:k,blockedSegment:M,abortSet:z,legacyContext:te,context:ue,treeContext:_e};return l.componentStack=null,z.add(l),l}function nl(u,p,k,M,z,te){return{status:Ul,id:-1,index:p,parentFlushed:!1,chunks:[],children:[],formatContext:M,boundary:k,lastPushedText:z,textEmbedded:te}}var Wi=null;function Ga(){return Wi===null||Wi.componentStack===null?"":ku(Wi.componentStack)}function Ro(u,p){u.componentStack={tag:0,parent:u.componentStack,type:p}}function Vi(u,p){u.componentStack={tag:1,parent:u.componentStack,type:p}}function Xa(u,p){u.componentStack={tag:2,parent:u.componentStack,type:p}}function wi(u){u.componentStack===null?a("Unexpectedly popped too many stack frames. This is a bug in React."):u.componentStack=u.componentStack.parent}var Sa=null;function rl(u,p){{var k;typeof p=="string"?k=p:p&&typeof p.message=="string"?k=p.message:k=String(p);var M=Sa||Ga();Sa=null,u.errorMessage=k,u.errorComponentStack=M}}function Si(u,p){var k=u.onError(p);if(k!=null&&typeof k!="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 k+'" instead');return k}function Ao(u,p){var k=u.onShellError;k(p);var M=u.onFatalError;M(p),u.destination!==null?(u.status=wa,pe(u.destination,p)):(u.status=zl,u.fatalError=p)}function Gl(u,p,k){Ro(p,"Suspense");var M=p.blockedBoundary,z=p.blockedSegment,te=k.fallback,ue=k.children,_e=new Set,l=Ya(u,_e),d=z.chunks.length,S=nl(u,d,l,z.formatContext,!1,!1);z.children.push(S),z.lastPushedText=!1;var R=nl(u,0,null,z.formatContext,!1,!1);R.parentFlushed=!0,p.blockedBoundary=l,p.blockedSegment=R;try{if(Ts(u,p,ue),Ar(R.chunks,u.responseState,R.lastPushedText,R.textEmbedded),R.status=xi,Es(l,R),l.pendingTasks===0){wi(p);return}}catch(J){R.status=xa,l.forceClientRender=!0,l.errorDigest=Si(u,J),rl(l,J)}finally{p.blockedBoundary=M,p.blockedSegment=z}var N=ys(u,te,M,S,_e,p.legacyContext,p.context,p.treeContext);N.componentStack=p.componentStack,u.pingedTasks.push(N),wi(p)}function Ca(u,p,k,M){Ro(p,k);var z=p.blockedSegment,te=jo(z.chunks,k,M,u.responseState,z.formatContext);z.lastPushedText=!1;var ue=z.formatContext;z.formatContext=Xr(ue,k,M),Ts(u,p,te),z.formatContext=ue,xo(z.chunks,k),z.lastPushedText=!1,wi(p)}function bs(u){return u.prototype&&u.prototype.isReactComponent}function il(u,p,k,M,z){var te={};Fl(p,te);var ue=k(M,z);return Zo(k,M,ue,z)}function _u(u,p,k,M,z){var te=k.render();k.props!==z&&(qa||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Sn(M)||"a component"),qa=!0);{var ue=M.childContextTypes;if(ue!=null){var _e=p.legacyContext,l=Ml(k,M,_e,ue);p.legacyContext=l,Qr(u,p,te),p.legacyContext=_e;return}}Qr(u,p,te)}function Xl(u,p,k,M){Xa(p,k);var z=Il(k,p.legacyContext),te=io(k,M,z);Su(te,k,M,z),_u(u,p,te,k,M),wi(p)}var Ut={},xs={},Ru={},Ta={},qa=!1,ql=!1,Zl=!1,Jr=!1;function Au(u,p,k,M){var z;if(z=Il(k,p.legacyContext),Vi(p,k),k.prototype&&typeof k.prototype.render=="function"){var te=Sn(k)||"Unknown";Ut[te]||(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.",te,te),Ut[te]=!0)}var ue=il(u,p,k,M,z),_e=jr();if(typeof ue=="object"&&ue!==null&&typeof ue.render=="function"&&ue.$$typeof===void 0){var l=Sn(k)||"Unknown";xs[l]||(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.",l,l,l),xs[l]=!0)}if(typeof ue=="object"&&ue!==null&&typeof ue.render=="function"&&ue.$$typeof===void 0){{var d=Sn(k)||"Unknown";xs[d]||(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.",d,d,d),xs[d]=!0)}Su(ue,k,M,z),_u(u,p,ue,k,M)}else if(ws(k),_e){var S=p.treeContext,R=1,N=0;p.treeContext=Xs(S,R,N);try{Qr(u,p,ue)}finally{p.treeContext=S}}else Qr(u,p,ue);wi(p)}function ws(u){{if(u&&u.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",u.displayName||u.name||"Component"),typeof u.getDerivedStateFromProps=="function"){var p=Sn(u)||"Unknown";Ta[p]||(a("%s: Function components do not support getDerivedStateFromProps.",p),Ta[p]=!0)}if(typeof u.contextType=="object"&&u.contextType!==null){var k=Sn(u)||"Unknown";Ru[k]||(a("%s: Function components do not support contextType.",k),Ru[k]=!0)}}}function Ss(u,p){if(u&&u.defaultProps){var k=G({},p),M=u.defaultProps;for(var z in M)k[z]===void 0&&(k[z]=M[z]);return k}return p}function Pu(u,p,k,M,z){Vi(p,k.render);var te=il(u,p,k.render,M,z),ue=jr();if(ue){var _e=p.treeContext,l=1,d=0;p.treeContext=Xs(_e,l,d);try{Qr(u,p,te)}finally{p.treeContext=_e}}else Qr(u,p,te);wi(p)}function Du(u,p,k,M,z){var te=k.type,ue=Ss(te,M);ol(u,p,te,ue,z)}function Kr(u,p,k,M){k._context===void 0?k!==k.Consumer&&(Jr||(Jr=!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?"))):k=k._context;var z=M.children;typeof z!="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 te=cs(k),ue=z(te);Qr(u,p,ue)}function Ko(u,p,k,M){var z=k._context,te=M.value,ue=M.children,_e;_e=p.context,p.context=yu(z,te),Qr(u,p,ue),p.context=bu(z),_e!==p.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Jl(u,p,k,M,z){Ro(p,"Lazy");var te=k._payload,ue=k._init,_e=ue(te),l=Ss(_e,M);ol(u,p,_e,l,z),wi(p)}function ol(u,p,k,M,z){if(typeof k=="function")if(bs(k)){Xl(u,p,k,M);return}else{Au(u,p,k,M);return}if(typeof k=="string"){Ca(u,p,k,M);return}switch(k){case Dn:case Ht:case $:case le:case be:{Qr(u,p,M.children);return}case et:{Ro(p,"SuspenseList"),Qr(u,p,M.children),wi(p);return}case xt:throw new Error("ReactDOMServer does not yet support scope components.");case Qe:{Gl(u,p,M);return}}if(typeof k=="object"&&k!==null)switch(k.$$typeof){case Le:{Pu(u,p,k,M,z);return}case Xe:{Du(u,p,k,M,z);return}case ae:{Ko(u,p,k,M);return}case Me:{Kr(u,p,k,M);return}case Dt:{Jl(u,p,k,M);return}}var te="";throw(k===void 0||typeof k=="object"&&k!==null&&Object.keys(k).length===0)&&(te+=" 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: "+(k==null?k:typeof k)+"."+te))}function al(u,p){typeof Symbol=="function"&&u[Symbol.toStringTag]==="Generator"&&(ql||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."),ql=!0),u.entries===p&&(Zl||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Zl=!0)}function Qr(u,p,k){try{return Cs(u,p,k)}catch(M){throw typeof M=="object"&&M!==null&&typeof M.then=="function"||(Sa=Sa!==null?Sa:Ga()),M}}function Cs(u,p,k){if(p.node=k,typeof k=="object"&&k!==null){switch(k.$$typeof){case fe:{var M=k,z=M.type,te=M.props,ue=M.ref;ol(u,p,z,te,ue);return}case Se: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 Dt:{var _e=k,l=_e._payload,d=_e._init,S;try{S=d(l)}catch(ct){throw typeof ct=="object"&&ct!==null&&typeof ct.then=="function"&&Ro(p,"Lazy"),ct}Qr(u,p,S);return}}if(pi(k)){Kl(u,p,k);return}var R=Li(k);if(R){al(k,R);var N=R.call(k);if(N){var J=N.next();if(!J.done){var ie=[];do ie.push(J.value),J=N.next();while(!J.done);Kl(u,p,ie);return}return}}var Te=Object.prototype.toString.call(k);throw new Error("Objects are not valid as a React child (found: "+(Te==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":Te)+"). If you meant to render a collection of children, use an array instead.")}if(typeof k=="string"){var We=p.blockedSegment;We.lastPushedText=Di(p.blockedSegment.chunks,k,u.responseState,We.lastPushedText);return}if(typeof k=="number"){var tt=p.blockedSegment;tt.lastPushedText=Di(p.blockedSegment.chunks,""+k,u.responseState,tt.lastPushedText);return}typeof k=="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 Kl(u,p,k){for(var M=k.length,z=0;z<M;z++){var te=p.treeContext;p.treeContext=Xs(te,M,z);try{Ts(u,p,k[z])}finally{p.treeContext=te}}}function Nr(u,p,k){var M=p.blockedSegment,z=M.chunks.length,te=nl(u,z,null,M.formatContext,M.lastPushedText,!0);M.children.push(te),M.lastPushedText=!1;var ue=ys(u,p.node,p.blockedBoundary,te,p.abortSet,p.legacyContext,p.context,p.treeContext);p.componentStack!==null&&(ue.componentStack=p.componentStack.parent);var _e=ue.ping;k.then(_e,_e)}function Ts(u,p,k){var M=p.blockedSegment.formatContext,z=p.legacyContext,te=p.context,ue=null;ue=p.componentStack;try{return Qr(u,p,k)}catch(_e){if(Bl(),typeof _e=="object"&&_e!==null&&typeof _e.then=="function"){Nr(u,p,_e),p.blockedSegment.formatContext=M,p.legacyContext=z,p.context=te,us(te),p.componentStack=ue;return}else throw p.blockedSegment.formatContext=M,p.legacyContext=z,p.context=te,us(te),p.componentStack=ue,_e}}function Po(u,p,k,M){var z=Si(u,M);if(p===null?Ao(u,M):(p.pendingTasks--,p.forceClientRender||(p.forceClientRender=!0,p.errorDigest=z,rl(p,M),p.parentFlushed&&u.clientRenderedBoundaries.push(p))),u.allPendingTasks--,u.allPendingTasks===0){var te=u.onAllReady;te()}}function nc(u){var p=this,k=u.blockedBoundary,M=u.blockedSegment;M.status=tl,Ql(p,k,M)}function Hi(u,p,k){var M=u.blockedBoundary,z=u.blockedSegment;if(z.status=tl,M===null)p.allPendingTasks--,p.status!==wa&&(p.status=wa,p.destination!==null&&Q(p.destination));else{if(M.pendingTasks--,!M.forceClientRender){M.forceClientRender=!0;var te=k===void 0?new Error("The render was aborted by the server without a reason."):k;M.errorDigest=p.onError(te);{var ue="The server did not finish this Suspense boundary: ";te&&typeof te.message=="string"?te=ue+te.message:te=ue+String(te);var _e=Wi;Wi=u;try{rl(M,te)}finally{Wi=_e}}M.parentFlushed&&p.clientRenderedBoundaries.push(M)}if(M.fallbackAbortableTasks.forEach(function(d){return Hi(d,p,k)}),M.fallbackAbortableTasks.clear(),p.allPendingTasks--,p.allPendingTasks===0){var l=p.onAllReady;l()}}}function Es(u,p){if(p.chunks.length===0&&p.children.length===1&&p.children[0].boundary===null){var k=p.children[0];k.id=p.id,k.parentFlushed=!0,k.status===xi&&Es(u,k)}else{var M=u.completedSegments;M.push(p)}}function Ql(u,p,k){if(p===null){if(k.parentFlushed){if(u.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");u.completedRootSegment=k}if(u.pendingRootTasks--,u.pendingRootTasks===0){u.onShellError=ao;var M=u.onShellReady;M()}}else if(p.pendingTasks--,!p.forceClientRender){if(p.pendingTasks===0)k.parentFlushed&&k.status===xi&&Es(p,k),p.parentFlushed&&u.completedBoundaries.push(p),p.fallbackAbortableTasks.forEach(nc,u),p.fallbackAbortableTasks.clear();else if(k.parentFlushed&&k.status===xi){Es(p,k);var z=p.completedSegments;z.length===1&&p.parentFlushed&&u.partialBoundaries.push(p)}}if(u.allPendingTasks--,u.allPendingTasks===0){var te=u.onAllReady;te()}}function sl(u,p){var k=p.blockedSegment;if(k.status===Ul){us(p.context);var M=null;M=Wi,Wi=p;try{Qr(u,p,p.node),Ar(k.chunks,u.responseState,k.lastPushedText,k.textEmbedded),p.abortSet.delete(p),k.status=xi,Ql(u,p.blockedBoundary,k)}catch(te){if(Bl(),typeof te=="object"&&te!==null&&typeof te.then=="function"){var z=p.ping;te.then(z,z)}else p.abortSet.delete(p),k.status=xa,Po(u,p.blockedBoundary,k,te)}finally{Wi=M}}}function ks(u){if(u.status!==wa){var p=Us(),k=ms.current;ms.current=br;var M;M=za.getCurrentStack,za.getCurrentStack=Ga;var z=ps;gs(u.responseState);try{var te=u.pingedTasks,ue;for(ue=0;ue<te.length;ue++){var _e=te[ue];sl(u,_e)}te.splice(0,ue),u.destination!==null&&ur(u,u.destination)}catch(l){Si(u,l),Ao(u,l)}finally{gs(z),ms.current=k,za.getCurrentStack=M,k===br&&us(p)}}}function _s(u,p,k){switch(k.parentFlushed=!0,k.status){case Ul:{var M=k.id=u.nextSegmentId++;return k.lastPushedText=!1,k.textEmbedded=!1,Xn(p,u.responseState,M)}case xi:{k.status=vs;for(var z=!0,te=k.chunks,ue=0,_e=k.children,l=0;l<_e.length;l++){for(var d=_e[l];ue<d.index;ue++)_(p,te[ue]);z=ll(u,p,d)}for(;ue<te.length-1;ue++)_(p,te[ue]);return ue<te.length&&(z=H(p,te[ue])),z}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ll(u,p,k){var M=k.boundary;if(M===null)return _s(u,p,k);if(M.parentFlushed=!0,M.forceClientRender)return Be(p,u.responseState,M.errorDigest,M.errorMessage,M.errorComponentStack),_s(u,p,k),Pt(p,u.responseState);if(M.pendingTasks>0){M.rootSegmentID=u.nextSegmentId++,M.completedSegments.length>0&&u.partialBoundaries.push(M);var z=M.id=En(u.responseState);return ye(p,u.responseState,z),_s(u,p,k),Et(p,u.responseState)}else{if(M.byteSize>u.progressiveChunkSize)return M.rootSegmentID=u.nextSegmentId++,u.completedBoundaries.push(M),ye(p,u.responseState,M.id),_s(u,p,k),Et(p,u.responseState);De(p,u.responseState);var te=M.completedSegments;if(te.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var ue=te[0];return ll(u,p,ue),Je(p,u.responseState)}}function eu(u,p,k){return rs(p,u.responseState,k.id,k.errorDigest,k.errorMessage,k.errorComponentStack)}function Za(u,p,k){return Tt(p,u.responseState,k.formatContext,k.id),ll(u,p,k),gt(p,k.formatContext)}function Rs(u,p,k){for(var M=k.completedSegments,z=0;z<M.length;z++){var te=M[z];ul(u,p,k,te)}return M.length=0,Oi(p,u.responseState,k.id,k.rootSegmentID)}function Iu(u,p,k){for(var M=k.completedSegments,z=0;z<M.length;z++){var te=M[z];if(!ul(u,p,k,te))return z++,M.splice(0,z),!1}return M.splice(0,z),!0}function ul(u,p,k,M){if(M.status===vs)return!0;var z=M.id;if(z===-1){var te=M.id=k.rootSegmentID;if(te===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Za(u,p,M)}else return Za(u,p,M),ts(p,u.responseState,z)}function ur(u,p){L();try{var k=u.completedRootSegment;k!==null&&u.pendingRootTasks===0&&(ll(u,p,k),u.completedRootSegment=null,fi(p,u.responseState));var M=u.clientRenderedBoundaries,z;for(z=0;z<M.length;z++){var te=M[z];eu(u,p,te)}M.splice(0,z);var ue=u.completedBoundaries;for(z=0;z<ue.length;z++){var _e=ue[z];Rs(u,p,_e)}ue.splice(0,z),Y(p),L(p);var l=u.partialBoundaries;for(z=0;z<l.length;z++){var d=l[z];if(!Iu(u,p,d)){u.destination=null,z++,l.splice(0,z);return}}l.splice(0,z);var S=u.completedBoundaries;for(z=0;z<S.length;z++){var R=S[z];Rs(u,p,R)}S.splice(0,z)}finally{Y(p),u.allPendingTasks===0&&u.pingedTasks.length===0&&u.clientRenderedBoundaries.length===0&&u.completedBoundaries.length===0&&(u.abortableTasks.size!==0&&a("There was still abortable task at the root when we closed. This is a bug in React."),Q(p))}}function so(u){v(function(){return ks(u)})}function Mu(u,p){if(u.status===zl){u.status=wa,pe(p,u.fatalError);return}if(u.status!==wa&&u.destination===null){u.destination=p;try{ur(u,p)}catch(k){Si(u,k),Ao(u,k)}}}function cl(u,p){try{var k=u.abortableTasks;k.forEach(function(M){return Hi(M,u,p)}),k.clear(),u.destination!==null&&ur(u,u.destination)}catch(M){Si(u,M),Ao(u,M)}}function fl(u,p){return new Promise(function(k,M){var z,te,ue=new Promise(function(N,J){te=N,z=J});function _e(){var N=new ReadableStream({type:"bytes",pull:function(J){Mu(d,J)},cancel:function(J){cl(d)}},{highWaterMark:0});N.allReady=ue,k(N)}function l(N){ue.catch(function(){}),M(N)}var d=ec(u,kr(p?p.identifierPrefix:void 0,p?p.nonce:void 0,p?p.bootstrapScriptContent:void 0,p?p.bootstrapScripts:void 0,p?p.bootstrapModules:void 0),Gr(p?p.namespaceURI:void 0),p?p.progressiveChunkSize:void 0,p?p.onError:void 0,te,_e,l,z);if(p&&p.signal){var S=p.signal,R=function(){cl(d,S.reason),S.removeEventListener("abort",R)};S.addEventListener("abort",R)}so(d)})}jc.renderToReadableStream=fl,jc.version=t}()),jc}var hu,bd;process.env.NODE_ENV==="production"?(hu=xw(),bd=ww()):(hu=Sw(),bd=Cw());hu.version;var Tw=hu.renderToString;hu.renderToStaticMarkup;hu.renderToNodeStream;hu.renderToStaticNodeStream;bd.renderToReadableStream;var xd={exports:{}},Nc={exports:{}},mn={};/** @license React v16.13.1
107
- * react-is.production.min.js
108
- *
109
- * Copyright (c) Facebook, Inc. and its affiliates.
110
- *
111
- * This source code is licensed under the MIT license found in the
112
- * LICENSE file in the root directory of this source tree.
113
- */var sp;function Ew(){if(sp)return mn;sp=1;var n=typeof Symbol=="function"&&Symbol.for,t=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,h=n?Symbol.for("react.profiler"):60114,v=n?Symbol.for("react.provider"):60109,T=n?Symbol.for("react.context"):60110,x=n?Symbol.for("react.async_mode"):60111,E=n?Symbol.for("react.concurrent_mode"):60111,L=n?Symbol.for("react.forward_ref"):60112,_=n?Symbol.for("react.suspense"):60113,H=n?Symbol.for("react.suspense_list"):60120,Y=n?Symbol.for("react.memo"):60115,Q=n?Symbol.for("react.lazy"):60116,ee=n?Symbol.for("react.block"):60121,Z=n?Symbol.for("react.fundamental"):60117,j=n?Symbol.for("react.responder"):60118,pe=n?Symbol.for("react.scope"):60119;function oe(se){if(typeof se=="object"&&se!==null){var Ee=se.$$typeof;switch(Ee){case t:switch(se=se.type,se){case x:case E:case s:case h:case a:case _:return se;default:switch(se=se&&se.$$typeof,se){case T:case L:case Q:case Y:case v:return se;default:return Ee}}case i:return Ee}}}function xe(se){return oe(se)===E}return mn.AsyncMode=x,mn.ConcurrentMode=E,mn.ContextConsumer=T,mn.ContextProvider=v,mn.Element=t,mn.ForwardRef=L,mn.Fragment=s,mn.Lazy=Q,mn.Memo=Y,mn.Portal=i,mn.Profiler=h,mn.StrictMode=a,mn.Suspense=_,mn.isAsyncMode=function(se){return xe(se)||oe(se)===x},mn.isConcurrentMode=xe,mn.isContextConsumer=function(se){return oe(se)===T},mn.isContextProvider=function(se){return oe(se)===v},mn.isElement=function(se){return typeof se=="object"&&se!==null&&se.$$typeof===t},mn.isForwardRef=function(se){return oe(se)===L},mn.isFragment=function(se){return oe(se)===s},mn.isLazy=function(se){return oe(se)===Q},mn.isMemo=function(se){return oe(se)===Y},mn.isPortal=function(se){return oe(se)===i},mn.isProfiler=function(se){return oe(se)===h},mn.isStrictMode=function(se){return oe(se)===a},mn.isSuspense=function(se){return oe(se)===_},mn.isValidElementType=function(se){return typeof se=="string"||typeof se=="function"||se===s||se===E||se===h||se===a||se===_||se===H||typeof se=="object"&&se!==null&&(se.$$typeof===Q||se.$$typeof===Y||se.$$typeof===v||se.$$typeof===T||se.$$typeof===L||se.$$typeof===Z||se.$$typeof===j||se.$$typeof===pe||se.$$typeof===ee)},mn.typeOf=oe,mn}var vn={};/** @license React v16.13.1
114
- * react-is.development.js
115
- *
116
- * Copyright (c) Facebook, Inc. and its affiliates.
117
- *
118
- * This source code is licensed under the MIT license found in the
119
- * LICENSE file in the root directory of this source tree.
120
- */var lp;function kw(){return lp||(lp=1,process.env.NODE_ENV!=="production"&&function(){var n=typeof Symbol=="function"&&Symbol.for,t=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,h=n?Symbol.for("react.profiler"):60114,v=n?Symbol.for("react.provider"):60109,T=n?Symbol.for("react.context"):60110,x=n?Symbol.for("react.async_mode"):60111,E=n?Symbol.for("react.concurrent_mode"):60111,L=n?Symbol.for("react.forward_ref"):60112,_=n?Symbol.for("react.suspense"):60113,H=n?Symbol.for("react.suspense_list"):60120,Y=n?Symbol.for("react.memo"):60115,Q=n?Symbol.for("react.lazy"):60116,ee=n?Symbol.for("react.block"):60121,Z=n?Symbol.for("react.fundamental"):60117,j=n?Symbol.for("react.responder"):60118,pe=n?Symbol.for("react.scope"):60119;function oe($e){return typeof $e=="string"||typeof $e=="function"||$e===s||$e===E||$e===h||$e===a||$e===_||$e===H||typeof $e=="object"&&$e!==null&&($e.$$typeof===Q||$e.$$typeof===Y||$e.$$typeof===v||$e.$$typeof===T||$e.$$typeof===L||$e.$$typeof===Z||$e.$$typeof===j||$e.$$typeof===pe||$e.$$typeof===ee)}function xe($e){if(typeof $e=="object"&&$e!==null){var Wt=$e.$$typeof;switch(Wt){case t:var zt=$e.type;switch(zt){case x:case E:case s:case h:case a:case _:return zt;default:var Un=zt&&zt.$$typeof;switch(Un){case T:case L:case Q:case Y:case v:return Un;default:return Wt}}case i:return Wt}}}var se=x,Ee=E,m=T,ke=v,Ce=t,mt=L,St=s,dt=Q,Ke=Y,bt=i,Kt=h,_t=a,vt=_,it=!1;function At($e){return it||(it=!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.")),Oe($e)||xe($e)===x}function Oe($e){return xe($e)===E}function Pe($e){return xe($e)===T}function ze($e){return xe($e)===v}function qe($e){return typeof $e=="object"&&$e!==null&&$e.$$typeof===t}function Ze($e){return xe($e)===L}function Ge($e){return xe($e)===s}function Ye($e){return xe($e)===Q}function lt($e){return xe($e)===Y}function yt($e){return xe($e)===i}function ht($e){return xe($e)===h}function ut($e){return xe($e)===a}function Ct($e){return xe($e)===_}vn.AsyncMode=se,vn.ConcurrentMode=Ee,vn.ContextConsumer=m,vn.ContextProvider=ke,vn.Element=Ce,vn.ForwardRef=mt,vn.Fragment=St,vn.Lazy=dt,vn.Memo=Ke,vn.Portal=bt,vn.Profiler=Kt,vn.StrictMode=_t,vn.Suspense=vt,vn.isAsyncMode=At,vn.isConcurrentMode=Oe,vn.isContextConsumer=Pe,vn.isContextProvider=ze,vn.isElement=qe,vn.isForwardRef=Ze,vn.isFragment=Ge,vn.isLazy=Ye,vn.isMemo=lt,vn.isPortal=yt,vn.isProfiler=ht,vn.isStrictMode=ut,vn.isSuspense=Ct,vn.isValidElementType=oe,vn.typeOf=xe}()),vn}var up;function Hg(){return up||(up=1,process.env.NODE_ENV==="production"?Nc.exports=Ew():Nc.exports=kw()),Nc.exports}/*
121
- object-assign
122
- (c) Sindre Sorhus
123
- @license MIT
124
- */var Xf,cp;function _w(){if(cp)return Xf;cp=1;var n=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function s(h){if(h==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(h)}function a(){try{if(!Object.assign)return!1;var h=new String("abc");if(h[5]="de",Object.getOwnPropertyNames(h)[0]==="5")return!1;for(var v={},T=0;T<10;T++)v["_"+String.fromCharCode(T)]=T;var x=Object.getOwnPropertyNames(v).map(function(L){return v[L]});if(x.join("")!=="0123456789")return!1;var E={};return"abcdefghijklmnopqrst".split("").forEach(function(L){E[L]=L}),Object.keys(Object.assign({},E)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Xf=a()?Object.assign:function(h,v){for(var T,x=s(h),E,L=1;L<arguments.length;L++){T=Object(arguments[L]);for(var _ in T)t.call(T,_)&&(x[_]=T[_]);if(n){E=n(T);for(var H=0;H<E.length;H++)i.call(T,E[H])&&(x[E[H]]=T[E[H]])}}return x},Xf}var qf,fp;function Wd(){if(fp)return qf;fp=1;var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return qf=n,qf}var Zf,dp;function Ug(){return dp||(dp=1,Zf=Function.call.bind(Object.prototype.hasOwnProperty)),Zf}var Jf,hp;function Rw(){if(hp)return Jf;hp=1;var n=function(){};if(process.env.NODE_ENV!=="production"){var t=Wd(),i={},s=Ug();n=function(h){var v="Warning: "+h;typeof console<"u"&&console.error(v);try{throw new Error(v)}catch{}}}function a(h,v,T,x,E){if(process.env.NODE_ENV!=="production"){for(var L in h)if(s(h,L)){var _;try{if(typeof h[L]!="function"){var H=Error((x||"React class")+": "+T+" type `"+L+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[L]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw H.name="Invariant Violation",H}_=h[L](v,L,x,T,null,t)}catch(Q){_=Q}if(_&&!(_ instanceof Error)&&n((x||"React class")+": type specification of "+T+" `"+L+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof _+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),_ instanceof Error&&!(_.message in i)){i[_.message]=!0;var Y=E?E():"";n("Failed "+T+" type: "+_.message+(Y??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(i={})},Jf=a,Jf}var Kf,pp;function Aw(){if(pp)return Kf;pp=1;var n=Hg(),t=_w(),i=Wd(),s=Ug(),a=Rw(),h=function(){};process.env.NODE_ENV!=="production"&&(h=function(T){var x="Warning: "+T;typeof console<"u"&&console.error(x);try{throw new Error(x)}catch{}});function v(){return null}return Kf=function(T,x){var E=typeof Symbol=="function"&&Symbol.iterator,L="@@iterator";function _(Oe){var Pe=Oe&&(E&&Oe[E]||Oe[L]);if(typeof Pe=="function")return Pe}var H="<<anonymous>>",Y={array:j("array"),bigint:j("bigint"),bool:j("boolean"),func:j("function"),number:j("number"),object:j("object"),string:j("string"),symbol:j("symbol"),any:pe(),arrayOf:oe,element:xe(),elementType:se(),instanceOf:Ee,node:mt(),objectOf:ke,oneOf:m,oneOfType:Ce,shape:dt,exact:Ke};function Q(Oe,Pe){return Oe===Pe?Oe!==0||1/Oe===1/Pe:Oe!==Oe&&Pe!==Pe}function ee(Oe,Pe){this.message=Oe,this.data=Pe&&typeof Pe=="object"?Pe:{},this.stack=""}ee.prototype=Error.prototype;function Z(Oe){if(process.env.NODE_ENV!=="production")var Pe={},ze=0;function qe(Ge,Ye,lt,yt,ht,ut,Ct){if(yt=yt||H,ut=ut||lt,Ct!==i){if(x){var $e=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 $e.name="Invariant Violation",$e}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Wt=yt+":"+lt;!Pe[Wt]&&ze<3&&(h("You are manually calling a React.PropTypes validation function for the `"+ut+"` prop on `"+yt+"`. 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."),Pe[Wt]=!0,ze++)}}return Ye[lt]==null?Ge?Ye[lt]===null?new ee("The "+ht+" `"+ut+"` is marked as required "+("in `"+yt+"`, but its value is `null`.")):new ee("The "+ht+" `"+ut+"` is marked as required in "+("`"+yt+"`, but its value is `undefined`.")):null:Oe(Ye,lt,yt,ht,ut)}var Ze=qe.bind(null,!1);return Ze.isRequired=qe.bind(null,!0),Ze}function j(Oe){function Pe(ze,qe,Ze,Ge,Ye,lt){var yt=ze[qe],ht=_t(yt);if(ht!==Oe){var ut=vt(yt);return new ee("Invalid "+Ge+" `"+Ye+"` of type "+("`"+ut+"` supplied to `"+Ze+"`, expected ")+("`"+Oe+"`."),{expectedType:Oe})}return null}return Z(Pe)}function pe(){return Z(v)}function oe(Oe){function Pe(ze,qe,Ze,Ge,Ye){if(typeof Oe!="function")return new ee("Property `"+Ye+"` of component `"+Ze+"` has invalid PropType notation inside arrayOf.");var lt=ze[qe];if(!Array.isArray(lt)){var yt=_t(lt);return new ee("Invalid "+Ge+" `"+Ye+"` of type "+("`"+yt+"` supplied to `"+Ze+"`, expected an array."))}for(var ht=0;ht<lt.length;ht++){var ut=Oe(lt,ht,Ze,Ge,Ye+"["+ht+"]",i);if(ut instanceof Error)return ut}return null}return Z(Pe)}function xe(){function Oe(Pe,ze,qe,Ze,Ge){var Ye=Pe[ze];if(!T(Ye)){var lt=_t(Ye);return new ee("Invalid "+Ze+" `"+Ge+"` of type "+("`"+lt+"` supplied to `"+qe+"`, expected a single ReactElement."))}return null}return Z(Oe)}function se(){function Oe(Pe,ze,qe,Ze,Ge){var Ye=Pe[ze];if(!n.isValidElementType(Ye)){var lt=_t(Ye);return new ee("Invalid "+Ze+" `"+Ge+"` of type "+("`"+lt+"` supplied to `"+qe+"`, expected a single ReactElement type."))}return null}return Z(Oe)}function Ee(Oe){function Pe(ze,qe,Ze,Ge,Ye){if(!(ze[qe]instanceof Oe)){var lt=Oe.name||H,yt=At(ze[qe]);return new ee("Invalid "+Ge+" `"+Ye+"` of type "+("`"+yt+"` supplied to `"+Ze+"`, expected ")+("instance of `"+lt+"`."))}return null}return Z(Pe)}function m(Oe){if(!Array.isArray(Oe))return process.env.NODE_ENV!=="production"&&(arguments.length>1?h("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])."):h("Invalid argument supplied to oneOf, expected an array.")),v;function Pe(ze,qe,Ze,Ge,Ye){for(var lt=ze[qe],yt=0;yt<Oe.length;yt++)if(Q(lt,Oe[yt]))return null;var ht=JSON.stringify(Oe,function(Ct,$e){var Wt=vt($e);return Wt==="symbol"?String($e):$e});return new ee("Invalid "+Ge+" `"+Ye+"` of value `"+String(lt)+"` "+("supplied to `"+Ze+"`, expected one of "+ht+"."))}return Z(Pe)}function ke(Oe){function Pe(ze,qe,Ze,Ge,Ye){if(typeof Oe!="function")return new ee("Property `"+Ye+"` of component `"+Ze+"` has invalid PropType notation inside objectOf.");var lt=ze[qe],yt=_t(lt);if(yt!=="object")return new ee("Invalid "+Ge+" `"+Ye+"` of type "+("`"+yt+"` supplied to `"+Ze+"`, expected an object."));for(var ht in lt)if(s(lt,ht)){var ut=Oe(lt,ht,Ze,Ge,Ye+"."+ht,i);if(ut instanceof Error)return ut}return null}return Z(Pe)}function Ce(Oe){if(!Array.isArray(Oe))return process.env.NODE_ENV!=="production"&&h("Invalid argument supplied to oneOfType, expected an instance of array."),v;for(var Pe=0;Pe<Oe.length;Pe++){var ze=Oe[Pe];if(typeof ze!="function")return h("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+it(ze)+" at index "+Pe+"."),v}function qe(Ze,Ge,Ye,lt,yt){for(var ht=[],ut=0;ut<Oe.length;ut++){var Ct=Oe[ut],$e=Ct(Ze,Ge,Ye,lt,yt,i);if($e==null)return null;$e.data&&s($e.data,"expectedType")&&ht.push($e.data.expectedType)}var Wt=ht.length>0?", expected one of type ["+ht.join(", ")+"]":"";return new ee("Invalid "+lt+" `"+yt+"` supplied to "+("`"+Ye+"`"+Wt+"."))}return Z(qe)}function mt(){function Oe(Pe,ze,qe,Ze,Ge){return bt(Pe[ze])?null:new ee("Invalid "+Ze+" `"+Ge+"` supplied to "+("`"+qe+"`, expected a ReactNode."))}return Z(Oe)}function St(Oe,Pe,ze,qe,Ze){return new ee((Oe||"React class")+": "+Pe+" type `"+ze+"."+qe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Ze+"`.")}function dt(Oe){function Pe(ze,qe,Ze,Ge,Ye){var lt=ze[qe],yt=_t(lt);if(yt!=="object")return new ee("Invalid "+Ge+" `"+Ye+"` of type `"+yt+"` "+("supplied to `"+Ze+"`, expected `object`."));for(var ht in Oe){var ut=Oe[ht];if(typeof ut!="function")return St(Ze,Ge,Ye,ht,vt(ut));var Ct=ut(lt,ht,Ze,Ge,Ye+"."+ht,i);if(Ct)return Ct}return null}return Z(Pe)}function Ke(Oe){function Pe(ze,qe,Ze,Ge,Ye){var lt=ze[qe],yt=_t(lt);if(yt!=="object")return new ee("Invalid "+Ge+" `"+Ye+"` of type `"+yt+"` "+("supplied to `"+Ze+"`, expected `object`."));var ht=t({},ze[qe],Oe);for(var ut in ht){var Ct=Oe[ut];if(s(Oe,ut)&&typeof Ct!="function")return St(Ze,Ge,Ye,ut,vt(Ct));if(!Ct)return new ee("Invalid "+Ge+" `"+Ye+"` key `"+ut+"` supplied to `"+Ze+"`.\nBad object: "+JSON.stringify(ze[qe],null," ")+`
125
- Valid keys: `+JSON.stringify(Object.keys(Oe),null," "));var $e=Ct(lt,ut,Ze,Ge,Ye+"."+ut,i);if($e)return $e}return null}return Z(Pe)}function bt(Oe){switch(typeof Oe){case"number":case"string":case"undefined":return!0;case"boolean":return!Oe;case"object":if(Array.isArray(Oe))return Oe.every(bt);if(Oe===null||T(Oe))return!0;var Pe=_(Oe);if(Pe){var ze=Pe.call(Oe),qe;if(Pe!==Oe.entries){for(;!(qe=ze.next()).done;)if(!bt(qe.value))return!1}else for(;!(qe=ze.next()).done;){var Ze=qe.value;if(Ze&&!bt(Ze[1]))return!1}}else return!1;return!0;default:return!1}}function Kt(Oe,Pe){return Oe==="symbol"?!0:Pe?Pe["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&Pe instanceof Symbol:!1}function _t(Oe){var Pe=typeof Oe;return Array.isArray(Oe)?"array":Oe instanceof RegExp?"object":Kt(Pe,Oe)?"symbol":Pe}function vt(Oe){if(typeof Oe>"u"||Oe===null)return""+Oe;var Pe=_t(Oe);if(Pe==="object"){if(Oe instanceof Date)return"date";if(Oe instanceof RegExp)return"regexp"}return Pe}function it(Oe){var Pe=vt(Oe);switch(Pe){case"array":case"object":return"an "+Pe;case"boolean":case"date":case"regexp":return"a "+Pe;default:return Pe}}function At(Oe){return!Oe.constructor||!Oe.constructor.name?H:Oe.constructor.name}return Y.checkPropTypes=a,Y.resetWarningCache=a.resetWarningCache,Y.PropTypes=Y,Y},Kf}var Qf,gp;function Pw(){if(gp)return Qf;gp=1;var n=Wd();function t(){}function i(){}return i.resetWarningCache=t,Qf=function(){function s(v,T,x,E,L,_){if(_!==n){var H=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 H.name="Invariant Violation",H}}s.isRequired=s;function a(){return s}var h={array:s,bigint:s,bool:s,func:s,number:s,object:s,string:s,symbol:s,any:s,arrayOf:a,element:s,elementType:s,instanceOf:a,node:s,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:i,resetWarningCache:t};return h.PropTypes=h,h},Qf}if(process.env.NODE_ENV!=="production"){var Dw=Hg(),Iw=!0;xd.exports=Aw()(Dw.isElement,Iw)}else xd.exports=Pw()();var xr=xd.exports;const ra=df(xr);var Mw=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zg(n,t){return n(t={exports:{}},t.exports),t.exports}var Ow=zg(function(n){(function(t){var i=function(Z,j,pe){if(!x(j)||L(j)||_(j)||H(j)||T(j))return j;var oe,xe=0,se=0;if(E(j))for(oe=[],se=j.length;xe<se;xe++)oe.push(i(Z,j[xe],pe));else for(var Ee in oe={},j)Object.prototype.hasOwnProperty.call(j,Ee)&&(oe[Z(Ee,pe)]=i(Z,j[Ee],pe));return oe},s=function(Z){return Y(Z)?Z:(Z=Z.replace(/[\-_\s]+(.)?/g,function(j,pe){return pe?pe.toUpperCase():""})).substr(0,1).toLowerCase()+Z.substr(1)},a=function(Z){var j=s(Z);return j.substr(0,1).toUpperCase()+j.substr(1)},h=function(Z,j){return function(pe,oe){var xe=(oe=oe||{}).separator||"_",se=oe.split||/(?=[A-Z])/;return pe.split(se).join(xe)}(Z,j).toLowerCase()},v=Object.prototype.toString,T=function(Z){return typeof Z=="function"},x=function(Z){return Z===Object(Z)},E=function(Z){return v.call(Z)=="[object Array]"},L=function(Z){return v.call(Z)=="[object Date]"},_=function(Z){return v.call(Z)=="[object RegExp]"},H=function(Z){return v.call(Z)=="[object Boolean]"},Y=function(Z){return(Z-=0)==Z},Q=function(Z,j){var pe=j&&"process"in j?j.process:j;return typeof pe!="function"?Z:function(oe,xe){return pe(oe,Z,xe)}},ee={camelize:s,decamelize:h,pascalize:a,depascalize:h,camelizeKeys:function(Z,j){return i(Q(s,j),Z)},decamelizeKeys:function(Z,j){return i(Q(h,j),Z,j)},pascalizeKeys:function(Z,j){return i(Q(a,j),Z)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};n.exports?n.exports=ee:t.humps=ee})(Mw)}).decamelize,Lw=function(n){if(Array.isArray(n))return n},Fw=function(n,t){if(typeof Symbol<"u"&&Symbol.iterator in Object(n)){var i=[],s=!0,a=!1,h=void 0;try{for(var v,T=n[Symbol.iterator]();!(s=(v=T.next()).done)&&(i.push(v.value),!t||i.length!==t);s=!0);}catch(x){a=!0,h=x}finally{try{s||T.return==null||T.return()}finally{if(a)throw h}}return i}},mp=function(n,t){(t==null||t>n.length)&&(t=n.length);for(var i=0,s=new Array(t);i<t;i++)s[i]=n[i];return s},Bw=function(n,t){if(n){if(typeof n=="string")return mp(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return i==="Object"&&n.constructor&&(i=n.constructor.name),i==="Map"||i==="Set"?Array.from(n):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?mp(n,t):void 0}},jw=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
126
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},Nw=function(n,t){return Lw(n)||Fw(n,t)||Bw(n,t)||jw()},$g=zg(function(n){function t(){return n.exports=t=Object.assign||function(i){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var h in a)Object.prototype.hasOwnProperty.call(a,h)&&(i[h]=a[h])}return i},t.apply(this,arguments)}n.exports=t}),Ww=function(n,t){if(n==null)return{};var i,s,a={},h=Object.keys(n);for(s=0;s<h.length;s++)i=h[s],t.indexOf(i)>=0||(a[i]=n[i]);return a},Yg=function(n,t){if(n==null)return{};var i,s,a=Ww(n,t);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(n);for(s=0;s<h.length;s++)i=h[s],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(n,i)&&(a[i]=n[i])}return a},Vw=Fe.createContext(null);function wd(n){var t=n.children,i=Yg(n,["children"]);return typeof t!="string"&&(t=Tw(t)),Fe.createElement("template",$g({},i,{dangerouslySetInnerHTML:{__html:t}}))}function Sd(n){var t=n.root,i=n.children;return Ng.createPortal(i,t)}function Hw(n){var t=Fe.forwardRef(function(i,s){var a,h,v=i.mode,T=i.delegatesFocus,x=i.styleSheets,E=i.ssr,L=i.children,_=Yg(i,["mode","delegatesFocus","styleSheets","ssr","children"]),H=(h=Fe.useRef((a=s)&&a.current),Fe.useEffect(function(){a&&(a.current=h.current)},[a]),h),Y=Fe.useState(null),Q=Nw(Y,2),ee=Q[0],Z=Q[1],j="node_".concat(v).concat(T);return Fe.useLayoutEffect(function(){if(H.current)try{if(typeof s=="function"&&s(H.current),E){var pe=H.current.shadowRoot;return void Z(pe)}var oe=H.current.attachShadow({mode:v,delegatesFocus:T});x.length>0&&(oe.adoptedStyleSheets=x),Z(oe)}catch(xe){(function(se){var Ee=se.error,m=se.styleSheets,ke=se.root;switch(Ee.name){case"NotSupportedError":m.length>0&&(ke.adoptedStyleSheets=m);break;default:throw Ee}})({error:xe,styleSheets:x,root:ee})}},[s,H,x]),Fe.createElement(Fe.Fragment,null,Fe.createElement(n.tag,$g({key:j,ref:H},_),(ee||E)&&Fe.createElement(Vw.Provider,{value:ee},E?Fe.createElement(wd,{shadowroot:v,shadowrootmode:v},n.render({root:ee,ssr:E,children:L})):Fe.createElement(Sd,{root:ee},n.render({root:ee,ssr:E,children:L})))))});return t.propTypes={mode:ra.oneOf(["open","closed"]),delegatesFocus:ra.bool,styleSheets:ra.arrayOf(ra.instanceOf(globalThis.CSSStyleSheet)),ssr:ra.bool,children:ra.node},t.defaultProps={mode:"open",delegatesFocus:!1,styleSheets:[],ssr:!1,children:null},t}wd.propTypes={children:ra.oneOfType([ra.string,ra.node])},wd.defaultProps={children:""},Sd.propTypes={root:ra.object.isRequired,children:ra.node},Sd.defaultProps={children:null};var ed=new Map;function Uw(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(s){return s.children};return new Proxy(n,{get:function(s,a){var h=Ow(a,{separator:"-"}),v="".concat(t,"-").concat(h);return ed.has(v)||ed.set(v,Hw({tag:h,render:i})),ed.get(v)}})}var zw=Uw();const $w=`@import"https://fonts.cdnfonts.com/css/tt-firs-neue-trl?styles=143111,143113,143105,143108,143110,143101,143099,143103,143097,143115";*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:TT Firs Neue Trl,sans-serif;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}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;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}
127
- `;function Gg({children:n,styles:t=[],...i}){return ft.jsxs(zw.div,{...i,children:[[$w,...t].map((s,a)=>ft.jsx("style",{type:"text/css",children:s},a)),n]})}var Yw=typeof global=="object"&&global&&global.Object===Object&&global;const Gw=Yw;var Xw=typeof self=="object"&&self&&self.Object===Object&&self,qw=Gw||Xw||Function("return this")();const Xg=qw;var Zw=Xg.Symbol;const Qc=Zw;var qg=Object.prototype,Jw=qg.hasOwnProperty,Kw=qg.toString,ac=Qc?Qc.toStringTag:void 0;function Qw(n){var t=Jw.call(n,ac),i=n[ac];try{n[ac]=void 0;var s=!0}catch{}var a=Kw.call(n);return s&&(t?n[ac]=i:delete n[ac]),a}var eS=Object.prototype,tS=eS.toString;function nS(n){return tS.call(n)}var rS="[object Null]",iS="[object Undefined]",vp=Qc?Qc.toStringTag:void 0;function oS(n){return n==null?n===void 0?iS:rS:vp&&vp in Object(n)?Qw(n):nS(n)}function aS(n){return n!=null&&typeof n=="object"}var sS="[object Symbol]";function lS(n){return typeof n=="symbol"||aS(n)&&oS(n)==sS}var uS=/\s/;function cS(n){for(var t=n.length;t--&&uS.test(n.charAt(t)););return t}var fS=/^\s+/;function dS(n){return n&&n.slice(0,cS(n)+1).replace(fS,"")}function ef(n){var t=typeof n;return n!=null&&(t=="object"||t=="function")}var yp=0/0,hS=/^[-+]0x[0-9a-f]+$/i,pS=/^0b[01]+$/i,gS=/^0o[0-7]+$/i,mS=parseInt;function bp(n){if(typeof n=="number")return n;if(lS(n))return yp;if(ef(n)){var t=typeof n.valueOf=="function"?n.valueOf():n;n=ef(t)?t+"":t}if(typeof n!="string")return n===0?n:+n;n=dS(n);var i=pS.test(n);return i||gS.test(n)?mS(n.slice(2),i?2:8):hS.test(n)?yp:+n}var vS=function(){return Xg.Date.now()};const td=vS;var yS="Expected a function",bS=Math.max,xS=Math.min;function qc(n,t,i){var s,a,h,v,T,x,E=0,L=!1,_=!1,H=!0;if(typeof n!="function")throw new TypeError(yS);t=bp(t)||0,ef(i)&&(L=!!i.leading,_="maxWait"in i,h=_?bS(bp(i.maxWait)||0,t):h,H="trailing"in i?!!i.trailing:H);function Y(Ee){var m=s,ke=a;return s=a=void 0,E=Ee,v=n.apply(ke,m),v}function Q(Ee){return E=Ee,T=setTimeout(j,t),L?Y(Ee):v}function ee(Ee){var m=Ee-x,ke=Ee-E,Ce=t-m;return _?xS(Ce,h-ke):Ce}function Z(Ee){var m=Ee-x,ke=Ee-E;return x===void 0||m>=t||m<0||_&&ke>=h}function j(){var Ee=td();if(Z(Ee))return pe(Ee);T=setTimeout(j,ee(Ee))}function pe(Ee){return T=void 0,H&&s?Y(Ee):(s=a=void 0,v)}function oe(){T!==void 0&&clearTimeout(T),E=0,s=x=a=T=void 0}function xe(){return T===void 0?v:pe(td())}function se(){var Ee=td(),m=Z(Ee);if(s=arguments,a=this,x=Ee,m){if(T===void 0)return Q(x);if(_)return clearTimeout(T),T=setTimeout(j,t),Y(x)}return T===void 0&&(T=setTimeout(j,t)),v}return se.cancel=oe,se.flush=xe,se}var wS="Expected a function";function SS(n,t,i){var s=!0,a=!0;if(typeof n!="function")throw new TypeError(wS);return ef(i)&&(s="leading"in i?!!i.leading:s,a="trailing"in i?!!i.trailing:a),qc(n,t,{leading:s,maxWait:t,trailing:a})}var CS=!!(typeof window<"u"&&window.document&&window.document.createElement),TS=CS;const Zg=df(TS);var Wu=function(){return Wu=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var h in i)Object.prototype.hasOwnProperty.call(i,h)&&(t[h]=i[h])}return t},Wu.apply(this,arguments)},ju=null,xp=null;Zg&&window.addEventListener("resize",function(){xp!==window.devicePixelRatio&&(xp=window.devicePixelRatio,ju=null)});function wp(){if(ju===null){if(typeof document>"u")return ju=0,ju;var n=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),n.appendChild(t);var i=t.getBoundingClientRect().right;n.removeChild(t),ju=i}return ju}function Jg(n){return!n||!n.ownerDocument||!n.ownerDocument.defaultView?window:n.ownerDocument.defaultView}function Kg(n){return!n||!n.ownerDocument?document:n.ownerDocument}var Qg=function(n){var t={},i=Array.prototype.reduce.call(n,function(s,a){var h=a.name.match(/data-simplebar-(.+)/);if(h){var v=h[1].replace(/\W+(.)/g,function(T,x){return x.toUpperCase()});switch(a.value){case"true":s[v]=!0;break;case"false":s[v]=!1;break;case void 0:s[v]=!0;break;default:s[v]=a.value}}return s},t);return i};function em(n,t){var i;n&&(i=n.classList).add.apply(i,t.split(" "))}function tm(n,t){n&&t.split(" ").forEach(function(i){n.classList.remove(i)})}function nm(n){return".".concat(n.split(" ").join("."))}var ES=Object.freeze({__proto__:null,getElementWindow:Jg,getElementDocument:Kg,getOptions:Qg,addClasses:em,removeClasses:tm,classNamesToQuery:nm}),hl=Jg,nd=Kg,kS=Qg,pl=em,gl=tm,fo=nm,Wc=function(){function n(t,i){i===void 0&&(i={});var s=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var a=hl(s.el);s.scrollXTicking||(a.requestAnimationFrame(s.scrollX),s.scrollXTicking=!0),s.scrollYTicking||(a.requestAnimationFrame(s.scrollY),s.scrollYTicking=!0),s.isScrolling||(s.isScrolling=!0,pl(s.el,s.classNames.scrolling)),s.showScrollbar("x"),s.showScrollbar("y"),s.onStopScrolling()},this.scrollX=function(){s.axis.x.isOverflowing&&s.positionScrollbar("x"),s.scrollXTicking=!1},this.scrollY=function(){s.axis.y.isOverflowing&&s.positionScrollbar("y"),s.scrollYTicking=!1},this._onStopScrolling=function(){gl(s.el,s.classNames.scrolling),s.options.autoHide&&(s.hideScrollbar("x"),s.hideScrollbar("y")),s.isScrolling=!1},this.onMouseEnter=function(){s.isMouseEntering||(pl(s.el,s.classNames.mouseEntered),s.showScrollbar("x"),s.showScrollbar("y"),s.isMouseEntering=!0),s.onMouseEntered()},this._onMouseEntered=function(){gl(s.el,s.classNames.mouseEntered),s.options.autoHide&&(s.hideScrollbar("x"),s.hideScrollbar("y")),s.isMouseEntering=!1},this._onMouseMove=function(a){s.mouseX=a.clientX,s.mouseY=a.clientY,(s.axis.x.isOverflowing||s.axis.x.forceVisible)&&s.onMouseMoveForAxis("x"),(s.axis.y.isOverflowing||s.axis.y.forceVisible)&&s.onMouseMoveForAxis("y")},this.onMouseLeave=function(){s.onMouseMove.cancel(),(s.axis.x.isOverflowing||s.axis.x.forceVisible)&&s.onMouseLeaveForAxis("x"),(s.axis.y.isOverflowing||s.axis.y.forceVisible)&&s.onMouseLeaveForAxis("y"),s.mouseX=-1,s.mouseY=-1},this._onWindowResize=function(){s.scrollbarWidth=s.getScrollbarWidth(),s.hideNativeScrollbar()},this.onPointerEvent=function(a){if(!(!s.axis.x.track.el||!s.axis.y.track.el||!s.axis.x.scrollbar.el||!s.axis.y.scrollbar.el)){var h,v;s.axis.x.track.rect=s.axis.x.track.el.getBoundingClientRect(),s.axis.y.track.rect=s.axis.y.track.el.getBoundingClientRect(),(s.axis.x.isOverflowing||s.axis.x.forceVisible)&&(h=s.isWithinBounds(s.axis.x.track.rect)),(s.axis.y.isOverflowing||s.axis.y.forceVisible)&&(v=s.isWithinBounds(s.axis.y.track.rect)),(h||v)&&(a.stopPropagation(),a.type==="pointerdown"&&a.pointerType!=="touch"&&(h&&(s.axis.x.scrollbar.rect=s.axis.x.scrollbar.el.getBoundingClientRect(),s.isWithinBounds(s.axis.x.scrollbar.rect)?s.onDragStart(a,"x"):s.onTrackClick(a,"x")),v&&(s.axis.y.scrollbar.rect=s.axis.y.scrollbar.el.getBoundingClientRect(),s.isWithinBounds(s.axis.y.scrollbar.rect)?s.onDragStart(a,"y"):s.onTrackClick(a,"y"))))}},this.drag=function(a){var h,v,T,x,E,L,_,H,Y,Q,ee;if(!(!s.draggedAxis||!s.contentWrapperEl)){var Z,j=s.axis[s.draggedAxis].track,pe=(v=(h=j.rect)===null||h===void 0?void 0:h[s.axis[s.draggedAxis].sizeAttr])!==null&&v!==void 0?v:0,oe=s.axis[s.draggedAxis].scrollbar,xe=(x=(T=s.contentWrapperEl)===null||T===void 0?void 0:T[s.axis[s.draggedAxis].scrollSizeAttr])!==null&&x!==void 0?x:0,se=parseInt((L=(E=s.elStyles)===null||E===void 0?void 0:E[s.axis[s.draggedAxis].sizeAttr])!==null&&L!==void 0?L:"0px",10);a.preventDefault(),a.stopPropagation(),s.draggedAxis==="y"?Z=a.pageY:Z=a.pageX;var Ee=Z-((H=(_=j.rect)===null||_===void 0?void 0:_[s.axis[s.draggedAxis].offsetAttr])!==null&&H!==void 0?H:0)-s.axis[s.draggedAxis].dragOffset;Ee=s.draggedAxis==="x"&&s.isRtl?((Q=(Y=j.rect)===null||Y===void 0?void 0:Y[s.axis[s.draggedAxis].sizeAttr])!==null&&Q!==void 0?Q:0)-oe.size-Ee:Ee;var m=Ee/(pe-oe.size),ke=m*(xe-se);s.draggedAxis==="x"&&s.isRtl&&(ke=!((ee=n.getRtlHelpers())===null||ee===void 0)&&ee.isScrollingToNegative?-ke:ke),s.contentWrapperEl[s.axis[s.draggedAxis].scrollOffsetAttr]=ke}},this.onEndDrag=function(a){var h=nd(s.el),v=hl(s.el);a.preventDefault(),a.stopPropagation(),gl(s.el,s.classNames.dragging),h.removeEventListener("mousemove",s.drag,!0),h.removeEventListener("mouseup",s.onEndDrag,!0),s.removePreventClickId=v.setTimeout(function(){h.removeEventListener("click",s.preventClick,!0),h.removeEventListener("dblclick",s.preventClick,!0),s.removePreventClickId=null})},this.preventClick=function(a){a.preventDefault(),a.stopPropagation()},this.el=t,this.options=Wu(Wu({},n.defaultOptions),i),this.classNames=Wu(Wu({},n.defaultOptions.classNames),i.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=SS(this._onMouseMove,64),this.onWindowResize=qc(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=qc(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=qc(this._onMouseEntered,this.stopScrollDelay),this.init()}return n.getRtlHelpers=function(){if(n.rtlHelpers)return n.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var i=t.firstElementChild,s=i==null?void 0:i.firstElementChild;if(!s)return null;document.body.appendChild(i),i.scrollLeft=0;var a=n.getOffset(i),h=n.getOffset(s);i.scrollLeft=-999;var v=n.getOffset(s);return document.body.removeChild(i),n.rtlHelpers={isScrollOriginAtZero:a.left!==h.left,isScrollingToNegative:h.left!==v.left},n.rtlHelpers},n.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:wp()}catch{return wp()}},n.getOffset=function(t){var i=t.getBoundingClientRect(),s=nd(t),a=hl(t);return{top:i.top+(a.pageYOffset||s.documentElement.scrollTop),left:i.left+(a.pageXOffset||s.documentElement.scrollLeft)}},n.prototype.init=function(){Zg&&(this.initDOM(),this.rtlHelpers=n.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},n.prototype.initDOM=function(){var t,i;this.wrapperEl=this.el.querySelector(fo(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(fo(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(fo(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(fo(this.classNames.offset)),this.maskEl=this.el.querySelector(fo(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,fo(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(fo(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(fo(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(fo(this.classNames.track)).concat(fo(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(fo(this.classNames.track)).concat(fo(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(fo(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((i=this.axis.y.track.el)===null||i===void 0?void 0:i.querySelector(fo(this.classNames.scrollbar)))||null,this.options.autoHide||(pl(this.axis.x.scrollbar.el,this.classNames.visible),pl(this.axis.y.scrollbar.el,this.classNames.visible))},n.prototype.initListeners=function(){var t=this,i,s=hl(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(i=this.contentWrapperEl)===null||i===void 0||i.addEventListener("scroll",this.onScroll),s.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var a=!1,h=s.ResizeObserver||ResizeObserver;this.resizeObserver=new h(function(){a&&s.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),s.requestAnimationFrame(function(){a=!0})}this.mutationObserver=new s.MutationObserver(function(){s.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},n.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=hl(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var i=this.contentEl.offsetWidth,s=this.heightAutoObserverEl.offsetHeight<=1,a=this.heightAutoObserverEl.offsetWidth<=1||i>0,h=this.contentWrapperEl.offsetWidth,v=this.elStyles.overflowX,T=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var x=this.contentEl.scrollHeight,E=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=s?"auto":"100%",this.placeholderEl.style.width=a?"".concat(i||E,"px"):"auto",this.placeholderEl.style.height="".concat(x,"px");var L=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=i!==0&&E>i,this.axis.y.isOverflowing=x>L,this.axis.x.isOverflowing=v==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=T==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var _=this.axis.x.isOverflowing?this.scrollbarWidth:0,H=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&E>h-H,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&x>L-_,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},n.prototype.getScrollbarSize=function(t){var i,s;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var a=this.contentEl[this.axis[t].scrollSizeAttr],h=(s=(i=this.axis[t].track.el)===null||i===void 0?void 0:i[this.axis[t].offsetSizeAttr])!==null&&s!==void 0?s:0,v=h/a,T;return T=Math.max(~~(v*h),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(T=Math.min(T,this.options.scrollbarMaxSize)),T},n.prototype.positionScrollbar=function(t){var i,s,a;t===void 0&&(t="y");var h=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!h.el||!this.elStyles)){var v=this.contentWrapperEl[this.axis[t].scrollSizeAttr],T=((i=this.axis[t].track.el)===null||i===void 0?void 0:i[this.axis[t].offsetSizeAttr])||0,x=parseInt(this.elStyles[this.axis[t].sizeAttr],10),E=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];E=t==="x"&&this.isRtl&&(!((s=n.getRtlHelpers())===null||s===void 0)&&s.isScrollOriginAtZero)?-E:E,t==="x"&&this.isRtl&&(E=!((a=n.getRtlHelpers())===null||a===void 0)&&a.isScrollingToNegative?E:-E);var L=E/(v-x),_=~~((T-h.size)*L);_=t==="x"&&this.isRtl?-_+(T-h.size):_,h.el.style.transform=t==="x"?"translate3d(".concat(_,"px, 0, 0)"):"translate3d(0, ".concat(_,"px, 0)")}},n.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var i=this.axis[t].track.el,s=this.axis[t].scrollbar.el;!i||!s||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(i.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(i.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?s.style.display="block":s.style.display="none")},n.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(pl(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},n.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(gl(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},n.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},n.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var i=this.axis[t];!i.track.el||!i.scrollbar.el||(i.track.rect=i.track.el.getBoundingClientRect(),i.scrollbar.rect=i.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(i.track.rect)?(this.showScrollbar(t),pl(i.track.el,this.classNames.hover),this.isWithinBounds(i.scrollbar.rect)?pl(i.scrollbar.el,this.classNames.hover):gl(i.scrollbar.el,this.classNames.hover)):(gl(i.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},n.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),gl(this.axis[t].track.el,this.classNames.hover),gl(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},n.prototype.onDragStart=function(t,i){var s;i===void 0&&(i="y");var a=nd(this.el),h=hl(this.el),v=this.axis[i].scrollbar,T=i==="y"?t.pageY:t.pageX;this.axis[i].dragOffset=T-(((s=v.rect)===null||s===void 0?void 0:s[this.axis[i].offsetAttr])||0),this.draggedAxis=i,pl(this.el,this.classNames.dragging),a.addEventListener("mousemove",this.drag,!0),a.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(a.addEventListener("click",this.preventClick,!0),a.addEventListener("dblclick",this.preventClick,!0)):(h.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},n.prototype.onTrackClick=function(t,i){var s=this,a,h,v,T;i===void 0&&(i="y");var x=this.axis[i];if(!(!this.options.clickOnTrack||!x.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var E=hl(this.el);this.axis[i].scrollbar.rect=x.scrollbar.el.getBoundingClientRect();var L=this.axis[i].scrollbar,_=(h=(a=L.rect)===null||a===void 0?void 0:a[this.axis[i].offsetAttr])!==null&&h!==void 0?h:0,H=parseInt((T=(v=this.elStyles)===null||v===void 0?void 0:v[this.axis[i].sizeAttr])!==null&&T!==void 0?T:"0px",10),Y=this.contentWrapperEl[this.axis[i].scrollOffsetAttr],Q=i==="y"?this.mouseY-_:this.mouseX-_,ee=Q<0?-1:1,Z=ee===-1?Y-H:Y+H,j=40,pe=function(){s.contentWrapperEl&&(ee===-1?Y>Z&&(Y-=j,s.contentWrapperEl[s.axis[i].scrollOffsetAttr]=Y,E.requestAnimationFrame(pe)):Y<Z&&(Y+=j,s.contentWrapperEl[s.axis[i].scrollOffsetAttr]=Y,E.requestAnimationFrame(pe)))};pe()}},n.prototype.getContentElement=function(){return this.contentEl},n.prototype.getScrollElement=function(){return this.contentWrapperEl},n.prototype.removeListeners=function(){var t=hl(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},n.prototype.unMount=function(){this.removeListeners()},n.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},n.prototype.findChild=function(t,i){var s=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(a){return s.call(a,i)})[0]},n.rtlHelpers=null,n.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},n.getOptions=kS,n.helpers=ES,n}(),Oo=function(){return Oo=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var h in i)Object.prototype.hasOwnProperty.call(i,h)&&(t[h]=i[h])}return t},Oo.apply(this,arguments)};function _S(n,t){var i={};for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&t.indexOf(s)<0&&(i[s]=n[s]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,s=Object.getOwnPropertySymbols(n);a<s.length;a++)t.indexOf(s[a])<0&&Object.prototype.propertyIsEnumerable.call(n,s[a])&&(i[s[a]]=n[s[a]]);return i}var rm=kn.forwardRef(function(n,t){var i=n.children,s=n.scrollableNodeProps,a=s===void 0?{}:s,h=_S(n,["children","scrollableNodeProps"]),v=kn.useRef(),T=kn.useRef(),x=kn.useRef(),E={},L={};Object.keys(h).forEach(function(Y){Object.prototype.hasOwnProperty.call(Wc.defaultOptions,Y)?E[Y]=h[Y]:L[Y]=h[Y]});var _=Oo(Oo({},Wc.defaultOptions.classNames),E.classNames),H=Oo(Oo({},a),{className:"".concat(_.contentWrapper).concat(a.className?" ".concat(a.className):""),tabIndex:0,role:"region","aria-label":E.ariaLabel||Wc.defaultOptions.ariaLabel});return kn.useEffect(function(){var Y;return T.current=H.ref?H.ref.current:T.current,v.current&&(Y=new Wc(v.current,Oo(Oo(Oo({},E),T.current&&{scrollableNode:T.current}),x.current&&{contentNode:x.current})),typeof t=="function"?t(Y):t&&(t.current=Y)),function(){Y==null||Y.unMount(),Y=null,typeof t=="function"&&t(null)}},[]),kn.createElement("div",Oo({"data-simplebar":"init",ref:v},L),kn.createElement("div",{className:_.wrapper},kn.createElement("div",{className:_.heightAutoObserverWrapperEl},kn.createElement("div",{className:_.heightAutoObserverEl})),kn.createElement("div",{className:_.mask},kn.createElement("div",{className:_.offset},typeof i=="function"?i({scrollableNodeRef:T,scrollableNodeProps:Oo(Oo({},H),{ref:T}),contentNodeRef:x,contentNodeProps:{className:_.contentEl,ref:x}}):kn.createElement("div",Oo({},H),kn.createElement("div",{className:_.contentEl},i)))),kn.createElement("div",{className:_.placeholder})),kn.createElement("div",{className:"".concat(_.track," simplebar-horizontal")},kn.createElement("div",{className:_.scrollbar})),kn.createElement("div",{className:"".concat(_.track," simplebar-vertical")},kn.createElement("div",{className:_.scrollbar})))});rm.displayName="SimpleBar";const RS=`[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}
128
- `,AS={TOKEN_MALFORMED:"token_malformed",TOKEN_EXPIRED:"token_expired"},PS=n=>{window.location.href=`${n}/authentication/login?callbackUrl=${window.location.href}`},DS=n=>{window.location.href=`${n}/authentication/logout?callbackUrl=${window.location.href}`};function im(n){var t,i,s="";if(typeof n=="string"||typeof n=="number")s+=n;else if(typeof n=="object")if(Array.isArray(n)){var a=n.length;for(t=0;t<a;t++)n[t]&&(i=im(n[t]))&&(s&&(s+=" "),s+=i)}else for(i in n)n[i]&&(s&&(s+=" "),s+=i);return s}function Ls(){for(var n,t,i=0,s="",a=arguments.length;i<a;i++)(n=arguments[i])&&(t=im(n))&&(s&&(s+=" "),s+=t);return s}const gc=n=>typeof n=="number"&&!isNaN(n),du=n=>typeof n=="string",Lo=n=>typeof n=="function",Zc=n=>du(n)||Lo(n)?n:null,Cd=n=>Fe.isValidElement(n)||du(n)||Lo(n)||gc(n);function IS(n,t,i){i===void 0&&(i=300);const{scrollHeight:s,style:a}=n;requestAnimationFrame(()=>{a.minHeight="initial",a.height=s+"px",a.transition=`all ${i}ms`,requestAnimationFrame(()=>{a.height="0",a.padding="0",a.margin="0",setTimeout(t,i)})})}function hf(n){let{enter:t,exit:i,appendPosition:s=!1,collapse:a=!0,collapseDuration:h=300}=n;return function(v){let{children:T,position:x,preventExitTransition:E,done:L,nodeRef:_,isIn:H,playToast:Y}=v;const Q=s?`${t}--${x}`:t,ee=s?`${i}--${x}`:i,Z=Fe.useRef(0);return Fe.useLayoutEffect(()=>{const j=_.current,pe=Q.split(" "),oe=xe=>{xe.target===_.current&&(Y(),j.removeEventListener("animationend",oe),j.removeEventListener("animationcancel",oe),Z.current===0&&xe.type!=="animationcancel"&&j.classList.remove(...pe))};j.classList.add(...pe),j.addEventListener("animationend",oe),j.addEventListener("animationcancel",oe)},[]),Fe.useEffect(()=>{const j=_.current,pe=()=>{j.removeEventListener("animationend",pe),a?IS(j,L,h):L()};H||(E?pe():(Z.current=1,j.className+=` ${ee}`,j.addEventListener("animationend",pe)))},[H]),Fe.createElement(Fe.Fragment,null,T)}}function Sp(n,t){return n!=null?{content:n.content,containerId:n.props.containerId,id:n.props.toastId,theme:n.props.theme,type:n.props.type,data:n.props.data||{},isLoading:n.props.isLoading,icon:n.props.icon,status:t}:{}}const Yi=new Map;let mc=[];const Td=new Set,MS=n=>Td.forEach(t=>t(n)),om=()=>Yi.size>0;function am(n,t){var i;if(t)return!((i=Yi.get(t))==null||!i.isToastActive(n));let s=!1;return Yi.forEach(a=>{a.isToastActive(n)&&(s=!0)}),s}function sm(n,t){Cd(n)&&(om()||mc.push({content:n,options:t}),Yi.forEach(i=>{i.buildToast(n,t)}))}function Cp(n,t){Yi.forEach(i=>{t!=null&&t!=null&&t.containerId?(t==null?void 0:t.containerId)===i.id&&i.toggle(n,t==null?void 0:t.id):i.toggle(n,t==null?void 0:t.id)})}function OS(n){const{subscribe:t,getSnapshot:i,setProps:s}=Fe.useRef(function(h){const v=h.containerId||1;return{subscribe(T){const x=function(L,_,H){let Y=1,Q=0,ee=[],Z=[],j=[],pe=_;const oe=new Map,xe=new Set,se=()=>{j=Array.from(oe.values()),xe.forEach(ke=>ke())},Ee=ke=>{Z=ke==null?[]:Z.filter(Ce=>Ce!==ke),se()},m=ke=>{const{toastId:Ce,onOpen:mt,updateId:St,children:dt}=ke.props,Ke=St==null;ke.staleId&&oe.delete(ke.staleId),oe.set(Ce,ke),Z=[...Z,ke.props.toastId].filter(bt=>bt!==ke.staleId),se(),H(Sp(ke,Ke?"added":"updated")),Ke&&Lo(mt)&&mt(Fe.isValidElement(dt)&&dt.props)};return{id:L,props:pe,observe:ke=>(xe.add(ke),()=>xe.delete(ke)),toggle:(ke,Ce)=>{oe.forEach(mt=>{Ce!=null&&Ce!==mt.props.toastId||Lo(mt.toggle)&&mt.toggle(ke)})},removeToast:Ee,toasts:oe,clearQueue:()=>{Q-=ee.length,ee=[]},buildToast:(ke,Ce)=>{if((ze=>{let{containerId:qe,toastId:Ze,updateId:Ge}=ze;const Ye=qe?qe!==L:L!==1,lt=oe.has(Ze)&&Ge==null;return Ye||lt})(Ce))return;const{toastId:mt,updateId:St,data:dt,staleId:Ke,delay:bt}=Ce,Kt=()=>{Ee(mt)},_t=St==null;_t&&Q++;const vt={...pe,style:pe.toastStyle,key:Y++,...Object.fromEntries(Object.entries(Ce).filter(ze=>{let[qe,Ze]=ze;return Ze!=null})),toastId:mt,updateId:St,data:dt,closeToast:Kt,isIn:!1,className:Zc(Ce.className||pe.toastClassName),bodyClassName:Zc(Ce.bodyClassName||pe.bodyClassName),progressClassName:Zc(Ce.progressClassName||pe.progressClassName),autoClose:!Ce.isLoading&&(it=Ce.autoClose,At=pe.autoClose,it===!1||gc(it)&&it>0?it:At),deleteToast(){const ze=oe.get(mt),{onClose:qe,children:Ze}=ze.props;Lo(qe)&&qe(Fe.isValidElement(Ze)&&Ze.props),H(Sp(ze,"removed")),oe.delete(mt),Q--,Q<0&&(Q=0),ee.length>0?m(ee.shift()):se()}};var it,At;vt.closeButton=pe.closeButton,Ce.closeButton===!1||Cd(Ce.closeButton)?vt.closeButton=Ce.closeButton:Ce.closeButton===!0&&(vt.closeButton=!Cd(pe.closeButton)||pe.closeButton);let Oe=ke;Fe.isValidElement(ke)&&!du(ke.type)?Oe=Fe.cloneElement(ke,{closeToast:Kt,toastProps:vt,data:dt}):Lo(ke)&&(Oe=ke({closeToast:Kt,toastProps:vt,data:dt}));const Pe={content:Oe,props:vt,staleId:Ke};pe.limit&&pe.limit>0&&Q>pe.limit&&_t?ee.push(Pe):gc(bt)?setTimeout(()=>{m(Pe)},bt):m(Pe)},setProps(ke){pe=ke},setToggle:(ke,Ce)=>{oe.get(ke).toggle=Ce},isToastActive:ke=>Z.some(Ce=>Ce===ke),getSnapshot:()=>pe.newestOnTop?j.reverse():j}}(v,h,MS);Yi.set(v,x);const E=x.observe(T);return mc.forEach(L=>sm(L.content,L.options)),mc=[],()=>{E(),Yi.delete(v)}},setProps(T){var x;(x=Yi.get(v))==null||x.setProps(T)},getSnapshot(){var T;return(T=Yi.get(v))==null?void 0:T.getSnapshot()}}}(n)).current;s(n);const a=Fe.useSyncExternalStore(t,i,i);return{getToastToRender:function(h){if(!a)return[];const v=new Map;return a.forEach(T=>{const{position:x}=T.props;v.has(x)||v.set(x,[]),v.get(x).push(T)}),Array.from(v,T=>h(T[0],T[1]))},isToastActive:am,count:a==null?void 0:a.length}}function LS(n){const[t,i]=Fe.useState(!1),[s,a]=Fe.useState(!1),h=Fe.useRef(null),v=Fe.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:T,pauseOnHover:x,closeToast:E,onClick:L,closeOnClick:_}=n;var H,Y;function Q(){i(!0)}function ee(){i(!1)}function Z(oe){const xe=h.current;v.canDrag&&xe&&(v.didMove=!0,t&&ee(),v.delta=n.draggableDirection==="x"?oe.clientX-v.start:oe.clientY-v.start,v.start!==oe.clientX&&(v.canCloseOnClick=!1),xe.style.transform=`translate3d(${n.draggableDirection==="x"?`${v.delta}px, var(--y)`:`0, calc(${v.delta}px + var(--y))`},0)`,xe.style.opacity=""+(1-Math.abs(v.delta/v.removalDistance)))}function j(){document.removeEventListener("pointermove",Z),document.removeEventListener("pointerup",j);const oe=h.current;if(v.canDrag&&v.didMove&&oe){if(v.canDrag=!1,Math.abs(v.delta)>v.removalDistance)return a(!0),n.closeToast(),void n.collapseAll();oe.style.transition="transform 0.2s, opacity 0.2s",oe.style.removeProperty("transform"),oe.style.removeProperty("opacity")}}(Y=Yi.get((H={id:n.toastId,containerId:n.containerId,fn:i}).containerId||1))==null||Y.setToggle(H.id,H.fn),Fe.useEffect(()=>{if(n.pauseOnFocusLoss)return document.hasFocus()||ee(),window.addEventListener("focus",Q),window.addEventListener("blur",ee),()=>{window.removeEventListener("focus",Q),window.removeEventListener("blur",ee)}},[n.pauseOnFocusLoss]);const pe={onPointerDown:function(oe){if(n.draggable===!0||n.draggable===oe.pointerType){v.didMove=!1,document.addEventListener("pointermove",Z),document.addEventListener("pointerup",j);const xe=h.current;v.canCloseOnClick=!0,v.canDrag=!0,xe.style.transition="none",n.draggableDirection==="x"?(v.start=oe.clientX,v.removalDistance=xe.offsetWidth*(n.draggablePercent/100)):(v.start=oe.clientY,v.removalDistance=xe.offsetHeight*(n.draggablePercent===80?1.5*n.draggablePercent:n.draggablePercent)/100)}},onPointerUp:function(oe){const{top:xe,bottom:se,left:Ee,right:m}=h.current.getBoundingClientRect();oe.nativeEvent.type!=="touchend"&&n.pauseOnHover&&oe.clientX>=Ee&&oe.clientX<=m&&oe.clientY>=xe&&oe.clientY<=se?ee():Q()}};return T&&x&&(pe.onMouseEnter=ee,n.stacked||(pe.onMouseLeave=Q)),_&&(pe.onClick=oe=>{L&&L(oe),v.canCloseOnClick&&E()}),{playToast:Q,pauseToast:ee,isRunning:t,preventExitTransition:s,toastRef:h,eventHandlers:pe}}function FS(n){let{delay:t,isRunning:i,closeToast:s,type:a="default",hide:h,className:v,style:T,controlledProgress:x,progress:E,rtl:L,isIn:_,theme:H}=n;const Y=h||x&&E===0,Q={...T,animationDuration:`${t}ms`,animationPlayState:i?"running":"paused"};x&&(Q.transform=`scaleX(${E})`);const ee=Ls("Toastify__progress-bar",x?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${H}`,`Toastify__progress-bar--${a}`,{"Toastify__progress-bar--rtl":L}),Z=Lo(v)?v({rtl:L,type:a,defaultClassName:ee}):Ls(ee,v),j={[x&&E>=1?"onTransitionEnd":"onAnimationEnd"]:x&&E<1?null:()=>{_&&s()}};return Fe.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":Y},Fe.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${H} Toastify__progress-bar--${a}`}),Fe.createElement("div",{role:"progressbar","aria-hidden":Y?"true":"false","aria-label":"notification timer",className:Z,style:Q,...j}))}let BS=1;const lm=()=>""+BS++;function jS(n){return n&&(du(n.toastId)||gc(n.toastId))?n.toastId:lm()}function cc(n,t){return sm(n,t),t.toastId}function tf(n,t){return{...t,type:t&&t.type||n,toastId:jS(t)}}function Vc(n){return(t,i)=>cc(t,tf(n,i))}function Tn(n,t){return cc(n,tf("default",t))}Tn.loading=(n,t)=>cc(n,tf("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),Tn.promise=function(n,t,i){let s,{pending:a,error:h,success:v}=t;a&&(s=du(a)?Tn.loading(a,i):Tn.loading(a.render,{...i,...a}));const T={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},x=(L,_,H)=>{if(_==null)return void Tn.dismiss(s);const Y={type:L,...T,...i,data:H},Q=du(_)?{render:_}:_;return s?Tn.update(s,{...Y,...Q}):Tn(Q.render,{...Y,...Q}),H},E=Lo(n)?n():n;return E.then(L=>x("success",v,L)).catch(L=>x("error",h,L)),E},Tn.success=Vc("success"),Tn.info=Vc("info"),Tn.error=Vc("error"),Tn.warning=Vc("warning"),Tn.warn=Tn.warning,Tn.dark=(n,t)=>cc(n,tf("default",{theme:"dark",...t})),Tn.dismiss=function(n){(function(t){var i;if(om()){if(t==null||du(i=t)||gc(i))Yi.forEach(a=>{a.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){var s;(s=Yi.get(t.containerId))!=null&&s.removeToast(t.id)||Yi.forEach(a=>{a.removeToast(t.id)})}}else mc=mc.filter(a=>t!=null&&a.options.toastId!==t)})(n)},Tn.clearWaitingQueue=function(n){n===void 0&&(n={}),Yi.forEach(t=>{!t.props.limit||n.containerId&&t.id!==n.containerId||t.clearQueue()})},Tn.isActive=am,Tn.update=function(n,t){t===void 0&&(t={});const i=((s,a)=>{var h;let{containerId:v}=a;return(h=Yi.get(v||1))==null?void 0:h.toasts.get(s)})(n,t);if(i){const{props:s,content:a}=i,h={delay:100,...s,...t,toastId:t.toastId||n,updateId:lm()};h.toastId!==n&&(h.staleId=n);const v=h.render||a;delete h.render,cc(v,h)}},Tn.done=n=>{Tn.update(n,{progress:1})},Tn.onChange=function(n){return Td.add(n),()=>{Td.delete(n)}},Tn.play=n=>Cp(!0,n),Tn.pause=n=>Cp(!1,n);const NS=typeof window<"u"?Fe.useLayoutEffect:Fe.useEffect,Hc=n=>{let{theme:t,type:i,isLoading:s,...a}=n;return Fe.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${i})`,...a})},rd={info:function(n){return Fe.createElement(Hc,{...n},Fe.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(n){return Fe.createElement(Hc,{...n},Fe.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(n){return Fe.createElement(Hc,{...n},Fe.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(n){return Fe.createElement(Hc,{...n},Fe.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return Fe.createElement("div",{className:"Toastify__spinner"})}},WS=n=>{const{isRunning:t,preventExitTransition:i,toastRef:s,eventHandlers:a,playToast:h}=LS(n),{closeButton:v,children:T,autoClose:x,onClick:E,type:L,hideProgressBar:_,closeToast:H,transition:Y,position:Q,className:ee,style:Z,bodyClassName:j,bodyStyle:pe,progressClassName:oe,progressStyle:xe,updateId:se,role:Ee,progress:m,rtl:ke,toastId:Ce,deleteToast:mt,isIn:St,isLoading:dt,closeOnClick:Ke,theme:bt}=n,Kt=Ls("Toastify__toast",`Toastify__toast-theme--${bt}`,`Toastify__toast--${L}`,{"Toastify__toast--rtl":ke},{"Toastify__toast--close-on-click":Ke}),_t=Lo(ee)?ee({rtl:ke,position:Q,type:L,defaultClassName:Kt}):Ls(Kt,ee),vt=function(Pe){let{theme:ze,type:qe,isLoading:Ze,icon:Ge}=Pe,Ye=null;const lt={theme:ze,type:qe};return Ge===!1||(Lo(Ge)?Ye=Ge({...lt,isLoading:Ze}):Fe.isValidElement(Ge)?Ye=Fe.cloneElement(Ge,lt):Ze?Ye=rd.spinner():(yt=>yt in rd)(qe)&&(Ye=rd[qe](lt))),Ye}(n),it=!!m||!x,At={closeToast:H,type:L,theme:bt};let Oe=null;return v===!1||(Oe=Lo(v)?v(At):Fe.isValidElement(v)?Fe.cloneElement(v,At):function(Pe){let{closeToast:ze,theme:qe,ariaLabel:Ze="close"}=Pe;return Fe.createElement("button",{className:`Toastify__close-button Toastify__close-button--${qe}`,type:"button",onClick:Ge=>{Ge.stopPropagation(),ze(Ge)},"aria-label":Ze},Fe.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},Fe.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(At)),Fe.createElement(Y,{isIn:St,done:mt,position:Q,preventExitTransition:i,nodeRef:s,playToast:h},Fe.createElement("div",{id:Ce,onClick:E,"data-in":St,className:_t,...a,style:Z,ref:s},Fe.createElement("div",{...St&&{role:Ee},className:Lo(j)?j({type:L}):Ls("Toastify__toast-body",j),style:pe},vt!=null&&Fe.createElement("div",{className:Ls("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!dt})},vt),Fe.createElement("div",null,T)),Oe,Fe.createElement(FS,{...se&&!it?{key:`pb-${se}`}:{},rtl:ke,theme:bt,delay:x,isRunning:t,isIn:St,closeToast:H,hide:_,type:L,style:xe,className:oe,controlledProgress:it,progress:m||0})))},pf=function(n,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${n}-enter`,exit:`Toastify--animate Toastify__${n}-exit`,appendPosition:t}},VS=hf(pf("bounce",!0));hf(pf("slide",!0));hf(pf("zoom"));hf(pf("flip"));const HS={position:"top-right",transition:VS,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function US(n){let t={...HS,...n};const i=n.stacked,[s,a]=Fe.useState(!0),h=Fe.useRef(null),{getToastToRender:v,isToastActive:T,count:x}=OS(t),{className:E,style:L,rtl:_,containerId:H}=t;function Y(ee){const Z=Ls("Toastify__toast-container",`Toastify__toast-container--${ee}`,{"Toastify__toast-container--rtl":_});return Lo(E)?E({position:ee,rtl:_,defaultClassName:Z}):Ls(Z,Zc(E))}function Q(){i&&(a(!0),Tn.play())}return NS(()=>{if(i){var ee;const Z=h.current.querySelectorAll('[data-in="true"]'),j=12,pe=(ee=t.position)==null?void 0:ee.includes("top");let oe=0,xe=0;Array.from(Z).reverse().forEach((se,Ee)=>{const m=se;m.classList.add("Toastify__toast--stacked"),Ee>0&&(m.dataset.collapsed=`${s}`),m.dataset.pos||(m.dataset.pos=pe?"top":"bot");const ke=oe*(s?.2:1)+(s?0:j*Ee);m.style.setProperty("--y",`${pe?ke:-1*ke}px`),m.style.setProperty("--g",`${j}`),m.style.setProperty("--s",""+(1-(s?xe:0))),oe+=m.offsetHeight,xe+=.025})}},[s,x,i]),Fe.createElement("div",{ref:h,className:"Toastify",id:H,onMouseEnter:()=>{i&&(a(!1),Tn.pause())},onMouseLeave:Q},v((ee,Z)=>{const j=Z.length?{...L}:{...L,pointerEvents:"none"};return Fe.createElement("div",{className:Y(ee),style:j,key:`container-${ee}`},Z.map(pe=>{let{content:oe,props:xe}=pe;return Fe.createElement(WS,{...xe,stacked:i,collapseAll:Q,isIn:T(xe.toastId,xe.containerId),style:xe.style,key:`toast-${xe.key}`},oe)}))}))}const $u={primary:"#93D500",secondary:"#007BFF",textPrimary:"#000000",textSecondary:"#101010",priText:"#009D4F",lightPrimary:"#E8F5E9",darkPrimary:"#2E7D32",lightSecondary:"#E8F5E9",darkSecondary:"#339790",danger:"#E01B00",darkDanger:"#BE1700",warning:"#FFB600",success:"#009D4F",error:"#E9645B",successChip:"#F4FBE5",errorChip:"#E01B001A",warningChip:"#FFB8001A",secondaryChip:"#E5F2FF",appBarColor:"#000000",white:"#FFFFFF",grey100:"#FAFAFA",grey200:"#EEEEEE",grey300:"#DDDDDD",grey400:"#C5C5C5",grey600:"#85858A",gold100:"#FFFBE6",gold200:"#FFF1B8",gold300:"#FFE58F",gold600:"#FAAD14",gold700:"#D48806",outlinedButton:"#009D4F",containedButtonString:"#000000",pink:"#E81F76"};function zS(){return ft.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ft.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 1C16.5222 1 21 5.47676 21 11C21 16.5222 16.5222 21 11 21C5.47676 21 1 16.5222 1 11C1 5.47676 5.47676 1 11 1Z",stroke:"#E01B00",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),ft.jsx("path",{d:"M10.9942 6.89636V11.6737",stroke:"#E01B00",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),ft.jsx("path",{d:"M10.9941 15.1038H11.0049",stroke:"#E01B00",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function $S(){return ft.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ft.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#009D4F"}),ft.jsx("path",{d:"M7.25244 12L10.4174 15.165L16.7474 8.83496",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function YS(){return ft.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ft.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 1C16.5222 1 21 5.47676 21 11C21 16.5222 16.5222 21 11 21C5.47676 21 1 16.5222 1 11C1 5.47676 5.47676 1 11 1Z",stroke:"#faad14",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),ft.jsx("path",{d:"M10.9942 6.89636V11.6737",stroke:"#faad14",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),ft.jsx("path",{d:"M10.9941 15.1038H11.0049",stroke:"#faad14",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}const Vd={paddingLeft:"16px",borderLeft:"2px solid",boxShadow:"none",fontFamily:"inherit"},GS=n=>{Tn.success(n,{icon:ft.jsx($S,{}),bodyStyle:{},position:"bottom-right",style:{...Vd,background:$u.lightPrimary,borderColor:$u.success,color:$u.success}})},um=n=>{Tn.error(n,{icon:ft.jsx(zS,{}),position:"bottom-right",style:{...Vd,background:"#F7E4E1",borderColor:$u.danger,color:$u.danger}})},XS=n=>{Tn.error(n,{icon:ft.jsx(YS,{}),position:"bottom-right",style:{...Vd,background:"#FFF1B8",borderColor:"#faad14",color:$u.textPrimary}})},cm=Fe.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"}),gf=Fe.createContext({}),Hd=Fe.createContext(null),mf=typeof document<"u",qS=mf?Fe.useLayoutEffect:Fe.useEffect,fm=Fe.createContext({strict:!1}),Ud=n=>n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),ZS="framerAppearId",dm="data-"+Ud(ZS);function JS(n,t,i,s){const{visualElement:a}=Fe.useContext(gf),h=Fe.useContext(fm),v=Fe.useContext(Hd),T=Fe.useContext(cm).reducedMotion,x=Fe.useRef();s=s||h.renderer,!x.current&&s&&(x.current=s(n,{visualState:t,parent:a,props:i,presenceContext:v,blockInitialAnimation:v?v.initial===!1:!1,reducedMotionConfig:T}));const E=x.current;Fe.useInsertionEffect(()=>{E&&E.update(i,v)});const L=Fe.useRef(!!(i[dm]&&!window.HandoffComplete));return qS(()=>{E&&(E.render(),L.current&&E.animationState&&E.animationState.animateChanges())}),Fe.useEffect(()=>{E&&(E.updateFeatures(),!L.current&&E.animationState&&E.animationState.animateChanges(),L.current&&(L.current=!1,window.HandoffComplete=!0))}),E}function Vu(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function KS(n,t,i){return Fe.useCallback(s=>{s&&n.mount&&n.mount(s),t&&(s?t.mount(s):t.unmount()),i&&(typeof i=="function"?i(s):Vu(i)&&(i.current=s))},[t])}function vc(n){return typeof n=="string"||Array.isArray(n)}function vf(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}const zd=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],$d=["initial",...zd];function yf(n){return vf(n.animate)||$d.some(t=>vc(n[t]))}function hm(n){return!!(yf(n)||n.variants)}function QS(n,t){if(yf(n)){const{initial:i,animate:s}=n;return{initial:i===!1||vc(i)?i:void 0,animate:vc(s)?s:void 0}}return n.inherit!==!1?t:{}}function e1(n){const{initial:t,animate:i}=QS(n,Fe.useContext(gf));return Fe.useMemo(()=>({initial:t,animate:i}),[Tp(t),Tp(i)])}function Tp(n){return Array.isArray(n)?n.join(" "):n}const Ep={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},yc={};for(const n in Ep)yc[n]={isEnabled:t=>Ep[n].some(i=>!!t[i])};function t1(n){for(const t in n)yc[t]={...yc[t],...n[t]}}const pm=Fe.createContext({}),gm=Fe.createContext({}),n1=Symbol.for("motionComponentSymbol");function r1({preloadedFeatures:n,createVisualElement:t,useRender:i,useVisualState:s,Component:a}){n&&t1(n);function h(T,x){let E;const L={...Fe.useContext(cm),...T,layoutId:i1(T)},{isStatic:_}=L,H=e1(T),Y=s(T,_);if(!_&&mf){H.visualElement=JS(a,Y,L,t);const Q=Fe.useContext(gm),ee=Fe.useContext(fm).strict;H.visualElement&&(E=H.visualElement.loadFeatures(L,ee,n,Q))}return kn.createElement(gf.Provider,{value:H},E&&H.visualElement?kn.createElement(E,{visualElement:H.visualElement,...L}):null,i(a,T,KS(Y,H.visualElement,x),Y,_,H.visualElement))}const v=Fe.forwardRef(h);return v[n1]=a,v}function i1({layoutId:n}){const t=Fe.useContext(pm).id;return t&&n!==void 0?t+"-"+n:n}function o1(n){function t(s,a={}){return r1(n(s,a))}if(typeof Proxy>"u")return t;const i=new Map;return new Proxy(t,{get:(s,a)=>(i.has(a)||i.set(a,t(a)),i.get(a))})}const a1=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Yd(n){return typeof n!="string"||n.includes("-")?!1:!!(a1.indexOf(n)>-1||/[A-Z]/.test(n))}const nf={};function s1(n){Object.assign(nf,n)}const wc=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],pu=new Set(wc);function mm(n,{layout:t,layoutId:i}){return pu.has(n)||n.startsWith("origin")||(t||i!==void 0)&&(!!nf[n]||n==="opacity")}const ho=n=>!!(n&&n.getVelocity),l1={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},u1=wc.length;function c1(n,{enableHardwareAcceleration:t=!0,allowTransformNone:i=!0},s,a){let h="";for(let v=0;v<u1;v++){const T=wc[v];if(n[T]!==void 0){const x=l1[T]||T;h+=`${x}(${n[T]}) `}}return t&&!n.z&&(h+="translateZ(0)"),h=h.trim(),a?h=a(n,s?"":h):i&&s&&(h="none"),h}const vm=n=>t=>typeof t=="string"&&t.startsWith(n),ym=vm("--"),Ed=vm("var(--"),f1=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,d1=(n,t)=>t&&typeof n=="number"?t.transform(n):n,Sl=(n,t,i)=>Math.min(Math.max(i,n),t),gu={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},fc={...gu,transform:n=>Sl(0,1,n)},Uc={...gu,default:1},dc=n=>Math.round(n*1e5)/1e5,bf=/(-)?([\d]*\.?[\d])+/g,bm=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,h1=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Sc(n){return typeof n=="string"}const Cc=n=>({test:t=>Sc(t)&&t.endsWith(n)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${n}`}),ml=Cc("deg"),Qa=Cc("%"),Ft=Cc("px"),p1=Cc("vh"),g1=Cc("vw"),kp={...Qa,parse:n=>Qa.parse(n)/100,transform:n=>Qa.transform(n*100)},_p={...gu,transform:Math.round},xm={borderWidth:Ft,borderTopWidth:Ft,borderRightWidth:Ft,borderBottomWidth:Ft,borderLeftWidth:Ft,borderRadius:Ft,radius:Ft,borderTopLeftRadius:Ft,borderTopRightRadius:Ft,borderBottomRightRadius:Ft,borderBottomLeftRadius:Ft,width:Ft,maxWidth:Ft,height:Ft,maxHeight:Ft,size:Ft,top:Ft,right:Ft,bottom:Ft,left:Ft,padding:Ft,paddingTop:Ft,paddingRight:Ft,paddingBottom:Ft,paddingLeft:Ft,margin:Ft,marginTop:Ft,marginRight:Ft,marginBottom:Ft,marginLeft:Ft,rotate:ml,rotateX:ml,rotateY:ml,rotateZ:ml,scale:Uc,scaleX:Uc,scaleY:Uc,scaleZ:Uc,skew:ml,skewX:ml,skewY:ml,distance:Ft,translateX:Ft,translateY:Ft,translateZ:Ft,x:Ft,y:Ft,z:Ft,perspective:Ft,transformPerspective:Ft,opacity:fc,originX:kp,originY:kp,originZ:Ft,zIndex:_p,fillOpacity:fc,strokeOpacity:fc,numOctaves:_p};function Gd(n,t,i,s){const{style:a,vars:h,transform:v,transformOrigin:T}=n;let x=!1,E=!1,L=!0;for(const _ in t){const H=t[_];if(ym(_)){h[_]=H;continue}const Y=xm[_],Q=d1(H,Y);if(pu.has(_)){if(x=!0,v[_]=Q,!L)continue;H!==(Y.default||0)&&(L=!1)}else _.startsWith("origin")?(E=!0,T[_]=Q):a[_]=Q}if(t.transform||(x||s?a.transform=c1(n.transform,i,L,s):a.transform&&(a.transform="none")),E){const{originX:_="50%",originY:H="50%",originZ:Y=0}=T;a.transformOrigin=`${_} ${H} ${Y}`}}const Xd=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function wm(n,t,i){for(const s in t)!ho(t[s])&&!mm(s,i)&&(n[s]=t[s])}function m1({transformTemplate:n},t,i){return Fe.useMemo(()=>{const s=Xd();return Gd(s,t,{enableHardwareAcceleration:!i},n),Object.assign({},s.vars,s.style)},[t])}function v1(n,t,i){const s=n.style||{},a={};return wm(a,s,n),Object.assign(a,m1(n,t,i)),n.transformValues?n.transformValues(a):a}function y1(n,t,i){const s={},a=v1(n,t,i);return n.drag&&n.dragListener!==!1&&(s.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(s.tabIndex=0),s.style=a,s}const b1=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function rf(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||b1.has(n)}let Sm=n=>!rf(n);function x1(n){n&&(Sm=t=>t.startsWith("on")?!rf(t):n(t))}try{x1(require("@emotion/is-prop-valid").default)}catch{}function w1(n,t,i){const s={};for(const a in n)a==="values"&&typeof n.values=="object"||(Sm(a)||i===!0&&rf(a)||!t&&!rf(a)||n.draggable&&a.startsWith("onDrag"))&&(s[a]=n[a]);return s}function Rp(n,t,i){return typeof n=="string"?n:Ft.transform(t+i*n)}function S1(n,t,i){const s=Rp(t,n.x,n.width),a=Rp(i,n.y,n.height);return`${s} ${a}`}const C1={offset:"stroke-dashoffset",array:"stroke-dasharray"},T1={offset:"strokeDashoffset",array:"strokeDasharray"};function E1(n,t,i=1,s=0,a=!0){n.pathLength=1;const h=a?C1:T1;n[h.offset]=Ft.transform(-s);const v=Ft.transform(t),T=Ft.transform(i);n[h.array]=`${v} ${T}`}function qd(n,{attrX:t,attrY:i,attrScale:s,originX:a,originY:h,pathLength:v,pathSpacing:T=1,pathOffset:x=0,...E},L,_,H){if(Gd(n,E,L,H),_){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:Y,style:Q,dimensions:ee}=n;Y.transform&&(ee&&(Q.transform=Y.transform),delete Y.transform),ee&&(a!==void 0||h!==void 0||Q.transform)&&(Q.transformOrigin=S1(ee,a!==void 0?a:.5,h!==void 0?h:.5)),t!==void 0&&(Y.x=t),i!==void 0&&(Y.y=i),s!==void 0&&(Y.scale=s),v!==void 0&&E1(Y,v,T,x,!1)}const Cm=()=>({...Xd(),attrs:{}}),Zd=n=>typeof n=="string"&&n.toLowerCase()==="svg";function k1(n,t,i,s){const a=Fe.useMemo(()=>{const h=Cm();return qd(h,t,{enableHardwareAcceleration:!1},Zd(s),n.transformTemplate),{...h.attrs,style:{...h.style}}},[t]);if(n.style){const h={};wm(h,n.style,n),a.style={...h,...a.style}}return a}function _1(n=!1){return(i,s,a,{latestValues:h},v)=>{const x=(Yd(i)?k1:y1)(s,h,v,i),L={...w1(s,typeof i=="string",n),...x,ref:a},{children:_}=s,H=Fe.useMemo(()=>ho(_)?_.get():_,[_]);return Fe.createElement(i,{...L,children:H})}}function Tm(n,{style:t,vars:i},s,a){Object.assign(n.style,t,a&&a.getProjectionStyles(s));for(const h in i)n.style.setProperty(h,i[h])}const Em=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function km(n,t,i,s){Tm(n,t,void 0,s);for(const a in t.attrs)n.setAttribute(Em.has(a)?a:Ud(a),t.attrs[a])}function Jd(n,t){const{style:i}=n,s={};for(const a in i)(ho(i[a])||t.style&&ho(t.style[a])||mm(a,n))&&(s[a]=i[a]);return s}function _m(n,t){const i=Jd(n,t);for(const s in n)if(ho(n[s])||ho(t[s])){const a=wc.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;i[a]=n[s]}return i}function Kd(n,t,i,s={},a={}){return typeof t=="function"&&(t=t(i!==void 0?i:n.custom,s,a)),typeof t=="string"&&(t=n.variants&&n.variants[t]),typeof t=="function"&&(t=t(i!==void 0?i:n.custom,s,a)),t}function R1(n){const t=Fe.useRef(null);return t.current===null&&(t.current=n()),t.current}const of=n=>Array.isArray(n),A1=n=>!!(n&&typeof n=="object"&&n.mix&&n.toValue),P1=n=>of(n)?n[n.length-1]||0:n;function Jc(n){const t=ho(n)?n.get():n;return A1(t)?t.toValue():t}function D1({scrapeMotionValuesFromProps:n,createRenderState:t,onMount:i},s,a,h){const v={latestValues:I1(s,a,h,n),renderState:t()};return i&&(v.mount=T=>i(s,T,v)),v}const Rm=n=>(t,i)=>{const s=Fe.useContext(gf),a=Fe.useContext(Hd),h=()=>D1(n,t,s,a);return i?h():R1(h)};function I1(n,t,i,s){const a={},h=s(n,{});for(const H in h)a[H]=Jc(h[H]);let{initial:v,animate:T}=n;const x=yf(n),E=hm(n);t&&E&&!x&&n.inherit!==!1&&(v===void 0&&(v=t.initial),T===void 0&&(T=t.animate));let L=i?i.initial===!1:!1;L=L||v===!1;const _=L?T:v;return _&&typeof _!="boolean"&&!vf(_)&&(Array.isArray(_)?_:[_]).forEach(Y=>{const Q=Kd(n,Y);if(!Q)return;const{transitionEnd:ee,transition:Z,...j}=Q;for(const pe in j){let oe=j[pe];if(Array.isArray(oe)){const xe=L?oe.length-1:0;oe=oe[xe]}oe!==null&&(a[pe]=oe)}for(const pe in ee)a[pe]=ee[pe]}),a}const rr=n=>n;class Ap{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const i=this.order.indexOf(t);i!==-1&&(this.order.splice(i,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function M1(n){let t=new Ap,i=new Ap,s=0,a=!1,h=!1;const v=new WeakSet,T={schedule:(x,E=!1,L=!1)=>{const _=L&&a,H=_?t:i;return E&&v.add(x),H.add(x)&&_&&a&&(s=t.order.length),x},cancel:x=>{i.remove(x),v.delete(x)},process:x=>{if(a){h=!0;return}if(a=!0,[t,i]=[i,t],i.clear(),s=t.order.length,s)for(let E=0;E<s;E++){const L=t.order[E];L(x),v.has(L)&&(T.schedule(L),n())}a=!1,h&&(h=!1,T.process(x))}};return T}const zc=["prepare","read","update","preRender","render","postRender"],O1=40;function L1(n,t){let i=!1,s=!0;const a={delta:0,timestamp:0,isProcessing:!1},h=zc.reduce((_,H)=>(_[H]=M1(()=>i=!0),_),{}),v=_=>h[_].process(a),T=()=>{const _=performance.now();i=!1,a.delta=s?1e3/60:Math.max(Math.min(_-a.timestamp,O1),1),a.timestamp=_,a.isProcessing=!0,zc.forEach(v),a.isProcessing=!1,i&&t&&(s=!1,n(T))},x=()=>{i=!0,s=!0,a.isProcessing||n(T)};return{schedule:zc.reduce((_,H)=>{const Y=h[H];return _[H]=(Q,ee=!1,Z=!1)=>(i||x(),Y.schedule(Q,ee,Z)),_},{}),cancel:_=>zc.forEach(H=>h[H].cancel(_)),state:a,steps:h}}const{schedule:Fn,cancel:Ns,state:Ti,steps:id}=L1(typeof requestAnimationFrame<"u"?requestAnimationFrame:rr,!0),F1={useVisualState:Rm({scrapeMotionValuesFromProps:_m,createRenderState:Cm,onMount:(n,t,{renderState:i,latestValues:s})=>{Fn.read(()=>{try{i.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{i.dimensions={x:0,y:0,width:0,height:0}}}),Fn.render(()=>{qd(i,s,{enableHardwareAcceleration:!1},Zd(t.tagName),n.transformTemplate),km(t,i)})}})},B1={useVisualState:Rm({scrapeMotionValuesFromProps:Jd,createRenderState:Xd})};function j1(n,{forwardMotionProps:t=!1},i,s){return{...Yd(n)?F1:B1,preloadedFeatures:i,useRender:_1(t),createVisualElement:s,Component:n}}function Fs(n,t,i,s={passive:!0}){return n.addEventListener(t,i,s),()=>n.removeEventListener(t,i)}const Am=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1;function xf(n,t="page"){return{point:{x:n[t+"X"],y:n[t+"Y"]}}}const N1=n=>t=>Am(t)&&n(t,xf(t));function Bs(n,t,i,s){return Fs(n,t,N1(i),s)}const W1=(n,t)=>i=>t(n(i)),xl=(...n)=>n.reduce(W1);function Pm(n){let t=null;return()=>{const i=()=>{t=null};return t===null?(t=n,i):!1}}const Pp=Pm("dragHorizontal"),Dp=Pm("dragVertical");function Dm(n){let t=!1;if(n==="y")t=Dp();else if(n==="x")t=Pp();else{const i=Pp(),s=Dp();i&&s?t=()=>{i(),s()}:(i&&i(),s&&s())}return t}function Im(){const n=Dm(!0);return n?(n(),!1):!0}class Tl{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Ip(n,t){const i="pointer"+(t?"enter":"leave"),s="onHover"+(t?"Start":"End"),a=(h,v)=>{if(h.pointerType==="touch"||Im())return;const T=n.getProps();n.animationState&&T.whileHover&&n.animationState.setActive("whileHover",t),T[s]&&Fn.update(()=>T[s](h,v))};return Bs(n.current,i,a,{passive:!n.getProps()[s]})}class V1 extends Tl{mount(){this.unmount=xl(Ip(this.node,!0),Ip(this.node,!1))}unmount(){}}class H1 extends Tl{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=xl(Fs(this.node.current,"focus",()=>this.onFocus()),Fs(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Mm=(n,t)=>t?n===t?!0:Mm(n,t.parentElement):!1;function od(n,t){if(!t)return;const i=new PointerEvent("pointer"+n);t(i,xf(i))}class U1 extends Tl{constructor(){super(...arguments),this.removeStartListeners=rr,this.removeEndListeners=rr,this.removeAccessibleListeners=rr,this.startPointerPress=(t,i)=>{if(this.isPressing)return;this.removeEndListeners();const s=this.node.getProps(),h=Bs(window,"pointerup",(T,x)=>{if(!this.checkPressEnd())return;const{onTap:E,onTapCancel:L,globalTapTarget:_}=this.node.getProps();Fn.update(()=>{!_&&!Mm(this.node.current,T.target)?L&&L(T,x):E&&E(T,x)})},{passive:!(s.onTap||s.onPointerUp)}),v=Bs(window,"pointercancel",(T,x)=>this.cancelPress(T,x),{passive:!(s.onTapCancel||s.onPointerCancel)});this.removeEndListeners=xl(h,v),this.startPress(t,i)},this.startAccessiblePress=()=>{const t=h=>{if(h.key!=="Enter"||this.isPressing)return;const v=T=>{T.key!=="Enter"||!this.checkPressEnd()||od("up",(x,E)=>{const{onTap:L}=this.node.getProps();L&&Fn.update(()=>L(x,E))})};this.removeEndListeners(),this.removeEndListeners=Fs(this.node.current,"keyup",v),od("down",(T,x)=>{this.startPress(T,x)})},i=Fs(this.node.current,"keydown",t),s=()=>{this.isPressing&&od("cancel",(h,v)=>this.cancelPress(h,v))},a=Fs(this.node.current,"blur",s);this.removeAccessibleListeners=xl(i,a)}}startPress(t,i){this.isPressing=!0;const{onTapStart:s,whileTap:a}=this.node.getProps();a&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),s&&Fn.update(()=>s(t,i))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Im()}cancelPress(t,i){if(!this.checkPressEnd())return;const{onTapCancel:s}=this.node.getProps();s&&Fn.update(()=>s(t,i))}mount(){const t=this.node.getProps(),i=Bs(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),s=Fs(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=xl(i,s)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const kd=new WeakMap,ad=new WeakMap,z1=n=>{const t=kd.get(n.target);t&&t(n)},$1=n=>{n.forEach(z1)};function Y1({root:n,...t}){const i=n||document;ad.has(i)||ad.set(i,{});const s=ad.get(i),a=JSON.stringify(t);return s[a]||(s[a]=new IntersectionObserver($1,{root:n,...t})),s[a]}function G1(n,t,i){const s=Y1(t);return kd.set(n,i),s.observe(n),()=>{kd.delete(n),s.unobserve(n)}}const X1={some:0,all:1};class q1 extends Tl{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:i,margin:s,amount:a="some",once:h}=t,v={root:i?i.current:void 0,rootMargin:s,threshold:typeof a=="number"?a:X1[a]},T=x=>{const{isIntersecting:E}=x;if(this.isInView===E||(this.isInView=E,h&&!E&&this.hasEnteredView))return;E&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",E);const{onViewportEnter:L,onViewportLeave:_}=this.node.getProps(),H=E?L:_;H&&H(x)};return G1(this.node.current,v,T)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:i}=this.node;["amount","margin","root"].some(Z1(t,i))&&this.startObserver()}unmount(){}}function Z1({viewport:n={}},{viewport:t={}}={}){return i=>n[i]!==t[i]}const J1={inView:{Feature:q1},tap:{Feature:U1},focus:{Feature:H1},hover:{Feature:V1}};function Om(n,t){if(!Array.isArray(t))return!1;const i=t.length;if(i!==n.length)return!1;for(let s=0;s<i;s++)if(t[s]!==n[s])return!1;return!0}function K1(n){const t={};return n.values.forEach((i,s)=>t[s]=i.get()),t}function Q1(n){const t={};return n.values.forEach((i,s)=>t[s]=i.getVelocity()),t}function wf(n,t,i){const s=n.getProps();return Kd(s,t,i!==void 0?i:s.custom,K1(n),Q1(n))}let Tc=rr,_a=rr;process.env.NODE_ENV!=="production"&&(Tc=(n,t)=>{!n&&typeof console<"u"&&console.warn(t)},_a=(n,t)=>{if(!n)throw new Error(t)});const wl=n=>n*1e3,js=n=>n/1e3,eC={current:!1},Lm=n=>Array.isArray(n)&&typeof n[0]=="number";function Fm(n){return!!(!n||typeof n=="string"&&Bm[n]||Lm(n)||Array.isArray(n)&&n.every(Fm))}const uc=([n,t,i,s])=>`cubic-bezier(${n}, ${t}, ${i}, ${s})`,Bm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:uc([0,.65,.55,1]),circOut:uc([.55,0,1,.45]),backIn:uc([.31,.01,.66,-.59]),backOut:uc([.33,1.53,.69,.99])};function jm(n){if(n)return Lm(n)?uc(n):Array.isArray(n)?n.map(jm):Bm[n]}function tC(n,t,i,{delay:s=0,duration:a,repeat:h=0,repeatType:v="loop",ease:T,times:x}={}){const E={[t]:i};x&&(E.offset=x);const L=jm(T);return Array.isArray(L)&&(E.easing=L),n.animate(E,{delay:s,duration:a,easing:Array.isArray(L)?"linear":L,fill:"both",iterations:h+1,direction:v==="reverse"?"alternate":"normal"})}function nC(n,{repeat:t,repeatType:i="loop"}){const s=t&&i!=="loop"&&t%2===1?0:n.length-1;return n[s]}const Nm=(n,t,i)=>(((1-3*i+3*t)*n+(3*i-6*t))*n+3*t)*n,rC=1e-7,iC=12;function oC(n,t,i,s,a){let h,v,T=0;do v=t+(i-t)/2,h=Nm(v,s,a)-n,h>0?i=v:t=v;while(Math.abs(h)>rC&&++T<iC);return v}function Ec(n,t,i,s){if(n===t&&i===s)return rr;const a=h=>oC(h,0,1,n,i);return h=>h===0||h===1?h:Nm(a(h),t,s)}const aC=Ec(.42,0,1,1),sC=Ec(0,0,.58,1),Wm=Ec(.42,0,.58,1),lC=n=>Array.isArray(n)&&typeof n[0]!="number",Vm=n=>t=>t<=.5?n(2*t)/2:(2-n(2*(1-t)))/2,Hm=n=>t=>1-n(1-t),Qd=n=>1-Math.sin(Math.acos(n)),Um=Hm(Qd),uC=Vm(Qd),zm=Ec(.33,1.53,.69,.99),eh=Hm(zm),cC=Vm(eh),fC=n=>(n*=2)<1?.5*eh(n):.5*(2-Math.pow(2,-10*(n-1))),Mp={linear:rr,easeIn:aC,easeInOut:Wm,easeOut:sC,circIn:Qd,circInOut:uC,circOut:Um,backIn:eh,backInOut:cC,backOut:zm,anticipate:fC},Op=n=>{if(Array.isArray(n)){_a(n.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,i,s,a]=n;return Ec(t,i,s,a)}else if(typeof n=="string")return _a(Mp[n]!==void 0,`Invalid easing type '${n}'`),Mp[n];return n},th=(n,t)=>i=>!!(Sc(i)&&h1.test(i)&&i.startsWith(n)||t&&Object.prototype.hasOwnProperty.call(i,t)),$m=(n,t,i)=>s=>{if(!Sc(s))return s;const[a,h,v,T]=s.match(bf);return{[n]:parseFloat(a),[t]:parseFloat(h),[i]:parseFloat(v),alpha:T!==void 0?parseFloat(T):1}},dC=n=>Sl(0,255,n),sd={...gu,transform:n=>Math.round(dC(n))},fu={test:th("rgb","red"),parse:$m("red","green","blue"),transform:({red:n,green:t,blue:i,alpha:s=1})=>"rgba("+sd.transform(n)+", "+sd.transform(t)+", "+sd.transform(i)+", "+dc(fc.transform(s))+")"};function hC(n){let t="",i="",s="",a="";return n.length>5?(t=n.substring(1,3),i=n.substring(3,5),s=n.substring(5,7),a=n.substring(7,9)):(t=n.substring(1,2),i=n.substring(2,3),s=n.substring(3,4),a=n.substring(4,5),t+=t,i+=i,s+=s,a+=a),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:a?parseInt(a,16)/255:1}}const _d={test:th("#"),parse:hC,transform:fu.transform},Hu={test:th("hsl","hue"),parse:$m("hue","saturation","lightness"),transform:({hue:n,saturation:t,lightness:i,alpha:s=1})=>"hsla("+Math.round(n)+", "+Qa.transform(dc(t))+", "+Qa.transform(dc(i))+", "+dc(fc.transform(s))+")"},$i={test:n=>fu.test(n)||_d.test(n)||Hu.test(n),parse:n=>fu.test(n)?fu.parse(n):Hu.test(n)?Hu.parse(n):_d.parse(n),transform:n=>Sc(n)?n:n.hasOwnProperty("red")?fu.transform(n):Hu.transform(n)},Zn=(n,t,i)=>-i*n+i*t+n;function ld(n,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?n+(t-n)*6*i:i<1/2?t:i<2/3?n+(t-n)*(2/3-i)*6:n}function pC({hue:n,saturation:t,lightness:i,alpha:s}){n/=360,t/=100,i/=100;let a=0,h=0,v=0;if(!t)a=h=v=i;else{const T=i<.5?i*(1+t):i+t-i*t,x=2*i-T;a=ld(x,T,n+1/3),h=ld(x,T,n),v=ld(x,T,n-1/3)}return{red:Math.round(a*255),green:Math.round(h*255),blue:Math.round(v*255),alpha:s}}const ud=(n,t,i)=>{const s=n*n;return Math.sqrt(Math.max(0,i*(t*t-s)+s))},gC=[_d,fu,Hu],mC=n=>gC.find(t=>t.test(n));function Lp(n){const t=mC(n);_a(!!t,`'${n}' is not an animatable color. Use the equivalent color code instead.`);let i=t.parse(n);return t===Hu&&(i=pC(i)),i}const Ym=(n,t)=>{const i=Lp(n),s=Lp(t),a={...i};return h=>(a.red=ud(i.red,s.red,h),a.green=ud(i.green,s.green,h),a.blue=ud(i.blue,s.blue,h),a.alpha=Zn(i.alpha,s.alpha,h),fu.transform(a))};function vC(n){var t,i;return isNaN(n)&&Sc(n)&&(((t=n.match(bf))===null||t===void 0?void 0:t.length)||0)+(((i=n.match(bm))===null||i===void 0?void 0:i.length)||0)>0}const Gm={regex:f1,countKey:"Vars",token:"${v}",parse:rr},Xm={regex:bm,countKey:"Colors",token:"${c}",parse:$i.parse},qm={regex:bf,countKey:"Numbers",token:"${n}",parse:gu.parse};function cd(n,{regex:t,countKey:i,token:s,parse:a}){const h=n.tokenised.match(t);h&&(n["num"+i]=h.length,n.tokenised=n.tokenised.replace(t,s),n.values.push(...h.map(a)))}function af(n){const t=n.toString(),i={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return i.value.includes("var(--")&&cd(i,Gm),cd(i,Xm),cd(i,qm),i}function Zm(n){return af(n).values}function Jm(n){const{values:t,numColors:i,numVars:s,tokenised:a}=af(n),h=t.length;return v=>{let T=a;for(let x=0;x<h;x++)x<s?T=T.replace(Gm.token,v[x]):x<s+i?T=T.replace(Xm.token,$i.transform(v[x])):T=T.replace(qm.token,dc(v[x]));return T}}const yC=n=>typeof n=="number"?0:n;function bC(n){const t=Zm(n);return Jm(n)(t.map(yC))}const Cl={test:vC,parse:Zm,createTransformer:Jm,getAnimatableNone:bC},Km=(n,t)=>i=>`${i>0?t:n}`;function Qm(n,t){return typeof n=="number"?i=>Zn(n,t,i):$i.test(n)?Ym(n,t):n.startsWith("var(")?Km(n,t):tv(n,t)}const ev=(n,t)=>{const i=[...n],s=i.length,a=n.map((h,v)=>Qm(h,t[v]));return h=>{for(let v=0;v<s;v++)i[v]=a[v](h);return i}},xC=(n,t)=>{const i={...n,...t},s={};for(const a in i)n[a]!==void 0&&t[a]!==void 0&&(s[a]=Qm(n[a],t[a]));return a=>{for(const h in s)i[h]=s[h](a);return i}},tv=(n,t)=>{const i=Cl.createTransformer(t),s=af(n),a=af(t);return s.numVars===a.numVars&&s.numColors===a.numColors&&s.numNumbers>=a.numNumbers?xl(ev(s.values,a.values),i):(Tc(!0,`Complex values '${n}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Km(n,t))},bc=(n,t,i)=>{const s=t-n;return s===0?1:(i-n)/s},Fp=(n,t)=>i=>Zn(n,t,i);function wC(n){return typeof n=="number"?Fp:typeof n=="string"?$i.test(n)?Ym:tv:Array.isArray(n)?ev:typeof n=="object"?xC:Fp}function SC(n,t,i){const s=[],a=i||wC(n[0]),h=n.length-1;for(let v=0;v<h;v++){let T=a(n[v],n[v+1]);if(t){const x=Array.isArray(t)?t[v]||rr:t;T=xl(x,T)}s.push(T)}return s}function nv(n,t,{clamp:i=!0,ease:s,mixer:a}={}){const h=n.length;if(_a(h===t.length,"Both input and output ranges must be the same length"),h===1)return()=>t[0];n[0]>n[h-1]&&(n=[...n].reverse(),t=[...t].reverse());const v=SC(t,s,a),T=v.length,x=E=>{let L=0;if(T>1)for(;L<n.length-2&&!(E<n[L+1]);L++);const _=bc(n[L],n[L+1],E);return v[L](_)};return i?E=>x(Sl(n[0],n[h-1],E)):x}function CC(n,t){const i=n[n.length-1];for(let s=1;s<=t;s++){const a=bc(0,t,s);n.push(Zn(i,1,a))}}function TC(n){const t=[0];return CC(t,n.length-1),t}function EC(n,t){return n.map(i=>i*t)}function kC(n,t){return n.map(()=>t||Wm).splice(0,n.length-1)}function sf({duration:n=300,keyframes:t,times:i,ease:s="easeInOut"}){const a=lC(s)?s.map(Op):Op(s),h={done:!1,value:t[0]},v=EC(i&&i.length===t.length?i:TC(t),n),T=nv(v,t,{ease:Array.isArray(a)?a:kC(t,a)});return{calculatedDuration:n,next:x=>(h.value=T(x),h.done=x>=n,h)}}function rv(n,t){return t?n*(1e3/t):0}const _C=5;function iv(n,t,i){const s=Math.max(t-_C,0);return rv(i-n(s),t-s)}const fd=.001,RC=.01,Bp=10,AC=.05,PC=1;function DC({duration:n=800,bounce:t=.25,velocity:i=0,mass:s=1}){let a,h;Tc(n<=wl(Bp),"Spring duration must be 10 seconds or less");let v=1-t;v=Sl(AC,PC,v),n=Sl(RC,Bp,js(n)),v<1?(a=E=>{const L=E*v,_=L*n,H=L-i,Y=Rd(E,v),Q=Math.exp(-_);return fd-H/Y*Q},h=E=>{const _=E*v*n,H=_*i+i,Y=Math.pow(v,2)*Math.pow(E,2)*n,Q=Math.exp(-_),ee=Rd(Math.pow(E,2),v);return(-a(E)+fd>0?-1:1)*((H-Y)*Q)/ee}):(a=E=>{const L=Math.exp(-E*n),_=(E-i)*n+1;return-fd+L*_},h=E=>{const L=Math.exp(-E*n),_=(i-E)*(n*n);return L*_});const T=5/n,x=MC(a,h,T);if(n=wl(n),isNaN(x))return{stiffness:100,damping:10,duration:n};{const E=Math.pow(x,2)*s;return{stiffness:E,damping:v*2*Math.sqrt(s*E),duration:n}}}const IC=12;function MC(n,t,i){let s=i;for(let a=1;a<IC;a++)s=s-n(s)/t(s);return s}function Rd(n,t){return n*Math.sqrt(1-t*t)}const OC=["duration","bounce"],LC=["stiffness","damping","mass"];function jp(n,t){return t.some(i=>n[i]!==void 0)}function FC(n){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...n};if(!jp(n,LC)&&jp(n,OC)){const i=DC(n);t={...t,...i,mass:1},t.isResolvedFromDuration=!0}return t}function ov({keyframes:n,restDelta:t,restSpeed:i,...s}){const a=n[0],h=n[n.length-1],v={done:!1,value:a},{stiffness:T,damping:x,mass:E,duration:L,velocity:_,isResolvedFromDuration:H}=FC({...s,velocity:-js(s.velocity||0)}),Y=_||0,Q=x/(2*Math.sqrt(T*E)),ee=h-a,Z=js(Math.sqrt(T/E)),j=Math.abs(ee)<5;i||(i=j?.01:2),t||(t=j?.005:.5);let pe;if(Q<1){const oe=Rd(Z,Q);pe=xe=>{const se=Math.exp(-Q*Z*xe);return h-se*((Y+Q*Z*ee)/oe*Math.sin(oe*xe)+ee*Math.cos(oe*xe))}}else if(Q===1)pe=oe=>h-Math.exp(-Z*oe)*(ee+(Y+Z*ee)*oe);else{const oe=Z*Math.sqrt(Q*Q-1);pe=xe=>{const se=Math.exp(-Q*Z*xe),Ee=Math.min(oe*xe,300);return h-se*((Y+Q*Z*ee)*Math.sinh(Ee)+oe*ee*Math.cosh(Ee))/oe}}return{calculatedDuration:H&&L||null,next:oe=>{const xe=pe(oe);if(H)v.done=oe>=L;else{let se=Y;oe!==0&&(Q<1?se=iv(pe,oe,xe):se=0);const Ee=Math.abs(se)<=i,m=Math.abs(h-xe)<=t;v.done=Ee&&m}return v.value=v.done?h:xe,v}}}function Np({keyframes:n,velocity:t=0,power:i=.8,timeConstant:s=325,bounceDamping:a=10,bounceStiffness:h=500,modifyTarget:v,min:T,max:x,restDelta:E=.5,restSpeed:L}){const _=n[0],H={done:!1,value:_},Y=ke=>T!==void 0&&ke<T||x!==void 0&&ke>x,Q=ke=>T===void 0?x:x===void 0||Math.abs(T-ke)<Math.abs(x-ke)?T:x;let ee=i*t;const Z=_+ee,j=v===void 0?Z:v(Z);j!==Z&&(ee=j-_);const pe=ke=>-ee*Math.exp(-ke/s),oe=ke=>j+pe(ke),xe=ke=>{const Ce=pe(ke),mt=oe(ke);H.done=Math.abs(Ce)<=E,H.value=H.done?j:mt};let se,Ee;const m=ke=>{Y(H.value)&&(se=ke,Ee=ov({keyframes:[H.value,Q(H.value)],velocity:iv(oe,ke,H.value),damping:a,stiffness:h,restDelta:E,restSpeed:L}))};return m(0),{calculatedDuration:null,next:ke=>{let Ce=!1;return!Ee&&se===void 0&&(Ce=!0,xe(ke),m(ke)),se!==void 0&&ke>se?Ee.next(ke-se):(!Ce&&xe(ke),H)}}}const BC=n=>{const t=({timestamp:i})=>n(i);return{start:()=>Fn.update(t,!0),stop:()=>Ns(t),now:()=>Ti.isProcessing?Ti.timestamp:performance.now()}},Wp=2e4;function Vp(n){let t=0;const i=50;let s=n.next(t);for(;!s.done&&t<Wp;)t+=i,s=n.next(t);return t>=Wp?1/0:t}const jC={decay:Np,inertia:Np,tween:sf,keyframes:sf,spring:ov};function lf({autoplay:n=!0,delay:t=0,driver:i=BC,keyframes:s,type:a="keyframes",repeat:h=0,repeatDelay:v=0,repeatType:T="loop",onPlay:x,onStop:E,onComplete:L,onUpdate:_,...H}){let Y=1,Q=!1,ee,Z;const j=()=>{Z=new Promise(Pe=>{ee=Pe})};j();let pe;const oe=jC[a]||sf;let xe;oe!==sf&&typeof s[0]!="number"&&(process.env.NODE_ENV!=="production"&&_a(s.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${s}`),xe=nv([0,100],s,{clamp:!1}),s=[0,100]);const se=oe({...H,keyframes:s});let Ee;T==="mirror"&&(Ee=oe({...H,keyframes:[...s].reverse(),velocity:-(H.velocity||0)}));let m="idle",ke=null,Ce=null,mt=null;se.calculatedDuration===null&&h&&(se.calculatedDuration=Vp(se));const{calculatedDuration:St}=se;let dt=1/0,Ke=1/0;St!==null&&(dt=St+v,Ke=dt*(h+1)-v);let bt=0;const Kt=Pe=>{if(Ce===null)return;Y>0&&(Ce=Math.min(Ce,Pe)),Y<0&&(Ce=Math.min(Pe-Ke/Y,Ce)),ke!==null?bt=ke:bt=Math.round(Pe-Ce)*Y;const ze=bt-t*(Y>=0?1:-1),qe=Y>=0?ze<0:ze>Ke;bt=Math.max(ze,0),m==="finished"&&ke===null&&(bt=Ke);let Ze=bt,Ge=se;if(h){const ht=Math.min(bt,Ke)/dt;let ut=Math.floor(ht),Ct=ht%1;!Ct&&ht>=1&&(Ct=1),Ct===1&&ut--,ut=Math.min(ut,h+1),!!(ut%2)&&(T==="reverse"?(Ct=1-Ct,v&&(Ct-=v/dt)):T==="mirror"&&(Ge=Ee)),Ze=Sl(0,1,Ct)*dt}const Ye=qe?{done:!1,value:s[0]}:Ge.next(Ze);xe&&(Ye.value=xe(Ye.value));let{done:lt}=Ye;!qe&&St!==null&&(lt=Y>=0?bt>=Ke:bt<=0);const yt=ke===null&&(m==="finished"||m==="running"&&lt);return _&&_(Ye.value),yt&&it(),Ye},_t=()=>{pe&&pe.stop(),pe=void 0},vt=()=>{m="idle",_t(),ee(),j(),Ce=mt=null},it=()=>{m="finished",L&&L(),_t(),ee()},At=()=>{if(Q)return;pe||(pe=i(Kt));const Pe=pe.now();x&&x(),ke!==null?Ce=Pe-ke:(!Ce||m==="finished")&&(Ce=Pe),m==="finished"&&j(),mt=Ce,ke=null,m="running",pe.start()};n&&At();const Oe={then(Pe,ze){return Z.then(Pe,ze)},get time(){return js(bt)},set time(Pe){Pe=wl(Pe),bt=Pe,ke!==null||!pe||Y===0?ke=Pe:Ce=pe.now()-Pe/Y},get duration(){const Pe=se.calculatedDuration===null?Vp(se):se.calculatedDuration;return js(Pe)},get speed(){return Y},set speed(Pe){Pe===Y||!pe||(Y=Pe,Oe.time=js(bt))},get state(){return m},play:At,pause:()=>{m="paused",ke=bt},stop:()=>{Q=!0,m!=="idle"&&(m="idle",E&&E(),vt())},cancel:()=>{mt!==null&&Kt(mt),vt()},complete:()=>{m="finished"},sample:Pe=>(Ce=0,Kt(Pe))};return Oe}function NC(n){let t;return()=>(t===void 0&&(t=n()),t)}const WC=NC(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),VC=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),$c=10,HC=2e4,UC=(n,t)=>t.type==="spring"||n==="backgroundColor"||!Fm(t.ease);function zC(n,t,{onUpdate:i,onComplete:s,...a}){if(!(WC()&&VC.has(t)&&!a.repeatDelay&&a.repeatType!=="mirror"&&a.damping!==0&&a.type!=="inertia"))return!1;let v=!1,T,x,E=!1;const L=()=>{x=new Promise(oe=>{T=oe})};L();let{keyframes:_,duration:H=300,ease:Y,times:Q}=a;if(UC(t,a)){const oe=lf({...a,repeat:0,delay:0});let xe={done:!1,value:_[0]};const se=[];let Ee=0;for(;!xe.done&&Ee<HC;)xe=oe.sample(Ee),se.push(xe.value),Ee+=$c;Q=void 0,_=se,H=Ee-$c,Y="linear"}const ee=tC(n.owner.current,t,_,{...a,duration:H,ease:Y,times:Q}),Z=()=>{E=!1,ee.cancel()},j=()=>{E=!0,Fn.update(Z),T(),L()};return ee.onfinish=()=>{E||(n.set(nC(_,a)),s&&s(),j())},{then(oe,xe){return x.then(oe,xe)},attachTimeline(oe){return ee.timeline=oe,ee.onfinish=null,rr},get time(){return js(ee.currentTime||0)},set time(oe){ee.currentTime=wl(oe)},get speed(){return ee.playbackRate},set speed(oe){ee.playbackRate=oe},get duration(){return js(H)},play:()=>{v||(ee.play(),Ns(Z))},pause:()=>ee.pause(),stop:()=>{if(v=!0,ee.playState==="idle")return;const{currentTime:oe}=ee;if(oe){const xe=lf({...a,autoplay:!1});n.setWithVelocity(xe.sample(oe-$c).value,xe.sample(oe).value,$c)}j()},complete:()=>{E||ee.finish()},cancel:j}}function $C({keyframes:n,delay:t,onUpdate:i,onComplete:s}){const a=()=>(i&&i(n[n.length-1]),s&&s(),{time:0,speed:1,duration:0,play:rr,pause:rr,stop:rr,then:h=>(h(),Promise.resolve()),cancel:rr,complete:rr});return t?lf({keyframes:[0,1],duration:0,delay:t,onComplete:a}):a()}const YC={type:"spring",stiffness:500,damping:25,restSpeed:10},GC=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),XC={type:"keyframes",duration:.8},qC={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ZC=(n,{keyframes:t})=>t.length>2?XC:pu.has(n)?n.startsWith("scale")?GC(t[1]):YC:qC,Ad=(n,t)=>n==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Cl.test(t)||t==="0")&&!t.startsWith("url(")),JC=new Set(["brightness","contrast","saturate","opacity"]);function KC(n){const[t,i]=n.slice(0,-1).split("(");if(t==="drop-shadow")return n;const[s]=i.match(bf)||[];if(!s)return n;const a=i.replace(s,"");let h=JC.has(t)?1:0;return s!==i&&(h*=100),t+"("+h+a+")"}const QC=/([a-z-]*)\(.*?\)/g,Pd={...Cl,getAnimatableNone:n=>{const t=n.match(QC);return t?t.map(KC).join(" "):n}},eT={...xm,color:$i,backgroundColor:$i,outlineColor:$i,fill:$i,stroke:$i,borderColor:$i,borderTopColor:$i,borderRightColor:$i,borderBottomColor:$i,borderLeftColor:$i,filter:Pd,WebkitFilter:Pd},nh=n=>eT[n];function av(n,t){let i=nh(n);return i!==Pd&&(i=Cl),i.getAnimatableNone?i.getAnimatableNone(t):void 0}const sv=n=>/^0[^.\s]+$/.test(n);function tT(n){if(typeof n=="number")return n===0;if(n!==null)return n==="none"||n==="0"||sv(n)}function nT(n,t,i,s){const a=Ad(t,i);let h;Array.isArray(i)?h=[...i]:h=[null,i];const v=s.from!==void 0?s.from:n.get();let T;const x=[];for(let E=0;E<h.length;E++)h[E]===null&&(h[E]=E===0?v:h[E-1]),tT(h[E])&&x.push(E),typeof h[E]=="string"&&h[E]!=="none"&&h[E]!=="0"&&(T=h[E]);if(a&&x.length&&T)for(let E=0;E<x.length;E++){const L=x[E];h[L]=av(t,T)}return h}function rT({when:n,delay:t,delayChildren:i,staggerChildren:s,staggerDirection:a,repeat:h,repeatType:v,repeatDelay:T,from:x,elapsed:E,...L}){return!!Object.keys(L).length}function rh(n,t){return n[t]||n.default||n}const iT={skipAnimations:!1},ih=(n,t,i,s={})=>a=>{const h=rh(s,n)||{},v=h.delay||s.delay||0;let{elapsed:T=0}=s;T=T-wl(v);const x=nT(t,n,i,h),E=x[0],L=x[x.length-1],_=Ad(n,E),H=Ad(n,L);Tc(_===H,`You are trying to animate ${n} from "${E}" to "${L}". ${E} is not an animatable value - to enable this animation set ${E} to a value animatable to ${L} via the \`style\` property.`);let Y={keyframes:x,velocity:t.getVelocity(),ease:"easeOut",...h,delay:-T,onUpdate:Q=>{t.set(Q),h.onUpdate&&h.onUpdate(Q)},onComplete:()=>{a(),h.onComplete&&h.onComplete()}};if(rT(h)||(Y={...Y,...ZC(n,Y)}),Y.duration&&(Y.duration=wl(Y.duration)),Y.repeatDelay&&(Y.repeatDelay=wl(Y.repeatDelay)),!_||!H||eC.current||h.type===!1||iT.skipAnimations)return $C(Y);if(!s.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const Q=zC(t,n,Y);if(Q)return Q}return lf(Y)};function uf(n){return!!(ho(n)&&n.add)}const lv=n=>/^\-?\d*\.?\d+$/.test(n);function oh(n,t){n.indexOf(t)===-1&&n.push(t)}function ah(n,t){const i=n.indexOf(t);i>-1&&n.splice(i,1)}class sh{constructor(){this.subscriptions=[]}add(t){return oh(this.subscriptions,t),()=>ah(this.subscriptions,t)}notify(t,i,s){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](t,i,s);else for(let h=0;h<a;h++){const v=this.subscriptions[h];v&&v(t,i,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Hp=new Set;function lh(n,t,i){n||Hp.has(t)||(console.warn(t),i&&console.warn(i),Hp.add(t))}const oT=n=>!isNaN(parseFloat(n));class aT{constructor(t,i={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(s,a=!0)=>{this.prev=this.current,this.current=s;const{delta:h,timestamp:v}=Ti;this.lastUpdated!==v&&(this.timeDelta=h,this.lastUpdated=v,Fn.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),a&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>Fn.postRender(this.velocityCheck),this.velocityCheck=({timestamp:s})=>{s!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=oT(this.current),this.owner=i.owner}onChange(t){return process.env.NODE_ENV!=="production"&&lh(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,i){this.events[t]||(this.events[t]=new sh);const s=this.events[t].add(i);return t==="change"?()=>{s(),Fn.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,i){this.passiveEffect=t,this.stopPassiveEffect=i}set(t,i=!0){!i||!this.passiveEffect?this.updateAndNotify(t,i):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,i,s){this.set(i),this.prev=t,this.timeDelta=s}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?rv(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=t(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Yu(n,t){return new aT(n,t)}const uv=n=>t=>t.test(n),sT={test:n=>n==="auto",parse:n=>n},cv=[gu,Ft,Qa,ml,g1,p1,sT],sc=n=>cv.find(uv(n)),lT=[...cv,$i,Cl],uT=n=>lT.find(uv(n));function cT(n,t,i){n.hasValue(t)?n.getValue(t).set(i):n.addValue(t,Yu(i))}function fT(n,t){const i=wf(n,t);let{transitionEnd:s={},transition:a={},...h}=i?n.makeTargetAnimatable(i,!1):{};h={...h,...s};for(const v in h){const T=P1(h[v]);cT(n,v,T)}}function dT(n,t,i){var s,a;const h=Object.keys(t).filter(T=>!n.hasValue(T)),v=h.length;if(v)for(let T=0;T<v;T++){const x=h[T],E=t[x];let L=null;Array.isArray(E)&&(L=E[0]),L===null&&(L=(a=(s=i[x])!==null&&s!==void 0?s:n.readValue(x))!==null&&a!==void 0?a:t[x]),L!=null&&(typeof L=="string"&&(lv(L)||sv(L))?L=parseFloat(L):!uT(L)&&Cl.test(E)&&(L=av(x,E)),n.addValue(x,Yu(L,{owner:n})),i[x]===void 0&&(i[x]=L),L!==null&&n.setBaseTarget(x,L))}}function hT(n,t){return t?(t[n]||t.default||t).from:void 0}function pT(n,t,i){const s={};for(const a in n){const h=hT(a,t);if(h!==void 0)s[a]=h;else{const v=i.getValue(a);v&&(s[a]=v.get())}}return s}function gT({protectedKeys:n,needsAnimating:t},i){const s=n.hasOwnProperty(i)&&t[i]!==!0;return t[i]=!1,s}function mT(n,t){const i=n.get();if(Array.isArray(t)){for(let s=0;s<t.length;s++)if(t[s]!==i)return!0}else return i!==t}function fv(n,t,{delay:i=0,transitionOverride:s,type:a}={}){let{transition:h=n.getDefaultTransition(),transitionEnd:v,...T}=n.makeTargetAnimatable(t);const x=n.getValue("willChange");s&&(h=s);const E=[],L=a&&n.animationState&&n.animationState.getState()[a];for(const _ in T){const H=n.getValue(_),Y=T[_];if(!H||Y===void 0||L&&gT(L,_))continue;const Q={delay:i,elapsed:0,...rh(h||{},_)};if(window.HandoffAppearAnimations){const j=n.getProps()[dm];if(j){const pe=window.HandoffAppearAnimations(j,_,H,Fn);pe!==null&&(Q.elapsed=pe,Q.isHandoff=!0)}}let ee=!Q.isHandoff&&!mT(H,Y);if(Q.type==="spring"&&(H.getVelocity()||Q.velocity)&&(ee=!1),H.animation&&(ee=!1),ee)continue;H.start(ih(_,H,Y,n.shouldReduceMotion&&pu.has(_)?{type:!1}:Q));const Z=H.animation;uf(x)&&(x.add(_),Z.then(()=>x.remove(_))),E.push(Z)}return v&&Promise.all(E).then(()=>{v&&fT(n,v)}),E}function Dd(n,t,i={}){const s=wf(n,t,i.custom);let{transition:a=n.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(a=i.transitionOverride);const h=s?()=>Promise.all(fv(n,s,i)):()=>Promise.resolve(),v=n.variantChildren&&n.variantChildren.size?(x=0)=>{const{delayChildren:E=0,staggerChildren:L,staggerDirection:_}=a;return vT(n,t,E+x,L,_,i)}:()=>Promise.resolve(),{when:T}=a;if(T){const[x,E]=T==="beforeChildren"?[h,v]:[v,h];return x().then(()=>E())}else return Promise.all([h(),v(i.delay)])}function vT(n,t,i=0,s=0,a=1,h){const v=[],T=(n.variantChildren.size-1)*s,x=a===1?(E=0)=>E*s:(E=0)=>T-E*s;return Array.from(n.variantChildren).sort(yT).forEach((E,L)=>{E.notify("AnimationStart",t),v.push(Dd(E,t,{...h,delay:i+x(L)}).then(()=>E.notify("AnimationComplete",t)))}),Promise.all(v)}function yT(n,t){return n.sortNodePosition(t)}function bT(n,t,i={}){n.notify("AnimationStart",t);let s;if(Array.isArray(t)){const a=t.map(h=>Dd(n,h,i));s=Promise.all(a)}else if(typeof t=="string")s=Dd(n,t,i);else{const a=typeof t=="function"?wf(n,t,i.custom):t;s=Promise.all(fv(n,a,i))}return s.then(()=>n.notify("AnimationComplete",t))}const xT=[...zd].reverse(),wT=zd.length;function ST(n){return t=>Promise.all(t.map(({animation:i,options:s})=>bT(n,i,s)))}function CT(n){let t=ST(n);const i=ET();let s=!0;const a=(x,E)=>{const L=wf(n,E);if(L){const{transition:_,transitionEnd:H,...Y}=L;x={...x,...Y,...H}}return x};function h(x){t=x(n)}function v(x,E){const L=n.getProps(),_=n.getVariantContext(!0)||{},H=[],Y=new Set;let Q={},ee=1/0;for(let j=0;j<wT;j++){const pe=xT[j],oe=i[pe],xe=L[pe]!==void 0?L[pe]:_[pe],se=vc(xe),Ee=pe===E?oe.isActive:null;Ee===!1&&(ee=j);let m=xe===_[pe]&&xe!==L[pe]&&se;if(m&&s&&n.manuallyAnimateOnMount&&(m=!1),oe.protectedKeys={...Q},!oe.isActive&&Ee===null||!xe&&!oe.prevProp||vf(xe)||typeof xe=="boolean")continue;let Ce=TT(oe.prevProp,xe)||pe===E&&oe.isActive&&!m&&se||j>ee&&se,mt=!1;const St=Array.isArray(xe)?xe:[xe];let dt=St.reduce(a,{});Ee===!1&&(dt={});const{prevResolvedValues:Ke={}}=oe,bt={...Ke,...dt},Kt=_t=>{Ce=!0,Y.has(_t)&&(mt=!0,Y.delete(_t)),oe.needsAnimating[_t]=!0};for(const _t in bt){const vt=dt[_t],it=Ke[_t];if(Q.hasOwnProperty(_t))continue;let At=!1;of(vt)&&of(it)?At=!Om(vt,it):At=vt!==it,At?vt!==void 0?Kt(_t):Y.add(_t):vt!==void 0&&Y.has(_t)?Kt(_t):oe.protectedKeys[_t]=!0}oe.prevProp=xe,oe.prevResolvedValues=dt,oe.isActive&&(Q={...Q,...dt}),s&&n.blockInitialAnimation&&(Ce=!1),Ce&&(!m||mt)&&H.push(...St.map(_t=>({animation:_t,options:{type:pe,...x}})))}if(Y.size){const j={};Y.forEach(pe=>{const oe=n.getBaseTarget(pe);oe!==void 0&&(j[pe]=oe)}),H.push({animation:j})}let Z=!!H.length;return s&&(L.initial===!1||L.initial===L.animate)&&!n.manuallyAnimateOnMount&&(Z=!1),s=!1,Z?t(H):Promise.resolve()}function T(x,E,L){var _;if(i[x].isActive===E)return Promise.resolve();(_=n.variantChildren)===null||_===void 0||_.forEach(Y=>{var Q;return(Q=Y.animationState)===null||Q===void 0?void 0:Q.setActive(x,E)}),i[x].isActive=E;const H=v(L,x);for(const Y in i)i[Y].protectedKeys={};return H}return{animateChanges:v,setActive:T,setAnimateFunction:h,getState:()=>i}}function TT(n,t){return typeof t=="string"?t!==n:Array.isArray(t)?!Om(t,n):!1}function lu(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ET(){return{animate:lu(!0),whileInView:lu(),whileHover:lu(),whileTap:lu(),whileDrag:lu(),whileFocus:lu(),exit:lu()}}class kT extends Tl{constructor(t){super(t),t.animationState||(t.animationState=CT(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),vf(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:i}=this.node.prevProps||{};t!==i&&this.updateAnimationControlsSubscription()}unmount(){}}let _T=0;class RT extends Tl{constructor(){super(...arguments),this.id=_T++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:i,custom:s}=this.node.presenceContext,{isPresent:a}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===a)return;const h=this.node.animationState.setActive("exit",!t,{custom:s??this.node.getProps().custom});i&&!t&&h.then(()=>i(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const AT={animation:{Feature:kT},exit:{Feature:RT}},Up=(n,t)=>Math.abs(n-t);function PT(n,t){const i=Up(n.x,t.x),s=Up(n.y,t.y);return Math.sqrt(i**2+s**2)}class dv{constructor(t,i,{transformPagePoint:s,contextWindow:a,dragSnapToOrigin:h=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const _=hd(this.lastMoveEventInfo,this.history),H=this.startEvent!==null,Y=PT(_.offset,{x:0,y:0})>=3;if(!H&&!Y)return;const{point:Q}=_,{timestamp:ee}=Ti;this.history.push({...Q,timestamp:ee});const{onStart:Z,onMove:j}=this.handlers;H||(Z&&Z(this.lastMoveEvent,_),this.startEvent=this.lastMoveEvent),j&&j(this.lastMoveEvent,_)},this.handlePointerMove=(_,H)=>{this.lastMoveEvent=_,this.lastMoveEventInfo=dd(H,this.transformPagePoint),Fn.update(this.updatePoint,!0)},this.handlePointerUp=(_,H)=>{this.end();const{onEnd:Y,onSessionEnd:Q,resumeAnimation:ee}=this.handlers;if(this.dragSnapToOrigin&&ee&&ee(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const Z=hd(_.type==="pointercancel"?this.lastMoveEventInfo:dd(H,this.transformPagePoint),this.history);this.startEvent&&Y&&Y(_,Z),Q&&Q(_,Z)},!Am(t))return;this.dragSnapToOrigin=h,this.handlers=i,this.transformPagePoint=s,this.contextWindow=a||window;const v=xf(t),T=dd(v,this.transformPagePoint),{point:x}=T,{timestamp:E}=Ti;this.history=[{...x,timestamp:E}];const{onSessionStart:L}=i;L&&L(t,hd(T,this.history)),this.removeListeners=xl(Bs(this.contextWindow,"pointermove",this.handlePointerMove),Bs(this.contextWindow,"pointerup",this.handlePointerUp),Bs(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Ns(this.updatePoint)}}function dd(n,t){return t?{point:t(n.point)}:n}function zp(n,t){return{x:n.x-t.x,y:n.y-t.y}}function hd({point:n},t){return{point:n,delta:zp(n,hv(t)),offset:zp(n,DT(t)),velocity:IT(t,.1)}}function DT(n){return n[0]}function hv(n){return n[n.length-1]}function IT(n,t){if(n.length<2)return{x:0,y:0};let i=n.length-1,s=null;const a=hv(n);for(;i>=0&&(s=n[i],!(a.timestamp-s.timestamp>wl(t)));)i--;if(!s)return{x:0,y:0};const h=js(a.timestamp-s.timestamp);if(h===0)return{x:0,y:0};const v={x:(a.x-s.x)/h,y:(a.y-s.y)/h};return v.x===1/0&&(v.x=0),v.y===1/0&&(v.y=0),v}function Fo(n){return n.max-n.min}function Id(n,t=0,i=.01){return Math.abs(n-t)<=i}function $p(n,t,i,s=.5){n.origin=s,n.originPoint=Zn(t.min,t.max,n.origin),n.scale=Fo(i)/Fo(t),(Id(n.scale,1,1e-4)||isNaN(n.scale))&&(n.scale=1),n.translate=Zn(i.min,i.max,n.origin)-n.originPoint,(Id(n.translate)||isNaN(n.translate))&&(n.translate=0)}function hc(n,t,i,s){$p(n.x,t.x,i.x,s?s.originX:void 0),$p(n.y,t.y,i.y,s?s.originY:void 0)}function Yp(n,t,i){n.min=i.min+t.min,n.max=n.min+Fo(t)}function MT(n,t,i){Yp(n.x,t.x,i.x),Yp(n.y,t.y,i.y)}function Gp(n,t,i){n.min=t.min-i.min,n.max=n.min+Fo(t)}function pc(n,t,i){Gp(n.x,t.x,i.x),Gp(n.y,t.y,i.y)}function OT(n,{min:t,max:i},s){return t!==void 0&&n<t?n=s?Zn(t,n,s.min):Math.max(n,t):i!==void 0&&n>i&&(n=s?Zn(i,n,s.max):Math.min(n,i)),n}function Xp(n,t,i){return{min:t!==void 0?n.min+t:void 0,max:i!==void 0?n.max+i-(n.max-n.min):void 0}}function LT(n,{top:t,left:i,bottom:s,right:a}){return{x:Xp(n.x,i,a),y:Xp(n.y,t,s)}}function qp(n,t){let i=t.min-n.min,s=t.max-n.max;return t.max-t.min<n.max-n.min&&([i,s]=[s,i]),{min:i,max:s}}function FT(n,t){return{x:qp(n.x,t.x),y:qp(n.y,t.y)}}function BT(n,t){let i=.5;const s=Fo(n),a=Fo(t);return a>s?i=bc(t.min,t.max-s,n.min):s>a&&(i=bc(n.min,n.max-a,t.min)),Sl(0,1,i)}function jT(n,t){const i={};return t.min!==void 0&&(i.min=t.min-n.min),t.max!==void 0&&(i.max=t.max-n.min),i}const Md=.35;function NT(n=Md){return n===!1?n=0:n===!0&&(n=Md),{x:Zp(n,"left","right"),y:Zp(n,"top","bottom")}}function Zp(n,t,i){return{min:Jp(n,t),max:Jp(n,i)}}function Jp(n,t){return typeof n=="number"?n:n[t]||0}const Kp=()=>({translate:0,scale:1,origin:0,originPoint:0}),Uu=()=>({x:Kp(),y:Kp()}),Qp=()=>({min:0,max:0}),wr=()=>({x:Qp(),y:Qp()});function na(n){return[n("x"),n("y")]}function pv({top:n,left:t,right:i,bottom:s}){return{x:{min:t,max:i},y:{min:n,max:s}}}function WT({x:n,y:t}){return{top:t.min,right:n.max,bottom:t.max,left:n.min}}function VT(n,t){if(!t)return n;const i=t({x:n.left,y:n.top}),s=t({x:n.right,y:n.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}function pd(n){return n===void 0||n===1}function Od({scale:n,scaleX:t,scaleY:i}){return!pd(n)||!pd(t)||!pd(i)}function uu(n){return Od(n)||gv(n)||n.z||n.rotate||n.rotateX||n.rotateY}function gv(n){return eg(n.x)||eg(n.y)}function eg(n){return n&&n!=="0%"}function cf(n,t,i){const s=n-i,a=t*s;return i+a}function tg(n,t,i,s,a){return a!==void 0&&(n=cf(n,a,s)),cf(n,i,s)+t}function Ld(n,t=0,i=1,s,a){n.min=tg(n.min,t,i,s,a),n.max=tg(n.max,t,i,s,a)}function mv(n,{x:t,y:i}){Ld(n.x,t.translate,t.scale,t.originPoint),Ld(n.y,i.translate,i.scale,i.originPoint)}function HT(n,t,i,s=!1){const a=i.length;if(!a)return;t.x=t.y=1;let h,v;for(let T=0;T<a;T++){h=i[T],v=h.projectionDelta;const x=h.instance;x&&x.style&&x.style.display==="contents"||(s&&h.options.layoutScroll&&h.scroll&&h!==h.root&&zu(n,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),v&&(t.x*=v.x.scale,t.y*=v.y.scale,mv(n,v)),s&&uu(h.latestValues)&&zu(n,h.latestValues))}t.x=ng(t.x),t.y=ng(t.y)}function ng(n){return Number.isInteger(n)||n>1.0000000000001||n<.999999999999?n:1}function vl(n,t){n.min=n.min+t,n.max=n.max+t}function rg(n,t,[i,s,a]){const h=t[a]!==void 0?t[a]:.5,v=Zn(n.min,n.max,h);Ld(n,t[i],t[s],v,t.scale)}const UT=["x","scaleX","originX"],zT=["y","scaleY","originY"];function zu(n,t){rg(n.x,t,UT),rg(n.y,t,zT)}function vv(n,t){return pv(VT(n.getBoundingClientRect(),t))}function $T(n,t,i){const s=vv(n,i),{scroll:a}=t;return a&&(vl(s.x,a.offset.x),vl(s.y,a.offset.y)),s}const yv=({current:n})=>n?n.ownerDocument.defaultView:null,YT=new WeakMap;class GT{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=wr(),this.visualElement=t}start(t,{snapToCursor:i=!1}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const a=L=>{const{dragSnapToOrigin:_}=this.getProps();_?this.pauseAnimation():this.stopAnimation(),i&&this.snapToCursor(xf(L,"page").point)},h=(L,_)=>{const{drag:H,dragPropagation:Y,onDragStart:Q}=this.getProps();if(H&&!Y&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Dm(H),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),na(Z=>{let j=this.getAxisMotionValue(Z).get()||0;if(Qa.test(j)){const{projection:pe}=this.visualElement;if(pe&&pe.layout){const oe=pe.layout.layoutBox[Z];oe&&(j=Fo(oe)*(parseFloat(j)/100))}}this.originPoint[Z]=j}),Q&&Fn.update(()=>Q(L,_),!1,!0);const{animationState:ee}=this.visualElement;ee&&ee.setActive("whileDrag",!0)},v=(L,_)=>{const{dragPropagation:H,dragDirectionLock:Y,onDirectionLock:Q,onDrag:ee}=this.getProps();if(!H&&!this.openGlobalLock)return;const{offset:Z}=_;if(Y&&this.currentDirection===null){this.currentDirection=XT(Z),this.currentDirection!==null&&Q&&Q(this.currentDirection);return}this.updateAxis("x",_.point,Z),this.updateAxis("y",_.point,Z),this.visualElement.render(),ee&&ee(L,_)},T=(L,_)=>this.stop(L,_),x=()=>na(L=>{var _;return this.getAnimationState(L)==="paused"&&((_=this.getAxisMotionValue(L).animation)===null||_===void 0?void 0:_.play())}),{dragSnapToOrigin:E}=this.getProps();this.panSession=new dv(t,{onSessionStart:a,onStart:h,onMove:v,onSessionEnd:T,resumeAnimation:x},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:E,contextWindow:yv(this.visualElement)})}stop(t,i){const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:a}=i;this.startAnimation(a);const{onDragEnd:h}=this.getProps();h&&Fn.update(()=>h(t,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:i}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(t,i,s){const{drag:a}=this.getProps();if(!s||!Yc(t,a,this.currentDirection))return;const h=this.getAxisMotionValue(t);let v=this.originPoint[t]+s[t];this.constraints&&this.constraints[t]&&(v=OT(v,this.constraints[t],this.elastic[t])),h.set(v)}resolveConstraints(){var t;const{dragConstraints:i,dragElastic:s}=this.getProps(),a=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,h=this.constraints;i&&Vu(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&a?this.constraints=LT(a.layoutBox,i):this.constraints=!1,this.elastic=NT(s),h!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&na(v=>{this.getAxisMotionValue(v)&&(this.constraints[v]=jT(a.layoutBox[v],this.constraints[v]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!Vu(t))return!1;const s=t.current;_a(s!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const h=$T(s,a.root,this.visualElement.getTransformPagePoint());let v=FT(a.layout.layoutBox,h);if(i){const T=i(WT(v));this.hasMutatedConstraints=!!T,T&&(v=pv(T))}return v}startAnimation(t){const{drag:i,dragMomentum:s,dragElastic:a,dragTransition:h,dragSnapToOrigin:v,onDragTransitionEnd:T}=this.getProps(),x=this.constraints||{},E=na(L=>{if(!Yc(L,i,this.currentDirection))return;let _=x&&x[L]||{};v&&(_={min:0,max:0});const H=a?200:1e6,Y=a?40:1e7,Q={type:"inertia",velocity:s?t[L]:0,bounceStiffness:H,bounceDamping:Y,timeConstant:750,restDelta:1,restSpeed:10,...h,..._};return this.startAxisValueAnimation(L,Q)});return Promise.all(E).then(T)}startAxisValueAnimation(t,i){const s=this.getAxisMotionValue(t);return s.start(ih(t,s,0,i))}stopAnimation(){na(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){na(t=>{var i;return(i=this.getAxisMotionValue(t).animation)===null||i===void 0?void 0:i.pause()})}getAnimationState(t){var i;return(i=this.getAxisMotionValue(t).animation)===null||i===void 0?void 0:i.state}getAxisMotionValue(t){const i="_drag"+t.toUpperCase(),s=this.visualElement.getProps(),a=s[i];return a||this.visualElement.getValue(t,(s.initial?s.initial[t]:void 0)||0)}snapToCursor(t){na(i=>{const{drag:s}=this.getProps();if(!Yc(i,s,this.currentDirection))return;const{projection:a}=this.visualElement,h=this.getAxisMotionValue(i);if(a&&a.layout){const{min:v,max:T}=a.layout.layoutBox[i];h.set(t[i]-Zn(v,T,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:i}=this.getProps(),{projection:s}=this.visualElement;if(!Vu(i)||!s||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};na(v=>{const T=this.getAxisMotionValue(v);if(T){const x=T.get();a[v]=BT({min:x,max:x},this.constraints[v])}});const{transformTemplate:h}=this.visualElement.getProps();this.visualElement.current.style.transform=h?h({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),na(v=>{if(!Yc(v,t,null))return;const T=this.getAxisMotionValue(v),{min:x,max:E}=this.constraints[v];T.set(Zn(x,E,a[v]))})}addListeners(){if(!this.visualElement.current)return;YT.set(this.visualElement,this);const t=this.visualElement.current,i=Bs(t,"pointerdown",x=>{const{drag:E,dragListener:L=!0}=this.getProps();E&&L&&this.start(x)}),s=()=>{const{dragConstraints:x}=this.getProps();Vu(x)&&(this.constraints=this.resolveRefConstraints())},{projection:a}=this.visualElement,h=a.addEventListener("measure",s);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),s();const v=Fs(window,"resize",()=>this.scalePositionWithinConstraints()),T=a.addEventListener("didUpdate",({delta:x,hasLayoutChanged:E})=>{this.isDragging&&E&&(na(L=>{const _=this.getAxisMotionValue(L);_&&(this.originPoint[L]+=x[L].translate,_.set(_.get()+x[L].translate))}),this.visualElement.render())});return()=>{v(),i(),h(),T&&T()}}getProps(){const t=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:s=!1,dragPropagation:a=!1,dragConstraints:h=!1,dragElastic:v=Md,dragMomentum:T=!0}=t;return{...t,drag:i,dragDirectionLock:s,dragPropagation:a,dragConstraints:h,dragElastic:v,dragMomentum:T}}}function Yc(n,t,i){return(t===!0||t===n)&&(i===null||i===n)}function XT(n,t=10){let i=null;return Math.abs(n.y)>t?i="y":Math.abs(n.x)>t&&(i="x"),i}class qT extends Tl{constructor(t){super(t),this.removeGroupControls=rr,this.removeListeners=rr,this.controls=new GT(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||rr}unmount(){this.removeGroupControls(),this.removeListeners()}}const ig=n=>(t,i)=>{n&&Fn.update(()=>n(t,i))};class ZT extends Tl{constructor(){super(...arguments),this.removePointerDownListener=rr}onPointerDown(t){this.session=new dv(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:yv(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:i,onPan:s,onPanEnd:a}=this.node.getProps();return{onSessionStart:ig(t),onStart:ig(i),onMove:s,onEnd:(h,v)=>{delete this.session,a&&Fn.update(()=>a(h,v))}}}mount(){this.removePointerDownListener=Bs(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function JT(){const n=Fe.useContext(Hd);if(n===null)return[!0,null];const{isPresent:t,onExitComplete:i,register:s}=n,a=Fe.useId();return Fe.useEffect(()=>s(a),[]),!t&&i?[!1,()=>i&&i(a)]:[!0]}const Kc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function og(n,t){return t.max===t.min?0:n/(t.max-t.min)*100}const lc={correct:(n,t)=>{if(!t.target)return n;if(typeof n=="string")if(Ft.test(n))n=parseFloat(n);else return n;const i=og(n,t.target.x),s=og(n,t.target.y);return`${i}% ${s}%`}},KT={correct:(n,{treeScale:t,projectionDelta:i})=>{const s=n,a=Cl.parse(n);if(a.length>5)return s;const h=Cl.createTransformer(n),v=typeof a[0]!="number"?1:0,T=i.x.scale*t.x,x=i.y.scale*t.y;a[0+v]/=T,a[1+v]/=x;const E=Zn(T,x,.5);return typeof a[2+v]=="number"&&(a[2+v]/=E),typeof a[3+v]=="number"&&(a[3+v]/=E),h(a)}};class QT extends Fe.Component{componentDidMount(){const{visualElement:t,layoutGroup:i,switchLayoutGroup:s,layoutId:a}=this.props,{projection:h}=t;s1(eE),h&&(i.group&&i.group.add(h),s&&s.register&&a&&s.register(h),h.root.didUpdate(),h.addEventListener("animationComplete",()=>{this.safeToRemove()}),h.setOptions({...h.options,onExitComplete:()=>this.safeToRemove()})),Kc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:i,visualElement:s,drag:a,isPresent:h}=this.props,v=s.projection;return v&&(v.isPresent=h,a||t.layoutDependency!==i||i===void 0?v.willUpdate():this.safeToRemove(),t.isPresent!==h&&(h?v.promote():v.relegate()||Fn.postRender(()=>{const T=v.getStack();(!T||!T.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:i,switchLayoutGroup:s}=this.props,{projection:a}=t;a&&(a.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(a),s&&s.deregister&&s.deregister(a))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function bv(n){const[t,i]=JT(),s=Fe.useContext(pm);return Fe.createElement(QT,{...n,layoutGroup:s,switchLayoutGroup:Fe.useContext(gm),isPresent:t,safeToRemove:i})}const eE={borderRadius:{...lc,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:lc,borderTopRightRadius:lc,borderBottomLeftRadius:lc,borderBottomRightRadius:lc,boxShadow:KT},xv=["TopLeft","TopRight","BottomLeft","BottomRight"],tE=xv.length,ag=n=>typeof n=="string"?parseFloat(n):n,sg=n=>typeof n=="number"||Ft.test(n);function nE(n,t,i,s,a,h){a?(n.opacity=Zn(0,i.opacity!==void 0?i.opacity:1,rE(s)),n.opacityExit=Zn(t.opacity!==void 0?t.opacity:1,0,iE(s))):h&&(n.opacity=Zn(t.opacity!==void 0?t.opacity:1,i.opacity!==void 0?i.opacity:1,s));for(let v=0;v<tE;v++){const T=`border${xv[v]}Radius`;let x=lg(t,T),E=lg(i,T);if(x===void 0&&E===void 0)continue;x||(x=0),E||(E=0),x===0||E===0||sg(x)===sg(E)?(n[T]=Math.max(Zn(ag(x),ag(E),s),0),(Qa.test(E)||Qa.test(x))&&(n[T]+="%")):n[T]=E}(t.rotate||i.rotate)&&(n.rotate=Zn(t.rotate||0,i.rotate||0,s))}function lg(n,t){return n[t]!==void 0?n[t]:n.borderRadius}const rE=wv(0,.5,Um),iE=wv(.5,.95,rr);function wv(n,t,i){return s=>s<n?0:s>t?1:i(bc(n,t,s))}function ug(n,t){n.min=t.min,n.max=t.max}function ta(n,t){ug(n.x,t.x),ug(n.y,t.y)}function cg(n,t,i,s,a){return n-=t,n=cf(n,1/i,s),a!==void 0&&(n=cf(n,1/a,s)),n}function oE(n,t=0,i=1,s=.5,a,h=n,v=n){if(Qa.test(t)&&(t=parseFloat(t),t=Zn(v.min,v.max,t/100)-v.min),typeof t!="number")return;let T=Zn(h.min,h.max,s);n===h&&(T-=t),n.min=cg(n.min,t,i,T,a),n.max=cg(n.max,t,i,T,a)}function fg(n,t,[i,s,a],h,v){oE(n,t[i],t[s],t[a],t.scale,h,v)}const aE=["x","scaleX","originX"],sE=["y","scaleY","originY"];function dg(n,t,i,s){fg(n.x,t,aE,i?i.x:void 0,s?s.x:void 0),fg(n.y,t,sE,i?i.y:void 0,s?s.y:void 0)}function hg(n){return n.translate===0&&n.scale===1}function Sv(n){return hg(n.x)&&hg(n.y)}function lE(n,t){return n.x.min===t.x.min&&n.x.max===t.x.max&&n.y.min===t.y.min&&n.y.max===t.y.max}function Cv(n,t){return Math.round(n.x.min)===Math.round(t.x.min)&&Math.round(n.x.max)===Math.round(t.x.max)&&Math.round(n.y.min)===Math.round(t.y.min)&&Math.round(n.y.max)===Math.round(t.y.max)}function pg(n){return Fo(n.x)/Fo(n.y)}class uE{constructor(){this.members=[]}add(t){oh(this.members,t),t.scheduleRender()}remove(t){if(ah(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(t){const i=this.members.findIndex(a=>t===a);if(i===0)return!1;let s;for(let a=i;a>=0;a--){const h=this.members[a];if(h.isPresent!==!1){s=h;break}}return s?(this.promote(s),!0):!1}promote(t,i){const s=this.lead;if(t!==s&&(this.prevLead=s,this.lead=t,t.show(),s)){s.instance&&s.scheduleRender(),t.scheduleRender(),t.resumeFrom=s,i&&(t.resumeFrom.preserveOpacity=!0),s.snapshot&&(t.snapshot=s.snapshot,t.snapshot.latestValues=s.animationValues||s.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:a}=t.options;a===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:i,resumingFrom:s}=t;i.onExitComplete&&i.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function gg(n,t,i){let s="";const a=n.x.translate/t.x,h=n.y.translate/t.y;if((a||h)&&(s=`translate3d(${a}px, ${h}px, 0) `),(t.x!==1||t.y!==1)&&(s+=`scale(${1/t.x}, ${1/t.y}) `),i){const{rotate:x,rotateX:E,rotateY:L}=i;x&&(s+=`rotate(${x}deg) `),E&&(s+=`rotateX(${E}deg) `),L&&(s+=`rotateY(${L}deg) `)}const v=n.x.scale*t.x,T=n.y.scale*t.y;return(v!==1||T!==1)&&(s+=`scale(${v}, ${T})`),s||"none"}const cE=(n,t)=>n.depth-t.depth;class fE{constructor(){this.children=[],this.isDirty=!1}add(t){oh(this.children,t),this.isDirty=!0}remove(t){ah(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(cE),this.isDirty=!1,this.children.forEach(t)}}function dE(n,t){const i=performance.now(),s=({timestamp:a})=>{const h=a-i;h>=t&&(Ns(s),n(h-t))};return Fn.read(s,!0),()=>Ns(s)}function hE(n){window.MotionDebug&&window.MotionDebug.record(n)}function pE(n){return n instanceof SVGElement&&n.tagName!=="svg"}function gE(n,t,i){const s=ho(n)?n:Yu(n);return s.start(ih("",s,t,i)),s.animation}const mg=["","X","Y","Z"],mE={visibility:"hidden"},vg=1e3;let vE=0;const cu={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Tv({attachResizeListener:n,defaultParent:t,measureScroll:i,checkIsScrollRoot:s,resetTransform:a}){return class{constructor(v={},T=t==null?void 0:t()){this.id=vE++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,cu.totalNodes=cu.resolvedTargetDeltas=cu.recalculatedProjection=0,this.nodes.forEach(xE),this.nodes.forEach(EE),this.nodes.forEach(kE),this.nodes.forEach(wE),hE(cu)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=v,this.root=T?T.root||T:this,this.path=T?[...T.path,T]:[],this.parent=T,this.depth=T?T.depth+1:0;for(let x=0;x<this.path.length;x++)this.path[x].shouldResetTransform=!0;this.root===this&&(this.nodes=new fE)}addEventListener(v,T){return this.eventHandlers.has(v)||this.eventHandlers.set(v,new sh),this.eventHandlers.get(v).add(T)}notifyListeners(v,...T){const x=this.eventHandlers.get(v);x&&x.notify(...T)}hasListeners(v){return this.eventHandlers.has(v)}mount(v,T=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=pE(v),this.instance=v;const{layoutId:x,layout:E,visualElement:L}=this.options;if(L&&!L.current&&L.mount(v),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),T&&(E||x)&&(this.isLayoutDirty=!0),n){let _;const H=()=>this.root.updateBlockedByResize=!1;n(v,()=>{this.root.updateBlockedByResize=!0,_&&_(),_=dE(H,250),Kc.hasAnimatedSinceResize&&(Kc.hasAnimatedSinceResize=!1,this.nodes.forEach(bg))})}x&&this.root.registerSharedNode(x,this),this.options.animate!==!1&&L&&(x||E)&&this.addEventListener("didUpdate",({delta:_,hasLayoutChanged:H,hasRelativeTargetChanged:Y,layout:Q})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const ee=this.options.transition||L.getDefaultTransition()||DE,{onLayoutAnimationStart:Z,onLayoutAnimationComplete:j}=L.getProps(),pe=!this.targetLayout||!Cv(this.targetLayout,Q)||Y,oe=!H&&Y;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||oe||H&&(pe||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(_,oe);const xe={...rh(ee,"layout"),onPlay:Z,onComplete:j};(L.shouldReduceMotion||this.options.layoutRoot)&&(xe.delay=0,xe.type=!1),this.startAnimation(xe)}else H||bg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=Q})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const v=this.getStack();v&&v.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ns(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(_E),this.animationId++)}getTransformTemplate(){const{visualElement:v}=this.options;return v&&v.getProps().transformTemplate}willUpdate(v=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let L=0;L<this.path.length;L++){const _=this.path[L];_.shouldResetTransform=!0,_.updateScroll("snapshot"),_.options.layoutRoot&&_.willUpdate(!1)}const{layoutId:T,layout:x}=this.options;if(T===void 0&&!x)return;const E=this.getTransformTemplate();this.prevTransformTemplateValue=E?E(this.latestValues,""):void 0,this.updateSnapshot(),v&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(yg);return}this.isUpdating||this.nodes.forEach(CE),this.isUpdating=!1,this.nodes.forEach(TE),this.nodes.forEach(yE),this.nodes.forEach(bE),this.clearAllSnapshots();const T=performance.now();Ti.delta=Sl(0,1e3/60,T-Ti.timestamp),Ti.timestamp=T,Ti.isProcessing=!0,id.update.process(Ti),id.preRender.process(Ti),id.render.process(Ti),Ti.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(SE),this.sharedNodes.forEach(RE)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Fn.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Fn.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let x=0;x<this.path.length;x++)this.path[x].updateScroll();const v=this.layout;this.layout=this.measure(!1),this.layoutCorrected=wr(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:T}=this.options;T&&T.notify("LayoutMeasure",this.layout.layoutBox,v?v.layoutBox:void 0)}updateScroll(v="measure"){let T=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===v&&(T=!1),T&&(this.scroll={animationId:this.root.animationId,phase:v,isRoot:s(this.instance),offset:i(this.instance)})}resetTransform(){if(!a)return;const v=this.isLayoutDirty||this.shouldResetTransform,T=this.projectionDelta&&!Sv(this.projectionDelta),x=this.getTransformTemplate(),E=x?x(this.latestValues,""):void 0,L=E!==this.prevTransformTemplateValue;v&&(T||uu(this.latestValues)||L)&&(a(this.instance,E),this.shouldResetTransform=!1,this.scheduleRender())}measure(v=!0){const T=this.measurePageBox();let x=this.removeElementScroll(T);return v&&(x=this.removeTransform(x)),IE(x),{animationId:this.root.animationId,measuredBox:T,layoutBox:x,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:v}=this.options;if(!v)return wr();const T=v.measureViewportBox(),{scroll:x}=this.root;return x&&(vl(T.x,x.offset.x),vl(T.y,x.offset.y)),T}removeElementScroll(v){const T=wr();ta(T,v);for(let x=0;x<this.path.length;x++){const E=this.path[x],{scroll:L,options:_}=E;if(E!==this.root&&L&&_.layoutScroll){if(L.isRoot){ta(T,v);const{scroll:H}=this.root;H&&(vl(T.x,-H.offset.x),vl(T.y,-H.offset.y))}vl(T.x,L.offset.x),vl(T.y,L.offset.y)}}return T}applyTransform(v,T=!1){const x=wr();ta(x,v);for(let E=0;E<this.path.length;E++){const L=this.path[E];!T&&L.options.layoutScroll&&L.scroll&&L!==L.root&&zu(x,{x:-L.scroll.offset.x,y:-L.scroll.offset.y}),uu(L.latestValues)&&zu(x,L.latestValues)}return uu(this.latestValues)&&zu(x,this.latestValues),x}removeTransform(v){const T=wr();ta(T,v);for(let x=0;x<this.path.length;x++){const E=this.path[x];if(!E.instance||!uu(E.latestValues))continue;Od(E.latestValues)&&E.updateSnapshot();const L=wr(),_=E.measurePageBox();ta(L,_),dg(T,E.latestValues,E.snapshot?E.snapshot.layoutBox:void 0,L)}return uu(this.latestValues)&&dg(T,this.latestValues),T}setTargetDelta(v){this.targetDelta=v,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(v){this.options={...this.options,...v,crossfade:v.crossfade!==void 0?v.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ti.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(v=!1){var T;const x=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=x.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=x.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=x.isSharedProjectionDirty);const E=!!this.resumingFrom||this!==x;if(!(v||E&&this.isSharedProjectionDirty||this.isProjectionDirty||!((T=this.parent)===null||T===void 0)&&T.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:_,layoutId:H}=this.options;if(!(!this.layout||!(_||H))){if(this.resolvedRelativeTargetAt=Ti.timestamp,!this.targetDelta&&!this.relativeTarget){const Y=this.getClosestProjectingParent();Y&&Y.layout&&this.animationProgress!==1?(this.relativeParent=Y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=wr(),this.relativeTargetOrigin=wr(),pc(this.relativeTargetOrigin,this.layout.layoutBox,Y.layout.layoutBox),ta(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=wr(),this.targetWithTransforms=wr()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),MT(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ta(this.target,this.layout.layoutBox),mv(this.target,this.targetDelta)):ta(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const Y=this.getClosestProjectingParent();Y&&!!Y.resumingFrom==!!this.resumingFrom&&!Y.options.layoutScroll&&Y.target&&this.animationProgress!==1?(this.relativeParent=Y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=wr(),this.relativeTargetOrigin=wr(),pc(this.relativeTargetOrigin,this.target,Y.target),ta(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}cu.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Od(this.parent.latestValues)||gv(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var v;const T=this.getLead(),x=!!this.resumingFrom||this!==T;let E=!0;if((this.isProjectionDirty||!((v=this.parent)===null||v===void 0)&&v.isProjectionDirty)&&(E=!1),x&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(E=!1),this.resolvedRelativeTargetAt===Ti.timestamp&&(E=!1),E)return;const{layout:L,layoutId:_}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(L||_))return;ta(this.layoutCorrected,this.layout.layoutBox);const H=this.treeScale.x,Y=this.treeScale.y;HT(this.layoutCorrected,this.treeScale,this.path,x),T.layout&&!T.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(T.target=T.layout.layoutBox);const{target:Q}=T;if(!Q){this.projectionTransform&&(this.projectionDelta=Uu(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=Uu(),this.projectionDeltaWithTransform=Uu());const ee=this.projectionTransform;hc(this.projectionDelta,this.layoutCorrected,Q,this.latestValues),this.projectionTransform=gg(this.projectionDelta,this.treeScale),(this.projectionTransform!==ee||this.treeScale.x!==H||this.treeScale.y!==Y)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",Q)),cu.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(v=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),v){const T=this.getStack();T&&T.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(v,T=!1){const x=this.snapshot,E=x?x.latestValues:{},L={...this.latestValues},_=Uu();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!T;const H=wr(),Y=x?x.source:void 0,Q=this.layout?this.layout.source:void 0,ee=Y!==Q,Z=this.getStack(),j=!Z||Z.members.length<=1,pe=!!(ee&&!j&&this.options.crossfade===!0&&!this.path.some(PE));this.animationProgress=0;let oe;this.mixTargetDelta=xe=>{const se=xe/1e3;xg(_.x,v.x,se),xg(_.y,v.y,se),this.setTargetDelta(_),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(pc(H,this.layout.layoutBox,this.relativeParent.layout.layoutBox),AE(this.relativeTarget,this.relativeTargetOrigin,H,se),oe&&lE(this.relativeTarget,oe)&&(this.isProjectionDirty=!1),oe||(oe=wr()),ta(oe,this.relativeTarget)),ee&&(this.animationValues=L,nE(L,E,this.latestValues,se,pe,j)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=se},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(v){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Ns(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Fn.update(()=>{Kc.hasAnimatedSinceResize=!0,this.currentAnimation=gE(0,vg,{...v,onUpdate:T=>{this.mixTargetDelta(T),v.onUpdate&&v.onUpdate(T)},onComplete:()=>{v.onComplete&&v.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const v=this.getStack();v&&v.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(vg),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const v=this.getLead();let{targetWithTransforms:T,target:x,layout:E,latestValues:L}=v;if(!(!T||!x||!E)){if(this!==v&&this.layout&&E&&Ev(this.options.animationType,this.layout.layoutBox,E.layoutBox)){x=this.target||wr();const _=Fo(this.layout.layoutBox.x);x.x.min=v.target.x.min,x.x.max=x.x.min+_;const H=Fo(this.layout.layoutBox.y);x.y.min=v.target.y.min,x.y.max=x.y.min+H}ta(T,x),zu(T,L),hc(this.projectionDeltaWithTransform,this.layoutCorrected,T,L)}}registerSharedNode(v,T){this.sharedNodes.has(v)||this.sharedNodes.set(v,new uE),this.sharedNodes.get(v).add(T);const E=T.options.initialPromotionConfig;T.promote({transition:E?E.transition:void 0,preserveFollowOpacity:E&&E.shouldPreserveFollowOpacity?E.shouldPreserveFollowOpacity(T):void 0})}isLead(){const v=this.getStack();return v?v.lead===this:!0}getLead(){var v;const{layoutId:T}=this.options;return T?((v=this.getStack())===null||v===void 0?void 0:v.lead)||this:this}getPrevLead(){var v;const{layoutId:T}=this.options;return T?(v=this.getStack())===null||v===void 0?void 0:v.prevLead:void 0}getStack(){const{layoutId:v}=this.options;if(v)return this.root.sharedNodes.get(v)}promote({needsReset:v,transition:T,preserveFollowOpacity:x}={}){const E=this.getStack();E&&E.promote(this,x),v&&(this.projectionDelta=void 0,this.needsReset=!0),T&&this.setOptions({transition:T})}relegate(){const v=this.getStack();return v?v.relegate(this):!1}resetRotation(){const{visualElement:v}=this.options;if(!v)return;let T=!1;const{latestValues:x}=v;if((x.rotate||x.rotateX||x.rotateY||x.rotateZ)&&(T=!0),!T)return;const E={};for(let L=0;L<mg.length;L++){const _="rotate"+mg[L];x[_]&&(E[_]=x[_],v.setStaticValue(_,0))}v.render();for(const L in E)v.setStaticValue(L,E[L]);v.scheduleRender()}getProjectionStyles(v){var T,x;if(!this.instance||this.isSVG)return;if(!this.isVisible)return mE;const E={visibility:""},L=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,E.opacity="",E.pointerEvents=Jc(v==null?void 0:v.pointerEvents)||"",E.transform=L?L(this.latestValues,""):"none",E;const _=this.getLead();if(!this.projectionDelta||!this.layout||!_.target){const ee={};return this.options.layoutId&&(ee.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,ee.pointerEvents=Jc(v==null?void 0:v.pointerEvents)||""),this.hasProjected&&!uu(this.latestValues)&&(ee.transform=L?L({},""):"none",this.hasProjected=!1),ee}const H=_.animationValues||_.latestValues;this.applyTransformsToTarget(),E.transform=gg(this.projectionDeltaWithTransform,this.treeScale,H),L&&(E.transform=L(H,E.transform));const{x:Y,y:Q}=this.projectionDelta;E.transformOrigin=`${Y.origin*100}% ${Q.origin*100}% 0`,_.animationValues?E.opacity=_===this?(x=(T=H.opacity)!==null&&T!==void 0?T:this.latestValues.opacity)!==null&&x!==void 0?x:1:this.preserveOpacity?this.latestValues.opacity:H.opacityExit:E.opacity=_===this?H.opacity!==void 0?H.opacity:"":H.opacityExit!==void 0?H.opacityExit:0;for(const ee in nf){if(H[ee]===void 0)continue;const{correct:Z,applyTo:j}=nf[ee],pe=E.transform==="none"?H[ee]:Z(H[ee],_);if(j){const oe=j.length;for(let xe=0;xe<oe;xe++)E[j[xe]]=pe}else E[ee]=pe}return this.options.layoutId&&(E.pointerEvents=_===this?Jc(v==null?void 0:v.pointerEvents)||"":"none"),E}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(v=>{var T;return(T=v.currentAnimation)===null||T===void 0?void 0:T.stop()}),this.root.nodes.forEach(yg),this.root.sharedNodes.clear()}}}function yE(n){n.updateLayout()}function bE(n){var t;const i=((t=n.resumeFrom)===null||t===void 0?void 0:t.snapshot)||n.snapshot;if(n.isLead()&&n.layout&&i&&n.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:a}=n.layout,{animationType:h}=n.options,v=i.source!==n.layout.source;h==="size"?na(_=>{const H=v?i.measuredBox[_]:i.layoutBox[_],Y=Fo(H);H.min=s[_].min,H.max=H.min+Y}):Ev(h,i.layoutBox,s)&&na(_=>{const H=v?i.measuredBox[_]:i.layoutBox[_],Y=Fo(s[_]);H.max=H.min+Y,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[_].max=n.relativeTarget[_].min+Y)});const T=Uu();hc(T,s,i.layoutBox);const x=Uu();v?hc(x,n.applyTransform(a,!0),i.measuredBox):hc(x,s,i.layoutBox);const E=!Sv(T);let L=!1;if(!n.resumeFrom){const _=n.getClosestProjectingParent();if(_&&!_.resumeFrom){const{snapshot:H,layout:Y}=_;if(H&&Y){const Q=wr();pc(Q,i.layoutBox,H.layoutBox);const ee=wr();pc(ee,s,Y.layoutBox),Cv(Q,ee)||(L=!0),_.options.layoutRoot&&(n.relativeTarget=ee,n.relativeTargetOrigin=Q,n.relativeParent=_)}}}n.notifyListeners("didUpdate",{layout:s,snapshot:i,delta:x,layoutDelta:T,hasLayoutChanged:E,hasRelativeTargetChanged:L})}else if(n.isLead()){const{onExitComplete:s}=n.options;s&&s()}n.options.transition=void 0}function xE(n){cu.totalNodes++,n.parent&&(n.isProjecting()||(n.isProjectionDirty=n.parent.isProjectionDirty),n.isSharedProjectionDirty||(n.isSharedProjectionDirty=!!(n.isProjectionDirty||n.parent.isProjectionDirty||n.parent.isSharedProjectionDirty)),n.isTransformDirty||(n.isTransformDirty=n.parent.isTransformDirty))}function wE(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function SE(n){n.clearSnapshot()}function yg(n){n.clearMeasurements()}function CE(n){n.isLayoutDirty=!1}function TE(n){const{visualElement:t}=n.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),n.resetTransform()}function bg(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function EE(n){n.resolveTargetDelta()}function kE(n){n.calcProjection()}function _E(n){n.resetRotation()}function RE(n){n.removeLeadSnapshot()}function xg(n,t,i){n.translate=Zn(t.translate,0,i),n.scale=Zn(t.scale,1,i),n.origin=t.origin,n.originPoint=t.originPoint}function wg(n,t,i,s){n.min=Zn(t.min,i.min,s),n.max=Zn(t.max,i.max,s)}function AE(n,t,i,s){wg(n.x,t.x,i.x,s),wg(n.y,t.y,i.y,s)}function PE(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const DE={duration:.45,ease:[.4,0,.1,1]},Sg=n=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(n),Cg=Sg("applewebkit/")&&!Sg("chrome/")?Math.round:rr;function Tg(n){n.min=Cg(n.min),n.max=Cg(n.max)}function IE(n){Tg(n.x),Tg(n.y)}function Ev(n,t,i){return n==="position"||n==="preserve-aspect"&&!Id(pg(t),pg(i),.2)}const ME=Tv({attachResizeListener:(n,t)=>Fs(n,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),gd={current:void 0},kv=Tv({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!gd.current){const n=new ME({});n.mount(window),n.setOptions({layoutScroll:!0}),gd.current=n}return gd.current},resetTransform:(n,t)=>{n.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),OE={pan:{Feature:ZT},drag:{Feature:qT,ProjectionNode:kv,MeasureLayout:bv}},LE=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function FE(n){const t=LE.exec(n);if(!t)return[,];const[,i,s]=t;return[i,s]}const BE=4;function Fd(n,t,i=1){_a(i<=BE,`Max CSS variable fallback depth detected in property "${n}". This may indicate a circular fallback dependency.`);const[s,a]=FE(n);if(!s)return;const h=window.getComputedStyle(t).getPropertyValue(s);if(h){const v=h.trim();return lv(v)?parseFloat(v):v}else return Ed(a)?Fd(a,t,i+1):a}function jE(n,{...t},i){const s=n.current;if(!(s instanceof Element))return{target:t,transitionEnd:i};i&&(i={...i}),n.values.forEach(a=>{const h=a.get();if(!Ed(h))return;const v=Fd(h,s);v&&a.set(v)});for(const a in t){const h=t[a];if(!Ed(h))continue;const v=Fd(h,s);v&&(t[a]=v,i||(i={}),i[a]===void 0&&(i[a]=h))}return{target:t,transitionEnd:i}}const NE=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),_v=n=>NE.has(n),WE=n=>Object.keys(n).some(_v),Gc=n=>n===gu||n===Ft,Eg=(n,t)=>parseFloat(n.split(", ")[t]),kg=(n,t)=>(i,{transform:s})=>{if(s==="none"||!s)return 0;const a=s.match(/^matrix3d\((.+)\)$/);if(a)return Eg(a[1],t);{const h=s.match(/^matrix\((.+)\)$/);return h?Eg(h[1],n):0}},VE=new Set(["x","y","z"]),HE=wc.filter(n=>!VE.has(n));function UE(n){const t=[];return HE.forEach(i=>{const s=n.getValue(i);s!==void 0&&(t.push([i,s.get()]),s.set(i.startsWith("scale")?1:0))}),t.length&&n.render(),t}const Gu={width:({x:n},{paddingLeft:t="0",paddingRight:i="0"})=>n.max-n.min-parseFloat(t)-parseFloat(i),height:({y:n},{paddingTop:t="0",paddingBottom:i="0"})=>n.max-n.min-parseFloat(t)-parseFloat(i),top:(n,{top:t})=>parseFloat(t),left:(n,{left:t})=>parseFloat(t),bottom:({y:n},{top:t})=>parseFloat(t)+(n.max-n.min),right:({x:n},{left:t})=>parseFloat(t)+(n.max-n.min),x:kg(4,13),y:kg(5,14)};Gu.translateX=Gu.x;Gu.translateY=Gu.y;const zE=(n,t,i)=>{const s=t.measureViewportBox(),a=t.current,h=getComputedStyle(a),{display:v}=h,T={};v==="none"&&t.setStaticValue("display",n.display||"block"),i.forEach(E=>{T[E]=Gu[E](s,h)}),t.render();const x=t.measureViewportBox();return i.forEach(E=>{const L=t.getValue(E);L&&L.jump(T[E]),n[E]=Gu[E](x,h)}),n},$E=(n,t,i={},s={})=>{t={...t},s={...s};const a=Object.keys(t).filter(_v);let h=[],v=!1;const T=[];if(a.forEach(x=>{const E=n.getValue(x);if(!n.hasValue(x))return;let L=i[x],_=sc(L);const H=t[x];let Y;if(of(H)){const Q=H.length,ee=H[0]===null?1:0;L=H[ee],_=sc(L);for(let Z=ee;Z<Q&&H[Z]!==null;Z++)Y?_a(sc(H[Z])===Y,"All keyframes must be of the same type"):(Y=sc(H[Z]),_a(Y===_||Gc(_)&&Gc(Y),"Keyframes must be of the same dimension as the current value"))}else Y=sc(H);if(_!==Y)if(Gc(_)&&Gc(Y)){const Q=E.get();typeof Q=="string"&&E.set(parseFloat(Q)),typeof H=="string"?t[x]=parseFloat(H):Array.isArray(H)&&Y===Ft&&(t[x]=H.map(parseFloat))}else _!=null&&_.transform&&(Y!=null&&Y.transform)&&(L===0||H===0)?L===0?E.set(Y.transform(L)):t[x]=_.transform(H):(v||(h=UE(n),v=!0),T.push(x),s[x]=s[x]!==void 0?s[x]:t[x],E.jump(H))}),T.length){const x=T.indexOf("height")>=0?window.pageYOffset:null,E=zE(t,n,T);return h.length&&h.forEach(([L,_])=>{n.getValue(L).set(_)}),n.render(),mf&&x!==null&&window.scrollTo({top:x}),{target:E,transitionEnd:s}}else return{target:t,transitionEnd:s}};function YE(n,t,i,s){return WE(t)?$E(n,t,i,s):{target:t,transitionEnd:s}}const GE=(n,t,i,s)=>{const a=jE(n,t,s);return t=a.target,s=a.transitionEnd,YE(n,t,i,s)},Bd={current:null},Rv={current:!1};function XE(){if(Rv.current=!0,!!mf)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),t=()=>Bd.current=n.matches;n.addListener(t),t()}else Bd.current=!1}function qE(n,t,i){const{willChange:s}=t;for(const a in t){const h=t[a],v=i[a];if(ho(h))n.addValue(a,h),uf(s)&&s.add(a),process.env.NODE_ENV==="development"&&lh(h.version==="10.18.0",`Attempting to mix Framer Motion versions ${h.version} with 10.18.0 may not work as expected.`);else if(ho(v))n.addValue(a,Yu(h,{owner:n})),uf(s)&&s.remove(a);else if(v!==h)if(n.hasValue(a)){const T=n.getValue(a);!T.hasAnimated&&T.set(h)}else{const T=n.getStaticValue(a);n.addValue(a,Yu(T!==void 0?T:h,{owner:n}))}}for(const a in i)t[a]===void 0&&n.removeValue(a);return t}const _g=new WeakMap,Av=Object.keys(yc),ZE=Av.length,Rg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],JE=$d.length;class KE{constructor({parent:t,props:i,presenceContext:s,reducedMotionConfig:a,visualState:h},v={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Fn.render(this.render,!1,!0);const{latestValues:T,renderState:x}=h;this.latestValues=T,this.baseTarget={...T},this.initialValues=i.initial?{...T}:{},this.renderState=x,this.parent=t,this.props=i,this.presenceContext=s,this.depth=t?t.depth+1:0,this.reducedMotionConfig=a,this.options=v,this.isControllingVariants=yf(i),this.isVariantNode=hm(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:E,...L}=this.scrapeMotionValuesFromProps(i,{});for(const _ in L){const H=L[_];T[_]!==void 0&&ho(H)&&(H.set(T[_],!1),uf(E)&&E.add(_))}}scrapeMotionValuesFromProps(t,i){return{}}mount(t){this.current=t,_g.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,s)=>this.bindToMotionValue(s,i)),Rv.current||XE(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Bd.current,process.env.NODE_ENV!=="production"&&lh(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){_g.delete(this.current),this.projection&&this.projection.unmount(),Ns(this.notifyUpdate),Ns(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,i){const s=pu.has(t),a=i.on("change",v=>{this.latestValues[t]=v,this.props.onUpdate&&Fn.update(this.notifyUpdate,!1,!0),s&&this.projection&&(this.projection.isTransformDirty=!0)}),h=i.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{a(),h()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...i},s,a,h){let v,T;if(process.env.NODE_ENV!=="production"&&a&&s){const x="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";i.ignoreStrict?Tc(!1,x):_a(!1,x)}for(let x=0;x<ZE;x++){const E=Av[x],{isEnabled:L,Feature:_,ProjectionNode:H,MeasureLayout:Y}=yc[E];H&&(v=H),L(i)&&(!this.features[E]&&_&&(this.features[E]=new _(this)),Y&&(T=Y))}if((this.type==="html"||this.type==="svg")&&!this.projection&&v){this.projection=new v(this.latestValues,this.parent&&this.parent.projection);const{layoutId:x,layout:E,drag:L,dragConstraints:_,layoutScroll:H,layoutRoot:Y}=i;this.projection.setOptions({layoutId:x,layout:E,alwaysMeasureLayout:!!L||_&&Vu(_),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof E=="string"?E:"both",initialPromotionConfig:h,layoutScroll:H,layoutRoot:Y})}return T}updateFeatures(){for(const t in this.features){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):wr()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,i){this.latestValues[t]=i}makeTargetAnimatable(t,i=!0){return this.makeTargetAnimatableFromInstance(t,this.props,i)}update(t,i){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let s=0;s<Rg.length;s++){const a=Rg[s];this.propEventSubscriptions[a]&&(this.propEventSubscriptions[a](),delete this.propEventSubscriptions[a]);const h=t["on"+a];h&&(this.propEventSubscriptions[a]=this.on(a,h))}this.prevMotionValues=qE(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const s=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(s.initial=this.props.initial),s}const i={};for(let s=0;s<JE;s++){const a=$d[s],h=this.props[a];(vc(h)||h===!1)&&(i[a]=h)}return i}addVariantChild(t){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(t),()=>i.variantChildren.delete(t)}addValue(t,i){i!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,i)),this.values.set(t,i),this.latestValues[t]=i.get()}removeValue(t){this.values.delete(t);const i=this.valueSubscriptions.get(t);i&&(i(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,i){if(this.props.values&&this.props.values[t])return this.props.values[t];let s=this.values.get(t);return s===void 0&&i!==void 0&&(s=Yu(i,{owner:this}),this.addValue(t,s)),s}readValue(t){var i;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(i=this.getBaseTargetFromProps(this.props,t))!==null&&i!==void 0?i:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,i){this.baseTarget[t]=i}getBaseTarget(t){var i;const{initial:s}=this.props,a=typeof s=="string"||typeof s=="object"?(i=Kd(this.props,s))===null||i===void 0?void 0:i[t]:void 0;if(s&&a!==void 0)return a;const h=this.getBaseTargetFromProps(this.props,t);return h!==void 0&&!ho(h)?h:this.initialValues[t]!==void 0&&a===void 0?void 0:this.baseTarget[t]}on(t,i){return this.events[t]||(this.events[t]=new sh),this.events[t].add(i)}notify(t,...i){this.events[t]&&this.events[t].notify(...i)}}class Pv extends KE{sortInstanceNodePosition(t,i){return t.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(t,i){return t.style?t.style[i]:void 0}removeValueFromRenderState(t,{vars:i,style:s}){delete i[t],delete s[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:i,...s},{transformValues:a},h){let v=pT(s,t||{},this);if(a&&(i&&(i=a(i)),s&&(s=a(s)),v&&(v=a(v))),h){dT(this,s,v);const T=GE(this,s,v,i);i=T.transitionEnd,s=T.target}return{transition:t,transitionEnd:i,...s}}}function QE(n){return window.getComputedStyle(n)}class ek extends Pv{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,i){if(pu.has(i)){const s=nh(i);return s&&s.default||0}else{const s=QE(t),a=(ym(i)?s.getPropertyValue(i):s[i])||0;return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(t,{transformPagePoint:i}){return vv(t,i)}build(t,i,s,a){Gd(t,i,s,a.transformTemplate)}scrapeMotionValuesFromProps(t,i){return Jd(t,i)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ho(t)&&(this.childSubscription=t.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}renderInstance(t,i,s,a){Tm(t,i,s,a)}}class tk extends Pv{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,i){return t[i]}readValueFromInstance(t,i){if(pu.has(i)){const s=nh(i);return s&&s.default||0}return i=Em.has(i)?i:Ud(i),t.getAttribute(i)}measureInstanceViewportBox(){return wr()}scrapeMotionValuesFromProps(t,i){return _m(t,i)}build(t,i,s,a){qd(t,i,s,this.isSVGTag,a.transformTemplate)}renderInstance(t,i,s,a){km(t,i,s,a)}mount(t){this.isSVGTag=Zd(t.tagName),super.mount(t)}}const nk=(n,t)=>Yd(n)?new tk(t,{enableHardwareAcceleration:!1}):new ek(t,{enableHardwareAcceleration:!0}),rk={layout:{ProjectionNode:kv,MeasureLayout:bv}},ik={...AT,...J1,...OE,...rk},Dv=o1((n,t)=>j1(n,t,ik,nk));function Iv(n,t){if(n==null)return{};var i={},s=Object.keys(n),a,h;for(h=0;h<s.length;h++)a=s[h],!(t.indexOf(a)>=0)&&(i[a]=n[a]);return i}function xc(){return xc=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])}return n},xc.apply(this,arguments)}function jd(n,t){return jd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,a){return s.__proto__=a,s},jd(n,t)}function Mv(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,jd(n,t)}function md(n,t,i){if(i||arguments.length===2)for(var s=0,a=t.length,h;s<a;s++)(h||!(s in t))&&(h||(h=Array.prototype.slice.call(t,0,s)),h[s]=t[s]);return n.concat(h||Array.prototype.slice.call(t))}/*!
129
- * content-type
130
- * Copyright(c) 2015 Douglas Christopher Wilson
131
- * MIT Licensed
132
- */var Ag=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,ok=/\\([\u000b\u0020-\u00ff])/g,ak=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,sk=lk;function lk(n){if(!n)throw new TypeError("argument string is required");var t=typeof n=="object"?uk(n):n;if(typeof t!="string")throw new TypeError("argument string is required to be a string");var i=t.indexOf(";"),s=i!==-1?t.slice(0,i).trim():t.trim();if(!ak.test(s))throw new TypeError("invalid media type");var a=new ck(s.toLowerCase());if(i!==-1){var h,v,T;for(Ag.lastIndex=i;v=Ag.exec(t);){if(v.index!==i)throw new TypeError("invalid parameter format");i+=v[0].length,h=v[1].toLowerCase(),T=v[2],T.charCodeAt(0)===34&&(T=T.slice(1,-1),T.indexOf("\\")!==-1&&(T=T.replace(ok,"$1"))),a.parameters[h]=T}if(i!==t.length)throw new TypeError("invalid parameter format")}return a}function uk(n){var t;if(typeof n.getHeader=="function"?t=n.getHeader("content-type"):typeof n.headers=="object"&&(t=n.headers&&n.headers["content-type"]),typeof t!="string")throw new TypeError("content-type header is missing from object");return t}function ck(n){this.parameters=Object.create(null),this.type=n}var Nu=new Map,Ov=function(t){return t.cloneNode(!0)},Pg=function(){return window.location.protocol==="file:"},Lv=function(t,i,s){var a=new XMLHttpRequest;a.onreadystatechange=function(){try{if(!/\.svg/i.test(t)&&a.readyState===2){var h=a.getResponseHeader("Content-Type");if(!h)throw new Error("Content type not found");var v=sk(h).type;if(!(v==="image/svg+xml"||v==="text/plain"))throw new Error("Invalid content type: ".concat(v))}if(a.readyState===4){if(a.status===404||a.responseXML===null)throw new Error(Pg()?"Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver.":"Unable to load SVG file: "+t);if(a.status===200||Pg()&&a.status===0)s(null,a);else throw new Error("There was a problem injecting the SVG: "+a.status+" "+a.statusText)}}catch(T){if(a.abort(),T instanceof Error)s(T,a);else throw T}},a.open("GET",t),a.withCredentials=i,a.overrideMimeType&&a.overrideMimeType("text/xml"),a.send()},bl={},Dg=function(t,i){bl[t]=bl[t]||[],bl[t].push(i)},fk=function(t){for(var i=function(v,T){setTimeout(function(){if(Array.isArray(bl[t])){var x=Nu.get(t),E=bl[t][v];x instanceof SVGSVGElement&&E(null,Ov(x)),x instanceof Error&&E(x),v===bl[t].length-1&&delete bl[t]}},0)},s=0,a=bl[t].length;s<a;s++)i(s)},dk=function(t,i,s){if(Nu.has(t)){var a=Nu.get(t);if(a===void 0){Dg(t,s);return}if(a instanceof SVGSVGElement){s(null,Ov(a));return}}Nu.set(t,void 0),Dg(t,s),Lv(t,i,function(h,v){var T;h?Nu.set(t,h):((T=v.responseXML)===null||T===void 0?void 0:T.documentElement)instanceof SVGSVGElement&&Nu.set(t,v.responseXML.documentElement),fk(t)})},hk=function(t,i,s){Lv(t,i,function(a,h){var v;a?s(a):((v=h.responseXML)===null||v===void 0?void 0:v.documentElement)instanceof SVGSVGElement&&s(null,h.responseXML.documentElement)})},pk=0,gk=function(){return++pk},Ka=[],Ig={},mk="http://www.w3.org/2000/svg",vd="http://www.w3.org/1999/xlink",Mg=function(t,i,s,a,h,v,T){var x=t.getAttribute("data-src")||t.getAttribute("src");if(!x){T(new Error("Invalid data-src or src attribute"));return}if(Ka.indexOf(t)!==-1){Ka.splice(Ka.indexOf(t),1),t=null;return}Ka.push(t),t.setAttribute("src","");var E=a?dk:hk;E(x,h,function(L,_){if(!_){Ka.splice(Ka.indexOf(t),1),t=null,T(L);return}var H=t.getAttribute("id");H&&_.setAttribute("id",H);var Y=t.getAttribute("title");Y&&_.setAttribute("title",Y);var Q=t.getAttribute("width");Q&&_.setAttribute("width",Q);var ee=t.getAttribute("height");ee&&_.setAttribute("height",ee);var Z=Array.from(new Set(md(md(md([],(_.getAttribute("class")||"").split(" "),!0),["injected-svg"],!1),(t.getAttribute("class")||"").split(" "),!0))).join(" ").trim();_.setAttribute("class",Z);var j=t.getAttribute("style");j&&_.setAttribute("style",j),_.setAttribute("data-src",x);var pe=[].filter.call(t.attributes,function(it){return/^data-\w[\w-]*$/.test(it.name)});if(Array.prototype.forEach.call(pe,function(it){it.name&&it.value&&_.setAttribute(it.name,it.value)}),s){var oe={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],path:[],pattern:["fill","stroke"],radialGradient:["fill","stroke"]},xe,se,Ee,m,ke;Object.keys(oe).forEach(function(it){xe=it,Ee=oe[it],se=_.querySelectorAll(xe+"[id]");for(var At=function(qe,Ze){m=se[qe].id,ke=m+"-"+gk();var Ge;Array.prototype.forEach.call(Ee,function(Wt){Ge=_.querySelectorAll("["+Wt+'*="'+m+'"]');for(var zt=0,Un=Ge.length;zt<Un;zt++){var dr=Ge[zt].getAttribute(Wt);dr&&!dr.match(new RegExp('url\\("?#'+m+'"?\\)'))||Ge[zt].setAttribute(Wt,"url(#"+ke+")")}});for(var Ye=_.querySelectorAll("[*|href]"),lt=[],yt=0,ht=Ye.length;yt<ht;yt++){var ut=Ye[yt].getAttributeNS(vd,"href");ut&&ut.toString()==="#"+se[qe].id&&lt.push(Ye[yt])}for(var Ct=0,$e=lt.length;Ct<$e;Ct++)lt[Ct].setAttributeNS(vd,"href","#"+ke);se[qe].id=ke},Oe=0,Pe=se.length;Oe<Pe;Oe++)At(Oe)})}_.removeAttribute("xmlns:a");for(var Ce=_.querySelectorAll("script"),mt=[],St,dt,Ke=0,bt=Ce.length;Ke<bt;Ke++)dt=Ce[Ke].getAttribute("type"),(!dt||dt==="application/ecmascript"||dt==="application/javascript"||dt==="text/javascript")&&(St=Ce[Ke].innerText||Ce[Ke].textContent,St&&mt.push(St),_.removeChild(Ce[Ke]));if(mt.length>0&&(i==="always"||i==="once"&&!Ig[x])){for(var Kt=0,_t=mt.length;Kt<_t;Kt++)new Function(mt[Kt])(window);Ig[x]=!0}var vt=_.querySelectorAll("style");if(Array.prototype.forEach.call(vt,function(it){it.textContent+=""}),_.setAttribute("xmlns",mk),_.setAttribute("xmlns:xlink",vd),v(_),!t.parentNode){Ka.splice(Ka.indexOf(t),1),t=null,T(new Error("Parent node is null"));return}t.parentNode.replaceChild(_,t),Ka.splice(Ka.indexOf(t),1),t=null,T(null,_)})},vk=function(t,i){var s=i===void 0?{}:i,a=s.afterAll,h=a===void 0?function(){}:a,v=s.afterEach,T=v===void 0?function(){}:v,x=s.beforeEach,E=x===void 0?function(){}:x,L=s.cacheRequests,_=L===void 0?!0:L,H=s.evalScripts,Y=H===void 0?"never":H,Q=s.httpRequestWithCredentials,ee=Q===void 0?!1:Q,Z=s.renumerateIRIElements,j=Z===void 0?!0:Z;if(t&&"length"in t)for(var pe=0,oe=0,xe=t.length;oe<xe;oe++)Mg(t[oe],Y,j,_,ee,E,function(se,Ee){T(se,Ee),t&&"length"in t&&t.length===++pe&&h(pe)});else t?Mg(t,Y,j,_,ee,E,function(se,Ee){T(se,Ee),h(1),t=null}):h(0)},yk=function(t){var i=(t==null?void 0:t.ownerDocument)||document;return i.defaultView||window},bk=function(t,i){for(var s in t)if(!(s in i))return!0;for(var a in i)if(t[a]!==i[a])return!0;return!1},xk=["afterInjection","beforeInjection","desc","evalScripts","fallback","httpRequestWithCredentials","loading","renumerateIRIElements","src","title","useRequestCache","wrapper"],Xc="http://www.w3.org/2000/svg",Og="http://www.w3.org/1999/xlink",uh=function(n){Mv(t,n);function t(){for(var s,a=arguments.length,h=new Array(a),v=0;v<a;v++)h[v]=arguments[v];return s=n.call.apply(n,[this].concat(h))||this,s.initialState={hasError:!1,isLoading:!0},s.state=s.initialState,s._isMounted=!1,s.reactWrapper=void 0,s.nonReactWrapper=void 0,s.refCallback=function(T){s.reactWrapper=T},s}var i=t.prototype;return i.renderSVG=function(){var a=this;if(this.reactWrapper instanceof yk(this.reactWrapper).Node){var h=this.props,v=h.desc,T=h.evalScripts,x=h.httpRequestWithCredentials,E=h.renumerateIRIElements,L=h.src,_=h.title,H=h.useRequestCache,Y=this.props.onError,Q=this.props.beforeInjection,ee=this.props.afterInjection,Z=this.props.wrapper,j,pe;Z==="svg"?(j=document.createElementNS(Xc,Z),j.setAttribute("xmlns",Xc),j.setAttribute("xmlns:xlink",Og),pe=document.createElementNS(Xc,Z)):(j=document.createElement(Z),pe=document.createElement(Z)),j.appendChild(pe),pe.dataset.src=L,this.nonReactWrapper=this.reactWrapper.appendChild(j);var oe=function(m){if(a.removeSVG(),!a._isMounted){Y(m);return}a.setState(function(){return{hasError:!0,isLoading:!1}},function(){Y(m)})},xe=function(m,ke){if(m){oe(m);return}a._isMounted&&a.setState(function(){return{isLoading:!1}},function(){try{ee(ke)}catch(Ce){oe(Ce)}})},se=function(m){if(m.setAttribute("role","img"),v){var ke=m.querySelector(":scope > desc");ke&&m.removeChild(ke);var Ce=document.createElement("desc");Ce.innerHTML=v,m.prepend(Ce)}if(_){var mt=m.querySelector(":scope > title");mt&&m.removeChild(mt);var St=document.createElement("title");St.innerHTML=_,m.prepend(St)}try{Q(m)}catch(dt){oe(dt)}};vk(pe,{afterEach:xe,beforeEach:se,cacheRequests:H,evalScripts:T,httpRequestWithCredentials:x,renumerateIRIElements:E})}},i.removeSVG=function(){var a;(a=this.nonReactWrapper)!=null&&a.parentNode&&(this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper),this.nonReactWrapper=null)},i.componentDidMount=function(){this._isMounted=!0,this.renderSVG()},i.componentDidUpdate=function(a){var h=this;bk(xc({},a),this.props)&&this.setState(function(){return h.initialState},function(){h.removeSVG(),h.renderSVG()})},i.componentWillUnmount=function(){this._isMounted=!1,this.removeSVG()},i.render=function(){var a=this.props;a.afterInjection,a.beforeInjection,a.desc,a.evalScripts;var h=a.fallback;a.httpRequestWithCredentials;var v=a.loading;a.renumerateIRIElements,a.src,a.title,a.useRequestCache;var T=a.wrapper,x=Iv(a,xk),E=T;return kn.createElement(E,xc({},x,{ref:this.refCallback},T==="svg"?{xmlns:Xc,xmlnsXlink:Og}:{}),this.state.isLoading&&v&&kn.createElement(v,null),this.state.hasError&&h&&kn.createElement(h,null))},t}(kn.Component);uh.defaultProps={afterInjection:function(){},beforeInjection:function(){},desc:"",evalScripts:"never",fallback:null,httpRequestWithCredentials:!1,loading:null,onError:function(){},renumerateIRIElements:!0,title:"",useRequestCache:!0,wrapper:"div"};uh.propTypes={afterInjection:xr.func,beforeInjection:xr.func,desc:xr.string,evalScripts:xr.oneOf(["always","once","never"]),fallback:xr.oneOfType([xr.func,xr.object,xr.string]),httpRequestWithCredentials:xr.bool,loading:xr.oneOfType([xr.func,xr.object,xr.string]),onError:xr.func,renumerateIRIElements:xr.bool,src:xr.string.isRequired,title:xr.string,useRequestCache:xr.bool,wrapper:xr.oneOf(["div","span","svg"])};function wk(n){return ft.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",...n,children:ft.jsx("path",{fill:"currenColor",d:"M4.427 7.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 7H4.604a.25.25 0 00-.177.427z"})})}function Sk(n){const{children:t,parentRef:i,onlyChild:s}=n,[a,h]=Fe.useState({top:0,left:0});return Fe.useLayoutEffect(()=>{if(i.current){const v=i.current.getBoundingClientRect();h({top:v.top,left:v.left+v.width})}},[i]),s?t:Ng.createPortal(ft.jsx(Dv.div,{style:{position:"fixed",top:a.top,left:a.left,zIndex:1200},children:t}),i.current)}function Fv({item:n,level:t=0,...i}){var m;const{isActive:s,isCollapsed:a,expanded:h,toggleExpand:v}=i,T=`level-${t}`,x=a?"collapsed":"expanded",E=s(n.id)?"active":"",L=(ke,Ce=T)=>`${ke} ${Ce} ${x} ${E}`,_=!!((m=n.children)!=null&&m.length),[H,Y]=Fe.useState(!1),Q=Fe.useRef();function ee(ke){var dt;const{level:Ce,hovered:mt,parentRef:St}=ke;return!_||a&&Ce>=2&&!mt?null:ft.jsx(Sk,{parentRef:St,onlyChild:!a||a&&Ce<2,children:ft.jsx(Dv.div,{className:L("menu-item__dropdown",`level-${Ce}`),initial:{height:a?"auto":0},animate:{height:a||h(n.id)?"auto":0},transition:{duration:.2},children:(dt=n.children)==null?void 0:dt.map(Ke=>Fe.createElement(Fv,{...i,key:Ke.id,item:Ke,level:Ce}))},+a)})}const Z=window.location.origin,j=n.path&&n.path.includes("http")?new URL(n.path):{origin:"",pathname:""},pe=window.location.pathname.split("/")[1],oe=j.pathname.split("/")[1],xe=i.ssr||!Z.includes("local")&&Z!==j.origin||oe!==pe,se=_?"div":xe?"a":Wg.Link,Ee=n.path||"#";return ft.jsxs("div",{ref:Q,className:L("menu-item__wrapper"),onMouseEnter:()=>a&&Y(!0),onMouseLeave:()=>a&&Y(!1),children:[ft.jsxs(se,{to:Ee,href:Ee,style:{paddingLeft:`${a?"0.5rem":`${t*1}rem`}`},className:L("menu-item__link"),onClick:ke=>{_&&(ke.preventDefault(),a||v(n.id))},children:[t!==0&&ft.jsx(Ck,{cls:L,item:n}),ft.jsx("span",{className:L("menu-item__label"),children:n.name}),_&&ft.jsx("div",{className:L("menu-item__icon-arrow__wrapper"),children:ft.jsx(wk,{className:L(`menu-item__icon-arrow__icon ${h(n.id)?"open":"close"}`)})})]}),ee({level:t+1,hovered:H,parentRef:Q})]},n.id)}function Ck({item:n,cls:t}){var v,T;const[i,s]=Fe.useState(!1),a=()=>{s(!0)},h=(v=n.icon)==null?void 0:v.endsWith(".svg");return ft.jsx("div",{className:t("menu-item__icon"),children:i?ft.jsx("div",{style:{width:24,height:24,backgroundColor:"#dadada",borderRadius:"5px",display:"flex",justifyContent:"center",alignItems:"center"},children:(T=n.name.trim().at(0))==null?void 0:T.toUpperCase()}):h?ft.jsx(uh,{src:n.icon,beforeInjection:x=>{x.setAttribute("style","margin: 0 auto;"),x.querySelectorAll("path").forEach(L=>{L.setAttribute("stroke","currentColor")})}}):ft.jsx("img",{src:n.icon||"/",alt:" ",style:{height:24,maxHeight:24},onError:a})})}function Tk(){return ft.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",fill:"currentColor",stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",children:ft.jsx("path",{d:"M21 18v2H3v-2h18zM6.596 3.903L8.01 5.318 4.828 8.5 8.01 11.68l-1.414 1.415L2 8.5l4.596-4.597zM21 11v2h-9v-2h9zm0-7v2h-9V4h9z"})})}function Ek(){return ft.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",fill:"currentColor",stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",children:ft.jsx("path",{d:"M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h18v2H3v-2z"})})}function kk(n){return ft.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"20",fill:"none",viewBox:"0 0 18 20",...n,children:ft.jsx("path",{fill:"#E01B00",fillRule:"evenodd",d:"M.179 2.875A2.375 2.375 0 012.554.5h3.393a1.018 1.018 0 010 2.036H2.554a.34.34 0 00-.34.339v14.25c0 .187.152.34.34.34h3.393a1.018 1.018 0 110 2.035H2.554a2.375 2.375 0 01-2.375-2.375V2.875zm14.167 6.107h-7.72a1.018 1.018 0 000 2.036h7.72l-2.673 2.673a1.018 1.018 0 101.44 1.44l4.41-4.411a1.018 1.018 0 000-1.44l-4.41-4.41a1.018 1.018 0 10-1.44 1.439l2.673 2.673z",clipRule:"evenodd"})})}const _k=`.side-bar{display:flex;flex-direction:column;max-width:18rem;height:calc(100vh - 64px);border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s;padding:0 8px}.side-bar.expanded{width:18rem}.side-bar.collapsed{width:64px;padding-left:4px;padding-right:4px}.side-bar__menu{margin-left:-8px;margin-right:-8px;padding-left:8px;padding-right:8px}.side-bar__menu.collapsed{margin-left:-4px;margin-right:-4px;padding-left:4px;padding-right:4px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:40px 0}.side-bar__logout-btn__text{margin-left:12px}.side-bar__logout-btn__text.collapsed{display:none}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px;color:#85858a}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:0 16px;min-height:48px;border-radius:.375rem}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__logout-btn.collapsed{justify-content:center}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%;margin-top:4px}.menu-item__wrapper:first-child,.menu-item__wrapper.collapsed{margin-top:0}.menu-item__wrapper.collapsed.level-1{margin-top:4px}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer;color:#85858a}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.active{background-color:#009d4f1a!important;color:#009d4f!important}.menu-item__link.level-0{height:auto}.menu-item__link.menu-item__link.collapsed.level-0{display:none}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0}.menu-item__icon.collapsed.level-1{width:100%}.menu-item__icon.collapsed.level-1>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:12px;padding-right:12px;color:#292929}.menu-item__label.active{color:inherit}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-1{text-align:center;margin-left:0;display:none}.menu-item__label.level-0{color:#85858a}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:-3px}.menu-item__icon-arrow__wrapper.expanded{right:0}.menu-item__icon-arrow__icon{transition:all .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:180px;max-width:180px;padding:4px;z-index:1200}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-1{height:48px}.menu-item__dropdown.collapsed.level-1{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{margin-top:4px;overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}
133
- `,Rk=require("../../../package.json");function Ak(n){return ft.jsx(Gg,{styles:[RS,_k],style:{zIndex:1200},children:ft.jsx(Pk,{...n})})}function Pk(n){const{baseUrl:t,menuPath:i}=n,s=Wg.useLocation(),[a,h]=Fe.useState([]),[v,T]=Fe.useState(!1),[x,E]=Fe.useState({}),L=Bv(a),_=window.location.origin+s.pathname,H=Dk(L,_).filter(oe=>oe.parentKey!==0);console.log("matchPaths:",H);const Y=oe=>{E({...x,[oe]:!x[oe]})},Q=()=>{T(!v)};Fe.useEffect(()=>{(async()=>{const xe=t+(i||"/global-menu-config/api/v1/menu-items/user"),se=await mw.get(xe,{withCredentials:!0}).then(ke=>ke.data).catch(ke=>{var Ce,mt;um(((mt=(Ce=ke.response)==null?void 0:Ce.data)==null?void 0:mt.errorMessage)||"Have error when get menu items")}),Ee={};se.forEach(ke=>{ke.children&&(Ee[ke.id]=!0)}),E(Ee);let m=se.map(ke=>({...ke,parentKey:0}));n.replacePath&&(m=jv(m,n.replacePath)),h(m)})()},[t,i,n.replacePath]);const[ee,Z]=Fe.useState(!1),j=v?"collapsed":"expanded",pe=oe=>`${oe} ${j}`;return ft.jsxs("div",{className:pe("side-bar"),children:[ft.jsxs("div",{style:{display:"none"},children:["Version: ",Rk.version]}),ft.jsx("div",{className:pe("side-bar__wrapper-toggle-btn"),children:ft.jsx("button",{className:"icon-btn side-bar__toggle-btn",onClick:Q,children:v?ft.jsx(Ek,{}):ft.jsx(Tk,{})})}),ft.jsx(rm,{className:pe("side-bar__menu"),style:{marginTop:24,flex:1,overflow:"auto",height:"100%",overflowX:"hidden"},children:a.map(oe=>{const xe=se=>H.some(Ee=>Ee.id===se);return ft.jsx(Fv,{item:oe,isActive:xe,isCollapsed:v,expanded:se=>x[se],toggleExpand:Y,replacePath:n.replacePath,ssr:n.ssr},oe.id)})}),ft.jsxs("div",{className:pe("side-bar__wrap-btn-logout"),children:[ft.jsxs("button",{className:pe("side-bar__logout-btn"),onClick:()=>Z(!0),children:[ft.jsx(kk,{}),ft.jsx("span",{className:pe("side-bar__logout-btn__text"),children:"Logout"})]}),ft.jsx(Vg,{isOpen:ee,onClose:()=>Z(!1),onConfirm:()=>n.logout?n.logout():DS(n.baseUrl)})]})]})}function Bv(n){let t=[];for(const i of n)t.push(i),i.children&&(t=t.concat(Bv(i.children)));return t}function Dk(n,t){let i=n.find(a=>a.path&&t.includes(a.path)),s=[];for(;i;)s=[i,...s],i=n.find(a=>a.id===i.parentKey);return s}function jv(n,t){return n.map(i=>(i.path&&(i.path=t(i.path)),i.children&&i.children.length>0&&(i.children=jv(i.children,t)),i))}var ff={exports:{}};/**
134
- * @license
135
- * Lodash <https://lodash.com/>
136
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
137
- * Released under MIT license <https://lodash.com/license>
138
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
139
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
140
- */ff.exports;(function(n,t){(function(){var i,s="4.17.21",a=200,h="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",v="Expected a function",T="Invalid `variable` option passed into `_.template`",x="__lodash_hash_undefined__",E=500,L="__lodash_placeholder__",_=1,H=2,Y=4,Q=1,ee=2,Z=1,j=2,pe=4,oe=8,xe=16,se=32,Ee=64,m=128,ke=256,Ce=512,mt=30,St="...",dt=800,Ke=16,bt=1,Kt=2,_t=3,vt=1/0,it=9007199254740991,At=17976931348623157e292,Oe=0/0,Pe=4294967295,ze=Pe-1,qe=Pe>>>1,Ze=[["ary",m],["bind",Z],["bindKey",j],["curry",oe],["curryRight",xe],["flip",Ce],["partial",se],["partialRight",Ee],["rearg",ke]],Ge="[object Arguments]",Ye="[object Array]",lt="[object AsyncFunction]",yt="[object Boolean]",ht="[object Date]",ut="[object DOMException]",Ct="[object Error]",$e="[object Function]",Wt="[object GeneratorFunction]",zt="[object Map]",Un="[object Number]",dr="[object Null]",zn="[object Object]",xn="[object Promise]",Ei="[object Proxy]",Sr="[object RegExp]",Jn="[object Set]",an="[object String]",un="[object Symbol]",cn="[object Undefined]",rt="[object WeakMap]",_n="[object WeakSet]",ti="[object ArrayBuffer]",on="[object DataView]",ki="[object Float32Array]",_i="[object Float64Array]",Ri="[object Int8Array]",Cr="[object Int16Array]",Bn="[object Int32Array]",Tr="[object Uint8Array]",hr="[object Uint8ClampedArray]",Wr="[object Uint16Array]",Vr="[object Uint32Array]",po=/\b__p \+= '';/g,$n=/\b(__p \+=) '' \+/g,Hr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Kn=/&(?:amp|lt|gt|quot|#39);/g,Gt=/[&<>"']/g,ni=RegExp(Kn.source),Ai=RegExp(Gt.source),Rn=/<%-([\s\S]+?)%>/g,fn=/<%([\s\S]+?)%>/g,ri=/<%=([\s\S]+?)%>/g,ii=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hn=/^\w*$/,Gi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,pr=/[\\^$.*+?()[\]{}|]/g,oi=RegExp(pr.source),sn=/^\s+/,hi=/\s/,ia=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,oa=/\{\n\/\* \[wrapped with (.+)\] \*/,Ur=/,? & /,Xi=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,qi=/[()=,{}\[\]\/\s]/,go=/\\(\\)?/g,pi=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ai=/\w*$/,gi=/^[-+]0x[0-9a-f]+$/i,Zi=/^0b[01]+$/i,mi=/^\[object .+?Constructor\]$/,zr=/^0o[0-7]+$/i,gr=/^(?:0|[1-9]\d*)$/,Er=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,$r=/($^)/,kr=/['\n\r\u2028\u2029\\]/g,jn="\\ud800-\\udfff",dn="\\u0300-\\u036f",_r="\\ufe20-\\ufe2f",mr="\\u20d0-\\u20ff",An=dn+_r+mr,si="\\u2700-\\u27bf",Rr="a-z\\xdf-\\xf6\\xf8-\\xff",Yr="\\xac\\xb1\\xd7\\xf7",Yn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Gr="\\u2000-\\u206f",Xr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pi="A-Z\\xc0-\\xd6\\xd8-\\xde",En="\\ufe0e\\ufe0f",vr=Yr+Yn+Gr+Xr,ir="['’]",mo="["+jn+"]",Di="["+vr+"]",Ar="["+An+"]",y="\\d+",D="["+si+"]",V="["+Rr+"]",q="[^"+jn+vr+y+si+Rr+Pi+"]",we="\\ud83c[\\udffb-\\udfff]",de="(?:"+Ar+"|"+we+")",Re="[^"+jn+"]",He="(?:\\ud83c[\\udde6-\\uddff]){2}",ot="[\\ud800-\\udbff][\\udc00-\\udfff]",pt="["+Pi+"]",at="\\u200d",jt="(?:"+V+"|"+q+")",Gn="(?:"+pt+"|"+q+")",Nn="(?:"+ir+"(?:d|ll|m|re|s|t|ve))?",wn="(?:"+ir+"(?:D|LL|M|RE|S|T|VE))?",Pr=de+"?",Qn="["+En+"]?",Ii="(?:"+at+"(?:"+[Re,He,ot].join("|")+")"+Qn+Pr+")*",li="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mi="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Dr=Qn+Pr+Ii,vo="(?:"+[D,He,ot].join("|")+")"+Dr,es="(?:"+[Re+Ar+"?",Ar,He,ot,mo].join("|")+")",aa=RegExp(ir,"g"),sa=RegExp(Ar,"g"),la=RegExp(we+"(?="+we+")|"+es+Dr,"g"),ua=RegExp([pt+"?"+V+"+"+Nn+"(?="+[Di,pt,"$"].join("|")+")",Gn+"+"+wn+"(?="+[Di,pt+jt,"$"].join("|")+")",pt+"?"+jt+"+"+Nn,pt+"+"+wn,Mi,li,y,vo].join("|"),"g"),ui=RegExp("["+at+jn+An+En+"]"),yo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Bo=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],nn=-1,Xt={};Xt[ki]=Xt[_i]=Xt[Ri]=Xt[Cr]=Xt[Bn]=Xt[Tr]=Xt[hr]=Xt[Wr]=Xt[Vr]=!0,Xt[Ge]=Xt[Ye]=Xt[ti]=Xt[yt]=Xt[on]=Xt[ht]=Xt[Ct]=Xt[$e]=Xt[zt]=Xt[Un]=Xt[zn]=Xt[Sr]=Xt[Jn]=Xt[an]=Xt[rt]=!1;var Bt={};Bt[Ge]=Bt[Ye]=Bt[ti]=Bt[on]=Bt[yt]=Bt[ht]=Bt[ki]=Bt[_i]=Bt[Ri]=Bt[Cr]=Bt[Bn]=Bt[zt]=Bt[Un]=Bt[zn]=Bt[Sr]=Bt[Jn]=Bt[an]=Bt[un]=Bt[Tr]=Bt[hr]=Bt[Wr]=Bt[Vr]=!0,Bt[Ct]=Bt[$e]=Bt[rt]=!1;var vi={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},qr={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},bo={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},ci={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},or=parseFloat,ca=parseInt,jo=typeof yl=="object"&&yl&&yl.Object===Object&&yl,Ra=typeof self=="object"&&self&&self.Object===Object&&self,pn=jo||Ra||Function("return this")(),xo=t&&!t.nodeType&&t,fi=xo&&!0&&n&&!n.nodeType&&n,Aa=fi&&fi.exports===xo,Ji=Aa&&jo.process,Xn=function(){try{var $=fi&&fi.require&&fi.require("util").types;return $||Ji&&Ji.binding&&Ji.binding("util")}catch{}}(),o=Xn&&Xn.isArrayBuffer,c=Xn&&Xn.isDate,g=Xn&&Xn.isMap,w=Xn&&Xn.isRegExp,P=Xn&&Xn.isSet,I=Xn&&Xn.isTypedArray;function F($,le,ae){switch(ae.length){case 0:return $.call(le);case 1:return $.call(le,ae[0]);case 2:return $.call(le,ae[0],ae[1]);case 3:return $.call(le,ae[0],ae[1],ae[2])}return $.apply(le,ae)}function re($,le,ae,Me){for(var Le=-1,Qe=$==null?0:$.length;++Le<Qe;){var et=$[Le];le(Me,et,ae(et),$)}return Me}function K($,le){for(var ae=-1,Me=$==null?0:$.length;++ae<Me&&le($[ae],ae,$)!==!1;);return $}function he($,le){for(var ae=$==null?0:$.length;ae--&&le($[ae],ae,$)!==!1;);return $}function Ae($,le){for(var ae=-1,Me=$==null?0:$.length;++ae<Me;)if(!le($[ae],ae,$))return!1;return!0}function De($,le){for(var ae=-1,Me=$==null?0:$.length,Le=0,Qe=[];++ae<Me;){var et=$[ae];le(et,ae,$)&&(Qe[Le++]=et)}return Qe}function ye($,le){var ae=$==null?0:$.length;return!!ae&&en($,le,0)>-1}function Be($,le,ae){for(var Me=-1,Le=$==null?0:$.length;++Me<Le;)if(ae(le,$[Me]))return!0;return!1}function Je($,le){for(var ae=-1,Me=$==null?0:$.length,Le=Array(Me);++ae<Me;)Le[ae]=le($[ae],ae,$);return Le}function Et($,le){for(var ae=-1,Me=le.length,Le=$.length;++ae<Me;)$[Le+ae]=le[ae];return $}function Pt($,le,ae,Me){var Le=-1,Qe=$==null?0:$.length;for(Me&&Qe&&(ae=$[++Le]);++Le<Qe;)ae=le(ae,$[Le],Le,$);return ae}function Pn($,le,ae,Me){var Le=$==null?0:$.length;for(Me&&Le&&(ae=$[--Le]);Le--;)ae=le(ae,$[Le],Le,$);return ae}function ln($,le){for(var ae=-1,Me=$==null?0:$.length;++ae<Me;)if(le($[ae],ae,$))return!0;return!1}var Ir=b("length");function Mr($){return $.split("")}function Nt($){return $.match(Xi)||[]}function Or($,le,ae){var Me;return ae($,function(Le,Qe,et){if(le(Le,Qe,et))return Me=Qe,!1}),Me}function Vt($,le,ae,Me){for(var Le=$.length,Qe=ae+(Me?1:-1);Me?Qe--:++Qe<Le;)if(le($[Qe],Qe,$))return Qe;return-1}function en($,le,ae){return le===le?El($,le,ae):Vt($,Qi,ae)}function Ki($,le,ae,Me){for(var Le=ae-1,Qe=$.length;++Le<Qe;)if(Me($[Le],le))return Le;return-1}function Qi($){return $!==$}function yr($,le){var ae=$==null?0:$.length;return ae?me($,le)/ae:Oe}function b($){return function(le){return le==null?i:le[$]}}function A($){return function(le){return $==null?i:$[le]}}function B($,le,ae,Me,Le){return Le($,function(Qe,et,Xe){ae=Me?(Me=!1,Qe):le(ae,Qe,et,Xe)}),ae}function X($,le){var ae=$.length;for($.sort(le);ae--;)$[ae]=$[ae].value;return $}function me($,le){for(var ae,Me=-1,Le=$.length;++Me<Le;){var Qe=le($[Me]);Qe!==i&&(ae=ae===i?Qe:ae+Qe)}return ae}function ve($,le){for(var ae=-1,Me=Array($);++ae<$;)Me[ae]=le(ae);return Me}function Ie($,le){return Je(le,function(ae){return[ae,$[ae]]})}function Ve($){return $&&$.slice(0,rs($)+1).replace(sn,"")}function st($){return function(le){return $(le)}}function Lt($,le){return Je(le,function(ae){return $[ae]})}function Tt($,le){return $.has(le)}function gt($,le){for(var ae=-1,Me=$.length;++ae<Me&&en(le,$[ae],0)>-1;);return ae}function On($,le){for(var ae=$.length;ae--&&en(le,$[ae],0)>-1;);return ae}function yn($,le){for(var ae=$.length,Me=0;ae--;)$[ae]===le&&++Me;return Me}var Wn=A(vi),No=A(qr);function Pa($){return"\\"+ci[$]}function Wo($,le){return $==null?i:$[le]}function Zr($){return ui.test($)}function ts($){return yo.test($)}function eo($){for(var le,ae=[];!(le=$.next()).done;)ae.push(le.value);return ae}function Da($){var le=-1,ae=Array($.size);return $.forEach(function(Me,Le){ae[++le]=[Le,Me]}),ae}function Vo($,le){return function(ae){return $(le(ae))}}function di($,le){for(var ae=-1,Me=$.length,Le=0,Qe=[];++ae<Me;){var et=$[ae];(et===le||et===L)&&($[ae]=L,Qe[Le++]=ae)}return Qe}function Oi($){var le=-1,ae=Array($.size);return $.forEach(function(Me){ae[++le]=Me}),ae}function ns($){var le=-1,ae=Array($.size);return $.forEach(function(Me){ae[++le]=[Me,Me]}),ae}function El($,le,ae){for(var Me=ae-1,Le=$.length;++Me<Le;)if($[Me]===le)return Me;return-1}function Ho($,le,ae){for(var Me=ae+1;Me--;)if($[Me]===le)return Me;return Me}function to($){return Zr($)?Ma($):Ir($)}function ar($){return Zr($)?G($):Mr($)}function rs($){for(var le=$.length;le--&&hi.test($.charAt(le)););return le}var Ia=A(bo);function Ma($){for(var le=la.lastIndex=0;la.test($);)++le;return le}function G($){return $.match(la)||[]}function fe($){return $.match(ua)||[]}var Se=function $(le){le=le==null?pn:be.defaults(pn.Object(),le,be.pick(pn,Bo));var ae=le.Array,Me=le.Date,Le=le.Error,Qe=le.Function,et=le.Math,Xe=le.Object,Dt=le.RegExp,xt=le.String,Ht=le.TypeError,Dn=ae.prototype,er=Qe.prototype,Vn=Xe.prototype,Lr=le["__core-js_shared__"],Li=er.toString,It=Vn.hasOwnProperty,mu=0,Sn=function(){var e=/[^.]+$/.exec(Lr&&Lr.keys&&Lr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Uo=Vn.toString,kl=Li.call(Xe),Cn=pn._,Oa=Dt("^"+Li.call(It).replace(pr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),La=Aa?le.Buffer:i,no=le.Symbol,Fa=le.Uint8Array,Ws=La?La.allocUnsafe:i,Ba=Vo(Xe.getPrototypeOf,Xe),_l=Xe.create,Rl=Vn.propertyIsEnumerable,fa=Dn.splice,Vs=no?no.isConcatSpreadable:i,wo=no?no.iterator:i,Fi=no?no.toStringTag:i,So=function(){try{var e=ru(Xe,"defineProperty");return e({},"",{}),e}catch{}}(),is=le.clearTimeout!==pn.clearTimeout&&le.clearTimeout,os=Me&&Me.now!==pn.Date.now&&Me.now,Hs=le.setTimeout!==pn.setTimeout&&le.setTimeout,as=et.ceil,ja=et.floor,ss=Xe.getOwnPropertySymbols,Al=La?La.isBuffer:i,Pl=le.isFinite,Na=Dn.join,Dl=Vo(Xe.keys,Xe),In=et.max,Mn=et.min,Il=Me.now,Ml=le.parseInt,Co=et.random,vu=Dn.reverse,To=ru(le,"DataView"),Bi=ru(le,"Map"),ls=ru(le,"Promise"),Fr=ru(le,"Set"),zo=ru(le,"WeakMap"),$o=ru(Xe,"create"),Yo=zo&&new zo,Go={},us=iu(To),yu=iu(Bi),bu=iu(ls),Us=iu(Fr),cs=iu(zo),Wa=no?no.prototype:i,fs=Wa?Wa.valueOf:i,da=Wa?Wa.toString:i;function W(e){if(nr(e)&&!Yt(e)&&!(e instanceof $t)){if(e instanceof Br)return e;if(It.call(e,"__wrapped__"))return wh(e)}return new Br(e)}var Xo=function(){function e(){}return function(r){if(!qn(r))return{};if(_l)return _l(r);e.prototype=r;var f=new e;return e.prototype=i,f}}();function ha(){}function Br(e,r){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=i}W.templateSettings={escape:Rn,evaluate:fn,interpolate:ri,variable:"",imports:{_:W}},W.prototype=ha.prototype,W.prototype.constructor=W,Br.prototype=Xo(ha.prototype),Br.prototype.constructor=Br;function $t(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Pe,this.__views__=[]}function zs(){var e=new $t(this.__wrapped__);return e.__actions__=ur(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ur(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ur(this.__views__),e}function Va(){if(this.__filtered__){var e=new $t(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function ds(){var e=this.__wrapped__.value(),r=this.__dir__,f=Yt(e),C=r<0,O=f?e.length:0,U=Uv(0,O,this.__views__),ne=U.start,ce=U.end,ge=ce-ne,je=C?ce:ne-1,Ne=this.__iteratees__,Ue=Ne.length,nt=0,wt=Mn(ge,this.__takeCount__);if(!f||!C&&O==ge&&wt==ge)return Qr(e,this.__actions__);var Mt=[];e:for(;ge--&&nt<wt;){je+=r;for(var Zt=-1,Ot=e[je];++Zt<Ue;){var Qt=Ne[Zt],tn=Qt.iteratee,Io=Qt.type,zi=tn(Ot);if(Io==Kt)Ot=zi;else if(!zi){if(Io==bt)continue e;break e}}Mt[nt++]=Ot}return Mt}$t.prototype=Xo(ha.prototype),$t.prototype.constructor=$t;function ro(e){var r=-1,f=e==null?0:e.length;for(this.clear();++r<f;){var C=e[r];this.set(C[0],C[1])}}function Ha(){this.__data__=$o?$o(null):{},this.size=0}function $s(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}function Ys(e){var r=this.__data__;if($o){var f=r[e];return f===x?i:f}return It.call(r,e)?r[e]:i}function Gs(e){var r=this.__data__;return $o?r[e]!==i:It.call(r,e)}function xu(e,r){var f=this.__data__;return this.size+=this.has(e)?0:1,f[e]=$o&&r===i?x:r,this}ro.prototype.clear=Ha,ro.prototype.delete=$s,ro.prototype.get=Ys,ro.prototype.has=Gs,ro.prototype.set=xu;function io(e){var r=-1,f=e==null?0:e.length;for(this.clear();++r<f;){var C=e[r];this.set(C[0],C[1])}}function wu(){this.__data__=[],this.size=0}function Xu(e){var r=this.__data__,f=bi(r,e);if(f<0)return!1;var C=r.length-1;return f==C?r.pop():fa.call(r,f,1),--this.size,!0}function qu(e){var r=this.__data__,f=bi(r,e);return f<0?i:r[f][1]}function Su(e){return bi(this.__data__,e)>-1}function Zu(e,r){var f=this.__data__,C=bi(f,e);return C<0?(++this.size,f.push([e,r])):f[C][1]=r,this}io.prototype.clear=wu,io.prototype.delete=Xu,io.prototype.get=qu,io.prototype.has=Su,io.prototype.set=Zu;function Eo(e){var r=-1,f=e==null?0:e.length;for(this.clear();++r<f;){var C=e[r];this.set(C[0],C[1])}}function Xs(){this.size=0,this.__data__={hash:new ro,map:new(Bi||io),string:new ro}}function qs(e){var r=_c(this,e).delete(e);return this.size-=r?1:0,r}function Ju(e){return _c(this,e).get(e)}function Ol(e){return _c(this,e).has(e)}function Zs(e,r){var f=_c(this,e),C=f.size;return f.set(e,r),this.size+=f.size==C?0:1,this}Eo.prototype.clear=Xs,Eo.prototype.delete=qs,Eo.prototype.get=Ju,Eo.prototype.has=Ol,Eo.prototype.set=Zs;function pa(e){var r=-1,f=e==null?0:e.length;for(this.__data__=new Eo;++r<f;)this.add(e[r])}function Ku(e){return this.__data__.set(e,x),this}function Qu(e){return this.__data__.has(e)}pa.prototype.add=pa.prototype.push=Ku,pa.prototype.has=Qu;function ji(e){var r=this.__data__=new io(e);this.size=r.size}function ko(){this.__data__=new io,this.size=0}function Ll(e){var r=this.__data__,f=r.delete(e);return this.size=r.size,f}function Js(e){return this.__data__.get(e)}function Jt(e){return this.__data__.has(e)}function ga(e,r){var f=this.__data__;if(f instanceof io){var C=f.__data__;if(!Bi||C.length<a-1)return C.push([e,r]),this.size=++f.size,this;f=this.__data__=new Eo(C)}return f.set(e,r),this.size=f.size,this}ji.prototype.clear=ko,ji.prototype.delete=Ll,ji.prototype.get=Js,ji.prototype.has=Jt,ji.prototype.set=ga;function qo(e,r){var f=Yt(e),C=!f&&ou(e),O=!f&&!C&&dl(e),U=!f&&!C&&!O&&Fu(e),ne=f||C||O||U,ce=ne?ve(e.length,xt):[],ge=ce.length;for(var je in e)(r||It.call(e,je))&&!(ne&&(je=="length"||O&&(je=="offset"||je=="parent")||U&&(je=="buffer"||je=="byteLength"||je=="byteOffset")||Ds(je,ge)))&&ce.push(je);return ce}function rn(e){var r=e.length;return r?e[il(0,r-1)]:i}function yi(e,r){return Rc(ur(e),Zo(r,0,e.length))}function ma(e){return Rc(ur(e))}function Ua(e,r,f){(f!==i&&!Ea(e[r],f)||f===i&&!(r in e))&&sr(e,r,f)}function Ln(e,r,f){var C=e[r];(!(It.call(e,r)&&Ea(C,f))||f===i&&!(r in e))&&sr(e,r,f)}function bi(e,r){for(var f=e.length;f--;)if(Ea(e[f][0],r))return f;return-1}function va(e,r,f,C){return Jo(e,function(O,U,ne){r(C,O,f(O),ne)}),C}function Ni(e,r){return e&&so(r,ei(r),e)}function ya(e,r){return e&&so(r,uo(r),e)}function sr(e,r,f){r=="__proto__"&&So?So(e,r,{configurable:!0,enumerable:!0,value:f,writable:!0}):e[r]=f}function Fl(e,r){for(var f=-1,C=r.length,O=ae(C),U=e==null;++f<C;)O[f]=U?i:Nf(e,r[f]);return O}function Zo(e,r,f){return e===e&&(f!==i&&(e=e<=f?e:f),r!==i&&(e=e>=r?e:r)),e}function jr(e,r,f,C,O,U){var ne,ce=r&_,ge=r&H,je=r&Y;if(f&&(ne=O?f(e,C,O,U):f(e)),ne!==i)return ne;if(!qn(e))return e;var Ne=Yt(e);if(Ne){if(ne=$v(e),!ce)return ur(e,ne)}else{var Ue=Ci(e),nt=Ue==$e||Ue==Wt;if(dl(e))return Ql(e,ce);if(Ue==zn||Ue==Ge||nt&&!O){if(ne=ge||nt?{}:dh(e),!ce)return ge?cl(e,ya(ne,e)):Mu(e,Ni(ne,e))}else{if(!Bt[Ue])return O?e:{};ne=Yv(e,Ue,ce)}}U||(U=new ji);var wt=U.get(e);if(wt)return wt;U.set(e,ne),Vh(e)?e.forEach(function(Ot){ne.add(jr(Ot,r,f,Ot,e,U))}):Nh(e)&&e.forEach(function(Ot,Qt){ne.set(Qt,jr(Ot,r,f,Qt,e,U))});var Mt=je?ge?Ef:Tf:ge?uo:ei,Zt=Ne?i:Mt(e);return K(Zt||e,function(Ot,Qt){Zt&&(Qt=Ot,Ot=e[Qt]),Ln(ne,Qt,jr(Ot,r,f,Qt,e,U))}),ne}function Bl(e){var r=ei(e);return function(f){return Cu(f,e,r)}}function Cu(e,r,f){var C=f.length;if(e==null)return!C;for(e=Xe(e);C--;){var O=f[C],U=r[O],ne=e[O];if(ne===i&&!(O in e)||!U(ne))return!1}return!0}function jl(e,r,f){if(typeof e!="function")throw new Ht(v);return ic(function(){e.apply(i,f)},r)}function _o(e,r,f,C){var O=-1,U=ye,ne=!0,ce=e.length,ge=[],je=r.length;if(!ce)return ge;f&&(r=Je(r,st(f))),C?(U=Be,ne=!1):r.length>=a&&(U=Tt,ne=!1,r=new pa(r));e:for(;++O<ce;){var Ne=e[O],Ue=f==null?Ne:f(Ne);if(Ne=C||Ne!==0?Ne:0,ne&&Ue===Ue){for(var nt=je;nt--;)if(r[nt]===Ue)continue e;ge.push(Ne)}else U(r,Ue,C)||ge.push(Ne)}return ge}var Jo=p(oo),Nl=p(Hl,!0);function Ks(e,r){var f=!0;return Jo(e,function(C,O,U){return f=!!r(C,O,U),f}),f}function Qs(e,r,f){for(var C=-1,O=e.length;++C<O;){var U=e[C],ne=r(U);if(ne!=null&&(ce===i?ne===ne&&!Do(ne):f(ne,ce)))var ce=ne,ge=U}return ge}function Tu(e,r,f,C){var O=e.length;for(f=qt(f),f<0&&(f=-f>O?0:O+f),C=C===i||C>O?O:qt(C),C<0&&(C+=O),C=f>C?0:Uh(C);f<C;)e[f++]=r;return e}function Wl(e,r){var f=[];return Jo(e,function(C,O,U){r(C,O,U)&&f.push(C)}),f}function lr(e,r,f,C,O){var U=-1,ne=e.length;for(f||(f=Xv),O||(O=[]);++U<ne;){var ce=e[U];r>0&&f(ce)?r>1?lr(ce,r-1,f,C,O):Et(O,ce):C||(O[O.length]=ce)}return O}var Vl=k(),Eu=k(!0);function oo(e,r){return e&&Vl(e,r,ei)}function Hl(e,r){return e&&Eu(e,r,ei)}function el(e,r){return De(r,function(f){return Is(e[f])})}function ba(e,r){r=Po(r,e);for(var f=0,C=r.length;e!=null&&f<C;)e=e[Ja(r[f++])];return f&&f==C?e:i}function hs(e,r,f){var C=r(e);return Yt(e)?C:Et(C,f(e))}function br(e){return e==null?e===i?cn:dr:Fi&&Fi in Xe(e)?Hv(e):ty(e)}function ps(e,r){return e>r}function gs(e,r){return e!=null&&It.call(e,r)}function ku(e,r){return e!=null&&r in Xe(e)}function ms(e,r,f){return e>=Mn(r,f)&&e<In(r,f)}function za(e,r,f){for(var C=f?Be:ye,O=e[0].length,U=e.length,ne=U,ce=ae(U),ge=1/0,je=[];ne--;){var Ne=e[ne];ne&&r&&(Ne=Je(Ne,st(r))),ge=Mn(Ne.length,ge),ce[ne]=!f&&(r||O>=120&&Ne.length>=120)?new pa(ne&&Ne):i}Ne=e[0];var Ue=-1,nt=ce[0];e:for(;++Ue<O&&je.length<ge;){var wt=Ne[Ue],Mt=r?r(wt):wt;if(wt=f||wt!==0?wt:0,!(nt?Tt(nt,Mt):C(je,Mt,f))){for(ne=U;--ne;){var Zt=ce[ne];if(!(Zt?Tt(Zt,Mt):C(e[ne],Mt,f)))continue e}nt&&nt.push(Mt),je.push(wt)}}return je}function Ul(e,r,f,C){return oo(e,function(O,U,ne){r(C,f(O),U,ne)}),C}function xi(e,r,f){r=Po(r,e),e=mh(e,r);var C=e==null?e:e[Ja(Qo(r))];return C==null?i:F(C,e,f)}function vs(e){return nr(e)&&br(e)==Ge}function tl(e){return nr(e)&&br(e)==ti}function xa(e){return nr(e)&&br(e)==ht}function $a(e,r,f,C,O){return e===r?!0:e==null||r==null||!nr(e)&&!nr(r)?e!==e&&r!==r:zl(e,r,f,C,$a,O)}function zl(e,r,f,C,O,U){var ne=Yt(e),ce=Yt(r),ge=ne?Ye:Ci(e),je=ce?Ye:Ci(r);ge=ge==Ge?zn:ge,je=je==Ge?zn:je;var Ne=ge==zn,Ue=je==zn,nt=ge==je;if(nt&&dl(e)){if(!dl(r))return!1;ne=!0,Ne=!1}if(nt&&!Ne)return U||(U=new ji),ne||Fu(e)?As(e,r,f,C,O,U):Sf(e,r,ge,f,C,O,U);if(!(f&Q)){var wt=Ne&&It.call(e,"__wrapped__"),Mt=Ue&&It.call(r,"__wrapped__");if(wt||Mt){var Zt=wt?e.value():e,Ot=Mt?r.value():r;return U||(U=new ji),O(Zt,Ot,f,C,U)}}return nt?(U||(U=new ji),Cf(e,r,f,C,O,U)):!1}function wa(e){return nr(e)&&Ci(e)==zt}function $l(e,r,f,C){var O=f.length,U=O,ne=!C;if(e==null)return!U;for(e=Xe(e);O--;){var ce=f[O];if(ne&&ce[2]?ce[1]!==e[ce[0]]:!(ce[0]in e))return!1}for(;++O<U;){ce=f[O];var ge=ce[0],je=e[ge],Ne=ce[1];if(ne&&ce[2]){if(je===i&&!(ge in e))return!1}else{var Ue=new ji;if(C)var nt=C(je,Ne,ge,e,r,Ue);if(!(nt===i?$a(Ne,je,Q|ee,C,Ue):nt))return!1}}return!0}function Yl(e){if(!qn(e)||Zv(e))return!1;var r=Is(e)?Oa:mi;return r.test(iu(e))}function ao(e){return nr(e)&&br(e)==Sr}function ec(e){return nr(e)&&Ci(e)==Jn}function tc(e){return nr(e)&&Oc(e.length)&&!!Xt[br(e)]}function Ya(e){return typeof e=="function"?e:e==null?co:typeof e=="object"?Yt(e)?Vi(e[0],e[1]):Ro(e):ep(e)}function ys(e){if(!rc(e))return Dl(e);var r=[];for(var f in Xe(e))It.call(e,f)&&f!="constructor"&&r.push(f);return r}function nl(e){if(!qn(e))return ey(e);var r=rc(e),f=[];for(var C in e)C=="constructor"&&(r||!It.call(e,C))||f.push(C);return f}function Wi(e,r){return e<r}function Ga(e,r){var f=-1,C=lo(e)?ae(e.length):[];return Jo(e,function(O,U,ne){C[++f]=r(O,U,ne)}),C}function Ro(e){var r=_f(e);return r.length==1&&r[0][2]?ph(r[0][0],r[0][1]):function(f){return f===e||$l(f,e,r)}}function Vi(e,r){return Af(e)&&hh(r)?ph(Ja(e),r):function(f){var C=Nf(f,e);return C===i&&C===r?Wf(f,e):$a(r,C,Q|ee)}}function Xa(e,r,f,C,O){e!==r&&Vl(r,function(U,ne){if(O||(O=new ji),qn(U))wi(e,r,ne,f,Xa,C,O);else{var ce=C?C(Df(e,ne),U,ne+"",e,r,O):i;ce===i&&(ce=U),Ua(e,ne,ce)}},uo)}function wi(e,r,f,C,O,U,ne){var ce=Df(e,f),ge=Df(r,f),je=ne.get(ge);if(je){Ua(e,f,je);return}var Ne=U?U(ce,ge,f+"",e,r,ne):i,Ue=Ne===i;if(Ue){var nt=Yt(ge),wt=!nt&&dl(ge),Mt=!nt&&!wt&&Fu(ge);Ne=ge,nt||wt||Mt?Yt(ce)?Ne=ce:cr(ce)?Ne=ur(ce):wt?(Ue=!1,Ne=Ql(ge,!0)):Mt?(Ue=!1,Ne=eu(ge,!0)):Ne=[]:oc(ge)||ou(ge)?(Ne=ce,ou(ce)?Ne=zh(ce):(!qn(ce)||Is(ce))&&(Ne=dh(ge))):Ue=!1}Ue&&(ne.set(ge,Ne),O(Ne,ge,C,U,ne),ne.delete(ge)),Ua(e,f,Ne)}function Sa(e,r){var f=e.length;if(f)return r+=r<0?f:0,Ds(r,f)?e[r]:i}function rl(e,r,f){r.length?r=Je(r,function(U){return Yt(U)?function(ne){return ba(ne,U.length===1?U[0]:U)}:U}):r=[co];var C=-1;r=Je(r,st(Rt()));var O=Ga(e,function(U,ne,ce){var ge=Je(r,function(je){return je(U)});return{criteria:ge,index:++C,value:U}});return X(O,function(U,ne){return Rs(U,ne,f)})}function Si(e,r){return Ao(e,r,function(f,C){return Wf(e,C)})}function Ao(e,r,f){for(var C=-1,O=r.length,U={};++C<O;){var ne=r[C],ce=ba(e,ne);f(ce,ne)&&Ta(U,Po(ne,e),ce)}return U}function Gl(e){return function(r){return ba(r,e)}}function Ca(e,r,f,C){var O=C?Ki:en,U=-1,ne=r.length,ce=e;for(e===r&&(r=ur(r)),f&&(ce=Je(e,st(f)));++U<ne;)for(var ge=0,je=r[U],Ne=f?f(je):je;(ge=O(ce,Ne,ge,C))>-1;)ce!==e&&fa.call(ce,ge,1),fa.call(e,ge,1);return e}function bs(e,r){for(var f=e?r.length:0,C=f-1;f--;){var O=r[f];if(f==C||O!==U){var U=O;Ds(O)?fa.call(e,O,1):Jl(e,O)}}return e}function il(e,r){return e+ja(Co()*(r-e+1))}function _u(e,r,f,C){for(var O=-1,U=In(as((r-e)/(f||1)),0),ne=ae(U);U--;)ne[C?U:++O]=e,e+=f;return ne}function Xl(e,r){var f="";if(!e||r<1||r>it)return f;do r%2&&(f+=e),r=ja(r/2),r&&(e+=e);while(r);return f}function Ut(e,r){return If(gh(e,r,co),e+"")}function xs(e){return rn(Bu(e))}function Ru(e,r){var f=Bu(e);return Rc(f,Zo(r,0,f.length))}function Ta(e,r,f,C){if(!qn(e))return e;r=Po(r,e);for(var O=-1,U=r.length,ne=U-1,ce=e;ce!=null&&++O<U;){var ge=Ja(r[O]),je=f;if(ge==="__proto__"||ge==="constructor"||ge==="prototype")return e;if(O!=ne){var Ne=ce[ge];je=C?C(Ne,ge,ce):i,je===i&&(je=qn(Ne)?Ne:Ds(r[O+1])?[]:{})}Ln(ce,ge,je),ce=ce[ge]}return e}var qa=Yo?function(e,r){return Yo.set(e,r),e}:co,ql=So?function(e,r){return So(e,"toString",{configurable:!0,enumerable:!1,value:Hf(r),writable:!0})}:co;function Zl(e){return Rc(Bu(e))}function Jr(e,r,f){var C=-1,O=e.length;r<0&&(r=-r>O?0:O+r),f=f>O?O:f,f<0&&(f+=O),O=r>f?0:f-r>>>0,r>>>=0;for(var U=ae(O);++C<O;)U[C]=e[C+r];return U}function Au(e,r){var f;return Jo(e,function(C,O,U){return f=r(C,O,U),!f}),!!f}function ws(e,r,f){var C=0,O=e==null?C:e.length;if(typeof r=="number"&&r===r&&O<=qe){for(;C<O;){var U=C+O>>>1,ne=e[U];ne!==null&&!Do(ne)&&(f?ne<=r:ne<r)?C=U+1:O=U}return O}return Ss(e,r,co,f)}function Ss(e,r,f,C){var O=0,U=e==null?0:e.length;if(U===0)return 0;r=f(r);for(var ne=r!==r,ce=r===null,ge=Do(r),je=r===i;O<U;){var Ne=ja((O+U)/2),Ue=f(e[Ne]),nt=Ue!==i,wt=Ue===null,Mt=Ue===Ue,Zt=Do(Ue);if(ne)var Ot=C||Mt;else je?Ot=Mt&&(C||nt):ce?Ot=Mt&&nt&&(C||!wt):ge?Ot=Mt&&nt&&!wt&&(C||!Zt):wt||Zt?Ot=!1:Ot=C?Ue<=r:Ue<r;Ot?O=Ne+1:U=Ne}return Mn(U,ze)}function Pu(e,r){for(var f=-1,C=e.length,O=0,U=[];++f<C;){var ne=e[f],ce=r?r(ne):ne;if(!f||!Ea(ce,ge)){var ge=ce;U[O++]=ne===0?0:ne}}return U}function Du(e){return typeof e=="number"?e:Do(e)?Oe:+e}function Kr(e){if(typeof e=="string")return e;if(Yt(e))return Je(e,Kr)+"";if(Do(e))return da?da.call(e):"";var r=e+"";return r=="0"&&1/e==-vt?"-0":r}function Ko(e,r,f){var C=-1,O=ye,U=e.length,ne=!0,ce=[],ge=ce;if(f)ne=!1,O=Be;else if(U>=a){var je=r?null:bn(e);if(je)return Oi(je);ne=!1,O=Tt,ge=new pa}else ge=r?[]:ce;e:for(;++C<U;){var Ne=e[C],Ue=r?r(Ne):Ne;if(Ne=f||Ne!==0?Ne:0,ne&&Ue===Ue){for(var nt=ge.length;nt--;)if(ge[nt]===Ue)continue e;r&&ge.push(Ue),ce.push(Ne)}else O(ge,Ue,f)||(ge!==ce&&ge.push(Ue),ce.push(Ne))}return ce}function Jl(e,r){return r=Po(r,e),e=mh(e,r),e==null||delete e[Ja(Qo(r))]}function ol(e,r,f,C){return Ta(e,r,f(ba(e,r)),C)}function al(e,r,f,C){for(var O=e.length,U=C?O:-1;(C?U--:++U<O)&&r(e[U],U,e););return f?Jr(e,C?0:U,C?U+1:O):Jr(e,C?U+1:0,C?O:U)}function Qr(e,r){var f=e;return f instanceof $t&&(f=f.value()),Pt(r,function(C,O){return O.func.apply(O.thisArg,Et([C],O.args))},f)}function Cs(e,r,f){var C=e.length;if(C<2)return C?Ko(e[0]):[];for(var O=-1,U=ae(C);++O<C;)for(var ne=e[O],ce=-1;++ce<C;)ce!=O&&(U[O]=_o(U[O]||ne,e[ce],r,f));return Ko(lr(U,1),r,f)}function Kl(e,r,f){for(var C=-1,O=e.length,U=r.length,ne={};++C<O;){var ce=C<U?r[C]:i;f(ne,e[C],ce)}return ne}function Nr(e){return cr(e)?e:[]}function Ts(e){return typeof e=="function"?e:co}function Po(e,r){return Yt(e)?e:Af(e,r)?[e]:xh(gn(e))}var nc=Ut;function Hi(e,r,f){var C=e.length;return f=f===i?C:f,!r&&f>=C?e:Jr(e,r,f)}var Es=is||function(e){return pn.clearTimeout(e)};function Ql(e,r){if(r)return e.slice();var f=e.length,C=Ws?Ws(f):new e.constructor(f);return e.copy(C),C}function sl(e){var r=new e.constructor(e.byteLength);return new Fa(r).set(new Fa(e)),r}function ks(e,r){var f=r?sl(e.buffer):e.buffer;return new e.constructor(f,e.byteOffset,e.byteLength)}function _s(e){var r=new e.constructor(e.source,ai.exec(e));return r.lastIndex=e.lastIndex,r}function ll(e){return fs?Xe(fs.call(e)):{}}function eu(e,r){var f=r?sl(e.buffer):e.buffer;return new e.constructor(f,e.byteOffset,e.length)}function Za(e,r){if(e!==r){var f=e!==i,C=e===null,O=e===e,U=Do(e),ne=r!==i,ce=r===null,ge=r===r,je=Do(r);if(!ce&&!je&&!U&&e>r||U&&ne&&ge&&!ce&&!je||C&&ne&&ge||!f&&ge||!O)return 1;if(!C&&!U&&!je&&e<r||je&&f&&O&&!C&&!U||ce&&f&&O||!ne&&O||!ge)return-1}return 0}function Rs(e,r,f){for(var C=-1,O=e.criteria,U=r.criteria,ne=O.length,ce=f.length;++C<ne;){var ge=Za(O[C],U[C]);if(ge){if(C>=ce)return ge;var je=f[C];return ge*(je=="desc"?-1:1)}}return e.index-r.index}function Iu(e,r,f,C){for(var O=-1,U=e.length,ne=f.length,ce=-1,ge=r.length,je=In(U-ne,0),Ne=ae(ge+je),Ue=!C;++ce<ge;)Ne[ce]=r[ce];for(;++O<ne;)(Ue||O<U)&&(Ne[f[O]]=e[O]);for(;je--;)Ne[ce++]=e[O++];return Ne}function ul(e,r,f,C){for(var O=-1,U=e.length,ne=-1,ce=f.length,ge=-1,je=r.length,Ne=In(U-ce,0),Ue=ae(Ne+je),nt=!C;++O<Ne;)Ue[O]=e[O];for(var wt=O;++ge<je;)Ue[wt+ge]=r[ge];for(;++ne<ce;)(nt||O<U)&&(Ue[wt+f[ne]]=e[O++]);return Ue}function ur(e,r){var f=-1,C=e.length;for(r||(r=ae(C));++f<C;)r[f]=e[f];return r}function so(e,r,f,C){var O=!f;f||(f={});for(var U=-1,ne=r.length;++U<ne;){var ce=r[U],ge=C?C(f[ce],e[ce],ce,f,e):i;ge===i&&(ge=e[ce]),O?sr(f,ce,ge):Ln(f,ce,ge)}return f}function Mu(e,r){return so(e,Rf(e),r)}function cl(e,r){return so(e,ch(e),r)}function fl(e,r){return function(f,C){var O=Yt(f)?re:va,U=r?r():{};return O(f,e,Rt(C,2),U)}}function u(e){return Ut(function(r,f){var C=-1,O=f.length,U=O>1?f[O-1]:i,ne=O>2?f[2]:i;for(U=e.length>3&&typeof U=="function"?(O--,U):i,ne&&Ui(f[0],f[1],ne)&&(U=O<3?i:U,O=1),r=Xe(r);++C<O;){var ce=f[C];ce&&e(r,ce,C,U)}return r})}function p(e,r){return function(f,C){if(f==null)return f;if(!lo(f))return e(f,C);for(var O=f.length,U=r?O:-1,ne=Xe(f);(r?U--:++U<O)&&C(ne[U],U,ne)!==!1;);return f}}function k(e){return function(r,f,C){for(var O=-1,U=Xe(r),ne=C(r),ce=ne.length;ce--;){var ge=ne[e?ce:++O];if(f(U[ge],ge,U)===!1)break}return r}}function M(e,r,f){var C=r&Z,O=ue(e);function U(){var ne=this&&this!==pn&&this instanceof U?O:e;return ne.apply(C?f:this,arguments)}return U}function z(e){return function(r){r=gn(r);var f=Zr(r)?ar(r):i,C=f?f[0]:r.charAt(0),O=f?Hi(f,1).join(""):r.slice(1);return C[e]()+O}}function te(e){return function(r){return Pt(Kh(Jh(r).replace(aa,"")),e,"")}}function ue(e){return function(){var r=arguments;switch(r.length){case 0:return new e;case 1:return new e(r[0]);case 2:return new e(r[0],r[1]);case 3:return new e(r[0],r[1],r[2]);case 4:return new e(r[0],r[1],r[2],r[3]);case 5:return new e(r[0],r[1],r[2],r[3],r[4]);case 6:return new e(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new e(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}var f=Xo(e.prototype),C=e.apply(f,r);return qn(C)?C:f}}function _e(e,r,f){var C=ue(e);function O(){for(var U=arguments.length,ne=ae(U),ce=U,ge=Lu(O);ce--;)ne[ce]=arguments[ce];var je=U<3&&ne[0]!==ge&&ne[U-1]!==ge?[]:di(ne,ge);if(U-=je.length,U<f)return ct(e,r,S,O.placeholder,i,ne,je,i,i,f-U);var Ne=this&&this!==pn&&this instanceof O?C:e;return F(Ne,this,ne)}return O}function l(e){return function(r,f,C){var O=Xe(r);if(!lo(r)){var U=Rt(f,3);r=ei(r),f=function(ce){return U(O[ce],ce,O)}}var ne=e(r,f,C);return ne>-1?O[U?r[ne]:ne]:i}}function d(e){return Ps(function(r){var f=r.length,C=f,O=Br.prototype.thru;for(e&&r.reverse();C--;){var U=r[C];if(typeof U!="function")throw new Ht(v);if(O&&!ne&&kc(U)=="wrapper")var ne=new Br([],!0)}for(C=ne?C:f;++C<f;){U=r[C];var ce=kc(U),ge=ce=="wrapper"?kf(U):i;ge&&Pf(ge[0])&&ge[1]==(m|oe|se|ke)&&!ge[4].length&&ge[9]==1?ne=ne[kc(ge[0])].apply(ne,ge[3]):ne=U.length==1&&Pf(U)?ne[ce]():ne.thru(U)}return function(){var je=arguments,Ne=je[0];if(ne&&je.length==1&&Yt(Ne))return ne.plant(Ne).value();for(var Ue=0,nt=f?r[Ue].apply(this,je):Ne;++Ue<f;)nt=r[Ue].call(this,nt);return nt}})}function S(e,r,f,C,O,U,ne,ce,ge,je){var Ne=r&m,Ue=r&Z,nt=r&j,wt=r&(oe|xe),Mt=r&Ce,Zt=nt?i:ue(e);function Ot(){for(var Qt=arguments.length,tn=ae(Qt),Io=Qt;Io--;)tn[Io]=arguments[Io];if(wt)var zi=Lu(Ot),Mo=yn(tn,zi);if(C&&(tn=Iu(tn,C,O,wt)),U&&(tn=ul(tn,U,ne,wt)),Qt-=Mo,wt&&Qt<je){var fr=di(tn,zi);return ct(e,r,S,Ot.placeholder,f,tn,fr,ce,ge,je-Qt)}var ka=Ue?f:this,Os=nt?ka[e]:e;return Qt=tn.length,ce?tn=ny(tn,ce):Mt&&Qt>1&&tn.reverse(),Ne&&ge<Qt&&(tn.length=ge),this&&this!==pn&&this instanceof Ot&&(Os=Zt||ue(Os)),Os.apply(ka,tn)}return Ot}function R(e,r){return function(f,C){return Ul(f,e,r(C),{})}}function N(e,r){return function(f,C){var O;if(f===i&&C===i)return r;if(f!==i&&(O=f),C!==i){if(O===i)return C;typeof f=="string"||typeof C=="string"?(f=Kr(f),C=Kr(C)):(f=Du(f),C=Du(C)),O=e(f,C)}return O}}function J(e){return Ps(function(r){return r=Je(r,st(Rt())),Ut(function(f){var C=this;return e(r,function(O){return F(O,C,f)})})})}function ie(e,r){r=r===i?" ":Kr(r);var f=r.length;if(f<2)return f?Xl(r,e):r;var C=Xl(r,as(e/to(r)));return Zr(r)?Hi(ar(C),0,e).join(""):C.slice(0,e)}function Te(e,r,f,C){var O=r&Z,U=ue(e);function ne(){for(var ce=-1,ge=arguments.length,je=-1,Ne=C.length,Ue=ae(Ne+ge),nt=this&&this!==pn&&this instanceof ne?U:e;++je<Ne;)Ue[je]=C[je];for(;ge--;)Ue[je++]=arguments[++ce];return F(nt,O?f:this,Ue)}return ne}function We(e){return function(r,f,C){return C&&typeof C!="number"&&Ui(r,f,C)&&(f=C=i),r=Ms(r),f===i?(f=r,r=0):f=Ms(f),C=C===i?r<f?1:-1:Ms(C),_u(r,f,C,e)}}function tt(e){return function(r,f){return typeof r=="string"&&typeof f=="string"||(r=ea(r),f=ea(f)),e(r,f)}}function ct(e,r,f,C,O,U,ne,ce,ge,je){var Ne=r&oe,Ue=Ne?ne:i,nt=Ne?i:ne,wt=Ne?U:i,Mt=Ne?i:U;r|=Ne?se:Ee,r&=~(Ne?Ee:se),r&pe||(r&=~(Z|j));var Zt=[e,r,O,wt,Ue,Mt,nt,ce,ge,je],Ot=f.apply(i,Zt);return Pf(e)&&vh(Ot,Zt),Ot.placeholder=C,yh(Ot,e,r)}function kt(e){var r=et[e];return function(f,C){if(f=ea(f),C=C==null?0:Mn(qt(C),292),C&&Pl(f)){var O=(gn(f)+"e").split("e"),U=r(O[0]+"e"+(+O[1]+C));return O=(gn(U)+"e").split("e"),+(O[0]+"e"+(+O[1]-C))}return r(f)}}var bn=Fr&&1/Oi(new Fr([,-0]))[1]==vt?function(e){return new Fr(e)}:$f;function tr(e){return function(r){var f=Ci(r);return f==zt?Da(r):f==Jn?ns(r):Ie(r,e(r))}}function Hn(e,r,f,C,O,U,ne,ce){var ge=r&j;if(!ge&&typeof e!="function")throw new Ht(v);var je=C?C.length:0;if(je||(r&=~(se|Ee),C=O=i),ne=ne===i?ne:In(qt(ne),0),ce=ce===i?ce:qt(ce),je-=O?O.length:0,r&Ee){var Ne=C,Ue=O;C=O=i}var nt=ge?i:kf(e),wt=[e,r,f,C,O,Ne,Ue,U,ne,ce];if(nt&&Qv(wt,nt),e=wt[0],r=wt[1],f=wt[2],C=wt[3],O=wt[4],ce=wt[9]=wt[9]===i?ge?0:e.length:In(wt[9]-je,0),!ce&&r&(oe|xe)&&(r&=~(oe|xe)),!r||r==Z)var Mt=M(e,r,f);else r==oe||r==xe?Mt=_e(e,r,ce):(r==se||r==(Z|se))&&!O.length?Mt=Te(e,r,f,C):Mt=S.apply(i,wt);var Zt=nt?qa:vh;return yh(Zt(Mt,wt),e,r)}function tu(e,r,f,C){return e===i||Ea(e,Vn[f])&&!It.call(C,f)?r:e}function nu(e,r,f,C,O,U){return qn(e)&&qn(r)&&(U.set(r,e),Xa(e,r,i,nu,U),U.delete(r)),e}function Ou(e){return oc(e)?i:e}function As(e,r,f,C,O,U){var ne=f&Q,ce=e.length,ge=r.length;if(ce!=ge&&!(ne&&ge>ce))return!1;var je=U.get(e),Ne=U.get(r);if(je&&Ne)return je==r&&Ne==e;var Ue=-1,nt=!0,wt=f&ee?new pa:i;for(U.set(e,r),U.set(r,e);++Ue<ce;){var Mt=e[Ue],Zt=r[Ue];if(C)var Ot=ne?C(Zt,Mt,Ue,r,e,U):C(Mt,Zt,Ue,e,r,U);if(Ot!==i){if(Ot)continue;nt=!1;break}if(wt){if(!ln(r,function(Qt,tn){if(!Tt(wt,tn)&&(Mt===Qt||O(Mt,Qt,f,C,U)))return wt.push(tn)})){nt=!1;break}}else if(!(Mt===Zt||O(Mt,Zt,f,C,U))){nt=!1;break}}return U.delete(e),U.delete(r),nt}function Sf(e,r,f,C,O,U,ne){switch(f){case on:if(e.byteLength!=r.byteLength||e.byteOffset!=r.byteOffset)return!1;e=e.buffer,r=r.buffer;case ti:return!(e.byteLength!=r.byteLength||!U(new Fa(e),new Fa(r)));case yt:case ht:case Un:return Ea(+e,+r);case Ct:return e.name==r.name&&e.message==r.message;case Sr:case an:return e==r+"";case zt:var ce=Da;case Jn:var ge=C&Q;if(ce||(ce=Oi),e.size!=r.size&&!ge)return!1;var je=ne.get(e);if(je)return je==r;C|=ee,ne.set(e,r);var Ne=As(ce(e),ce(r),C,O,U,ne);return ne.delete(e),Ne;case un:if(fs)return fs.call(e)==fs.call(r)}return!1}function Cf(e,r,f,C,O,U){var ne=f&Q,ce=Tf(e),ge=ce.length,je=Tf(r),Ne=je.length;if(ge!=Ne&&!ne)return!1;for(var Ue=ge;Ue--;){var nt=ce[Ue];if(!(ne?nt in r:It.call(r,nt)))return!1}var wt=U.get(e),Mt=U.get(r);if(wt&&Mt)return wt==r&&Mt==e;var Zt=!0;U.set(e,r),U.set(r,e);for(var Ot=ne;++Ue<ge;){nt=ce[Ue];var Qt=e[nt],tn=r[nt];if(C)var Io=ne?C(tn,Qt,nt,r,e,U):C(Qt,tn,nt,e,r,U);if(!(Io===i?Qt===tn||O(Qt,tn,f,C,U):Io)){Zt=!1;break}Ot||(Ot=nt=="constructor")}if(Zt&&!Ot){var zi=e.constructor,Mo=r.constructor;zi!=Mo&&"constructor"in e&&"constructor"in r&&!(typeof zi=="function"&&zi instanceof zi&&typeof Mo=="function"&&Mo instanceof Mo)&&(Zt=!1)}return U.delete(e),U.delete(r),Zt}function Ps(e){return If(gh(e,i,Th),e+"")}function Tf(e){return hs(e,ei,Rf)}function Ef(e){return hs(e,uo,ch)}var kf=Yo?function(e){return Yo.get(e)}:$f;function kc(e){for(var r=e.name+"",f=Go[r],C=It.call(Go,r)?f.length:0;C--;){var O=f[C],U=O.func;if(U==null||U==e)return O.name}return r}function Lu(e){var r=It.call(W,"placeholder")?W:e;return r.placeholder}function Rt(){var e=W.iteratee||Uf;return e=e===Uf?Ya:e,arguments.length?e(arguments[0],arguments[1]):e}function _c(e,r){var f=e.__data__;return qv(r)?f[typeof r=="string"?"string":"hash"]:f.map}function _f(e){for(var r=ei(e),f=r.length;f--;){var C=r[f],O=e[C];r[f]=[C,O,hh(O)]}return r}function ru(e,r){var f=Wo(e,r);return Yl(f)?f:i}function Hv(e){var r=It.call(e,Fi),f=e[Fi];try{e[Fi]=i;var C=!0}catch{}var O=Uo.call(e);return C&&(r?e[Fi]=f:delete e[Fi]),O}var Rf=ss?function(e){return e==null?[]:(e=Xe(e),De(ss(e),function(r){return Rl.call(e,r)}))}:Yf,ch=ss?function(e){for(var r=[];e;)Et(r,Rf(e)),e=Ba(e);return r}:Yf,Ci=br;(To&&Ci(new To(new ArrayBuffer(1)))!=on||Bi&&Ci(new Bi)!=zt||ls&&Ci(ls.resolve())!=xn||Fr&&Ci(new Fr)!=Jn||zo&&Ci(new zo)!=rt)&&(Ci=function(e){var r=br(e),f=r==zn?e.constructor:i,C=f?iu(f):"";if(C)switch(C){case us:return on;case yu:return zt;case bu:return xn;case Us:return Jn;case cs:return rt}return r});function Uv(e,r,f){for(var C=-1,O=f.length;++C<O;){var U=f[C],ne=U.size;switch(U.type){case"drop":e+=ne;break;case"dropRight":r-=ne;break;case"take":r=Mn(r,e+ne);break;case"takeRight":e=In(e,r-ne);break}}return{start:e,end:r}}function zv(e){var r=e.match(oa);return r?r[1].split(Ur):[]}function fh(e,r,f){r=Po(r,e);for(var C=-1,O=r.length,U=!1;++C<O;){var ne=Ja(r[C]);if(!(U=e!=null&&f(e,ne)))break;e=e[ne]}return U||++C!=O?U:(O=e==null?0:e.length,!!O&&Oc(O)&&Ds(ne,O)&&(Yt(e)||ou(e)))}function $v(e){var r=e.length,f=new e.constructor(r);return r&&typeof e[0]=="string"&&It.call(e,"index")&&(f.index=e.index,f.input=e.input),f}function dh(e){return typeof e.constructor=="function"&&!rc(e)?Xo(Ba(e)):{}}function Yv(e,r,f){var C=e.constructor;switch(r){case ti:return sl(e);case yt:case ht:return new C(+e);case on:return ks(e,f);case ki:case _i:case Ri:case Cr:case Bn:case Tr:case hr:case Wr:case Vr:return eu(e,f);case zt:return new C;case Un:case an:return new C(e);case Sr:return _s(e);case Jn:return new C;case un:return ll(e)}}function Gv(e,r){var f=r.length;if(!f)return e;var C=f-1;return r[C]=(f>1?"& ":"")+r[C],r=r.join(f>2?", ":" "),e.replace(ia,`{
141
- /* [wrapped with `+r+`] */
142
- `)}function Xv(e){return Yt(e)||ou(e)||!!(Vs&&e&&e[Vs])}function Ds(e,r){var f=typeof e;return r=r??it,!!r&&(f=="number"||f!="symbol"&&gr.test(e))&&e>-1&&e%1==0&&e<r}function Ui(e,r,f){if(!qn(f))return!1;var C=typeof r;return(C=="number"?lo(f)&&Ds(r,f.length):C=="string"&&r in f)?Ea(f[r],e):!1}function Af(e,r){if(Yt(e))return!1;var f=typeof e;return f=="number"||f=="symbol"||f=="boolean"||e==null||Do(e)?!0:hn.test(e)||!ii.test(e)||r!=null&&e in Xe(r)}function qv(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}function Pf(e){var r=kc(e),f=W[r];if(typeof f!="function"||!(r in $t.prototype))return!1;if(e===f)return!0;var C=kf(f);return!!C&&e===C[0]}function Zv(e){return!!Sn&&Sn in e}var Jv=Lr?Is:Gf;function rc(e){var r=e&&e.constructor,f=typeof r=="function"&&r.prototype||Vn;return e===f}function hh(e){return e===e&&!qn(e)}function ph(e,r){return function(f){return f==null?!1:f[e]===r&&(r!==i||e in Xe(f))}}function Kv(e){var r=Ic(e,function(C){return f.size===E&&f.clear(),C}),f=r.cache;return r}function Qv(e,r){var f=e[1],C=r[1],O=f|C,U=O<(Z|j|m),ne=C==m&&f==oe||C==m&&f==ke&&e[7].length<=r[8]||C==(m|ke)&&r[7].length<=r[8]&&f==oe;if(!(U||ne))return e;C&Z&&(e[2]=r[2],O|=f&Z?0:pe);var ce=r[3];if(ce){var ge=e[3];e[3]=ge?Iu(ge,ce,r[4]):ce,e[4]=ge?di(e[3],L):r[4]}return ce=r[5],ce&&(ge=e[5],e[5]=ge?ul(ge,ce,r[6]):ce,e[6]=ge?di(e[5],L):r[6]),ce=r[7],ce&&(e[7]=ce),C&m&&(e[8]=e[8]==null?r[8]:Mn(e[8],r[8])),e[9]==null&&(e[9]=r[9]),e[0]=r[0],e[1]=O,e}function ey(e){var r=[];if(e!=null)for(var f in Xe(e))r.push(f);return r}function ty(e){return Uo.call(e)}function gh(e,r,f){return r=In(r===i?e.length-1:r,0),function(){for(var C=arguments,O=-1,U=In(C.length-r,0),ne=ae(U);++O<U;)ne[O]=C[r+O];O=-1;for(var ce=ae(r+1);++O<r;)ce[O]=C[O];return ce[r]=f(ne),F(e,this,ce)}}function mh(e,r){return r.length<2?e:ba(e,Jr(r,0,-1))}function ny(e,r){for(var f=e.length,C=Mn(r.length,f),O=ur(e);C--;){var U=r[C];e[C]=Ds(U,f)?O[U]:i}return e}function Df(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}var vh=bh(qa),ic=Hs||function(e,r){return pn.setTimeout(e,r)},If=bh(ql);function yh(e,r,f){var C=r+"";return If(e,Gv(C,ry(zv(C),f)))}function bh(e){var r=0,f=0;return function(){var C=Il(),O=Ke-(C-f);if(f=C,O>0){if(++r>=dt)return arguments[0]}else r=0;return e.apply(i,arguments)}}function Rc(e,r){var f=-1,C=e.length,O=C-1;for(r=r===i?C:r;++f<r;){var U=il(f,O),ne=e[U];e[U]=e[f],e[f]=ne}return e.length=r,e}var xh=Kv(function(e){var r=[];return e.charCodeAt(0)===46&&r.push(""),e.replace(Gi,function(f,C,O,U){r.push(O?U.replace(go,"$1"):C||f)}),r});function Ja(e){if(typeof e=="string"||Do(e))return e;var r=e+"";return r=="0"&&1/e==-vt?"-0":r}function iu(e){if(e!=null){try{return Li.call(e)}catch{}try{return e+""}catch{}}return""}function ry(e,r){return K(Ze,function(f){var C="_."+f[0];r&f[1]&&!ye(e,C)&&e.push(C)}),e.sort()}function wh(e){if(e instanceof $t)return e.clone();var r=new Br(e.__wrapped__,e.__chain__);return r.__actions__=ur(e.__actions__),r.__index__=e.__index__,r.__values__=e.__values__,r}function iy(e,r,f){(f?Ui(e,r,f):r===i)?r=1:r=In(qt(r),0);var C=e==null?0:e.length;if(!C||r<1)return[];for(var O=0,U=0,ne=ae(as(C/r));O<C;)ne[U++]=Jr(e,O,O+=r);return ne}function oy(e){for(var r=-1,f=e==null?0:e.length,C=0,O=[];++r<f;){var U=e[r];U&&(O[C++]=U)}return O}function ay(){var e=arguments.length;if(!e)return[];for(var r=ae(e-1),f=arguments[0],C=e;C--;)r[C-1]=arguments[C];return Et(Yt(f)?ur(f):[f],lr(r,1))}var sy=Ut(function(e,r){return cr(e)?_o(e,lr(r,1,cr,!0)):[]}),ly=Ut(function(e,r){var f=Qo(r);return cr(f)&&(f=i),cr(e)?_o(e,lr(r,1,cr,!0),Rt(f,2)):[]}),uy=Ut(function(e,r){var f=Qo(r);return cr(f)&&(f=i),cr(e)?_o(e,lr(r,1,cr,!0),i,f):[]});function cy(e,r,f){var C=e==null?0:e.length;return C?(r=f||r===i?1:qt(r),Jr(e,r<0?0:r,C)):[]}function fy(e,r,f){var C=e==null?0:e.length;return C?(r=f||r===i?1:qt(r),r=C-r,Jr(e,0,r<0?0:r)):[]}function dy(e,r){return e&&e.length?al(e,Rt(r,3),!0,!0):[]}function hy(e,r){return e&&e.length?al(e,Rt(r,3),!0):[]}function py(e,r,f,C){var O=e==null?0:e.length;return O?(f&&typeof f!="number"&&Ui(e,r,f)&&(f=0,C=O),Tu(e,r,f,C)):[]}function Sh(e,r,f){var C=e==null?0:e.length;if(!C)return-1;var O=f==null?0:qt(f);return O<0&&(O=In(C+O,0)),Vt(e,Rt(r,3),O)}function Ch(e,r,f){var C=e==null?0:e.length;if(!C)return-1;var O=C-1;return f!==i&&(O=qt(f),O=f<0?In(C+O,0):Mn(O,C-1)),Vt(e,Rt(r,3),O,!0)}function Th(e){var r=e==null?0:e.length;return r?lr(e,1):[]}function gy(e){var r=e==null?0:e.length;return r?lr(e,vt):[]}function my(e,r){var f=e==null?0:e.length;return f?(r=r===i?1:qt(r),lr(e,r)):[]}function vy(e){for(var r=-1,f=e==null?0:e.length,C={};++r<f;){var O=e[r];C[O[0]]=O[1]}return C}function Eh(e){return e&&e.length?e[0]:i}function yy(e,r,f){var C=e==null?0:e.length;if(!C)return-1;var O=f==null?0:qt(f);return O<0&&(O=In(C+O,0)),en(e,r,O)}function by(e){var r=e==null?0:e.length;return r?Jr(e,0,-1):[]}var xy=Ut(function(e){var r=Je(e,Nr);return r.length&&r[0]===e[0]?za(r):[]}),wy=Ut(function(e){var r=Qo(e),f=Je(e,Nr);return r===Qo(f)?r=i:f.pop(),f.length&&f[0]===e[0]?za(f,Rt(r,2)):[]}),Sy=Ut(function(e){var r=Qo(e),f=Je(e,Nr);return r=typeof r=="function"?r:i,r&&f.pop(),f.length&&f[0]===e[0]?za(f,i,r):[]});function Cy(e,r){return e==null?"":Na.call(e,r)}function Qo(e){var r=e==null?0:e.length;return r?e[r-1]:i}function Ty(e,r,f){var C=e==null?0:e.length;if(!C)return-1;var O=C;return f!==i&&(O=qt(f),O=O<0?In(C+O,0):Mn(O,C-1)),r===r?Ho(e,r,O):Vt(e,Qi,O,!0)}function Ey(e,r){return e&&e.length?Sa(e,qt(r)):i}var ky=Ut(kh);function kh(e,r){return e&&e.length&&r&&r.length?Ca(e,r):e}function _y(e,r,f){return e&&e.length&&r&&r.length?Ca(e,r,Rt(f,2)):e}function Ry(e,r,f){return e&&e.length&&r&&r.length?Ca(e,r,i,f):e}var Ay=Ps(function(e,r){var f=e==null?0:e.length,C=Fl(e,r);return bs(e,Je(r,function(O){return Ds(O,f)?+O:O}).sort(Za)),C});function Py(e,r){var f=[];if(!(e&&e.length))return f;var C=-1,O=[],U=e.length;for(r=Rt(r,3);++C<U;){var ne=e[C];r(ne,C,e)&&(f.push(ne),O.push(C))}return bs(e,O),f}function Mf(e){return e==null?e:vu.call(e)}function Dy(e,r,f){var C=e==null?0:e.length;return C?(f&&typeof f!="number"&&Ui(e,r,f)?(r=0,f=C):(r=r==null?0:qt(r),f=f===i?C:qt(f)),Jr(e,r,f)):[]}function Iy(e,r){return ws(e,r)}function My(e,r,f){return Ss(e,r,Rt(f,2))}function Oy(e,r){var f=e==null?0:e.length;if(f){var C=ws(e,r);if(C<f&&Ea(e[C],r))return C}return-1}function Ly(e,r){return ws(e,r,!0)}function Fy(e,r,f){return Ss(e,r,Rt(f,2),!0)}function By(e,r){var f=e==null?0:e.length;if(f){var C=ws(e,r,!0)-1;if(Ea(e[C],r))return C}return-1}function jy(e){return e&&e.length?Pu(e):[]}function Ny(e,r){return e&&e.length?Pu(e,Rt(r,2)):[]}function Wy(e){var r=e==null?0:e.length;return r?Jr(e,1,r):[]}function Vy(e,r,f){return e&&e.length?(r=f||r===i?1:qt(r),Jr(e,0,r<0?0:r)):[]}function Hy(e,r,f){var C=e==null?0:e.length;return C?(r=f||r===i?1:qt(r),r=C-r,Jr(e,r<0?0:r,C)):[]}function Uy(e,r){return e&&e.length?al(e,Rt(r,3),!1,!0):[]}function zy(e,r){return e&&e.length?al(e,Rt(r,3)):[]}var $y=Ut(function(e){return Ko(lr(e,1,cr,!0))}),Yy=Ut(function(e){var r=Qo(e);return cr(r)&&(r=i),Ko(lr(e,1,cr,!0),Rt(r,2))}),Gy=Ut(function(e){var r=Qo(e);return r=typeof r=="function"?r:i,Ko(lr(e,1,cr,!0),i,r)});function Xy(e){return e&&e.length?Ko(e):[]}function qy(e,r){return e&&e.length?Ko(e,Rt(r,2)):[]}function Zy(e,r){return r=typeof r=="function"?r:i,e&&e.length?Ko(e,i,r):[]}function Of(e){if(!(e&&e.length))return[];var r=0;return e=De(e,function(f){if(cr(f))return r=In(f.length,r),!0}),ve(r,function(f){return Je(e,b(f))})}function _h(e,r){if(!(e&&e.length))return[];var f=Of(e);return r==null?f:Je(f,function(C){return F(r,i,C)})}var Jy=Ut(function(e,r){return cr(e)?_o(e,r):[]}),Ky=Ut(function(e){return Cs(De(e,cr))}),Qy=Ut(function(e){var r=Qo(e);return cr(r)&&(r=i),Cs(De(e,cr),Rt(r,2))}),e0=Ut(function(e){var r=Qo(e);return r=typeof r=="function"?r:i,Cs(De(e,cr),i,r)}),t0=Ut(Of);function n0(e,r){return Kl(e||[],r||[],Ln)}function r0(e,r){return Kl(e||[],r||[],Ta)}var i0=Ut(function(e){var r=e.length,f=r>1?e[r-1]:i;return f=typeof f=="function"?(e.pop(),f):i,_h(e,f)});function Rh(e){var r=W(e);return r.__chain__=!0,r}function o0(e,r){return r(e),e}function Ac(e,r){return r(e)}var a0=Ps(function(e){var r=e.length,f=r?e[0]:0,C=this.__wrapped__,O=function(U){return Fl(U,e)};return r>1||this.__actions__.length||!(C instanceof $t)||!Ds(f)?this.thru(O):(C=C.slice(f,+f+(r?1:0)),C.__actions__.push({func:Ac,args:[O],thisArg:i}),new Br(C,this.__chain__).thru(function(U){return r&&!U.length&&U.push(i),U}))});function s0(){return Rh(this)}function l0(){return new Br(this.value(),this.__chain__)}function u0(){this.__values__===i&&(this.__values__=Hh(this.value()));var e=this.__index__>=this.__values__.length,r=e?i:this.__values__[this.__index__++];return{done:e,value:r}}function c0(){return this}function f0(e){for(var r,f=this;f instanceof ha;){var C=wh(f);C.__index__=0,C.__values__=i,r?O.__wrapped__=C:r=C;var O=C;f=f.__wrapped__}return O.__wrapped__=e,r}function d0(){var e=this.__wrapped__;if(e instanceof $t){var r=e;return this.__actions__.length&&(r=new $t(this)),r=r.reverse(),r.__actions__.push({func:Ac,args:[Mf],thisArg:i}),new Br(r,this.__chain__)}return this.thru(Mf)}function h0(){return Qr(this.__wrapped__,this.__actions__)}var p0=fl(function(e,r,f){It.call(e,f)?++e[f]:sr(e,f,1)});function g0(e,r,f){var C=Yt(e)?Ae:Ks;return f&&Ui(e,r,f)&&(r=i),C(e,Rt(r,3))}function m0(e,r){var f=Yt(e)?De:Wl;return f(e,Rt(r,3))}var v0=l(Sh),y0=l(Ch);function b0(e,r){return lr(Pc(e,r),1)}function x0(e,r){return lr(Pc(e,r),vt)}function w0(e,r,f){return f=f===i?1:qt(f),lr(Pc(e,r),f)}function Ah(e,r){var f=Yt(e)?K:Jo;return f(e,Rt(r,3))}function Ph(e,r){var f=Yt(e)?he:Nl;return f(e,Rt(r,3))}var S0=fl(function(e,r,f){It.call(e,f)?e[f].push(r):sr(e,f,[r])});function C0(e,r,f,C){e=lo(e)?e:Bu(e),f=f&&!C?qt(f):0;var O=e.length;return f<0&&(f=In(O+f,0)),Lc(e)?f<=O&&e.indexOf(r,f)>-1:!!O&&en(e,r,f)>-1}var T0=Ut(function(e,r,f){var C=-1,O=typeof r=="function",U=lo(e)?ae(e.length):[];return Jo(e,function(ne){U[++C]=O?F(r,ne,f):xi(ne,r,f)}),U}),E0=fl(function(e,r,f){sr(e,f,r)});function Pc(e,r){var f=Yt(e)?Je:Ga;return f(e,Rt(r,3))}function k0(e,r,f,C){return e==null?[]:(Yt(r)||(r=r==null?[]:[r]),f=C?i:f,Yt(f)||(f=f==null?[]:[f]),rl(e,r,f))}var _0=fl(function(e,r,f){e[f?0:1].push(r)},function(){return[[],[]]});function R0(e,r,f){var C=Yt(e)?Pt:B,O=arguments.length<3;return C(e,Rt(r,4),f,O,Jo)}function A0(e,r,f){var C=Yt(e)?Pn:B,O=arguments.length<3;return C(e,Rt(r,4),f,O,Nl)}function P0(e,r){var f=Yt(e)?De:Wl;return f(e,Mc(Rt(r,3)))}function D0(e){var r=Yt(e)?rn:xs;return r(e)}function I0(e,r,f){(f?Ui(e,r,f):r===i)?r=1:r=qt(r);var C=Yt(e)?yi:Ru;return C(e,r)}function M0(e){var r=Yt(e)?ma:Zl;return r(e)}function O0(e){if(e==null)return 0;if(lo(e))return Lc(e)?to(e):e.length;var r=Ci(e);return r==zt||r==Jn?e.size:ys(e).length}function L0(e,r,f){var C=Yt(e)?ln:Au;return f&&Ui(e,r,f)&&(r=i),C(e,Rt(r,3))}var F0=Ut(function(e,r){if(e==null)return[];var f=r.length;return f>1&&Ui(e,r[0],r[1])?r=[]:f>2&&Ui(r[0],r[1],r[2])&&(r=[r[0]]),rl(e,lr(r,1),[])}),Dc=os||function(){return pn.Date.now()};function B0(e,r){if(typeof r!="function")throw new Ht(v);return e=qt(e),function(){if(--e<1)return r.apply(this,arguments)}}function Dh(e,r,f){return r=f?i:r,r=e&&r==null?e.length:r,Hn(e,m,i,i,i,i,r)}function Ih(e,r){var f;if(typeof r!="function")throw new Ht(v);return e=qt(e),function(){return--e>0&&(f=r.apply(this,arguments)),e<=1&&(r=i),f}}var Lf=Ut(function(e,r,f){var C=Z;if(f.length){var O=di(f,Lu(Lf));C|=se}return Hn(e,C,r,f,O)}),Mh=Ut(function(e,r,f){var C=Z|j;if(f.length){var O=di(f,Lu(Mh));C|=se}return Hn(r,C,e,f,O)});function Oh(e,r,f){r=f?i:r;var C=Hn(e,oe,i,i,i,i,i,r);return C.placeholder=Oh.placeholder,C}function Lh(e,r,f){r=f?i:r;var C=Hn(e,xe,i,i,i,i,i,r);return C.placeholder=Lh.placeholder,C}function Fh(e,r,f){var C,O,U,ne,ce,ge,je=0,Ne=!1,Ue=!1,nt=!0;if(typeof e!="function")throw new Ht(v);r=ea(r)||0,qn(f)&&(Ne=!!f.leading,Ue="maxWait"in f,U=Ue?In(ea(f.maxWait)||0,r):U,nt="trailing"in f?!!f.trailing:nt);function wt(fr){var ka=C,Os=O;return C=O=i,je=fr,ne=e.apply(Os,ka),ne}function Mt(fr){return je=fr,ce=ic(Qt,r),Ne?wt(fr):ne}function Zt(fr){var ka=fr-ge,Os=fr-je,tp=r-ka;return Ue?Mn(tp,U-Os):tp}function Ot(fr){var ka=fr-ge,Os=fr-je;return ge===i||ka>=r||ka<0||Ue&&Os>=U}function Qt(){var fr=Dc();if(Ot(fr))return tn(fr);ce=ic(Qt,Zt(fr))}function tn(fr){return ce=i,nt&&C?wt(fr):(C=O=i,ne)}function Io(){ce!==i&&Es(ce),je=0,C=ge=O=ce=i}function zi(){return ce===i?ne:tn(Dc())}function Mo(){var fr=Dc(),ka=Ot(fr);if(C=arguments,O=this,ge=fr,ka){if(ce===i)return Mt(ge);if(Ue)return Es(ce),ce=ic(Qt,r),wt(ge)}return ce===i&&(ce=ic(Qt,r)),ne}return Mo.cancel=Io,Mo.flush=zi,Mo}var j0=Ut(function(e,r){return jl(e,1,r)}),N0=Ut(function(e,r,f){return jl(e,ea(r)||0,f)});function W0(e){return Hn(e,Ce)}function Ic(e,r){if(typeof e!="function"||r!=null&&typeof r!="function")throw new Ht(v);var f=function(){var C=arguments,O=r?r.apply(this,C):C[0],U=f.cache;if(U.has(O))return U.get(O);var ne=e.apply(this,C);return f.cache=U.set(O,ne)||U,ne};return f.cache=new(Ic.Cache||Eo),f}Ic.Cache=Eo;function Mc(e){if(typeof e!="function")throw new Ht(v);return function(){var r=arguments;switch(r.length){case 0:return!e.call(this);case 1:return!e.call(this,r[0]);case 2:return!e.call(this,r[0],r[1]);case 3:return!e.call(this,r[0],r[1],r[2])}return!e.apply(this,r)}}function V0(e){return Ih(2,e)}var H0=nc(function(e,r){r=r.length==1&&Yt(r[0])?Je(r[0],st(Rt())):Je(lr(r,1),st(Rt()));var f=r.length;return Ut(function(C){for(var O=-1,U=Mn(C.length,f);++O<U;)C[O]=r[O].call(this,C[O]);return F(e,this,C)})}),Ff=Ut(function(e,r){var f=di(r,Lu(Ff));return Hn(e,se,i,r,f)}),Bh=Ut(function(e,r){var f=di(r,Lu(Bh));return Hn(e,Ee,i,r,f)}),U0=Ps(function(e,r){return Hn(e,ke,i,i,i,r)});function z0(e,r){if(typeof e!="function")throw new Ht(v);return r=r===i?r:qt(r),Ut(e,r)}function $0(e,r){if(typeof e!="function")throw new Ht(v);return r=r==null?0:In(qt(r),0),Ut(function(f){var C=f[r],O=Hi(f,0,r);return C&&Et(O,C),F(e,this,O)})}function Y0(e,r,f){var C=!0,O=!0;if(typeof e!="function")throw new Ht(v);return qn(f)&&(C="leading"in f?!!f.leading:C,O="trailing"in f?!!f.trailing:O),Fh(e,r,{leading:C,maxWait:r,trailing:O})}function G0(e){return Dh(e,1)}function X0(e,r){return Ff(Ts(r),e)}function q0(){if(!arguments.length)return[];var e=arguments[0];return Yt(e)?e:[e]}function Z0(e){return jr(e,Y)}function J0(e,r){return r=typeof r=="function"?r:i,jr(e,Y,r)}function K0(e){return jr(e,_|Y)}function Q0(e,r){return r=typeof r=="function"?r:i,jr(e,_|Y,r)}function eb(e,r){return r==null||Cu(e,r,ei(r))}function Ea(e,r){return e===r||e!==e&&r!==r}var tb=tt(ps),nb=tt(function(e,r){return e>=r}),ou=vs(function(){return arguments}())?vs:function(e){return nr(e)&&It.call(e,"callee")&&!Rl.call(e,"callee")},Yt=ae.isArray,rb=o?st(o):tl;function lo(e){return e!=null&&Oc(e.length)&&!Is(e)}function cr(e){return nr(e)&&lo(e)}function ib(e){return e===!0||e===!1||nr(e)&&br(e)==yt}var dl=Al||Gf,ob=c?st(c):xa;function ab(e){return nr(e)&&e.nodeType===1&&!oc(e)}function sb(e){if(e==null)return!0;if(lo(e)&&(Yt(e)||typeof e=="string"||typeof e.splice=="function"||dl(e)||Fu(e)||ou(e)))return!e.length;var r=Ci(e);if(r==zt||r==Jn)return!e.size;if(rc(e))return!ys(e).length;for(var f in e)if(It.call(e,f))return!1;return!0}function lb(e,r){return $a(e,r)}function ub(e,r,f){f=typeof f=="function"?f:i;var C=f?f(e,r):i;return C===i?$a(e,r,i,f):!!C}function Bf(e){if(!nr(e))return!1;var r=br(e);return r==Ct||r==ut||typeof e.message=="string"&&typeof e.name=="string"&&!oc(e)}function cb(e){return typeof e=="number"&&Pl(e)}function Is(e){if(!qn(e))return!1;var r=br(e);return r==$e||r==Wt||r==lt||r==Ei}function jh(e){return typeof e=="number"&&e==qt(e)}function Oc(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=it}function qn(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}function nr(e){return e!=null&&typeof e=="object"}var Nh=g?st(g):wa;function fb(e,r){return e===r||$l(e,r,_f(r))}function db(e,r,f){return f=typeof f=="function"?f:i,$l(e,r,_f(r),f)}function hb(e){return Wh(e)&&e!=+e}function pb(e){if(Jv(e))throw new Le(h);return Yl(e)}function gb(e){return e===null}function mb(e){return e==null}function Wh(e){return typeof e=="number"||nr(e)&&br(e)==Un}function oc(e){if(!nr(e)||br(e)!=zn)return!1;var r=Ba(e);if(r===null)return!0;var f=It.call(r,"constructor")&&r.constructor;return typeof f=="function"&&f instanceof f&&Li.call(f)==kl}var jf=w?st(w):ao;function vb(e){return jh(e)&&e>=-it&&e<=it}var Vh=P?st(P):ec;function Lc(e){return typeof e=="string"||!Yt(e)&&nr(e)&&br(e)==an}function Do(e){return typeof e=="symbol"||nr(e)&&br(e)==un}var Fu=I?st(I):tc;function yb(e){return e===i}function bb(e){return nr(e)&&Ci(e)==rt}function xb(e){return nr(e)&&br(e)==_n}var wb=tt(Wi),Sb=tt(function(e,r){return e<=r});function Hh(e){if(!e)return[];if(lo(e))return Lc(e)?ar(e):ur(e);if(wo&&e[wo])return eo(e[wo]());var r=Ci(e),f=r==zt?Da:r==Jn?Oi:Bu;return f(e)}function Ms(e){if(!e)return e===0?e:0;if(e=ea(e),e===vt||e===-vt){var r=e<0?-1:1;return r*At}return e===e?e:0}function qt(e){var r=Ms(e),f=r%1;return r===r?f?r-f:r:0}function Uh(e){return e?Zo(qt(e),0,Pe):0}function ea(e){if(typeof e=="number")return e;if(Do(e))return Oe;if(qn(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=qn(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=Ve(e);var f=Zi.test(e);return f||zr.test(e)?ca(e.slice(2),f?2:8):gi.test(e)?Oe:+e}function zh(e){return so(e,uo(e))}function Cb(e){return e?Zo(qt(e),-it,it):e===0?e:0}function gn(e){return e==null?"":Kr(e)}var Tb=u(function(e,r){if(rc(r)||lo(r)){so(r,ei(r),e);return}for(var f in r)It.call(r,f)&&Ln(e,f,r[f])}),$h=u(function(e,r){so(r,uo(r),e)}),Fc=u(function(e,r,f,C){so(r,uo(r),e,C)}),Eb=u(function(e,r,f,C){so(r,ei(r),e,C)}),kb=Ps(Fl);function _b(e,r){var f=Xo(e);return r==null?f:Ni(f,r)}var Rb=Ut(function(e,r){e=Xe(e);var f=-1,C=r.length,O=C>2?r[2]:i;for(O&&Ui(r[0],r[1],O)&&(C=1);++f<C;)for(var U=r[f],ne=uo(U),ce=-1,ge=ne.length;++ce<ge;){var je=ne[ce],Ne=e[je];(Ne===i||Ea(Ne,Vn[je])&&!It.call(e,je))&&(e[je]=U[je])}return e}),Ab=Ut(function(e){return e.push(i,nu),F(Yh,i,e)});function Pb(e,r){return Or(e,Rt(r,3),oo)}function Db(e,r){return Or(e,Rt(r,3),Hl)}function Ib(e,r){return e==null?e:Vl(e,Rt(r,3),uo)}function Mb(e,r){return e==null?e:Eu(e,Rt(r,3),uo)}function Ob(e,r){return e&&oo(e,Rt(r,3))}function Lb(e,r){return e&&Hl(e,Rt(r,3))}function Fb(e){return e==null?[]:el(e,ei(e))}function Bb(e){return e==null?[]:el(e,uo(e))}function Nf(e,r,f){var C=e==null?i:ba(e,r);return C===i?f:C}function jb(e,r){return e!=null&&fh(e,r,gs)}function Wf(e,r){return e!=null&&fh(e,r,ku)}var Nb=R(function(e,r,f){r!=null&&typeof r.toString!="function"&&(r=Uo.call(r)),e[r]=f},Hf(co)),Wb=R(function(e,r,f){r!=null&&typeof r.toString!="function"&&(r=Uo.call(r)),It.call(e,r)?e[r].push(f):e[r]=[f]},Rt),Vb=Ut(xi);function ei(e){return lo(e)?qo(e):ys(e)}function uo(e){return lo(e)?qo(e,!0):nl(e)}function Hb(e,r){var f={};return r=Rt(r,3),oo(e,function(C,O,U){sr(f,r(C,O,U),C)}),f}function Ub(e,r){var f={};return r=Rt(r,3),oo(e,function(C,O,U){sr(f,O,r(C,O,U))}),f}var zb=u(function(e,r,f){Xa(e,r,f)}),Yh=u(function(e,r,f,C){Xa(e,r,f,C)}),$b=Ps(function(e,r){var f={};if(e==null)return f;var C=!1;r=Je(r,function(U){return U=Po(U,e),C||(C=U.length>1),U}),so(e,Ef(e),f),C&&(f=jr(f,_|H|Y,Ou));for(var O=r.length;O--;)Jl(f,r[O]);return f});function Yb(e,r){return Gh(e,Mc(Rt(r)))}var Gb=Ps(function(e,r){return e==null?{}:Si(e,r)});function Gh(e,r){if(e==null)return{};var f=Je(Ef(e),function(C){return[C]});return r=Rt(r),Ao(e,f,function(C,O){return r(C,O[0])})}function Xb(e,r,f){r=Po(r,e);var C=-1,O=r.length;for(O||(O=1,e=i);++C<O;){var U=e==null?i:e[Ja(r[C])];U===i&&(C=O,U=f),e=Is(U)?U.call(e):U}return e}function qb(e,r,f){return e==null?e:Ta(e,r,f)}function Zb(e,r,f,C){return C=typeof C=="function"?C:i,e==null?e:Ta(e,r,f,C)}var Xh=tr(ei),qh=tr(uo);function Jb(e,r,f){var C=Yt(e),O=C||dl(e)||Fu(e);if(r=Rt(r,4),f==null){var U=e&&e.constructor;O?f=C?new U:[]:qn(e)?f=Is(U)?Xo(Ba(e)):{}:f={}}return(O?K:oo)(e,function(ne,ce,ge){return r(f,ne,ce,ge)}),f}function Kb(e,r){return e==null?!0:Jl(e,r)}function Qb(e,r,f){return e==null?e:ol(e,r,Ts(f))}function ex(e,r,f,C){return C=typeof C=="function"?C:i,e==null?e:ol(e,r,Ts(f),C)}function Bu(e){return e==null?[]:Lt(e,ei(e))}function tx(e){return e==null?[]:Lt(e,uo(e))}function nx(e,r,f){return f===i&&(f=r,r=i),f!==i&&(f=ea(f),f=f===f?f:0),r!==i&&(r=ea(r),r=r===r?r:0),Zo(ea(e),r,f)}function rx(e,r,f){return r=Ms(r),f===i?(f=r,r=0):f=Ms(f),e=ea(e),ms(e,r,f)}function ix(e,r,f){if(f&&typeof f!="boolean"&&Ui(e,r,f)&&(r=f=i),f===i&&(typeof r=="boolean"?(f=r,r=i):typeof e=="boolean"&&(f=e,e=i)),e===i&&r===i?(e=0,r=1):(e=Ms(e),r===i?(r=e,e=0):r=Ms(r)),e>r){var C=e;e=r,r=C}if(f||e%1||r%1){var O=Co();return Mn(e+O*(r-e+or("1e-"+((O+"").length-1))),r)}return il(e,r)}var ox=te(function(e,r,f){return r=r.toLowerCase(),e+(f?Zh(r):r)});function Zh(e){return Vf(gn(e).toLowerCase())}function Jh(e){return e=gn(e),e&&e.replace(Er,Wn).replace(sa,"")}function ax(e,r,f){e=gn(e),r=Kr(r);var C=e.length;f=f===i?C:Zo(qt(f),0,C);var O=f;return f-=r.length,f>=0&&e.slice(f,O)==r}function sx(e){return e=gn(e),e&&Ai.test(e)?e.replace(Gt,No):e}function lx(e){return e=gn(e),e&&oi.test(e)?e.replace(pr,"\\$&"):e}var ux=te(function(e,r,f){return e+(f?"-":"")+r.toLowerCase()}),cx=te(function(e,r,f){return e+(f?" ":"")+r.toLowerCase()}),fx=z("toLowerCase");function dx(e,r,f){e=gn(e),r=qt(r);var C=r?to(e):0;if(!r||C>=r)return e;var O=(r-C)/2;return ie(ja(O),f)+e+ie(as(O),f)}function hx(e,r,f){e=gn(e),r=qt(r);var C=r?to(e):0;return r&&C<r?e+ie(r-C,f):e}function px(e,r,f){e=gn(e),r=qt(r);var C=r?to(e):0;return r&&C<r?ie(r-C,f)+e:e}function gx(e,r,f){return f||r==null?r=0:r&&(r=+r),Ml(gn(e).replace(sn,""),r||0)}function mx(e,r,f){return(f?Ui(e,r,f):r===i)?r=1:r=qt(r),Xl(gn(e),r)}function vx(){var e=arguments,r=gn(e[0]);return e.length<3?r:r.replace(e[1],e[2])}var yx=te(function(e,r,f){return e+(f?"_":"")+r.toLowerCase()});function bx(e,r,f){return f&&typeof f!="number"&&Ui(e,r,f)&&(r=f=i),f=f===i?Pe:f>>>0,f?(e=gn(e),e&&(typeof r=="string"||r!=null&&!jf(r))&&(r=Kr(r),!r&&Zr(e))?Hi(ar(e),0,f):e.split(r,f)):[]}var xx=te(function(e,r,f){return e+(f?" ":"")+Vf(r)});function wx(e,r,f){return e=gn(e),f=f==null?0:Zo(qt(f),0,e.length),r=Kr(r),e.slice(f,f+r.length)==r}function Sx(e,r,f){var C=W.templateSettings;f&&Ui(e,r,f)&&(r=i),e=gn(e),r=Fc({},r,C,tu);var O=Fc({},r.imports,C.imports,tu),U=ei(O),ne=Lt(O,U),ce,ge,je=0,Ne=r.interpolate||$r,Ue="__p += '",nt=Dt((r.escape||$r).source+"|"+Ne.source+"|"+(Ne===ri?pi:$r).source+"|"+(r.evaluate||$r).source+"|$","g"),wt="//# sourceURL="+(It.call(r,"sourceURL")?(r.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++nn+"]")+`
143
- `;e.replace(nt,function(Ot,Qt,tn,Io,zi,Mo){return tn||(tn=Io),Ue+=e.slice(je,Mo).replace(kr,Pa),Qt&&(ce=!0,Ue+=`' +
144
- __e(`+Qt+`) +
145
- '`),zi&&(ge=!0,Ue+=`';
146
- `+zi+`;
147
- __p += '`),tn&&(Ue+=`' +
148
- ((__t = (`+tn+`)) == null ? '' : __t) +
149
- '`),je=Mo+Ot.length,Ot}),Ue+=`';
150
- `;var Mt=It.call(r,"variable")&&r.variable;if(!Mt)Ue=`with (obj) {
151
- `+Ue+`
152
- }
153
- `;else if(qi.test(Mt))throw new Le(T);Ue=(ge?Ue.replace(po,""):Ue).replace($n,"$1").replace(Hr,"$1;"),Ue="function("+(Mt||"obj")+`) {
154
- `+(Mt?"":`obj || (obj = {});
155
- `)+"var __t, __p = ''"+(ce?", __e = _.escape":"")+(ge?`, __j = Array.prototype.join;
156
- function print() { __p += __j.call(arguments, '') }
157
- `:`;
158
- `)+Ue+`return __p
159
- }`;var Zt=Qh(function(){return Qe(U,wt+"return "+Ue).apply(i,ne)});if(Zt.source=Ue,Bf(Zt))throw Zt;return Zt}function Cx(e){return gn(e).toLowerCase()}function Tx(e){return gn(e).toUpperCase()}function Ex(e,r,f){if(e=gn(e),e&&(f||r===i))return Ve(e);if(!e||!(r=Kr(r)))return e;var C=ar(e),O=ar(r),U=gt(C,O),ne=On(C,O)+1;return Hi(C,U,ne).join("")}function kx(e,r,f){if(e=gn(e),e&&(f||r===i))return e.slice(0,rs(e)+1);if(!e||!(r=Kr(r)))return e;var C=ar(e),O=On(C,ar(r))+1;return Hi(C,0,O).join("")}function _x(e,r,f){if(e=gn(e),e&&(f||r===i))return e.replace(sn,"");if(!e||!(r=Kr(r)))return e;var C=ar(e),O=gt(C,ar(r));return Hi(C,O).join("")}function Rx(e,r){var f=mt,C=St;if(qn(r)){var O="separator"in r?r.separator:O;f="length"in r?qt(r.length):f,C="omission"in r?Kr(r.omission):C}e=gn(e);var U=e.length;if(Zr(e)){var ne=ar(e);U=ne.length}if(f>=U)return e;var ce=f-to(C);if(ce<1)return C;var ge=ne?Hi(ne,0,ce).join(""):e.slice(0,ce);if(O===i)return ge+C;if(ne&&(ce+=ge.length-ce),jf(O)){if(e.slice(ce).search(O)){var je,Ne=ge;for(O.global||(O=Dt(O.source,gn(ai.exec(O))+"g")),O.lastIndex=0;je=O.exec(Ne);)var Ue=je.index;ge=ge.slice(0,Ue===i?ce:Ue)}}else if(e.indexOf(Kr(O),ce)!=ce){var nt=ge.lastIndexOf(O);nt>-1&&(ge=ge.slice(0,nt))}return ge+C}function Ax(e){return e=gn(e),e&&ni.test(e)?e.replace(Kn,Ia):e}var Px=te(function(e,r,f){return e+(f?" ":"")+r.toUpperCase()}),Vf=z("toUpperCase");function Kh(e,r,f){return e=gn(e),r=f?i:r,r===i?ts(e)?fe(e):Nt(e):e.match(r)||[]}var Qh=Ut(function(e,r){try{return F(e,i,r)}catch(f){return Bf(f)?f:new Le(f)}}),Dx=Ps(function(e,r){return K(r,function(f){f=Ja(f),sr(e,f,Lf(e[f],e))}),e});function Ix(e){var r=e==null?0:e.length,f=Rt();return e=r?Je(e,function(C){if(typeof C[1]!="function")throw new Ht(v);return[f(C[0]),C[1]]}):[],Ut(function(C){for(var O=-1;++O<r;){var U=e[O];if(F(U[0],this,C))return F(U[1],this,C)}})}function Mx(e){return Bl(jr(e,_))}function Hf(e){return function(){return e}}function Ox(e,r){return e==null||e!==e?r:e}var Lx=d(),Fx=d(!0);function co(e){return e}function Uf(e){return Ya(typeof e=="function"?e:jr(e,_))}function Bx(e){return Ro(jr(e,_))}function jx(e,r){return Vi(e,jr(r,_))}var Nx=Ut(function(e,r){return function(f){return xi(f,e,r)}}),Wx=Ut(function(e,r){return function(f){return xi(e,f,r)}});function zf(e,r,f){var C=ei(r),O=el(r,C);f==null&&!(qn(r)&&(O.length||!C.length))&&(f=r,r=e,e=this,O=el(r,ei(r)));var U=!(qn(f)&&"chain"in f)||!!f.chain,ne=Is(e);return K(O,function(ce){var ge=r[ce];e[ce]=ge,ne&&(e.prototype[ce]=function(){var je=this.__chain__;if(U||je){var Ne=e(this.__wrapped__),Ue=Ne.__actions__=ur(this.__actions__);return Ue.push({func:ge,args:arguments,thisArg:e}),Ne.__chain__=je,Ne}return ge.apply(e,Et([this.value()],arguments))})}),e}function Vx(){return pn._===this&&(pn._=Cn),this}function $f(){}function Hx(e){return e=qt(e),Ut(function(r){return Sa(r,e)})}var Ux=J(Je),zx=J(Ae),$x=J(ln);function ep(e){return Af(e)?b(Ja(e)):Gl(e)}function Yx(e){return function(r){return e==null?i:ba(e,r)}}var Gx=We(),Xx=We(!0);function Yf(){return[]}function Gf(){return!1}function qx(){return{}}function Zx(){return""}function Jx(){return!0}function Kx(e,r){if(e=qt(e),e<1||e>it)return[];var f=Pe,C=Mn(e,Pe);r=Rt(r),e-=Pe;for(var O=ve(C,r);++f<e;)r(f);return O}function Qx(e){return Yt(e)?Je(e,Ja):Do(e)?[e]:ur(xh(gn(e)))}function ew(e){var r=++mu;return gn(e)+r}var tw=N(function(e,r){return e+r},0),nw=kt("ceil"),rw=N(function(e,r){return e/r},1),iw=kt("floor");function ow(e){return e&&e.length?Qs(e,co,ps):i}function aw(e,r){return e&&e.length?Qs(e,Rt(r,2),ps):i}function sw(e){return yr(e,co)}function lw(e,r){return yr(e,Rt(r,2))}function uw(e){return e&&e.length?Qs(e,co,Wi):i}function cw(e,r){return e&&e.length?Qs(e,Rt(r,2),Wi):i}var fw=N(function(e,r){return e*r},1),dw=kt("round"),hw=N(function(e,r){return e-r},0);function pw(e){return e&&e.length?me(e,co):0}function gw(e,r){return e&&e.length?me(e,Rt(r,2)):0}return W.after=B0,W.ary=Dh,W.assign=Tb,W.assignIn=$h,W.assignInWith=Fc,W.assignWith=Eb,W.at=kb,W.before=Ih,W.bind=Lf,W.bindAll=Dx,W.bindKey=Mh,W.castArray=q0,W.chain=Rh,W.chunk=iy,W.compact=oy,W.concat=ay,W.cond=Ix,W.conforms=Mx,W.constant=Hf,W.countBy=p0,W.create=_b,W.curry=Oh,W.curryRight=Lh,W.debounce=Fh,W.defaults=Rb,W.defaultsDeep=Ab,W.defer=j0,W.delay=N0,W.difference=sy,W.differenceBy=ly,W.differenceWith=uy,W.drop=cy,W.dropRight=fy,W.dropRightWhile=dy,W.dropWhile=hy,W.fill=py,W.filter=m0,W.flatMap=b0,W.flatMapDeep=x0,W.flatMapDepth=w0,W.flatten=Th,W.flattenDeep=gy,W.flattenDepth=my,W.flip=W0,W.flow=Lx,W.flowRight=Fx,W.fromPairs=vy,W.functions=Fb,W.functionsIn=Bb,W.groupBy=S0,W.initial=by,W.intersection=xy,W.intersectionBy=wy,W.intersectionWith=Sy,W.invert=Nb,W.invertBy=Wb,W.invokeMap=T0,W.iteratee=Uf,W.keyBy=E0,W.keys=ei,W.keysIn=uo,W.map=Pc,W.mapKeys=Hb,W.mapValues=Ub,W.matches=Bx,W.matchesProperty=jx,W.memoize=Ic,W.merge=zb,W.mergeWith=Yh,W.method=Nx,W.methodOf=Wx,W.mixin=zf,W.negate=Mc,W.nthArg=Hx,W.omit=$b,W.omitBy=Yb,W.once=V0,W.orderBy=k0,W.over=Ux,W.overArgs=H0,W.overEvery=zx,W.overSome=$x,W.partial=Ff,W.partialRight=Bh,W.partition=_0,W.pick=Gb,W.pickBy=Gh,W.property=ep,W.propertyOf=Yx,W.pull=ky,W.pullAll=kh,W.pullAllBy=_y,W.pullAllWith=Ry,W.pullAt=Ay,W.range=Gx,W.rangeRight=Xx,W.rearg=U0,W.reject=P0,W.remove=Py,W.rest=z0,W.reverse=Mf,W.sampleSize=I0,W.set=qb,W.setWith=Zb,W.shuffle=M0,W.slice=Dy,W.sortBy=F0,W.sortedUniq=jy,W.sortedUniqBy=Ny,W.split=bx,W.spread=$0,W.tail=Wy,W.take=Vy,W.takeRight=Hy,W.takeRightWhile=Uy,W.takeWhile=zy,W.tap=o0,W.throttle=Y0,W.thru=Ac,W.toArray=Hh,W.toPairs=Xh,W.toPairsIn=qh,W.toPath=Qx,W.toPlainObject=zh,W.transform=Jb,W.unary=G0,W.union=$y,W.unionBy=Yy,W.unionWith=Gy,W.uniq=Xy,W.uniqBy=qy,W.uniqWith=Zy,W.unset=Kb,W.unzip=Of,W.unzipWith=_h,W.update=Qb,W.updateWith=ex,W.values=Bu,W.valuesIn=tx,W.without=Jy,W.words=Kh,W.wrap=X0,W.xor=Ky,W.xorBy=Qy,W.xorWith=e0,W.zip=t0,W.zipObject=n0,W.zipObjectDeep=r0,W.zipWith=i0,W.entries=Xh,W.entriesIn=qh,W.extend=$h,W.extendWith=Fc,zf(W,W),W.add=tw,W.attempt=Qh,W.camelCase=ox,W.capitalize=Zh,W.ceil=nw,W.clamp=nx,W.clone=Z0,W.cloneDeep=K0,W.cloneDeepWith=Q0,W.cloneWith=J0,W.conformsTo=eb,W.deburr=Jh,W.defaultTo=Ox,W.divide=rw,W.endsWith=ax,W.eq=Ea,W.escape=sx,W.escapeRegExp=lx,W.every=g0,W.find=v0,W.findIndex=Sh,W.findKey=Pb,W.findLast=y0,W.findLastIndex=Ch,W.findLastKey=Db,W.floor=iw,W.forEach=Ah,W.forEachRight=Ph,W.forIn=Ib,W.forInRight=Mb,W.forOwn=Ob,W.forOwnRight=Lb,W.get=Nf,W.gt=tb,W.gte=nb,W.has=jb,W.hasIn=Wf,W.head=Eh,W.identity=co,W.includes=C0,W.indexOf=yy,W.inRange=rx,W.invoke=Vb,W.isArguments=ou,W.isArray=Yt,W.isArrayBuffer=rb,W.isArrayLike=lo,W.isArrayLikeObject=cr,W.isBoolean=ib,W.isBuffer=dl,W.isDate=ob,W.isElement=ab,W.isEmpty=sb,W.isEqual=lb,W.isEqualWith=ub,W.isError=Bf,W.isFinite=cb,W.isFunction=Is,W.isInteger=jh,W.isLength=Oc,W.isMap=Nh,W.isMatch=fb,W.isMatchWith=db,W.isNaN=hb,W.isNative=pb,W.isNil=mb,W.isNull=gb,W.isNumber=Wh,W.isObject=qn,W.isObjectLike=nr,W.isPlainObject=oc,W.isRegExp=jf,W.isSafeInteger=vb,W.isSet=Vh,W.isString=Lc,W.isSymbol=Do,W.isTypedArray=Fu,W.isUndefined=yb,W.isWeakMap=bb,W.isWeakSet=xb,W.join=Cy,W.kebabCase=ux,W.last=Qo,W.lastIndexOf=Ty,W.lowerCase=cx,W.lowerFirst=fx,W.lt=wb,W.lte=Sb,W.max=ow,W.maxBy=aw,W.mean=sw,W.meanBy=lw,W.min=uw,W.minBy=cw,W.stubArray=Yf,W.stubFalse=Gf,W.stubObject=qx,W.stubString=Zx,W.stubTrue=Jx,W.multiply=fw,W.nth=Ey,W.noConflict=Vx,W.noop=$f,W.now=Dc,W.pad=dx,W.padEnd=hx,W.padStart=px,W.parseInt=gx,W.random=ix,W.reduce=R0,W.reduceRight=A0,W.repeat=mx,W.replace=vx,W.result=Xb,W.round=dw,W.runInContext=$,W.sample=D0,W.size=O0,W.snakeCase=yx,W.some=L0,W.sortedIndex=Iy,W.sortedIndexBy=My,W.sortedIndexOf=Oy,W.sortedLastIndex=Ly,W.sortedLastIndexBy=Fy,W.sortedLastIndexOf=By,W.startCase=xx,W.startsWith=wx,W.subtract=hw,W.sum=pw,W.sumBy=gw,W.template=Sx,W.times=Kx,W.toFinite=Ms,W.toInteger=qt,W.toLength=Uh,W.toLower=Cx,W.toNumber=ea,W.toSafeInteger=Cb,W.toString=gn,W.toUpper=Tx,W.trim=Ex,W.trimEnd=kx,W.trimStart=_x,W.truncate=Rx,W.unescape=Ax,W.uniqueId=ew,W.upperCase=Px,W.upperFirst=Vf,W.each=Ah,W.eachRight=Ph,W.first=Eh,zf(W,function(){var e={};return oo(W,function(r,f){It.call(W.prototype,f)||(e[f]=r)}),e}(),{chain:!1}),W.VERSION=s,K(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){W[e].placeholder=W}),K(["drop","take"],function(e,r){$t.prototype[e]=function(f){f=f===i?1:In(qt(f),0);var C=this.__filtered__&&!r?new $t(this):this.clone();return C.__filtered__?C.__takeCount__=Mn(f,C.__takeCount__):C.__views__.push({size:Mn(f,Pe),type:e+(C.__dir__<0?"Right":"")}),C},$t.prototype[e+"Right"]=function(f){return this.reverse()[e](f).reverse()}}),K(["filter","map","takeWhile"],function(e,r){var f=r+1,C=f==bt||f==_t;$t.prototype[e]=function(O){var U=this.clone();return U.__iteratees__.push({iteratee:Rt(O,3),type:f}),U.__filtered__=U.__filtered__||C,U}}),K(["head","last"],function(e,r){var f="take"+(r?"Right":"");$t.prototype[e]=function(){return this[f](1).value()[0]}}),K(["initial","tail"],function(e,r){var f="drop"+(r?"":"Right");$t.prototype[e]=function(){return this.__filtered__?new $t(this):this[f](1)}}),$t.prototype.compact=function(){return this.filter(co)},$t.prototype.find=function(e){return this.filter(e).head()},$t.prototype.findLast=function(e){return this.reverse().find(e)},$t.prototype.invokeMap=Ut(function(e,r){return typeof e=="function"?new $t(this):this.map(function(f){return xi(f,e,r)})}),$t.prototype.reject=function(e){return this.filter(Mc(Rt(e)))},$t.prototype.slice=function(e,r){e=qt(e);var f=this;return f.__filtered__&&(e>0||r<0)?new $t(f):(e<0?f=f.takeRight(-e):e&&(f=f.drop(e)),r!==i&&(r=qt(r),f=r<0?f.dropRight(-r):f.take(r-e)),f)},$t.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},$t.prototype.toArray=function(){return this.take(Pe)},oo($t.prototype,function(e,r){var f=/^(?:filter|find|map|reject)|While$/.test(r),C=/^(?:head|last)$/.test(r),O=W[C?"take"+(r=="last"?"Right":""):r],U=C||/^find/.test(r);O&&(W.prototype[r]=function(){var ne=this.__wrapped__,ce=C?[1]:arguments,ge=ne instanceof $t,je=ce[0],Ne=ge||Yt(ne),Ue=function(Qt){var tn=O.apply(W,Et([Qt],ce));return C&&nt?tn[0]:tn};Ne&&f&&typeof je=="function"&&je.length!=1&&(ge=Ne=!1);var nt=this.__chain__,wt=!!this.__actions__.length,Mt=U&&!nt,Zt=ge&&!wt;if(!U&&Ne){ne=Zt?ne:new $t(this);var Ot=e.apply(ne,ce);return Ot.__actions__.push({func:Ac,args:[Ue],thisArg:i}),new Br(Ot,nt)}return Mt&&Zt?e.apply(this,ce):(Ot=this.thru(Ue),Mt?C?Ot.value()[0]:Ot.value():Ot)})}),K(["pop","push","shift","sort","splice","unshift"],function(e){var r=Dn[e],f=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",C=/^(?:pop|shift)$/.test(e);W.prototype[e]=function(){var O=arguments;if(C&&!this.__chain__){var U=this.value();return r.apply(Yt(U)?U:[],O)}return this[f](function(ne){return r.apply(Yt(ne)?ne:[],O)})}}),oo($t.prototype,function(e,r){var f=W[r];if(f){var C=f.name+"";It.call(Go,C)||(Go[C]=[]),Go[C].push({name:r,func:f})}}),Go[S(i,j).name]=[{name:"wrapper",func:i}],$t.prototype.clone=zs,$t.prototype.reverse=Va,$t.prototype.value=ds,W.prototype.at=a0,W.prototype.chain=s0,W.prototype.commit=l0,W.prototype.next=u0,W.prototype.plant=f0,W.prototype.reverse=d0,W.prototype.toJSON=W.prototype.valueOf=W.prototype.value=h0,W.prototype.first=W.prototype.head,wo&&(W.prototype[wo]=c0),W},be=Se();fi?((fi.exports=be)._=be,xo._=be):pn._=be}).call(yl)})(ff,ff.exports);var Nv=ff.exports;const Ik=df(Nv);function Lg(n){return typeof n=="number"&&isFinite(n)&&Math.floor(n)===n}function Mk(n){var t=n.lastRenderedStartIndex,i=n.lastRenderedStopIndex,s=n.startIndex,a=n.stopIndex;return!(s>i||a<t)}function Ok(n){for(var t=n.isItemLoaded,i=n.itemCount,s=n.minimumBatchSize,a=n.startIndex,h=n.stopIndex,v=[],T=null,x=null,E=a;E<=h;E++){var L=t(E);L?x!==null&&(v.push(T,x),T=x=null):(x=E,T===null&&(T=E))}if(x!==null){for(var _=Math.min(Math.max(x,T+s-1),i-1),H=x+1;H<=_&&!t(H);H++)x=H;v.push(T,x)}if(v.length)for(;v[1]-v[0]+1<s&&v[0]>0;){var Y=v[0]-1;if(!t(Y))v[0]=Y;else break}return v}var Lk=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")},Fk=function(){function n(t,i){for(var s=0;s<i.length;s++){var a=i[s];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,i,s){return i&&n(t.prototype,i),s&&n(t,s),t}}(),Bk=function(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)},Fg=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n},jk=function(n){Bk(t,n);function t(){var i,s,a,h;Lk(this,t);for(var v=arguments.length,T=Array(v),x=0;x<v;x++)T[x]=arguments[x];return h=(s=(a=Fg(this,(i=t.__proto__||Object.getPrototypeOf(t)).call.apply(i,[this].concat(T))),a),a._lastRenderedStartIndex=-1,a._lastRenderedStopIndex=-1,a._memoizedUnloadedRanges=[],a._onItemsRendered=function(E){var L=E.visibleStartIndex,_=E.visibleStopIndex;process.env.NODE_ENV!=="production"&&((!Lg(L)||!Lg(_))&&console.warn("Invalid onItemsRendered signature; please refer to InfiniteLoader documentation."),typeof a.props.loadMoreRows=="function"&&console.warn('InfiniteLoader "loadMoreRows" prop has been renamed to "loadMoreItems".')),a._lastRenderedStartIndex=L,a._lastRenderedStopIndex=_,a._ensureRowsLoaded(L,_)},a._setRef=function(E){a._listRef=E},s),Fg(a,h)}return Fk(t,[{key:"resetloadMoreItemsCache",value:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this._memoizedUnloadedRanges=[],s&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){process.env.NODE_ENV!=="production"&&this._listRef==null&&console.warn("Invalid list ref; please refer to InfiniteLoader documentation.")}},{key:"render",value:function(){var s=this.props.children;return s({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(s,a){var h=this.props,v=h.isItemLoaded,T=h.itemCount,x=h.minimumBatchSize,E=x===void 0?10:x,L=h.threshold,_=L===void 0?15:L,H=Ok({isItemLoaded:v,itemCount:T,minimumBatchSize:E,startIndex:Math.max(0,s-_),stopIndex:Math.min(T-1,a+_)});(this._memoizedUnloadedRanges.length!==H.length||this._memoizedUnloadedRanges.some(function(Y,Q){return H[Q]!==Y}))&&(this._memoizedUnloadedRanges=H,this._loadUnloadedRanges(H))}},{key:"_loadUnloadedRanges",value:function(s){for(var a=this,h=this.props.loadMoreItems||this.props.loadMoreRows,v=function(E){var L=s[E],_=s[E+1],H=h(L,_);H!=null&&H.then(function(){if(Mk({lastRenderedStartIndex:a._lastRenderedStartIndex,lastRenderedStopIndex:a._lastRenderedStopIndex,startIndex:L,stopIndex:_})){if(a._listRef==null)return;typeof a._listRef.resetAfterIndex=="function"?a._listRef.resetAfterIndex(L,!0):(typeof a._listRef._getItemStyleCache=="function"&&a._listRef._getItemStyleCache(-1),a._listRef.forceUpdate())}})},T=0;T<s.length;T+=2)v(T)}}]),t}(Fe.PureComponent);const Bg=window.location.href,Wv=Fe.createContext({}),Nk=({children:n,baseUrl:t,userData:i})=>{const s=()=>{window.location.href=`${t}/authentication/login?callbackUrl=${Bg}`},a=()=>{window.location.href=`${t}/authentication/logout?callbackUrl=${Bg}`};return i!=null&&i.isFetching?ft.jsx(np.Grid,{container:!0,justifyContent:"center",alignItems:"center",sx:{minHeight:"100vh"},children:ft.jsx(np.CircularProgress,{})}):i!=null&&i.isError?(s(),null):ft.jsx(Wv.Provider,{value:{user:i==null?void 0:i.data,login:s,logout:a},children:n})},Wk=()=>{const{login:n,logout:t,user:i}=Fe.useContext(Wv);return{login:n,logout:t,user:i}};function Vk(n,t,i){return i.some(s=>{const a=n[s];return String(a).toLowerCase().includes(t.toLowerCase())})}var yd={exports:{}};/*!
160
- * jQuery JavaScript Library v3.7.1
161
- * https://jquery.com/
162
- *
163
- * Copyright OpenJS Foundation and other contributors
164
- * Released under the MIT license
165
- * https://jquery.org/license
166
- *
167
- * Date: 2023-08-28T13:37Z
168
- */var jg;function Vv(){return jg||(jg=1,function(n){(function(t,i){n.exports=t.document?i(t,!0):function(s){if(!s.document)throw new Error("jQuery requires a window with a document");return i(s)}})(typeof window<"u"?window:yl,function(t,i){var s=[],a=Object.getPrototypeOf,h=s.slice,v=s.flat?function(o){return s.flat.call(o)}:function(o){return s.concat.apply([],o)},T=s.push,x=s.indexOf,E={},L=E.toString,_=E.hasOwnProperty,H=_.toString,Y=H.call(Object),Q={},ee=function(c){return typeof c=="function"&&typeof c.nodeType!="number"&&typeof c.item!="function"},Z=function(c){return c!=null&&c===c.window},j=t.document,pe={type:!0,src:!0,nonce:!0,noModule:!0};function oe(o,c,g){g=g||j;var w,P,I=g.createElement("script");if(I.text=o,c)for(w in pe)P=c[w]||c.getAttribute&&c.getAttribute(w),P&&I.setAttribute(w,P);g.head.appendChild(I).parentNode.removeChild(I)}function xe(o){return o==null?o+"":typeof o=="object"||typeof o=="function"?E[L.call(o)]||"object":typeof o}var se="3.7.1",Ee=/HTML$/i,m=function(o,c){return new m.fn.init(o,c)};m.fn=m.prototype={jquery:se,constructor:m,length:0,toArray:function(){return h.call(this)},get:function(o){return o==null?h.call(this):o<0?this[o+this.length]:this[o]},pushStack:function(o){var c=m.merge(this.constructor(),o);return c.prevObject=this,c},each:function(o){return m.each(this,o)},map:function(o){return this.pushStack(m.map(this,function(c,g){return o.call(c,g,c)}))},slice:function(){return this.pushStack(h.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(m.grep(this,function(o,c){return(c+1)%2}))},odd:function(){return this.pushStack(m.grep(this,function(o,c){return c%2}))},eq:function(o){var c=this.length,g=+o+(o<0?c:0);return this.pushStack(g>=0&&g<c?[this[g]]:[])},end:function(){return this.prevObject||this.constructor()},push:T,sort:s.sort,splice:s.splice},m.extend=m.fn.extend=function(){var o,c,g,w,P,I,F=arguments[0]||{},re=1,K=arguments.length,he=!1;for(typeof F=="boolean"&&(he=F,F=arguments[re]||{},re++),typeof F!="object"&&!ee(F)&&(F={}),re===K&&(F=this,re--);re<K;re++)if((o=arguments[re])!=null)for(c in o)w=o[c],!(c==="__proto__"||F===w)&&(he&&w&&(m.isPlainObject(w)||(P=Array.isArray(w)))?(g=F[c],P&&!Array.isArray(g)?I=[]:!P&&!m.isPlainObject(g)?I={}:I=g,P=!1,F[c]=m.extend(he,I,w)):w!==void 0&&(F[c]=w));return F},m.extend({expando:"jQuery"+(se+Math.random()).replace(/\D/g,""),isReady:!0,error:function(o){throw new Error(o)},noop:function(){},isPlainObject:function(o){var c,g;return!o||L.call(o)!=="[object Object]"?!1:(c=a(o),c?(g=_.call(c,"constructor")&&c.constructor,typeof g=="function"&&H.call(g)===Y):!0)},isEmptyObject:function(o){var c;for(c in o)return!1;return!0},globalEval:function(o,c,g){oe(o,{nonce:c&&c.nonce},g)},each:function(o,c){var g,w=0;if(ke(o))for(g=o.length;w<g&&c.call(o[w],w,o[w])!==!1;w++);else for(w in o)if(c.call(o[w],w,o[w])===!1)break;return o},text:function(o){var c,g="",w=0,P=o.nodeType;if(!P)for(;c=o[w++];)g+=m.text(c);return P===1||P===11?o.textContent:P===9?o.documentElement.textContent:P===3||P===4?o.nodeValue:g},makeArray:function(o,c){var g=c||[];return o!=null&&(ke(Object(o))?m.merge(g,typeof o=="string"?[o]:o):T.call(g,o)),g},inArray:function(o,c,g){return c==null?-1:x.call(c,o,g)},isXMLDoc:function(o){var c=o&&o.namespaceURI,g=o&&(o.ownerDocument||o).documentElement;return!Ee.test(c||g&&g.nodeName||"HTML")},merge:function(o,c){for(var g=+c.length,w=0,P=o.length;w<g;w++)o[P++]=c[w];return o.length=P,o},grep:function(o,c,g){for(var w,P=[],I=0,F=o.length,re=!g;I<F;I++)w=!c(o[I],I),w!==re&&P.push(o[I]);return P},map:function(o,c,g){var w,P,I=0,F=[];if(ke(o))for(w=o.length;I<w;I++)P=c(o[I],I,g),P!=null&&F.push(P);else for(I in o)P=c(o[I],I,g),P!=null&&F.push(P);return v(F)},guid:1,support:Q}),typeof Symbol=="function"&&(m.fn[Symbol.iterator]=s[Symbol.iterator]),m.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(o,c){E["[object "+c+"]"]=c.toLowerCase()});function ke(o){var c=!!o&&"length"in o&&o.length,g=xe(o);return ee(o)||Z(o)?!1:g==="array"||c===0||typeof c=="number"&&c>0&&c-1 in o}function Ce(o,c){return o.nodeName&&o.nodeName.toLowerCase()===c.toLowerCase()}var mt=s.pop,St=s.sort,dt=s.splice,Ke="[\\x20\\t\\r\\n\\f]",bt=new RegExp("^"+Ke+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Ke+"+$","g");m.contains=function(o,c){var g=c&&c.parentNode;return o===g||!!(g&&g.nodeType===1&&(o.contains?o.contains(g):o.compareDocumentPosition&&o.compareDocumentPosition(g)&16))};var Kt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function _t(o,c){return c?o==="\0"?"�":o.slice(0,-1)+"\\"+o.charCodeAt(o.length-1).toString(16)+" ":"\\"+o}m.escapeSelector=function(o){return(o+"").replace(Kt,_t)};var vt=j,it=T;(function(){var o,c,g,w,P,I=it,F,re,K,he,Ae,De=m.expando,ye=0,Be=0,Je=On(),Et=On(),Pt=On(),Pn=On(),ln=function(G,fe){return G===fe&&(P=!0),0},Ir="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Mr="(?:\\\\[\\da-fA-F]{1,6}"+Ke+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Nt="\\["+Ke+"*("+Mr+")(?:"+Ke+"*([*^$|!~]?=)"+Ke+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Mr+"))|)"+Ke+"*\\]",Or=":("+Mr+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Nt+")*)|.*)\\)|)",Vt=new RegExp(Ke+"+","g"),en=new RegExp("^"+Ke+"*,"+Ke+"*"),Ki=new RegExp("^"+Ke+"*([>+~]|"+Ke+")"+Ke+"*"),Qi=new RegExp(Ke+"|>"),yr=new RegExp(Or),b=new RegExp("^"+Mr+"$"),A={ID:new RegExp("^#("+Mr+")"),CLASS:new RegExp("^\\.("+Mr+")"),TAG:new RegExp("^("+Mr+"|[*])"),ATTR:new RegExp("^"+Nt),PSEUDO:new RegExp("^"+Or),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Ke+"*(even|odd|(([+-]|)(\\d*)n|)"+Ke+"*(?:([+-]|)"+Ke+"*(\\d+)|))"+Ke+"*\\)|)","i"),bool:new RegExp("^(?:"+Ir+")$","i"),needsContext:new RegExp("^"+Ke+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Ke+"*((?:-\\d)?\\d*)"+Ke+"*\\)|)(?=[^-]|$)","i")},B=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,me=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,Ie=new RegExp("\\\\[\\da-fA-F]{1,6}"+Ke+"?|\\\\([^\\r\\n\\f])","g"),Ve=function(G,fe){var Se="0x"+G.slice(1)-65536;return fe||(Se<0?String.fromCharCode(Se+65536):String.fromCharCode(Se>>10|55296,Se&1023|56320))},st=function(){eo()},Lt=Oi(function(G){return G.disabled===!0&&Ce(G,"fieldset")},{dir:"parentNode",next:"legend"});function Tt(){try{return F.activeElement}catch{}}try{I.apply(s=h.call(vt.childNodes),vt.childNodes),s[vt.childNodes.length].nodeType}catch{I={apply:function(fe,Se){it.apply(fe,h.call(Se))},call:function(fe){it.apply(fe,h.call(arguments,1))}}}function gt(G,fe,Se,be){var $,le,ae,Me,Le,Qe,et,Xe=fe&&fe.ownerDocument,Dt=fe?fe.nodeType:9;if(Se=Se||[],typeof G!="string"||!G||Dt!==1&&Dt!==9&&Dt!==11)return Se;if(!be&&(eo(fe),fe=fe||F,K)){if(Dt!==11&&(Le=me.exec(G)))if($=Le[1]){if(Dt===9)if(ae=fe.getElementById($)){if(ae.id===$)return I.call(Se,ae),Se}else return Se;else if(Xe&&(ae=Xe.getElementById($))&&gt.contains(fe,ae)&&ae.id===$)return I.call(Se,ae),Se}else{if(Le[2])return I.apply(Se,fe.getElementsByTagName(G)),Se;if(($=Le[3])&&fe.getElementsByClassName)return I.apply(Se,fe.getElementsByClassName($)),Se}if(!Pn[G+" "]&&(!he||!he.test(G))){if(et=G,Xe=fe,Dt===1&&(Qi.test(G)||Ki.test(G))){for(Xe=ve.test(G)&&ts(fe.parentNode)||fe,(Xe!=fe||!Q.scope)&&((Me=fe.getAttribute("id"))?Me=m.escapeSelector(Me):fe.setAttribute("id",Me=De)),Qe=Vo(G),le=Qe.length;le--;)Qe[le]=(Me?"#"+Me:":scope")+" "+di(Qe[le]);et=Qe.join(",")}try{return I.apply(Se,Xe.querySelectorAll(et)),Se}catch{Pn(G,!0)}finally{Me===De&&fe.removeAttribute("id")}}}return Ma(G.replace(bt,"$1"),fe,Se,be)}function On(){var G=[];function fe(Se,be){return G.push(Se+" ")>c.cacheLength&&delete fe[G.shift()],fe[Se+" "]=be}return fe}function yn(G){return G[De]=!0,G}function Wn(G){var fe=F.createElement("fieldset");try{return!!G(fe)}catch{return!1}finally{fe.parentNode&&fe.parentNode.removeChild(fe),fe=null}}function No(G){return function(fe){return Ce(fe,"input")&&fe.type===G}}function Pa(G){return function(fe){return(Ce(fe,"input")||Ce(fe,"button"))&&fe.type===G}}function Wo(G){return function(fe){return"form"in fe?fe.parentNode&&fe.disabled===!1?"label"in fe?"label"in fe.parentNode?fe.parentNode.disabled===G:fe.disabled===G:fe.isDisabled===G||fe.isDisabled!==!G&&Lt(fe)===G:fe.disabled===G:"label"in fe?fe.disabled===G:!1}}function Zr(G){return yn(function(fe){return fe=+fe,yn(function(Se,be){for(var $,le=G([],Se.length,fe),ae=le.length;ae--;)Se[$=le[ae]]&&(Se[$]=!(be[$]=Se[$]))})})}function ts(G){return G&&typeof G.getElementsByTagName<"u"&&G}function eo(G){var fe,Se=G?G.ownerDocument||G:vt;return Se==F||Se.nodeType!==9||!Se.documentElement||(F=Se,re=F.documentElement,K=!m.isXMLDoc(F),Ae=re.matches||re.webkitMatchesSelector||re.msMatchesSelector,re.msMatchesSelector&&vt!=F&&(fe=F.defaultView)&&fe.top!==fe&&fe.addEventListener("unload",st),Q.getById=Wn(function(be){return re.appendChild(be).id=m.expando,!F.getElementsByName||!F.getElementsByName(m.expando).length}),Q.disconnectedMatch=Wn(function(be){return Ae.call(be,"*")}),Q.scope=Wn(function(){return F.querySelectorAll(":scope")}),Q.cssHas=Wn(function(){try{return F.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),Q.getById?(c.filter.ID=function(be){var $=be.replace(Ie,Ve);return function(le){return le.getAttribute("id")===$}},c.find.ID=function(be,$){if(typeof $.getElementById<"u"&&K){var le=$.getElementById(be);return le?[le]:[]}}):(c.filter.ID=function(be){var $=be.replace(Ie,Ve);return function(le){var ae=typeof le.getAttributeNode<"u"&&le.getAttributeNode("id");return ae&&ae.value===$}},c.find.ID=function(be,$){if(typeof $.getElementById<"u"&&K){var le,ae,Me,Le=$.getElementById(be);if(Le){if(le=Le.getAttributeNode("id"),le&&le.value===be)return[Le];for(Me=$.getElementsByName(be),ae=0;Le=Me[ae++];)if(le=Le.getAttributeNode("id"),le&&le.value===be)return[Le]}return[]}}),c.find.TAG=function(be,$){return typeof $.getElementsByTagName<"u"?$.getElementsByTagName(be):$.querySelectorAll(be)},c.find.CLASS=function(be,$){if(typeof $.getElementsByClassName<"u"&&K)return $.getElementsByClassName(be)},he=[],Wn(function(be){var $;re.appendChild(be).innerHTML="<a id='"+De+"' href='' disabled='disabled'></a><select id='"+De+"-\r\\' disabled='disabled'><option selected=''></option></select>",be.querySelectorAll("[selected]").length||he.push("\\["+Ke+"*(?:value|"+Ir+")"),be.querySelectorAll("[id~="+De+"-]").length||he.push("~="),be.querySelectorAll("a#"+De+"+*").length||he.push(".#.+[+~]"),be.querySelectorAll(":checked").length||he.push(":checked"),$=F.createElement("input"),$.setAttribute("type","hidden"),be.appendChild($).setAttribute("name","D"),re.appendChild(be).disabled=!0,be.querySelectorAll(":disabled").length!==2&&he.push(":enabled",":disabled"),$=F.createElement("input"),$.setAttribute("name",""),be.appendChild($),be.querySelectorAll("[name='']").length||he.push("\\["+Ke+"*name"+Ke+"*="+Ke+`*(?:''|"")`)}),Q.cssHas||he.push(":has"),he=he.length&&new RegExp(he.join("|")),ln=function(be,$){if(be===$)return P=!0,0;var le=!be.compareDocumentPosition-!$.compareDocumentPosition;return le||(le=(be.ownerDocument||be)==($.ownerDocument||$)?be.compareDocumentPosition($):1,le&1||!Q.sortDetached&&$.compareDocumentPosition(be)===le?be===F||be.ownerDocument==vt&&gt.contains(vt,be)?-1:$===F||$.ownerDocument==vt&&gt.contains(vt,$)?1:w?x.call(w,be)-x.call(w,$):0:le&4?-1:1)}),F}gt.matches=function(G,fe){return gt(G,null,null,fe)},gt.matchesSelector=function(G,fe){if(eo(G),K&&!Pn[fe+" "]&&(!he||!he.test(fe)))try{var Se=Ae.call(G,fe);if(Se||Q.disconnectedMatch||G.document&&G.document.nodeType!==11)return Se}catch{Pn(fe,!0)}return gt(fe,F,null,[G]).length>0},gt.contains=function(G,fe){return(G.ownerDocument||G)!=F&&eo(G),m.contains(G,fe)},gt.attr=function(G,fe){(G.ownerDocument||G)!=F&&eo(G);var Se=c.attrHandle[fe.toLowerCase()],be=Se&&_.call(c.attrHandle,fe.toLowerCase())?Se(G,fe,!K):void 0;return be!==void 0?be:G.getAttribute(fe)},gt.error=function(G){throw new Error("Syntax error, unrecognized expression: "+G)},m.uniqueSort=function(G){var fe,Se=[],be=0,$=0;if(P=!Q.sortStable,w=!Q.sortStable&&h.call(G,0),St.call(G,ln),P){for(;fe=G[$++];)fe===G[$]&&(be=Se.push($));for(;be--;)dt.call(G,Se[be],1)}return w=null,G},m.fn.uniqueSort=function(){return this.pushStack(m.uniqueSort(h.apply(this)))},c=m.expr={cacheLength:50,createPseudo:yn,match:A,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(G){return G[1]=G[1].replace(Ie,Ve),G[3]=(G[3]||G[4]||G[5]||"").replace(Ie,Ve),G[2]==="~="&&(G[3]=" "+G[3]+" "),G.slice(0,4)},CHILD:function(G){return G[1]=G[1].toLowerCase(),G[1].slice(0,3)==="nth"?(G[3]||gt.error(G[0]),G[4]=+(G[4]?G[5]+(G[6]||1):2*(G[3]==="even"||G[3]==="odd")),G[5]=+(G[7]+G[8]||G[3]==="odd")):G[3]&&gt.error(G[0]),G},PSEUDO:function(G){var fe,Se=!G[6]&&G[2];return A.CHILD.test(G[0])?null:(G[3]?G[2]=G[4]||G[5]||"":Se&&yr.test(Se)&&(fe=Vo(Se,!0))&&(fe=Se.indexOf(")",Se.length-fe)-Se.length)&&(G[0]=G[0].slice(0,fe),G[2]=Se.slice(0,fe)),G.slice(0,3))}},filter:{TAG:function(G){var fe=G.replace(Ie,Ve).toLowerCase();return G==="*"?function(){return!0}:function(Se){return Ce(Se,fe)}},CLASS:function(G){var fe=Je[G+" "];return fe||(fe=new RegExp("(^|"+Ke+")"+G+"("+Ke+"|$)"))&&Je(G,function(Se){return fe.test(typeof Se.className=="string"&&Se.className||typeof Se.getAttribute<"u"&&Se.getAttribute("class")||"")})},ATTR:function(G,fe,Se){return function(be){var $=gt.attr(be,G);return $==null?fe==="!=":fe?($+="",fe==="="?$===Se:fe==="!="?$!==Se:fe==="^="?Se&&$.indexOf(Se)===0:fe==="*="?Se&&$.indexOf(Se)>-1:fe==="$="?Se&&$.slice(-Se.length)===Se:fe==="~="?(" "+$.replace(Vt," ")+" ").indexOf(Se)>-1:fe==="|="?$===Se||$.slice(0,Se.length+1)===Se+"-":!1):!0}},CHILD:function(G,fe,Se,be,$){var le=G.slice(0,3)!=="nth",ae=G.slice(-4)!=="last",Me=fe==="of-type";return be===1&&$===0?function(Le){return!!Le.parentNode}:function(Le,Qe,et){var Xe,Dt,xt,Ht,Dn,er=le!==ae?"nextSibling":"previousSibling",Vn=Le.parentNode,Lr=Me&&Le.nodeName.toLowerCase(),Li=!et&&!Me,It=!1;if(Vn){if(le){for(;er;){for(xt=Le;xt=xt[er];)if(Me?Ce(xt,Lr):xt.nodeType===1)return!1;Dn=er=G==="only"&&!Dn&&"nextSibling"}return!0}if(Dn=[ae?Vn.firstChild:Vn.lastChild],ae&&Li){for(Dt=Vn[De]||(Vn[De]={}),Xe=Dt[G]||[],Ht=Xe[0]===ye&&Xe[1],It=Ht&&Xe[2],xt=Ht&&Vn.childNodes[Ht];xt=++Ht&&xt&&xt[er]||(It=Ht=0)||Dn.pop();)if(xt.nodeType===1&&++It&&xt===Le){Dt[G]=[ye,Ht,It];break}}else if(Li&&(Dt=Le[De]||(Le[De]={}),Xe=Dt[G]||[],Ht=Xe[0]===ye&&Xe[1],It=Ht),It===!1)for(;(xt=++Ht&&xt&&xt[er]||(It=Ht=0)||Dn.pop())&&!((Me?Ce(xt,Lr):xt.nodeType===1)&&++It&&(Li&&(Dt=xt[De]||(xt[De]={}),Dt[G]=[ye,It]),xt===Le)););return It-=$,It===be||It%be===0&&It/be>=0}}},PSEUDO:function(G,fe){var Se,be=c.pseudos[G]||c.setFilters[G.toLowerCase()]||gt.error("unsupported pseudo: "+G);return be[De]?be(fe):be.length>1?(Se=[G,G,"",fe],c.setFilters.hasOwnProperty(G.toLowerCase())?yn(function($,le){for(var ae,Me=be($,fe),Le=Me.length;Le--;)ae=x.call($,Me[Le]),$[ae]=!(le[ae]=Me[Le])}):function($){return be($,0,Se)}):be}},pseudos:{not:yn(function(G){var fe=[],Se=[],be=Ia(G.replace(bt,"$1"));return be[De]?yn(function($,le,ae,Me){for(var Le,Qe=be($,null,Me,[]),et=$.length;et--;)(Le=Qe[et])&&($[et]=!(le[et]=Le))}):function($,le,ae){return fe[0]=$,be(fe,null,ae,Se),fe[0]=null,!Se.pop()}}),has:yn(function(G){return function(fe){return gt(G,fe).length>0}}),contains:yn(function(G){return G=G.replace(Ie,Ve),function(fe){return(fe.textContent||m.text(fe)).indexOf(G)>-1}}),lang:yn(function(G){return b.test(G||"")||gt.error("unsupported lang: "+G),G=G.replace(Ie,Ve).toLowerCase(),function(fe){var Se;do if(Se=K?fe.lang:fe.getAttribute("xml:lang")||fe.getAttribute("lang"))return Se=Se.toLowerCase(),Se===G||Se.indexOf(G+"-")===0;while((fe=fe.parentNode)&&fe.nodeType===1);return!1}}),target:function(G){var fe=t.location&&t.location.hash;return fe&&fe.slice(1)===G.id},root:function(G){return G===re},focus:function(G){return G===Tt()&&F.hasFocus()&&!!(G.type||G.href||~G.tabIndex)},enabled:Wo(!1),disabled:Wo(!0),checked:function(G){return Ce(G,"input")&&!!G.checked||Ce(G,"option")&&!!G.selected},selected:function(G){return G.parentNode&&G.parentNode.selectedIndex,G.selected===!0},empty:function(G){for(G=G.firstChild;G;G=G.nextSibling)if(G.nodeType<6)return!1;return!0},parent:function(G){return!c.pseudos.empty(G)},header:function(G){return X.test(G.nodeName)},input:function(G){return B.test(G.nodeName)},button:function(G){return Ce(G,"input")&&G.type==="button"||Ce(G,"button")},text:function(G){var fe;return Ce(G,"input")&&G.type==="text"&&((fe=G.getAttribute("type"))==null||fe.toLowerCase()==="text")},first:Zr(function(){return[0]}),last:Zr(function(G,fe){return[fe-1]}),eq:Zr(function(G,fe,Se){return[Se<0?Se+fe:Se]}),even:Zr(function(G,fe){for(var Se=0;Se<fe;Se+=2)G.push(Se);return G}),odd:Zr(function(G,fe){for(var Se=1;Se<fe;Se+=2)G.push(Se);return G}),lt:Zr(function(G,fe,Se){var be;for(Se<0?be=Se+fe:Se>fe?be=fe:be=Se;--be>=0;)G.push(be);return G}),gt:Zr(function(G,fe,Se){for(var be=Se<0?Se+fe:Se;++be<fe;)G.push(be);return G})}},c.pseudos.nth=c.pseudos.eq;for(o in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})c.pseudos[o]=No(o);for(o in{submit:!0,reset:!0})c.pseudos[o]=Pa(o);function Da(){}Da.prototype=c.filters=c.pseudos,c.setFilters=new Da;function Vo(G,fe){var Se,be,$,le,ae,Me,Le,Qe=Et[G+" "];if(Qe)return fe?0:Qe.slice(0);for(ae=G,Me=[],Le=c.preFilter;ae;){(!Se||(be=en.exec(ae)))&&(be&&(ae=ae.slice(be[0].length)||ae),Me.push($=[])),Se=!1,(be=Ki.exec(ae))&&(Se=be.shift(),$.push({value:Se,type:be[0].replace(bt," ")}),ae=ae.slice(Se.length));for(le in c.filter)(be=A[le].exec(ae))&&(!Le[le]||(be=Le[le](be)))&&(Se=be.shift(),$.push({value:Se,type:le,matches:be}),ae=ae.slice(Se.length));if(!Se)break}return fe?ae.length:ae?gt.error(G):Et(G,Me).slice(0)}function di(G){for(var fe=0,Se=G.length,be="";fe<Se;fe++)be+=G[fe].value;return be}function Oi(G,fe,Se){var be=fe.dir,$=fe.next,le=$||be,ae=Se&&le==="parentNode",Me=Be++;return fe.first?function(Le,Qe,et){for(;Le=Le[be];)if(Le.nodeType===1||ae)return G(Le,Qe,et);return!1}:function(Le,Qe,et){var Xe,Dt,xt=[ye,Me];if(et){for(;Le=Le[be];)if((Le.nodeType===1||ae)&&G(Le,Qe,et))return!0}else for(;Le=Le[be];)if(Le.nodeType===1||ae)if(Dt=Le[De]||(Le[De]={}),$&&Ce(Le,$))Le=Le[be]||Le;else{if((Xe=Dt[le])&&Xe[0]===ye&&Xe[1]===Me)return xt[2]=Xe[2];if(Dt[le]=xt,xt[2]=G(Le,Qe,et))return!0}return!1}}function ns(G){return G.length>1?function(fe,Se,be){for(var $=G.length;$--;)if(!G[$](fe,Se,be))return!1;return!0}:G[0]}function El(G,fe,Se){for(var be=0,$=fe.length;be<$;be++)gt(G,fe[be],Se);return Se}function Ho(G,fe,Se,be,$){for(var le,ae=[],Me=0,Le=G.length,Qe=fe!=null;Me<Le;Me++)(le=G[Me])&&(!Se||Se(le,be,$))&&(ae.push(le),Qe&&fe.push(Me));return ae}function to(G,fe,Se,be,$,le){return be&&!be[De]&&(be=to(be)),$&&!$[De]&&($=to($,le)),yn(function(ae,Me,Le,Qe){var et,Xe,Dt,xt,Ht=[],Dn=[],er=Me.length,Vn=ae||El(fe||"*",Le.nodeType?[Le]:Le,[]),Lr=G&&(ae||!fe)?Ho(Vn,Ht,G,Le,Qe):Vn;if(Se?(xt=$||(ae?G:er||be)?[]:Me,Se(Lr,xt,Le,Qe)):xt=Lr,be)for(et=Ho(xt,Dn),be(et,[],Le,Qe),Xe=et.length;Xe--;)(Dt=et[Xe])&&(xt[Dn[Xe]]=!(Lr[Dn[Xe]]=Dt));if(ae){if($||G){if($){for(et=[],Xe=xt.length;Xe--;)(Dt=xt[Xe])&&et.push(Lr[Xe]=Dt);$(null,xt=[],et,Qe)}for(Xe=xt.length;Xe--;)(Dt=xt[Xe])&&(et=$?x.call(ae,Dt):Ht[Xe])>-1&&(ae[et]=!(Me[et]=Dt))}}else xt=Ho(xt===Me?xt.splice(er,xt.length):xt),$?$(null,Me,xt,Qe):I.apply(Me,xt)})}function ar(G){for(var fe,Se,be,$=G.length,le=c.relative[G[0].type],ae=le||c.relative[" "],Me=le?1:0,Le=Oi(function(Xe){return Xe===fe},ae,!0),Qe=Oi(function(Xe){return x.call(fe,Xe)>-1},ae,!0),et=[function(Xe,Dt,xt){var Ht=!le&&(xt||Dt!=g)||((fe=Dt).nodeType?Le(Xe,Dt,xt):Qe(Xe,Dt,xt));return fe=null,Ht}];Me<$;Me++)if(Se=c.relative[G[Me].type])et=[Oi(ns(et),Se)];else{if(Se=c.filter[G[Me].type].apply(null,G[Me].matches),Se[De]){for(be=++Me;be<$&&!c.relative[G[be].type];be++);return to(Me>1&&ns(et),Me>1&&di(G.slice(0,Me-1).concat({value:G[Me-2].type===" "?"*":""})).replace(bt,"$1"),Se,Me<be&&ar(G.slice(Me,be)),be<$&&ar(G=G.slice(be)),be<$&&di(G))}et.push(Se)}return ns(et)}function rs(G,fe){var Se=fe.length>0,be=G.length>0,$=function(le,ae,Me,Le,Qe){var et,Xe,Dt,xt=0,Ht="0",Dn=le&&[],er=[],Vn=g,Lr=le||be&&c.find.TAG("*",Qe),Li=ye+=Vn==null?1:Math.random()||.1,It=Lr.length;for(Qe&&(g=ae==F||ae||Qe);Ht!==It&&(et=Lr[Ht])!=null;Ht++){if(be&&et){for(Xe=0,!ae&&et.ownerDocument!=F&&(eo(et),Me=!K);Dt=G[Xe++];)if(Dt(et,ae||F,Me)){I.call(Le,et);break}Qe&&(ye=Li)}Se&&((et=!Dt&&et)&&xt--,le&&Dn.push(et))}if(xt+=Ht,Se&&Ht!==xt){for(Xe=0;Dt=fe[Xe++];)Dt(Dn,er,ae,Me);if(le){if(xt>0)for(;Ht--;)Dn[Ht]||er[Ht]||(er[Ht]=mt.call(Le));er=Ho(er)}I.apply(Le,er),Qe&&!le&&er.length>0&&xt+fe.length>1&&m.uniqueSort(Le)}return Qe&&(ye=Li,g=Vn),Dn};return Se?yn($):$}function Ia(G,fe){var Se,be=[],$=[],le=Pt[G+" "];if(!le){for(fe||(fe=Vo(G)),Se=fe.length;Se--;)le=ar(fe[Se]),le[De]?be.push(le):$.push(le);le=Pt(G,rs($,be)),le.selector=G}return le}function Ma(G,fe,Se,be){var $,le,ae,Me,Le,Qe=typeof G=="function"&&G,et=!be&&Vo(G=Qe.selector||G);if(Se=Se||[],et.length===1){if(le=et[0]=et[0].slice(0),le.length>2&&(ae=le[0]).type==="ID"&&fe.nodeType===9&&K&&c.relative[le[1].type]){if(fe=(c.find.ID(ae.matches[0].replace(Ie,Ve),fe)||[])[0],fe)Qe&&(fe=fe.parentNode);else return Se;G=G.slice(le.shift().value.length)}for($=A.needsContext.test(G)?0:le.length;$--&&(ae=le[$],!c.relative[Me=ae.type]);)if((Le=c.find[Me])&&(be=Le(ae.matches[0].replace(Ie,Ve),ve.test(le[0].type)&&ts(fe.parentNode)||fe))){if(le.splice($,1),G=be.length&&di(le),!G)return I.apply(Se,be),Se;break}}return(Qe||Ia(G,et))(be,fe,!K,Se,!fe||ve.test(G)&&ts(fe.parentNode)||fe),Se}Q.sortStable=De.split("").sort(ln).join("")===De,eo(),Q.sortDetached=Wn(function(G){return G.compareDocumentPosition(F.createElement("fieldset"))&1}),m.find=gt,m.expr[":"]=m.expr.pseudos,m.unique=m.uniqueSort,gt.compile=Ia,gt.select=Ma,gt.setDocument=eo,gt.tokenize=Vo,gt.escape=m.escapeSelector,gt.getText=m.text,gt.isXML=m.isXMLDoc,gt.selectors=m.expr,gt.support=m.support,gt.uniqueSort=m.uniqueSort})();var At=function(o,c,g){for(var w=[],P=g!==void 0;(o=o[c])&&o.nodeType!==9;)if(o.nodeType===1){if(P&&m(o).is(g))break;w.push(o)}return w},Oe=function(o,c){for(var g=[];o;o=o.nextSibling)o.nodeType===1&&o!==c&&g.push(o);return g},Pe=m.expr.match.needsContext,ze=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function qe(o,c,g){return ee(c)?m.grep(o,function(w,P){return!!c.call(w,P,w)!==g}):c.nodeType?m.grep(o,function(w){return w===c!==g}):typeof c!="string"?m.grep(o,function(w){return x.call(c,w)>-1!==g}):m.filter(c,o,g)}m.filter=function(o,c,g){var w=c[0];return g&&(o=":not("+o+")"),c.length===1&&w.nodeType===1?m.find.matchesSelector(w,o)?[w]:[]:m.find.matches(o,m.grep(c,function(P){return P.nodeType===1}))},m.fn.extend({find:function(o){var c,g,w=this.length,P=this;if(typeof o!="string")return this.pushStack(m(o).filter(function(){for(c=0;c<w;c++)if(m.contains(P[c],this))return!0}));for(g=this.pushStack([]),c=0;c<w;c++)m.find(o,P[c],g);return w>1?m.uniqueSort(g):g},filter:function(o){return this.pushStack(qe(this,o||[],!1))},not:function(o){return this.pushStack(qe(this,o||[],!0))},is:function(o){return!!qe(this,typeof o=="string"&&Pe.test(o)?m(o):o||[],!1).length}});var Ze,Ge=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Ye=m.fn.init=function(o,c,g){var w,P;if(!o)return this;if(g=g||Ze,typeof o=="string")if(o[0]==="<"&&o[o.length-1]===">"&&o.length>=3?w=[null,o,null]:w=Ge.exec(o),w&&(w[1]||!c))if(w[1]){if(c=c instanceof m?c[0]:c,m.merge(this,m.parseHTML(w[1],c&&c.nodeType?c.ownerDocument||c:j,!0)),ze.test(w[1])&&m.isPlainObject(c))for(w in c)ee(this[w])?this[w](c[w]):this.attr(w,c[w]);return this}else return P=j.getElementById(w[2]),P&&(this[0]=P,this.length=1),this;else return!c||c.jquery?(c||g).find(o):this.constructor(c).find(o);else{if(o.nodeType)return this[0]=o,this.length=1,this;if(ee(o))return g.ready!==void 0?g.ready(o):o(m)}return m.makeArray(o,this)};Ye.prototype=m.fn,Ze=m(j);var lt=/^(?:parents|prev(?:Until|All))/,yt={children:!0,contents:!0,next:!0,prev:!0};m.fn.extend({has:function(o){var c=m(o,this),g=c.length;return this.filter(function(){for(var w=0;w<g;w++)if(m.contains(this,c[w]))return!0})},closest:function(o,c){var g,w=0,P=this.length,I=[],F=typeof o!="string"&&m(o);if(!Pe.test(o)){for(;w<P;w++)for(g=this[w];g&&g!==c;g=g.parentNode)if(g.nodeType<11&&(F?F.index(g)>-1:g.nodeType===1&&m.find.matchesSelector(g,o))){I.push(g);break}}return this.pushStack(I.length>1?m.uniqueSort(I):I)},index:function(o){return o?typeof o=="string"?x.call(m(o),this[0]):x.call(this,o.jquery?o[0]:o):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(o,c){return this.pushStack(m.uniqueSort(m.merge(this.get(),m(o,c))))},addBack:function(o){return this.add(o==null?this.prevObject:this.prevObject.filter(o))}});function ht(o,c){for(;(o=o[c])&&o.nodeType!==1;);return o}m.each({parent:function(o){var c=o.parentNode;return c&&c.nodeType!==11?c:null},parents:function(o){return At(o,"parentNode")},parentsUntil:function(o,c,g){return At(o,"parentNode",g)},next:function(o){return ht(o,"nextSibling")},prev:function(o){return ht(o,"previousSibling")},nextAll:function(o){return At(o,"nextSibling")},prevAll:function(o){return At(o,"previousSibling")},nextUntil:function(o,c,g){return At(o,"nextSibling",g)},prevUntil:function(o,c,g){return At(o,"previousSibling",g)},siblings:function(o){return Oe((o.parentNode||{}).firstChild,o)},children:function(o){return Oe(o.firstChild)},contents:function(o){return o.contentDocument!=null&&a(o.contentDocument)?o.contentDocument:(Ce(o,"template")&&(o=o.content||o),m.merge([],o.childNodes))}},function(o,c){m.fn[o]=function(g,w){var P=m.map(this,c,g);return o.slice(-5)!=="Until"&&(w=g),w&&typeof w=="string"&&(P=m.filter(w,P)),this.length>1&&(yt[o]||m.uniqueSort(P),lt.test(o)&&P.reverse()),this.pushStack(P)}});var ut=/[^\x20\t\r\n\f]+/g;function Ct(o){var c={};return m.each(o.match(ut)||[],function(g,w){c[w]=!0}),c}m.Callbacks=function(o){o=typeof o=="string"?Ct(o):m.extend({},o);var c,g,w,P,I=[],F=[],re=-1,K=function(){for(P=P||o.once,w=c=!0;F.length;re=-1)for(g=F.shift();++re<I.length;)I[re].apply(g[0],g[1])===!1&&o.stopOnFalse&&(re=I.length,g=!1);o.memory||(g=!1),c=!1,P&&(g?I=[]:I="")},he={add:function(){return I&&(g&&!c&&(re=I.length-1,F.push(g)),function Ae(De){m.each(De,function(ye,Be){ee(Be)?(!o.unique||!he.has(Be))&&I.push(Be):Be&&Be.length&&xe(Be)!=="string"&&Ae(Be)})}(arguments),g&&!c&&K()),this},remove:function(){return m.each(arguments,function(Ae,De){for(var ye;(ye=m.inArray(De,I,ye))>-1;)I.splice(ye,1),ye<=re&&re--}),this},has:function(Ae){return Ae?m.inArray(Ae,I)>-1:I.length>0},empty:function(){return I&&(I=[]),this},disable:function(){return P=F=[],I=g="",this},disabled:function(){return!I},lock:function(){return P=F=[],!g&&!c&&(I=g=""),this},locked:function(){return!!P},fireWith:function(Ae,De){return P||(De=De||[],De=[Ae,De.slice?De.slice():De],F.push(De),c||K()),this},fire:function(){return he.fireWith(this,arguments),this},fired:function(){return!!w}};return he};function $e(o){return o}function Wt(o){throw o}function zt(o,c,g,w){var P;try{o&&ee(P=o.promise)?P.call(o).done(c).fail(g):o&&ee(P=o.then)?P.call(o,c,g):c.apply(void 0,[o].slice(w))}catch(I){g.apply(void 0,[I])}}m.extend({Deferred:function(o){var c=[["notify","progress",m.Callbacks("memory"),m.Callbacks("memory"),2],["resolve","done",m.Callbacks("once memory"),m.Callbacks("once memory"),0,"resolved"],["reject","fail",m.Callbacks("once memory"),m.Callbacks("once memory"),1,"rejected"]],g="pending",w={state:function(){return g},always:function(){return P.done(arguments).fail(arguments),this},catch:function(I){return w.then(null,I)},pipe:function(){var I=arguments;return m.Deferred(function(F){m.each(c,function(re,K){var he=ee(I[K[4]])&&I[K[4]];P[K[1]](function(){var Ae=he&&he.apply(this,arguments);Ae&&ee(Ae.promise)?Ae.promise().progress(F.notify).done(F.resolve).fail(F.reject):F[K[0]+"With"](this,he?[Ae]:arguments)})}),I=null}).promise()},then:function(I,F,re){var K=0;function he(Ae,De,ye,Be){return function(){var Je=this,Et=arguments,Pt=function(){var ln,Ir;if(!(Ae<K)){if(ln=ye.apply(Je,Et),ln===De.promise())throw new TypeError("Thenable self-resolution");Ir=ln&&(typeof ln=="object"||typeof ln=="function")&&ln.then,ee(Ir)?Be?Ir.call(ln,he(K,De,$e,Be),he(K,De,Wt,Be)):(K++,Ir.call(ln,he(K,De,$e,Be),he(K,De,Wt,Be),he(K,De,$e,De.notifyWith))):(ye!==$e&&(Je=void 0,Et=[ln]),(Be||De.resolveWith)(Je,Et))}},Pn=Be?Pt:function(){try{Pt()}catch(ln){m.Deferred.exceptionHook&&m.Deferred.exceptionHook(ln,Pn.error),Ae+1>=K&&(ye!==Wt&&(Je=void 0,Et=[ln]),De.rejectWith(Je,Et))}};Ae?Pn():(m.Deferred.getErrorHook?Pn.error=m.Deferred.getErrorHook():m.Deferred.getStackHook&&(Pn.error=m.Deferred.getStackHook()),t.setTimeout(Pn))}}return m.Deferred(function(Ae){c[0][3].add(he(0,Ae,ee(re)?re:$e,Ae.notifyWith)),c[1][3].add(he(0,Ae,ee(I)?I:$e)),c[2][3].add(he(0,Ae,ee(F)?F:Wt))}).promise()},promise:function(I){return I!=null?m.extend(I,w):w}},P={};return m.each(c,function(I,F){var re=F[2],K=F[5];w[F[1]]=re.add,K&&re.add(function(){g=K},c[3-I][2].disable,c[3-I][3].disable,c[0][2].lock,c[0][3].lock),re.add(F[3].fire),P[F[0]]=function(){return P[F[0]+"With"](this===P?void 0:this,arguments),this},P[F[0]+"With"]=re.fireWith}),w.promise(P),o&&o.call(P,P),P},when:function(o){var c=arguments.length,g=c,w=Array(g),P=h.call(arguments),I=m.Deferred(),F=function(re){return function(K){w[re]=this,P[re]=arguments.length>1?h.call(arguments):K,--c||I.resolveWith(w,P)}};if(c<=1&&(zt(o,I.done(F(g)).resolve,I.reject,!c),I.state()==="pending"||ee(P[g]&&P[g].then)))return I.then();for(;g--;)zt(P[g],F(g),I.reject);return I.promise()}});var Un=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;m.Deferred.exceptionHook=function(o,c){t.console&&t.console.warn&&o&&Un.test(o.name)&&t.console.warn("jQuery.Deferred exception: "+o.message,o.stack,c)},m.readyException=function(o){t.setTimeout(function(){throw o})};var dr=m.Deferred();m.fn.ready=function(o){return dr.then(o).catch(function(c){m.readyException(c)}),this},m.extend({isReady:!1,readyWait:1,ready:function(o){(o===!0?--m.readyWait:m.isReady)||(m.isReady=!0,!(o!==!0&&--m.readyWait>0)&&dr.resolveWith(j,[m]))}}),m.ready.then=dr.then;function zn(){j.removeEventListener("DOMContentLoaded",zn),t.removeEventListener("load",zn),m.ready()}j.readyState==="complete"||j.readyState!=="loading"&&!j.documentElement.doScroll?t.setTimeout(m.ready):(j.addEventListener("DOMContentLoaded",zn),t.addEventListener("load",zn));var xn=function(o,c,g,w,P,I,F){var re=0,K=o.length,he=g==null;if(xe(g)==="object"){P=!0;for(re in g)xn(o,c,re,g[re],!0,I,F)}else if(w!==void 0&&(P=!0,ee(w)||(F=!0),he&&(F?(c.call(o,w),c=null):(he=c,c=function(Ae,De,ye){return he.call(m(Ae),ye)})),c))for(;re<K;re++)c(o[re],g,F?w:w.call(o[re],re,c(o[re],g)));return P?o:he?c.call(o):K?c(o[0],g):I},Ei=/^-ms-/,Sr=/-([a-z])/g;function Jn(o,c){return c.toUpperCase()}function an(o){return o.replace(Ei,"ms-").replace(Sr,Jn)}var un=function(o){return o.nodeType===1||o.nodeType===9||!+o.nodeType};function cn(){this.expando=m.expando+cn.uid++}cn.uid=1,cn.prototype={cache:function(o){var c=o[this.expando];return c||(c={},un(o)&&(o.nodeType?o[this.expando]=c:Object.defineProperty(o,this.expando,{value:c,configurable:!0}))),c},set:function(o,c,g){var w,P=this.cache(o);if(typeof c=="string")P[an(c)]=g;else for(w in c)P[an(w)]=c[w];return P},get:function(o,c){return c===void 0?this.cache(o):o[this.expando]&&o[this.expando][an(c)]},access:function(o,c,g){return c===void 0||c&&typeof c=="string"&&g===void 0?this.get(o,c):(this.set(o,c,g),g!==void 0?g:c)},remove:function(o,c){var g,w=o[this.expando];if(w!==void 0){if(c!==void 0)for(Array.isArray(c)?c=c.map(an):(c=an(c),c=c in w?[c]:c.match(ut)||[]),g=c.length;g--;)delete w[c[g]];(c===void 0||m.isEmptyObject(w))&&(o.nodeType?o[this.expando]=void 0:delete o[this.expando])}},hasData:function(o){var c=o[this.expando];return c!==void 0&&!m.isEmptyObject(c)}};var rt=new cn,_n=new cn,ti=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,on=/[A-Z]/g;function ki(o){return o==="true"?!0:o==="false"?!1:o==="null"?null:o===+o+""?+o:ti.test(o)?JSON.parse(o):o}function _i(o,c,g){var w;if(g===void 0&&o.nodeType===1)if(w="data-"+c.replace(on,"-$&").toLowerCase(),g=o.getAttribute(w),typeof g=="string"){try{g=ki(g)}catch{}_n.set(o,c,g)}else g=void 0;return g}m.extend({hasData:function(o){return _n.hasData(o)||rt.hasData(o)},data:function(o,c,g){return _n.access(o,c,g)},removeData:function(o,c){_n.remove(o,c)},_data:function(o,c,g){return rt.access(o,c,g)},_removeData:function(o,c){rt.remove(o,c)}}),m.fn.extend({data:function(o,c){var g,w,P,I=this[0],F=I&&I.attributes;if(o===void 0){if(this.length&&(P=_n.get(I),I.nodeType===1&&!rt.get(I,"hasDataAttrs"))){for(g=F.length;g--;)F[g]&&(w=F[g].name,w.indexOf("data-")===0&&(w=an(w.slice(5)),_i(I,w,P[w])));rt.set(I,"hasDataAttrs",!0)}return P}return typeof o=="object"?this.each(function(){_n.set(this,o)}):xn(this,function(re){var K;if(I&&re===void 0)return K=_n.get(I,o),K!==void 0||(K=_i(I,o),K!==void 0)?K:void 0;this.each(function(){_n.set(this,o,re)})},null,c,arguments.length>1,null,!0)},removeData:function(o){return this.each(function(){_n.remove(this,o)})}}),m.extend({queue:function(o,c,g){var w;if(o)return c=(c||"fx")+"queue",w=rt.get(o,c),g&&(!w||Array.isArray(g)?w=rt.access(o,c,m.makeArray(g)):w.push(g)),w||[]},dequeue:function(o,c){c=c||"fx";var g=m.queue(o,c),w=g.length,P=g.shift(),I=m._queueHooks(o,c),F=function(){m.dequeue(o,c)};P==="inprogress"&&(P=g.shift(),w--),P&&(c==="fx"&&g.unshift("inprogress"),delete I.stop,P.call(o,F,I)),!w&&I&&I.empty.fire()},_queueHooks:function(o,c){var g=c+"queueHooks";return rt.get(o,g)||rt.access(o,g,{empty:m.Callbacks("once memory").add(function(){rt.remove(o,[c+"queue",g])})})}}),m.fn.extend({queue:function(o,c){var g=2;return typeof o!="string"&&(c=o,o="fx",g--),arguments.length<g?m.queue(this[0],o):c===void 0?this:this.each(function(){var w=m.queue(this,o,c);m._queueHooks(this,o),o==="fx"&&w[0]!=="inprogress"&&m.dequeue(this,o)})},dequeue:function(o){return this.each(function(){m.dequeue(this,o)})},clearQueue:function(o){return this.queue(o||"fx",[])},promise:function(o,c){var g,w=1,P=m.Deferred(),I=this,F=this.length,re=function(){--w||P.resolveWith(I,[I])};for(typeof o!="string"&&(c=o,o=void 0),o=o||"fx";F--;)g=rt.get(I[F],o+"queueHooks"),g&&g.empty&&(w++,g.empty.add(re));return re(),P.promise(c)}});var Ri=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Cr=new RegExp("^(?:([+-])=|)("+Ri+")([a-z%]*)$","i"),Bn=["Top","Right","Bottom","Left"],Tr=j.documentElement,hr=function(o){return m.contains(o.ownerDocument,o)},Wr={composed:!0};Tr.getRootNode&&(hr=function(o){return m.contains(o.ownerDocument,o)||o.getRootNode(Wr)===o.ownerDocument});var Vr=function(o,c){return o=c||o,o.style.display==="none"||o.style.display===""&&hr(o)&&m.css(o,"display")==="none"};function po(o,c,g,w){var P,I,F=20,re=w?function(){return w.cur()}:function(){return m.css(o,c,"")},K=re(),he=g&&g[3]||(m.cssNumber[c]?"":"px"),Ae=o.nodeType&&(m.cssNumber[c]||he!=="px"&&+K)&&Cr.exec(m.css(o,c));if(Ae&&Ae[3]!==he){for(K=K/2,he=he||Ae[3],Ae=+K||1;F--;)m.style(o,c,Ae+he),(1-I)*(1-(I=re()/K||.5))<=0&&(F=0),Ae=Ae/I;Ae=Ae*2,m.style(o,c,Ae+he),g=g||[]}return g&&(Ae=+Ae||+K||0,P=g[1]?Ae+(g[1]+1)*g[2]:+g[2],w&&(w.unit=he,w.start=Ae,w.end=P)),P}var $n={};function Hr(o){var c,g=o.ownerDocument,w=o.nodeName,P=$n[w];return P||(c=g.body.appendChild(g.createElement(w)),P=m.css(c,"display"),c.parentNode.removeChild(c),P==="none"&&(P="block"),$n[w]=P,P)}function Kn(o,c){for(var g,w,P=[],I=0,F=o.length;I<F;I++)w=o[I],w.style&&(g=w.style.display,c?(g==="none"&&(P[I]=rt.get(w,"display")||null,P[I]||(w.style.display="")),w.style.display===""&&Vr(w)&&(P[I]=Hr(w))):g!=="none"&&(P[I]="none",rt.set(w,"display",g)));for(I=0;I<F;I++)P[I]!=null&&(o[I].style.display=P[I]);return o}m.fn.extend({show:function(){return Kn(this,!0)},hide:function(){return Kn(this)},toggle:function(o){return typeof o=="boolean"?o?this.show():this.hide():this.each(function(){Vr(this)?m(this).show():m(this).hide()})}});var Gt=/^(?:checkbox|radio)$/i,ni=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ai=/^$|^module$|\/(?:java|ecma)script/i;(function(){var o=j.createDocumentFragment(),c=o.appendChild(j.createElement("div")),g=j.createElement("input");g.setAttribute("type","radio"),g.setAttribute("checked","checked"),g.setAttribute("name","t"),c.appendChild(g),Q.checkClone=c.cloneNode(!0).cloneNode(!0).lastChild.checked,c.innerHTML="<textarea>x</textarea>",Q.noCloneChecked=!!c.cloneNode(!0).lastChild.defaultValue,c.innerHTML="<option></option>",Q.option=!!c.lastChild})();var Rn={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Rn.tbody=Rn.tfoot=Rn.colgroup=Rn.caption=Rn.thead,Rn.th=Rn.td,Q.option||(Rn.optgroup=Rn.option=[1,"<select multiple='multiple'>","</select>"]);function fn(o,c){var g;return typeof o.getElementsByTagName<"u"?g=o.getElementsByTagName(c||"*"):typeof o.querySelectorAll<"u"?g=o.querySelectorAll(c||"*"):g=[],c===void 0||c&&Ce(o,c)?m.merge([o],g):g}function ri(o,c){for(var g=0,w=o.length;g<w;g++)rt.set(o[g],"globalEval",!c||rt.get(c[g],"globalEval"))}var ii=/<|&#?\w+;/;function hn(o,c,g,w,P){for(var I,F,re,K,he,Ae,De=c.createDocumentFragment(),ye=[],Be=0,Je=o.length;Be<Je;Be++)if(I=o[Be],I||I===0)if(xe(I)==="object")m.merge(ye,I.nodeType?[I]:I);else if(!ii.test(I))ye.push(c.createTextNode(I));else{for(F=F||De.appendChild(c.createElement("div")),re=(ni.exec(I)||["",""])[1].toLowerCase(),K=Rn[re]||Rn._default,F.innerHTML=K[1]+m.htmlPrefilter(I)+K[2],Ae=K[0];Ae--;)F=F.lastChild;m.merge(ye,F.childNodes),F=De.firstChild,F.textContent=""}for(De.textContent="",Be=0;I=ye[Be++];){if(w&&m.inArray(I,w)>-1){P&&P.push(I);continue}if(he=hr(I),F=fn(De.appendChild(I),"script"),he&&ri(F),g)for(Ae=0;I=F[Ae++];)Ai.test(I.type||"")&&g.push(I)}return De}var Gi=/^([^.]*)(?:\.(.+)|)/;function pr(){return!0}function oi(){return!1}function sn(o,c,g,w,P,I){var F,re;if(typeof c=="object"){typeof g!="string"&&(w=w||g,g=void 0);for(re in c)sn(o,re,g,w,c[re],I);return o}if(w==null&&P==null?(P=g,w=g=void 0):P==null&&(typeof g=="string"?(P=w,w=void 0):(P=w,w=g,g=void 0)),P===!1)P=oi;else if(!P)return o;return I===1&&(F=P,P=function(K){return m().off(K),F.apply(this,arguments)},P.guid=F.guid||(F.guid=m.guid++)),o.each(function(){m.event.add(this,c,P,w,g)})}m.event={global:{},add:function(o,c,g,w,P){var I,F,re,K,he,Ae,De,ye,Be,Je,Et,Pt=rt.get(o);if(un(o))for(g.handler&&(I=g,g=I.handler,P=I.selector),P&&m.find.matchesSelector(Tr,P),g.guid||(g.guid=m.guid++),(K=Pt.events)||(K=Pt.events=Object.create(null)),(F=Pt.handle)||(F=Pt.handle=function(Pn){return typeof m<"u"&&m.event.triggered!==Pn.type?m.event.dispatch.apply(o,arguments):void 0}),c=(c||"").match(ut)||[""],he=c.length;he--;)re=Gi.exec(c[he])||[],Be=Et=re[1],Je=(re[2]||"").split(".").sort(),Be&&(De=m.event.special[Be]||{},Be=(P?De.delegateType:De.bindType)||Be,De=m.event.special[Be]||{},Ae=m.extend({type:Be,origType:Et,data:w,handler:g,guid:g.guid,selector:P,needsContext:P&&m.expr.match.needsContext.test(P),namespace:Je.join(".")},I),(ye=K[Be])||(ye=K[Be]=[],ye.delegateCount=0,(!De.setup||De.setup.call(o,w,Je,F)===!1)&&o.addEventListener&&o.addEventListener(Be,F)),De.add&&(De.add.call(o,Ae),Ae.handler.guid||(Ae.handler.guid=g.guid)),P?ye.splice(ye.delegateCount++,0,Ae):ye.push(Ae),m.event.global[Be]=!0)},remove:function(o,c,g,w,P){var I,F,re,K,he,Ae,De,ye,Be,Je,Et,Pt=rt.hasData(o)&&rt.get(o);if(!(!Pt||!(K=Pt.events))){for(c=(c||"").match(ut)||[""],he=c.length;he--;){if(re=Gi.exec(c[he])||[],Be=Et=re[1],Je=(re[2]||"").split(".").sort(),!Be){for(Be in K)m.event.remove(o,Be+c[he],g,w,!0);continue}for(De=m.event.special[Be]||{},Be=(w?De.delegateType:De.bindType)||Be,ye=K[Be]||[],re=re[2]&&new RegExp("(^|\\.)"+Je.join("\\.(?:.*\\.|)")+"(\\.|$)"),F=I=ye.length;I--;)Ae=ye[I],(P||Et===Ae.origType)&&(!g||g.guid===Ae.guid)&&(!re||re.test(Ae.namespace))&&(!w||w===Ae.selector||w==="**"&&Ae.selector)&&(ye.splice(I,1),Ae.selector&&ye.delegateCount--,De.remove&&De.remove.call(o,Ae));F&&!ye.length&&((!De.teardown||De.teardown.call(o,Je,Pt.handle)===!1)&&m.removeEvent(o,Be,Pt.handle),delete K[Be])}m.isEmptyObject(K)&&rt.remove(o,"handle events")}},dispatch:function(o){var c,g,w,P,I,F,re=new Array(arguments.length),K=m.event.fix(o),he=(rt.get(this,"events")||Object.create(null))[K.type]||[],Ae=m.event.special[K.type]||{};for(re[0]=K,c=1;c<arguments.length;c++)re[c]=arguments[c];if(K.delegateTarget=this,!(Ae.preDispatch&&Ae.preDispatch.call(this,K)===!1)){for(F=m.event.handlers.call(this,K,he),c=0;(P=F[c++])&&!K.isPropagationStopped();)for(K.currentTarget=P.elem,g=0;(I=P.handlers[g++])&&!K.isImmediatePropagationStopped();)(!K.rnamespace||I.namespace===!1||K.rnamespace.test(I.namespace))&&(K.handleObj=I,K.data=I.data,w=((m.event.special[I.origType]||{}).handle||I.handler).apply(P.elem,re),w!==void 0&&(K.result=w)===!1&&(K.preventDefault(),K.stopPropagation()));return Ae.postDispatch&&Ae.postDispatch.call(this,K),K.result}},handlers:function(o,c){var g,w,P,I,F,re=[],K=c.delegateCount,he=o.target;if(K&&he.nodeType&&!(o.type==="click"&&o.button>=1)){for(;he!==this;he=he.parentNode||this)if(he.nodeType===1&&!(o.type==="click"&&he.disabled===!0)){for(I=[],F={},g=0;g<K;g++)w=c[g],P=w.selector+" ",F[P]===void 0&&(F[P]=w.needsContext?m(P,this).index(he)>-1:m.find(P,this,null,[he]).length),F[P]&&I.push(w);I.length&&re.push({elem:he,handlers:I})}}return he=this,K<c.length&&re.push({elem:he,handlers:c.slice(K)}),re},addProp:function(o,c){Object.defineProperty(m.Event.prototype,o,{enumerable:!0,configurable:!0,get:ee(c)?function(){if(this.originalEvent)return c(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[o]},set:function(g){Object.defineProperty(this,o,{enumerable:!0,configurable:!0,writable:!0,value:g})}})},fix:function(o){return o[m.expando]?o:new m.Event(o)},special:{load:{noBubble:!0},click:{setup:function(o){var c=this||o;return Gt.test(c.type)&&c.click&&Ce(c,"input")&&hi(c,"click",!0),!1},trigger:function(o){var c=this||o;return Gt.test(c.type)&&c.click&&Ce(c,"input")&&hi(c,"click"),!0},_default:function(o){var c=o.target;return Gt.test(c.type)&&c.click&&Ce(c,"input")&&rt.get(c,"click")||Ce(c,"a")}},beforeunload:{postDispatch:function(o){o.result!==void 0&&o.originalEvent&&(o.originalEvent.returnValue=o.result)}}}};function hi(o,c,g){if(!g){rt.get(o,c)===void 0&&m.event.add(o,c,pr);return}rt.set(o,c,!1),m.event.add(o,c,{namespace:!1,handler:function(w){var P,I=rt.get(this,c);if(w.isTrigger&1&&this[c]){if(I)(m.event.special[c]||{}).delegateType&&w.stopPropagation();else if(I=h.call(arguments),rt.set(this,c,I),this[c](),P=rt.get(this,c),rt.set(this,c,!1),I!==P)return w.stopImmediatePropagation(),w.preventDefault(),P}else I&&(rt.set(this,c,m.event.trigger(I[0],I.slice(1),this)),w.stopPropagation(),w.isImmediatePropagationStopped=pr)}})}m.removeEvent=function(o,c,g){o.removeEventListener&&o.removeEventListener(c,g)},m.Event=function(o,c){if(!(this instanceof m.Event))return new m.Event(o,c);o&&o.type?(this.originalEvent=o,this.type=o.type,this.isDefaultPrevented=o.defaultPrevented||o.defaultPrevented===void 0&&o.returnValue===!1?pr:oi,this.target=o.target&&o.target.nodeType===3?o.target.parentNode:o.target,this.currentTarget=o.currentTarget,this.relatedTarget=o.relatedTarget):this.type=o,c&&m.extend(this,c),this.timeStamp=o&&o.timeStamp||Date.now(),this[m.expando]=!0},m.Event.prototype={constructor:m.Event,isDefaultPrevented:oi,isPropagationStopped:oi,isImmediatePropagationStopped:oi,isSimulated:!1,preventDefault:function(){var o=this.originalEvent;this.isDefaultPrevented=pr,o&&!this.isSimulated&&o.preventDefault()},stopPropagation:function(){var o=this.originalEvent;this.isPropagationStopped=pr,o&&!this.isSimulated&&o.stopPropagation()},stopImmediatePropagation:function(){var o=this.originalEvent;this.isImmediatePropagationStopped=pr,o&&!this.isSimulated&&o.stopImmediatePropagation(),this.stopPropagation()}},m.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},m.event.addProp),m.each({focus:"focusin",blur:"focusout"},function(o,c){function g(w){if(j.documentMode){var P=rt.get(this,"handle"),I=m.event.fix(w);I.type=w.type==="focusin"?"focus":"blur",I.isSimulated=!0,P(w),I.target===I.currentTarget&&P(I)}else m.event.simulate(c,w.target,m.event.fix(w))}m.event.special[o]={setup:function(){var w;if(hi(this,o,!0),j.documentMode)w=rt.get(this,c),w||this.addEventListener(c,g),rt.set(this,c,(w||0)+1);else return!1},trigger:function(){return hi(this,o),!0},teardown:function(){var w;if(j.documentMode)w=rt.get(this,c)-1,w?rt.set(this,c,w):(this.removeEventListener(c,g),rt.remove(this,c));else return!1},_default:function(w){return rt.get(w.target,o)},delegateType:c},m.event.special[c]={setup:function(){var w=this.ownerDocument||this.document||this,P=j.documentMode?this:w,I=rt.get(P,c);I||(j.documentMode?this.addEventListener(c,g):w.addEventListener(o,g,!0)),rt.set(P,c,(I||0)+1)},teardown:function(){var w=this.ownerDocument||this.document||this,P=j.documentMode?this:w,I=rt.get(P,c)-1;I?rt.set(P,c,I):(j.documentMode?this.removeEventListener(c,g):w.removeEventListener(o,g,!0),rt.remove(P,c))}}}),m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(o,c){m.event.special[o]={delegateType:c,bindType:c,handle:function(g){var w,P=this,I=g.relatedTarget,F=g.handleObj;return(!I||I!==P&&!m.contains(P,I))&&(g.type=F.origType,w=F.handler.apply(this,arguments),g.type=c),w}}}),m.fn.extend({on:function(o,c,g,w){return sn(this,o,c,g,w)},one:function(o,c,g,w){return sn(this,o,c,g,w,1)},off:function(o,c,g){var w,P;if(o&&o.preventDefault&&o.handleObj)return w=o.handleObj,m(o.delegateTarget).off(w.namespace?w.origType+"."+w.namespace:w.origType,w.selector,w.handler),this;if(typeof o=="object"){for(P in o)this.off(P,c,o[P]);return this}return(c===!1||typeof c=="function")&&(g=c,c=void 0),g===!1&&(g=oi),this.each(function(){m.event.remove(this,o,g,c)})}});var ia=/<script|<style|<link/i,oa=/checked\s*(?:[^=]|=\s*.checked.)/i,Ur=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Xi(o,c){return Ce(o,"table")&&Ce(c.nodeType!==11?c:c.firstChild,"tr")&&m(o).children("tbody")[0]||o}function qi(o){return o.type=(o.getAttribute("type")!==null)+"/"+o.type,o}function go(o){return(o.type||"").slice(0,5)==="true/"?o.type=o.type.slice(5):o.removeAttribute("type"),o}function pi(o,c){var g,w,P,I,F,re,K;if(c.nodeType===1){if(rt.hasData(o)&&(I=rt.get(o),K=I.events,K)){rt.remove(c,"handle events");for(P in K)for(g=0,w=K[P].length;g<w;g++)m.event.add(c,P,K[P][g])}_n.hasData(o)&&(F=_n.access(o),re=m.extend({},F),_n.set(c,re))}}function ai(o,c){var g=c.nodeName.toLowerCase();g==="input"&&Gt.test(o.type)?c.checked=o.checked:(g==="input"||g==="textarea")&&(c.defaultValue=o.defaultValue)}function gi(o,c,g,w){c=v(c);var P,I,F,re,K,he,Ae=0,De=o.length,ye=De-1,Be=c[0],Je=ee(Be);if(Je||De>1&&typeof Be=="string"&&!Q.checkClone&&oa.test(Be))return o.each(function(Et){var Pt=o.eq(Et);Je&&(c[0]=Be.call(this,Et,Pt.html())),gi(Pt,c,g,w)});if(De&&(P=hn(c,o[0].ownerDocument,!1,o,w),I=P.firstChild,P.childNodes.length===1&&(P=I),I||w)){for(F=m.map(fn(P,"script"),qi),re=F.length;Ae<De;Ae++)K=P,Ae!==ye&&(K=m.clone(K,!0,!0),re&&m.merge(F,fn(K,"script"))),g.call(o[Ae],K,Ae);if(re)for(he=F[F.length-1].ownerDocument,m.map(F,go),Ae=0;Ae<re;Ae++)K=F[Ae],Ai.test(K.type||"")&&!rt.access(K,"globalEval")&&m.contains(he,K)&&(K.src&&(K.type||"").toLowerCase()!=="module"?m._evalUrl&&!K.noModule&&m._evalUrl(K.src,{nonce:K.nonce||K.getAttribute("nonce")},he):oe(K.textContent.replace(Ur,""),K,he))}return o}function Zi(o,c,g){for(var w,P=c?m.filter(c,o):o,I=0;(w=P[I])!=null;I++)!g&&w.nodeType===1&&m.cleanData(fn(w)),w.parentNode&&(g&&hr(w)&&ri(fn(w,"script")),w.parentNode.removeChild(w));return o}m.extend({htmlPrefilter:function(o){return o},clone:function(o,c,g){var w,P,I,F,re=o.cloneNode(!0),K=hr(o);if(!Q.noCloneChecked&&(o.nodeType===1||o.nodeType===11)&&!m.isXMLDoc(o))for(F=fn(re),I=fn(o),w=0,P=I.length;w<P;w++)ai(I[w],F[w]);if(c)if(g)for(I=I||fn(o),F=F||fn(re),w=0,P=I.length;w<P;w++)pi(I[w],F[w]);else pi(o,re);return F=fn(re,"script"),F.length>0&&ri(F,!K&&fn(o,"script")),re},cleanData:function(o){for(var c,g,w,P=m.event.special,I=0;(g=o[I])!==void 0;I++)if(un(g)){if(c=g[rt.expando]){if(c.events)for(w in c.events)P[w]?m.event.remove(g,w):m.removeEvent(g,w,c.handle);g[rt.expando]=void 0}g[_n.expando]&&(g[_n.expando]=void 0)}}}),m.fn.extend({detach:function(o){return Zi(this,o,!0)},remove:function(o){return Zi(this,o)},text:function(o){return xn(this,function(c){return c===void 0?m.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=c)})},null,o,arguments.length)},append:function(){return gi(this,arguments,function(o){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var c=Xi(this,o);c.appendChild(o)}})},prepend:function(){return gi(this,arguments,function(o){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var c=Xi(this,o);c.insertBefore(o,c.firstChild)}})},before:function(){return gi(this,arguments,function(o){this.parentNode&&this.parentNode.insertBefore(o,this)})},after:function(){return gi(this,arguments,function(o){this.parentNode&&this.parentNode.insertBefore(o,this.nextSibling)})},empty:function(){for(var o,c=0;(o=this[c])!=null;c++)o.nodeType===1&&(m.cleanData(fn(o,!1)),o.textContent="");return this},clone:function(o,c){return o=o??!1,c=c??o,this.map(function(){return m.clone(this,o,c)})},html:function(o){return xn(this,function(c){var g=this[0]||{},w=0,P=this.length;if(c===void 0&&g.nodeType===1)return g.innerHTML;if(typeof c=="string"&&!ia.test(c)&&!Rn[(ni.exec(c)||["",""])[1].toLowerCase()]){c=m.htmlPrefilter(c);try{for(;w<P;w++)g=this[w]||{},g.nodeType===1&&(m.cleanData(fn(g,!1)),g.innerHTML=c);g=0}catch{}}g&&this.empty().append(c)},null,o,arguments.length)},replaceWith:function(){var o=[];return gi(this,arguments,function(c){var g=this.parentNode;m.inArray(this,o)<0&&(m.cleanData(fn(this)),g&&g.replaceChild(c,this))},o)}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(o,c){m.fn[o]=function(g){for(var w,P=[],I=m(g),F=I.length-1,re=0;re<=F;re++)w=re===F?this:this.clone(!0),m(I[re])[c](w),T.apply(P,w.get());return this.pushStack(P)}});var mi=new RegExp("^("+Ri+")(?!px)[a-z%]+$","i"),zr=/^--/,gr=function(o){var c=o.ownerDocument.defaultView;return(!c||!c.opener)&&(c=t),c.getComputedStyle(o)},Er=function(o,c,g){var w,P,I={};for(P in c)I[P]=o.style[P],o.style[P]=c[P];w=g.call(o);for(P in c)o.style[P]=I[P];return w},$r=new RegExp(Bn.join("|"),"i");(function(){function o(){if(he){K.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",he.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Tr.appendChild(K).appendChild(he);var Ae=t.getComputedStyle(he);g=Ae.top!=="1%",re=c(Ae.marginLeft)===12,he.style.right="60%",I=c(Ae.right)===36,w=c(Ae.width)===36,he.style.position="absolute",P=c(he.offsetWidth/3)===12,Tr.removeChild(K),he=null}}function c(Ae){return Math.round(parseFloat(Ae))}var g,w,P,I,F,re,K=j.createElement("div"),he=j.createElement("div");he.style&&(he.style.backgroundClip="content-box",he.cloneNode(!0).style.backgroundClip="",Q.clearCloneStyle=he.style.backgroundClip==="content-box",m.extend(Q,{boxSizingReliable:function(){return o(),w},pixelBoxStyles:function(){return o(),I},pixelPosition:function(){return o(),g},reliableMarginLeft:function(){return o(),re},scrollboxSize:function(){return o(),P},reliableTrDimensions:function(){var Ae,De,ye,Be;return F==null&&(Ae=j.createElement("table"),De=j.createElement("tr"),ye=j.createElement("div"),Ae.style.cssText="position:absolute;left:-11111px;border-collapse:separate",De.style.cssText="box-sizing:content-box;border:1px solid",De.style.height="1px",ye.style.height="9px",ye.style.display="block",Tr.appendChild(Ae).appendChild(De).appendChild(ye),Be=t.getComputedStyle(De),F=parseInt(Be.height,10)+parseInt(Be.borderTopWidth,10)+parseInt(Be.borderBottomWidth,10)===De.offsetHeight,Tr.removeChild(Ae)),F}}))})();function kr(o,c,g){var w,P,I,F,re=zr.test(c),K=o.style;return g=g||gr(o),g&&(F=g.getPropertyValue(c)||g[c],re&&F&&(F=F.replace(bt,"$1")||void 0),F===""&&!hr(o)&&(F=m.style(o,c)),!Q.pixelBoxStyles()&&mi.test(F)&&$r.test(c)&&(w=K.width,P=K.minWidth,I=K.maxWidth,K.minWidth=K.maxWidth=K.width=F,F=g.width,K.width=w,K.minWidth=P,K.maxWidth=I)),F!==void 0?F+"":F}function jn(o,c){return{get:function(){if(o()){delete this.get;return}return(this.get=c).apply(this,arguments)}}}var dn=["Webkit","Moz","ms"],_r=j.createElement("div").style,mr={};function An(o){for(var c=o[0].toUpperCase()+o.slice(1),g=dn.length;g--;)if(o=dn[g]+c,o in _r)return o}function si(o){var c=m.cssProps[o]||mr[o];return c||(o in _r?o:mr[o]=An(o)||o)}var Rr=/^(none|table(?!-c[ea]).+)/,Yr={position:"absolute",visibility:"hidden",display:"block"},Yn={letterSpacing:"0",fontWeight:"400"};function Gr(o,c,g){var w=Cr.exec(c);return w?Math.max(0,w[2]-(g||0))+(w[3]||"px"):c}function Xr(o,c,g,w,P,I){var F=c==="width"?1:0,re=0,K=0,he=0;if(g===(w?"border":"content"))return 0;for(;F<4;F+=2)g==="margin"&&(he+=m.css(o,g+Bn[F],!0,P)),w?(g==="content"&&(K-=m.css(o,"padding"+Bn[F],!0,P)),g!=="margin"&&(K-=m.css(o,"border"+Bn[F]+"Width",!0,P))):(K+=m.css(o,"padding"+Bn[F],!0,P),g!=="padding"?K+=m.css(o,"border"+Bn[F]+"Width",!0,P):re+=m.css(o,"border"+Bn[F]+"Width",!0,P));return!w&&I>=0&&(K+=Math.max(0,Math.ceil(o["offset"+c[0].toUpperCase()+c.slice(1)]-I-K-re-.5))||0),K+he}function Pi(o,c,g){var w=gr(o),P=!Q.boxSizingReliable()||g,I=P&&m.css(o,"boxSizing",!1,w)==="border-box",F=I,re=kr(o,c,w),K="offset"+c[0].toUpperCase()+c.slice(1);if(mi.test(re)){if(!g)return re;re="auto"}return(!Q.boxSizingReliable()&&I||!Q.reliableTrDimensions()&&Ce(o,"tr")||re==="auto"||!parseFloat(re)&&m.css(o,"display",!1,w)==="inline")&&o.getClientRects().length&&(I=m.css(o,"boxSizing",!1,w)==="border-box",F=K in o,F&&(re=o[K])),re=parseFloat(re)||0,re+Xr(o,c,g||(I?"border":"content"),F,w,re)+"px"}m.extend({cssHooks:{opacity:{get:function(o,c){if(c){var g=kr(o,"opacity");return g===""?"1":g}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(o,c,g,w){if(!(!o||o.nodeType===3||o.nodeType===8||!o.style)){var P,I,F,re=an(c),K=zr.test(c),he=o.style;if(K||(c=si(re)),F=m.cssHooks[c]||m.cssHooks[re],g!==void 0){if(I=typeof g,I==="string"&&(P=Cr.exec(g))&&P[1]&&(g=po(o,c,P),I="number"),g==null||g!==g)return;I==="number"&&!K&&(g+=P&&P[3]||(m.cssNumber[re]?"":"px")),!Q.clearCloneStyle&&g===""&&c.indexOf("background")===0&&(he[c]="inherit"),(!F||!("set"in F)||(g=F.set(o,g,w))!==void 0)&&(K?he.setProperty(c,g):he[c]=g)}else return F&&"get"in F&&(P=F.get(o,!1,w))!==void 0?P:he[c]}},css:function(o,c,g,w){var P,I,F,re=an(c),K=zr.test(c);return K||(c=si(re)),F=m.cssHooks[c]||m.cssHooks[re],F&&"get"in F&&(P=F.get(o,!0,g)),P===void 0&&(P=kr(o,c,w)),P==="normal"&&c in Yn&&(P=Yn[c]),g===""||g?(I=parseFloat(P),g===!0||isFinite(I)?I||0:P):P}}),m.each(["height","width"],function(o,c){m.cssHooks[c]={get:function(g,w,P){if(w)return Rr.test(m.css(g,"display"))&&(!g.getClientRects().length||!g.getBoundingClientRect().width)?Er(g,Yr,function(){return Pi(g,c,P)}):Pi(g,c,P)},set:function(g,w,P){var I,F=gr(g),re=!Q.scrollboxSize()&&F.position==="absolute",K=re||P,he=K&&m.css(g,"boxSizing",!1,F)==="border-box",Ae=P?Xr(g,c,P,he,F):0;return he&&re&&(Ae-=Math.ceil(g["offset"+c[0].toUpperCase()+c.slice(1)]-parseFloat(F[c])-Xr(g,c,"border",!1,F)-.5)),Ae&&(I=Cr.exec(w))&&(I[3]||"px")!=="px"&&(g.style[c]=w,w=m.css(g,c)),Gr(g,w,Ae)}}}),m.cssHooks.marginLeft=jn(Q.reliableMarginLeft,function(o,c){if(c)return(parseFloat(kr(o,"marginLeft"))||o.getBoundingClientRect().left-Er(o,{marginLeft:0},function(){return o.getBoundingClientRect().left}))+"px"}),m.each({margin:"",padding:"",border:"Width"},function(o,c){m.cssHooks[o+c]={expand:function(g){for(var w=0,P={},I=typeof g=="string"?g.split(" "):[g];w<4;w++)P[o+Bn[w]+c]=I[w]||I[w-2]||I[0];return P}},o!=="margin"&&(m.cssHooks[o+c].set=Gr)}),m.fn.extend({css:function(o,c){return xn(this,function(g,w,P){var I,F,re={},K=0;if(Array.isArray(w)){for(I=gr(g),F=w.length;K<F;K++)re[w[K]]=m.css(g,w[K],!1,I);return re}return P!==void 0?m.style(g,w,P):m.css(g,w)},o,c,arguments.length>1)}});function En(o,c,g,w,P){return new En.prototype.init(o,c,g,w,P)}m.Tween=En,En.prototype={constructor:En,init:function(o,c,g,w,P,I){this.elem=o,this.prop=g,this.easing=P||m.easing._default,this.options=c,this.start=this.now=this.cur(),this.end=w,this.unit=I||(m.cssNumber[g]?"":"px")},cur:function(){var o=En.propHooks[this.prop];return o&&o.get?o.get(this):En.propHooks._default.get(this)},run:function(o){var c,g=En.propHooks[this.prop];return this.options.duration?this.pos=c=m.easing[this.easing](o,this.options.duration*o,0,1,this.options.duration):this.pos=c=o,this.now=(this.end-this.start)*c+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),g&&g.set?g.set(this):En.propHooks._default.set(this),this}},En.prototype.init.prototype=En.prototype,En.propHooks={_default:{get:function(o){var c;return o.elem.nodeType!==1||o.elem[o.prop]!=null&&o.elem.style[o.prop]==null?o.elem[o.prop]:(c=m.css(o.elem,o.prop,""),!c||c==="auto"?0:c)},set:function(o){m.fx.step[o.prop]?m.fx.step[o.prop](o):o.elem.nodeType===1&&(m.cssHooks[o.prop]||o.elem.style[si(o.prop)]!=null)?m.style(o.elem,o.prop,o.now+o.unit):o.elem[o.prop]=o.now}}},En.propHooks.scrollTop=En.propHooks.scrollLeft={set:function(o){o.elem.nodeType&&o.elem.parentNode&&(o.elem[o.prop]=o.now)}},m.easing={linear:function(o){return o},swing:function(o){return .5-Math.cos(o*Math.PI)/2},_default:"swing"},m.fx=En.prototype.init,m.fx.step={};var vr,ir,mo=/^(?:toggle|show|hide)$/,Di=/queueHooks$/;function Ar(){ir&&(j.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(Ar):t.setTimeout(Ar,m.fx.interval),m.fx.tick())}function y(){return t.setTimeout(function(){vr=void 0}),vr=Date.now()}function D(o,c){var g,w=0,P={height:o};for(c=c?1:0;w<4;w+=2-c)g=Bn[w],P["margin"+g]=P["padding"+g]=o;return c&&(P.opacity=P.width=o),P}function V(o,c,g){for(var w,P=(de.tweeners[c]||[]).concat(de.tweeners["*"]),I=0,F=P.length;I<F;I++)if(w=P[I].call(g,c,o))return w}function q(o,c,g){var w,P,I,F,re,K,he,Ae,De="width"in c||"height"in c,ye=this,Be={},Je=o.style,Et=o.nodeType&&Vr(o),Pt=rt.get(o,"fxshow");g.queue||(F=m._queueHooks(o,"fx"),F.unqueued==null&&(F.unqueued=0,re=F.empty.fire,F.empty.fire=function(){F.unqueued||re()}),F.unqueued++,ye.always(function(){ye.always(function(){F.unqueued--,m.queue(o,"fx").length||F.empty.fire()})}));for(w in c)if(P=c[w],mo.test(P)){if(delete c[w],I=I||P==="toggle",P===(Et?"hide":"show"))if(P==="show"&&Pt&&Pt[w]!==void 0)Et=!0;else continue;Be[w]=Pt&&Pt[w]||m.style(o,w)}if(K=!m.isEmptyObject(c),!(!K&&m.isEmptyObject(Be))){De&&o.nodeType===1&&(g.overflow=[Je.overflow,Je.overflowX,Je.overflowY],he=Pt&&Pt.display,he==null&&(he=rt.get(o,"display")),Ae=m.css(o,"display"),Ae==="none"&&(he?Ae=he:(Kn([o],!0),he=o.style.display||he,Ae=m.css(o,"display"),Kn([o]))),(Ae==="inline"||Ae==="inline-block"&&he!=null)&&m.css(o,"float")==="none"&&(K||(ye.done(function(){Je.display=he}),he==null&&(Ae=Je.display,he=Ae==="none"?"":Ae)),Je.display="inline-block")),g.overflow&&(Je.overflow="hidden",ye.always(function(){Je.overflow=g.overflow[0],Je.overflowX=g.overflow[1],Je.overflowY=g.overflow[2]})),K=!1;for(w in Be)K||(Pt?"hidden"in Pt&&(Et=Pt.hidden):Pt=rt.access(o,"fxshow",{display:he}),I&&(Pt.hidden=!Et),Et&&Kn([o],!0),ye.done(function(){Et||Kn([o]),rt.remove(o,"fxshow");for(w in Be)m.style(o,w,Be[w])})),K=V(Et?Pt[w]:0,w,ye),w in Pt||(Pt[w]=K.start,Et&&(K.end=K.start,K.start=0))}}function we(o,c){var g,w,P,I,F;for(g in o)if(w=an(g),P=c[w],I=o[g],Array.isArray(I)&&(P=I[1],I=o[g]=I[0]),g!==w&&(o[w]=I,delete o[g]),F=m.cssHooks[w],F&&"expand"in F){I=F.expand(I),delete o[w];for(g in I)g in o||(o[g]=I[g],c[g]=P)}else c[w]=P}function de(o,c,g){var w,P,I=0,F=de.prefilters.length,re=m.Deferred().always(function(){delete K.elem}),K=function(){if(P)return!1;for(var De=vr||y(),ye=Math.max(0,he.startTime+he.duration-De),Be=ye/he.duration||0,Je=1-Be,Et=0,Pt=he.tweens.length;Et<Pt;Et++)he.tweens[Et].run(Je);return re.notifyWith(o,[he,Je,ye]),Je<1&&Pt?ye:(Pt||re.notifyWith(o,[he,1,0]),re.resolveWith(o,[he]),!1)},he=re.promise({elem:o,props:m.extend({},c),opts:m.extend(!0,{specialEasing:{},easing:m.easing._default},g),originalProperties:c,originalOptions:g,startTime:vr||y(),duration:g.duration,tweens:[],createTween:function(De,ye){var Be=m.Tween(o,he.opts,De,ye,he.opts.specialEasing[De]||he.opts.easing);return he.tweens.push(Be),Be},stop:function(De){var ye=0,Be=De?he.tweens.length:0;if(P)return this;for(P=!0;ye<Be;ye++)he.tweens[ye].run(1);return De?(re.notifyWith(o,[he,1,0]),re.resolveWith(o,[he,De])):re.rejectWith(o,[he,De]),this}}),Ae=he.props;for(we(Ae,he.opts.specialEasing);I<F;I++)if(w=de.prefilters[I].call(he,o,Ae,he.opts),w)return ee(w.stop)&&(m._queueHooks(he.elem,he.opts.queue).stop=w.stop.bind(w)),w;return m.map(Ae,V,he),ee(he.opts.start)&&he.opts.start.call(o,he),he.progress(he.opts.progress).done(he.opts.done,he.opts.complete).fail(he.opts.fail).always(he.opts.always),m.fx.timer(m.extend(K,{elem:o,anim:he,queue:he.opts.queue})),he}m.Animation=m.extend(de,{tweeners:{"*":[function(o,c){var g=this.createTween(o,c);return po(g.elem,o,Cr.exec(c),g),g}]},tweener:function(o,c){ee(o)?(c=o,o=["*"]):o=o.match(ut);for(var g,w=0,P=o.length;w<P;w++)g=o[w],de.tweeners[g]=de.tweeners[g]||[],de.tweeners[g].unshift(c)},prefilters:[q],prefilter:function(o,c){c?de.prefilters.unshift(o):de.prefilters.push(o)}}),m.speed=function(o,c,g){var w=o&&typeof o=="object"?m.extend({},o):{complete:g||!g&&c||ee(o)&&o,duration:o,easing:g&&c||c&&!ee(c)&&c};return m.fx.off?w.duration=0:typeof w.duration!="number"&&(w.duration in m.fx.speeds?w.duration=m.fx.speeds[w.duration]:w.duration=m.fx.speeds._default),(w.queue==null||w.queue===!0)&&(w.queue="fx"),w.old=w.complete,w.complete=function(){ee(w.old)&&w.old.call(this),w.queue&&m.dequeue(this,w.queue)},w},m.fn.extend({fadeTo:function(o,c,g,w){return this.filter(Vr).css("opacity",0).show().end().animate({opacity:c},o,g,w)},animate:function(o,c,g,w){var P=m.isEmptyObject(o),I=m.speed(c,g,w),F=function(){var re=de(this,m.extend({},o),I);(P||rt.get(this,"finish"))&&re.stop(!0)};return F.finish=F,P||I.queue===!1?this.each(F):this.queue(I.queue,F)},stop:function(o,c,g){var w=function(P){var I=P.stop;delete P.stop,I(g)};return typeof o!="string"&&(g=c,c=o,o=void 0),c&&this.queue(o||"fx",[]),this.each(function(){var P=!0,I=o!=null&&o+"queueHooks",F=m.timers,re=rt.get(this);if(I)re[I]&&re[I].stop&&w(re[I]);else for(I in re)re[I]&&re[I].stop&&Di.test(I)&&w(re[I]);for(I=F.length;I--;)F[I].elem===this&&(o==null||F[I].queue===o)&&(F[I].anim.stop(g),P=!1,F.splice(I,1));(P||!g)&&m.dequeue(this,o)})},finish:function(o){return o!==!1&&(o=o||"fx"),this.each(function(){var c,g=rt.get(this),w=g[o+"queue"],P=g[o+"queueHooks"],I=m.timers,F=w?w.length:0;for(g.finish=!0,m.queue(this,o,[]),P&&P.stop&&P.stop.call(this,!0),c=I.length;c--;)I[c].elem===this&&I[c].queue===o&&(I[c].anim.stop(!0),I.splice(c,1));for(c=0;c<F;c++)w[c]&&w[c].finish&&w[c].finish.call(this);delete g.finish})}}),m.each(["toggle","show","hide"],function(o,c){var g=m.fn[c];m.fn[c]=function(w,P,I){return w==null||typeof w=="boolean"?g.apply(this,arguments):this.animate(D(c,!0),w,P,I)}}),m.each({slideDown:D("show"),slideUp:D("hide"),slideToggle:D("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(o,c){m.fn[o]=function(g,w,P){return this.animate(c,g,w,P)}}),m.timers=[],m.fx.tick=function(){var o,c=0,g=m.timers;for(vr=Date.now();c<g.length;c++)o=g[c],!o()&&g[c]===o&&g.splice(c--,1);g.length||m.fx.stop(),vr=void 0},m.fx.timer=function(o){m.timers.push(o),m.fx.start()},m.fx.interval=13,m.fx.start=function(){ir||(ir=!0,Ar())},m.fx.stop=function(){ir=null},m.fx.speeds={slow:600,fast:200,_default:400},m.fn.delay=function(o,c){return o=m.fx&&m.fx.speeds[o]||o,c=c||"fx",this.queue(c,function(g,w){var P=t.setTimeout(g,o);w.stop=function(){t.clearTimeout(P)}})},function(){var o=j.createElement("input"),c=j.createElement("select"),g=c.appendChild(j.createElement("option"));o.type="checkbox",Q.checkOn=o.value!=="",Q.optSelected=g.selected,o=j.createElement("input"),o.value="t",o.type="radio",Q.radioValue=o.value==="t"}();var Re,He=m.expr.attrHandle;m.fn.extend({attr:function(o,c){return xn(this,m.attr,o,c,arguments.length>1)},removeAttr:function(o){return this.each(function(){m.removeAttr(this,o)})}}),m.extend({attr:function(o,c,g){var w,P,I=o.nodeType;if(!(I===3||I===8||I===2)){if(typeof o.getAttribute>"u")return m.prop(o,c,g);if((I!==1||!m.isXMLDoc(o))&&(P=m.attrHooks[c.toLowerCase()]||(m.expr.match.bool.test(c)?Re:void 0)),g!==void 0){if(g===null){m.removeAttr(o,c);return}return P&&"set"in P&&(w=P.set(o,g,c))!==void 0?w:(o.setAttribute(c,g+""),g)}return P&&"get"in P&&(w=P.get(o,c))!==null?w:(w=m.find.attr(o,c),w??void 0)}},attrHooks:{type:{set:function(o,c){if(!Q.radioValue&&c==="radio"&&Ce(o,"input")){var g=o.value;return o.setAttribute("type",c),g&&(o.value=g),c}}}},removeAttr:function(o,c){var g,w=0,P=c&&c.match(ut);if(P&&o.nodeType===1)for(;g=P[w++];)o.removeAttribute(g)}}),Re={set:function(o,c,g){return c===!1?m.removeAttr(o,g):o.setAttribute(g,g),g}},m.each(m.expr.match.bool.source.match(/\w+/g),function(o,c){var g=He[c]||m.find.attr;He[c]=function(w,P,I){var F,re,K=P.toLowerCase();return I||(re=He[K],He[K]=F,F=g(w,P,I)!=null?K:null,He[K]=re),F}});var ot=/^(?:input|select|textarea|button)$/i,pt=/^(?:a|area)$/i;m.fn.extend({prop:function(o,c){return xn(this,m.prop,o,c,arguments.length>1)},removeProp:function(o){return this.each(function(){delete this[m.propFix[o]||o]})}}),m.extend({prop:function(o,c,g){var w,P,I=o.nodeType;if(!(I===3||I===8||I===2))return(I!==1||!m.isXMLDoc(o))&&(c=m.propFix[c]||c,P=m.propHooks[c]),g!==void 0?P&&"set"in P&&(w=P.set(o,g,c))!==void 0?w:o[c]=g:P&&"get"in P&&(w=P.get(o,c))!==null?w:o[c]},propHooks:{tabIndex:{get:function(o){var c=m.find.attr(o,"tabindex");return c?parseInt(c,10):ot.test(o.nodeName)||pt.test(o.nodeName)&&o.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),Q.optSelected||(m.propHooks.selected={get:function(o){var c=o.parentNode;return c&&c.parentNode&&c.parentNode.selectedIndex,null},set:function(o){var c=o.parentNode;c&&(c.selectedIndex,c.parentNode&&c.parentNode.selectedIndex)}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this});function at(o){var c=o.match(ut)||[];return c.join(" ")}function jt(o){return o.getAttribute&&o.getAttribute("class")||""}function Gn(o){return Array.isArray(o)?o:typeof o=="string"?o.match(ut)||[]:[]}m.fn.extend({addClass:function(o){var c,g,w,P,I,F;return ee(o)?this.each(function(re){m(this).addClass(o.call(this,re,jt(this)))}):(c=Gn(o),c.length?this.each(function(){if(w=jt(this),g=this.nodeType===1&&" "+at(w)+" ",g){for(I=0;I<c.length;I++)P=c[I],g.indexOf(" "+P+" ")<0&&(g+=P+" ");F=at(g),w!==F&&this.setAttribute("class",F)}}):this)},removeClass:function(o){var c,g,w,P,I,F;return ee(o)?this.each(function(re){m(this).removeClass(o.call(this,re,jt(this)))}):arguments.length?(c=Gn(o),c.length?this.each(function(){if(w=jt(this),g=this.nodeType===1&&" "+at(w)+" ",g){for(I=0;I<c.length;I++)for(P=c[I];g.indexOf(" "+P+" ")>-1;)g=g.replace(" "+P+" "," ");F=at(g),w!==F&&this.setAttribute("class",F)}}):this):this.attr("class","")},toggleClass:function(o,c){var g,w,P,I,F=typeof o,re=F==="string"||Array.isArray(o);return ee(o)?this.each(function(K){m(this).toggleClass(o.call(this,K,jt(this),c),c)}):typeof c=="boolean"&&re?c?this.addClass(o):this.removeClass(o):(g=Gn(o),this.each(function(){if(re)for(I=m(this),P=0;P<g.length;P++)w=g[P],I.hasClass(w)?I.removeClass(w):I.addClass(w);else(o===void 0||F==="boolean")&&(w=jt(this),w&&rt.set(this,"__className__",w),this.setAttribute&&this.setAttribute("class",w||o===!1?"":rt.get(this,"__className__")||""))}))},hasClass:function(o){var c,g,w=0;for(c=" "+o+" ";g=this[w++];)if(g.nodeType===1&&(" "+at(jt(g))+" ").indexOf(c)>-1)return!0;return!1}});var Nn=/\r/g;m.fn.extend({val:function(o){var c,g,w,P=this[0];return arguments.length?(w=ee(o),this.each(function(I){var F;this.nodeType===1&&(w?F=o.call(this,I,m(this).val()):F=o,F==null?F="":typeof F=="number"?F+="":Array.isArray(F)&&(F=m.map(F,function(re){return re==null?"":re+""})),c=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()],(!c||!("set"in c)||c.set(this,F,"value")===void 0)&&(this.value=F))})):P?(c=m.valHooks[P.type]||m.valHooks[P.nodeName.toLowerCase()],c&&"get"in c&&(g=c.get(P,"value"))!==void 0?g:(g=P.value,typeof g=="string"?g.replace(Nn,""):g??"")):void 0}}),m.extend({valHooks:{option:{get:function(o){var c=m.find.attr(o,"value");return c??at(m.text(o))}},select:{get:function(o){var c,g,w,P=o.options,I=o.selectedIndex,F=o.type==="select-one",re=F?null:[],K=F?I+1:P.length;for(I<0?w=K:w=F?I:0;w<K;w++)if(g=P[w],(g.selected||w===I)&&!g.disabled&&(!g.parentNode.disabled||!Ce(g.parentNode,"optgroup"))){if(c=m(g).val(),F)return c;re.push(c)}return re},set:function(o,c){for(var g,w,P=o.options,I=m.makeArray(c),F=P.length;F--;)w=P[F],(w.selected=m.inArray(m.valHooks.option.get(w),I)>-1)&&(g=!0);return g||(o.selectedIndex=-1),I}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(o,c){if(Array.isArray(c))return o.checked=m.inArray(m(o).val(),c)>-1}},Q.checkOn||(m.valHooks[this].get=function(o){return o.getAttribute("value")===null?"on":o.value})});var wn=t.location,Pr={guid:Date.now()},Qn=/\?/;m.parseXML=function(o){var c,g;if(!o||typeof o!="string")return null;try{c=new t.DOMParser().parseFromString(o,"text/xml")}catch{}return g=c&&c.getElementsByTagName("parsererror")[0],(!c||g)&&m.error("Invalid XML: "+(g?m.map(g.childNodes,function(w){return w.textContent}).join(`
169
- `):o)),c};var Ii=/^(?:focusinfocus|focusoutblur)$/,li=function(o){o.stopPropagation()};m.extend(m.event,{trigger:function(o,c,g,w){var P,I,F,re,K,he,Ae,De,ye=[g||j],Be=_.call(o,"type")?o.type:o,Je=_.call(o,"namespace")?o.namespace.split("."):[];if(I=De=F=g=g||j,!(g.nodeType===3||g.nodeType===8)&&!Ii.test(Be+m.event.triggered)&&(Be.indexOf(".")>-1&&(Je=Be.split("."),Be=Je.shift(),Je.sort()),K=Be.indexOf(":")<0&&"on"+Be,o=o[m.expando]?o:new m.Event(Be,typeof o=="object"&&o),o.isTrigger=w?2:3,o.namespace=Je.join("."),o.rnamespace=o.namespace?new RegExp("(^|\\.)"+Je.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,o.result=void 0,o.target||(o.target=g),c=c==null?[o]:m.makeArray(c,[o]),Ae=m.event.special[Be]||{},!(!w&&Ae.trigger&&Ae.trigger.apply(g,c)===!1))){if(!w&&!Ae.noBubble&&!Z(g)){for(re=Ae.delegateType||Be,Ii.test(re+Be)||(I=I.parentNode);I;I=I.parentNode)ye.push(I),F=I;F===(g.ownerDocument||j)&&ye.push(F.defaultView||F.parentWindow||t)}for(P=0;(I=ye[P++])&&!o.isPropagationStopped();)De=I,o.type=P>1?re:Ae.bindType||Be,he=(rt.get(I,"events")||Object.create(null))[o.type]&&rt.get(I,"handle"),he&&he.apply(I,c),he=K&&I[K],he&&he.apply&&un(I)&&(o.result=he.apply(I,c),o.result===!1&&o.preventDefault());return o.type=Be,!w&&!o.isDefaultPrevented()&&(!Ae._default||Ae._default.apply(ye.pop(),c)===!1)&&un(g)&&K&&ee(g[Be])&&!Z(g)&&(F=g[K],F&&(g[K]=null),m.event.triggered=Be,o.isPropagationStopped()&&De.addEventListener(Be,li),g[Be](),o.isPropagationStopped()&&De.removeEventListener(Be,li),m.event.triggered=void 0,F&&(g[K]=F)),o.result}},simulate:function(o,c,g){var w=m.extend(new m.Event,g,{type:o,isSimulated:!0});m.event.trigger(w,null,c)}}),m.fn.extend({trigger:function(o,c){return this.each(function(){m.event.trigger(o,c,this)})},triggerHandler:function(o,c){var g=this[0];if(g)return m.event.trigger(o,c,g,!0)}});var Mi=/\[\]$/,Dr=/\r?\n/g,vo=/^(?:submit|button|image|reset|file)$/i,es=/^(?:input|select|textarea|keygen)/i;function aa(o,c,g,w){var P;if(Array.isArray(c))m.each(c,function(I,F){g||Mi.test(o)?w(o,F):aa(o+"["+(typeof F=="object"&&F!=null?I:"")+"]",F,g,w)});else if(!g&&xe(c)==="object")for(P in c)aa(o+"["+P+"]",c[P],g,w);else w(o,c)}m.param=function(o,c){var g,w=[],P=function(I,F){var re=ee(F)?F():F;w[w.length]=encodeURIComponent(I)+"="+encodeURIComponent(re??"")};if(o==null)return"";if(Array.isArray(o)||o.jquery&&!m.isPlainObject(o))m.each(o,function(){P(this.name,this.value)});else for(g in o)aa(g,o[g],c,P);return w.join("&")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var o=m.prop(this,"elements");return o?m.makeArray(o):this}).filter(function(){var o=this.type;return this.name&&!m(this).is(":disabled")&&es.test(this.nodeName)&&!vo.test(o)&&(this.checked||!Gt.test(o))}).map(function(o,c){var g=m(this).val();return g==null?null:Array.isArray(g)?m.map(g,function(w){return{name:c.name,value:w.replace(Dr,`\r
170
- `)}}):{name:c.name,value:g.replace(Dr,`\r
171
- `)}}).get()}});var sa=/%20/g,la=/#.*$/,ua=/([?&])_=[^&]*/,ui=/^(.*?):[ \t]*([^\r\n]*)$/mg,yo=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Bo=/^(?:GET|HEAD)$/,nn=/^\/\//,Xt={},Bt={},vi="*/".concat("*"),qr=j.createElement("a");qr.href=wn.href;function bo(o){return function(c,g){typeof c!="string"&&(g=c,c="*");var w,P=0,I=c.toLowerCase().match(ut)||[];if(ee(g))for(;w=I[P++];)w[0]==="+"?(w=w.slice(1)||"*",(o[w]=o[w]||[]).unshift(g)):(o[w]=o[w]||[]).push(g)}}function ci(o,c,g,w){var P={},I=o===Bt;function F(re){var K;return P[re]=!0,m.each(o[re]||[],function(he,Ae){var De=Ae(c,g,w);if(typeof De=="string"&&!I&&!P[De])return c.dataTypes.unshift(De),F(De),!1;if(I)return!(K=De)}),K}return F(c.dataTypes[0])||!P["*"]&&F("*")}function or(o,c){var g,w,P=m.ajaxSettings.flatOptions||{};for(g in c)c[g]!==void 0&&((P[g]?o:w||(w={}))[g]=c[g]);return w&&m.extend(!0,o,w),o}function ca(o,c,g){for(var w,P,I,F,re=o.contents,K=o.dataTypes;K[0]==="*";)K.shift(),w===void 0&&(w=o.mimeType||c.getResponseHeader("Content-Type"));if(w){for(P in re)if(re[P]&&re[P].test(w)){K.unshift(P);break}}if(K[0]in g)I=K[0];else{for(P in g){if(!K[0]||o.converters[P+" "+K[0]]){I=P;break}F||(F=P)}I=I||F}if(I)return I!==K[0]&&K.unshift(I),g[I]}function jo(o,c,g,w){var P,I,F,re,K,he={},Ae=o.dataTypes.slice();if(Ae[1])for(F in o.converters)he[F.toLowerCase()]=o.converters[F];for(I=Ae.shift();I;)if(o.responseFields[I]&&(g[o.responseFields[I]]=c),!K&&w&&o.dataFilter&&(c=o.dataFilter(c,o.dataType)),K=I,I=Ae.shift(),I){if(I==="*")I=K;else if(K!=="*"&&K!==I){if(F=he[K+" "+I]||he["* "+I],!F){for(P in he)if(re=P.split(" "),re[1]===I&&(F=he[K+" "+re[0]]||he["* "+re[0]],F)){F===!0?F=he[P]:he[P]!==!0&&(I=re[0],Ae.unshift(re[1]));break}}if(F!==!0)if(F&&o.throws)c=F(c);else try{c=F(c)}catch(De){return{state:"parsererror",error:F?De:"No conversion from "+K+" to "+I}}}}return{state:"success",data:c}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wn.href,type:"GET",isLocal:yo.test(wn.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":vi,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(o,c){return c?or(or(o,m.ajaxSettings),c):or(m.ajaxSettings,o)},ajaxPrefilter:bo(Xt),ajaxTransport:bo(Bt),ajax:function(o,c){typeof o=="object"&&(c=o,o=void 0),c=c||{};var g,w,P,I,F,re,K,he,Ae,De,ye=m.ajaxSetup({},c),Be=ye.context||ye,Je=ye.context&&(Be.nodeType||Be.jquery)?m(Be):m.event,Et=m.Deferred(),Pt=m.Callbacks("once memory"),Pn=ye.statusCode||{},ln={},Ir={},Mr="canceled",Nt={readyState:0,getResponseHeader:function(Vt){var en;if(K){if(!I)for(I={};en=ui.exec(P);)I[en[1].toLowerCase()+" "]=(I[en[1].toLowerCase()+" "]||[]).concat(en[2]);en=I[Vt.toLowerCase()+" "]}return en==null?null:en.join(", ")},getAllResponseHeaders:function(){return K?P:null},setRequestHeader:function(Vt,en){return K==null&&(Vt=Ir[Vt.toLowerCase()]=Ir[Vt.toLowerCase()]||Vt,ln[Vt]=en),this},overrideMimeType:function(Vt){return K==null&&(ye.mimeType=Vt),this},statusCode:function(Vt){var en;if(Vt)if(K)Nt.always(Vt[Nt.status]);else for(en in Vt)Pn[en]=[Pn[en],Vt[en]];return this},abort:function(Vt){var en=Vt||Mr;return g&&g.abort(en),Or(0,en),this}};if(Et.promise(Nt),ye.url=((o||ye.url||wn.href)+"").replace(nn,wn.protocol+"//"),ye.type=c.method||c.type||ye.method||ye.type,ye.dataTypes=(ye.dataType||"*").toLowerCase().match(ut)||[""],ye.crossDomain==null){re=j.createElement("a");try{re.href=ye.url,re.href=re.href,ye.crossDomain=qr.protocol+"//"+qr.host!=re.protocol+"//"+re.host}catch{ye.crossDomain=!0}}if(ye.data&&ye.processData&&typeof ye.data!="string"&&(ye.data=m.param(ye.data,ye.traditional)),ci(Xt,ye,c,Nt),K)return Nt;he=m.event&&ye.global,he&&m.active++===0&&m.event.trigger("ajaxStart"),ye.type=ye.type.toUpperCase(),ye.hasContent=!Bo.test(ye.type),w=ye.url.replace(la,""),ye.hasContent?ye.data&&ye.processData&&(ye.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(ye.data=ye.data.replace(sa,"+")):(De=ye.url.slice(w.length),ye.data&&(ye.processData||typeof ye.data=="string")&&(w+=(Qn.test(w)?"&":"?")+ye.data,delete ye.data),ye.cache===!1&&(w=w.replace(ua,"$1"),De=(Qn.test(w)?"&":"?")+"_="+Pr.guid+++De),ye.url=w+De),ye.ifModified&&(m.lastModified[w]&&Nt.setRequestHeader("If-Modified-Since",m.lastModified[w]),m.etag[w]&&Nt.setRequestHeader("If-None-Match",m.etag[w])),(ye.data&&ye.hasContent&&ye.contentType!==!1||c.contentType)&&Nt.setRequestHeader("Content-Type",ye.contentType),Nt.setRequestHeader("Accept",ye.dataTypes[0]&&ye.accepts[ye.dataTypes[0]]?ye.accepts[ye.dataTypes[0]]+(ye.dataTypes[0]!=="*"?", "+vi+"; q=0.01":""):ye.accepts["*"]);for(Ae in ye.headers)Nt.setRequestHeader(Ae,ye.headers[Ae]);if(ye.beforeSend&&(ye.beforeSend.call(Be,Nt,ye)===!1||K))return Nt.abort();if(Mr="abort",Pt.add(ye.complete),Nt.done(ye.success),Nt.fail(ye.error),g=ci(Bt,ye,c,Nt),!g)Or(-1,"No Transport");else{if(Nt.readyState=1,he&&Je.trigger("ajaxSend",[Nt,ye]),K)return Nt;ye.async&&ye.timeout>0&&(F=t.setTimeout(function(){Nt.abort("timeout")},ye.timeout));try{K=!1,g.send(ln,Or)}catch(Vt){if(K)throw Vt;Or(-1,Vt)}}function Or(Vt,en,Ki,Qi){var yr,b,A,B,X,me=en;K||(K=!0,F&&t.clearTimeout(F),g=void 0,P=Qi||"",Nt.readyState=Vt>0?4:0,yr=Vt>=200&&Vt<300||Vt===304,Ki&&(B=ca(ye,Nt,Ki)),!yr&&m.inArray("script",ye.dataTypes)>-1&&m.inArray("json",ye.dataTypes)<0&&(ye.converters["text script"]=function(){}),B=jo(ye,B,Nt,yr),yr?(ye.ifModified&&(X=Nt.getResponseHeader("Last-Modified"),X&&(m.lastModified[w]=X),X=Nt.getResponseHeader("etag"),X&&(m.etag[w]=X)),Vt===204||ye.type==="HEAD"?me="nocontent":Vt===304?me="notmodified":(me=B.state,b=B.data,A=B.error,yr=!A)):(A=me,(Vt||!me)&&(me="error",Vt<0&&(Vt=0))),Nt.status=Vt,Nt.statusText=(en||me)+"",yr?Et.resolveWith(Be,[b,me,Nt]):Et.rejectWith(Be,[Nt,me,A]),Nt.statusCode(Pn),Pn=void 0,he&&Je.trigger(yr?"ajaxSuccess":"ajaxError",[Nt,ye,yr?b:A]),Pt.fireWith(Be,[Nt,me]),he&&(Je.trigger("ajaxComplete",[Nt,ye]),--m.active||m.event.trigger("ajaxStop")))}return Nt},getJSON:function(o,c,g){return m.get(o,c,g,"json")},getScript:function(o,c){return m.get(o,void 0,c,"script")}}),m.each(["get","post"],function(o,c){m[c]=function(g,w,P,I){return ee(w)&&(I=I||P,P=w,w=void 0),m.ajax(m.extend({url:g,type:c,dataType:I,data:w,success:P},m.isPlainObject(g)&&g))}}),m.ajaxPrefilter(function(o){var c;for(c in o.headers)c.toLowerCase()==="content-type"&&(o.contentType=o.headers[c]||"")}),m._evalUrl=function(o,c,g){return m.ajax({url:o,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(w){m.globalEval(w,c,g)}})},m.fn.extend({wrapAll:function(o){var c;return this[0]&&(ee(o)&&(o=o.call(this[0])),c=m(o,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&c.insertBefore(this[0]),c.map(function(){for(var g=this;g.firstElementChild;)g=g.firstElementChild;return g}).append(this)),this},wrapInner:function(o){return ee(o)?this.each(function(c){m(this).wrapInner(o.call(this,c))}):this.each(function(){var c=m(this),g=c.contents();g.length?g.wrapAll(o):c.append(o)})},wrap:function(o){var c=ee(o);return this.each(function(g){m(this).wrapAll(c?o.call(this,g):o)})},unwrap:function(o){return this.parent(o).not("body").each(function(){m(this).replaceWith(this.childNodes)}),this}}),m.expr.pseudos.hidden=function(o){return!m.expr.pseudos.visible(o)},m.expr.pseudos.visible=function(o){return!!(o.offsetWidth||o.offsetHeight||o.getClientRects().length)},m.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var Ra={0:200,1223:204},pn=m.ajaxSettings.xhr();Q.cors=!!pn&&"withCredentials"in pn,Q.ajax=pn=!!pn,m.ajaxTransport(function(o){var c,g;if(Q.cors||pn&&!o.crossDomain)return{send:function(w,P){var I,F=o.xhr();if(F.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(I in o.xhrFields)F[I]=o.xhrFields[I];o.mimeType&&F.overrideMimeType&&F.overrideMimeType(o.mimeType),!o.crossDomain&&!w["X-Requested-With"]&&(w["X-Requested-With"]="XMLHttpRequest");for(I in w)F.setRequestHeader(I,w[I]);c=function(re){return function(){c&&(c=g=F.onload=F.onerror=F.onabort=F.ontimeout=F.onreadystatechange=null,re==="abort"?F.abort():re==="error"?typeof F.status!="number"?P(0,"error"):P(F.status,F.statusText):P(Ra[F.status]||F.status,F.statusText,(F.responseType||"text")!=="text"||typeof F.responseText!="string"?{binary:F.response}:{text:F.responseText},F.getAllResponseHeaders()))}},F.onload=c(),g=F.onerror=F.ontimeout=c("error"),F.onabort!==void 0?F.onabort=g:F.onreadystatechange=function(){F.readyState===4&&t.setTimeout(function(){c&&g()})},c=c("abort");try{F.send(o.hasContent&&o.data||null)}catch(re){if(c)throw re}},abort:function(){c&&c()}}}),m.ajaxPrefilter(function(o){o.crossDomain&&(o.contents.script=!1)}),m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(o){return m.globalEval(o),o}}}),m.ajaxPrefilter("script",function(o){o.cache===void 0&&(o.cache=!1),o.crossDomain&&(o.type="GET")}),m.ajaxTransport("script",function(o){if(o.crossDomain||o.scriptAttrs){var c,g;return{send:function(w,P){c=m("<script>").attr(o.scriptAttrs||{}).prop({charset:o.scriptCharset,src:o.url}).on("load error",g=function(I){c.remove(),g=null,I&&P(I.type==="error"?404:200,I.type)}),j.head.appendChild(c[0])},abort:function(){g&&g()}}}});var xo=[],fi=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var o=xo.pop()||m.expando+"_"+Pr.guid++;return this[o]=!0,o}}),m.ajaxPrefilter("json jsonp",function(o,c,g){var w,P,I,F=o.jsonp!==!1&&(fi.test(o.url)?"url":typeof o.data=="string"&&(o.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&fi.test(o.data)&&"data");if(F||o.dataTypes[0]==="jsonp")return w=o.jsonpCallback=ee(o.jsonpCallback)?o.jsonpCallback():o.jsonpCallback,F?o[F]=o[F].replace(fi,"$1"+w):o.jsonp!==!1&&(o.url+=(Qn.test(o.url)?"&":"?")+o.jsonp+"="+w),o.converters["script json"]=function(){return I||m.error(w+" was not called"),I[0]},o.dataTypes[0]="json",P=t[w],t[w]=function(){I=arguments},g.always(function(){P===void 0?m(t).removeProp(w):t[w]=P,o[w]&&(o.jsonpCallback=c.jsonpCallback,xo.push(w)),I&&ee(P)&&P(I[0]),I=P=void 0}),"script"}),Q.createHTMLDocument=function(){var o=j.implementation.createHTMLDocument("").body;return o.innerHTML="<form></form><form></form>",o.childNodes.length===2}(),m.parseHTML=function(o,c,g){if(typeof o!="string")return[];typeof c=="boolean"&&(g=c,c=!1);var w,P,I;return c||(Q.createHTMLDocument?(c=j.implementation.createHTMLDocument(""),w=c.createElement("base"),w.href=j.location.href,c.head.appendChild(w)):c=j),P=ze.exec(o),I=!g&&[],P?[c.createElement(P[1])]:(P=hn([o],c,I),I&&I.length&&m(I).remove(),m.merge([],P.childNodes))},m.fn.load=function(o,c,g){var w,P,I,F=this,re=o.indexOf(" ");return re>-1&&(w=at(o.slice(re)),o=o.slice(0,re)),ee(c)?(g=c,c=void 0):c&&typeof c=="object"&&(P="POST"),F.length>0&&m.ajax({url:o,type:P||"GET",dataType:"html",data:c}).done(function(K){I=arguments,F.html(w?m("<div>").append(m.parseHTML(K)).find(w):K)}).always(g&&function(K,he){F.each(function(){g.apply(this,I||[K.responseText,he,K])})}),this},m.expr.pseudos.animated=function(o){return m.grep(m.timers,function(c){return o===c.elem}).length},m.offset={setOffset:function(o,c,g){var w,P,I,F,re,K,he,Ae=m.css(o,"position"),De=m(o),ye={};Ae==="static"&&(o.style.position="relative"),re=De.offset(),I=m.css(o,"top"),K=m.css(o,"left"),he=(Ae==="absolute"||Ae==="fixed")&&(I+K).indexOf("auto")>-1,he?(w=De.position(),F=w.top,P=w.left):(F=parseFloat(I)||0,P=parseFloat(K)||0),ee(c)&&(c=c.call(o,g,m.extend({},re))),c.top!=null&&(ye.top=c.top-re.top+F),c.left!=null&&(ye.left=c.left-re.left+P),"using"in c?c.using.call(o,ye):De.css(ye)}},m.fn.extend({offset:function(o){if(arguments.length)return o===void 0?this:this.each(function(P){m.offset.setOffset(this,o,P)});var c,g,w=this[0];if(w)return w.getClientRects().length?(c=w.getBoundingClientRect(),g=w.ownerDocument.defaultView,{top:c.top+g.pageYOffset,left:c.left+g.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var o,c,g,w=this[0],P={top:0,left:0};if(m.css(w,"position")==="fixed")c=w.getBoundingClientRect();else{for(c=this.offset(),g=w.ownerDocument,o=w.offsetParent||g.documentElement;o&&(o===g.body||o===g.documentElement)&&m.css(o,"position")==="static";)o=o.parentNode;o&&o!==w&&o.nodeType===1&&(P=m(o).offset(),P.top+=m.css(o,"borderTopWidth",!0),P.left+=m.css(o,"borderLeftWidth",!0))}return{top:c.top-P.top-m.css(w,"marginTop",!0),left:c.left-P.left-m.css(w,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var o=this.offsetParent;o&&m.css(o,"position")==="static";)o=o.offsetParent;return o||Tr})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(o,c){var g=c==="pageYOffset";m.fn[o]=function(w){return xn(this,function(P,I,F){var re;if(Z(P)?re=P:P.nodeType===9&&(re=P.defaultView),F===void 0)return re?re[c]:P[I];re?re.scrollTo(g?re.pageXOffset:F,g?F:re.pageYOffset):P[I]=F},o,w,arguments.length)}}),m.each(["top","left"],function(o,c){m.cssHooks[c]=jn(Q.pixelPosition,function(g,w){if(w)return w=kr(g,c),mi.test(w)?m(g).position()[c]+"px":w})}),m.each({Height:"height",Width:"width"},function(o,c){m.each({padding:"inner"+o,content:c,"":"outer"+o},function(g,w){m.fn[w]=function(P,I){var F=arguments.length&&(g||typeof P!="boolean"),re=g||(P===!0||I===!0?"margin":"border");return xn(this,function(K,he,Ae){var De;return Z(K)?w.indexOf("outer")===0?K["inner"+o]:K.document.documentElement["client"+o]:K.nodeType===9?(De=K.documentElement,Math.max(K.body["scroll"+o],De["scroll"+o],K.body["offset"+o],De["offset"+o],De["client"+o])):Ae===void 0?m.css(K,he,re):m.style(K,he,Ae,re)},c,F?P:void 0,F)}})}),m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(o,c){m.fn[c]=function(g){return this.on(c,g)}}),m.fn.extend({bind:function(o,c,g){return this.on(o,null,c,g)},unbind:function(o,c){return this.off(o,null,c)},delegate:function(o,c,g,w){return this.on(c,o,g,w)},undelegate:function(o,c,g){return arguments.length===1?this.off(o,"**"):this.off(c,o||"**",g)},hover:function(o,c){return this.on("mouseenter",o).on("mouseleave",c||o)}}),m.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(o,c){m.fn[c]=function(g,w){return arguments.length>0?this.on(c,null,g,w):this.trigger(c)}});var Aa=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;m.proxy=function(o,c){var g,w,P;if(typeof c=="string"&&(g=o[c],c=o,o=g),!!ee(o))return w=h.call(arguments,2),P=function(){return o.apply(c||this,w.concat(h.call(arguments)))},P.guid=o.guid=o.guid||m.guid++,P},m.holdReady=function(o){o?m.readyWait++:m.ready(!0)},m.isArray=Array.isArray,m.parseJSON=JSON.parse,m.nodeName=Ce,m.isFunction=ee,m.isWindow=Z,m.camelCase=an,m.type=xe,m.now=Date.now,m.isNumeric=function(o){var c=m.type(o);return(c==="number"||c==="string")&&!isNaN(o-parseFloat(o))},m.trim=function(o){return o==null?"":(o+"").replace(Aa,"$1")};var Ji=t.jQuery,Xn=t.$;return m.noConflict=function(o){return t.$===m&&(t.$=Xn),o&&t.jQuery===m&&(t.jQuery=Ji),m},typeof i>"u"&&(t.jQuery=t.$=m),m})}(yd)),yd.exports}var Hk=Vv();const Uk=df(Hk);var zk={exports:{}};/**
172
- * @version: 3.1
173
- * @author: Dan Grossman http://www.dangrossman.info/
174
- * @copyright: Copyright (c) 2012-2019 Dan Grossman. All rights reserved.
175
- * @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
176
- * @website: http://www.daterangepicker.com/
177
- */(function(n){(function(t,i){if(n.exports){var s=typeof window<"u"?window.jQuery:void 0;s||(s=Vv(),s.fn||(s.fn={}));var a=typeof window<"u"&&typeof window.moment<"u"?window.moment:vw;n.exports=i(a,s)}else t.daterangepicker=i(t.moment,t.jQuery)})(yl,function(t,i){var s=function(a,h,v){if(this.parentEl="body",this.element=i(a),this.startDate=t().startOf("day"),this.endDate=t().endOf("day"),this.minDate=!1,this.maxDate=!1,this.maxSpan=!1,this.autoApply=!1,this.singleDatePicker=!1,this.showDropdowns=!1,this.minYear=t().subtract(100,"year").format("YYYY"),this.maxYear=t().add(100,"year").format("YYYY"),this.showWeekNumbers=!1,this.showISOWeekNumbers=!1,this.showCustomRangeLabel=!0,this.timePicker=!1,this.timePicker24Hour=!1,this.timePickerIncrement=1,this.timePickerSeconds=!1,this.linkedCalendars=!0,this.autoUpdateInput=!0,this.alwaysShowCalendars=!1,this.ranges={},this.opens="right",this.element.hasClass("pull-right")&&(this.opens="left"),this.drops="down",this.element.hasClass("dropup")&&(this.drops="up"),this.buttonClasses="btn btn-sm",this.applyButtonClasses="btn-primary",this.cancelButtonClasses="btn-default",this.locale={direction:"ltr",format:t.localeData().longDateFormat("L"),separator:" - ",applyLabel:"Apply",cancelLabel:"Cancel",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:t.weekdaysMin(),monthNames:t.monthsShort(),firstDay:t.localeData().firstDayOfWeek()},this.callback=function(){},this.isShowing=!1,this.leftCalendar={},this.rightCalendar={},(typeof h!="object"||h===null)&&(h={}),h=i.extend(this.element.data(),h),typeof h.template!="string"&&!(h.template instanceof i)&&(h.template='<div class="daterangepicker"><div class="ranges"></div><div class="drp-calendar left"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-calendar right"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-buttons"><span class="drp-selected"></span><button class="cancelBtn" type="button"></button><button class="applyBtn" disabled="disabled" type="button"></button> </div></div>'),this.parentEl=h.parentEl&&i(h.parentEl).length?i(h.parentEl):i(this.parentEl),this.container=i(h.template).appendTo(this.parentEl),typeof h.locale=="object"&&(typeof h.locale.direction=="string"&&(this.locale.direction=h.locale.direction),typeof h.locale.format=="string"&&(this.locale.format=h.locale.format),typeof h.locale.separator=="string"&&(this.locale.separator=h.locale.separator),typeof h.locale.daysOfWeek=="object"&&(this.locale.daysOfWeek=h.locale.daysOfWeek.slice()),typeof h.locale.monthNames=="object"&&(this.locale.monthNames=h.locale.monthNames.slice()),typeof h.locale.firstDay=="number"&&(this.locale.firstDay=h.locale.firstDay),typeof h.locale.applyLabel=="string"&&(this.locale.applyLabel=h.locale.applyLabel),typeof h.locale.cancelLabel=="string"&&(this.locale.cancelLabel=h.locale.cancelLabel),typeof h.locale.weekLabel=="string"&&(this.locale.weekLabel=h.locale.weekLabel),typeof h.locale.customRangeLabel=="string")){var T=document.createElement("textarea");T.innerHTML=h.locale.customRangeLabel;var x=T.value;this.locale.customRangeLabel=x}if(this.container.addClass(this.locale.direction),typeof h.startDate=="string"&&(this.startDate=t(h.startDate,this.locale.format)),typeof h.endDate=="string"&&(this.endDate=t(h.endDate,this.locale.format)),typeof h.minDate=="string"&&(this.minDate=t(h.minDate,this.locale.format)),typeof h.maxDate=="string"&&(this.maxDate=t(h.maxDate,this.locale.format)),typeof h.startDate=="object"&&(this.startDate=t(h.startDate)),typeof h.endDate=="object"&&(this.endDate=t(h.endDate)),typeof h.minDate=="object"&&(this.minDate=t(h.minDate)),typeof h.maxDate=="object"&&(this.maxDate=t(h.maxDate)),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),typeof h.applyButtonClasses=="string"&&(this.applyButtonClasses=h.applyButtonClasses),typeof h.applyClass=="string"&&(this.applyButtonClasses=h.applyClass),typeof h.cancelButtonClasses=="string"&&(this.cancelButtonClasses=h.cancelButtonClasses),typeof h.cancelClass=="string"&&(this.cancelButtonClasses=h.cancelClass),typeof h.maxSpan=="object"&&(this.maxSpan=h.maxSpan),typeof h.dateLimit=="object"&&(this.maxSpan=h.dateLimit),typeof h.opens=="string"&&(this.opens=h.opens),typeof h.drops=="string"&&(this.drops=h.drops),typeof h.showWeekNumbers=="boolean"&&(this.showWeekNumbers=h.showWeekNumbers),typeof h.showISOWeekNumbers=="boolean"&&(this.showISOWeekNumbers=h.showISOWeekNumbers),typeof h.buttonClasses=="string"&&(this.buttonClasses=h.buttonClasses),typeof h.buttonClasses=="object"&&(this.buttonClasses=h.buttonClasses.join(" ")),typeof h.showDropdowns=="boolean"&&(this.showDropdowns=h.showDropdowns),typeof h.minYear=="number"&&(this.minYear=h.minYear),typeof h.maxYear=="number"&&(this.maxYear=h.maxYear),typeof h.showCustomRangeLabel=="boolean"&&(this.showCustomRangeLabel=h.showCustomRangeLabel),typeof h.singleDatePicker=="boolean"&&(this.singleDatePicker=h.singleDatePicker,this.singleDatePicker&&(this.endDate=this.startDate.clone())),typeof h.timePicker=="boolean"&&(this.timePicker=h.timePicker),typeof h.timePickerSeconds=="boolean"&&(this.timePickerSeconds=h.timePickerSeconds),typeof h.timePickerIncrement=="number"&&(this.timePickerIncrement=h.timePickerIncrement),typeof h.timePicker24Hour=="boolean"&&(this.timePicker24Hour=h.timePicker24Hour),typeof h.autoApply=="boolean"&&(this.autoApply=h.autoApply),typeof h.autoUpdateInput=="boolean"&&(this.autoUpdateInput=h.autoUpdateInput),typeof h.linkedCalendars=="boolean"&&(this.linkedCalendars=h.linkedCalendars),typeof h.isInvalidDate=="function"&&(this.isInvalidDate=h.isInvalidDate),typeof h.isCustomDate=="function"&&(this.isCustomDate=h.isCustomDate),typeof h.alwaysShowCalendars=="boolean"&&(this.alwaysShowCalendars=h.alwaysShowCalendars),this.locale.firstDay!=0)for(var E=this.locale.firstDay;E>0;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),E--;var L,_,H;if(typeof h.startDate>"u"&&typeof h.endDate>"u"&&i(this.element).is(":text")){var Y=i(this.element).val(),Q=Y.split(this.locale.separator);L=_=null,Q.length==2?(L=t(Q[0],this.locale.format),_=t(Q[1],this.locale.format)):this.singleDatePicker&&Y!==""&&(L=t(Y,this.locale.format),_=t(Y,this.locale.format)),L!==null&&_!==null&&(this.setStartDate(L),this.setEndDate(_))}if(typeof h.ranges=="object"){for(H in h.ranges){typeof h.ranges[H][0]=="string"?L=t(h.ranges[H][0],this.locale.format):L=t(h.ranges[H][0]),typeof h.ranges[H][1]=="string"?_=t(h.ranges[H][1],this.locale.format):_=t(h.ranges[H][1]),this.minDate&&L.isBefore(this.minDate)&&(L=this.minDate.clone());var ee=this.maxDate;if(this.maxSpan&&ee&&L.clone().add(this.maxSpan).isAfter(ee)&&(ee=L.clone().add(this.maxSpan)),ee&&_.isAfter(ee)&&(_=ee.clone()),!(this.minDate&&_.isBefore(this.minDate,this.timepicker?"minute":"day")||ee&&L.isAfter(ee,this.timepicker?"minute":"day"))){var T=document.createElement("textarea");T.innerHTML=H;var x=T.value;this.ranges[x]=[L,_]}}var Z="<ul>";for(H in this.ranges)Z+='<li data-range-key="'+H+'">'+H+"</li>";this.showCustomRangeLabel&&(Z+='<li data-range-key="'+this.locale.customRangeLabel+'">'+this.locale.customRangeLabel+"</li>"),Z+="</ul>",this.container.find(".ranges").prepend(Z)}typeof v=="function"&&(this.callback=v),this.timePicker||(this.startDate=this.startDate.startOf("day"),this.endDate=this.endDate.endOf("day"),this.container.find(".calendar-time").hide()),this.timePicker&&this.autoApply&&(this.autoApply=!1),this.autoApply&&this.container.addClass("auto-apply"),typeof h.ranges=="object"&&this.container.addClass("show-ranges"),this.singleDatePicker&&(this.container.addClass("single"),this.container.find(".drp-calendar.left").addClass("single"),this.container.find(".drp-calendar.left").show(),this.container.find(".drp-calendar.right").hide(),!this.timePicker&&this.autoApply&&this.container.addClass("auto-apply")),(typeof h.ranges>"u"&&!this.singleDatePicker||this.alwaysShowCalendars)&&this.container.addClass("show-calendar"),this.container.addClass("opens"+this.opens),this.container.find(".applyBtn, .cancelBtn").addClass(this.buttonClasses),this.applyButtonClasses.length&&this.container.find(".applyBtn").addClass(this.applyButtonClasses),this.cancelButtonClasses.length&&this.container.find(".cancelBtn").addClass(this.cancelButtonClasses),this.container.find(".applyBtn").html(this.locale.applyLabel),this.container.find(".cancelBtn").html(this.locale.cancelLabel),this.container.find(".drp-calendar").on("click.daterangepicker",".prev",i.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",i.proxy(this.clickNext,this)).on("mousedown.daterangepicker","td.available",i.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",i.proxy(this.hoverDate,this)).on("change.daterangepicker","select.yearselect",i.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.monthselect",i.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",i.proxy(this.timeChanged,this)),this.container.find(".ranges").on("click.daterangepicker","li",i.proxy(this.clickRange,this)),this.container.find(".drp-buttons").on("click.daterangepicker","button.applyBtn",i.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",i.proxy(this.clickCancel,this)),this.element.is("input")||this.element.is("button")?this.element.on({"click.daterangepicker":i.proxy(this.show,this),"focus.daterangepicker":i.proxy(this.show,this),"keyup.daterangepicker":i.proxy(this.elementChanged,this),"keydown.daterangepicker":i.proxy(this.keydown,this)}):(this.element.on("click.daterangepicker",i.proxy(this.toggle,this)),this.element.on("keydown.daterangepicker",i.proxy(this.toggle,this))),this.updateElement()};return s.prototype={constructor:s,setStartDate:function(a){typeof a=="string"&&(this.startDate=t(a,this.locale.format)),typeof a=="object"&&(this.startDate=t(a)),this.timePicker||(this.startDate=this.startDate.startOf("day")),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.maxDate&&this.startDate.isAfter(this.maxDate)&&(this.startDate=this.maxDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.floor(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.isShowing||this.updateElement(),this.updateMonthsInView()},setEndDate:function(a){typeof a=="string"&&(this.endDate=t(a,this.locale.format)),typeof a=="object"&&(this.endDate=t(a)),this.timePicker||(this.endDate=this.endDate.endOf("day")),this.timePicker&&this.timePickerIncrement&&this.endDate.minute(Math.round(this.endDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.endDate.isBefore(this.startDate)&&(this.endDate=this.startDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),this.maxSpan&&this.startDate.clone().add(this.maxSpan).isBefore(this.endDate)&&(this.endDate=this.startDate.clone().add(this.maxSpan)),this.previousRightTime=this.endDate.clone(),this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.isShowing||this.updateElement(),this.updateMonthsInView()},isInvalidDate:function(){return!1},isCustomDate:function(){return!1},updateView:function(){this.timePicker&&(this.renderTimePicker("left"),this.renderTimePicker("right"),this.endDate?this.container.find(".right .calendar-time select").prop("disabled",!1).removeClass("disabled"):this.container.find(".right .calendar-time select").prop("disabled",!0).addClass("disabled")),this.endDate&&this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.updateMonthsInView(),this.updateCalendars(),this.updateFormInputs()},updateMonthsInView:function(){if(this.endDate){if(!this.singleDatePicker&&this.leftCalendar.month&&this.rightCalendar.month&&(this.startDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.startDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM"))&&(this.endDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.endDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM")))return;this.leftCalendar.month=this.startDate.clone().date(2),!this.linkedCalendars&&(this.endDate.month()!=this.startDate.month()||this.endDate.year()!=this.startDate.year())?this.rightCalendar.month=this.endDate.clone().date(2):this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month")}else this.leftCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&this.rightCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&(this.leftCalendar.month=this.startDate.clone().date(2),this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"));this.maxDate&&this.linkedCalendars&&!this.singleDatePicker&&this.rightCalendar.month>this.maxDate&&(this.rightCalendar.month=this.maxDate.clone().date(2),this.leftCalendar.month=this.maxDate.clone().date(2).subtract(1,"month"))},updateCalendars:function(){if(this.timePicker){var a,h,v;if(this.endDate){if(a=parseInt(this.container.find(".left .hourselect").val(),10),h=parseInt(this.container.find(".left .minuteselect").val(),10),isNaN(h)&&(h=parseInt(this.container.find(".left .minuteselect option:last").val(),10)),v=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,!this.timePicker24Hour){var T=this.container.find(".left .ampmselect").val();T==="PM"&&a<12&&(a+=12),T==="AM"&&a===12&&(a=0)}}else if(a=parseInt(this.container.find(".right .hourselect").val(),10),h=parseInt(this.container.find(".right .minuteselect").val(),10),isNaN(h)&&(h=parseInt(this.container.find(".right .minuteselect option:last").val(),10)),v=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,!this.timePicker24Hour){var T=this.container.find(".right .ampmselect").val();T==="PM"&&a<12&&(a+=12),T==="AM"&&a===12&&(a=0)}this.leftCalendar.month.hour(a).minute(h).second(v),this.rightCalendar.month.hour(a).minute(h).second(v)}this.renderCalendar("left"),this.renderCalendar("right"),this.container.find(".ranges li").removeClass("active"),this.endDate!=null&&this.calculateChosenLabel()},renderCalendar:function(a){var j=a=="left"?this.leftCalendar:this.rightCalendar,h=j.month.month(),v=j.month.year(),T=j.month.hour(),x=j.month.minute(),E=j.month.second(),L=t([v,h]).daysInMonth(),_=t([v,h,1]),H=t([v,h,L]),Y=t(_).subtract(1,"month").month(),Q=t(_).subtract(1,"month").year(),ee=t([Q,Y]).daysInMonth(),Z=_.day(),j=[];j.firstDay=_,j.lastDay=H;for(var pe=0;pe<6;pe++)j[pe]=[];var oe=ee-Z+this.locale.firstDay+1;oe>ee&&(oe-=7),Z==this.locale.firstDay&&(oe=ee-6);for(var xe=t([Q,Y,oe,12,x,E]),se,Ee,pe=0,se=0,Ee=0;pe<42;pe++,se++,xe=t(xe).add(24,"hour"))pe>0&&se%7===0&&(se=0,Ee++),j[Ee][se]=xe.clone().hour(T).minute(x).second(E),xe.hour(12),this.minDate&&j[Ee][se].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&j[Ee][se].isBefore(this.minDate)&&a=="left"&&(j[Ee][se]=this.minDate.clone()),this.maxDate&&j[Ee][se].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&j[Ee][se].isAfter(this.maxDate)&&a=="right"&&(j[Ee][se]=this.maxDate.clone());a=="left"?this.leftCalendar.calendar=j:this.rightCalendar.calendar=j;var m=a=="left"?this.minDate:this.startDate,ke=this.maxDate;a=="left"?this.startDate:this.endDate,this.locale.direction=="ltr";var Ce='<table class="table-condensed">';Ce+="<thead>",Ce+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(Ce+="<th></th>"),(!m||m.isBefore(j.firstDay))&&(!this.linkedCalendars||a=="left")?Ce+='<th class="prev available"><span></span></th>':Ce+="<th></th>";var mt=this.locale.monthNames[j[1][1].month()]+j[1][1].format(" YYYY");if(this.showDropdowns){for(var St=j[1][1].month(),dt=j[1][1].year(),Ke=ke&&ke.year()||this.maxYear,bt=m&&m.year()||this.minYear,Kt=dt==bt,_t=dt==Ke,vt='<select class="monthselect">',it=0;it<12;it++)(!Kt||m&&it>=m.month())&&(!_t||ke&&it<=ke.month())?vt+="<option value='"+it+"'"+(it===St?" selected='selected'":"")+">"+this.locale.monthNames[it]+"</option>":vt+="<option value='"+it+"'"+(it===St?" selected='selected'":"")+" disabled='disabled'>"+this.locale.monthNames[it]+"</option>";vt+="</select>";for(var At='<select class="yearselect">',Oe=bt;Oe<=Ke;Oe++)At+='<option value="'+Oe+'"'+(Oe===dt?' selected="selected"':"")+">"+Oe+"</option>";At+="</select>",mt=vt+At}if(Ce+='<th colspan="5" class="month">'+mt+"</th>",(!ke||ke.isAfter(j.lastDay))&&(!this.linkedCalendars||a=="right"||this.singleDatePicker)?Ce+='<th class="next available"><span></span></th>':Ce+="<th></th>",Ce+="</tr>",Ce+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(Ce+='<th class="week">'+this.locale.weekLabel+"</th>"),i.each(this.locale.daysOfWeek,function(Ye,lt){Ce+="<th>"+lt+"</th>"}),Ce+="</tr>",Ce+="</thead>",Ce+="<tbody>",this.endDate==null&&this.maxSpan){var Pe=this.startDate.clone().add(this.maxSpan).endOf("day");(!ke||Pe.isBefore(ke))&&(ke=Pe)}for(var Ee=0;Ee<6;Ee++){Ce+="<tr>",this.showWeekNumbers?Ce+='<td class="week">'+j[Ee][0].week()+"</td>":this.showISOWeekNumbers&&(Ce+='<td class="week">'+j[Ee][0].isoWeek()+"</td>");for(var se=0;se<7;se++){var ze=[];j[Ee][se].isSame(new Date,"day")&&ze.push("today"),j[Ee][se].isoWeekday()>5&&ze.push("weekend"),j[Ee][se].month()!=j[1][1].month()&&ze.push("off","ends"),this.minDate&&j[Ee][se].isBefore(this.minDate,"day")&&ze.push("off","disabled"),ke&&j[Ee][se].isAfter(ke,"day")&&ze.push("off","disabled"),this.isInvalidDate(j[Ee][se])&&ze.push("off","disabled"),j[Ee][se].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&ze.push("active","start-date"),this.endDate!=null&&j[Ee][se].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&ze.push("active","end-date"),this.endDate!=null&&j[Ee][se]>this.startDate&&j[Ee][se]<this.endDate&&ze.push("in-range");var qe=this.isCustomDate(j[Ee][se]);qe!==!1&&(typeof qe=="string"?ze.push(qe):Array.prototype.push.apply(ze,qe));for(var Ze="",Ge=!1,pe=0;pe<ze.length;pe++)Ze+=ze[pe]+" ",ze[pe]=="disabled"&&(Ge=!0);Ge||(Ze+="available"),Ce+='<td class="'+Ze.replace(/^\s+|\s+$/g,"")+'" data-title="r'+Ee+"c"+se+'">'+j[Ee][se].date()+"</td>"}Ce+="</tr>"}Ce+="</tbody>",Ce+="</table>",this.container.find(".drp-calendar."+a+" .calendar-table").html(Ce)},renderTimePicker:function(a){if(!(a=="right"&&!this.endDate)){var h,v,T,x=this.maxDate;if(this.maxSpan&&(!this.maxDate||this.startDate.clone().add(this.maxSpan).isBefore(this.maxDate))&&(x=this.startDate.clone().add(this.maxSpan)),a=="left")v=this.startDate.clone(),T=this.minDate;else if(a=="right"){v=this.endDate.clone(),T=this.startDate;var E=this.container.find(".drp-calendar.right .calendar-time");if(E.html()!=""&&(v.hour(isNaN(v.hour())?E.find(".hourselect option:selected").val():v.hour()),v.minute(isNaN(v.minute())?E.find(".minuteselect option:selected").val():v.minute()),v.second(isNaN(v.second())?E.find(".secondselect option:selected").val():v.second()),!this.timePicker24Hour)){var L=E.find(".ampmselect option:selected").val();L==="PM"&&v.hour()<12&&v.hour(v.hour()+12),L==="AM"&&v.hour()===12&&v.hour(0)}v.isBefore(this.startDate)&&(v=this.startDate.clone()),x&&v.isAfter(x)&&(v=x.clone())}h='<select class="hourselect">';for(var _=this.timePicker24Hour?0:1,H=this.timePicker24Hour?23:12,Y=_;Y<=H;Y++){var Q=Y;this.timePicker24Hour||(Q=v.hour()>=12?Y==12?12:Y+12:Y==12?0:Y);var ee=v.clone().hour(Q),Z=!1;T&&ee.minute(59).isBefore(T)&&(Z=!0),x&&ee.minute(0).isAfter(x)&&(Z=!0),Q==v.hour()&&!Z?h+='<option value="'+Y+'" selected="selected">'+Y+"</option>":Z?h+='<option value="'+Y+'" disabled="disabled" class="disabled">'+Y+"</option>":h+='<option value="'+Y+'">'+Y+"</option>"}h+="</select> ",h+=': <select class="minuteselect">';for(var Y=0;Y<60;Y+=this.timePickerIncrement){var j=Y<10?"0"+Y:Y,ee=v.clone().minute(Y),Z=!1;T&&ee.second(59).isBefore(T)&&(Z=!0),x&&ee.second(0).isAfter(x)&&(Z=!0),v.minute()==Y&&!Z?h+='<option value="'+Y+'" selected="selected">'+j+"</option>":Z?h+='<option value="'+Y+'" disabled="disabled" class="disabled">'+j+"</option>":h+='<option value="'+Y+'">'+j+"</option>"}if(h+="</select> ",this.timePickerSeconds){h+=': <select class="secondselect">';for(var Y=0;Y<60;Y++){var j=Y<10?"0"+Y:Y,ee=v.clone().second(Y),Z=!1;T&&ee.isBefore(T)&&(Z=!0),x&&ee.isAfter(x)&&(Z=!0),v.second()==Y&&!Z?h+='<option value="'+Y+'" selected="selected">'+j+"</option>":Z?h+='<option value="'+Y+'" disabled="disabled" class="disabled">'+j+"</option>":h+='<option value="'+Y+'">'+j+"</option>"}h+="</select> "}if(!this.timePicker24Hour){h+='<select class="ampmselect">';var pe="",oe="";T&&v.clone().hour(12).minute(0).second(0).isBefore(T)&&(pe=' disabled="disabled" class="disabled"'),x&&v.clone().hour(0).minute(0).second(0).isAfter(x)&&(oe=' disabled="disabled" class="disabled"'),v.hour()>=12?h+='<option value="AM"'+pe+'>AM</option><option value="PM" selected="selected"'+oe+">PM</option>":h+='<option value="AM" selected="selected"'+pe+'>AM</option><option value="PM"'+oe+">PM</option>",h+="</select>"}this.container.find(".drp-calendar."+a+" .calendar-time").html(h)}},updateFormInputs:function(){this.singleDatePicker||this.endDate&&(this.startDate.isBefore(this.endDate)||this.startDate.isSame(this.endDate))?this.container.find("button.applyBtn").prop("disabled",!1):this.container.find("button.applyBtn").prop("disabled",!0)},move:function(){var a={top:0,left:0},h,v=this.drops,T=i(window).width();switch(this.parentEl.is("body")||(a={top:this.parentEl.offset().top-this.parentEl.scrollTop(),left:this.parentEl.offset().left-this.parentEl.scrollLeft()},T=this.parentEl[0].clientWidth+this.parentEl.offset().left),v){case"auto":h=this.element.offset().top+this.element.outerHeight()-a.top,h+this.container.outerHeight()>=this.parentEl[0].scrollHeight&&(h=this.element.offset().top-this.container.outerHeight()-a.top,v="up");break;case"up":h=this.element.offset().top-this.container.outerHeight()-a.top;break;default:h=this.element.offset().top+this.element.outerHeight()-a.top;break}this.container.css({top:0,left:0,right:"auto"});var x=this.container.outerWidth();if(this.container.toggleClass("drop-up",v=="up"),this.opens=="left"){var E=T-this.element.offset().left-this.element.outerWidth();x+E>i(window).width()?this.container.css({top:h,right:"auto",left:9}):this.container.css({top:h,right:E,left:"auto"})}else if(this.opens=="center"){var L=this.element.offset().left-a.left+this.element.outerWidth()/2-x/2;L<0?this.container.css({top:h,right:"auto",left:9}):L+x>i(window).width()?this.container.css({top:h,left:"auto",right:0}):this.container.css({top:h,left:L,right:"auto"})}else{var L=this.element.offset().left-a.left;L+x>i(window).width()?this.container.css({top:h,left:"auto",right:0}):this.container.css({top:h,left:L,right:"auto"})}},show:function(a){this.isShowing||(this._outsideClickProxy=i.proxy(function(h){this.outsideClick(h)},this),i(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle=dropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),i(window).on("resize.daterangepicker",i.proxy(function(h){this.move(h)},this)),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.previousRightTime=this.endDate.clone(),this.updateView(),this.container.show(),this.move(),this.element.trigger("show.daterangepicker",this),this.isShowing=!0)},hide:function(a){this.isShowing&&(this.endDate||(this.startDate=this.oldStartDate.clone(),this.endDate=this.oldEndDate.clone()),(!this.startDate.isSame(this.oldStartDate)||!this.endDate.isSame(this.oldEndDate))&&this.callback(this.startDate.clone(),this.endDate.clone(),this.chosenLabel),this.updateElement(),i(document).off(".daterangepicker"),i(window).off(".daterangepicker"),this.container.hide(),this.element.trigger("hide.daterangepicker",this),this.isShowing=!1)},toggle:function(a){this.isShowing?this.hide():this.show()},outsideClick:function(a){var h=i(a.target);a.type=="focusin"||h.closest(this.element).length||h.closest(this.container).length||h.closest(".calendar-table").length||(this.hide(),this.element.trigger("outsideClick.daterangepicker",this))},showCalendars:function(){this.container.addClass("show-calendar"),this.move(),this.element.trigger("showCalendar.daterangepicker",this)},hideCalendars:function(){this.container.removeClass("show-calendar"),this.element.trigger("hideCalendar.daterangepicker",this)},clickRange:function(a){var h=a.target.getAttribute("data-range-key");if(this.chosenLabel=h,h==this.locale.customRangeLabel)this.showCalendars();else{var v=this.ranges[h];this.startDate=v[0],this.endDate=v[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.alwaysShowCalendars||this.hideCalendars(),this.clickApply()}},clickPrev:function(a){var h=i(a.target).parents(".drp-calendar");h.hasClass("left")?(this.leftCalendar.month.subtract(1,"month"),this.linkedCalendars&&this.rightCalendar.month.subtract(1,"month")):this.rightCalendar.month.subtract(1,"month"),this.updateCalendars()},clickNext:function(a){var h=i(a.target).parents(".drp-calendar");h.hasClass("left")?this.leftCalendar.month.add(1,"month"):(this.rightCalendar.month.add(1,"month"),this.linkedCalendars&&this.leftCalendar.month.add(1,"month")),this.updateCalendars()},hoverDate:function(a){if(i(a.target).hasClass("available")){var h=i(a.target).attr("data-title"),v=h.substr(1,1),T=h.substr(3,1),x=i(a.target).parents(".drp-calendar"),E=x.hasClass("left")?this.leftCalendar.calendar[v][T]:this.rightCalendar.calendar[v][T],L=this.leftCalendar,_=this.rightCalendar,H=this.startDate;this.endDate||this.container.find(".drp-calendar tbody td").each(function(Y,Q){if(!i(Q).hasClass("week")){var ee=i(Q).attr("data-title"),Z=ee.substr(1,1),j=ee.substr(3,1),pe=i(Q).parents(".drp-calendar"),oe=pe.hasClass("left")?L.calendar[Z][j]:_.calendar[Z][j];oe.isAfter(H)&&oe.isBefore(E)||oe.isSame(E,"day")?i(Q).addClass("in-range"):i(Q).removeClass("in-range")}})}},clickDate:function(a){if(i(a.target).hasClass("available")){var h=i(a.target).attr("data-title"),v=h.substr(1,1),T=h.substr(3,1),x=i(a.target).parents(".drp-calendar"),E=x.hasClass("left")?this.leftCalendar.calendar[v][T]:this.rightCalendar.calendar[v][T];if(this.endDate||E.isBefore(this.startDate,"day")){if(this.timePicker){var L=parseInt(this.container.find(".left .hourselect").val(),10);if(!this.timePicker24Hour){var _=this.container.find(".left .ampmselect").val();_==="PM"&&L<12&&(L+=12),_==="AM"&&L===12&&(L=0)}var H=parseInt(this.container.find(".left .minuteselect").val(),10);isNaN(H)&&(H=parseInt(this.container.find(".left .minuteselect option:last").val(),10));var Y=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0;E=E.clone().hour(L).minute(H).second(Y)}this.endDate=null,this.setStartDate(E.clone())}else if(!this.endDate&&E.isBefore(this.startDate))this.setEndDate(this.startDate.clone());else{if(this.timePicker){var L=parseInt(this.container.find(".right .hourselect").val(),10);if(!this.timePicker24Hour){var _=this.container.find(".right .ampmselect").val();_==="PM"&&L<12&&(L+=12),_==="AM"&&L===12&&(L=0)}var H=parseInt(this.container.find(".right .minuteselect").val(),10);isNaN(H)&&(H=parseInt(this.container.find(".right .minuteselect option:last").val(),10));var Y=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0;E=E.clone().hour(L).minute(H).second(Y)}this.setEndDate(E.clone()),this.autoApply&&(this.calculateChosenLabel(),this.clickApply())}this.singleDatePicker&&(this.setEndDate(this.startDate),!this.timePicker&&this.autoApply&&this.clickApply()),this.updateView(),a.stopPropagation()}},calculateChosenLabel:function(){var a=!0,h=0;for(var v in this.ranges){if(this.timePicker){var T=this.timePickerSeconds?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD HH:mm";if(this.startDate.format(T)==this.ranges[v][0].format(T)&&this.endDate.format(T)==this.ranges[v][1].format(T)){a=!1,this.chosenLabel=this.container.find(".ranges li:eq("+h+")").addClass("active").attr("data-range-key");break}}else if(this.startDate.format("YYYY-MM-DD")==this.ranges[v][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[v][1].format("YYYY-MM-DD")){a=!1,this.chosenLabel=this.container.find(".ranges li:eq("+h+")").addClass("active").attr("data-range-key");break}h++}a&&(this.showCustomRangeLabel?this.chosenLabel=this.container.find(".ranges li:last").addClass("active").attr("data-range-key"):this.chosenLabel=null,this.showCalendars())},clickApply:function(a){this.hide(),this.element.trigger("apply.daterangepicker",this)},clickCancel:function(a){this.startDate=this.oldStartDate,this.endDate=this.oldEndDate,this.hide(),this.element.trigger("cancel.daterangepicker",this)},monthOrYearChanged:function(a){var h=i(a.target).closest(".drp-calendar").hasClass("left"),v=h?"left":"right",T=this.container.find(".drp-calendar."+v),x=parseInt(T.find(".monthselect").val(),10),E=T.find(".yearselect").val();h||(E<this.startDate.year()||E==this.startDate.year()&&x<this.startDate.month())&&(x=this.startDate.month(),E=this.startDate.year()),this.minDate&&(E<this.minDate.year()||E==this.minDate.year()&&x<this.minDate.month())&&(x=this.minDate.month(),E=this.minDate.year()),this.maxDate&&(E>this.maxDate.year()||E==this.maxDate.year()&&x>this.maxDate.month())&&(x=this.maxDate.month(),E=this.maxDate.year()),h?(this.leftCalendar.month.month(x).year(E),this.linkedCalendars&&(this.rightCalendar.month=this.leftCalendar.month.clone().add(1,"month"))):(this.rightCalendar.month.month(x).year(E),this.linkedCalendars&&(this.leftCalendar.month=this.rightCalendar.month.clone().subtract(1,"month"))),this.updateCalendars()},timeChanged:function(a){var h=i(a.target).closest(".drp-calendar"),v=h.hasClass("left"),T=parseInt(h.find(".hourselect").val(),10),x=parseInt(h.find(".minuteselect").val(),10);isNaN(x)&&(x=parseInt(h.find(".minuteselect option:last").val(),10));var E=this.timePickerSeconds?parseInt(h.find(".secondselect").val(),10):0;if(!this.timePicker24Hour){var L=h.find(".ampmselect").val();L==="PM"&&T<12&&(T+=12),L==="AM"&&T===12&&(T=0)}if(v){var _=this.startDate.clone();_.hour(T),_.minute(x),_.second(E),this.setStartDate(_),this.singleDatePicker?this.endDate=this.startDate.clone():this.endDate&&this.endDate.format("YYYY-MM-DD")==_.format("YYYY-MM-DD")&&this.endDate.isBefore(_)&&this.setEndDate(_.clone())}else if(this.endDate){var H=this.endDate.clone();H.hour(T),H.minute(x),H.second(E),this.setEndDate(H)}this.updateCalendars(),this.updateFormInputs(),this.renderTimePicker("left"),this.renderTimePicker("right")},elementChanged:function(){if(this.element.is("input")&&this.element.val().length){var a=this.element.val().split(this.locale.separator),h=null,v=null;a.length===2&&(h=t(a[0],this.locale.format),v=t(a[1],this.locale.format)),(this.singleDatePicker||h===null||v===null)&&(h=t(this.element.val(),this.locale.format),v=h),!(!h.isValid()||!v.isValid())&&(this.setStartDate(h),this.setEndDate(v),this.updateView())}},keydown:function(a){(a.keyCode===9||a.keyCode===13)&&this.hide(),a.keyCode===27&&(a.preventDefault(),a.stopPropagation(),this.hide())},updateElement:function(){if(this.element.is("input")&&this.autoUpdateInput){var a=this.startDate.format(this.locale.format);this.singleDatePicker||(a+=this.locale.separator+this.endDate.format(this.locale.format)),a!==this.element.val()&&this.element.val(a).trigger("change")}},remove:function(){this.container.remove(),this.element.off(".daterangepicker"),this.element.removeData()}},i.fn.daterangepicker=function(a,h){var v=i.extend(!0,{},i.fn.daterangepicker.defaultOptions,a);return this.each(function(){var T=i(this);T.data("daterangepicker")&&T.data("daterangepicker").remove(),T.data("daterangepicker",new s(T,v,h))}),this},s})})(zk);var Nd=function(n,t){return Nd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,s){i.__proto__=s}||function(i,s){for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(i[a]=s[a])},Nd(n,t)};function $k(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Nd(n,t);function i(){this.constructor=n}n.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}var Yk=function(n){$k(t,n);function t(i){var s=n.call(this,i)||this;return s.ref=null,s.$picker=null,s}return t.prototype.componentDidMount=function(){var i=this;this.$picker=Uk(this.ref),this.$picker.daterangepicker(this.props.initialSettings,this.handleCallback.bind(this)),["Show","Hide","ShowCalendar","HideCalendar","Apply","Cancel"].forEach(function(s){var a,h=s.charAt(0).toLowerCase()+s.slice(1);(a=i.$picker)===null||a===void 0||a.on(h+".daterangepicker",i.makeEventHandler("on"+s))})},t.prototype.componentWillUnmount=function(){var i,s;(s=(i=this.$picker)===null||i===void 0?void 0:i.data("daterangepicker"))===null||s===void 0||s.remove()},t.prototype.handleCallback=function(){for(var i,s=[],a=0;a<arguments.length;a++)s[a]=arguments[a];typeof this.props.onCallback=="function"&&(i=this.props).onCallback.apply(i,s)},t.prototype.makeEventHandler=function(i){var s=this,a=this.props.onEvent;return function(h,v){typeof a=="function"&&a(h,v),typeof s.props[i]=="function"&&s.props[i](h,v)}},t.prototype.setStartDate=function(i){var s,a;(a=(s=this.$picker)===null||s===void 0?void 0:s.data("daterangepicker"))===null||a===void 0||a.setStartDate(i)},t.prototype.setEndDate=function(i){var s,a;(a=(s=this.$picker)===null||s===void 0?void 0:s.data("daterangepicker"))===null||a===void 0||a.setEndDate(i)},t.prototype.render=function(){var i=this,s=kn.Children.only(this.props.children);return kn.cloneElement(s,{ref:function(a){return i.ref=a}})},t}(kn.Component);exports.AuthProvider=Nk;exports.DateRangePicker=Yk;exports.ERROR_MESSAGE=AS;exports.GlobalMenu=Ak;exports.InfiniteLoader=jk;exports.LogoutConfirmModal=Vg;exports.PropTypes=ra;exports.Q=US;exports.ShadowDomWrapper=Gg;exports._=Ik;exports._extends=xc;exports._inheritsLoose=Mv;exports._objectWithoutPropertiesLoose=Iv;exports.clsx=Ls;exports.commonjsGlobal=yl;exports.lodashExports=Nv;exports.login=PS;exports.pushError=um;exports.pushSuccess=GS;exports.pushWarning=XS;exports.search=Vk;exports.useAuth=Wk;