@ukpc-lib/react 0.2.23 → 0.2.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Toast/ToastConfigNotification.d.ts +2 -0
- package/dist/components/Toast/index.d.ts +3 -1
- package/dist/components/Topbar/index.d.ts +3 -1
- package/dist/components/index.cjs +28 -26
- package/dist/components/index.js +1446 -1422
- package/dist/index.module-160774a9.cjs +1087 -0
- package/dist/index.module-4e7900e2.js +25562 -0
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +7 -7
- package/dist/translations/config.d.ts +0 -3
- package/package.json +5 -3
- package/web-components-bundle/global-menu/index.cjs +1 -1
- package/web-components-bundle/global-menu/index.js +1 -1
- package/web-components-bundle/global-topbar/index.cjs +1 -1
- package/web-components-bundle/global-topbar/index.js +2 -2
- package/web-components-bundle/has-permission/index.cjs +1 -1
- package/web-components-bundle/has-permission/index.js +2 -2
- package/web-components-bundle/index-04dc6603.cjs +1067 -0
- package/web-components-bundle/{index-200424a6.js → index-a16031d2.js} +1367 -1327
- package/web-components-bundle/index-aff1e7a4.js +21431 -0
- package/web-components-bundle/{index-661a7bdb.cjs → index-ea3fddce.cjs} +26 -26
- package/dist/index.module-3c7dfdd1.cjs +0 -1086
- package/dist/index.module-97c322f5.js +0 -25161
- package/dist/translations/de/translation.json.d.ts +0 -230
- package/dist/translations/en/translation.json.d.ts +0 -230
- package/web-components-bundle/index-a1eabc81.cjs +0 -884
- package/web-components-bundle/index-f74899a8.js +0 -20300
|
@@ -1,1086 +0,0 @@
|
|
|
1
|
-
var vC=require("./index.css");const sr=require("react/jsx-runtime"),qe=require("react"),Ob=require("moment"),Mb=require("axios"),Fb=require("react-dom");require("@r2wc/react-to-web-component");const $l=require("./Colors-51ce6654.cjs");require("react-router-dom");const hc=require("@mui/material");function Lb(a){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const r in a)if(r!=="default"){const u=Object.getOwnPropertyDescriptor(a,r);Object.defineProperty(t,r,u.get?u:{enumerable:!0,get:()=>a[r]})}}return t.default=a,Object.freeze(t)}const Wl=Lb(qe);const ep=qe.createContext({}),Nb=({children:a})=>{const[t,r]=qe.useState(!0),[u,o]=qe.useState({all:{rows:[],total:0},unread:{rows:[],total:0}}),p=()=>{r(!t)},x=()=>{r(!0)};return sr.jsx(ep.Provider,{value:{isOpen:t,toggleOpen:p,setShowModalFalse:x,notidata:u,setNotiData:o},children:a})};var Qs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function wc(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}function Bb(a){if(a.__esModule)return a;var t=a.default;if(typeof t=="function"){var r=function u(){return this instanceof u?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(a).forEach(function(u){var o=Object.getOwnPropertyDescriptor(a,u);Object.defineProperty(r,u,o.get?o:{enumerable:!0,get:function(){return a[u]}})}),r}var jl={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react-dom-server-legacy.browser.production.min.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Zd;function jb(){if(Zd)return jl;Zd=1;var a=qe;function t(m){for(var I="https://reactjs.org/docs/error-decoder.html?invariant="+m,B=1;B<arguments.length;B++)I+="&args[]="+encodeURIComponent(arguments[B]);return"Minified React error #"+m+"; visit "+I+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=Object.prototype.hasOwnProperty,u=/^[: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]*$/,o={},p={};function x(m){return r.call(p,m)?!0:r.call(o,m)?!1:u.test(m)?p[m]=!0:(o[m]=!0,!1)}function P(m,I,B,Y,me,se,xe){this.acceptsBooleans=I===2||I===3||I===4,this.attributeName=Y,this.attributeNamespace=me,this.mustUseProperty=B,this.propertyName=m,this.type=I,this.sanitizeURL=se,this.removeEmptyString=xe}var _={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(m){_[m]=new P(m,0,!1,m,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(m){var I=m[0];_[I]=new P(I,1,!1,m[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(m){_[m]=new P(m,2,!1,m.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(m){_[m]=new P(m,2,!1,m,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(m){_[m]=new P(m,3,!1,m.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(m){_[m]=new P(m,3,!0,m,null,!1,!1)}),["capture","download"].forEach(function(m){_[m]=new P(m,4,!1,m,null,!1,!1)}),["cols","rows","size","span"].forEach(function(m){_[m]=new P(m,6,!1,m,null,!1,!1)}),["rowSpan","start"].forEach(function(m){_[m]=new P(m,5,!1,m.toLowerCase(),null,!1,!1)});var M=/[\-:]([a-z])/g;function X(m){return m[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(m){var I=m.replace(M,X);_[I]=new P(I,1,!1,m,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(m){var I=m.replace(M,X);_[I]=new P(I,1,!1,m,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(m){var I=m.replace(M,X);_[I]=new P(I,1,!1,m,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(m){_[m]=new P(m,1,!1,m.toLowerCase(),null,!1,!1)}),_.xlinkHref=new P("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(m){_[m]=new P(m,1,!1,m.toLowerCase(),null,!0,!0)});var z={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},K=["Webkit","ms","Moz","O"];Object.keys(z).forEach(function(m){K.forEach(function(I){I=I+m.charAt(0).toUpperCase()+m.substring(1),z[I]=z[m]})});var be=/["'&<>]/;function ue(m){if(typeof m=="boolean"||typeof m=="number")return""+m;m=""+m;var I=be.exec(m);if(I){var B="",Y,me=0;for(Y=I.index;Y<m.length;Y++){switch(m.charCodeAt(Y)){case 34:I=""";break;case 38:I="&";break;case 39:I="'";break;case 60:I="<";break;case 62:I=">";break;default:continue}me!==Y&&(B+=m.substring(me,Y)),me=Y+1,B+=I}m=me!==Y?B+m.substring(me,Y):B}return m}var ce=/([A-Z])/g,ee=/^ms-/,W=Array.isArray;function _e(m,I){return{insertionMode:m,selectedValue:I}}function Ie(m,I,B){switch(I){case"select":return _e(1,B.value!=null?B.value:B.defaultValue);case"svg":return _e(2,null);case"math":return _e(3,null);case"foreignObject":return _e(1,null);case"table":return _e(4,null);case"thead":case"tbody":case"tfoot":return _e(5,null);case"colgroup":return _e(7,null);case"tr":return _e(6,null)}return 4<=m.insertionMode||m.insertionMode===0?_e(1,null):m}var Ae=new Map;function fe(m,I,B){if(typeof B!="object")throw Error(t(62));I=!0;for(var Y in B)if(r.call(B,Y)){var me=B[Y];if(me!=null&&typeof me!="boolean"&&me!==""){if(Y.indexOf("--")===0){var se=ue(Y);me=ue((""+me).trim())}else{se=Y;var xe=Ae.get(se);xe!==void 0||(xe=ue(se.replace(ce,"-$1").toLowerCase().replace(ee,"-ms-")),Ae.set(se,xe)),se=xe,me=typeof me=="number"?me===0||r.call(z,Y)?""+me:me+"px":ue((""+me).trim())}I?(I=!1,m.push(' style="',se,":",me)):m.push(";",se,":",me)}}I||m.push('"')}function Be(m,I,B,Y){switch(B){case"style":fe(m,I,Y);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(I=_.hasOwnProperty(B)?_[B]:null,I!==null){switch(typeof Y){case"function":case"symbol":return;case"boolean":if(!I.acceptsBooleans)return}switch(B=I.attributeName,I.type){case 3:Y&&m.push(" ",B,'=""');break;case 4:Y===!0?m.push(" ",B,'=""'):Y!==!1&&m.push(" ",B,'="',ue(Y),'"');break;case 5:isNaN(Y)||m.push(" ",B,'="',ue(Y),'"');break;case 6:!isNaN(Y)&&1<=Y&&m.push(" ",B,'="',ue(Y),'"');break;default:I.sanitizeURL&&(Y=""+Y),m.push(" ",B,'="',ue(Y),'"')}}else if(x(B)){switch(typeof Y){case"function":case"symbol":return;case"boolean":if(I=B.toLowerCase().slice(0,5),I!=="data-"&&I!=="aria-")return}m.push(" ",B,'="',ue(Y),'"')}}}function v(m,I,B){if(I!=null){if(B!=null)throw Error(t(60));if(typeof I!="object"||!("__html"in I))throw Error(t(61));I=I.__html,I!=null&&m.push(""+I)}}function We(m){var I="";return a.Children.forEach(m,function(B){B!=null&&(I+=B)}),I}function De(m,I,B,Y){m.push(At(B));var me=B=null,se;for(se in I)if(r.call(I,se)){var xe=I[se];if(xe!=null)switch(se){case"children":B=xe;break;case"dangerouslySetInnerHTML":me=xe;break;default:Be(m,Y,se,xe)}}return m.push(">"),v(m,me,B),typeof B=="string"?(m.push(ue(B)),null):B}var Dt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ct=new Map;function At(m){var I=Ct.get(m);if(I===void 0){if(!Dt.test(m))throw Error(t(65,m));I="<"+m,Ct.set(m,I)}return I}function lt(m,I,B,Y,me){switch(I){case"select":m.push(At("select"));var se=null,xe=null;for(at in B)if(r.call(B,at)){var He=B[at];if(He!=null)switch(at){case"children":se=He;break;case"dangerouslySetInnerHTML":xe=He;break;case"defaultValue":case"value":break;default:Be(m,Y,at,He)}}return m.push(">"),v(m,xe,se),se;case"option":xe=me.selectedValue,m.push(At("option"));var it=He=null,ft=null,at=null;for(se in B)if(r.call(B,se)){var Mt=B[se];if(Mt!=null)switch(se){case"children":He=Mt;break;case"selected":ft=Mt;break;case"dangerouslySetInnerHTML":at=Mt;break;case"value":it=Mt;default:Be(m,Y,se,Mt)}}if(xe!=null)if(B=it!==null?""+it:We(He),W(xe)){for(Y=0;Y<xe.length;Y++)if(""+xe[Y]===B){m.push(' selected=""');break}}else""+xe===B&&m.push(' selected=""');else ft&&m.push(' selected=""');return m.push(">"),v(m,at,He),He;case"textarea":m.push(At("textarea")),at=xe=se=null;for(He in B)if(r.call(B,He)&&(it=B[He],it!=null))switch(He){case"children":at=it;break;case"value":se=it;break;case"defaultValue":xe=it;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:Be(m,Y,He,it)}if(se===null&&xe!==null&&(se=xe),m.push(">"),at!=null){if(se!=null)throw Error(t(92));if(W(at)&&1<at.length)throw Error(t(93));se=""+at}return typeof se=="string"&&se[0]===`
|
|
10
|
-
`&&m.push(`
|
|
11
|
-
`),se!==null&&m.push(ue(""+se)),null;case"input":m.push(At("input")),it=at=He=se=null;for(xe in B)if(r.call(B,xe)&&(ft=B[xe],ft!=null))switch(xe){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":it=ft;break;case"defaultValue":He=ft;break;case"checked":at=ft;break;case"value":se=ft;break;default:Be(m,Y,xe,ft)}return at!==null?Be(m,Y,"checked",at):it!==null&&Be(m,Y,"checked",it),se!==null?Be(m,Y,"value",se):He!==null&&Be(m,Y,"value",He),m.push("/>"),null;case"menuitem":m.push(At("menuitem"));for(var $n in B)if(r.call(B,$n)&&(se=B[$n],se!=null))switch($n){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:Be(m,Y,$n,se)}return m.push(">"),null;case"title":m.push(At("title")),se=null;for(Mt in B)if(r.call(B,Mt)&&(xe=B[Mt],xe!=null))switch(Mt){case"children":se=xe;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:Be(m,Y,Mt,xe)}return m.push(">"),se;case"listing":case"pre":m.push(At(I)),xe=se=null;for(it in B)if(r.call(B,it)&&(He=B[it],He!=null))switch(it){case"children":se=He;break;case"dangerouslySetInnerHTML":xe=He;break;default:Be(m,Y,it,He)}if(m.push(">"),xe!=null){if(se!=null)throw Error(t(60));if(typeof xe!="object"||!("__html"in xe))throw Error(t(61));B=xe.__html,B!=null&&(typeof B=="string"&&0<B.length&&B[0]===`
|
|
12
|
-
`?m.push(`
|
|
13
|
-
`,B):m.push(""+B))}return typeof se=="string"&&se[0]===`
|
|
14
|
-
`&&m.push(`
|
|
15
|
-
`),se;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":m.push(At(I));for(var Ln in B)if(r.call(B,Ln)&&(se=B[Ln],se!=null))switch(Ln){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,I));default:Be(m,Y,Ln,se)}return m.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 De(m,B,I,Y);case"html":return me.insertionMode===0&&m.push("<!DOCTYPE html>"),De(m,B,I,Y);default:if(I.indexOf("-")===-1&&typeof B.is!="string")return De(m,B,I,Y);m.push(At(I)),xe=se=null;for(ft in B)if(r.call(B,ft)&&(He=B[ft],He!=null))switch(ft){case"children":se=He;break;case"dangerouslySetInnerHTML":xe=He;break;case"style":fe(m,Y,He);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:x(ft)&&typeof He!="function"&&typeof He!="symbol"&&m.push(" ",ft,'="',ue(He),'"')}return m.push(">"),v(m,xe,se),se}}function kt(m,I,B){if(m.push('<!--$?--><template id="'),B===null)throw Error(t(395));return m.push(B),m.push('"></template>')}function Zt(m,I,B,Y){switch(B.insertionMode){case 0:case 1:return m.push('<div hidden id="'),m.push(I.segmentPrefix),I=Y.toString(16),m.push(I),m.push('">');case 2:return m.push('<svg aria-hidden="true" style="display:none" id="'),m.push(I.segmentPrefix),I=Y.toString(16),m.push(I),m.push('">');case 3:return m.push('<math aria-hidden="true" style="display:none" id="'),m.push(I.segmentPrefix),I=Y.toString(16),m.push(I),m.push('">');case 4:return m.push('<table hidden id="'),m.push(I.segmentPrefix),I=Y.toString(16),m.push(I),m.push('">');case 5:return m.push('<table hidden><tbody id="'),m.push(I.segmentPrefix),I=Y.toString(16),m.push(I),m.push('">');case 6:return m.push('<table hidden><tr id="'),m.push(I.segmentPrefix),I=Y.toString(16),m.push(I),m.push('">');case 7:return m.push('<table hidden><colgroup id="'),m.push(I.segmentPrefix),I=Y.toString(16),m.push(I),m.push('">');default:throw Error(t(397))}}function qt(m,I){switch(I.insertionMode){case 0:case 1:return m.push("</div>");case 2:return m.push("</svg>");case 3:return m.push("</math>");case 4:return m.push("</table>");case 5:return m.push("</tbody></table>");case 6:return m.push("</tr></table>");case 7:return m.push("</colgroup></table>");default:throw Error(t(397))}}var mt=/[<\u2028\u2029]/g;function Xe(m){return JSON.stringify(m).replace(mt,function(I){switch(I){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 wt(m,I){return I=I===void 0?"":I,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:I+"P:",segmentPrefix:I+"S:",boundaryPrefix:I+"B:",idPrefix:I,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:m}}function Re(m,I,B,Y){return B.generateStaticMarkup?(m.push(ue(I)),!1):(I===""?m=Y:(Y&&m.push("<!-- -->"),m.push(ue(I)),m=!0),m)}var Oe=Object.assign,ze=Symbol.for("react.element"),et=Symbol.for("react.portal"),tt=Symbol.for("react.fragment"),Ve=Symbol.for("react.strict_mode"),Ye=Symbol.for("react.profiler"),ut=Symbol.for("react.provider"),gt=Symbol.for("react.context"),vt=Symbol.for("react.forward_ref"),ct=Symbol.for("react.suspense"),Lt=Symbol.for("react.suspense_list"),$e=Symbol.for("react.memo"),Nt=Symbol.for("react.lazy"),Ut=Symbol.for("react.scope"),Hn=Symbol.for("react.debug_trace_mode"),lr=Symbol.for("react.legacy_hidden"),Un=Symbol.for("react.default_value"),bn=Symbol.iterator;function wi(m){if(m==null)return null;if(typeof m=="function")return m.displayName||m.name||null;if(typeof m=="string")return m;switch(m){case tt:return"Fragment";case et:return"Portal";case Ye:return"Profiler";case Ve:return"StrictMode";case ct:return"Suspense";case Lt:return"SuspenseList"}if(typeof m=="object")switch(m.$$typeof){case gt:return(m.displayName||"Context")+".Consumer";case ut:return(m._context.displayName||"Context")+".Provider";case vt:var I=m.render;return m=m.displayName,m||(m=I.displayName||I.name||"",m=m!==""?"ForwardRef("+m+")":"ForwardRef"),m;case $e:return I=m.displayName||null,I!==null?I:wi(m.type)||"Memo";case Nt:I=m._payload,m=m._init;try{return wi(m(I))}catch{}}return null}var mr={};function Gn(m,I){if(m=m.contextTypes,!m)return mr;var B={},Y;for(Y in m)B[Y]=I[Y];return B}var rn=null;function sn(m,I){if(m!==I){m.context._currentValue2=m.parentValue,m=m.parent;var B=I.parent;if(m===null){if(B!==null)throw Error(t(401))}else{if(B===null)throw Error(t(401));sn(m,B)}I.context._currentValue2=I.value}}function ln(m){m.context._currentValue2=m.parentValue,m=m.parent,m!==null&&ln(m)}function rt(m){var I=m.parent;I!==null&&rt(I),m.context._currentValue2=m.value}function kn(m,I){if(m.context._currentValue2=m.parentValue,m=m.parent,m===null)throw Error(t(402));m.depth===I.depth?sn(m,I):kn(m,I)}function Zr(m,I){var B=I.parent;if(B===null)throw Error(t(402));m.depth===B.depth?sn(m,B):Zr(m,B),I.context._currentValue2=I.value}function nn(m){var I=rn;I!==m&&(I===null?rt(m):m===null?ln(I):I.depth===m.depth?sn(I,m):I.depth>m.depth?kn(I,m):Zr(I,m),rn=m)}var xi={isMounted:function(){return!1},enqueueSetState:function(m,I){m=m._reactInternals,m.queue!==null&&m.queue.push(I)},enqueueReplaceState:function(m,I){m=m._reactInternals,m.replace=!0,m.queue=[I]},enqueueForceUpdate:function(){}};function Ci(m,I,B,Y){var me=m.state!==void 0?m.state:null;m.updater=xi,m.props=B,m.state=me;var se={queue:[],replace:!1};m._reactInternals=se;var xe=I.contextType;if(m.context=typeof xe=="object"&&xe!==null?xe._currentValue2:Y,xe=I.getDerivedStateFromProps,typeof xe=="function"&&(xe=xe(B,me),me=xe==null?me:Oe({},me,xe),m.state=me),typeof I.getDerivedStateFromProps!="function"&&typeof m.getSnapshotBeforeUpdate!="function"&&(typeof m.UNSAFE_componentWillMount=="function"||typeof m.componentWillMount=="function"))if(I=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),I!==m.state&&xi.enqueueReplaceState(m,m.state,null),se.queue!==null&&0<se.queue.length)if(I=se.queue,xe=se.replace,se.queue=null,se.replace=!1,xe&&I.length===1)m.state=I[0];else{for(se=xe?I[0]:m.state,me=!0,xe=xe?1:0;xe<I.length;xe++){var He=I[xe];He=typeof He=="function"?He.call(m,se,B,Y):He,He!=null&&(me?(me=!1,se=Oe({},se,He)):Oe(se,He))}m.state=se}else se.queue=null}var ki={id:1,overflow:""};function yr(m,I,B){var Y=m.id;m=m.overflow;var me=32-Mn(Y)-1;Y&=~(1<<me),B+=1;var se=32-Mn(I)+me;if(30<se){var xe=me-me%5;return se=(Y&(1<<xe)-1).toString(32),Y>>=xe,me-=xe,{id:1<<32-Mn(I)+me|B<<me|Y,overflow:se+m}}return{id:1<<se|B<<me|Y,overflow:m}}var Mn=Math.clz32?Math.clz32:Lr,br=Math.log,ur=Math.LN2;function Lr(m){return m>>>=0,m===0?32:31-(br(m)/ur|0)|0}function Nr(m,I){return m===I&&(m!==0||1/m===1/I)||m!==m&&I!==I}var oa=typeof Object.is=="function"?Object.is:Nr,Wn=null,Br=null,qn=null,$t=null,Jr=!1,Ei=!1,En=0,un=null,Qr=0;function ei(){if(Wn===null)throw Error(t(321));return Wn}function fn(){if(0<Qr)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function Wi(){return $t===null?qn===null?(Jr=!1,qn=$t=fn()):(Jr=!0,$t=qn):$t.next===null?(Jr=!1,$t=$t.next=fn()):(Jr=!0,$t=$t.next),$t}function cr(){Br=Wn=null,Ei=!1,qn=null,Qr=0,$t=un=null}function ti(m,I){return typeof I=="function"?I(m):I}function an(m,I,B){if(Wn=ei(),$t=Wi(),Jr){var Y=$t.queue;if(I=Y.dispatch,un!==null&&(B=un.get(Y),B!==void 0)){un.delete(Y),Y=$t.memoizedState;do Y=m(Y,B.action),B=B.next;while(B!==null);return $t.memoizedState=Y,[Y,I]}return[$t.memoizedState,I]}return m=m===ti?typeof I=="function"?I():I:B!==void 0?B(I):I,$t.memoizedState=m,m=$t.queue={last:null,dispatch:null},m=m.dispatch=Ya.bind(null,Wn,m),[$t.memoizedState,m]}function ui(m,I){if(Wn=ei(),$t=Wi(),I=I===void 0?null:I,$t!==null){var B=$t.memoizedState;if(B!==null&&I!==null){var Y=B[1];e:if(Y===null)Y=!1;else{for(var me=0;me<Y.length&&me<I.length;me++)if(!oa(I[me],Y[me])){Y=!1;break e}Y=!0}if(Y)return B[0]}}return m=m(),$t.memoizedState=[m,I],m}function Ya(m,I,B){if(25<=Qr)throw Error(t(301));if(m===Wn)if(Ei=!0,m={action:B,next:null},un===null&&(un=new Map),B=un.get(I),B===void 0)un.set(I,m);else{for(I=B;I.next!==null;)I=I.next;I.next=m}}function Ga(){throw Error(t(394))}function jr(){}var zi={readContext:function(m){return m._currentValue2},useContext:function(m){return ei(),m._currentValue2},useMemo:ui,useReducer:an,useRef:function(m){Wn=ei(),$t=Wi();var I=$t.memoizedState;return I===null?(m={current:m},$t.memoizedState=m):I},useState:function(m){return an(ti,m)},useInsertionEffect:jr,useLayoutEffect:function(){},useCallback:function(m,I){return ui(function(){return m},I)},useImperativeHandle:jr,useEffect:jr,useDebugValue:jr,useDeferredValue:function(m){return ei(),m},useTransition:function(){return ei(),[!1,Ga]},useId:function(){var m=Br.treeContext,I=m.overflow;m=m.id,m=(m&~(1<<32-Mn(m)-1)).toString(32)+I;var B=$i;if(B===null)throw Error(t(404));return I=En++,m=":"+B.idPrefix+"R"+m,0<I&&(m+="H"+I.toString(32)),m+":"},useMutableSource:function(m,I){return ei(),I(m._source)},useSyncExternalStore:function(m,I,B){if(B===void 0)throw Error(t(407));return B()}},$i=null,sa=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function ci(m){return console.error(m),null}function ni(){}function fi(m,I,B,Y,me,se,xe,He,it){var ft=[],at=new Set;return I={destination:null,responseState:I,progressiveChunkSize:Y===void 0?12800:Y,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:at,pingedTasks:ft,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:me===void 0?ci:me,onAllReady:se===void 0?ni:se,onShellReady:xe===void 0?ni:xe,onShellError:He===void 0?ni:He,onFatalError:it===void 0?ni:it},B=di(I,0,null,B,!1,!1),B.parentFlushed=!0,m=Vi(I,m,null,B,at,mr,null,ki),ft.push(m),I}function Vi(m,I,B,Y,me,se,xe,He){m.allPendingTasks++,B===null?m.pendingRootTasks++:B.pendingTasks++;var it={node:I,ping:function(){var ft=m.pingedTasks;ft.push(it),ft.length===1&&zn(m)},blockedBoundary:B,blockedSegment:Y,abortSet:me,legacyContext:se,context:xe,treeContext:He};return me.add(it),it}function di(m,I,B,Y,me,se){return{status:0,id:-1,index:I,parentFlushed:!1,chunks:[],children:[],formatContext:Y,boundary:B,lastPushedText:me,textEmbedded:se}}function Hr(m,I){if(m=m.onError(I),m!=null&&typeof m!="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 m+'" instead');return m}function fr(m,I){var B=m.onShellError;B(I),B=m.onFatalError,B(I),m.destination!==null?(m.status=2,m.destination.destroy(I)):(m.status=1,m.fatalError=I)}function Sr(m,I,B,Y,me){for(Wn={},Br=I,En=0,m=B(Y,me);Ei;)Ei=!1,En=0,Qr+=1,$t=null,m=B(Y,me);return cr(),m}function Ur(m,I,B,Y){var me=B.render(),se=Y.childContextTypes;if(se!=null){var xe=I.legacyContext;if(typeof B.getChildContext!="function")Y=xe;else{B=B.getChildContext();for(var He in B)if(!(He in se))throw Error(t(108,wi(Y)||"Unknown",He));Y=Oe({},xe,B)}I.legacyContext=Y,cn(m,I,me),I.legacyContext=xe}else cn(m,I,me)}function wr(m,I){if(m&&m.defaultProps){I=Oe({},I),m=m.defaultProps;for(var B in m)I[B]===void 0&&(I[B]=m[B]);return I}return I}function Fn(m,I,B,Y,me){if(typeof B=="function")if(B.prototype&&B.prototype.isReactComponent){me=Gn(B,I.legacyContext);var se=B.contextType;se=new B(Y,typeof se=="object"&&se!==null?se._currentValue2:me),Ci(se,B,Y,me),Ur(m,I,se,B)}else{se=Gn(B,I.legacyContext),me=Sr(m,I,B,Y,se);var xe=En!==0;if(typeof me=="object"&&me!==null&&typeof me.render=="function"&&me.$$typeof===void 0)Ci(me,B,Y,se),Ur(m,I,me,B);else if(xe){Y=I.treeContext,I.treeContext=yr(Y,1,0);try{cn(m,I,me)}finally{I.treeContext=Y}}else cn(m,I,me)}else if(typeof B=="string"){switch(me=I.blockedSegment,se=lt(me.chunks,B,Y,m.responseState,me.formatContext),me.lastPushedText=!1,xe=me.formatContext,me.formatContext=Ie(xe,B,Y),dr(m,I,se),me.formatContext=xe,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("</",B,">")}me.lastPushedText=!1}else{switch(B){case lr:case Hn:case Ve:case Ye:case tt:cn(m,I,Y.children);return;case Lt:cn(m,I,Y.children);return;case Ut:throw Error(t(343));case ct:e:{B=I.blockedBoundary,me=I.blockedSegment,se=Y.fallback,Y=Y.children,xe=new Set;var He={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:xe,errorDigest:null},it=di(m,me.chunks.length,He,me.formatContext,!1,!1);me.children.push(it),me.lastPushedText=!1;var ft=di(m,0,null,me.formatContext,!1,!1);ft.parentFlushed=!0,I.blockedBoundary=He,I.blockedSegment=ft;try{if(dr(m,I,Y),m.responseState.generateStaticMarkup||ft.lastPushedText&&ft.textEmbedded&&ft.chunks.push("<!-- -->"),ft.status=1,Cr(He,ft),He.pendingTasks===0)break e}catch(at){ft.status=4,He.forceClientRender=!0,He.errorDigest=Hr(m,at)}finally{I.blockedBoundary=B,I.blockedSegment=me}I=Vi(m,se,B,it,xe,I.legacyContext,I.context,I.treeContext),m.pingedTasks.push(I)}return}if(typeof B=="object"&&B!==null)switch(B.$$typeof){case vt:if(Y=Sr(m,I,B.render,Y,me),En!==0){B=I.treeContext,I.treeContext=yr(B,1,0);try{cn(m,I,Y)}finally{I.treeContext=B}}else cn(m,I,Y);return;case $e:B=B.type,Y=wr(B,Y),Fn(m,I,B,Y,me);return;case ut:if(me=Y.children,B=B._context,Y=Y.value,se=B._currentValue2,B._currentValue2=Y,xe=rn,rn=Y={parent:xe,depth:xe===null?0:xe.depth+1,context:B,parentValue:se,value:Y},I.context=Y,cn(m,I,me),m=rn,m===null)throw Error(t(403));Y=m.parentValue,m.context._currentValue2=Y===Un?m.context._defaultValue:Y,m=rn=m.parent,I.context=m;return;case gt:Y=Y.children,Y=Y(B._currentValue2),cn(m,I,Y);return;case Nt:me=B._init,B=me(B._payload),Y=wr(B,Y),Fn(m,I,B,Y,void 0);return}throw Error(t(130,B==null?B:typeof B,""))}}function cn(m,I,B){if(I.node=B,typeof B=="object"&&B!==null){switch(B.$$typeof){case ze:Fn(m,I,B.type,B.props,B.ref);return;case et:throw Error(t(257));case Nt:var Y=B._init;B=Y(B._payload),cn(m,I,B);return}if(W(B)){xr(m,I,B);return}if(B===null||typeof B!="object"?Y=null:(Y=bn&&B[bn]||B["@@iterator"],Y=typeof Y=="function"?Y:null),Y&&(Y=Y.call(B))){if(B=Y.next(),!B.done){var me=[];do me.push(B.value),B=Y.next();while(!B.done);xr(m,I,me)}return}throw m=Object.prototype.toString.call(B),Error(t(31,m==="[object Object]"?"object with keys {"+Object.keys(B).join(", ")+"}":m))}typeof B=="string"?(Y=I.blockedSegment,Y.lastPushedText=Re(I.blockedSegment.chunks,B,m.responseState,Y.lastPushedText)):typeof B=="number"&&(Y=I.blockedSegment,Y.lastPushedText=Re(I.blockedSegment.chunks,""+B,m.responseState,Y.lastPushedText))}function xr(m,I,B){for(var Y=B.length,me=0;me<Y;me++){var se=I.treeContext;I.treeContext=yr(se,Y,me);try{dr(m,I,B[me])}finally{I.treeContext=se}}}function dr(m,I,B){var Y=I.blockedSegment.formatContext,me=I.legacyContext,se=I.context;try{return cn(m,I,B)}catch(it){if(cr(),typeof it=="object"&&it!==null&&typeof it.then=="function"){B=it;var xe=I.blockedSegment,He=di(m,xe.chunks.length,null,xe.formatContext,xe.lastPushedText,!0);xe.children.push(He),xe.lastPushedText=!1,m=Vi(m,I.node,I.blockedBoundary,He,I.abortSet,I.legacyContext,I.context,I.treeContext).ping,B.then(m,m),I.blockedSegment.formatContext=Y,I.legacyContext=me,I.context=se,nn(se)}else throw I.blockedSegment.formatContext=Y,I.legacyContext=me,I.context=se,nn(se),it}}function Tn(m){var I=m.blockedBoundary;m=m.blockedSegment,m.status=3,Wr(this,I,m)}function ri(m,I,B){var Y=m.blockedBoundary;m.blockedSegment.status=3,Y===null?(I.allPendingTasks--,I.status!==2&&(I.status=2,I.destination!==null&&I.destination.push(null))):(Y.pendingTasks--,Y.forceClientRender||(Y.forceClientRender=!0,m=B===void 0?Error(t(432)):B,Y.errorDigest=I.onError(m),Y.parentFlushed&&I.clientRenderedBoundaries.push(Y)),Y.fallbackAbortableTasks.forEach(function(me){return ri(me,I,B)}),Y.fallbackAbortableTasks.clear(),I.allPendingTasks--,I.allPendingTasks===0&&(Y=I.onAllReady,Y()))}function Cr(m,I){if(I.chunks.length===0&&I.children.length===1&&I.children[0].boundary===null){var B=I.children[0];B.id=I.id,B.parentFlushed=!0,B.status===1&&Cr(m,B)}else m.completedSegments.push(I)}function Wr(m,I,B){if(I===null){if(B.parentFlushed){if(m.completedRootSegment!==null)throw Error(t(389));m.completedRootSegment=B}m.pendingRootTasks--,m.pendingRootTasks===0&&(m.onShellError=ni,I=m.onShellReady,I())}else I.pendingTasks--,I.forceClientRender||(I.pendingTasks===0?(B.parentFlushed&&B.status===1&&Cr(I,B),I.parentFlushed&&m.completedBoundaries.push(I),I.fallbackAbortableTasks.forEach(Tn,m),I.fallbackAbortableTasks.clear()):B.parentFlushed&&B.status===1&&(Cr(I,B),I.completedSegments.length===1&&I.parentFlushed&&m.partialBoundaries.push(I)));m.allPendingTasks--,m.allPendingTasks===0&&(m=m.onAllReady,m())}function zn(m){if(m.status!==2){var I=rn,B=sa.current;sa.current=zi;var Y=$i;$i=m.responseState;try{var me=m.pingedTasks,se;for(se=0;se<me.length;se++){var xe=me[se],He=m,it=xe.blockedSegment;if(it.status===0){nn(xe.context);try{cn(He,xe,xe.node),He.responseState.generateStaticMarkup||it.lastPushedText&&it.textEmbedded&&it.chunks.push("<!-- -->"),xe.abortSet.delete(xe),it.status=1,Wr(He,xe.blockedBoundary,it)}catch(Sn){if(cr(),typeof Sn=="object"&&Sn!==null&&typeof Sn.then=="function"){var ft=xe.ping;Sn.then(ft,ft)}else{xe.abortSet.delete(xe),it.status=4;var at=xe.blockedBoundary,Mt=Sn,$n=Hr(He,Mt);if(at===null?fr(He,Mt):(at.pendingTasks--,at.forceClientRender||(at.forceClientRender=!0,at.errorDigest=$n,at.parentFlushed&&He.clientRenderedBoundaries.push(at))),He.allPendingTasks--,He.allPendingTasks===0){var Ln=He.onAllReady;Ln()}}}finally{}}}me.splice(0,se),m.destination!==null&&Qn(m,m.destination)}catch(Sn){Hr(m,Sn),fr(m,Sn)}finally{$i=Y,sa.current=B,B===zi&&nn(I)}}}function zr(m,I,B){switch(B.parentFlushed=!0,B.status){case 0:var Y=B.id=m.nextSegmentId++;return B.lastPushedText=!1,B.textEmbedded=!1,m=m.responseState,I.push('<template id="'),I.push(m.placeholderPrefix),m=Y.toString(16),I.push(m),I.push('"></template>');case 1:B.status=2;var me=!0;Y=B.chunks;var se=0;B=B.children;for(var xe=0;xe<B.length;xe++){for(me=B[xe];se<me.index;se++)I.push(Y[se]);me=$r(m,I,me)}for(;se<Y.length-1;se++)I.push(Y[se]);return se<Y.length&&(me=I.push(Y[se])),me;default:throw Error(t(390))}}function $r(m,I,B){var Y=B.boundary;if(Y===null)return zr(m,I,B);if(Y.parentFlushed=!0,Y.forceClientRender)return m.responseState.generateStaticMarkup||(Y=Y.errorDigest,I.push("<!--$!-->"),I.push("<template"),Y&&(I.push(' data-dgst="'),Y=ue(Y),I.push(Y),I.push('"')),I.push("></template>")),zr(m,I,B),m=m.responseState.generateStaticMarkup?!0:I.push("<!--/$-->"),m;if(0<Y.pendingTasks){Y.rootSegmentID=m.nextSegmentId++,0<Y.completedSegments.length&&m.partialBoundaries.push(Y);var me=m.responseState,se=me.nextSuspenseID++;return me=me.boundaryPrefix+se.toString(16),Y=Y.id=me,kt(I,m.responseState,Y),zr(m,I,B),I.push("<!--/$-->")}if(Y.byteSize>m.progressiveChunkSize)return Y.rootSegmentID=m.nextSegmentId++,m.completedBoundaries.push(Y),kt(I,m.responseState,Y.id),zr(m,I,B),I.push("<!--/$-->");if(m.responseState.generateStaticMarkup||I.push("<!--$-->"),B=Y.completedSegments,B.length!==1)throw Error(t(391));return $r(m,I,B[0]),m=m.responseState.generateStaticMarkup?!0:I.push("<!--/$-->"),m}function Ti(m,I,B){return Zt(I,m.responseState,B.formatContext,B.id),$r(m,I,B),qt(I,B.formatContext)}function Cn(m,I,B){for(var Y=B.completedSegments,me=0;me<Y.length;me++)hr(m,I,B,Y[me]);if(Y.length=0,m=m.responseState,Y=B.id,B=B.rootSegmentID,I.push(m.startInlineScript),m.sentCompleteBoundaryFunction?I.push('$RC("'):(m.sentCompleteBoundaryFunction=!0,I.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("')),Y===null)throw Error(t(395));return B=B.toString(16),I.push(Y),I.push('","'),I.push(m.segmentPrefix),I.push(B),I.push('")<\/script>')}function hr(m,I,B,Y){if(Y.status===2)return!0;var me=Y.id;if(me===-1){if((Y.id=B.rootSegmentID)===-1)throw Error(t(392));return Ti(m,I,Y)}return Ti(m,I,Y),m=m.responseState,I.push(m.startInlineScript),m.sentCompleteSegmentFunction?I.push('$RS("'):(m.sentCompleteSegmentFunction=!0,I.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("')),I.push(m.segmentPrefix),me=me.toString(16),I.push(me),I.push('","'),I.push(m.placeholderPrefix),I.push(me),I.push('")<\/script>')}function Qn(m,I){try{var B=m.completedRootSegment;if(B!==null&&m.pendingRootTasks===0){$r(m,I,B),m.completedRootSegment=null;var Y=m.responseState.bootstrapChunks;for(B=0;B<Y.length-1;B++)I.push(Y[B]);B<Y.length&&I.push(Y[B])}var me=m.clientRenderedBoundaries,se;for(se=0;se<me.length;se++){var xe=me[se];Y=I;var He=m.responseState,it=xe.id,ft=xe.errorDigest,at=xe.errorMessage,Mt=xe.errorComponentStack;if(Y.push(He.startInlineScript),He.sentClientRenderFunction?Y.push('$RX("'):(He.sentClientRenderFunction=!0,Y.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("')),it===null)throw Error(t(395));if(Y.push(it),Y.push('"'),ft||at||Mt){Y.push(",");var $n=Xe(ft||"");Y.push($n)}if(at||Mt){Y.push(",");var Ln=Xe(at||"");Y.push(Ln)}if(Mt){Y.push(",");var Sn=Xe(Mt);Y.push(Sn)}if(!Y.push(")<\/script>")){m.destination=null,se++,me.splice(0,se);return}}me.splice(0,se);var Er=m.completedBoundaries;for(se=0;se<Er.length;se++)if(!Cn(m,I,Er[se])){m.destination=null,se++,Er.splice(0,se);return}Er.splice(0,se);var Xn=m.partialBoundaries;for(se=0;se<Xn.length;se++){var _i=Xn[se];e:{me=m,xe=I;var ii=_i.completedSegments;for(He=0;He<ii.length;He++)if(!hr(me,xe,_i,ii[He])){He++,ii.splice(0,He);var Ri=!1;break e}ii.splice(0,He),Ri=!0}if(!Ri){m.destination=null,se++,Xn.splice(0,se);return}}Xn.splice(0,se);var Tr=m.completedBoundaries;for(se=0;se<Tr.length;se++)if(!Cn(m,I,Tr[se])){m.destination=null,se++,Tr.splice(0,se);return}Tr.splice(0,se)}finally{m.allPendingTasks===0&&m.pingedTasks.length===0&&m.clientRenderedBoundaries.length===0&&m.completedBoundaries.length===0&&I.push(null)}}function la(m,I){try{var B=m.abortableTasks;B.forEach(function(Y){return ri(Y,m,I)}),B.clear(),m.destination!==null&&Qn(m,m.destination)}catch(Y){Hr(m,Y),fr(m,Y)}}function Ii(){}function kr(m,I,B,Y){var me=!1,se=null,xe="",He={push:function(ft){return ft!==null&&(xe+=ft),!0},destroy:function(ft){me=!0,se=ft}},it=!1;if(m=fi(m,wt(B,I?I.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Ii,void 0,function(){it=!0},void 0,void 0),zn(m),la(m,Y),m.status===1)m.status=2,He.destroy(m.fatalError);else if(m.status!==2&&m.destination===null){m.destination=He;try{Qn(m,He)}catch(ft){Hr(m,ft),fr(m,ft)}}if(me)throw se;if(!it)throw Error(t(426));return xe}return jl.renderToNodeStream=function(){throw Error(t(207))},jl.renderToStaticMarkup=function(m,I){return kr(m,I,!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')},jl.renderToStaticNodeStream=function(){throw Error(t(208))},jl.renderToString=function(m,I){return kr(m,I,!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')},jl.version="18.2.0",jl}var ac={};/**
|
|
16
|
-
* @license React
|
|
17
|
-
* react-dom-server.browser.production.min.js
|
|
18
|
-
*
|
|
19
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
20
|
-
*
|
|
21
|
-
* This source code is licensed under the MIT license found in the
|
|
22
|
-
* LICENSE file in the root directory of this source tree.
|
|
23
|
-
*/var Jd;function Hb(){if(Jd)return ac;Jd=1;var a=qe;function t(y){for(var E="https://reactjs.org/docs/error-decoder.html?invariant="+y,F=1;F<arguments.length;F++)E+="&args[]="+encodeURIComponent(arguments[F]);return"Minified React error #"+y+"; visit "+E+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=null,u=0;function o(y,E){if(E.length!==0)if(512<E.length)0<u&&(y.enqueue(new Uint8Array(r.buffer,0,u)),r=new Uint8Array(512),u=0),y.enqueue(E);else{var F=r.length-u;F<E.length&&(F===0?y.enqueue(r):(r.set(E.subarray(0,F),u),y.enqueue(r),E=E.subarray(F)),r=new Uint8Array(512),u=0),r.set(E,u),u+=E.length}}function p(y,E){return o(y,E),!0}function x(y){r&&0<u&&(y.enqueue(new Uint8Array(r.buffer,0,u)),r=null,u=0)}var P=new TextEncoder;function _(y){return P.encode(y)}function M(y){return P.encode(y)}function X(y,E){typeof y.error=="function"?y.error(E):y.close()}var z=Object.prototype.hasOwnProperty,K=/^[: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]*$/,be={},ue={};function ce(y){return z.call(ue,y)?!0:z.call(be,y)?!1:K.test(y)?ue[y]=!0:(be[y]=!0,!1)}function ee(y,E,F,V,he,pe,Ee){this.acceptsBooleans=E===2||E===3||E===4,this.attributeName=V,this.attributeNamespace=he,this.mustUseProperty=F,this.propertyName=y,this.type=E,this.sanitizeURL=pe,this.removeEmptyString=Ee}var W={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(y){W[y]=new ee(y,0,!1,y,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(y){var E=y[0];W[E]=new ee(E,1,!1,y[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(y){W[y]=new ee(y,2,!1,y.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(y){W[y]=new ee(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){W[y]=new ee(y,3,!1,y.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(y){W[y]=new ee(y,3,!0,y,null,!1,!1)}),["capture","download"].forEach(function(y){W[y]=new ee(y,4,!1,y,null,!1,!1)}),["cols","rows","size","span"].forEach(function(y){W[y]=new ee(y,6,!1,y,null,!1,!1)}),["rowSpan","start"].forEach(function(y){W[y]=new ee(y,5,!1,y.toLowerCase(),null,!1,!1)});var _e=/[\-:]([a-z])/g;function Ie(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 E=y.replace(_e,Ie);W[E]=new ee(E,1,!1,y,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(y){var E=y.replace(_e,Ie);W[E]=new ee(E,1,!1,y,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(y){var E=y.replace(_e,Ie);W[E]=new ee(E,1,!1,y,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(y){W[y]=new ee(y,1,!1,y.toLowerCase(),null,!1,!1)}),W.xlinkHref=new ee("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(y){W[y]=new ee(y,1,!1,y.toLowerCase(),null,!0,!0)});var Ae={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},fe=["Webkit","ms","Moz","O"];Object.keys(Ae).forEach(function(y){fe.forEach(function(E){E=E+y.charAt(0).toUpperCase()+y.substring(1),Ae[E]=Ae[y]})});var Be=/["'&<>]/;function v(y){if(typeof y=="boolean"||typeof y=="number")return""+y;y=""+y;var E=Be.exec(y);if(E){var F="",V,he=0;for(V=E.index;V<y.length;V++){switch(y.charCodeAt(V)){case 34:E=""";break;case 38:E="&";break;case 39:E="'";break;case 60:E="<";break;case 62:E=">";break;default:continue}he!==V&&(F+=y.substring(he,V)),he=V+1,F+=E}y=he!==V?F+y.substring(he,V):F}return y}var We=/([A-Z])/g,De=/^ms-/,Dt=Array.isArray,Ct=M("<script>"),At=M("<\/script>"),lt=M('<script src="'),kt=M('<script type="module" src="'),Zt=M('" async=""><\/script>'),qt=/(<\/|<)(s)(cript)/gi;function mt(y,E,F,V){return""+E+(F==="s"?"\\u0073":"\\u0053")+V}function Xe(y,E,F,V,he){y=y===void 0?"":y,E=E===void 0?Ct:M('<script nonce="'+v(E)+'">');var pe=[];if(F!==void 0&&pe.push(E,_((""+F).replace(qt,mt)),At),V!==void 0)for(F=0;F<V.length;F++)pe.push(lt,_(v(V[F])),Zt);if(he!==void 0)for(V=0;V<he.length;V++)pe.push(kt,_(v(he[V])),Zt);return{bootstrapChunks:pe,startInlineScript:E,placeholderPrefix:M(y+"P:"),segmentPrefix:M(y+"S:"),boundaryPrefix:y+"B:",idPrefix:y,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function wt(y,E){return{insertionMode:y,selectedValue:E}}function Re(y){return wt(y==="http://www.w3.org/2000/svg"?2:y==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function Oe(y,E,F){switch(E){case"select":return wt(1,F.value!=null?F.value:F.defaultValue);case"svg":return wt(2,null);case"math":return wt(3,null);case"foreignObject":return wt(1,null);case"table":return wt(4,null);case"thead":case"tbody":case"tfoot":return wt(5,null);case"colgroup":return wt(7,null);case"tr":return wt(6,null)}return 4<=y.insertionMode||y.insertionMode===0?wt(1,null):y}var ze=M("<!-- -->");function et(y,E,F,V){return E===""?V:(V&&y.push(ze),y.push(_(v(E))),!0)}var tt=new Map,Ve=M(' style="'),Ye=M(":"),ut=M(";");function gt(y,E,F){if(typeof F!="object")throw Error(t(62));E=!0;for(var V in F)if(z.call(F,V)){var he=F[V];if(he!=null&&typeof he!="boolean"&&he!==""){if(V.indexOf("--")===0){var pe=_(v(V));he=_(v((""+he).trim()))}else{pe=V;var Ee=tt.get(pe);Ee!==void 0||(Ee=M(v(pe.replace(We,"-$1").toLowerCase().replace(De,"-ms-"))),tt.set(pe,Ee)),pe=Ee,he=typeof he=="number"?he===0||z.call(Ae,V)?_(""+he):_(he+"px"):_(v((""+he).trim()))}E?(E=!1,y.push(Ve,pe,Ye,he)):y.push(ut,pe,Ye,he)}}E||y.push(Lt)}var vt=M(" "),ct=M('="'),Lt=M('"'),$e=M('=""');function Nt(y,E,F,V){switch(F){case"style":gt(y,E,V);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<F.length)||F[0]!=="o"&&F[0]!=="O"||F[1]!=="n"&&F[1]!=="N"){if(E=W.hasOwnProperty(F)?W[F]:null,E!==null){switch(typeof V){case"function":case"symbol":return;case"boolean":if(!E.acceptsBooleans)return}switch(F=_(E.attributeName),E.type){case 3:V&&y.push(vt,F,$e);break;case 4:V===!0?y.push(vt,F,$e):V!==!1&&y.push(vt,F,ct,_(v(V)),Lt);break;case 5:isNaN(V)||y.push(vt,F,ct,_(v(V)),Lt);break;case 6:!isNaN(V)&&1<=V&&y.push(vt,F,ct,_(v(V)),Lt);break;default:E.sanitizeURL&&(V=""+V),y.push(vt,F,ct,_(v(V)),Lt)}}else if(ce(F)){switch(typeof V){case"function":case"symbol":return;case"boolean":if(E=F.toLowerCase().slice(0,5),E!=="data-"&&E!=="aria-")return}y.push(vt,_(F),ct,_(v(V)),Lt)}}}var Ut=M(">"),Hn=M("/>");function lr(y,E,F){if(E!=null){if(F!=null)throw Error(t(60));if(typeof E!="object"||!("__html"in E))throw Error(t(61));E=E.__html,E!=null&&y.push(_(""+E))}}function Un(y){var E="";return a.Children.forEach(y,function(F){F!=null&&(E+=F)}),E}var bn=M(' selected=""');function wi(y,E,F,V){y.push(sn(F));var he=F=null,pe;for(pe in E)if(z.call(E,pe)){var Ee=E[pe];if(Ee!=null)switch(pe){case"children":F=Ee;break;case"dangerouslySetInnerHTML":he=Ee;break;default:Nt(y,V,pe,Ee)}}return y.push(Ut),lr(y,he,F),typeof F=="string"?(y.push(_(v(F))),null):F}var mr=M(`
|
|
24
|
-
`),Gn=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,rn=new Map;function sn(y){var E=rn.get(y);if(E===void 0){if(!Gn.test(y))throw Error(t(65,y));E=M("<"+y),rn.set(y,E)}return E}var ln=M("<!DOCTYPE html>");function rt(y,E,F,V,he){switch(E){case"select":y.push(sn("select"));var pe=null,Ee=null;for(yt in F)if(z.call(F,yt)){var je=F[yt];if(je!=null)switch(yt){case"children":pe=je;break;case"dangerouslySetInnerHTML":Ee=je;break;case"defaultValue":case"value":break;default:Nt(y,V,yt,je)}}return y.push(Ut),lr(y,Ee,pe),pe;case"option":Ee=he.selectedValue,y.push(sn("option"));var ot=je=null,Pt=null,yt=null;for(pe in F)if(z.call(F,pe)){var dt=F[pe];if(dt!=null)switch(pe){case"children":je=dt;break;case"selected":Pt=dt;break;case"dangerouslySetInnerHTML":yt=dt;break;case"value":ot=dt;default:Nt(y,V,pe,dt)}}if(Ee!=null)if(F=ot!==null?""+ot:Un(je),Dt(Ee)){for(V=0;V<Ee.length;V++)if(""+Ee[V]===F){y.push(bn);break}}else""+Ee===F&&y.push(bn);else Pt&&y.push(bn);return y.push(Ut),lr(y,yt,je),je;case"textarea":y.push(sn("textarea")),yt=Ee=pe=null;for(je in F)if(z.call(F,je)&&(ot=F[je],ot!=null))switch(je){case"children":yt=ot;break;case"value":pe=ot;break;case"defaultValue":Ee=ot;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:Nt(y,V,je,ot)}if(pe===null&&Ee!==null&&(pe=Ee),y.push(Ut),yt!=null){if(pe!=null)throw Error(t(92));if(Dt(yt)&&1<yt.length)throw Error(t(93));pe=""+yt}return typeof pe=="string"&&pe[0]===`
|
|
25
|
-
`&&y.push(mr),pe!==null&&y.push(_(v(""+pe))),null;case"input":y.push(sn("input")),ot=yt=je=pe=null;for(Ee in F)if(z.call(F,Ee)&&(Pt=F[Ee],Pt!=null))switch(Ee){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":ot=Pt;break;case"defaultValue":je=Pt;break;case"checked":yt=Pt;break;case"value":pe=Pt;break;default:Nt(y,V,Ee,Pt)}return yt!==null?Nt(y,V,"checked",yt):ot!==null&&Nt(y,V,"checked",ot),pe!==null?Nt(y,V,"value",pe):je!==null&&Nt(y,V,"value",je),y.push(Hn),null;case"menuitem":y.push(sn("menuitem"));for(var An in F)if(z.call(F,An)&&(pe=F[An],pe!=null))switch(An){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:Nt(y,V,An,pe)}return y.push(Ut),null;case"title":y.push(sn("title")),pe=null;for(dt in F)if(z.call(F,dt)&&(Ee=F[dt],Ee!=null))switch(dt){case"children":pe=Ee;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:Nt(y,V,dt,Ee)}return y.push(Ut),pe;case"listing":case"pre":y.push(sn(E)),Ee=pe=null;for(ot in F)if(z.call(F,ot)&&(je=F[ot],je!=null))switch(ot){case"children":pe=je;break;case"dangerouslySetInnerHTML":Ee=je;break;default:Nt(y,V,ot,je)}if(y.push(Ut),Ee!=null){if(pe!=null)throw Error(t(60));if(typeof Ee!="object"||!("__html"in Ee))throw Error(t(61));F=Ee.__html,F!=null&&(typeof F=="string"&&0<F.length&&F[0]===`
|
|
26
|
-
`?y.push(mr,_(F)):y.push(_(""+F)))}return typeof pe=="string"&&pe[0]===`
|
|
27
|
-
`&&y.push(mr),pe;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(sn(E));for(var vn in F)if(z.call(F,vn)&&(pe=F[vn],pe!=null))switch(vn){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,E));default:Nt(y,V,vn,pe)}return y.push(Hn),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 wi(y,F,E,V);case"html":return he.insertionMode===0&&y.push(ln),wi(y,F,E,V);default:if(E.indexOf("-")===-1&&typeof F.is!="string")return wi(y,F,E,V);y.push(sn(E)),Ee=pe=null;for(Pt in F)if(z.call(F,Pt)&&(je=F[Pt],je!=null))switch(Pt){case"children":pe=je;break;case"dangerouslySetInnerHTML":Ee=je;break;case"style":gt(y,V,je);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ce(Pt)&&typeof je!="function"&&typeof je!="symbol"&&y.push(vt,_(Pt),ct,_(v(je)),Lt)}return y.push(Ut),lr(y,Ee,pe),pe}}var kn=M("</"),Zr=M(">"),nn=M('<template id="'),xi=M('"></template>'),Ci=M("<!--$-->"),ki=M('<!--$?--><template id="'),yr=M('"></template>'),Mn=M("<!--$!-->"),br=M("<!--/$-->"),ur=M("<template"),Lr=M('"'),Nr=M(' data-dgst="');M(' data-msg="'),M(' data-stck="');var oa=M("></template>");function Wn(y,E,F){if(o(y,ki),F===null)throw Error(t(395));return o(y,F),p(y,yr)}var Br=M('<div hidden id="'),qn=M('">'),$t=M("</div>"),Jr=M('<svg aria-hidden="true" style="display:none" id="'),Ei=M('">'),En=M("</svg>"),un=M('<math aria-hidden="true" style="display:none" id="'),Qr=M('">'),ei=M("</math>"),fn=M('<table hidden id="'),Wi=M('">'),cr=M("</table>"),ti=M('<table hidden><tbody id="'),an=M('">'),ui=M("</tbody></table>"),Ya=M('<table hidden><tr id="'),Ga=M('">'),jr=M("</tr></table>"),zi=M('<table hidden><colgroup id="'),$i=M('">'),sa=M("</colgroup></table>");function ci(y,E,F,V){switch(F.insertionMode){case 0:case 1:return o(y,Br),o(y,E.segmentPrefix),o(y,_(V.toString(16))),p(y,qn);case 2:return o(y,Jr),o(y,E.segmentPrefix),o(y,_(V.toString(16))),p(y,Ei);case 3:return o(y,un),o(y,E.segmentPrefix),o(y,_(V.toString(16))),p(y,Qr);case 4:return o(y,fn),o(y,E.segmentPrefix),o(y,_(V.toString(16))),p(y,Wi);case 5:return o(y,ti),o(y,E.segmentPrefix),o(y,_(V.toString(16))),p(y,an);case 6:return o(y,Ya),o(y,E.segmentPrefix),o(y,_(V.toString(16))),p(y,Ga);case 7:return o(y,zi),o(y,E.segmentPrefix),o(y,_(V.toString(16))),p(y,$i);default:throw Error(t(397))}}function ni(y,E){switch(E.insertionMode){case 0:case 1:return p(y,$t);case 2:return p(y,En);case 3:return p(y,ei);case 4:return p(y,cr);case 5:return p(y,ui);case 6:return p(y,jr);case 7:return p(y,sa);default:throw Error(t(397))}}var fi=M('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("'),Vi=M('$RS("'),di=M('","'),Hr=M('")<\/script>'),fr=M('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("'),Sr=M('$RC("'),Ur=M('","'),wr=M('")<\/script>'),Fn=M('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("'),cn=M('$RX("'),xr=M('"'),dr=M(")<\/script>"),Tn=M(","),ri=/[<\u2028\u2029]/g;function Cr(y){return JSON.stringify(y).replace(ri,function(E){switch(E){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 Wr=Object.assign,zn=Symbol.for("react.element"),zr=Symbol.for("react.portal"),$r=Symbol.for("react.fragment"),Ti=Symbol.for("react.strict_mode"),Cn=Symbol.for("react.profiler"),hr=Symbol.for("react.provider"),Qn=Symbol.for("react.context"),la=Symbol.for("react.forward_ref"),Ii=Symbol.for("react.suspense"),kr=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),B=Symbol.for("react.scope"),Y=Symbol.for("react.debug_trace_mode"),me=Symbol.for("react.legacy_hidden"),se=Symbol.for("react.default_value"),xe=Symbol.iterator;function He(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 $r:return"Fragment";case zr:return"Portal";case Cn:return"Profiler";case Ti:return"StrictMode";case Ii:return"Suspense";case kr:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case Qn:return(y.displayName||"Context")+".Consumer";case hr:return(y._context.displayName||"Context")+".Provider";case la:var E=y.render;return y=y.displayName,y||(y=E.displayName||E.name||"",y=y!==""?"ForwardRef("+y+")":"ForwardRef"),y;case m:return E=y.displayName||null,E!==null?E:He(y.type)||"Memo";case I:E=y._payload,y=y._init;try{return He(y(E))}catch{}}return null}var it={};function ft(y,E){if(y=y.contextTypes,!y)return it;var F={},V;for(V in y)F[V]=E[V];return F}var at=null;function Mt(y,E){if(y!==E){y.context._currentValue=y.parentValue,y=y.parent;var F=E.parent;if(y===null){if(F!==null)throw Error(t(401))}else{if(F===null)throw Error(t(401));Mt(y,F)}E.context._currentValue=E.value}}function $n(y){y.context._currentValue=y.parentValue,y=y.parent,y!==null&&$n(y)}function Ln(y){var E=y.parent;E!==null&&Ln(E),y.context._currentValue=y.value}function Sn(y,E){if(y.context._currentValue=y.parentValue,y=y.parent,y===null)throw Error(t(402));y.depth===E.depth?Mt(y,E):Sn(y,E)}function Er(y,E){var F=E.parent;if(F===null)throw Error(t(402));y.depth===F.depth?Mt(y,F):Er(y,F),E.context._currentValue=E.value}function Xn(y){var E=at;E!==y&&(E===null?Ln(y):y===null?$n(E):E.depth===y.depth?Mt(E,y):E.depth>y.depth?Sn(E,y):Er(E,y),at=y)}var _i={isMounted:function(){return!1},enqueueSetState:function(y,E){y=y._reactInternals,y.queue!==null&&y.queue.push(E)},enqueueReplaceState:function(y,E){y=y._reactInternals,y.replace=!0,y.queue=[E]},enqueueForceUpdate:function(){}};function ii(y,E,F,V){var he=y.state!==void 0?y.state:null;y.updater=_i,y.props=F,y.state=he;var pe={queue:[],replace:!1};y._reactInternals=pe;var Ee=E.contextType;if(y.context=typeof Ee=="object"&&Ee!==null?Ee._currentValue:V,Ee=E.getDerivedStateFromProps,typeof Ee=="function"&&(Ee=Ee(F,he),he=Ee==null?he:Wr({},he,Ee),y.state=he),typeof E.getDerivedStateFromProps!="function"&&typeof y.getSnapshotBeforeUpdate!="function"&&(typeof y.UNSAFE_componentWillMount=="function"||typeof y.componentWillMount=="function"))if(E=y.state,typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount(),E!==y.state&&_i.enqueueReplaceState(y,y.state,null),pe.queue!==null&&0<pe.queue.length)if(E=pe.queue,Ee=pe.replace,pe.queue=null,pe.replace=!1,Ee&&E.length===1)y.state=E[0];else{for(pe=Ee?E[0]:y.state,he=!0,Ee=Ee?1:0;Ee<E.length;Ee++){var je=E[Ee];je=typeof je=="function"?je.call(y,pe,F,V):je,je!=null&&(he?(he=!1,pe=Wr({},pe,je)):Wr(pe,je))}y.state=pe}else pe.queue=null}var Ri={id:1,overflow:""};function Tr(y,E,F){var V=y.id;y=y.overflow;var he=32-ua(V)-1;V&=~(1<<he),F+=1;var pe=32-ua(E)+he;if(30<pe){var Ee=he-he%5;return pe=(V&(1<<Ee)-1).toString(32),V>>=Ee,he-=Ee,{id:1<<32-ua(E)+he|F<<he|V,overflow:pe+y}}return{id:1<<pe|F<<he|V,overflow:y}}var ua=Math.clz32?Math.clz32:Xa,Wo=Math.log,qa=Math.LN2;function Xa(y){return y>>>=0,y===0?32:31-(Wo(y)/qa|0)|0}function Ka(y,E){return y===E&&(y!==0||1/y===1/E)||y!==y&&E!==E}var Za=typeof Object.is=="function"?Object.is:Ka,ai=null,ca=null,Ia=null,en=null,Vt=!1,Ot=!1,hi=0,Vr=null,fa=0;function oi(){if(ai===null)throw Error(t(321));return ai}function er(){if(0<fa)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function Ja(){return en===null?Ia===null?(Vt=!1,Ia=en=er()):(Vt=!0,en=Ia):en.next===null?(Vt=!1,en=en.next=er()):(Vt=!0,en=en.next),en}function _a(){ca=ai=null,Ot=!1,Ia=null,fa=0,en=Vr=null}function vo(y,E){return typeof E=="function"?E(y):E}function dn(y,E,F){if(ai=oi(),en=Ja(),Vt){var V=en.queue;if(E=V.dispatch,Vr!==null&&(F=Vr.get(V),F!==void 0)){Vr.delete(V),V=en.memoizedState;do V=y(V,F.action),F=F.next;while(F!==null);return en.memoizedState=V,[V,E]}return[en.memoizedState,E]}return y=y===vo?typeof E=="function"?E():E:F!==void 0?F(E):E,en.memoizedState=y,y=en.queue={last:null,dispatch:null},y=y.dispatch=si.bind(null,ai,y),[en.memoizedState,y]}function da(y,E){if(ai=oi(),en=Ja(),E=E===void 0?null:E,en!==null){var F=en.memoizedState;if(F!==null&&E!==null){var V=F[1];e:if(V===null)V=!1;else{for(var he=0;he<V.length&&he<E.length;he++)if(!Za(E[he],V[he])){V=!1;break e}V=!0}if(V)return F[0]}}return y=y(),en.memoizedState=[y,E],y}function si(y,E,F){if(25<=fa)throw Error(t(301));if(y===ai)if(Ot=!0,y={action:F,next:null},Vr===null&&(Vr=new Map),F=Vr.get(E),F===void 0)Vr.set(E,y);else{for(E=F;E.next!==null;)E=E.next;E.next=y}}function mo(){throw Error(t(394))}function Yi(){}var Vn={readContext:function(y){return y._currentValue},useContext:function(y){return oi(),y._currentValue},useMemo:da,useReducer:dn,useRef:function(y){ai=oi(),en=Ja();var E=en.memoizedState;return E===null?(y={current:y},en.memoizedState=y):E},useState:function(y){return dn(vo,y)},useInsertionEffect:Yi,useLayoutEffect:function(){},useCallback:function(y,E){return da(function(){return y},E)},useImperativeHandle:Yi,useEffect:Yi,useDebugValue:Yi,useDeferredValue:function(y){return oi(),y},useTransition:function(){return oi(),[!1,mo]},useId:function(){var y=ca.treeContext,E=y.overflow;y=y.id,y=(y&~(1<<32-ua(y)-1)).toString(32)+E;var F=i;if(F===null)throw Error(t(404));return E=hi++,y=":"+F.idPrefix+"R"+y,0<E&&(y+="H"+E.toString(32)),y+":"},useMutableSource:function(y,E){return oi(),E(y._source)},useSyncExternalStore:function(y,E,F){if(F===void 0)throw Error(t(407));return F()}},i=null,c=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function g(y){return console.error(y),null}function b(){}function T(y,E,F,V,he,pe,Ee,je,ot){var Pt=[],yt=new Set;return E={destination:null,responseState:E,progressiveChunkSize:V===void 0?12800:V,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:yt,pingedTasks:Pt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:he===void 0?g:he,onAllReady:pe===void 0?b:pe,onShellReady:Ee===void 0?b:Ee,onShellError:je===void 0?b:je,onFatalError:ot===void 0?b:ot},F=O(E,0,null,F,!1,!1),F.parentFlushed=!0,y=R(E,y,null,F,yt,it,null,Ri),Pt.push(y),E}function R(y,E,F,V,he,pe,Ee,je){y.allPendingTasks++,F===null?y.pendingRootTasks++:F.pendingTasks++;var ot={node:E,ping:function(){var Pt=y.pingedTasks;Pt.push(ot),Pt.length===1&&_r(y)},blockedBoundary:F,blockedSegment:V,abortSet:he,legacyContext:pe,context:Ee,treeContext:je};return he.add(ot),ot}function O(y,E,F,V,he,pe){return{status:0,id:-1,index:E,parentFlushed:!1,chunks:[],children:[],formatContext:V,boundary:F,lastPushedText:he,textEmbedded:pe}}function Q(y,E){if(y=y.onError(E),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 q(y,E){var F=y.onShellError;F(E),F=y.onFatalError,F(E),y.destination!==null?(y.status=2,X(y.destination,E)):(y.status=1,y.fatalError=E)}function le(y,E,F,V,he){for(ai={},ca=E,hi=0,y=F(V,he);Ot;)Ot=!1,hi=0,fa+=1,en=null,y=F(V,he);return _a(),y}function Ce(y,E,F,V){var he=F.render(),pe=V.childContextTypes;if(pe!=null){var Ee=E.legacyContext;if(typeof F.getChildContext!="function")V=Ee;else{F=F.getChildContext();for(var je in F)if(!(je in pe))throw Error(t(108,He(V)||"Unknown",je));V=Wr({},Ee,F)}E.legacyContext=V,Me(y,E,he),E.legacyContext=Ee}else Me(y,E,he)}function ke(y,E){if(y&&y.defaultProps){E=Wr({},E),y=y.defaultProps;for(var F in y)E[F]===void 0&&(E[F]=y[F]);return E}return E}function ge(y,E,F,V,he){if(typeof F=="function")if(F.prototype&&F.prototype.isReactComponent){he=ft(F,E.legacyContext);var pe=F.contextType;pe=new F(V,typeof pe=="object"&&pe!==null?pe._currentValue:he),ii(pe,F,V,he),Ce(y,E,pe,F)}else{pe=ft(F,E.legacyContext),he=le(y,E,F,V,pe);var Ee=hi!==0;if(typeof he=="object"&&he!==null&&typeof he.render=="function"&&he.$$typeof===void 0)ii(he,F,V,pe),Ce(y,E,he,F);else if(Ee){V=E.treeContext,E.treeContext=Tr(V,1,0);try{Me(y,E,he)}finally{E.treeContext=V}}else Me(y,E,he)}else if(typeof F=="string"){switch(he=E.blockedSegment,pe=rt(he.chunks,F,V,y.responseState,he.formatContext),he.lastPushedText=!1,Ee=he.formatContext,he.formatContext=Oe(Ee,F,V),bt(y,E,pe),he.formatContext=Ee,F){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:he.chunks.push(kn,_(F),Zr)}he.lastPushedText=!1}else{switch(F){case me:case Y:case Ti:case Cn:case $r:Me(y,E,V.children);return;case kr:Me(y,E,V.children);return;case B:throw Error(t(343));case Ii:e:{F=E.blockedBoundary,he=E.blockedSegment,pe=V.fallback,V=V.children,Ee=new Set;var je={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Ee,errorDigest:null},ot=O(y,he.chunks.length,je,he.formatContext,!1,!1);he.children.push(ot),he.lastPushedText=!1;var Pt=O(y,0,null,he.formatContext,!1,!1);Pt.parentFlushed=!0,E.blockedBoundary=je,E.blockedSegment=Pt;try{if(bt(y,E,V),Pt.lastPushedText&&Pt.textEmbedded&&Pt.chunks.push(ze),Pt.status=1,on(je,Pt),je.pendingTasks===0)break e}catch(yt){Pt.status=4,je.forceClientRender=!0,je.errorDigest=Q(y,yt)}finally{E.blockedBoundary=F,E.blockedSegment=he}E=R(y,pe,F,ot,Ee,E.legacyContext,E.context,E.treeContext),y.pingedTasks.push(E)}return}if(typeof F=="object"&&F!==null)switch(F.$$typeof){case la:if(V=le(y,E,F.render,V,he),hi!==0){F=E.treeContext,E.treeContext=Tr(F,1,0);try{Me(y,E,V)}finally{E.treeContext=F}}else Me(y,E,V);return;case m:F=F.type,V=ke(F,V),ge(y,E,F,V,he);return;case hr:if(he=V.children,F=F._context,V=V.value,pe=F._currentValue,F._currentValue=V,Ee=at,at=V={parent:Ee,depth:Ee===null?0:Ee.depth+1,context:F,parentValue:pe,value:V},E.context=V,Me(y,E,he),y=at,y===null)throw Error(t(403));V=y.parentValue,y.context._currentValue=V===se?y.context._defaultValue:V,y=at=y.parent,E.context=y;return;case Qn:V=V.children,V=V(F._currentValue),Me(y,E,V);return;case I:he=F._init,F=he(F._payload),V=ke(F,V),ge(y,E,F,V,void 0);return}throw Error(t(130,F==null?F:typeof F,""))}}function Me(y,E,F){if(E.node=F,typeof F=="object"&&F!==null){switch(F.$$typeof){case zn:ge(y,E,F.type,F.props,F.ref);return;case zr:throw Error(t(257));case I:var V=F._init;F=V(F._payload),Me(y,E,F);return}if(Dt(F)){Ke(y,E,F);return}if(F===null||typeof F!="object"?V=null:(V=xe&&F[xe]||F["@@iterator"],V=typeof V=="function"?V:null),V&&(V=V.call(F))){if(F=V.next(),!F.done){var he=[];do he.push(F.value),F=V.next();while(!F.done);Ke(y,E,he)}return}throw y=Object.prototype.toString.call(F),Error(t(31,y==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":y))}typeof F=="string"?(V=E.blockedSegment,V.lastPushedText=et(E.blockedSegment.chunks,F,y.responseState,V.lastPushedText)):typeof F=="number"&&(V=E.blockedSegment,V.lastPushedText=et(E.blockedSegment.chunks,""+F,y.responseState,V.lastPushedText))}function Ke(y,E,F){for(var V=F.length,he=0;he<V;he++){var pe=E.treeContext;E.treeContext=Tr(pe,V,he);try{bt(y,E,F[he])}finally{E.treeContext=pe}}}function bt(y,E,F){var V=E.blockedSegment.formatContext,he=E.legacyContext,pe=E.context;try{return Me(y,E,F)}catch(ot){if(_a(),typeof ot=="object"&&ot!==null&&typeof ot.then=="function"){F=ot;var Ee=E.blockedSegment,je=O(y,Ee.chunks.length,null,Ee.formatContext,Ee.lastPushedText,!0);Ee.children.push(je),Ee.lastPushedText=!1,y=R(y,E.node,E.blockedBoundary,je,E.abortSet,E.legacyContext,E.context,E.treeContext).ping,F.then(y,y),E.blockedSegment.formatContext=V,E.legacyContext=he,E.context=pe,Xn(pe)}else throw E.blockedSegment.formatContext=V,E.legacyContext=he,E.context=pe,Xn(pe),ot}}function Et(y){var E=y.blockedBoundary;y=y.blockedSegment,y.status=3,Ir(this,E,y)}function In(y,E,F){var V=y.blockedBoundary;y.blockedSegment.status=3,V===null?(E.allPendingTasks--,E.status!==2&&(E.status=2,E.destination!==null&&E.destination.close())):(V.pendingTasks--,V.forceClientRender||(V.forceClientRender=!0,y=F===void 0?Error(t(432)):F,V.errorDigest=E.onError(y),V.parentFlushed&&E.clientRenderedBoundaries.push(V)),V.fallbackAbortableTasks.forEach(function(he){return In(he,E,F)}),V.fallbackAbortableTasks.clear(),E.allPendingTasks--,E.allPendingTasks===0&&(V=E.onAllReady,V()))}function on(y,E){if(E.chunks.length===0&&E.children.length===1&&E.children[0].boundary===null){var F=E.children[0];F.id=E.id,F.parentFlushed=!0,F.status===1&&on(y,F)}else y.completedSegments.push(E)}function Ir(y,E,F){if(E===null){if(F.parentFlushed){if(y.completedRootSegment!==null)throw Error(t(389));y.completedRootSegment=F}y.pendingRootTasks--,y.pendingRootTasks===0&&(y.onShellError=b,E=y.onShellReady,E())}else E.pendingTasks--,E.forceClientRender||(E.pendingTasks===0?(F.parentFlushed&&F.status===1&&on(E,F),E.parentFlushed&&y.completedBoundaries.push(E),E.fallbackAbortableTasks.forEach(Et,y),E.fallbackAbortableTasks.clear()):F.parentFlushed&&F.status===1&&(on(E,F),E.completedSegments.length===1&&E.parentFlushed&&y.partialBoundaries.push(E)));y.allPendingTasks--,y.allPendingTasks===0&&(y=y.onAllReady,y())}function _r(y){if(y.status!==2){var E=at,F=c.current;c.current=Vn;var V=i;i=y.responseState;try{var he=y.pingedTasks,pe;for(pe=0;pe<he.length;pe++){var Ee=he[pe],je=y,ot=Ee.blockedSegment;if(ot.status===0){Xn(Ee.context);try{Me(je,Ee,Ee.node),ot.lastPushedText&&ot.textEmbedded&&ot.chunks.push(ze),Ee.abortSet.delete(Ee),ot.status=1,Ir(je,Ee.blockedBoundary,ot)}catch(Nn){if(_a(),typeof Nn=="object"&&Nn!==null&&typeof Nn.then=="function"){var Pt=Ee.ping;Nn.then(Pt,Pt)}else{Ee.abortSet.delete(Ee),ot.status=4;var yt=Ee.blockedBoundary,dt=Nn,An=Q(je,dt);if(yt===null?q(je,dt):(yt.pendingTasks--,yt.forceClientRender||(yt.forceClientRender=!0,yt.errorDigest=An,yt.parentFlushed&&je.clientRenderedBoundaries.push(yt))),je.allPendingTasks--,je.allPendingTasks===0){var vn=je.onAllReady;vn()}}}finally{}}}he.splice(0,pe),y.destination!==null&&qi(y,y.destination)}catch(Nn){Q(y,Nn),q(y,Nn)}finally{i=V,c.current=F,F===Vn&&Xn(E)}}}function Ft(y,E,F){switch(F.parentFlushed=!0,F.status){case 0:var V=F.id=y.nextSegmentId++;return F.lastPushedText=!1,F.textEmbedded=!1,y=y.responseState,o(E,nn),o(E,y.placeholderPrefix),y=_(V.toString(16)),o(E,y),p(E,xi);case 1:F.status=2;var he=!0;V=F.chunks;var pe=0;F=F.children;for(var Ee=0;Ee<F.length;Ee++){for(he=F[Ee];pe<he.index;pe++)o(E,V[pe]);he=Rr(y,E,he)}for(;pe<V.length-1;pe++)o(E,V[pe]);return pe<V.length&&(he=p(E,V[pe])),he;default:throw Error(t(390))}}function Rr(y,E,F){var V=F.boundary;if(V===null)return Ft(y,E,F);if(V.parentFlushed=!0,V.forceClientRender)V=V.errorDigest,p(E,Mn),o(E,ur),V&&(o(E,Nr),o(E,_(v(V))),o(E,Lr)),p(E,oa),Ft(y,E,F);else if(0<V.pendingTasks){V.rootSegmentID=y.nextSegmentId++,0<V.completedSegments.length&&y.partialBoundaries.push(V);var he=y.responseState,pe=he.nextSuspenseID++;he=M(he.boundaryPrefix+pe.toString(16)),V=V.id=he,Wn(E,y.responseState,V),Ft(y,E,F)}else if(V.byteSize>y.progressiveChunkSize)V.rootSegmentID=y.nextSegmentId++,y.completedBoundaries.push(V),Wn(E,y.responseState,V.id),Ft(y,E,F);else{if(p(E,Ci),F=V.completedSegments,F.length!==1)throw Error(t(391));Rr(y,E,F[0])}return p(E,br)}function Bt(y,E,F){return ci(E,y.responseState,F.formatContext,F.id),Rr(y,E,F),ni(E,F.formatContext)}function Jt(y,E,F){for(var V=F.completedSegments,he=0;he<V.length;he++)Gi(y,E,F,V[he]);if(V.length=0,y=y.responseState,V=F.id,F=F.rootSegmentID,o(E,y.startInlineScript),y.sentCompleteBoundaryFunction?o(E,Sr):(y.sentCompleteBoundaryFunction=!0,o(E,fr)),V===null)throw Error(t(395));return F=_(F.toString(16)),o(E,V),o(E,Ur),o(E,y.segmentPrefix),o(E,F),p(E,wr)}function Gi(y,E,F,V){if(V.status===2)return!0;var he=V.id;if(he===-1){if((V.id=F.rootSegmentID)===-1)throw Error(t(392));return Bt(y,E,V)}return Bt(y,E,V),y=y.responseState,o(E,y.startInlineScript),y.sentCompleteSegmentFunction?o(E,Vi):(y.sentCompleteSegmentFunction=!0,o(E,fi)),o(E,y.segmentPrefix),he=_(he.toString(16)),o(E,he),o(E,di),o(E,y.placeholderPrefix),o(E,he),p(E,Hr)}function qi(y,E){r=new Uint8Array(512),u=0;try{var F=y.completedRootSegment;if(F!==null&&y.pendingRootTasks===0){Rr(y,E,F),y.completedRootSegment=null;var V=y.responseState.bootstrapChunks;for(F=0;F<V.length-1;F++)o(E,V[F]);F<V.length&&p(E,V[F])}var he=y.clientRenderedBoundaries,pe;for(pe=0;pe<he.length;pe++){var Ee=he[pe];V=E;var je=y.responseState,ot=Ee.id,Pt=Ee.errorDigest,yt=Ee.errorMessage,dt=Ee.errorComponentStack;if(o(V,je.startInlineScript),je.sentClientRenderFunction?o(V,cn):(je.sentClientRenderFunction=!0,o(V,Fn)),ot===null)throw Error(t(395));o(V,ot),o(V,xr),(Pt||yt||dt)&&(o(V,Tn),o(V,_(Cr(Pt||"")))),(yt||dt)&&(o(V,Tn),o(V,_(Cr(yt||"")))),dt&&(o(V,Tn),o(V,_(Cr(dt)))),p(V,dr)}he.splice(0,pe);var An=y.completedBoundaries;for(pe=0;pe<An.length;pe++)Jt(y,E,An[pe]);An.splice(0,pe),x(E),r=new Uint8Array(512),u=0;var vn=y.partialBoundaries;for(pe=0;pe<vn.length;pe++){var Nn=vn[pe];e:{he=y,Ee=E;var Ra=Nn.completedSegments;for(je=0;je<Ra.length;je++)if(!Gi(he,Ee,Nn,Ra[je])){je++,Ra.splice(0,je);var yo=!1;break e}Ra.splice(0,je),yo=!0}if(!yo){y.destination=null,pe++,vn.splice(0,pe);return}}vn.splice(0,pe);var Da=y.completedBoundaries;for(pe=0;pe<Da.length;pe++)Jt(y,E,Da[pe]);Da.splice(0,pe)}finally{x(E),y.allPendingTasks===0&&y.pingedTasks.length===0&&y.clientRenderedBoundaries.length===0&&y.completedBoundaries.length===0&&E.close()}}function pr(y,E){try{var F=y.abortableTasks;F.forEach(function(V){return In(V,y,E)}),F.clear(),y.destination!==null&&qi(y,y.destination)}catch(V){Q(y,V),q(y,V)}}return ac.renderToReadableStream=function(y,E){return new Promise(function(F,V){var he,pe,Ee=new Promise(function(yt,dt){pe=yt,he=dt}),je=T(y,Xe(E?E.identifierPrefix:void 0,E?E.nonce:void 0,E?E.bootstrapScriptContent:void 0,E?E.bootstrapScripts:void 0,E?E.bootstrapModules:void 0),Re(E?E.namespaceURI:void 0),E?E.progressiveChunkSize:void 0,E?E.onError:void 0,pe,function(){var yt=new ReadableStream({type:"bytes",pull:function(dt){if(je.status===1)je.status=2,X(dt,je.fatalError);else if(je.status!==2&&je.destination===null){je.destination=dt;try{qi(je,dt)}catch(An){Q(je,An),q(je,An)}}},cancel:function(){pr(je)}},{highWaterMark:0});yt.allReady=Ee,F(yt)},function(yt){Ee.catch(function(){}),V(yt)},he);if(E&&E.signal){var ot=E.signal,Pt=function(){pr(je,ot.reason),ot.removeEventListener("abort",Pt)};ot.addEventListener("abort",Pt)}_r(je)})},ac.version="18.2.0",ac}var Hl={};/**
|
|
28
|
-
* @license React
|
|
29
|
-
* react-dom-server-legacy.browser.development.js
|
|
30
|
-
*
|
|
31
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
32
|
-
*
|
|
33
|
-
* This source code is licensed under the MIT license found in the
|
|
34
|
-
* LICENSE file in the root directory of this source tree.
|
|
35
|
-
*/var Qd;function Ub(){return Qd||(Qd=1,process.env.NODE_ENV!=="production"&&function(){var a=qe,t="18.2.0",r=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function u(s){{for(var d=arguments.length,S=new Array(d>1?d-1:0),k=1;k<d;k++)S[k-1]=arguments[k];p("warn",s,S)}}function o(s){{for(var d=arguments.length,S=new Array(d>1?d-1:0),k=1;k<d;k++)S[k-1]=arguments[k];p("error",s,S)}}function p(s,d,S){{var k=r.ReactDebugCurrentFrame,L=k.getStackAddendum();L!==""&&(d+="%s",S=S.concat([L]));var G=S.map(function(te){return String(te)});G.unshift("Warning: "+d),Function.prototype.apply.call(console[s],console,G)}}function x(s){s()}function P(s){}function _(s,d){M(s,d)}function M(s,d){return s.push(d)}function X(s){}function z(s){s.push(null)}function K(s){return s}function be(s){return s}function ue(s,d){s.destroy(d)}function ce(s){{var d=typeof Symbol=="function"&&Symbol.toStringTag,S=d&&s[Symbol.toStringTag]||s.constructor.name||"Object";return S}}function ee(s){try{return W(s),!1}catch{return!0}}function W(s){return""+s}function _e(s,d){if(ee(s))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",d,ce(s)),W(s)}function Ie(s,d){if(ee(s))return o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",d,ce(s)),W(s)}function Ae(s){if(ee(s))return o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",ce(s)),W(s)}var fe=Object.prototype.hasOwnProperty,Be=0,v=1,We=2,De=3,Dt=4,Ct=5,At=6,lt=":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",kt=lt+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Zt=new RegExp("^["+lt+"]["+kt+"]*$"),qt={},mt={};function Xe(s){return fe.call(mt,s)?!0:fe.call(qt,s)?!1:Zt.test(s)?(mt[s]=!0,!0):(qt[s]=!0,o("Invalid attribute name: `%s`",s),!1)}function wt(s,d,S,k){if(S!==null&&S.type===Be)return!1;switch(typeof d){case"function":case"symbol":return!0;case"boolean":{if(k)return!1;if(S!==null)return!S.acceptsBooleans;var L=s.toLowerCase().slice(0,5);return L!=="data-"&&L!=="aria-"}default:return!1}}function Re(s){return ze.hasOwnProperty(s)?ze[s]:null}function Oe(s,d,S,k,L,G,te){this.acceptsBooleans=d===We||d===De||d===Dt,this.attributeName=k,this.attributeNamespace=L,this.mustUseProperty=S,this.propertyName=s,this.type=d,this.sanitizeURL=G,this.removeEmptyString=te}var ze={},et=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];et.forEach(function(s){ze[s]=new Oe(s,Be,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var d=s[0],S=s[1];ze[d]=new Oe(d,v,!1,S,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){ze[s]=new Oe(s,We,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){ze[s]=new Oe(s,We,!1,s,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(s){ze[s]=new Oe(s,De,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){ze[s]=new Oe(s,De,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){ze[s]=new Oe(s,Dt,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){ze[s]=new Oe(s,At,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){ze[s]=new Oe(s,Ct,!1,s.toLowerCase(),null,!1,!1)});var tt=/[\-\:]([a-z])/g,Ve=function(s){return s[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(s){var d=s.replace(tt,Ve);ze[d]=new Oe(d,v,!1,s,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(s){var d=s.replace(tt,Ve);ze[d]=new Oe(d,v,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var d=s.replace(tt,Ve);ze[d]=new Oe(d,v,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){ze[s]=new Oe(s,v,!1,s.toLowerCase(),null,!1,!1)});var Ye="xlinkHref";ze[Ye]=new Oe("xlinkHref",v,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){ze[s]=new Oe(s,v,!1,s.toLowerCase(),null,!0,!0)});var ut={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 gt(s,d){return s+d.charAt(0).toUpperCase()+d.substring(1)}var vt=["Webkit","ms","Moz","O"];Object.keys(ut).forEach(function(s){vt.forEach(function(d){ut[gt(d,s)]=ut[s]})});var ct={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Lt(s,d){ct[d.type]||d.onChange||d.onInput||d.readOnly||d.disabled||d.value==null||o("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||o("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(s,d){if(s.indexOf("-")===-1)return typeof d.is=="string";switch(s){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Nt={"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},Ut={},Hn=new RegExp("^(aria)-["+kt+"]*$"),lr=new RegExp("^(aria)[A-Z]["+kt+"]*$");function Un(s,d){{if(fe.call(Ut,d)&&Ut[d])return!0;if(lr.test(d)){var S="aria-"+d.slice(4).toLowerCase(),k=Nt.hasOwnProperty(S)?S:null;if(k==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",d),Ut[d]=!0,!0;if(d!==k)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",d,k),Ut[d]=!0,!0}if(Hn.test(d)){var L=d.toLowerCase(),G=Nt.hasOwnProperty(L)?L:null;if(G==null)return Ut[d]=!0,!1;if(d!==G)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",d,G),Ut[d]=!0,!0}}return!0}function bn(s,d){{var S=[];for(var k in d){var L=Un(s,k);L||S.push(k)}var G=S.map(function(te){return"`"+te+"`"}).join(", ");S.length===1?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",G,s):S.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",G,s)}}function wi(s,d){$e(s,d)||bn(s,d)}var mr=!1;function Gn(s,d){{if(s!=="input"&&s!=="textarea"&&s!=="select")return;d!=null&&d.value===null&&!mr&&(mr=!0,s==="select"&&d.multiple?o("`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.",s):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",s))}}var rn={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"},sn=function(){};{var ln={},rt=/^on./,kn=/^on[^A-Z]/,Zr=new RegExp("^(aria)-["+kt+"]*$"),nn=new RegExp("^(aria)[A-Z]["+kt+"]*$");sn=function(s,d,S,k){if(fe.call(ln,d)&&ln[d])return!0;var L=d.toLowerCase();if(L==="onfocusin"||L==="onfocusout")return o("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."),ln[d]=!0,!0;if(k!=null){var G=k.registrationNameDependencies,te=k.possibleRegistrationNames;if(G.hasOwnProperty(d))return!0;var Se=te.hasOwnProperty(L)?te[L]:null;if(Se!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",d,Se),ln[d]=!0,!0;if(rt.test(d))return o("Unknown event handler property `%s`. It will be ignored.",d),ln[d]=!0,!0}else if(rt.test(d))return kn.test(d)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",d),ln[d]=!0,!0;if(Zr.test(d)||nn.test(d))return!0;if(L==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ln[d]=!0,!0;if(L==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ln[d]=!0,!0;if(L==="is"&&S!==null&&S!==void 0&&typeof S!="string")return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof S),ln[d]=!0,!0;if(typeof S=="number"&&isNaN(S))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",d),ln[d]=!0,!0;var Ne=Re(d),Qe=Ne!==null&&Ne.type===Be;if(rn.hasOwnProperty(L)){var st=rn[L];if(st!==d)return o("Invalid DOM property `%s`. Did you mean `%s`?",d,st),ln[d]=!0,!0}else if(!Qe&&d!==L)return o("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,L),ln[d]=!0,!0;return typeof S=="boolean"&&wt(d,S,Ne,!1)?(S?o('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):o('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),ln[d]=!0,!0):Qe?!0:wt(d,S,Ne,!1)?(ln[d]=!0,!1):((S==="false"||S==="true")&&Ne!==null&&Ne.type===De&&(o("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),ln[d]=!0),!0)}}var xi=function(s,d,S){{var k=[];for(var L in d){var G=sn(s,L,d[L],S);G||k.push(L)}var te=k.map(function(Se){return"`"+Se+"`"}).join(", ");k.length===1?o("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 ",te,s):k.length>1&&o("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 ",te,s)}};function Ci(s,d,S){$e(s,d)||xi(s,d,S)}var ki=function(){};{var yr=/^(?:webkit|moz|o)[A-Z]/,Mn=/^-ms-/,br=/-(.)/g,ur=/;\s*$/,Lr={},Nr={},oa=!1,Wn=!1,Br=function(s){return s.replace(br,function(d,S){return S.toUpperCase()})},qn=function(s){Lr.hasOwnProperty(s)&&Lr[s]||(Lr[s]=!0,o("Unsupported style property %s. Did you mean %s?",s,Br(s.replace(Mn,"ms-"))))},$t=function(s){Lr.hasOwnProperty(s)&&Lr[s]||(Lr[s]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",s,s.charAt(0).toUpperCase()+s.slice(1)))},Jr=function(s,d){Nr.hasOwnProperty(d)&&Nr[d]||(Nr[d]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,s,d.replace(ur,"")))},Ei=function(s,d){oa||(oa=!0,o("`NaN` is an invalid value for the `%s` css style property.",s))},En=function(s,d){Wn||(Wn=!0,o("`Infinity` is an invalid value for the `%s` css style property.",s))};ki=function(s,d){s.indexOf("-")>-1?qn(s):yr.test(s)?$t(s):ur.test(d)&&Jr(s,d),typeof d=="number"&&(isNaN(d)?Ei(s,d):isFinite(d)||En(s,d))}}var un=ki,Qr=/["'&<>]/;function ei(s){Ae(s);var d=""+s,S=Qr.exec(d);if(!S)return d;var k,L="",G,te=0;for(G=S.index;G<d.length;G++){switch(d.charCodeAt(G)){case 34:k=""";break;case 38:k="&";break;case 39:k="'";break;case 60:k="<";break;case 62:k=">";break;default:continue}te!==G&&(L+=d.substring(te,G)),te=G+1,L+=k}return te!==G?L+d.substring(te,G):L}function fn(s){return typeof s=="boolean"||typeof s=="number"?""+s:ei(s)}var Wi=/([A-Z])/g,cr=/^ms-/;function ti(s){return s.replace(Wi,"-$1").toLowerCase().replace(cr,"-ms-")}var an=/^[\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,ui=!1;function Ya(s){!ui&&an.test(s)&&(ui=!0,o("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(s)))}var Ga=Array.isArray;function jr(s){return Ga(s)}var zi="<script>",$i="<\/script>",sa='<script src="',ci='<script type="module" src="',ni='" async=""><\/script>';function fi(s){return Ae(s),(""+s).replace(Vi,di)}var Vi=/(<\/|<)(s)(cript)/gi,di=function(s,d,S,k){return""+d+(S==="s"?"\\u0073":"\\u0053")+k};function Hr(s,d,S,k,L){var G=s===void 0?"":s,te=d===void 0?zi:'<script nonce="'+fn(d)+'">',Se=[];if(S!==void 0&&Se.push(te,fi(S),$i),k!==void 0)for(var Ne=0;Ne<k.length;Ne++)Se.push(sa,fn(k[Ne]),ni);if(L!==void 0)for(var Qe=0;Qe<L.length;Qe++)Se.push(ci,fn(L[Qe]),ni);return{bootstrapChunks:Se,startInlineScript:te,placeholderPrefix:G+"P:",segmentPrefix:G+"S:",boundaryPrefix:G+"B:",idPrefix:G,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var fr=0,Sr=1,Ur=2,wr=3,Fn=4,cn=5,xr=6,dr=7;function Tn(s,d){return{insertionMode:s,selectedValue:d}}function ri(s,d,S){switch(d){case"select":return Tn(Sr,S.value!=null?S.value:S.defaultValue);case"svg":return Tn(Ur,null);case"math":return Tn(wr,null);case"foreignObject":return Tn(Sr,null);case"table":return Tn(Fn,null);case"thead":case"tbody":case"tfoot":return Tn(cn,null);case"colgroup":return Tn(dr,null);case"tr":return Tn(xr,null)}return s.insertionMode>=Fn||s.insertionMode===fr?Tn(Sr,null):s}var Cr=null;function Wr(s){var d=s.nextSuspenseID++;return s.boundaryPrefix+d.toString(16)}function zn(s,d,S){var k=s.idPrefix,L=":"+k+"R"+d;return S>0&&(L+="H"+S.toString(32)),L+":"}function zr(s){return fn(s)}var $r="<!-- -->";function Ti(s,d,S,k){return d===""?k:(k&&s.push($r),s.push(zr(d)),!0)}function Cn(s,d,S,k){S&&k&&s.push($r)}var hr=new Map;function Qn(s){var d=hr.get(s);if(d!==void 0)return d;var S=fn(ti(s));return hr.set(s,S),S}var la=' style="',Ii=":",kr=";";function m(s,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 k=!0;for(var L in S)if(fe.call(S,L)){var G=S[L];if(!(G==null||typeof G=="boolean"||G==="")){var te=void 0,Se=void 0,Ne=L.indexOf("--")===0;Ne?(te=fn(L),Ie(G,L),Se=fn((""+G).trim())):(un(L,G),te=Qn(L),typeof G=="number"?G!==0&&!fe.call(ut,L)?Se=G+"px":Se=""+G:(Ie(G,L),Se=fn((""+G).trim()))),k?(k=!1,s.push(la,te,Ii,Se)):s.push(kr,te,Ii,Se)}}k||s.push(Y)}var I=" ",B='="',Y='"',me='=""';function se(s,d,S,k){switch(S){case"style":{m(s,d,k);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 L=Re(S);if(L!==null){switch(typeof k){case"function":case"symbol":return;case"boolean":if(!L.acceptsBooleans)return}var G=L.attributeName,te=G;switch(L.type){case De:k&&s.push(I,te,me);return;case Dt:k===!0?s.push(I,te,me):k===!1||s.push(I,te,B,fn(k),Y);return;case Ct:isNaN(k)||s.push(I,te,B,fn(k),Y);break;case At:!isNaN(k)&&k>=1&&s.push(I,te,B,fn(k),Y);break;default:L.sanitizeURL&&(_e(k,G),k=""+k,Ya(k)),s.push(I,te,B,fn(k),Y)}}else if(Xe(S)){switch(typeof k){case"function":case"symbol":return;case"boolean":{var Se=S.toLowerCase().slice(0,5);if(Se!=="data-"&&Se!=="aria-")return}}s.push(I,S,B,fn(k),Y)}}}var xe=">",He="/>";function it(s,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 k=d.__html;k!=null&&(Ae(k),s.push(""+k))}}var ft=!1,at=!1,Mt=!1,$n=!1,Ln=!1,Sn=!1,Er=!1;function Xn(s,d){{var S=s[d];if(S!=null){var k=jr(S);s.multiple&&!k?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",d):!s.multiple&&k&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",d)}}}function _i(s,d,S){Lt("select",d),Xn(d,"value"),Xn(d,"defaultValue"),d.value!==void 0&&d.defaultValue!==void 0&&!Mt&&(o("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"),Mt=!0),s.push(Ot("select"));var k=null,L=null;for(var G in d)if(fe.call(d,G)){var te=d[G];if(te==null)continue;switch(G){case"children":k=te;break;case"dangerouslySetInnerHTML":L=te;break;case"defaultValue":case"value":break;default:se(s,S,G,te);break}}return s.push(xe),it(s,L,k),k}function ii(s){var d="";return a.Children.forEach(s,function(S){S!=null&&(d+=S,!Ln&&typeof S!="string"&&typeof S!="number"&&(Ln=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),d}var Ri=' selected=""';function Tr(s,d,S,k){var L=k.selectedValue;s.push(Ot("option"));var G=null,te=null,Se=null,Ne=null;for(var Qe in d)if(fe.call(d,Qe)){var st=d[Qe];if(st==null)continue;switch(Qe){case"children":G=st;break;case"selected":Se=st,Er||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Er=!0);break;case"dangerouslySetInnerHTML":Ne=st;break;case"value":te=st;default:se(s,S,Qe,st);break}}if(L!=null){var St;if(te!==null?(_e(te,"value"),St=""+te):(Ne!==null&&(Sn||(Sn=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),St=ii(G)),jr(L))for(var mn=0;mn<L.length;mn++){_e(L[mn],"value");var Zn=""+L[mn];if(Zn===St){s.push(Ri);break}}else _e(L,"select.value"),""+L===St&&s.push(Ri)}else Se&&s.push(Ri);return s.push(xe),it(s,Ne,G),G}function ua(s,d,S){Lt("input",d),d.checked!==void 0&&d.defaultChecked!==void 0&&!at&&(o("%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&&!ft&&(o("%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),ft=!0),s.push(Ot("input"));var k=null,L=null,G=null,te=null;for(var Se in d)if(fe.call(d,Se)){var Ne=d[Se];if(Ne==null)continue;switch(Se){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":te=Ne;break;case"defaultValue":L=Ne;break;case"checked":G=Ne;break;case"value":k=Ne;break;default:se(s,S,Se,Ne);break}}return G!==null?se(s,S,"checked",G):te!==null&&se(s,S,"checked",te),k!==null?se(s,S,"value",k):L!==null&&se(s,S,"value",L),s.push(He),null}function Wo(s,d,S){Lt("textarea",d),d.value!==void 0&&d.defaultValue!==void 0&&!$n&&(o("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),$n=!0),s.push(Ot("textarea"));var k=null,L=null,G=null;for(var te in d)if(fe.call(d,te)){var Se=d[te];if(Se==null)continue;switch(te){case"children":G=Se;break;case"value":k=Se;break;case"defaultValue":L=Se;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:se(s,S,te,Se);break}}if(k===null&&L!==null&&(k=L),s.push(xe),G!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),k!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(jr(G)){if(G.length>1)throw new Error("<textarea> can only have at most one child.");Ae(G[0]),k=""+G[0]}Ae(G),k=""+G}return typeof k=="string"&&k[0]===`
|
|
36
|
-
`&&s.push(ca),k!==null&&(_e(k,"value"),s.push(zr(""+k))),null}function qa(s,d,S,k){s.push(Ot(S));for(var L in d)if(fe.call(d,L)){var G=d[L];if(G==null)continue;switch(L){case"children":case"dangerouslySetInnerHTML":throw new Error(S+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:se(s,k,L,G);break}}return s.push(He),null}function Xa(s,d,S){s.push(Ot("menuitem"));for(var k in d)if(fe.call(d,k)){var L=d[k];if(L==null)continue;switch(k){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:se(s,S,k,L);break}}return s.push(xe),null}function Ka(s,d,S){s.push(Ot("title"));var k=null;for(var L in d)if(fe.call(d,L)){var G=d[L];if(G==null)continue;switch(L){case"children":k=G;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:se(s,S,L,G);break}}s.push(xe);{var te=Array.isArray(k)&&k.length<2?k[0]||null:k;Array.isArray(k)&&k.length>1?o("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"):te!=null&&te.$$typeof!=null?o("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"):te!=null&&typeof te!="string"&&typeof te!="number"&&o("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 k}function Za(s,d,S,k){s.push(Ot(S));var L=null,G=null;for(var te in d)if(fe.call(d,te)){var Se=d[te];if(Se==null)continue;switch(te){case"children":L=Se;break;case"dangerouslySetInnerHTML":G=Se;break;default:se(s,k,te,Se);break}}return s.push(xe),it(s,G,L),typeof L=="string"?(s.push(zr(L)),null):L}function ai(s,d,S,k){s.push(Ot(S));var L=null,G=null;for(var te in d)if(fe.call(d,te)){var Se=d[te];if(Se==null)continue;switch(te){case"children":L=Se;break;case"dangerouslySetInnerHTML":G=Se;break;case"style":m(s,k,Se);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Xe(te)&&typeof Se!="function"&&typeof Se!="symbol"&&s.push(I,te,B,fn(Se),Y);break}}return s.push(xe),it(s,G,L),L}var ca=`
|
|
37
|
-
`;function Ia(s,d,S,k){s.push(Ot(S));var L=null,G=null;for(var te in d)if(fe.call(d,te)){var Se=d[te];if(Se==null)continue;switch(te){case"children":L=Se;break;case"dangerouslySetInnerHTML":G=Se;break;default:se(s,k,te,Se);break}}if(s.push(xe),G!=null){if(L!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof G!="object"||!("__html"in G))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 Ne=G.__html;Ne!=null&&(typeof Ne=="string"&&Ne.length>0&&Ne[0]===`
|
|
38
|
-
`?s.push(ca,Ne):(Ae(Ne),s.push(""+Ne)))}return typeof L=="string"&&L[0]===`
|
|
39
|
-
`&&s.push(ca),L}var en=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Vt=new Map;function Ot(s){var d=Vt.get(s);if(d===void 0){if(!en.test(s))throw new Error("Invalid tag: "+s);d="<"+s,Vt.set(s,d)}return d}var hi="<!DOCTYPE html>";function Vr(s,d,S,k,L){switch(wi(d,S),Gn(d,S),Ci(d,S,null),!S.suppressContentEditableWarning&&S.contentEditable&&S.children!=null&&o("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."),L.insertionMode!==Ur&&L.insertionMode!==wr&&d.indexOf("-")===-1&&typeof S.is!="string"&&d.toLowerCase()!==d&&o("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",d),d){case"select":return _i(s,S,k);case"option":return Tr(s,S,k,L);case"textarea":return Wo(s,S,k);case"input":return ua(s,S,k);case"menuitem":return Xa(s,S,k);case"title":return Ka(s,S,k);case"listing":case"pre":return Ia(s,S,d,k);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 qa(s,S,d,k);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 Za(s,S,d,k);case"html":return L.insertionMode===fr&&s.push(hi),Za(s,S,d,k);default:return d.indexOf("-")===-1&&typeof S.is!="string"?Za(s,S,d,k):ai(s,S,d,k)}}var fa="</",oi=">";function er(s,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:s.push(fa,d,oi)}}function Ja(s,d){for(var S=d.bootstrapChunks,k=0;k<S.length-1;k++)_(s,S[k]);return k<S.length?M(s,S[k]):!0}var _a='<template id="',vo='"></template>';function dn(s,d,S){_(s,_a),_(s,d.placeholderPrefix);var k=S.toString(16);return _(s,k),M(s,vo)}var da="<!--$-->",si='<!--$?--><template id="',mo='"></template>',Yi="<!--$!-->",Vn="<!--/$-->",i="<template",c='"',g=' data-dgst="',b=' data-msg="',T=' data-stck="',R="></template>";function O(s,d){return M(s,da)}function Q(s,d,S){if(_(s,si),S===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return _(s,S),M(s,mo)}function q(s,d,S,k,L){var G;return G=M(s,Yi),_(s,i),S&&(_(s,g),_(s,fn(S)),_(s,c)),k&&(_(s,b),_(s,fn(k)),_(s,c)),L&&(_(s,T),_(s,fn(L)),_(s,c)),G=M(s,R),G}function le(s,d){return M(s,Vn)}function Ce(s,d){return M(s,Vn)}function ke(s,d){return M(s,Vn)}var ge='<div hidden id="',Me='">',Ke="</div>",bt='<svg aria-hidden="true" style="display:none" id="',Et='">',In="</svg>",on='<math aria-hidden="true" style="display:none" id="',Ir='">',_r="</math>",Ft='<table hidden id="',Rr='">',Bt="</table>",Jt='<table hidden><tbody id="',Gi='">',qi="</tbody></table>",pr='<table hidden><tr id="',y='">',E="</tr></table>",F='<table hidden><colgroup id="',V='">',he="</colgroup></table>";function pe(s,d,S,k){switch(S.insertionMode){case fr:case Sr:return _(s,ge),_(s,d.segmentPrefix),_(s,k.toString(16)),M(s,Me);case Ur:return _(s,bt),_(s,d.segmentPrefix),_(s,k.toString(16)),M(s,Et);case wr:return _(s,on),_(s,d.segmentPrefix),_(s,k.toString(16)),M(s,Ir);case Fn:return _(s,Ft),_(s,d.segmentPrefix),_(s,k.toString(16)),M(s,Rr);case cn:return _(s,Jt),_(s,d.segmentPrefix),_(s,k.toString(16)),M(s,Gi);case xr:return _(s,pr),_(s,d.segmentPrefix),_(s,k.toString(16)),M(s,y);case dr:return _(s,F),_(s,d.segmentPrefix),_(s,k.toString(16)),M(s,V);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Ee(s,d){switch(d.insertionMode){case fr:case Sr:return M(s,Ke);case Ur:return M(s,In);case wr:return M(s,_r);case Fn:return M(s,Bt);case cn:return M(s,qi);case xr:return M(s,E);case dr:return M(s,he);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var je="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)}",ot='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()}}',Pt='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())}',yt=je+';$RS("',dt='$RS("',An='","',vn='")<\/script>';function Nn(s,d,S){_(s,d.startInlineScript),d.sentCompleteSegmentFunction?_(s,dt):(d.sentCompleteSegmentFunction=!0,_(s,yt)),_(s,d.segmentPrefix);var k=S.toString(16);return _(s,k),_(s,An),_(s,d.placeholderPrefix),_(s,k),M(s,vn)}var Ra=ot+';$RC("',yo='$RC("',Da='","',Yr='")<\/script>';function zo(s,d,S,k){if(_(s,d.startInlineScript),d.sentCompleteBoundaryFunction?_(s,yo):(d.sentCompleteBoundaryFunction=!0,_(s,Ra)),S===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var L=k.toString(16);return _(s,S),_(s,Da),_(s,d.segmentPrefix),_(s,L),M(s,Yr)}var Xi=Pt+';$RX("',bo='$RX("',Aa='"',li=")<\/script>",Di=",";function $o(s,d,S,k,L,G){if(_(s,d.startInlineScript),d.sentClientRenderFunction?_(s,bo):(d.sentClientRenderFunction=!0,_(s,Xi)),S===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return _(s,S),_(s,Aa),(k||L||G)&&(_(s,Di),_(s,Pa(k||""))),(L||G)&&(_(s,Di),_(s,Pa(L||""))),G&&(_(s,Di),_(s,Pa(G))),M(s,li)}var il=/[<\u2028\u2029]/g;function Pa(s){var d=JSON.stringify(s);return d.replace(il,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 Ki(s,d){var S=Hr(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:s}}function tr(){return{insertionMode:Sr,selectedValue:null}}function Vo(s,d,S,k){return S.generateStaticMarkup?(s.push(fn(d)),!1):Ti(s,d,S,k)}function So(s,d,S,k){if(!d.generateStaticMarkup)return Cn(s,d,S,k)}function wo(s,d){return d.generateStaticMarkup?!0:O(s)}function $(s,d,S,k,L){return d.generateStaticMarkup?!0:q(s,d,S,k,L)}function oe(s,d){return d.generateStaticMarkup?!0:le(s)}function ye(s,d){return d.generateStaticMarkup?!0:ke(s)}var ve=Object.assign,U=Symbol.for("react.element"),re=Symbol.for("react.portal"),ne=Symbol.for("react.fragment"),Te=Symbol.for("react.strict_mode"),Pe=Symbol.for("react.profiler"),Ze=Symbol.for("react.provider"),Je=Symbol.for("react.context"),Ge=Symbol.for("react.forward_ref"),Tt=Symbol.for("react.suspense"),ht=Symbol.for("react.suspense_list"),jt=Symbol.for("react.memo"),_n=Symbol.for("react.lazy"),Kn=Symbol.for("react.scope"),Bn=Symbol.for("react.debug_trace_mode"),Dr=Symbol.for("react.legacy_hidden"),Ai=Symbol.for("react.default_value"),It=Symbol.iterator,Jl="@@iterator";function wn(s){if(s===null||typeof s!="object")return null;var d=It&&s[It]||s[Jl];return typeof d=="function"?d:null}function Oa(s,d,S){var k=s.displayName;if(k)return k;var L=d.displayName||d.name||"";return L!==""?S+"("+L+")":S}function al(s){return s.displayName||"Context"}function xn(s){if(s==null)return null;if(typeof s.tag=="number"&&o("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case ne:return"Fragment";case re:return"Portal";case Pe:return"Profiler";case Te:return"StrictMode";case Tt:return"Suspense";case ht:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case Je:var d=s;return al(d)+".Consumer";case Ze:var S=s;return al(S._context)+".Provider";case Ge:return Oa(s,s.render,"ForwardRef");case jt:var k=s.displayName||null;return k!==null?k:xn(s.type)||"Memo";case _n:{var L=s,G=L._payload,te=L._init;try{return xn(te(G))}catch{return null}}}return null}var xo=0,Co,Zi,ko,Ts,Eo,ol,sl;function Qa(){}Qa.__reactDisabledLog=!0;function Is(){{if(xo===0){Co=console.log,Zi=console.info,ko=console.warn,Ts=console.error,Eo=console.group,ol=console.groupCollapsed,sl=console.groupEnd;var s={configurable:!0,enumerable:!0,value:Qa,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}xo++}}function ha(){{if(xo--,xo===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ve({},s,{value:Co}),info:ve({},s,{value:Zi}),warn:ve({},s,{value:ko}),error:ve({},s,{value:Ts}),group:ve({},s,{value:Eo}),groupCollapsed:ve({},s,{value:ol}),groupEnd:ve({},s,{value:sl})})}xo<0&&o("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Pi=r.ReactCurrentDispatcher,pa;function Yo(s,d,S){{if(pa===void 0)try{throw Error()}catch(L){var k=L.stack.trim().match(/\n( *(at )?)/);pa=k&&k[1]||""}return`
|
|
40
|
-
`+pa+s}}var Go=!1,_s;{var qo=typeof WeakMap=="function"?WeakMap:Map;_s=new qo}function To(s,d){if(!s||Go)return"";{var S=_s.get(s);if(S!==void 0)return S}var k;Go=!0;var L=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var G;G=Pi.current,Pi.current=null,Is();try{if(d){var te=function(){throw Error()};if(Object.defineProperty(te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(te,[])}catch(jn){k=jn}Reflect.construct(s,[],te)}else{try{te.call()}catch(jn){k=jn}s.call(te.prototype)}}else{try{throw Error()}catch(jn){k=jn}s()}}catch(jn){if(jn&&k&&typeof jn.stack=="string"){for(var Se=jn.stack.split(`
|
|
41
|
-
`),Ne=k.stack.split(`
|
|
42
|
-
`),Qe=Se.length-1,st=Ne.length-1;Qe>=1&&st>=0&&Se[Qe]!==Ne[st];)st--;for(;Qe>=1&&st>=0;Qe--,st--)if(Se[Qe]!==Ne[st]){if(Qe!==1||st!==1)do if(Qe--,st--,st<0||Se[Qe]!==Ne[st]){var St=`
|
|
43
|
-
`+Se[Qe].replace(" at new "," at ");return s.displayName&&St.includes("<anonymous>")&&(St=St.replace("<anonymous>",s.displayName)),typeof s=="function"&&_s.set(s,St),St}while(Qe>=1&&st>=0);break}}}finally{Go=!1,Pi.current=G,ha(),Error.prepareStackTrace=L}var mn=s?s.displayName||s.name:"",Zn=mn?Yo(mn):"";return typeof s=="function"&&_s.set(s,Zn),Zn}function Xo(s,d,S){return To(s,!0)}function ll(s,d,S){return To(s,!1)}function ul(s){var d=s.prototype;return!!(d&&d.isReactComponent)}function Io(s,d,S){if(s==null)return"";if(typeof s=="function")return To(s,ul(s));if(typeof s=="string")return Yo(s);switch(s){case Tt:return Yo("Suspense");case ht:return Yo("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case Ge:return ll(s.render);case jt:return Io(s.type,d,S);case _n:{var k=s,L=k._payload,G=k._init;try{return Io(G(L),d,S)}catch{}}}return""}var cl={},Rn=r.ReactDebugCurrentFrame;function Dn(s){if(s){var d=s._owner,S=Io(s.type,s._source,d?d.type:null);Rn.setExtraStackFrame(S)}else Rn.setExtraStackFrame(null)}function fl(s,d,S,k,L){{var G=Function.call.bind(fe);for(var te in s)if(G(s,te)){var Se=void 0;try{if(typeof s[te]!="function"){var Ne=Error((k||"React class")+": "+S+" type `"+te+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[te]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ne.name="Invariant Violation",Ne}Se=s[te](d,te,k,S,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Qe){Se=Qe}Se&&!(Se instanceof Error)&&(Dn(L),o("%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).",k||"React class",S,te,typeof Se),Dn(null)),Se instanceof Error&&!(Se.message in cl)&&(cl[Se.message]=!0,Dn(L),o("Failed %s type: %s",S,Se.message),Dn(null))}}}var dl;dl={};var ga={};Object.freeze(ga);function Ql(s,d){{var S=s.contextTypes;if(!S)return ga;var k={};for(var L in S)k[L]=d[L];{var G=xn(s)||"Unknown";fl(S,k,"context",G)}return k}}function va(s,d,S,k){{if(typeof s.getChildContext!="function"){{var L=xn(d)||"Unknown";dl[L]||(dl[L]=!0,o("%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.",L,L))}return S}var G=s.getChildContext();for(var te in G)if(!(te in k))throw new Error((xn(d)||"Unknown")+'.getChildContext(): key "'+te+'" is not defined in childContextTypes.');{var Se=xn(d)||"Unknown";fl(k,G,"child context",Se)}return ve({},S,G)}}var Oi;Oi={};var Ko=null,Ar=null;function Ma(s){s.context._currentValue2=s.parentValue}function Fa(s){s.context._currentValue2=s.value}function La(s,d){if(s!==d){Ma(s);var S=s.parent,k=d.parent;if(S===null){if(k!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(k===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");La(S,k)}Fa(d)}}function Na(s){Ma(s);var d=s.parent;d!==null&&Na(d)}function Zo(s){var d=s.parent;d!==null&&Zo(d),Fa(s)}function eu(s,d){Ma(s);var S=s.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?La(S,d):eu(S,d)}function tu(s,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.");s.depth===S.depth?La(s,S):tu(s,S),Fa(d)}function Rs(s){var d=Ar,S=s;d!==S&&(d===null?Zo(S):S===null?Na(d):d.depth===S.depth?La(d,S):d.depth>S.depth?eu(d,S):tu(d,S),Ar=S)}function Jo(s,d){var S;S=s._currentValue2,s._currentValue2=d,s._currentRenderer2!==void 0&&s._currentRenderer2!==null&&s._currentRenderer2!==Oi&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),s._currentRenderer2=Oi;var k=Ar,L={parent:k,depth:k===null?0:k.depth+1,context:s,parentValue:S,value:d};return Ar=L,L}function _o(s){var d=Ar;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!==s&&o("The parent context is not the expected context. This is probably a bug in React.");{var S=d.parentValue;S===Ai?d.context._currentValue2=d.context._defaultValue:d.context._currentValue2=S,s._currentRenderer2!==void 0&&s._currentRenderer2!==null&&s._currentRenderer2!==Oi&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),s._currentRenderer2=Oi}return Ar=d.parent}function Qo(){return Ar}function eo(s){var d=s._currentValue2;return d}function N(s){return s._reactInternals}function Ba(s,d){s._reactInternals=d}var to={},Pr={},Wt,Ds,Ro,es,Ji,Do,As,Ps,Os;{Wt=new Set,Ds=new Set,Ro=new Set,As=new Set,es=new Set,Ps=new Set,Os=new Set;var nu=new Set;Do=function(s,d){if(!(s===null||typeof s=="function")){var S=d+"_"+s;nu.has(S)||(nu.add(S),o("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",d,s))}},Ji=function(s,d){if(d===void 0){var S=xn(s)||"Component";es.has(S)||(es.add(S),o("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",S))}}}function Qi(s,d){{var S=s.constructor,k=S&&xn(S)||"ReactClass",L=k+"."+d;if(to[L])return;o(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
|
|
44
|
-
|
|
45
|
-
Please check the code for the %s component.`,d,d,k),to[L]=!0}}var ru={isMounted:function(s){return!1},enqueueSetState:function(s,d,S){var k=N(s);k.queue===null?Qi(s,"setState"):(k.queue.push(d),S!=null&&Do(S,"setState"))},enqueueReplaceState:function(s,d,S){var k=N(s);k.replace=!0,k.queue=[d],S!=null&&Do(S,"setState")},enqueueForceUpdate:function(s,d){var S=N(s);S.queue===null?Qi(s,"forceUpdate"):d!=null&&Do(d,"setState")}};function Eu(s,d,S,k,L){var G=S(L,k);Ji(d,G);var te=G==null?k:ve({},k,G);return te}function Tu(s,d,S){var k=ga,L=s.contextType;if("contextType"in s){var G=L===null||L!==void 0&&L.$$typeof===Je&&L._context===void 0;if(!G&&!Os.has(s)){Os.add(s);var te="";L===void 0?te=" 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 L!="object"?te=" However, it is set to a "+typeof L+".":L.$$typeof===Ze?te=" Did you accidentally pass the Context.Provider instead?":L._context!==void 0?te=" Did you accidentally pass the Context.Consumer instead?":te=" However, it is set to an object with keys {"+Object.keys(L).join(", ")+"}.",o("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",xn(s)||"Component",te)}}typeof L=="object"&&L!==null?k=eo(L):k=S;var Se=new s(d,k);{if(typeof s.getDerivedStateFromProps=="function"&&(Se.state===null||Se.state===void 0)){var Ne=xn(s)||"Component";Wt.has(Ne)||(Wt.add(Ne),o("`%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.",Ne,Se.state===null?"null":"undefined",Ne))}if(typeof s.getDerivedStateFromProps=="function"||typeof Se.getSnapshotBeforeUpdate=="function"){var Qe=null,st=null,St=null;if(typeof Se.componentWillMount=="function"&&Se.componentWillMount.__suppressDeprecationWarning!==!0?Qe="componentWillMount":typeof Se.UNSAFE_componentWillMount=="function"&&(Qe="UNSAFE_componentWillMount"),typeof Se.componentWillReceiveProps=="function"&&Se.componentWillReceiveProps.__suppressDeprecationWarning!==!0?st="componentWillReceiveProps":typeof Se.UNSAFE_componentWillReceiveProps=="function"&&(st="UNSAFE_componentWillReceiveProps"),typeof Se.componentWillUpdate=="function"&&Se.componentWillUpdate.__suppressDeprecationWarning!==!0?St="componentWillUpdate":typeof Se.UNSAFE_componentWillUpdate=="function"&&(St="UNSAFE_componentWillUpdate"),Qe!==null||st!==null||St!==null){var mn=xn(s)||"Component",Zn=typeof s.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Ro.has(mn)||(Ro.add(mn),o(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
46
|
-
|
|
47
|
-
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
48
|
-
|
|
49
|
-
The above lifecycles should be removed. Learn more about this warning here:
|
|
50
|
-
https://reactjs.org/link/unsafe-component-lifecycles`,mn,Zn,Qe!==null?`
|
|
51
|
-
`+Qe:"",st!==null?`
|
|
52
|
-
`+st:"",St!==null?`
|
|
53
|
-
`+St:""))}}}return Se}function iu(s,d,S){{var k=xn(d)||"Component",L=s.render;L||(d.prototype&&typeof d.prototype.render=="function"?o("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",k):o("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",k)),s.getInitialState&&!s.getInitialState.isReactClassApproved&&!s.state&&o("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?",k),s.getDefaultProps&&!s.getDefaultProps.isReactClassApproved&&o("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.",k),s.propTypes&&o("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",k),s.contextType&&o("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",k),s.contextTypes&&o("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",k),d.contextType&&d.contextTypes&&!Ps.has(d)&&(Ps.add(d),o("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",k)),typeof s.componentShouldUpdate=="function"&&o("%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.",k),d.prototype&&d.prototype.isPureReactComponent&&typeof s.shouldComponentUpdate<"u"&&o("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",xn(d)||"A pure component"),typeof s.componentDidUnmount=="function"&&o("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",k),typeof s.componentDidReceiveProps=="function"&&o("%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().",k),typeof s.componentWillRecieveProps=="function"&&o("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",k),typeof s.UNSAFE_componentWillRecieveProps=="function"&&o("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",k);var G=s.props!==S;s.props!==void 0&&G&&o("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",k,k),s.defaultProps&&o("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",k,k),typeof s.getSnapshotBeforeUpdate=="function"&&typeof s.componentDidUpdate!="function"&&!Ds.has(d)&&(Ds.add(d),o("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",xn(d))),typeof s.getDerivedStateFromProps=="function"&&o("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",k),typeof s.getDerivedStateFromError=="function"&&o("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",k),typeof d.getSnapshotBeforeUpdate=="function"&&o("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",k);var te=s.state;te&&(typeof te!="object"||jr(te))&&o("%s.state: must be set to an object or null",k),typeof s.getChildContext=="function"&&typeof d.childContextTypes!="object"&&o("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",k)}}function Iu(s,d){var S=d.state;if(typeof d.componentWillMount=="function"){if(d.componentWillMount.__suppressDeprecationWarning!==!0){var k=xn(s)||"Unknown";Pr[k]||(u(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
54
|
-
|
|
55
|
-
* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
|
|
56
|
-
|
|
57
|
-
Please update the following components: %s`,k),Pr[k]=!0)}d.componentWillMount()}typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),S!==d.state&&(o("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",xn(s)||"Component"),ru.enqueueReplaceState(d,d.state,null))}function ma(s,d,S,k){if(s.queue!==null&&s.queue.length>0){var L=s.queue,G=s.replace;if(s.queue=null,s.replace=!1,G&&L.length===1)d.state=L[0];else{for(var te=G?L[0]:d.state,Se=!0,Ne=G?1:0;Ne<L.length;Ne++){var Qe=L[Ne],st=typeof Qe=="function"?Qe.call(d,te,S,k):Qe;st!=null&&(Se?(Se=!1,te=ve({},te,st)):ve(te,st))}d.state=te}}else s.queue=null}function Ms(s,d,S,k){iu(s,d,S);var L=s.state!==void 0?s.state:null;s.updater=ru,s.props=S,s.state=L;var G={queue:[],replace:!1};Ba(s,G);var te=d.contextType;if(typeof te=="object"&&te!==null?s.context=eo(te):s.context=k,s.state===S){var Se=xn(d)||"Component";As.has(Se)||(As.add(Se),o("%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.",Se))}var Ne=d.getDerivedStateFromProps;typeof Ne=="function"&&(s.state=Eu(s,d,Ne,L,S)),typeof d.getDerivedStateFromProps!="function"&&typeof s.getSnapshotBeforeUpdate!="function"&&(typeof s.UNSAFE_componentWillMount=="function"||typeof s.componentWillMount=="function")&&(Iu(d,s),ma(G,s,S,k))}var Fs={id:1,overflow:""};function _u(s){var d=s.overflow,S=s.id,k=S&~no(S);return k.toString(32)+d}function hl(s,d,S){var k=s.id,L=s.overflow,G=Ls(k)-1,te=k&~(1<<G),Se=S+1,Ne=Ls(d)+G;if(Ne>30){var Qe=G-G%5,st=(1<<Qe)-1,St=(te&st).toString(32),mn=te>>Qe,Zn=G-Qe,jn=Ls(d)+Zn,Ml=Se<<Zn,Fl=Ml|mn,vu=St+L;return{id:1<<jn|Fl,overflow:vu}}else{var ms=Se<<G,Rc=ms|te,Dc=L;return{id:1<<Ne|Rc,overflow:Dc}}}function Ls(s){return 32-Ru(s)}function no(s){return 1<<Ls(s)-1}var Ru=Math.clz32?Math.clz32:ya,Du=Math.log,Mi=Math.LN2;function ya(s){var d=s>>>0;return d===0?32:31-(Du(d)/Mi|0)|0}function pl(s,d){return s===d&&(s!==0||1/s===1/d)||s!==s&&d!==d}var Ns=typeof Object.is=="function"?Object.is:pl,Xt=null,ro=null,ja=null,tn=null,pi=!1,io=!1,Ao=0,Pn=null,gi=0,ao=25,Fi=!1,oo;function nr(){if(Xt===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
58
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
59
|
-
2. You might be breaking the Rules of Hooks
|
|
60
|
-
3. You might have more than one copy of React in the same app
|
|
61
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Fi&&o("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"),Xt}function gl(s,d){if(d===null)return o("%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.",oo),!1;s.length!==d.length&&o(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
62
|
-
|
|
63
|
-
Previous: %s
|
|
64
|
-
Incoming: %s`,oo,"["+s.join(", ")+"]","["+d.join(", ")+"]");for(var S=0;S<d.length&&S<s.length;S++)if(!Ns(s[S],d[S]))return!1;return!0}function Ha(){if(gi>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Or(){return tn===null?ja===null?(pi=!1,ja=tn=Ha()):(pi=!0,tn=ja):tn.next===null?(pi=!1,tn=tn.next=Ha()):(pi=!0,tn=tn.next),tn}function vl(s,d){Xt=d,ro=s,Fi=!1,Ao=0}function au(s,d,S,k){for(;io;)io=!1,Ao=0,gi+=1,tn=null,S=s(d,k);return ba(),S}function ml(){var s=Ao!==0;return s}function ba(){Fi=!1,Xt=null,ro=null,io=!1,ja=null,gi=0,Pn=null,tn=null}function Ua(s){return Fi&&o("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()."),eo(s)}function yl(s){return oo="useContext",nr(),eo(s)}function Bs(s,d){return typeof d=="function"?d(s):d}function js(s){return oo="useState",ou(Bs,s)}function ou(s,d,S){if(s!==Bs&&(oo="useReducer"),Xt=nr(),tn=Or(),pi){var k=tn.queue,L=k.dispatch;if(Pn!==null){var G=Pn.get(k);if(G!==void 0){Pn.delete(k);var te=tn.memoizedState,Se=G;do{var Ne=Se.action;Fi=!0,te=s(te,Ne),Fi=!1,Se=Se.next}while(Se!==null);return tn.memoizedState=te,[te,L]}}return[tn.memoizedState,L]}else{Fi=!0;var Qe;s===Bs?Qe=typeof d=="function"?d():d:Qe=S!==void 0?S(d):d,Fi=!1,tn.memoizedState=Qe;var st=tn.queue={last:null,dispatch:null},St=st.dispatch=su.bind(null,Xt,st);return[tn.memoizedState,St]}}function bl(s,d){Xt=nr(),tn=Or();var S=d===void 0?null:d;if(tn!==null){var k=tn.memoizedState;if(k!==null&&S!==null){var L=k[1];if(gl(S,L))return k[0]}}Fi=!0;var G=s();return Fi=!1,tn.memoizedState=[G,S],G}function rr(s){Xt=nr(),tn=Or();var d=tn.memoizedState;if(d===null){var S={current:s};return Object.seal(S),tn.memoizedState=S,S}else return d}function Sl(s,d){oo="useLayoutEffect",o("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 su(s,d,S){if(gi>=ao)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(s===Xt){io=!0;var k={action:S,next:null};Pn===null&&(Pn=new Map);var L=Pn.get(d);if(L===void 0)Pn.set(d,k);else{for(var G=L;G.next!==null;)G=G.next;G.next=k}}}function ea(s,d){return bl(function(){return s},d)}function wl(s,d,S){return nr(),d(s._source)}function Hs(s,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 so(s){return nr(),s}function ts(){throw new Error("startTransition cannot be called during server rendering.")}function gr(){return nr(),[!1,ts]}function ns(){var s=ro,d=_u(s.treeContext),S=is;if(S===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var k=Ao++;return zn(S,d,k)}function rs(){}var lu={readContext:Ua,useContext:yl,useMemo:bl,useReducer:ou,useRef:rr,useState:js,useInsertionEffect:rs,useLayoutEffect:Sl,useCallback:ea,useImperativeHandle:rs,useEffect:rs,useDebugValue:rs,useDeferredValue:so,useTransition:gr,useId:ns,useMutableSource:wl,useSyncExternalStore:Hs},is=null;function Po(s){is=s}function xl(s){try{var d="",S=s;do{switch(S.tag){case 0:d+=Yo(S.type,null,null);break;case 1:d+=ll(S.type,null,null);break;case 2:d+=Xo(S.type,null,null);break}S=S.parent}while(S);return d}catch(k){return`
|
|
65
|
-
Error generating stack: `+k.message+`
|
|
66
|
-
`+k.stack}}var vi=r.ReactCurrentDispatcher,as=r.ReactDebugCurrentFrame,Us=0,lo=1,Oo=2,Cl=3,uo=4,kl=0,El=1,ta=2,Au=12800;function Pu(s){return console.error(s),null}function Mo(){}function os(s,d,S,k,L,G,te,Se,Ne){var Qe=[],st=new Set,St={destination:null,responseState:d,progressiveChunkSize:k===void 0?Au:k,status:kl,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:st,pingedTasks:Qe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:L===void 0?Pu:L,onAllReady:G===void 0?Mo:G,onShellReady:te===void 0?Mo:te,onShellError:Se===void 0?Mo:Se,onFatalError:Ne===void 0?Mo:Ne},mn=Sa(St,0,null,S,!1,!1);mn.parentFlushed=!0;var Zn=Fo(St,s,null,mn,st,ga,Ko,Fs);return Qe.push(Zn),St}function Ws(s,d){var S=s.pingedTasks;S.push(d),S.length===1&&x(function(){return Ol(s)})}function Li(s,d){return{id:Cr,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:d,errorDigest:null}}function Fo(s,d,S,k,L,G,te,Se){s.allPendingTasks++,S===null?s.pendingRootTasks++:S.pendingTasks++;var Ne={node:d,ping:function(){return Ws(s,Ne)},blockedBoundary:S,blockedSegment:k,abortSet:L,legacyContext:G,context:te,treeContext:Se};return Ne.componentStack=null,L.add(Ne),Ne}function Sa(s,d,S,k,L,G){return{status:Us,id:-1,index:d,parentFlushed:!1,chunks:[],children:[],formatContext:k,boundary:S,lastPushedText:L,textEmbedded:G}}var Ni=null;function Lo(){return Ni===null||Ni.componentStack===null?"":xl(Ni.componentStack)}function mi(s,d){s.componentStack={tag:0,parent:s.componentStack,type:d}}function co(s,d){s.componentStack={tag:1,parent:s.componentStack,type:d}}function zs(s,d){s.componentStack={tag:2,parent:s.componentStack,type:d}}function yi(s){s.componentStack===null?o("Unexpectedly popped too many stack frames. This is a bug in React."):s.componentStack=s.componentStack.parent}var wa=null;function Tl(s,d){{var S;typeof d=="string"?S=d:d&&typeof d.message=="string"?S=d.message:S=String(d);var k=wa||Lo();wa=null,s.errorMessage=S,s.errorComponentStack=k}}function fo(s,d){var S=s.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 ss(s,d){var S=s.onShellError;S(d);var k=s.onFatalError;k(d),s.destination!==null?(s.status=ta,ue(s.destination,d)):(s.status=El,s.fatalError=d)}function $s(s,d,S){mi(d,"Suspense");var k=d.blockedBoundary,L=d.blockedSegment,G=S.fallback,te=S.children,Se=new Set,Ne=Li(s,Se),Qe=L.chunks.length,st=Sa(s,Qe,Ne,L.formatContext,!1,!1);L.children.push(st),L.lastPushedText=!1;var St=Sa(s,0,null,L.formatContext,!1,!1);St.parentFlushed=!0,d.blockedBoundary=Ne,d.blockedSegment=St;try{if(Bi(s,d,te),So(St.chunks,s.responseState,St.lastPushedText,St.textEmbedded),St.status=lo,ps(Ne,St),Ne.pendingTasks===0){yi(d);return}}catch(Zn){St.status=uo,Ne.forceClientRender=!0,Ne.errorDigest=fo(s,Zn),Tl(Ne,Zn)}finally{d.blockedBoundary=k,d.blockedSegment=L}var mn=Fo(s,G,k,st,Se,d.legacyContext,d.context,d.treeContext);mn.componentStack=d.componentStack,s.pingedTasks.push(mn),yi(d)}function uu(s,d,S,k){mi(d,S);var L=d.blockedSegment,G=Vr(L.chunks,S,k,s.responseState,L.formatContext);L.lastPushedText=!1;var te=L.formatContext;L.formatContext=ri(te,S,k),Bi(s,d,G),L.formatContext=te,er(L.chunks,S),L.lastPushedText=!1,yi(d)}function Il(s){return s.prototype&&s.prototype.isReactComponent}function Ht(s,d,S,k,L){var G={};vl(d,G);var te=S(k,L);return au(S,k,te,L)}function ls(s,d,S,k,L){var G=S.render();S.props!==L&&(Gr||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",xn(k)||"a component"),Gr=!0);{var te=k.childContextTypes;if(te!=null){var Se=d.legacyContext,Ne=va(S,k,Se,te);d.legacyContext=Ne,Mr(s,d,G),d.legacyContext=Se;return}}Mr(s,d,G)}function cu(s,d,S,k){zs(d,S);var L=Ql(S,d.legacyContext),G=Tu(S,k,L);Ms(G,S,k,L),ls(s,d,G,S,k),yi(d)}var ho={},No={},_l={},Rl={},Gr=!1,fu=!1,us=!1,cs=!1;function du(s,d,S,k){var L;if(L=Ql(S,d.legacyContext),co(d,S),S.prototype&&typeof S.prototype.render=="function"){var G=xn(S)||"Unknown";ho[G]||(o("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",G,G),ho[G]=!0)}var te=Ht(s,d,S,k,L),Se=ml();if(typeof te=="object"&&te!==null&&typeof te.render=="function"&&te.$$typeof===void 0){var Ne=xn(S)||"Unknown";No[Ne]||(o("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.",Ne,Ne,Ne),No[Ne]=!0)}if(typeof te=="object"&&te!==null&&typeof te.render=="function"&&te.$$typeof===void 0){{var Qe=xn(S)||"Unknown";No[Qe]||(o("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.",Qe,Qe,Qe),No[Qe]=!0)}Ms(te,S,k,L),ls(s,d,te,S,k)}else if(hu(S),Se){var st=d.treeContext,St=1,mn=0;d.treeContext=hl(st,St,mn);try{Mr(s,d,te)}finally{d.treeContext=st}}else Mr(s,d,te);yi(d)}function hu(s){{if(s&&s.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",s.displayName||s.name||"Component"),typeof s.getDerivedStateFromProps=="function"){var d=xn(s)||"Unknown";Rl[d]||(o("%s: Function components do not support getDerivedStateFromProps.",d),Rl[d]=!0)}if(typeof s.contextType=="object"&&s.contextType!==null){var S=xn(s)||"Unknown";_l[S]||(o("%s: Function components do not support contextType.",S),_l[S]=!0)}}}function qr(s,d){if(s&&s.defaultProps){var S=ve({},d),k=s.defaultProps;for(var L in k)S[L]===void 0&&(S[L]=k[L]);return S}return d}function Wa(s,d,S,k,L){co(d,S.render);var G=Ht(s,d,S.render,k,L),te=ml();if(te){var Se=d.treeContext,Ne=1,Qe=0;d.treeContext=hl(Se,Ne,Qe);try{Mr(s,d,G)}finally{d.treeContext=Se}}else Mr(s,d,G);yi(d)}function Dl(s,d,S,k,L){var G=S.type,te=qr(G,k);fs(s,d,G,te,L)}function Vs(s,d,S,k){S._context===void 0?S!==S.Consumer&&(cs||(cs=!0,o("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 L=k.children;typeof L!="function"&&o("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var G=eo(S),te=L(G);Mr(s,d,te)}function Ys(s,d,S,k){var L=S._context,G=k.value,te=k.children,Se;Se=d.context,d.context=Jo(L,G),Mr(s,d,te),d.context=_o(L),Se!==d.context&&o("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Xr(s,d,S,k,L){mi(d,"Lazy");var G=S._payload,te=S._init,Se=te(G),Ne=qr(Se,k);fs(s,d,Se,Ne,L),yi(d)}function fs(s,d,S,k,L){if(typeof S=="function")if(Il(S)){cu(s,d,S,k);return}else{du(s,d,S,k);return}if(typeof S=="string"){uu(s,d,S,k);return}switch(S){case Dr:case Bn:case Te:case Pe:case ne:{Mr(s,d,k.children);return}case ht:{mi(d,"SuspenseList"),Mr(s,d,k.children),yi(d);return}case Kn:throw new Error("ReactDOMServer does not yet support scope components.");case Tt:{$s(s,d,k);return}}if(typeof S=="object"&&S!==null)switch(S.$$typeof){case Ge:{Wa(s,d,S,k,L);return}case jt:{Dl(s,d,S,k,L);return}case Ze:{Ys(s,d,S,k);return}case Je:{Vs(s,d,S,k);return}case _n:{Xr(s,d,S,k);return}}var G="";throw(S===void 0||typeof S=="object"&&S!==null&&Object.keys(S).length===0)&&(G+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(S==null?S:typeof S)+"."+G))}function Al(s,d){typeof Symbol=="function"&&s[Symbol.toStringTag]==="Generator"&&(fu||o("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."),fu=!0),s.entries===d&&(us||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),us=!0)}function Mr(s,d,S){try{return ds(s,d,S)}catch(k){throw typeof k=="object"&&k!==null&&typeof k.then=="function"||(wa=wa!==null?wa:Lo()),k}}function ds(s,d,S){if(d.node=S,typeof S=="object"&&S!==null){switch(S.$$typeof){case U:{var k=S,L=k.type,G=k.props,te=k.ref;fs(s,d,L,G,te);return}case re: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 _n:{var Se=S,Ne=Se._payload,Qe=Se._init,st;try{st=Qe(Ne)}catch(ms){throw typeof ms=="object"&&ms!==null&&typeof ms.then=="function"&&mi(d,"Lazy"),ms}Mr(s,d,st);return}}if(jr(S)){xa(s,d,S);return}var St=wn(S);if(St){Al(S,St);var mn=St.call(S);if(mn){var Zn=mn.next();if(!Zn.done){var jn=[];do jn.push(Zn.value),Zn=mn.next();while(!Zn.done);xa(s,d,jn);return}return}}var Ml=Object.prototype.toString.call(S);throw new Error("Objects are not valid as a React child (found: "+(Ml==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":Ml)+"). If you meant to render a collection of children, use an array instead.")}if(typeof S=="string"){var Fl=d.blockedSegment;Fl.lastPushedText=Vo(d.blockedSegment.chunks,S,s.responseState,Fl.lastPushedText);return}if(typeof S=="number"){var vu=d.blockedSegment;vu.lastPushedText=Vo(d.blockedSegment.chunks,""+S,s.responseState,vu.lastPushedText);return}typeof S=="function"&&o("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 xa(s,d,S){for(var k=S.length,L=0;L<k;L++){var G=d.treeContext;d.treeContext=hl(G,k,L);try{Bi(s,d,S[L])}finally{d.treeContext=G}}}function Ou(s,d,S){var k=d.blockedSegment,L=k.chunks.length,G=Sa(s,L,null,k.formatContext,k.lastPushedText,!0);k.children.push(G),k.lastPushedText=!1;var te=Fo(s,d.node,d.blockedBoundary,G,d.abortSet,d.legacyContext,d.context,d.treeContext);d.componentStack!==null&&(te.componentStack=d.componentStack.parent);var Se=te.ping;S.then(Se,Se)}function Bi(s,d,S){var k=d.blockedSegment.formatContext,L=d.legacyContext,G=d.context,te=null;te=d.componentStack;try{return Mr(s,d,S)}catch(Se){if(ba(),typeof Se=="object"&&Se!==null&&typeof Se.then=="function"){Ou(s,d,Se),d.blockedSegment.formatContext=k,d.legacyContext=L,d.context=G,Rs(G),d.componentStack=te;return}else throw d.blockedSegment.formatContext=k,d.legacyContext=L,d.context=G,Rs(G),d.componentStack=te,Se}}function hs(s,d,S,k){var L=fo(s,k);if(d===null?ss(s,k):(d.pendingTasks--,d.forceClientRender||(d.forceClientRender=!0,d.errorDigest=L,Tl(d,k),d.parentFlushed&&s.clientRenderedBoundaries.push(d))),s.allPendingTasks--,s.allPendingTasks===0){var G=s.onAllReady;G()}}function Pl(s){var d=this,S=s.blockedBoundary,k=s.blockedSegment;k.status=Cl,gs(d,S,k)}function Gs(s,d,S){var k=s.blockedBoundary,L=s.blockedSegment;if(L.status=Cl,k===null)d.allPendingTasks--,d.status!==ta&&(d.status=ta,d.destination!==null&&z(d.destination));else{if(k.pendingTasks--,!k.forceClientRender){k.forceClientRender=!0;var G=S===void 0?new Error("The render was aborted by the server without a reason."):S;k.errorDigest=d.onError(G);{var te="The server did not finish this Suspense boundary: ";G&&typeof G.message=="string"?G=te+G.message:G=te+String(G);var Se=Ni;Ni=s;try{Tl(k,G)}finally{Ni=Se}}k.parentFlushed&&d.clientRenderedBoundaries.push(k)}if(k.fallbackAbortableTasks.forEach(function(Qe){return Gs(Qe,d,S)}),k.fallbackAbortableTasks.clear(),d.allPendingTasks--,d.allPendingTasks===0){var Ne=d.onAllReady;Ne()}}}function ps(s,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===lo&&ps(s,S)}else{var k=s.completedSegments;k.push(d)}}function gs(s,d,S){if(d===null){if(S.parentFlushed){if(s.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");s.completedRootSegment=S}if(s.pendingRootTasks--,s.pendingRootTasks===0){s.onShellError=Mo;var k=s.onShellReady;k()}}else if(d.pendingTasks--,!d.forceClientRender){if(d.pendingTasks===0)S.parentFlushed&&S.status===lo&&ps(d,S),d.parentFlushed&&s.completedBoundaries.push(d),d.fallbackAbortableTasks.forEach(Pl,s),d.fallbackAbortableTasks.clear();else if(S.parentFlushed&&S.status===lo){ps(d,S);var L=d.completedSegments;L.length===1&&d.parentFlushed&&s.partialBoundaries.push(d)}}if(s.allPendingTasks--,s.allPendingTasks===0){var G=s.onAllReady;G()}}function qs(s,d){var S=d.blockedSegment;if(S.status===Us){Rs(d.context);var k=null;k=Ni,Ni=d;try{Mr(s,d,d.node),So(S.chunks,s.responseState,S.lastPushedText,S.textEmbedded),d.abortSet.delete(d),S.status=lo,gs(s,d.blockedBoundary,S)}catch(G){if(ba(),typeof G=="object"&&G!==null&&typeof G.then=="function"){var L=d.ping;G.then(L,L)}else d.abortSet.delete(d),S.status=uo,hs(s,d.blockedBoundary,S,G)}finally{Ni=k}}}function Ol(s){if(s.status!==ta){var d=Qo(),S=vi.current;vi.current=lu;var k;k=as.getCurrentStack,as.getCurrentStack=Lo;var L=is;Po(s.responseState);try{var G=s.pingedTasks,te;for(te=0;te<G.length;te++){var Se=G[te];qs(s,Se)}G.splice(0,te),s.destination!==null&&Ks(s,s.destination)}catch(Ne){fo(s,Ne),ss(s,Ne)}finally{Po(L),vi.current=S,as.getCurrentStack=k,S===lu&&Rs(d)}}}function Bo(s,d,S){switch(S.parentFlushed=!0,S.status){case Us:{var k=S.id=s.nextSegmentId++;return S.lastPushedText=!1,S.textEmbedded=!1,dn(d,s.responseState,k)}case lo:{S.status=Oo;for(var L=!0,G=S.chunks,te=0,Se=S.children,Ne=0;Ne<Se.length;Ne++){for(var Qe=Se[Ne];te<Qe.index;te++)_(d,G[te]);L=vs(s,d,Qe)}for(;te<G.length-1;te++)_(d,G[te]);return te<G.length&&(L=M(d,G[te])),L}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function vs(s,d,S){var k=S.boundary;if(k===null)return Bo(s,d,S);if(k.parentFlushed=!0,k.forceClientRender)return $(d,s.responseState,k.errorDigest,k.errorMessage,k.errorComponentStack),Bo(s,d,S),ye(d,s.responseState);if(k.pendingTasks>0){k.rootSegmentID=s.nextSegmentId++,k.completedSegments.length>0&&s.partialBoundaries.push(k);var L=k.id=Wr(s.responseState);return Q(d,s.responseState,L),Bo(s,d,S),Ce(d,s.responseState)}else{if(k.byteSize>s.progressiveChunkSize)return k.rootSegmentID=s.nextSegmentId++,s.completedBoundaries.push(k),Q(d,s.responseState,k.id),Bo(s,d,S),Ce(d,s.responseState);wo(d,s.responseState);var G=k.completedSegments;if(G.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var te=G[0];return vs(s,d,te),oe(d,s.responseState)}}function pu(s,d,S){return $o(d,s.responseState,S.id,S.errorDigest,S.errorMessage,S.errorComponentStack)}function Xs(s,d,S){return pe(d,s.responseState,S.formatContext,S.id),vs(s,d,S),Ee(d,S.formatContext)}function ir(s,d,S){for(var k=S.completedSegments,L=0;L<k.length;L++){var G=k[L];gu(s,d,S,G)}return k.length=0,zo(d,s.responseState,S.id,S.rootSegmentID)}function na(s,d,S){for(var k=S.completedSegments,L=0;L<k.length;L++){var G=k[L];if(!gu(s,d,S,G))return L++,k.splice(0,L),!1}return k.splice(0,L),!0}function gu(s,d,S,k){if(k.status===Oo)return!0;var L=k.id;if(L===-1){var G=k.id=S.rootSegmentID;if(G===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Xs(s,d,k)}else return Xs(s,d,k),Nn(d,s.responseState,L)}function Ks(s,d){try{var S=s.completedRootSegment;S!==null&&s.pendingRootTasks===0&&(vs(s,d,S),s.completedRootSegment=null,Ja(d,s.responseState));var k=s.clientRenderedBoundaries,L;for(L=0;L<k.length;L++){var G=k[L];if(!pu(s,d,G)){s.destination=null,L++,k.splice(0,L);return}}k.splice(0,L);var te=s.completedBoundaries;for(L=0;L<te.length;L++){var Se=te[L];if(!ir(s,d,Se)){s.destination=null,L++,te.splice(0,L);return}}te.splice(0,L);var Ne=s.partialBoundaries;for(L=0;L<Ne.length;L++){var Qe=Ne[L];if(!na(s,d,Qe)){s.destination=null,L++,Ne.splice(0,L);return}}Ne.splice(0,L);var st=s.completedBoundaries;for(L=0;L<st.length;L++){var St=st[L];if(!ir(s,d,St)){s.destination=null,L++,st.splice(0,L);return}}st.splice(0,L)}finally{s.allPendingTasks===0&&s.pingedTasks.length===0&&s.clientRenderedBoundaries.length===0&&s.completedBoundaries.length===0&&(s.abortableTasks.size!==0&&o("There was still abortable task at the root when we closed. This is a bug in React."),z(d))}}function Zs(s){x(function(){return Ol(s)})}function l(s,d){if(s.status===El){s.status=ta,ue(d,s.fatalError);return}if(s.status!==ta&&s.destination===null){s.destination=d;try{Ks(s,d)}catch(S){fo(s,S),ss(s,S)}}}function h(s,d){try{var S=s.abortableTasks;S.forEach(function(k){return Gs(k,s,d)}),S.clear(),s.destination!==null&&Ks(s,s.destination)}catch(k){fo(s,k),ss(s,k)}}function C(){}function D(s,d,S,k){var L=!1,G=null,te="",Se={push:function(St){return St!==null&&(te+=St),!0},destroy:function(St){L=!0,G=St}},Ne=!1;function Qe(){Ne=!0}var st=os(s,Ki(S,d?d.identifierPrefix:void 0),tr(),1/0,C,void 0,Qe,void 0,void 0);if(Zs(st),h(st,k),l(st,Se),L)throw G;if(!Ne)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 te}function H(s,d){return D(s,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 Z(s,d){return D(s,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 ie(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function we(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}Hl.renderToNodeStream=ie,Hl.renderToStaticMarkup=Z,Hl.renderToStaticNodeStream=we,Hl.renderToString=H,Hl.version=t}()),Hl}var oc={};/**
|
|
67
|
-
* @license React
|
|
68
|
-
* react-dom-server.browser.development.js
|
|
69
|
-
*
|
|
70
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
71
|
-
*
|
|
72
|
-
* This source code is licensed under the MIT license found in the
|
|
73
|
-
* LICENSE file in the root directory of this source tree.
|
|
74
|
-
*/var eh;function Wb(){return eh||(eh=1,process.env.NODE_ENV!=="production"&&function(){var a=qe,t="18.2.0",r=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function u(l){{for(var h=arguments.length,C=new Array(h>1?h-1:0),D=1;D<h;D++)C[D-1]=arguments[D];p("warn",l,C)}}function o(l){{for(var h=arguments.length,C=new Array(h>1?h-1:0),D=1;D<h;D++)C[D-1]=arguments[D];p("error",l,C)}}function p(l,h,C){{var D=r.ReactDebugCurrentFrame,H=D.getStackAddendum();H!==""&&(h+="%s",C=C.concat([H]));var Z=C.map(function(ie){return String(ie)});Z.unshift("Warning: "+h),Function.prototype.apply.call(console[l],console,Z)}}function x(l){l()}var P=512,_=null,M=0;function X(l){_=new Uint8Array(P),M=0}function z(l,h){if(h.length!==0){if(h.length>P){M>0&&(l.enqueue(new Uint8Array(_.buffer,0,M)),_=new Uint8Array(P),M=0),l.enqueue(h);return}var C=h,D=_.length-M;D<C.length&&(D===0?l.enqueue(_):(_.set(C.subarray(0,D),M),l.enqueue(_),C=C.subarray(D)),_=new Uint8Array(P),M=0),_.set(C,M),M+=C.length}}function K(l,h){return z(l,h),!0}function be(l){_&&M>0&&(l.enqueue(new Uint8Array(_.buffer,0,M)),_=null,M=0)}function ue(l){l.close()}var ce=new TextEncoder;function ee(l){return ce.encode(l)}function W(l){return ce.encode(l)}function _e(l,h){typeof l.error=="function"?l.error(h):l.close()}function Ie(l){{var h=typeof Symbol=="function"&&Symbol.toStringTag,C=h&&l[Symbol.toStringTag]||l.constructor.name||"Object";return C}}function Ae(l){try{return fe(l),!1}catch{return!0}}function fe(l){return""+l}function Be(l,h){if(Ae(l))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",h,Ie(l)),fe(l)}function v(l,h){if(Ae(l))return o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",h,Ie(l)),fe(l)}function We(l){if(Ae(l))return o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Ie(l)),fe(l)}var De=Object.prototype.hasOwnProperty,Dt=0,Ct=1,At=2,lt=3,kt=4,Zt=5,qt=6,mt=":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",Xe=mt+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",wt=new RegExp("^["+mt+"]["+Xe+"]*$"),Re={},Oe={};function ze(l){return De.call(Oe,l)?!0:De.call(Re,l)?!1:wt.test(l)?(Oe[l]=!0,!0):(Re[l]=!0,o("Invalid attribute name: `%s`",l),!1)}function et(l,h,C,D){if(C!==null&&C.type===Dt)return!1;switch(typeof h){case"function":case"symbol":return!0;case"boolean":{if(D)return!1;if(C!==null)return!C.acceptsBooleans;var H=l.toLowerCase().slice(0,5);return H!=="data-"&&H!=="aria-"}default:return!1}}function tt(l){return Ye.hasOwnProperty(l)?Ye[l]:null}function Ve(l,h,C,D,H,Z,ie){this.acceptsBooleans=h===At||h===lt||h===kt,this.attributeName=D,this.attributeNamespace=H,this.mustUseProperty=C,this.propertyName=l,this.type=h,this.sanitizeURL=Z,this.removeEmptyString=ie}var Ye={},ut=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ut.forEach(function(l){Ye[l]=new Ve(l,Dt,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var h=l[0],C=l[1];Ye[h]=new Ve(h,Ct,!1,C,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){Ye[l]=new Ve(l,At,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){Ye[l]=new Ve(l,At,!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){Ye[l]=new Ve(l,lt,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){Ye[l]=new Ve(l,lt,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){Ye[l]=new Ve(l,kt,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){Ye[l]=new Ve(l,qt,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){Ye[l]=new Ve(l,Zt,!1,l.toLowerCase(),null,!1,!1)});var gt=/[\-\:]([a-z])/g,vt=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 h=l.replace(gt,vt);Ye[h]=new Ve(h,Ct,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var h=l.replace(gt,vt);Ye[h]=new Ve(h,Ct,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var h=l.replace(gt,vt);Ye[h]=new Ve(h,Ct,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){Ye[l]=new Ve(l,Ct,!1,l.toLowerCase(),null,!1,!1)});var ct="xlinkHref";Ye[ct]=new Ve("xlinkHref",Ct,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){Ye[l]=new Ve(l,Ct,!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 $e(l,h){return l+h.charAt(0).toUpperCase()+h.substring(1)}var Nt=["Webkit","ms","Moz","O"];Object.keys(Lt).forEach(function(l){Nt.forEach(function(h){Lt[$e(h,l)]=Lt[l]})});var Ut={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Hn(l,h){Ut[h.type]||h.onChange||h.onInput||h.readOnly||h.disabled||h.value==null||o("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`."),h.onChange||h.readOnly||h.disabled||h.checked==null||o("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function lr(l,h){if(l.indexOf("-")===-1)return typeof h.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 Un={"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},bn={},wi=new RegExp("^(aria)-["+Xe+"]*$"),mr=new RegExp("^(aria)[A-Z]["+Xe+"]*$");function Gn(l,h){{if(De.call(bn,h)&&bn[h])return!0;if(mr.test(h)){var C="aria-"+h.slice(4).toLowerCase(),D=Un.hasOwnProperty(C)?C:null;if(D==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",h),bn[h]=!0,!0;if(h!==D)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",h,D),bn[h]=!0,!0}if(wi.test(h)){var H=h.toLowerCase(),Z=Un.hasOwnProperty(H)?H:null;if(Z==null)return bn[h]=!0,!1;if(h!==Z)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",h,Z),bn[h]=!0,!0}}return!0}function rn(l,h){{var C=[];for(var D in h){var H=Gn(l,D);H||C.push(D)}var Z=C.map(function(ie){return"`"+ie+"`"}).join(", ");C.length===1?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",Z,l):C.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",Z,l)}}function sn(l,h){lr(l,h)||rn(l,h)}var ln=!1;function rt(l,h){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;h!=null&&h.value===null&&!ln&&(ln=!0,l==="select"&&h.multiple?o("`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):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",l))}}var kn={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"},Zr=function(){};{var nn={},xi=/^on./,Ci=/^on[^A-Z]/,ki=new RegExp("^(aria)-["+Xe+"]*$"),yr=new RegExp("^(aria)[A-Z]["+Xe+"]*$");Zr=function(l,h,C,D){if(De.call(nn,h)&&nn[h])return!0;var H=h.toLowerCase();if(H==="onfocusin"||H==="onfocusout")return o("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."),nn[h]=!0,!0;if(D!=null){var Z=D.registrationNameDependencies,ie=D.possibleRegistrationNames;if(Z.hasOwnProperty(h))return!0;var we=ie.hasOwnProperty(H)?ie[H]:null;if(we!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",h,we),nn[h]=!0,!0;if(xi.test(h))return o("Unknown event handler property `%s`. It will be ignored.",h),nn[h]=!0,!0}else if(xi.test(h))return Ci.test(h)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",h),nn[h]=!0,!0;if(ki.test(h)||yr.test(h))return!0;if(H==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),nn[h]=!0,!0;if(H==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),nn[h]=!0,!0;if(H==="is"&&C!==null&&C!==void 0&&typeof C!="string")return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof C),nn[h]=!0,!0;if(typeof C=="number"&&isNaN(C))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",h),nn[h]=!0,!0;var s=tt(h),d=s!==null&&s.type===Dt;if(kn.hasOwnProperty(H)){var S=kn[H];if(S!==h)return o("Invalid DOM property `%s`. Did you mean `%s`?",h,S),nn[h]=!0,!0}else if(!d&&h!==H)return o("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.",h,H),nn[h]=!0,!0;return typeof C=="boolean"&&et(h,C,s,!1)?(C?o('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()}.',C,h,h,C,h):o('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.',C,h,h,C,h,h,h),nn[h]=!0,!0):d?!0:et(h,C,s,!1)?(nn[h]=!0,!1):((C==="false"||C==="true")&&s!==null&&s.type===lt&&(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",C,h,C==="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".',h,C),nn[h]=!0),!0)}}var Mn=function(l,h,C){{var D=[];for(var H in h){var Z=Zr(l,H,h[H],C);Z||D.push(H)}var ie=D.map(function(we){return"`"+we+"`"}).join(", ");D.length===1?o("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):D.length>1&&o("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 br(l,h,C){lr(l,h)||Mn(l,h,C)}var ur=function(){};{var Lr=/^(?:webkit|moz|o)[A-Z]/,Nr=/^-ms-/,oa=/-(.)/g,Wn=/;\s*$/,Br={},qn={},$t=!1,Jr=!1,Ei=function(l){return l.replace(oa,function(h,C){return C.toUpperCase()})},En=function(l){Br.hasOwnProperty(l)&&Br[l]||(Br[l]=!0,o("Unsupported style property %s. Did you mean %s?",l,Ei(l.replace(Nr,"ms-"))))},un=function(l){Br.hasOwnProperty(l)&&Br[l]||(Br[l]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},Qr=function(l,h){qn.hasOwnProperty(h)&&qn[h]||(qn[h]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,h.replace(Wn,"")))},ei=function(l,h){$t||($t=!0,o("`NaN` is an invalid value for the `%s` css style property.",l))},fn=function(l,h){Jr||(Jr=!0,o("`Infinity` is an invalid value for the `%s` css style property.",l))};ur=function(l,h){l.indexOf("-")>-1?En(l):Lr.test(l)?un(l):Wn.test(h)&&Qr(l,h),typeof h=="number"&&(isNaN(h)?ei(l,h):isFinite(h)||fn(l,h))}}var Wi=ur,cr=/["'&<>]/;function ti(l){We(l);var h=""+l,C=cr.exec(h);if(!C)return h;var D,H="",Z,ie=0;for(Z=C.index;Z<h.length;Z++){switch(h.charCodeAt(Z)){case 34:D=""";break;case 38:D="&";break;case 39:D="'";break;case 60:D="<";break;case 62:D=">";break;default:continue}ie!==Z&&(H+=h.substring(ie,Z)),ie=Z+1,H+=D}return ie!==Z?H+h.substring(ie,Z):H}function an(l){return typeof l=="boolean"||typeof l=="number"?""+l:ti(l)}var ui=/([A-Z])/g,Ya=/^ms-/;function Ga(l){return l.replace(ui,"-$1").toLowerCase().replace(Ya,"-ms-")}var jr=/^[\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,zi=!1;function $i(l){!zi&&jr.test(l)&&(zi=!0,o("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 sa=Array.isArray;function ci(l){return sa(l)}var ni=W("<script>"),fi=W("<\/script>"),Vi=W('<script src="'),di=W('<script type="module" src="'),Hr=W('" async=""><\/script>');function fr(l){return We(l),(""+l).replace(Sr,Ur)}var Sr=/(<\/|<)(s)(cript)/gi,Ur=function(l,h,C,D){return""+h+(C==="s"?"\\u0073":"\\u0053")+D};function wr(l,h,C,D,H){var Z=l===void 0?"":l,ie=h===void 0?ni:W('<script nonce="'+an(h)+'">'),we=[];if(C!==void 0&&we.push(ie,ee(fr(C)),fi),D!==void 0)for(var s=0;s<D.length;s++)we.push(Vi,ee(an(D[s])),Hr);if(H!==void 0)for(var d=0;d<H.length;d++)we.push(di,ee(an(H[d])),Hr);return{bootstrapChunks:we,startInlineScript:ie,placeholderPrefix:W(Z+"P:"),segmentPrefix:W(Z+"S:"),boundaryPrefix:Z+"B:",idPrefix:Z,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Fn=0,cn=1,xr=2,dr=3,Tn=4,ri=5,Cr=6,Wr=7;function zn(l,h){return{insertionMode:l,selectedValue:h}}function zr(l){var h=l==="http://www.w3.org/2000/svg"?xr:l==="http://www.w3.org/1998/Math/MathML"?dr:Fn;return zn(h,null)}function $r(l,h,C){switch(h){case"select":return zn(cn,C.value!=null?C.value:C.defaultValue);case"svg":return zn(xr,null);case"math":return zn(dr,null);case"foreignObject":return zn(cn,null);case"table":return zn(Tn,null);case"thead":case"tbody":case"tfoot":return zn(ri,null);case"colgroup":return zn(Wr,null);case"tr":return zn(Cr,null)}return l.insertionMode>=Tn||l.insertionMode===Fn?zn(cn,null):l}var Ti=null;function Cn(l){var h=l.nextSuspenseID++;return W(l.boundaryPrefix+h.toString(16))}function hr(l,h,C){var D=l.idPrefix,H=":"+D+"R"+h;return C>0&&(H+="H"+C.toString(32)),H+":"}function Qn(l){return an(l)}var la=W("<!-- -->");function Ii(l,h,C,D){return h===""?D:(D&&l.push(la),l.push(ee(Qn(h))),!0)}function kr(l,h,C,D){C&&D&&l.push(la)}var m=new Map;function I(l){var h=m.get(l);if(h!==void 0)return h;var C=W(an(Ga(l)));return m.set(l,C),C}var B=W(' style="'),Y=W(":"),me=W(";");function se(l,h,C){if(typeof C!="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 D=!0;for(var H in C)if(De.call(C,H)){var Z=C[H];if(!(Z==null||typeof Z=="boolean"||Z==="")){var ie=void 0,we=void 0,s=H.indexOf("--")===0;s?(ie=ee(an(H)),v(Z,H),we=ee(an((""+Z).trim()))):(Wi(H,Z),ie=I(H),typeof Z=="number"?Z!==0&&!De.call(Lt,H)?we=ee(Z+"px"):we=ee(""+Z):(v(Z,H),we=ee(an((""+Z).trim())))),D?(D=!1,l.push(B,ie,Y,we)):l.push(me,ie,Y,we)}}D||l.push(it)}var xe=W(" "),He=W('="'),it=W('"'),ft=W('=""');function at(l,h,C,D){switch(C){case"style":{se(l,h,D);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(C.length>2&&(C[0]==="o"||C[0]==="O")&&(C[1]==="n"||C[1]==="N"))){var H=tt(C);if(H!==null){switch(typeof D){case"function":case"symbol":return;case"boolean":if(!H.acceptsBooleans)return}var Z=H.attributeName,ie=ee(Z);switch(H.type){case lt:D&&l.push(xe,ie,ft);return;case kt:D===!0?l.push(xe,ie,ft):D===!1||l.push(xe,ie,He,ee(an(D)),it);return;case Zt:isNaN(D)||l.push(xe,ie,He,ee(an(D)),it);break;case qt:!isNaN(D)&&D>=1&&l.push(xe,ie,He,ee(an(D)),it);break;default:H.sanitizeURL&&(Be(D,Z),D=""+D,$i(D)),l.push(xe,ie,He,ee(an(D)),it)}}else if(ze(C)){switch(typeof D){case"function":case"symbol":return;case"boolean":{var we=C.toLowerCase().slice(0,5);if(we!=="data-"&&we!=="aria-")return}}l.push(xe,ee(C),He,ee(an(D)),it)}}}var Mt=W(">"),$n=W("/>");function Ln(l,h,C){if(h!=null){if(C!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof h!="object"||!("__html"in h))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 D=h.__html;D!=null&&(We(D),l.push(ee(""+D)))}}var Sn=!1,Er=!1,Xn=!1,_i=!1,ii=!1,Ri=!1,Tr=!1;function ua(l,h){{var C=l[h];if(C!=null){var D=ci(C);l.multiple&&!D?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",h):!l.multiple&&D&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",h)}}}function Wo(l,h,C){Hn("select",h),ua(h,"value"),ua(h,"defaultValue"),h.value!==void 0&&h.defaultValue!==void 0&&!Xn&&(o("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"),Xn=!0),l.push(er("select"));var D=null,H=null;for(var Z in h)if(De.call(h,Z)){var ie=h[Z];if(ie==null)continue;switch(Z){case"children":D=ie;break;case"dangerouslySetInnerHTML":H=ie;break;case"defaultValue":case"value":break;default:at(l,C,Z,ie);break}}return l.push(Mt),Ln(l,H,D),D}function qa(l){var h="";return a.Children.forEach(l,function(C){C!=null&&(h+=C,!ii&&typeof C!="string"&&typeof C!="number"&&(ii=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),h}var Xa=W(' selected=""');function Ka(l,h,C,D){var H=D.selectedValue;l.push(er("option"));var Z=null,ie=null,we=null,s=null;for(var d in h)if(De.call(h,d)){var S=h[d];if(S==null)continue;switch(d){case"children":Z=S;break;case"selected":we=S,Tr||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Tr=!0);break;case"dangerouslySetInnerHTML":s=S;break;case"value":ie=S;default:at(l,C,d,S);break}}if(H!=null){var k;if(ie!==null?(Be(ie,"value"),k=""+ie):(s!==null&&(Ri||(Ri=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),k=qa(Z)),ci(H))for(var L=0;L<H.length;L++){Be(H[L],"value");var G=""+H[L];if(G===k){l.push(Xa);break}}else Be(H,"select.value"),""+H===k&&l.push(Xa)}else we&&l.push(Xa);return l.push(Mt),Ln(l,s,Z),Z}function Za(l,h,C){Hn("input",h),h.checked!==void 0&&h.defaultChecked!==void 0&&!Er&&(o("%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",h.type),Er=!0),h.value!==void 0&&h.defaultValue!==void 0&&!Sn&&(o("%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",h.type),Sn=!0),l.push(er("input"));var D=null,H=null,Z=null,ie=null;for(var we in h)if(De.call(h,we)){var s=h[we];if(s==null)continue;switch(we){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":ie=s;break;case"defaultValue":H=s;break;case"checked":Z=s;break;case"value":D=s;break;default:at(l,C,we,s);break}}return Z!==null?at(l,C,"checked",Z):ie!==null&&at(l,C,"checked",ie),D!==null?at(l,C,"value",D):H!==null&&at(l,C,"value",H),l.push($n),null}function ai(l,h,C){Hn("textarea",h),h.value!==void 0&&h.defaultValue!==void 0&&!_i&&(o("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"),_i=!0),l.push(er("textarea"));var D=null,H=null,Z=null;for(var ie in h)if(De.call(h,ie)){var we=h[ie];if(we==null)continue;switch(ie){case"children":Z=we;break;case"value":D=we;break;case"defaultValue":H=we;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:at(l,C,ie,we);break}}if(D===null&&H!==null&&(D=H),l.push(Mt),Z!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),D!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ci(Z)){if(Z.length>1)throw new Error("<textarea> can only have at most one child.");We(Z[0]),D=""+Z[0]}We(Z),D=""+Z}return typeof D=="string"&&D[0]===`
|
|
75
|
-
`&&l.push(hi),D!==null&&(Be(D,"value"),l.push(ee(Qn(""+D)))),null}function ca(l,h,C,D){l.push(er(C));for(var H in h)if(De.call(h,H)){var Z=h[H];if(Z==null)continue;switch(H){case"children":case"dangerouslySetInnerHTML":throw new Error(C+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:at(l,D,H,Z);break}}return l.push($n),null}function Ia(l,h,C){l.push(er("menuitem"));for(var D in h)if(De.call(h,D)){var H=h[D];if(H==null)continue;switch(D){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:at(l,C,D,H);break}}return l.push(Mt),null}function en(l,h,C){l.push(er("title"));var D=null;for(var H in h)if(De.call(h,H)){var Z=h[H];if(Z==null)continue;switch(H){case"children":D=Z;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:at(l,C,H,Z);break}}l.push(Mt);{var ie=Array.isArray(D)&&D.length<2?D[0]||null:D;Array.isArray(D)&&D.length>1?o("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?o("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"&&o("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 D}function Vt(l,h,C,D){l.push(er(C));var H=null,Z=null;for(var ie in h)if(De.call(h,ie)){var we=h[ie];if(we==null)continue;switch(ie){case"children":H=we;break;case"dangerouslySetInnerHTML":Z=we;break;default:at(l,D,ie,we);break}}return l.push(Mt),Ln(l,Z,H),typeof H=="string"?(l.push(ee(Qn(H))),null):H}function Ot(l,h,C,D){l.push(er(C));var H=null,Z=null;for(var ie in h)if(De.call(h,ie)){var we=h[ie];if(we==null)continue;switch(ie){case"children":H=we;break;case"dangerouslySetInnerHTML":Z=we;break;case"style":se(l,D,we);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ze(ie)&&typeof we!="function"&&typeof we!="symbol"&&l.push(xe,ee(ie),He,ee(an(we)),it);break}}return l.push(Mt),Ln(l,Z,H),H}var hi=W(`
|
|
76
|
-
`);function Vr(l,h,C,D){l.push(er(C));var H=null,Z=null;for(var ie in h)if(De.call(h,ie)){var we=h[ie];if(we==null)continue;switch(ie){case"children":H=we;break;case"dangerouslySetInnerHTML":Z=we;break;default:at(l,D,ie,we);break}}if(l.push(Mt),Z!=null){if(H!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof Z!="object"||!("__html"in Z))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var s=Z.__html;s!=null&&(typeof s=="string"&&s.length>0&&s[0]===`
|
|
77
|
-
`?l.push(hi,ee(s)):(We(s),l.push(ee(""+s))))}return typeof H=="string"&&H[0]===`
|
|
78
|
-
`&&l.push(hi),H}var fa=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,oi=new Map;function er(l){var h=oi.get(l);if(h===void 0){if(!fa.test(l))throw new Error("Invalid tag: "+l);h=W("<"+l),oi.set(l,h)}return h}var Ja=W("<!DOCTYPE html>");function _a(l,h,C,D,H){switch(sn(h,C),rt(h,C),br(h,C,null),!C.suppressContentEditableWarning&&C.contentEditable&&C.children!=null&&o("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."),H.insertionMode!==xr&&H.insertionMode!==dr&&h.indexOf("-")===-1&&typeof C.is!="string"&&h.toLowerCase()!==h&&o("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",h),h){case"select":return Wo(l,C,D);case"option":return Ka(l,C,D,H);case"textarea":return ai(l,C,D);case"input":return Za(l,C,D);case"menuitem":return Ia(l,C,D);case"title":return en(l,C,D);case"listing":case"pre":return Vr(l,C,h,D);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 ca(l,C,h,D);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 Vt(l,C,h,D);case"html":return H.insertionMode===Fn&&l.push(Ja),Vt(l,C,h,D);default:return h.indexOf("-")===-1&&typeof C.is!="string"?Vt(l,C,h,D):Ot(l,C,h,D)}}var vo=W("</"),dn=W(">");function da(l,h,C){switch(h){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(vo,ee(h),dn)}}function si(l,h){for(var C=h.bootstrapChunks,D=0;D<C.length-1;D++)z(l,C[D]);return D<C.length?K(l,C[D]):!0}var mo=W('<template id="'),Yi=W('"></template>');function Vn(l,h,C){z(l,mo),z(l,h.placeholderPrefix);var D=ee(C.toString(16));return z(l,D),K(l,Yi)}var i=W("<!--$-->"),c=W('<!--$?--><template id="'),g=W('"></template>'),b=W("<!--$!-->"),T=W("<!--/$-->"),R=W("<template"),O=W('"'),Q=W(' data-dgst="'),q=W(' data-msg="'),le=W(' data-stck="'),Ce=W("></template>");function ke(l,h){return K(l,i)}function ge(l,h,C){if(z(l,c),C===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return z(l,C),K(l,g)}function Me(l,h,C,D,H){var Z;return Z=K(l,b),z(l,R),C&&(z(l,Q),z(l,ee(an(C))),z(l,O)),D&&(z(l,q),z(l,ee(an(D))),z(l,O)),H&&(z(l,le),z(l,ee(an(H))),z(l,O)),Z=K(l,Ce),Z}function Ke(l,h){return K(l,T)}function bt(l,h){return K(l,T)}function Et(l,h){return K(l,T)}var In=W('<div hidden id="'),on=W('">'),Ir=W("</div>"),_r=W('<svg aria-hidden="true" style="display:none" id="'),Ft=W('">'),Rr=W("</svg>"),Bt=W('<math aria-hidden="true" style="display:none" id="'),Jt=W('">'),Gi=W("</math>"),qi=W('<table hidden id="'),pr=W('">'),y=W("</table>"),E=W('<table hidden><tbody id="'),F=W('">'),V=W("</tbody></table>"),he=W('<table hidden><tr id="'),pe=W('">'),Ee=W("</tr></table>"),je=W('<table hidden><colgroup id="'),ot=W('">'),Pt=W("</colgroup></table>");function yt(l,h,C,D){switch(C.insertionMode){case Fn:case cn:return z(l,In),z(l,h.segmentPrefix),z(l,ee(D.toString(16))),K(l,on);case xr:return z(l,_r),z(l,h.segmentPrefix),z(l,ee(D.toString(16))),K(l,Ft);case dr:return z(l,Bt),z(l,h.segmentPrefix),z(l,ee(D.toString(16))),K(l,Jt);case Tn:return z(l,qi),z(l,h.segmentPrefix),z(l,ee(D.toString(16))),K(l,pr);case ri:return z(l,E),z(l,h.segmentPrefix),z(l,ee(D.toString(16))),K(l,F);case Cr:return z(l,he),z(l,h.segmentPrefix),z(l,ee(D.toString(16))),K(l,pe);case Wr:return z(l,je),z(l,h.segmentPrefix),z(l,ee(D.toString(16))),K(l,ot);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function dt(l,h){switch(h.insertionMode){case Fn:case cn:return K(l,Ir);case xr:return K(l,Rr);case dr:return K(l,Gi);case Tn:return K(l,y);case ri:return K(l,V);case Cr:return K(l,Ee);case Wr:return K(l,Pt);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var An="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)}",vn='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()}}',Nn='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())}',Ra=W(An+';$RS("'),yo=W('$RS("'),Da=W('","'),Yr=W('")<\/script>');function zo(l,h,C){z(l,h.startInlineScript),h.sentCompleteSegmentFunction?z(l,yo):(h.sentCompleteSegmentFunction=!0,z(l,Ra)),z(l,h.segmentPrefix);var D=ee(C.toString(16));return z(l,D),z(l,Da),z(l,h.placeholderPrefix),z(l,D),K(l,Yr)}var Xi=W(vn+';$RC("'),bo=W('$RC("'),Aa=W('","'),li=W('")<\/script>');function Di(l,h,C,D){if(z(l,h.startInlineScript),h.sentCompleteBoundaryFunction?z(l,bo):(h.sentCompleteBoundaryFunction=!0,z(l,Xi)),C===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var H=ee(D.toString(16));return z(l,C),z(l,Aa),z(l,h.segmentPrefix),z(l,H),K(l,li)}var $o=W(Nn+';$RX("'),il=W('$RX("'),Pa=W('"'),Ki=W(")<\/script>"),tr=W(",");function Vo(l,h,C,D,H,Z){if(z(l,h.startInlineScript),h.sentClientRenderFunction?z(l,il):(h.sentClientRenderFunction=!0,z(l,$o)),C===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return z(l,C),z(l,Pa),(D||H||Z)&&(z(l,tr),z(l,ee(wo(D||"")))),(H||Z)&&(z(l,tr),z(l,ee(wo(H||"")))),Z&&(z(l,tr),z(l,ee(wo(Z)))),K(l,Ki)}var So=/[<\u2028\u2029]/g;function wo(l){var h=JSON.stringify(l);return h.replace(So,function(C){switch(C){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 $=Object.assign,oe=Symbol.for("react.element"),ye=Symbol.for("react.portal"),ve=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),re=Symbol.for("react.profiler"),ne=Symbol.for("react.provider"),Te=Symbol.for("react.context"),Pe=Symbol.for("react.forward_ref"),Ze=Symbol.for("react.suspense"),Je=Symbol.for("react.suspense_list"),Ge=Symbol.for("react.memo"),Tt=Symbol.for("react.lazy"),ht=Symbol.for("react.scope"),jt=Symbol.for("react.debug_trace_mode"),_n=Symbol.for("react.legacy_hidden"),Kn=Symbol.for("react.default_value"),Bn=Symbol.iterator,Dr="@@iterator";function Ai(l){if(l===null||typeof l!="object")return null;var h=Bn&&l[Bn]||l[Dr];return typeof h=="function"?h:null}function It(l,h,C){var D=l.displayName;if(D)return D;var H=h.displayName||h.name||"";return H!==""?C+"("+H+")":C}function Jl(l){return l.displayName||"Context"}function wn(l){if(l==null)return null;if(typeof l.tag=="number"&&o("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 ve:return"Fragment";case ye:return"Portal";case re:return"Profiler";case U:return"StrictMode";case Ze:return"Suspense";case Je:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case Te:var h=l;return Jl(h)+".Consumer";case ne:var C=l;return Jl(C._context)+".Provider";case Pe:return It(l,l.render,"ForwardRef");case Ge:var D=l.displayName||null;return D!==null?D:wn(l.type)||"Memo";case Tt:{var H=l,Z=H._payload,ie=H._init;try{return wn(ie(Z))}catch{return null}}}return null}var Oa=0,al,xn,xo,Co,Zi,ko,Ts;function Eo(){}Eo.__reactDisabledLog=!0;function ol(){{if(Oa===0){al=console.log,xn=console.info,xo=console.warn,Co=console.error,Zi=console.group,ko=console.groupCollapsed,Ts=console.groupEnd;var l={configurable:!0,enumerable:!0,value:Eo,writable:!0};Object.defineProperties(console,{info:l,log:l,warn:l,error:l,group:l,groupCollapsed:l,groupEnd:l})}Oa++}}function sl(){{if(Oa--,Oa===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$({},l,{value:al}),info:$({},l,{value:xn}),warn:$({},l,{value:xo}),error:$({},l,{value:Co}),group:$({},l,{value:Zi}),groupCollapsed:$({},l,{value:ko}),groupEnd:$({},l,{value:Ts})})}Oa<0&&o("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Qa=r.ReactCurrentDispatcher,Is;function ha(l,h,C){{if(Is===void 0)try{throw Error()}catch(H){var D=H.stack.trim().match(/\n( *(at )?)/);Is=D&&D[1]||""}return`
|
|
79
|
-
`+Is+l}}var Pi=!1,pa;{var Yo=typeof WeakMap=="function"?WeakMap:Map;pa=new Yo}function Go(l,h){if(!l||Pi)return"";{var C=pa.get(l);if(C!==void 0)return C}var D;Pi=!0;var H=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Z;Z=Qa.current,Qa.current=null,ol();try{if(h){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(te){D=te}Reflect.construct(l,[],ie)}else{try{ie.call()}catch(te){D=te}l.call(ie.prototype)}}else{try{throw Error()}catch(te){D=te}l()}}catch(te){if(te&&D&&typeof te.stack=="string"){for(var we=te.stack.split(`
|
|
80
|
-
`),s=D.stack.split(`
|
|
81
|
-
`),d=we.length-1,S=s.length-1;d>=1&&S>=0&&we[d]!==s[S];)S--;for(;d>=1&&S>=0;d--,S--)if(we[d]!==s[S]){if(d!==1||S!==1)do if(d--,S--,S<0||we[d]!==s[S]){var k=`
|
|
82
|
-
`+we[d].replace(" at new "," at ");return l.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",l.displayName)),typeof l=="function"&&pa.set(l,k),k}while(d>=1&&S>=0);break}}}finally{Pi=!1,Qa.current=Z,sl(),Error.prepareStackTrace=H}var L=l?l.displayName||l.name:"",G=L?ha(L):"";return typeof l=="function"&&pa.set(l,G),G}function _s(l,h,C){return Go(l,!0)}function qo(l,h,C){return Go(l,!1)}function To(l){var h=l.prototype;return!!(h&&h.isReactComponent)}function Xo(l,h,C){if(l==null)return"";if(typeof l=="function")return Go(l,To(l));if(typeof l=="string")return ha(l);switch(l){case Ze:return ha("Suspense");case Je:return ha("SuspenseList")}if(typeof l=="object")switch(l.$$typeof){case Pe:return qo(l.render);case Ge:return Xo(l.type,h,C);case Tt:{var D=l,H=D._payload,Z=D._init;try{return Xo(Z(H),h,C)}catch{}}}return""}var ll={},ul=r.ReactDebugCurrentFrame;function Io(l){if(l){var h=l._owner,C=Xo(l.type,l._source,h?h.type:null);ul.setExtraStackFrame(C)}else ul.setExtraStackFrame(null)}function cl(l,h,C,D,H){{var Z=Function.call.bind(De);for(var ie in l)if(Z(l,ie)){var we=void 0;try{if(typeof l[ie]!="function"){var s=Error((D||"React class")+": "+C+" 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 s.name="Invariant Violation",s}we=l[ie](h,ie,D,C,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(d){we=d}we&&!(we instanceof Error)&&(Io(H),o("%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).",D||"React class",C,ie,typeof we),Io(null)),we instanceof Error&&!(we.message in ll)&&(ll[we.message]=!0,Io(H),o("Failed %s type: %s",C,we.message),Io(null))}}}var Rn;Rn={};var Dn={};Object.freeze(Dn);function fl(l,h){{var C=l.contextTypes;if(!C)return Dn;var D={};for(var H in C)D[H]=h[H];{var Z=wn(l)||"Unknown";cl(C,D,"context",Z)}return D}}function dl(l,h,C,D){{if(typeof l.getChildContext!="function"){{var H=wn(h)||"Unknown";Rn[H]||(Rn[H]=!0,o("%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.",H,H))}return C}var Z=l.getChildContext();for(var ie in Z)if(!(ie in D))throw new Error((wn(h)||"Unknown")+'.getChildContext(): key "'+ie+'" is not defined in childContextTypes.');{var we=wn(h)||"Unknown";cl(D,Z,"child context",we)}return $({},C,Z)}}var ga;ga={};var Ql=null,va=null;function Oi(l){l.context._currentValue=l.parentValue}function Ko(l){l.context._currentValue=l.value}function Ar(l,h){if(l!==h){Oi(l);var C=l.parent,D=h.parent;if(C===null){if(D!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(D===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");Ar(C,D)}Ko(h)}}function Ma(l){Oi(l);var h=l.parent;h!==null&&Ma(h)}function Fa(l){var h=l.parent;h!==null&&Fa(h),Ko(l)}function La(l,h){Oi(l);var C=l.parent;if(C===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");C.depth===h.depth?Ar(C,h):La(C,h)}function Na(l,h){var C=h.parent;if(C===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");l.depth===C.depth?Ar(l,C):Na(l,C),Ko(h)}function Zo(l){var h=va,C=l;h!==C&&(h===null?Fa(C):C===null?Ma(h):h.depth===C.depth?Ar(h,C):h.depth>C.depth?La(h,C):Na(h,C),va=C)}function eu(l,h){var C;C=l._currentValue,l._currentValue=h,l._currentRenderer!==void 0&&l._currentRenderer!==null&&l._currentRenderer!==ga&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),l._currentRenderer=ga;var D=va,H={parent:D,depth:D===null?0:D.depth+1,context:l,parentValue:C,value:h};return va=H,H}function tu(l){var h=va;if(h===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");h.context!==l&&o("The parent context is not the expected context. This is probably a bug in React.");{var C=h.parentValue;C===Kn?h.context._currentValue=h.context._defaultValue:h.context._currentValue=C,l._currentRenderer!==void 0&&l._currentRenderer!==null&&l._currentRenderer!==ga&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),l._currentRenderer=ga}return va=h.parent}function Rs(){return va}function Jo(l){var h=l._currentValue;return h}function _o(l){return l._reactInternals}function Qo(l,h){l._reactInternals=h}var eo={},N={},Ba,to,Pr,Wt,Ds,Ro,es,Ji,Do;{Ba=new Set,to=new Set,Pr=new Set,es=new Set,Wt=new Set,Ji=new Set,Do=new Set;var As=new Set;Ro=function(l,h){if(!(l===null||typeof l=="function")){var C=h+"_"+l;As.has(C)||(As.add(C),o("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",h,l))}},Ds=function(l,h){if(h===void 0){var C=wn(l)||"Component";Wt.has(C)||(Wt.add(C),o("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",C))}}}function Ps(l,h){{var C=l.constructor,D=C&&wn(C)||"ReactClass",H=D+"."+h;if(eo[H])return;o(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
|
|
83
|
-
|
|
84
|
-
Please check the code for the %s component.`,h,h,D),eo[H]=!0}}var Os={isMounted:function(l){return!1},enqueueSetState:function(l,h,C){var D=_o(l);D.queue===null?Ps(l,"setState"):(D.queue.push(h),C!=null&&Ro(C,"setState"))},enqueueReplaceState:function(l,h,C){var D=_o(l);D.replace=!0,D.queue=[h],C!=null&&Ro(C,"setState")},enqueueForceUpdate:function(l,h){var C=_o(l);C.queue===null?Ps(l,"forceUpdate"):h!=null&&Ro(h,"setState")}};function nu(l,h,C,D,H){var Z=C(H,D);Ds(h,Z);var ie=Z==null?D:$({},D,Z);return ie}function Qi(l,h,C){var D=Dn,H=l.contextType;if("contextType"in l){var Z=H===null||H!==void 0&&H.$$typeof===Te&&H._context===void 0;if(!Z&&!Do.has(l)){Do.add(l);var ie="";H===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 H!="object"?ie=" However, it is set to a "+typeof H+".":H.$$typeof===ne?ie=" Did you accidentally pass the Context.Provider instead?":H._context!==void 0?ie=" Did you accidentally pass the Context.Consumer instead?":ie=" However, it is set to an object with keys {"+Object.keys(H).join(", ")+"}.",o("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",wn(l)||"Component",ie)}}typeof H=="object"&&H!==null?D=Jo(H):D=C;var we=new l(h,D);{if(typeof l.getDerivedStateFromProps=="function"&&(we.state===null||we.state===void 0)){var s=wn(l)||"Component";Ba.has(s)||(Ba.add(s),o("`%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.",s,we.state===null?"null":"undefined",s))}if(typeof l.getDerivedStateFromProps=="function"||typeof we.getSnapshotBeforeUpdate=="function"){var d=null,S=null,k=null;if(typeof we.componentWillMount=="function"&&we.componentWillMount.__suppressDeprecationWarning!==!0?d="componentWillMount":typeof we.UNSAFE_componentWillMount=="function"&&(d="UNSAFE_componentWillMount"),typeof we.componentWillReceiveProps=="function"&&we.componentWillReceiveProps.__suppressDeprecationWarning!==!0?S="componentWillReceiveProps":typeof we.UNSAFE_componentWillReceiveProps=="function"&&(S="UNSAFE_componentWillReceiveProps"),typeof we.componentWillUpdate=="function"&&we.componentWillUpdate.__suppressDeprecationWarning!==!0?k="componentWillUpdate":typeof we.UNSAFE_componentWillUpdate=="function"&&(k="UNSAFE_componentWillUpdate"),d!==null||S!==null||k!==null){var L=wn(l)||"Component",G=typeof l.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Pr.has(L)||(Pr.add(L),o(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
85
|
-
|
|
86
|
-
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
87
|
-
|
|
88
|
-
The above lifecycles should be removed. Learn more about this warning here:
|
|
89
|
-
https://reactjs.org/link/unsafe-component-lifecycles`,L,G,d!==null?`
|
|
90
|
-
`+d:"",S!==null?`
|
|
91
|
-
`+S:"",k!==null?`
|
|
92
|
-
`+k:""))}}}return we}function ru(l,h,C){{var D=wn(h)||"Component",H=l.render;H||(h.prototype&&typeof h.prototype.render=="function"?o("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",D):o("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",D)),l.getInitialState&&!l.getInitialState.isReactClassApproved&&!l.state&&o("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?",D),l.getDefaultProps&&!l.getDefaultProps.isReactClassApproved&&o("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.",D),l.propTypes&&o("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",D),l.contextType&&o("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",D),l.contextTypes&&o("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",D),h.contextType&&h.contextTypes&&!Ji.has(h)&&(Ji.add(h),o("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",D)),typeof l.componentShouldUpdate=="function"&&o("%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.",D),h.prototype&&h.prototype.isPureReactComponent&&typeof l.shouldComponentUpdate<"u"&&o("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",wn(h)||"A pure component"),typeof l.componentDidUnmount=="function"&&o("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",D),typeof l.componentDidReceiveProps=="function"&&o("%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().",D),typeof l.componentWillRecieveProps=="function"&&o("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",D),typeof l.UNSAFE_componentWillRecieveProps=="function"&&o("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",D);var Z=l.props!==C;l.props!==void 0&&Z&&o("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",D,D),l.defaultProps&&o("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",D,D),typeof l.getSnapshotBeforeUpdate=="function"&&typeof l.componentDidUpdate!="function"&&!to.has(h)&&(to.add(h),o("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",wn(h))),typeof l.getDerivedStateFromProps=="function"&&o("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",D),typeof l.getDerivedStateFromError=="function"&&o("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",D),typeof h.getSnapshotBeforeUpdate=="function"&&o("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",D);var ie=l.state;ie&&(typeof ie!="object"||ci(ie))&&o("%s.state: must be set to an object or null",D),typeof l.getChildContext=="function"&&typeof h.childContextTypes!="object"&&o("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",D)}}function Eu(l,h){var C=h.state;if(typeof h.componentWillMount=="function"){if(h.componentWillMount.__suppressDeprecationWarning!==!0){var D=wn(l)||"Unknown";N[D]||(u(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
93
|
-
|
|
94
|
-
* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
|
|
95
|
-
|
|
96
|
-
Please update the following components: %s`,D),N[D]=!0)}h.componentWillMount()}typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),C!==h.state&&(o("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",wn(l)||"Component"),Os.enqueueReplaceState(h,h.state,null))}function Tu(l,h,C,D){if(l.queue!==null&&l.queue.length>0){var H=l.queue,Z=l.replace;if(l.queue=null,l.replace=!1,Z&&H.length===1)h.state=H[0];else{for(var ie=Z?H[0]:h.state,we=!0,s=Z?1:0;s<H.length;s++){var d=H[s],S=typeof d=="function"?d.call(h,ie,C,D):d;S!=null&&(we?(we=!1,ie=$({},ie,S)):$(ie,S))}h.state=ie}}else l.queue=null}function iu(l,h,C,D){ru(l,h,C);var H=l.state!==void 0?l.state:null;l.updater=Os,l.props=C,l.state=H;var Z={queue:[],replace:!1};Qo(l,Z);var ie=h.contextType;if(typeof ie=="object"&&ie!==null?l.context=Jo(ie):l.context=D,l.state===C){var we=wn(h)||"Component";es.has(we)||(es.add(we),o("%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.",we))}var s=h.getDerivedStateFromProps;typeof s=="function"&&(l.state=nu(l,h,s,H,C)),typeof h.getDerivedStateFromProps!="function"&&typeof l.getSnapshotBeforeUpdate!="function"&&(typeof l.UNSAFE_componentWillMount=="function"||typeof l.componentWillMount=="function")&&(Eu(h,l),Tu(Z,l,C,D))}var Iu={id:1,overflow:""};function ma(l){var h=l.overflow,C=l.id,D=C&~_u(C);return D.toString(32)+h}function Ms(l,h,C){var D=l.id,H=l.overflow,Z=Fs(D)-1,ie=D&~(1<<Z),we=C+1,s=Fs(h)+Z;if(s>30){var d=Z-Z%5,S=(1<<d)-1,k=(ie&S).toString(32),L=ie>>d,G=Z-d,te=Fs(h)+G,Se=we<<G,Ne=Se|L,Qe=k+H;return{id:1<<te|Ne,overflow:Qe}}else{var st=we<<Z,St=st|ie,mn=H;return{id:1<<s|St,overflow:mn}}}function Fs(l){return 32-hl(l)}function _u(l){return 1<<Fs(l)-1}var hl=Math.clz32?Math.clz32:Ru,Ls=Math.log,no=Math.LN2;function Ru(l){var h=l>>>0;return h===0?32:31-(Ls(h)/no|0)|0}function Du(l,h){return l===h&&(l!==0||1/l===1/h)||l!==l&&h!==h}var Mi=typeof Object.is=="function"?Object.is:Du,ya=null,pl=null,Ns=null,Xt=null,ro=!1,ja=!1,tn=0,pi=null,io=0,Ao=25,Pn=!1,gi;function ao(){if(ya===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
97
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
98
|
-
2. You might be breaking the Rules of Hooks
|
|
99
|
-
3. You might have more than one copy of React in the same app
|
|
100
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Pn&&o("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"),ya}function Fi(l,h){if(h===null)return o("%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.",gi),!1;l.length!==h.length&&o(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
101
|
-
|
|
102
|
-
Previous: %s
|
|
103
|
-
Incoming: %s`,gi,"["+l.join(", ")+"]","["+h.join(", ")+"]");for(var C=0;C<h.length&&C<l.length;C++)if(!Mi(l[C],h[C]))return!1;return!0}function oo(){if(io>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function nr(){return Xt===null?Ns===null?(ro=!1,Ns=Xt=oo()):(ro=!0,Xt=Ns):Xt.next===null?(ro=!1,Xt=Xt.next=oo()):(ro=!0,Xt=Xt.next),Xt}function gl(l,h){ya=h,pl=l,Pn=!1,tn=0}function Ha(l,h,C,D){for(;ja;)ja=!1,tn=0,io+=1,Xt=null,C=l(h,D);return vl(),C}function Or(){var l=tn!==0;return l}function vl(){Pn=!1,ya=null,pl=null,ja=!1,Ns=null,io=0,pi=null,Xt=null}function au(l){return Pn&&o("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()."),Jo(l)}function ml(l){return gi="useContext",ao(),Jo(l)}function ba(l,h){return typeof h=="function"?h(l):h}function Ua(l){return gi="useState",yl(ba,l)}function yl(l,h,C){if(l!==ba&&(gi="useReducer"),ya=ao(),Xt=nr(),ro){var D=Xt.queue,H=D.dispatch;if(pi!==null){var Z=pi.get(D);if(Z!==void 0){pi.delete(D);var ie=Xt.memoizedState,we=Z;do{var s=we.action;Pn=!0,ie=l(ie,s),Pn=!1,we=we.next}while(we!==null);return Xt.memoizedState=ie,[ie,H]}}return[Xt.memoizedState,H]}else{Pn=!0;var d;l===ba?d=typeof h=="function"?h():h:d=C!==void 0?C(h):h,Pn=!1,Xt.memoizedState=d;var S=Xt.queue={last:null,dispatch:null},k=S.dispatch=bl.bind(null,ya,S);return[Xt.memoizedState,k]}}function Bs(l,h){ya=ao(),Xt=nr();var C=h===void 0?null:h;if(Xt!==null){var D=Xt.memoizedState;if(D!==null&&C!==null){var H=D[1];if(Fi(C,H))return D[0]}}Pn=!0;var Z=l();return Pn=!1,Xt.memoizedState=[Z,C],Z}function js(l){ya=ao(),Xt=nr();var h=Xt.memoizedState;if(h===null){var C={current:l};return Object.seal(C),Xt.memoizedState=C,C}else return h}function ou(l,h){gi="useLayoutEffect",o("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 bl(l,h,C){if(io>=Ao)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l===ya){ja=!0;var D={action:C,next:null};pi===null&&(pi=new Map);var H=pi.get(h);if(H===void 0)pi.set(h,D);else{for(var Z=H;Z.next!==null;)Z=Z.next;Z.next=D}}}function rr(l,h){return Bs(function(){return l},h)}function Sl(l,h,C){return ao(),h(l._source)}function su(l,h,C){if(C===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return C()}function ea(l){return ao(),l}function wl(){throw new Error("startTransition cannot be called during server rendering.")}function Hs(){return ao(),[!1,wl]}function so(){var l=pl,h=ma(l.treeContext),C=ns;if(C===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var D=tn++;return hr(C,h,D)}function ts(){}var gr={readContext:au,useContext:ml,useMemo:Bs,useReducer:yl,useRef:js,useState:Ua,useInsertionEffect:ts,useLayoutEffect:ou,useCallback:rr,useImperativeHandle:ts,useEffect:ts,useDebugValue:ts,useDeferredValue:ea,useTransition:Hs,useId:so,useMutableSource:Sl,useSyncExternalStore:su},ns=null;function rs(l){ns=l}function lu(l){try{var h="",C=l;do{switch(C.tag){case 0:h+=ha(C.type,null,null);break;case 1:h+=qo(C.type,null,null);break;case 2:h+=_s(C.type,null,null);break}C=C.parent}while(C);return h}catch(D){return`
|
|
104
|
-
Error generating stack: `+D.message+`
|
|
105
|
-
`+D.stack}}var is=r.ReactCurrentDispatcher,Po=r.ReactDebugCurrentFrame,xl=0,vi=1,as=2,Us=3,lo=4,Oo=0,Cl=1,uo=2,kl=12800;function El(l){return console.error(l),null}function ta(){}function Au(l,h,C,D,H,Z,ie,we,s){var d=[],S=new Set,k={destination:null,responseState:h,progressiveChunkSize:D===void 0?kl:D,status:Oo,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:S,pingedTasks:d,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:H===void 0?El:H,onAllReady:Z===void 0?ta:Z,onShellReady:ie===void 0?ta:ie,onShellError:we===void 0?ta:we,onFatalError:s===void 0?ta:s},L=Ws(k,0,null,C,!1,!1);L.parentFlushed=!0;var G=os(k,l,null,L,S,Dn,Ql,Iu);return d.push(G),k}function Pu(l,h){var C=l.pingedTasks;C.push(h),C.length===1&&x(function(){return ps(l)})}function Mo(l,h){return{id:Ti,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:h,errorDigest:null}}function os(l,h,C,D,H,Z,ie,we){l.allPendingTasks++,C===null?l.pendingRootTasks++:C.pendingTasks++;var s={node:h,ping:function(){return Pu(l,s)},blockedBoundary:C,blockedSegment:D,abortSet:H,legacyContext:Z,context:ie,treeContext:we};return s.componentStack=null,H.add(s),s}function Ws(l,h,C,D,H,Z){return{status:xl,id:-1,index:h,parentFlushed:!1,chunks:[],children:[],formatContext:D,boundary:C,lastPushedText:H,textEmbedded:Z}}var Li=null;function Fo(){return Li===null||Li.componentStack===null?"":lu(Li.componentStack)}function Sa(l,h){l.componentStack={tag:0,parent:l.componentStack,type:h}}function Ni(l,h){l.componentStack={tag:1,parent:l.componentStack,type:h}}function Lo(l,h){l.componentStack={tag:2,parent:l.componentStack,type:h}}function mi(l){l.componentStack===null?o("Unexpectedly popped too many stack frames. This is a bug in React."):l.componentStack=l.componentStack.parent}var co=null;function zs(l,h){{var C;typeof h=="string"?C=h:h&&typeof h.message=="string"?C=h.message:C=String(h);var D=co||Fo();co=null,l.errorMessage=C,l.errorComponentStack=D}}function yi(l,h){var C=l.onError(h);if(C!=null&&typeof C!="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 C+'" instead');return C}function wa(l,h){var C=l.onShellError;C(h);var D=l.onFatalError;D(h),l.destination!==null?(l.status=uo,_e(l.destination,h)):(l.status=Cl,l.fatalError=h)}function Tl(l,h,C){Sa(h,"Suspense");var D=h.blockedBoundary,H=h.blockedSegment,Z=C.fallback,ie=C.children,we=new Set,s=Mo(l,we),d=H.chunks.length,S=Ws(l,d,s,H.formatContext,!1,!1);H.children.push(S),H.lastPushedText=!1;var k=Ws(l,0,null,H.formatContext,!1,!1);k.parentFlushed=!0,h.blockedBoundary=s,h.blockedSegment=k;try{if(ds(l,h,ie),kr(k.chunks,l.responseState,k.lastPushedText,k.textEmbedded),k.status=vi,hs(s,k),s.pendingTasks===0){mi(h);return}}catch(G){k.status=lo,s.forceClientRender=!0,s.errorDigest=yi(l,G),zs(s,G)}finally{h.blockedBoundary=D,h.blockedSegment=H}var L=os(l,Z,D,S,we,h.legacyContext,h.context,h.treeContext);L.componentStack=h.componentStack,l.pingedTasks.push(L),mi(h)}function fo(l,h,C,D){Sa(h,C);var H=h.blockedSegment,Z=_a(H.chunks,C,D,l.responseState,H.formatContext);H.lastPushedText=!1;var ie=H.formatContext;H.formatContext=$r(ie,C,D),ds(l,h,Z),H.formatContext=ie,da(H.chunks,C),H.lastPushedText=!1,mi(h)}function ss(l){return l.prototype&&l.prototype.isReactComponent}function $s(l,h,C,D,H){var Z={};gl(h,Z);var ie=C(D,H);return Ha(C,D,ie,H)}function uu(l,h,C,D,H){var Z=C.render();C.props!==H&&(No||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",wn(D)||"a component"),No=!0);{var ie=D.childContextTypes;if(ie!=null){var we=h.legacyContext,s=dl(C,D,we,ie);h.legacyContext=s,Xr(l,h,Z),h.legacyContext=we;return}}Xr(l,h,Z)}function Il(l,h,C,D){Lo(h,C);var H=fl(C,h.legacyContext),Z=Qi(C,D,H);iu(Z,C,D,H),uu(l,h,Z,C,D),mi(h)}var Ht={},ls={},cu={},ho={},No=!1,_l=!1,Rl=!1,Gr=!1;function fu(l,h,C,D){var H;if(H=fl(C,h.legacyContext),Ni(h,C),C.prototype&&typeof C.prototype.render=="function"){var Z=wn(C)||"Unknown";Ht[Z]||(o("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.",Z,Z),Ht[Z]=!0)}var ie=$s(l,h,C,D,H),we=Or();if(typeof ie=="object"&&ie!==null&&typeof ie.render=="function"&&ie.$$typeof===void 0){var s=wn(C)||"Unknown";ls[s]||(o("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.",s,s,s),ls[s]=!0)}if(typeof ie=="object"&&ie!==null&&typeof ie.render=="function"&&ie.$$typeof===void 0){{var d=wn(C)||"Unknown";ls[d]||(o("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),ls[d]=!0)}iu(ie,C,D,H),uu(l,h,ie,C,D)}else if(us(C),we){var S=h.treeContext,k=1,L=0;h.treeContext=Ms(S,k,L);try{Xr(l,h,ie)}finally{h.treeContext=S}}else Xr(l,h,ie);mi(h)}function us(l){{if(l&&l.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",l.displayName||l.name||"Component"),typeof l.getDerivedStateFromProps=="function"){var h=wn(l)||"Unknown";ho[h]||(o("%s: Function components do not support getDerivedStateFromProps.",h),ho[h]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var C=wn(l)||"Unknown";cu[C]||(o("%s: Function components do not support contextType.",C),cu[C]=!0)}}}function cs(l,h){if(l&&l.defaultProps){var C=$({},h),D=l.defaultProps;for(var H in D)C[H]===void 0&&(C[H]=D[H]);return C}return h}function du(l,h,C,D,H){Ni(h,C.render);var Z=$s(l,h,C.render,D,H),ie=Or();if(ie){var we=h.treeContext,s=1,d=0;h.treeContext=Ms(we,s,d);try{Xr(l,h,Z)}finally{h.treeContext=we}}else Xr(l,h,Z);mi(h)}function hu(l,h,C,D,H){var Z=C.type,ie=cs(Z,D);Vs(l,h,Z,ie,H)}function qr(l,h,C,D){C._context===void 0?C!==C.Consumer&&(Gr||(Gr=!0,o("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):C=C._context;var H=D.children;typeof H!="function"&&o("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 Z=Jo(C),ie=H(Z);Xr(l,h,ie)}function Wa(l,h,C,D){var H=C._context,Z=D.value,ie=D.children,we;we=h.context,h.context=eu(H,Z),Xr(l,h,ie),h.context=tu(H),we!==h.context&&o("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Dl(l,h,C,D,H){Sa(h,"Lazy");var Z=C._payload,ie=C._init,we=ie(Z),s=cs(we,D);Vs(l,h,we,s,H),mi(h)}function Vs(l,h,C,D,H){if(typeof C=="function")if(ss(C)){Il(l,h,C,D);return}else{fu(l,h,C,D);return}if(typeof C=="string"){fo(l,h,C,D);return}switch(C){case _n:case jt:case U:case re:case ve:{Xr(l,h,D.children);return}case Je:{Sa(h,"SuspenseList"),Xr(l,h,D.children),mi(h);return}case ht:throw new Error("ReactDOMServer does not yet support scope components.");case Ze:{Tl(l,h,D);return}}if(typeof C=="object"&&C!==null)switch(C.$$typeof){case Pe:{du(l,h,C,D,H);return}case Ge:{hu(l,h,C,D,H);return}case ne:{Wa(l,h,C,D);return}case Te:{qr(l,h,C,D);return}case Tt:{Dl(l,h,C,D);return}}var Z="";throw(C===void 0||typeof C=="object"&&C!==null&&Object.keys(C).length===0)&&(Z+=" 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: "+(C==null?C:typeof C)+"."+Z))}function Ys(l,h){typeof Symbol=="function"&&l[Symbol.toStringTag]==="Generator"&&(_l||o("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."),_l=!0),l.entries===h&&(Rl||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Rl=!0)}function Xr(l,h,C){try{return fs(l,h,C)}catch(D){throw typeof D=="object"&&D!==null&&typeof D.then=="function"||(co=co!==null?co:Fo()),D}}function fs(l,h,C){if(h.node=C,typeof C=="object"&&C!==null){switch(C.$$typeof){case oe:{var D=C,H=D.type,Z=D.props,ie=D.ref;Vs(l,h,H,Z,ie);return}case ye: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 Tt:{var we=C,s=we._payload,d=we._init,S;try{S=d(s)}catch(st){throw typeof st=="object"&&st!==null&&typeof st.then=="function"&&Sa(h,"Lazy"),st}Xr(l,h,S);return}}if(ci(C)){Al(l,h,C);return}var k=Ai(C);if(k){Ys(C,k);var L=k.call(C);if(L){var G=L.next();if(!G.done){var te=[];do te.push(G.value),G=L.next();while(!G.done);Al(l,h,te);return}return}}var Se=Object.prototype.toString.call(C);throw new Error("Objects are not valid as a React child (found: "+(Se==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":Se)+"). If you meant to render a collection of children, use an array instead.")}if(typeof C=="string"){var Ne=h.blockedSegment;Ne.lastPushedText=Ii(h.blockedSegment.chunks,C,l.responseState,Ne.lastPushedText);return}if(typeof C=="number"){var Qe=h.blockedSegment;Qe.lastPushedText=Ii(h.blockedSegment.chunks,""+C,l.responseState,Qe.lastPushedText);return}typeof C=="function"&&o("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 Al(l,h,C){for(var D=C.length,H=0;H<D;H++){var Z=h.treeContext;h.treeContext=Ms(Z,D,H);try{ds(l,h,C[H])}finally{h.treeContext=Z}}}function Mr(l,h,C){var D=h.blockedSegment,H=D.chunks.length,Z=Ws(l,H,null,D.formatContext,D.lastPushedText,!0);D.children.push(Z),D.lastPushedText=!1;var ie=os(l,h.node,h.blockedBoundary,Z,h.abortSet,h.legacyContext,h.context,h.treeContext);h.componentStack!==null&&(ie.componentStack=h.componentStack.parent);var we=ie.ping;C.then(we,we)}function ds(l,h,C){var D=h.blockedSegment.formatContext,H=h.legacyContext,Z=h.context,ie=null;ie=h.componentStack;try{return Xr(l,h,C)}catch(we){if(vl(),typeof we=="object"&&we!==null&&typeof we.then=="function"){Mr(l,h,we),h.blockedSegment.formatContext=D,h.legacyContext=H,h.context=Z,Zo(Z),h.componentStack=ie;return}else throw h.blockedSegment.formatContext=D,h.legacyContext=H,h.context=Z,Zo(Z),h.componentStack=ie,we}}function xa(l,h,C,D){var H=yi(l,D);if(h===null?wa(l,D):(h.pendingTasks--,h.forceClientRender||(h.forceClientRender=!0,h.errorDigest=H,zs(h,D),h.parentFlushed&&l.clientRenderedBoundaries.push(h))),l.allPendingTasks--,l.allPendingTasks===0){var Z=l.onAllReady;Z()}}function Ou(l){var h=this,C=l.blockedBoundary,D=l.blockedSegment;D.status=Us,Pl(h,C,D)}function Bi(l,h,C){var D=l.blockedBoundary,H=l.blockedSegment;if(H.status=Us,D===null)h.allPendingTasks--,h.status!==uo&&(h.status=uo,h.destination!==null&&ue(h.destination));else{if(D.pendingTasks--,!D.forceClientRender){D.forceClientRender=!0;var Z=C===void 0?new Error("The render was aborted by the server without a reason."):C;D.errorDigest=h.onError(Z);{var ie="The server did not finish this Suspense boundary: ";Z&&typeof Z.message=="string"?Z=ie+Z.message:Z=ie+String(Z);var we=Li;Li=l;try{zs(D,Z)}finally{Li=we}}D.parentFlushed&&h.clientRenderedBoundaries.push(D)}if(D.fallbackAbortableTasks.forEach(function(d){return Bi(d,h,C)}),D.fallbackAbortableTasks.clear(),h.allPendingTasks--,h.allPendingTasks===0){var s=h.onAllReady;s()}}}function hs(l,h){if(h.chunks.length===0&&h.children.length===1&&h.children[0].boundary===null){var C=h.children[0];C.id=h.id,C.parentFlushed=!0,C.status===vi&&hs(l,C)}else{var D=l.completedSegments;D.push(h)}}function Pl(l,h,C){if(h===null){if(C.parentFlushed){if(l.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");l.completedRootSegment=C}if(l.pendingRootTasks--,l.pendingRootTasks===0){l.onShellError=ta;var D=l.onShellReady;D()}}else if(h.pendingTasks--,!h.forceClientRender){if(h.pendingTasks===0)C.parentFlushed&&C.status===vi&&hs(h,C),h.parentFlushed&&l.completedBoundaries.push(h),h.fallbackAbortableTasks.forEach(Ou,l),h.fallbackAbortableTasks.clear();else if(C.parentFlushed&&C.status===vi){hs(h,C);var H=h.completedSegments;H.length===1&&h.parentFlushed&&l.partialBoundaries.push(h)}}if(l.allPendingTasks--,l.allPendingTasks===0){var Z=l.onAllReady;Z()}}function Gs(l,h){var C=h.blockedSegment;if(C.status===xl){Zo(h.context);var D=null;D=Li,Li=h;try{Xr(l,h,h.node),kr(C.chunks,l.responseState,C.lastPushedText,C.textEmbedded),h.abortSet.delete(h),C.status=vi,Pl(l,h.blockedBoundary,C)}catch(Z){if(vl(),typeof Z=="object"&&Z!==null&&typeof Z.then=="function"){var H=h.ping;Z.then(H,H)}else h.abortSet.delete(h),C.status=lo,xa(l,h.blockedBoundary,C,Z)}finally{Li=D}}}function ps(l){if(l.status!==uo){var h=Rs(),C=is.current;is.current=gr;var D;D=Po.getCurrentStack,Po.getCurrentStack=Fo;var H=ns;rs(l.responseState);try{var Z=l.pingedTasks,ie;for(ie=0;ie<Z.length;ie++){var we=Z[ie];Gs(l,we)}Z.splice(0,ie),l.destination!==null&&ir(l,l.destination)}catch(s){yi(l,s),wa(l,s)}finally{rs(H),is.current=C,Po.getCurrentStack=D,C===gr&&Zo(h)}}}function gs(l,h,C){switch(C.parentFlushed=!0,C.status){case xl:{var D=C.id=l.nextSegmentId++;return C.lastPushedText=!1,C.textEmbedded=!1,Vn(h,l.responseState,D)}case vi:{C.status=as;for(var H=!0,Z=C.chunks,ie=0,we=C.children,s=0;s<we.length;s++){for(var d=we[s];ie<d.index;ie++)z(h,Z[ie]);H=qs(l,h,d)}for(;ie<Z.length-1;ie++)z(h,Z[ie]);return ie<Z.length&&(H=K(h,Z[ie])),H}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function qs(l,h,C){var D=C.boundary;if(D===null)return gs(l,h,C);if(D.parentFlushed=!0,D.forceClientRender)return Me(h,l.responseState,D.errorDigest,D.errorMessage,D.errorComponentStack),gs(l,h,C),Et(h,l.responseState);if(D.pendingTasks>0){D.rootSegmentID=l.nextSegmentId++,D.completedSegments.length>0&&l.partialBoundaries.push(D);var H=D.id=Cn(l.responseState);return ge(h,l.responseState,H),gs(l,h,C),bt(h,l.responseState)}else{if(D.byteSize>l.progressiveChunkSize)return D.rootSegmentID=l.nextSegmentId++,l.completedBoundaries.push(D),ge(h,l.responseState,D.id),gs(l,h,C),bt(h,l.responseState);ke(h,l.responseState);var Z=D.completedSegments;if(Z.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var ie=Z[0];return qs(l,h,ie),Ke(h,l.responseState)}}function Ol(l,h,C){return Vo(h,l.responseState,C.id,C.errorDigest,C.errorMessage,C.errorComponentStack)}function Bo(l,h,C){return yt(h,l.responseState,C.formatContext,C.id),qs(l,h,C),dt(h,C.formatContext)}function vs(l,h,C){for(var D=C.completedSegments,H=0;H<D.length;H++){var Z=D[H];Xs(l,h,C,Z)}return D.length=0,Di(h,l.responseState,C.id,C.rootSegmentID)}function pu(l,h,C){for(var D=C.completedSegments,H=0;H<D.length;H++){var Z=D[H];if(!Xs(l,h,C,Z))return H++,D.splice(0,H),!1}return D.splice(0,H),!0}function Xs(l,h,C,D){if(D.status===as)return!0;var H=D.id;if(H===-1){var Z=D.id=C.rootSegmentID;if(Z===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Bo(l,h,D)}else return Bo(l,h,D),zo(h,l.responseState,H)}function ir(l,h){X();try{var C=l.completedRootSegment;C!==null&&l.pendingRootTasks===0&&(qs(l,h,C),l.completedRootSegment=null,si(h,l.responseState));var D=l.clientRenderedBoundaries,H;for(H=0;H<D.length;H++){var Z=D[H];Ol(l,h,Z)}D.splice(0,H);var ie=l.completedBoundaries;for(H=0;H<ie.length;H++){var we=ie[H];vs(l,h,we)}ie.splice(0,H),be(h),X(h);var s=l.partialBoundaries;for(H=0;H<s.length;H++){var d=s[H];if(!pu(l,h,d)){l.destination=null,H++,s.splice(0,H);return}}s.splice(0,H);var S=l.completedBoundaries;for(H=0;H<S.length;H++){var k=S[H];vs(l,h,k)}S.splice(0,H)}finally{be(h),l.allPendingTasks===0&&l.pingedTasks.length===0&&l.clientRenderedBoundaries.length===0&&l.completedBoundaries.length===0&&(l.abortableTasks.size!==0&&o("There was still abortable task at the root when we closed. This is a bug in React."),ue(h))}}function na(l){x(function(){return ps(l)})}function gu(l,h){if(l.status===Cl){l.status=uo,_e(h,l.fatalError);return}if(l.status!==uo&&l.destination===null){l.destination=h;try{ir(l,h)}catch(C){yi(l,C),wa(l,C)}}}function Ks(l,h){try{var C=l.abortableTasks;C.forEach(function(D){return Bi(D,l,h)}),C.clear(),l.destination!==null&&ir(l,l.destination)}catch(D){yi(l,D),wa(l,D)}}function Zs(l,h){return new Promise(function(C,D){var H,Z,ie=new Promise(function(L,G){Z=L,H=G});function we(){var L=new ReadableStream({type:"bytes",pull:function(G){gu(d,G)},cancel:function(G){Ks(d)}},{highWaterMark:0});L.allReady=ie,C(L)}function s(L){ie.catch(function(){}),D(L)}var d=Au(l,wr(h?h.identifierPrefix:void 0,h?h.nonce:void 0,h?h.bootstrapScriptContent:void 0,h?h.bootstrapScripts:void 0,h?h.bootstrapModules:void 0),zr(h?h.namespaceURI:void 0),h?h.progressiveChunkSize:void 0,h?h.onError:void 0,Z,we,s,H);if(h&&h.signal){var S=h.signal,k=function(){Ks(d,S.reason),S.removeEventListener("abort",k)};S.addEventListener("abort",k)}na(d)})}oc.renderToReadableStream=Zs,oc.version=t}()),oc}var Yl,kf;process.env.NODE_ENV==="production"?(Yl=jb(),kf=Hb()):(Yl=Ub(),kf=Wb());Yl.version;var zb=Yl.renderToString;Yl.renderToStaticMarkup;Yl.renderToNodeStream;Yl.renderToStaticNodeStream;kf.renderToReadableStream;var Ef={exports:{}},sc={exports:{}},pn={};/** @license React v16.13.1
|
|
106
|
-
* react-is.production.min.js
|
|
107
|
-
*
|
|
108
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
109
|
-
*
|
|
110
|
-
* This source code is licensed under the MIT license found in the
|
|
111
|
-
* LICENSE file in the root directory of this source tree.
|
|
112
|
-
*/var th;function $b(){if(th)return pn;th=1;var a=typeof Symbol=="function"&&Symbol.for,t=a?Symbol.for("react.element"):60103,r=a?Symbol.for("react.portal"):60106,u=a?Symbol.for("react.fragment"):60107,o=a?Symbol.for("react.strict_mode"):60108,p=a?Symbol.for("react.profiler"):60114,x=a?Symbol.for("react.provider"):60109,P=a?Symbol.for("react.context"):60110,_=a?Symbol.for("react.async_mode"):60111,M=a?Symbol.for("react.concurrent_mode"):60111,X=a?Symbol.for("react.forward_ref"):60112,z=a?Symbol.for("react.suspense"):60113,K=a?Symbol.for("react.suspense_list"):60120,be=a?Symbol.for("react.memo"):60115,ue=a?Symbol.for("react.lazy"):60116,ce=a?Symbol.for("react.block"):60121,ee=a?Symbol.for("react.fundamental"):60117,W=a?Symbol.for("react.responder"):60118,_e=a?Symbol.for("react.scope"):60119;function Ie(fe){if(typeof fe=="object"&&fe!==null){var Be=fe.$$typeof;switch(Be){case t:switch(fe=fe.type,fe){case _:case M:case u:case p:case o:case z:return fe;default:switch(fe=fe&&fe.$$typeof,fe){case P:case X:case ue:case be:case x:return fe;default:return Be}}case r:return Be}}}function Ae(fe){return Ie(fe)===M}return pn.AsyncMode=_,pn.ConcurrentMode=M,pn.ContextConsumer=P,pn.ContextProvider=x,pn.Element=t,pn.ForwardRef=X,pn.Fragment=u,pn.Lazy=ue,pn.Memo=be,pn.Portal=r,pn.Profiler=p,pn.StrictMode=o,pn.Suspense=z,pn.isAsyncMode=function(fe){return Ae(fe)||Ie(fe)===_},pn.isConcurrentMode=Ae,pn.isContextConsumer=function(fe){return Ie(fe)===P},pn.isContextProvider=function(fe){return Ie(fe)===x},pn.isElement=function(fe){return typeof fe=="object"&&fe!==null&&fe.$$typeof===t},pn.isForwardRef=function(fe){return Ie(fe)===X},pn.isFragment=function(fe){return Ie(fe)===u},pn.isLazy=function(fe){return Ie(fe)===ue},pn.isMemo=function(fe){return Ie(fe)===be},pn.isPortal=function(fe){return Ie(fe)===r},pn.isProfiler=function(fe){return Ie(fe)===p},pn.isStrictMode=function(fe){return Ie(fe)===o},pn.isSuspense=function(fe){return Ie(fe)===z},pn.isValidElementType=function(fe){return typeof fe=="string"||typeof fe=="function"||fe===u||fe===M||fe===p||fe===o||fe===z||fe===K||typeof fe=="object"&&fe!==null&&(fe.$$typeof===ue||fe.$$typeof===be||fe.$$typeof===x||fe.$$typeof===P||fe.$$typeof===X||fe.$$typeof===ee||fe.$$typeof===W||fe.$$typeof===_e||fe.$$typeof===ce)},pn.typeOf=Ie,pn}var gn={};/** @license React v16.13.1
|
|
113
|
-
* react-is.development.js
|
|
114
|
-
*
|
|
115
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
116
|
-
*
|
|
117
|
-
* This source code is licensed under the MIT license found in the
|
|
118
|
-
* LICENSE file in the root directory of this source tree.
|
|
119
|
-
*/var nh;function Vb(){return nh||(nh=1,process.env.NODE_ENV!=="production"&&function(){var a=typeof Symbol=="function"&&Symbol.for,t=a?Symbol.for("react.element"):60103,r=a?Symbol.for("react.portal"):60106,u=a?Symbol.for("react.fragment"):60107,o=a?Symbol.for("react.strict_mode"):60108,p=a?Symbol.for("react.profiler"):60114,x=a?Symbol.for("react.provider"):60109,P=a?Symbol.for("react.context"):60110,_=a?Symbol.for("react.async_mode"):60111,M=a?Symbol.for("react.concurrent_mode"):60111,X=a?Symbol.for("react.forward_ref"):60112,z=a?Symbol.for("react.suspense"):60113,K=a?Symbol.for("react.suspense_list"):60120,be=a?Symbol.for("react.memo"):60115,ue=a?Symbol.for("react.lazy"):60116,ce=a?Symbol.for("react.block"):60121,ee=a?Symbol.for("react.fundamental"):60117,W=a?Symbol.for("react.responder"):60118,_e=a?Symbol.for("react.scope"):60119;function Ie($e){return typeof $e=="string"||typeof $e=="function"||$e===u||$e===M||$e===p||$e===o||$e===z||$e===K||typeof $e=="object"&&$e!==null&&($e.$$typeof===ue||$e.$$typeof===be||$e.$$typeof===x||$e.$$typeof===P||$e.$$typeof===X||$e.$$typeof===ee||$e.$$typeof===W||$e.$$typeof===_e||$e.$$typeof===ce)}function Ae($e){if(typeof $e=="object"&&$e!==null){var Nt=$e.$$typeof;switch(Nt){case t:var Ut=$e.type;switch(Ut){case _:case M:case u:case p:case o:case z:return Ut;default:var Hn=Ut&&Ut.$$typeof;switch(Hn){case P:case X:case ue:case be:case x:return Hn;default:return Nt}}case r:return Nt}}}var fe=_,Be=M,v=P,We=x,De=t,Dt=X,Ct=u,At=ue,lt=be,kt=r,Zt=p,qt=o,mt=z,Xe=!1;function wt($e){return Xe||(Xe=!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.")),Re($e)||Ae($e)===_}function Re($e){return Ae($e)===M}function Oe($e){return Ae($e)===P}function ze($e){return Ae($e)===x}function et($e){return typeof $e=="object"&&$e!==null&&$e.$$typeof===t}function tt($e){return Ae($e)===X}function Ve($e){return Ae($e)===u}function Ye($e){return Ae($e)===ue}function ut($e){return Ae($e)===be}function gt($e){return Ae($e)===r}function vt($e){return Ae($e)===p}function ct($e){return Ae($e)===o}function Lt($e){return Ae($e)===z}gn.AsyncMode=fe,gn.ConcurrentMode=Be,gn.ContextConsumer=v,gn.ContextProvider=We,gn.Element=De,gn.ForwardRef=Dt,gn.Fragment=Ct,gn.Lazy=At,gn.Memo=lt,gn.Portal=kt,gn.Profiler=Zt,gn.StrictMode=qt,gn.Suspense=mt,gn.isAsyncMode=wt,gn.isConcurrentMode=Re,gn.isContextConsumer=Oe,gn.isContextProvider=ze,gn.isElement=et,gn.isForwardRef=tt,gn.isFragment=Ve,gn.isLazy=Ye,gn.isMemo=ut,gn.isPortal=gt,gn.isProfiler=vt,gn.isStrictMode=ct,gn.isSuspense=Lt,gn.isValidElementType=Ie,gn.typeOf=Ae}()),gn}var rh;function tp(){return rh||(rh=1,process.env.NODE_ENV==="production"?sc.exports=$b():sc.exports=Vb()),sc.exports}/*
|
|
120
|
-
object-assign
|
|
121
|
-
(c) Sindre Sorhus
|
|
122
|
-
@license MIT
|
|
123
|
-
*/var tf,ih;function Yb(){if(ih)return tf;ih=1;var a=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function u(p){if(p==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(p)}function o(){try{if(!Object.assign)return!1;var p=new String("abc");if(p[5]="de",Object.getOwnPropertyNames(p)[0]==="5")return!1;for(var x={},P=0;P<10;P++)x["_"+String.fromCharCode(P)]=P;var _=Object.getOwnPropertyNames(x).map(function(X){return x[X]});if(_.join("")!=="0123456789")return!1;var M={};return"abcdefghijklmnopqrst".split("").forEach(function(X){M[X]=X}),Object.keys(Object.assign({},M)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return tf=o()?Object.assign:function(p,x){for(var P,_=u(p),M,X=1;X<arguments.length;X++){P=Object(arguments[X]);for(var z in P)t.call(P,z)&&(_[z]=P[z]);if(a){M=a(P);for(var K=0;K<M.length;K++)r.call(P,M[K])&&(_[M[K]]=P[M[K]])}}return _},tf}var nf,ah;function Uf(){if(ah)return nf;ah=1;var a="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return nf=a,nf}var rf,oh;function np(){return oh||(oh=1,rf=Function.call.bind(Object.prototype.hasOwnProperty)),rf}var af,sh;function Gb(){if(sh)return af;sh=1;var a=function(){};if(process.env.NODE_ENV!=="production"){var t=Uf(),r={},u=np();a=function(p){var x="Warning: "+p;typeof console<"u"&&console.error(x);try{throw new Error(x)}catch{}}}function o(p,x,P,_,M){if(process.env.NODE_ENV!=="production"){for(var X in p)if(u(p,X)){var z;try{if(typeof p[X]!="function"){var K=Error((_||"React class")+": "+P+" type `"+X+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof p[X]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw K.name="Invariant Violation",K}z=p[X](x,X,_,P,null,t)}catch(ue){z=ue}if(z&&!(z instanceof Error)&&a((_||"React class")+": type specification of "+P+" `"+X+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof z+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),z instanceof Error&&!(z.message in r)){r[z.message]=!0;var be=M?M():"";a("Failed "+P+" type: "+z.message+(be??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},af=o,af}var of,lh;function qb(){if(lh)return of;lh=1;var a=tp(),t=Yb(),r=Uf(),u=np(),o=Gb(),p=function(){};process.env.NODE_ENV!=="production"&&(p=function(P){var _="Warning: "+P;typeof console<"u"&&console.error(_);try{throw new Error(_)}catch{}});function x(){return null}return of=function(P,_){var M=typeof Symbol=="function"&&Symbol.iterator,X="@@iterator";function z(Re){var Oe=Re&&(M&&Re[M]||Re[X]);if(typeof Oe=="function")return Oe}var K="<<anonymous>>",be={array:W("array"),bigint:W("bigint"),bool:W("boolean"),func:W("function"),number:W("number"),object:W("object"),string:W("string"),symbol:W("symbol"),any:_e(),arrayOf:Ie,element:Ae(),elementType:fe(),instanceOf:Be,node:Dt(),objectOf:We,oneOf:v,oneOfType:De,shape:At,exact:lt};function ue(Re,Oe){return Re===Oe?Re!==0||1/Re===1/Oe:Re!==Re&&Oe!==Oe}function ce(Re,Oe){this.message=Re,this.data=Oe&&typeof Oe=="object"?Oe:{},this.stack=""}ce.prototype=Error.prototype;function ee(Re){if(process.env.NODE_ENV!=="production")var Oe={},ze=0;function et(Ve,Ye,ut,gt,vt,ct,Lt){if(gt=gt||K,ct=ct||ut,Lt!==r){if(_){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 Nt=gt+":"+ut;!Oe[Nt]&&ze<3&&(p("You are manually calling a React.PropTypes validation function for the `"+ct+"` prop on `"+gt+"`. 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."),Oe[Nt]=!0,ze++)}}return Ye[ut]==null?Ve?Ye[ut]===null?new ce("The "+vt+" `"+ct+"` is marked as required "+("in `"+gt+"`, but its value is `null`.")):new ce("The "+vt+" `"+ct+"` is marked as required in "+("`"+gt+"`, but its value is `undefined`.")):null:Re(Ye,ut,gt,vt,ct)}var tt=et.bind(null,!1);return tt.isRequired=et.bind(null,!0),tt}function W(Re){function Oe(ze,et,tt,Ve,Ye,ut){var gt=ze[et],vt=qt(gt);if(vt!==Re){var ct=mt(gt);return new ce("Invalid "+Ve+" `"+Ye+"` of type "+("`"+ct+"` supplied to `"+tt+"`, expected ")+("`"+Re+"`."),{expectedType:Re})}return null}return ee(Oe)}function _e(){return ee(x)}function Ie(Re){function Oe(ze,et,tt,Ve,Ye){if(typeof Re!="function")return new ce("Property `"+Ye+"` of component `"+tt+"` has invalid PropType notation inside arrayOf.");var ut=ze[et];if(!Array.isArray(ut)){var gt=qt(ut);return new ce("Invalid "+Ve+" `"+Ye+"` of type "+("`"+gt+"` supplied to `"+tt+"`, expected an array."))}for(var vt=0;vt<ut.length;vt++){var ct=Re(ut,vt,tt,Ve,Ye+"["+vt+"]",r);if(ct instanceof Error)return ct}return null}return ee(Oe)}function Ae(){function Re(Oe,ze,et,tt,Ve){var Ye=Oe[ze];if(!P(Ye)){var ut=qt(Ye);return new ce("Invalid "+tt+" `"+Ve+"` of type "+("`"+ut+"` supplied to `"+et+"`, expected a single ReactElement."))}return null}return ee(Re)}function fe(){function Re(Oe,ze,et,tt,Ve){var Ye=Oe[ze];if(!a.isValidElementType(Ye)){var ut=qt(Ye);return new ce("Invalid "+tt+" `"+Ve+"` of type "+("`"+ut+"` supplied to `"+et+"`, expected a single ReactElement type."))}return null}return ee(Re)}function Be(Re){function Oe(ze,et,tt,Ve,Ye){if(!(ze[et]instanceof Re)){var ut=Re.name||K,gt=wt(ze[et]);return new ce("Invalid "+Ve+" `"+Ye+"` of type "+("`"+gt+"` supplied to `"+tt+"`, expected ")+("instance of `"+ut+"`."))}return null}return ee(Oe)}function v(Re){if(!Array.isArray(Re))return process.env.NODE_ENV!=="production"&&(arguments.length>1?p("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])."):p("Invalid argument supplied to oneOf, expected an array.")),x;function Oe(ze,et,tt,Ve,Ye){for(var ut=ze[et],gt=0;gt<Re.length;gt++)if(ue(ut,Re[gt]))return null;var vt=JSON.stringify(Re,function(Lt,$e){var Nt=mt($e);return Nt==="symbol"?String($e):$e});return new ce("Invalid "+Ve+" `"+Ye+"` of value `"+String(ut)+"` "+("supplied to `"+tt+"`, expected one of "+vt+"."))}return ee(Oe)}function We(Re){function Oe(ze,et,tt,Ve,Ye){if(typeof Re!="function")return new ce("Property `"+Ye+"` of component `"+tt+"` has invalid PropType notation inside objectOf.");var ut=ze[et],gt=qt(ut);if(gt!=="object")return new ce("Invalid "+Ve+" `"+Ye+"` of type "+("`"+gt+"` supplied to `"+tt+"`, expected an object."));for(var vt in ut)if(u(ut,vt)){var ct=Re(ut,vt,tt,Ve,Ye+"."+vt,r);if(ct instanceof Error)return ct}return null}return ee(Oe)}function De(Re){if(!Array.isArray(Re))return process.env.NODE_ENV!=="production"&&p("Invalid argument supplied to oneOfType, expected an instance of array."),x;for(var Oe=0;Oe<Re.length;Oe++){var ze=Re[Oe];if(typeof ze!="function")return p("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Xe(ze)+" at index "+Oe+"."),x}function et(tt,Ve,Ye,ut,gt){for(var vt=[],ct=0;ct<Re.length;ct++){var Lt=Re[ct],$e=Lt(tt,Ve,Ye,ut,gt,r);if($e==null)return null;$e.data&&u($e.data,"expectedType")&&vt.push($e.data.expectedType)}var Nt=vt.length>0?", expected one of type ["+vt.join(", ")+"]":"";return new ce("Invalid "+ut+" `"+gt+"` supplied to "+("`"+Ye+"`"+Nt+"."))}return ee(et)}function Dt(){function Re(Oe,ze,et,tt,Ve){return kt(Oe[ze])?null:new ce("Invalid "+tt+" `"+Ve+"` supplied to "+("`"+et+"`, expected a ReactNode."))}return ee(Re)}function Ct(Re,Oe,ze,et,tt){return new ce((Re||"React class")+": "+Oe+" type `"+ze+"."+et+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+tt+"`.")}function At(Re){function Oe(ze,et,tt,Ve,Ye){var ut=ze[et],gt=qt(ut);if(gt!=="object")return new ce("Invalid "+Ve+" `"+Ye+"` of type `"+gt+"` "+("supplied to `"+tt+"`, expected `object`."));for(var vt in Re){var ct=Re[vt];if(typeof ct!="function")return Ct(tt,Ve,Ye,vt,mt(ct));var Lt=ct(ut,vt,tt,Ve,Ye+"."+vt,r);if(Lt)return Lt}return null}return ee(Oe)}function lt(Re){function Oe(ze,et,tt,Ve,Ye){var ut=ze[et],gt=qt(ut);if(gt!=="object")return new ce("Invalid "+Ve+" `"+Ye+"` of type `"+gt+"` "+("supplied to `"+tt+"`, expected `object`."));var vt=t({},ze[et],Re);for(var ct in vt){var Lt=Re[ct];if(u(Re,ct)&&typeof Lt!="function")return Ct(tt,Ve,Ye,ct,mt(Lt));if(!Lt)return new ce("Invalid "+Ve+" `"+Ye+"` key `"+ct+"` supplied to `"+tt+"`.\nBad object: "+JSON.stringify(ze[et],null," ")+`
|
|
124
|
-
Valid keys: `+JSON.stringify(Object.keys(Re),null," "));var $e=Lt(ut,ct,tt,Ve,Ye+"."+ct,r);if($e)return $e}return null}return ee(Oe)}function kt(Re){switch(typeof Re){case"number":case"string":case"undefined":return!0;case"boolean":return!Re;case"object":if(Array.isArray(Re))return Re.every(kt);if(Re===null||P(Re))return!0;var Oe=z(Re);if(Oe){var ze=Oe.call(Re),et;if(Oe!==Re.entries){for(;!(et=ze.next()).done;)if(!kt(et.value))return!1}else for(;!(et=ze.next()).done;){var tt=et.value;if(tt&&!kt(tt[1]))return!1}}else return!1;return!0;default:return!1}}function Zt(Re,Oe){return Re==="symbol"?!0:Oe?Oe["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&Oe instanceof Symbol:!1}function qt(Re){var Oe=typeof Re;return Array.isArray(Re)?"array":Re instanceof RegExp?"object":Zt(Oe,Re)?"symbol":Oe}function mt(Re){if(typeof Re>"u"||Re===null)return""+Re;var Oe=qt(Re);if(Oe==="object"){if(Re instanceof Date)return"date";if(Re instanceof RegExp)return"regexp"}return Oe}function Xe(Re){var Oe=mt(Re);switch(Oe){case"array":case"object":return"an "+Oe;case"boolean":case"date":case"regexp":return"a "+Oe;default:return Oe}}function wt(Re){return!Re.constructor||!Re.constructor.name?K:Re.constructor.name}return be.checkPropTypes=o,be.resetWarningCache=o.resetWarningCache,be.PropTypes=be,be},of}var sf,uh;function Xb(){if(uh)return sf;uh=1;var a=Uf();function t(){}function r(){}return r.resetWarningCache=t,sf=function(){function u(x,P,_,M,X,z){if(z!==a){var K=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 K.name="Invariant Violation",K}}u.isRequired=u;function o(){return u}var p={array:u,bigint:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:o,element:u,elementType:u,instanceOf:o,node:u,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return p.PropTypes=p,p},sf}if(process.env.NODE_ENV!=="production"){var Kb=tp(),Zb=!0;Ef.exports=qb()(Kb.isElement,Zb)}else Ef.exports=Xb()();var vr=Ef.exports;const Va=wc(vr);var Jb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rp(a,t){return a(t={exports:{}},t.exports),t.exports}var Qb=rp(function(a){(function(t){var r=function(ee,W,_e){if(!_(W)||X(W)||z(W)||K(W)||P(W))return W;var Ie,Ae=0,fe=0;if(M(W))for(Ie=[],fe=W.length;Ae<fe;Ae++)Ie.push(r(ee,W[Ae],_e));else for(var Be in Ie={},W)Object.prototype.hasOwnProperty.call(W,Be)&&(Ie[ee(Be,_e)]=r(ee,W[Be],_e));return Ie},u=function(ee){return be(ee)?ee:(ee=ee.replace(/[\-_\s]+(.)?/g,function(W,_e){return _e?_e.toUpperCase():""})).substr(0,1).toLowerCase()+ee.substr(1)},o=function(ee){var W=u(ee);return W.substr(0,1).toUpperCase()+W.substr(1)},p=function(ee,W){return function(_e,Ie){var Ae=(Ie=Ie||{}).separator||"_",fe=Ie.split||/(?=[A-Z])/;return _e.split(fe).join(Ae)}(ee,W).toLowerCase()},x=Object.prototype.toString,P=function(ee){return typeof ee=="function"},_=function(ee){return ee===Object(ee)},M=function(ee){return x.call(ee)=="[object Array]"},X=function(ee){return x.call(ee)=="[object Date]"},z=function(ee){return x.call(ee)=="[object RegExp]"},K=function(ee){return x.call(ee)=="[object Boolean]"},be=function(ee){return(ee-=0)==ee},ue=function(ee,W){var _e=W&&"process"in W?W.process:W;return typeof _e!="function"?ee:function(Ie,Ae){return _e(Ie,ee,Ae)}},ce={camelize:u,decamelize:p,pascalize:o,depascalize:p,camelizeKeys:function(ee,W){return r(ue(u,W),ee)},decamelizeKeys:function(ee,W){return r(ue(p,W),ee,W)},pascalizeKeys:function(ee,W){return r(ue(o,W),ee)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};a.exports?a.exports=ce:t.humps=ce})(Jb)}).decamelize,e0=function(a){if(Array.isArray(a))return a},t0=function(a,t){if(typeof Symbol<"u"&&Symbol.iterator in Object(a)){var r=[],u=!0,o=!1,p=void 0;try{for(var x,P=a[Symbol.iterator]();!(u=(x=P.next()).done)&&(r.push(x.value),!t||r.length!==t);u=!0);}catch(_){o=!0,p=_}finally{try{u||P.return==null||P.return()}finally{if(o)throw p}}return r}},ch=function(a,t){(t==null||t>a.length)&&(t=a.length);for(var r=0,u=new Array(t);r<t;r++)u[r]=a[r];return u},n0=function(a,t){if(a){if(typeof a=="string")return ch(a,t);var r=Object.prototype.toString.call(a).slice(8,-1);return r==="Object"&&a.constructor&&(r=a.constructor.name),r==="Map"||r==="Set"?Array.from(a):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ch(a,t):void 0}},r0=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
125
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},i0=function(a,t){return e0(a)||t0(a,t)||n0(a,t)||r0()},ip=rp(function(a){function t(){return a.exports=t=Object.assign||function(r){for(var u=1;u<arguments.length;u++){var o=arguments[u];for(var p in o)Object.prototype.hasOwnProperty.call(o,p)&&(r[p]=o[p])}return r},t.apply(this,arguments)}a.exports=t}),a0=function(a,t){if(a==null)return{};var r,u,o={},p=Object.keys(a);for(u=0;u<p.length;u++)r=p[u],t.indexOf(r)>=0||(o[r]=a[r]);return o},ap=function(a,t){if(a==null)return{};var r,u,o=a0(a,t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(a);for(u=0;u<p.length;u++)r=p[u],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(a,r)&&(o[r]=a[r])}return o},o0=qe.createContext(null);function Tf(a){var t=a.children,r=ap(a,["children"]);return typeof t!="string"&&(t=zb(t)),qe.createElement("template",ip({},r,{dangerouslySetInnerHTML:{__html:t}}))}function If(a){var t=a.root,r=a.children;return Fb.createPortal(r,t)}function s0(a){var t=qe.forwardRef(function(r,u){var o,p,x=r.mode,P=r.delegatesFocus,_=r.styleSheets,M=r.ssr,X=r.children,z=ap(r,["mode","delegatesFocus","styleSheets","ssr","children"]),K=(p=qe.useRef((o=u)&&o.current),qe.useEffect(function(){o&&(o.current=p.current)},[o]),p),be=qe.useState(null),ue=i0(be,2),ce=ue[0],ee=ue[1],W="node_".concat(x).concat(P);return qe.useLayoutEffect(function(){if(K.current)try{if(typeof u=="function"&&u(K.current),M){var _e=K.current.shadowRoot;return void ee(_e)}var Ie=K.current.attachShadow({mode:x,delegatesFocus:P});_.length>0&&(Ie.adoptedStyleSheets=_),ee(Ie)}catch(Ae){(function(fe){var Be=fe.error,v=fe.styleSheets,We=fe.root;switch(Be.name){case"NotSupportedError":v.length>0&&(We.adoptedStyleSheets=v);break;default:throw Be}})({error:Ae,styleSheets:_,root:ce})}},[u,K,_]),qe.createElement(qe.Fragment,null,qe.createElement(a.tag,ip({key:W,ref:K},z),(ce||M)&&qe.createElement(o0.Provider,{value:ce},M?qe.createElement(Tf,{shadowroot:x,shadowrootmode:x},a.render({root:ce,ssr:M,children:X})):qe.createElement(If,{root:ce},a.render({root:ce,ssr:M,children:X})))))});return t.propTypes={mode:Va.oneOf(["open","closed"]),delegatesFocus:Va.bool,styleSheets:Va.arrayOf(Va.instanceOf(globalThis.CSSStyleSheet)),ssr:Va.bool,children:Va.node},t.defaultProps={mode:"open",delegatesFocus:!1,styleSheets:[],ssr:!1,children:null},t}Tf.propTypes={children:Va.oneOfType([Va.string,Va.node])},Tf.defaultProps={children:""},If.propTypes={root:Va.object.isRequired,children:Va.node},If.defaultProps={children:null};var lf=new Map;function l0(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(u){return u.children};return new Proxy(a,{get:function(u,o){var p=Qb(o,{separator:"-"}),x="".concat(t,"-").concat(p);return lf.has(x)||lf.set(x,s0({tag:p,render:r})),lf.get(x)}})}var u0=l0();const c0={type:"logger",log(a){this.output("log",a)},warn(a){this.output("warn",a)},error(a){this.output("error",a)},output(a,t){console&&console[a]&&console[a].apply(console,t)}};let f0=class _f{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,r)}init(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=t||c0,this.options=r,this.debug=r.debug}log(){for(var t=arguments.length,r=new Array(t),u=0;u<t;u++)r[u]=arguments[u];return this.forward(r,"log","",!0)}warn(){for(var t=arguments.length,r=new Array(t),u=0;u<t;u++)r[u]=arguments[u];return this.forward(r,"warn","",!0)}error(){for(var t=arguments.length,r=new Array(t),u=0;u<t;u++)r[u]=arguments[u];return this.forward(r,"error","")}deprecate(){for(var t=arguments.length,r=new Array(t),u=0;u<t;u++)r[u]=arguments[u];return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}forward(t,r,u,o){return o&&!this.debug?null:(typeof t[0]=="string"&&(t[0]=`${u}${this.prefix} ${t[0]}`),this.logger[r](t))}create(t){return new _f(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new _f(this.logger,t)}};var Uo=new f0;class xc{constructor(){this.observers={}}on(t,r){return t.split(" ").forEach(u=>{this.observers[u]||(this.observers[u]=new Map);const o=this.observers[u].get(r)||0;this.observers[u].set(r,o+1)}),this}off(t,r){if(this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t){for(var r=arguments.length,u=new Array(r>1?r-1:0),o=1;o<r;o++)u[o-1]=arguments[o];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(x=>{let[P,_]=x;for(let M=0;M<_;M++)P(...u)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(x=>{let[P,_]=x;for(let M=0;M<_;M++)P.apply(P,[t,...u])})}}function Nu(){let a,t;const r=new Promise((u,o)=>{a=u,t=o});return r.resolve=a,r.reject=t,r}function fh(a){return a==null?"":""+a}function d0(a,t,r){a.forEach(u=>{t[u]&&(r[u]=t[u])})}const h0=/###/g;function Hu(a,t,r){function u(P){return P&&P.indexOf("###")>-1?P.replace(h0,"."):P}function o(){return!a||typeof a=="string"}const p=typeof t!="string"?t:t.split(".");let x=0;for(;x<p.length-1;){if(o())return{};const P=u(p[x]);!a[P]&&r&&(a[P]=new r),Object.prototype.hasOwnProperty.call(a,P)?a=a[P]:a={},++x}return o()?{}:{obj:a,k:u(p[x])}}function dh(a,t,r){const{obj:u,k:o}=Hu(a,t,Object);if(u!==void 0||t.length===1){u[o]=r;return}let p=t[t.length-1],x=t.slice(0,t.length-1),P=Hu(a,x,Object);for(;P.obj===void 0&&x.length;)p=`${x[x.length-1]}.${p}`,x=x.slice(0,x.length-1),P=Hu(a,x,Object),P&&P.obj&&typeof P.obj[`${P.k}.${p}`]<"u"&&(P.obj=void 0);P.obj[`${P.k}.${p}`]=r}function p0(a,t,r,u){const{obj:o,k:p}=Hu(a,t,Object);o[p]=o[p]||[],u&&(o[p]=o[p].concat(r)),u||o[p].push(r)}function pc(a,t){const{obj:r,k:u}=Hu(a,t);if(r)return r[u]}function g0(a,t,r){const u=pc(a,r);return u!==void 0?u:pc(t,r)}function op(a,t,r){for(const u in t)u!=="__proto__"&&u!=="constructor"&&(u in a?typeof a[u]=="string"||a[u]instanceof String||typeof t[u]=="string"||t[u]instanceof String?r&&(a[u]=t[u]):op(a[u],t[u],r):a[u]=t[u]);return a}function Su(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var v0={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function m0(a){return typeof a=="string"?a.replace(/[&<>"'\/]/g,t=>v0[t]):a}class y0{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const r=this.regExpMap.get(t);if(r!==void 0)return r;const u=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,u),this.regExpQueue.push(t),u}}const b0=[" ",",","?","!",";"],S0=new y0(20);function w0(a,t,r){t=t||"",r=r||"";const u=b0.filter(x=>t.indexOf(x)<0&&r.indexOf(x)<0);if(u.length===0)return!0;const o=S0.getRegExp(`(${u.map(x=>x==="?"?"\\?":x).join("|")})`);let p=!o.test(a);if(!p){const x=a.indexOf(r);x>0&&!o.test(a.substring(0,x))&&(p=!0)}return p}function Rf(a,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!a)return;if(a[t])return a[t];const u=t.split(r);let o=a;for(let p=0;p<u.length;){if(!o||typeof o!="object")return;let x,P="";for(let _=p;_<u.length;++_)if(_!==p&&(P+=r),P+=u[_],x=o[P],x!==void 0){if(["string","number","boolean"].indexOf(typeof x)>-1&&_<u.length-1)continue;p+=_-p+1;break}o=x}return o}function gc(a){return a&&a.indexOf("_")>0?a.replace("_","-"):a}class hh extends xc{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,u){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const p=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,x=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let P;t.indexOf(".")>-1?P=t.split("."):(P=[t,r],u&&(Array.isArray(u)?P.push(...u):typeof u=="string"&&p?P.push(...u.split(p)):P.push(u)));const _=pc(this.data,P);return!_&&!r&&!u&&t.indexOf(".")>-1&&(t=P[0],r=P[1],u=P.slice(2).join(".")),_||!x||typeof u!="string"?_:Rf(this.data&&this.data[t]&&this.data[t][r],u,p)}addResource(t,r,u,o){let p=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const x=p.keySeparator!==void 0?p.keySeparator:this.options.keySeparator;let P=[t,r];u&&(P=P.concat(x?u.split(x):u)),t.indexOf(".")>-1&&(P=t.split("."),o=r,r=P[1]),this.addNamespaces(r),dh(this.data,P,o),p.silent||this.emit("added",t,r,u,o)}addResources(t,r,u){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const p in u)(typeof u[p]=="string"||Object.prototype.toString.apply(u[p])==="[object Array]")&&this.addResource(t,r,p,u[p],{silent:!0});o.silent||this.emit("added",t,r,u)}addResourceBundle(t,r,u,o,p){let x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},P=[t,r];t.indexOf(".")>-1&&(P=t.split("."),o=u,u=r,r=P[1]),this.addNamespaces(r);let _=pc(this.data,P)||{};x.skipCopy||(u=JSON.parse(JSON.stringify(u))),o?op(_,u,p):_={..._,...u},dh(this.data,P,_),x.silent||this.emit("added",t,r,u)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return this.getResource(t,r)!==void 0}getResourceBundle(t,r){return r||(r=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,r)}:this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(o=>r[o]&&Object.keys(r[o]).length>0)}toJSON(){return this.data}}var sp={processors:{},addPostProcessor(a){this.processors[a.name]=a},handle(a,t,r,u,o){return a.forEach(p=>{this.processors[p]&&(t=this.processors[p].process(t,r,u,o))}),t}};const ph={};class vc extends xc{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),d0(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Uo.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const u=this.resolve(t,r);return u&&u.res!==void 0}extractFromKey(t,r){let u=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;u===void 0&&(u=":");const o=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let p=r.ns||this.options.defaultNS||[];const x=u&&t.indexOf(u)>-1,P=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!w0(t,u,o);if(x&&!P){const _=t.match(this.interpolator.nestingRegexp);if(_&&_.length>0)return{key:t,namespaces:p};const M=t.split(u);(u!==o||u===o&&this.options.ns.indexOf(M[0])>-1)&&(p=M.shift()),t=M.join(o)}return typeof p=="string"&&(p=[p]),{key:t,namespaces:p}}translate(t,r,u){if(typeof r!="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),typeof r=="object"&&(r={...r}),r||(r={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const o=r.returnDetails!==void 0?r.returnDetails:this.options.returnDetails,p=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,{key:x,namespaces:P}=this.extractFromKey(t[t.length-1],r),_=P[P.length-1],M=r.lng||this.language,X=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(M&&M.toLowerCase()==="cimode"){if(X){const Ae=r.nsSeparator||this.options.nsSeparator;return o?{res:`${_}${Ae}${x}`,usedKey:x,exactUsedKey:x,usedLng:M,usedNS:_,usedParams:this.getUsedParamsDetails(r)}:`${_}${Ae}${x}`}return o?{res:x,usedKey:x,exactUsedKey:x,usedLng:M,usedNS:_,usedParams:this.getUsedParamsDetails(r)}:x}const z=this.resolve(t,r);let K=z&&z.res;const be=z&&z.usedKey||x,ue=z&&z.exactUsedKey||x,ce=Object.prototype.toString.apply(K),ee=["[object Number]","[object Function]","[object RegExp]"],W=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,_e=!this.i18nFormat||this.i18nFormat.handleAsObject;if(_e&&K&&(typeof K!="string"&&typeof K!="boolean"&&typeof K!="number")&&ee.indexOf(ce)<0&&!(typeof W=="string"&&ce==="[object Array]")){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const Ae=this.options.returnedObjectHandler?this.options.returnedObjectHandler(be,K,{...r,ns:P}):`key '${x} (${this.language})' returned an object instead of string.`;return o?(z.res=Ae,z.usedParams=this.getUsedParamsDetails(r),z):Ae}if(p){const Ae=ce==="[object Array]",fe=Ae?[]:{},Be=Ae?ue:be;for(const v in K)if(Object.prototype.hasOwnProperty.call(K,v)){const We=`${Be}${p}${v}`;fe[v]=this.translate(We,{...r,joinArrays:!1,ns:P}),fe[v]===We&&(fe[v]=K[v])}K=fe}}else if(_e&&typeof W=="string"&&ce==="[object Array]")K=K.join(W),K&&(K=this.extendTranslation(K,t,r,u));else{let Ae=!1,fe=!1;const Be=r.count!==void 0&&typeof r.count!="string",v=vc.hasDefaultValue(r),We=Be?this.pluralResolver.getSuffix(M,r.count,r):"",De=r.ordinal&&Be?this.pluralResolver.getSuffix(M,r.count,{ordinal:!1}):"",Dt=Be&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),Ct=Dt&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${We}`]||r[`defaultValue${De}`]||r.defaultValue;!this.isValidLookup(K)&&v&&(Ae=!0,K=Ct),this.isValidLookup(K)||(fe=!0,K=x);const lt=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&fe?void 0:K,kt=v&&Ct!==K&&this.options.updateMissing;if(fe||Ae||kt){if(this.logger.log(kt?"updateKey":"missingKey",M,_,x,kt?Ct:K),p){const Xe=this.resolve(x,{...r,keySeparator:!1});Xe&&Xe.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let Zt=[];const qt=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&qt&&qt[0])for(let Xe=0;Xe<qt.length;Xe++)Zt.push(qt[Xe]);else this.options.saveMissingTo==="all"?Zt=this.languageUtils.toResolveHierarchy(r.lng||this.language):Zt.push(r.lng||this.language);const mt=(Xe,wt,Re)=>{const Oe=v&&Re!==K?Re:lt;this.options.missingKeyHandler?this.options.missingKeyHandler(Xe,_,wt,Oe,kt,r):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(Xe,_,wt,Oe,kt,r),this.emit("missingKey",Xe,_,wt,K)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Be?Zt.forEach(Xe=>{const wt=this.pluralResolver.getSuffixes(Xe,r);Dt&&r[`defaultValue${this.options.pluralSeparator}zero`]&&wt.indexOf(`${this.options.pluralSeparator}zero`)<0&&wt.push(`${this.options.pluralSeparator}zero`),wt.forEach(Re=>{mt([Xe],x+Re,r[`defaultValue${Re}`]||Ct)})}):mt(Zt,x,Ct))}K=this.extendTranslation(K,t,r,z,u),fe&&K===x&&this.options.appendNamespaceToMissingKey&&(K=`${_}:${x}`),(fe||Ae)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?K=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${_}:${x}`:x,Ae?K:void 0):K=this.options.parseMissingKeyHandler(K))}return o?(z.res=K,z.usedParams=this.getUsedParamsDetails(r),z):K}extendTranslation(t,r,u,o,p){var x=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...u},u.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!u.skipInterpolation){u.interpolation&&this.interpolator.init({...u,interpolation:{...this.options.interpolation,...u.interpolation}});const M=typeof t=="string"&&(u&&u.interpolation&&u.interpolation.skipOnVariables!==void 0?u.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let X;if(M){const K=t.match(this.interpolator.nestingRegexp);X=K&&K.length}let z=u.replace&&typeof u.replace!="string"?u.replace:u;if(this.options.interpolation.defaultVariables&&(z={...this.options.interpolation.defaultVariables,...z}),t=this.interpolator.interpolate(t,z,u.lng||this.language,u),M){const K=t.match(this.interpolator.nestingRegexp),be=K&&K.length;X<be&&(u.nest=!1)}!u.lng&&this.options.compatibilityAPI!=="v1"&&o&&o.res&&(u.lng=o.usedLng),u.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var K=arguments.length,be=new Array(K),ue=0;ue<K;ue++)be[ue]=arguments[ue];return p&&p[0]===be[0]&&!u.context?(x.logger.warn(`It seems you are nesting recursively key: ${be[0]} in key: ${r[0]}`),null):x.translate(...be,r)},u)),u.interpolation&&this.interpolator.reset()}const P=u.postProcess||this.options.postProcess,_=typeof P=="string"?[P]:P;return t!=null&&_&&_.length&&u.applyPostProcessor!==!1&&(t=sp.handle(_,t,r,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...o,usedParams:this.getUsedParamsDetails(u)},...u}:u,this)),t}resolve(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u,o,p,x,P;return typeof t=="string"&&(t=[t]),t.forEach(_=>{if(this.isValidLookup(u))return;const M=this.extractFromKey(_,r),X=M.key;o=X;let z=M.namespaces;this.options.fallbackNS&&(z=z.concat(this.options.fallbackNS));const K=r.count!==void 0&&typeof r.count!="string",be=K&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),ue=r.context!==void 0&&(typeof r.context=="string"||typeof r.context=="number")&&r.context!=="",ce=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);z.forEach(ee=>{this.isValidLookup(u)||(P=ee,!ph[`${ce[0]}-${ee}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(P)&&(ph[`${ce[0]}-${ee}`]=!0,this.logger.warn(`key "${o}" for languages "${ce.join(", ")}" won't get resolved as namespace "${P}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),ce.forEach(W=>{if(this.isValidLookup(u))return;x=W;const _e=[X];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(_e,X,W,ee,r);else{let Ae;K&&(Ae=this.pluralResolver.getSuffix(W,r.count,r));const fe=`${this.options.pluralSeparator}zero`,Be=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(K&&(_e.push(X+Ae),r.ordinal&&Ae.indexOf(Be)===0&&_e.push(X+Ae.replace(Be,this.options.pluralSeparator)),be&&_e.push(X+fe)),ue){const v=`${X}${this.options.contextSeparator}${r.context}`;_e.push(v),K&&(_e.push(v+Ae),r.ordinal&&Ae.indexOf(Be)===0&&_e.push(v+Ae.replace(Be,this.options.pluralSeparator)),be&&_e.push(v+fe))}}let Ie;for(;Ie=_e.pop();)this.isValidLookup(u)||(p=Ie,u=this.getResource(W,ee,Ie,r))}))})}),{res:u,usedKey:o,exactUsedKey:p,usedLng:x,usedNS:P}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,r,u){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,r,u,o):this.resourceStore.getResource(t,r,u,o)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const r=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],u=t.replace&&typeof t.replace!="string";let o=u?t.replace:t;if(u&&typeof t.count<"u"&&(o.count=t.count),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!u){o={...o};for(const p of r)delete o[p]}return o}static hasDefaultValue(t){const r="defaultValue";for(const u in t)if(Object.prototype.hasOwnProperty.call(t,u)&&r===u.substring(0,r.length)&&t[u]!==void 0)return!0;return!1}}function uf(a){return a.charAt(0).toUpperCase()+a.slice(1)}class gh{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Uo.create("languageUtils")}getScriptPartFromCode(t){if(t=gc(t),!t||t.indexOf("-")<0)return null;const r=t.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(t=gc(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const r=["hans","hant","latn","cyrl","cans","mong","arab"];let u=t.split("-");return this.options.lowerCaseLng?u=u.map(o=>o.toLowerCase()):u.length===2?(u[0]=u[0].toLowerCase(),u[1]=u[1].toUpperCase(),r.indexOf(u[1].toLowerCase())>-1&&(u[1]=uf(u[1].toLowerCase()))):u.length===3&&(u[0]=u[0].toLowerCase(),u[1].length===2&&(u[1]=u[1].toUpperCase()),u[0]!=="sgn"&&u[2].length===2&&(u[2]=u[2].toUpperCase()),r.indexOf(u[1].toLowerCase())>-1&&(u[1]=uf(u[1].toLowerCase())),r.indexOf(u[2].toLowerCase())>-1&&(u[2]=uf(u[2].toLowerCase()))),u.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let r;return t.forEach(u=>{if(r)return;const o=this.formatLanguageCode(u);(!this.options.supportedLngs||this.isSupportedCode(o))&&(r=o)}),!r&&this.options.supportedLngs&&t.forEach(u=>{if(r)return;const o=this.getLanguagePartFromCode(u);if(this.isSupportedCode(o))return r=o;r=this.options.supportedLngs.find(p=>{if(p===o)return p;if(!(p.indexOf("-")<0&&o.indexOf("-")<0)&&(p.indexOf("-")>0&&o.indexOf("-")<0&&p.substring(0,p.indexOf("-"))===o||p.indexOf(o)===0&&o.length>1))return p})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r}getFallbackCodes(t,r){if(!t)return[];if(typeof t=="function"&&(t=t(r)),typeof t=="string"&&(t=[t]),Object.prototype.toString.apply(t)==="[object Array]")return t;if(!r)return t.default||[];let u=t[r];return u||(u=t[this.getScriptPartFromCode(r)]),u||(u=t[this.formatLanguageCode(r)]),u||(u=t[this.getLanguagePartFromCode(r)]),u||(u=t.default),u||[]}toResolveHierarchy(t,r){const u=this.getFallbackCodes(r||this.options.fallbackLng||[],t),o=[],p=x=>{x&&(this.isSupportedCode(x)?o.push(x):this.logger.warn(`rejecting language code not found in supportedLngs: ${x}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&p(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&p(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&p(this.getLanguagePartFromCode(t))):typeof t=="string"&&p(this.formatLanguageCode(t)),u.forEach(x=>{o.indexOf(x)<0&&p(this.formatLanguageCode(x))}),o}}let x0=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],C0={1:function(a){return+(a>1)},2:function(a){return+(a!=1)},3:function(a){return 0},4:function(a){return a%10==1&&a%100!=11?0:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?1:2},5:function(a){return a==0?0:a==1?1:a==2?2:a%100>=3&&a%100<=10?3:a%100>=11?4:5},6:function(a){return a==1?0:a>=2&&a<=4?1:2},7:function(a){return a==1?0:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?1:2},8:function(a){return a==1?0:a==2?1:a!=8&&a!=11?2:3},9:function(a){return+(a>=2)},10:function(a){return a==1?0:a==2?1:a<7?2:a<11?3:4},11:function(a){return a==1||a==11?0:a==2||a==12?1:a>2&&a<20?2:3},12:function(a){return+(a%10!=1||a%100==11)},13:function(a){return+(a!==0)},14:function(a){return a==1?0:a==2?1:a==3?2:3},15:function(a){return a%10==1&&a%100!=11?0:a%10>=2&&(a%100<10||a%100>=20)?1:2},16:function(a){return a%10==1&&a%100!=11?0:a!==0?1:2},17:function(a){return a==1||a%10==1&&a%100!=11?0:1},18:function(a){return a==0?0:a==1?1:2},19:function(a){return a==1?0:a==0||a%100>1&&a%100<11?1:a%100>10&&a%100<20?2:3},20:function(a){return a==1?0:a==0||a%100>0&&a%100<20?1:2},21:function(a){return a%100==1?1:a%100==2?2:a%100==3||a%100==4?3:0},22:function(a){return a==1?0:a==2?1:(a<0||a>10)&&a%10==0?2:3}};const k0=["v1","v2","v3"],E0=["v4"],vh={zero:0,one:1,two:2,few:3,many:4,other:5};function T0(){const a={};return x0.forEach(t=>{t.lngs.forEach(r=>{a[r]={numbers:t.nr,plurals:C0[t.fc]}})}),a}class I0{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=r,this.logger=Uo.create("pluralResolver"),(!this.options.compatibilityJSON||E0.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=T0()}addRule(t,r){this.rules[t]=r}getRule(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(gc(t==="dev"?"en":t),{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const u=this.getRule(t,r);return this.shouldUseIntlApi()?u&&u.resolvedOptions().pluralCategories.length>1:u&&u.numbers.length>1}getPluralFormsOfKey(t,r){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,u).map(o=>`${r}${o}`)}getSuffixes(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const u=this.getRule(t,r);return u?this.shouldUseIntlApi()?u.resolvedOptions().pluralCategories.sort((o,p)=>vh[o]-vh[p]).map(o=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${o}`):u.numbers.map(o=>this.getSuffix(t,o,r)):[]}getSuffix(t,r){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const o=this.getRule(t,u);return o?this.shouldUseIntlApi()?`${this.options.prepend}${u.ordinal?`ordinal${this.options.prepend}`:""}${o.select(r)}`:this.getSuffixRetroCompatible(o,r):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,r){const u=t.noAbs?t.plurals(r):t.plurals(Math.abs(r));let o=t.numbers[u];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(o===2?o="plural":o===1&&(o=""));const p=()=>this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString();return this.options.compatibilityJSON==="v1"?o===1?"":typeof o=="number"?`_plural_${o.toString()}`:p():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?p():this.options.prepend&&u.toString()?this.options.prepend+u.toString():u.toString()}shouldUseIntlApi(){return!k0.includes(this.options.compatibilityJSON)}}function mh(a,t,r){let u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,p=g0(a,t,r);return!p&&o&&typeof r=="string"&&(p=Rf(a,r,u),p===void 0&&(p=Rf(t,r,u))),p}class _0{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Uo.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(r=>r),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const r=t.interpolation;this.escape=r.escape!==void 0?r.escape:m0,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?Su(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?Su(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?Su(r.nestingPrefix):r.nestingPrefixEscaped||Su("$t("),this.nestingSuffix=r.nestingSuffix?Su(r.nestingSuffix):r.nestingSuffixEscaped||Su(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(r,u)=>r&&r.source===u?(r.lastIndex=0,r):new RegExp(u,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,r,u,o){let p,x,P;const _=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function M(ue){return ue.replace(/\$/g,"$$$$")}const X=ue=>{if(ue.indexOf(this.formatSeparator)<0){const _e=mh(r,_,ue,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(_e,void 0,u,{...o,...r,interpolationkey:ue}):_e}const ce=ue.split(this.formatSeparator),ee=ce.shift().trim(),W=ce.join(this.formatSeparator).trim();return this.format(mh(r,_,ee,this.options.keySeparator,this.options.ignoreJSONStructure),W,u,{...o,...r,interpolationkey:ee})};this.resetRegExp();const z=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,K=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:ue=>M(ue)},{regex:this.regexp,safeValue:ue=>this.escapeValue?M(this.escape(ue)):M(ue)}].forEach(ue=>{for(P=0;p=ue.regex.exec(t);){const ce=p[1].trim();if(x=X(ce),x===void 0)if(typeof z=="function"){const W=z(t,p,o);x=typeof W=="string"?W:""}else if(o&&Object.prototype.hasOwnProperty.call(o,ce))x="";else if(K){x=p[0];continue}else this.logger.warn(`missed to pass in variable ${ce} for interpolating ${t}`),x="";else typeof x!="string"&&!this.useRawValueToEscape&&(x=fh(x));const ee=ue.safeValue(x);if(t=t.replace(p[0],ee),K?(ue.regex.lastIndex+=x.length,ue.regex.lastIndex-=p[0].length):ue.regex.lastIndex=0,P++,P>=this.maxReplaces)break}}),t}nest(t,r){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o,p,x;function P(_,M){const X=this.nestingOptionsSeparator;if(_.indexOf(X)<0)return _;const z=_.split(new RegExp(`${X}[ ]*{`));let K=`{${z[1]}`;_=z[0],K=this.interpolate(K,x);const be=K.match(/'/g),ue=K.match(/"/g);(be&&be.length%2===0&&!ue||ue.length%2!==0)&&(K=K.replace(/'/g,'"'));try{x=JSON.parse(K),M&&(x={...M,...x})}catch(ce){return this.logger.warn(`failed parsing options string in nesting for key ${_}`,ce),`${_}${X}${K}`}return delete x.defaultValue,_}for(;o=this.nestingRegexp.exec(t);){let _=[];x={...u},x=x.replace&&typeof x.replace!="string"?x.replace:x,x.applyPostProcessor=!1,delete x.defaultValue;let M=!1;if(o[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(o[1])){const X=o[1].split(this.formatSeparator).map(z=>z.trim());o[1]=X.shift(),_=X,M=!0}if(p=r(P.call(this,o[1].trim(),x),x),p&&o[0]===t&&typeof p!="string")return p;typeof p!="string"&&(p=fh(p)),p||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${t}`),p=""),M&&(p=_.reduce((X,z)=>this.format(X,z,u.lng,{...u,interpolationkey:o[1].trim()}),p.trim())),t=t.replace(o[0],p),this.regexp.lastIndex=0}return t}}function R0(a){let t=a.toLowerCase().trim();const r={};if(a.indexOf("(")>-1){const u=a.split("(");t=u[0].toLowerCase().trim();const o=u[1].substring(0,u[1].length-1);t==="currency"&&o.indexOf(":")<0?r.currency||(r.currency=o.trim()):t==="relativetime"&&o.indexOf(":")<0?r.range||(r.range=o.trim()):o.split(";").forEach(x=>{if(!x)return;const[P,..._]=x.split(":"),M=_.join(":").trim().replace(/^'+|'+$/g,"");r[P.trim()]||(r[P.trim()]=M),M==="false"&&(r[P.trim()]=!1),M==="true"&&(r[P.trim()]=!0),isNaN(M)||(r[P.trim()]=parseInt(M,10))})}return{formatName:t,formatOptions:r}}function wu(a){const t={};return function(u,o,p){const x=o+JSON.stringify(p);let P=t[x];return P||(P=a(gc(o),p),t[x]=P),P(u)}}class D0{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Uo.create("formatter"),this.options=t,this.formats={number:wu((r,u)=>{const o=new Intl.NumberFormat(r,{...u});return p=>o.format(p)}),currency:wu((r,u)=>{const o=new Intl.NumberFormat(r,{...u,style:"currency"});return p=>o.format(p)}),datetime:wu((r,u)=>{const o=new Intl.DateTimeFormat(r,{...u});return p=>o.format(p)}),relativetime:wu((r,u)=>{const o=new Intl.RelativeTimeFormat(r,{...u});return p=>o.format(p,u.range||"day")}),list:wu((r,u)=>{const o=new Intl.ListFormat(r,{...u});return p=>o.format(p)})},this.init(t)}init(t){const u=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=u.formatSeparator?u.formatSeparator:u.formatSeparator||","}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=wu(r)}format(t,r,u){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return r.split(this.formatSeparator).reduce((P,_)=>{const{formatName:M,formatOptions:X}=R0(_);if(this.formats[M]){let z=P;try{const K=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},be=K.locale||K.lng||o.locale||o.lng||u;z=this.formats[M](P,be,{...X,...o,...K})}catch(K){this.logger.warn(K)}return z}else this.logger.warn(`there was no format function for ${M}`);return P},t)}}function A0(a,t){a.pending[t]!==void 0&&(delete a.pending[t],a.pendingCount--)}class P0 extends xc{constructor(t,r,u){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=r,this.services=u,this.languageUtils=u.languageUtils,this.options=o,this.logger=Uo.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(u,o.backend,o)}queueLoad(t,r,u,o){const p={},x={},P={},_={};return t.forEach(M=>{let X=!0;r.forEach(z=>{const K=`${M}|${z}`;!u.reload&&this.store.hasResourceBundle(M,z)?this.state[K]=2:this.state[K]<0||(this.state[K]===1?x[K]===void 0&&(x[K]=!0):(this.state[K]=1,X=!1,x[K]===void 0&&(x[K]=!0),p[K]===void 0&&(p[K]=!0),_[z]===void 0&&(_[z]=!0)))}),X||(P[M]=!0)}),(Object.keys(p).length||Object.keys(x).length)&&this.queue.push({pending:x,pendingCount:Object.keys(x).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(p),pending:Object.keys(x),toLoadLanguages:Object.keys(P),toLoadNamespaces:Object.keys(_)}}loaded(t,r,u){const o=t.split("|"),p=o[0],x=o[1];r&&this.emit("failedLoading",p,x,r),u&&this.store.addResourceBundle(p,x,u,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2;const P={};this.queue.forEach(_=>{p0(_.loaded,[p],x),A0(_,t),r&&_.errors.push(r),_.pendingCount===0&&!_.done&&(Object.keys(_.loaded).forEach(M=>{P[M]||(P[M]={});const X=_.loaded[M];X.length&&X.forEach(z=>{P[M][z]===void 0&&(P[M][z]=!0)})}),_.done=!0,_.errors.length?_.callback(_.errors):_.callback())}),this.emit("loaded",P),this.queue=this.queue.filter(_=>!_.done)}read(t,r,u){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,p=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,x=arguments.length>5?arguments[5]:void 0;if(!t.length)return x(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:u,tried:o,wait:p,callback:x});return}this.readingCalls++;const P=(M,X)=>{if(this.readingCalls--,this.waitingReads.length>0){const z=this.waitingReads.shift();this.read(z.lng,z.ns,z.fcName,z.tried,z.wait,z.callback)}if(M&&X&&o<this.maxRetries){setTimeout(()=>{this.read.call(this,t,r,u,o+1,p*2,x)},p);return}x(M,X)},_=this.backend[u].bind(this.backend);if(_.length===2){try{const M=_(t,r);M&&typeof M.then=="function"?M.then(X=>P(null,X)).catch(P):P(null,M)}catch(M){P(M)}return}return _(t,r,P)}prepareLoading(t,r){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof r=="string"&&(r=[r]);const p=this.queueLoad(t,r,u,o);if(!p.toLoad.length)return p.pending.length||o(),null;p.toLoad.forEach(x=>{this.loadOne(x)})}load(t,r,u){this.prepareLoading(t,r,{},u)}reload(t,r,u){this.prepareLoading(t,r,{reload:!0},u)}loadOne(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const u=t.split("|"),o=u[0],p=u[1];this.read(o,p,"read",void 0,void 0,(x,P)=>{x&&this.logger.warn(`${r}loading namespace ${p} for language ${o} failed`,x),!x&&P&&this.logger.log(`${r}loaded namespace ${p} for language ${o}`,P),this.loaded(t,x,P)})}saveMissing(t,r,u,o,p){let x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},P=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(r)){this.logger.warn(`did not save key "${u}" as the namespace "${r}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(u==null||u==="")){if(this.backend&&this.backend.create){const _={...x,isUpdate:p},M=this.backend.create.bind(this.backend);if(M.length<6)try{let X;M.length===5?X=M(t,r,u,o,_):X=M(t,r,u,o),X&&typeof X.then=="function"?X.then(z=>P(null,z)).catch(P):P(null,X)}catch(X){P(X)}else M(t,r,u,o,P,_)}!t||!t[0]||this.store.addResource(t[0],r,u,o)}}}function yh(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){let r={};if(typeof t[1]=="object"&&(r=t[1]),typeof t[1]=="string"&&(r.defaultValue=t[1]),typeof t[2]=="string"&&(r.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const u=t[3]||t[2];Object.keys(u).forEach(o=>{r[o]=u[o]})}return r},interpolation:{escapeValue:!0,format:a=>a,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function bh(a){return typeof a.ns=="string"&&(a.ns=[a.ns]),typeof a.fallbackLng=="string"&&(a.fallbackLng=[a.fallbackLng]),typeof a.fallbackNS=="string"&&(a.fallbackNS=[a.fallbackNS]),a.supportedLngs&&a.supportedLngs.indexOf("cimode")<0&&(a.supportedLngs=a.supportedLngs.concat(["cimode"])),a}function lc(){}function O0(a){Object.getOwnPropertyNames(Object.getPrototypeOf(a)).forEach(r=>{typeof a[r]=="function"&&(a[r]=a[r].bind(a))})}class Wu extends xc{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(super(),this.options=bh(t),this.services={},this.logger=Uo,this.modules={external:[]},O0(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(){var t=this;let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof r=="function"&&(u=r,r={}),!r.defaultNS&&r.defaultNS!==!1&&r.ns&&(typeof r.ns=="string"?r.defaultNS=r.ns:r.ns.indexOf("translation")<0&&(r.defaultNS=r.ns[0]));const o=yh();this.options={...o,...this.options,...bh(r)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...o.interpolation,...this.options.interpolation}),r.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=r.keySeparator),r.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=r.nsSeparator);function p(X){return X?typeof X=="function"?new X:X:null}if(!this.options.isClone){this.modules.logger?Uo.init(p(this.modules.logger),this.options):Uo.init(null,this.options);let X;this.modules.formatter?X=this.modules.formatter:typeof Intl<"u"&&(X=D0);const z=new gh(this.options);this.store=new hh(this.options.resources,this.options);const K=this.services;K.logger=Uo,K.resourceStore=this.store,K.languageUtils=z,K.pluralResolver=new I0(z,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),X&&(!this.options.interpolation.format||this.options.interpolation.format===o.interpolation.format)&&(K.formatter=p(X),K.formatter.init(K,this.options),this.options.interpolation.format=K.formatter.format.bind(K.formatter)),K.interpolator=new _0(this.options),K.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},K.backendConnector=new P0(p(this.modules.backend),K.resourceStore,K,this.options),K.backendConnector.on("*",function(be){for(var ue=arguments.length,ce=new Array(ue>1?ue-1:0),ee=1;ee<ue;ee++)ce[ee-1]=arguments[ee];t.emit(be,...ce)}),this.modules.languageDetector&&(K.languageDetector=p(this.modules.languageDetector),K.languageDetector.init&&K.languageDetector.init(K,this.options.detection,this.options)),this.modules.i18nFormat&&(K.i18nFormat=p(this.modules.i18nFormat),K.i18nFormat.init&&K.i18nFormat.init(this)),this.translator=new vc(this.services,this.options),this.translator.on("*",function(be){for(var ue=arguments.length,ce=new Array(ue>1?ue-1:0),ee=1;ee<ue;ee++)ce[ee-1]=arguments[ee];t.emit(be,...ce)}),this.modules.external.forEach(be=>{be.init&&be.init(this)})}if(this.format=this.options.interpolation.format,u||(u=lc),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const X=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);X.length>0&&X[0]!=="dev"&&(this.options.lng=X[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(X=>{this[X]=function(){return t.store[X](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(X=>{this[X]=function(){return t.store[X](...arguments),t}});const _=Nu(),M=()=>{const X=(z,K)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),_.resolve(K),u(z,K)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return X(null,this.t.bind(this));this.changeLanguage(this.options.lng,X)};return this.options.resources||!this.options.initImmediate?M():setTimeout(M,0),_}loadResources(t){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:lc;const o=typeof t=="string"?t:this.language;if(typeof t=="function"&&(u=t),!this.options.resources||this.options.partialBundledLanguages){if(o&&o.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return u();const p=[],x=P=>{if(!P||P==="cimode")return;this.services.languageUtils.toResolveHierarchy(P).forEach(M=>{M!=="cimode"&&p.indexOf(M)<0&&p.push(M)})};o?x(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(_=>x(_)),this.options.preload&&this.options.preload.forEach(P=>x(P)),this.services.backendConnector.load(p,this.options.ns,P=>{!P&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),u(P)})}else u(null)}reloadResources(t,r,u){const o=Nu();return t||(t=this.languages),r||(r=this.options.ns),u||(u=lc),this.services.backendConnector.reload(t,r,p=>{o.resolve(),u(p)}),o}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&sp.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let r=0;r<this.languages.length;r++){const u=this.languages[r];if(!(["cimode","dev"].indexOf(u)>-1)&&this.store.hasLanguageSomeTranslations(u)){this.resolvedLanguage=u;break}}}changeLanguage(t,r){var u=this;this.isLanguageChangingTo=t;const o=Nu();this.emit("languageChanging",t);const p=_=>{this.language=_,this.languages=this.services.languageUtils.toResolveHierarchy(_),this.resolvedLanguage=void 0,this.setResolvedLanguage(_)},x=(_,M)=>{M?(p(M),this.translator.changeLanguage(M),this.isLanguageChangingTo=void 0,this.emit("languageChanged",M),this.logger.log("languageChanged",M)):this.isLanguageChangingTo=void 0,o.resolve(function(){return u.t(...arguments)}),r&&r(_,function(){return u.t(...arguments)})},P=_=>{!t&&!_&&this.services.languageDetector&&(_=[]);const M=typeof _=="string"?_:this.services.languageUtils.getBestMatchFromCodes(_);M&&(this.language||p(M),this.translator.language||this.translator.changeLanguage(M),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(M)),this.loadResources(M,X=>{x(X,M)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?P(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(P):this.services.languageDetector.detect(P):P(t),o}getFixedT(t,r,u){var o=this;const p=function(x,P){let _;if(typeof P!="object"){for(var M=arguments.length,X=new Array(M>2?M-2:0),z=2;z<M;z++)X[z-2]=arguments[z];_=o.options.overloadTranslationOptionHandler([x,P].concat(X))}else _={...P};_.lng=_.lng||p.lng,_.lngs=_.lngs||p.lngs,_.ns=_.ns||p.ns,_.keyPrefix=_.keyPrefix||u||p.keyPrefix;const K=o.options.keySeparator||".";let be;return _.keyPrefix&&Array.isArray(x)?be=x.map(ue=>`${_.keyPrefix}${K}${ue}`):be=_.keyPrefix?`${_.keyPrefix}${K}${x}`:x,o.t(be,_)};return typeof t=="string"?p.lng=t:p.lngs=t,p.ns=r,p.keyPrefix=u,p}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const u=r.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,p=this.languages[this.languages.length-1];if(u.toLowerCase()==="cimode")return!0;const x=(P,_)=>{const M=this.services.backendConnector.state[`${P}|${_}`];return M===-1||M===2};if(r.precheck){const P=r.precheck(this,x);if(P!==void 0)return P}return!!(this.hasResourceBundle(u,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||x(u,t)&&(!o||x(p,t)))}loadNamespaces(t,r){const u=Nu();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(o=>{this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}),this.loadResources(o=>{u.resolve(),r&&r(o)}),u):(r&&r(),Promise.resolve())}loadLanguages(t,r){const u=Nu();typeof t=="string"&&(t=[t]);const o=this.options.preload||[],p=t.filter(x=>o.indexOf(x)<0);return p.length?(this.options.preload=o.concat(p),this.loadResources(x=>{u.resolve(),r&&r(x)}),u):(r&&r(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const r=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],u=this.services&&this.services.languageUtils||new gh(yh());return r.indexOf(u.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new Wu(t,r)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:lc;const u=t.forkResourceStore;u&&delete t.forkResourceStore;const o={...this.options,...t,isClone:!0},p=new Wu(o);return(t.debug!==void 0||t.prefix!==void 0)&&(p.logger=p.logger.clone(t)),["store","services","language"].forEach(P=>{p[P]=this[P]}),p.services={...this.services},p.services.utils={hasLoadedNamespace:p.hasLoadedNamespace.bind(p)},u&&(p.store=new hh(this.store.data,o),p.services.resourceStore=p.store),p.translator=new vc(p.services,o),p.translator.on("*",function(P){for(var _=arguments.length,M=new Array(_>1?_-1:0),X=1;X<_;X++)M[X-1]=arguments[X];p.emit(P,...M)}),p.init(o,r),p.translator.options=o,p.translator.backendConnector.services.utils={hasLoadedNamespace:p.hasLoadedNamespace.bind(p)},p}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Fr=Wu.createInstance();Fr.createInstance=Wu.createInstance;Fr.createInstance;Fr.dir;Fr.init;Fr.loadResources;Fr.reloadResources;Fr.use;Fr.changeLanguage;Fr.getFixedT;const M0=Fr.t;Fr.exists;Fr.setDefaultNamespace;Fr.hasLoadedNamespace;Fr.loadNamespaces;Fr.loadLanguages;function F0(a,t){if(!(a instanceof t))throw new TypeError("Cannot call a class as a function")}function zu(a){"@babel/helpers - typeof";return zu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zu(a)}function L0(a,t){if(zu(a)!="object"||!a)return a;var r=a[Symbol.toPrimitive];if(r!==void 0){var u=r.call(a,t||"default");if(zu(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(a)}function N0(a){var t=L0(a,"string");return zu(t)=="symbol"?t:String(t)}function Sh(a,t){for(var r=0;r<t.length;r++){var u=t[r];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(a,N0(u.key),u)}}function B0(a,t,r){return t&&Sh(a.prototype,t),r&&Sh(a,r),Object.defineProperty(a,"prototype",{writable:!1}),a}var lp=[],j0=lp.forEach,H0=lp.slice;function U0(a){return j0.call(H0.call(arguments,1),function(t){if(t)for(var r in t)a[r]===void 0&&(a[r]=t[r])}),a}var wh=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,W0=function(t,r,u){var o=u||{};o.path=o.path||"/";var p=encodeURIComponent(r),x="".concat(t,"=").concat(p);if(o.maxAge>0){var P=o.maxAge-0;if(Number.isNaN(P))throw new Error("maxAge should be a Number");x+="; Max-Age=".concat(Math.floor(P))}if(o.domain){if(!wh.test(o.domain))throw new TypeError("option domain is invalid");x+="; Domain=".concat(o.domain)}if(o.path){if(!wh.test(o.path))throw new TypeError("option path is invalid");x+="; Path=".concat(o.path)}if(o.expires){if(typeof o.expires.toUTCString!="function")throw new TypeError("option expires is invalid");x+="; Expires=".concat(o.expires.toUTCString())}if(o.httpOnly&&(x+="; HttpOnly"),o.secure&&(x+="; Secure"),o.sameSite){var _=typeof o.sameSite=="string"?o.sameSite.toLowerCase():o.sameSite;switch(_){case!0:x+="; SameSite=Strict";break;case"lax":x+="; SameSite=Lax";break;case"strict":x+="; SameSite=Strict";break;case"none":x+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return x},xh={create:function(t,r,u,o){var p=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};u&&(p.expires=new Date,p.expires.setTime(p.expires.getTime()+u*60*1e3)),o&&(p.domain=o),document.cookie=W0(t,encodeURIComponent(r),p)},read:function(t){for(var r="".concat(t,"="),u=document.cookie.split(";"),o=0;o<u.length;o++){for(var p=u[o];p.charAt(0)===" ";)p=p.substring(1,p.length);if(p.indexOf(r)===0)return p.substring(r.length,p.length)}return null},remove:function(t){this.create(t,"",-1)}},z0={name:"cookie",lookup:function(t){var r;if(t.lookupCookie&&typeof document<"u"){var u=xh.read(t.lookupCookie);u&&(r=u)}return r},cacheUserLanguage:function(t,r){r.lookupCookie&&typeof document<"u"&&xh.create(r.lookupCookie,t,r.cookieMinutes,r.cookieDomain,r.cookieOptions)}},$0={name:"querystring",lookup:function(t){var r;if(typeof window<"u"){var u=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(u=window.location.hash.substring(window.location.hash.indexOf("?")));for(var o=u.substring(1),p=o.split("&"),x=0;x<p.length;x++){var P=p[x].indexOf("=");if(P>0){var _=p[x].substring(0,P);_===t.lookupQuerystring&&(r=p[x].substring(P+1))}}}return r}},Bu=null,Ch=function(){if(Bu!==null)return Bu;try{Bu=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{Bu=!1}return Bu},V0={name:"localStorage",lookup:function(t){var r;if(t.lookupLocalStorage&&Ch()){var u=window.localStorage.getItem(t.lookupLocalStorage);u&&(r=u)}return r},cacheUserLanguage:function(t,r){r.lookupLocalStorage&&Ch()&&window.localStorage.setItem(r.lookupLocalStorage,t)}},ju=null,kh=function(){if(ju!==null)return ju;try{ju=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{ju=!1}return ju},Y0={name:"sessionStorage",lookup:function(t){var r;if(t.lookupSessionStorage&&kh()){var u=window.sessionStorage.getItem(t.lookupSessionStorage);u&&(r=u)}return r},cacheUserLanguage:function(t,r){r.lookupSessionStorage&&kh()&&window.sessionStorage.setItem(r.lookupSessionStorage,t)}},G0={name:"navigator",lookup:function(t){var r=[];if(typeof navigator<"u"){if(navigator.languages)for(var u=0;u<navigator.languages.length;u++)r.push(navigator.languages[u]);navigator.userLanguage&&r.push(navigator.userLanguage),navigator.language&&r.push(navigator.language)}return r.length>0?r:void 0}},q0={name:"htmlTag",lookup:function(t){var r,u=t.htmlTag||(typeof document<"u"?document.documentElement:null);return u&&typeof u.getAttribute=="function"&&(r=u.getAttribute("lang")),r}},X0={name:"path",lookup:function(t){var r;if(typeof window<"u"){var u=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(u instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof u[t.lookupFromPathIndex]!="string")return;r=u[t.lookupFromPathIndex].replace("/","")}else r=u[0].replace("/","")}return r}},K0={name:"subdomain",lookup:function(t){var r=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,u=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(u)return u[r]}};function Z0(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(t){return t}}}var up=function(){function a(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};F0(this,a),this.type="languageDetector",this.detectors={},this.init(t,r)}return B0(a,[{key:"init",value:function(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=r||{languageUtils:{}},this.options=U0(u,this.options||{},Z0()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(p){return p.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=o,this.addDetector(z0),this.addDetector($0),this.addDetector(V0),this.addDetector(Y0),this.addDetector(G0),this.addDetector(q0),this.addDetector(X0),this.addDetector(K0)}},{key:"addDetector",value:function(r){this.detectors[r.name]=r}},{key:"detect",value:function(r){var u=this;r||(r=this.options.order);var o=[];return r.forEach(function(p){if(u.detectors[p]){var x=u.detectors[p].lookup(u.options);x&&typeof x=="string"&&(x=[x]),x&&(o=o.concat(x))}}),o=o.map(function(p){return u.options.convertDetectedLanguage(p)}),this.services.languageUtils.getBestMatchFromCodes?o:o.length>0?o[0]:null}},{key:"cacheUserLanguage",value:function(r,u){var o=this;u||(u=this.options.caches),u&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(r)>-1||u.forEach(function(p){o.detectors[p]&&o.detectors[p].cacheUserLanguage(r,o.options)}))}}]),a}();up.type="languageDetector";const J0=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Q0={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},eS=a=>Q0[a],tS=a=>a.replace(J0,eS);let Eh={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:tS};function nS(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Eh={...Eh,...a}}const rS={type:"3rdParty",init(a){nS(a.options.react)}},iS=qe.createContext();function aS(a){let{i18n:t,defaultNS:r,children:u}=a;const o=qe.useMemo(()=>({i18n:t,defaultNS:r}),[t,r]);return qe.createElement(iS.Provider,{value:o},u)}const oS={400:"Bad Request - The request cannot be fulfilled due to bad syntax.",401:"The request requires user authentication.",403:"The user does not have permission.",404:"Item Not Found",500:"Server got a error, please contact for assistance",502:"Server got a bad gateway, please contact for assistance",503:"Server is unavailable, please contact for assistance",504:"Server is timeout, please contact for assistance"},sS={unauthorizedPage:{title:"Access Denied: No Access Permission",description1:"We regret to inform you that you do not have the necessary permissions to access this page.",description2:"Please contact our administrator for assistance. Thank you for your understanding."}},lS={saasAdmin:{servicePackage:{errorMessage:{packageNotFound:"Package not found.",languageInvalid:"Field language is invalid.",packageNameExists:"The package name already exists.",serviceNotFound:"Service not found.",serviceNotBelongToPackage:"Service not found or does not belong to the correct package",serviceNotBelongToServiceParent:"Service not found or does not belong to the correct service parent",canNotGetServiceListPleaseTryAgain:"Can not get service list now, please try again"}},tenantManagement:{errorMessage:{tenantNotFound:"Tenant not found.",countryInvalid:"Field country is invalid.",createTenantFailed:"Create tenant failed. Please try again",isTenantMailExist:"The email is already exist."}},brandManagement:{errorMessage:{firstNameInvalid:"Field first name is invalid. Must be of length 3 to 40 and no special characters.",createdAtInvalid:"Field createdAt is invalid.",brandNotFound:"Brand not found.",lastNameInvalid:"Field last name is invalid. Must be of length 3 to 40 and no special characters.",idInvalid:"Field id is invalid. Must be uuid v4 format.",updatedAtInvalid:"Field createdAt is invalid. Must be date format.",countryInvalid:"Field Country is invalid. Please select a Country that we support.",termTypeInvalid:"Field TermType invalid. Please select a TermType that we support.",baseCostTypeInvalid:"Field BaseCostType invalid. Please select a BaseCostType that we support.",brandStatusesInvalid:"BrandStatuses is invalid. Please select a BrandStatuses that we support.",informationPlanIsRequired:"Information Plan is required.",settingStatusesInvalid:"SettingStatuses is invalid. Please select a BaseCostType that we support.",languagesInvalid:"Langagues is invalid. Please select a Langagues that we support.",currencyInvalid:"Currency is invalid. Please select a Currency that we support.",distanceMetricInvalid:"DistanceMetric is invalid. Please select a DistanceMetric that we support.",settingNotFound:"Setting not found.",subscriptionNotFound:"Subscription not found.",subscriptionNameExists:"The subscription name already exists.",subscriptionServiceNotFound:"subscriptionService not found.",subscriptionServiceNotBelongToPackage:"subscriptionService not found or does not belong to the correct package",subscriptionServiceNotBelongTosubscriptionServiceParent:"subscriptionService not found or does not belong to the correct subscriptionService parent",canNotGetsubscriptionServiceListPleaseTryAgain:"Can not get subscriptionService list now, please try again"}}},tenantAdmin:{brandManagement:{errorMessage:{firstNameInvalid:"Field first name is invalid. Must be of length 3 to 40 and no special characters.",createdAtInvalid:"Field createdAt is invalid.",brandNotFound:"Brand not found.",lastNameInvalid:"Field last name is invalid. Must be of length 3 to 40 and no special characters.",idInvalid:"Field id is invalid. Must be uuid v4 format.",updatedAtInvalid:"Field createdAt is invalid. Must be date format.",countryInvalid:"Field Country is invalid. Please select a Country that we support.",termTypeInvalid:"Field TermType invalid. Please select a TermType that we support.",baseCostTypeInvalid:"Field BaseCostType invalid. Please select a BaseCostType that we support.",brandStatusesInvalid:"BrandStatuses is invalid. Please select a BrandStatuses that we support.",informationPlanIsRequired:"Information Plan is required.",settingStatusesInvalid:"SettingStatuses is invalid. Please select a BaseCostType that we support.",languagesInvalid:"Langagues is invalid. Please select a Langagues that we support.",currencyInvalid:"Currency is invalid. Please select a Currency that we support.",distanceMetricInvalid:"DistanceMetric is invalid. Please select a DistanceMetric that we support.",settingNotFound:"Setting not found.",subscriptionNotFound:"Subscription not found.",subscriptionNameExists:"The subscription name already exists.",subscriptionServiceNotFound:"subscriptionService not found.",subscriptionServiceNotBelongToPackage:"subscriptionService not found or does not belong to the correct package",subscriptionServiceNotBelongTosubscriptionServiceParent:"subscriptionService not found or does not belong to the correct subscriptionService parent",canNotGetsubscriptionServiceListPleaseTryAgain:"Can not get subscriptionService list now, please try again"}}},brandAdmin:{errorMessage:{firstNameInvalid:"Field first name is invalid. Must be of length 3 to 40 and no special characters.",createdAtInvalid:"Field createdAt is invalid.",brandNotFound:"Brand not found.",lastNameInvalid:"Field last name is invalid. Must be of length 3 to 40 and no special characters.",idInvalid:"Field id is invalid. Must be uuid v4 format.",updatedAtInvalid:"Field createdAt is invalid. Must be date format.",countryInvalid:"Field Country is invalid. Please select a Country that we support.",termTypeInvalid:"Field TermType invalid. Please select a TermType that we support.",baseCostTypeInvalid:"Field BaseCostType invalid. Please select a BaseCostType that we support.",brandStatusesInvalid:"BrandStatuses is invalid. Please select a BrandStatuses that we support.",informationPlanIsRequired:"Information Plan is required.",settingStatusesInvalid:"SettingStatuses is invalid. Please select a BaseCostType that we support.",languagesInvalid:"Langagues is invalid. Please select a Langagues that we support.",currencyInvalid:"Currency is invalid. Please select a Currency that we support.",distanceMetricInvalid:"DistanceMetric is invalid. Please select a DistanceMetric that we support.",settingNotFound:"Setting not found.",subscriptionNotFound:"Subscription not found.",subscriptionNameExists:"The subscription name already exists.",subscriptionServiceNotFound:"subscriptionService not found.",subscriptionServiceNotBelongToPackage:"subscriptionService not found or does not belong to the correct package",subscriptionServiceNotBelongTosubscriptionServiceParent:"subscriptionService not found or does not belong to the correct subscriptionService parent",canNotGetsubscriptionServiceListPleaseTryAgain:"Can not get subscriptionService list now, please try again"}},iam:{usersManagement:{errorMessage:{firstNameInvalid:"Field first name is invalid. Must be of length 1 to 40 and no special characters.",createdAtInvalid:"Field createdAt is invalid.",notFound:"User not found.",lastNameInvalid:"Field last name is invalid. Must be of length 1 to 40 and no special characters.",updatedAtInvalid:"Field createdAt is invalid. Must be date format.",emailInvalid:"Field email is invalid. Must be email format.",passwordInvalid:"Field password is invalid. Must be 8 characters long, 1 uppercase & 1 lowercase character, 1 number and 1 special character.",countryCodeInvalid:"Field countryCode is invalid.",languageCodeInvalid:"Field languageCode is invalid.",deletedAtInvalid:"Field deletedAt is invalid. Must be date format.",isActiveInvalid:"Field isActive is invalid.",isSuspendInvalid:"Field isSuspend is invalid.",userExist:"The user already exists.",authProviderInvalid:"Field authProvider is invalid.",isEnableInvalid:"Field isEnable is invalid.",sendEmailFailed:"Send email failed.",emailRequired:"Field email is required",firstNameRequired:"Field first name is required",lastNameRequired:"Field last name is required",countryCodeRequired:"Field country code is required",userStatusInvalid:"Field status invalid. Please select a status that we support.",loginAtInvalid:"Field last login is invalid.",avatarFileInvalid:"Avatar file format not supported. Must be png, jpeg, jpg and size less than 1mb.",permissionGroupNotFound:"Permission group not Found.",organizeInvalid:"Field organize is required. Must be a object.",relatedIdInvalid:"Field organize's relatedId. Must be a number.",userOrganizeNotFound:"User's organize not Found.",isSystemInvalid:"Field isSystem is invalid.",organizeUserInvalid:"Field users is invalid. Must be a array.",organizeUserDuplicate:"Field users contains duplicated email."}},permissionGroup:{errorMessage:{actionNotFound:"Action not found.",permissionGroupNotFound:"Permission group not Found.",permissionGroupIsExisted:"Permission group name is existed",permissionGroupOrganizeNotFound:"Permission group's organize not Found.",relatedIdInvalid:"Field organize's relatedId. Must be a number.",cannotRemoveFullPermissionGroup:"You cannot remove this permission group.",cannotEditFullPermissionGroup:"You cannot update this permission group."}},organize:{errorMessage:{relatedIdInvalid:"Field relatedId is invalid. Must be number.",nameInvalid:"Field data's name is invalid. Must be of length 1 to 40 and no special characters.",dataInvalid:"Field data is invalid. Must be object.",organizeExist:"The organize already exists.",callbackUrlInvalid:"Field data's callbackPath is invalid. Must be a string."}}},notificationAdmin:{notification:{errorMessage:{notificationFilterType:"Field notificationFilterType is invalid. Must be one of read, unread and all.",userIdInvalid:"Field userId is invalid. Must be a number.",filterInvalid:"Field filter is invalid. Must be a object.",isReadInvalid:"Field isRead is invalid. Must be a boolean.",notificationIdInvalid:"Field id is invalid. Must be a number.",userDeviceTokenInvalid:"Field deviceToken is invalid. Must be a string."}},notificationConfig:{errorMessage:{notificationNotFound:"Notification config not found.",notificationIsExisted:"Notification rule is existed.",actionNotFound:"Action not found.",userNotFound:"User not found.",firstNameInvalid:"Field first name is invalid. Must be of length 1 to 40 and no special characters.",createdAtInvalid:"Field createdAt is invalid.",lastNameInvalid:"Field last name is invalid. Must be of length 1 to 40 and no special characters.",updatedAtInvalid:"Field createdAt is invalid. Must be date format.",emailInvalid:"Field email is invalid. Must be email format.",passwordInvalid:"Field password is invalid. Must be 8 characters long, 1 uppercase & 1 lowercase character, 1 number and 1 special character.",countryCodeInvalid:"Field countryCode is invalid.",languageCodeInvalid:"Field languageCode is invalid.",deletedAtInvalid:"Field deletedAt is invalid. Must be date format.",isActiveInvalid:"Field isActive is invalid.",isSuspendInvalid:"Field isSuspend is invalid.",userExist:"The user already exists.",authProviderInvalid:"Field authProvider is invalid.",isEnableInvalid:"Field isEnable is invalid.",sendEmailFailed:"Send email failed.",emailRequired:"Field email is required",firstNameRequired:"Field first name is required",lastNameRequired:"Field last name is required",countryCodeRequired:"Field country code is required",userStatusInvalid:"Field status invalid. Please select a status that we support.",loginAtInvalid:"Field last login is invalid.",avatarFileInvalid:"Avatar file format not supported. Must be png, jpeg, jpg and size less than 1mb.",permissionGroupNotFound:"Permission group not Found.",organizeInvalid:"Field organize is required. Must be a object.",relatedIdInvalid:"Field organize's relatedId. Must be a number.",userOrganizeNotFound:"User's organize not Found.",isSystemInvalid:"Field isSystem is invalid.",organizeUserInvalid:"Field users is invalid. Must be a array.",organizeUserDuplicate:"Field users contains duplicated email."}}}},uS={errorMessage:oS,components:sS,configurations:lS},cS={400:"Schlechte Anfrage - Die Anfrage kann aufgrund einer schlechten Syntax nicht erfüllt werden.",401:"Die Anfrage erfordert eine Benutzerauthentifizierung.",403:"Der Benutzer hat keine Berechtigung.",404:"Element nicht gefunden",500:"Server hat einen Fehler erhalten, bitte um Hilfe kontaktieren",502:"Server hat ein ungültiges Gateway erhalten, bitte um Hilfe kontaktieren",503:"Server ist nicht verfügbar, bitte um Hilfe kontaktieren",504:"Server-Zeitüberschreitung, bitte um Hilfe kontaktieren"},fS={unauthorizedPage:{title:"Zugriff verweigert: Keine Zugriffsberechtigung",description1:"Wir bedauern Ihnen mitteilen zu müssen, dass Sie nicht über die erforderlichen Berechtigungen verfügen, um auf diese Seite zuzugreifen.",description2:"Bitte kontaktieren Sie unseren Administrator für Unterstützung. Vielen Dank für Ihr Verständnis."}},dS={saasAdmin:{servicePackage:{errorMessage:{packageNotFound:"Paket nicht gefunden.",languageInvalid:"Das Feld Sprache ist ungültig.",packageNameExists:"Der Paketname existiert bereits.",serviceNotFound:"Dienst nicht gefunden.",serviceNotBelongToPackage:"Dienst nicht gefunden oder gehört nicht zum richtigen Paket",serviceNotBelongToServiceParent:"Dienst nicht gefunden oder gehört nicht zum richtigen Dienst-Elternteil",canNotGetServiceListPleaseTryAgain:"Dienstliste kann derzeit nicht abgerufen werden, bitte versuchen Sie es erneut"}},tenantManagement:{errorMessage:{tenantNotFound:"Mieter nicht gefunden.",countryInvalid:"Das Feld Land ist ungültig.",createTenantFailed:"Mietererstellung fehlgeschlagen. Bitte versuchen Sie es erneut.",isTenantMailExist:"Die E-Mail existiert bereits."}},brandManagement:{errorMessage:{firstNameInvalid:"Das Feld Vorname ist ungültig. Muss eine Länge von 3 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",createdAtInvalid:"Das Feld Erstellt am ist ungültig.",brandNotFound:"Marke nicht gefunden.",lastNameInvalid:"Das Feld Nachname ist ungültig. Muss eine Länge von 3 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",idInvalid:"Das Feld ID ist ungültig. Muss im UUID-v4-Format sein.",updatedAtInvalid:"Das Feld Erstellt am ist ungültig. Muss im Datumsformat sein.",countryInvalid:"Das Feld Land ist ungültig. Bitte wählen Sie ein von uns unterstütztes Land aus.",termTypeInvalid:"Das Feld TermType ist ungültig. Bitte wählen Sie einen von uns unterstützten TermType aus.",baseCostTypeInvalid:"Das Feld BaseCostType ist ungültig. Bitte wählen Sie einen von uns unterstützten BaseCostType aus.",brandStatusesInvalid:"BrandStatuses ist ungültig. Bitte wählen Sie einen von uns unterstützten BrandStatuses aus.",informationPlanIsRequired:"Informationsplan ist erforderlich.",settingStatusesInvalid:"SettingStatuses ist ungültig. Bitte wählen Sie einen von uns unterstützten BaseCostType aus.",languagesInvalid:"Sprachen ist ungültig. Bitte wählen Sie eine von uns unterstützte Sprache aus.",currencyInvalid:"Währung ist ungültig. Bitte wählen Sie eine von uns unterstützte Währung aus.",distanceMetricInvalid:"Entfernungsmetrik ist ungültig. Bitte wählen Sie eine von uns unterstützte Entfernungsmetrik aus.",settingNotFound:"Einstellung nicht gefunden.",subscriptionNotFound:"Abonnement nicht gefunden.",subscriptionNameExists:"Der Abonnementname existiert bereits.",subscriptionServiceNotFound:"Abonnementdienst nicht gefunden.",subscriptionServiceNotBelongToPackage:"Abonnementdienst nicht gefunden oder gehört nicht zum richtigen Paket",subscriptionServiceNotBelongTosubscriptionServiceParent:"Abonnementdienst nicht gefunden oder gehört nicht zum richtigen Abonnementdienst-Elternteil",canNotGetsubscriptionServiceListPleaseTryAgain:"Abonnementdienstliste kann derzeit nicht abgerufen werden, bitte versuchen Sie es erneut"}}},tenantAdmin:{brandManagement:{errorMessage:{firstNameInvalid:"Das Feld Vorname ist ungültig. Muss eine Länge von 3 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",createdAtInvalid:"Das Feld Erstellt am ist ungültig.",brandNotFound:"Marke nicht gefunden.",lastNameInvalid:"Das Feld Nachname ist ungültig. Muss eine Länge von 3 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",idInvalid:"Das Feld ID ist ungültig. Muss im UUID-v4-Format sein.",updatedAtInvalid:"Das Feld Erstellt am ist ungültig. Muss im Datumsformat sein.",countryInvalid:"Das Feld Land ist ungültig. Bitte wählen Sie ein von uns unterstütztes Land aus.",termTypeInvalid:"Das Feld TermType ist ungültig. Bitte wählen Sie einen von uns unterstützten TermType aus.",baseCostTypeInvalid:"Das Feld BaseCostType ist ungültig. Bitte wählen Sie einen von uns unterstützten BaseCostType aus.",brandStatusesInvalid:"BrandStatuses ist ungültig. Bitte wählen Sie einen von uns unterstützten BrandStatuses aus.",informationPlanIsRequired:"Informationsplan ist erforderlich.",settingStatusesInvalid:"SettingStatuses ist ungültig. Bitte wählen Sie einen von uns unterstützten BaseCostType aus.",languagesInvalid:"Sprachen ist ungültig. Bitte wählen Sie eine von uns unterstützte Sprache aus.",currencyInvalid:"Währung ist ungültig. Bitte wählen Sie eine von uns unterstützte Währung aus.",distanceMetricInvalid:"Entfernungsmetrik ist ungültig. Bitte wählen Sie eine von uns unterstützte Entfernungsmetrik aus.",settingNotFound:"Einstellung nicht gefunden.",subscriptionNotFound:"Abonnement nicht gefunden.",subscriptionNameExists:"Der Abonnementname existiert bereits.",subscriptionServiceNotFound:"Abonnementdienst nicht gefunden.",subscriptionServiceNotBelongToPackage:"Abonnementdienst nicht gefunden oder gehört nicht zum richtigen Paket",subscriptionServiceNotBelongTosubscriptionServiceParent:"Abonnementdienst nicht gefunden oder gehört nicht zum richtigen Abonnementdienst-Elternteil",canNotGetsubscriptionServiceListPleaseTryAgain:"Abonnementdienstliste kann derzeit nicht abgerufen werden, bitte versuchen Sie es erneut"}}},brandAdmin:{errorMessage:{firstNameInvalid:"Das Feld Vorname ist ungültig. Muss eine Länge von 3 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",createdAtInvalid:"Das Feld Erstellt am ist ungültig.",brandNotFound:"Marke nicht gefunden.",lastNameInvalid:"Das Feld Nachname ist ungültig. Muss eine Länge von 3 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",idInvalid:"Das Feld ID ist ungültig. Muss im UUID-v4-Format sein.",updatedAtInvalid:"Das Feld Erstellt am ist ungültig. Muss im Datumsformat sein.",countryInvalid:"Das Feld Land ist ungültig. Bitte wählen Sie ein von uns unterstütztes Land aus.",termTypeInvalid:"Das Feld TermType ist ungültig. Bitte wählen Sie einen von uns unterstützten TermType aus.",baseCostTypeInvalid:"Das Feld BaseCostType ist ungültig. Bitte wählen Sie einen von uns unterstützten BaseCostType aus.",brandStatusesInvalid:"BrandStatuses ist ungültig. Bitte wählen Sie einen von uns unterstützten BrandStatuses aus.",informationPlanIsRequired:"Informationsplan ist erforderlich.",settingStatusesInvalid:"SettingStatuses ist ungültig. Bitte wählen Sie einen von uns unterstützten BaseCostType aus.",languagesInvalid:"Sprachen ist ungültig. Bitte wählen Sie eine von uns unterstützte Sprache aus.",currencyInvalid:"Währung ist ungültig. Bitte wählen Sie eine von uns unterstützte Währung aus.",distanceMetricInvalid:"Entfernungsmetrik ist ungültig. Bitte wählen Sie eine von uns unterstützte Entfernungsmetrik aus.",settingNotFound:"Einstellung nicht gefunden.",subscriptionNotFound:"Abonnement nicht gefunden.",subscriptionNameExists:"Der Abonnementname existiert bereits.",subscriptionServiceNotFound:"Abonnementdienst nicht gefunden.",subscriptionServiceNotBelongToPackage:"Abonnementdienst nicht gefunden oder gehört nicht zum richtigen Paket",subscriptionServiceNotBelongTosubscriptionServiceParent:"Abonnementdienst nicht gefunden oder gehört nicht zum richtigen Abonnementdienst-Elternteil",canNotGetsubscriptionServiceListPleaseTryAgain:"Abonnementdienstliste kann derzeit nicht abgerufen werden, bitte versuchen Sie es erneut"}},iam:{usersManagement:{errorMessage:{firstNameInvalid:"Feld Vorname ist ungültig. Muss eine Länge von 1 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",createdAtInvalid:"Feld Erstellt am ist ungültig.",notFound:"Benutzer nicht gefunden.",lastNameInvalid:"Feld Nachname ist ungültig. Muss eine Länge von 1 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",updatedAtInvalid:"Feld Erstellt am ist ungültig. Muss im Datumsformat sein.",emailInvalid:"Feld E-Mail ist ungültig. Muss im E-Mail-Format sein.",passwordInvalid:"Feld Passwort ist ungültig. Muss 8 Zeichen lang sein, 1 Großbuchstaben & 1 Kleinbuchstaben enthalten, 1 Zahl und 1 Sonderzeichen.",countryCodeInvalid:"Feld Ländercode ist ungültig.",languageCodeInvalid:"Feld Sprachcode ist ungültig.",deletedAtInvalid:"Feld Gelöscht am ist ungültig. Muss im Datumsformat sein.",isActiveInvalid:"Feld IstAktiv ist ungültig.",isSuspendInvalid:"Feld IstGesperrt ist ungültig.",userExist:"Der Benutzer existiert bereits.",authProviderInvalid:"Feld Authentifizierungsanbieter ist ungültig.",isEnableInvalid:"Feld IstAktiviert ist ungültig.",sendEmailFailed:"E-Mail senden fehlgeschlagen.",emailRequired:"Feld E-Mail ist erforderlich",firstNameRequired:"Feld Vorname ist erforderlich",lastNameRequired:"Feld Nachname ist erforderlich",countryCodeRequired:"Feld Ländercode ist erforderlich",userStatusInvalid:"Feld Status ungültig. Bitte wählen Sie einen von uns unterstützten Status.",loginAtInvalid:"Feld Letzte Anmeldung ist ungültig.",avatarFileInvalid:"Avatar-Dateiformat wird nicht unterstützt. Muss png, jpeg, jpg sein und kleiner als 1 MB.",permissionGroupNotFound:"Berechtigungsgruppe nicht gefunden.",organizeInvalid:"Feld Organisation ist erforderlich. Muss ein Objekt sein.",relatedIdInvalid:"Feld Bezug-ID der Organisation ist ungültig. Muss eine Zahl sein.",userOrganizeNotFound:"Benutzerorganisation nicht gefunden.",isSystemInvalid:"Feld IstSystem ist ungültig.",organizeUserInvalid:"Feld Benutzer ist ungültig. Muss ein Array sein.",organizeUserDuplicate:"Feld Benutzer enthält duplizierte E-Mail-Adressen."}},permissionGroup:{errorMessage:{actionNotFound:"Aktion nicht gefunden.",permissionGroupNotFound:"Berechtigungsgruppe nicht gefunden.",permissionGroupIsExisted:"Berechtigungsgruppenname existiert bereits",permissionGroupOrganizeNotFound:"Organisation der Berechtigungsgruppe nicht gefunden.",relatedIdInvalid:"Feld Bezug-ID der Organisation ist ungültig. Muss eine Zahl sein.",cannotRemoveFullPermissionGroup:"Sie können diese Berechtigungsgruppe nicht entfernen.",cannotEditFullPermissionGroup:"Sie können diese Berechtigungsgruppe nicht aktualisieren."}},organize:{errorMessage:{relatedIdInvalid:"Feld Bezug-ID ist ungültig. Muss eine Zahl sein.",nameInvalid:"Feld Name der Daten ist ungültig. Muss eine Länge von 1 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",dataInvalid:"Feld Daten ist ungültig. Muss ein Objekt sein.",organizeExist:"Die Organisation existiert bereits.",callbackUrlInvalid:"Feld Callback-URL der Daten ist ungültig. Muss eine Zeichenkette sein."}}},notificationAdmin:{notification:{errorMessage:{notificationFilterType:"Feld notificationFilterType ist ungültig. Muss einer der Werte 'gelesen', 'ungelesen' oder 'alle' sein.",userIdInvalid:"Feld userId ist ungültig. Muss eine Zahl sein.",filterInvalid:"Feld filter ist ungültig. Muss ein Objekt sein.",isReadInvalid:"Feld isRead ist ungültig. Muss ein boolescher Wert sein.",notificationIdInvalid:"Feld id ist ungültig. Muss eine Zahl sein.",userDeviceTokenInvalid:"Feld deviceToken ist ungültig. Muss eine Zeichenfolge sein."}},notificationConfig:{errorMessage:{notificationNotFound:"Benachrichtigungskonfiguration nicht gefunden.",notificationIsExisted:"Benachrichtigungsregel existiert bereits.",actionNotFound:"Aktion nicht gefunden.",userNotFound:"Benutzer nicht gefunden.",firstNameInvalid:"Feld Vorname ist ungültig. Muss eine Länge von 1 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",createdAtInvalid:"Feld createdAt ist ungültig.",lastNameInvalid:"Feld Nachname ist ungültig. Muss eine Länge von 1 bis 40 Zeichen haben und keine Sonderzeichen enthalten.",updatedAtInvalid:"Feld createdAt ist ungültig. Muss im Datumsformat sein.",emailInvalid:"Feld E-Mail ist ungültig. Muss im E-Mail-Format sein.",passwordInvalid:"Feld Passwort ist ungültig. Muss 8 Zeichen lang sein, einen Großbuchstaben, einen Kleinbuchstaben, eine Zahl und ein Sonderzeichen enthalten.",countryCodeInvalid:"Feld Ländercode ist ungültig.",languageCodeInvalid:"Feld Sprachcode ist ungültig.",deletedAtInvalid:"Feld deletedAt ist ungültig. Muss im Datumsformat sein.",isActiveInvalid:"Feld isActive ist ungültig.",isSuspendInvalid:"Feld isSuspend ist ungültig.",userExist:"Der Benutzer existiert bereits.",authProviderInvalid:"Feld authProvider ist ungültig.",isEnableInvalid:"Feld isEnable ist ungültig.",sendEmailFailed:"E-Mail-Versand fehlgeschlagen.",emailRequired:"Feld E-Mail ist erforderlich",firstNameRequired:"Feld Vorname ist erforderlich",lastNameRequired:"Feld Nachname ist erforderlich",countryCodeRequired:"Feld Ländercode ist erforderlich",userStatusInvalid:"Feld Status ist ungültig. Bitte wählen Sie einen unterstützten Status aus.",loginAtInvalid:"Feld letzter Login ist ungültig.",avatarFileInvalid:"Avatar-Dateiformat wird nicht unterstützt. Muss png, jpeg, jpg sein und kleiner als 1 MB sein.",permissionGroupNotFound:"Berechtigungsgruppe nicht gefunden.",organizeInvalid:"Feld Organisieren ist erforderlich. Muss ein Objekt sein.",relatedIdInvalid:"Feld relatedId von Organisieren. Muss eine Zahl sein.",userOrganizeNotFound:"Benutzerorganisation nicht gefunden.",isSystemInvalid:"Feld isSystem ist ungültig.",organizeUserInvalid:"Feld Benutzer ist ungültig. Muss ein Array sein.",organizeUserDuplicate:"Feld Benutzer enthält doppelte E-Mails."}}}},hS={errorMessage:cS,components:fS,configurations:dS};var Wf=(a=>(a.en="en",a.de="de",a))(Wf||{});const pS={de:{translation:hS},en:{translation:uS}};Fr.use(rS).use(up).init({resources:pS,fallbackLng:"en"});function gS(){const[a,t]=qe.useState();return qe.useEffect(()=>{const r=localStorage.getItem("language");t(r||Wf.en)},[]),{language:a,setLanguage:t}}const cp=qe.createContext({}),vS=()=>qe.useContext(cp),mS=({children:a,resources:t})=>{const r=gS();return t&&(console.log("🚀 ~ resources:",t),Object.keys(t).map(u=>{Fr.addResourceBundle(u,"translation",t[`${u}`])})),sr.jsx(cp.Provider,{value:r,children:sr.jsx(aS,{i18n:Fr,children:a})})},yS={TOKEN_MALFORMED:"token_malformed",TOKEN_EXPIRED:"token_expired"},bS=a=>{window.location.href=`${a}/authentication/login?callbackUrl=${window.location.href}`},SS=a=>{window.location.href=`${a}/authentication/logout?callbackUrl=${window.location.href}`};function fp(a){var t,r,u="";if(typeof a=="string"||typeof a=="number")u+=a;else if(typeof a=="object")if(Array.isArray(a)){var o=a.length;for(t=0;t<o;t++)a[t]&&(r=fp(a[t]))&&(u&&(u+=" "),u+=r)}else for(r in a)a[r]&&(u&&(u+=" "),u+=r);return u}function ks(){for(var a,t,r=0,u="",o=arguments.length;r<o;r++)(a=arguments[r])&&(t=fp(a))&&(u&&(u+=" "),u+=t);return u}const $u=a=>typeof a=="number"&&!isNaN(a),Vl=a=>typeof a=="string",Ta=a=>typeof a=="function",dc=a=>Vl(a)||Ta(a)?a:null,Df=a=>qe.isValidElement(a)||Vl(a)||Ta(a)||$u(a);function wS(a,t,r){r===void 0&&(r=300);const{scrollHeight:u,style:o}=a;requestAnimationFrame(()=>{o.minHeight="initial",o.height=u+"px",o.transition=`all ${r}ms`,requestAnimationFrame(()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,r)})})}function Cc(a){let{enter:t,exit:r,appendPosition:u=!1,collapse:o=!0,collapseDuration:p=300}=a;return function(x){let{children:P,position:_,preventExitTransition:M,done:X,nodeRef:z,isIn:K,playToast:be}=x;const ue=u?`${t}--${_}`:t,ce=u?`${r}--${_}`:r,ee=qe.useRef(0);return qe.useLayoutEffect(()=>{const W=z.current,_e=ue.split(" "),Ie=Ae=>{Ae.target===z.current&&(be(),W.removeEventListener("animationend",Ie),W.removeEventListener("animationcancel",Ie),ee.current===0&&Ae.type!=="animationcancel"&&W.classList.remove(..._e))};W.classList.add(..._e),W.addEventListener("animationend",Ie),W.addEventListener("animationcancel",Ie)},[]),qe.useEffect(()=>{const W=z.current,_e=()=>{W.removeEventListener("animationend",_e),o?wS(W,X,p):X()};K||(M?_e():(ee.current=1,W.className+=` ${ce}`,W.addEventListener("animationend",_e)))},[K]),qe.createElement(qe.Fragment,null,P)}}function Th(a,t){return a!=null?{content:a.content,containerId:a.props.containerId,id:a.props.toastId,theme:a.props.theme,type:a.props.type,data:a.props.data||{},isLoading:a.props.isLoading,icon:a.props.icon,status:t}:{}}const Ui=new Map;let Vu=[];const Af=new Set,xS=a=>Af.forEach(t=>t(a)),dp=()=>Ui.size>0;function hp(a,t){var r;if(t)return!((r=Ui.get(t))==null||!r.isToastActive(a));let u=!1;return Ui.forEach(o=>{o.isToastActive(a)&&(u=!0)}),u}function pp(a,t){Df(a)&&(dp()||Vu.push({content:a,options:t}),Ui.forEach(r=>{r.buildToast(a,t)}))}function Ih(a,t){Ui.forEach(r=>{t!=null&&t!=null&&t.containerId?(t==null?void 0:t.containerId)===r.id&&r.toggle(a,t==null?void 0:t.id):r.toggle(a,t==null?void 0:t.id)})}function CS(a){const{subscribe:t,getSnapshot:r,setProps:u}=qe.useRef(function(p){const x=p.containerId||1;return{subscribe(P){const _=function(X,z,K){let be=1,ue=0,ce=[],ee=[],W=[],_e=z;const Ie=new Map,Ae=new Set,fe=()=>{W=Array.from(Ie.values()),Ae.forEach(We=>We())},Be=We=>{ee=We==null?[]:ee.filter(De=>De!==We),fe()},v=We=>{const{toastId:De,onOpen:Dt,updateId:Ct,children:At}=We.props,lt=Ct==null;We.staleId&&Ie.delete(We.staleId),Ie.set(De,We),ee=[...ee,We.props.toastId].filter(kt=>kt!==We.staleId),fe(),K(Th(We,lt?"added":"updated")),lt&&Ta(Dt)&&Dt(qe.isValidElement(At)&&At.props)};return{id:X,props:_e,observe:We=>(Ae.add(We),()=>Ae.delete(We)),toggle:(We,De)=>{Ie.forEach(Dt=>{De!=null&&De!==Dt.props.toastId||Ta(Dt.toggle)&&Dt.toggle(We)})},removeToast:Be,toasts:Ie,clearQueue:()=>{ue-=ce.length,ce=[]},buildToast:(We,De)=>{if((ze=>{let{containerId:et,toastId:tt,updateId:Ve}=ze;const Ye=et?et!==X:X!==1,ut=Ie.has(tt)&&Ve==null;return Ye||ut})(De))return;const{toastId:Dt,updateId:Ct,data:At,staleId:lt,delay:kt}=De,Zt=()=>{Be(Dt)},qt=Ct==null;qt&&ue++;const mt={..._e,style:_e.toastStyle,key:be++,...Object.fromEntries(Object.entries(De).filter(ze=>{let[et,tt]=ze;return tt!=null})),toastId:Dt,updateId:Ct,data:At,closeToast:Zt,isIn:!1,className:dc(De.className||_e.toastClassName),bodyClassName:dc(De.bodyClassName||_e.bodyClassName),progressClassName:dc(De.progressClassName||_e.progressClassName),autoClose:!De.isLoading&&(Xe=De.autoClose,wt=_e.autoClose,Xe===!1||$u(Xe)&&Xe>0?Xe:wt),deleteToast(){const ze=Ie.get(Dt),{onClose:et,children:tt}=ze.props;Ta(et)&&et(qe.isValidElement(tt)&&tt.props),K(Th(ze,"removed")),Ie.delete(Dt),ue--,ue<0&&(ue=0),ce.length>0?v(ce.shift()):fe()}};var Xe,wt;mt.closeButton=_e.closeButton,De.closeButton===!1||Df(De.closeButton)?mt.closeButton=De.closeButton:De.closeButton===!0&&(mt.closeButton=!Df(_e.closeButton)||_e.closeButton);let Re=We;qe.isValidElement(We)&&!Vl(We.type)?Re=qe.cloneElement(We,{closeToast:Zt,toastProps:mt,data:At}):Ta(We)&&(Re=We({closeToast:Zt,toastProps:mt,data:At}));const Oe={content:Re,props:mt,staleId:lt};_e.limit&&_e.limit>0&&ue>_e.limit&&qt?ce.push(Oe):$u(kt)?setTimeout(()=>{v(Oe)},kt):v(Oe)},setProps(We){_e=We},setToggle:(We,De)=>{Ie.get(We).toggle=De},isToastActive:We=>ee.some(De=>De===We),getSnapshot:()=>_e.newestOnTop?W.reverse():W}}(x,p,xS);Ui.set(x,_);const M=_.observe(P);return Vu.forEach(X=>pp(X.content,X.options)),Vu=[],()=>{M(),Ui.delete(x)}},setProps(P){var _;(_=Ui.get(x))==null||_.setProps(P)},getSnapshot(){var P;return(P=Ui.get(x))==null?void 0:P.getSnapshot()}}}(a)).current;u(a);const o=qe.useSyncExternalStore(t,r,r);return{getToastToRender:function(p){if(!o)return[];const x=new Map;return o.forEach(P=>{const{position:_}=P.props;x.has(_)||x.set(_,[]),x.get(_).push(P)}),Array.from(x,P=>p(P[0],P[1]))},isToastActive:hp,count:o==null?void 0:o.length}}function kS(a){const[t,r]=qe.useState(!1),[u,o]=qe.useState(!1),p=qe.useRef(null),x=qe.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:P,pauseOnHover:_,closeToast:M,onClick:X,closeOnClick:z}=a;var K,be;function ue(){r(!0)}function ce(){r(!1)}function ee(Ie){const Ae=p.current;x.canDrag&&Ae&&(x.didMove=!0,t&&ce(),x.delta=a.draggableDirection==="x"?Ie.clientX-x.start:Ie.clientY-x.start,x.start!==Ie.clientX&&(x.canCloseOnClick=!1),Ae.style.transform=`translate3d(${a.draggableDirection==="x"?`${x.delta}px, var(--y)`:`0, calc(${x.delta}px + var(--y))`},0)`,Ae.style.opacity=""+(1-Math.abs(x.delta/x.removalDistance)))}function W(){document.removeEventListener("pointermove",ee),document.removeEventListener("pointerup",W);const Ie=p.current;if(x.canDrag&&x.didMove&&Ie){if(x.canDrag=!1,Math.abs(x.delta)>x.removalDistance)return o(!0),a.closeToast(),void a.collapseAll();Ie.style.transition="transform 0.2s, opacity 0.2s",Ie.style.removeProperty("transform"),Ie.style.removeProperty("opacity")}}(be=Ui.get((K={id:a.toastId,containerId:a.containerId,fn:r}).containerId||1))==null||be.setToggle(K.id,K.fn),qe.useEffect(()=>{if(a.pauseOnFocusLoss)return document.hasFocus()||ce(),window.addEventListener("focus",ue),window.addEventListener("blur",ce),()=>{window.removeEventListener("focus",ue),window.removeEventListener("blur",ce)}},[a.pauseOnFocusLoss]);const _e={onPointerDown:function(Ie){if(a.draggable===!0||a.draggable===Ie.pointerType){x.didMove=!1,document.addEventListener("pointermove",ee),document.addEventListener("pointerup",W);const Ae=p.current;x.canCloseOnClick=!0,x.canDrag=!0,Ae.style.transition="none",a.draggableDirection==="x"?(x.start=Ie.clientX,x.removalDistance=Ae.offsetWidth*(a.draggablePercent/100)):(x.start=Ie.clientY,x.removalDistance=Ae.offsetHeight*(a.draggablePercent===80?1.5*a.draggablePercent:a.draggablePercent)/100)}},onPointerUp:function(Ie){const{top:Ae,bottom:fe,left:Be,right:v}=p.current.getBoundingClientRect();Ie.nativeEvent.type!=="touchend"&&a.pauseOnHover&&Ie.clientX>=Be&&Ie.clientX<=v&&Ie.clientY>=Ae&&Ie.clientY<=fe?ce():ue()}};return P&&_&&(_e.onMouseEnter=ce,a.stacked||(_e.onMouseLeave=ue)),z&&(_e.onClick=Ie=>{X&&X(Ie),x.canCloseOnClick&&M()}),{playToast:ue,pauseToast:ce,isRunning:t,preventExitTransition:u,toastRef:p,eventHandlers:_e}}function ES(a){let{delay:t,isRunning:r,closeToast:u,type:o="default",hide:p,className:x,style:P,controlledProgress:_,progress:M,rtl:X,isIn:z,theme:K}=a;const be=p||_&&M===0,ue={...P,animationDuration:`${t}ms`,animationPlayState:r?"running":"paused"};_&&(ue.transform=`scaleX(${M})`);const ce=ks("Toastify__progress-bar",_?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${K}`,`Toastify__progress-bar--${o}`,{"Toastify__progress-bar--rtl":X}),ee=Ta(x)?x({rtl:X,type:o,defaultClassName:ce}):ks(ce,x),W={[_&&M>=1?"onTransitionEnd":"onAnimationEnd"]:_&&M<1?null:()=>{z&&u()}};return qe.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":be},qe.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${K} Toastify__progress-bar--${o}`}),qe.createElement("div",{role:"progressbar","aria-hidden":be?"true":"false","aria-label":"notification timer",className:ee,style:ue,...W}))}let TS=1;const gp=()=>""+TS++;function IS(a){return a&&(Vl(a.toastId)||$u(a.toastId))?a.toastId:gp()}function Uu(a,t){return pp(a,t),t.toastId}function mc(a,t){return{...t,type:t&&t.type||a,toastId:IS(t)}}function uc(a){return(t,r)=>Uu(t,mc(a,r))}function yn(a,t){return Uu(a,mc("default",t))}yn.loading=(a,t)=>Uu(a,mc("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),yn.promise=function(a,t,r){let u,{pending:o,error:p,success:x}=t;o&&(u=Vl(o)?yn.loading(o,r):yn.loading(o.render,{...r,...o}));const P={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},_=(X,z,K)=>{if(z==null)return void yn.dismiss(u);const be={type:X,...P,...r,data:K},ue=Vl(z)?{render:z}:z;return u?yn.update(u,{...be,...ue}):yn(ue.render,{...be,...ue}),K},M=Ta(a)?a():a;return M.then(X=>_("success",x,X)).catch(X=>_("error",p,X)),M},yn.success=uc("success"),yn.info=uc("info"),yn.error=uc("error"),yn.warning=uc("warning"),yn.warn=yn.warning,yn.dark=(a,t)=>Uu(a,mc("default",{theme:"dark",...t})),yn.dismiss=function(a){(function(t){var r;if(dp()){if(t==null||Vl(r=t)||$u(r))Ui.forEach(o=>{o.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){var u;(u=Ui.get(t.containerId))!=null&&u.removeToast(t.id)||Ui.forEach(o=>{o.removeToast(t.id)})}}else Vu=Vu.filter(o=>t!=null&&o.options.toastId!==t)})(a)},yn.clearWaitingQueue=function(a){a===void 0&&(a={}),Ui.forEach(t=>{!t.props.limit||a.containerId&&t.id!==a.containerId||t.clearQueue()})},yn.isActive=hp,yn.update=function(a,t){t===void 0&&(t={});const r=((u,o)=>{var p;let{containerId:x}=o;return(p=Ui.get(x||1))==null?void 0:p.toasts.get(u)})(a,t);if(r){const{props:u,content:o}=r,p={delay:100,...u,...t,toastId:t.toastId||a,updateId:gp()};p.toastId!==a&&(p.staleId=a);const x=p.render||o;delete p.render,Uu(x,p)}},yn.done=a=>{yn.update(a,{progress:1})},yn.onChange=function(a){return Af.add(a),()=>{Af.delete(a)}},yn.play=a=>Ih(!0,a),yn.pause=a=>Ih(!1,a);const _S=typeof window<"u"?qe.useLayoutEffect:qe.useEffect,cc=a=>{let{theme:t,type:r,isLoading:u,...o}=a;return qe.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${r})`,...o})},cf={info:function(a){return qe.createElement(cc,{...a},qe.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(a){return qe.createElement(cc,{...a},qe.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(a){return qe.createElement(cc,{...a},qe.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(a){return qe.createElement(cc,{...a},qe.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 qe.createElement("div",{className:"Toastify__spinner"})}},RS=a=>{const{isRunning:t,preventExitTransition:r,toastRef:u,eventHandlers:o,playToast:p}=kS(a),{closeButton:x,children:P,autoClose:_,onClick:M,type:X,hideProgressBar:z,closeToast:K,transition:be,position:ue,className:ce,style:ee,bodyClassName:W,bodyStyle:_e,progressClassName:Ie,progressStyle:Ae,updateId:fe,role:Be,progress:v,rtl:We,toastId:De,deleteToast:Dt,isIn:Ct,isLoading:At,closeOnClick:lt,theme:kt}=a,Zt=ks("Toastify__toast",`Toastify__toast-theme--${kt}`,`Toastify__toast--${X}`,{"Toastify__toast--rtl":We},{"Toastify__toast--close-on-click":lt}),qt=Ta(ce)?ce({rtl:We,position:ue,type:X,defaultClassName:Zt}):ks(Zt,ce),mt=function(Oe){let{theme:ze,type:et,isLoading:tt,icon:Ve}=Oe,Ye=null;const ut={theme:ze,type:et};return Ve===!1||(Ta(Ve)?Ye=Ve({...ut,isLoading:tt}):qe.isValidElement(Ve)?Ye=qe.cloneElement(Ve,ut):tt?Ye=cf.spinner():(gt=>gt in cf)(et)&&(Ye=cf[et](ut))),Ye}(a),Xe=!!v||!_,wt={closeToast:K,type:X,theme:kt};let Re=null;return x===!1||(Re=Ta(x)?x(wt):qe.isValidElement(x)?qe.cloneElement(x,wt):function(Oe){let{closeToast:ze,theme:et,ariaLabel:tt="close"}=Oe;return qe.createElement("button",{className:`Toastify__close-button Toastify__close-button--${et}`,type:"button",onClick:Ve=>{Ve.stopPropagation(),ze(Ve)},"aria-label":tt},qe.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},qe.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"})))}(wt)),qe.createElement(be,{isIn:Ct,done:Dt,position:ue,preventExitTransition:r,nodeRef:u,playToast:p},qe.createElement("div",{id:De,onClick:M,"data-in":Ct,className:qt,...o,style:ee,ref:u},qe.createElement("div",{...Ct&&{role:Be},className:Ta(W)?W({type:X}):ks("Toastify__toast-body",W),style:_e},mt!=null&&qe.createElement("div",{className:ks("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!At})},mt),qe.createElement("div",null,P)),Re,qe.createElement(ES,{...fe&&!Xe?{key:`pb-${fe}`}:{},rtl:We,theme:kt,delay:_,isRunning:t,isIn:Ct,closeToast:K,hide:z,type:X,style:Ae,className:Ie,controlledProgress:Xe,progress:v||0})))},kc=function(a,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${a}-enter`,exit:`Toastify--animate Toastify__${a}-exit`,appendPosition:t}},DS=Cc(kc("bounce",!0));Cc(kc("slide",!0));Cc(kc("zoom"));Cc(kc("flip"));const AS={position:"top-right",transition:DS,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function PS(a){let t={...AS,...a};const r=a.stacked,[u,o]=qe.useState(!0),p=qe.useRef(null),{getToastToRender:x,isToastActive:P,count:_}=CS(t),{className:M,style:X,rtl:z,containerId:K}=t;function be(ce){const ee=ks("Toastify__toast-container",`Toastify__toast-container--${ce}`,{"Toastify__toast-container--rtl":z});return Ta(M)?M({position:ce,rtl:z,defaultClassName:ee}):ks(ee,dc(M))}function ue(){r&&(o(!0),yn.play())}return _S(()=>{if(r){var ce;const ee=p.current.querySelectorAll('[data-in="true"]'),W=12,_e=(ce=t.position)==null?void 0:ce.includes("top");let Ie=0,Ae=0;Array.from(ee).reverse().forEach((fe,Be)=>{const v=fe;v.classList.add("Toastify__toast--stacked"),Be>0&&(v.dataset.collapsed=`${u}`),v.dataset.pos||(v.dataset.pos=_e?"top":"bot");const We=Ie*(u?.2:1)+(u?0:W*Be);v.style.setProperty("--y",`${_e?We:-1*We}px`),v.style.setProperty("--g",`${W}`),v.style.setProperty("--s",""+(1-(u?Ae:0))),Ie+=v.offsetHeight,Ae+=.025})}},[u,_,r]),qe.createElement("div",{ref:p,className:"Toastify",id:K,onMouseEnter:()=>{r&&(o(!1),yn.pause())},onMouseLeave:ue},x((ce,ee)=>{const W=ee.length?{...X}:{...X,pointerEvents:"none"};return qe.createElement("div",{className:be(ce),style:W,key:`container-${ce}`},ee.map(_e=>{let{content:Ie,props:Ae}=_e;return qe.createElement(RS,{...Ae,stacked:r,collapseAll:ue,isIn:P(Ae.toastId,Ae.containerId),style:Ae.style,key:`toast-${Ae.key}`},Ie)}))}))}function OS(){return sr.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[sr.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"}),sr.jsx("path",{d:"M10.9942 6.89636V11.6737",stroke:"#E01B00",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),sr.jsx("path",{d:"M10.9941 15.1038H11.0049",stroke:"#E01B00",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function MS(){return sr.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[sr.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#009D4F"}),sr.jsx("path",{d:"M7.25244 12L10.4174 15.165L16.7474 8.83496",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function FS(){return sr.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[sr.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"}),sr.jsx("path",{d:"M10.9942 6.89636V11.6737",stroke:"#faad14",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),sr.jsx("path",{d:"M10.9941 15.1038H11.0049",stroke:"#faad14",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}const zf={paddingLeft:"16px",borderLeft:"2px solid",boxShadow:"none",fontFamily:"inherit"},LS=a=>{yn.success(a,{icon:sr.jsx(MS,{}),bodyStyle:{},position:"bottom-right",style:{...zf,background:$l.color.primary100,borderColor:$l.color.success,color:$l.color.success}})},vp=a=>{yn.error(a,{icon:sr.jsx(OS,{}),position:"bottom-right",style:{...zf,background:"#F7E4E1",borderColor:$l.color.danger,color:$l.color.danger}})},NS=a=>{yn.error(a,{icon:sr.jsx(FS,{}),position:"bottom-right",style:{...zf,background:"#FFF1B8",borderColor:"#faad14",color:$l.color.textPrimary}})};function $f(a,t){if(a==null)return{};var r={},u=Object.keys(a),o,p;for(p=0;p<u.length;p++)o=u[p],!(t.indexOf(o)>=0)&&(r[o]=a[o]);return r}const BS=Object.freeze(Object.defineProperty({__proto__:null,default:$f},Symbol.toStringTag,{value:"Module"}));function Cu(){return Cu=Object.assign?Object.assign.bind():function(a){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var u in r)Object.prototype.hasOwnProperty.call(r,u)&&(a[u]=r[u])}return a},Cu.apply(this,arguments)}const jS=Object.freeze(Object.defineProperty({__proto__:null,default:Cu},Symbol.toStringTag,{value:"Module"}));function Pf(a,t){return Pf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,o){return u.__proto__=o,u},Pf(a,t)}function mp(a,t){a.prototype=Object.create(t.prototype),a.prototype.constructor=a,Pf(a,t)}function ff(a,t,r){if(r||arguments.length===2)for(var u=0,o=t.length,p;u<o;u++)(p||!(u in t))&&(p||(p=Array.prototype.slice.call(t,0,u)),p[u]=t[u]);return a.concat(p||Array.prototype.slice.call(t))}/*!
|
|
126
|
-
* content-type
|
|
127
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
128
|
-
* MIT Licensed
|
|
129
|
-
*/var _h=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,HS=/\\([\u000b\u0020-\u00ff])/g,US=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,WS=zS;function zS(a){if(!a)throw new TypeError("argument string is required");var t=typeof a=="object"?$S(a):a;if(typeof t!="string")throw new TypeError("argument string is required to be a string");var r=t.indexOf(";"),u=r!==-1?t.slice(0,r).trim():t.trim();if(!US.test(u))throw new TypeError("invalid media type");var o=new VS(u.toLowerCase());if(r!==-1){var p,x,P;for(_h.lastIndex=r;x=_h.exec(t);){if(x.index!==r)throw new TypeError("invalid parameter format");r+=x[0].length,p=x[1].toLowerCase(),P=x[2],P.charCodeAt(0)===34&&(P=P.slice(1,-1),P.indexOf("\\")!==-1&&(P=P.replace(HS,"$1"))),o.parameters[p]=P}if(r!==t.length)throw new TypeError("invalid parameter format")}return o}function $S(a){var t;if(typeof a.getHeader=="function"?t=a.getHeader("content-type"):typeof a.headers=="object"&&(t=a.headers&&a.headers["content-type"]),typeof t!="string")throw new TypeError("content-type header is missing from object");return t}function VS(a){this.parameters=Object.create(null),this.type=a}var xu=new Map,yp=function(t){return t.cloneNode(!0)},Rh=function(){return window.location.protocol==="file:"},bp=function(t,r,u){var o=new XMLHttpRequest;o.onreadystatechange=function(){try{if(!/\.svg/i.test(t)&&o.readyState===2){var p=o.getResponseHeader("Content-Type");if(!p)throw new Error("Content type not found");var x=WS(p).type;if(!(x==="image/svg+xml"||x==="text/plain"))throw new Error("Invalid content type: ".concat(x))}if(o.readyState===4){if(o.status===404||o.responseXML===null)throw new Error(Rh()?"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(o.status===200||Rh()&&o.status===0)u(null,o);else throw new Error("There was a problem injecting the SVG: "+o.status+" "+o.statusText)}}catch(P){if(o.abort(),P instanceof Error)u(P,o);else throw P}},o.open("GET",t),o.withCredentials=r,o.overrideMimeType&&o.overrideMimeType("text/xml"),o.send()},el={},Dh=function(t,r){el[t]=el[t]||[],el[t].push(r)},YS=function(t){for(var r=function(x,P){setTimeout(function(){if(Array.isArray(el[t])){var _=xu.get(t),M=el[t][x];_ instanceof SVGSVGElement&&M(null,yp(_)),_ instanceof Error&&M(_),x===el[t].length-1&&delete el[t]}},0)},u=0,o=el[t].length;u<o;u++)r(u)},GS=function(t,r,u){if(xu.has(t)){var o=xu.get(t);if(o===void 0){Dh(t,u);return}if(o instanceof SVGSVGElement){u(null,yp(o));return}}xu.set(t,void 0),Dh(t,u),bp(t,r,function(p,x){var P;p?xu.set(t,p):((P=x.responseXML)===null||P===void 0?void 0:P.documentElement)instanceof SVGSVGElement&&xu.set(t,x.responseXML.documentElement),YS(t)})},qS=function(t,r,u){bp(t,r,function(o,p){var x;o?u(o):((x=p.responseXML)===null||x===void 0?void 0:x.documentElement)instanceof SVGSVGElement&&u(null,p.responseXML.documentElement)})},XS=0,KS=function(){return++XS},Ho=[],Ah={},ZS="http://www.w3.org/2000/svg",df="http://www.w3.org/1999/xlink",Ph=function(t,r,u,o,p,x,P){var _=t.getAttribute("data-src")||t.getAttribute("src");if(!_){P(new Error("Invalid data-src or src attribute"));return}if(Ho.indexOf(t)!==-1){Ho.splice(Ho.indexOf(t),1),t=null;return}Ho.push(t),t.setAttribute("src","");var M=o?GS:qS;M(_,p,function(X,z){if(!z){Ho.splice(Ho.indexOf(t),1),t=null,P(X);return}var K=t.getAttribute("id");K&&z.setAttribute("id",K);var be=t.getAttribute("title");be&&z.setAttribute("title",be);var ue=t.getAttribute("width");ue&&z.setAttribute("width",ue);var ce=t.getAttribute("height");ce&&z.setAttribute("height",ce);var ee=Array.from(new Set(ff(ff(ff([],(z.getAttribute("class")||"").split(" "),!0),["injected-svg"],!1),(t.getAttribute("class")||"").split(" "),!0))).join(" ").trim();z.setAttribute("class",ee);var W=t.getAttribute("style");W&&z.setAttribute("style",W),z.setAttribute("data-src",_);var _e=[].filter.call(t.attributes,function(Xe){return/^data-\w[\w-]*$/.test(Xe.name)});if(Array.prototype.forEach.call(_e,function(Xe){Xe.name&&Xe.value&&z.setAttribute(Xe.name,Xe.value)}),u){var Ie={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"]},Ae,fe,Be,v,We;Object.keys(Ie).forEach(function(Xe){Ae=Xe,Be=Ie[Xe],fe=z.querySelectorAll(Ae+"[id]");for(var wt=function(et,tt){v=fe[et].id,We=v+"-"+KS();var Ve;Array.prototype.forEach.call(Be,function(Nt){Ve=z.querySelectorAll("["+Nt+'*="'+v+'"]');for(var Ut=0,Hn=Ve.length;Ut<Hn;Ut++){var lr=Ve[Ut].getAttribute(Nt);lr&&!lr.match(new RegExp('url\\("?#'+v+'"?\\)'))||Ve[Ut].setAttribute(Nt,"url(#"+We+")")}});for(var Ye=z.querySelectorAll("[*|href]"),ut=[],gt=0,vt=Ye.length;gt<vt;gt++){var ct=Ye[gt].getAttributeNS(df,"href");ct&&ct.toString()==="#"+fe[et].id&&ut.push(Ye[gt])}for(var Lt=0,$e=ut.length;Lt<$e;Lt++)ut[Lt].setAttributeNS(df,"href","#"+We);fe[et].id=We},Re=0,Oe=fe.length;Re<Oe;Re++)wt(Re)})}z.removeAttribute("xmlns:a");for(var De=z.querySelectorAll("script"),Dt=[],Ct,At,lt=0,kt=De.length;lt<kt;lt++)At=De[lt].getAttribute("type"),(!At||At==="application/ecmascript"||At==="application/javascript"||At==="text/javascript")&&(Ct=De[lt].innerText||De[lt].textContent,Ct&&Dt.push(Ct),z.removeChild(De[lt]));if(Dt.length>0&&(r==="always"||r==="once"&&!Ah[_])){for(var Zt=0,qt=Dt.length;Zt<qt;Zt++)new Function(Dt[Zt])(window);Ah[_]=!0}var mt=z.querySelectorAll("style");if(Array.prototype.forEach.call(mt,function(Xe){Xe.textContent+=""}),z.setAttribute("xmlns",ZS),z.setAttribute("xmlns:xlink",df),x(z),!t.parentNode){Ho.splice(Ho.indexOf(t),1),t=null,P(new Error("Parent node is null"));return}t.parentNode.replaceChild(z,t),Ho.splice(Ho.indexOf(t),1),t=null,P(null,z)})},JS=function(t,r){var u=r===void 0?{}:r,o=u.afterAll,p=o===void 0?function(){}:o,x=u.afterEach,P=x===void 0?function(){}:x,_=u.beforeEach,M=_===void 0?function(){}:_,X=u.cacheRequests,z=X===void 0?!0:X,K=u.evalScripts,be=K===void 0?"never":K,ue=u.httpRequestWithCredentials,ce=ue===void 0?!1:ue,ee=u.renumerateIRIElements,W=ee===void 0?!0:ee;if(t&&"length"in t)for(var _e=0,Ie=0,Ae=t.length;Ie<Ae;Ie++)Ph(t[Ie],be,W,z,ce,M,function(fe,Be){P(fe,Be),t&&"length"in t&&t.length===++_e&&p(_e)});else t?Ph(t,be,W,z,ce,M,function(fe,Be){P(fe,Be),p(1),t=null}):p(0)},QS=function(t){var r=(t==null?void 0:t.ownerDocument)||document;return r.defaultView||window},ew=function(t,r){for(var u in t)if(!(u in r))return!0;for(var o in r)if(t[o]!==r[o])return!0;return!1},tw=["afterInjection","beforeInjection","desc","evalScripts","fallback","httpRequestWithCredentials","loading","renumerateIRIElements","src","title","useRequestCache","wrapper"],fc="http://www.w3.org/2000/svg",Oh="http://www.w3.org/1999/xlink",Vf=function(a){mp(t,a);function t(){for(var u,o=arguments.length,p=new Array(o),x=0;x<o;x++)p[x]=arguments[x];return u=a.call.apply(a,[this].concat(p))||this,u.initialState={hasError:!1,isLoading:!0},u.state=u.initialState,u._isMounted=!1,u.reactWrapper=void 0,u.nonReactWrapper=void 0,u.refCallback=function(P){u.reactWrapper=P},u}var r=t.prototype;return r.renderSVG=function(){var o=this;if(this.reactWrapper instanceof QS(this.reactWrapper).Node){var p=this.props,x=p.desc,P=p.evalScripts,_=p.httpRequestWithCredentials,M=p.renumerateIRIElements,X=p.src,z=p.title,K=p.useRequestCache,be=this.props.onError,ue=this.props.beforeInjection,ce=this.props.afterInjection,ee=this.props.wrapper,W,_e;ee==="svg"?(W=document.createElementNS(fc,ee),W.setAttribute("xmlns",fc),W.setAttribute("xmlns:xlink",Oh),_e=document.createElementNS(fc,ee)):(W=document.createElement(ee),_e=document.createElement(ee)),W.appendChild(_e),_e.dataset.src=X,this.nonReactWrapper=this.reactWrapper.appendChild(W);var Ie=function(v){if(o.removeSVG(),!o._isMounted){be(v);return}o.setState(function(){return{hasError:!0,isLoading:!1}},function(){be(v)})},Ae=function(v,We){if(v){Ie(v);return}o._isMounted&&o.setState(function(){return{isLoading:!1}},function(){try{ce(We)}catch(De){Ie(De)}})},fe=function(v){if(v.setAttribute("role","img"),x){var We=v.querySelector(":scope > desc");We&&v.removeChild(We);var De=document.createElement("desc");De.innerHTML=x,v.prepend(De)}if(z){var Dt=v.querySelector(":scope > title");Dt&&v.removeChild(Dt);var Ct=document.createElement("title");Ct.innerHTML=z,v.prepend(Ct)}try{ue(v)}catch(At){Ie(At)}};JS(_e,{afterEach:Ae,beforeEach:fe,cacheRequests:K,evalScripts:P,httpRequestWithCredentials:_,renumerateIRIElements:M})}},r.removeSVG=function(){var o;(o=this.nonReactWrapper)!=null&&o.parentNode&&(this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper),this.nonReactWrapper=null)},r.componentDidMount=function(){this._isMounted=!0,this.renderSVG()},r.componentDidUpdate=function(o){var p=this;ew(Cu({},o),this.props)&&this.setState(function(){return p.initialState},function(){p.removeSVG(),p.renderSVG()})},r.componentWillUnmount=function(){this._isMounted=!1,this.removeSVG()},r.render=function(){var o=this.props;o.afterInjection,o.beforeInjection,o.desc,o.evalScripts;var p=o.fallback;o.httpRequestWithCredentials;var x=o.loading;o.renumerateIRIElements,o.src,o.title,o.useRequestCache;var P=o.wrapper,_=$f(o,tw),M=P;return Wl.createElement(M,Cu({},_,{ref:this.refCallback},P==="svg"?{xmlns:fc,xmlnsXlink:Oh}:{}),this.state.isLoading&&x&&Wl.createElement(x,null),this.state.hasError&&p&&Wl.createElement(p,null))},t}(Wl.Component);Vf.defaultProps={afterInjection:function(){},beforeInjection:function(){},desc:"",evalScripts:"never",fallback:null,httpRequestWithCredentials:!1,loading:null,onError:function(){},renumerateIRIElements:!0,title:"",useRequestCache:!0,wrapper:"div"};Vf.propTypes={afterInjection:vr.func,beforeInjection:vr.func,desc:vr.string,evalScripts:vr.oneOf(["always","once","never"]),fallback:vr.oneOfType([vr.func,vr.object,vr.string]),httpRequestWithCredentials:vr.bool,loading:vr.oneOfType([vr.func,vr.object,vr.string]),onError:vr.func,renumerateIRIElements:vr.bool,src:vr.string.isRequired,title:vr.string,useRequestCache:vr.bool,wrapper:vr.oneOf(["div","span","svg"])};const nw={"page-container":"_page-container_1fqnw_1","page-main-content":"_page-main-content_1fqnw_8","page-title":"_page-title_1fqnw_19","text-base":"_text-base_1fqnw_25","mt-4":"_mt-4_1fqnw_32"};var yc={exports:{}};/**
|
|
130
|
-
* @license
|
|
131
|
-
* Lodash <https://lodash.com/>
|
|
132
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
133
|
-
* Released under MIT license <https://lodash.com/license>
|
|
134
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
135
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
136
|
-
*/yc.exports;(function(a,t){(function(){var r,u="4.17.21",o=200,p="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",x="Expected a function",P="Invalid `variable` option passed into `_.template`",_="__lodash_hash_undefined__",M=500,X="__lodash_placeholder__",z=1,K=2,be=4,ue=1,ce=2,ee=1,W=2,_e=4,Ie=8,Ae=16,fe=32,Be=64,v=128,We=256,De=512,Dt=30,Ct="...",At=800,lt=16,kt=1,Zt=2,qt=3,mt=1/0,Xe=9007199254740991,wt=17976931348623157e292,Re=0/0,Oe=4294967295,ze=Oe-1,et=Oe>>>1,tt=[["ary",v],["bind",ee],["bindKey",W],["curry",Ie],["curryRight",Ae],["flip",De],["partial",fe],["partialRight",Be],["rearg",We]],Ve="[object Arguments]",Ye="[object Array]",ut="[object AsyncFunction]",gt="[object Boolean]",vt="[object Date]",ct="[object DOMException]",Lt="[object Error]",$e="[object Function]",Nt="[object GeneratorFunction]",Ut="[object Map]",Hn="[object Number]",lr="[object Null]",Un="[object Object]",bn="[object Promise]",wi="[object Proxy]",mr="[object RegExp]",Gn="[object Set]",rn="[object String]",sn="[object Symbol]",ln="[object Undefined]",rt="[object WeakMap]",kn="[object WeakSet]",Zr="[object ArrayBuffer]",nn="[object DataView]",xi="[object Float32Array]",Ci="[object Float64Array]",ki="[object Int8Array]",yr="[object Int16Array]",Mn="[object Int32Array]",br="[object Uint8Array]",ur="[object Uint8ClampedArray]",Lr="[object Uint16Array]",Nr="[object Uint32Array]",oa=/\b__p \+= '';/g,Wn=/\b(__p \+=) '' \+/g,Br=/(__e\(.*?\)|\b__t\)) \+\n'';/g,qn=/&(?:amp|lt|gt|quot|#39);/g,$t=/[&<>"']/g,Jr=RegExp(qn.source),Ei=RegExp($t.source),En=/<%-([\s\S]+?)%>/g,un=/<%([\s\S]+?)%>/g,Qr=/<%=([\s\S]+?)%>/g,ei=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,fn=/^\w*$/,Wi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,cr=/[\\^$.*+?()[\]{}|]/g,ti=RegExp(cr.source),an=/^\s+/,ui=/\s/,Ya=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ga=/\{\n\/\* \[wrapped with (.+)\] \*/,jr=/,? & /,zi=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,$i=/[()=,{}\[\]\/\s]/,sa=/\\(\\)?/g,ci=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ni=/\w*$/,fi=/^[-+]0x[0-9a-f]+$/i,Vi=/^0b[01]+$/i,di=/^\[object .+?Constructor\]$/,Hr=/^0o[0-7]+$/i,fr=/^(?:0|[1-9]\d*)$/,Sr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ur=/($^)/,wr=/['\n\r\u2028\u2029\\]/g,Fn="\\ud800-\\udfff",cn="\\u0300-\\u036f",xr="\\ufe20-\\ufe2f",dr="\\u20d0-\\u20ff",Tn=cn+xr+dr,ri="\\u2700-\\u27bf",Cr="a-z\\xdf-\\xf6\\xf8-\\xff",Wr="\\xac\\xb1\\xd7\\xf7",zn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",zr="\\u2000-\\u206f",$r=" \\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",Ti="A-Z\\xc0-\\xd6\\xd8-\\xde",Cn="\\ufe0e\\ufe0f",hr=Wr+zn+zr+$r,Qn="['’]",la="["+Fn+"]",Ii="["+hr+"]",kr="["+Tn+"]",m="\\d+",I="["+ri+"]",B="["+Cr+"]",Y="[^"+Fn+hr+m+ri+Cr+Ti+"]",me="\\ud83c[\\udffb-\\udfff]",se="(?:"+kr+"|"+me+")",xe="[^"+Fn+"]",He="(?:\\ud83c[\\udde6-\\uddff]){2}",it="[\\ud800-\\udbff][\\udc00-\\udfff]",ft="["+Ti+"]",at="\\u200d",Mt="(?:"+B+"|"+Y+")",$n="(?:"+ft+"|"+Y+")",Ln="(?:"+Qn+"(?:d|ll|m|re|s|t|ve))?",Sn="(?:"+Qn+"(?:D|LL|M|RE|S|T|VE))?",Er=se+"?",Xn="["+Cn+"]?",_i="(?:"+at+"(?:"+[xe,He,it].join("|")+")"+Xn+Er+")*",ii="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ri="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Tr=Xn+Er+_i,ua="(?:"+[I,He,it].join("|")+")"+Tr,Wo="(?:"+[xe+kr+"?",kr,He,it,la].join("|")+")",qa=RegExp(Qn,"g"),Xa=RegExp(kr,"g"),Ka=RegExp(me+"(?="+me+")|"+Wo+Tr,"g"),Za=RegExp([ft+"?"+B+"+"+Ln+"(?="+[Ii,ft,"$"].join("|")+")",$n+"+"+Sn+"(?="+[Ii,ft+Mt,"$"].join("|")+")",ft+"?"+Mt+"+"+Ln,ft+"+"+Sn,Ri,ii,m,ua].join("|"),"g"),ai=RegExp("["+at+Fn+Tn+Cn+"]"),ca=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ia=["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"],en=-1,Vt={};Vt[xi]=Vt[Ci]=Vt[ki]=Vt[yr]=Vt[Mn]=Vt[br]=Vt[ur]=Vt[Lr]=Vt[Nr]=!0,Vt[Ve]=Vt[Ye]=Vt[Zr]=Vt[gt]=Vt[nn]=Vt[vt]=Vt[Lt]=Vt[$e]=Vt[Ut]=Vt[Hn]=Vt[Un]=Vt[mr]=Vt[Gn]=Vt[rn]=Vt[rt]=!1;var Ot={};Ot[Ve]=Ot[Ye]=Ot[Zr]=Ot[nn]=Ot[gt]=Ot[vt]=Ot[xi]=Ot[Ci]=Ot[ki]=Ot[yr]=Ot[Mn]=Ot[Ut]=Ot[Hn]=Ot[Un]=Ot[mr]=Ot[Gn]=Ot[rn]=Ot[sn]=Ot[br]=Ot[ur]=Ot[Lr]=Ot[Nr]=!0,Ot[Lt]=Ot[$e]=Ot[rt]=!1;var hi={À:"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"},Vr={"&":"&","<":"<",">":">",'"':""","'":"'"},fa={"&":"&","<":"<",">":">",""":'"',"'":"'"},oi={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},er=parseFloat,Ja=parseInt,_a=typeof Qs=="object"&&Qs&&Qs.Object===Object&&Qs,vo=typeof self=="object"&&self&&self.Object===Object&&self,dn=_a||vo||Function("return this")(),da=t&&!t.nodeType&&t,si=da&&!0&&a&&!a.nodeType&&a,mo=si&&si.exports===da,Yi=mo&&_a.process,Vn=function(){try{var U=si&&si.require&&si.require("util").types;return U||Yi&&Yi.binding&&Yi.binding("util")}catch{}}(),i=Vn&&Vn.isArrayBuffer,c=Vn&&Vn.isDate,g=Vn&&Vn.isMap,b=Vn&&Vn.isRegExp,T=Vn&&Vn.isSet,R=Vn&&Vn.isTypedArray;function O(U,re,ne){switch(ne.length){case 0:return U.call(re);case 1:return U.call(re,ne[0]);case 2:return U.call(re,ne[0],ne[1]);case 3:return U.call(re,ne[0],ne[1],ne[2])}return U.apply(re,ne)}function Q(U,re,ne,Te){for(var Pe=-1,Ze=U==null?0:U.length;++Pe<Ze;){var Je=U[Pe];re(Te,Je,ne(Je),U)}return Te}function q(U,re){for(var ne=-1,Te=U==null?0:U.length;++ne<Te&&re(U[ne],ne,U)!==!1;);return U}function le(U,re){for(var ne=U==null?0:U.length;ne--&&re(U[ne],ne,U)!==!1;);return U}function Ce(U,re){for(var ne=-1,Te=U==null?0:U.length;++ne<Te;)if(!re(U[ne],ne,U))return!1;return!0}function ke(U,re){for(var ne=-1,Te=U==null?0:U.length,Pe=0,Ze=[];++ne<Te;){var Je=U[ne];re(Je,ne,U)&&(Ze[Pe++]=Je)}return Ze}function ge(U,re){var ne=U==null?0:U.length;return!!ne&&Jt(U,re,0)>-1}function Me(U,re,ne){for(var Te=-1,Pe=U==null?0:U.length;++Te<Pe;)if(ne(re,U[Te]))return!0;return!1}function Ke(U,re){for(var ne=-1,Te=U==null?0:U.length,Pe=Array(Te);++ne<Te;)Pe[ne]=re(U[ne],ne,U);return Pe}function bt(U,re){for(var ne=-1,Te=re.length,Pe=U.length;++ne<Te;)U[Pe+ne]=re[ne];return U}function Et(U,re,ne,Te){var Pe=-1,Ze=U==null?0:U.length;for(Te&&Ze&&(ne=U[++Pe]);++Pe<Ze;)ne=re(ne,U[Pe],Pe,U);return ne}function In(U,re,ne,Te){var Pe=U==null?0:U.length;for(Te&&Pe&&(ne=U[--Pe]);Pe--;)ne=re(ne,U[Pe],Pe,U);return ne}function on(U,re){for(var ne=-1,Te=U==null?0:U.length;++ne<Te;)if(re(U[ne],ne,U))return!0;return!1}var Ir=y("length");function _r(U){return U.split("")}function Ft(U){return U.match(zi)||[]}function Rr(U,re,ne){var Te;return ne(U,function(Pe,Ze,Je){if(re(Pe,Ze,Je))return Te=Ze,!1}),Te}function Bt(U,re,ne,Te){for(var Pe=U.length,Ze=ne+(Te?1:-1);Te?Ze--:++Ze<Pe;)if(re(U[Ze],Ze,U))return Ze;return-1}function Jt(U,re,ne){return re===re?il(U,re,ne):Bt(U,qi,ne)}function Gi(U,re,ne,Te){for(var Pe=ne-1,Ze=U.length;++Pe<Ze;)if(Te(U[Pe],re))return Pe;return-1}function qi(U){return U!==U}function pr(U,re){var ne=U==null?0:U.length;return ne?he(U,re)/ne:Re}function y(U){return function(re){return re==null?r:re[U]}}function E(U){return function(re){return U==null?r:U[re]}}function F(U,re,ne,Te,Pe){return Pe(U,function(Ze,Je,Ge){ne=Te?(Te=!1,Ze):re(ne,Ze,Je,Ge)}),ne}function V(U,re){var ne=U.length;for(U.sort(re);ne--;)U[ne]=U[ne].value;return U}function he(U,re){for(var ne,Te=-1,Pe=U.length;++Te<Pe;){var Ze=re(U[Te]);Ze!==r&&(ne=ne===r?Ze:ne+Ze)}return ne}function pe(U,re){for(var ne=-1,Te=Array(U);++ne<U;)Te[ne]=re(ne);return Te}function Ee(U,re){return Ke(re,function(ne){return[ne,U[ne]]})}function je(U){return U&&U.slice(0,Vo(U)+1).replace(an,"")}function ot(U){return function(re){return U(re)}}function Pt(U,re){return Ke(re,function(ne){return U[ne]})}function yt(U,re){return U.has(re)}function dt(U,re){for(var ne=-1,Te=U.length;++ne<Te&&Jt(re,U[ne],0)>-1;);return ne}function An(U,re){for(var ne=U.length;ne--&&Jt(re,U[ne],0)>-1;);return ne}function vn(U,re){for(var ne=U.length,Te=0;ne--;)U[ne]===re&&++Te;return Te}var Nn=E(hi),Ra=E(Vr);function yo(U){return"\\"+oi[U]}function Da(U,re){return U==null?r:U[re]}function Yr(U){return ai.test(U)}function zo(U){return ca.test(U)}function Xi(U){for(var re,ne=[];!(re=U.next()).done;)ne.push(re.value);return ne}function bo(U){var re=-1,ne=Array(U.size);return U.forEach(function(Te,Pe){ne[++re]=[Pe,Te]}),ne}function Aa(U,re){return function(ne){return U(re(ne))}}function li(U,re){for(var ne=-1,Te=U.length,Pe=0,Ze=[];++ne<Te;){var Je=U[ne];(Je===re||Je===X)&&(U[ne]=X,Ze[Pe++]=ne)}return Ze}function Di(U){var re=-1,ne=Array(U.size);return U.forEach(function(Te){ne[++re]=Te}),ne}function $o(U){var re=-1,ne=Array(U.size);return U.forEach(function(Te){ne[++re]=[Te,Te]}),ne}function il(U,re,ne){for(var Te=ne-1,Pe=U.length;++Te<Pe;)if(U[Te]===re)return Te;return-1}function Pa(U,re,ne){for(var Te=ne+1;Te--;)if(U[Te]===re)return Te;return Te}function Ki(U){return Yr(U)?wo(U):Ir(U)}function tr(U){return Yr(U)?$(U):_r(U)}function Vo(U){for(var re=U.length;re--&&ui.test(U.charAt(re)););return re}var So=E(fa);function wo(U){for(var re=Ka.lastIndex=0;Ka.test(U);)++re;return re}function $(U){return U.match(Ka)||[]}function oe(U){return U.match(Za)||[]}var ye=function U(re){re=re==null?dn:ve.defaults(dn.Object(),re,ve.pick(dn,Ia));var ne=re.Array,Te=re.Date,Pe=re.Error,Ze=re.Function,Je=re.Math,Ge=re.Object,Tt=re.RegExp,ht=re.String,jt=re.TypeError,_n=ne.prototype,Kn=Ze.prototype,Bn=Ge.prototype,Dr=re["__core-js_shared__"],Ai=Kn.toString,It=Bn.hasOwnProperty,Jl=0,wn=function(){var e=/[^.]+$/.exec(Dr&&Dr.keys&&Dr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Oa=Bn.toString,al=Ai.call(Ge),xn=dn._,xo=Tt("^"+Ai.call(It).replace(cr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Co=mo?re.Buffer:r,Zi=re.Symbol,ko=re.Uint8Array,Ts=Co?Co.allocUnsafe:r,Eo=Aa(Ge.getPrototypeOf,Ge),ol=Ge.create,sl=Bn.propertyIsEnumerable,Qa=_n.splice,Is=Zi?Zi.isConcatSpreadable:r,ha=Zi?Zi.iterator:r,Pi=Zi?Zi.toStringTag:r,pa=function(){try{var e=Ll(Ge,"defineProperty");return e({},"",{}),e}catch{}}(),Yo=re.clearTimeout!==dn.clearTimeout&&re.clearTimeout,Go=Te&&Te.now!==dn.Date.now&&Te.now,_s=re.setTimeout!==dn.setTimeout&&re.setTimeout,qo=Je.ceil,To=Je.floor,Xo=Ge.getOwnPropertySymbols,ll=Co?Co.isBuffer:r,ul=re.isFinite,Io=_n.join,cl=Aa(Ge.keys,Ge),Rn=Je.max,Dn=Je.min,fl=Te.now,dl=re.parseInt,ga=Je.random,Ql=_n.reverse,va=Ll(re,"DataView"),Oi=Ll(re,"Map"),Ko=Ll(re,"Promise"),Ar=Ll(re,"Set"),Ma=Ll(re,"WeakMap"),Fa=Ll(Ge,"create"),La=Ma&&new Ma,Na={},Zo=Nl(va),eu=Nl(Oi),tu=Nl(Ko),Rs=Nl(Ar),Jo=Nl(Ma),_o=Zi?Zi.prototype:r,Qo=_o?_o.valueOf:r,eo=_o?_o.toString:r;function N(e){if(Jn(e)&&!zt(e)&&!(e instanceof Wt)){if(e instanceof Pr)return e;if(It.call(e,"__wrapped__"))return vd(e)}return new Pr(e)}var Ba=function(){function e(){}return function(n){if(!Yn(n))return{};if(ol)return ol(n);e.prototype=n;var f=new e;return e.prototype=r,f}}();function to(){}function Pr(e,n){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=r}N.templateSettings={escape:En,evaluate:un,interpolate:Qr,variable:"",imports:{_:N}},N.prototype=to.prototype,N.prototype.constructor=N,Pr.prototype=Ba(to.prototype),Pr.prototype.constructor=Pr;function Wt(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Oe,this.__views__=[]}function Ds(){var e=new Wt(this.__wrapped__);return e.__actions__=ir(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ir(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ir(this.__views__),e}function Ro(){if(this.__filtered__){var e=new Wt(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function es(){var e=this.__wrapped__.value(),n=this.__dir__,f=zt(e),w=n<0,A=f?e.length:0,j=og(0,A,this.__views__),J=j.start,ae=j.end,de=ae-J,Fe=w?ae:J-1,Le=this.__iteratees__,Ue=Le.length,nt=0,pt=Dn(de,this.__takeCount__);if(!f||!w&&A==de&&pt==de)return Xr(e,this.__actions__);var _t=[];e:for(;de--&&nt<pt;){Fe+=n;for(var Gt=-1,Rt=e[Fe];++Gt<Ue;){var Kt=Le[Gt],Qt=Kt.iteratee,ka=Kt.type,Hi=Qt(Rt);if(ka==Zt)Rt=Hi;else if(!Hi){if(ka==kt)continue e;break e}}_t[nt++]=Rt}return _t}Wt.prototype=Ba(to.prototype),Wt.prototype.constructor=Wt;function Ji(e){var n=-1,f=e==null?0:e.length;for(this.clear();++n<f;){var w=e[n];this.set(w[0],w[1])}}function Do(){this.__data__=Fa?Fa(null):{},this.size=0}function As(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}function Ps(e){var n=this.__data__;if(Fa){var f=n[e];return f===_?r:f}return It.call(n,e)?n[e]:r}function Os(e){var n=this.__data__;return Fa?n[e]!==r:It.call(n,e)}function nu(e,n){var f=this.__data__;return this.size+=this.has(e)?0:1,f[e]=Fa&&n===r?_:n,this}Ji.prototype.clear=Do,Ji.prototype.delete=As,Ji.prototype.get=Ps,Ji.prototype.has=Os,Ji.prototype.set=nu;function Qi(e){var n=-1,f=e==null?0:e.length;for(this.clear();++n<f;){var w=e[n];this.set(w[0],w[1])}}function ru(){this.__data__=[],this.size=0}function Eu(e){var n=this.__data__,f=gi(n,e);if(f<0)return!1;var w=n.length-1;return f==w?n.pop():Qa.call(n,f,1),--this.size,!0}function Tu(e){var n=this.__data__,f=gi(n,e);return f<0?r:n[f][1]}function iu(e){return gi(this.__data__,e)>-1}function Iu(e,n){var f=this.__data__,w=gi(f,e);return w<0?(++this.size,f.push([e,n])):f[w][1]=n,this}Qi.prototype.clear=ru,Qi.prototype.delete=Eu,Qi.prototype.get=Tu,Qi.prototype.has=iu,Qi.prototype.set=Iu;function ma(e){var n=-1,f=e==null?0:e.length;for(this.clear();++n<f;){var w=e[n];this.set(w[0],w[1])}}function Ms(){this.size=0,this.__data__={hash:new Ji,map:new(Oi||Qi),string:new Ji}}function Fs(e){var n=Xu(this,e).delete(e);return this.size-=n?1:0,n}function _u(e){return Xu(this,e).get(e)}function hl(e){return Xu(this,e).has(e)}function Ls(e,n){var f=Xu(this,e),w=f.size;return f.set(e,n),this.size+=f.size==w?0:1,this}ma.prototype.clear=Ms,ma.prototype.delete=Fs,ma.prototype.get=_u,ma.prototype.has=hl,ma.prototype.set=Ls;function no(e){var n=-1,f=e==null?0:e.length;for(this.__data__=new ma;++n<f;)this.add(e[n])}function Ru(e){return this.__data__.set(e,_),this}function Du(e){return this.__data__.has(e)}no.prototype.add=no.prototype.push=Ru,no.prototype.has=Du;function Mi(e){var n=this.__data__=new Qi(e);this.size=n.size}function ya(){this.__data__=new Qi,this.size=0}function pl(e){var n=this.__data__,f=n.delete(e);return this.size=n.size,f}function Ns(e){return this.__data__.get(e)}function Xt(e){return this.__data__.has(e)}function ro(e,n){var f=this.__data__;if(f instanceof Qi){var w=f.__data__;if(!Oi||w.length<o-1)return w.push([e,n]),this.size=++f.size,this;f=this.__data__=new ma(w)}return f.set(e,n),this.size=f.size,this}Mi.prototype.clear=ya,Mi.prototype.delete=pl,Mi.prototype.get=Ns,Mi.prototype.has=Xt,Mi.prototype.set=ro;function ja(e,n){var f=zt(e),w=!f&&Bl(e),A=!f&&!w&&Js(e),j=!f&&!w&&!A&&yu(e),J=f||w||A||j,ae=J?pe(e.length,ht):[],de=ae.length;for(var Fe in e)(n||It.call(e,Fe))&&!(J&&(Fe=="length"||A&&(Fe=="offset"||Fe=="parent")||j&&(Fe=="buffer"||Fe=="byteLength"||Fe=="byteOffset")||bs(Fe,de)))&&ae.push(Fe);return ae}function tn(e){var n=e.length;return n?e[$s(0,n-1)]:r}function pi(e,n){return Ku(ir(e),Ha(n,0,e.length))}function io(e){return Ku(ir(e))}function Ao(e,n,f){(f!==r&&!po(e[n],f)||f===r&&!(n in e))&&nr(e,n,f)}function Pn(e,n,f){var w=e[n];(!(It.call(e,n)&&po(w,f))||f===r&&!(n in e))&&nr(e,n,f)}function gi(e,n){for(var f=e.length;f--;)if(po(e[f][0],n))return f;return-1}function ao(e,n,f,w){return Ua(e,function(A,j,J){n(w,A,f(A),J)}),w}function Fi(e,n){return e&&na(n,Kr(n),e)}function oo(e,n){return e&&na(n,ia(n),e)}function nr(e,n,f){n=="__proto__"&&pa?pa(e,n,{configurable:!0,enumerable:!0,value:f,writable:!0}):e[n]=f}function gl(e,n){for(var f=-1,w=n.length,A=ne(w),j=e==null;++f<w;)A[f]=j?r:Yc(e,n[f]);return A}function Ha(e,n,f){return e===e&&(f!==r&&(e=e<=f?e:f),n!==r&&(e=e>=n?e:n)),e}function Or(e,n,f,w,A,j){var J,ae=n&z,de=n&K,Fe=n&be;if(f&&(J=A?f(e,w,A,j):f(e)),J!==r)return J;if(!Yn(e))return e;var Le=zt(e);if(Le){if(J=lg(e),!ae)return ir(e,J)}else{var Ue=bi(e),nt=Ue==$e||Ue==Nt;if(Js(e))return Pl(e,ae);if(Ue==Un||Ue==Ve||nt&&!A){if(J=de||nt?{}:sd(e),!ae)return de?Ks(e,oo(J,e)):gu(e,Fi(J,e))}else{if(!Ot[Ue])return A?e:{};J=ug(e,Ue,ae)}}j||(j=new Mi);var pt=j.get(e);if(pt)return pt;j.set(e,J),Ld(e)?e.forEach(function(Rt){J.add(Or(Rt,n,f,Rt,e,j))}):Md(e)&&e.forEach(function(Rt,Kt){J.set(Kt,Or(Rt,n,f,Kt,e,j))});var _t=Fe?de?Pc:Ac:de?ia:Kr,Gt=Le?r:_t(e);return q(Gt||e,function(Rt,Kt){Gt&&(Kt=Rt,Rt=e[Kt]),Pn(J,Kt,Or(Rt,n,f,Kt,e,j))}),J}function vl(e){var n=Kr(e);return function(f){return au(f,e,n)}}function au(e,n,f){var w=f.length;if(e==null)return!w;for(e=Ge(e);w--;){var A=f[w],j=n[A],J=e[A];if(J===r&&!(A in e)||!j(J))return!1}return!0}function ml(e,n,f){if(typeof e!="function")throw new jt(x);return Fu(function(){e.apply(r,f)},n)}function ba(e,n,f,w){var A=-1,j=ge,J=!0,ae=e.length,de=[],Fe=n.length;if(!ae)return de;f&&(n=Ke(n,ot(f))),w?(j=Me,J=!1):n.length>=o&&(j=yt,J=!1,n=new no(n));e:for(;++A<ae;){var Le=e[A],Ue=f==null?Le:f(Le);if(Le=w||Le!==0?Le:0,J&&Ue===Ue){for(var nt=Fe;nt--;)if(n[nt]===Ue)continue e;de.push(Le)}else j(n,Ue,w)||de.push(Le)}return de}var Ua=h(ea),yl=h(wl,!0);function Bs(e,n){var f=!0;return Ua(e,function(w,A,j){return f=!!n(w,A,j),f}),f}function js(e,n,f){for(var w=-1,A=e.length;++w<A;){var j=e[w],J=n(j);if(J!=null&&(ae===r?J===J&&!Ca(J):f(J,ae)))var ae=J,de=j}return de}function ou(e,n,f,w){var A=e.length;for(f=Yt(f),f<0&&(f=-f>A?0:A+f),w=w===r||w>A?A:Yt(w),w<0&&(w+=A),w=f>w?0:Bd(w);f<w;)e[f++]=n;return e}function bl(e,n){var f=[];return Ua(e,function(w,A,j){n(w,A,j)&&f.push(w)}),f}function rr(e,n,f,w,A){var j=-1,J=e.length;for(f||(f=fg),A||(A=[]);++j<J;){var ae=e[j];n>0&&f(ae)?n>1?rr(ae,n-1,f,w,A):bt(A,ae):w||(A[A.length]=ae)}return A}var Sl=C(),su=C(!0);function ea(e,n){return e&&Sl(e,n,Kr)}function wl(e,n){return e&&su(e,n,Kr)}function Hs(e,n){return ke(n,function(f){return Ss(e[f])})}function so(e,n){n=xa(n,e);for(var f=0,w=n.length;e!=null&&f<w;)e=e[jo(n[f++])];return f&&f==w?e:r}function ts(e,n,f){var w=n(e);return zt(e)?w:bt(w,f(e))}function gr(e){return e==null?e===r?ln:lr:Pi&&Pi in Ge(e)?ag(e):yg(e)}function ns(e,n){return e>n}function rs(e,n){return e!=null&&It.call(e,n)}function lu(e,n){return e!=null&&n in Ge(e)}function is(e,n,f){return e>=Dn(n,f)&&e<Rn(n,f)}function Po(e,n,f){for(var w=f?Me:ge,A=e[0].length,j=e.length,J=j,ae=ne(j),de=1/0,Fe=[];J--;){var Le=e[J];J&&n&&(Le=Ke(Le,ot(n))),de=Dn(Le.length,de),ae[J]=!f&&(n||A>=120&&Le.length>=120)?new no(J&&Le):r}Le=e[0];var Ue=-1,nt=ae[0];e:for(;++Ue<A&&Fe.length<de;){var pt=Le[Ue],_t=n?n(pt):pt;if(pt=f||pt!==0?pt:0,!(nt?yt(nt,_t):w(Fe,_t,f))){for(J=j;--J;){var Gt=ae[J];if(!(Gt?yt(Gt,_t):w(e[J],_t,f)))continue e}nt&&nt.push(_t),Fe.push(pt)}}return Fe}function xl(e,n,f,w){return ea(e,function(A,j,J){n(w,f(A),j,J)}),w}function vi(e,n,f){n=xa(n,e),e=fd(e,n);var w=e==null?e:e[jo(za(n))];return w==null?r:O(w,e,f)}function as(e){return Jn(e)&&gr(e)==Ve}function Us(e){return Jn(e)&&gr(e)==Zr}function lo(e){return Jn(e)&&gr(e)==vt}function Oo(e,n,f,w,A){return e===n?!0:e==null||n==null||!Jn(e)&&!Jn(n)?e!==e&&n!==n:Cl(e,n,f,w,Oo,A)}function Cl(e,n,f,w,A,j){var J=zt(e),ae=zt(n),de=J?Ye:bi(e),Fe=ae?Ye:bi(n);de=de==Ve?Un:de,Fe=Fe==Ve?Un:Fe;var Le=de==Un,Ue=Fe==Un,nt=de==Fe;if(nt&&Js(e)){if(!Js(n))return!1;J=!0,Le=!1}if(nt&&!Le)return j||(j=new Mi),J||yu(e)?ms(e,n,f,w,A,j):Rc(e,n,de,f,w,A,j);if(!(f&ue)){var pt=Le&&It.call(e,"__wrapped__"),_t=Ue&&It.call(n,"__wrapped__");if(pt||_t){var Gt=pt?e.value():e,Rt=_t?n.value():n;return j||(j=new Mi),A(Gt,Rt,f,w,j)}}return nt?(j||(j=new Mi),Dc(e,n,f,w,A,j)):!1}function uo(e){return Jn(e)&&bi(e)==Ut}function kl(e,n,f,w){var A=f.length,j=A,J=!w;if(e==null)return!j;for(e=Ge(e);A--;){var ae=f[A];if(J&&ae[2]?ae[1]!==e[ae[0]]:!(ae[0]in e))return!1}for(;++A<j;){ae=f[A];var de=ae[0],Fe=e[de],Le=ae[1];if(J&&ae[2]){if(Fe===r&&!(de in e))return!1}else{var Ue=new Mi;if(w)var nt=w(Fe,Le,de,e,n,Ue);if(!(nt===r?Oo(Le,Fe,ue|ce,w,Ue):nt))return!1}}return!0}function El(e){if(!Yn(e)||hg(e))return!1;var n=Ss(e)?xo:di;return n.test(Nl(e))}function ta(e){return Jn(e)&&gr(e)==mr}function Au(e){return Jn(e)&&bi(e)==Gn}function Pu(e){return Jn(e)&&nc(e.length)&&!!Vt[gr(e)]}function Mo(e){return typeof e=="function"?e:e==null?aa:typeof e=="object"?zt(e)?Ni(e[0],e[1]):Sa(e):Xd(e)}function os(e){if(!Mu(e))return cl(e);var n=[];for(var f in Ge(e))It.call(e,f)&&f!="constructor"&&n.push(f);return n}function Ws(e){if(!Yn(e))return mg(e);var n=Mu(e),f=[];for(var w in e)w=="constructor"&&(n||!It.call(e,w))||f.push(w);return f}function Li(e,n){return e<n}function Fo(e,n){var f=-1,w=ra(e)?ne(e.length):[];return Ua(e,function(A,j,J){w[++f]=n(A,j,J)}),w}function Sa(e){var n=Mc(e);return n.length==1&&n[0][2]?ud(n[0][0],n[0][1]):function(f){return f===e||kl(f,e,n)}}function Ni(e,n){return Lc(e)&&ld(n)?ud(jo(e),n):function(f){var w=Yc(f,e);return w===r&&w===n?Gc(f,e):Oo(n,w,ue|ce)}}function Lo(e,n,f,w,A){e!==n&&Sl(n,function(j,J){if(A||(A=new Mi),Yn(j))mi(e,n,J,f,Lo,w,A);else{var ae=w?w(Bc(e,J),j,J+"",e,n,A):r;ae===r&&(ae=j),Ao(e,J,ae)}},ia)}function mi(e,n,f,w,A,j,J){var ae=Bc(e,f),de=Bc(n,f),Fe=J.get(de);if(Fe){Ao(e,f,Fe);return}var Le=j?j(ae,de,f+"",e,n,J):r,Ue=Le===r;if(Ue){var nt=zt(de),pt=!nt&&Js(de),_t=!nt&&!pt&&yu(de);Le=de,nt||pt||_t?zt(ae)?Le=ae:ar(ae)?Le=ir(ae):pt?(Ue=!1,Le=Pl(de,!0)):_t?(Ue=!1,Le=Ol(de,!0)):Le=[]:Lu(de)||Bl(de)?(Le=ae,Bl(ae)?Le=jd(ae):(!Yn(ae)||Ss(ae))&&(Le=sd(de))):Ue=!1}Ue&&(J.set(de,Le),A(Le,de,w,j,J),J.delete(de)),Ao(e,f,Le)}function co(e,n){var f=e.length;if(f)return n+=n<0?f:0,bs(n,f)?e[n]:r}function zs(e,n,f){n.length?n=Ke(n,function(j){return zt(j)?function(J){return so(J,j.length===1?j[0]:j)}:j}):n=[aa];var w=-1;n=Ke(n,ot(xt()));var A=Fo(e,function(j,J,ae){var de=Ke(n,function(Fe){return Fe(j)});return{criteria:de,index:++w,value:j}});return V(A,function(j,J){return vs(j,J,f)})}function yi(e,n){return wa(e,n,function(f,w){return Gc(e,w)})}function wa(e,n,f){for(var w=-1,A=n.length,j={};++w<A;){var J=n[w],ae=so(e,J);f(ae,J)&&ho(j,xa(J,e),ae)}return j}function Tl(e){return function(n){return so(n,e)}}function fo(e,n,f,w){var A=w?Gi:Jt,j=-1,J=n.length,ae=e;for(e===n&&(n=ir(n)),f&&(ae=Ke(e,ot(f)));++j<J;)for(var de=0,Fe=n[j],Le=f?f(Fe):Fe;(de=A(ae,Le,de,w))>-1;)ae!==e&&Qa.call(ae,de,1),Qa.call(e,de,1);return e}function ss(e,n){for(var f=e?n.length:0,w=f-1;f--;){var A=n[f];if(f==w||A!==j){var j=A;bs(A)?Qa.call(e,A,1):Dl(e,A)}}return e}function $s(e,n){return e+To(ga()*(n-e+1))}function uu(e,n,f,w){for(var A=-1,j=Rn(qo((n-e)/(f||1)),0),J=ne(j);j--;)J[w?j:++A]=e,e+=f;return J}function Il(e,n){var f="";if(!e||n<1||n>Xe)return f;do n%2&&(f+=e),n=To(n/2),n&&(e+=e);while(n);return f}function Ht(e,n){return jc(cd(e,n,aa),e+"")}function ls(e){return tn(bu(e))}function cu(e,n){var f=bu(e);return Ku(f,Ha(n,0,f.length))}function ho(e,n,f,w){if(!Yn(e))return e;n=xa(n,e);for(var A=-1,j=n.length,J=j-1,ae=e;ae!=null&&++A<j;){var de=jo(n[A]),Fe=f;if(de==="__proto__"||de==="constructor"||de==="prototype")return e;if(A!=J){var Le=ae[de];Fe=w?w(Le,de,ae):r,Fe===r&&(Fe=Yn(Le)?Le:bs(n[A+1])?[]:{})}Pn(ae,de,Fe),ae=ae[de]}return e}var No=La?function(e,n){return La.set(e,n),e}:aa,_l=pa?function(e,n){return pa(e,"toString",{configurable:!0,enumerable:!1,value:Xc(n),writable:!0})}:aa;function Rl(e){return Ku(bu(e))}function Gr(e,n,f){var w=-1,A=e.length;n<0&&(n=-n>A?0:A+n),f=f>A?A:f,f<0&&(f+=A),A=n>f?0:f-n>>>0,n>>>=0;for(var j=ne(A);++w<A;)j[w]=e[w+n];return j}function fu(e,n){var f;return Ua(e,function(w,A,j){return f=n(w,A,j),!f}),!!f}function us(e,n,f){var w=0,A=e==null?w:e.length;if(typeof n=="number"&&n===n&&A<=et){for(;w<A;){var j=w+A>>>1,J=e[j];J!==null&&!Ca(J)&&(f?J<=n:J<n)?w=j+1:A=j}return A}return cs(e,n,aa,f)}function cs(e,n,f,w){var A=0,j=e==null?0:e.length;if(j===0)return 0;n=f(n);for(var J=n!==n,ae=n===null,de=Ca(n),Fe=n===r;A<j;){var Le=To((A+j)/2),Ue=f(e[Le]),nt=Ue!==r,pt=Ue===null,_t=Ue===Ue,Gt=Ca(Ue);if(J)var Rt=w||_t;else Fe?Rt=_t&&(w||nt):ae?Rt=_t&&nt&&(w||!pt):de?Rt=_t&&nt&&!pt&&(w||!Gt):pt||Gt?Rt=!1:Rt=w?Ue<=n:Ue<n;Rt?A=Le+1:j=Le}return Dn(j,ze)}function du(e,n){for(var f=-1,w=e.length,A=0,j=[];++f<w;){var J=e[f],ae=n?n(J):J;if(!f||!po(ae,de)){var de=ae;j[A++]=J===0?0:J}}return j}function hu(e){return typeof e=="number"?e:Ca(e)?Re:+e}function qr(e){if(typeof e=="string")return e;if(zt(e))return Ke(e,qr)+"";if(Ca(e))return eo?eo.call(e):"";var n=e+"";return n=="0"&&1/e==-mt?"-0":n}function Wa(e,n,f){var w=-1,A=ge,j=e.length,J=!0,ae=[],de=ae;if(f)J=!1,A=Me;else if(j>=o){var Fe=n?null:mn(e);if(Fe)return Di(Fe);J=!1,A=yt,de=new no}else de=n?[]:ae;e:for(;++w<j;){var Le=e[w],Ue=n?n(Le):Le;if(Le=f||Le!==0?Le:0,J&&Ue===Ue){for(var nt=de.length;nt--;)if(de[nt]===Ue)continue e;n&&de.push(Ue),ae.push(Le)}else A(de,Ue,f)||(de!==ae&&de.push(Ue),ae.push(Le))}return ae}function Dl(e,n){return n=xa(n,e),e=fd(e,n),e==null||delete e[jo(za(n))]}function Vs(e,n,f,w){return ho(e,n,f(so(e,n)),w)}function Ys(e,n,f,w){for(var A=e.length,j=w?A:-1;(w?j--:++j<A)&&n(e[j],j,e););return f?Gr(e,w?0:j,w?j+1:A):Gr(e,w?j+1:0,w?A:j)}function Xr(e,n){var f=e;return f instanceof Wt&&(f=f.value()),Et(n,function(w,A){return A.func.apply(A.thisArg,bt([w],A.args))},f)}function fs(e,n,f){var w=e.length;if(w<2)return w?Wa(e[0]):[];for(var A=-1,j=ne(w);++A<w;)for(var J=e[A],ae=-1;++ae<w;)ae!=A&&(j[A]=ba(j[A]||J,e[ae],n,f));return Wa(rr(j,1),n,f)}function Al(e,n,f){for(var w=-1,A=e.length,j=n.length,J={};++w<A;){var ae=w<j?n[w]:r;f(J,e[w],ae)}return J}function Mr(e){return ar(e)?e:[]}function ds(e){return typeof e=="function"?e:aa}function xa(e,n){return zt(e)?e:Lc(e,n)?[e]:gd(hn(e))}var Ou=Ht;function Bi(e,n,f){var w=e.length;return f=f===r?w:f,!n&&f>=w?e:Gr(e,n,f)}var hs=Yo||function(e){return dn.clearTimeout(e)};function Pl(e,n){if(n)return e.slice();var f=e.length,w=Ts?Ts(f):new e.constructor(f);return e.copy(w),w}function Gs(e){var n=new e.constructor(e.byteLength);return new ko(n).set(new ko(e)),n}function ps(e,n){var f=n?Gs(e.buffer):e.buffer;return new e.constructor(f,e.byteOffset,e.byteLength)}function gs(e){var n=new e.constructor(e.source,ni.exec(e));return n.lastIndex=e.lastIndex,n}function qs(e){return Qo?Ge(Qo.call(e)):{}}function Ol(e,n){var f=n?Gs(e.buffer):e.buffer;return new e.constructor(f,e.byteOffset,e.length)}function Bo(e,n){if(e!==n){var f=e!==r,w=e===null,A=e===e,j=Ca(e),J=n!==r,ae=n===null,de=n===n,Fe=Ca(n);if(!ae&&!Fe&&!j&&e>n||j&&J&&de&&!ae&&!Fe||w&&J&&de||!f&&de||!A)return 1;if(!w&&!j&&!Fe&&e<n||Fe&&f&&A&&!w&&!j||ae&&f&&A||!J&&A||!de)return-1}return 0}function vs(e,n,f){for(var w=-1,A=e.criteria,j=n.criteria,J=A.length,ae=f.length;++w<J;){var de=Bo(A[w],j[w]);if(de){if(w>=ae)return de;var Fe=f[w];return de*(Fe=="desc"?-1:1)}}return e.index-n.index}function pu(e,n,f,w){for(var A=-1,j=e.length,J=f.length,ae=-1,de=n.length,Fe=Rn(j-J,0),Le=ne(de+Fe),Ue=!w;++ae<de;)Le[ae]=n[ae];for(;++A<J;)(Ue||A<j)&&(Le[f[A]]=e[A]);for(;Fe--;)Le[ae++]=e[A++];return Le}function Xs(e,n,f,w){for(var A=-1,j=e.length,J=-1,ae=f.length,de=-1,Fe=n.length,Le=Rn(j-ae,0),Ue=ne(Le+Fe),nt=!w;++A<Le;)Ue[A]=e[A];for(var pt=A;++de<Fe;)Ue[pt+de]=n[de];for(;++J<ae;)(nt||A<j)&&(Ue[pt+f[J]]=e[A++]);return Ue}function ir(e,n){var f=-1,w=e.length;for(n||(n=ne(w));++f<w;)n[f]=e[f];return n}function na(e,n,f,w){var A=!f;f||(f={});for(var j=-1,J=n.length;++j<J;){var ae=n[j],de=w?w(f[ae],e[ae],ae,f,e):r;de===r&&(de=e[ae]),A?nr(f,ae,de):Pn(f,ae,de)}return f}function gu(e,n){return na(e,Fc(e),n)}function Ks(e,n){return na(e,ad(e),n)}function Zs(e,n){return function(f,w){var A=zt(f)?Q:ao,j=n?n():{};return A(f,e,xt(w,2),j)}}function l(e){return Ht(function(n,f){var w=-1,A=f.length,j=A>1?f[A-1]:r,J=A>2?f[2]:r;for(j=e.length>3&&typeof j=="function"?(A--,j):r,J&&ji(f[0],f[1],J)&&(j=A<3?r:j,A=1),n=Ge(n);++w<A;){var ae=f[w];ae&&e(n,ae,w,j)}return n})}function h(e,n){return function(f,w){if(f==null)return f;if(!ra(f))return e(f,w);for(var A=f.length,j=n?A:-1,J=Ge(f);(n?j--:++j<A)&&w(J[j],j,J)!==!1;);return f}}function C(e){return function(n,f,w){for(var A=-1,j=Ge(n),J=w(n),ae=J.length;ae--;){var de=J[e?ae:++A];if(f(j[de],de,j)===!1)break}return n}}function D(e,n,f){var w=n&ee,A=ie(e);function j(){var J=this&&this!==dn&&this instanceof j?A:e;return J.apply(w?f:this,arguments)}return j}function H(e){return function(n){n=hn(n);var f=Yr(n)?tr(n):r,w=f?f[0]:n.charAt(0),A=f?Bi(f,1).join(""):n.slice(1);return w[e]()+A}}function Z(e){return function(n){return Et(Gd(Yd(n).replace(qa,"")),e,"")}}function ie(e){return function(){var n=arguments;switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3]);case 5:return new e(n[0],n[1],n[2],n[3],n[4]);case 6:return new e(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new e(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var f=Ba(e.prototype),w=e.apply(f,n);return Yn(w)?w:f}}function we(e,n,f){var w=ie(e);function A(){for(var j=arguments.length,J=ne(j),ae=j,de=mu(A);ae--;)J[ae]=arguments[ae];var Fe=j<3&&J[0]!==de&&J[j-1]!==de?[]:li(J,de);if(j-=Fe.length,j<f)return st(e,n,S,A.placeholder,r,J,Fe,r,r,f-j);var Le=this&&this!==dn&&this instanceof A?w:e;return O(Le,this,J)}return A}function s(e){return function(n,f,w){var A=Ge(n);if(!ra(n)){var j=xt(f,3);n=Kr(n),f=function(ae){return j(A[ae],ae,A)}}var J=e(n,f,w);return J>-1?A[j?n[J]:J]:r}}function d(e){return ys(function(n){var f=n.length,w=f,A=Pr.prototype.thru;for(e&&n.reverse();w--;){var j=n[w];if(typeof j!="function")throw new jt(x);if(A&&!J&&qu(j)=="wrapper")var J=new Pr([],!0)}for(w=J?w:f;++w<f;){j=n[w];var ae=qu(j),de=ae=="wrapper"?Oc(j):r;de&&Nc(de[0])&&de[1]==(v|Ie|fe|We)&&!de[4].length&&de[9]==1?J=J[qu(de[0])].apply(J,de[3]):J=j.length==1&&Nc(j)?J[ae]():J.thru(j)}return function(){var Fe=arguments,Le=Fe[0];if(J&&Fe.length==1&&zt(Le))return J.plant(Le).value();for(var Ue=0,nt=f?n[Ue].apply(this,Fe):Le;++Ue<f;)nt=n[Ue].call(this,nt);return nt}})}function S(e,n,f,w,A,j,J,ae,de,Fe){var Le=n&v,Ue=n&ee,nt=n&W,pt=n&(Ie|Ae),_t=n&De,Gt=nt?r:ie(e);function Rt(){for(var Kt=arguments.length,Qt=ne(Kt),ka=Kt;ka--;)Qt[ka]=arguments[ka];if(pt)var Hi=mu(Rt),Ea=vn(Qt,Hi);if(w&&(Qt=pu(Qt,w,A,pt)),j&&(Qt=Xs(Qt,j,J,pt)),Kt-=Ea,pt&&Kt<Fe){var or=li(Qt,Hi);return st(e,n,S,Rt.placeholder,f,Qt,or,ae,de,Fe-Kt)}var go=Ue?f:this,xs=nt?go[e]:e;return Kt=Qt.length,ae?Qt=bg(Qt,ae):_t&&Kt>1&&Qt.reverse(),Le&&de<Kt&&(Qt.length=de),this&&this!==dn&&this instanceof Rt&&(xs=Gt||ie(xs)),xs.apply(go,Qt)}return Rt}function k(e,n){return function(f,w){return xl(f,e,n(w),{})}}function L(e,n){return function(f,w){var A;if(f===r&&w===r)return n;if(f!==r&&(A=f),w!==r){if(A===r)return w;typeof f=="string"||typeof w=="string"?(f=qr(f),w=qr(w)):(f=hu(f),w=hu(w)),A=e(f,w)}return A}}function G(e){return ys(function(n){return n=Ke(n,ot(xt())),Ht(function(f){var w=this;return e(n,function(A){return O(A,w,f)})})})}function te(e,n){n=n===r?" ":qr(n);var f=n.length;if(f<2)return f?Il(n,e):n;var w=Il(n,qo(e/Ki(n)));return Yr(n)?Bi(tr(w),0,e).join(""):w.slice(0,e)}function Se(e,n,f,w){var A=n&ee,j=ie(e);function J(){for(var ae=-1,de=arguments.length,Fe=-1,Le=w.length,Ue=ne(Le+de),nt=this&&this!==dn&&this instanceof J?j:e;++Fe<Le;)Ue[Fe]=w[Fe];for(;de--;)Ue[Fe++]=arguments[++ae];return O(nt,A?f:this,Ue)}return J}function Ne(e){return function(n,f,w){return w&&typeof w!="number"&&ji(n,f,w)&&(f=w=r),n=ws(n),f===r?(f=n,n=0):f=ws(f),w=w===r?n<f?1:-1:ws(w),uu(n,f,w,e)}}function Qe(e){return function(n,f){return typeof n=="string"&&typeof f=="string"||(n=$a(n),f=$a(f)),e(n,f)}}function st(e,n,f,w,A,j,J,ae,de,Fe){var Le=n&Ie,Ue=Le?J:r,nt=Le?r:J,pt=Le?j:r,_t=Le?r:j;n|=Le?fe:Be,n&=~(Le?Be:fe),n&_e||(n&=~(ee|W));var Gt=[e,n,A,pt,Ue,_t,nt,ae,de,Fe],Rt=f.apply(r,Gt);return Nc(e)&&dd(Rt,Gt),Rt.placeholder=w,hd(Rt,e,n)}function St(e){var n=Je[e];return function(f,w){if(f=$a(f),w=w==null?0:Dn(Yt(w),292),w&&ul(f)){var A=(hn(f)+"e").split("e"),j=n(A[0]+"e"+(+A[1]+w));return A=(hn(j)+"e").split("e"),+(A[0]+"e"+(+A[1]-w))}return n(f)}}var mn=Ar&&1/Di(new Ar([,-0]))[1]==mt?function(e){return new Ar(e)}:Jc;function Zn(e){return function(n){var f=bi(n);return f==Ut?bo(n):f==Gn?$o(n):Ee(n,e(n))}}function jn(e,n,f,w,A,j,J,ae){var de=n&W;if(!de&&typeof e!="function")throw new jt(x);var Fe=w?w.length:0;if(Fe||(n&=~(fe|Be),w=A=r),J=J===r?J:Rn(Yt(J),0),ae=ae===r?ae:Yt(ae),Fe-=A?A.length:0,n&Be){var Le=w,Ue=A;w=A=r}var nt=de?r:Oc(e),pt=[e,n,f,w,A,Le,Ue,j,J,ae];if(nt&&vg(pt,nt),e=pt[0],n=pt[1],f=pt[2],w=pt[3],A=pt[4],ae=pt[9]=pt[9]===r?de?0:e.length:Rn(pt[9]-Fe,0),!ae&&n&(Ie|Ae)&&(n&=~(Ie|Ae)),!n||n==ee)var _t=D(e,n,f);else n==Ie||n==Ae?_t=we(e,n,ae):(n==fe||n==(ee|fe))&&!A.length?_t=Se(e,n,f,w):_t=S.apply(r,pt);var Gt=nt?No:dd;return hd(Gt(_t,pt),e,n)}function Ml(e,n,f,w){return e===r||po(e,Bn[f])&&!It.call(w,f)?n:e}function Fl(e,n,f,w,A,j){return Yn(e)&&Yn(n)&&(j.set(n,e),Lo(e,n,r,Fl,j),j.delete(n)),e}function vu(e){return Lu(e)?r:e}function ms(e,n,f,w,A,j){var J=f&ue,ae=e.length,de=n.length;if(ae!=de&&!(J&&de>ae))return!1;var Fe=j.get(e),Le=j.get(n);if(Fe&&Le)return Fe==n&&Le==e;var Ue=-1,nt=!0,pt=f&ce?new no:r;for(j.set(e,n),j.set(n,e);++Ue<ae;){var _t=e[Ue],Gt=n[Ue];if(w)var Rt=J?w(Gt,_t,Ue,n,e,j):w(_t,Gt,Ue,e,n,j);if(Rt!==r){if(Rt)continue;nt=!1;break}if(pt){if(!on(n,function(Kt,Qt){if(!yt(pt,Qt)&&(_t===Kt||A(_t,Kt,f,w,j)))return pt.push(Qt)})){nt=!1;break}}else if(!(_t===Gt||A(_t,Gt,f,w,j))){nt=!1;break}}return j.delete(e),j.delete(n),nt}function Rc(e,n,f,w,A,j,J){switch(f){case nn:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case Zr:return!(e.byteLength!=n.byteLength||!j(new ko(e),new ko(n)));case gt:case vt:case Hn:return po(+e,+n);case Lt:return e.name==n.name&&e.message==n.message;case mr:case rn:return e==n+"";case Ut:var ae=bo;case Gn:var de=w&ue;if(ae||(ae=Di),e.size!=n.size&&!de)return!1;var Fe=J.get(e);if(Fe)return Fe==n;w|=ce,J.set(e,n);var Le=ms(ae(e),ae(n),w,A,j,J);return J.delete(e),Le;case sn:if(Qo)return Qo.call(e)==Qo.call(n)}return!1}function Dc(e,n,f,w,A,j){var J=f&ue,ae=Ac(e),de=ae.length,Fe=Ac(n),Le=Fe.length;if(de!=Le&&!J)return!1;for(var Ue=de;Ue--;){var nt=ae[Ue];if(!(J?nt in n:It.call(n,nt)))return!1}var pt=j.get(e),_t=j.get(n);if(pt&&_t)return pt==n&&_t==e;var Gt=!0;j.set(e,n),j.set(n,e);for(var Rt=J;++Ue<de;){nt=ae[Ue];var Kt=e[nt],Qt=n[nt];if(w)var ka=J?w(Qt,Kt,nt,n,e,j):w(Kt,Qt,nt,e,n,j);if(!(ka===r?Kt===Qt||A(Kt,Qt,f,w,j):ka)){Gt=!1;break}Rt||(Rt=nt=="constructor")}if(Gt&&!Rt){var Hi=e.constructor,Ea=n.constructor;Hi!=Ea&&"constructor"in e&&"constructor"in n&&!(typeof Hi=="function"&&Hi instanceof Hi&&typeof Ea=="function"&&Ea instanceof Ea)&&(Gt=!1)}return j.delete(e),j.delete(n),Gt}function ys(e){return jc(cd(e,r,bd),e+"")}function Ac(e){return ts(e,Kr,Fc)}function Pc(e){return ts(e,ia,ad)}var Oc=La?function(e){return La.get(e)}:Jc;function qu(e){for(var n=e.name+"",f=Na[n],w=It.call(Na,n)?f.length:0;w--;){var A=f[w],j=A.func;if(j==null||j==e)return A.name}return n}function mu(e){var n=It.call(N,"placeholder")?N:e;return n.placeholder}function xt(){var e=N.iteratee||Kc;return e=e===Kc?Mo:e,arguments.length?e(arguments[0],arguments[1]):e}function Xu(e,n){var f=e.__data__;return dg(n)?f[typeof n=="string"?"string":"hash"]:f.map}function Mc(e){for(var n=Kr(e),f=n.length;f--;){var w=n[f],A=e[w];n[f]=[w,A,ld(A)]}return n}function Ll(e,n){var f=Da(e,n);return El(f)?f:r}function ag(e){var n=It.call(e,Pi),f=e[Pi];try{e[Pi]=r;var w=!0}catch{}var A=Oa.call(e);return w&&(n?e[Pi]=f:delete e[Pi]),A}var Fc=Xo?function(e){return e==null?[]:(e=Ge(e),ke(Xo(e),function(n){return sl.call(e,n)}))}:Qc,ad=Xo?function(e){for(var n=[];e;)bt(n,Fc(e)),e=Eo(e);return n}:Qc,bi=gr;(va&&bi(new va(new ArrayBuffer(1)))!=nn||Oi&&bi(new Oi)!=Ut||Ko&&bi(Ko.resolve())!=bn||Ar&&bi(new Ar)!=Gn||Ma&&bi(new Ma)!=rt)&&(bi=function(e){var n=gr(e),f=n==Un?e.constructor:r,w=f?Nl(f):"";if(w)switch(w){case Zo:return nn;case eu:return Ut;case tu:return bn;case Rs:return Gn;case Jo:return rt}return n});function og(e,n,f){for(var w=-1,A=f.length;++w<A;){var j=f[w],J=j.size;switch(j.type){case"drop":e+=J;break;case"dropRight":n-=J;break;case"take":n=Dn(n,e+J);break;case"takeRight":e=Rn(e,n-J);break}}return{start:e,end:n}}function sg(e){var n=e.match(Ga);return n?n[1].split(jr):[]}function od(e,n,f){n=xa(n,e);for(var w=-1,A=n.length,j=!1;++w<A;){var J=jo(n[w]);if(!(j=e!=null&&f(e,J)))break;e=e[J]}return j||++w!=A?j:(A=e==null?0:e.length,!!A&&nc(A)&&bs(J,A)&&(zt(e)||Bl(e)))}function lg(e){var n=e.length,f=new e.constructor(n);return n&&typeof e[0]=="string"&&It.call(e,"index")&&(f.index=e.index,f.input=e.input),f}function sd(e){return typeof e.constructor=="function"&&!Mu(e)?Ba(Eo(e)):{}}function ug(e,n,f){var w=e.constructor;switch(n){case Zr:return Gs(e);case gt:case vt:return new w(+e);case nn:return ps(e,f);case xi:case Ci:case ki:case yr:case Mn:case br:case ur:case Lr:case Nr:return Ol(e,f);case Ut:return new w;case Hn:case rn:return new w(e);case mr:return gs(e);case Gn:return new w;case sn:return qs(e)}}function cg(e,n){var f=n.length;if(!f)return e;var w=f-1;return n[w]=(f>1?"& ":"")+n[w],n=n.join(f>2?", ":" "),e.replace(Ya,`{
|
|
137
|
-
/* [wrapped with `+n+`] */
|
|
138
|
-
`)}function fg(e){return zt(e)||Bl(e)||!!(Is&&e&&e[Is])}function bs(e,n){var f=typeof e;return n=n??Xe,!!n&&(f=="number"||f!="symbol"&&fr.test(e))&&e>-1&&e%1==0&&e<n}function ji(e,n,f){if(!Yn(f))return!1;var w=typeof n;return(w=="number"?ra(f)&&bs(n,f.length):w=="string"&&n in f)?po(f[n],e):!1}function Lc(e,n){if(zt(e))return!1;var f=typeof e;return f=="number"||f=="symbol"||f=="boolean"||e==null||Ca(e)?!0:fn.test(e)||!ei.test(e)||n!=null&&e in Ge(n)}function dg(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}function Nc(e){var n=qu(e),f=N[n];if(typeof f!="function"||!(n in Wt.prototype))return!1;if(e===f)return!0;var w=Oc(f);return!!w&&e===w[0]}function hg(e){return!!wn&&wn in e}var pg=Dr?Ss:ef;function Mu(e){var n=e&&e.constructor,f=typeof n=="function"&&n.prototype||Bn;return e===f}function ld(e){return e===e&&!Yn(e)}function ud(e,n){return function(f){return f==null?!1:f[e]===n&&(n!==r||e in Ge(f))}}function gg(e){var n=ec(e,function(w){return f.size===M&&f.clear(),w}),f=n.cache;return n}function vg(e,n){var f=e[1],w=n[1],A=f|w,j=A<(ee|W|v),J=w==v&&f==Ie||w==v&&f==We&&e[7].length<=n[8]||w==(v|We)&&n[7].length<=n[8]&&f==Ie;if(!(j||J))return e;w&ee&&(e[2]=n[2],A|=f&ee?0:_e);var ae=n[3];if(ae){var de=e[3];e[3]=de?pu(de,ae,n[4]):ae,e[4]=de?li(e[3],X):n[4]}return ae=n[5],ae&&(de=e[5],e[5]=de?Xs(de,ae,n[6]):ae,e[6]=de?li(e[5],X):n[6]),ae=n[7],ae&&(e[7]=ae),w&v&&(e[8]=e[8]==null?n[8]:Dn(e[8],n[8])),e[9]==null&&(e[9]=n[9]),e[0]=n[0],e[1]=A,e}function mg(e){var n=[];if(e!=null)for(var f in Ge(e))n.push(f);return n}function yg(e){return Oa.call(e)}function cd(e,n,f){return n=Rn(n===r?e.length-1:n,0),function(){for(var w=arguments,A=-1,j=Rn(w.length-n,0),J=ne(j);++A<j;)J[A]=w[n+A];A=-1;for(var ae=ne(n+1);++A<n;)ae[A]=w[A];return ae[n]=f(J),O(e,this,ae)}}function fd(e,n){return n.length<2?e:so(e,Gr(n,0,-1))}function bg(e,n){for(var f=e.length,w=Dn(n.length,f),A=ir(e);w--;){var j=n[w];e[w]=bs(j,f)?A[j]:r}return e}function Bc(e,n){if(!(n==="constructor"&&typeof e[n]=="function")&&n!="__proto__")return e[n]}var dd=pd(No),Fu=_s||function(e,n){return dn.setTimeout(e,n)},jc=pd(_l);function hd(e,n,f){var w=n+"";return jc(e,cg(w,Sg(sg(w),f)))}function pd(e){var n=0,f=0;return function(){var w=fl(),A=lt-(w-f);if(f=w,A>0){if(++n>=At)return arguments[0]}else n=0;return e.apply(r,arguments)}}function Ku(e,n){var f=-1,w=e.length,A=w-1;for(n=n===r?w:n;++f<n;){var j=$s(f,A),J=e[j];e[j]=e[f],e[f]=J}return e.length=n,e}var gd=gg(function(e){var n=[];return e.charCodeAt(0)===46&&n.push(""),e.replace(Wi,function(f,w,A,j){n.push(A?j.replace(sa,"$1"):w||f)}),n});function jo(e){if(typeof e=="string"||Ca(e))return e;var n=e+"";return n=="0"&&1/e==-mt?"-0":n}function Nl(e){if(e!=null){try{return Ai.call(e)}catch{}try{return e+""}catch{}}return""}function Sg(e,n){return q(tt,function(f){var w="_."+f[0];n&f[1]&&!ge(e,w)&&e.push(w)}),e.sort()}function vd(e){if(e instanceof Wt)return e.clone();var n=new Pr(e.__wrapped__,e.__chain__);return n.__actions__=ir(e.__actions__),n.__index__=e.__index__,n.__values__=e.__values__,n}function wg(e,n,f){(f?ji(e,n,f):n===r)?n=1:n=Rn(Yt(n),0);var w=e==null?0:e.length;if(!w||n<1)return[];for(var A=0,j=0,J=ne(qo(w/n));A<w;)J[j++]=Gr(e,A,A+=n);return J}function xg(e){for(var n=-1,f=e==null?0:e.length,w=0,A=[];++n<f;){var j=e[n];j&&(A[w++]=j)}return A}function Cg(){var e=arguments.length;if(!e)return[];for(var n=ne(e-1),f=arguments[0],w=e;w--;)n[w-1]=arguments[w];return bt(zt(f)?ir(f):[f],rr(n,1))}var kg=Ht(function(e,n){return ar(e)?ba(e,rr(n,1,ar,!0)):[]}),Eg=Ht(function(e,n){var f=za(n);return ar(f)&&(f=r),ar(e)?ba(e,rr(n,1,ar,!0),xt(f,2)):[]}),Tg=Ht(function(e,n){var f=za(n);return ar(f)&&(f=r),ar(e)?ba(e,rr(n,1,ar,!0),r,f):[]});function Ig(e,n,f){var w=e==null?0:e.length;return w?(n=f||n===r?1:Yt(n),Gr(e,n<0?0:n,w)):[]}function _g(e,n,f){var w=e==null?0:e.length;return w?(n=f||n===r?1:Yt(n),n=w-n,Gr(e,0,n<0?0:n)):[]}function Rg(e,n){return e&&e.length?Ys(e,xt(n,3),!0,!0):[]}function Dg(e,n){return e&&e.length?Ys(e,xt(n,3),!0):[]}function Ag(e,n,f,w){var A=e==null?0:e.length;return A?(f&&typeof f!="number"&&ji(e,n,f)&&(f=0,w=A),ou(e,n,f,w)):[]}function md(e,n,f){var w=e==null?0:e.length;if(!w)return-1;var A=f==null?0:Yt(f);return A<0&&(A=Rn(w+A,0)),Bt(e,xt(n,3),A)}function yd(e,n,f){var w=e==null?0:e.length;if(!w)return-1;var A=w-1;return f!==r&&(A=Yt(f),A=f<0?Rn(w+A,0):Dn(A,w-1)),Bt(e,xt(n,3),A,!0)}function bd(e){var n=e==null?0:e.length;return n?rr(e,1):[]}function Pg(e){var n=e==null?0:e.length;return n?rr(e,mt):[]}function Og(e,n){var f=e==null?0:e.length;return f?(n=n===r?1:Yt(n),rr(e,n)):[]}function Mg(e){for(var n=-1,f=e==null?0:e.length,w={};++n<f;){var A=e[n];w[A[0]]=A[1]}return w}function Sd(e){return e&&e.length?e[0]:r}function Fg(e,n,f){var w=e==null?0:e.length;if(!w)return-1;var A=f==null?0:Yt(f);return A<0&&(A=Rn(w+A,0)),Jt(e,n,A)}function Lg(e){var n=e==null?0:e.length;return n?Gr(e,0,-1):[]}var Ng=Ht(function(e){var n=Ke(e,Mr);return n.length&&n[0]===e[0]?Po(n):[]}),Bg=Ht(function(e){var n=za(e),f=Ke(e,Mr);return n===za(f)?n=r:f.pop(),f.length&&f[0]===e[0]?Po(f,xt(n,2)):[]}),jg=Ht(function(e){var n=za(e),f=Ke(e,Mr);return n=typeof n=="function"?n:r,n&&f.pop(),f.length&&f[0]===e[0]?Po(f,r,n):[]});function Hg(e,n){return e==null?"":Io.call(e,n)}function za(e){var n=e==null?0:e.length;return n?e[n-1]:r}function Ug(e,n,f){var w=e==null?0:e.length;if(!w)return-1;var A=w;return f!==r&&(A=Yt(f),A=A<0?Rn(w+A,0):Dn(A,w-1)),n===n?Pa(e,n,A):Bt(e,qi,A,!0)}function Wg(e,n){return e&&e.length?co(e,Yt(n)):r}var zg=Ht(wd);function wd(e,n){return e&&e.length&&n&&n.length?fo(e,n):e}function $g(e,n,f){return e&&e.length&&n&&n.length?fo(e,n,xt(f,2)):e}function Vg(e,n,f){return e&&e.length&&n&&n.length?fo(e,n,r,f):e}var Yg=ys(function(e,n){var f=e==null?0:e.length,w=gl(e,n);return ss(e,Ke(n,function(A){return bs(A,f)?+A:A}).sort(Bo)),w});function Gg(e,n){var f=[];if(!(e&&e.length))return f;var w=-1,A=[],j=e.length;for(n=xt(n,3);++w<j;){var J=e[w];n(J,w,e)&&(f.push(J),A.push(w))}return ss(e,A),f}function Hc(e){return e==null?e:Ql.call(e)}function qg(e,n,f){var w=e==null?0:e.length;return w?(f&&typeof f!="number"&&ji(e,n,f)?(n=0,f=w):(n=n==null?0:Yt(n),f=f===r?w:Yt(f)),Gr(e,n,f)):[]}function Xg(e,n){return us(e,n)}function Kg(e,n,f){return cs(e,n,xt(f,2))}function Zg(e,n){var f=e==null?0:e.length;if(f){var w=us(e,n);if(w<f&&po(e[w],n))return w}return-1}function Jg(e,n){return us(e,n,!0)}function Qg(e,n,f){return cs(e,n,xt(f,2),!0)}function ev(e,n){var f=e==null?0:e.length;if(f){var w=us(e,n,!0)-1;if(po(e[w],n))return w}return-1}function tv(e){return e&&e.length?du(e):[]}function nv(e,n){return e&&e.length?du(e,xt(n,2)):[]}function rv(e){var n=e==null?0:e.length;return n?Gr(e,1,n):[]}function iv(e,n,f){return e&&e.length?(n=f||n===r?1:Yt(n),Gr(e,0,n<0?0:n)):[]}function av(e,n,f){var w=e==null?0:e.length;return w?(n=f||n===r?1:Yt(n),n=w-n,Gr(e,n<0?0:n,w)):[]}function ov(e,n){return e&&e.length?Ys(e,xt(n,3),!1,!0):[]}function sv(e,n){return e&&e.length?Ys(e,xt(n,3)):[]}var lv=Ht(function(e){return Wa(rr(e,1,ar,!0))}),uv=Ht(function(e){var n=za(e);return ar(n)&&(n=r),Wa(rr(e,1,ar,!0),xt(n,2))}),cv=Ht(function(e){var n=za(e);return n=typeof n=="function"?n:r,Wa(rr(e,1,ar,!0),r,n)});function fv(e){return e&&e.length?Wa(e):[]}function dv(e,n){return e&&e.length?Wa(e,xt(n,2)):[]}function hv(e,n){return n=typeof n=="function"?n:r,e&&e.length?Wa(e,r,n):[]}function Uc(e){if(!(e&&e.length))return[];var n=0;return e=ke(e,function(f){if(ar(f))return n=Rn(f.length,n),!0}),pe(n,function(f){return Ke(e,y(f))})}function xd(e,n){if(!(e&&e.length))return[];var f=Uc(e);return n==null?f:Ke(f,function(w){return O(n,r,w)})}var pv=Ht(function(e,n){return ar(e)?ba(e,n):[]}),gv=Ht(function(e){return fs(ke(e,ar))}),vv=Ht(function(e){var n=za(e);return ar(n)&&(n=r),fs(ke(e,ar),xt(n,2))}),mv=Ht(function(e){var n=za(e);return n=typeof n=="function"?n:r,fs(ke(e,ar),r,n)}),yv=Ht(Uc);function bv(e,n){return Al(e||[],n||[],Pn)}function Sv(e,n){return Al(e||[],n||[],ho)}var wv=Ht(function(e){var n=e.length,f=n>1?e[n-1]:r;return f=typeof f=="function"?(e.pop(),f):r,xd(e,f)});function Cd(e){var n=N(e);return n.__chain__=!0,n}function xv(e,n){return n(e),e}function Zu(e,n){return n(e)}var Cv=ys(function(e){var n=e.length,f=n?e[0]:0,w=this.__wrapped__,A=function(j){return gl(j,e)};return n>1||this.__actions__.length||!(w instanceof Wt)||!bs(f)?this.thru(A):(w=w.slice(f,+f+(n?1:0)),w.__actions__.push({func:Zu,args:[A],thisArg:r}),new Pr(w,this.__chain__).thru(function(j){return n&&!j.length&&j.push(r),j}))});function kv(){return Cd(this)}function Ev(){return new Pr(this.value(),this.__chain__)}function Tv(){this.__values__===r&&(this.__values__=Nd(this.value()));var e=this.__index__>=this.__values__.length,n=e?r:this.__values__[this.__index__++];return{done:e,value:n}}function Iv(){return this}function _v(e){for(var n,f=this;f instanceof to;){var w=vd(f);w.__index__=0,w.__values__=r,n?A.__wrapped__=w:n=w;var A=w;f=f.__wrapped__}return A.__wrapped__=e,n}function Rv(){var e=this.__wrapped__;if(e instanceof Wt){var n=e;return this.__actions__.length&&(n=new Wt(this)),n=n.reverse(),n.__actions__.push({func:Zu,args:[Hc],thisArg:r}),new Pr(n,this.__chain__)}return this.thru(Hc)}function Dv(){return Xr(this.__wrapped__,this.__actions__)}var Av=Zs(function(e,n,f){It.call(e,f)?++e[f]:nr(e,f,1)});function Pv(e,n,f){var w=zt(e)?Ce:Bs;return f&&ji(e,n,f)&&(n=r),w(e,xt(n,3))}function Ov(e,n){var f=zt(e)?ke:bl;return f(e,xt(n,3))}var Mv=s(md),Fv=s(yd);function Lv(e,n){return rr(Ju(e,n),1)}function Nv(e,n){return rr(Ju(e,n),mt)}function Bv(e,n,f){return f=f===r?1:Yt(f),rr(Ju(e,n),f)}function kd(e,n){var f=zt(e)?q:Ua;return f(e,xt(n,3))}function Ed(e,n){var f=zt(e)?le:yl;return f(e,xt(n,3))}var jv=Zs(function(e,n,f){It.call(e,f)?e[f].push(n):nr(e,f,[n])});function Hv(e,n,f,w){e=ra(e)?e:bu(e),f=f&&!w?Yt(f):0;var A=e.length;return f<0&&(f=Rn(A+f,0)),rc(e)?f<=A&&e.indexOf(n,f)>-1:!!A&&Jt(e,n,f)>-1}var Uv=Ht(function(e,n,f){var w=-1,A=typeof n=="function",j=ra(e)?ne(e.length):[];return Ua(e,function(J){j[++w]=A?O(n,J,f):vi(J,n,f)}),j}),Wv=Zs(function(e,n,f){nr(e,f,n)});function Ju(e,n){var f=zt(e)?Ke:Fo;return f(e,xt(n,3))}function zv(e,n,f,w){return e==null?[]:(zt(n)||(n=n==null?[]:[n]),f=w?r:f,zt(f)||(f=f==null?[]:[f]),zs(e,n,f))}var $v=Zs(function(e,n,f){e[f?0:1].push(n)},function(){return[[],[]]});function Vv(e,n,f){var w=zt(e)?Et:F,A=arguments.length<3;return w(e,xt(n,4),f,A,Ua)}function Yv(e,n,f){var w=zt(e)?In:F,A=arguments.length<3;return w(e,xt(n,4),f,A,yl)}function Gv(e,n){var f=zt(e)?ke:bl;return f(e,tc(xt(n,3)))}function qv(e){var n=zt(e)?tn:ls;return n(e)}function Xv(e,n,f){(f?ji(e,n,f):n===r)?n=1:n=Yt(n);var w=zt(e)?pi:cu;return w(e,n)}function Kv(e){var n=zt(e)?io:Rl;return n(e)}function Zv(e){if(e==null)return 0;if(ra(e))return rc(e)?Ki(e):e.length;var n=bi(e);return n==Ut||n==Gn?e.size:os(e).length}function Jv(e,n,f){var w=zt(e)?on:fu;return f&&ji(e,n,f)&&(n=r),w(e,xt(n,3))}var Qv=Ht(function(e,n){if(e==null)return[];var f=n.length;return f>1&&ji(e,n[0],n[1])?n=[]:f>2&&ji(n[0],n[1],n[2])&&(n=[n[0]]),zs(e,rr(n,1),[])}),Qu=Go||function(){return dn.Date.now()};function em(e,n){if(typeof n!="function")throw new jt(x);return e=Yt(e),function(){if(--e<1)return n.apply(this,arguments)}}function Td(e,n,f){return n=f?r:n,n=e&&n==null?e.length:n,jn(e,v,r,r,r,r,n)}function Id(e,n){var f;if(typeof n!="function")throw new jt(x);return e=Yt(e),function(){return--e>0&&(f=n.apply(this,arguments)),e<=1&&(n=r),f}}var Wc=Ht(function(e,n,f){var w=ee;if(f.length){var A=li(f,mu(Wc));w|=fe}return jn(e,w,n,f,A)}),_d=Ht(function(e,n,f){var w=ee|W;if(f.length){var A=li(f,mu(_d));w|=fe}return jn(n,w,e,f,A)});function Rd(e,n,f){n=f?r:n;var w=jn(e,Ie,r,r,r,r,r,n);return w.placeholder=Rd.placeholder,w}function Dd(e,n,f){n=f?r:n;var w=jn(e,Ae,r,r,r,r,r,n);return w.placeholder=Dd.placeholder,w}function Ad(e,n,f){var w,A,j,J,ae,de,Fe=0,Le=!1,Ue=!1,nt=!0;if(typeof e!="function")throw new jt(x);n=$a(n)||0,Yn(f)&&(Le=!!f.leading,Ue="maxWait"in f,j=Ue?Rn($a(f.maxWait)||0,n):j,nt="trailing"in f?!!f.trailing:nt);function pt(or){var go=w,xs=A;return w=A=r,Fe=or,J=e.apply(xs,go),J}function _t(or){return Fe=or,ae=Fu(Kt,n),Le?pt(or):J}function Gt(or){var go=or-de,xs=or-Fe,Kd=n-go;return Ue?Dn(Kd,j-xs):Kd}function Rt(or){var go=or-de,xs=or-Fe;return de===r||go>=n||go<0||Ue&&xs>=j}function Kt(){var or=Qu();if(Rt(or))return Qt(or);ae=Fu(Kt,Gt(or))}function Qt(or){return ae=r,nt&&w?pt(or):(w=A=r,J)}function ka(){ae!==r&&hs(ae),Fe=0,w=de=A=ae=r}function Hi(){return ae===r?J:Qt(Qu())}function Ea(){var or=Qu(),go=Rt(or);if(w=arguments,A=this,de=or,go){if(ae===r)return _t(de);if(Ue)return hs(ae),ae=Fu(Kt,n),pt(de)}return ae===r&&(ae=Fu(Kt,n)),J}return Ea.cancel=ka,Ea.flush=Hi,Ea}var tm=Ht(function(e,n){return ml(e,1,n)}),nm=Ht(function(e,n,f){return ml(e,$a(n)||0,f)});function rm(e){return jn(e,De)}function ec(e,n){if(typeof e!="function"||n!=null&&typeof n!="function")throw new jt(x);var f=function(){var w=arguments,A=n?n.apply(this,w):w[0],j=f.cache;if(j.has(A))return j.get(A);var J=e.apply(this,w);return f.cache=j.set(A,J)||j,J};return f.cache=new(ec.Cache||ma),f}ec.Cache=ma;function tc(e){if(typeof e!="function")throw new jt(x);return function(){var n=arguments;switch(n.length){case 0:return!e.call(this);case 1:return!e.call(this,n[0]);case 2:return!e.call(this,n[0],n[1]);case 3:return!e.call(this,n[0],n[1],n[2])}return!e.apply(this,n)}}function im(e){return Id(2,e)}var am=Ou(function(e,n){n=n.length==1&&zt(n[0])?Ke(n[0],ot(xt())):Ke(rr(n,1),ot(xt()));var f=n.length;return Ht(function(w){for(var A=-1,j=Dn(w.length,f);++A<j;)w[A]=n[A].call(this,w[A]);return O(e,this,w)})}),zc=Ht(function(e,n){var f=li(n,mu(zc));return jn(e,fe,r,n,f)}),Pd=Ht(function(e,n){var f=li(n,mu(Pd));return jn(e,Be,r,n,f)}),om=ys(function(e,n){return jn(e,We,r,r,r,n)});function sm(e,n){if(typeof e!="function")throw new jt(x);return n=n===r?n:Yt(n),Ht(e,n)}function lm(e,n){if(typeof e!="function")throw new jt(x);return n=n==null?0:Rn(Yt(n),0),Ht(function(f){var w=f[n],A=Bi(f,0,n);return w&&bt(A,w),O(e,this,A)})}function um(e,n,f){var w=!0,A=!0;if(typeof e!="function")throw new jt(x);return Yn(f)&&(w="leading"in f?!!f.leading:w,A="trailing"in f?!!f.trailing:A),Ad(e,n,{leading:w,maxWait:n,trailing:A})}function cm(e){return Td(e,1)}function fm(e,n){return zc(ds(n),e)}function dm(){if(!arguments.length)return[];var e=arguments[0];return zt(e)?e:[e]}function hm(e){return Or(e,be)}function pm(e,n){return n=typeof n=="function"?n:r,Or(e,be,n)}function gm(e){return Or(e,z|be)}function vm(e,n){return n=typeof n=="function"?n:r,Or(e,z|be,n)}function mm(e,n){return n==null||au(e,n,Kr(n))}function po(e,n){return e===n||e!==e&&n!==n}var ym=Qe(ns),bm=Qe(function(e,n){return e>=n}),Bl=as(function(){return arguments}())?as:function(e){return Jn(e)&&It.call(e,"callee")&&!sl.call(e,"callee")},zt=ne.isArray,Sm=i?ot(i):Us;function ra(e){return e!=null&&nc(e.length)&&!Ss(e)}function ar(e){return Jn(e)&&ra(e)}function wm(e){return e===!0||e===!1||Jn(e)&&gr(e)==gt}var Js=ll||ef,xm=c?ot(c):lo;function Cm(e){return Jn(e)&&e.nodeType===1&&!Lu(e)}function km(e){if(e==null)return!0;if(ra(e)&&(zt(e)||typeof e=="string"||typeof e.splice=="function"||Js(e)||yu(e)||Bl(e)))return!e.length;var n=bi(e);if(n==Ut||n==Gn)return!e.size;if(Mu(e))return!os(e).length;for(var f in e)if(It.call(e,f))return!1;return!0}function Em(e,n){return Oo(e,n)}function Tm(e,n,f){f=typeof f=="function"?f:r;var w=f?f(e,n):r;return w===r?Oo(e,n,r,f):!!w}function $c(e){if(!Jn(e))return!1;var n=gr(e);return n==Lt||n==ct||typeof e.message=="string"&&typeof e.name=="string"&&!Lu(e)}function Im(e){return typeof e=="number"&&ul(e)}function Ss(e){if(!Yn(e))return!1;var n=gr(e);return n==$e||n==Nt||n==ut||n==wi}function Od(e){return typeof e=="number"&&e==Yt(e)}function nc(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Xe}function Yn(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}function Jn(e){return e!=null&&typeof e=="object"}var Md=g?ot(g):uo;function _m(e,n){return e===n||kl(e,n,Mc(n))}function Rm(e,n,f){return f=typeof f=="function"?f:r,kl(e,n,Mc(n),f)}function Dm(e){return Fd(e)&&e!=+e}function Am(e){if(pg(e))throw new Pe(p);return El(e)}function Pm(e){return e===null}function Om(e){return e==null}function Fd(e){return typeof e=="number"||Jn(e)&&gr(e)==Hn}function Lu(e){if(!Jn(e)||gr(e)!=Un)return!1;var n=Eo(e);if(n===null)return!0;var f=It.call(n,"constructor")&&n.constructor;return typeof f=="function"&&f instanceof f&&Ai.call(f)==al}var Vc=b?ot(b):ta;function Mm(e){return Od(e)&&e>=-Xe&&e<=Xe}var Ld=T?ot(T):Au;function rc(e){return typeof e=="string"||!zt(e)&&Jn(e)&&gr(e)==rn}function Ca(e){return typeof e=="symbol"||Jn(e)&&gr(e)==sn}var yu=R?ot(R):Pu;function Fm(e){return e===r}function Lm(e){return Jn(e)&&bi(e)==rt}function Nm(e){return Jn(e)&&gr(e)==kn}var Bm=Qe(Li),jm=Qe(function(e,n){return e<=n});function Nd(e){if(!e)return[];if(ra(e))return rc(e)?tr(e):ir(e);if(ha&&e[ha])return Xi(e[ha]());var n=bi(e),f=n==Ut?bo:n==Gn?Di:bu;return f(e)}function ws(e){if(!e)return e===0?e:0;if(e=$a(e),e===mt||e===-mt){var n=e<0?-1:1;return n*wt}return e===e?e:0}function Yt(e){var n=ws(e),f=n%1;return n===n?f?n-f:n:0}function Bd(e){return e?Ha(Yt(e),0,Oe):0}function $a(e){if(typeof e=="number")return e;if(Ca(e))return Re;if(Yn(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=Yn(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=je(e);var f=Vi.test(e);return f||Hr.test(e)?Ja(e.slice(2),f?2:8):fi.test(e)?Re:+e}function jd(e){return na(e,ia(e))}function Hm(e){return e?Ha(Yt(e),-Xe,Xe):e===0?e:0}function hn(e){return e==null?"":qr(e)}var Um=l(function(e,n){if(Mu(n)||ra(n)){na(n,Kr(n),e);return}for(var f in n)It.call(n,f)&&Pn(e,f,n[f])}),Hd=l(function(e,n){na(n,ia(n),e)}),ic=l(function(e,n,f,w){na(n,ia(n),e,w)}),Wm=l(function(e,n,f,w){na(n,Kr(n),e,w)}),zm=ys(gl);function $m(e,n){var f=Ba(e);return n==null?f:Fi(f,n)}var Vm=Ht(function(e,n){e=Ge(e);var f=-1,w=n.length,A=w>2?n[2]:r;for(A&&ji(n[0],n[1],A)&&(w=1);++f<w;)for(var j=n[f],J=ia(j),ae=-1,de=J.length;++ae<de;){var Fe=J[ae],Le=e[Fe];(Le===r||po(Le,Bn[Fe])&&!It.call(e,Fe))&&(e[Fe]=j[Fe])}return e}),Ym=Ht(function(e){return e.push(r,Fl),O(Ud,r,e)});function Gm(e,n){return Rr(e,xt(n,3),ea)}function qm(e,n){return Rr(e,xt(n,3),wl)}function Xm(e,n){return e==null?e:Sl(e,xt(n,3),ia)}function Km(e,n){return e==null?e:su(e,xt(n,3),ia)}function Zm(e,n){return e&&ea(e,xt(n,3))}function Jm(e,n){return e&&wl(e,xt(n,3))}function Qm(e){return e==null?[]:Hs(e,Kr(e))}function ey(e){return e==null?[]:Hs(e,ia(e))}function Yc(e,n,f){var w=e==null?r:so(e,n);return w===r?f:w}function ty(e,n){return e!=null&&od(e,n,rs)}function Gc(e,n){return e!=null&&od(e,n,lu)}var ny=k(function(e,n,f){n!=null&&typeof n.toString!="function"&&(n=Oa.call(n)),e[n]=f},Xc(aa)),ry=k(function(e,n,f){n!=null&&typeof n.toString!="function"&&(n=Oa.call(n)),It.call(e,n)?e[n].push(f):e[n]=[f]},xt),iy=Ht(vi);function Kr(e){return ra(e)?ja(e):os(e)}function ia(e){return ra(e)?ja(e,!0):Ws(e)}function ay(e,n){var f={};return n=xt(n,3),ea(e,function(w,A,j){nr(f,n(w,A,j),w)}),f}function oy(e,n){var f={};return n=xt(n,3),ea(e,function(w,A,j){nr(f,A,n(w,A,j))}),f}var sy=l(function(e,n,f){Lo(e,n,f)}),Ud=l(function(e,n,f,w){Lo(e,n,f,w)}),ly=ys(function(e,n){var f={};if(e==null)return f;var w=!1;n=Ke(n,function(j){return j=xa(j,e),w||(w=j.length>1),j}),na(e,Pc(e),f),w&&(f=Or(f,z|K|be,vu));for(var A=n.length;A--;)Dl(f,n[A]);return f});function uy(e,n){return Wd(e,tc(xt(n)))}var cy=ys(function(e,n){return e==null?{}:yi(e,n)});function Wd(e,n){if(e==null)return{};var f=Ke(Pc(e),function(w){return[w]});return n=xt(n),wa(e,f,function(w,A){return n(w,A[0])})}function fy(e,n,f){n=xa(n,e);var w=-1,A=n.length;for(A||(A=1,e=r);++w<A;){var j=e==null?r:e[jo(n[w])];j===r&&(w=A,j=f),e=Ss(j)?j.call(e):j}return e}function dy(e,n,f){return e==null?e:ho(e,n,f)}function hy(e,n,f,w){return w=typeof w=="function"?w:r,e==null?e:ho(e,n,f,w)}var zd=Zn(Kr),$d=Zn(ia);function py(e,n,f){var w=zt(e),A=w||Js(e)||yu(e);if(n=xt(n,4),f==null){var j=e&&e.constructor;A?f=w?new j:[]:Yn(e)?f=Ss(j)?Ba(Eo(e)):{}:f={}}return(A?q:ea)(e,function(J,ae,de){return n(f,J,ae,de)}),f}function gy(e,n){return e==null?!0:Dl(e,n)}function vy(e,n,f){return e==null?e:Vs(e,n,ds(f))}function my(e,n,f,w){return w=typeof w=="function"?w:r,e==null?e:Vs(e,n,ds(f),w)}function bu(e){return e==null?[]:Pt(e,Kr(e))}function yy(e){return e==null?[]:Pt(e,ia(e))}function by(e,n,f){return f===r&&(f=n,n=r),f!==r&&(f=$a(f),f=f===f?f:0),n!==r&&(n=$a(n),n=n===n?n:0),Ha($a(e),n,f)}function Sy(e,n,f){return n=ws(n),f===r?(f=n,n=0):f=ws(f),e=$a(e),is(e,n,f)}function wy(e,n,f){if(f&&typeof f!="boolean"&&ji(e,n,f)&&(n=f=r),f===r&&(typeof n=="boolean"?(f=n,n=r):typeof e=="boolean"&&(f=e,e=r)),e===r&&n===r?(e=0,n=1):(e=ws(e),n===r?(n=e,e=0):n=ws(n)),e>n){var w=e;e=n,n=w}if(f||e%1||n%1){var A=ga();return Dn(e+A*(n-e+er("1e-"+((A+"").length-1))),n)}return $s(e,n)}var xy=Z(function(e,n,f){return n=n.toLowerCase(),e+(f?Vd(n):n)});function Vd(e){return qc(hn(e).toLowerCase())}function Yd(e){return e=hn(e),e&&e.replace(Sr,Nn).replace(Xa,"")}function Cy(e,n,f){e=hn(e),n=qr(n);var w=e.length;f=f===r?w:Ha(Yt(f),0,w);var A=f;return f-=n.length,f>=0&&e.slice(f,A)==n}function ky(e){return e=hn(e),e&&Ei.test(e)?e.replace($t,Ra):e}function Ey(e){return e=hn(e),e&&ti.test(e)?e.replace(cr,"\\$&"):e}var Ty=Z(function(e,n,f){return e+(f?"-":"")+n.toLowerCase()}),Iy=Z(function(e,n,f){return e+(f?" ":"")+n.toLowerCase()}),_y=H("toLowerCase");function Ry(e,n,f){e=hn(e),n=Yt(n);var w=n?Ki(e):0;if(!n||w>=n)return e;var A=(n-w)/2;return te(To(A),f)+e+te(qo(A),f)}function Dy(e,n,f){e=hn(e),n=Yt(n);var w=n?Ki(e):0;return n&&w<n?e+te(n-w,f):e}function Ay(e,n,f){e=hn(e),n=Yt(n);var w=n?Ki(e):0;return n&&w<n?te(n-w,f)+e:e}function Py(e,n,f){return f||n==null?n=0:n&&(n=+n),dl(hn(e).replace(an,""),n||0)}function Oy(e,n,f){return(f?ji(e,n,f):n===r)?n=1:n=Yt(n),Il(hn(e),n)}function My(){var e=arguments,n=hn(e[0]);return e.length<3?n:n.replace(e[1],e[2])}var Fy=Z(function(e,n,f){return e+(f?"_":"")+n.toLowerCase()});function Ly(e,n,f){return f&&typeof f!="number"&&ji(e,n,f)&&(n=f=r),f=f===r?Oe:f>>>0,f?(e=hn(e),e&&(typeof n=="string"||n!=null&&!Vc(n))&&(n=qr(n),!n&&Yr(e))?Bi(tr(e),0,f):e.split(n,f)):[]}var Ny=Z(function(e,n,f){return e+(f?" ":"")+qc(n)});function By(e,n,f){return e=hn(e),f=f==null?0:Ha(Yt(f),0,e.length),n=qr(n),e.slice(f,f+n.length)==n}function jy(e,n,f){var w=N.templateSettings;f&&ji(e,n,f)&&(n=r),e=hn(e),n=ic({},n,w,Ml);var A=ic({},n.imports,w.imports,Ml),j=Kr(A),J=Pt(A,j),ae,de,Fe=0,Le=n.interpolate||Ur,Ue="__p += '",nt=Tt((n.escape||Ur).source+"|"+Le.source+"|"+(Le===Qr?ci:Ur).source+"|"+(n.evaluate||Ur).source+"|$","g"),pt="//# sourceURL="+(It.call(n,"sourceURL")?(n.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++en+"]")+`
|
|
139
|
-
`;e.replace(nt,function(Rt,Kt,Qt,ka,Hi,Ea){return Qt||(Qt=ka),Ue+=e.slice(Fe,Ea).replace(wr,yo),Kt&&(ae=!0,Ue+=`' +
|
|
140
|
-
__e(`+Kt+`) +
|
|
141
|
-
'`),Hi&&(de=!0,Ue+=`';
|
|
142
|
-
`+Hi+`;
|
|
143
|
-
__p += '`),Qt&&(Ue+=`' +
|
|
144
|
-
((__t = (`+Qt+`)) == null ? '' : __t) +
|
|
145
|
-
'`),Fe=Ea+Rt.length,Rt}),Ue+=`';
|
|
146
|
-
`;var _t=It.call(n,"variable")&&n.variable;if(!_t)Ue=`with (obj) {
|
|
147
|
-
`+Ue+`
|
|
148
|
-
}
|
|
149
|
-
`;else if($i.test(_t))throw new Pe(P);Ue=(de?Ue.replace(oa,""):Ue).replace(Wn,"$1").replace(Br,"$1;"),Ue="function("+(_t||"obj")+`) {
|
|
150
|
-
`+(_t?"":`obj || (obj = {});
|
|
151
|
-
`)+"var __t, __p = ''"+(ae?", __e = _.escape":"")+(de?`, __j = Array.prototype.join;
|
|
152
|
-
function print() { __p += __j.call(arguments, '') }
|
|
153
|
-
`:`;
|
|
154
|
-
`)+Ue+`return __p
|
|
155
|
-
}`;var Gt=qd(function(){return Ze(j,pt+"return "+Ue).apply(r,J)});if(Gt.source=Ue,$c(Gt))throw Gt;return Gt}function Hy(e){return hn(e).toLowerCase()}function Uy(e){return hn(e).toUpperCase()}function Wy(e,n,f){if(e=hn(e),e&&(f||n===r))return je(e);if(!e||!(n=qr(n)))return e;var w=tr(e),A=tr(n),j=dt(w,A),J=An(w,A)+1;return Bi(w,j,J).join("")}function zy(e,n,f){if(e=hn(e),e&&(f||n===r))return e.slice(0,Vo(e)+1);if(!e||!(n=qr(n)))return e;var w=tr(e),A=An(w,tr(n))+1;return Bi(w,0,A).join("")}function $y(e,n,f){if(e=hn(e),e&&(f||n===r))return e.replace(an,"");if(!e||!(n=qr(n)))return e;var w=tr(e),A=dt(w,tr(n));return Bi(w,A).join("")}function Vy(e,n){var f=Dt,w=Ct;if(Yn(n)){var A="separator"in n?n.separator:A;f="length"in n?Yt(n.length):f,w="omission"in n?qr(n.omission):w}e=hn(e);var j=e.length;if(Yr(e)){var J=tr(e);j=J.length}if(f>=j)return e;var ae=f-Ki(w);if(ae<1)return w;var de=J?Bi(J,0,ae).join(""):e.slice(0,ae);if(A===r)return de+w;if(J&&(ae+=de.length-ae),Vc(A)){if(e.slice(ae).search(A)){var Fe,Le=de;for(A.global||(A=Tt(A.source,hn(ni.exec(A))+"g")),A.lastIndex=0;Fe=A.exec(Le);)var Ue=Fe.index;de=de.slice(0,Ue===r?ae:Ue)}}else if(e.indexOf(qr(A),ae)!=ae){var nt=de.lastIndexOf(A);nt>-1&&(de=de.slice(0,nt))}return de+w}function Yy(e){return e=hn(e),e&&Jr.test(e)?e.replace(qn,So):e}var Gy=Z(function(e,n,f){return e+(f?" ":"")+n.toUpperCase()}),qc=H("toUpperCase");function Gd(e,n,f){return e=hn(e),n=f?r:n,n===r?zo(e)?oe(e):Ft(e):e.match(n)||[]}var qd=Ht(function(e,n){try{return O(e,r,n)}catch(f){return $c(f)?f:new Pe(f)}}),qy=ys(function(e,n){return q(n,function(f){f=jo(f),nr(e,f,Wc(e[f],e))}),e});function Xy(e){var n=e==null?0:e.length,f=xt();return e=n?Ke(e,function(w){if(typeof w[1]!="function")throw new jt(x);return[f(w[0]),w[1]]}):[],Ht(function(w){for(var A=-1;++A<n;){var j=e[A];if(O(j[0],this,w))return O(j[1],this,w)}})}function Ky(e){return vl(Or(e,z))}function Xc(e){return function(){return e}}function Zy(e,n){return e==null||e!==e?n:e}var Jy=d(),Qy=d(!0);function aa(e){return e}function Kc(e){return Mo(typeof e=="function"?e:Or(e,z))}function eb(e){return Sa(Or(e,z))}function tb(e,n){return Ni(e,Or(n,z))}var nb=Ht(function(e,n){return function(f){return vi(f,e,n)}}),rb=Ht(function(e,n){return function(f){return vi(e,f,n)}});function Zc(e,n,f){var w=Kr(n),A=Hs(n,w);f==null&&!(Yn(n)&&(A.length||!w.length))&&(f=n,n=e,e=this,A=Hs(n,Kr(n)));var j=!(Yn(f)&&"chain"in f)||!!f.chain,J=Ss(e);return q(A,function(ae){var de=n[ae];e[ae]=de,J&&(e.prototype[ae]=function(){var Fe=this.__chain__;if(j||Fe){var Le=e(this.__wrapped__),Ue=Le.__actions__=ir(this.__actions__);return Ue.push({func:de,args:arguments,thisArg:e}),Le.__chain__=Fe,Le}return de.apply(e,bt([this.value()],arguments))})}),e}function ib(){return dn._===this&&(dn._=xn),this}function Jc(){}function ab(e){return e=Yt(e),Ht(function(n){return co(n,e)})}var ob=G(Ke),sb=G(Ce),lb=G(on);function Xd(e){return Lc(e)?y(jo(e)):Tl(e)}function ub(e){return function(n){return e==null?r:so(e,n)}}var cb=Ne(),fb=Ne(!0);function Qc(){return[]}function ef(){return!1}function db(){return{}}function hb(){return""}function pb(){return!0}function gb(e,n){if(e=Yt(e),e<1||e>Xe)return[];var f=Oe,w=Dn(e,Oe);n=xt(n),e-=Oe;for(var A=pe(w,n);++f<e;)n(f);return A}function vb(e){return zt(e)?Ke(e,jo):Ca(e)?[e]:ir(gd(hn(e)))}function mb(e){var n=++Jl;return hn(e)+n}var yb=L(function(e,n){return e+n},0),bb=St("ceil"),Sb=L(function(e,n){return e/n},1),wb=St("floor");function xb(e){return e&&e.length?js(e,aa,ns):r}function Cb(e,n){return e&&e.length?js(e,xt(n,2),ns):r}function kb(e){return pr(e,aa)}function Eb(e,n){return pr(e,xt(n,2))}function Tb(e){return e&&e.length?js(e,aa,Li):r}function Ib(e,n){return e&&e.length?js(e,xt(n,2),Li):r}var _b=L(function(e,n){return e*n},1),Rb=St("round"),Db=L(function(e,n){return e-n},0);function Ab(e){return e&&e.length?he(e,aa):0}function Pb(e,n){return e&&e.length?he(e,xt(n,2)):0}return N.after=em,N.ary=Td,N.assign=Um,N.assignIn=Hd,N.assignInWith=ic,N.assignWith=Wm,N.at=zm,N.before=Id,N.bind=Wc,N.bindAll=qy,N.bindKey=_d,N.castArray=dm,N.chain=Cd,N.chunk=wg,N.compact=xg,N.concat=Cg,N.cond=Xy,N.conforms=Ky,N.constant=Xc,N.countBy=Av,N.create=$m,N.curry=Rd,N.curryRight=Dd,N.debounce=Ad,N.defaults=Vm,N.defaultsDeep=Ym,N.defer=tm,N.delay=nm,N.difference=kg,N.differenceBy=Eg,N.differenceWith=Tg,N.drop=Ig,N.dropRight=_g,N.dropRightWhile=Rg,N.dropWhile=Dg,N.fill=Ag,N.filter=Ov,N.flatMap=Lv,N.flatMapDeep=Nv,N.flatMapDepth=Bv,N.flatten=bd,N.flattenDeep=Pg,N.flattenDepth=Og,N.flip=rm,N.flow=Jy,N.flowRight=Qy,N.fromPairs=Mg,N.functions=Qm,N.functionsIn=ey,N.groupBy=jv,N.initial=Lg,N.intersection=Ng,N.intersectionBy=Bg,N.intersectionWith=jg,N.invert=ny,N.invertBy=ry,N.invokeMap=Uv,N.iteratee=Kc,N.keyBy=Wv,N.keys=Kr,N.keysIn=ia,N.map=Ju,N.mapKeys=ay,N.mapValues=oy,N.matches=eb,N.matchesProperty=tb,N.memoize=ec,N.merge=sy,N.mergeWith=Ud,N.method=nb,N.methodOf=rb,N.mixin=Zc,N.negate=tc,N.nthArg=ab,N.omit=ly,N.omitBy=uy,N.once=im,N.orderBy=zv,N.over=ob,N.overArgs=am,N.overEvery=sb,N.overSome=lb,N.partial=zc,N.partialRight=Pd,N.partition=$v,N.pick=cy,N.pickBy=Wd,N.property=Xd,N.propertyOf=ub,N.pull=zg,N.pullAll=wd,N.pullAllBy=$g,N.pullAllWith=Vg,N.pullAt=Yg,N.range=cb,N.rangeRight=fb,N.rearg=om,N.reject=Gv,N.remove=Gg,N.rest=sm,N.reverse=Hc,N.sampleSize=Xv,N.set=dy,N.setWith=hy,N.shuffle=Kv,N.slice=qg,N.sortBy=Qv,N.sortedUniq=tv,N.sortedUniqBy=nv,N.split=Ly,N.spread=lm,N.tail=rv,N.take=iv,N.takeRight=av,N.takeRightWhile=ov,N.takeWhile=sv,N.tap=xv,N.throttle=um,N.thru=Zu,N.toArray=Nd,N.toPairs=zd,N.toPairsIn=$d,N.toPath=vb,N.toPlainObject=jd,N.transform=py,N.unary=cm,N.union=lv,N.unionBy=uv,N.unionWith=cv,N.uniq=fv,N.uniqBy=dv,N.uniqWith=hv,N.unset=gy,N.unzip=Uc,N.unzipWith=xd,N.update=vy,N.updateWith=my,N.values=bu,N.valuesIn=yy,N.without=pv,N.words=Gd,N.wrap=fm,N.xor=gv,N.xorBy=vv,N.xorWith=mv,N.zip=yv,N.zipObject=bv,N.zipObjectDeep=Sv,N.zipWith=wv,N.entries=zd,N.entriesIn=$d,N.extend=Hd,N.extendWith=ic,Zc(N,N),N.add=yb,N.attempt=qd,N.camelCase=xy,N.capitalize=Vd,N.ceil=bb,N.clamp=by,N.clone=hm,N.cloneDeep=gm,N.cloneDeepWith=vm,N.cloneWith=pm,N.conformsTo=mm,N.deburr=Yd,N.defaultTo=Zy,N.divide=Sb,N.endsWith=Cy,N.eq=po,N.escape=ky,N.escapeRegExp=Ey,N.every=Pv,N.find=Mv,N.findIndex=md,N.findKey=Gm,N.findLast=Fv,N.findLastIndex=yd,N.findLastKey=qm,N.floor=wb,N.forEach=kd,N.forEachRight=Ed,N.forIn=Xm,N.forInRight=Km,N.forOwn=Zm,N.forOwnRight=Jm,N.get=Yc,N.gt=ym,N.gte=bm,N.has=ty,N.hasIn=Gc,N.head=Sd,N.identity=aa,N.includes=Hv,N.indexOf=Fg,N.inRange=Sy,N.invoke=iy,N.isArguments=Bl,N.isArray=zt,N.isArrayBuffer=Sm,N.isArrayLike=ra,N.isArrayLikeObject=ar,N.isBoolean=wm,N.isBuffer=Js,N.isDate=xm,N.isElement=Cm,N.isEmpty=km,N.isEqual=Em,N.isEqualWith=Tm,N.isError=$c,N.isFinite=Im,N.isFunction=Ss,N.isInteger=Od,N.isLength=nc,N.isMap=Md,N.isMatch=_m,N.isMatchWith=Rm,N.isNaN=Dm,N.isNative=Am,N.isNil=Om,N.isNull=Pm,N.isNumber=Fd,N.isObject=Yn,N.isObjectLike=Jn,N.isPlainObject=Lu,N.isRegExp=Vc,N.isSafeInteger=Mm,N.isSet=Ld,N.isString=rc,N.isSymbol=Ca,N.isTypedArray=yu,N.isUndefined=Fm,N.isWeakMap=Lm,N.isWeakSet=Nm,N.join=Hg,N.kebabCase=Ty,N.last=za,N.lastIndexOf=Ug,N.lowerCase=Iy,N.lowerFirst=_y,N.lt=Bm,N.lte=jm,N.max=xb,N.maxBy=Cb,N.mean=kb,N.meanBy=Eb,N.min=Tb,N.minBy=Ib,N.stubArray=Qc,N.stubFalse=ef,N.stubObject=db,N.stubString=hb,N.stubTrue=pb,N.multiply=_b,N.nth=Wg,N.noConflict=ib,N.noop=Jc,N.now=Qu,N.pad=Ry,N.padEnd=Dy,N.padStart=Ay,N.parseInt=Py,N.random=wy,N.reduce=Vv,N.reduceRight=Yv,N.repeat=Oy,N.replace=My,N.result=fy,N.round=Rb,N.runInContext=U,N.sample=qv,N.size=Zv,N.snakeCase=Fy,N.some=Jv,N.sortedIndex=Xg,N.sortedIndexBy=Kg,N.sortedIndexOf=Zg,N.sortedLastIndex=Jg,N.sortedLastIndexBy=Qg,N.sortedLastIndexOf=ev,N.startCase=Ny,N.startsWith=By,N.subtract=Db,N.sum=Ab,N.sumBy=Pb,N.template=jy,N.times=gb,N.toFinite=ws,N.toInteger=Yt,N.toLength=Bd,N.toLower=Hy,N.toNumber=$a,N.toSafeInteger=Hm,N.toString=hn,N.toUpper=Uy,N.trim=Wy,N.trimEnd=zy,N.trimStart=$y,N.truncate=Vy,N.unescape=Yy,N.uniqueId=mb,N.upperCase=Gy,N.upperFirst=qc,N.each=kd,N.eachRight=Ed,N.first=Sd,Zc(N,function(){var e={};return ea(N,function(n,f){It.call(N.prototype,f)||(e[f]=n)}),e}(),{chain:!1}),N.VERSION=u,q(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){N[e].placeholder=N}),q(["drop","take"],function(e,n){Wt.prototype[e]=function(f){f=f===r?1:Rn(Yt(f),0);var w=this.__filtered__&&!n?new Wt(this):this.clone();return w.__filtered__?w.__takeCount__=Dn(f,w.__takeCount__):w.__views__.push({size:Dn(f,Oe),type:e+(w.__dir__<0?"Right":"")}),w},Wt.prototype[e+"Right"]=function(f){return this.reverse()[e](f).reverse()}}),q(["filter","map","takeWhile"],function(e,n){var f=n+1,w=f==kt||f==qt;Wt.prototype[e]=function(A){var j=this.clone();return j.__iteratees__.push({iteratee:xt(A,3),type:f}),j.__filtered__=j.__filtered__||w,j}}),q(["head","last"],function(e,n){var f="take"+(n?"Right":"");Wt.prototype[e]=function(){return this[f](1).value()[0]}}),q(["initial","tail"],function(e,n){var f="drop"+(n?"":"Right");Wt.prototype[e]=function(){return this.__filtered__?new Wt(this):this[f](1)}}),Wt.prototype.compact=function(){return this.filter(aa)},Wt.prototype.find=function(e){return this.filter(e).head()},Wt.prototype.findLast=function(e){return this.reverse().find(e)},Wt.prototype.invokeMap=Ht(function(e,n){return typeof e=="function"?new Wt(this):this.map(function(f){return vi(f,e,n)})}),Wt.prototype.reject=function(e){return this.filter(tc(xt(e)))},Wt.prototype.slice=function(e,n){e=Yt(e);var f=this;return f.__filtered__&&(e>0||n<0)?new Wt(f):(e<0?f=f.takeRight(-e):e&&(f=f.drop(e)),n!==r&&(n=Yt(n),f=n<0?f.dropRight(-n):f.take(n-e)),f)},Wt.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Wt.prototype.toArray=function(){return this.take(Oe)},ea(Wt.prototype,function(e,n){var f=/^(?:filter|find|map|reject)|While$/.test(n),w=/^(?:head|last)$/.test(n),A=N[w?"take"+(n=="last"?"Right":""):n],j=w||/^find/.test(n);A&&(N.prototype[n]=function(){var J=this.__wrapped__,ae=w?[1]:arguments,de=J instanceof Wt,Fe=ae[0],Le=de||zt(J),Ue=function(Kt){var Qt=A.apply(N,bt([Kt],ae));return w&&nt?Qt[0]:Qt};Le&&f&&typeof Fe=="function"&&Fe.length!=1&&(de=Le=!1);var nt=this.__chain__,pt=!!this.__actions__.length,_t=j&&!nt,Gt=de&&!pt;if(!j&&Le){J=Gt?J:new Wt(this);var Rt=e.apply(J,ae);return Rt.__actions__.push({func:Zu,args:[Ue],thisArg:r}),new Pr(Rt,nt)}return _t&&Gt?e.apply(this,ae):(Rt=this.thru(Ue),_t?w?Rt.value()[0]:Rt.value():Rt)})}),q(["pop","push","shift","sort","splice","unshift"],function(e){var n=_n[e],f=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",w=/^(?:pop|shift)$/.test(e);N.prototype[e]=function(){var A=arguments;if(w&&!this.__chain__){var j=this.value();return n.apply(zt(j)?j:[],A)}return this[f](function(J){return n.apply(zt(J)?J:[],A)})}}),ea(Wt.prototype,function(e,n){var f=N[n];if(f){var w=f.name+"";It.call(Na,w)||(Na[w]=[]),Na[w].push({name:n,func:f})}}),Na[S(r,W).name]=[{name:"wrapper",func:r}],Wt.prototype.clone=Ds,Wt.prototype.reverse=Ro,Wt.prototype.value=es,N.prototype.at=Cv,N.prototype.chain=kv,N.prototype.commit=Ev,N.prototype.next=Tv,N.prototype.plant=_v,N.prototype.reverse=Rv,N.prototype.toJSON=N.prototype.valueOf=N.prototype.value=Dv,N.prototype.first=N.prototype.head,ha&&(N.prototype[ha]=Iv),N},ve=ye();si?((si.exports=ve)._=ve,da._=ve):dn._=ve}).call(Qs)})(yc,yc.exports);var Sp=yc.exports;const rw=wc(Sp);function Mh(a){return typeof a=="number"&&isFinite(a)&&Math.floor(a)===a}function iw(a){var t=a.lastRenderedStartIndex,r=a.lastRenderedStopIndex,u=a.startIndex,o=a.stopIndex;return!(u>r||o<t)}function aw(a){for(var t=a.isItemLoaded,r=a.itemCount,u=a.minimumBatchSize,o=a.startIndex,p=a.stopIndex,x=[],P=null,_=null,M=o;M<=p;M++){var X=t(M);X?_!==null&&(x.push(P,_),P=_=null):(_=M,P===null&&(P=M))}if(_!==null){for(var z=Math.min(Math.max(_,P+u-1),r-1),K=_+1;K<=z&&!t(K);K++)_=K;x.push(P,_)}if(x.length)for(;x[1]-x[0]+1<u&&x[0]>0;){var be=x[0]-1;if(!t(be))x[0]=be;else break}return x}var ow=function(a,t){if(!(a instanceof t))throw new TypeError("Cannot call a class as a function")},sw=function(){function a(t,r){for(var u=0;u<r.length;u++){var o=r[u];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,r,u){return r&&a(t.prototype,r),u&&a(t,u),t}}(),lw=function(a,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);a.prototype=Object.create(t&&t.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(a,t):a.__proto__=t)},Fh=function(a,t){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:a},uw=function(a){lw(t,a);function t(){var r,u,o,p;ow(this,t);for(var x=arguments.length,P=Array(x),_=0;_<x;_++)P[_]=arguments[_];return p=(u=(o=Fh(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(P))),o),o._lastRenderedStartIndex=-1,o._lastRenderedStopIndex=-1,o._memoizedUnloadedRanges=[],o._onItemsRendered=function(M){var X=M.visibleStartIndex,z=M.visibleStopIndex;process.env.NODE_ENV!=="production"&&((!Mh(X)||!Mh(z))&&console.warn("Invalid onItemsRendered signature; please refer to InfiniteLoader documentation."),typeof o.props.loadMoreRows=="function"&&console.warn('InfiniteLoader "loadMoreRows" prop has been renamed to "loadMoreItems".')),o._lastRenderedStartIndex=X,o._lastRenderedStopIndex=z,o._ensureRowsLoaded(X,z)},o._setRef=function(M){o._listRef=M},u),Fh(o,p)}return sw(t,[{key:"resetloadMoreItemsCache",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this._memoizedUnloadedRanges=[],u&&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 u=this.props.children;return u({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(u,o){var p=this.props,x=p.isItemLoaded,P=p.itemCount,_=p.minimumBatchSize,M=_===void 0?10:_,X=p.threshold,z=X===void 0?15:X,K=aw({isItemLoaded:x,itemCount:P,minimumBatchSize:M,startIndex:Math.max(0,u-z),stopIndex:Math.min(P-1,o+z)});(this._memoizedUnloadedRanges.length!==K.length||this._memoizedUnloadedRanges.some(function(be,ue){return K[ue]!==be}))&&(this._memoizedUnloadedRanges=K,this._loadUnloadedRanges(K))}},{key:"_loadUnloadedRanges",value:function(u){for(var o=this,p=this.props.loadMoreItems||this.props.loadMoreRows,x=function(M){var X=u[M],z=u[M+1],K=p(X,z);K!=null&&K.then(function(){if(iw({lastRenderedStartIndex:o._lastRenderedStartIndex,lastRenderedStopIndex:o._lastRenderedStopIndex,startIndex:X,stopIndex:z})){if(o._listRef==null)return;typeof o._listRef.resetAfterIndex=="function"?o._listRef.resetAfterIndex(X,!0):(typeof o._listRef._getItemStyleCache=="function"&&o._listRef._getItemStyleCache(-1),o._listRef.forceUpdate())}})},P=0;P<u.length;P+=2)x(P)}}]),t}(qe.PureComponent);const Lh=window.location.href,wp=qe.createContext({}),cw=({children:a,baseUrl:t,userData:r})=>{const u=()=>{window.location.href=`${t}/authentication/login?callbackUrl=${Lh}`},o=()=>{window.location.href=`${t}/authentication/logout?callbackUrl=${Lh}`};return r!=null&&r.isFetching?sr.jsx(hc.Grid,{container:!0,justifyContent:"center",alignItems:"center",sx:{minHeight:"100vh"},children:sr.jsx(hc.CircularProgress,{})}):sr.jsx(wp.Provider,{value:{user:r==null?void 0:r.data,login:u,logout:o},children:a})},fw=()=>{const{login:a,logout:t,user:r}=qe.useContext(wp);return{login:a,logout:t,user:r}};function dw(a,t,r){return r.some(u=>{const o=a[u];return String(o).toLowerCase().includes(t.toLowerCase())})}var hf={exports:{}};/*!
|
|
156
|
-
* jQuery JavaScript Library v3.7.1
|
|
157
|
-
* https://jquery.com/
|
|
158
|
-
*
|
|
159
|
-
* Copyright OpenJS Foundation and other contributors
|
|
160
|
-
* Released under the MIT license
|
|
161
|
-
* https://jquery.org/license
|
|
162
|
-
*
|
|
163
|
-
* Date: 2023-08-28T13:37Z
|
|
164
|
-
*/var Nh;function xp(){return Nh||(Nh=1,function(a){(function(t,r){a.exports=t.document?r(t,!0):function(u){if(!u.document)throw new Error("jQuery requires a window with a document");return r(u)}})(typeof window<"u"?window:Qs,function(t,r){var u=[],o=Object.getPrototypeOf,p=u.slice,x=u.flat?function(i){return u.flat.call(i)}:function(i){return u.concat.apply([],i)},P=u.push,_=u.indexOf,M={},X=M.toString,z=M.hasOwnProperty,K=z.toString,be=K.call(Object),ue={},ce=function(c){return typeof c=="function"&&typeof c.nodeType!="number"&&typeof c.item!="function"},ee=function(c){return c!=null&&c===c.window},W=t.document,_e={type:!0,src:!0,nonce:!0,noModule:!0};function Ie(i,c,g){g=g||W;var b,T,R=g.createElement("script");if(R.text=i,c)for(b in _e)T=c[b]||c.getAttribute&&c.getAttribute(b),T&&R.setAttribute(b,T);g.head.appendChild(R).parentNode.removeChild(R)}function Ae(i){return i==null?i+"":typeof i=="object"||typeof i=="function"?M[X.call(i)]||"object":typeof i}var fe="3.7.1",Be=/HTML$/i,v=function(i,c){return new v.fn.init(i,c)};v.fn=v.prototype={jquery:fe,constructor:v,length:0,toArray:function(){return p.call(this)},get:function(i){return i==null?p.call(this):i<0?this[i+this.length]:this[i]},pushStack:function(i){var c=v.merge(this.constructor(),i);return c.prevObject=this,c},each:function(i){return v.each(this,i)},map:function(i){return this.pushStack(v.map(this,function(c,g){return i.call(c,g,c)}))},slice:function(){return this.pushStack(p.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(v.grep(this,function(i,c){return(c+1)%2}))},odd:function(){return this.pushStack(v.grep(this,function(i,c){return c%2}))},eq:function(i){var c=this.length,g=+i+(i<0?c:0);return this.pushStack(g>=0&&g<c?[this[g]]:[])},end:function(){return this.prevObject||this.constructor()},push:P,sort:u.sort,splice:u.splice},v.extend=v.fn.extend=function(){var i,c,g,b,T,R,O=arguments[0]||{},Q=1,q=arguments.length,le=!1;for(typeof O=="boolean"&&(le=O,O=arguments[Q]||{},Q++),typeof O!="object"&&!ce(O)&&(O={}),Q===q&&(O=this,Q--);Q<q;Q++)if((i=arguments[Q])!=null)for(c in i)b=i[c],!(c==="__proto__"||O===b)&&(le&&b&&(v.isPlainObject(b)||(T=Array.isArray(b)))?(g=O[c],T&&!Array.isArray(g)?R=[]:!T&&!v.isPlainObject(g)?R={}:R=g,T=!1,O[c]=v.extend(le,R,b)):b!==void 0&&(O[c]=b));return O},v.extend({expando:"jQuery"+(fe+Math.random()).replace(/\D/g,""),isReady:!0,error:function(i){throw new Error(i)},noop:function(){},isPlainObject:function(i){var c,g;return!i||X.call(i)!=="[object Object]"?!1:(c=o(i),c?(g=z.call(c,"constructor")&&c.constructor,typeof g=="function"&&K.call(g)===be):!0)},isEmptyObject:function(i){var c;for(c in i)return!1;return!0},globalEval:function(i,c,g){Ie(i,{nonce:c&&c.nonce},g)},each:function(i,c){var g,b=0;if(We(i))for(g=i.length;b<g&&c.call(i[b],b,i[b])!==!1;b++);else for(b in i)if(c.call(i[b],b,i[b])===!1)break;return i},text:function(i){var c,g="",b=0,T=i.nodeType;if(!T)for(;c=i[b++];)g+=v.text(c);return T===1||T===11?i.textContent:T===9?i.documentElement.textContent:T===3||T===4?i.nodeValue:g},makeArray:function(i,c){var g=c||[];return i!=null&&(We(Object(i))?v.merge(g,typeof i=="string"?[i]:i):P.call(g,i)),g},inArray:function(i,c,g){return c==null?-1:_.call(c,i,g)},isXMLDoc:function(i){var c=i&&i.namespaceURI,g=i&&(i.ownerDocument||i).documentElement;return!Be.test(c||g&&g.nodeName||"HTML")},merge:function(i,c){for(var g=+c.length,b=0,T=i.length;b<g;b++)i[T++]=c[b];return i.length=T,i},grep:function(i,c,g){for(var b,T=[],R=0,O=i.length,Q=!g;R<O;R++)b=!c(i[R],R),b!==Q&&T.push(i[R]);return T},map:function(i,c,g){var b,T,R=0,O=[];if(We(i))for(b=i.length;R<b;R++)T=c(i[R],R,g),T!=null&&O.push(T);else for(R in i)T=c(i[R],R,g),T!=null&&O.push(T);return x(O)},guid:1,support:ue}),typeof Symbol=="function"&&(v.fn[Symbol.iterator]=u[Symbol.iterator]),v.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(i,c){M["[object "+c+"]"]=c.toLowerCase()});function We(i){var c=!!i&&"length"in i&&i.length,g=Ae(i);return ce(i)||ee(i)?!1:g==="array"||c===0||typeof c=="number"&&c>0&&c-1 in i}function De(i,c){return i.nodeName&&i.nodeName.toLowerCase()===c.toLowerCase()}var Dt=u.pop,Ct=u.sort,At=u.splice,lt="[\\x20\\t\\r\\n\\f]",kt=new RegExp("^"+lt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+lt+"+$","g");v.contains=function(i,c){var g=c&&c.parentNode;return i===g||!!(g&&g.nodeType===1&&(i.contains?i.contains(g):i.compareDocumentPosition&&i.compareDocumentPosition(g)&16))};var Zt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function qt(i,c){return c?i==="\0"?"�":i.slice(0,-1)+"\\"+i.charCodeAt(i.length-1).toString(16)+" ":"\\"+i}v.escapeSelector=function(i){return(i+"").replace(Zt,qt)};var mt=W,Xe=P;(function(){var i,c,g,b,T,R=Xe,O,Q,q,le,Ce,ke=v.expando,ge=0,Me=0,Ke=An(),bt=An(),Et=An(),In=An(),on=function($,oe){return $===oe&&(T=!0),0},Ir="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",_r="(?:\\\\[\\da-fA-F]{1,6}"+lt+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Ft="\\["+lt+"*("+_r+")(?:"+lt+"*([*^$|!~]?=)"+lt+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+_r+"))|)"+lt+"*\\]",Rr=":("+_r+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Ft+")*)|.*)\\)|)",Bt=new RegExp(lt+"+","g"),Jt=new RegExp("^"+lt+"*,"+lt+"*"),Gi=new RegExp("^"+lt+"*([>+~]|"+lt+")"+lt+"*"),qi=new RegExp(lt+"|>"),pr=new RegExp(Rr),y=new RegExp("^"+_r+"$"),E={ID:new RegExp("^#("+_r+")"),CLASS:new RegExp("^\\.("+_r+")"),TAG:new RegExp("^("+_r+"|[*])"),ATTR:new RegExp("^"+Ft),PSEUDO:new RegExp("^"+Rr),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+lt+"*(even|odd|(([+-]|)(\\d*)n|)"+lt+"*(?:([+-]|)"+lt+"*(\\d+)|))"+lt+"*\\)|)","i"),bool:new RegExp("^(?:"+Ir+")$","i"),needsContext:new RegExp("^"+lt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+lt+"*((?:-\\d)?\\d*)"+lt+"*\\)|)(?=[^-]|$)","i")},F=/^(?:input|select|textarea|button)$/i,V=/^h\d$/i,he=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,pe=/[+~]/,Ee=new RegExp("\\\\[\\da-fA-F]{1,6}"+lt+"?|\\\\([^\\r\\n\\f])","g"),je=function($,oe){var ye="0x"+$.slice(1)-65536;return oe||(ye<0?String.fromCharCode(ye+65536):String.fromCharCode(ye>>10|55296,ye&1023|56320))},ot=function(){Xi()},Pt=Di(function($){return $.disabled===!0&&De($,"fieldset")},{dir:"parentNode",next:"legend"});function yt(){try{return O.activeElement}catch{}}try{R.apply(u=p.call(mt.childNodes),mt.childNodes),u[mt.childNodes.length].nodeType}catch{R={apply:function(oe,ye){Xe.apply(oe,p.call(ye))},call:function(oe){Xe.apply(oe,p.call(arguments,1))}}}function dt($,oe,ye,ve){var U,re,ne,Te,Pe,Ze,Je,Ge=oe&&oe.ownerDocument,Tt=oe?oe.nodeType:9;if(ye=ye||[],typeof $!="string"||!$||Tt!==1&&Tt!==9&&Tt!==11)return ye;if(!ve&&(Xi(oe),oe=oe||O,q)){if(Tt!==11&&(Pe=he.exec($)))if(U=Pe[1]){if(Tt===9)if(ne=oe.getElementById(U)){if(ne.id===U)return R.call(ye,ne),ye}else return ye;else if(Ge&&(ne=Ge.getElementById(U))&&dt.contains(oe,ne)&&ne.id===U)return R.call(ye,ne),ye}else{if(Pe[2])return R.apply(ye,oe.getElementsByTagName($)),ye;if((U=Pe[3])&&oe.getElementsByClassName)return R.apply(ye,oe.getElementsByClassName(U)),ye}if(!In[$+" "]&&(!le||!le.test($))){if(Je=$,Ge=oe,Tt===1&&(qi.test($)||Gi.test($))){for(Ge=pe.test($)&&zo(oe.parentNode)||oe,(Ge!=oe||!ue.scope)&&((Te=oe.getAttribute("id"))?Te=v.escapeSelector(Te):oe.setAttribute("id",Te=ke)),Ze=Aa($),re=Ze.length;re--;)Ze[re]=(Te?"#"+Te:":scope")+" "+li(Ze[re]);Je=Ze.join(",")}try{return R.apply(ye,Ge.querySelectorAll(Je)),ye}catch{In($,!0)}finally{Te===ke&&oe.removeAttribute("id")}}}return wo($.replace(kt,"$1"),oe,ye,ve)}function An(){var $=[];function oe(ye,ve){return $.push(ye+" ")>c.cacheLength&&delete oe[$.shift()],oe[ye+" "]=ve}return oe}function vn($){return $[ke]=!0,$}function Nn($){var oe=O.createElement("fieldset");try{return!!$(oe)}catch{return!1}finally{oe.parentNode&&oe.parentNode.removeChild(oe),oe=null}}function Ra($){return function(oe){return De(oe,"input")&&oe.type===$}}function yo($){return function(oe){return(De(oe,"input")||De(oe,"button"))&&oe.type===$}}function Da($){return function(oe){return"form"in oe?oe.parentNode&&oe.disabled===!1?"label"in oe?"label"in oe.parentNode?oe.parentNode.disabled===$:oe.disabled===$:oe.isDisabled===$||oe.isDisabled!==!$&&Pt(oe)===$:oe.disabled===$:"label"in oe?oe.disabled===$:!1}}function Yr($){return vn(function(oe){return oe=+oe,vn(function(ye,ve){for(var U,re=$([],ye.length,oe),ne=re.length;ne--;)ye[U=re[ne]]&&(ye[U]=!(ve[U]=ye[U]))})})}function zo($){return $&&typeof $.getElementsByTagName<"u"&&$}function Xi($){var oe,ye=$?$.ownerDocument||$:mt;return ye==O||ye.nodeType!==9||!ye.documentElement||(O=ye,Q=O.documentElement,q=!v.isXMLDoc(O),Ce=Q.matches||Q.webkitMatchesSelector||Q.msMatchesSelector,Q.msMatchesSelector&&mt!=O&&(oe=O.defaultView)&&oe.top!==oe&&oe.addEventListener("unload",ot),ue.getById=Nn(function(ve){return Q.appendChild(ve).id=v.expando,!O.getElementsByName||!O.getElementsByName(v.expando).length}),ue.disconnectedMatch=Nn(function(ve){return Ce.call(ve,"*")}),ue.scope=Nn(function(){return O.querySelectorAll(":scope")}),ue.cssHas=Nn(function(){try{return O.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),ue.getById?(c.filter.ID=function(ve){var U=ve.replace(Ee,je);return function(re){return re.getAttribute("id")===U}},c.find.ID=function(ve,U){if(typeof U.getElementById<"u"&&q){var re=U.getElementById(ve);return re?[re]:[]}}):(c.filter.ID=function(ve){var U=ve.replace(Ee,je);return function(re){var ne=typeof re.getAttributeNode<"u"&&re.getAttributeNode("id");return ne&&ne.value===U}},c.find.ID=function(ve,U){if(typeof U.getElementById<"u"&&q){var re,ne,Te,Pe=U.getElementById(ve);if(Pe){if(re=Pe.getAttributeNode("id"),re&&re.value===ve)return[Pe];for(Te=U.getElementsByName(ve),ne=0;Pe=Te[ne++];)if(re=Pe.getAttributeNode("id"),re&&re.value===ve)return[Pe]}return[]}}),c.find.TAG=function(ve,U){return typeof U.getElementsByTagName<"u"?U.getElementsByTagName(ve):U.querySelectorAll(ve)},c.find.CLASS=function(ve,U){if(typeof U.getElementsByClassName<"u"&&q)return U.getElementsByClassName(ve)},le=[],Nn(function(ve){var U;Q.appendChild(ve).innerHTML="<a id='"+ke+"' href='' disabled='disabled'></a><select id='"+ke+"-\r\\' disabled='disabled'><option selected=''></option></select>",ve.querySelectorAll("[selected]").length||le.push("\\["+lt+"*(?:value|"+Ir+")"),ve.querySelectorAll("[id~="+ke+"-]").length||le.push("~="),ve.querySelectorAll("a#"+ke+"+*").length||le.push(".#.+[+~]"),ve.querySelectorAll(":checked").length||le.push(":checked"),U=O.createElement("input"),U.setAttribute("type","hidden"),ve.appendChild(U).setAttribute("name","D"),Q.appendChild(ve).disabled=!0,ve.querySelectorAll(":disabled").length!==2&&le.push(":enabled",":disabled"),U=O.createElement("input"),U.setAttribute("name",""),ve.appendChild(U),ve.querySelectorAll("[name='']").length||le.push("\\["+lt+"*name"+lt+"*="+lt+`*(?:''|"")`)}),ue.cssHas||le.push(":has"),le=le.length&&new RegExp(le.join("|")),on=function(ve,U){if(ve===U)return T=!0,0;var re=!ve.compareDocumentPosition-!U.compareDocumentPosition;return re||(re=(ve.ownerDocument||ve)==(U.ownerDocument||U)?ve.compareDocumentPosition(U):1,re&1||!ue.sortDetached&&U.compareDocumentPosition(ve)===re?ve===O||ve.ownerDocument==mt&&dt.contains(mt,ve)?-1:U===O||U.ownerDocument==mt&&dt.contains(mt,U)?1:b?_.call(b,ve)-_.call(b,U):0:re&4?-1:1)}),O}dt.matches=function($,oe){return dt($,null,null,oe)},dt.matchesSelector=function($,oe){if(Xi($),q&&!In[oe+" "]&&(!le||!le.test(oe)))try{var ye=Ce.call($,oe);if(ye||ue.disconnectedMatch||$.document&&$.document.nodeType!==11)return ye}catch{In(oe,!0)}return dt(oe,O,null,[$]).length>0},dt.contains=function($,oe){return($.ownerDocument||$)!=O&&Xi($),v.contains($,oe)},dt.attr=function($,oe){($.ownerDocument||$)!=O&&Xi($);var ye=c.attrHandle[oe.toLowerCase()],ve=ye&&z.call(c.attrHandle,oe.toLowerCase())?ye($,oe,!q):void 0;return ve!==void 0?ve:$.getAttribute(oe)},dt.error=function($){throw new Error("Syntax error, unrecognized expression: "+$)},v.uniqueSort=function($){var oe,ye=[],ve=0,U=0;if(T=!ue.sortStable,b=!ue.sortStable&&p.call($,0),Ct.call($,on),T){for(;oe=$[U++];)oe===$[U]&&(ve=ye.push(U));for(;ve--;)At.call($,ye[ve],1)}return b=null,$},v.fn.uniqueSort=function(){return this.pushStack(v.uniqueSort(p.apply(this)))},c=v.expr={cacheLength:50,createPseudo:vn,match:E,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function($){return $[1]=$[1].replace(Ee,je),$[3]=($[3]||$[4]||$[5]||"").replace(Ee,je),$[2]==="~="&&($[3]=" "+$[3]+" "),$.slice(0,4)},CHILD:function($){return $[1]=$[1].toLowerCase(),$[1].slice(0,3)==="nth"?($[3]||dt.error($[0]),$[4]=+($[4]?$[5]+($[6]||1):2*($[3]==="even"||$[3]==="odd")),$[5]=+($[7]+$[8]||$[3]==="odd")):$[3]&&dt.error($[0]),$},PSEUDO:function($){var oe,ye=!$[6]&&$[2];return E.CHILD.test($[0])?null:($[3]?$[2]=$[4]||$[5]||"":ye&&pr.test(ye)&&(oe=Aa(ye,!0))&&(oe=ye.indexOf(")",ye.length-oe)-ye.length)&&($[0]=$[0].slice(0,oe),$[2]=ye.slice(0,oe)),$.slice(0,3))}},filter:{TAG:function($){var oe=$.replace(Ee,je).toLowerCase();return $==="*"?function(){return!0}:function(ye){return De(ye,oe)}},CLASS:function($){var oe=Ke[$+" "];return oe||(oe=new RegExp("(^|"+lt+")"+$+"("+lt+"|$)"))&&Ke($,function(ye){return oe.test(typeof ye.className=="string"&&ye.className||typeof ye.getAttribute<"u"&&ye.getAttribute("class")||"")})},ATTR:function($,oe,ye){return function(ve){var U=dt.attr(ve,$);return U==null?oe==="!=":oe?(U+="",oe==="="?U===ye:oe==="!="?U!==ye:oe==="^="?ye&&U.indexOf(ye)===0:oe==="*="?ye&&U.indexOf(ye)>-1:oe==="$="?ye&&U.slice(-ye.length)===ye:oe==="~="?(" "+U.replace(Bt," ")+" ").indexOf(ye)>-1:oe==="|="?U===ye||U.slice(0,ye.length+1)===ye+"-":!1):!0}},CHILD:function($,oe,ye,ve,U){var re=$.slice(0,3)!=="nth",ne=$.slice(-4)!=="last",Te=oe==="of-type";return ve===1&&U===0?function(Pe){return!!Pe.parentNode}:function(Pe,Ze,Je){var Ge,Tt,ht,jt,_n,Kn=re!==ne?"nextSibling":"previousSibling",Bn=Pe.parentNode,Dr=Te&&Pe.nodeName.toLowerCase(),Ai=!Je&&!Te,It=!1;if(Bn){if(re){for(;Kn;){for(ht=Pe;ht=ht[Kn];)if(Te?De(ht,Dr):ht.nodeType===1)return!1;_n=Kn=$==="only"&&!_n&&"nextSibling"}return!0}if(_n=[ne?Bn.firstChild:Bn.lastChild],ne&&Ai){for(Tt=Bn[ke]||(Bn[ke]={}),Ge=Tt[$]||[],jt=Ge[0]===ge&&Ge[1],It=jt&&Ge[2],ht=jt&&Bn.childNodes[jt];ht=++jt&&ht&&ht[Kn]||(It=jt=0)||_n.pop();)if(ht.nodeType===1&&++It&&ht===Pe){Tt[$]=[ge,jt,It];break}}else if(Ai&&(Tt=Pe[ke]||(Pe[ke]={}),Ge=Tt[$]||[],jt=Ge[0]===ge&&Ge[1],It=jt),It===!1)for(;(ht=++jt&&ht&&ht[Kn]||(It=jt=0)||_n.pop())&&!((Te?De(ht,Dr):ht.nodeType===1)&&++It&&(Ai&&(Tt=ht[ke]||(ht[ke]={}),Tt[$]=[ge,It]),ht===Pe)););return It-=U,It===ve||It%ve===0&&It/ve>=0}}},PSEUDO:function($,oe){var ye,ve=c.pseudos[$]||c.setFilters[$.toLowerCase()]||dt.error("unsupported pseudo: "+$);return ve[ke]?ve(oe):ve.length>1?(ye=[$,$,"",oe],c.setFilters.hasOwnProperty($.toLowerCase())?vn(function(U,re){for(var ne,Te=ve(U,oe),Pe=Te.length;Pe--;)ne=_.call(U,Te[Pe]),U[ne]=!(re[ne]=Te[Pe])}):function(U){return ve(U,0,ye)}):ve}},pseudos:{not:vn(function($){var oe=[],ye=[],ve=So($.replace(kt,"$1"));return ve[ke]?vn(function(U,re,ne,Te){for(var Pe,Ze=ve(U,null,Te,[]),Je=U.length;Je--;)(Pe=Ze[Je])&&(U[Je]=!(re[Je]=Pe))}):function(U,re,ne){return oe[0]=U,ve(oe,null,ne,ye),oe[0]=null,!ye.pop()}}),has:vn(function($){return function(oe){return dt($,oe).length>0}}),contains:vn(function($){return $=$.replace(Ee,je),function(oe){return(oe.textContent||v.text(oe)).indexOf($)>-1}}),lang:vn(function($){return y.test($||"")||dt.error("unsupported lang: "+$),$=$.replace(Ee,je).toLowerCase(),function(oe){var ye;do if(ye=q?oe.lang:oe.getAttribute("xml:lang")||oe.getAttribute("lang"))return ye=ye.toLowerCase(),ye===$||ye.indexOf($+"-")===0;while((oe=oe.parentNode)&&oe.nodeType===1);return!1}}),target:function($){var oe=t.location&&t.location.hash;return oe&&oe.slice(1)===$.id},root:function($){return $===Q},focus:function($){return $===yt()&&O.hasFocus()&&!!($.type||$.href||~$.tabIndex)},enabled:Da(!1),disabled:Da(!0),checked:function($){return De($,"input")&&!!$.checked||De($,"option")&&!!$.selected},selected:function($){return $.parentNode&&$.parentNode.selectedIndex,$.selected===!0},empty:function($){for($=$.firstChild;$;$=$.nextSibling)if($.nodeType<6)return!1;return!0},parent:function($){return!c.pseudos.empty($)},header:function($){return V.test($.nodeName)},input:function($){return F.test($.nodeName)},button:function($){return De($,"input")&&$.type==="button"||De($,"button")},text:function($){var oe;return De($,"input")&&$.type==="text"&&((oe=$.getAttribute("type"))==null||oe.toLowerCase()==="text")},first:Yr(function(){return[0]}),last:Yr(function($,oe){return[oe-1]}),eq:Yr(function($,oe,ye){return[ye<0?ye+oe:ye]}),even:Yr(function($,oe){for(var ye=0;ye<oe;ye+=2)$.push(ye);return $}),odd:Yr(function($,oe){for(var ye=1;ye<oe;ye+=2)$.push(ye);return $}),lt:Yr(function($,oe,ye){var ve;for(ye<0?ve=ye+oe:ye>oe?ve=oe:ve=ye;--ve>=0;)$.push(ve);return $}),gt:Yr(function($,oe,ye){for(var ve=ye<0?ye+oe:ye;++ve<oe;)$.push(ve);return $})}},c.pseudos.nth=c.pseudos.eq;for(i in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})c.pseudos[i]=Ra(i);for(i in{submit:!0,reset:!0})c.pseudos[i]=yo(i);function bo(){}bo.prototype=c.filters=c.pseudos,c.setFilters=new bo;function Aa($,oe){var ye,ve,U,re,ne,Te,Pe,Ze=bt[$+" "];if(Ze)return oe?0:Ze.slice(0);for(ne=$,Te=[],Pe=c.preFilter;ne;){(!ye||(ve=Jt.exec(ne)))&&(ve&&(ne=ne.slice(ve[0].length)||ne),Te.push(U=[])),ye=!1,(ve=Gi.exec(ne))&&(ye=ve.shift(),U.push({value:ye,type:ve[0].replace(kt," ")}),ne=ne.slice(ye.length));for(re in c.filter)(ve=E[re].exec(ne))&&(!Pe[re]||(ve=Pe[re](ve)))&&(ye=ve.shift(),U.push({value:ye,type:re,matches:ve}),ne=ne.slice(ye.length));if(!ye)break}return oe?ne.length:ne?dt.error($):bt($,Te).slice(0)}function li($){for(var oe=0,ye=$.length,ve="";oe<ye;oe++)ve+=$[oe].value;return ve}function Di($,oe,ye){var ve=oe.dir,U=oe.next,re=U||ve,ne=ye&&re==="parentNode",Te=Me++;return oe.first?function(Pe,Ze,Je){for(;Pe=Pe[ve];)if(Pe.nodeType===1||ne)return $(Pe,Ze,Je);return!1}:function(Pe,Ze,Je){var Ge,Tt,ht=[ge,Te];if(Je){for(;Pe=Pe[ve];)if((Pe.nodeType===1||ne)&&$(Pe,Ze,Je))return!0}else for(;Pe=Pe[ve];)if(Pe.nodeType===1||ne)if(Tt=Pe[ke]||(Pe[ke]={}),U&&De(Pe,U))Pe=Pe[ve]||Pe;else{if((Ge=Tt[re])&&Ge[0]===ge&&Ge[1]===Te)return ht[2]=Ge[2];if(Tt[re]=ht,ht[2]=$(Pe,Ze,Je))return!0}return!1}}function $o($){return $.length>1?function(oe,ye,ve){for(var U=$.length;U--;)if(!$[U](oe,ye,ve))return!1;return!0}:$[0]}function il($,oe,ye){for(var ve=0,U=oe.length;ve<U;ve++)dt($,oe[ve],ye);return ye}function Pa($,oe,ye,ve,U){for(var re,ne=[],Te=0,Pe=$.length,Ze=oe!=null;Te<Pe;Te++)(re=$[Te])&&(!ye||ye(re,ve,U))&&(ne.push(re),Ze&&oe.push(Te));return ne}function Ki($,oe,ye,ve,U,re){return ve&&!ve[ke]&&(ve=Ki(ve)),U&&!U[ke]&&(U=Ki(U,re)),vn(function(ne,Te,Pe,Ze){var Je,Ge,Tt,ht,jt=[],_n=[],Kn=Te.length,Bn=ne||il(oe||"*",Pe.nodeType?[Pe]:Pe,[]),Dr=$&&(ne||!oe)?Pa(Bn,jt,$,Pe,Ze):Bn;if(ye?(ht=U||(ne?$:Kn||ve)?[]:Te,ye(Dr,ht,Pe,Ze)):ht=Dr,ve)for(Je=Pa(ht,_n),ve(Je,[],Pe,Ze),Ge=Je.length;Ge--;)(Tt=Je[Ge])&&(ht[_n[Ge]]=!(Dr[_n[Ge]]=Tt));if(ne){if(U||$){if(U){for(Je=[],Ge=ht.length;Ge--;)(Tt=ht[Ge])&&Je.push(Dr[Ge]=Tt);U(null,ht=[],Je,Ze)}for(Ge=ht.length;Ge--;)(Tt=ht[Ge])&&(Je=U?_.call(ne,Tt):jt[Ge])>-1&&(ne[Je]=!(Te[Je]=Tt))}}else ht=Pa(ht===Te?ht.splice(Kn,ht.length):ht),U?U(null,Te,ht,Ze):R.apply(Te,ht)})}function tr($){for(var oe,ye,ve,U=$.length,re=c.relative[$[0].type],ne=re||c.relative[" "],Te=re?1:0,Pe=Di(function(Ge){return Ge===oe},ne,!0),Ze=Di(function(Ge){return _.call(oe,Ge)>-1},ne,!0),Je=[function(Ge,Tt,ht){var jt=!re&&(ht||Tt!=g)||((oe=Tt).nodeType?Pe(Ge,Tt,ht):Ze(Ge,Tt,ht));return oe=null,jt}];Te<U;Te++)if(ye=c.relative[$[Te].type])Je=[Di($o(Je),ye)];else{if(ye=c.filter[$[Te].type].apply(null,$[Te].matches),ye[ke]){for(ve=++Te;ve<U&&!c.relative[$[ve].type];ve++);return Ki(Te>1&&$o(Je),Te>1&&li($.slice(0,Te-1).concat({value:$[Te-2].type===" "?"*":""})).replace(kt,"$1"),ye,Te<ve&&tr($.slice(Te,ve)),ve<U&&tr($=$.slice(ve)),ve<U&&li($))}Je.push(ye)}return $o(Je)}function Vo($,oe){var ye=oe.length>0,ve=$.length>0,U=function(re,ne,Te,Pe,Ze){var Je,Ge,Tt,ht=0,jt="0",_n=re&&[],Kn=[],Bn=g,Dr=re||ve&&c.find.TAG("*",Ze),Ai=ge+=Bn==null?1:Math.random()||.1,It=Dr.length;for(Ze&&(g=ne==O||ne||Ze);jt!==It&&(Je=Dr[jt])!=null;jt++){if(ve&&Je){for(Ge=0,!ne&&Je.ownerDocument!=O&&(Xi(Je),Te=!q);Tt=$[Ge++];)if(Tt(Je,ne||O,Te)){R.call(Pe,Je);break}Ze&&(ge=Ai)}ye&&((Je=!Tt&&Je)&&ht--,re&&_n.push(Je))}if(ht+=jt,ye&&jt!==ht){for(Ge=0;Tt=oe[Ge++];)Tt(_n,Kn,ne,Te);if(re){if(ht>0)for(;jt--;)_n[jt]||Kn[jt]||(Kn[jt]=Dt.call(Pe));Kn=Pa(Kn)}R.apply(Pe,Kn),Ze&&!re&&Kn.length>0&&ht+oe.length>1&&v.uniqueSort(Pe)}return Ze&&(ge=Ai,g=Bn),_n};return ye?vn(U):U}function So($,oe){var ye,ve=[],U=[],re=Et[$+" "];if(!re){for(oe||(oe=Aa($)),ye=oe.length;ye--;)re=tr(oe[ye]),re[ke]?ve.push(re):U.push(re);re=Et($,Vo(U,ve)),re.selector=$}return re}function wo($,oe,ye,ve){var U,re,ne,Te,Pe,Ze=typeof $=="function"&&$,Je=!ve&&Aa($=Ze.selector||$);if(ye=ye||[],Je.length===1){if(re=Je[0]=Je[0].slice(0),re.length>2&&(ne=re[0]).type==="ID"&&oe.nodeType===9&&q&&c.relative[re[1].type]){if(oe=(c.find.ID(ne.matches[0].replace(Ee,je),oe)||[])[0],oe)Ze&&(oe=oe.parentNode);else return ye;$=$.slice(re.shift().value.length)}for(U=E.needsContext.test($)?0:re.length;U--&&(ne=re[U],!c.relative[Te=ne.type]);)if((Pe=c.find[Te])&&(ve=Pe(ne.matches[0].replace(Ee,je),pe.test(re[0].type)&&zo(oe.parentNode)||oe))){if(re.splice(U,1),$=ve.length&&li(re),!$)return R.apply(ye,ve),ye;break}}return(Ze||So($,Je))(ve,oe,!q,ye,!oe||pe.test($)&&zo(oe.parentNode)||oe),ye}ue.sortStable=ke.split("").sort(on).join("")===ke,Xi(),ue.sortDetached=Nn(function($){return $.compareDocumentPosition(O.createElement("fieldset"))&1}),v.find=dt,v.expr[":"]=v.expr.pseudos,v.unique=v.uniqueSort,dt.compile=So,dt.select=wo,dt.setDocument=Xi,dt.tokenize=Aa,dt.escape=v.escapeSelector,dt.getText=v.text,dt.isXML=v.isXMLDoc,dt.selectors=v.expr,dt.support=v.support,dt.uniqueSort=v.uniqueSort})();var wt=function(i,c,g){for(var b=[],T=g!==void 0;(i=i[c])&&i.nodeType!==9;)if(i.nodeType===1){if(T&&v(i).is(g))break;b.push(i)}return b},Re=function(i,c){for(var g=[];i;i=i.nextSibling)i.nodeType===1&&i!==c&&g.push(i);return g},Oe=v.expr.match.needsContext,ze=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function et(i,c,g){return ce(c)?v.grep(i,function(b,T){return!!c.call(b,T,b)!==g}):c.nodeType?v.grep(i,function(b){return b===c!==g}):typeof c!="string"?v.grep(i,function(b){return _.call(c,b)>-1!==g}):v.filter(c,i,g)}v.filter=function(i,c,g){var b=c[0];return g&&(i=":not("+i+")"),c.length===1&&b.nodeType===1?v.find.matchesSelector(b,i)?[b]:[]:v.find.matches(i,v.grep(c,function(T){return T.nodeType===1}))},v.fn.extend({find:function(i){var c,g,b=this.length,T=this;if(typeof i!="string")return this.pushStack(v(i).filter(function(){for(c=0;c<b;c++)if(v.contains(T[c],this))return!0}));for(g=this.pushStack([]),c=0;c<b;c++)v.find(i,T[c],g);return b>1?v.uniqueSort(g):g},filter:function(i){return this.pushStack(et(this,i||[],!1))},not:function(i){return this.pushStack(et(this,i||[],!0))},is:function(i){return!!et(this,typeof i=="string"&&Oe.test(i)?v(i):i||[],!1).length}});var tt,Ve=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Ye=v.fn.init=function(i,c,g){var b,T;if(!i)return this;if(g=g||tt,typeof i=="string")if(i[0]==="<"&&i[i.length-1]===">"&&i.length>=3?b=[null,i,null]:b=Ve.exec(i),b&&(b[1]||!c))if(b[1]){if(c=c instanceof v?c[0]:c,v.merge(this,v.parseHTML(b[1],c&&c.nodeType?c.ownerDocument||c:W,!0)),ze.test(b[1])&&v.isPlainObject(c))for(b in c)ce(this[b])?this[b](c[b]):this.attr(b,c[b]);return this}else return T=W.getElementById(b[2]),T&&(this[0]=T,this.length=1),this;else return!c||c.jquery?(c||g).find(i):this.constructor(c).find(i);else{if(i.nodeType)return this[0]=i,this.length=1,this;if(ce(i))return g.ready!==void 0?g.ready(i):i(v)}return v.makeArray(i,this)};Ye.prototype=v.fn,tt=v(W);var ut=/^(?:parents|prev(?:Until|All))/,gt={children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({has:function(i){var c=v(i,this),g=c.length;return this.filter(function(){for(var b=0;b<g;b++)if(v.contains(this,c[b]))return!0})},closest:function(i,c){var g,b=0,T=this.length,R=[],O=typeof i!="string"&&v(i);if(!Oe.test(i)){for(;b<T;b++)for(g=this[b];g&&g!==c;g=g.parentNode)if(g.nodeType<11&&(O?O.index(g)>-1:g.nodeType===1&&v.find.matchesSelector(g,i))){R.push(g);break}}return this.pushStack(R.length>1?v.uniqueSort(R):R)},index:function(i){return i?typeof i=="string"?_.call(v(i),this[0]):_.call(this,i.jquery?i[0]:i):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(i,c){return this.pushStack(v.uniqueSort(v.merge(this.get(),v(i,c))))},addBack:function(i){return this.add(i==null?this.prevObject:this.prevObject.filter(i))}});function vt(i,c){for(;(i=i[c])&&i.nodeType!==1;);return i}v.each({parent:function(i){var c=i.parentNode;return c&&c.nodeType!==11?c:null},parents:function(i){return wt(i,"parentNode")},parentsUntil:function(i,c,g){return wt(i,"parentNode",g)},next:function(i){return vt(i,"nextSibling")},prev:function(i){return vt(i,"previousSibling")},nextAll:function(i){return wt(i,"nextSibling")},prevAll:function(i){return wt(i,"previousSibling")},nextUntil:function(i,c,g){return wt(i,"nextSibling",g)},prevUntil:function(i,c,g){return wt(i,"previousSibling",g)},siblings:function(i){return Re((i.parentNode||{}).firstChild,i)},children:function(i){return Re(i.firstChild)},contents:function(i){return i.contentDocument!=null&&o(i.contentDocument)?i.contentDocument:(De(i,"template")&&(i=i.content||i),v.merge([],i.childNodes))}},function(i,c){v.fn[i]=function(g,b){var T=v.map(this,c,g);return i.slice(-5)!=="Until"&&(b=g),b&&typeof b=="string"&&(T=v.filter(b,T)),this.length>1&&(gt[i]||v.uniqueSort(T),ut.test(i)&&T.reverse()),this.pushStack(T)}});var ct=/[^\x20\t\r\n\f]+/g;function Lt(i){var c={};return v.each(i.match(ct)||[],function(g,b){c[b]=!0}),c}v.Callbacks=function(i){i=typeof i=="string"?Lt(i):v.extend({},i);var c,g,b,T,R=[],O=[],Q=-1,q=function(){for(T=T||i.once,b=c=!0;O.length;Q=-1)for(g=O.shift();++Q<R.length;)R[Q].apply(g[0],g[1])===!1&&i.stopOnFalse&&(Q=R.length,g=!1);i.memory||(g=!1),c=!1,T&&(g?R=[]:R="")},le={add:function(){return R&&(g&&!c&&(Q=R.length-1,O.push(g)),function Ce(ke){v.each(ke,function(ge,Me){ce(Me)?(!i.unique||!le.has(Me))&&R.push(Me):Me&&Me.length&&Ae(Me)!=="string"&&Ce(Me)})}(arguments),g&&!c&&q()),this},remove:function(){return v.each(arguments,function(Ce,ke){for(var ge;(ge=v.inArray(ke,R,ge))>-1;)R.splice(ge,1),ge<=Q&&Q--}),this},has:function(Ce){return Ce?v.inArray(Ce,R)>-1:R.length>0},empty:function(){return R&&(R=[]),this},disable:function(){return T=O=[],R=g="",this},disabled:function(){return!R},lock:function(){return T=O=[],!g&&!c&&(R=g=""),this},locked:function(){return!!T},fireWith:function(Ce,ke){return T||(ke=ke||[],ke=[Ce,ke.slice?ke.slice():ke],O.push(ke),c||q()),this},fire:function(){return le.fireWith(this,arguments),this},fired:function(){return!!b}};return le};function $e(i){return i}function Nt(i){throw i}function Ut(i,c,g,b){var T;try{i&&ce(T=i.promise)?T.call(i).done(c).fail(g):i&&ce(T=i.then)?T.call(i,c,g):c.apply(void 0,[i].slice(b))}catch(R){g.apply(void 0,[R])}}v.extend({Deferred:function(i){var c=[["notify","progress",v.Callbacks("memory"),v.Callbacks("memory"),2],["resolve","done",v.Callbacks("once memory"),v.Callbacks("once memory"),0,"resolved"],["reject","fail",v.Callbacks("once memory"),v.Callbacks("once memory"),1,"rejected"]],g="pending",b={state:function(){return g},always:function(){return T.done(arguments).fail(arguments),this},catch:function(R){return b.then(null,R)},pipe:function(){var R=arguments;return v.Deferred(function(O){v.each(c,function(Q,q){var le=ce(R[q[4]])&&R[q[4]];T[q[1]](function(){var Ce=le&&le.apply(this,arguments);Ce&&ce(Ce.promise)?Ce.promise().progress(O.notify).done(O.resolve).fail(O.reject):O[q[0]+"With"](this,le?[Ce]:arguments)})}),R=null}).promise()},then:function(R,O,Q){var q=0;function le(Ce,ke,ge,Me){return function(){var Ke=this,bt=arguments,Et=function(){var on,Ir;if(!(Ce<q)){if(on=ge.apply(Ke,bt),on===ke.promise())throw new TypeError("Thenable self-resolution");Ir=on&&(typeof on=="object"||typeof on=="function")&&on.then,ce(Ir)?Me?Ir.call(on,le(q,ke,$e,Me),le(q,ke,Nt,Me)):(q++,Ir.call(on,le(q,ke,$e,Me),le(q,ke,Nt,Me),le(q,ke,$e,ke.notifyWith))):(ge!==$e&&(Ke=void 0,bt=[on]),(Me||ke.resolveWith)(Ke,bt))}},In=Me?Et:function(){try{Et()}catch(on){v.Deferred.exceptionHook&&v.Deferred.exceptionHook(on,In.error),Ce+1>=q&&(ge!==Nt&&(Ke=void 0,bt=[on]),ke.rejectWith(Ke,bt))}};Ce?In():(v.Deferred.getErrorHook?In.error=v.Deferred.getErrorHook():v.Deferred.getStackHook&&(In.error=v.Deferred.getStackHook()),t.setTimeout(In))}}return v.Deferred(function(Ce){c[0][3].add(le(0,Ce,ce(Q)?Q:$e,Ce.notifyWith)),c[1][3].add(le(0,Ce,ce(R)?R:$e)),c[2][3].add(le(0,Ce,ce(O)?O:Nt))}).promise()},promise:function(R){return R!=null?v.extend(R,b):b}},T={};return v.each(c,function(R,O){var Q=O[2],q=O[5];b[O[1]]=Q.add,q&&Q.add(function(){g=q},c[3-R][2].disable,c[3-R][3].disable,c[0][2].lock,c[0][3].lock),Q.add(O[3].fire),T[O[0]]=function(){return T[O[0]+"With"](this===T?void 0:this,arguments),this},T[O[0]+"With"]=Q.fireWith}),b.promise(T),i&&i.call(T,T),T},when:function(i){var c=arguments.length,g=c,b=Array(g),T=p.call(arguments),R=v.Deferred(),O=function(Q){return function(q){b[Q]=this,T[Q]=arguments.length>1?p.call(arguments):q,--c||R.resolveWith(b,T)}};if(c<=1&&(Ut(i,R.done(O(g)).resolve,R.reject,!c),R.state()==="pending"||ce(T[g]&&T[g].then)))return R.then();for(;g--;)Ut(T[g],O(g),R.reject);return R.promise()}});var Hn=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;v.Deferred.exceptionHook=function(i,c){t.console&&t.console.warn&&i&&Hn.test(i.name)&&t.console.warn("jQuery.Deferred exception: "+i.message,i.stack,c)},v.readyException=function(i){t.setTimeout(function(){throw i})};var lr=v.Deferred();v.fn.ready=function(i){return lr.then(i).catch(function(c){v.readyException(c)}),this},v.extend({isReady:!1,readyWait:1,ready:function(i){(i===!0?--v.readyWait:v.isReady)||(v.isReady=!0,!(i!==!0&&--v.readyWait>0)&&lr.resolveWith(W,[v]))}}),v.ready.then=lr.then;function Un(){W.removeEventListener("DOMContentLoaded",Un),t.removeEventListener("load",Un),v.ready()}W.readyState==="complete"||W.readyState!=="loading"&&!W.documentElement.doScroll?t.setTimeout(v.ready):(W.addEventListener("DOMContentLoaded",Un),t.addEventListener("load",Un));var bn=function(i,c,g,b,T,R,O){var Q=0,q=i.length,le=g==null;if(Ae(g)==="object"){T=!0;for(Q in g)bn(i,c,Q,g[Q],!0,R,O)}else if(b!==void 0&&(T=!0,ce(b)||(O=!0),le&&(O?(c.call(i,b),c=null):(le=c,c=function(Ce,ke,ge){return le.call(v(Ce),ge)})),c))for(;Q<q;Q++)c(i[Q],g,O?b:b.call(i[Q],Q,c(i[Q],g)));return T?i:le?c.call(i):q?c(i[0],g):R},wi=/^-ms-/,mr=/-([a-z])/g;function Gn(i,c){return c.toUpperCase()}function rn(i){return i.replace(wi,"ms-").replace(mr,Gn)}var sn=function(i){return i.nodeType===1||i.nodeType===9||!+i.nodeType};function ln(){this.expando=v.expando+ln.uid++}ln.uid=1,ln.prototype={cache:function(i){var c=i[this.expando];return c||(c={},sn(i)&&(i.nodeType?i[this.expando]=c:Object.defineProperty(i,this.expando,{value:c,configurable:!0}))),c},set:function(i,c,g){var b,T=this.cache(i);if(typeof c=="string")T[rn(c)]=g;else for(b in c)T[rn(b)]=c[b];return T},get:function(i,c){return c===void 0?this.cache(i):i[this.expando]&&i[this.expando][rn(c)]},access:function(i,c,g){return c===void 0||c&&typeof c=="string"&&g===void 0?this.get(i,c):(this.set(i,c,g),g!==void 0?g:c)},remove:function(i,c){var g,b=i[this.expando];if(b!==void 0){if(c!==void 0)for(Array.isArray(c)?c=c.map(rn):(c=rn(c),c=c in b?[c]:c.match(ct)||[]),g=c.length;g--;)delete b[c[g]];(c===void 0||v.isEmptyObject(b))&&(i.nodeType?i[this.expando]=void 0:delete i[this.expando])}},hasData:function(i){var c=i[this.expando];return c!==void 0&&!v.isEmptyObject(c)}};var rt=new ln,kn=new ln,Zr=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,nn=/[A-Z]/g;function xi(i){return i==="true"?!0:i==="false"?!1:i==="null"?null:i===+i+""?+i:Zr.test(i)?JSON.parse(i):i}function Ci(i,c,g){var b;if(g===void 0&&i.nodeType===1)if(b="data-"+c.replace(nn,"-$&").toLowerCase(),g=i.getAttribute(b),typeof g=="string"){try{g=xi(g)}catch{}kn.set(i,c,g)}else g=void 0;return g}v.extend({hasData:function(i){return kn.hasData(i)||rt.hasData(i)},data:function(i,c,g){return kn.access(i,c,g)},removeData:function(i,c){kn.remove(i,c)},_data:function(i,c,g){return rt.access(i,c,g)},_removeData:function(i,c){rt.remove(i,c)}}),v.fn.extend({data:function(i,c){var g,b,T,R=this[0],O=R&&R.attributes;if(i===void 0){if(this.length&&(T=kn.get(R),R.nodeType===1&&!rt.get(R,"hasDataAttrs"))){for(g=O.length;g--;)O[g]&&(b=O[g].name,b.indexOf("data-")===0&&(b=rn(b.slice(5)),Ci(R,b,T[b])));rt.set(R,"hasDataAttrs",!0)}return T}return typeof i=="object"?this.each(function(){kn.set(this,i)}):bn(this,function(Q){var q;if(R&&Q===void 0)return q=kn.get(R,i),q!==void 0||(q=Ci(R,i),q!==void 0)?q:void 0;this.each(function(){kn.set(this,i,Q)})},null,c,arguments.length>1,null,!0)},removeData:function(i){return this.each(function(){kn.remove(this,i)})}}),v.extend({queue:function(i,c,g){var b;if(i)return c=(c||"fx")+"queue",b=rt.get(i,c),g&&(!b||Array.isArray(g)?b=rt.access(i,c,v.makeArray(g)):b.push(g)),b||[]},dequeue:function(i,c){c=c||"fx";var g=v.queue(i,c),b=g.length,T=g.shift(),R=v._queueHooks(i,c),O=function(){v.dequeue(i,c)};T==="inprogress"&&(T=g.shift(),b--),T&&(c==="fx"&&g.unshift("inprogress"),delete R.stop,T.call(i,O,R)),!b&&R&&R.empty.fire()},_queueHooks:function(i,c){var g=c+"queueHooks";return rt.get(i,g)||rt.access(i,g,{empty:v.Callbacks("once memory").add(function(){rt.remove(i,[c+"queue",g])})})}}),v.fn.extend({queue:function(i,c){var g=2;return typeof i!="string"&&(c=i,i="fx",g--),arguments.length<g?v.queue(this[0],i):c===void 0?this:this.each(function(){var b=v.queue(this,i,c);v._queueHooks(this,i),i==="fx"&&b[0]!=="inprogress"&&v.dequeue(this,i)})},dequeue:function(i){return this.each(function(){v.dequeue(this,i)})},clearQueue:function(i){return this.queue(i||"fx",[])},promise:function(i,c){var g,b=1,T=v.Deferred(),R=this,O=this.length,Q=function(){--b||T.resolveWith(R,[R])};for(typeof i!="string"&&(c=i,i=void 0),i=i||"fx";O--;)g=rt.get(R[O],i+"queueHooks"),g&&g.empty&&(b++,g.empty.add(Q));return Q(),T.promise(c)}});var ki=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,yr=new RegExp("^(?:([+-])=|)("+ki+")([a-z%]*)$","i"),Mn=["Top","Right","Bottom","Left"],br=W.documentElement,ur=function(i){return v.contains(i.ownerDocument,i)},Lr={composed:!0};br.getRootNode&&(ur=function(i){return v.contains(i.ownerDocument,i)||i.getRootNode(Lr)===i.ownerDocument});var Nr=function(i,c){return i=c||i,i.style.display==="none"||i.style.display===""&&ur(i)&&v.css(i,"display")==="none"};function oa(i,c,g,b){var T,R,O=20,Q=b?function(){return b.cur()}:function(){return v.css(i,c,"")},q=Q(),le=g&&g[3]||(v.cssNumber[c]?"":"px"),Ce=i.nodeType&&(v.cssNumber[c]||le!=="px"&&+q)&&yr.exec(v.css(i,c));if(Ce&&Ce[3]!==le){for(q=q/2,le=le||Ce[3],Ce=+q||1;O--;)v.style(i,c,Ce+le),(1-R)*(1-(R=Q()/q||.5))<=0&&(O=0),Ce=Ce/R;Ce=Ce*2,v.style(i,c,Ce+le),g=g||[]}return g&&(Ce=+Ce||+q||0,T=g[1]?Ce+(g[1]+1)*g[2]:+g[2],b&&(b.unit=le,b.start=Ce,b.end=T)),T}var Wn={};function Br(i){var c,g=i.ownerDocument,b=i.nodeName,T=Wn[b];return T||(c=g.body.appendChild(g.createElement(b)),T=v.css(c,"display"),c.parentNode.removeChild(c),T==="none"&&(T="block"),Wn[b]=T,T)}function qn(i,c){for(var g,b,T=[],R=0,O=i.length;R<O;R++)b=i[R],b.style&&(g=b.style.display,c?(g==="none"&&(T[R]=rt.get(b,"display")||null,T[R]||(b.style.display="")),b.style.display===""&&Nr(b)&&(T[R]=Br(b))):g!=="none"&&(T[R]="none",rt.set(b,"display",g)));for(R=0;R<O;R++)T[R]!=null&&(i[R].style.display=T[R]);return i}v.fn.extend({show:function(){return qn(this,!0)},hide:function(){return qn(this)},toggle:function(i){return typeof i=="boolean"?i?this.show():this.hide():this.each(function(){Nr(this)?v(this).show():v(this).hide()})}});var $t=/^(?:checkbox|radio)$/i,Jr=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ei=/^$|^module$|\/(?:java|ecma)script/i;(function(){var i=W.createDocumentFragment(),c=i.appendChild(W.createElement("div")),g=W.createElement("input");g.setAttribute("type","radio"),g.setAttribute("checked","checked"),g.setAttribute("name","t"),c.appendChild(g),ue.checkClone=c.cloneNode(!0).cloneNode(!0).lastChild.checked,c.innerHTML="<textarea>x</textarea>",ue.noCloneChecked=!!c.cloneNode(!0).lastChild.defaultValue,c.innerHTML="<option></option>",ue.option=!!c.lastChild})();var En={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,"",""]};En.tbody=En.tfoot=En.colgroup=En.caption=En.thead,En.th=En.td,ue.option||(En.optgroup=En.option=[1,"<select multiple='multiple'>","</select>"]);function un(i,c){var g;return typeof i.getElementsByTagName<"u"?g=i.getElementsByTagName(c||"*"):typeof i.querySelectorAll<"u"?g=i.querySelectorAll(c||"*"):g=[],c===void 0||c&&De(i,c)?v.merge([i],g):g}function Qr(i,c){for(var g=0,b=i.length;g<b;g++)rt.set(i[g],"globalEval",!c||rt.get(c[g],"globalEval"))}var ei=/<|&#?\w+;/;function fn(i,c,g,b,T){for(var R,O,Q,q,le,Ce,ke=c.createDocumentFragment(),ge=[],Me=0,Ke=i.length;Me<Ke;Me++)if(R=i[Me],R||R===0)if(Ae(R)==="object")v.merge(ge,R.nodeType?[R]:R);else if(!ei.test(R))ge.push(c.createTextNode(R));else{for(O=O||ke.appendChild(c.createElement("div")),Q=(Jr.exec(R)||["",""])[1].toLowerCase(),q=En[Q]||En._default,O.innerHTML=q[1]+v.htmlPrefilter(R)+q[2],Ce=q[0];Ce--;)O=O.lastChild;v.merge(ge,O.childNodes),O=ke.firstChild,O.textContent=""}for(ke.textContent="",Me=0;R=ge[Me++];){if(b&&v.inArray(R,b)>-1){T&&T.push(R);continue}if(le=ur(R),O=un(ke.appendChild(R),"script"),le&&Qr(O),g)for(Ce=0;R=O[Ce++];)Ei.test(R.type||"")&&g.push(R)}return ke}var Wi=/^([^.]*)(?:\.(.+)|)/;function cr(){return!0}function ti(){return!1}function an(i,c,g,b,T,R){var O,Q;if(typeof c=="object"){typeof g!="string"&&(b=b||g,g=void 0);for(Q in c)an(i,Q,g,b,c[Q],R);return i}if(b==null&&T==null?(T=g,b=g=void 0):T==null&&(typeof g=="string"?(T=b,b=void 0):(T=b,b=g,g=void 0)),T===!1)T=ti;else if(!T)return i;return R===1&&(O=T,T=function(q){return v().off(q),O.apply(this,arguments)},T.guid=O.guid||(O.guid=v.guid++)),i.each(function(){v.event.add(this,c,T,b,g)})}v.event={global:{},add:function(i,c,g,b,T){var R,O,Q,q,le,Ce,ke,ge,Me,Ke,bt,Et=rt.get(i);if(sn(i))for(g.handler&&(R=g,g=R.handler,T=R.selector),T&&v.find.matchesSelector(br,T),g.guid||(g.guid=v.guid++),(q=Et.events)||(q=Et.events=Object.create(null)),(O=Et.handle)||(O=Et.handle=function(In){return typeof v<"u"&&v.event.triggered!==In.type?v.event.dispatch.apply(i,arguments):void 0}),c=(c||"").match(ct)||[""],le=c.length;le--;)Q=Wi.exec(c[le])||[],Me=bt=Q[1],Ke=(Q[2]||"").split(".").sort(),Me&&(ke=v.event.special[Me]||{},Me=(T?ke.delegateType:ke.bindType)||Me,ke=v.event.special[Me]||{},Ce=v.extend({type:Me,origType:bt,data:b,handler:g,guid:g.guid,selector:T,needsContext:T&&v.expr.match.needsContext.test(T),namespace:Ke.join(".")},R),(ge=q[Me])||(ge=q[Me]=[],ge.delegateCount=0,(!ke.setup||ke.setup.call(i,b,Ke,O)===!1)&&i.addEventListener&&i.addEventListener(Me,O)),ke.add&&(ke.add.call(i,Ce),Ce.handler.guid||(Ce.handler.guid=g.guid)),T?ge.splice(ge.delegateCount++,0,Ce):ge.push(Ce),v.event.global[Me]=!0)},remove:function(i,c,g,b,T){var R,O,Q,q,le,Ce,ke,ge,Me,Ke,bt,Et=rt.hasData(i)&&rt.get(i);if(!(!Et||!(q=Et.events))){for(c=(c||"").match(ct)||[""],le=c.length;le--;){if(Q=Wi.exec(c[le])||[],Me=bt=Q[1],Ke=(Q[2]||"").split(".").sort(),!Me){for(Me in q)v.event.remove(i,Me+c[le],g,b,!0);continue}for(ke=v.event.special[Me]||{},Me=(b?ke.delegateType:ke.bindType)||Me,ge=q[Me]||[],Q=Q[2]&&new RegExp("(^|\\.)"+Ke.join("\\.(?:.*\\.|)")+"(\\.|$)"),O=R=ge.length;R--;)Ce=ge[R],(T||bt===Ce.origType)&&(!g||g.guid===Ce.guid)&&(!Q||Q.test(Ce.namespace))&&(!b||b===Ce.selector||b==="**"&&Ce.selector)&&(ge.splice(R,1),Ce.selector&&ge.delegateCount--,ke.remove&&ke.remove.call(i,Ce));O&&!ge.length&&((!ke.teardown||ke.teardown.call(i,Ke,Et.handle)===!1)&&v.removeEvent(i,Me,Et.handle),delete q[Me])}v.isEmptyObject(q)&&rt.remove(i,"handle events")}},dispatch:function(i){var c,g,b,T,R,O,Q=new Array(arguments.length),q=v.event.fix(i),le=(rt.get(this,"events")||Object.create(null))[q.type]||[],Ce=v.event.special[q.type]||{};for(Q[0]=q,c=1;c<arguments.length;c++)Q[c]=arguments[c];if(q.delegateTarget=this,!(Ce.preDispatch&&Ce.preDispatch.call(this,q)===!1)){for(O=v.event.handlers.call(this,q,le),c=0;(T=O[c++])&&!q.isPropagationStopped();)for(q.currentTarget=T.elem,g=0;(R=T.handlers[g++])&&!q.isImmediatePropagationStopped();)(!q.rnamespace||R.namespace===!1||q.rnamespace.test(R.namespace))&&(q.handleObj=R,q.data=R.data,b=((v.event.special[R.origType]||{}).handle||R.handler).apply(T.elem,Q),b!==void 0&&(q.result=b)===!1&&(q.preventDefault(),q.stopPropagation()));return Ce.postDispatch&&Ce.postDispatch.call(this,q),q.result}},handlers:function(i,c){var g,b,T,R,O,Q=[],q=c.delegateCount,le=i.target;if(q&&le.nodeType&&!(i.type==="click"&&i.button>=1)){for(;le!==this;le=le.parentNode||this)if(le.nodeType===1&&!(i.type==="click"&&le.disabled===!0)){for(R=[],O={},g=0;g<q;g++)b=c[g],T=b.selector+" ",O[T]===void 0&&(O[T]=b.needsContext?v(T,this).index(le)>-1:v.find(T,this,null,[le]).length),O[T]&&R.push(b);R.length&&Q.push({elem:le,handlers:R})}}return le=this,q<c.length&&Q.push({elem:le,handlers:c.slice(q)}),Q},addProp:function(i,c){Object.defineProperty(v.Event.prototype,i,{enumerable:!0,configurable:!0,get:ce(c)?function(){if(this.originalEvent)return c(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[i]},set:function(g){Object.defineProperty(this,i,{enumerable:!0,configurable:!0,writable:!0,value:g})}})},fix:function(i){return i[v.expando]?i:new v.Event(i)},special:{load:{noBubble:!0},click:{setup:function(i){var c=this||i;return $t.test(c.type)&&c.click&&De(c,"input")&&ui(c,"click",!0),!1},trigger:function(i){var c=this||i;return $t.test(c.type)&&c.click&&De(c,"input")&&ui(c,"click"),!0},_default:function(i){var c=i.target;return $t.test(c.type)&&c.click&&De(c,"input")&&rt.get(c,"click")||De(c,"a")}},beforeunload:{postDispatch:function(i){i.result!==void 0&&i.originalEvent&&(i.originalEvent.returnValue=i.result)}}}};function ui(i,c,g){if(!g){rt.get(i,c)===void 0&&v.event.add(i,c,cr);return}rt.set(i,c,!1),v.event.add(i,c,{namespace:!1,handler:function(b){var T,R=rt.get(this,c);if(b.isTrigger&1&&this[c]){if(R)(v.event.special[c]||{}).delegateType&&b.stopPropagation();else if(R=p.call(arguments),rt.set(this,c,R),this[c](),T=rt.get(this,c),rt.set(this,c,!1),R!==T)return b.stopImmediatePropagation(),b.preventDefault(),T}else R&&(rt.set(this,c,v.event.trigger(R[0],R.slice(1),this)),b.stopPropagation(),b.isImmediatePropagationStopped=cr)}})}v.removeEvent=function(i,c,g){i.removeEventListener&&i.removeEventListener(c,g)},v.Event=function(i,c){if(!(this instanceof v.Event))return new v.Event(i,c);i&&i.type?(this.originalEvent=i,this.type=i.type,this.isDefaultPrevented=i.defaultPrevented||i.defaultPrevented===void 0&&i.returnValue===!1?cr:ti,this.target=i.target&&i.target.nodeType===3?i.target.parentNode:i.target,this.currentTarget=i.currentTarget,this.relatedTarget=i.relatedTarget):this.type=i,c&&v.extend(this,c),this.timeStamp=i&&i.timeStamp||Date.now(),this[v.expando]=!0},v.Event.prototype={constructor:v.Event,isDefaultPrevented:ti,isPropagationStopped:ti,isImmediatePropagationStopped:ti,isSimulated:!1,preventDefault:function(){var i=this.originalEvent;this.isDefaultPrevented=cr,i&&!this.isSimulated&&i.preventDefault()},stopPropagation:function(){var i=this.originalEvent;this.isPropagationStopped=cr,i&&!this.isSimulated&&i.stopPropagation()},stopImmediatePropagation:function(){var i=this.originalEvent;this.isImmediatePropagationStopped=cr,i&&!this.isSimulated&&i.stopImmediatePropagation(),this.stopPropagation()}},v.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},v.event.addProp),v.each({focus:"focusin",blur:"focusout"},function(i,c){function g(b){if(W.documentMode){var T=rt.get(this,"handle"),R=v.event.fix(b);R.type=b.type==="focusin"?"focus":"blur",R.isSimulated=!0,T(b),R.target===R.currentTarget&&T(R)}else v.event.simulate(c,b.target,v.event.fix(b))}v.event.special[i]={setup:function(){var b;if(ui(this,i,!0),W.documentMode)b=rt.get(this,c),b||this.addEventListener(c,g),rt.set(this,c,(b||0)+1);else return!1},trigger:function(){return ui(this,i),!0},teardown:function(){var b;if(W.documentMode)b=rt.get(this,c)-1,b?rt.set(this,c,b):(this.removeEventListener(c,g),rt.remove(this,c));else return!1},_default:function(b){return rt.get(b.target,i)},delegateType:c},v.event.special[c]={setup:function(){var b=this.ownerDocument||this.document||this,T=W.documentMode?this:b,R=rt.get(T,c);R||(W.documentMode?this.addEventListener(c,g):b.addEventListener(i,g,!0)),rt.set(T,c,(R||0)+1)},teardown:function(){var b=this.ownerDocument||this.document||this,T=W.documentMode?this:b,R=rt.get(T,c)-1;R?rt.set(T,c,R):(W.documentMode?this.removeEventListener(c,g):b.removeEventListener(i,g,!0),rt.remove(T,c))}}}),v.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(i,c){v.event.special[i]={delegateType:c,bindType:c,handle:function(g){var b,T=this,R=g.relatedTarget,O=g.handleObj;return(!R||R!==T&&!v.contains(T,R))&&(g.type=O.origType,b=O.handler.apply(this,arguments),g.type=c),b}}}),v.fn.extend({on:function(i,c,g,b){return an(this,i,c,g,b)},one:function(i,c,g,b){return an(this,i,c,g,b,1)},off:function(i,c,g){var b,T;if(i&&i.preventDefault&&i.handleObj)return b=i.handleObj,v(i.delegateTarget).off(b.namespace?b.origType+"."+b.namespace:b.origType,b.selector,b.handler),this;if(typeof i=="object"){for(T in i)this.off(T,c,i[T]);return this}return(c===!1||typeof c=="function")&&(g=c,c=void 0),g===!1&&(g=ti),this.each(function(){v.event.remove(this,i,g,c)})}});var Ya=/<script|<style|<link/i,Ga=/checked\s*(?:[^=]|=\s*.checked.)/i,jr=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function zi(i,c){return De(i,"table")&&De(c.nodeType!==11?c:c.firstChild,"tr")&&v(i).children("tbody")[0]||i}function $i(i){return i.type=(i.getAttribute("type")!==null)+"/"+i.type,i}function sa(i){return(i.type||"").slice(0,5)==="true/"?i.type=i.type.slice(5):i.removeAttribute("type"),i}function ci(i,c){var g,b,T,R,O,Q,q;if(c.nodeType===1){if(rt.hasData(i)&&(R=rt.get(i),q=R.events,q)){rt.remove(c,"handle events");for(T in q)for(g=0,b=q[T].length;g<b;g++)v.event.add(c,T,q[T][g])}kn.hasData(i)&&(O=kn.access(i),Q=v.extend({},O),kn.set(c,Q))}}function ni(i,c){var g=c.nodeName.toLowerCase();g==="input"&&$t.test(i.type)?c.checked=i.checked:(g==="input"||g==="textarea")&&(c.defaultValue=i.defaultValue)}function fi(i,c,g,b){c=x(c);var T,R,O,Q,q,le,Ce=0,ke=i.length,ge=ke-1,Me=c[0],Ke=ce(Me);if(Ke||ke>1&&typeof Me=="string"&&!ue.checkClone&&Ga.test(Me))return i.each(function(bt){var Et=i.eq(bt);Ke&&(c[0]=Me.call(this,bt,Et.html())),fi(Et,c,g,b)});if(ke&&(T=fn(c,i[0].ownerDocument,!1,i,b),R=T.firstChild,T.childNodes.length===1&&(T=R),R||b)){for(O=v.map(un(T,"script"),$i),Q=O.length;Ce<ke;Ce++)q=T,Ce!==ge&&(q=v.clone(q,!0,!0),Q&&v.merge(O,un(q,"script"))),g.call(i[Ce],q,Ce);if(Q)for(le=O[O.length-1].ownerDocument,v.map(O,sa),Ce=0;Ce<Q;Ce++)q=O[Ce],Ei.test(q.type||"")&&!rt.access(q,"globalEval")&&v.contains(le,q)&&(q.src&&(q.type||"").toLowerCase()!=="module"?v._evalUrl&&!q.noModule&&v._evalUrl(q.src,{nonce:q.nonce||q.getAttribute("nonce")},le):Ie(q.textContent.replace(jr,""),q,le))}return i}function Vi(i,c,g){for(var b,T=c?v.filter(c,i):i,R=0;(b=T[R])!=null;R++)!g&&b.nodeType===1&&v.cleanData(un(b)),b.parentNode&&(g&&ur(b)&&Qr(un(b,"script")),b.parentNode.removeChild(b));return i}v.extend({htmlPrefilter:function(i){return i},clone:function(i,c,g){var b,T,R,O,Q=i.cloneNode(!0),q=ur(i);if(!ue.noCloneChecked&&(i.nodeType===1||i.nodeType===11)&&!v.isXMLDoc(i))for(O=un(Q),R=un(i),b=0,T=R.length;b<T;b++)ni(R[b],O[b]);if(c)if(g)for(R=R||un(i),O=O||un(Q),b=0,T=R.length;b<T;b++)ci(R[b],O[b]);else ci(i,Q);return O=un(Q,"script"),O.length>0&&Qr(O,!q&&un(i,"script")),Q},cleanData:function(i){for(var c,g,b,T=v.event.special,R=0;(g=i[R])!==void 0;R++)if(sn(g)){if(c=g[rt.expando]){if(c.events)for(b in c.events)T[b]?v.event.remove(g,b):v.removeEvent(g,b,c.handle);g[rt.expando]=void 0}g[kn.expando]&&(g[kn.expando]=void 0)}}}),v.fn.extend({detach:function(i){return Vi(this,i,!0)},remove:function(i){return Vi(this,i)},text:function(i){return bn(this,function(c){return c===void 0?v.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=c)})},null,i,arguments.length)},append:function(){return fi(this,arguments,function(i){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var c=zi(this,i);c.appendChild(i)}})},prepend:function(){return fi(this,arguments,function(i){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var c=zi(this,i);c.insertBefore(i,c.firstChild)}})},before:function(){return fi(this,arguments,function(i){this.parentNode&&this.parentNode.insertBefore(i,this)})},after:function(){return fi(this,arguments,function(i){this.parentNode&&this.parentNode.insertBefore(i,this.nextSibling)})},empty:function(){for(var i,c=0;(i=this[c])!=null;c++)i.nodeType===1&&(v.cleanData(un(i,!1)),i.textContent="");return this},clone:function(i,c){return i=i??!1,c=c??i,this.map(function(){return v.clone(this,i,c)})},html:function(i){return bn(this,function(c){var g=this[0]||{},b=0,T=this.length;if(c===void 0&&g.nodeType===1)return g.innerHTML;if(typeof c=="string"&&!Ya.test(c)&&!En[(Jr.exec(c)||["",""])[1].toLowerCase()]){c=v.htmlPrefilter(c);try{for(;b<T;b++)g=this[b]||{},g.nodeType===1&&(v.cleanData(un(g,!1)),g.innerHTML=c);g=0}catch{}}g&&this.empty().append(c)},null,i,arguments.length)},replaceWith:function(){var i=[];return fi(this,arguments,function(c){var g=this.parentNode;v.inArray(this,i)<0&&(v.cleanData(un(this)),g&&g.replaceChild(c,this))},i)}}),v.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(i,c){v.fn[i]=function(g){for(var b,T=[],R=v(g),O=R.length-1,Q=0;Q<=O;Q++)b=Q===O?this:this.clone(!0),v(R[Q])[c](b),P.apply(T,b.get());return this.pushStack(T)}});var di=new RegExp("^("+ki+")(?!px)[a-z%]+$","i"),Hr=/^--/,fr=function(i){var c=i.ownerDocument.defaultView;return(!c||!c.opener)&&(c=t),c.getComputedStyle(i)},Sr=function(i,c,g){var b,T,R={};for(T in c)R[T]=i.style[T],i.style[T]=c[T];b=g.call(i);for(T in c)i.style[T]=R[T];return b},Ur=new RegExp(Mn.join("|"),"i");(function(){function i(){if(le){q.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",le.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",br.appendChild(q).appendChild(le);var Ce=t.getComputedStyle(le);g=Ce.top!=="1%",Q=c(Ce.marginLeft)===12,le.style.right="60%",R=c(Ce.right)===36,b=c(Ce.width)===36,le.style.position="absolute",T=c(le.offsetWidth/3)===12,br.removeChild(q),le=null}}function c(Ce){return Math.round(parseFloat(Ce))}var g,b,T,R,O,Q,q=W.createElement("div"),le=W.createElement("div");le.style&&(le.style.backgroundClip="content-box",le.cloneNode(!0).style.backgroundClip="",ue.clearCloneStyle=le.style.backgroundClip==="content-box",v.extend(ue,{boxSizingReliable:function(){return i(),b},pixelBoxStyles:function(){return i(),R},pixelPosition:function(){return i(),g},reliableMarginLeft:function(){return i(),Q},scrollboxSize:function(){return i(),T},reliableTrDimensions:function(){var Ce,ke,ge,Me;return O==null&&(Ce=W.createElement("table"),ke=W.createElement("tr"),ge=W.createElement("div"),Ce.style.cssText="position:absolute;left:-11111px;border-collapse:separate",ke.style.cssText="box-sizing:content-box;border:1px solid",ke.style.height="1px",ge.style.height="9px",ge.style.display="block",br.appendChild(Ce).appendChild(ke).appendChild(ge),Me=t.getComputedStyle(ke),O=parseInt(Me.height,10)+parseInt(Me.borderTopWidth,10)+parseInt(Me.borderBottomWidth,10)===ke.offsetHeight,br.removeChild(Ce)),O}}))})();function wr(i,c,g){var b,T,R,O,Q=Hr.test(c),q=i.style;return g=g||fr(i),g&&(O=g.getPropertyValue(c)||g[c],Q&&O&&(O=O.replace(kt,"$1")||void 0),O===""&&!ur(i)&&(O=v.style(i,c)),!ue.pixelBoxStyles()&&di.test(O)&&Ur.test(c)&&(b=q.width,T=q.minWidth,R=q.maxWidth,q.minWidth=q.maxWidth=q.width=O,O=g.width,q.width=b,q.minWidth=T,q.maxWidth=R)),O!==void 0?O+"":O}function Fn(i,c){return{get:function(){if(i()){delete this.get;return}return(this.get=c).apply(this,arguments)}}}var cn=["Webkit","Moz","ms"],xr=W.createElement("div").style,dr={};function Tn(i){for(var c=i[0].toUpperCase()+i.slice(1),g=cn.length;g--;)if(i=cn[g]+c,i in xr)return i}function ri(i){var c=v.cssProps[i]||dr[i];return c||(i in xr?i:dr[i]=Tn(i)||i)}var Cr=/^(none|table(?!-c[ea]).+)/,Wr={position:"absolute",visibility:"hidden",display:"block"},zn={letterSpacing:"0",fontWeight:"400"};function zr(i,c,g){var b=yr.exec(c);return b?Math.max(0,b[2]-(g||0))+(b[3]||"px"):c}function $r(i,c,g,b,T,R){var O=c==="width"?1:0,Q=0,q=0,le=0;if(g===(b?"border":"content"))return 0;for(;O<4;O+=2)g==="margin"&&(le+=v.css(i,g+Mn[O],!0,T)),b?(g==="content"&&(q-=v.css(i,"padding"+Mn[O],!0,T)),g!=="margin"&&(q-=v.css(i,"border"+Mn[O]+"Width",!0,T))):(q+=v.css(i,"padding"+Mn[O],!0,T),g!=="padding"?q+=v.css(i,"border"+Mn[O]+"Width",!0,T):Q+=v.css(i,"border"+Mn[O]+"Width",!0,T));return!b&&R>=0&&(q+=Math.max(0,Math.ceil(i["offset"+c[0].toUpperCase()+c.slice(1)]-R-q-Q-.5))||0),q+le}function Ti(i,c,g){var b=fr(i),T=!ue.boxSizingReliable()||g,R=T&&v.css(i,"boxSizing",!1,b)==="border-box",O=R,Q=wr(i,c,b),q="offset"+c[0].toUpperCase()+c.slice(1);if(di.test(Q)){if(!g)return Q;Q="auto"}return(!ue.boxSizingReliable()&&R||!ue.reliableTrDimensions()&&De(i,"tr")||Q==="auto"||!parseFloat(Q)&&v.css(i,"display",!1,b)==="inline")&&i.getClientRects().length&&(R=v.css(i,"boxSizing",!1,b)==="border-box",O=q in i,O&&(Q=i[q])),Q=parseFloat(Q)||0,Q+$r(i,c,g||(R?"border":"content"),O,b,Q)+"px"}v.extend({cssHooks:{opacity:{get:function(i,c){if(c){var g=wr(i,"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(i,c,g,b){if(!(!i||i.nodeType===3||i.nodeType===8||!i.style)){var T,R,O,Q=rn(c),q=Hr.test(c),le=i.style;if(q||(c=ri(Q)),O=v.cssHooks[c]||v.cssHooks[Q],g!==void 0){if(R=typeof g,R==="string"&&(T=yr.exec(g))&&T[1]&&(g=oa(i,c,T),R="number"),g==null||g!==g)return;R==="number"&&!q&&(g+=T&&T[3]||(v.cssNumber[Q]?"":"px")),!ue.clearCloneStyle&&g===""&&c.indexOf("background")===0&&(le[c]="inherit"),(!O||!("set"in O)||(g=O.set(i,g,b))!==void 0)&&(q?le.setProperty(c,g):le[c]=g)}else return O&&"get"in O&&(T=O.get(i,!1,b))!==void 0?T:le[c]}},css:function(i,c,g,b){var T,R,O,Q=rn(c),q=Hr.test(c);return q||(c=ri(Q)),O=v.cssHooks[c]||v.cssHooks[Q],O&&"get"in O&&(T=O.get(i,!0,g)),T===void 0&&(T=wr(i,c,b)),T==="normal"&&c in zn&&(T=zn[c]),g===""||g?(R=parseFloat(T),g===!0||isFinite(R)?R||0:T):T}}),v.each(["height","width"],function(i,c){v.cssHooks[c]={get:function(g,b,T){if(b)return Cr.test(v.css(g,"display"))&&(!g.getClientRects().length||!g.getBoundingClientRect().width)?Sr(g,Wr,function(){return Ti(g,c,T)}):Ti(g,c,T)},set:function(g,b,T){var R,O=fr(g),Q=!ue.scrollboxSize()&&O.position==="absolute",q=Q||T,le=q&&v.css(g,"boxSizing",!1,O)==="border-box",Ce=T?$r(g,c,T,le,O):0;return le&&Q&&(Ce-=Math.ceil(g["offset"+c[0].toUpperCase()+c.slice(1)]-parseFloat(O[c])-$r(g,c,"border",!1,O)-.5)),Ce&&(R=yr.exec(b))&&(R[3]||"px")!=="px"&&(g.style[c]=b,b=v.css(g,c)),zr(g,b,Ce)}}}),v.cssHooks.marginLeft=Fn(ue.reliableMarginLeft,function(i,c){if(c)return(parseFloat(wr(i,"marginLeft"))||i.getBoundingClientRect().left-Sr(i,{marginLeft:0},function(){return i.getBoundingClientRect().left}))+"px"}),v.each({margin:"",padding:"",border:"Width"},function(i,c){v.cssHooks[i+c]={expand:function(g){for(var b=0,T={},R=typeof g=="string"?g.split(" "):[g];b<4;b++)T[i+Mn[b]+c]=R[b]||R[b-2]||R[0];return T}},i!=="margin"&&(v.cssHooks[i+c].set=zr)}),v.fn.extend({css:function(i,c){return bn(this,function(g,b,T){var R,O,Q={},q=0;if(Array.isArray(b)){for(R=fr(g),O=b.length;q<O;q++)Q[b[q]]=v.css(g,b[q],!1,R);return Q}return T!==void 0?v.style(g,b,T):v.css(g,b)},i,c,arguments.length>1)}});function Cn(i,c,g,b,T){return new Cn.prototype.init(i,c,g,b,T)}v.Tween=Cn,Cn.prototype={constructor:Cn,init:function(i,c,g,b,T,R){this.elem=i,this.prop=g,this.easing=T||v.easing._default,this.options=c,this.start=this.now=this.cur(),this.end=b,this.unit=R||(v.cssNumber[g]?"":"px")},cur:function(){var i=Cn.propHooks[this.prop];return i&&i.get?i.get(this):Cn.propHooks._default.get(this)},run:function(i){var c,g=Cn.propHooks[this.prop];return this.options.duration?this.pos=c=v.easing[this.easing](i,this.options.duration*i,0,1,this.options.duration):this.pos=c=i,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):Cn.propHooks._default.set(this),this}},Cn.prototype.init.prototype=Cn.prototype,Cn.propHooks={_default:{get:function(i){var c;return i.elem.nodeType!==1||i.elem[i.prop]!=null&&i.elem.style[i.prop]==null?i.elem[i.prop]:(c=v.css(i.elem,i.prop,""),!c||c==="auto"?0:c)},set:function(i){v.fx.step[i.prop]?v.fx.step[i.prop](i):i.elem.nodeType===1&&(v.cssHooks[i.prop]||i.elem.style[ri(i.prop)]!=null)?v.style(i.elem,i.prop,i.now+i.unit):i.elem[i.prop]=i.now}}},Cn.propHooks.scrollTop=Cn.propHooks.scrollLeft={set:function(i){i.elem.nodeType&&i.elem.parentNode&&(i.elem[i.prop]=i.now)}},v.easing={linear:function(i){return i},swing:function(i){return .5-Math.cos(i*Math.PI)/2},_default:"swing"},v.fx=Cn.prototype.init,v.fx.step={};var hr,Qn,la=/^(?:toggle|show|hide)$/,Ii=/queueHooks$/;function kr(){Qn&&(W.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(kr):t.setTimeout(kr,v.fx.interval),v.fx.tick())}function m(){return t.setTimeout(function(){hr=void 0}),hr=Date.now()}function I(i,c){var g,b=0,T={height:i};for(c=c?1:0;b<4;b+=2-c)g=Mn[b],T["margin"+g]=T["padding"+g]=i;return c&&(T.opacity=T.width=i),T}function B(i,c,g){for(var b,T=(se.tweeners[c]||[]).concat(se.tweeners["*"]),R=0,O=T.length;R<O;R++)if(b=T[R].call(g,c,i))return b}function Y(i,c,g){var b,T,R,O,Q,q,le,Ce,ke="width"in c||"height"in c,ge=this,Me={},Ke=i.style,bt=i.nodeType&&Nr(i),Et=rt.get(i,"fxshow");g.queue||(O=v._queueHooks(i,"fx"),O.unqueued==null&&(O.unqueued=0,Q=O.empty.fire,O.empty.fire=function(){O.unqueued||Q()}),O.unqueued++,ge.always(function(){ge.always(function(){O.unqueued--,v.queue(i,"fx").length||O.empty.fire()})}));for(b in c)if(T=c[b],la.test(T)){if(delete c[b],R=R||T==="toggle",T===(bt?"hide":"show"))if(T==="show"&&Et&&Et[b]!==void 0)bt=!0;else continue;Me[b]=Et&&Et[b]||v.style(i,b)}if(q=!v.isEmptyObject(c),!(!q&&v.isEmptyObject(Me))){ke&&i.nodeType===1&&(g.overflow=[Ke.overflow,Ke.overflowX,Ke.overflowY],le=Et&&Et.display,le==null&&(le=rt.get(i,"display")),Ce=v.css(i,"display"),Ce==="none"&&(le?Ce=le:(qn([i],!0),le=i.style.display||le,Ce=v.css(i,"display"),qn([i]))),(Ce==="inline"||Ce==="inline-block"&&le!=null)&&v.css(i,"float")==="none"&&(q||(ge.done(function(){Ke.display=le}),le==null&&(Ce=Ke.display,le=Ce==="none"?"":Ce)),Ke.display="inline-block")),g.overflow&&(Ke.overflow="hidden",ge.always(function(){Ke.overflow=g.overflow[0],Ke.overflowX=g.overflow[1],Ke.overflowY=g.overflow[2]})),q=!1;for(b in Me)q||(Et?"hidden"in Et&&(bt=Et.hidden):Et=rt.access(i,"fxshow",{display:le}),R&&(Et.hidden=!bt),bt&&qn([i],!0),ge.done(function(){bt||qn([i]),rt.remove(i,"fxshow");for(b in Me)v.style(i,b,Me[b])})),q=B(bt?Et[b]:0,b,ge),b in Et||(Et[b]=q.start,bt&&(q.end=q.start,q.start=0))}}function me(i,c){var g,b,T,R,O;for(g in i)if(b=rn(g),T=c[b],R=i[g],Array.isArray(R)&&(T=R[1],R=i[g]=R[0]),g!==b&&(i[b]=R,delete i[g]),O=v.cssHooks[b],O&&"expand"in O){R=O.expand(R),delete i[b];for(g in R)g in i||(i[g]=R[g],c[g]=T)}else c[b]=T}function se(i,c,g){var b,T,R=0,O=se.prefilters.length,Q=v.Deferred().always(function(){delete q.elem}),q=function(){if(T)return!1;for(var ke=hr||m(),ge=Math.max(0,le.startTime+le.duration-ke),Me=ge/le.duration||0,Ke=1-Me,bt=0,Et=le.tweens.length;bt<Et;bt++)le.tweens[bt].run(Ke);return Q.notifyWith(i,[le,Ke,ge]),Ke<1&&Et?ge:(Et||Q.notifyWith(i,[le,1,0]),Q.resolveWith(i,[le]),!1)},le=Q.promise({elem:i,props:v.extend({},c),opts:v.extend(!0,{specialEasing:{},easing:v.easing._default},g),originalProperties:c,originalOptions:g,startTime:hr||m(),duration:g.duration,tweens:[],createTween:function(ke,ge){var Me=v.Tween(i,le.opts,ke,ge,le.opts.specialEasing[ke]||le.opts.easing);return le.tweens.push(Me),Me},stop:function(ke){var ge=0,Me=ke?le.tweens.length:0;if(T)return this;for(T=!0;ge<Me;ge++)le.tweens[ge].run(1);return ke?(Q.notifyWith(i,[le,1,0]),Q.resolveWith(i,[le,ke])):Q.rejectWith(i,[le,ke]),this}}),Ce=le.props;for(me(Ce,le.opts.specialEasing);R<O;R++)if(b=se.prefilters[R].call(le,i,Ce,le.opts),b)return ce(b.stop)&&(v._queueHooks(le.elem,le.opts.queue).stop=b.stop.bind(b)),b;return v.map(Ce,B,le),ce(le.opts.start)&&le.opts.start.call(i,le),le.progress(le.opts.progress).done(le.opts.done,le.opts.complete).fail(le.opts.fail).always(le.opts.always),v.fx.timer(v.extend(q,{elem:i,anim:le,queue:le.opts.queue})),le}v.Animation=v.extend(se,{tweeners:{"*":[function(i,c){var g=this.createTween(i,c);return oa(g.elem,i,yr.exec(c),g),g}]},tweener:function(i,c){ce(i)?(c=i,i=["*"]):i=i.match(ct);for(var g,b=0,T=i.length;b<T;b++)g=i[b],se.tweeners[g]=se.tweeners[g]||[],se.tweeners[g].unshift(c)},prefilters:[Y],prefilter:function(i,c){c?se.prefilters.unshift(i):se.prefilters.push(i)}}),v.speed=function(i,c,g){var b=i&&typeof i=="object"?v.extend({},i):{complete:g||!g&&c||ce(i)&&i,duration:i,easing:g&&c||c&&!ce(c)&&c};return v.fx.off?b.duration=0:typeof b.duration!="number"&&(b.duration in v.fx.speeds?b.duration=v.fx.speeds[b.duration]:b.duration=v.fx.speeds._default),(b.queue==null||b.queue===!0)&&(b.queue="fx"),b.old=b.complete,b.complete=function(){ce(b.old)&&b.old.call(this),b.queue&&v.dequeue(this,b.queue)},b},v.fn.extend({fadeTo:function(i,c,g,b){return this.filter(Nr).css("opacity",0).show().end().animate({opacity:c},i,g,b)},animate:function(i,c,g,b){var T=v.isEmptyObject(i),R=v.speed(c,g,b),O=function(){var Q=se(this,v.extend({},i),R);(T||rt.get(this,"finish"))&&Q.stop(!0)};return O.finish=O,T||R.queue===!1?this.each(O):this.queue(R.queue,O)},stop:function(i,c,g){var b=function(T){var R=T.stop;delete T.stop,R(g)};return typeof i!="string"&&(g=c,c=i,i=void 0),c&&this.queue(i||"fx",[]),this.each(function(){var T=!0,R=i!=null&&i+"queueHooks",O=v.timers,Q=rt.get(this);if(R)Q[R]&&Q[R].stop&&b(Q[R]);else for(R in Q)Q[R]&&Q[R].stop&&Ii.test(R)&&b(Q[R]);for(R=O.length;R--;)O[R].elem===this&&(i==null||O[R].queue===i)&&(O[R].anim.stop(g),T=!1,O.splice(R,1));(T||!g)&&v.dequeue(this,i)})},finish:function(i){return i!==!1&&(i=i||"fx"),this.each(function(){var c,g=rt.get(this),b=g[i+"queue"],T=g[i+"queueHooks"],R=v.timers,O=b?b.length:0;for(g.finish=!0,v.queue(this,i,[]),T&&T.stop&&T.stop.call(this,!0),c=R.length;c--;)R[c].elem===this&&R[c].queue===i&&(R[c].anim.stop(!0),R.splice(c,1));for(c=0;c<O;c++)b[c]&&b[c].finish&&b[c].finish.call(this);delete g.finish})}}),v.each(["toggle","show","hide"],function(i,c){var g=v.fn[c];v.fn[c]=function(b,T,R){return b==null||typeof b=="boolean"?g.apply(this,arguments):this.animate(I(c,!0),b,T,R)}}),v.each({slideDown:I("show"),slideUp:I("hide"),slideToggle:I("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(i,c){v.fn[i]=function(g,b,T){return this.animate(c,g,b,T)}}),v.timers=[],v.fx.tick=function(){var i,c=0,g=v.timers;for(hr=Date.now();c<g.length;c++)i=g[c],!i()&&g[c]===i&&g.splice(c--,1);g.length||v.fx.stop(),hr=void 0},v.fx.timer=function(i){v.timers.push(i),v.fx.start()},v.fx.interval=13,v.fx.start=function(){Qn||(Qn=!0,kr())},v.fx.stop=function(){Qn=null},v.fx.speeds={slow:600,fast:200,_default:400},v.fn.delay=function(i,c){return i=v.fx&&v.fx.speeds[i]||i,c=c||"fx",this.queue(c,function(g,b){var T=t.setTimeout(g,i);b.stop=function(){t.clearTimeout(T)}})},function(){var i=W.createElement("input"),c=W.createElement("select"),g=c.appendChild(W.createElement("option"));i.type="checkbox",ue.checkOn=i.value!=="",ue.optSelected=g.selected,i=W.createElement("input"),i.value="t",i.type="radio",ue.radioValue=i.value==="t"}();var xe,He=v.expr.attrHandle;v.fn.extend({attr:function(i,c){return bn(this,v.attr,i,c,arguments.length>1)},removeAttr:function(i){return this.each(function(){v.removeAttr(this,i)})}}),v.extend({attr:function(i,c,g){var b,T,R=i.nodeType;if(!(R===3||R===8||R===2)){if(typeof i.getAttribute>"u")return v.prop(i,c,g);if((R!==1||!v.isXMLDoc(i))&&(T=v.attrHooks[c.toLowerCase()]||(v.expr.match.bool.test(c)?xe:void 0)),g!==void 0){if(g===null){v.removeAttr(i,c);return}return T&&"set"in T&&(b=T.set(i,g,c))!==void 0?b:(i.setAttribute(c,g+""),g)}return T&&"get"in T&&(b=T.get(i,c))!==null?b:(b=v.find.attr(i,c),b??void 0)}},attrHooks:{type:{set:function(i,c){if(!ue.radioValue&&c==="radio"&&De(i,"input")){var g=i.value;return i.setAttribute("type",c),g&&(i.value=g),c}}}},removeAttr:function(i,c){var g,b=0,T=c&&c.match(ct);if(T&&i.nodeType===1)for(;g=T[b++];)i.removeAttribute(g)}}),xe={set:function(i,c,g){return c===!1?v.removeAttr(i,g):i.setAttribute(g,g),g}},v.each(v.expr.match.bool.source.match(/\w+/g),function(i,c){var g=He[c]||v.find.attr;He[c]=function(b,T,R){var O,Q,q=T.toLowerCase();return R||(Q=He[q],He[q]=O,O=g(b,T,R)!=null?q:null,He[q]=Q),O}});var it=/^(?:input|select|textarea|button)$/i,ft=/^(?:a|area)$/i;v.fn.extend({prop:function(i,c){return bn(this,v.prop,i,c,arguments.length>1)},removeProp:function(i){return this.each(function(){delete this[v.propFix[i]||i]})}}),v.extend({prop:function(i,c,g){var b,T,R=i.nodeType;if(!(R===3||R===8||R===2))return(R!==1||!v.isXMLDoc(i))&&(c=v.propFix[c]||c,T=v.propHooks[c]),g!==void 0?T&&"set"in T&&(b=T.set(i,g,c))!==void 0?b:i[c]=g:T&&"get"in T&&(b=T.get(i,c))!==null?b:i[c]},propHooks:{tabIndex:{get:function(i){var c=v.find.attr(i,"tabindex");return c?parseInt(c,10):it.test(i.nodeName)||ft.test(i.nodeName)&&i.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ue.optSelected||(v.propHooks.selected={get:function(i){var c=i.parentNode;return c&&c.parentNode&&c.parentNode.selectedIndex,null},set:function(i){var c=i.parentNode;c&&(c.selectedIndex,c.parentNode&&c.parentNode.selectedIndex)}}),v.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){v.propFix[this.toLowerCase()]=this});function at(i){var c=i.match(ct)||[];return c.join(" ")}function Mt(i){return i.getAttribute&&i.getAttribute("class")||""}function $n(i){return Array.isArray(i)?i:typeof i=="string"?i.match(ct)||[]:[]}v.fn.extend({addClass:function(i){var c,g,b,T,R,O;return ce(i)?this.each(function(Q){v(this).addClass(i.call(this,Q,Mt(this)))}):(c=$n(i),c.length?this.each(function(){if(b=Mt(this),g=this.nodeType===1&&" "+at(b)+" ",g){for(R=0;R<c.length;R++)T=c[R],g.indexOf(" "+T+" ")<0&&(g+=T+" ");O=at(g),b!==O&&this.setAttribute("class",O)}}):this)},removeClass:function(i){var c,g,b,T,R,O;return ce(i)?this.each(function(Q){v(this).removeClass(i.call(this,Q,Mt(this)))}):arguments.length?(c=$n(i),c.length?this.each(function(){if(b=Mt(this),g=this.nodeType===1&&" "+at(b)+" ",g){for(R=0;R<c.length;R++)for(T=c[R];g.indexOf(" "+T+" ")>-1;)g=g.replace(" "+T+" "," ");O=at(g),b!==O&&this.setAttribute("class",O)}}):this):this.attr("class","")},toggleClass:function(i,c){var g,b,T,R,O=typeof i,Q=O==="string"||Array.isArray(i);return ce(i)?this.each(function(q){v(this).toggleClass(i.call(this,q,Mt(this),c),c)}):typeof c=="boolean"&&Q?c?this.addClass(i):this.removeClass(i):(g=$n(i),this.each(function(){if(Q)for(R=v(this),T=0;T<g.length;T++)b=g[T],R.hasClass(b)?R.removeClass(b):R.addClass(b);else(i===void 0||O==="boolean")&&(b=Mt(this),b&&rt.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||i===!1?"":rt.get(this,"__className__")||""))}))},hasClass:function(i){var c,g,b=0;for(c=" "+i+" ";g=this[b++];)if(g.nodeType===1&&(" "+at(Mt(g))+" ").indexOf(c)>-1)return!0;return!1}});var Ln=/\r/g;v.fn.extend({val:function(i){var c,g,b,T=this[0];return arguments.length?(b=ce(i),this.each(function(R){var O;this.nodeType===1&&(b?O=i.call(this,R,v(this).val()):O=i,O==null?O="":typeof O=="number"?O+="":Array.isArray(O)&&(O=v.map(O,function(Q){return Q==null?"":Q+""})),c=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()],(!c||!("set"in c)||c.set(this,O,"value")===void 0)&&(this.value=O))})):T?(c=v.valHooks[T.type]||v.valHooks[T.nodeName.toLowerCase()],c&&"get"in c&&(g=c.get(T,"value"))!==void 0?g:(g=T.value,typeof g=="string"?g.replace(Ln,""):g??"")):void 0}}),v.extend({valHooks:{option:{get:function(i){var c=v.find.attr(i,"value");return c??at(v.text(i))}},select:{get:function(i){var c,g,b,T=i.options,R=i.selectedIndex,O=i.type==="select-one",Q=O?null:[],q=O?R+1:T.length;for(R<0?b=q:b=O?R:0;b<q;b++)if(g=T[b],(g.selected||b===R)&&!g.disabled&&(!g.parentNode.disabled||!De(g.parentNode,"optgroup"))){if(c=v(g).val(),O)return c;Q.push(c)}return Q},set:function(i,c){for(var g,b,T=i.options,R=v.makeArray(c),O=T.length;O--;)b=T[O],(b.selected=v.inArray(v.valHooks.option.get(b),R)>-1)&&(g=!0);return g||(i.selectedIndex=-1),R}}}}),v.each(["radio","checkbox"],function(){v.valHooks[this]={set:function(i,c){if(Array.isArray(c))return i.checked=v.inArray(v(i).val(),c)>-1}},ue.checkOn||(v.valHooks[this].get=function(i){return i.getAttribute("value")===null?"on":i.value})});var Sn=t.location,Er={guid:Date.now()},Xn=/\?/;v.parseXML=function(i){var c,g;if(!i||typeof i!="string")return null;try{c=new t.DOMParser().parseFromString(i,"text/xml")}catch{}return g=c&&c.getElementsByTagName("parsererror")[0],(!c||g)&&v.error("Invalid XML: "+(g?v.map(g.childNodes,function(b){return b.textContent}).join(`
|
|
165
|
-
`):i)),c};var _i=/^(?:focusinfocus|focusoutblur)$/,ii=function(i){i.stopPropagation()};v.extend(v.event,{trigger:function(i,c,g,b){var T,R,O,Q,q,le,Ce,ke,ge=[g||W],Me=z.call(i,"type")?i.type:i,Ke=z.call(i,"namespace")?i.namespace.split("."):[];if(R=ke=O=g=g||W,!(g.nodeType===3||g.nodeType===8)&&!_i.test(Me+v.event.triggered)&&(Me.indexOf(".")>-1&&(Ke=Me.split("."),Me=Ke.shift(),Ke.sort()),q=Me.indexOf(":")<0&&"on"+Me,i=i[v.expando]?i:new v.Event(Me,typeof i=="object"&&i),i.isTrigger=b?2:3,i.namespace=Ke.join("."),i.rnamespace=i.namespace?new RegExp("(^|\\.)"+Ke.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,i.result=void 0,i.target||(i.target=g),c=c==null?[i]:v.makeArray(c,[i]),Ce=v.event.special[Me]||{},!(!b&&Ce.trigger&&Ce.trigger.apply(g,c)===!1))){if(!b&&!Ce.noBubble&&!ee(g)){for(Q=Ce.delegateType||Me,_i.test(Q+Me)||(R=R.parentNode);R;R=R.parentNode)ge.push(R),O=R;O===(g.ownerDocument||W)&&ge.push(O.defaultView||O.parentWindow||t)}for(T=0;(R=ge[T++])&&!i.isPropagationStopped();)ke=R,i.type=T>1?Q:Ce.bindType||Me,le=(rt.get(R,"events")||Object.create(null))[i.type]&&rt.get(R,"handle"),le&&le.apply(R,c),le=q&&R[q],le&&le.apply&&sn(R)&&(i.result=le.apply(R,c),i.result===!1&&i.preventDefault());return i.type=Me,!b&&!i.isDefaultPrevented()&&(!Ce._default||Ce._default.apply(ge.pop(),c)===!1)&&sn(g)&&q&&ce(g[Me])&&!ee(g)&&(O=g[q],O&&(g[q]=null),v.event.triggered=Me,i.isPropagationStopped()&&ke.addEventListener(Me,ii),g[Me](),i.isPropagationStopped()&&ke.removeEventListener(Me,ii),v.event.triggered=void 0,O&&(g[q]=O)),i.result}},simulate:function(i,c,g){var b=v.extend(new v.Event,g,{type:i,isSimulated:!0});v.event.trigger(b,null,c)}}),v.fn.extend({trigger:function(i,c){return this.each(function(){v.event.trigger(i,c,this)})},triggerHandler:function(i,c){var g=this[0];if(g)return v.event.trigger(i,c,g,!0)}});var Ri=/\[\]$/,Tr=/\r?\n/g,ua=/^(?:submit|button|image|reset|file)$/i,Wo=/^(?:input|select|textarea|keygen)/i;function qa(i,c,g,b){var T;if(Array.isArray(c))v.each(c,function(R,O){g||Ri.test(i)?b(i,O):qa(i+"["+(typeof O=="object"&&O!=null?R:"")+"]",O,g,b)});else if(!g&&Ae(c)==="object")for(T in c)qa(i+"["+T+"]",c[T],g,b);else b(i,c)}v.param=function(i,c){var g,b=[],T=function(R,O){var Q=ce(O)?O():O;b[b.length]=encodeURIComponent(R)+"="+encodeURIComponent(Q??"")};if(i==null)return"";if(Array.isArray(i)||i.jquery&&!v.isPlainObject(i))v.each(i,function(){T(this.name,this.value)});else for(g in i)qa(g,i[g],c,T);return b.join("&")},v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var i=v.prop(this,"elements");return i?v.makeArray(i):this}).filter(function(){var i=this.type;return this.name&&!v(this).is(":disabled")&&Wo.test(this.nodeName)&&!ua.test(i)&&(this.checked||!$t.test(i))}).map(function(i,c){var g=v(this).val();return g==null?null:Array.isArray(g)?v.map(g,function(b){return{name:c.name,value:b.replace(Tr,`\r
|
|
166
|
-
`)}}):{name:c.name,value:g.replace(Tr,`\r
|
|
167
|
-
`)}}).get()}});var Xa=/%20/g,Ka=/#.*$/,Za=/([?&])_=[^&]*/,ai=/^(.*?):[ \t]*([^\r\n]*)$/mg,ca=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ia=/^(?:GET|HEAD)$/,en=/^\/\//,Vt={},Ot={},hi="*/".concat("*"),Vr=W.createElement("a");Vr.href=Sn.href;function fa(i){return function(c,g){typeof c!="string"&&(g=c,c="*");var b,T=0,R=c.toLowerCase().match(ct)||[];if(ce(g))for(;b=R[T++];)b[0]==="+"?(b=b.slice(1)||"*",(i[b]=i[b]||[]).unshift(g)):(i[b]=i[b]||[]).push(g)}}function oi(i,c,g,b){var T={},R=i===Ot;function O(Q){var q;return T[Q]=!0,v.each(i[Q]||[],function(le,Ce){var ke=Ce(c,g,b);if(typeof ke=="string"&&!R&&!T[ke])return c.dataTypes.unshift(ke),O(ke),!1;if(R)return!(q=ke)}),q}return O(c.dataTypes[0])||!T["*"]&&O("*")}function er(i,c){var g,b,T=v.ajaxSettings.flatOptions||{};for(g in c)c[g]!==void 0&&((T[g]?i:b||(b={}))[g]=c[g]);return b&&v.extend(!0,i,b),i}function Ja(i,c,g){for(var b,T,R,O,Q=i.contents,q=i.dataTypes;q[0]==="*";)q.shift(),b===void 0&&(b=i.mimeType||c.getResponseHeader("Content-Type"));if(b){for(T in Q)if(Q[T]&&Q[T].test(b)){q.unshift(T);break}}if(q[0]in g)R=q[0];else{for(T in g){if(!q[0]||i.converters[T+" "+q[0]]){R=T;break}O||(O=T)}R=R||O}if(R)return R!==q[0]&&q.unshift(R),g[R]}function _a(i,c,g,b){var T,R,O,Q,q,le={},Ce=i.dataTypes.slice();if(Ce[1])for(O in i.converters)le[O.toLowerCase()]=i.converters[O];for(R=Ce.shift();R;)if(i.responseFields[R]&&(g[i.responseFields[R]]=c),!q&&b&&i.dataFilter&&(c=i.dataFilter(c,i.dataType)),q=R,R=Ce.shift(),R){if(R==="*")R=q;else if(q!=="*"&&q!==R){if(O=le[q+" "+R]||le["* "+R],!O){for(T in le)if(Q=T.split(" "),Q[1]===R&&(O=le[q+" "+Q[0]]||le["* "+Q[0]],O)){O===!0?O=le[T]:le[T]!==!0&&(R=Q[0],Ce.unshift(Q[1]));break}}if(O!==!0)if(O&&i.throws)c=O(c);else try{c=O(c)}catch(ke){return{state:"parsererror",error:O?ke:"No conversion from "+q+" to "+R}}}}return{state:"success",data:c}}v.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Sn.href,type:"GET",isLocal:ca.test(Sn.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":hi,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":v.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(i,c){return c?er(er(i,v.ajaxSettings),c):er(v.ajaxSettings,i)},ajaxPrefilter:fa(Vt),ajaxTransport:fa(Ot),ajax:function(i,c){typeof i=="object"&&(c=i,i=void 0),c=c||{};var g,b,T,R,O,Q,q,le,Ce,ke,ge=v.ajaxSetup({},c),Me=ge.context||ge,Ke=ge.context&&(Me.nodeType||Me.jquery)?v(Me):v.event,bt=v.Deferred(),Et=v.Callbacks("once memory"),In=ge.statusCode||{},on={},Ir={},_r="canceled",Ft={readyState:0,getResponseHeader:function(Bt){var Jt;if(q){if(!R)for(R={};Jt=ai.exec(T);)R[Jt[1].toLowerCase()+" "]=(R[Jt[1].toLowerCase()+" "]||[]).concat(Jt[2]);Jt=R[Bt.toLowerCase()+" "]}return Jt==null?null:Jt.join(", ")},getAllResponseHeaders:function(){return q?T:null},setRequestHeader:function(Bt,Jt){return q==null&&(Bt=Ir[Bt.toLowerCase()]=Ir[Bt.toLowerCase()]||Bt,on[Bt]=Jt),this},overrideMimeType:function(Bt){return q==null&&(ge.mimeType=Bt),this},statusCode:function(Bt){var Jt;if(Bt)if(q)Ft.always(Bt[Ft.status]);else for(Jt in Bt)In[Jt]=[In[Jt],Bt[Jt]];return this},abort:function(Bt){var Jt=Bt||_r;return g&&g.abort(Jt),Rr(0,Jt),this}};if(bt.promise(Ft),ge.url=((i||ge.url||Sn.href)+"").replace(en,Sn.protocol+"//"),ge.type=c.method||c.type||ge.method||ge.type,ge.dataTypes=(ge.dataType||"*").toLowerCase().match(ct)||[""],ge.crossDomain==null){Q=W.createElement("a");try{Q.href=ge.url,Q.href=Q.href,ge.crossDomain=Vr.protocol+"//"+Vr.host!=Q.protocol+"//"+Q.host}catch{ge.crossDomain=!0}}if(ge.data&&ge.processData&&typeof ge.data!="string"&&(ge.data=v.param(ge.data,ge.traditional)),oi(Vt,ge,c,Ft),q)return Ft;le=v.event&&ge.global,le&&v.active++===0&&v.event.trigger("ajaxStart"),ge.type=ge.type.toUpperCase(),ge.hasContent=!Ia.test(ge.type),b=ge.url.replace(Ka,""),ge.hasContent?ge.data&&ge.processData&&(ge.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(ge.data=ge.data.replace(Xa,"+")):(ke=ge.url.slice(b.length),ge.data&&(ge.processData||typeof ge.data=="string")&&(b+=(Xn.test(b)?"&":"?")+ge.data,delete ge.data),ge.cache===!1&&(b=b.replace(Za,"$1"),ke=(Xn.test(b)?"&":"?")+"_="+Er.guid+++ke),ge.url=b+ke),ge.ifModified&&(v.lastModified[b]&&Ft.setRequestHeader("If-Modified-Since",v.lastModified[b]),v.etag[b]&&Ft.setRequestHeader("If-None-Match",v.etag[b])),(ge.data&&ge.hasContent&&ge.contentType!==!1||c.contentType)&&Ft.setRequestHeader("Content-Type",ge.contentType),Ft.setRequestHeader("Accept",ge.dataTypes[0]&&ge.accepts[ge.dataTypes[0]]?ge.accepts[ge.dataTypes[0]]+(ge.dataTypes[0]!=="*"?", "+hi+"; q=0.01":""):ge.accepts["*"]);for(Ce in ge.headers)Ft.setRequestHeader(Ce,ge.headers[Ce]);if(ge.beforeSend&&(ge.beforeSend.call(Me,Ft,ge)===!1||q))return Ft.abort();if(_r="abort",Et.add(ge.complete),Ft.done(ge.success),Ft.fail(ge.error),g=oi(Ot,ge,c,Ft),!g)Rr(-1,"No Transport");else{if(Ft.readyState=1,le&&Ke.trigger("ajaxSend",[Ft,ge]),q)return Ft;ge.async&&ge.timeout>0&&(O=t.setTimeout(function(){Ft.abort("timeout")},ge.timeout));try{q=!1,g.send(on,Rr)}catch(Bt){if(q)throw Bt;Rr(-1,Bt)}}function Rr(Bt,Jt,Gi,qi){var pr,y,E,F,V,he=Jt;q||(q=!0,O&&t.clearTimeout(O),g=void 0,T=qi||"",Ft.readyState=Bt>0?4:0,pr=Bt>=200&&Bt<300||Bt===304,Gi&&(F=Ja(ge,Ft,Gi)),!pr&&v.inArray("script",ge.dataTypes)>-1&&v.inArray("json",ge.dataTypes)<0&&(ge.converters["text script"]=function(){}),F=_a(ge,F,Ft,pr),pr?(ge.ifModified&&(V=Ft.getResponseHeader("Last-Modified"),V&&(v.lastModified[b]=V),V=Ft.getResponseHeader("etag"),V&&(v.etag[b]=V)),Bt===204||ge.type==="HEAD"?he="nocontent":Bt===304?he="notmodified":(he=F.state,y=F.data,E=F.error,pr=!E)):(E=he,(Bt||!he)&&(he="error",Bt<0&&(Bt=0))),Ft.status=Bt,Ft.statusText=(Jt||he)+"",pr?bt.resolveWith(Me,[y,he,Ft]):bt.rejectWith(Me,[Ft,he,E]),Ft.statusCode(In),In=void 0,le&&Ke.trigger(pr?"ajaxSuccess":"ajaxError",[Ft,ge,pr?y:E]),Et.fireWith(Me,[Ft,he]),le&&(Ke.trigger("ajaxComplete",[Ft,ge]),--v.active||v.event.trigger("ajaxStop")))}return Ft},getJSON:function(i,c,g){return v.get(i,c,g,"json")},getScript:function(i,c){return v.get(i,void 0,c,"script")}}),v.each(["get","post"],function(i,c){v[c]=function(g,b,T,R){return ce(b)&&(R=R||T,T=b,b=void 0),v.ajax(v.extend({url:g,type:c,dataType:R,data:b,success:T},v.isPlainObject(g)&&g))}}),v.ajaxPrefilter(function(i){var c;for(c in i.headers)c.toLowerCase()==="content-type"&&(i.contentType=i.headers[c]||"")}),v._evalUrl=function(i,c,g){return v.ajax({url:i,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(b){v.globalEval(b,c,g)}})},v.fn.extend({wrapAll:function(i){var c;return this[0]&&(ce(i)&&(i=i.call(this[0])),c=v(i,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(i){return ce(i)?this.each(function(c){v(this).wrapInner(i.call(this,c))}):this.each(function(){var c=v(this),g=c.contents();g.length?g.wrapAll(i):c.append(i)})},wrap:function(i){var c=ce(i);return this.each(function(g){v(this).wrapAll(c?i.call(this,g):i)})},unwrap:function(i){return this.parent(i).not("body").each(function(){v(this).replaceWith(this.childNodes)}),this}}),v.expr.pseudos.hidden=function(i){return!v.expr.pseudos.visible(i)},v.expr.pseudos.visible=function(i){return!!(i.offsetWidth||i.offsetHeight||i.getClientRects().length)},v.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var vo={0:200,1223:204},dn=v.ajaxSettings.xhr();ue.cors=!!dn&&"withCredentials"in dn,ue.ajax=dn=!!dn,v.ajaxTransport(function(i){var c,g;if(ue.cors||dn&&!i.crossDomain)return{send:function(b,T){var R,O=i.xhr();if(O.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(R in i.xhrFields)O[R]=i.xhrFields[R];i.mimeType&&O.overrideMimeType&&O.overrideMimeType(i.mimeType),!i.crossDomain&&!b["X-Requested-With"]&&(b["X-Requested-With"]="XMLHttpRequest");for(R in b)O.setRequestHeader(R,b[R]);c=function(Q){return function(){c&&(c=g=O.onload=O.onerror=O.onabort=O.ontimeout=O.onreadystatechange=null,Q==="abort"?O.abort():Q==="error"?typeof O.status!="number"?T(0,"error"):T(O.status,O.statusText):T(vo[O.status]||O.status,O.statusText,(O.responseType||"text")!=="text"||typeof O.responseText!="string"?{binary:O.response}:{text:O.responseText},O.getAllResponseHeaders()))}},O.onload=c(),g=O.onerror=O.ontimeout=c("error"),O.onabort!==void 0?O.onabort=g:O.onreadystatechange=function(){O.readyState===4&&t.setTimeout(function(){c&&g()})},c=c("abort");try{O.send(i.hasContent&&i.data||null)}catch(Q){if(c)throw Q}},abort:function(){c&&c()}}}),v.ajaxPrefilter(function(i){i.crossDomain&&(i.contents.script=!1)}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(i){return v.globalEval(i),i}}}),v.ajaxPrefilter("script",function(i){i.cache===void 0&&(i.cache=!1),i.crossDomain&&(i.type="GET")}),v.ajaxTransport("script",function(i){if(i.crossDomain||i.scriptAttrs){var c,g;return{send:function(b,T){c=v("<script>").attr(i.scriptAttrs||{}).prop({charset:i.scriptCharset,src:i.url}).on("load error",g=function(R){c.remove(),g=null,R&&T(R.type==="error"?404:200,R.type)}),W.head.appendChild(c[0])},abort:function(){g&&g()}}}});var da=[],si=/(=)\?(?=&|$)|\?\?/;v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var i=da.pop()||v.expando+"_"+Er.guid++;return this[i]=!0,i}}),v.ajaxPrefilter("json jsonp",function(i,c,g){var b,T,R,O=i.jsonp!==!1&&(si.test(i.url)?"url":typeof i.data=="string"&&(i.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&si.test(i.data)&&"data");if(O||i.dataTypes[0]==="jsonp")return b=i.jsonpCallback=ce(i.jsonpCallback)?i.jsonpCallback():i.jsonpCallback,O?i[O]=i[O].replace(si,"$1"+b):i.jsonp!==!1&&(i.url+=(Xn.test(i.url)?"&":"?")+i.jsonp+"="+b),i.converters["script json"]=function(){return R||v.error(b+" was not called"),R[0]},i.dataTypes[0]="json",T=t[b],t[b]=function(){R=arguments},g.always(function(){T===void 0?v(t).removeProp(b):t[b]=T,i[b]&&(i.jsonpCallback=c.jsonpCallback,da.push(b)),R&&ce(T)&&T(R[0]),R=T=void 0}),"script"}),ue.createHTMLDocument=function(){var i=W.implementation.createHTMLDocument("").body;return i.innerHTML="<form></form><form></form>",i.childNodes.length===2}(),v.parseHTML=function(i,c,g){if(typeof i!="string")return[];typeof c=="boolean"&&(g=c,c=!1);var b,T,R;return c||(ue.createHTMLDocument?(c=W.implementation.createHTMLDocument(""),b=c.createElement("base"),b.href=W.location.href,c.head.appendChild(b)):c=W),T=ze.exec(i),R=!g&&[],T?[c.createElement(T[1])]:(T=fn([i],c,R),R&&R.length&&v(R).remove(),v.merge([],T.childNodes))},v.fn.load=function(i,c,g){var b,T,R,O=this,Q=i.indexOf(" ");return Q>-1&&(b=at(i.slice(Q)),i=i.slice(0,Q)),ce(c)?(g=c,c=void 0):c&&typeof c=="object"&&(T="POST"),O.length>0&&v.ajax({url:i,type:T||"GET",dataType:"html",data:c}).done(function(q){R=arguments,O.html(b?v("<div>").append(v.parseHTML(q)).find(b):q)}).always(g&&function(q,le){O.each(function(){g.apply(this,R||[q.responseText,le,q])})}),this},v.expr.pseudos.animated=function(i){return v.grep(v.timers,function(c){return i===c.elem}).length},v.offset={setOffset:function(i,c,g){var b,T,R,O,Q,q,le,Ce=v.css(i,"position"),ke=v(i),ge={};Ce==="static"&&(i.style.position="relative"),Q=ke.offset(),R=v.css(i,"top"),q=v.css(i,"left"),le=(Ce==="absolute"||Ce==="fixed")&&(R+q).indexOf("auto")>-1,le?(b=ke.position(),O=b.top,T=b.left):(O=parseFloat(R)||0,T=parseFloat(q)||0),ce(c)&&(c=c.call(i,g,v.extend({},Q))),c.top!=null&&(ge.top=c.top-Q.top+O),c.left!=null&&(ge.left=c.left-Q.left+T),"using"in c?c.using.call(i,ge):ke.css(ge)}},v.fn.extend({offset:function(i){if(arguments.length)return i===void 0?this:this.each(function(T){v.offset.setOffset(this,i,T)});var c,g,b=this[0];if(b)return b.getClientRects().length?(c=b.getBoundingClientRect(),g=b.ownerDocument.defaultView,{top:c.top+g.pageYOffset,left:c.left+g.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var i,c,g,b=this[0],T={top:0,left:0};if(v.css(b,"position")==="fixed")c=b.getBoundingClientRect();else{for(c=this.offset(),g=b.ownerDocument,i=b.offsetParent||g.documentElement;i&&(i===g.body||i===g.documentElement)&&v.css(i,"position")==="static";)i=i.parentNode;i&&i!==b&&i.nodeType===1&&(T=v(i).offset(),T.top+=v.css(i,"borderTopWidth",!0),T.left+=v.css(i,"borderLeftWidth",!0))}return{top:c.top-T.top-v.css(b,"marginTop",!0),left:c.left-T.left-v.css(b,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var i=this.offsetParent;i&&v.css(i,"position")==="static";)i=i.offsetParent;return i||br})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(i,c){var g=c==="pageYOffset";v.fn[i]=function(b){return bn(this,function(T,R,O){var Q;if(ee(T)?Q=T:T.nodeType===9&&(Q=T.defaultView),O===void 0)return Q?Q[c]:T[R];Q?Q.scrollTo(g?Q.pageXOffset:O,g?O:Q.pageYOffset):T[R]=O},i,b,arguments.length)}}),v.each(["top","left"],function(i,c){v.cssHooks[c]=Fn(ue.pixelPosition,function(g,b){if(b)return b=wr(g,c),di.test(b)?v(g).position()[c]+"px":b})}),v.each({Height:"height",Width:"width"},function(i,c){v.each({padding:"inner"+i,content:c,"":"outer"+i},function(g,b){v.fn[b]=function(T,R){var O=arguments.length&&(g||typeof T!="boolean"),Q=g||(T===!0||R===!0?"margin":"border");return bn(this,function(q,le,Ce){var ke;return ee(q)?b.indexOf("outer")===0?q["inner"+i]:q.document.documentElement["client"+i]:q.nodeType===9?(ke=q.documentElement,Math.max(q.body["scroll"+i],ke["scroll"+i],q.body["offset"+i],ke["offset"+i],ke["client"+i])):Ce===void 0?v.css(q,le,Q):v.style(q,le,Ce,Q)},c,O?T:void 0,O)}})}),v.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(i,c){v.fn[c]=function(g){return this.on(c,g)}}),v.fn.extend({bind:function(i,c,g){return this.on(i,null,c,g)},unbind:function(i,c){return this.off(i,null,c)},delegate:function(i,c,g,b){return this.on(c,i,g,b)},undelegate:function(i,c,g){return arguments.length===1?this.off(i,"**"):this.off(c,i||"**",g)},hover:function(i,c){return this.on("mouseenter",i).on("mouseleave",c||i)}}),v.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(i,c){v.fn[c]=function(g,b){return arguments.length>0?this.on(c,null,g,b):this.trigger(c)}});var mo=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;v.proxy=function(i,c){var g,b,T;if(typeof c=="string"&&(g=i[c],c=i,i=g),!!ce(i))return b=p.call(arguments,2),T=function(){return i.apply(c||this,b.concat(p.call(arguments)))},T.guid=i.guid=i.guid||v.guid++,T},v.holdReady=function(i){i?v.readyWait++:v.ready(!0)},v.isArray=Array.isArray,v.parseJSON=JSON.parse,v.nodeName=De,v.isFunction=ce,v.isWindow=ee,v.camelCase=rn,v.type=Ae,v.now=Date.now,v.isNumeric=function(i){var c=v.type(i);return(c==="number"||c==="string")&&!isNaN(i-parseFloat(i))},v.trim=function(i){return i==null?"":(i+"").replace(mo,"$1")};var Yi=t.jQuery,Vn=t.$;return v.noConflict=function(i){return t.$===v&&(t.$=Vn),i&&t.jQuery===v&&(t.jQuery=Yi),v},typeof r>"u"&&(t.jQuery=t.$=v),v})}(hf)),hf.exports}var hw=xp();const pw=wc(hw);var gw={exports:{}};/**
|
|
168
|
-
* @version: 3.1
|
|
169
|
-
* @author: Dan Grossman http://www.dangrossman.info/
|
|
170
|
-
* @copyright: Copyright (c) 2012-2019 Dan Grossman. All rights reserved.
|
|
171
|
-
* @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
|
|
172
|
-
* @website: http://www.daterangepicker.com/
|
|
173
|
-
*/(function(a){(function(t,r){if(a.exports){var u=typeof window<"u"?window.jQuery:void 0;u||(u=xp(),u.fn||(u.fn={}));var o=typeof window<"u"&&typeof window.moment<"u"?window.moment:Ob;a.exports=r(o,u)}else t.daterangepicker=r(t.moment,t.jQuery)})(Qs,function(t,r){var u=function(o,p,x){if(this.parentEl="body",this.element=r(o),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 p!="object"||p===null)&&(p={}),p=r.extend(this.element.data(),p),typeof p.template!="string"&&!(p.template instanceof r)&&(p.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=p.parentEl&&r(p.parentEl).length?r(p.parentEl):r(this.parentEl),this.container=r(p.template).appendTo(this.parentEl),typeof p.locale=="object"&&(typeof p.locale.direction=="string"&&(this.locale.direction=p.locale.direction),typeof p.locale.format=="string"&&(this.locale.format=p.locale.format),typeof p.locale.separator=="string"&&(this.locale.separator=p.locale.separator),typeof p.locale.daysOfWeek=="object"&&(this.locale.daysOfWeek=p.locale.daysOfWeek.slice()),typeof p.locale.monthNames=="object"&&(this.locale.monthNames=p.locale.monthNames.slice()),typeof p.locale.firstDay=="number"&&(this.locale.firstDay=p.locale.firstDay),typeof p.locale.applyLabel=="string"&&(this.locale.applyLabel=p.locale.applyLabel),typeof p.locale.cancelLabel=="string"&&(this.locale.cancelLabel=p.locale.cancelLabel),typeof p.locale.weekLabel=="string"&&(this.locale.weekLabel=p.locale.weekLabel),typeof p.locale.customRangeLabel=="string")){var P=document.createElement("textarea");P.innerHTML=p.locale.customRangeLabel;var _=P.value;this.locale.customRangeLabel=_}if(this.container.addClass(this.locale.direction),typeof p.startDate=="string"&&(this.startDate=t(p.startDate,this.locale.format)),typeof p.endDate=="string"&&(this.endDate=t(p.endDate,this.locale.format)),typeof p.minDate=="string"&&(this.minDate=t(p.minDate,this.locale.format)),typeof p.maxDate=="string"&&(this.maxDate=t(p.maxDate,this.locale.format)),typeof p.startDate=="object"&&(this.startDate=t(p.startDate)),typeof p.endDate=="object"&&(this.endDate=t(p.endDate)),typeof p.minDate=="object"&&(this.minDate=t(p.minDate)),typeof p.maxDate=="object"&&(this.maxDate=t(p.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 p.applyButtonClasses=="string"&&(this.applyButtonClasses=p.applyButtonClasses),typeof p.applyClass=="string"&&(this.applyButtonClasses=p.applyClass),typeof p.cancelButtonClasses=="string"&&(this.cancelButtonClasses=p.cancelButtonClasses),typeof p.cancelClass=="string"&&(this.cancelButtonClasses=p.cancelClass),typeof p.maxSpan=="object"&&(this.maxSpan=p.maxSpan),typeof p.dateLimit=="object"&&(this.maxSpan=p.dateLimit),typeof p.opens=="string"&&(this.opens=p.opens),typeof p.drops=="string"&&(this.drops=p.drops),typeof p.showWeekNumbers=="boolean"&&(this.showWeekNumbers=p.showWeekNumbers),typeof p.showISOWeekNumbers=="boolean"&&(this.showISOWeekNumbers=p.showISOWeekNumbers),typeof p.buttonClasses=="string"&&(this.buttonClasses=p.buttonClasses),typeof p.buttonClasses=="object"&&(this.buttonClasses=p.buttonClasses.join(" ")),typeof p.showDropdowns=="boolean"&&(this.showDropdowns=p.showDropdowns),typeof p.minYear=="number"&&(this.minYear=p.minYear),typeof p.maxYear=="number"&&(this.maxYear=p.maxYear),typeof p.showCustomRangeLabel=="boolean"&&(this.showCustomRangeLabel=p.showCustomRangeLabel),typeof p.singleDatePicker=="boolean"&&(this.singleDatePicker=p.singleDatePicker,this.singleDatePicker&&(this.endDate=this.startDate.clone())),typeof p.timePicker=="boolean"&&(this.timePicker=p.timePicker),typeof p.timePickerSeconds=="boolean"&&(this.timePickerSeconds=p.timePickerSeconds),typeof p.timePickerIncrement=="number"&&(this.timePickerIncrement=p.timePickerIncrement),typeof p.timePicker24Hour=="boolean"&&(this.timePicker24Hour=p.timePicker24Hour),typeof p.autoApply=="boolean"&&(this.autoApply=p.autoApply),typeof p.autoUpdateInput=="boolean"&&(this.autoUpdateInput=p.autoUpdateInput),typeof p.linkedCalendars=="boolean"&&(this.linkedCalendars=p.linkedCalendars),typeof p.isInvalidDate=="function"&&(this.isInvalidDate=p.isInvalidDate),typeof p.isCustomDate=="function"&&(this.isCustomDate=p.isCustomDate),typeof p.alwaysShowCalendars=="boolean"&&(this.alwaysShowCalendars=p.alwaysShowCalendars),this.locale.firstDay!=0)for(var M=this.locale.firstDay;M>0;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),M--;var X,z,K;if(typeof p.startDate>"u"&&typeof p.endDate>"u"&&r(this.element).is(":text")){var be=r(this.element).val(),ue=be.split(this.locale.separator);X=z=null,ue.length==2?(X=t(ue[0],this.locale.format),z=t(ue[1],this.locale.format)):this.singleDatePicker&&be!==""&&(X=t(be,this.locale.format),z=t(be,this.locale.format)),X!==null&&z!==null&&(this.setStartDate(X),this.setEndDate(z))}if(typeof p.ranges=="object"){for(K in p.ranges){typeof p.ranges[K][0]=="string"?X=t(p.ranges[K][0],this.locale.format):X=t(p.ranges[K][0]),typeof p.ranges[K][1]=="string"?z=t(p.ranges[K][1],this.locale.format):z=t(p.ranges[K][1]),this.minDate&&X.isBefore(this.minDate)&&(X=this.minDate.clone());var ce=this.maxDate;if(this.maxSpan&&ce&&X.clone().add(this.maxSpan).isAfter(ce)&&(ce=X.clone().add(this.maxSpan)),ce&&z.isAfter(ce)&&(z=ce.clone()),!(this.minDate&&z.isBefore(this.minDate,this.timepicker?"minute":"day")||ce&&X.isAfter(ce,this.timepicker?"minute":"day"))){var P=document.createElement("textarea");P.innerHTML=K;var _=P.value;this.ranges[_]=[X,z]}}var ee="<ul>";for(K in this.ranges)ee+='<li data-range-key="'+K+'">'+K+"</li>";this.showCustomRangeLabel&&(ee+='<li data-range-key="'+this.locale.customRangeLabel+'">'+this.locale.customRangeLabel+"</li>"),ee+="</ul>",this.container.find(".ranges").prepend(ee)}typeof x=="function"&&(this.callback=x),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 p.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 p.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",r.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",r.proxy(this.clickNext,this)).on("mousedown.daterangepicker","td.available",r.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",r.proxy(this.hoverDate,this)).on("change.daterangepicker","select.yearselect",r.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.monthselect",r.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",r.proxy(this.timeChanged,this)),this.container.find(".ranges").on("click.daterangepicker","li",r.proxy(this.clickRange,this)),this.container.find(".drp-buttons").on("click.daterangepicker","button.applyBtn",r.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",r.proxy(this.clickCancel,this)),this.element.is("input")||this.element.is("button")?this.element.on({"click.daterangepicker":r.proxy(this.show,this),"focus.daterangepicker":r.proxy(this.show,this),"keyup.daterangepicker":r.proxy(this.elementChanged,this),"keydown.daterangepicker":r.proxy(this.keydown,this)}):(this.element.on("click.daterangepicker",r.proxy(this.toggle,this)),this.element.on("keydown.daterangepicker",r.proxy(this.toggle,this))),this.updateElement()};return u.prototype={constructor:u,setStartDate:function(o){typeof o=="string"&&(this.startDate=t(o,this.locale.format)),typeof o=="object"&&(this.startDate=t(o)),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(o){typeof o=="string"&&(this.endDate=t(o,this.locale.format)),typeof o=="object"&&(this.endDate=t(o)),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 o,p,x;if(this.endDate){if(o=parseInt(this.container.find(".left .hourselect").val(),10),p=parseInt(this.container.find(".left .minuteselect").val(),10),isNaN(p)&&(p=parseInt(this.container.find(".left .minuteselect option:last").val(),10)),x=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,!this.timePicker24Hour){var P=this.container.find(".left .ampmselect").val();P==="PM"&&o<12&&(o+=12),P==="AM"&&o===12&&(o=0)}}else if(o=parseInt(this.container.find(".right .hourselect").val(),10),p=parseInt(this.container.find(".right .minuteselect").val(),10),isNaN(p)&&(p=parseInt(this.container.find(".right .minuteselect option:last").val(),10)),x=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,!this.timePicker24Hour){var P=this.container.find(".right .ampmselect").val();P==="PM"&&o<12&&(o+=12),P==="AM"&&o===12&&(o=0)}this.leftCalendar.month.hour(o).minute(p).second(x),this.rightCalendar.month.hour(o).minute(p).second(x)}this.renderCalendar("left"),this.renderCalendar("right"),this.container.find(".ranges li").removeClass("active"),this.endDate!=null&&this.calculateChosenLabel()},renderCalendar:function(o){var W=o=="left"?this.leftCalendar:this.rightCalendar,p=W.month.month(),x=W.month.year(),P=W.month.hour(),_=W.month.minute(),M=W.month.second(),X=t([x,p]).daysInMonth(),z=t([x,p,1]),K=t([x,p,X]),be=t(z).subtract(1,"month").month(),ue=t(z).subtract(1,"month").year(),ce=t([ue,be]).daysInMonth(),ee=z.day(),W=[];W.firstDay=z,W.lastDay=K;for(var _e=0;_e<6;_e++)W[_e]=[];var Ie=ce-ee+this.locale.firstDay+1;Ie>ce&&(Ie-=7),ee==this.locale.firstDay&&(Ie=ce-6);for(var Ae=t([ue,be,Ie,12,_,M]),fe,Be,_e=0,fe=0,Be=0;_e<42;_e++,fe++,Ae=t(Ae).add(24,"hour"))_e>0&&fe%7===0&&(fe=0,Be++),W[Be][fe]=Ae.clone().hour(P).minute(_).second(M),Ae.hour(12),this.minDate&&W[Be][fe].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&W[Be][fe].isBefore(this.minDate)&&o=="left"&&(W[Be][fe]=this.minDate.clone()),this.maxDate&&W[Be][fe].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&W[Be][fe].isAfter(this.maxDate)&&o=="right"&&(W[Be][fe]=this.maxDate.clone());o=="left"?this.leftCalendar.calendar=W:this.rightCalendar.calendar=W;var v=o=="left"?this.minDate:this.startDate,We=this.maxDate;o=="left"?this.startDate:this.endDate,this.locale.direction=="ltr";var De='<table class="table-condensed">';De+="<thead>",De+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(De+="<th></th>"),(!v||v.isBefore(W.firstDay))&&(!this.linkedCalendars||o=="left")?De+='<th class="prev available"><span></span></th>':De+="<th></th>";var Dt=this.locale.monthNames[W[1][1].month()]+W[1][1].format(" YYYY");if(this.showDropdowns){for(var Ct=W[1][1].month(),At=W[1][1].year(),lt=We&&We.year()||this.maxYear,kt=v&&v.year()||this.minYear,Zt=At==kt,qt=At==lt,mt='<select class="monthselect">',Xe=0;Xe<12;Xe++)(!Zt||v&&Xe>=v.month())&&(!qt||We&&Xe<=We.month())?mt+="<option value='"+Xe+"'"+(Xe===Ct?" selected='selected'":"")+">"+this.locale.monthNames[Xe]+"</option>":mt+="<option value='"+Xe+"'"+(Xe===Ct?" selected='selected'":"")+" disabled='disabled'>"+this.locale.monthNames[Xe]+"</option>";mt+="</select>";for(var wt='<select class="yearselect">',Re=kt;Re<=lt;Re++)wt+='<option value="'+Re+'"'+(Re===At?' selected="selected"':"")+">"+Re+"</option>";wt+="</select>",Dt=mt+wt}if(De+='<th colspan="5" class="month">'+Dt+"</th>",(!We||We.isAfter(W.lastDay))&&(!this.linkedCalendars||o=="right"||this.singleDatePicker)?De+='<th class="next available"><span></span></th>':De+="<th></th>",De+="</tr>",De+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(De+='<th class="week">'+this.locale.weekLabel+"</th>"),r.each(this.locale.daysOfWeek,function(Ye,ut){De+="<th>"+ut+"</th>"}),De+="</tr>",De+="</thead>",De+="<tbody>",this.endDate==null&&this.maxSpan){var Oe=this.startDate.clone().add(this.maxSpan).endOf("day");(!We||Oe.isBefore(We))&&(We=Oe)}for(var Be=0;Be<6;Be++){De+="<tr>",this.showWeekNumbers?De+='<td class="week">'+W[Be][0].week()+"</td>":this.showISOWeekNumbers&&(De+='<td class="week">'+W[Be][0].isoWeek()+"</td>");for(var fe=0;fe<7;fe++){var ze=[];W[Be][fe].isSame(new Date,"day")&&ze.push("today"),W[Be][fe].isoWeekday()>5&&ze.push("weekend"),W[Be][fe].month()!=W[1][1].month()&&ze.push("off","ends"),this.minDate&&W[Be][fe].isBefore(this.minDate,"day")&&ze.push("off","disabled"),We&&W[Be][fe].isAfter(We,"day")&&ze.push("off","disabled"),this.isInvalidDate(W[Be][fe])&&ze.push("off","disabled"),W[Be][fe].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&ze.push("active","start-date"),this.endDate!=null&&W[Be][fe].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&ze.push("active","end-date"),this.endDate!=null&&W[Be][fe]>this.startDate&&W[Be][fe]<this.endDate&&ze.push("in-range");var et=this.isCustomDate(W[Be][fe]);et!==!1&&(typeof et=="string"?ze.push(et):Array.prototype.push.apply(ze,et));for(var tt="",Ve=!1,_e=0;_e<ze.length;_e++)tt+=ze[_e]+" ",ze[_e]=="disabled"&&(Ve=!0);Ve||(tt+="available"),De+='<td class="'+tt.replace(/^\s+|\s+$/g,"")+'" data-title="r'+Be+"c"+fe+'">'+W[Be][fe].date()+"</td>"}De+="</tr>"}De+="</tbody>",De+="</table>",this.container.find(".drp-calendar."+o+" .calendar-table").html(De)},renderTimePicker:function(o){if(!(o=="right"&&!this.endDate)){var p,x,P,_=this.maxDate;if(this.maxSpan&&(!this.maxDate||this.startDate.clone().add(this.maxSpan).isBefore(this.maxDate))&&(_=this.startDate.clone().add(this.maxSpan)),o=="left")x=this.startDate.clone(),P=this.minDate;else if(o=="right"){x=this.endDate.clone(),P=this.startDate;var M=this.container.find(".drp-calendar.right .calendar-time");if(M.html()!=""&&(x.hour(isNaN(x.hour())?M.find(".hourselect option:selected").val():x.hour()),x.minute(isNaN(x.minute())?M.find(".minuteselect option:selected").val():x.minute()),x.second(isNaN(x.second())?M.find(".secondselect option:selected").val():x.second()),!this.timePicker24Hour)){var X=M.find(".ampmselect option:selected").val();X==="PM"&&x.hour()<12&&x.hour(x.hour()+12),X==="AM"&&x.hour()===12&&x.hour(0)}x.isBefore(this.startDate)&&(x=this.startDate.clone()),_&&x.isAfter(_)&&(x=_.clone())}p='<select class="hourselect">';for(var z=this.timePicker24Hour?0:1,K=this.timePicker24Hour?23:12,be=z;be<=K;be++){var ue=be;this.timePicker24Hour||(ue=x.hour()>=12?be==12?12:be+12:be==12?0:be);var ce=x.clone().hour(ue),ee=!1;P&&ce.minute(59).isBefore(P)&&(ee=!0),_&&ce.minute(0).isAfter(_)&&(ee=!0),ue==x.hour()&&!ee?p+='<option value="'+be+'" selected="selected">'+be+"</option>":ee?p+='<option value="'+be+'" disabled="disabled" class="disabled">'+be+"</option>":p+='<option value="'+be+'">'+be+"</option>"}p+="</select> ",p+=': <select class="minuteselect">';for(var be=0;be<60;be+=this.timePickerIncrement){var W=be<10?"0"+be:be,ce=x.clone().minute(be),ee=!1;P&&ce.second(59).isBefore(P)&&(ee=!0),_&&ce.second(0).isAfter(_)&&(ee=!0),x.minute()==be&&!ee?p+='<option value="'+be+'" selected="selected">'+W+"</option>":ee?p+='<option value="'+be+'" disabled="disabled" class="disabled">'+W+"</option>":p+='<option value="'+be+'">'+W+"</option>"}if(p+="</select> ",this.timePickerSeconds){p+=': <select class="secondselect">';for(var be=0;be<60;be++){var W=be<10?"0"+be:be,ce=x.clone().second(be),ee=!1;P&&ce.isBefore(P)&&(ee=!0),_&&ce.isAfter(_)&&(ee=!0),x.second()==be&&!ee?p+='<option value="'+be+'" selected="selected">'+W+"</option>":ee?p+='<option value="'+be+'" disabled="disabled" class="disabled">'+W+"</option>":p+='<option value="'+be+'">'+W+"</option>"}p+="</select> "}if(!this.timePicker24Hour){p+='<select class="ampmselect">';var _e="",Ie="";P&&x.clone().hour(12).minute(0).second(0).isBefore(P)&&(_e=' disabled="disabled" class="disabled"'),_&&x.clone().hour(0).minute(0).second(0).isAfter(_)&&(Ie=' disabled="disabled" class="disabled"'),x.hour()>=12?p+='<option value="AM"'+_e+'>AM</option><option value="PM" selected="selected"'+Ie+">PM</option>":p+='<option value="AM" selected="selected"'+_e+'>AM</option><option value="PM"'+Ie+">PM</option>",p+="</select>"}this.container.find(".drp-calendar."+o+" .calendar-time").html(p)}},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 o={top:0,left:0},p,x=this.drops,P=r(window).width();switch(this.parentEl.is("body")||(o={top:this.parentEl.offset().top-this.parentEl.scrollTop(),left:this.parentEl.offset().left-this.parentEl.scrollLeft()},P=this.parentEl[0].clientWidth+this.parentEl.offset().left),x){case"auto":p=this.element.offset().top+this.element.outerHeight()-o.top,p+this.container.outerHeight()>=this.parentEl[0].scrollHeight&&(p=this.element.offset().top-this.container.outerHeight()-o.top,x="up");break;case"up":p=this.element.offset().top-this.container.outerHeight()-o.top;break;default:p=this.element.offset().top+this.element.outerHeight()-o.top;break}this.container.css({top:0,left:0,right:"auto"});var _=this.container.outerWidth();if(this.container.toggleClass("drop-up",x=="up"),this.opens=="left"){var M=P-this.element.offset().left-this.element.outerWidth();_+M>r(window).width()?this.container.css({top:p,right:"auto",left:9}):this.container.css({top:p,right:M,left:"auto"})}else if(this.opens=="center"){var X=this.element.offset().left-o.left+this.element.outerWidth()/2-_/2;X<0?this.container.css({top:p,right:"auto",left:9}):X+_>r(window).width()?this.container.css({top:p,left:"auto",right:0}):this.container.css({top:p,left:X,right:"auto"})}else{var X=this.element.offset().left-o.left;X+_>r(window).width()?this.container.css({top:p,left:"auto",right:0}):this.container.css({top:p,left:X,right:"auto"})}},show:function(o){this.isShowing||(this._outsideClickProxy=r.proxy(function(p){this.outsideClick(p)},this),r(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle=dropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),r(window).on("resize.daterangepicker",r.proxy(function(p){this.move(p)},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(o){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(),r(document).off(".daterangepicker"),r(window).off(".daterangepicker"),this.container.hide(),this.element.trigger("hide.daterangepicker",this),this.isShowing=!1)},toggle:function(o){this.isShowing?this.hide():this.show()},outsideClick:function(o){var p=r(o.target);o.type=="focusin"||p.closest(this.element).length||p.closest(this.container).length||p.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(o){var p=o.target.getAttribute("data-range-key");if(this.chosenLabel=p,p==this.locale.customRangeLabel)this.showCalendars();else{var x=this.ranges[p];this.startDate=x[0],this.endDate=x[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.alwaysShowCalendars||this.hideCalendars(),this.clickApply()}},clickPrev:function(o){var p=r(o.target).parents(".drp-calendar");p.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(o){var p=r(o.target).parents(".drp-calendar");p.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(o){if(r(o.target).hasClass("available")){var p=r(o.target).attr("data-title"),x=p.substr(1,1),P=p.substr(3,1),_=r(o.target).parents(".drp-calendar"),M=_.hasClass("left")?this.leftCalendar.calendar[x][P]:this.rightCalendar.calendar[x][P],X=this.leftCalendar,z=this.rightCalendar,K=this.startDate;this.endDate||this.container.find(".drp-calendar tbody td").each(function(be,ue){if(!r(ue).hasClass("week")){var ce=r(ue).attr("data-title"),ee=ce.substr(1,1),W=ce.substr(3,1),_e=r(ue).parents(".drp-calendar"),Ie=_e.hasClass("left")?X.calendar[ee][W]:z.calendar[ee][W];Ie.isAfter(K)&&Ie.isBefore(M)||Ie.isSame(M,"day")?r(ue).addClass("in-range"):r(ue).removeClass("in-range")}})}},clickDate:function(o){if(r(o.target).hasClass("available")){var p=r(o.target).attr("data-title"),x=p.substr(1,1),P=p.substr(3,1),_=r(o.target).parents(".drp-calendar"),M=_.hasClass("left")?this.leftCalendar.calendar[x][P]:this.rightCalendar.calendar[x][P];if(this.endDate||M.isBefore(this.startDate,"day")){if(this.timePicker){var X=parseInt(this.container.find(".left .hourselect").val(),10);if(!this.timePicker24Hour){var z=this.container.find(".left .ampmselect").val();z==="PM"&&X<12&&(X+=12),z==="AM"&&X===12&&(X=0)}var K=parseInt(this.container.find(".left .minuteselect").val(),10);isNaN(K)&&(K=parseInt(this.container.find(".left .minuteselect option:last").val(),10));var be=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0;M=M.clone().hour(X).minute(K).second(be)}this.endDate=null,this.setStartDate(M.clone())}else if(!this.endDate&&M.isBefore(this.startDate))this.setEndDate(this.startDate.clone());else{if(this.timePicker){var X=parseInt(this.container.find(".right .hourselect").val(),10);if(!this.timePicker24Hour){var z=this.container.find(".right .ampmselect").val();z==="PM"&&X<12&&(X+=12),z==="AM"&&X===12&&(X=0)}var K=parseInt(this.container.find(".right .minuteselect").val(),10);isNaN(K)&&(K=parseInt(this.container.find(".right .minuteselect option:last").val(),10));var be=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0;M=M.clone().hour(X).minute(K).second(be)}this.setEndDate(M.clone()),this.autoApply&&(this.calculateChosenLabel(),this.clickApply())}this.singleDatePicker&&(this.setEndDate(this.startDate),!this.timePicker&&this.autoApply&&this.clickApply()),this.updateView(),o.stopPropagation()}},calculateChosenLabel:function(){var o=!0,p=0;for(var x in this.ranges){if(this.timePicker){var P=this.timePickerSeconds?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD HH:mm";if(this.startDate.format(P)==this.ranges[x][0].format(P)&&this.endDate.format(P)==this.ranges[x][1].format(P)){o=!1,this.chosenLabel=this.container.find(".ranges li:eq("+p+")").addClass("active").attr("data-range-key");break}}else if(this.startDate.format("YYYY-MM-DD")==this.ranges[x][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[x][1].format("YYYY-MM-DD")){o=!1,this.chosenLabel=this.container.find(".ranges li:eq("+p+")").addClass("active").attr("data-range-key");break}p++}o&&(this.showCustomRangeLabel?this.chosenLabel=this.container.find(".ranges li:last").addClass("active").attr("data-range-key"):this.chosenLabel=null,this.showCalendars())},clickApply:function(o){this.hide(),this.element.trigger("apply.daterangepicker",this)},clickCancel:function(o){this.startDate=this.oldStartDate,this.endDate=this.oldEndDate,this.hide(),this.element.trigger("cancel.daterangepicker",this)},monthOrYearChanged:function(o){var p=r(o.target).closest(".drp-calendar").hasClass("left"),x=p?"left":"right",P=this.container.find(".drp-calendar."+x),_=parseInt(P.find(".monthselect").val(),10),M=P.find(".yearselect").val();p||(M<this.startDate.year()||M==this.startDate.year()&&_<this.startDate.month())&&(_=this.startDate.month(),M=this.startDate.year()),this.minDate&&(M<this.minDate.year()||M==this.minDate.year()&&_<this.minDate.month())&&(_=this.minDate.month(),M=this.minDate.year()),this.maxDate&&(M>this.maxDate.year()||M==this.maxDate.year()&&_>this.maxDate.month())&&(_=this.maxDate.month(),M=this.maxDate.year()),p?(this.leftCalendar.month.month(_).year(M),this.linkedCalendars&&(this.rightCalendar.month=this.leftCalendar.month.clone().add(1,"month"))):(this.rightCalendar.month.month(_).year(M),this.linkedCalendars&&(this.leftCalendar.month=this.rightCalendar.month.clone().subtract(1,"month"))),this.updateCalendars()},timeChanged:function(o){var p=r(o.target).closest(".drp-calendar"),x=p.hasClass("left"),P=parseInt(p.find(".hourselect").val(),10),_=parseInt(p.find(".minuteselect").val(),10);isNaN(_)&&(_=parseInt(p.find(".minuteselect option:last").val(),10));var M=this.timePickerSeconds?parseInt(p.find(".secondselect").val(),10):0;if(!this.timePicker24Hour){var X=p.find(".ampmselect").val();X==="PM"&&P<12&&(P+=12),X==="AM"&&P===12&&(P=0)}if(x){var z=this.startDate.clone();z.hour(P),z.minute(_),z.second(M),this.setStartDate(z),this.singleDatePicker?this.endDate=this.startDate.clone():this.endDate&&this.endDate.format("YYYY-MM-DD")==z.format("YYYY-MM-DD")&&this.endDate.isBefore(z)&&this.setEndDate(z.clone())}else if(this.endDate){var K=this.endDate.clone();K.hour(P),K.minute(_),K.second(M),this.setEndDate(K)}this.updateCalendars(),this.updateFormInputs(),this.renderTimePicker("left"),this.renderTimePicker("right")},elementChanged:function(){if(this.element.is("input")&&this.element.val().length){var o=this.element.val().split(this.locale.separator),p=null,x=null;o.length===2&&(p=t(o[0],this.locale.format),x=t(o[1],this.locale.format)),(this.singleDatePicker||p===null||x===null)&&(p=t(this.element.val(),this.locale.format),x=p),!(!p.isValid()||!x.isValid())&&(this.setStartDate(p),this.setEndDate(x),this.updateView())}},keydown:function(o){(o.keyCode===9||o.keyCode===13)&&this.hide(),o.keyCode===27&&(o.preventDefault(),o.stopPropagation(),this.hide())},updateElement:function(){if(this.element.is("input")&&this.autoUpdateInput){var o=this.startDate.format(this.locale.format);this.singleDatePicker||(o+=this.locale.separator+this.endDate.format(this.locale.format)),o!==this.element.val()&&this.element.val(o).trigger("change")}},remove:function(){this.container.remove(),this.element.off(".daterangepicker"),this.element.removeData()}},r.fn.daterangepicker=function(o,p){var x=r.extend(!0,{},r.fn.daterangepicker.defaultOptions,o);return this.each(function(){var P=r(this);P.data("daterangepicker")&&P.data("daterangepicker").remove(),P.data("daterangepicker",new u(P,x,p))}),this},u})})(gw);var Of=function(a,t){return Of=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,u){r.__proto__=u}||function(r,u){for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&(r[o]=u[o])},Of(a,t)};function vw(a,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Of(a,t);function r(){this.constructor=a}a.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var mw=function(a){vw(t,a);function t(r){var u=a.call(this,r)||this;return u.ref=null,u.$picker=null,u}return t.prototype.componentDidMount=function(){var r=this;this.$picker=pw(this.ref),this.$picker.daterangepicker(this.props.initialSettings,this.handleCallback.bind(this)),["Show","Hide","ShowCalendar","HideCalendar","Apply","Cancel"].forEach(function(u){var o,p=u.charAt(0).toLowerCase()+u.slice(1);(o=r.$picker)===null||o===void 0||o.on(p+".daterangepicker",r.makeEventHandler("on"+u))})},t.prototype.componentWillUnmount=function(){var r,u;(u=(r=this.$picker)===null||r===void 0?void 0:r.data("daterangepicker"))===null||u===void 0||u.remove()},t.prototype.handleCallback=function(){for(var r,u=[],o=0;o<arguments.length;o++)u[o]=arguments[o];typeof this.props.onCallback=="function"&&(r=this.props).onCallback.apply(r,u)},t.prototype.makeEventHandler=function(r){var u=this,o=this.props.onEvent;return function(p,x){typeof o=="function"&&o(p,x),typeof u.props[r]=="function"&&u.props[r](p,x)}},t.prototype.setStartDate=function(r){var u,o;(o=(u=this.$picker)===null||u===void 0?void 0:u.data("daterangepicker"))===null||o===void 0||o.setStartDate(r)},t.prototype.setEndDate=function(r){var u,o;(o=(u=this.$picker)===null||u===void 0?void 0:u.data("daterangepicker"))===null||o===void 0||o.setEndDate(r)},t.prototype.render=function(){var r=this,u=Wl.Children.only(this.props.children);return Wl.cloneElement(u,{ref:function(o){return r.ref=o}})},t}(Wl.Component);hc.styled(a=>sr.jsx(hc.Switch,{focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,...a}))(({theme:a})=>({width:42,height:26,padding:0,"&.MuiSwitch-root":{margin:0,marginRight:8},"& .MuiSwitch-switchBase":{padding:0,margin:2,transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(16px)",color:"#fff","& + .MuiSwitch-track":{backgroundColor:$l.color.primary300,opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid #fff"},"&.Mui-disabled .MuiSwitch-thumb":{color:a.palette.grey[100]},"&.Mui-disabled + .MuiSwitch-track":{opacity:.7}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:22,height:22},"& .MuiSwitch-track":{borderRadius:26/2,backgroundColor:"#E9E9EA",opacity:1}}));/**
|
|
174
|
-
* @license
|
|
175
|
-
* Copyright 2017 Google LLC
|
|
176
|
-
*
|
|
177
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
178
|
-
* you may not use this file except in compliance with the License.
|
|
179
|
-
* You may obtain a copy of the License at
|
|
180
|
-
*
|
|
181
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
182
|
-
*
|
|
183
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
184
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
185
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
186
|
-
* See the License for the specific language governing permissions and
|
|
187
|
-
* limitations under the License.
|
|
188
|
-
*//**
|
|
189
|
-
* @license
|
|
190
|
-
* Copyright 2017 Google LLC
|
|
191
|
-
*
|
|
192
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
-
* you may not use this file except in compliance with the License.
|
|
194
|
-
* You may obtain a copy of the License at
|
|
195
|
-
*
|
|
196
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
-
*
|
|
198
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
199
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
-
* See the License for the specific language governing permissions and
|
|
202
|
-
* limitations under the License.
|
|
203
|
-
*/const Cp=function(a){const t=[];let r=0;for(let u=0;u<a.length;u++){let o=a.charCodeAt(u);o<128?t[r++]=o:o<2048?(t[r++]=o>>6|192,t[r++]=o&63|128):(o&64512)===55296&&u+1<a.length&&(a.charCodeAt(u+1)&64512)===56320?(o=65536+((o&1023)<<10)+(a.charCodeAt(++u)&1023),t[r++]=o>>18|240,t[r++]=o>>12&63|128,t[r++]=o>>6&63|128,t[r++]=o&63|128):(t[r++]=o>>12|224,t[r++]=o>>6&63|128,t[r++]=o&63|128)}return t},yw=function(a){const t=[];let r=0,u=0;for(;r<a.length;){const o=a[r++];if(o<128)t[u++]=String.fromCharCode(o);else if(o>191&&o<224){const p=a[r++];t[u++]=String.fromCharCode((o&31)<<6|p&63)}else if(o>239&&o<365){const p=a[r++],x=a[r++],P=a[r++],_=((o&7)<<18|(p&63)<<12|(x&63)<<6|P&63)-65536;t[u++]=String.fromCharCode(55296+(_>>10)),t[u++]=String.fromCharCode(56320+(_&1023))}else{const p=a[r++],x=a[r++];t[u++]=String.fromCharCode((o&15)<<12|(p&63)<<6|x&63)}}return t.join("")},kp={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:typeof atob=="function",encodeByteArray(a,t){if(!Array.isArray(a))throw Error("encodeByteArray takes an array as a parameter");this.init_();const r=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,u=[];for(let o=0;o<a.length;o+=3){const p=a[o],x=o+1<a.length,P=x?a[o+1]:0,_=o+2<a.length,M=_?a[o+2]:0,X=p>>2,z=(p&3)<<4|P>>4;let K=(P&15)<<2|M>>6,be=M&63;_||(be=64,x||(K=64)),u.push(r[X],r[z],r[K],r[be])}return u.join("")},encodeString(a,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(a):this.encodeByteArray(Cp(a),t)},decodeString(a,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(a):yw(this.decodeStringToByteArray(a,t))},decodeStringToByteArray(a,t){this.init_();const r=t?this.charToByteMapWebSafe_:this.charToByteMap_,u=[];for(let o=0;o<a.length;){const p=r[a.charAt(o++)],P=o<a.length?r[a.charAt(o)]:0;++o;const M=o<a.length?r[a.charAt(o)]:64;++o;const z=o<a.length?r[a.charAt(o)]:64;if(++o,p==null||P==null||M==null||z==null)throw new bw;const K=p<<2|P>>4;if(u.push(K),M!==64){const be=P<<4&240|M>>2;if(u.push(be),z!==64){const ue=M<<6&192|z;u.push(ue)}}}return u},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let a=0;a<this.ENCODED_VALS.length;a++)this.byteToCharMap_[a]=this.ENCODED_VALS.charAt(a),this.charToByteMap_[this.byteToCharMap_[a]]=a,this.byteToCharMapWebSafe_[a]=this.ENCODED_VALS_WEBSAFE.charAt(a),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[a]]=a,a>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(a)]=a,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(a)]=a)}}};class bw extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const Sw=function(a){const t=Cp(a);return kp.encodeByteArray(t,!0)},Ep=function(a){return Sw(a).replace(/\./g,"")},ww=function(a){try{return kp.decodeString(a,!0)}catch(t){console.error("base64Decode failed: ",t)}return null};/**
|
|
204
|
-
* @license
|
|
205
|
-
* Copyright 2022 Google LLC
|
|
206
|
-
*
|
|
207
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
208
|
-
* you may not use this file except in compliance with the License.
|
|
209
|
-
* You may obtain a copy of the License at
|
|
210
|
-
*
|
|
211
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
212
|
-
*
|
|
213
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
214
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
215
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
216
|
-
* See the License for the specific language governing permissions and
|
|
217
|
-
* limitations under the License.
|
|
218
|
-
*/function xw(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}/**
|
|
219
|
-
* @license
|
|
220
|
-
* Copyright 2022 Google LLC
|
|
221
|
-
*
|
|
222
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
223
|
-
* you may not use this file except in compliance with the License.
|
|
224
|
-
* You may obtain a copy of the License at
|
|
225
|
-
*
|
|
226
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
227
|
-
*
|
|
228
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
229
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
230
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
231
|
-
* See the License for the specific language governing permissions and
|
|
232
|
-
* limitations under the License.
|
|
233
|
-
*/const Cw=()=>xw().__FIREBASE_DEFAULTS__,kw=()=>{if(typeof process>"u"||typeof process.env>"u")return;const a=process.env.__FIREBASE_DEFAULTS__;if(a)return JSON.parse(a)},Ew=()=>{if(typeof document>"u")return;let a;try{a=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const t=a&&ww(a[1]);return t&&JSON.parse(t)},Tw=()=>{try{return Cw()||kw()||Ew()}catch(a){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${a}`);return}},Tp=()=>{var a;return(a=Tw())===null||a===void 0?void 0:a.config};/**
|
|
234
|
-
* @license
|
|
235
|
-
* Copyright 2017 Google LLC
|
|
236
|
-
*
|
|
237
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
238
|
-
* you may not use this file except in compliance with the License.
|
|
239
|
-
* You may obtain a copy of the License at
|
|
240
|
-
*
|
|
241
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
242
|
-
*
|
|
243
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
244
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
245
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
246
|
-
* See the License for the specific language governing permissions and
|
|
247
|
-
* limitations under the License.
|
|
248
|
-
*/class Iw{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((t,r)=>{this.resolve=t,this.reject=r})}wrapCallback(t){return(r,u)=>{r?this.reject(r):this.resolve(u),typeof t=="function"&&(this.promise.catch(()=>{}),t.length===1?t(r):t(r,u))}}}function Ip(){try{return typeof indexedDB=="object"}catch{return!1}}function _p(){return new Promise((a,t)=>{try{let r=!0;const u="validate-browser-context-for-indexeddb-analytics-module",o=self.indexedDB.open(u);o.onsuccess=()=>{o.result.close(),r||self.indexedDB.deleteDatabase(u),a(!0)},o.onupgradeneeded=()=>{r=!1},o.onerror=()=>{var p;t(((p=o.error)===null||p===void 0?void 0:p.message)||"")}}catch(r){t(r)}})}function _w(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}/**
|
|
249
|
-
* @license
|
|
250
|
-
* Copyright 2017 Google LLC
|
|
251
|
-
*
|
|
252
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
253
|
-
* you may not use this file except in compliance with the License.
|
|
254
|
-
* You may obtain a copy of the License at
|
|
255
|
-
*
|
|
256
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
257
|
-
*
|
|
258
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
259
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
260
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
261
|
-
* See the License for the specific language governing permissions and
|
|
262
|
-
* limitations under the License.
|
|
263
|
-
*/const Rw="FirebaseError";class ku extends Error{constructor(t,r,u){super(r),this.code=t,this.customData=u,this.name=Rw,Object.setPrototypeOf(this,ku.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,Ec.prototype.create)}}class Ec{constructor(t,r,u){this.service=t,this.serviceName=r,this.errors=u}create(t,...r){const u=r[0]||{},o=`${this.service}/${t}`,p=this.errors[t],x=p?Dw(p,u):"Error",P=`${this.serviceName}: ${x} (${o}).`;return new ku(o,P,u)}}function Dw(a,t){return a.replace(Aw,(r,u)=>{const o=t[u];return o!=null?String(o):`<${u}?>`})}const Aw=/\{\$([^}]+)}/g;function Mf(a,t){if(a===t)return!0;const r=Object.keys(a),u=Object.keys(t);for(const o of r){if(!u.includes(o))return!1;const p=a[o],x=t[o];if(Bh(p)&&Bh(x)){if(!Mf(p,x))return!1}else if(p!==x)return!1}for(const o of u)if(!r.includes(o))return!1;return!0}function Bh(a){return a!==null&&typeof a=="object"}/**
|
|
264
|
-
* @license
|
|
265
|
-
* Copyright 2021 Google LLC
|
|
266
|
-
*
|
|
267
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
268
|
-
* you may not use this file except in compliance with the License.
|
|
269
|
-
* You may obtain a copy of the License at
|
|
270
|
-
*
|
|
271
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
272
|
-
*
|
|
273
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
274
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
275
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
276
|
-
* See the License for the specific language governing permissions and
|
|
277
|
-
* limitations under the License.
|
|
278
|
-
*/function Yf(a){return a&&a._delegate?a._delegate:a}class rl{constructor(t,r,u){this.name=t,this.instanceFactory=r,this.type=u,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(t){return this.instantiationMode=t,this}setMultipleInstances(t){return this.multipleInstances=t,this}setServiceProps(t){return this.serviceProps=t,this}setInstanceCreatedCallback(t){return this.onInstanceCreated=t,this}}/**
|
|
279
|
-
* @license
|
|
280
|
-
* Copyright 2019 Google LLC
|
|
281
|
-
*
|
|
282
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
283
|
-
* you may not use this file except in compliance with the License.
|
|
284
|
-
* You may obtain a copy of the License at
|
|
285
|
-
*
|
|
286
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
287
|
-
*
|
|
288
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
289
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
290
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
291
|
-
* See the License for the specific language governing permissions and
|
|
292
|
-
* limitations under the License.
|
|
293
|
-
*/const Ul="[DEFAULT]";/**
|
|
294
|
-
* @license
|
|
295
|
-
* Copyright 2019 Google LLC
|
|
296
|
-
*
|
|
297
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
298
|
-
* you may not use this file except in compliance with the License.
|
|
299
|
-
* You may obtain a copy of the License at
|
|
300
|
-
*
|
|
301
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
302
|
-
*
|
|
303
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
304
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
305
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
306
|
-
* See the License for the specific language governing permissions and
|
|
307
|
-
* limitations under the License.
|
|
308
|
-
*/class Pw{constructor(t,r){this.name=t,this.container=r,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(t){const r=this.normalizeInstanceIdentifier(t);if(!this.instancesDeferred.has(r)){const u=new Iw;if(this.instancesDeferred.set(r,u),this.isInitialized(r)||this.shouldAutoInitialize())try{const o=this.getOrInitializeService({instanceIdentifier:r});o&&u.resolve(o)}catch{}}return this.instancesDeferred.get(r).promise}getImmediate(t){var r;const u=this.normalizeInstanceIdentifier(t==null?void 0:t.identifier),o=(r=t==null?void 0:t.optional)!==null&&r!==void 0?r:!1;if(this.isInitialized(u)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:u})}catch(p){if(o)return null;throw p}else{if(o)return null;throw Error(`Service ${this.name} is not available`)}}getComponent(){return this.component}setComponent(t){if(t.name!==this.name)throw Error(`Mismatching Component ${t.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=t,!!this.shouldAutoInitialize()){if(Mw(t))try{this.getOrInitializeService({instanceIdentifier:Ul})}catch{}for(const[r,u]of this.instancesDeferred.entries()){const o=this.normalizeInstanceIdentifier(r);try{const p=this.getOrInitializeService({instanceIdentifier:o});u.resolve(p)}catch{}}}}clearInstance(t=Ul){this.instancesDeferred.delete(t),this.instancesOptions.delete(t),this.instances.delete(t)}async delete(){const t=Array.from(this.instances.values());await Promise.all([...t.filter(r=>"INTERNAL"in r).map(r=>r.INTERNAL.delete()),...t.filter(r=>"_delete"in r).map(r=>r._delete())])}isComponentSet(){return this.component!=null}isInitialized(t=Ul){return this.instances.has(t)}getOptions(t=Ul){return this.instancesOptions.get(t)||{}}initialize(t={}){const{options:r={}}=t,u=this.normalizeInstanceIdentifier(t.instanceIdentifier);if(this.isInitialized(u))throw Error(`${this.name}(${u}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const o=this.getOrInitializeService({instanceIdentifier:u,options:r});for(const[p,x]of this.instancesDeferred.entries()){const P=this.normalizeInstanceIdentifier(p);u===P&&x.resolve(o)}return o}onInit(t,r){var u;const o=this.normalizeInstanceIdentifier(r),p=(u=this.onInitCallbacks.get(o))!==null&&u!==void 0?u:new Set;p.add(t),this.onInitCallbacks.set(o,p);const x=this.instances.get(o);return x&&t(x,o),()=>{p.delete(t)}}invokeOnInitCallbacks(t,r){const u=this.onInitCallbacks.get(r);if(u)for(const o of u)try{o(t,r)}catch{}}getOrInitializeService({instanceIdentifier:t,options:r={}}){let u=this.instances.get(t);if(!u&&this.component&&(u=this.component.instanceFactory(this.container,{instanceIdentifier:Ow(t),options:r}),this.instances.set(t,u),this.instancesOptions.set(t,r),this.invokeOnInitCallbacks(u,t),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,t,u)}catch{}return u||null}normalizeInstanceIdentifier(t=Ul){return this.component?this.component.multipleInstances?t:Ul:t}shouldAutoInitialize(){return!!this.component&&this.component.instantiationMode!=="EXPLICIT"}}function Ow(a){return a===Ul?void 0:a}function Mw(a){return a.instantiationMode==="EAGER"}/**
|
|
309
|
-
* @license
|
|
310
|
-
* Copyright 2019 Google LLC
|
|
311
|
-
*
|
|
312
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
313
|
-
* you may not use this file except in compliance with the License.
|
|
314
|
-
* You may obtain a copy of the License at
|
|
315
|
-
*
|
|
316
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
317
|
-
*
|
|
318
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
319
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
320
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
321
|
-
* See the License for the specific language governing permissions and
|
|
322
|
-
* limitations under the License.
|
|
323
|
-
*/class Fw{constructor(t){this.name=t,this.providers=new Map}addComponent(t){const r=this.getProvider(t.name);if(r.isComponentSet())throw new Error(`Component ${t.name} has already been registered with ${this.name}`);r.setComponent(t)}addOrOverwriteComponent(t){this.getProvider(t.name).isComponentSet()&&this.providers.delete(t.name),this.addComponent(t)}getProvider(t){if(this.providers.has(t))return this.providers.get(t);const r=new Pw(t,this);return this.providers.set(t,r),r}getProviders(){return Array.from(this.providers.values())}}/**
|
|
324
|
-
* @license
|
|
325
|
-
* Copyright 2017 Google LLC
|
|
326
|
-
*
|
|
327
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
328
|
-
* you may not use this file except in compliance with the License.
|
|
329
|
-
* You may obtain a copy of the License at
|
|
330
|
-
*
|
|
331
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
332
|
-
*
|
|
333
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
334
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
335
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
336
|
-
* See the License for the specific language governing permissions and
|
|
337
|
-
* limitations under the License.
|
|
338
|
-
*/var On;(function(a){a[a.DEBUG=0]="DEBUG",a[a.VERBOSE=1]="VERBOSE",a[a.INFO=2]="INFO",a[a.WARN=3]="WARN",a[a.ERROR=4]="ERROR",a[a.SILENT=5]="SILENT"})(On||(On={}));const Lw={debug:On.DEBUG,verbose:On.VERBOSE,info:On.INFO,warn:On.WARN,error:On.ERROR,silent:On.SILENT},Nw=On.INFO,Bw={[On.DEBUG]:"log",[On.VERBOSE]:"log",[On.INFO]:"info",[On.WARN]:"warn",[On.ERROR]:"error"},jw=(a,t,...r)=>{if(t<a.logLevel)return;const u=new Date().toISOString(),o=Bw[t];if(o)console[o](`[${u}] ${a.name}:`,...r);else throw new Error(`Attempted to log a message with an invalid logType (value: ${t})`)};class Hw{constructor(t){this.name=t,this._logLevel=Nw,this._logHandler=jw,this._userLogHandler=null}get logLevel(){return this._logLevel}set logLevel(t){if(!(t in On))throw new TypeError(`Invalid value "${t}" assigned to \`logLevel\``);this._logLevel=t}setLogLevel(t){this._logLevel=typeof t=="string"?Lw[t]:t}get logHandler(){return this._logHandler}set logHandler(t){if(typeof t!="function")throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=t}get userLogHandler(){return this._userLogHandler}set userLogHandler(t){this._userLogHandler=t}debug(...t){this._userLogHandler&&this._userLogHandler(this,On.DEBUG,...t),this._logHandler(this,On.DEBUG,...t)}log(...t){this._userLogHandler&&this._userLogHandler(this,On.VERBOSE,...t),this._logHandler(this,On.VERBOSE,...t)}info(...t){this._userLogHandler&&this._userLogHandler(this,On.INFO,...t),this._logHandler(this,On.INFO,...t)}warn(...t){this._userLogHandler&&this._userLogHandler(this,On.WARN,...t),this._logHandler(this,On.WARN,...t)}error(...t){this._userLogHandler&&this._userLogHandler(this,On.ERROR,...t),this._logHandler(this,On.ERROR,...t)}}const Uw=(a,t)=>t.some(r=>a instanceof r);let jh,Hh;function Ww(){return jh||(jh=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function zw(){return Hh||(Hh=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const Rp=new WeakMap,Ff=new WeakMap,Dp=new WeakMap,pf=new WeakMap,Gf=new WeakMap;function $w(a){const t=new Promise((r,u)=>{const o=()=>{a.removeEventListener("success",p),a.removeEventListener("error",x)},p=()=>{r(Es(a.result)),o()},x=()=>{u(a.error),o()};a.addEventListener("success",p),a.addEventListener("error",x)});return t.then(r=>{r instanceof IDBCursor&&Rp.set(r,a)}).catch(()=>{}),Gf.set(t,a),t}function Vw(a){if(Ff.has(a))return;const t=new Promise((r,u)=>{const o=()=>{a.removeEventListener("complete",p),a.removeEventListener("error",x),a.removeEventListener("abort",x)},p=()=>{r(),o()},x=()=>{u(a.error||new DOMException("AbortError","AbortError")),o()};a.addEventListener("complete",p),a.addEventListener("error",x),a.addEventListener("abort",x)});Ff.set(a,t)}let Lf={get(a,t,r){if(a instanceof IDBTransaction){if(t==="done")return Ff.get(a);if(t==="objectStoreNames")return a.objectStoreNames||Dp.get(a);if(t==="store")return r.objectStoreNames[1]?void 0:r.objectStore(r.objectStoreNames[0])}return Es(a[t])},set(a,t,r){return a[t]=r,!0},has(a,t){return a instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in a}};function Yw(a){Lf=a(Lf)}function Gw(a){return a===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...r){const u=a.call(gf(this),t,...r);return Dp.set(u,t.sort?t.sort():[t]),Es(u)}:zw().includes(a)?function(...t){return a.apply(gf(this),t),Es(Rp.get(this))}:function(...t){return Es(a.apply(gf(this),t))}}function qw(a){return typeof a=="function"?Gw(a):(a instanceof IDBTransaction&&Vw(a),Uw(a,Ww())?new Proxy(a,Lf):a)}function Es(a){if(a instanceof IDBRequest)return $w(a);if(pf.has(a))return pf.get(a);const t=qw(a);return t!==a&&(pf.set(a,t),Gf.set(t,a)),t}const gf=a=>Gf.get(a);function Tc(a,t,{blocked:r,upgrade:u,blocking:o,terminated:p}={}){const x=indexedDB.open(a,t),P=Es(x);return u&&x.addEventListener("upgradeneeded",_=>{u(Es(x.result),_.oldVersion,_.newVersion,Es(x.transaction),_)}),r&&x.addEventListener("blocked",_=>r(_.oldVersion,_.newVersion,_)),P.then(_=>{p&&_.addEventListener("close",()=>p()),o&&_.addEventListener("versionchange",M=>o(M.oldVersion,M.newVersion,M))}).catch(()=>{}),P}function vf(a,{blocked:t}={}){const r=indexedDB.deleteDatabase(a);return t&&r.addEventListener("blocked",u=>t(u.oldVersion,u)),Es(r).then(()=>{})}const Xw=["get","getKey","getAll","getAllKeys","count"],Kw=["put","add","delete","clear"],mf=new Map;function Uh(a,t){if(!(a instanceof IDBDatabase&&!(t in a)&&typeof t=="string"))return;if(mf.get(t))return mf.get(t);const r=t.replace(/FromIndex$/,""),u=t!==r,o=Kw.includes(r);if(!(r in(u?IDBIndex:IDBObjectStore).prototype)||!(o||Xw.includes(r)))return;const p=async function(x,...P){const _=this.transaction(x,o?"readwrite":"readonly");let M=_.store;return u&&(M=M.index(P.shift())),(await Promise.all([M[r](...P),o&&_.done]))[0]};return mf.set(t,p),p}Yw(a=>({...a,get:(t,r,u)=>Uh(t,r)||a.get(t,r,u),has:(t,r)=>!!Uh(t,r)||a.has(t,r)}));/**
|
|
339
|
-
* @license
|
|
340
|
-
* Copyright 2019 Google LLC
|
|
341
|
-
*
|
|
342
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
343
|
-
* you may not use this file except in compliance with the License.
|
|
344
|
-
* You may obtain a copy of the License at
|
|
345
|
-
*
|
|
346
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
347
|
-
*
|
|
348
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
349
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
350
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
351
|
-
* See the License for the specific language governing permissions and
|
|
352
|
-
* limitations under the License.
|
|
353
|
-
*/class Zw{constructor(t){this.container=t}getPlatformInfoString(){return this.container.getProviders().map(r=>{if(Jw(r)){const u=r.getImmediate();return`${u.library}/${u.version}`}else return null}).filter(r=>r).join(" ")}}function Jw(a){const t=a.getComponent();return(t==null?void 0:t.type)==="VERSION"}const Nf="@firebase/app",Wh="0.9.28";/**
|
|
354
|
-
* @license
|
|
355
|
-
* Copyright 2019 Google LLC
|
|
356
|
-
*
|
|
357
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
358
|
-
* you may not use this file except in compliance with the License.
|
|
359
|
-
* You may obtain a copy of the License at
|
|
360
|
-
*
|
|
361
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
362
|
-
*
|
|
363
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
364
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
365
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
366
|
-
* See the License for the specific language governing permissions and
|
|
367
|
-
* limitations under the License.
|
|
368
|
-
*/const Gl=new Hw("@firebase/app"),Qw="@firebase/app-compat",ex="@firebase/analytics-compat",tx="@firebase/analytics",nx="@firebase/app-check-compat",rx="@firebase/app-check",ix="@firebase/auth",ax="@firebase/auth-compat",ox="@firebase/database",sx="@firebase/database-compat",lx="@firebase/functions",ux="@firebase/functions-compat",cx="@firebase/installations",fx="@firebase/installations-compat",dx="@firebase/messaging",hx="@firebase/messaging-compat",px="@firebase/performance",gx="@firebase/performance-compat",vx="@firebase/remote-config",mx="@firebase/remote-config-compat",yx="@firebase/storage",bx="@firebase/storage-compat",Sx="@firebase/firestore",wx="@firebase/firestore-compat",xx="firebase";/**
|
|
369
|
-
* @license
|
|
370
|
-
* Copyright 2019 Google LLC
|
|
371
|
-
*
|
|
372
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
373
|
-
* you may not use this file except in compliance with the License.
|
|
374
|
-
* You may obtain a copy of the License at
|
|
375
|
-
*
|
|
376
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
377
|
-
*
|
|
378
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
379
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
380
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
381
|
-
* See the License for the specific language governing permissions and
|
|
382
|
-
* limitations under the License.
|
|
383
|
-
*/const Bf="[DEFAULT]",Cx={[Nf]:"fire-core",[Qw]:"fire-core-compat",[tx]:"fire-analytics",[ex]:"fire-analytics-compat",[rx]:"fire-app-check",[nx]:"fire-app-check-compat",[ix]:"fire-auth",[ax]:"fire-auth-compat",[ox]:"fire-rtdb",[sx]:"fire-rtdb-compat",[lx]:"fire-fn",[ux]:"fire-fn-compat",[cx]:"fire-iid",[fx]:"fire-iid-compat",[dx]:"fire-fcm",[hx]:"fire-fcm-compat",[px]:"fire-perf",[gx]:"fire-perf-compat",[vx]:"fire-rc",[mx]:"fire-rc-compat",[yx]:"fire-gcs",[bx]:"fire-gcs-compat",[Sx]:"fire-fst",[wx]:"fire-fst-compat","fire-js":"fire-js",[xx]:"fire-js-all"};/**
|
|
384
|
-
* @license
|
|
385
|
-
* Copyright 2019 Google LLC
|
|
386
|
-
*
|
|
387
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
388
|
-
* you may not use this file except in compliance with the License.
|
|
389
|
-
* You may obtain a copy of the License at
|
|
390
|
-
*
|
|
391
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
392
|
-
*
|
|
393
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
394
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
395
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
396
|
-
* See the License for the specific language governing permissions and
|
|
397
|
-
* limitations under the License.
|
|
398
|
-
*/const bc=new Map,jf=new Map;function kx(a,t){try{a.container.addComponent(t)}catch(r){Gl.debug(`Component ${t.name} failed to register with FirebaseApp ${a.name}`,r)}}function ql(a){const t=a.name;if(jf.has(t))return Gl.debug(`There were multiple attempts to register component ${t}.`),!1;jf.set(t,a);for(const r of bc.values())kx(r,a);return!0}function qf(a,t){const r=a.container.getProvider("heartbeat").getImmediate({optional:!0});return r&&r.triggerHeartbeat(),a.container.getProvider(t)}/**
|
|
399
|
-
* @license
|
|
400
|
-
* Copyright 2019 Google LLC
|
|
401
|
-
*
|
|
402
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
403
|
-
* you may not use this file except in compliance with the License.
|
|
404
|
-
* You may obtain a copy of the License at
|
|
405
|
-
*
|
|
406
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
407
|
-
*
|
|
408
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
409
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
410
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
411
|
-
* See the License for the specific language governing permissions and
|
|
412
|
-
* limitations under the License.
|
|
413
|
-
*/const Ex={"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."},tl=new Ec("app","Firebase",Ex);/**
|
|
414
|
-
* @license
|
|
415
|
-
* Copyright 2019 Google LLC
|
|
416
|
-
*
|
|
417
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
418
|
-
* you may not use this file except in compliance with the License.
|
|
419
|
-
* You may obtain a copy of the License at
|
|
420
|
-
*
|
|
421
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
422
|
-
*
|
|
423
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
424
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
425
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
426
|
-
* See the License for the specific language governing permissions and
|
|
427
|
-
* limitations under the License.
|
|
428
|
-
*/class Tx{constructor(t,r,u){this._isDeleted=!1,this._options=Object.assign({},t),this._config=Object.assign({},r),this._name=r.name,this._automaticDataCollectionEnabled=r.automaticDataCollectionEnabled,this._container=u,this.container.addComponent(new rl("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(t){this.checkDestroyed(),this._automaticDataCollectionEnabled=t}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(t){this._isDeleted=t}checkDestroyed(){if(this.isDeleted)throw tl.create("app-deleted",{appName:this._name})}}function Xf(a,t={}){let r=a;typeof t!="object"&&(t={name:t});const u=Object.assign({name:Bf,automaticDataCollectionEnabled:!1},t),o=u.name;if(typeof o!="string"||!o)throw tl.create("bad-app-name",{appName:String(o)});if(r||(r=Tp()),!r)throw tl.create("no-options");const p=bc.get(o);if(p){if(Mf(r,p.options)&&Mf(u,p.config))return p;throw tl.create("duplicate-app",{appName:o})}const x=new Fw(o);for(const _ of jf.values())x.addComponent(_);const P=new Tx(r,u,x);return bc.set(o,P),P}function Ix(a=Bf){const t=bc.get(a);if(!t&&a===Bf&&Tp())return Xf();if(!t)throw tl.create("no-app",{appName:a});return t}function nl(a,t,r){var u;let o=(u=Cx[a])!==null&&u!==void 0?u:a;r&&(o+=`-${r}`);const p=o.match(/\s|\//),x=t.match(/\s|\//);if(p||x){const P=[`Unable to register library "${o}" with version "${t}":`];p&&P.push(`library name "${o}" contains illegal characters (whitespace or "/")`),p&&x&&P.push("and"),x&&P.push(`version name "${t}" contains illegal characters (whitespace or "/")`),Gl.warn(P.join(" "));return}ql(new rl(`${o}-version`,()=>({library:o,version:t}),"VERSION"))}/**
|
|
429
|
-
* @license
|
|
430
|
-
* Copyright 2021 Google LLC
|
|
431
|
-
*
|
|
432
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
433
|
-
* you may not use this file except in compliance with the License.
|
|
434
|
-
* You may obtain a copy of the License at
|
|
435
|
-
*
|
|
436
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
437
|
-
*
|
|
438
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
439
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
440
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
441
|
-
* See the License for the specific language governing permissions and
|
|
442
|
-
* limitations under the License.
|
|
443
|
-
*/const _x="firebase-heartbeat-database",Rx=1,Yu="firebase-heartbeat-store";let yf=null;function Ap(){return yf||(yf=Tc(_x,Rx,{upgrade:(a,t)=>{switch(t){case 0:try{a.createObjectStore(Yu)}catch(r){console.warn(r)}}}}).catch(a=>{throw tl.create("idb-open",{originalErrorMessage:a.message})})),yf}async function Dx(a){try{const r=(await Ap()).transaction(Yu),u=await r.objectStore(Yu).get(Pp(a));return await r.done,u}catch(t){if(t instanceof ku)Gl.warn(t.message);else{const r=tl.create("idb-get",{originalErrorMessage:t==null?void 0:t.message});Gl.warn(r.message)}}}async function zh(a,t){try{const u=(await Ap()).transaction(Yu,"readwrite");await u.objectStore(Yu).put(t,Pp(a)),await u.done}catch(r){if(r instanceof ku)Gl.warn(r.message);else{const u=tl.create("idb-set",{originalErrorMessage:r==null?void 0:r.message});Gl.warn(u.message)}}}function Pp(a){return`${a.name}!${a.options.appId}`}/**
|
|
444
|
-
* @license
|
|
445
|
-
* Copyright 2021 Google LLC
|
|
446
|
-
*
|
|
447
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
448
|
-
* you may not use this file except in compliance with the License.
|
|
449
|
-
* You may obtain a copy of the License at
|
|
450
|
-
*
|
|
451
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
452
|
-
*
|
|
453
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
454
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
455
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
456
|
-
* See the License for the specific language governing permissions and
|
|
457
|
-
* limitations under the License.
|
|
458
|
-
*/const Ax=1024,Px=30*24*60*60*1e3;class Ox{constructor(t){this.container=t,this._heartbeatsCache=null;const r=this.container.getProvider("app").getImmediate();this._storage=new Fx(r),this._heartbeatsCachePromise=this._storage.read().then(u=>(this._heartbeatsCache=u,u))}async triggerHeartbeat(){var t,r;const o=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),p=$h();if(!(((t=this._heartbeatsCache)===null||t===void 0?void 0:t.heartbeats)==null&&(this._heartbeatsCache=await this._heartbeatsCachePromise,((r=this._heartbeatsCache)===null||r===void 0?void 0:r.heartbeats)==null))&&!(this._heartbeatsCache.lastSentHeartbeatDate===p||this._heartbeatsCache.heartbeats.some(x=>x.date===p)))return this._heartbeatsCache.heartbeats.push({date:p,agent:o}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter(x=>{const P=new Date(x.date).valueOf();return Date.now()-P<=Px}),this._storage.overwrite(this._heartbeatsCache)}async getHeartbeatsHeader(){var t;if(this._heartbeatsCache===null&&await this._heartbeatsCachePromise,((t=this._heartbeatsCache)===null||t===void 0?void 0:t.heartbeats)==null||this._heartbeatsCache.heartbeats.length===0)return"";const r=$h(),{heartbeatsToSend:u,unsentEntries:o}=Mx(this._heartbeatsCache.heartbeats),p=Ep(JSON.stringify({version:2,heartbeats:u}));return this._heartbeatsCache.lastSentHeartbeatDate=r,o.length>0?(this._heartbeatsCache.heartbeats=o,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),p}}function $h(){return new Date().toISOString().substring(0,10)}function Mx(a,t=Ax){const r=[];let u=a.slice();for(const o of a){const p=r.find(x=>x.agent===o.agent);if(p){if(p.dates.push(o.date),Vh(r)>t){p.dates.pop();break}}else if(r.push({agent:o.agent,dates:[o.date]}),Vh(r)>t){r.pop();break}u=u.slice(1)}return{heartbeatsToSend:r,unsentEntries:u}}class Fx{constructor(t){this.app=t,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return Ip()?_p().then(()=>!0).catch(()=>!1):!1}async read(){if(await this._canUseIndexedDBPromise){const r=await Dx(this.app);return r!=null&&r.heartbeats?r:{heartbeats:[]}}else return{heartbeats:[]}}async overwrite(t){var r;if(await this._canUseIndexedDBPromise){const o=await this.read();return zh(this.app,{lastSentHeartbeatDate:(r=t.lastSentHeartbeatDate)!==null&&r!==void 0?r:o.lastSentHeartbeatDate,heartbeats:t.heartbeats})}else return}async add(t){var r;if(await this._canUseIndexedDBPromise){const o=await this.read();return zh(this.app,{lastSentHeartbeatDate:(r=t.lastSentHeartbeatDate)!==null&&r!==void 0?r:o.lastSentHeartbeatDate,heartbeats:[...o.heartbeats,...t.heartbeats]})}else return}}function Vh(a){return Ep(JSON.stringify({version:2,heartbeats:a})).length}/**
|
|
459
|
-
* @license
|
|
460
|
-
* Copyright 2019 Google LLC
|
|
461
|
-
*
|
|
462
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
463
|
-
* you may not use this file except in compliance with the License.
|
|
464
|
-
* You may obtain a copy of the License at
|
|
465
|
-
*
|
|
466
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
467
|
-
*
|
|
468
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
469
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
470
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
471
|
-
* See the License for the specific language governing permissions and
|
|
472
|
-
* limitations under the License.
|
|
473
|
-
*/function Lx(a){ql(new rl("platform-logger",t=>new Zw(t),"PRIVATE")),ql(new rl("heartbeat",t=>new Ox(t),"PRIVATE")),nl(Nf,Wh,a),nl(Nf,Wh,"esm2017"),nl("fire-js","")}Lx("");var Nx="firebase",Bx="10.8.1";/**
|
|
474
|
-
* @license
|
|
475
|
-
* Copyright 2020 Google LLC
|
|
476
|
-
*
|
|
477
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
478
|
-
* you may not use this file except in compliance with the License.
|
|
479
|
-
* You may obtain a copy of the License at
|
|
480
|
-
*
|
|
481
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
482
|
-
*
|
|
483
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
484
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
485
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
486
|
-
* See the License for the specific language governing permissions and
|
|
487
|
-
* limitations under the License.
|
|
488
|
-
*/nl(Nx,Bx,"app");const Op="@firebase/installations",Kf="0.6.5";/**
|
|
489
|
-
* @license
|
|
490
|
-
* Copyright 2019 Google LLC
|
|
491
|
-
*
|
|
492
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
493
|
-
* you may not use this file except in compliance with the License.
|
|
494
|
-
* You may obtain a copy of the License at
|
|
495
|
-
*
|
|
496
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
497
|
-
*
|
|
498
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
499
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
500
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
501
|
-
* See the License for the specific language governing permissions and
|
|
502
|
-
* limitations under the License.
|
|
503
|
-
*/const Mp=1e4,Fp=`w:${Kf}`,Lp="FIS_v2",jx="https://firebaseinstallations.googleapis.com/v1",Hx=60*60*1e3,Ux="installations",Wx="Installations";/**
|
|
504
|
-
* @license
|
|
505
|
-
* Copyright 2019 Google LLC
|
|
506
|
-
*
|
|
507
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
508
|
-
* you may not use this file except in compliance with the License.
|
|
509
|
-
* You may obtain a copy of the License at
|
|
510
|
-
*
|
|
511
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
512
|
-
*
|
|
513
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
514
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
515
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
516
|
-
* See the License for the specific language governing permissions and
|
|
517
|
-
* limitations under the License.
|
|
518
|
-
*/const zx={"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."},Xl=new Ec(Ux,Wx,zx);function Np(a){return a instanceof ku&&a.code.includes("request-failed")}/**
|
|
519
|
-
* @license
|
|
520
|
-
* Copyright 2019 Google LLC
|
|
521
|
-
*
|
|
522
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
523
|
-
* you may not use this file except in compliance with the License.
|
|
524
|
-
* You may obtain a copy of the License at
|
|
525
|
-
*
|
|
526
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
527
|
-
*
|
|
528
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
529
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
530
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
531
|
-
* See the License for the specific language governing permissions and
|
|
532
|
-
* limitations under the License.
|
|
533
|
-
*/function Bp({projectId:a}){return`${jx}/projects/${a}/installations`}function jp(a){return{token:a.token,requestStatus:2,expiresIn:Vx(a.expiresIn),creationTime:Date.now()}}async function Hp(a,t){const u=(await t.json()).error;return Xl.create("request-failed",{requestName:a,serverCode:u.code,serverMessage:u.message,serverStatus:u.status})}function Up({apiKey:a}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":a})}function $x(a,{refreshToken:t}){const r=Up(a);return r.append("Authorization",Yx(t)),r}async function Wp(a){const t=await a();return t.status>=500&&t.status<600?a():t}function Vx(a){return Number(a.replace("s","000"))}function Yx(a){return`${Lp} ${a}`}/**
|
|
534
|
-
* @license
|
|
535
|
-
* Copyright 2019 Google LLC
|
|
536
|
-
*
|
|
537
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
538
|
-
* you may not use this file except in compliance with the License.
|
|
539
|
-
* You may obtain a copy of the License at
|
|
540
|
-
*
|
|
541
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
542
|
-
*
|
|
543
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
544
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
545
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
546
|
-
* See the License for the specific language governing permissions and
|
|
547
|
-
* limitations under the License.
|
|
548
|
-
*/async function Gx({appConfig:a,heartbeatServiceProvider:t},{fid:r}){const u=Bp(a),o=Up(a),p=t.getImmediate({optional:!0});if(p){const M=await p.getHeartbeatsHeader();M&&o.append("x-firebase-client",M)}const x={fid:r,authVersion:Lp,appId:a.appId,sdkVersion:Fp},P={method:"POST",headers:o,body:JSON.stringify(x)},_=await Wp(()=>fetch(u,P));if(_.ok){const M=await _.json();return{fid:M.fid||r,registrationStatus:2,refreshToken:M.refreshToken,authToken:jp(M.authToken)}}else throw await Hp("Create Installation",_)}/**
|
|
549
|
-
* @license
|
|
550
|
-
* Copyright 2019 Google LLC
|
|
551
|
-
*
|
|
552
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
553
|
-
* you may not use this file except in compliance with the License.
|
|
554
|
-
* You may obtain a copy of the License at
|
|
555
|
-
*
|
|
556
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
557
|
-
*
|
|
558
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
559
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
560
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
561
|
-
* See the License for the specific language governing permissions and
|
|
562
|
-
* limitations under the License.
|
|
563
|
-
*/function zp(a){return new Promise(t=>{setTimeout(t,a)})}/**
|
|
564
|
-
* @license
|
|
565
|
-
* Copyright 2019 Google LLC
|
|
566
|
-
*
|
|
567
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
568
|
-
* you may not use this file except in compliance with the License.
|
|
569
|
-
* You may obtain a copy of the License at
|
|
570
|
-
*
|
|
571
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
572
|
-
*
|
|
573
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
574
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
575
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
576
|
-
* See the License for the specific language governing permissions and
|
|
577
|
-
* limitations under the License.
|
|
578
|
-
*/function qx(a){return btoa(String.fromCharCode(...a)).replace(/\+/g,"-").replace(/\//g,"_")}/**
|
|
579
|
-
* @license
|
|
580
|
-
* Copyright 2019 Google LLC
|
|
581
|
-
*
|
|
582
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
583
|
-
* you may not use this file except in compliance with the License.
|
|
584
|
-
* You may obtain a copy of the License at
|
|
585
|
-
*
|
|
586
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
587
|
-
*
|
|
588
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
589
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
590
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
591
|
-
* See the License for the specific language governing permissions and
|
|
592
|
-
* limitations under the License.
|
|
593
|
-
*/const Xx=/^[cdef][\w-]{21}$/,Hf="";function Kx(){try{const a=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(a),a[0]=112+a[0]%16;const r=Zx(a);return Xx.test(r)?r:Hf}catch{return Hf}}function Zx(a){return qx(a).substr(0,22)}/**
|
|
594
|
-
* @license
|
|
595
|
-
* Copyright 2019 Google LLC
|
|
596
|
-
*
|
|
597
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
598
|
-
* you may not use this file except in compliance with the License.
|
|
599
|
-
* You may obtain a copy of the License at
|
|
600
|
-
*
|
|
601
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
602
|
-
*
|
|
603
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
604
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
605
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
606
|
-
* See the License for the specific language governing permissions and
|
|
607
|
-
* limitations under the License.
|
|
608
|
-
*/function Ic(a){return`${a.appName}!${a.appId}`}/**
|
|
609
|
-
* @license
|
|
610
|
-
* Copyright 2019 Google LLC
|
|
611
|
-
*
|
|
612
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
613
|
-
* you may not use this file except in compliance with the License.
|
|
614
|
-
* You may obtain a copy of the License at
|
|
615
|
-
*
|
|
616
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
617
|
-
*
|
|
618
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
619
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
620
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
621
|
-
* See the License for the specific language governing permissions and
|
|
622
|
-
* limitations under the License.
|
|
623
|
-
*/const $p=new Map;function Vp(a,t){const r=Ic(a);Yp(r,t),Jx(r,t)}function Yp(a,t){const r=$p.get(a);if(r)for(const u of r)u(t)}function Jx(a,t){const r=Qx();r&&r.postMessage({key:a,fid:t}),e1()}let zl=null;function Qx(){return!zl&&"BroadcastChannel"in self&&(zl=new BroadcastChannel("[Firebase] FID Change"),zl.onmessage=a=>{Yp(a.data.key,a.data.fid)}),zl}function e1(){$p.size===0&&zl&&(zl.close(),zl=null)}/**
|
|
624
|
-
* @license
|
|
625
|
-
* Copyright 2019 Google LLC
|
|
626
|
-
*
|
|
627
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
628
|
-
* you may not use this file except in compliance with the License.
|
|
629
|
-
* You may obtain a copy of the License at
|
|
630
|
-
*
|
|
631
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
632
|
-
*
|
|
633
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
634
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
635
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
636
|
-
* See the License for the specific language governing permissions and
|
|
637
|
-
* limitations under the License.
|
|
638
|
-
*/const t1="firebase-installations-database",n1=1,Kl="firebase-installations-store";let bf=null;function Zf(){return bf||(bf=Tc(t1,n1,{upgrade:(a,t)=>{switch(t){case 0:a.createObjectStore(Kl)}}})),bf}async function Sc(a,t){const r=Ic(a),o=(await Zf()).transaction(Kl,"readwrite"),p=o.objectStore(Kl),x=await p.get(r);return await p.put(t,r),await o.done,(!x||x.fid!==t.fid)&&Vp(a,t.fid),t}async function Gp(a){const t=Ic(a),u=(await Zf()).transaction(Kl,"readwrite");await u.objectStore(Kl).delete(t),await u.done}async function _c(a,t){const r=Ic(a),o=(await Zf()).transaction(Kl,"readwrite"),p=o.objectStore(Kl),x=await p.get(r),P=t(x);return P===void 0?await p.delete(r):await p.put(P,r),await o.done,P&&(!x||x.fid!==P.fid)&&Vp(a,P.fid),P}/**
|
|
639
|
-
* @license
|
|
640
|
-
* Copyright 2019 Google LLC
|
|
641
|
-
*
|
|
642
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
643
|
-
* you may not use this file except in compliance with the License.
|
|
644
|
-
* You may obtain a copy of the License at
|
|
645
|
-
*
|
|
646
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
647
|
-
*
|
|
648
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
649
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
650
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
651
|
-
* See the License for the specific language governing permissions and
|
|
652
|
-
* limitations under the License.
|
|
653
|
-
*/async function Jf(a){let t;const r=await _c(a.appConfig,u=>{const o=r1(u),p=i1(a,o);return t=p.registrationPromise,p.installationEntry});return r.fid===Hf?{installationEntry:await t}:{installationEntry:r,registrationPromise:t}}function r1(a){const t=a||{fid:Kx(),registrationStatus:0};return qp(t)}function i1(a,t){if(t.registrationStatus===0){if(!navigator.onLine){const o=Promise.reject(Xl.create("app-offline"));return{installationEntry:t,registrationPromise:o}}const r={fid:t.fid,registrationStatus:1,registrationTime:Date.now()},u=a1(a,r);return{installationEntry:r,registrationPromise:u}}else return t.registrationStatus===1?{installationEntry:t,registrationPromise:o1(a)}:{installationEntry:t}}async function a1(a,t){try{const r=await Gx(a,t);return Sc(a.appConfig,r)}catch(r){throw Np(r)&&r.customData.serverCode===409?await Gp(a.appConfig):await Sc(a.appConfig,{fid:t.fid,registrationStatus:0}),r}}async function o1(a){let t=await Yh(a.appConfig);for(;t.registrationStatus===1;)await zp(100),t=await Yh(a.appConfig);if(t.registrationStatus===0){const{installationEntry:r,registrationPromise:u}=await Jf(a);return u||r}return t}function Yh(a){return _c(a,t=>{if(!t)throw Xl.create("installation-not-found");return qp(t)})}function qp(a){return s1(a)?{fid:a.fid,registrationStatus:0}:a}function s1(a){return a.registrationStatus===1&&a.registrationTime+Mp<Date.now()}/**
|
|
654
|
-
* @license
|
|
655
|
-
* Copyright 2019 Google LLC
|
|
656
|
-
*
|
|
657
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
658
|
-
* you may not use this file except in compliance with the License.
|
|
659
|
-
* You may obtain a copy of the License at
|
|
660
|
-
*
|
|
661
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
662
|
-
*
|
|
663
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
664
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
665
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
666
|
-
* See the License for the specific language governing permissions and
|
|
667
|
-
* limitations under the License.
|
|
668
|
-
*/async function l1({appConfig:a,heartbeatServiceProvider:t},r){const u=u1(a,r),o=$x(a,r),p=t.getImmediate({optional:!0});if(p){const M=await p.getHeartbeatsHeader();M&&o.append("x-firebase-client",M)}const x={installation:{sdkVersion:Fp,appId:a.appId}},P={method:"POST",headers:o,body:JSON.stringify(x)},_=await Wp(()=>fetch(u,P));if(_.ok){const M=await _.json();return jp(M)}else throw await Hp("Generate Auth Token",_)}function u1(a,{fid:t}){return`${Bp(a)}/${t}/authTokens:generate`}/**
|
|
669
|
-
* @license
|
|
670
|
-
* Copyright 2019 Google LLC
|
|
671
|
-
*
|
|
672
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
673
|
-
* you may not use this file except in compliance with the License.
|
|
674
|
-
* You may obtain a copy of the License at
|
|
675
|
-
*
|
|
676
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
677
|
-
*
|
|
678
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
679
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
680
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
681
|
-
* See the License for the specific language governing permissions and
|
|
682
|
-
* limitations under the License.
|
|
683
|
-
*/async function Qf(a,t=!1){let r;const u=await _c(a.appConfig,p=>{if(!Xp(p))throw Xl.create("not-registered");const x=p.authToken;if(!t&&d1(x))return p;if(x.requestStatus===1)return r=c1(a,t),p;{if(!navigator.onLine)throw Xl.create("app-offline");const P=p1(p);return r=f1(a,P),P}});return r?await r:u.authToken}async function c1(a,t){let r=await Gh(a.appConfig);for(;r.authToken.requestStatus===1;)await zp(100),r=await Gh(a.appConfig);const u=r.authToken;return u.requestStatus===0?Qf(a,t):u}function Gh(a){return _c(a,t=>{if(!Xp(t))throw Xl.create("not-registered");const r=t.authToken;return g1(r)?Object.assign(Object.assign({},t),{authToken:{requestStatus:0}}):t})}async function f1(a,t){try{const r=await l1(a,t),u=Object.assign(Object.assign({},t),{authToken:r});return await Sc(a.appConfig,u),r}catch(r){if(Np(r)&&(r.customData.serverCode===401||r.customData.serverCode===404))await Gp(a.appConfig);else{const u=Object.assign(Object.assign({},t),{authToken:{requestStatus:0}});await Sc(a.appConfig,u)}throw r}}function Xp(a){return a!==void 0&&a.registrationStatus===2}function d1(a){return a.requestStatus===2&&!h1(a)}function h1(a){const t=Date.now();return t<a.creationTime||a.creationTime+a.expiresIn<t+Hx}function p1(a){const t={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},a),{authToken:t})}function g1(a){return a.requestStatus===1&&a.requestTime+Mp<Date.now()}/**
|
|
684
|
-
* @license
|
|
685
|
-
* Copyright 2019 Google LLC
|
|
686
|
-
*
|
|
687
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
688
|
-
* you may not use this file except in compliance with the License.
|
|
689
|
-
* You may obtain a copy of the License at
|
|
690
|
-
*
|
|
691
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
692
|
-
*
|
|
693
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
694
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
695
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
696
|
-
* See the License for the specific language governing permissions and
|
|
697
|
-
* limitations under the License.
|
|
698
|
-
*/async function v1(a){const t=a,{installationEntry:r,registrationPromise:u}=await Jf(t);return u?u.catch(console.error):Qf(t).catch(console.error),r.fid}/**
|
|
699
|
-
* @license
|
|
700
|
-
* Copyright 2019 Google LLC
|
|
701
|
-
*
|
|
702
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
703
|
-
* you may not use this file except in compliance with the License.
|
|
704
|
-
* You may obtain a copy of the License at
|
|
705
|
-
*
|
|
706
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
707
|
-
*
|
|
708
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
709
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
710
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
711
|
-
* See the License for the specific language governing permissions and
|
|
712
|
-
* limitations under the License.
|
|
713
|
-
*/async function m1(a,t=!1){const r=a;return await y1(r),(await Qf(r,t)).token}async function y1(a){const{registrationPromise:t}=await Jf(a);t&&await t}/**
|
|
714
|
-
* @license
|
|
715
|
-
* Copyright 2019 Google LLC
|
|
716
|
-
*
|
|
717
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
718
|
-
* you may not use this file except in compliance with the License.
|
|
719
|
-
* You may obtain a copy of the License at
|
|
720
|
-
*
|
|
721
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
722
|
-
*
|
|
723
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
724
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
725
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
726
|
-
* See the License for the specific language governing permissions and
|
|
727
|
-
* limitations under the License.
|
|
728
|
-
*/function b1(a){if(!a||!a.options)throw Sf("App Configuration");if(!a.name)throw Sf("App Name");const t=["projectId","apiKey","appId"];for(const r of t)if(!a.options[r])throw Sf(r);return{appName:a.name,projectId:a.options.projectId,apiKey:a.options.apiKey,appId:a.options.appId}}function Sf(a){return Xl.create("missing-app-config-values",{valueName:a})}/**
|
|
729
|
-
* @license
|
|
730
|
-
* Copyright 2020 Google LLC
|
|
731
|
-
*
|
|
732
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
733
|
-
* you may not use this file except in compliance with the License.
|
|
734
|
-
* You may obtain a copy of the License at
|
|
735
|
-
*
|
|
736
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
737
|
-
*
|
|
738
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
739
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
740
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
741
|
-
* See the License for the specific language governing permissions and
|
|
742
|
-
* limitations under the License.
|
|
743
|
-
*/const Kp="installations",S1="installations-internal",w1=a=>{const t=a.getProvider("app").getImmediate(),r=b1(t),u=qf(t,"heartbeat");return{app:t,appConfig:r,heartbeatServiceProvider:u,_delete:()=>Promise.resolve()}},x1=a=>{const t=a.getProvider("app").getImmediate(),r=qf(t,Kp).getImmediate();return{getId:()=>v1(r),getToken:o=>m1(r,o)}};function C1(){ql(new rl(Kp,w1,"PUBLIC")),ql(new rl(S1,x1,"PRIVATE"))}C1();nl(Op,Kf);nl(Op,Kf,"esm2017");/**
|
|
744
|
-
* @license
|
|
745
|
-
* Copyright 2019 Google LLC
|
|
746
|
-
*
|
|
747
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
748
|
-
* you may not use this file except in compliance with the License.
|
|
749
|
-
* You may obtain a copy of the License at
|
|
750
|
-
*
|
|
751
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
752
|
-
*
|
|
753
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
754
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
755
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
756
|
-
* See the License for the specific language governing permissions and
|
|
757
|
-
* limitations under the License.
|
|
758
|
-
*/const k1="/firebase-messaging-sw.js",E1="/firebase-cloud-messaging-push-scope",Zp="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",T1="https://fcmregistrations.googleapis.com/v1",Jp="google.c.a.c_id",I1="google.c.a.c_l",_1="google.c.a.ts",R1="google.c.a.e";var qh;(function(a){a[a.DATA_MESSAGE=1]="DATA_MESSAGE",a[a.DISPLAY_NOTIFICATION=3]="DISPLAY_NOTIFICATION"})(qh||(qh={}));/**
|
|
759
|
-
* @license
|
|
760
|
-
* Copyright 2018 Google LLC
|
|
761
|
-
*
|
|
762
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
|
|
763
|
-
* in compliance with the License. You may obtain a copy of the License at
|
|
764
|
-
*
|
|
765
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
766
|
-
*
|
|
767
|
-
* Unless required by applicable law or agreed to in writing, software distributed under the License
|
|
768
|
-
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
|
|
769
|
-
* or implied. See the License for the specific language governing permissions and limitations under
|
|
770
|
-
* the License.
|
|
771
|
-
*/var Gu;(function(a){a.PUSH_RECEIVED="push-received",a.NOTIFICATION_CLICKED="notification-clicked"})(Gu||(Gu={}));/**
|
|
772
|
-
* @license
|
|
773
|
-
* Copyright 2017 Google LLC
|
|
774
|
-
*
|
|
775
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
776
|
-
* you may not use this file except in compliance with the License.
|
|
777
|
-
* You may obtain a copy of the License at
|
|
778
|
-
*
|
|
779
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
780
|
-
*
|
|
781
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
782
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
783
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
784
|
-
* See the License for the specific language governing permissions and
|
|
785
|
-
* limitations under the License.
|
|
786
|
-
*/function Cs(a){const t=new Uint8Array(a);return btoa(String.fromCharCode(...t)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function D1(a){const t="=".repeat((4-a.length%4)%4),r=(a+t).replace(/\-/g,"+").replace(/_/g,"/"),u=atob(r),o=new Uint8Array(u.length);for(let p=0;p<u.length;++p)o[p]=u.charCodeAt(p);return o}/**
|
|
787
|
-
* @license
|
|
788
|
-
* Copyright 2019 Google LLC
|
|
789
|
-
*
|
|
790
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
791
|
-
* you may not use this file except in compliance with the License.
|
|
792
|
-
* You may obtain a copy of the License at
|
|
793
|
-
*
|
|
794
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
795
|
-
*
|
|
796
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
797
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
798
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
799
|
-
* See the License for the specific language governing permissions and
|
|
800
|
-
* limitations under the License.
|
|
801
|
-
*/const wf="fcm_token_details_db",A1=5,Xh="fcm_token_object_Store";async function P1(a){if("databases"in indexedDB&&!(await indexedDB.databases()).map(p=>p.name).includes(wf))return null;let t=null;return(await Tc(wf,A1,{upgrade:async(u,o,p,x)=>{var P;if(o<2||!u.objectStoreNames.contains(Xh))return;const _=x.objectStore(Xh),M=await _.index("fcmSenderId").get(a);if(await _.clear(),!!M){if(o===2){const X=M;if(!X.auth||!X.p256dh||!X.endpoint)return;t={token:X.fcmToken,createTime:(P=X.createTime)!==null&&P!==void 0?P:Date.now(),subscriptionOptions:{auth:X.auth,p256dh:X.p256dh,endpoint:X.endpoint,swScope:X.swScope,vapidKey:typeof X.vapidKey=="string"?X.vapidKey:Cs(X.vapidKey)}}}else if(o===3){const X=M;t={token:X.fcmToken,createTime:X.createTime,subscriptionOptions:{auth:Cs(X.auth),p256dh:Cs(X.p256dh),endpoint:X.endpoint,swScope:X.swScope,vapidKey:Cs(X.vapidKey)}}}else if(o===4){const X=M;t={token:X.fcmToken,createTime:X.createTime,subscriptionOptions:{auth:Cs(X.auth),p256dh:Cs(X.p256dh),endpoint:X.endpoint,swScope:X.swScope,vapidKey:Cs(X.vapidKey)}}}}}})).close(),await vf(wf),await vf("fcm_vapid_details_db"),await vf("undefined"),O1(t)?t:null}function O1(a){if(!a||!a.subscriptionOptions)return!1;const{subscriptionOptions:t}=a;return typeof a.createTime=="number"&&a.createTime>0&&typeof a.token=="string"&&a.token.length>0&&typeof t.auth=="string"&&t.auth.length>0&&typeof t.p256dh=="string"&&t.p256dh.length>0&&typeof t.endpoint=="string"&&t.endpoint.length>0&&typeof t.swScope=="string"&&t.swScope.length>0&&typeof t.vapidKey=="string"&&t.vapidKey.length>0}/**
|
|
802
|
-
* @license
|
|
803
|
-
* Copyright 2019 Google LLC
|
|
804
|
-
*
|
|
805
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
806
|
-
* you may not use this file except in compliance with the License.
|
|
807
|
-
* You may obtain a copy of the License at
|
|
808
|
-
*
|
|
809
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
810
|
-
*
|
|
811
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
812
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
813
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
814
|
-
* See the License for the specific language governing permissions and
|
|
815
|
-
* limitations under the License.
|
|
816
|
-
*/const M1="firebase-messaging-database",F1=1,Zl="firebase-messaging-store";let xf=null;function ed(){return xf||(xf=Tc(M1,F1,{upgrade:(a,t)=>{switch(t){case 0:a.createObjectStore(Zl)}}})),xf}async function Qp(a){const t=nd(a),u=await(await ed()).transaction(Zl).objectStore(Zl).get(t);if(u)return u;{const o=await P1(a.appConfig.senderId);if(o)return await td(a,o),o}}async function td(a,t){const r=nd(a),o=(await ed()).transaction(Zl,"readwrite");return await o.objectStore(Zl).put(t,r),await o.done,t}async function L1(a){const t=nd(a),u=(await ed()).transaction(Zl,"readwrite");await u.objectStore(Zl).delete(t),await u.done}function nd({appConfig:a}){return a.appId}/**
|
|
817
|
-
* @license
|
|
818
|
-
* Copyright 2017 Google LLC
|
|
819
|
-
*
|
|
820
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
821
|
-
* you may not use this file except in compliance with the License.
|
|
822
|
-
* You may obtain a copy of the License at
|
|
823
|
-
*
|
|
824
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
825
|
-
*
|
|
826
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
827
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
828
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
829
|
-
* See the License for the specific language governing permissions and
|
|
830
|
-
* limitations under the License.
|
|
831
|
-
*/const N1={"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"only-available-in-window":"This method is available in a Window context.","only-available-in-sw":"This method is available in a service worker context.","permission-default":"The notification permission was not granted and dismissed instead.","permission-blocked":"The notification permission was not granted and blocked instead.","unsupported-browser":"This browser doesn't support the API's required to use the Firebase SDK.","indexed-db-unsupported":"This browser doesn't support indexedDb.open() (ex. Safari iFrame, Firefox Private Browsing, etc)","failed-service-worker-registration":"We are unable to register the default service worker. {$browserErrorMessage}","token-subscribe-failed":"A problem occurred while subscribing the user to FCM: {$errorInfo}","token-subscribe-no-token":"FCM returned no token when subscribing the user to push.","token-unsubscribe-failed":"A problem occurred while unsubscribing the user from FCM: {$errorInfo}","token-update-failed":"A problem occurred while updating the user from FCM: {$errorInfo}","token-update-no-token":"FCM returned no token when updating the user to push.","use-sw-after-get-token":"The useServiceWorker() method may only be called once and must be called before calling getToken() to ensure your service worker is used.","invalid-sw-registration":"The input to useServiceWorker() must be a ServiceWorkerRegistration.","invalid-bg-handler":"The input to setBackgroundMessageHandler() must be a function.","invalid-vapid-key":"The public VAPID key must be a string.","use-vapid-key-after-get-token":"The usePublicVapidKey() method may only be called once and must be called before calling getToken() to ensure your VAPID key is used."},Si=new Ec("messaging","Messaging",N1);/**
|
|
832
|
-
* @license
|
|
833
|
-
* Copyright 2019 Google LLC
|
|
834
|
-
*
|
|
835
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
836
|
-
* you may not use this file except in compliance with the License.
|
|
837
|
-
* You may obtain a copy of the License at
|
|
838
|
-
*
|
|
839
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
840
|
-
*
|
|
841
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
842
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
843
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
844
|
-
* See the License for the specific language governing permissions and
|
|
845
|
-
* limitations under the License.
|
|
846
|
-
*/async function B1(a,t){const r=await id(a),u=tg(t),o={method:"POST",headers:r,body:JSON.stringify(u)};let p;try{p=await(await fetch(rd(a.appConfig),o)).json()}catch(x){throw Si.create("token-subscribe-failed",{errorInfo:x==null?void 0:x.toString()})}if(p.error){const x=p.error.message;throw Si.create("token-subscribe-failed",{errorInfo:x})}if(!p.token)throw Si.create("token-subscribe-no-token");return p.token}async function j1(a,t){const r=await id(a),u=tg(t.subscriptionOptions),o={method:"PATCH",headers:r,body:JSON.stringify(u)};let p;try{p=await(await fetch(`${rd(a.appConfig)}/${t.token}`,o)).json()}catch(x){throw Si.create("token-update-failed",{errorInfo:x==null?void 0:x.toString()})}if(p.error){const x=p.error.message;throw Si.create("token-update-failed",{errorInfo:x})}if(!p.token)throw Si.create("token-update-no-token");return p.token}async function eg(a,t){const u={method:"DELETE",headers:await id(a)};try{const p=await(await fetch(`${rd(a.appConfig)}/${t}`,u)).json();if(p.error){const x=p.error.message;throw Si.create("token-unsubscribe-failed",{errorInfo:x})}}catch(o){throw Si.create("token-unsubscribe-failed",{errorInfo:o==null?void 0:o.toString()})}}function rd({projectId:a}){return`${T1}/projects/${a}/registrations`}async function id({appConfig:a,installations:t}){const r=await t.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":a.apiKey,"x-goog-firebase-installations-auth":`FIS ${r}`})}function tg({p256dh:a,auth:t,endpoint:r,vapidKey:u}){const o={web:{endpoint:r,auth:t,p256dh:a}};return u!==Zp&&(o.web.applicationPubKey=u),o}/**
|
|
847
|
-
* @license
|
|
848
|
-
* Copyright 2019 Google LLC
|
|
849
|
-
*
|
|
850
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
851
|
-
* you may not use this file except in compliance with the License.
|
|
852
|
-
* You may obtain a copy of the License at
|
|
853
|
-
*
|
|
854
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
855
|
-
*
|
|
856
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
857
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
858
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
859
|
-
* See the License for the specific language governing permissions and
|
|
860
|
-
* limitations under the License.
|
|
861
|
-
*/const H1=7*24*60*60*1e3;async function U1(a){const t=await $1(a.swRegistration,a.vapidKey),r={vapidKey:a.vapidKey,swScope:a.swRegistration.scope,endpoint:t.endpoint,auth:Cs(t.getKey("auth")),p256dh:Cs(t.getKey("p256dh"))},u=await Qp(a.firebaseDependencies);if(u){if(V1(u.subscriptionOptions,r))return Date.now()>=u.createTime+H1?z1(a,{token:u.token,createTime:Date.now(),subscriptionOptions:r}):u.token;try{await eg(a.firebaseDependencies,u.token)}catch(o){console.warn(o)}return Kh(a.firebaseDependencies,r)}else return Kh(a.firebaseDependencies,r)}async function W1(a){const t=await Qp(a.firebaseDependencies);t&&(await eg(a.firebaseDependencies,t.token),await L1(a.firebaseDependencies));const r=await a.swRegistration.pushManager.getSubscription();return r?r.unsubscribe():!0}async function z1(a,t){try{const r=await j1(a.firebaseDependencies,t),u=Object.assign(Object.assign({},t),{token:r,createTime:Date.now()});return await td(a.firebaseDependencies,u),r}catch(r){throw await W1(a),r}}async function Kh(a,t){const u={token:await B1(a,t),createTime:Date.now(),subscriptionOptions:t};return await td(a,u),u.token}async function $1(a,t){const r=await a.pushManager.getSubscription();return r||a.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:D1(t)})}function V1(a,t){const r=t.vapidKey===a.vapidKey,u=t.endpoint===a.endpoint,o=t.auth===a.auth,p=t.p256dh===a.p256dh;return r&&u&&o&&p}/**
|
|
862
|
-
* @license
|
|
863
|
-
* Copyright 2020 Google LLC
|
|
864
|
-
*
|
|
865
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
866
|
-
* you may not use this file except in compliance with the License.
|
|
867
|
-
* You may obtain a copy of the License at
|
|
868
|
-
*
|
|
869
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
870
|
-
*
|
|
871
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
872
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
873
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
874
|
-
* See the License for the specific language governing permissions and
|
|
875
|
-
* limitations under the License.
|
|
876
|
-
*/function Zh(a){const t={from:a.from,collapseKey:a.collapse_key,messageId:a.fcmMessageId};return Y1(t,a),G1(t,a),q1(t,a),t}function Y1(a,t){if(!t.notification)return;a.notification={};const r=t.notification.title;r&&(a.notification.title=r);const u=t.notification.body;u&&(a.notification.body=u);const o=t.notification.image;o&&(a.notification.image=o);const p=t.notification.icon;p&&(a.notification.icon=p)}function G1(a,t){t.data&&(a.data=t.data)}function q1(a,t){var r,u,o,p,x;if(!t.fcmOptions&&!(!((r=t.notification)===null||r===void 0)&&r.click_action))return;a.fcmOptions={};const P=(o=(u=t.fcmOptions)===null||u===void 0?void 0:u.link)!==null&&o!==void 0?o:(p=t.notification)===null||p===void 0?void 0:p.click_action;P&&(a.fcmOptions.link=P);const _=(x=t.fcmOptions)===null||x===void 0?void 0:x.analytics_label;_&&(a.fcmOptions.analyticsLabel=_)}/**
|
|
877
|
-
* @license
|
|
878
|
-
* Copyright 2019 Google LLC
|
|
879
|
-
*
|
|
880
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
881
|
-
* you may not use this file except in compliance with the License.
|
|
882
|
-
* You may obtain a copy of the License at
|
|
883
|
-
*
|
|
884
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
885
|
-
*
|
|
886
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
887
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
888
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
889
|
-
* See the License for the specific language governing permissions and
|
|
890
|
-
* limitations under the License.
|
|
891
|
-
*/function X1(a){return typeof a=="object"&&!!a&&Jp in a}/**
|
|
892
|
-
* @license
|
|
893
|
-
* Copyright 2019 Google LLC
|
|
894
|
-
*
|
|
895
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
896
|
-
* you may not use this file except in compliance with the License.
|
|
897
|
-
* You may obtain a copy of the License at
|
|
898
|
-
*
|
|
899
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
900
|
-
*
|
|
901
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
902
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
903
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
904
|
-
* See the License for the specific language governing permissions and
|
|
905
|
-
* limitations under the License.
|
|
906
|
-
*/ng("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o");ng("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");function ng(a,t){const r=[];for(let u=0;u<a.length;u++)r.push(a.charAt(u)),u<t.length&&r.push(t.charAt(u));return r.join("")}/**
|
|
907
|
-
* @license
|
|
908
|
-
* Copyright 2019 Google LLC
|
|
909
|
-
*
|
|
910
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
911
|
-
* you may not use this file except in compliance with the License.
|
|
912
|
-
* You may obtain a copy of the License at
|
|
913
|
-
*
|
|
914
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
915
|
-
*
|
|
916
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
917
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
918
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
919
|
-
* See the License for the specific language governing permissions and
|
|
920
|
-
* limitations under the License.
|
|
921
|
-
*/function K1(a){if(!a||!a.options)throw Cf("App Configuration Object");if(!a.name)throw Cf("App Name");const t=["projectId","apiKey","appId","messagingSenderId"],{options:r}=a;for(const u of t)if(!r[u])throw Cf(u);return{appName:a.name,projectId:r.projectId,apiKey:r.apiKey,appId:r.appId,senderId:r.messagingSenderId}}function Cf(a){return Si.create("missing-app-config-values",{valueName:a})}/**
|
|
922
|
-
* @license
|
|
923
|
-
* Copyright 2020 Google LLC
|
|
924
|
-
*
|
|
925
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
926
|
-
* you may not use this file except in compliance with the License.
|
|
927
|
-
* You may obtain a copy of the License at
|
|
928
|
-
*
|
|
929
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
930
|
-
*
|
|
931
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
932
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
933
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
934
|
-
* See the License for the specific language governing permissions and
|
|
935
|
-
* limitations under the License.
|
|
936
|
-
*/class Z1{constructor(t,r,u){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const o=K1(t);this.firebaseDependencies={app:t,appConfig:o,installations:r,analyticsProvider:u}}_delete(){return Promise.resolve()}}/**
|
|
937
|
-
* @license
|
|
938
|
-
* Copyright 2020 Google LLC
|
|
939
|
-
*
|
|
940
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
941
|
-
* you may not use this file except in compliance with the License.
|
|
942
|
-
* You may obtain a copy of the License at
|
|
943
|
-
*
|
|
944
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
945
|
-
*
|
|
946
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
947
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
948
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
949
|
-
* See the License for the specific language governing permissions and
|
|
950
|
-
* limitations under the License.
|
|
951
|
-
*/async function J1(a){try{a.swRegistration=await navigator.serviceWorker.register(k1,{scope:E1}),a.swRegistration.update().catch(()=>{})}catch(t){throw Si.create("failed-service-worker-registration",{browserErrorMessage:t==null?void 0:t.message})}}/**
|
|
952
|
-
* @license
|
|
953
|
-
* Copyright 2020 Google LLC
|
|
954
|
-
*
|
|
955
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
956
|
-
* you may not use this file except in compliance with the License.
|
|
957
|
-
* You may obtain a copy of the License at
|
|
958
|
-
*
|
|
959
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
960
|
-
*
|
|
961
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
962
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
963
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
964
|
-
* See the License for the specific language governing permissions and
|
|
965
|
-
* limitations under the License.
|
|
966
|
-
*/async function Q1(a,t){if(!t&&!a.swRegistration&&await J1(a),!(!t&&a.swRegistration)){if(!(t instanceof ServiceWorkerRegistration))throw Si.create("invalid-sw-registration");a.swRegistration=t}}/**
|
|
967
|
-
* @license
|
|
968
|
-
* Copyright 2020 Google LLC
|
|
969
|
-
*
|
|
970
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
971
|
-
* you may not use this file except in compliance with the License.
|
|
972
|
-
* You may obtain a copy of the License at
|
|
973
|
-
*
|
|
974
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
975
|
-
*
|
|
976
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
977
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
978
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
979
|
-
* See the License for the specific language governing permissions and
|
|
980
|
-
* limitations under the License.
|
|
981
|
-
*/async function eC(a,t){t?a.vapidKey=t:a.vapidKey||(a.vapidKey=Zp)}/**
|
|
982
|
-
* @license
|
|
983
|
-
* Copyright 2020 Google LLC
|
|
984
|
-
*
|
|
985
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
986
|
-
* you may not use this file except in compliance with the License.
|
|
987
|
-
* You may obtain a copy of the License at
|
|
988
|
-
*
|
|
989
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
990
|
-
*
|
|
991
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
992
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
993
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
994
|
-
* See the License for the specific language governing permissions and
|
|
995
|
-
* limitations under the License.
|
|
996
|
-
*/async function rg(a,t){if(!navigator)throw Si.create("only-available-in-window");if(Notification.permission==="default"&&await Notification.requestPermission(),Notification.permission!=="granted")throw Si.create("permission-blocked");return await eC(a,t==null?void 0:t.vapidKey),await Q1(a,t==null?void 0:t.serviceWorkerRegistration),U1(a)}/**
|
|
997
|
-
* @license
|
|
998
|
-
* Copyright 2019 Google LLC
|
|
999
|
-
*
|
|
1000
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1001
|
-
* you may not use this file except in compliance with the License.
|
|
1002
|
-
* You may obtain a copy of the License at
|
|
1003
|
-
*
|
|
1004
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1005
|
-
*
|
|
1006
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
1007
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1008
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1009
|
-
* See the License for the specific language governing permissions and
|
|
1010
|
-
* limitations under the License.
|
|
1011
|
-
*/async function tC(a,t,r){const u=nC(t);(await a.firebaseDependencies.analyticsProvider.get()).logEvent(u,{message_id:r[Jp],message_name:r[I1],message_time:r[_1],message_device_time:Math.floor(Date.now()/1e3)})}function nC(a){switch(a){case Gu.NOTIFICATION_CLICKED:return"notification_open";case Gu.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}/**
|
|
1012
|
-
* @license
|
|
1013
|
-
* Copyright 2017 Google LLC
|
|
1014
|
-
*
|
|
1015
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1016
|
-
* you may not use this file except in compliance with the License.
|
|
1017
|
-
* You may obtain a copy of the License at
|
|
1018
|
-
*
|
|
1019
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1020
|
-
*
|
|
1021
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
1022
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1023
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1024
|
-
* See the License for the specific language governing permissions and
|
|
1025
|
-
* limitations under the License.
|
|
1026
|
-
*/async function rC(a,t){const r=t.data;if(!r.isFirebaseMessaging)return;a.onMessageHandler&&r.messageType===Gu.PUSH_RECEIVED&&(typeof a.onMessageHandler=="function"?a.onMessageHandler(Zh(r)):a.onMessageHandler.next(Zh(r)));const u=r.data;X1(u)&&u[R1]==="1"&&await tC(a,r.messageType,u)}const Jh="@firebase/messaging",Qh="0.12.6";/**
|
|
1027
|
-
* @license
|
|
1028
|
-
* Copyright 2020 Google LLC
|
|
1029
|
-
*
|
|
1030
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1031
|
-
* you may not use this file except in compliance with the License.
|
|
1032
|
-
* You may obtain a copy of the License at
|
|
1033
|
-
*
|
|
1034
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1035
|
-
*
|
|
1036
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
1037
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1038
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1039
|
-
* See the License for the specific language governing permissions and
|
|
1040
|
-
* limitations under the License.
|
|
1041
|
-
*/const iC=a=>{const t=new Z1(a.getProvider("app").getImmediate(),a.getProvider("installations-internal").getImmediate(),a.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",r=>rC(t,r)),t},aC=a=>{const t=a.getProvider("messaging").getImmediate();return{getToken:u=>rg(t,u)}};function oC(){ql(new rl("messaging",iC,"PUBLIC")),ql(new rl("messaging-internal",aC,"PRIVATE")),nl(Jh,Qh),nl(Jh,Qh,"esm2017")}/**
|
|
1042
|
-
* @license
|
|
1043
|
-
* Copyright 2020 Google LLC
|
|
1044
|
-
*
|
|
1045
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1046
|
-
* you may not use this file except in compliance with the License.
|
|
1047
|
-
* You may obtain a copy of the License at
|
|
1048
|
-
*
|
|
1049
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1050
|
-
*
|
|
1051
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
1052
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1053
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1054
|
-
* See the License for the specific language governing permissions and
|
|
1055
|
-
* limitations under the License.
|
|
1056
|
-
*/async function sC(){try{await _p()}catch{return!1}return typeof window<"u"&&Ip()&&_w()&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")}/**
|
|
1057
|
-
* @license
|
|
1058
|
-
* Copyright 2020 Google LLC
|
|
1059
|
-
*
|
|
1060
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1061
|
-
* you may not use this file except in compliance with the License.
|
|
1062
|
-
* You may obtain a copy of the License at
|
|
1063
|
-
*
|
|
1064
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1065
|
-
*
|
|
1066
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
1067
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1068
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1069
|
-
* See the License for the specific language governing permissions and
|
|
1070
|
-
* limitations under the License.
|
|
1071
|
-
*/function lC(a,t){if(!navigator)throw Si.create("only-available-in-window");return a.onMessageHandler=t,()=>{a.onMessageHandler=null}}/**
|
|
1072
|
-
* @license
|
|
1073
|
-
* Copyright 2017 Google LLC
|
|
1074
|
-
*
|
|
1075
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1076
|
-
* you may not use this file except in compliance with the License.
|
|
1077
|
-
* You may obtain a copy of the License at
|
|
1078
|
-
*
|
|
1079
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1080
|
-
*
|
|
1081
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
1082
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1083
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1084
|
-
* See the License for the specific language governing permissions and
|
|
1085
|
-
* limitations under the License.
|
|
1086
|
-
*/function ig(a=Ix()){return sC().then(t=>{if(!t)throw Si.create("unsupported-browser")},t=>{throw Si.create("indexed-db-unsupported")}),qf(Yf(a),"messaging").getImmediate()}async function uC(a,t){return a=Yf(a),rg(a,t)}function cC(a,t){return a=Yf(a),lC(a,t)}oC();const fC=a=>{"serviceWorker"in navigator&&navigator.serviceWorker.register(a.path).then(function(t){console.log("Registration successful, scope is:",t.scope),console.log("initialize service worker props ",a);const r=ig(Xf({apiKey:a.apiKey,authDomain:a.authDomain,projectId:a.projectId,storageBucket:a.storageBucket,messagingSenderId:a.messagingSenderId,appId:a.appId,measurementId:a.measurementId}));uC(r,{serviceWorkerRegistration:t,vapidKey:a.vapidKey}).then(async u=>{var o,p;if(u){console.log("current token for client: ",u);try{const x="/notification-management/api/v1/notifications/registrations",P=a.baseUrl+x;await Mb.post(P,{deviceToken:u},{withCredentials:!0})}catch(x){console.log(x),vp(((p=(o=x.response)==null?void 0:o.data)==null?void 0:p.errorMessage)||"Have error when get notification list")}}else console.log("No registration token available. Request permission to generate one.")}).catch(u=>{console.log("An error occurred while retrieving token. ",u)})}).catch(function(t){console.log("Service worker registration failed, error:",t)})},dC=new BroadcastChannel("my-channel");dC.onmessage=a=>{console.log("Broadcast chanel message",a)};const hC=a=>new Promise(t=>{const r=ig(Xf({apiKey:a.apiKey,authDomain:a.authDomain,projectId:a.projectId,storageBucket:a.storageBucket,messagingSenderId:a.messagingSenderId,appId:a.appId,measurementId:a.measurementId}));cC(r,u=>{console.log("payload",u),t(u)})}),pC={"subscription-diaglog":"_subscription-diaglog_12x9u_2","subscription-container":"_subscription-container_12x9u_15","subscription-title":"_subscription-title_12x9u_24","subscription-text":"_subscription-text_12x9u_33","subscription-btn__container":"_subscription-btn__container_12x9u_37","btn-success":"_btn-success_12x9u_43","btn-cancel":"_btn-cancel_12x9u_44"},gC={"notification-massage_container":"_notification-massage_container_ql4az_1","notification-name":"_notification-name_ql4az_18","notification-message_service":"_notification-message_service_ql4az_23","notification-message_button-close":"_notification-message_button-close_ql4az_27"};exports.AuthProvider=cw;exports.B=yn;exports.C=u0;exports.CustomOpenList=ep;exports.CustomOpenListProvider=Nb;exports.DateRangePicker=mw;exports.ERROR_MESSAGE=yS;exports.InfiniteLoader=uw;exports.Language=Wf;exports.PropTypes=Va;exports.Q=PS;exports.ReactSVG=Vf;exports.TranslationProvider=mS;exports._=rw;exports._extends=Cu;exports._extends$1=jS;exports._inheritsLoose=mp;exports._objectWithoutPropertiesLoose=$f;exports.clsx=ks;exports.commonjsGlobal=Qs;exports.getAugmentedNamespace=Bb;exports.getDefaultExportFromCjs=wc;exports.instance=Fr;exports.lodashExports=Sp;exports.login=bS;exports.logout=SS;exports.objectWithoutPropertiesLoose=BS;exports.onMessageListener=hC;exports.pushError=vp;exports.pushSuccess=LS;exports.pushWarning=NS;exports.requestForToken=fC;exports.search=dw;exports.styles=nw;exports.styles$1=pC;exports.styles$2=gC;exports.t=M0;exports.useAuth=fw;exports.useCustomTranslation=vS;
|