mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-27 03:18:22 +03:00
823 lines
1.4 MiB
JavaScript
823 lines
1.4 MiB
JavaScript
|
var lz=Object.defineProperty;var cz=(e,t,n)=>t in e?lz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ul=(e,t,n)=>cz(e,typeof t!="symbol"?t+"":t,n);function uz(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var oc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function at(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var R4={exports:{}},Ay={},$4={exports:{}},rt={};/**
|
|||
|
* @license React
|
|||
|
* react.production.min.js
|
|||
|
*
|
|||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
*
|
|||
|
* This source code is licensed under the MIT license found in the
|
|||
|
* LICENSE file in the root directory of this source tree.
|
|||
|
*/var Kh=Symbol.for("react.element"),fz=Symbol.for("react.portal"),dz=Symbol.for("react.fragment"),hz=Symbol.for("react.strict_mode"),pz=Symbol.for("react.profiler"),mz=Symbol.for("react.provider"),vz=Symbol.for("react.context"),gz=Symbol.for("react.forward_ref"),yz=Symbol.for("react.suspense"),bz=Symbol.for("react.memo"),_z=Symbol.for("react.lazy"),OT=Symbol.iterator;function xz(e){return e===null||typeof e!="object"?null:(e=OT&&e[OT]||e["@@iterator"],typeof e=="function"?e:null)}var I4={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},D4=Object.assign,F4={};function Ou(e,t,n){this.props=e,this.context=t,this.refs=F4,this.updater=n||I4}Ou.prototype.isReactComponent={};Ou.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Ou.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function B4(){}B4.prototype=Ou.prototype;function KO(e,t,n){this.props=e,this.context=t,this.refs=F4,this.updater=n||I4}var YO=KO.prototype=new B4;YO.constructor=KO;D4(YO,Ou.prototype);YO.isPureReactComponent=!0;var ST=Array.isArray,U4=Object.prototype.hasOwnProperty,ZO={current:null},z4={key:!0,ref:!0,__self:!0,__source:!0};function V4(e,t,n){var r,i={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)U4.call(t,r)&&!z4.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1<s){for(var c=Array(s),l=0;l<s;l++)c[l]=arguments[l+2];i.children=c}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)i[r]===void 0&&(i[r]=s[r]);return{$$typeof:Kh,type:e,key:o,ref:a,props:i,_owner:ZO.current}}function wz(e,t){return{$$typeof:Kh,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function XO(e){return typeof e=="object"&&e!==null&&e.$$typeof===Kh}function Oz(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var ET=/\/+/g;function Bb(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Oz(""+e.key):t.toString(36)}function Vm(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case Kh:case fz:a=!0}}if(a)return a=e,i=i(a),e=r===""?"."+Bb(a,0):r,ST(i)?(n="",e!=null&&(n=e.replace(ET,"$&/")+"/"),Vm(i,t,n,"",function(l){return l})):i!=null&&(XO(i)&&(i=wz(i,n+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(ET,"$&/")+"/")+e)),t.push(i)),1;if(a=0,r=r===""?".":r+":",ST(e))for(var s=0;s<e.length;s++){o=e[s];var c=r+Bb(o,s);a+=Vm(o,t,n,c,i)}else if(c=xz(e),typeof c=="function")for(e=c.call(e),s=0;!(o=e.next()).done;)o=o.value,c=r+Bb(o,s++),a+=Vm(o,t,n,c,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function Xp(e,t,n){if(e==null)return e;var r=[],i=0;return Vm(e,r,"","",function(o){return t.call(n,o,i++)}),r}function Sz(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var rr={current:null},Wm={transition:null},Ez={ReactCurrentDispatcher:rr,ReactCurrentBatchConfig:Wm,ReactCurrentOwner:ZO};function W4(){throw Error("act(...) is not supported in production builds of React.")}rt.Children={map:Xp,forEach:function(e,t,n){Xp(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Xp(e,function(){t++}),t},toArray:function(e){return Xp(e,function(t){return t})||[]},only:function(e){if(!XO(e))throw Error("React.Children.only expected to receive a sin
|
|||
|
* @license React
|
|||
|
* react-jsx-runtime.production.min.js
|
|||
|
*
|
|||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
*
|
|||
|
* This source code is licensed under the MIT license found in the
|
|||
|
* LICENSE file in the root directory of this source tree.
|
|||
|
*/var Cz=M,Pz=Symbol.for("react.element"),Tz=Symbol.for("react.fragment"),jz=Object.prototype.hasOwnProperty,Az=Cz.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,kz={key:!0,ref:!0,__self:!0,__source:!0};function H4(e,t,n){var r,i={},o=null,a=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)jz.call(t,r)&&!kz.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Pz,type:e,key:o,ref:a,props:i,_owner:Az.current}}Ay.Fragment=Tz;Ay.jsx=H4;Ay.jsxs=H4;R4.exports=Ay;var m=R4.exports,G4={exports:{}},Ir={},q4={exports:{}},K4={};/**
|
|||
|
* @license React
|
|||
|
* scheduler.production.min.js
|
|||
|
*
|
|||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
*
|
|||
|
* This source code is licensed under the MIT license found in the
|
|||
|
* LICENSE file in the root directory of this source tree.
|
|||
|
*/(function(e){function t(Z,z){var B=Z.length;Z.push(z);e:for(;0<B;){var H=B-1>>>1,ee=Z[H];if(0<i(ee,z))Z[H]=z,Z[B]=ee,B=H;else break e}}function n(Z){return Z.length===0?null:Z[0]}function r(Z){if(Z.length===0)return null;var z=Z[0],B=Z.pop();if(B!==z){Z[0]=B;e:for(var H=0,ee=Z.length,K=ee>>>1;H<K;){var te=2*(H+1)-1,ie=Z[te],ae=te+1,fe=Z[ae];if(0>i(ie,B))ae<ee&&0>i(fe,ie)?(Z[H]=fe,Z[ae]=B,H=ae):(Z[H]=ie,Z[te]=B,H=te);else if(ae<ee&&0>i(fe,B))Z[H]=fe,Z[ae]=B,H=ae;else break e}}return z}function i(Z,z){var B=Z.sortIndex-z.sortIndex;return B!==0?B:Z.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var c=[],l=[],f=1,d=null,p=3,v=!1,y=!1,g=!1,x=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(Z){for(var z=n(l);z!==null;){if(z.callback===null)r(l);else if(z.startTime<=Z)r(l),z.sortIndex=z.expirationTime,t(c,z);else break;z=n(l)}}function S(Z){if(g=!1,w(Z),!y)if(n(c)!==null)y=!0,Q(E);else{var z=n(l);z!==null&&ne(S,z.startTime-Z)}}function E(Z,z){y=!1,g&&(g=!1,_(A),A=-1),v=!0;var B=p;try{for(w(z),d=n(c);d!==null&&(!(d.expirationTime>z)||Z&&!I());){var H=d.callback;if(typeof H=="function"){d.callback=null,p=d.priorityLevel;var ee=H(d.expirationTime<=z);z=e.unstable_now(),typeof ee=="function"?d.callback=ee:d===n(c)&&r(c),w(z)}else r(c);d=n(c)}if(d!==null)var K=!0;else{var te=n(l);te!==null&&ne(S,te.startTime-z),K=!1}return K}finally{d=null,p=B,v=!1}}var C=!1,T=null,A=-1,F=5,k=-1;function I(){return!(e.unstable_now()-k<F)}function D(){if(T!==null){var Z=e.unstable_now();k=Z;var z=!0;try{z=T(!0,Z)}finally{z?q():(C=!1,T=null)}}else C=!1}var q;if(typeof b=="function")q=function(){b(D)};else if(typeof MessageChannel<"u"){var W=new MessageChannel,X=W.port2;W.port1.onmessage=D,q=function(){X.postMessage(null)}}else q=function(){x(D,0)};function Q(Z){T=Z,C||(C=!0,q())}function ne(Z,z){A=x(function(){Z(e.unstable_now())},z)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(Z){Z.callback=null},e.unstable_continueExecution=function(){y||v||(y=!0,Q(E))},e.unstable_forceFrameRate=function(Z){0>Z||125<Z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<Z?Math.floor(1e3/Z):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(Z){switch(p){case 1:case 2:case 3:var z=3;break;default:z=p}var B=p;p=z;try{return Z()}finally{p=B}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(Z,z){switch(Z){case 1:case 2:case 3:case 4:case 5:break;default:Z=3}var B=p;p=Z;try{return z()}finally{p=B}},e.unstable_scheduleCallback=function(Z,z,B){var H=e.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?H+B:H):B=H,Z){case 1:var ee=-1;break;case 2:ee=250;break;case 5:ee=1073741823;break;case 4:ee=1e4;break;default:ee=5e3}return ee=B+ee,Z={id:f++,callback:z,priorityLevel:Z,startTime:B,expirationTime:ee,sortIndex:-1},B>H?(Z.sortIndex=B,t(l,Z),n(c)===null&&Z===n(l)&&(g?(_(A),A=-1):g=!0,ne(S,B-H))):(Z.sortIndex=ee,t(c,Z),y||v||(y=!0,Q(E))),Z},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(Z){var z=p;return function(){var B=p;p=z;try{return Z.apply(this,arguments)}finally{p=B}}}})(K4);q4.exports=K4;var Nz=q4.exports;/**
|
|||
|
* @license React
|
|||
|
* react-dom.production.min.js
|
|||
|
*
|
|||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
*
|
|||
|
* This source code is licensed under the MIT license found in the
|
|||
|
* LICENSE file in the root directory of this source tree.
|
|||
|
*/var Mz=M,Mr=Nz;function Oe(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Y4=new Set,Pd={};function Ol(e,t){Ic(e,t),Ic(e+"Capture",t)}function Ic(e,t){for(Pd[e]=t,e=0;e<t.length;e++)Y4.add(t[e])}var Do=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),b_=Object.prototype.hasOwnProperty,Lz=/^[: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]*$/,CT={},PT={};function Rz(e){return b_.call(PT,e)?!0:b_.call(CT,e)?!1:Lz.test(e)?PT[e]=!0:(CT[e]=!0,!1)}function $z(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Iz(e,t,n,r){if(t===null||typeof t>"u"||$z(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ir(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var Ln={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ln[e]=new ir(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ln[t]=new ir(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ln[e]=new ir(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ln[e]=new ir(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ln[e]=new ir(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ln[e]=new ir(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ln[e]=new ir(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ln[e]=new ir(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ln[e]=new ir(e,5,!1,e.toLowerCase(),null,!1,!1)});var QO=/[\-:]([a-z])/g;function JO(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin
|
|||
|
`+Ub+e}var zb=!1;function Vb(e,t){if(!e||zb)return"";zb=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var r=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){r=l}e.call(t.prototype)}else{try{throw Error()}catch(l){r=l}e()}}catch(l){if(l&&r&&typeof l.stack=="string"){for(var i=l.stack.split(`
|
|||
|
`),o=r.stack.split(`
|
|||
|
`),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(a!==1||s!==1)do if(a--,s--,0>s||i[a]!==o[s]){var c=`
|
|||
|
`+i[a].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=a&&0<=s);break}}}finally{zb=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ff(e):""}function Dz(e){switch(e.tag){case 5:return Ff(e.type);case 16:return Ff("Lazy");case 13:return Ff("Suspense");case 19:return Ff("SuspenseList");case 0:case 2:case 15:return e=Vb(e.type,!1),e;case 11:return e=Vb(e.type.render,!1),e;case 1:return e=Vb(e.type,!0),e;default:return""}}function O_(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case sc:return"Fragment";case ac:return"Portal";case __:return"Profiler";case tS:return"StrictMode";case x_:return"Suspense";case w_:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case X4:return(e.displayName||"Context")+".Consumer";case Z4:return(e._context.displayName||"Context")+".Provider";case nS:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case rS:return t=e.displayName||null,t!==null?t:O_(e.type)||"Memo";case ba:t=e._payload,e=e._init;try{return O_(e(t))}catch{}}return null}function Fz(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return O_(t);case 8:return t===tS?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function qa(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function J4(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Bz(e){var t=J4(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Jp(e){e._valueTracker||(e._valueTracker=Bz(e))}function eR(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=J4(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function hv(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function S_(e,t){var n=t.checked;return Wt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function jT(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=qa(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function tR(e,t){t=t.checked,t!=null&&eS(e,"checked",t,!1)}function E_(e,t){tR(e,t);var n=qa(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?C_(e,t.type,n):t.hasOwnProperty("defaultValue")&&C_(e,t.type,qa(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function AT(e,t,n){if(t.hasOwnProperty("val
|
|||
|
`).replace(ZV,"")}function sm(e,t,n){if(t=JT(t),JT(e)!==t&&n)throw Error(Oe(425))}function xv(){}var B_=null,U_=null;function z_(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var V_=typeof setTimeout=="function"?setTimeout:void 0,XV=typeof clearTimeout=="function"?clearTimeout:void 0,ej=typeof Promise=="function"?Promise:void 0,QV=typeof queueMicrotask=="function"?queueMicrotask:typeof ej<"u"?function(e){return ej.resolve(null).then(e).catch(JV)}:V_;function JV(e){setTimeout(function(){throw e})}function n1(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Nd(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Nd(t)}function $a(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function tj(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Eu=Math.random().toString(36).slice(2),Ji="__reactFiber$"+Eu,Id="__reactProps$"+Eu,Fo="__reactContainer$"+Eu,W_="__reactEvents$"+Eu,eW="__reactListeners$"+Eu,tW="__reactHandles$"+Eu;function Bs(e){var t=e[Ji];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Fo]||n[Ji]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=tj(e);e!==null;){if(n=e[Ji])return n;e=tj(e)}return t}e=n,n=e.parentNode}return null}function Xh(e){return e=e[Ji]||e[Fo],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function fc(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(Oe(33))}function Ry(e){return e[Id]||null}var H_=[],dc=-1;function is(e){return{current:e}}function Tt(e){0>dc||(e.current=H_[dc],H_[dc]=null,dc--)}function wt(e,t){dc++,H_[dc]=e.current,e.current=t}var Ka={},Un=is(Ka),fr=is(!1),il=Ka;function Dc(e,t){var n=e.type.contextTypes;if(!n)return Ka;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function dr(e){return e=e.childContextTypes,e!=null}function wv(){Tt(fr),Tt(Un)}function nj(e,t,n){if(Un.current!==Ka)throw Error(Oe(168));wt(Un,t),wt(fr,n)}function VR(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Oe(108,Fz(e)||"Unknown",i));return Wt({},n,r)}function Ov(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ka,il=Un.current,wt(Un,e),wt(fr,fr.current),!0}function rj(e,t,n){var r=e.stateNode;if(!r)throw Error(Oe(169));n?(e=VR(e,t,il),r.__reactInternalMemoizedMergedChildContext=e,Tt(fr),Tt(Un),wt(Un,e)):Tt(fr),wt(fr,n)}var To=null,$y=!1,r1=!1;function WR(e){To===null?To=[e]:To.push(e)}function nW(e){$y=!0,WR(e)}function os(){if(!r1&&To!==null){r1=!0;var e=0,t=pt;try{var n=To;for(pt=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}To=null,$y=!1}catch(i){throw To!==null&&(To=To.slice(e+1)),mR(oS,os),i}finally{pt=t,r1=!1}}return null}var hc=[],pc=0,Sv=null,Ev=0,Jr=[],ei=0,ol=null,jo=1,Ao="";function Ps(e,t){hc[pc++]=Ev,hc[pc++]=Sv,Sv=e,Ev=t}function HR(e,t,n){Jr[ei++]=jo,Jr[ei++]=Ao,Jr[ei++]=ol,ol=e;var r=jo;e=Ao;var i=32-Ai(r)-1;r&=~(1<<i),n+=1;var o=32-Ai(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,jo=1<<32-Ai(t)+i|n<<i|r,Ao=o+e}else jo=1<<o|n<<i|r,Ao=e}function pS(e){e.return!==null&&(Ps(e,1),HR(e,1,0))}function mS(e){for(;e===Sv;)Sv=hc[--pc],hc[pc]=null,Ev=hc[--pc],hc[pc]=null;for(;e===ol;)ol=Jr[--ei],Jr[ei]=null,Ao=Jr[--ei],Jr[ei]=null,jo=Jr[--ei],Jr[ei]=null}var jr=null,Pr=null,Nt=!1,Ci=null;function GR(e,t){var n=ii(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.de
|
|||
|
Error generating stack: `+o.message+`
|
|||
|
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function l1(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function X_(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var fW=typeof WeakMap=="function"?WeakMap:Map;function b$(e,t,n){n=Lo(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Mv||(Mv=!0,sx=r),X_(e,t)},n}function _$(e,t,n){n=Lo(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){X_(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){X_(e,t),typeof r!="function"&&(Da===null?Da=new Set([this]):Da.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function hj(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new fW;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=EW.bind(null,e,t,n),t.then(e,e))}function pj(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function mj(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Lo(-1,1),t.tag=2,Ia(n,t,1))),n.lanes|=1),e)}var dW=Qo.ReactCurrentOwner,lr=!1;function qn(e,t,n,r){t.child=e===null?YR(t,null,n,r):Bc(t,e.child,n,r)}function vj(e,t,n,r,i){n=n.render;var o=t.ref;return Ac(t,i),r=CS(e,t,n,r,o,i),n=PS(),e!==null&&!lr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Uo(e,t,i)):(Nt&&n&&pS(t),t.flags|=1,qn(e,t,r,i),t.child)}function gj(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!IS(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,x$(e,t,o,r,i)):(e=ev(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:Ld,n(a,r)&&e.ref===t.ref)return Uo(e,t,i)}return t.flags|=1,e=Ba(o,r),e.ref=t.ref,e.return=t,t.child=e}function x$(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Ld(o,r)&&e.ref===t.ref)if(lr=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(lr=!0);else return t.lanes=e.lanes,Uo(e,t,i)}return Q_(e,t,n,r,i)}function w$(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},wt(gc,Sr),Sr|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,wt(gc,Sr),Sr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,wt(gc,Sr),Sr|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,wt(gc,Sr),Sr|=r;return qn(e,t,i,n),t.child}function O$(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Q_(e,t,n,r,i){var o=dr(n)?il:Un.current;return o=Dc(t,o),Ac(t,i),n=CS(e,t,n,r,o,i),r=PS(),e!==null&&!lr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Uo(e,t,i)):(Nt&&r&&pS(t),t.flags|=1,qn(e,t,n,i),t.child)}function yj(e,t,n,r,i){if(dr(n)){var o=!0;Ov(t)}else o=!1;if(Ac(t,i),t.stateNode===null)Xm(e,t),y$(t,n,r),Z_(t,n,r,i),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var c=a.context,l=n.contextType;typeof l=="object"&&l!==null?l=ci(l):(l=dr(n)?il:Un.current,l=Dc(t,l));var f=n.getDerivedStateFromProps,d=typeof f=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||c!==l)&&dj(t,a,r,l),_a=!1;var p=t.memoizedState;a.state=p,Tv(t,r,a,i),c=t.memoizedState,s!==r||p!==c||fr.current||_a?(typeof f=="function"&&(Y_(t,n,f,r),c=t.memoizedState),(s=_a||fj(t,n,s,r,p,c,l))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.
|
|||
|
* @license React
|
|||
|
* use-sync-external-store-with-selector.production.min.js
|
|||
|
*
|
|||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
*
|
|||
|
* This source code is licensed under the MIT license found in the
|
|||
|
* LICENSE file in the root directory of this source tree.
|
|||
|
*/var Jh=M;function IW(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var DW=typeof Object.is=="function"?Object.is:IW,FW=Jh.useSyncExternalStore,BW=Jh.useRef,UW=Jh.useEffect,zW=Jh.useMemo,VW=Jh.useDebugValue;$W.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=BW(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=zW(function(){function c(v){if(!l){if(l=!0,f=v,v=r(v),i!==void 0&&a.hasValue){var y=a.value;if(i(y,v))return d=y}return d=v}if(y=d,DW(f,v))return y;var g=r(v);return i!==void 0&&i(y,g)?y:(f=v,d=g)}var l=!1,f,d,p=n===void 0?null:n;return[function(){return c(t())},p===null?void 0:function(){return c(p())}]},[t,n,r,i]);var s=FW(e,o[0],o[1]);return UW(function(){a.hasValue=!0,a.value=s},[s]),VW(s),s};var dt="default"in y_?V:y_,Nj=Symbol.for("react-redux-context"),Mj=typeof globalThis<"u"?globalThis:{};function WW(){if(!dt.createContext)return{};const e=Mj[Nj]??(Mj[Nj]=new Map);let t=e.get(dt.createContext);return t||(t=dt.createContext(null),e.set(dt.createContext,t)),t}var K$=WW(),HW=()=>{throw new Error("uSES not initialized!")},GW=Symbol.for("react.element"),qW=Symbol.for("react.portal"),KW=Symbol.for("react.fragment"),YW=Symbol.for("react.strict_mode"),ZW=Symbol.for("react.profiler"),XW=Symbol.for("react.provider"),QW=Symbol.for("react.context"),JW=Symbol.for("react.server_context"),Y$=Symbol.for("react.forward_ref"),eH=Symbol.for("react.suspense"),tH=Symbol.for("react.suspense_list"),zS=Symbol.for("react.memo"),nH=Symbol.for("react.lazy"),rH=Y$,iH=zS;function oH(e){if(typeof e=="object"&&e!==null){const t=e.$$typeof;switch(t){case GW:{const n=e.type;switch(n){case KW:case ZW:case YW:case eH:case tH:return n;default:{const r=n&&n.$$typeof;switch(r){case JW:case QW:case Y$:case nH:case zS:case XW:return r;default:return t}}}}case qW:return t}}}function aH(e){return oH(e)===zS}function sH(e,t,n,r,{areStatesEqual:i,areOwnPropsEqual:o,areStatePropsEqual:a}){let s=!1,c,l,f,d,p;function v(b,w){return c=b,l=w,f=e(c,l),d=t(r,l),p=n(f,d,l),s=!0,p}function y(){return f=e(c,l),t.dependsOnOwnProps&&(d=t(r,l)),p=n(f,d,l),p}function g(){return e.dependsOnOwnProps&&(f=e(c,l)),t.dependsOnOwnProps&&(d=t(r,l)),p=n(f,d,l),p}function x(){const b=e(c,l),w=!a(b,f);return f=b,w&&(p=n(f,d,l)),p}function _(b,w){const S=!o(w,l),E=!i(b,c,w,l);return c=b,l=w,S&&E?y():S?g():E?x():p}return function(w,S){return s?_(w,S):v(w,S)}}function lH(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...i}){const o=t(e,i),a=n(e,i),s=r(e,i);return sH(o,a,s,e,i)}function cH(e,t){const n={};for(const r in e){const i=e[r];typeof i=="function"&&(n[r]=(...o)=>t(i(...o)))}return n}function fx(e){return function(n){const r=e(n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function Lj(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:e.length!==1}function Z$(e,t){return function(r,{displayName:i}){const o=function(s,c){return o.dependsOnOwnProps?o.mapToProps(s,c):o.mapToProps(s,void 0)};return o.dependsOnOwnProps=!0,o.mapToProps=function(s,c){o.mapToProps=e,o.dependsOnOwnProps=Lj(e);let l=o(s,c);return typeof l=="function"&&(o.mapToProps=l,o.dependsOnOwnProps=Lj(l),l=o(s,c)),l},o}}function VS(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function uH(e){return e&&typeof e=="object"?fx(t=>cH(e,t)):e?typeof e=="function"?Z$(e):VS(e,"mapDispatchToProps"):fx(t=>({dispatch:t}))}function fH(e){return e?typeof e=="function"?Z$(e):VS(e,"mapStateToProps"):fx(()=>({}))}function dH(e,t,n){return{...n,...e,...t}}function hH(e){return function(n,{displayName:r,areMergedPropsEqual:i}){let o=!1,a;return function(c,l,f){const d=e(c,l,f);return o?i(d,a)||(a=d):(o=!0,a=d),a}}}function pH(e){return e?typeof e=="function"?hH(e):VS(e,"mergeProps"):()=>dH}function mH(e){e()}function vH(){let e=null,t=null;return{clear(){e=null,t=null},notify(){mH(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const i=t={callback:n,next:null,p
|
|||
|
The error may be correlated with this previous error:
|
|||
|
${ae.current.stack}
|
|||
|
|
|||
|
`),Y}Iv(()=>{ae.current=void 0,K.current=void 0,H.current=N});const U=dt.useMemo(()=>dt.createElement(x,{...N,ref:F}),[F,x,N]);return dt.useMemo(()=>y?dt.createElement(I.Provider,{value:B},U):U,[I,U,B])}const C=dt.memo(S);if(C.WrappedComponent=x,C.displayName=S.displayName=b,c){const A=dt.forwardRef(function(k,I){return dt.createElement(C,{...k,reactReduxForwardedRef:I})});return A.displayName=b,A.WrappedComponent=x,dx(A,x)}return dx(C,x)}}var e6=MH;function LH({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=dt.useMemo(()=>{const l=X$(e);return{store:e,subscription:l,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,r,i,o]),s=dt.useMemo(()=>e.getState(),[e]);Iv(()=>{const{subscription:l}=a;return l.onStateChange=l.notifyNestedSubs,l.trySubscribe(),s!==e.getState()&&l.notifyNestedSubs(),()=>{l.tryUnsubscribe(),l.onStateChange=void 0}},[a,s]);const c=t||K$;return dt.createElement(c.Provider,{value:a},n)}var t6=LH;PH(M.useSyncExternalStore);/**
|
|||
|
* @remix-run/router v1.20.0
|
|||
|
*
|
|||
|
* Copyright (c) Remix Software Inc.
|
|||
|
*
|
|||
|
* This source code is licensed under the MIT license found in the
|
|||
|
* LICENSE.md file in the root directory of this source tree.
|
|||
|
*
|
|||
|
* @license MIT
|
|||
|
*/function Wd(){return Wd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wd.apply(this,arguments)}var Pa;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Pa||(Pa={}));const Bj="popstate";function RH(e){e===void 0&&(e={});function t(r,i){let{pathname:o,search:a,hash:s}=r.location;return hx("",{pathname:o,search:a,hash:s},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Dv(i)}return IH(t,n,null,e)}function Vt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function n6(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function $H(){return Math.random().toString(36).substr(2,8)}function Uj(e,t){return{usr:e.state,key:e.key,idx:t}}function hx(e,t,n,r){return n===void 0&&(n=null),Wd({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Cu(t):t,{state:n,key:t&&t.key||r||$H()})}function Dv(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Cu(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function IH(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,s=Pa.Pop,c=null,l=f();l==null&&(l=0,a.replaceState(Wd({},a.state,{idx:l}),""));function f(){return(a.state||{idx:null}).idx}function d(){s=Pa.Pop;let x=f(),_=x==null?null:x-l;l=x,c&&c({action:s,location:g.location,delta:_})}function p(x,_){s=Pa.Push;let b=hx(g.location,x,_);l=f()+1;let w=Uj(b,l),S=g.createHref(b);try{a.pushState(w,"",S)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;i.location.assign(S)}o&&c&&c({action:s,location:g.location,delta:1})}function v(x,_){s=Pa.Replace;let b=hx(g.location,x,_);l=f();let w=Uj(b,l),S=g.createHref(b);a.replaceState(w,"",S),o&&c&&c({action:s,location:g.location,delta:0})}function y(x){let _=i.location.origin!=="null"?i.location.origin:i.location.href,b=typeof x=="string"?x:Dv(x);return b=b.replace(/ $/,"%20"),Vt(_,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,_)}let g={get action(){return s},get location(){return e(i,a)},listen(x){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(Bj,d),c=x,()=>{i.removeEventListener(Bj,d),c=null}},createHref(x){return t(i,x)},createURL:y,encodeLocation(x){let _=y(x);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:p,replace:v,go(x){return a.go(x)}};return g}var zj;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(zj||(zj={}));function DH(e,t,n){return n===void 0&&(n="/"),FH(e,t,n,!1)}function FH(e,t,n,r){let i=typeof t=="string"?Cu(t):t,o=Wc(i.pathname||"/",n);if(o==null)return null;let a=r6(e);BH(a);let s=null;for(let c=0;s==null&&c<a.length;++c){let l=XH(o);s=YH(a[c],l,r)}return s}function r6(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(o,a,s)=>{let c={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:a,route:o};c.relativePath.startsWith("/")&&(Vt(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let l=Ua([r,c.relativePath]),f=n.concat(c);o.children&&o.children.length>0&&(Vt(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+l+'".')),r6(o.children,t,f,l)),!(o.path==null&&!o.index)&&t.push({path:l,score:qH(l,o.index),routesMeta:f})};return e.forEach((o,a)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))i(o,a);else for(let c of i6(o.path))i(o,a,c)}),t}function i6(e){let t=e.split("/");if(t.le
|
|||
|
* React Router v6.27.0
|
|||
|
*
|
|||
|
* Copyright (c) Remix Software Inc.
|
|||
|
*
|
|||
|
* This source code is licensed under the MIT license found in the
|
|||
|
* LICENSE.md file in the root directory of this source tree.
|
|||
|
*
|
|||
|
* @license MIT
|
|||
|
*/function Hd(){return Hd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hd.apply(this,arguments)}const qy=M.createContext(null),a6=M.createContext(null),Jo=M.createContext(null),Ky=M.createContext(null),ea=M.createContext({outlet:null,matches:[],isDataRoute:!1}),s6=M.createContext(null);function aG(e,t){let{relative:n}=t===void 0?{}:t;El()||Vt(!1);let{basename:r,navigator:i}=M.useContext(Jo),{hash:o,pathname:a,search:s}=Yy(e,{relative:n}),c=a;return r!=="/"&&(c=a==="/"?r:Ua([r,a])),i.createHref({pathname:c,search:s,hash:o})}function El(){return M.useContext(Ky)!=null}function gr(){return El()||Vt(!1),M.useContext(Ky).location}function l6(e){M.useContext(Jo).static||M.useLayoutEffect(e)}function yo(){let{isDataRoute:e}=M.useContext(ea);return e?bG():sG()}function sG(){El()||Vt(!1);let e=M.useContext(qy),{basename:t,future:n,navigator:r}=M.useContext(Jo),{matches:i}=M.useContext(ea),{pathname:o}=gr(),a=JSON.stringify(WS(i,n.v7_relativeSplatPath)),s=M.useRef(!1);return l6(()=>{s.current=!0}),M.useCallback(function(l,f){if(f===void 0&&(f={}),!s.current)return;if(typeof l=="number"){r.go(l);return}let d=HS(l,JSON.parse(a),o,f.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Ua([t,d.pathname])),(f.replace?r.replace:r.push)(d,f.state,f)},[t,r,a,o,e])}function Pu(){let{matches:e}=M.useContext(ea),t=e[e.length-1];return t?t.params:{}}function Yy(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=M.useContext(Jo),{matches:i}=M.useContext(ea),{pathname:o}=gr(),a=JSON.stringify(WS(i,r.v7_relativeSplatPath));return M.useMemo(()=>HS(e,JSON.parse(a),o,n==="path"),[e,a,o,n])}function lG(e,t){return cG(e,t)}function cG(e,t,n,r){El()||Vt(!1);let{navigator:i}=M.useContext(Jo),{matches:o}=M.useContext(ea),a=o[o.length-1],s=a?a.params:{};a&&a.pathname;let c=a?a.pathnameBase:"/";a&&a.route;let l=gr(),f;if(t){var d;let x=typeof t=="string"?Cu(t):t;c==="/"||(d=x.pathname)!=null&&d.startsWith(c)||Vt(!1),f=x}else f=l;let p=f.pathname||"/",v=p;if(c!=="/"){let x=c.replace(/^\//,"").split("/");v="/"+p.replace(/^\//,"").split("/").slice(x.length).join("/")}let y=DH(e,{pathname:v}),g=pG(y&&y.map(x=>Object.assign({},x,{params:Object.assign({},s,x.params),pathname:Ua([c,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?c:Ua([c,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&g?M.createElement(Ky.Provider,{value:{location:Hd({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:Pa.Pop}},g):g}function uG(){let e=yG(),t=iG(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return M.createElement(M.Fragment,null,M.createElement("h2",null,"Unexpected Application Error!"),M.createElement("h3",{style:{fontStyle:"italic"}},t),n?M.createElement("pre",{style:i},n):null,null)}const fG=M.createElement(uG,null);class dG extends M.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?M.createElement(ea.Provider,{value:this.props.routeContext},M.createElement(s6.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function hG(e){let{routeContext:t,match:n,children:r}=e,i=M.useContext(qy);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id
|
|||
|
* React Router DOM v6.27.0
|
|||
|
*
|
|||
|
* Copyright (c) Remix Software Inc.
|
|||
|
*
|
|||
|
* This source code is licensed under the MIT license found in the
|
|||
|
* LICENSE.md file in the root directory of this source tree.
|
|||
|
*
|
|||
|
* @license MIT
|
|||
|
*/function Uv(){return Uv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Uv.apply(this,arguments)}function f6(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function xG(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function wG(e,t){return e.button===0&&(!t||t==="_self")&&!xG(e)}const OG=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],SG=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],EG="6";try{window.__reactRouterVersion=EG}catch{}const CG=M.createContext({isTransitioning:!1}),PG="startTransition",Wj=y_[PG];function d6(e){let{basename:t,children:n,future:r,window:i}=e,o=M.useRef();o.current==null&&(o.current=RH({window:i,v5Compat:!0}));let a=o.current,[s,c]=M.useState({action:a.action,location:a.location}),{v7_startTransition:l}=r||{},f=M.useCallback(d=>{l&&Wj?Wj(()=>c(d)):c(d)},[c,l]);return M.useLayoutEffect(()=>a.listen(f),[a,f]),M.createElement(_G,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:a,future:r})}const TG=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",jG=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,At=M.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:a,state:s,target:c,to:l,preventScrollReset:f,viewTransition:d}=t,p=f6(t,OG),{basename:v}=M.useContext(Jo),y,g=!1;if(typeof l=="string"&&jG.test(l)&&(y=l,TG))try{let w=new URL(window.location.href),S=l.startsWith("//")?new URL(w.protocol+l):new URL(l),E=Wc(S.pathname,v);S.origin===w.origin&&E!=null?l=E+S.search+S.hash:g=!0}catch{}let x=aG(l,{relative:i}),_=kG(l,{replace:a,state:s,target:c,preventScrollReset:f,relative:i,viewTransition:d});function b(w){r&&r(w),w.defaultPrevented||_(w)}return M.createElement("a",Uv({},p,{href:y||x,onClick:g||o?r:b,ref:n,target:c}))}),h6=M.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:o="",end:a=!1,style:s,to:c,viewTransition:l,children:f}=t,d=f6(t,SG),p=Yy(c,{relative:d.relative}),v=gr(),y=M.useContext(a6),{navigator:g,basename:x}=M.useContext(Jo),_=y!=null&&NG(p)&&l===!0,b=g.encodeLocation?g.encodeLocation(p).pathname:p.pathname,w=v.pathname,S=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;i||(w=w.toLowerCase(),S=S?S.toLowerCase():null,b=b.toLowerCase()),S&&x&&(S=Wc(S,x)||S);const E=b!=="/"&&b.endsWith("/")?b.length-1:b.length;let C=w===b||!a&&w.startsWith(b)&&w.charAt(E)==="/",T=S!=null&&(S===b||!a&&S.startsWith(b)&&S.charAt(b.length)==="/"),A={isActive:C,isPending:T,isTransitioning:_},F=C?r:void 0,k;typeof o=="function"?k=o(A):k=[o,C?"active":null,T?"pending":null,_?"transitioning":null].filter(Boolean).join(" ");let I=typeof s=="function"?s(A):s;return M.createElement(At,Uv({},d,{"aria-current":F,className:k,ref:n,style:I,to:c,viewTransition:l}),typeof f=="function"?f(A):f)});var mx;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(mx||(mx={}));var Hj;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Hj||(Hj={}));function AG(e){let t=M.useContext(qy);return t||Vt(!1),t}function kG(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:a,viewTransition:s}=t===void 0?{}:t,c=yo(),l=gr(),f=Yy(e,{relative:a});return M.useCallback(d=>{if(wG(d,n)){d.preventDefault();let p=r!==void 0?r:Dv(l)===Dv(f);c(e,{replace:p,state:i,preventScrollReset:o,relative:a,viewTransition:s})}},[l,c,f,r,i,n,e,o,a,s])}function NG(e,t){t===void 0&&(t={});let n=M.useContext(CG);n==null&&Vt(!1);let{basename:r}=AG(mx.useViewTransitionState),i=Yy(e,{relative:t.relative});if(!n.isTransitioning)return!1;let o=Wc(n.currentLocation.pathname,r)||n.currentLocation.pathname
|
|||
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
|
|||
|
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
|
|||
|
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
|
|||
|
--fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";
|
|||
|
--fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
|
|||
|
--fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
|
|||
|
--fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
|
|||
|
--fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
|
|||
|
--fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
|
|||
|
--fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
|
|||
|
--fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";
|
|||
|
}
|
|||
|
|
|||
|
svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|||
|
overflow: visible;
|
|||
|
box-sizing: content-box;
|
|||
|
}
|
|||
|
|
|||
|
.svg-inline--fa {
|
|||
|
display: var(--fa-display, inline-block);
|
|||
|
height: 1em;
|
|||
|
overflow: visible;
|
|||
|
vertical-align: -0.125em;
|
|||
|
}
|
|||
|
.svg-inline--fa.fa-2xs {
|
|||
|
vertical-align: 0.1em;
|
|||
|
}
|
|||
|
.svg-inline--fa.fa-xs {
|
|||
|
vertical-align: 0em;
|
|||
|
}
|
|||
|
.svg-inline--fa.fa-sm {
|
|||
|
vertical-align: -0.0714285705em;
|
|||
|
}
|
|||
|
.svg-inline--fa.fa-lg {
|
|||
|
vertical-align: -0.2em;
|
|||
|
}
|
|||
|
.svg-inline--fa.fa-xl {
|
|||
|
vertical-align: -0.25em;
|
|||
|
}
|
|||
|
.svg-inline--fa.fa-2xl {
|
|||
|
vertical-align: -0.3125em;
|
|||
|
}
|
|||
|
.svg-inline--fa.fa-pull-left {
|
|||
|
margin-right: var(--fa-pull-margin, 0.3em);
|
|||
|
width: auto;
|
|||
|
}
|
|||
|
.svg-inline--fa.fa-pull-right {
|
|||
|
margin-left: var(--fa-pull-margin, 0.3em);
|
|||
|
width: auto;
|
|||
|
}
|
|||
|
.svg-inline--fa.fa-li {
|
|||
|
width: var(--fa-li-width, 2em);
|
|||
|
top: 0.25em;
|
|||
|
}
|
|||
|
.svg-inline--fa.fa-fw {
|
|||
|
width: var(--fa-fw-width, 1.25em);
|
|||
|
}
|
|||
|
|
|||
|
.fa-layers svg.svg-inline--fa {
|
|||
|
bottom: 0;
|
|||
|
left: 0;
|
|||
|
margin: auto;
|
|||
|
position: absolute;
|
|||
|
right: 0;
|
|||
|
top: 0;
|
|||
|
}
|
|||
|
|
|||
|
.fa-layers-counter, .fa-layers-text {
|
|||
|
display: inline-block;
|
|||
|
position: absolute;
|
|||
|
text-align: center;
|
|||
|
}
|
|||
|
|
|||
|
.fa-layers {
|
|||
|
display: inline-block;
|
|||
|
height: 1em;
|
|||
|
position: relative;
|
|||
|
text-align: center;
|
|||
|
vertical-align: -0.125em;
|
|||
|
width: 1em;
|
|||
|
}
|
|||
|
.fa-layers svg.svg-inline--fa {
|
|||
|
transform-origin: center center;
|
|||
|
}
|
|||
|
|
|||
|
.fa-layers-text {
|
|||
|
left: 50%;
|
|||
|
top: 50%;
|
|||
|
transform: translate(-50%, -50%);
|
|||
|
transform-origin: center center;
|
|||
|
}
|
|||
|
|
|||
|
.fa-layers-counter {
|
|||
|
background-color: var(--fa-counter-background-color, #ff253a);
|
|||
|
border-radius: var(--fa-counter-border-radius, 1em);
|
|||
|
box-sizing: border-box;
|
|||
|
color: var(--fa-inverse, #fff);
|
|||
|
line-height: var(--fa-counter-line-height, 1);
|
|||
|
max-width: var(--fa-counter-max-width, 5em);
|
|||
|
min-width: var(--fa-counter-min-width, 1.5em);
|
|||
|
overflow: hidden;
|
|||
|
padding: var(--fa-counter-padding, 0.25em 0.5em);
|
|||
|
right: var(--fa-right, 0);
|
|||
|
text-overflow: ellipsis;
|
|||
|
top: var(--fa-top, 0);
|
|||
|
transform: scale(var(--fa-counter-scale, 0.25));
|
|||
|
transform-origin: top right;
|
|||
|
}
|
|||
|
|
|||
|
.fa-layers-bottom-right {
|
|||
|
bottom: var(--fa-bottom, 0);
|
|||
|
right: var(--fa-right, 0);
|
|||
|
top: auto;
|
|||
|
transform: scale(var(--fa-layers-scale, 0.25));
|
|||
|
transform-origin: bottom right;
|
|||
|
}
|
|||
|
|
|||
|
.fa-layers-bottom-left {
|
|||
|
bottom: var(--fa-bottom, 0);
|
|||
|
left: var(--fa-left, 0);
|
|||
|
right: auto;
|
|||
|
top: auto;
|
|||
|
transform: scale(var(--fa-layers-scale, 0.25));
|
|||
|
transform-origin: bottom left;
|
|||
|
}
|
|||
|
|
|||
|
.fa-layers-top-right {
|
|||
|
top: var(--fa-top, 0);
|
|||
|
right: var(--fa-right, 0);
|
|||
|
transform: scale(var(--fa-layers-scale, 0.25));
|
|||
|
transform-origin: top right;
|
|||
|
}
|
|||
|
|
|||
|
.fa-layers-top-left {
|
|||
|
left: var(--fa-left, 0);
|
|||
|
right: auto;
|
|||
|
top: var(--fa-top, 0);
|
|||
|
transform: scale(var(--fa-layers-scale, 0.25));
|
|||
|
transform-origin: top left;
|
|||
|
}
|
|||
|
|
|||
|
.fa-1x {
|
|||
|
font-size: 1em;
|
|||
|
}
|
|||
|
|
|||
|
.fa-2x {
|
|||
|
font-size: 2em;
|
|||
|
}
|
|||
|
|
|||
|
.fa-3x {
|
|||
|
font-size: 3em;
|
|||
|
}
|
|||
|
|
|||
|
.fa-4x {
|
|||
|
font-size: 4em;
|
|||
|
}
|
|||
|
|
|||
|
.fa-5x {
|
|||
|
font-size: 5em;
|
|||
|
}
|
|||
|
|
|||
|
.fa-6x {
|
|||
|
font-size: 6em;
|
|||
|
}
|
|||
|
|
|||
|
.fa-7x {
|
|||
|
font-size: 7em;
|
|||
|
}
|
|||
|
|
|||
|
.fa-8x {
|
|||
|
font-size: 8em;
|
|||
|
}
|
|||
|
|
|||
|
.fa-9x {
|
|||
|
font-size: 9em;
|
|||
|
}
|
|||
|
|
|||
|
.fa-10x {
|
|||
|
font-size: 10em;
|
|||
|
}
|
|||
|
|
|||
|
.fa-2xs {
|
|||
|
font-size: 0.625em;
|
|||
|
line-height: 0.1em;
|
|||
|
vertical-align: 0.225em;
|
|||
|
}
|
|||
|
|
|||
|
.fa-xs {
|
|||
|
font-size: 0.75em;
|
|||
|
line-height: 0.0833333337em;
|
|||
|
vertical-align: 0.125em;
|
|||
|
}
|
|||
|
|
|||
|
.fa-sm {
|
|||
|
font-size: 0.875em;
|
|||
|
line-height: 0.0714285718em;
|
|||
|
vertical-align: 0.0535714295em;
|
|||
|
}
|
|||
|
|
|||
|
.fa-lg {
|
|||
|
font-size: 1.25em;
|
|||
|
line-height: 0.05em;
|
|||
|
vertical-align: -0.075em;
|
|||
|
}
|
|||
|
|
|||
|
.fa-xl {
|
|||
|
font-size: 1.5em;
|
|||
|
line-height: 0.0416666682em;
|
|||
|
vertical-align: -0.125em;
|
|||
|
}
|
|||
|
|
|||
|
.fa-2xl {
|
|||
|
font-size: 2em;
|
|||
|
line-height: 0.03125em;
|
|||
|
vertical-align: -0.1875em;
|
|||
|
}
|
|||
|
|
|||
|
.fa-fw {
|
|||
|
text-align: center;
|
|||
|
width: 1.25em;
|
|||
|
}
|
|||
|
|
|||
|
.fa-ul {
|
|||
|
list-style-type: none;
|
|||
|
margin-left: var(--fa-li-margin, 2.5em);
|
|||
|
padding-left: 0;
|
|||
|
}
|
|||
|
.fa-ul > li {
|
|||
|
position: relative;
|
|||
|
}
|
|||
|
|
|||
|
.fa-li {
|
|||
|
left: calc(-1 * var(--fa-li-width, 2em));
|
|||
|
position: absolute;
|
|||
|
text-align: center;
|
|||
|
width: var(--fa-li-width, 2em);
|
|||
|
line-height: inherit;
|
|||
|
}
|
|||
|
|
|||
|
.fa-border {
|
|||
|
border-color: var(--fa-border-color, #eee);
|
|||
|
border-radius: var(--fa-border-radius, 0.1em);
|
|||
|
border-style: var(--fa-border-style, solid);
|
|||
|
border-width: var(--fa-border-width, 0.08em);
|
|||
|
padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
|
|||
|
}
|
|||
|
|
|||
|
.fa-pull-left {
|
|||
|
float: left;
|
|||
|
margin-right: var(--fa-pull-margin, 0.3em);
|
|||
|
}
|
|||
|
|
|||
|
.fa-pull-right {
|
|||
|
float: right;
|
|||
|
margin-left: var(--fa-pull-margin, 0.3em);
|
|||
|
}
|
|||
|
|
|||
|
.fa-beat {
|
|||
|
animation-name: fa-beat;
|
|||
|
animation-delay: var(--fa-animation-delay, 0s);
|
|||
|
animation-direction: var(--fa-animation-direction, normal);
|
|||
|
animation-duration: var(--fa-animation-duration, 1s);
|
|||
|
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|||
|
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|||
|
}
|
|||
|
|
|||
|
.fa-bounce {
|
|||
|
animation-name: fa-bounce;
|
|||
|
animation-delay: var(--fa-animation-delay, 0s);
|
|||
|
animation-direction: var(--fa-animation-direction, normal);
|
|||
|
animation-duration: var(--fa-animation-duration, 1s);
|
|||
|
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|||
|
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
|||
|
}
|
|||
|
|
|||
|
.fa-fade {
|
|||
|
animation-name: fa-fade;
|
|||
|
animation-delay: var(--fa-animation-delay, 0s);
|
|||
|
animation-direction: var(--fa-animation-direction, normal);
|
|||
|
animation-duration: var(--fa-animation-duration, 1s);
|
|||
|
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|||
|
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|||
|
}
|
|||
|
|
|||
|
.fa-beat-fade {
|
|||
|
animation-name: fa-beat-fade;
|
|||
|
animation-delay: var(--fa-animation-delay, 0s);
|
|||
|
animation-direction: var(--fa-animation-direction, normal);
|
|||
|
animation-duration: var(--fa-animation-duration, 1s);
|
|||
|
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|||
|
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|||
|
}
|
|||
|
|
|||
|
.fa-flip {
|
|||
|
animation-name: fa-flip;
|
|||
|
animation-delay: var(--fa-animation-delay, 0s);
|
|||
|
animation-direction: var(--fa-animation-direction, normal);
|
|||
|
animation-duration: var(--fa-animation-duration, 1s);
|
|||
|
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|||
|
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|||
|
}
|
|||
|
|
|||
|
.fa-shake {
|
|||
|
animation-name: fa-shake;
|
|||
|
animation-delay: var(--fa-animation-delay, 0s);
|
|||
|
animation-direction: var(--fa-animation-direction, normal);
|
|||
|
animation-duration: var(--fa-animation-duration, 1s);
|
|||
|
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|||
|
animation-timing-function: var(--fa-animation-timing, linear);
|
|||
|
}
|
|||
|
|
|||
|
.fa-spin {
|
|||
|
animation-name: fa-spin;
|
|||
|
animation-delay: var(--fa-animation-delay, 0s);
|
|||
|
animation-direction: var(--fa-animation-direction, normal);
|
|||
|
animation-duration: var(--fa-animation-duration, 2s);
|
|||
|
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|||
|
animation-timing-function: var(--fa-animation-timing, linear);
|
|||
|
}
|
|||
|
|
|||
|
.fa-spin-reverse {
|
|||
|
--fa-animation-direction: reverse;
|
|||
|
}
|
|||
|
|
|||
|
.fa-pulse,
|
|||
|
.fa-spin-pulse {
|
|||
|
animation-name: fa-spin;
|
|||
|
animation-direction: var(--fa-animation-direction, normal);
|
|||
|
animation-duration: var(--fa-animation-duration, 1s);
|
|||
|
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|||
|
animation-timing-function: var(--fa-animation-timing, steps(8));
|
|||
|
}
|
|||
|
|
|||
|
@media (prefers-reduced-motion: reduce) {
|
|||
|
.fa-beat,
|
|||
|
.fa-bounce,
|
|||
|
.fa-fade,
|
|||
|
.fa-beat-fade,
|
|||
|
.fa-flip,
|
|||
|
.fa-pulse,
|
|||
|
.fa-shake,
|
|||
|
.fa-spin,
|
|||
|
.fa-spin-pulse {
|
|||
|
animation-delay: -1ms;
|
|||
|
animation-duration: 1ms;
|
|||
|
animation-iteration-count: 1;
|
|||
|
transition-delay: 0s;
|
|||
|
transition-duration: 0s;
|
|||
|
}
|
|||
|
}
|
|||
|
@keyframes fa-beat {
|
|||
|
0%, 90% {
|
|||
|
transform: scale(1);
|
|||
|
}
|
|||
|
45% {
|
|||
|
transform: scale(var(--fa-beat-scale, 1.25));
|
|||
|
}
|
|||
|
}
|
|||
|
@keyframes fa-bounce {
|
|||
|
0% {
|
|||
|
transform: scale(1, 1) translateY(0);
|
|||
|
}
|
|||
|
10% {
|
|||
|
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|||
|
}
|
|||
|
30% {
|
|||
|
transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
|
|||
|
}
|
|||
|
50% {
|
|||
|
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|||
|
}
|
|||
|
57% {
|
|||
|
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|||
|
}
|
|||
|
64% {
|
|||
|
transform: scale(1, 1) translateY(0);
|
|||
|
}
|
|||
|
100% {
|
|||
|
transform: scale(1, 1) translateY(0);
|
|||
|
}
|
|||
|
}
|
|||
|
@keyframes fa-fade {
|
|||
|
50% {
|
|||
|
opacity: var(--fa-fade-opacity, 0.4);
|
|||
|
}
|
|||
|
}
|
|||
|
@keyframes fa-beat-fade {
|
|||
|
0%, 100% {
|
|||
|
opacity: var(--fa-beat-fade-opacity, 0.4);
|
|||
|
transform: scale(1);
|
|||
|
}
|
|||
|
50% {
|
|||
|
opacity: 1;
|
|||
|
transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|||
|
}
|
|||
|
}
|
|||
|
@keyframes fa-flip {
|
|||
|
50% {
|
|||
|
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|||
|
}
|
|||
|
}
|
|||
|
@keyframes fa-shake {
|
|||
|
0% {
|
|||
|
transform: rotate(-15deg);
|
|||
|
}
|
|||
|
4% {
|
|||
|
transform: rotate(15deg);
|
|||
|
}
|
|||
|
8%, 24% {
|
|||
|
transform: rotate(-18deg);
|
|||
|
}
|
|||
|
12%, 28% {
|
|||
|
transform: rotate(18deg);
|
|||
|
}
|
|||
|
16% {
|
|||
|
transform: rotate(-22deg);
|
|||
|
}
|
|||
|
20% {
|
|||
|
transform: rotate(22deg);
|
|||
|
}
|
|||
|
32% {
|
|||
|
transform: rotate(-12deg);
|
|||
|
}
|
|||
|
36% {
|
|||
|
transform: rotate(12deg);
|
|||
|
}
|
|||
|
40%, 100% {
|
|||
|
transform: rotate(0deg);
|
|||
|
}
|
|||
|
}
|
|||
|
@keyframes fa-spin {
|
|||
|
0% {
|
|||
|
transform: rotate(0deg);
|
|||
|
}
|
|||
|
100% {
|
|||
|
transform: rotate(360deg);
|
|||
|
}
|
|||
|
}
|
|||
|
.fa-rotate-90 {
|
|||
|
transform: rotate(90deg);
|
|||
|
}
|
|||
|
|
|||
|
.fa-rotate-180 {
|
|||
|
transform: rotate(180deg);
|
|||
|
}
|
|||
|
|
|||
|
.fa-rotate-270 {
|
|||
|
transform: rotate(270deg);
|
|||
|
}
|
|||
|
|
|||
|
.fa-flip-horizontal {
|
|||
|
transform: scale(-1, 1);
|
|||
|
}
|
|||
|
|
|||
|
.fa-flip-vertical {
|
|||
|
transform: scale(1, -1);
|
|||
|
}
|
|||
|
|
|||
|
.fa-flip-both,
|
|||
|
.fa-flip-horizontal.fa-flip-vertical {
|
|||
|
transform: scale(-1, -1);
|
|||
|
}
|
|||
|
|
|||
|
.fa-rotate-by {
|
|||
|
transform: rotate(var(--fa-rotate-angle, 0));
|
|||
|
}
|
|||
|
|
|||
|
.fa-stack {
|
|||
|
display: inline-block;
|
|||
|
vertical-align: middle;
|
|||
|
height: 2em;
|
|||
|
position: relative;
|
|||
|
width: 2.5em;
|
|||
|
}
|
|||
|
|
|||
|
.fa-stack-1x,
|
|||
|
.fa-stack-2x {
|
|||
|
bottom: 0;
|
|||
|
left: 0;
|
|||
|
margin: auto;
|
|||
|
position: absolute;
|
|||
|
right: 0;
|
|||
|
top: 0;
|
|||
|
z-index: var(--fa-stack-z-index, auto);
|
|||
|
}
|
|||
|
|
|||
|
.svg-inline--fa.fa-stack-1x {
|
|||
|
height: 1em;
|
|||
|
width: 1.25em;
|
|||
|
}
|
|||
|
.svg-inline--fa.fa-stack-2x {
|
|||
|
height: 2em;
|
|||
|
width: 2.5em;
|
|||
|
}
|
|||
|
|
|||
|
.fa-inverse {
|
|||
|
color: var(--fa-inverse, #fff);
|
|||
|
}
|
|||
|
|
|||
|
.sr-only,
|
|||
|
.fa-sr-only {
|
|||
|
position: absolute;
|
|||
|
width: 1px;
|
|||
|
height: 1px;
|
|||
|
padding: 0;
|
|||
|
margin: -1px;
|
|||
|
overflow: hidden;
|
|||
|
clip: rect(0, 0, 0, 0);
|
|||
|
white-space: nowrap;
|
|||
|
border-width: 0;
|
|||
|
}
|
|||
|
|
|||
|
.sr-only-focusable:not(:focus),
|
|||
|
.fa-sr-only-focusable:not(:focus) {
|
|||
|
position: absolute;
|
|||
|
width: 1px;
|
|||
|
height: 1px;
|
|||
|
padding: 0;
|
|||
|
margin: -1px;
|
|||
|
overflow: hidden;
|
|||
|
clip: rect(0, 0, 0, 0);
|
|||
|
white-space: nowrap;
|
|||
|
border-width: 0;
|
|||
|
}
|
|||
|
|
|||
|
.svg-inline--fa .fa-primary {
|
|||
|
fill: var(--fa-primary-color, currentColor);
|
|||
|
opacity: var(--fa-primary-opacity, 1);
|
|||
|
}
|
|||
|
|
|||
|
.svg-inline--fa .fa-secondary {
|
|||
|
fill: var(--fa-secondary-color, currentColor);
|
|||
|
opacity: var(--fa-secondary-opacity, 0.4);
|
|||
|
}
|
|||
|
|
|||
|
.svg-inline--fa.fa-swap-opacity .fa-primary {
|
|||
|
opacity: var(--fa-secondary-opacity, 0.4);
|
|||
|
}
|
|||
|
|
|||
|
.svg-inline--fa.fa-swap-opacity .fa-secondary {
|
|||
|
opacity: var(--fa-primary-opacity, 1);
|
|||
|
}
|
|||
|
|
|||
|
.svg-inline--fa mask .fa-primary,
|
|||
|
.svg-inline--fa mask .fa-secondary {
|
|||
|
fill: black;
|
|||
|
}
|
|||
|
|
|||
|
.fad.fa-inverse,
|
|||
|
.fa-duotone.fa-inverse {
|
|||
|
color: var(--fa-inverse, #fff);
|
|||
|
}`;function Y6(){const e=U6,t=z6,n=Ie.cssPrefix,r=Ie.replacementClass;let i=aY;if(n!==e||r!==t){const o=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return i}let iA=!1;function m1(){Ie.autoAddCss&&!iA&&(tY(Y6()),iA=!0)}var sY={mixout(){return{dom:{css:Y6,insertCss:m1}}},hooks(){return{beforeDOMElementCreation(){m1()},beforeI2svg(){m1()}}}};const Vo=Ya||{};Vo[zo]||(Vo[zo]={});Vo[zo].styles||(Vo[zo].styles={});Vo[zo].hooks||(Vo[zo].hooks={});Vo[zo].shims||(Vo[zo].shims=[]);var to=Vo[zo];const Z6=[],X6=function(){jt.removeEventListener("DOMContentLoaded",X6),Wv=1,Z6.map(e=>e())};let Wv=!1;ta&&(Wv=(jt.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(jt.readyState),Wv||jt.addEventListener("DOMContentLoaded",X6));function lY(e){ta&&(Wv?setTimeout(e,0):Z6.push(e))}function np(e){const{tag:t,attributes:n={},children:r=[]}=e;return typeof e=="string"?K6(e):"<".concat(t," ").concat(rY(n),">").concat(r.map(np).join(""),"</").concat(t,">")}function oA(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var v1=function(t,n,r,i){var o=Object.keys(t),a=o.length,s=n,c,l,f;for(r===void 0?(c=1,f=t[o[0]]):(c=0,f=r);c<a;c++)l=o[c],f=s(f,t[l],l,t);return f};function cY(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const o=e.charCodeAt(n++);(o&64512)==56320?t.push(((i&1023)<<10)+(o&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}function Ox(e){const t=cY(e);return t.length===1?t[0].toString(16):null}function uY(e,t){const n=e.length;let r=e.charCodeAt(t),i;return r>=55296&&r<=56319&&n>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function aA(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t},{})}function Sx(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:r=!1}=n,i=aA(t);typeof to.hooks.addPack=="function"&&!r?to.hooks.addPack(e,aA(t)):to.styles[e]={...to.styles[e]||{},...i},e==="fas"&&Sx("fa",t)}const{styles:Is,shims:fY}=to,dY={[Lt]:Object.values(Qs[Lt]),[Ar]:Object.values(Qs[Ar]),[kr]:Object.values(Qs[kr])};let sE=null,Q6={},J6={},eI={},tI={},nI={};const hY={[Lt]:Object.keys(Xs[Lt]),[Ar]:Object.keys(Xs[Ar]),[kr]:Object.keys(Xs[kr])};function pY(e){return~XK.indexOf(e)}function mY(e,t){const n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!pY(i)?i:null}const rI=()=>{const e=r=>v1(Is,(i,o,a)=>(i[a]=v1(o,r,{}),i),{});Q6=e((r,i,o)=>(i[3]&&(r[i[3]]=o),i[2]&&i[2].filter(s=>typeof s=="number").forEach(s=>{r[s.toString(16)]=o}),r)),J6=e((r,i,o)=>(r[o]=o,i[2]&&i[2].filter(s=>typeof s=="string").forEach(s=>{r[s]=o}),r)),nI=e((r,i,o)=>{const a=i[2];return r[o]=o,a.forEach(s=>{r[s]=o}),r});const t="far"in Is||Ie.autoFetchSvg,n=v1(fY,(r,i)=>{const o=i[0];let a=i[1];const s=i[2];return a==="far"&&!t&&(a="fas"),typeof o=="string"&&(r.names[o]={prefix:a,iconName:s}),typeof o=="number"&&(r.unicodes[o.toString(16)]={prefix:a,iconName:s}),r},{names:{},unicodes:{}});eI=n.names,tI=n.unicodes,sE=e0(Ie.styleDefault,{family:Ie.familyDefault})};eY(e=>{sE=e0(e.styleDefault,{family:Ie.familyDefault})});rI();function lE(e,t){return(Q6[e]||{})[t]}function vY(e,t){return(J6[e]||{})[t]}function Ta(e,t){return(nI[e]||{})[t]}function iI(e){return eI[e]||{prefix:null,iconName:null}}function gY(e){const t=tI[e],n=lE("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Za(){return sE}const cE=()=>({prefix:null,iconName:null,rest:[]});function e0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:n=Lt}=t,r=Xs[n][e],i=qd[n][e]||qd[n][r],o=e in to.styles?e:null;return i||o||null}const yY={[Lt]:Object.keys(Qs[Lt]),[Ar]:Object.keys(Qs[Ar]),[kr]:Object.keys(Qs[kr])};function t0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:n=!1}=t,r={[Lt]:"".concat(Ie.cssPrefix,"-").concat(Lt),[Ar]:"".concat(Ie.cssPrefi
|
|||
|
`);t.setAttribute(cl,""),t.innerHTML=i}};function fA(e){e()}function lI(e,t){const n=typeof t=="function"?t:tv;if(e.length===0)n();else{let r=fA;Ie.mutateApproach===WK&&(r=Ya.requestAnimationFrame||fA),r(()=>{const i=LY(),o=fE.begin("mutate");e.map(i),o(),n()})}}let dE=!1;function cI(){dE=!0}function Ax(){dE=!1}let Hv=null;function dA(e){if(!eA||!Ie.observeMutations)return;const{treeCallback:t=tv,nodeCallback:n=tv,pseudoElementsCallback:r=tv,observeMutationsRoot:i=jt}=e;Hv=new eA(o=>{if(dE)return;const a=Za();Tu(o).forEach(s=>{if(s.type==="childList"&&s.addedNodes.length>0&&!uA(s.addedNodes[0])&&(Ie.searchPseudoElements&&r(s.target),t(s.target)),s.type==="attributes"&&s.target.parentNode&&Ie.searchPseudoElements&&r(s.target.parentNode),s.type==="attributes"&&uA(s.target)&&~ZK.indexOf(s.attributeName))if(s.attributeName==="class"&&NY(s.target)){const{prefix:c,iconName:l}=t0(oE(s.target));s.target.setAttribute(rE,c||a),l&&s.target.setAttribute(iE,l)}else MY(s.target)&&n(s.target)})}),ta&&Hv.observe(i,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function DY(){Hv&&Hv.disconnect()}function FY(e){const t=e.getAttribute("style");let n=[];return t&&(n=t.split(";").reduce((r,i)=>{const o=i.split(":"),a=o[0],s=o.slice(1);return a&&s.length>0&&(r[a]=s.join(":").trim()),r},{})),n}function BY(e){const t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"";let i=t0(oE(e));return i.prefix||(i.prefix=Za()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=vY(i.prefix,e.innerText)||lE(i.prefix,Ox(e.innerText))),!i.iconName&&Ie.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function UY(e){const t=Tu(e.attributes).reduce((i,o)=>(i.name!=="class"&&i.name!=="style"&&(i[o.name]=o.value),i),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return Ie.autoA11y&&(n?t["aria-labelledby"]="".concat(Ie.replacementClass,"-title-").concat(r||Kd()):(t["aria-hidden"]="true",t.focusable="false")),t}function zY(){return{iconName:null,title:null,titleId:null,prefix:null,transform:eo,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function hA(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:n,prefix:r,rest:i}=BY(e),o=UY(e),a=Ex("parseNodeAttributes",{},e);let s=t.styleParser?FY(e):[];return{iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:eo,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:s,attributes:o},...a}}const{styles:VY}=to;function uI(e){const t=Ie.autoReplaceSvg==="nest"?hA(e,{styleParser:!1}):hA(e);return~t.extra.classes.indexOf(G6)?Xa("generateLayersText",e,t):Xa("generateSvgReplacementMutation",e,t)}let ho=new Set;W6.map(e=>{ho.add("fa-".concat(e))});Object.keys(Xs[Lt]).map(ho.add.bind(ho));Object.keys(Xs[Ar]).map(ho.add.bind(ho));Object.keys(Xs[kr]).map(ho.add.bind(ho));ho=[...ho];function pA(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!ta)return Promise.resolve();const n=jt.documentElement.classList,r=f=>n.add("".concat(rA,"-").concat(f)),i=f=>n.remove("".concat(rA,"-").concat(f)),o=Ie.autoFetchSvg?ho:W6.map(f=>"fa-".concat(f)).concat(Object.keys(VY));o.includes("fa")||o.push("fa");const a=[".".concat(G6,":not([").concat(cl,"])")].concat(o.map(f=>".".concat(f,":not([").concat(cl,"])"))).join(", ");if(a.length===0)return Promise.resolve();let s=[];try{s=Tu(e.querySelectorAll(a))}catch{}if(s.length>0)r("pending"),i("complete");else return Promise.resolve();const c=fE.begin("onTree"),l=s.reduce((f,d)=>{try{const p=uI(d);p&&f.push(p)}catch(p){V6||p.name==="MissingIcon"&&console.error(p)}return f},[]);return new Promise((f,d)=>{Promise.all(l).then(p=>{lI(p,()=>{r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),c(),f()})}).catch(p=>{c(),d(p)})})}function WY(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;uI(e).then(n=>{
|
|||
|
`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function tZ(e){return Promise.all([gA(e,"::before"),gA(e,"::after")])}function nZ(e){return e.parentNode!==document.head&&!~HK.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(bx)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function yA(e){if(ta)return new Promise((t,n)=>{const r=Tu(e.querySelectorAll("*")).filter(nZ).map(tZ),i=fE.begin("searchPseudoElements");cI(),Promise.all(r).then(()=>{i(),Ax(),t()}).catch(()=>{i(),Ax(),n()})})}var rZ={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=yA,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:n=jt}=t;Ie.searchPseudoElements&&yA(n)}}};let bA=!1;var iZ={mixout(){return{dom:{unwatch(){cI(),bA=!0}}}},hooks(){return{bootstrap(){dA(Ex("mutationObserverCallbacks",{}))},noAuto(){DY()},watch(e){const{observeMutationsRoot:t}=e;bA?Ax():dA(Ex("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const _A=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((n,r)=>{const i=r.toLowerCase().split("-"),o=i[0];let a=i.slice(1).join("-");if(o&&a==="h")return n.flipX=!0,n;if(o&&a==="v")return n.flipY=!0,n;if(a=parseFloat(a),isNaN(a))return n;switch(o){case"grow":n.size=n.size+a;break;case"shrink":n.size=n.size-a;break;case"left":n.x=n.x-a;break;case"right":n.x=n.x+a;break;case"up":n.y=n.y-a;break;case"down":n.y=n.y+a;break;case"rotate":n.rotate=n.rotate+a;break}return n},t)};var oZ={mixout(){return{parse:{transform:e=>_A(e)}}},hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-transform");return n&&(e.transform=_A(n)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:n,transform:r,containerWidth:i,iconWidth:o}=t;const a={transform:"translate(".concat(i/2," 256)")},s="translate(".concat(r.x*32,", ").concat(r.y*32,") "),c="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),l="rotate(".concat(r.rotate," 0 0)"),f={transform:"".concat(s," ").concat(c," ").concat(l)},d={transform:"translate(".concat(o/2*-1," -256)")},p={outer:a,inner:f,path:d};return{tag:"g",attributes:{...p.outer},children:[{tag:"g",attributes:{...p.inner},children:[{tag:n.icon.tag,children:n.icon.children,attributes:{...n.icon.attributes,...p.path}}]}]}}}};const y1={x:0,y:0,width:"100%",height:"100%"};function xA(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function aZ(e){return e.tag==="g"?e.children:[e]}var sZ={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-mask"),r=n?t0(n.split(" ").map(i=>i.trim())):cE();return r.prefix||(r.prefix=Za()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:n,attributes:r,main:i,mask:o,maskId:a,transform:s}=t;const{width:c,icon:l}=i,{width:f,icon:d}=o,p=iY({transform:s,containerWidth:f,iconWidth:c}),v={tag:"rect",attributes:{...y1,fill:"white"}},y=l.children?{children:l.children.map(xA)}:{},g={tag:"g",attributes:{...p.inner},children:[xA({tag:l.tag,attributes:{...l.attributes,...p.path},...y})]},x={tag:"g",attributes:{...p.outer},children:[g]},_="mask-".concat(a||Kd()),b="clip-".concat(a||Kd()),w={tag:"mask",attributes:{...y1,id:_,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"},children:[v,x]},S={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:aZ(d)},w]};return n.push(S,{tag:"rect",attributes:{fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(_,")"),...y1}}),{children:n,attributes:r}}}},lZ={provides(e){let t=!1;Ya.matchMedia&&(t=Ya.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const n=[],r={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:{...r,d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function OZ(e){var t,n=e.beat,r=e.fade,i=e.beatFade,o=e.bounce,a=e.shake,s=e.flash,c=e.spin,l=e.spinPulse,f=e.spinReverse,d=e.pulse,p=e.fixedWidth,v=e.inverse,y=e.border,g=e.listItem,x=e.flip,_=e.size,b=e.rotation,w=e.pull,S=(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":o,"fa-shake":a,"fa-flash":s,"fa-spin":c,"fa-spin-reverse":f,"fa-spin-pulse":l,"fa-pulse":d,"fa-fw":p,"fa-inverse":v,"fa-border":y,"fa-li":g,"fa-flip":x===!0,"fa-flip-horizontal":x==="horizontal"||x==="both","fa-flip-vertical":x==="vertical"||x==="both"},bc(t,"fa-".concat(_),typeof _<"u"&&_!==null),bc(t,"fa-rotate-".concat(b),typeof b<"u"&&b!==null&&b!==0),bc(t,"fa-pull-".concat(w),typeof w<"u"&&w!==null),bc(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(S).map(function(E){return S[E]?E:null}).filter(function(E){return E})}function SZ(e){return e=e-0,e===e}function pI(e){return SZ(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var EZ=["style"];function CZ(e){return e.charAt(0).toUpperCase()+e.slice(1)}function PZ(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),i=pI(n.slice(0,r)),o=n.slice(r+1).trim();return i.startsWith("webkit")?t[CZ(i)]=o:t[i]=o,t},{})}function mI(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var r=(t.children||[]).map(function(c){return mI(e,c)}),i=Object.keys(t.attributes||{}).reduce(function(c,l){var f=t.attributes[l];switch(l){case"class":c.attrs.className=f,delete t.attributes.class;break;case"style":c.attrs.style=PZ(f);break;default:l.indexOf("aria-")===0||l.indexOf("data-")===0?c.attrs[l.toLowerCase()]=f:c.attrs[pI(l)]=f}return c},{attrs:{}}),o=n.style,a=o===void 0?{}:o,s=yZ(n,EZ);return i.attrs.style=Qi(Qi({},i.attrs.style),a),e.apply(void 0,[t.tag,Qi(Qi({},i.attrs),s)].concat(Mx(r)))}var vI=!1;try{vI=!0}catch{}function TZ(){if(!vI&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function OA(e){if(e&&Gv(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Nx.icon)return Nx.icon(e);if(e===null)return null;if(e&&Gv(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function b1(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?bc({},e,t):{}}var SA={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},je=V.forwardRef(function(e,t){var n=Qi(Qi({},SA),e),r=n.icon,i=n.mask,o=n.symbol,a=n.className,s=n.title,c=n.titleId,l=n.maskId,f=OA(r),d=b1("classes",[].concat(Mx(OZ(n)),Mx((a||"").split(" ")))),p=b1("transform",typeof n.transform=="string"?Nx.transform(n.transform):n.transform),v=b1("mask",OA(i)),y=fZ(f,Qi(Qi(Qi(Qi({},d),p),v),{},{symbol:o,title:s,titleId:c,maskId:l}));if(!y)return TZ("Could not find icon",f),null;var g=y.abstract,x={ref:t};return Object.keys(n).forEach(function(_){SA.hasOwnProperty(_)||(x[_]=n[_])}),jZ(g[0],x)});je.displayName="FontAwesomeIcon";je.propTypes={beat:$.bool,border:$.bool,beatFade:$.bool,bounce:$.bool,className:$.string,fade:$.bool,flash:$.bool,mask:$.oneOfType([$.object,$.array,$.string]),maskId:$.string,fixedWidth:$.bool,inverse:$.bool,flip:$.oneOf([!0,!1,"horizontal","vertical","both"]),icon:$.oneOfType([$.object,$.array,$.string]),listItem:$.bool,pull:$.oneOf(["right","left"]),pulse:$.bool,rotation:$.oneOf([0,90,180,270]),shake:$.bool,size:$.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:$.bool,spinPulse:$.bool,spinReverse:$.bool,symbol:$.oneOfType([$.bool,$.string]),title:$.string,titleId:$.string,transform:$.oneOfType([$.string,$.object]),swap
|
|||
|
Copyright (c) 2018 Jed Watson.
|
|||
|
Licensed under the MIT License (MIT), see
|
|||
|
http://jedwatson.github.io/classnames
|
|||
|
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r=[],i=0;i<arguments.length;i++){var o=arguments[i];if(o){var a=typeof o;if(a==="string"||a==="number")r.push(o);else if(Array.isArray(o)){if(o.length){var s=n.apply(null,o);s&&r.push(s)}}else if(a==="object"){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){r.push(o.toString());continue}for(var c in o)t.call(o,c)&&o[c]&&r.push(c)}}}return r.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(yI);var AZ=yI.exports;const He=at(AZ);function EA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function kZ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?EA(Object(n),!0).forEach(function(r){NZ(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):EA(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function NZ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fl(e){"@babel/helpers - typeof";return fl=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},fl(e)}function MZ(){var e=document.createElement("div");e.style.position="absolute",e.style.top="-9999px",e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}function bI(e){document.body.style.paddingRight=e>0?"".concat(e,"px"):null}function LZ(){return document.body.clientWidth<window.innerWidth}function RZ(){var e=window.getComputedStyle(document.body,null);return parseInt(e&&e.getPropertyValue("padding-right")||0,10)}function $Z(){var e=MZ(),t=document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")[0],n=t?parseInt(t.style.paddingRight||0,10):0;LZ()&&bI(n+e)}var IZ;function Be(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:IZ;return t?e.split(" ").map(function(n){return t[n]||n}).join(" "):e}function as(e,t){var n={};return Object.keys(e).forEach(function(r){t.indexOf(r)===-1&&(n[r]=e[r])}),n}function _I(e,t){for(var n=Array.isArray(t)?t:[t],r=n.length,i,o={};r>0;)r-=1,i=n[r],o[i]=e[i];return o}var CA={};function Rx(e){CA[e]||(typeof console<"u"&&console.error(e),CA[e]=!0)}function xI(e,t){return function(r,i,o){r[i]!==null&&typeof r[i]<"u"&&Rx('"'.concat(i,'" property of "').concat(o,`" has been deprecated.
|
|||
|
`).concat(t));for(var a=arguments.length,s=new Array(a>3?a-3:0),c=3;c<a;c++)s[c-3]=arguments[c];return e.apply(void 0,[r,i,o].concat(s))}}var DZ=(typeof window>"u"?"undefined":fl(window))==="object"&&window.Element||function(){};function hE(e,t,n){if(!(e[t]instanceof DZ))return new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Expected prop to be an instance of Element. Validation failed.")}var qc=$.oneOfType([$.string,$.func,hE,$.shape({current:$.any})]),it=$.oneOfType([$.func,$.string,$.shape({$$typeof:$.symbol,render:$.func}),$.arrayOf($.oneOfType([$.func,$.string,$.shape({$$typeof:$.symbol,render:$.func})]))]),qv={Fade:150,Collapse:350,Modal:300,Carousel:600,Offcanvas:300},Kv=["in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],mm={ENTERING:"entering",ENTERED:"entered",EXITING:"exiting",EXITED:"exited"},ht={esc:27,space:32,enter:13,tab:9,up:38,down:40,home:36,end:35,n:78,p:80},FZ=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],pE=!!(typeof window<"u"&&window.document&&window.document.createElement);function BZ(e){return e&&fl(e)==="object"?"current"in e:!1}function wI(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function $x(e){var t=fl(e);return e!=null&&(t==="object"||t==="function")}function PA(e){var t=fl(e),n=NaN;if(t==="number")return e;if(t==="symbol"||t==="object"&&wI(e)==="[object Symbol]")return n;if($x(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=$x(r)?"".concat(r):r}if(t!=="string")return e===0?e:+e;e=e.replace(/^\s+|\s+$/g,"");var i=/^0b[01]+$/i.test(e);return i||/^0o[0-7]+$/i.test(e)?parseInt(e.slice(2),i?2:8):/^[-+]0x[0-9a-f]+$/i.test(e)?n:+e}function UZ(e){if(!$x(e))return!1;var t=wI(e);return t==="[object Function]"||t==="[object AsyncFunction]"||t==="[object GeneratorFunction]"||t==="[object Proxy]"}function zZ(e){if(BZ(e))return e.current;if(UZ(e))return e();if(typeof e=="string"&&pE){var t=document.querySelectorAll(e);if(t.length||(t=document.querySelectorAll("#".concat(e))),!t.length)throw new Error("The target '".concat(e,"' could not be identified in the dom, tip: check spelling"));return t}return e}function TA(e){return e===null?!1:Array.isArray(e)||pE&&typeof e.length=="number"}function Yd(e,t){var n=zZ(e);return t?TA(n)?n:n===null?[]:[n]:TA(n)?n[0]:n}var VZ=["a[href]","area[href]","input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","object","embed","[tabindex]:not(.modal):not(.offcanvas)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'];function mE(e,t){if(!e||!t)return t;var n=kZ({},t);return Object.keys(e).forEach(function(r){n[r]===void 0&&(n[r]=e[r]),Object.keys(e[r]||{}).length>0&&fl(e[r])==="object"&&mE(e[r],n)}),n}var WZ=["className","cssModule","noGutters","tag","widths"];function Ix(){return Ix=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ix.apply(this,arguments)}function HZ(e,t){if(e==null)return{};var n=GZ(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function GZ(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}var qZ=["xs","sm","md","lg","xl","xxl"],Vl=$.oneOfType([$.number,$.string]),KZ={tag:it,noGutters:xI($.bool,"Please use Bootstrap 5 gutter utility classes. https://getbootstrap.com/docs/5.0/layout/gutters/"),className:$.string,cssModule:$.object,xs:Vl,sm:Vl,md:Vl,lg:Vl,xl:Vl,xxl:Vl,widths:$.array};function Kn(e){var t=e.className,n=e.cssModule,r=e.noGutters,i=e.tag,o=i===void 0?"div":i,a=e.widths,s=a===void 0?qZ:a,c=HZ(e,WZ),l=[];s.forEach(funct
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function RJ(e,t){if(e){if(typeof e=="string")return ow(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ow(e,t)}}function $J(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function IJ(e){if(Array.isArray(e))return ow(e)}function ow(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function DJ(e,t){if(e==null)return{};var n=FJ(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function FJ(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function BJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UJ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zJ(e,t,n){return t&&UJ(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function VJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&aw(e,t)}function aw(e,t){return aw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},aw(e,t)}function WJ(e){var t=qJ();return function(){var r=eg(e),i;if(t){var o=eg(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return HJ(this,i)}}function HJ(e,t){if(t&&(iw(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return GJ(e)}function GJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qJ(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function eg(e){return eg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},eg(e)}var KJ={tag:it,children:$.node.isRequired,dark:$.bool,end:$.bool,flip:$.bool,modifiers:$.array,className:$.string,cssModule:$.object,style:$.object,persist:$.bool,strategy:$.string,container:qc,updateOnSelect:$.bool,right:xI($.bool,'Please use "end" instead.')},YJ={up:"top",left:"left",right:"right",start:"left",end:"right",down:"bottom"},cs=function(e){VJ(n,e);var t=WJ(n);function n(){return BJ(this,n),t.apply(this,arguments)}return zJ(n,[{key:"getRole",value:function(){return this.context.menuRole==="listbox"?"listbox":"menu"}},{key:"render",value:function(){var i=this,o=this.props,a=o.className,s=o.cssModule,c=o.dark,l=o.end,f=o.right,d=o.tag,p=d===void 0?"div":d,v=o.flip,y=v===void 0?!0:v,g=o.modifiers,x=g===void 0?[]:g,_=o.persist,b=o.strategy,w=o.container,S=o.updateOnSelect,E=DJ(o,kJ),C=Be(He(a,"dropdown-menu",{"dropdown-menu-dark":c,"dropdown-menu-end":l||f,show:this.context.isOpen}),s),T=p;if(_||this.context.isOpen&&!this.context.inNavbar){var A=YJ[this.context.direction]||"bottom",F=l||f?"end":"start",k="".concat(A,"-").concat(F),I=[].concat(MJ(x),[{name:"flip",enabled:!!y}]),D={};_&&(D.display="block",D.visibility=this.context.isOpen?"visible":"hidden");var q=V.createElement(UI,{placement:k,modifiers:I,strategy:b},function(X){var Q=X.ref,ne=X.style,Z=X.placement,z=X.update,B=x1(x1(x1({},i.props.style),D),ne),H=function(K){Q(K);var te=i.context.onMenuRef;te&&te(K)};return V.createElement(T,Jv({tabIndex:"-1",role:i.get
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rte(e,t){if(e){if(typeof e=="string")return ww(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ww(e,t)}}function ite(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ote(e){if(Array.isArray(e))return ww(e)}function ww(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ate(e,t){if(e==null)return{};var n=ste(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ste(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function lte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cte(e,t,n){return t&&YA(e.prototype,t),n&&YA(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ute(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ow(e,t)}function Ow(e,t){return Ow=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Ow(e,t)}function fte(e){var t=hte();return function(){var r=og(e),i;if(t){var o=og(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return dte(this,i)}}function dte(e,t){if(t&&(_w(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Gf(e)}function Gf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hte(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function og(e){return og=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},og(e)}function ZA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ov(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ZA(Object(n),!0).forEach(function(r){pte(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ZA(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function pte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mte(){}var vte={children:$.oneOfType([$.node,$.func]).isRequired,popperClassName:$.string,placement:$.string,placementPrefix:$.string,arrowClassName:$.string,hideArrow:$.bool,tag:it,isOpen:$.bool,cssModule:$.object,offset:$.arrayOf($.number),fallbackPlacements:$.array,flip:$.bool,container:qc,target:qc.isRequired,modifiers:$.array,strategy:$.string,boundariesElement:$.oneOfType([$.string,hE]),onClosed:$.func,fade:$.bool,transition:$.shape(cr.propTypes)},gte={boundariesElement:"scrollParent",placement:"auto",hideArrow:!1,isOpen:!1,offset:[0,0],flip:!0,container:"body",modifiers:[],onClosed:mte,fade:!0,transition:ov({},cr.defaultProps)},PE=function(e){ute(n,e);var t=fte(n);function n(r){var i;return lte(this,n),i
|
|||
|
* eventsource.js
|
|||
|
* Available under MIT License (MIT)
|
|||
|
* https://github.com/Yaffle/EventSource/
|
|||
|
*/(function(e,t){(function(n){var r=n.setTimeout,i=n.clearTimeout,o=n.XMLHttpRequest,a=n.XDomainRequest,s=n.ActiveXObject,c=n.EventSource,l=n.document,f=n.Promise,d=n.fetch,p=n.Response,v=n.TextDecoder,y=n.TextEncoder,g=n.AbortController;if(typeof window<"u"&&typeof l<"u"&&!("readyState"in l)&&l.body==null&&(l.readyState="loading",window.addEventListener("load",function(se){l.readyState="complete"},!1)),o==null&&s!=null&&(o=function(){return new s("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(se){function pe(){}return pe.prototype=se,new pe}),Date.now||(Date.now=function(){return new Date().getTime()}),g==null){var x=d;d=function(se,pe){var me=pe.signal;return x(se,{headers:pe.headers,credentials:pe.credentials,cache:pe.cache}).then(function(xe){var Te=xe.body.getReader();return me._reader=Te,me._aborted&&me._reader.cancel(),{status:xe.status,statusText:xe.statusText,headers:xe.headers,body:{getReader:function(){return Te}}}})},g=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function _(){this.bitsNeeded=0,this.codePoint=0}_.prototype.decode=function(se){function pe(ye,ge,we){if(we===1)return ye>=128>>ge&&ye<<ge<=2047;if(we===2)return ye>=2048>>ge&&ye<<ge<=55295||ye>=57344>>ge&&ye<<ge<=65535;if(we===3)return ye>=65536>>ge&&ye<<ge<=1114111;throw new Error}function me(ye,ge){if(ye===6*1)return ge>>6>15?3:ge>31?2:1;if(ye===6*2)return ge>15?3:2;if(ye===6*3)return 3;throw new Error}for(var xe=65533,Te="",Pe=this.bitsNeeded,Ae=this.codePoint,le=0;le<se.length;le+=1){var ue=se[le];Pe!==0&&(ue<128||ue>191||!pe(Ae<<6|ue&63,Pe-6,me(Pe,Ae)))&&(Pe=0,Ae=xe,Te+=String.fromCharCode(Ae)),Pe===0?(ue>=0&&ue<=127?(Pe=0,Ae=ue):ue>=192&&ue<=223?(Pe=6*1,Ae=ue&31):ue>=224&&ue<=239?(Pe=6*2,Ae=ue&15):ue>=240&&ue<=247?(Pe=6*3,Ae=ue&7):(Pe=0,Ae=xe),Pe!==0&&!pe(Ae,Pe,me(Pe,Ae))&&(Pe=0,Ae=xe)):(Pe-=6,Ae=Ae<<6|ue&63),Pe===0&&(Ae<=65535?Te+=String.fromCharCode(Ae):(Te+=String.fromCharCode(55296+(Ae-65535-1>>10)),Te+=String.fromCharCode(56320+(Ae-65535-1&1023))))}return this.bitsNeeded=Pe,this.codePoint=Ae,Te};var b=function(){try{return new v().decode(new y().encode("test"),{stream:!0})==="test"}catch(se){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+se)}return!1};(v==null||y==null||!b())&&(v=_);var w=function(){};function S(se){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=w,this.onload=w,this.onerror=w,this.onreadystatechange=w,this._contentType="",this._xhr=se,this._sendTimeout=0,this._abort=w}S.prototype.open=function(se,pe){this._abort(!0);var me=this,xe=this._xhr,Te=1,Pe=0;this._abort=function(we){me._sendTimeout!==0&&(i(me._sendTimeout),me._sendTimeout=0),(Te===1||Te===2||Te===3)&&(Te=4,xe.onload=w,xe.onerror=w,xe.onabort=w,xe.onprogress=w,xe.onreadystatechange=w,xe.abort(),Pe!==0&&(i(Pe),Pe=0),we||(me.readyState=4,me.onabort(null),me.onreadystatechange())),Te=0};var Ae=function(){if(Te===1){var we=0,ke="",Me=void 0;if("contentType"in xe)we=200,ke="OK",Me=xe.contentType;else try{we=xe.status,ke=xe.statusText,Me=xe.getResponseHeader("Content-Type")}catch{we=0,ke="",Me=void 0}we!==0&&(Te=2,me.readyState=2,me.status=we,me.statusText=ke,me._contentType=Me,me.onreadystatechange())}},le=function(){if(Ae(),Te===2||Te===3){Te=3;var we="";try{we=xe.responseText}catch{}me.readyState=3,me.responseText=we,me.onprogress()}},ue=function(we,ke){if((ke==null||ke.preventDefault==null)&&(ke={preventDefault:w}),le(),Te===1||Te===2||Te===3){if(Te=4,Pe!==0&&(i(Pe),Pe=0),me.readyState=4,we==="load")me.onload(ke);else if(we==="error")me.onerror(ke);else if(we==="abort")me.onabort(ke);else throw new TypeError;me.onreadystatechange()}},ye=function(we){xe!=null&&(xe.readyState===4?(!("onload"in xe)||!("onerror"in xe)||!("onabort"in xe))&&ue(xe.responseText===""?"error":"load",we):xe.readyState===3?"onprogress"in xe||le():xe.readyState===2&&Ae())},ge=function(){Pe=r(function(){ge()},500),xe.readyState===3&&le()};"onload"in xe&&(xe.onloa
|
|||
|
`),xe=0;xe<me.length;xe+=1){var Te=me[xe],Pe=Te.split(": "),Ae=Pe.shift(),le=Pe.join(": ");pe[E(Ae)]=le}this._map=pe}C.prototype.get=function(se){return this._map[E(se)]},o!=null&&o.HEADERS_RECEIVED==null&&(o.HEADERS_RECEIVED=2);function T(){}T.prototype.open=function(se,pe,me,xe,Te,Pe,Ae){se.open("GET",Te);var le=0;se.onprogress=function(){var ye=se.responseText,ge=ye.slice(le);le+=ge.length,me(ge)},se.onerror=function(ye){ye.preventDefault(),xe(new Error("NetworkError"))},se.onload=function(){xe(null)},se.onabort=function(){xe(null)},se.onreadystatechange=function(){if(se.readyState===o.HEADERS_RECEIVED){var ye=se.status,ge=se.statusText,we=se.getResponseHeader("Content-Type"),ke=se.getAllResponseHeaders();pe(ye,ge,we,new C(ke))}},se.withCredentials=Pe;for(var ue in Ae)Object.prototype.hasOwnProperty.call(Ae,ue)&&se.setRequestHeader(ue,Ae[ue]);return se.send(),se};function A(se){this._headers=se}A.prototype.get=function(se){return this._headers.get(se)};function F(){}F.prototype.open=function(se,pe,me,xe,Te,Pe,Ae){var le=null,ue=new g,ye=ue.signal,ge=new v;return d(Te,{headers:Ae,credentials:Pe?"include":"same-origin",signal:ye,cache:"no-store"}).then(function(we){return le=we.body.getReader(),pe(we.status,we.statusText,we.headers.get("Content-Type"),new A(we.headers)),new f(function(ke,Me){var Qe=function(){le.read().then(function(et){if(et.done)ke(void 0);else{var Ke=ge.decode(et.value,{stream:!0});me(Ke),Qe()}}).catch(function(et){Me(et)})};Qe()})}).catch(function(we){if(we.name!=="AbortError")return we}).then(function(we){xe(we)}),{abort:function(){le!=null&&le.cancel(),ue.abort()}}};function k(){this._listeners=Object.create(null)}function I(se){r(function(){throw se},0)}k.prototype.dispatchEvent=function(se){se.target=this;var pe=this._listeners[se.type];if(pe!=null)for(var me=pe.length,xe=0;xe<me;xe+=1){var Te=pe[xe];try{typeof Te.handleEvent=="function"?Te.handleEvent(se):Te.call(this,se)}catch(Pe){I(Pe)}}},k.prototype.addEventListener=function(se,pe){se=String(se);var me=this._listeners,xe=me[se];xe==null&&(xe=[],me[se]=xe);for(var Te=!1,Pe=0;Pe<xe.length;Pe+=1)xe[Pe]===pe&&(Te=!0);Te||xe.push(pe)},k.prototype.removeEventListener=function(se,pe){se=String(se);var me=this._listeners,xe=me[se];if(xe!=null){for(var Te=[],Pe=0;Pe<xe.length;Pe+=1)xe[Pe]!==pe&&Te.push(xe[Pe]);Te.length===0?delete me[se]:me[se]=Te}};function D(se){this.type=se,this.target=void 0}function q(se,pe){D.call(this,se),this.data=pe.data,this.lastEventId=pe.lastEventId}q.prototype=Object.create(D.prototype);function W(se,pe){D.call(this,se),this.status=pe.status,this.statusText=pe.statusText,this.headers=pe.headers}W.prototype=Object.create(D.prototype);function X(se,pe){D.call(this,se),this.error=pe.error}X.prototype=Object.create(D.prototype);var Q=-1,ne=0,Z=1,z=2,B=-1,H=0,ee=1,K=2,te=3,ie=/^text\/event\-stream(;.*)?$/i,ae=1e3,fe=18e6,j=function(se,pe){var me=se==null?pe:parseInt(se,10);return me!==me&&(me=pe),N(me)},N=function(se){return Math.min(Math.max(se,ae),fe)},U=function(se,pe,me){try{typeof pe=="function"&&pe.call(se,me)}catch(xe){I(xe)}};function J(se,pe){k.call(this),pe=pe||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,he(this,se,pe)}function Y(){return o!=null&&"withCredentials"in o.prototype||a==null?new o:new a}var oe=d!=null&&p!=null&&"body"in p.prototype;function he(se,pe,me){pe=String(pe);var xe=!!me.withCredentials,Te=me.lastEventIdQueryParameterName||"lastEventId",Pe=N(1e3),Ae=j(me.heartbeatTimeout,45e3),le="",ue=Pe,ye=!1,ge=0,we=me.headers||{},ke=me.Transport,Me=oe&&ke==null?void 0:new S(ke!=null?new ke:Y()),Qe=ke!=null&&typeof ke!="string"?new ke:Me==null?new F:new T,et=void 0,Ke=0,Ht=Q,Dt="",dn="",zn="",Vi="",On=H,ef=0,Wi=0,Ap=function(Jt,Kt,Vn,Sn){if(Ht===ne)if(Jt===200&&Vn!=null&&ie.test(Vn)){Ht=Z,ye=Date.now(),ue=Pe,se.readyState=Z;var En=new W("open",{status:Jt,statusText:Kt,headers:Sn});se.dispatchEvent(En),U(se,se.onopen,En)}else{var on="";Jt!==200?(Kt&&(Kt=Kt.replace(/\s+/g," ")),on="Even
|
|||
|
`,Dt+=gi):vi==="id"?dn=gi:vi==="event"?zn=gi:vi==="retry"?(Pe=j(gi,Pe),ue=Pe):vi==="heartbeatTimeout"&&(Ae=j(gi,Ae),Ke!==0&&(i(Ke),Ke=r(function(){gs()},Ae)))}if(On===H){if(Dt!==""){le=dn,zn===""&&(zn="message");var Cn=new q(zn,{data:Dt.slice(1),lastEventId:dn});if(se.dispatchEvent(Cn),zn==="open"?U(se,se.onopen,Cn):zn==="message"?U(se,se.onmessage,Cn):zn==="error"&&U(se,se.onerror,Cn),Ht===z)return}Dt="",zn=""}On=Sn===13?B:H}else On===H&&(ef=on,On=ee),On===ee?Sn===58&&(Wi=on+1,On=K):On===K&&(On=te)}}},Np=function(Jt){if(Ht===Z||Ht===ne){Ht=Q,Ke!==0&&(i(Ke),Ke=0),Ke=r(function(){gs()},ue),ue=N(Math.min(Pe*16,ue*2)),se.readyState=ne;var Kt=new X("error",{error:Jt});se.dispatchEvent(Kt),U(se,se.onerror,Kt),Jt!=null&&console.error(Jt)}},tf=function(){Ht=z,et!=null&&(et.abort(),et=void 0),Ke!==0&&(i(Ke),Ke=0),se.readyState=z},gs=function(){if(Ke=0,Ht!==Q){if(!ye&&et!=null)Np(new Error("No activity within "+Ae+" milliseconds. "+(Ht===ne?"No response received.":ge+" chars received.")+" Reconnecting.")),et!=null&&(et.abort(),et=void 0);else{var Jt=Math.max((ye||Date.now())+Ae-Date.now(),1);ye=!1,Ke=r(function(){gs()},Jt)}return}ye=!1,ge=0,Ke=r(function(){gs()},Ae),Ht=ne,Dt="",zn="",dn=le,Vi="",ef=0,Wi=0,On=H;var Kt=pe;if(pe.slice(0,5)!=="data:"&&pe.slice(0,5)!=="blob:"&&le!==""){var Vn=pe.indexOf("?");Kt=Vn===-1?pe:pe.slice(0,Vn+1)+pe.slice(Vn+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(gi,Cn){return Cn===Te?"":gi}),Kt+=(pe.indexOf("?")===-1?"?":"&")+Te+"="+encodeURIComponent(le)}var Sn=se.withCredentials,En={};En.Accept="text/event-stream";var on=se.headers;if(on!=null)for(var vi in on)Object.prototype.hasOwnProperty.call(on,vi)&&(En[vi]=on[vi]);try{et=Qe.open(Me,Ap,kp,Np,Kt,Sn,En)}catch(gi){throw tf(),gi}};se.url=pe,se.readyState=ne,se.withCredentials=xe,se.headers=we,se._close=tf,gs()}J.prototype=Object.create(k.prototype),J.prototype.CONNECTING=ne,J.prototype.OPEN=Z,J.prototype.CLOSED=z,J.prototype.close=function(){this._close()},J.CONNECTING=ne,J.OPEN=Z,J.CLOSED=z,J.prototype.withCredentials=void 0;var Se=c;o!=null&&(c==null||!("withCredentials"in c.prototype))&&(Se=J),function(se){{var pe=se(t);pe!==void 0&&(e.exports=pe)}}(function(se){se.EventSourcePolyfill=J,se.NativeEventSource=c,se.EventSource=Se})})(typeof globalThis>"u"?typeof window<"u"?window:typeof self<"u"?self:oc:globalThis)})(a2,a2.exports);var Oae=a2.exports;const za=({children:e})=>m.jsx("small",{className:"form-text text-muted d-block",children:e}),Sae=({toggleRealTimeUpdates:e,setRealTimeUpdatesInterval:t})=>{const{enabled:n,interval:r}=or("realTimeUpdates",{enabled:!0}),i=M.useId();return m.jsxs(yt,{title:"Real-time updates",className:"h-100",children:[m.jsx(hl,{children:m.jsxs(Go,{checked:n,onChange:e,children:["Enable or disable real-time updates.",m.jsxs(za,{children:["Real-time updates are currently being ",m.jsx("b",{children:n?"processed":"ignored"}),"."]})]})}),m.jsxs(ju,{noMargin:!0,label:"Real-time updates frequency (in minutes):",labelClassName:Ee("form-label",{"text-muted":!n}),id:i,children:[m.jsx(Nn,{type:"number",min:0,placeholder:"Immediate",disabled:!n,value:`${r??""}`,id:i,onChange:({target:o})=>t(Number(o.value))}),n&&m.jsx(za,{children:r?m.jsxs("span",{children:["Updates will be reflected in the UI every ",m.jsx("b",{children:r})," minute",r>1&&"s","."]}):"Updates will be reflected in the UI as soon as they happen."})]})]})},A1=e=>e==="includes"?"Suggest tags including input":"Suggest tags starting with input",Eae=e=>e==="includes"?m.jsxs(m.Fragment,{children:["The list of suggested tags will contain those ",m.jsx("b",{children:"including"})," provided input."]}):m.jsxs(m.Fragment,{children:["The list of suggested tags will contain those ",m.jsx("b",{children:"starting with"})," provided input."]}),Cae=({updateShortUrlCreationSettings:e})=>{const t=or("shortUrlCreation",{validateUrls:!1}),n=r=>()=>e({...t??{validateUrls:!1},tagFilteringMode:r});return m.jsxs(yt,{title:"Short URLs form",className:"h-100",bodyClassName:"d-flex flex-column gap-3",children:[m.jsxs(Go,{checked:t.validateUrls??!1,onChange:r=>e({...t,validateUrls:r}),c
|
|||
|
`))}function wse({children:e}){const{classNames:t,comboBoxRef:n,id:r}=M.useContext(_n);return V.createElement("div",{className:t.comboBox,id:Kae(r),ref:n},e)}const Ose=({classNames:e,text:t})=>V.createElement("mark",{className:e.highlight},t);function Sse({option:e,query:t,render:n=Ose}){const{classNames:r}=M.useContext(_n);if(e.value===VE||e.value===WD)return V.createElement(V.Fragment,null,Sg(e.label,t));if(t){const i=ese(e.label,t);if(i){const o=n({text:i[1],classNames:r});return V.createElement(V.Fragment,null,i[0],o,i[2])}}return V.createElement(V.Fragment,null,e.label)}const Ese=V.memo(Sse),Cse=({classNames:e,inputWidth:t,...n})=>V.createElement("input",{className:e.input,style:{width:t},...n});function Pse({allowBackspace:e=!0,allowResize:t=!0,ariaDescribedBy:n,ariaErrorMessage:r,delimiterKeys:i,placeholderText:o,render:a=Cse}){const{classNames:s}=M.useContext(_n),{value:c,...l}=lse({allowBackspace:e,ariaDescribedBy:n,ariaErrorMessage:r,delimiterKeys:i}),f=c.length<o.length?o:c,{width:d,sizerProps:p}=fse({allowResize:t,text:f});return V.createElement(V.Fragment,null,a({classNames:s,inputWidth:d,placeholder:o,value:c,...l}),t?V.createElement("div",{...p},f):null)}const Tse=({children:e,classNames:t,id:n})=>V.createElement("div",{className:t.label,id:n},e);function jse({children:e,render:t=Tse}){const{classNames:n,id:r}=M.useContext(_n);return t({children:e,classNames:n,id:p0(r)})}const Ase=({children:e,classNames:t,...n})=>V.createElement("div",{className:t.listBox,...n},e);function kse({children:e,render:t=Ase}){const{classNames:n,managerRef:r}=M.useContext(_n),i=dse();return!r.current.state.isExpanded||V.Children.count(e)===0?null:t({children:e,classNames:n,...i})}const Nse=({children:e,classNames:t,option:n,...r})=>{const i=[t.option];return n.active&&i.push(t.optionIsActive),V.createElement("div",{className:i.join(" "),...r},e)};function Mse({children:e,index:t,render:n=Nse}){const{classNames:r}=M.useContext(_n),{option:i,optionProps:o}=pse(t);return n({classNames:r,children:e,option:i,...o})}const Lse=({children:e,classNames:t,isActive:n,isDisabled:r,isInvalid:i,...o})=>{const a=[t.root];return n&&a.push(t.rootIsActive),r&&a.push(t.rootIsDisabled),i&&a.push(t.rootIsInvalid),V.createElement("div",{className:a.join(" "),...o},e)};function Rse({children:e,onBlur:t,onFocus:n,render:r=Lse}){const{classNames:i,isDisabled:o,isInvalid:a}=M.useContext(_n),{isActive:s,rootProps:c}=vse({onBlur:t,onFocus:n});return r({children:e,classNames:i,isActive:s,isDisabled:o,isInvalid:a,...c})}const $se=({classNames:e,tag:t,...n})=>V.createElement("button",{type:"button",className:e.tag,...n},V.createElement("span",{className:e.tagName},t.label));function Ise({render:e=$se,index:t,title:n}){const{classNames:r}=M.useContext(_n),{tag:i,tagProps:o}=yse(t,n);return e({classNames:r,tag:i,...o})}const Dse=({children:e,classNames:t,...n})=>V.createElement("ul",{className:t.tagList,...n,role:"list"},V.Children.map(e,r=>{if(V.isValidElement(r))return V.createElement("li",{className:t.tagListItem,key:r.key,role:"listitem"},r)}));function Fse({children:e,label:t,render:n=Dse}){const{classNames:r}=M.useContext(_n),i=bse({label:t});return n({classNames:r,children:e,...i})}const Bse={root:"react-tags",rootIsActive:"is-active",rootIsDisabled:"is-disabled",rootIsInvalid:"is-invalid",label:"react-tags__label",tagList:"react-tags__list",tagListItem:"react-tags__list-item",tag:"react-tags__tag",tagName:"react-tags__tag-name",comboBox:"react-tags__combobox",input:"react-tags__combobox-input",listBox:"react-tags__listbox",option:"react-tags__listbox-option",optionIsActive:"is-active",highlight:"react-tags__listbox-option-highlight"},Use=[Ms.Enter];function zse({activateFirstOption:e=!1,allowBackspace:t=!0,allowNew:n=!1,allowResize:r=!0,ariaAddedText:i="Added tag %value%",ariaDescribedBy:o,ariaErrorMessage:a,ariaDeletedText:s="Removed tag %value%",classNames:c=Bse,collapseOnSelect:l=!1,deleteButtonText:f="Remove %value% from the list",delimiterKeys:d=Use,id:p="react-tags",isDisabled:v=!1,isInvalid:y=!1,labelText:g="Select tags",newOptionText:x="Add %va
|
|||
|
`,n.header=n.header!==!1,n.includeEmptyRows=n.includeEmptyRows||!1,n.withBOM=n.withBOM||!1,n}preprocessFieldsInfo(t,n){return t.map(r=>{if(typeof r=="string")return{label:r,value:i=>R3(i,r,n)};if(typeof r=="object"){const i="default"in r?r.default:n;if(typeof r.value=="string"){const o=r.value;return{label:r.label||r.value,value:a=>R3(a,o,i)}}if(typeof r.value=="function"){const o=r.label||r.value.name||"",a={label:o,default:i},s=r.value;return{label:o,value(c){const l=s(c,a);return l===void 0?i:l}}}}throw new Error("Invalid field info option. "+JSON.stringify(r))})}getHeader(){return u2(this.opts.fields.map(t=>this.opts.formatters.header(t.label)),this.opts.delimiter)}preprocessRow(t){return this.opts.transforms.reduce((n,r)=>n.map(i=>r(i)).reduce(YD,[]),[t])}processRow(t){if(!t)return;const n=this.opts.fields.map(r=>this.processCell(t,r));if(!(!this.opts.includeEmptyRows&&n.every(r=>r==="")))return u2(n,this.opts.delimiter)}processCell(t,n){return this.processValue(n.value(t))}processValue(t){const n=this.opts.formatters[typeof t];return n(t)}}class ZD extends Yse{constructor(t){super(t)}parse(t){const n=this.preprocessData(t);this.opts.fields=this.opts.fields||this.preprocessFieldsInfo(n.reduce((a,s)=>(Object.keys(s).forEach(c=>{a.includes(c)||a.push(c)}),a),[]),this.opts.defaultValue);const r=this.opts.header?this.getHeader():"",i=this.processData(n);return(this.opts.withBOM?"\uFEFF":"")+r+(r&&i?this.opts.eol:"")+i}preprocessData(t){const n=Array.isArray(t)?t:[t];if(!this.opts.fields){if(t==null||n.length===0)throw new Error('Data should not be empty or the "fields" option should be included');if(typeof n[0]!="object")throw new Error('Data items should be objects or the "fields" option should be included')}return this.opts.transforms.length===0?n:n.map(r=>this.preprocessRow(r)).reduce(YD,[])}processData(t){return u2(t.map(n=>this.processRow(n)).filter(n=>n),this.opts.eol)}}var pn;(function(e){e[e.BACKSPACE=8]="BACKSPACE",e[e.FORM_FEED=12]="FORM_FEED",e[e.NEWLINE=10]="NEWLINE",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.TAB=9]="TAB",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.NUMBER_SIGN=35]="NUMBER_SIGN",e[e.DOLLAR_SIGN=36]="DOLLAR_SIGN",e[e.PERCENT_SIGN=37]="PERCENT_SIGN",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.LEFT_PARENTHESIS=40]="LEFT_PARENTHESIS",e[e.RIGHT_PARENTHESIS=41]="RIGHT_PARENTHESIS",e[e.ASTERISK=42]="ASTERISK",e[e.PLUS_SIGN=43]="PLUS_SIGN",e[e.COMMA=44]="COMMA",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.FULL_STOP=46]="FULL_STOP",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_ZERO=48]="DIGIT_ZERO",e[e.DIGIT_ONE=49]="DIGIT_ONE",e[e.DIGIT_TWO=50]="DIGIT_TWO",e[e.DIGIT_THREE=51]="DIGIT_THREE",e[e.DIGIT_FOUR=52]="DIGIT_FOUR",e[e.DIGIT_FIVE=53]="DIGIT_FIVE",e[e.DIGIT_SIX=54]="DIGIT_SIX",e[e.DIGIT_SEVEN=55]="DIGIT_SEVEN",e[e.DIGIT_EIGHT=56]="DIGIT_EIGHT",e[e.DIGIT_NINE=57]="DIGIT_NINE",e[e.COLON=58]="COLON",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.COMMERCIAL_AT=64]="COMMERCIAL_AT",e[e.LATIN_CAPITAL_LETTER_A=65]="LATIN_CAPITAL_LETTER_A",e[e.LATIN_CAPITAL_LETTER_B=66]="LATIN_CAPITAL_LETTER_B",e[e.LATIN_CAPITAL_LETTER_C=67]="LATIN_CAPITAL_LETTER_C",e[e.LATIN_CAPITAL_LETTER_D=68]="LATIN_CAPITAL_LETTER_D",e[e.LATIN_CAPITAL_LETTER_E=69]="LATIN_CAPITAL_LETTER_E",e[e.LATIN_CAPITAL_LETTER_F=70]="LATIN_CAPITAL_LETTER_F",e[e.LATIN_CAPITAL_LETTER_G=71]="LATIN_CAPITAL_LETTER_G",e[e.LATIN_CAPITAL_LETTER_H=72]="LATIN_CAPITAL_LETTER_H",e[e.LATIN_CAPITAL_LETTER_I=73]="LATIN_CAPITAL_LETTER_I",e[e.LATIN_CAPITAL_LETTER_J=74]="LATIN_CAPITAL_LETTER_J",e[e.LATIN_CAPITAL_LETTER_K=75]="LATIN_CAPITAL_LETTER_K",e[e.LATIN_CAPITAL_LETTER_L=76]="LATIN_CAPITAL_LETTER_L",e[e.LATIN_CAPITAL_LETTER_M=77]="LATIN_CAPITAL_LETTER_M",e[e.LATIN_CAPITAL_LETTER_N=78]="LATIN_CAPITAL_LETTER_N",e[e.LATIN_CAPITAL_LETTER_O=79]="LATIN_CAPITAL_LETTER_O",e[e.LATIN_CAPITAL_LETTER_P=80]="LATIN_CAPITAL_LETTER_P",e[e.LATIN_CAPITAL_LETTE
|
|||
|
* react-is.production.min.js
|
|||
|
*
|
|||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
*
|
|||
|
* This source code is licensed under the MIT license found in the
|
|||
|
* LICENSE file in the root directory of this source tree.
|
|||
|
*/var xn=typeof Symbol=="function"&&Symbol.for,JE=xn?Symbol.for("react.element"):60103,eC=xn?Symbol.for("react.portal"):60106,_0=xn?Symbol.for("react.fragment"):60107,x0=xn?Symbol.for("react.strict_mode"):60108,w0=xn?Symbol.for("react.profiler"):60114,O0=xn?Symbol.for("react.provider"):60109,S0=xn?Symbol.for("react.context"):60110,tC=xn?Symbol.for("react.async_mode"):60111,E0=xn?Symbol.for("react.concurrent_mode"):60111,C0=xn?Symbol.for("react.forward_ref"):60112,P0=xn?Symbol.for("react.suspense"):60113,gfe=xn?Symbol.for("react.suspense_list"):60120,T0=xn?Symbol.for("react.memo"):60115,j0=xn?Symbol.for("react.lazy"):60116,yfe=xn?Symbol.for("react.block"):60121,bfe=xn?Symbol.for("react.fundamental"):60117,_fe=xn?Symbol.for("react.responder"):60118,xfe=xn?Symbol.for("react.scope"):60119;function zr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case JE:switch(e=e.type,e){case tC:case E0:case _0:case w0:case x0:case P0:return e;default:switch(e=e&&e.$$typeof,e){case S0:case C0:case j0:case T0:case O0:return e;default:return t}}case eC:return t}}}function s5(e){return zr(e)===E0}mt.AsyncMode=tC;mt.ConcurrentMode=E0;mt.ContextConsumer=S0;mt.ContextProvider=O0;mt.Element=JE;mt.ForwardRef=C0;mt.Fragment=_0;mt.Lazy=j0;mt.Memo=T0;mt.Portal=eC;mt.Profiler=w0;mt.StrictMode=x0;mt.Suspense=P0;mt.isAsyncMode=function(e){return s5(e)||zr(e)===tC};mt.isConcurrentMode=s5;mt.isContextConsumer=function(e){return zr(e)===S0};mt.isContextProvider=function(e){return zr(e)===O0};mt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===JE};mt.isForwardRef=function(e){return zr(e)===C0};mt.isFragment=function(e){return zr(e)===_0};mt.isLazy=function(e){return zr(e)===j0};mt.isMemo=function(e){return zr(e)===T0};mt.isPortal=function(e){return zr(e)===eC};mt.isProfiler=function(e){return zr(e)===w0};mt.isStrictMode=function(e){return zr(e)===x0};mt.isSuspense=function(e){return zr(e)===P0};mt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===_0||e===E0||e===w0||e===x0||e===P0||e===gfe||typeof e=="object"&&e!==null&&(e.$$typeof===j0||e.$$typeof===T0||e.$$typeof===O0||e.$$typeof===S0||e.$$typeof===C0||e.$$typeof===bfe||e.$$typeof===_fe||e.$$typeof===xfe||e.$$typeof===yfe)};mt.typeOf=zr;a5.exports=mt;var f2=a5.exports,wfe=ia,Ofe=oa,Sfe="[object Number]";function Efe(e){return typeof e=="number"||Ofe(e)&&wfe(e)==Sfe}var l5=Efe;const Cfe=at(l5);var Pfe=l5;function Tfe(e){return Pfe(e)&&e!=+e}var jfe=Tfe;const Iu=at(jfe);var Yn=function(t){return t===0?0:t>0?1:-1},Ws=function(t){return pp(t)&&t.indexOf("%")===t.length-1},Ce=function(t){return Cfe(t)&&!Iu(t)},cn=function(t){return Ce(t)||pp(t)},Afe=0,ds=function(t){var n=++Afe;return"".concat(t||"").concat(n)},Zn=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!Ce(t)&&!pp(t))return r;var o;if(Ws(t)){var a=t.indexOf("%");o=n*parseFloat(t.slice(0,a))/100}else o=+t;return Iu(o)&&(o=r),i&&o>n&&(o=n),o},Sa=function(t){if(!t)return null;var n=Object.keys(t);return n&&n.length?t[n[0]]:null},kfe=function(t){if(!Array.isArray(t))return!1;for(var n=t.length,r={},i=0;i<n;i++)if(!r[t[i]])r[t[i]]=!0;else return!0;return!1},Ut=function(t,n){return Ce(t)&&Ce(n)?function(r){return t+r*(n-t)}:function(){return n}};function Eg(e,t,n){return!e||!e.length?null:e.find(function(r){return r&&(typeof t=="function"?t(r):Nr(r,t))===n})}var Nfe=function(t){if(!t||!t.length)return null;for(var n=t.length,r=0,i=0,o=0,a=0,s=1/0,c=-1/0,l=0,f=0,d=0;d<n;d++)l=t[d].cx||0,f=t[d].cy||0,r+=l,i+=f,o+=l*f,a+=l*l,s=Math.min(s,l),c=Math.max(c,l);var p=n*a!==r*r?(n*o-r*i)/(n*a-r*r):0;return{xmin:s,xmax:c,a:p,b:(i-p*r)/n}};function Lc(e,t){for(var n in e)if({}.hasOwnProperty.call(e,n)&&(!{}.hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var r in t)if({}.hasOwnProperty.call(t,r)&&!{}.hasOwnProperty.call(e,r))return!1;return!0}function d2(e){"@babel/helpers - typeof";return d2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t
|
|||
|
A`).concat(a,",").concat(a,",0,1,1,").concat(2*s,",").concat(o,`
|
|||
|
H`).concat(Yr,"M").concat(2*s,",").concat(o,`
|
|||
|
A`).concat(a,",").concat(a,",0,1,1,").concat(s,",").concat(o),className:"recharts-legend-icon"});if(r.type==="rect")return V.createElement("path",{stroke:"none",fill:c,d:"M0,".concat(Yr/8,"h").concat(Yr,"v").concat(Yr*3/4,"h").concat(-Yr,"z"),className:"recharts-legend-icon"});if(V.isValidElement(r.legendIcon)){var l=jhe({},r);return delete l.legendIcon,V.cloneElement(r.legendIcon,l)}return V.createElement(L0,{fill:c,cx:o,cy:o,size:Yr,sizeType:"diameter",type:r.type})}},{key:"renderItems",value:function(){var r=this,i=this.props,o=i.payload,a=i.iconSize,s=i.layout,c=i.formatter,l=i.inactiveColor,f={x:0,y:0,width:Yr,height:Yr},d={display:s==="horizontal"?"inline-block":"block",marginRight:10},p={display:"inline-block",verticalAlign:"middle",marginRight:4};return o.map(function(v,y){var g=v.formatter||c,x=Ee(lh(lh({"recharts-legend-item":!0},"legend-item-".concat(y),!0),"inactive",v.inactive));if(v.type==="none")return null;var _=Ve(v.value)?null:v.value;Ni(!Ve(v.value),`The name property is also required when using a function for the dataKey of a chart's cartesian components. Ex: <Bar name="Name of my Data"/>`);var b=v.inactive?l:v.color;return V.createElement("li",E2({className:x,style:d,key:"legend-item-".concat(y)},Ja(r.props,v,y)),V.createElement(v2,{width:a,height:a,viewBox:f,style:p},r.renderIcon(v)),V.createElement("span",{className:"recharts-legend-item-text",style:{color:b}},g?g(_,v,y):_))})}},{key:"render",value:function(){var r=this.props,i=r.payload,o=r.layout,a=r.align;if(!i||!i.length)return null;var s={padding:0,margin:0,textAlign:o==="horizontal"?a:"left"};return V.createElement("ul",{className:"recharts-default-legend",style:s},this.renderItems())}}]),t}(M.PureComponent);lh(sC,"displayName","Legend");lh(sC,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var Dhe=g0;function Fhe(){this.__data__=new Dhe,this.size=0}var Bhe=Fhe;function Uhe(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var zhe=Uhe;function Vhe(e){return this.__data__.get(e)}var Whe=Vhe;function Hhe(e){return this.__data__.has(e)}var Ghe=Hhe,qhe=g0,Khe=KE,Yhe=YE,Zhe=200;function Xhe(e,t){var n=this.__data__;if(n instanceof qhe){var r=n.__data__;if(!Khe||r.length<Zhe-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Yhe(r)}return n.set(e,t),this.size=n.size,this}var Qhe=Xhe,Jhe=g0,epe=Bhe,tpe=zhe,npe=Whe,rpe=Ghe,ipe=Qhe;function Du(e){var t=this.__data__=new Jhe(e);this.size=t.size}Du.prototype.clear=epe;Du.prototype.delete=tpe;Du.prototype.get=npe;Du.prototype.has=rpe;Du.prototype.set=ipe;var $5=Du,ope="__lodash_hash_undefined__";function ape(e){return this.__data__.set(e,ope),this}var spe=ape;function lpe(e){return this.__data__.has(e)}var cpe=lpe,upe=YE,fpe=spe,dpe=cpe;function Mg(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new upe;++t<n;)this.add(e[t])}Mg.prototype.add=Mg.prototype.push=fpe;Mg.prototype.has=dpe;var I5=Mg;function hpe(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var D5=hpe;function ppe(e,t){return e.has(t)}var F5=ppe,mpe=I5,vpe=D5,gpe=F5,ype=1,bpe=2;function _pe(e,t,n,r,i,o){var a=n&ype,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var l=o.get(e),f=o.get(t);if(l&&f)return l==t&&f==e;var d=-1,p=!0,v=n&bpe?new mpe:void 0;for(o.set(e,t),o.set(t,e);++d<s;){var y=e[d],g=t[d];if(r)var x=a?r(g,y,d,t,e,o):r(y,g,d,e,t,o);if(x!==void 0){if(x)continue;p=!1;break}if(v){if(!vpe(t,function(_,b){if(!gpe(v,b)&&(y===_||i(y,_,n,r,o)))return v.push(b)})){p=!1;break}}else if(!(y===g||i(y,g,n,r,o))){p=!1;break}}return o.delete(e),o.delete(t),p}var B5=_pe,xpe=_o,wpe=xpe.Uint8Array,Ope=wpe;function Spe(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}var Epe=Spe;function Cpe(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var lC=Cpe,uk=hp,fk=Ope,Ppe=qE,Tpe=B5,jpe=Epe,Ape=lC,kpe=1,Npe=2,Mpe="[object Boolean]",Lpe="[object Date]",Rpe="[object Error]",$pe="[object Map]",Ipe="[object Number]",Dpe="[object RegExp]",Fpe="[object Set]",Bpe="[object String]
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gbe(e,t){if(e){if(typeof e=="string")return Bk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bk(e,t)}}function Bk(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function qbe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(f){l=!0,i=f}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function Kbe(e){if(Array.isArray(e))return e}function Uk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function z1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Uk(Object(n),!0).forEach(function(r){Ybe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ybe(e,t,n){return t=Zbe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zbe(e){var t=Xbe(e,"string");return uh(t)=="symbol"?t:String(t)}function Xbe(e,t){if(uh(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(uh(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Qbe(e){return Array.isArray(e)&&cn(e[0])&&cn(e[1])?e.join(" ~ "):e}var Jbe=function(t){var n=t.separator,r=n===void 0?" : ":n,i=t.contentStyle,o=i===void 0?{}:i,a=t.itemStyle,s=a===void 0?{}:a,c=t.labelStyle,l=c===void 0?{}:c,f=t.payload,d=t.formatter,p=t.itemSorter,v=t.wrapperClassName,y=t.labelClassName,g=t.label,x=t.labelFormatter,_=t.accessibilityLayer,b=_===void 0?!1:_,w=function(){if(f&&f.length){var D={padding:0,margin:0},q=(p?pC(f,p):f).map(function(W,X){if(W.type==="none")return null;var Q=z1({display:"block",paddingTop:4,paddingBottom:4,color:W.color||"#000"},s),ne=W.formatter||d||Qbe,Z=W.value,z=W.name,B=Z,H=z;if(ne&&B!=null&&H!=null){var ee=ne(Z,z,W,X,f);if(Array.isArray(ee)){var K=Wbe(ee,2);B=K[0],H=K[1]}else B=ee}return V.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(X),style:Q},cn(H)?V.createElement("span",{className:"recharts-tooltip-item-name"},H):null,cn(H)?V.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,V.createElement("span",{className:"recharts-tooltip-item-value"},B),V.createElement("span",{className:"recharts-tooltip-item-unit"},W.unit||""))});return V.createElement("ul",{className:"recharts-tooltip-item-list",style:D},q)}return null},S=z1({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},o),E=z1({margin:0},l),C=!Ue(g),T=C?g:"",A=Ee("recharts-default-tooltip",v),F=Ee("recharts-tooltip-label",y);C&&x&&f!==void 0&&f!==null&&(T=x(g,f));var k=b?{role:"status","aria-live":"assertive"}:{};return V.createElement("div",M2({className:A,style:S},k),V.createElement("p",{className:F,style:E},V.isValidElement(T)?T:"".concat(T)),w())};function fh(e){"@babel/helpers - typeof";return fh=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},fh(e)}function wm(e,t,n){return t=e1e(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function e1e(e){var t=t1e(e,"string");return fh(t)=="symbol"?t:String(t)}function t1e(e,t){if(fh(e)!=
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i_e(e,t){if(e){if(typeof e=="string")return Qk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qk(e,t)}}function Qk(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o_e(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(f){l=!0,i=f}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function a_e(e){if(Array.isArray(e))return e}var vC=M.forwardRef(function(e,t){var n=e.aspect,r=e.initialDimension,i=r===void 0?{width:-1,height:-1}:r,o=e.width,a=o===void 0?"100%":o,s=e.height,c=s===void 0?"100%":s,l=e.minWidth,f=l===void 0?0:l,d=e.minHeight,p=e.maxHeight,v=e.children,y=e.debounce,g=y===void 0?0:y,x=e.id,_=e.className,b=e.onResize,w=e.style,S=w===void 0?{}:w,E=M.useRef(null),C=M.useRef();C.current=b,M.useImperativeHandle(t,function(){return Object.defineProperty(E.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),E.current},configurable:!0})});var T=M.useState({containerWidth:i.width,containerHeight:i.height}),A=n_e(T,2),F=A[0],k=A[1],I=M.useCallback(function(q,W){k(function(X){var Q=Math.round(q),ne=Math.round(W);return X.containerWidth===Q&&X.containerHeight===ne?X:{containerWidth:Q,containerHeight:ne}})},[]);M.useEffect(function(){var q=function(z){var B,H=z[0].contentRect,ee=H.width,K=H.height;I(ee,K),(B=C.current)===null||B===void 0||B.call(C,ee,K)};g>0&&(q=h8(q,g,{trailing:!0,leading:!1}));var W=new ResizeObserver(q),X=E.current.getBoundingClientRect(),Q=X.width,ne=X.height;return I(Q,ne),W.observe(E.current),function(){W.disconnect()}},[I,g]);var D=M.useMemo(function(){var q=F.containerWidth,W=F.containerHeight;if(q<0||W<0)return null;Ni(Ws(a)||Ws(c),`The width(%s) and height(%s) are both fixed numbers,
|
|||
|
maybe you don't need to use a ResponsiveContainer.`,a,c),Ni(!n||n>0,"The aspect(%s) must be greater than zero.",n);var X=Ws(a)?q:a,Q=Ws(c)?W:c;n&&n>0&&(X?Q=X/n:Q&&(X=Q*n),p&&Q>p&&(Q=p)),Ni(X>0||Q>0,`The width(%s) and height(%s) of chart should be greater than 0,
|
|||
|
please check the style of container, or the props width(%s) and height(%s),
|
|||
|
or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the
|
|||
|
height and width.`,X,Q,a,c,f,d,n);var ne=!Array.isArray(v)&&f2.isElement(v)&&Ro(v.type).endsWith("Chart");return V.Children.map(v,function(Z){return f2.isElement(Z)?M.cloneElement(Z,Om({width:X,height:Q},ne?{style:Om({height:"100%",width:"100%",maxHeight:Q,maxWidth:X},Z.props.style)}:{})):Z})},[n,v,c,p,d,f,F,a]);return V.createElement("div",{id:x?"".concat(x):void 0,className:Ee("recharts-responsive-container",_),style:Om(Om({},S),{},{width:a,height:c,minWidth:f,minHeight:d,maxHeight:p}),ref:E},D)}),Va=function(t){return null};Va.displayName="Cell";function hh(e){"@babel/helpers - typeof";return hh=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},hh(e)}function Jk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function D2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Jk(Object(n),!0).forEach(function(r){s_e(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function s_e(e,t,n){return t=l_e(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l_e(e){var t=c_e(e,"string");return hh(t)=="symbol"?t:String(t)}function c_e(e,t){if(hh(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(hh(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Kl={widthCache:{},cacheCount:0},u_e=2e3,f_e={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},eN="recharts_measurement_span";function d_e(e){var t=D2({},e);return Object.keys(t).forEach(function(n){t[n]||delete t[n]}),t}var md=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||li.isSsr)return{width:0,height:0};var r=d_e(n),i=JSON.stringify({text:t,copyStyle:r});if(Kl.widthCache[i])return Kl.widthCache[i];try{var o=document.getElementById(eN);o||(o=document.createElement("span"),o.setAttribute("id",eN),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=D2(D2({},f_e),r);Object.assign(o.style,a),o.textContent="".concat(t);var s=o.getBoundingClientRect(),c={width:s.width,height:s.height};return Kl.widthCache[i]=c,++Kl.cacheCount>u_e&&(Kl.cacheCount=0,Kl.widthCache={}),c}catch{return{width:0,height:0}}},h_e=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};function ph(e){"@babel/helpers - typeof";return ph=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},ph(e)}function Fg(e,t){return g_e(e)||v_e(e,t)||m_e(e,t)||p_e()}function p_e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function m_e(e,t){if(e){if(typeof e=="string")return tN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tN(e,t)}}function tN(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v_e(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(f){l=!0,i=f}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function g_e(e){if(Array.isArray(e))return e}function y_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,__e(r.key),r)}}function b_e(e,t,n){return t&&nN(e.prototype,t),n&&nN(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function __e(e){var t=x_e(e,"string");return ph(t)=="symbol"?t:String(t)}function x_e(e,t){if(ph(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ph(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var rN=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,iN=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,w_e=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,O_e=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,p8={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},S_e=Object.keys(p8),wc="NaN";function E_e(e,t){return e*p8[t]}var Sm=function(){function e(t,n){y_e(this,e),this.num=t,this.unit=n,this.num=t,this.unit=n,Number.isNaN(t)&&(this.unit=""),n!==""&&!w_e.test(n)&&(this.num=NaN,this.unit=""),S_e.includes(n)&&(this.num=E_e(t,n),this.unit="px")}return b_e(e,[{key:"add",value:function(n){return this.unit!==n.unit?new e(NaN,""):new e(this.num+n.num,this.unit)}},{key:"subtract",value:function(n){return this.unit!==n.unit?new e(NaN,""):new e(this.num-n.num,this.unit)}},{key:"multiply",value:function(n){return this.unit!==""&&n.unit!==""&&this.unit!==n.unit?new e(NaN,""):new e(this.num*n.num,this.unit||n.unit)}},{key:"divide",value:function(n){return this.unit!==""&&n.unit!==""&&this.unit!==n.unit?new e(NaN,""):new e(this.num/n.num,this.unit||n.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],[{key:"parse",value:function(n){var r,i=(r=O_e.exec(n))!==null&&r!==void 0?r:[],o=Fg(i,3),a=o[1],s=o[2];return new e(parseFloat(a),s??"")}}]),e}();function m8(e){if(e.includes(wc))return wc;for(var t=e;t.includes("*")||t.includes("/");){var n,r=(n=rN.exec(t))!==null&&n!==void 0?n:[],i=Fg(r,4),o=i[1],a=i[2],s=i[3],c=Sm.parse(o??""),l=Sm.parse(s??""),f=a==="*"?c.multiply(l):c.divide(l);if(f.isNaN())return wc;t=t.replace(rN,f.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var d,p=(d=iN.exec(t))!==null&&d!==void 0?d:[],v=Fg(p,4),y=v[1],g=v[2],x=v[3],_=Sm.parse(y??""),b=Sm.parse(x??""),w=g==="+"?_.add(b):_.subtract(b);if(w.isNaN())return wc;t=t.replace(iN,w.toString())}return t}var oN=/\(([^()]*)\)/;function C_e(e){for(var t=e;t.includes("(");){var n=oN.exec(t),r=Fg(n,2),i=r[1];t=t.replace(oN,m8(i))}return t}function P_e(e){var t=e.replace(/\s+/g,"");return t=C_e(t),t=m8(t),t}function T_e(e){try{return P_e(e)}catch{return wc}}function W1(e){var t=T_e(e.slice(5,-1));return t===wc?"":t}var j_e=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],A_e=["dx","dy","angle","className","breakAll"];function F2(){return F2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function M_e(e,t){if(e){if(typeof e=="string")return lN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lN(e,t)}}function lN(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function L_e(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(f){l=!0,i=f}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function R_e(e){if(Array.isArray(e))return e}var v8=/[ \f\n\r\t\v\u2028\u2029]+/,g8=function(t){var n=t.children,r=t.breakAll,i=t.style;try{var o=[];Ue(n)||(r?o=n.toString().split(""):o=n.toString().split(v8));var a=o.map(function(c){return{word:c,width:md(c,i).width}}),s=r?0:md(" ",i).width;return{wordsWithComputedWidth:a,spaceWidth:s}}catch{return null}},$_e=function(t,n,r,i,o){var a=t.maxLines,s=t.children,c=t.style,l=t.breakAll,f=Ce(a),d=s,p=function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return X.reduce(function(Q,ne){var Z=ne.word,z=ne.width,B=Q[Q.length-1];if(B&&(i==null||o||B.width+z+r<Number(i)))B.words.push(Z),B.width+=z+r;else{var H={words:[Z],width:z};Q.push(H)}return Q},[])},v=p(n),y=function(X){return X.reduce(function(Q,ne){return Q.width>ne.width?Q:ne})};if(!f)return v;for(var g="…",x=function(X){var Q=d.slice(0,X),ne=g8({breakAll:l,style:c,children:Q+g}).wordsWithComputedWidth,Z=p(ne),z=Z.length>a||y(Z).width>Number(i);return[z,Z]},_=0,b=d.length-1,w=0,S;_<=b&&w<=d.length-1;){var E=Math.floor((_+b)/2),C=E-1,T=x(C),A=sN(T,2),F=A[0],k=A[1],I=x(E),D=sN(I,1),q=D[0];if(!F&&!q&&(_=E+1),F&&q&&(b=E-1),!F&&q){S=k;break}w++}return S||v},cN=function(t){var n=Ue(t)?[]:t.toString().split(v8);return[{words:n}]},I_e=function(t){var n=t.width,r=t.scaleToFit,i=t.children,o=t.style,a=t.breakAll,s=t.maxLines;if((n||r)&&!li.isSsr){var c,l,f=g8({breakAll:a,children:i,style:o});if(f){var d=f.wordsWithComputedWidth,p=f.spaceWidth;c=d,l=p}else return cN(i);return $_e({breakAll:a,children:i,maxLines:s,style:o},c,l,n,r)}return cN(i)},uN="#808080",gl=function(t){var n=t.x,r=n===void 0?0:n,i=t.y,o=i===void 0?0:i,a=t.lineHeight,s=a===void 0?"1em":a,c=t.capHeight,l=c===void 0?"0.71em":c,f=t.scaleToFit,d=f===void 0?!1:f,p=t.textAnchor,v=p===void 0?"start":p,y=t.verticalAnchor,g=y===void 0?"end":y,x=t.fill,_=x===void 0?uN:x,b=aN(t,j_e),w=M.useMemo(function(){return I_e({breakAll:b.breakAll,children:b.children,maxLines:b.maxLines,scaleToFit:d,style:b.style,width:b.width})},[b.breakAll,b.children,b.maxLines,d,b.style,b.width]),S=b.dx,E=b.dy,C=b.angle,T=b.className,A=b.breakAll,F=aN(b,A_e);if(!cn(r)||!cn(o))return null;var k=r+(Ce(S)?S:0),I=o+(Ce(E)?E:0),D;switch(g){case"start":D=W1("calc(".concat(l,")"));break;case"middle":D=W1("calc(".concat((w.length-1)/2," * -").concat(s," + (").concat(l," / 2))"));break;default:D=W1("calc(".concat(w.length-1," * -").concat(s,")"));break}var q=[];if(d){var W=w[0].width,X=b.width;q.push("scale(".concat((Ce(X)?X/W:1)/W,")"))}return C&&q.push("rotate(".concat(C,", ").concat(k,", ").concat(I,")")),q.length&&(F.transform=q.join(" ")),V.createElement("text",F2({},De(F,!0),{x:k,y:I,className:Ee("recharts-text",T),textAnchor:v,fill:_.includes("url")?uN:_}),w.map(function(Q,ne){var Z=Q.words.join(A?"":" ");return V.createElement("tspan",{x:k,dy:ne===0?D:s,key:Z},Z)}))};function Wa(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function D_e(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function gC(e){let t,n,r;e.length!==2?(t=Wa,n=(s,c)=>Wa(e(s),c),r=(s,c)=>e(s)-c):(t=e===Wa||e===D_e?e:F_e,n=e,r=e);function i(s,c,l=0,f=s.length){if(l<f){if(t(c,c)!==0)return f;do{const d=l+f>>>1;n(s[d],c)<0?l=d+1:f=d
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function W2e(e,t){if(e){if(typeof e=="string")return q2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return q2(e,t)}}function H2e(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function G2e(e){if(Array.isArray(e))return q2(e)}function q2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var q2e=function(t){return t},iF={"@@functional/placeholder":!0},oF=function(t){return t===iF},XN=function(t){return function n(){return arguments.length===0||arguments.length===1&&oF(arguments.length<=0?void 0:arguments[0])?n:t.apply(void 0,arguments)}},K2e=function e(t,n){return t===1?n:XN(function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=i.filter(function(s){return s!==iF}).length;return a>=t?n.apply(void 0,i):e(t-a,XN(function(){for(var s=arguments.length,c=new Array(s),l=0;l<s;l++)c[l]=arguments[l];var f=i.map(function(d){return oF(d)?c.shift():d});return n.apply(void 0,z2e(f).concat(c))}))})},G0=function(t){return K2e(t.length,t)},K2=function(t,n){for(var r=[],i=t;i<n;++i)r[i-t]=i;return r},Y2e=G0(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(n){return t[n]}).map(e)}),Z2e=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.length)return q2e;var i=n.reverse(),o=i[0],a=i.slice(1);return function(){return a.reduce(function(s,c){return c(s)},o.apply(void 0,arguments))}},Y2=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},aF=function(t){var n=null,r=null;return function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n&&o.every(function(s,c){return s===n[c]})||(n=o,r=t.apply(void 0,o)),r}};function X2e(e){var t;return e===0?t=1:t=Math.floor(new vt(e).abs().log(10).toNumber())+1,t}function Q2e(e,t,n){for(var r=new vt(e),i=0,o=[];r.lt(t)&&i<1e5;)o.push(r.toNumber()),r=r.add(n),i++;return o}var J2e=G0(function(e,t,n){var r=+e,i=+t;return r+n*(i-r)}),eOe=G0(function(e,t,n){var r=t-+e;return r=r||1/0,(n-e)/r}),tOe=G0(function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))});const q0={rangeStep:Q2e,getDigitCount:X2e,interpolateNumber:J2e,uninterpolateNumber:eOe,uninterpolateTruncation:tOe};function Z2(e){return iOe(e)||rOe(e)||sF(e)||nOe()}function nOe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rOe(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function iOe(e){if(Array.isArray(e))return X2(e)}function xh(e,t){return sOe(e)||aOe(e,t)||sF(e,t)||oOe()}function oOe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sF(e,t){if(e){if(typeof e=="string")return X2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return X2(e,t)}}function X2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function aOe(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,o=void 0;try{for(var a=e[Symbol.iterator](),s;!(r=(s=a.next()).done)&&(n.push(s.value),!(t&&n.length===t));r=!0);}catch(c){i=!0,o=c}finally{try{!r&&a.return!=null&&a.return()}finally{if(i)throw o}}return n}}function sOe(e){if(Array.isArray(e))return e}function lF(e){var t=xh(e,2),n=t[0],r=t[1],i=n,o=r;return n>r&&(i=r,o=n),[i,o]}function cF(e,t,n){if(e.lte(0))return new vt(0);var r=q0.getDigitCount(e.toNumber()),i=new vt(10).pow(r),o=e.div(i),a=r!==1?.05:.1,s=new vt(Math.ceil(o.div(a).toNumber())).add(n).mul(a),c=s.mul(i);return t?c:new vt(Math.ceil(c))}function lOe(e,t,n){var r=1,i=new vt(e);if(!i.isint()&&n){var o=Math.abs(e);o<1?(r=new vt(10).pow(q0.getDigitCount(e)-1),i=new vt(Math.floor(i.div(r).toNumber())).mul(r)):o>1&&(i=new vt(Math.floor(e)))}else e===0?i=new vt(Math.floor((t-1)/2)):n||(i=new vt(Math.floor(e)));var a=Math.floor((t-1)/2),s=Z2e(Y2e(function(c){return i.add(new vt(c-a).mul(r)).toNumber()}),K2);return s(0,t)}function uF(e,t,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new vt(0),tickMin:new vt(0),tickMax:new vt(0)};var o=cF(new vt(t).sub(e).div(n-1),r,i),a;e<=0&&t>=0?a=new vt(0):(a=new vt(e).add(t).div(2),a=a.sub(new vt(a).mod(o)));var s=Math.ceil(a.sub(e).div(o).toNumber()),c=Math.ceil(new vt(t).sub(a).div(o).toNumber()),l=s+c+1;return l>n?uF(e,t,n,r,i+1):(l<n&&(c=t>0?c+(n-l):c,s=t>0?s:s+(n-l)),{step:o,tickMin:a.sub(new vt(s).mul(o)),tickMax:a.add(new vt(c).mul(o))})}function cOe(e){var t=xh(e,2),n=t[0],r=t[1],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=Math.max(i,2),s=lF([n,r]),c=xh(s,2),l=c[0],f=c[1];if(l===-1/0||f===1/0){var d=f===1/0?[l].concat(Z2(K2(0,i-1).map(function(){return 1/0}))):[].concat(Z2(K2(0,i-1).map(function(){return-1/0})),[f]);return n>r?Y2(d):d}if(l===f)return lOe(l,i,o);var p=uF(l,f,a,o),v=p.step,y=p.tickMin,g=p.tickMax,x=q0.rangeStep(y,g.add(new vt(.1).mul(v)),v);return n>r?Y2(x):x}function uOe(e,t){var n=xh(e,2),r=n[0],i=n[1],o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=lF([r,i]),s=xh(a,2),c=s[0],l=s[1];if(c===-1/0||l===1/0)return[r,i];if(c===l)return[c];var f=Math.max(t,2),d=cF(new vt(l).sub(c).div(f-1),o,0),p=[].concat(Z2(q0.rangeStep(new vt(c),new vt(l).sub(new vt(.99).mul(d)),d)),[l]);return r>i?Y2(p):p}var fOe=aF(cOe),dOe=aF(uOe),hOe="Invariant failed";function bl(e,t){throw new Error(hOe)}var pOe=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function Xg(){return Xg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xg.apply(this,arguments)}function mOe(e,t){return bOe(e)||yOe(e,t)||gOe(e,t)||vOe()}function vOe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gOe(e,t){if(e){if(typeof e=="string")return QN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return QN(e,t)}}function QN(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yOe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(f){l=!0,i=f}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function bOe(e){if(Array.isArray(e))return e}function _Oe(e,t){if(e==null)return{};var n=xOe(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function xOe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Wu(e){var t=e.offset,n=e.layout,r=e.width,i=e.dataKey,o=e.data,a=e.dataPointFormatter,s=e.xAxis,c=e.yAxis,l=_Oe(e,pOe),f=De(l,!1);e.direction==="x"&&s.type!=="number"&&bl();var d=o.map(function(p){var v=a(p,i),y=v.x,g=v.y,x=v.value,_=v.errorVal;if(!_)return null;var b=[],w,S;if(Array.isArray(_)){var E=mOe(_,2);w=E[0],S=E[1]}else w=S=_;if(n==="vertical"){var C=s.scale,T=g+t,A=T+r,F=T-r,k=C(x-w),I=C(x+S);b.push({x1:I,y1:A,x2:I,y2:F}),b.push({x1:k,y1:T,x2:I,y2:T}),b.push({x1:k,y1:A,x2:k,y2:F})}else if(n==="horizontal"){var D=c.scale,q=y+t,W=q-r,X=q+r,Q=D(x-w),ne=D(x+S);b.push({x1:W,y1:ne,x2:X,y2:ne}),b.push({x1:q,y1:Q,x2:q,y2:ne}),b.push({x1:W,y1:Q,x2:X,y2:Q})}return V.createElement(Ze,Xg({className:"recharts-errorBar",key:"bar-".concat(b.map(function(Z){return"".concat(Z.x1,"-").concat(Z.x2,"-").concat(Z.y1,"-").concat(Z.y2)}))},f),b.map(function(Z){return V.createElement("line",Xg({},Z,{key:"line-".concat(Z.x1,"-").concat(Z.x2,"-").concat(Z.y1,"-").concat(Z.y2)}))}))});return V.createElement(Ze,{className:"recharts-errorBars"},d)}Wu.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"};Wu.displayName="ErrorBar";function wh(e){"@babel/helpers - typeof";return wh=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},wh(e)}function JN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function J1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?JN(Object(n),!0).forEach(function(r){wOe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function wOe(e,t,n){return t=OOe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function OOe(e){var t=SOe(e,"string");return wh(t)=="symbol"?t:String(t)}function SOe(e,t){if(wh(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(wh(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var fF=function(t){var n=t.children,r=t.formattedGraphicalItems,i=t.legendWidth,o=t.legendContent,a=Er(n,ch);if(!a)return null;var s;return a.props&&a.props.payload?s=a.props&&a.props.payload:o==="children"?s=(r||[]).reduce(function(c,l){var f=l.item,d=l.props,p=d.sectors||d.data||[];return c.concat(p.map(function(v){return{type:a.props.iconType||f.props.leg
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function TOe(e,t){if(e){if(typeof e=="string")return Q2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Q2(e,t)}}function jOe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function AOe(e){if(Array.isArray(e))return Q2(e)}function Q2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Pt(e,t,n){return Ue(e)||Ue(t)?n:cn(t)?Nr(e,t,n):Ve(t)?t(e):n}function gd(e,t,n,r){var i=R2e(e,function(s){return Pt(s,t)});if(n==="number"){var o=i.filter(function(s){return Ce(s)||parseFloat(s)});return o.length?[H0(o),ja(o)]:[1/0,-1/0]}var a=r?i.filter(function(s){return!Ue(s)}):i;return a.map(function(s){return cn(s)||s instanceof Date?s:""})}var kOe=function(t){var n,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,a=-1,s=(n=r==null?void 0:r.length)!==null&&n!==void 0?n:0;if(s<=1)return 0;if(o&&o.axisType==="angleAxis"&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var c=o.range,l=0;l<s;l++){var f=l>0?i[l-1].coordinate:i[s-1].coordinate,d=i[l].coordinate,p=l>=s-1?i[0].coordinate:i[l+1].coordinate,v=void 0;if(Yn(d-f)!==Yn(p-d)){var y=[];if(Yn(p-d)===Yn(c[1]-c[0])){v=p;var g=d+c[1]-c[0];y[0]=Math.min(g,(g+f)/2),y[1]=Math.max(g,(g+f)/2)}else{v=f;var x=p+c[1]-c[0];y[0]=Math.min(d,(x+d)/2),y[1]=Math.max(d,(x+d)/2)}var _=[Math.min(d,(v+d)/2),Math.max(d,(v+d)/2)];if(t>_[0]&&t<=_[1]||t>=y[0]&&t<=y[1]){a=i[l].index;break}}else{var b=Math.min(f,p),w=Math.max(f,p);if(t>(b+d)/2&&t<=(w+d)/2){a=i[l].index;break}}}else for(var S=0;S<s;S++)if(S===0&&t<=(r[S].coordinate+r[S+1].coordinate)/2||S>0&&S<s-1&&t>(r[S].coordinate+r[S-1].coordinate)/2&&t<=(r[S].coordinate+r[S+1].coordinate)/2||S===s-1&&t>(r[S].coordinate+r[S-1].coordinate)/2){a=r[S].index;break}return a},UC=function(t){var n=t,r=n.type.displayName,i=t.props,o=i.stroke,a=i.fill,s;switch(r){case"Line":s=o;break;case"Area":case"Radar":s=o&&o!=="none"?o:a;break;default:s=a;break}return s},NOe=function(t){var n=t.barSize,r=t.totalSize,i=t.stackGroups,o=i===void 0?{}:i;if(!o)return{};for(var a={},s=Object.keys(o),c=0,l=s.length;c<l;c++)for(var f=o[s[c]].stackGroups,d=Object.keys(f),p=0,v=d.length;p<v;p++){var y=f[d[p]],g=y.items,x=y.cateAxisId,_=g.filter(function(E){return Ro(E.type).indexOf("Bar")>=0});if(_&&_.length){var b=_[0].props.barSize,w=_[0].props[x];a[w]||(a[w]=[]);var S=Ue(b)?n:b;a[w].push({item:_[0],stackList:_.slice(1),barSize:Ue(S)?void 0:Zn(S,r,0)})}}return a},MOe=function(t){var n=t.barGap,r=t.barCategoryGap,i=t.bandSize,o=t.sizeList,a=o===void 0?[]:o,s=t.maxBarSize,c=a.length;if(c<1)return null;var l=Zn(n,i,0,!0),f,d=[];if(a[0].barSize===+a[0].barSize){var p=!1,v=i/c,y=a.reduce(function(S,E){return S+E.barSize||0},0);y+=(c-1)*l,y>=i&&(y-=(c-1)*l,l=0),y>=i&&v>0&&(p=!0,v*=.9,y=c*v);var g=(i-y)/2>>0,x={offset:g-l,size:0};f=a.reduce(function(S,E){var C={item:E.item,position:{offset:x.offset+x.size+l,size:p?v:E.barSize}},T=[].concat(tM(S),[C]);return x=T[T.length-1].position,E.stackList&&E.stackList.length&&E.stackList.forEach(function(A){T.push({item:A,position:x})}),T},d)}else{var _=Zn(r,i,0,!0);i-2*_-(c-1)*l<=0&&(l=0);var b=(i-2*_-(c-1)*l)/c;b>1&&(b>>=0);var w=s===+s?Math.min(b,s):b;f=a.reduce(function(S,E,C){var T=[].concat(tM(S),[{item:E.item,position:{offset:_+(b+l)*C+(b-w)/2,size:w}}]);return E.stackList&&E.stackList.length&&E.stackList.forEach(function(A){T.push({item:A,position:T[T.length-1].position})}),T},d)}return f},LOe=function(t,n,r,i){var o=r.children,a=r.width,s=r.margin,c=a-(s.left||0)-(s.right||0),l=fF({children:o,legendWidth:c});if(l){var f=i||{},d=f.width,p=f.height,v=l.align,y=l.verticalAlign,g=l.layout;if((g==="vertical"||g==="horizontal"&&y==="middle")&&v!=="center"&&Ce(t[v]))return ti(ti({},t),{},$c({}
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function XOe(e,t){if(e){if(typeof e=="string")return lM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lM(e,t)}}function lM(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function QOe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(f){l=!0,i=f}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function JOe(e){if(Array.isArray(e))return e}var Jg=Math.PI/180,eSe=function(t){return t*180/Math.PI},Ot=function(t,n,r,i){return{x:t+Math.cos(-Jg*i)*r,y:n+Math.sin(-Jg*i)*r}},wF=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(t-(r.left||0)-(r.right||0)),Math.abs(n-(r.top||0)-(r.bottom||0)))/2},tSe=function(t,n,r,i,o){var a=t.width,s=t.height,c=t.startAngle,l=t.endAngle,f=Zn(t.cx,a,a/2),d=Zn(t.cy,s,s/2),p=wF(a,s,r),v=Zn(t.innerRadius,p,0),y=Zn(t.outerRadius,p,p*.8),g=Object.keys(n);return g.reduce(function(x,_){var b=n[_],w=b.domain,S=b.reversed,E;if(Ue(b.range))i==="angleAxis"?E=[c,l]:i==="radiusAxis"&&(E=[v,y]),S&&(E=[E[1],E[0]]);else{E=b.range;var C=E,T=YOe(C,2);c=T[0],l=T[1]}var A=vF(b,o),F=A.realScaleType,k=A.scale;k.domain(w).range(E),gF(k);var I=yF(k,Po(Po({},b),{},{realScaleType:F})),D=Po(Po(Po({},b),I),{},{range:E,radius:y,realScaleType:F,scale:k,cx:f,cy:d,innerRadius:v,outerRadius:y,startAngle:c,endAngle:l});return Po(Po({},x),{},xF({},_,D))},{})},nSe=function(t,n){var r=t.x,i=t.y,o=n.x,a=n.y;return Math.sqrt(Math.pow(r-o,2)+Math.pow(i-a,2))},rSe=function(t,n){var r=t.x,i=t.y,o=n.cx,a=n.cy,s=nSe({x:r,y:i},{x:o,y:a});if(s<=0)return{radius:s};var c=(r-o)/s,l=Math.acos(c);return i>a&&(l=2*Math.PI-l),{radius:s,angle:eSe(l),angleInRadian:l}},iSe=function(t){var n=t.startAngle,r=t.endAngle,i=Math.floor(n/360),o=Math.floor(r/360),a=Math.min(i,o);return{startAngle:n-a*360,endAngle:r-a*360}},oSe=function(t,n){var r=n.startAngle,i=n.endAngle,o=Math.floor(r/360),a=Math.floor(i/360),s=Math.min(o,a);return t+s*360},cM=function(t,n){var r=t.x,i=t.y,o=rSe({x:r,y:i},n),a=o.radius,s=o.angle,c=n.innerRadius,l=n.outerRadius;if(a<c||a>l)return!1;if(a===0)return!0;var f=iSe(n),d=f.startAngle,p=f.endAngle,v=s,y;if(d<=p){for(;v>p;)v-=360;for(;v<d;)v+=360;y=v>=d&&v<=p}else{for(;v>d;)v-=360;for(;v<p;)v+=360;y=v>=p&&v<=d}return y?Po(Po({},n),{},{radius:a,angle:oSe(v,n)}):null},OF=function(t){return!M.isValidElement(t)&&!Ve(t)&&typeof t!="boolean"?t.className:""};function Eh(e){"@babel/helpers - typeof";return Eh=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},Eh(e)}var aSe=["offset"];function sSe(e){return fSe(e)||uSe(e)||cSe(e)||lSe()}function lSe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cSe(e,t){if(e){if(typeof e=="string")return eO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eO(e,t)}}function uSe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fSe(e){if(Array.isArray(e))return eO(e)}function eO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function dSe(e,t){if(e==null)return{};var n=hSe(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function hSe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function uM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function an(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?uM(Object(n),!0).forEach(function(r){pSe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uM(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function pSe(e,t,n){return t=mSe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mSe(e){var t=vSe(e,"string");return Eh(t)=="symbol"?t:String(t)}function vSe(e,t){if(Eh(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Eh(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ch(){return Ch=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ch.apply(this,arguments)}var gSe=function(t){var n=t.value,r=t.formatter,i=Ue(t.children)?n:t.children;return Ve(r)?r(i):i},ySe=function(t,n){var r=Yn(n-t),i=Math.min(Math.abs(n-t),360);return r*i},bSe=function(t,n,r){var i=t.position,o=t.viewBox,a=t.offset,s=t.className,c=o,l=c.cx,f=c.cy,d=c.innerRadius,p=c.outerRadius,v=c.startAngle,y=c.endAngle,g=c.clockWise,x=(d+p)/2,_=ySe(v,y),b=_>=0?1:-1,w,S;i==="insideStart"?(w=v+b*a,S=g):i==="insideEnd"?(w=y-b*a,S=!g):i==="end"&&(w=y+b*a,S=g),S=_<=0?S:!S;var E=Ot(l,f,x,w),C=Ot(l,f,x,w+(S?1:-1)*359),T="M".concat(E.x,",").concat(E.y,`
|
|||
|
A`).concat(x,",").concat(x,",0,1,").concat(S?0:1,`,
|
|||
|
`).concat(C.x,",").concat(C.y),A=Ue(t.id)?ds("recharts-radial-line-"):t.id;return V.createElement("text",Ch({},r,{dominantBaseline:"central",className:Ee("recharts-radial-bar-label",s)}),V.createElement("defs",null,V.createElement("path",{id:A,d:T})),V.createElement("textPath",{xlinkHref:"#".concat(A)},n))},_Se=function(t){var n=t.viewBox,r=t.offset,i=t.position,o=n,a=o.cx,s=o.cy,c=o.innerRadius,l=o.outerRadius,f=o.startAngle,d=o.endAngle,p=(f+d)/2;if(i==="outside"){var v=Ot(a,s,l+r,p),y=v.x,g=v.y;return{x:y,y:g,textAnchor:y>=a?"start":"end",verticalAnchor:"middle"}}if(i==="center")return{x:a,y:s,textAnchor:"middle",verticalAnchor:"middle"};if(i==="centerTop")return{x:a,y:s,textAnchor:"middle",verticalAnchor:"start"};if(i==="centerBottom")return{x:a,y:s,textAnchor:"middle",verticalAnchor:"end"};var x=(c+l)/2,_=Ot(a,s,x,p),b=_.x,w=_.y;return{x:b,y:w,textAnchor:"middle",verticalAnchor:"middle"}},xSe=function(t){var n=t.viewBox,r=t.parentViewBox,i=t.offset,o=t.position,a=n,s=a.x,c=a.y,l=a.width,f=a.height,d=f>=0?1:-1,p=d*i,v=d>0?"end":"start",y=d>0?"start":"end",g=l>=0?1:-1,x=g*i,_=g>0?"end":"start",b=g>0?"start":"end";if(o==="top"){var w={x:s+l/2,y:c-d*i,textAnchor:"middle",verticalAnchor:v};return an(an({},w),r?{height:Math.max(c-r.y,0),width:l}:{})}if(o==="bottom"){var S={x:s+l/2,y:c+f+p,textAnchor:"middle",verticalAnchor:y};return an(an({},S),r?{height:Math.max(r.y+r.height-(c+f),0),width:l}:{})}if(o==="left"){var E={x:s-x,y:c+f/2,textAnchor:_,verticalAnchor:"middle"};return an(an({},E),r?{width:Math.max(E.x-r.x,0),height:f}:{})}if(o==="right"){var C={x:s+l+x,y:c+f/2,textAnchor:b,verticalAnchor:"middle"};return an(an({},C),r?{width:Math.max(r.x+r.width-C.x,0),height:f}:{})}var T=r?{width:l,height:f}:{};return o==="insideLeft"?an({x:s+x,y:c+f/2,textAnchor:b,verticalAnchor:"middle"},T):o==="insideRight"?an({x:s+l-x,y:c+f/2,textAnchor:_,verticalAnchor:"middle"},T):o==="insideTop"?an({x:s+l/2,y:c+p,textAnchor:"middle",verticalAnchor:y},T):o==="insideBottom"?an({x:s+l/2,y:c+f-p,textAnchor:"middle",verticalAnchor:v},T):o==="insideTopLeft"?an({x:s+x,y:c+p,textAnchor:b,verticalAnchor:y},T):o==="insideTopRight"?an({x:s+l-x,y:c+p,textAnchor:_,verticalAnchor:y},T):o==="insideBottomLeft"?an({x:s+x,y:c+f-p,textAnchor:b,verticalAnchor:v},T):o==="insideBottomRight"?an({x:s+l-x,y:c+f-p,textAnchor:_,verticalAnchor:v},T):Mu(o)&&(Ce(o.x)||Ws(o.x))&&(Ce(o.y)||Ws(o.y))?an({x:s+Zn(o.x,l),y:c+Zn(o.y,f),textAnchor:"end",verticalAnchor:"end"},T):an({x:s+l/2,y:c+f/2,textAnchor:"middle",verticalAnchor:"middle"},T)},wSe=function(t){return"cx"in t&&Ce(t.cx)};function yn(e){var t=e.offset,n=t===void 0?5:t,r=dSe(e,aSe),i=an({offset:n},r),o=i.viewBox,a=i.position,s=i.value,c=i.children,l=i.content,f=i.className,d=f===void 0?"":f,p=i.textBreakAll;if(!o||Ue(s)&&Ue(c)&&!M.isValidElement(l)&&!Ve(l))return null;if(M.isValidElement(l))return M.cloneElement(l,i);var v;if(Ve(l)){if(v=M.createElement(l,i),M.isValidElement(v))return v}else v=gSe(i);var y=wSe(o),g=De(i,!0);if(y&&(a==="insideStart"||a==="insideEnd"||a==="end"))return bSe(i,v,g);var x=y?_Se(i):xSe(i);return V.createElement(gl,Ch({className:Ee("recharts-label",d)},g,x,{breakAll:p}),v)}yn.displayName="Label";var SF=function(t){var n=t.cx,r=t.cy,i=t.angle,o=t.startAngle,a=t.endAngle,s=t.r,c=t.radius,l=t.innerRadius,f=t.outerRadius,d=t.x,p=t.y,v=t.top,y=t.left,g=t.width,x=t.height,_=t.clockWise,b=t.labelViewBox;if(b)return b;if(Ce(g)&&Ce(x)){if(Ce(d)&&Ce(p))return{x:d,y:p,width:g,height:x};if(Ce(v)&&Ce(y))return{x:v,y,width:g,height:x}}return Ce(d)&&Ce(p)?{x:d,y:p,width:0,height:0}:Ce(n)&&Ce(r)?{cx:n,cy:r,startAngle:o||i||0,endAngle:a||i||0,innerRadius:l||0,outerRadius:f||c||s||0,clockWise:_}:t.viewBox?t.viewBox:{}},OSe=function(t,n){return t?t===!0?V.createElement(yn,{key:"label-implicit",viewBox:n}):cn(t)?V.createElement(yn,{key:"label-implicit",viewBox:n,value:t}):M.isValidElement(t)?t.type===yn?M.cloneElement(t,{key:"label-implicit",viewBox:n}):V.createElement(yn,{key:"label-implicit",content:t,viewBox:n}):Ve(t)?V.createElement(yn,{key:"label-implicit",content:t,viewBox:n}):Mu(t)?V.createElem
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function NSe(e,t){if(e){if(typeof e=="string")return tO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tO(e,t)}}function MSe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function LSe(e){if(Array.isArray(e))return tO(e)}function tO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ey(){return ey=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ey.apply(this,arguments)}function fM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function dM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fM(Object(n),!0).forEach(function(r){RSe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fM(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function RSe(e,t,n){return t=$Se(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $Se(e){var t=ISe(e,"string");return Ph(t)=="symbol"?t:String(t)}function ISe(e,t){if(Ph(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Ph(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function hM(e,t){if(e==null)return{};var n=DSe(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function DSe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}var FSe=function(t){return Array.isArray(t.value)?PSe(t.value):t.value};function Mi(e){var t=e.valueAccessor,n=t===void 0?FSe:t,r=hM(e,TSe),i=r.data,o=r.dataKey,a=r.clockWise,s=r.id,c=r.textBreakAll,l=hM(r,jSe);return!i||!i.length?null:V.createElement(Ze,{className:"recharts-label-list"},i.map(function(f,d){var p=Ue(o)?n(f,d):Pt(f&&f.payload,o),v=Ue(s)?{}:{id:"".concat(s,"-").concat(d)};return V.createElement(yn,ey({},De(f,!0),l,v,{parentViewBox:f.parentViewBox,value:p,textBreakAll:c,viewBox:yn.parseViewBox(Ue(a)?f:dM(dM({},f),{},{clockWise:a})),key:"label-".concat(d),index:d}))}))}Mi.displayName="LabelList";function BSe(e,t){return e?e===!0?V.createElement(Mi,{key:"labelList-implicit",data:t}):V.isValidElement(e)||Ve(e)?V.createElement(Mi,{key:"labelList-implicit",data:t,content:e}):Mu(e)?V.createElement(Mi,ey({data:t},e,{key:"labelList-implicit"})):null:null}function USe(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&n&&!e.label)return null;var r=e.children,i=tr(r,Mi).map(function(a,s){return M.cloneElement(a,{data:t,key:"labelList-".concat(s)})});if(!n)return i;var o=BSe(e.label,t);return[o].concat(ASe(i))}Mi.renderCallByParent=USe;function Th(e){"@babel/helpers - typeof";return Th=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},Th(e)}function nO(){return nO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nO.apply(this,arguments)}function pM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(
|
|||
|
A `).concat(o,",").concat(o,`,0,
|
|||
|
`).concat(+(Math.abs(c)>180),",").concat(+(a>l),`,
|
|||
|
`).concat(d.x,",").concat(d.y,`
|
|||
|
`);if(i>0){var v=Ot(n,r,i,a),y=Ot(n,r,i,l);p+="L ".concat(y.x,",").concat(y.y,`
|
|||
|
A `).concat(i,",").concat(i,`,0,
|
|||
|
`).concat(+(Math.abs(c)>180),",").concat(+(a<=l),`,
|
|||
|
`).concat(v.x,",").concat(v.y," Z")}else p+="L ".concat(n,",").concat(r," Z");return p},GSe=function(t){var n=t.cx,r=t.cy,i=t.innerRadius,o=t.outerRadius,a=t.cornerRadius,s=t.forceCornerRadius,c=t.cornerIsExternal,l=t.startAngle,f=t.endAngle,d=Yn(f-l),p=jm({cx:n,cy:r,radius:o,angle:l,sign:d,cornerRadius:a,cornerIsExternal:c}),v=p.circleTangency,y=p.lineTangency,g=p.theta,x=jm({cx:n,cy:r,radius:o,angle:f,sign:-d,cornerRadius:a,cornerIsExternal:c}),_=x.circleTangency,b=x.lineTangency,w=x.theta,S=c?Math.abs(l-f):Math.abs(l-f)-g-w;if(S<0)return s?"M ".concat(y.x,",").concat(y.y,`
|
|||
|
a`).concat(a,",").concat(a,",0,0,1,").concat(a*2,`,0
|
|||
|
a`).concat(a,",").concat(a,",0,0,1,").concat(-a*2,`,0
|
|||
|
`):EF({cx:n,cy:r,innerRadius:i,outerRadius:o,startAngle:l,endAngle:f});var E="M ".concat(y.x,",").concat(y.y,`
|
|||
|
A`).concat(a,",").concat(a,",0,0,").concat(+(d<0),",").concat(v.x,",").concat(v.y,`
|
|||
|
A`).concat(o,",").concat(o,",0,").concat(+(S>180),",").concat(+(d<0),",").concat(_.x,",").concat(_.y,`
|
|||
|
A`).concat(a,",").concat(a,",0,0,").concat(+(d<0),",").concat(b.x,",").concat(b.y,`
|
|||
|
`);if(i>0){var C=jm({cx:n,cy:r,radius:i,angle:l,sign:d,isExternal:!0,cornerRadius:a,cornerIsExternal:c}),T=C.circleTangency,A=C.lineTangency,F=C.theta,k=jm({cx:n,cy:r,radius:i,angle:f,sign:-d,isExternal:!0,cornerRadius:a,cornerIsExternal:c}),I=k.circleTangency,D=k.lineTangency,q=k.theta,W=c?Math.abs(l-f):Math.abs(l-f)-F-q;if(W<0&&a===0)return"".concat(E,"L").concat(n,",").concat(r,"Z");E+="L".concat(D.x,",").concat(D.y,`
|
|||
|
A`).concat(a,",").concat(a,",0,0,").concat(+(d<0),",").concat(I.x,",").concat(I.y,`
|
|||
|
A`).concat(i,",").concat(i,",0,").concat(+(W>180),",").concat(+(d>0),",").concat(T.x,",").concat(T.y,`
|
|||
|
A`).concat(a,",").concat(a,",0,0,").concat(+(d<0),",").concat(A.x,",").concat(A.y,"Z")}else E+="L".concat(n,",").concat(r,"Z");return E},qSe={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},CF=function(t){var n=mM(mM({},qSe),t),r=n.cx,i=n.cy,o=n.innerRadius,a=n.outerRadius,s=n.cornerRadius,c=n.forceCornerRadius,l=n.cornerIsExternal,f=n.startAngle,d=n.endAngle,p=n.className;if(a<o||f===d)return null;var v=Ee("recharts-sector",p),y=a-o,g=Zn(s,y,0,!0),x;return g>0&&Math.abs(f-d)<360?x=GSe({cx:r,cy:i,innerRadius:o,outerRadius:a,cornerRadius:Math.min(g,y/2),forceCornerRadius:c,cornerIsExternal:l,startAngle:f,endAngle:d}):x=EF({cx:r,cy:i,innerRadius:o,outerRadius:a,startAngle:f,endAngle:d}),V.createElement("path",nO({},De(n,!0),{className:v,d:x,role:"img"}))};function jh(e){"@babel/helpers - typeof";return jh=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},jh(e)}function rO(){return rO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rO.apply(this,arguments)}function vM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function gM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?vM(Object(n),!0).forEach(function(r){KSe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vM(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function KSe(e,t,n){return t=YSe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function YSe(e){var t=ZSe(e,"string");return jh(t)=="symbol"?t:String(t)}function ZSe(e,t){if(jh(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(jh(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var yM={curveBasisClosed:ihe,curveBasisOpen:ohe,curveBasis:rhe,curveBumpX:Vde,curveBumpY:Wde,curveLinearClosed:ahe,curveLinear:N0,curveMonotoneX:she,curveMonotoneY:lhe,curveNatural:che,curveStep:uhe,curveStepAfter:dhe,curveStepBefore:fhe},Am=function(t){return t.x===+t.x&&t.y===+t.y},Lf=function(t){return t.x},Rf=function(t){return t.y},XSe=function(t,n){if(Ve(t))return t;var r="curve".concat(A0(t));return(r==="curveMonotone"||r==="curveBump")&&n?yM["".concat(r).concat(n==="vertical"?"Y":"X")]:yM[r]||N0},QSe=function(t){var n=t.type,r=n===void 0?"linear":n,i=t.points,o=i===void 0?[]:i,a=t.baseLine,s=t.layout,c=t.connectNulls,l=c===void 0?!1:c,f=XSe(r,s),d=l?o.filter(function(g){return Am(g)}):o,p;if(Array.isArray(a)){var v=l?a.filter(function(g){return Am(g)}):a,y=d.map(function(g,x){return gM(gM({},g),{},{base:v[x]})});return s==="vertical"?p=_m().y(Rf).x1(Lf).x0(function(g){return g.base.x}):p=_m().x(Lf).y1(Rf).y0(function(g){return g.base.y}),p.defined(Am).curve(f),p(y)}return s==="vertical"&&Ce(a)?p=_m().y(Rf).x1(Lf).x0(a):Ce(a)?p=_m().x(Lf).y1(Rf).y0(a):p=w5().x(Lf).y(Rf),p.defined(Am).curve(f),p(d)},Ha=function(t){var n=t.className,r=t.points,i=t.path,o=t.pathRef;if((!r||!r.length)&&!i)return null;var a=r&&r.length?QSe(t):i;return V.createElement("path",rO({},De(t,!1),Cg(t),{className:Ee("recharts-curve",n),d:a,ref:o}))},JSe=Object.getOwnPropertyNames,eEe=Object.getOwnPropertySymbols,tEe=Object.prototype.hasOwnProperty;function bM(e,t){return function(r,i,o){return e(r,i,o)&&t(r,i,o)}}function km(e){return function(n,r,i){if(!n||!r||typeof n!="object"||typeof r!="object")return e(n,r,i);var o=i.cache,a=o.get(n),s=o.get(r);if(a&&s)return a===r&&s===n;o.set(n,r),o.set(r,n);var c=e(n,r,i);return o
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function PEe(e,t){if(e){if(typeof e=="string")return TM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return TM(e,t)}}function TM(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function TEe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function jEe(e){if(Array.isArray(e))return e}function AEe(){var e={},t=function(){return null},n=!1,r=function i(o){if(!n){if(Array.isArray(o)){if(!o.length)return;var a=o,s=EEe(a),c=s[0],l=s.slice(1);if(typeof c=="number"){PM(i.bind(null,l),c);return}i(c),PM(i.bind(null,l));return}iO(o)==="object"&&(e=o,t(e)),typeof o=="function"&&o()}};return{stop:function(){n=!0},start:function(o){n=!1,r(o)},subscribe:function(o){return t=o,function(){t=function(){return null}}}}}function Ah(e){"@babel/helpers - typeof";return Ah=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},Ah(e)}function jM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function AM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?jM(Object(n),!0).forEach(function(r){jF(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jM(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function jF(e,t,n){return t=kEe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kEe(e){var t=NEe(e,"string");return Ah(t)==="symbol"?t:String(t)}function NEe(e,t){if(Ah(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Ah(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var MEe=function(t,n){return[Object.keys(t),Object.keys(n)].reduce(function(r,i){return r.filter(function(o){return i.includes(o)})})},LEe=function(t){return t},REe=function(t){return t.replace(/([A-Z])/g,function(n){return"-".concat(n.toLowerCase())})},yd=function(t,n){return Object.keys(n).reduce(function(r,i){return AM(AM({},r),{},jF({},i,t(i,n[i])))},{})},kM=function(t,n,r){return t.map(function(i){return"".concat(REe(i)," ").concat(n,"ms ").concat(r)}).join(",")};function $Ee(e,t){return FEe(e)||DEe(e,t)||AF(e,t)||IEe()}function IEe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function DEe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(f){l=!0,i=f}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function FEe(e){if(Array.isArray(e))return e}function BEe(e){return VEe(e)||zEe(e)||AF(e)||UEe()}function UEe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function AF(e,t){if(e){if(typeof e=="string")return oO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oO(e,t)}}function zEe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function VEe(e){if(Array.isArray(e))return oO(e)}function oO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ty=1e-4,kF=function(t,n){return[0,3*t,3*n-6*t,3*t-3*n+1]},NF=function(t,n){return t.map(function(r,i){return r*Math.pow(n,i)}).reduce(function(r,i){return r+i})},NM=function(t,n){return function(r){var i=kF(t,n);return NF(i,r)}},WEe=function(t,n){return function(r){var i=kF(t,n),o=[].concat(BEe(i.map(function(a,s){return a*s}).slice(1)),[0]);return NF(o,r)}},MM=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0],o=n[1],a=n[2],s=n[3];if(n.length===1)switch(n[0]){case"linear":i=0,o=0,a=1,s=1;break;case"ease":i=.25,o=.1,a=.25,s=1;break;case"ease-in":i=.42,o=0,a=1,s=1;break;case"ease-out":i=.42,o=0,a=.58,s=1;break;case"ease-in-out":i=0,o=0,a=.58,s=1;break;default:{var c=n[0].split("(");if(c[0]==="cubic-bezier"&&c[1].split(")")[0].split(",").length===4){var l=c[1].split(")")[0].split(",").map(function(x){return parseFloat(x)}),f=$Ee(l,4);i=f[0],o=f[1],a=f[2],s=f[3]}}}var d=NM(i,a),p=NM(o,s),v=WEe(i,a),y=function(_){return _>1?1:_<0?0:_},g=function(_){for(var b=_>1?1:_,w=b,S=0;S<8;++S){var E=d(w)-b,C=v(w);if(Math.abs(E-b)<ty||C<ty)return p(w);w=y(w-E/C)}return p(w)};return g.isStepper=!1,g},HEe=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.stiff,r=n===void 0?100:n,i=t.damping,o=i===void 0?8:i,a=t.dt,s=a===void 0?17:a,c=function(f,d,p){var v=-(f-d)*r,y=p*o,g=p+(v-y)*s/1e3,x=p*s/1e3+f;return Math.abs(x-d)<ty&&Math.abs(g)<ty?[d,0]:[x,g]};return c.isStepper=!0,c.dt=s,c},GEe=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0];if(typeof i=="string")switch(i){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return MM(i);case"spring":return HEe();default:if(i.split("(")[0]==="cubic-bezier")return MM(i)}return typeof i=="function"?i:null};function kh(e){"@babel/helpers - typeof";return kh=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},kh(e)}function LM(e){return YEe(e)||KEe(e)||MF(e)||qEe()}function qEe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function KEe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function YEe(e){if(Array.isArray(e))return sO(e)}function RM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function An(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?RM(Object(n),!0).forEach(function(r){aO(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RM(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function aO(e,t,n){return t=ZEe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ZEe(e){var t=XEe(e,"string");return kh(t)==="symbol"?t:String(t)}function XEe(e,t){if(kh(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(kh(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function QEe(e,t){return tCe(e)||eCe(e,t)||MF(e,t)||JEe()}function JEe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function MF(e,t){if(e){if(typeof e=="string")return sO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return sO(e,t)}}function sO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function eCe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(f){l=!0,i=f}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function tCe(e){if(Array.isArray(e))return e}var ny=function(t,n,r){return t+(n-t)*r},lO=function(t){var n=t.from,r=t.to;return n!==r},nCe=function e(t,n,r){var i=yd(function(o,a){if(lO(a)){var s=t(a.from,a.to,a.velocity),c=QEe(s,2),l=c[0],f=c[1];return An(An({},a),{},{from:l,velocity:f})}return a},n);return r<1?yd(function(o,a){return lO(a)?An(An({},a),{},{velocity:ny(a.velocity,i[o].velocity,r),from:ny(a.from,i[o].from,r)}):a},n):e(t,i,r-1)};const rCe=function(e,t,n,r,i){var o=MEe(e,t),a=o.reduce(function(x,_){return An(An({},x),{},aO({},_,[e[_],t[_]]))},{}),s=o.reduce(function(x,_){return An(An({},x),{},aO({},_,{from:e[_],velocity:0,to:t[_]}))},{}),c=-1,l,f,d=function(){return null},p=function(){return yd(function(_,b){return b.from},s)},v=function(){return!Object.values(s).filter(lO).length},y=function(_){l||(l=_);var b=_-l,w=b/n.dt;s=nCe(n,s,w),i(An(An(An({},e),t),p())),l=_,v()||(c=requestAnimationFrame(d))},g=function(_){f||(f=_);var b=(_-f)/r,w=yd(function(E,C){return ny.apply(void 0,LM(C).concat([n(b)]))},a);if(i(An(An(An({},e),t),w)),b<1)c=requestAnimationFrame(d);else{var S=yd(function(E,C){return ny.apply(void 0,LM(C).concat([n(1)]))},a);i(An(An(An({},e),t),S))}};return d=n.isStepper?y:g,function(){return requestAnimationFrame(d),function(){cancelAnimationFrame(c)}}};function uu(e){"@babel/helpers - typeof";return uu=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},uu(e)}var iCe=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function oCe(e,t){if(e==null)return{};var n=aCe(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function aCe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function t_(e){return uCe(e)||cCe(e)||lCe(e)||sCe()}function sCe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lCe(e,t){if(e){if(typeof e=="string")return cO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cO(e,t)}}function cCe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function uCe(e){if(Array.isArray(e))return cO(e)}function cO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function xi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$M(Object(n),!0).forEach(function(r){Kf(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$M(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Kf(e,t,n){return t=LF(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fCe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dCe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,LF(r.key),r)}}function hCe(e,t,n){return t&&dCe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function LF(e){var t=pCe(e,"string");return uu(t)==="symbol"?t:String(t)}function pCe(e,t){if(uu(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(uu(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function mCe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&uO(e,t)}function uO(e,t){return uO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},uO(e,t)}function vCe(e){var t=gCe();return function(){var r=ry(e),i;if(t){var o=ry(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return fO(this,i)}}function fO(e,t){if(t&&(uu(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return dO(e)}function dO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gCe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ry(e){return ry=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},ry(e)}var pi=function(e){mCe(n,e);var t=vCe(n);function n(r,i){var o;fCe(this,n),o=t.call(this,r,i);var a=o.props,s=a.isActive,c=a.attributeName,l=a.from,f=a.to,d=a.steps,p=a.children,v=a.duration;if(o.handleStyleChange=o.handleStyleChange.bind(dO(o)),o.changeStyle=o.changeStyle.bind(dO(o)),!s||v<=0)return o.state={style:{}},typeof p=="function"&&(o.state={style:f}),fO(o);if(d&&d.length)o.state={style:d[0].style};else if(l){if(typeof p=="function")return o.state={style:l},fO(o);o.state={style:c?Kf({},c,l):l}}else o.state={style:{}};return o}return hCe(n,[{key:"componentDidMount",value:function(){var i=this.props,o=i.isActive,a=i.canBegin;this.mounted=!0,!(!o||!a)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(i){var o=this.props,a=o.isActive,s=o.can
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _Ce(e,t){if(e){if(typeof e=="string")return IM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return IM(e,t)}}function IM(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function xCe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(f){l=!0,i=f}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function wCe(e){if(Array.isArray(e))return e}function DM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function FM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?DM(Object(n),!0).forEach(function(r){OCe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):DM(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function OCe(e,t,n){return t=SCe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function SCe(e){var t=ECe(e,"string");return Nh(t)=="symbol"?t:String(t)}function ECe(e,t){if(Nh(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Nh(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var BM=function(t,n,r,i,o){var a=Math.min(Math.abs(r)/2,Math.abs(i)/2),s=i>=0?1:-1,c=r>=0?1:-1,l=i>=0&&r>=0||i<0&&r<0?1:0,f;if(a>0&&o instanceof Array){for(var d=[0,0,0,0],p=0,v=4;p<v;p++)d[p]=o[p]>a?a:o[p];f="M".concat(t,",").concat(n+s*d[0]),d[0]>0&&(f+="A ".concat(d[0],",").concat(d[0],",0,0,").concat(l,",").concat(t+c*d[0],",").concat(n)),f+="L ".concat(t+r-c*d[1],",").concat(n),d[1]>0&&(f+="A ".concat(d[1],",").concat(d[1],",0,0,").concat(l,`,
|
|||
|
`).concat(t+r,",").concat(n+s*d[1])),f+="L ".concat(t+r,",").concat(n+i-s*d[2]),d[2]>0&&(f+="A ".concat(d[2],",").concat(d[2],",0,0,").concat(l,`,
|
|||
|
`).concat(t+r-c*d[2],",").concat(n+i)),f+="L ".concat(t+c*d[3],",").concat(n+i),d[3]>0&&(f+="A ".concat(d[3],",").concat(d[3],",0,0,").concat(l,`,
|
|||
|
`).concat(t,",").concat(n+i-s*d[3])),f+="Z"}else if(a>0&&o===+o&&o>0){var y=Math.min(a,o);f="M ".concat(t,",").concat(n+s*y,`
|
|||
|
A `).concat(y,",").concat(y,",0,0,").concat(l,",").concat(t+c*y,",").concat(n,`
|
|||
|
L `).concat(t+r-c*y,",").concat(n,`
|
|||
|
A `).concat(y,",").concat(y,",0,0,").concat(l,",").concat(t+r,",").concat(n+s*y,`
|
|||
|
L `).concat(t+r,",").concat(n+i-s*y,`
|
|||
|
A `).concat(y,",").concat(y,",0,0,").concat(l,",").concat(t+r-c*y,",").concat(n+i,`
|
|||
|
L `).concat(t+c*y,",").concat(n+i,`
|
|||
|
A `).concat(y,",").concat(y,",0,0,").concat(l,",").concat(t,",").concat(n+i-s*y," Z")}else f="M ".concat(t,",").concat(n," h ").concat(r," v ").concat(i," h ").concat(-r," Z");return f},CCe=function(t,n){if(!t||!n)return!1;var r=t.x,i=t.y,o=n.x,a=n.y,s=n.width,c=n.height;if(Math.abs(s)>0&&Math.abs(c)>0){var l=Math.min(o,o+s),f=Math.max(o,o+s),d=Math.min(a,a+c),p=Math.max(a,a+c);return r>=l&&r<=f&&i>=d&&i<=p}return!1},PCe={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},zC=function(t){var n=FM(FM({},PCe),t),r=M.useRef(),i=M.useState(-1),o=yCe(i,2),a=o[0],s=o[1];M.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var S=r.current.getTotalLength();S&&s(S)}catch{}},[]);var c=n.x,l=n.y,f=n.width,d=n.height,p=n.radius,v=n.className,y=n.animationEasing,g=n.animationDuration,x=n.animationBegin,_=n.isAnimationActive,b=n.isUpdateAnimationActive;if(c!==+c||l!==+l||f!==+f||d!==+d||f===0||d===0)return null;var w=Ee("recharts-rectangle",v);return b?V.createElement(pi,{canBegin:a>0,from:{width:f,height:d,x:c,y:l},to:{width:f,height:d,x:c,y:l},duration:g,animationEasing:y,isActive:b},function(S){var E=S.width,C=S.height,T=S.x,A=S.y;return V.createElement(pi,{canBegin:a>0,from:"0px ".concat(a===-1?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:x,duration:g,isActive:_,easing:y},V.createElement("path",iy({},De(n,!0),{className:w,d:BM(T,A,E,C,p),ref:r})))}):V.createElement("path",iy({},De(n,!0),{className:w,d:BM(c,l,f,d,p)}))},TCe=["points","className","baseLinePoints","connectNulls"];function Oc(){return Oc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Oc.apply(this,arguments)}function jCe(e,t){if(e==null)return{};var n=ACe(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ACe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function UM(e){return LCe(e)||MCe(e)||NCe(e)||kCe()}function kCe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function NCe(e,t){if(e){if(typeof e=="string")return hO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hO(e,t)}}function MCe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function LCe(e){if(Array.isArray(e))return hO(e)}function hO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var zM=function(t){return t&&t.x===+t.x&&t.y===+t.y},RCe=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=[[]];return t.forEach(function(r){zM(r)?n[n.length-1].push(r):n[n.length-1].length>0&&n.push([])}),zM(t[0])&&n[n.length-1].push(t[0]),n[n.length-1].length<=0&&(n=n.slice(0,-1)),n},bd=function(t,n){var r=RCe(t);n&&(r=[r.reduce(function(o,a){return[].concat(UM(o),UM(a))},[])]);var i=r.map(function(o){return o.reduce(function(a,s,c){return"".concat(a).concat(c===0?"M":"L").concat(s.x,",").concat(s.y)},"")}).join("");return r.length===1?"".concat(i,"Z"):i},$Ce=function(t,n,r){var i=bd(t,r);return"".concat(i.slice(-1)==="Z"?i.slice(0,-1):i,"L").concat(bd(n.reverse(),r).slice(1))},ICe=function(t){var n=t.points,r=t.className,i=t.baseLinePoints,o=t.connectNulls,a=jCe(t,TCe);if(!n||!n.length)return null;var s=Ee("recharts-polygon",r);if(i&&i.length){var c=a.stroke&&a.stroke!=="none",l=$Ce(n,i,o);return V.createElement("g",{className:s},V.createElement("path",Oc({},De(a,!0),{fill:l.slice(-1)==="Z"?a.fill:"none",stroke:"none",d:l})),c?V.createElement("path",Oc({},De(a,!0),{fill:"none",d:bd(n,o)})):null,c?V.createElement("path",Oc({},De(a,!0),{fill:"none",d:bd(i,o)})):null)}var f=bd(n,o);return V.createElement("path",Oc({},De(a,!0),{fill:f.slice(-1)==="Z"?a.fill:"none",className:s,d:f}))};function pO(){return pO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pO.apply(this,arguments)}var _p=function(t){var n=t.cx,r=t.cy,i=t.r,o=t.className,a=Ee("recharts-dot",o);return n===+n&&r===+r&&i===+i?V.createElement("circle",pO({},De(t,!1),Cg(t),{className:a,cx:n,cy:r,r:i})):null};function Mh(e){"@babel/helpers - typeof";return Mh=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},Mh(e)}var DCe=["x","y","top","left","width","height","className"];function mO(){return mO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mO.apply(this,arguments)}function VM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function FCe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?VM(Object(n),!0).forEach(function(r){BCe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):VM(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function BCe(e,t,n){return t=UCe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function UCe(e){var t=zCe(e,"string");return Mh(t)=="symbol"?t:String(t)}function zCe(e,t){if(Mh(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Mh(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function VCe(e,t){if(e==null)return{};var n=WCe(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnP
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function HPe(e,t){if(e){if(typeof e=="string")return ZM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ZM(e,t)}}function ZM(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function GPe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(f){l=!0,i=f}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function qPe(e){if(Array.isArray(e))return e}function XM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function QM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?XM(Object(n),!0).forEach(function(r){KPe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):XM(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function KPe(e,t,n){return t=YPe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function YPe(e){var t=ZPe(e,"string");return Lh(t)=="symbol"?t:String(t)}function ZPe(e,t){if(Lh(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Lh(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var JM=function(t,n,r,i,o){var a=r-i,s;return s="M ".concat(t,",").concat(n),s+="L ".concat(t+r,",").concat(n),s+="L ".concat(t+r-a/2,",").concat(n+o),s+="L ".concat(t+r-a/2-i,",").concat(n+o),s+="L ".concat(t,",").concat(n," Z"),s},XPe={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},QPe=function(t){var n=QM(QM({},XPe),t),r=M.useRef(),i=M.useState(-1),o=VPe(i,2),a=o[0],s=o[1];M.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var w=r.current.getTotalLength();w&&s(w)}catch{}},[]);var c=n.x,l=n.y,f=n.upperWidth,d=n.lowerWidth,p=n.height,v=n.className,y=n.animationEasing,g=n.animationDuration,x=n.animationBegin,_=n.isUpdateAnimationActive;if(c!==+c||l!==+l||f!==+f||d!==+d||p!==+p||f===0&&d===0||p===0)return null;var b=Ee("recharts-trapezoid",v);return _?V.createElement(pi,{canBegin:a>0,from:{upperWidth:0,lowerWidth:0,height:p,x:c,y:l},to:{upperWidth:f,lowerWidth:d,height:p,x:c,y:l},duration:g,animationEasing:y,isActive:_},function(w){var S=w.upperWidth,E=w.lowerWidth,C=w.height,T=w.x,A=w.y;return V.createElement(pi,{canBegin:a>0,from:"0px ".concat(a===-1?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:x,duration:g,easing:y},V.createElement("path",sy({},De(n,!0),{className:b,d:JM(T,A,S,E,C),ref:r})))}):V.createElement("g",null,V.createElement("path",sy({},De(n,!0),{className:b,d:JM(c,l,f,d,p)})))},JPe=["option","shapeType","propTransformer","activeClassName","isActive"];function Rh(e){"@babel/helpers - typeof";return Rh=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},Rh(e)}function eTe(e,t){if(e==null)return{};var n=tTe(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function tTe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function e
|
|||
|
the props "valueKey" will be deprecated in 1.1.0`),_="value"):Ue(l)&&(Ni(!1,`Use "dataKey" to specify the value of pie,
|
|||
|
the props "valueKey" will be deprecated in 1.1.0`),_=d);var b=r.filter(function(A){return Pt(A,_,0)!==0}).length,w=(x>=360?b:b-1)*c,S=x-b*v-w,E=r.reduce(function(A,F){var k=Pt(F,_,0);return A+(Ce(k)?k:0)},0),C;if(E>0){var T;C=r.map(function(A,F){var k=Pt(A,_,0),I=Pt(A,f,F),D=(Ce(k)?k:0)/E,q;F?q=T.endAngle+Yn(g)*c*(k!==0?1:0):q=a;var W=q+Yn(g)*((k!==0?v:0)+D*S),X=(q+W)/2,Q=(y.innerRadius+y.outerRadius)/2,ne=[{name:I,value:k,payload:A,dataKey:_,type:p}],Z=Ot(y.cx,y.cy,Q,X);return T=kt(kt(kt({percent:D,cornerRadius:o,name:I,tooltipPayload:ne,midAngle:X,middleRadius:Q,tooltipPosition:Z},A),y),{},{value:Pt(A,_),startAngle:q,endAngle:W,payload:A,paddingAngle:Yn(g)*c}),T})}return kt(kt({},y),{},{sectors:C,data:r})});var xTe=Math.ceil,wTe=Math.max;function OTe(e,t,n,r){for(var i=-1,o=wTe(xTe((t-e)/(n||1)),0),a=Array(o);o--;)a[r?o:++i]=e,e+=n;return a}var STe=OTe,ETe=d8,iL=1/0,CTe=17976931348623157e292;function PTe(e){if(!e)return e===0?e:0;if(e=ETe(e),e===iL||e===-iL){var t=e<0?-1:1;return t*CTe}return e===e?e:0}var zF=PTe,TTe=STe,jTe=I0,n_=zF;function ATe(e){return function(t,n,r){return r&&typeof r!="number"&&jTe(t,n,r)&&(n=r=void 0),t=n_(t),n===void 0?(n=t,t=0):n=n_(n),r=r===void 0?t<n?1:-1:n_(r),TTe(t,n,r,e)}}var kTe=ATe,NTe=kTe,MTe=NTe(),LTe=MTe;const fy=at(LTe);function Ih(e){"@babel/helpers - typeof";return Ih=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},Ih(e)}function oL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function aL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?oL(Object(n),!0).forEach(function(r){VF(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oL(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function VF(e,t,n){return t=RTe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function RTe(e){var t=$Te(e,"string");return Ih(t)=="symbol"?t:String(t)}function $Te(e,t){if(Ih(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Ih(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ITe=["Webkit","Moz","O","ms"],DTe=function(t,n){var r=t.replace(/(\w)/,function(o){return o.toUpperCase()}),i=ITe.reduce(function(o,a){return aL(aL({},o),{},VF({},a+r,n))},{});return i[t]=n,i};function pu(e){"@babel/helpers - typeof";return pu=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},pu(e)}function dy(){return dy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dy.apply(this,arguments)}function sL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function r_(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?sL(Object(n),!0).forEach(function(r){Or(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sL(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function FTe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lL(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,HF(
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wAe(e,t){if(e){if(typeof e=="string")return _L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _L(e,t)}}function _L(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function OAe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(f){l=!0,i=f}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function SAe(e){if(Array.isArray(e))return e}function wO(){return wO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wO.apply(this,arguments)}var EAe=function(t,n){var r;return V.isValidElement(t)?r=V.cloneElement(t,n):Ve(t)?r=t(n):r=V.createElement("line",wO({},n,{className:"recharts-reference-line-line"})),r},CAe=function(t,n,r,i,o,a,s,c,l){var f=o.x,d=o.y,p=o.width,v=o.height;if(r){var y=l.y,g=t.y.apply(y,{position:a});if(co(l,"discard")&&!t.y.isInRange(g))return null;var x=[{x:f+p,y:g},{x:f,y:g}];return c==="left"?x.reverse():x}if(n){var _=l.x,b=t.x.apply(_,{position:a});if(co(l,"discard")&&!t.x.isInRange(b))return null;var w=[{x:b,y:d+v},{x:b,y:d}];return s==="top"?w.reverse():w}if(i){var S=l.segment,E=S.map(function(C){return t.apply(C,{position:a})});return co(l,"discard")&&nje(E,function(C){return!t.isInRange(C)})?null:E}return null};function KC(e){var t=e.x,n=e.y,r=e.segment,i=e.xAxisId,o=e.yAxisId,a=e.shape,s=e.className,c=e.alwaysShow,l=dAe(),f=o7(i),d=a7(o),p=mAe();if(!l||!p)return null;Ni(c===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var v=VC({x:f.scale,y:d.scale}),y=cn(t),g=cn(n),x=r&&r.length===2,_=CAe(v,y,g,x,p,e.position,f.orientation,d.orientation,e);if(!_)return null;var b=_Ae(_,2),w=b[0],S=w.x,E=w.y,C=b[1],T=C.x,A=C.y,F=co(e,"hidden")?"url(#".concat(l,")"):void 0,k=bL(bL({clipPath:F},De(e,!0)),{},{x1:S,y1:E,x2:T,y2:A});return V.createElement(Ze,{className:Ee("recharts-reference-line",s)},EAe(a,k),yn.renderCallByParent(e,Vje({x1:S,y1:E,x2:T,y2:A})))}KC.displayName="ReferenceLine";KC.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};function Uh(e){"@babel/helpers - typeof";return Uh=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},Uh(e)}function OO(){return OO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},OO.apply(this,arguments)}function xL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function wL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?xL(Object(n),!0).forEach(function(r){PAe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xL(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function PAe(e,t,n){return t=TAe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TAe(e){var t=jAe(e,"string");return Uh(t)=="symbol"?t:String(t)}function jAe(e,t){if(Uh(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Uh(r)!="o
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function y3e(e,t){if(e){if(typeof e=="string")return CO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return CO(e,t)}}function b3e(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _3e(e){if(Array.isArray(e))return CO(e)}function CO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function x3e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kL(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,d7(r.key),r)}}function w3e(e,t,n){return t&&kL(e.prototype,t),n&&kL(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function O3e(e,t,n){return t=yy(t),S3e(e,f7()?Reflect.construct(t,n||[],yy(e).constructor):t.apply(e,n))}function S3e(e,t){if(t&&(yu(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ma(e)}function f7(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(f7=function(){return!!e})()}function yy(e){return yy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},yy(e)}function ma(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E3e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&PO(e,t)}function PO(e,t){return PO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},PO(e,t)}function Ei(e,t,n){return t=d7(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d7(e){var t=C3e(e,"string");return yu(t)=="symbol"?t:String(t)}function C3e(e,t){if(yu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(yu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ku=function(e){E3e(t,e);function t(){var n;x3e(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=O3e(this,t,[].concat(i)),Ei(ma(n),"state",{isAnimationFinished:!0,totalLength:0}),Ei(ma(n),"generateSimpleStrokeDasharray",function(a,s){return"".concat(s,"px ").concat(a-s,"px")}),Ei(ma(n),"getStrokeDasharray",function(a,s,c){var l=c.reduce(function(_,b){return _+b});if(!l)return n.generateSimpleStrokeDasharray(s,a);for(var f=Math.floor(a/l),d=a%l,p=s-a,v=[],y=0,g=0;y<c.length;g+=c[y],++y)if(g+c[y]>d){v=[].concat(Xl(c.slice(0,y)),[d-g]);break}var x=v.length%2===0?[0,p]:[p];return[].concat(Xl(t.repeat(c,f)),Xl(v),x).map(function(_){return"".concat(_,"px")}).join(", ")}),Ei(ma(n),"id",ds("recharts-line-")),Ei(ma(n),"pathRef",function(a){n.mainCurve=a}),Ei(ma(n),"handleAnimationEnd",function(){n.setState({isAnimationFinished:!0}),n.props.onAnimationEnd&&n.props.onAnimationEnd()}),Ei(ma(n),"handleAnimationStart",function(){n.setState({isAnimationFinished:!1}),n.props.onAnimationStart&&n.props.onAnimationStart()}),n}return w3e(t,[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var r=this.getTotalLength();this.setState({totalLength:r})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var r=this.getTotalLength();r!==this.state.totalLength&&this.setState({totalLength:r})}}},{key:"getTotalLength",value:function(){var r=this.mainCurve;try{return r&&r.getTotalLength&&r.getTotalLength()||0}catch{return 0}}},{
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function q3e(e,t){if(e){if(typeof e=="string")return NO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return NO(e,t)}}function K3e(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Y3e(e){if(Array.isArray(e))return NO(e)}function NO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var MO=function(t,n,r,i,o){var a=tr(t,KC),s=tr(t,xp),c=[].concat($L(a),$L(s)),l=tr(t,Gu),f="".concat(i,"Id"),d=i[0],p=n;if(c.length&&(p=c.reduce(function(g,x){if(x.props[f]===r&&co(x.props,"extendDomain")&&Ce(x.props[d])){var _=x.props[d];return[Math.min(g[0],_),Math.max(g[1],_)]}return g},p)),l.length){var v="".concat(d,"1"),y="".concat(d,"2");p=l.reduce(function(g,x){if(x.props[f]===r&&co(x.props,"extendDomain")&&Ce(x.props[v])&&Ce(x.props[y])){var _=x.props[v],b=x.props[y];return[Math.min(g[0],_,b),Math.max(g[1],_,b)]}return g},p)}return o&&o.length&&(p=o.reduce(function(g,x){return Ce(x)?[Math.min(g[0],x),Math.max(g[1],x)]:g},p)),p},y7={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function i(c,l,f){this.fn=c,this.context=l,this.once=f||!1}function o(c,l,f,d,p){if(typeof f!="function")throw new TypeError("The listener must be a function");var v=new i(f,d||c,p),y=n?n+l:l;return c._events[y]?c._events[y].fn?c._events[y]=[c._events[y],v]:c._events[y].push(v):(c._events[y]=v,c._eventsCount++),c}function a(c,l){--c._eventsCount===0?c._events=new r:delete c._events[l]}function s(){this._events=new r,this._eventsCount=0}s.prototype.eventNames=function(){var l=[],f,d;if(this._eventsCount===0)return l;for(d in f=this._events)t.call(f,d)&&l.push(n?d.slice(1):d);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(f)):l},s.prototype.listeners=function(l){var f=n?n+l:l,d=this._events[f];if(!d)return[];if(d.fn)return[d.fn];for(var p=0,v=d.length,y=new Array(v);p<v;p++)y[p]=d[p].fn;return y},s.prototype.listenerCount=function(l){var f=n?n+l:l,d=this._events[f];return d?d.fn?1:d.length:0},s.prototype.emit=function(l,f,d,p,v,y){var g=n?n+l:l;if(!this._events[g])return!1;var x=this._events[g],_=arguments.length,b,w;if(x.fn){switch(x.once&&this.removeListener(l,x.fn,void 0,!0),_){case 1:return x.fn.call(x.context),!0;case 2:return x.fn.call(x.context,f),!0;case 3:return x.fn.call(x.context,f,d),!0;case 4:return x.fn.call(x.context,f,d,p),!0;case 5:return x.fn.call(x.context,f,d,p,v),!0;case 6:return x.fn.call(x.context,f,d,p,v,y),!0}for(w=1,b=new Array(_-1);w<_;w++)b[w-1]=arguments[w];x.fn.apply(x.context,b)}else{var S=x.length,E;for(w=0;w<S;w++)switch(x[w].once&&this.removeListener(l,x[w].fn,void 0,!0),_){case 1:x[w].fn.call(x[w].context);break;case 2:x[w].fn.call(x[w].context,f);break;case 3:x[w].fn.call(x[w].context,f,d);break;case 4:x[w].fn.call(x[w].context,f,d,p);break;default:if(!b)for(E=1,b=new Array(_-1);E<_;E++)b[E-1]=arguments[E];x[w].fn.apply(x[w].context,b)}}return!0},s.prototype.on=function(l,f,d){return o(this,l,f,d,!1)},s.prototype.once=function(l,f,d){return o(this,l,f,d,!0)},s.prototype.removeListener=function(l,f,d,p){var v=n?n+l:l;if(!this._events[v])return this;if(!f)return a(this,v),this;var y=this._events[v];if(y.fn)y.fn===f&&(!p||y.once)&&(!d||y.context===d)&&a(this,v);else{for(var g=0,x=[],_=y.length;g<_;g++)(y[g].fn!==f||p&&!y[g].once||d&&y[g].context!==d)&&x.push(y[g]);x.length?this._events[v]=x.length===1?x[0]:x:a(this,v)}return this},s.prototype.removeAllListeners=function(l){var f;return l?(f=n?n+l:l,this._events[f]&&a(this,f)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s})(y7);var Z3e=y7.exports;const X3e=at(Z3e);var
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hke(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(f){l=!0,i=f}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function pke(e){if(Array.isArray(e))return e}function FL(e,t){if(e==null)return{};var n=mke(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function mke(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function vke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gke(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,O7(r.key),r)}}function yke(e,t,n){return t&&gke(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function bke(e,t,n){return t=xy(t),_ke(e,x7()?Reflect.construct(t,n||[],xy(e).constructor):t.apply(e,n))}function _ke(e,t){if(t&&(xu(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return lt(e)}function x7(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(x7=function(){return!!e})()}function xy(e){return xy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},xy(e)}function lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xke(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&LO(e,t)}function LO(e,t){return LO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},LO(e,t)}function wu(e){return Ske(e)||Oke(e)||w7(e)||wke()}function wke(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function w7(e,t){if(e){if(typeof e=="string")return RO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return RO(e,t)}}function Oke(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ske(e){if(Array.isArray(e))return RO(e)}function RO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function BL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ve(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?BL(Object(n),!0).forEach(function(r){We(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):BL(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function We(e,t,n){return t=O7(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O7(e){var t=Eke(e,"string");return xu(t)=="symbol"?t:String(t)}function Eke(e,t){if(xu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(xu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Cke={xAxis:["bottom","top"],yAxis:["left","right"]},Pke={width:"100%",height:"100%"},S7={x:0,y:0};function Mm(e){return e}var Tke=function(t,n){return n==="horizontal"?t.x:n==="vertical"?t.y:n==="centric"?t.angle:t.radius},jke=function(t,n,r,i){var o=n.find(function(f){return f&&f.index===r});if(o){if(t==="horizontal")return{x:o.coordinate,y:i.y};if(t==="vertical")return{x:i.x,y:o.coordinate};if(t==="centric"){var a=o.coordinate,s=i.radius;return ve(ve(ve({},i),Ot(i.cx,i.cy,s,a)),{},{angle:a,radius:s})}var c=o.coordinate,l=i.angle;return ve(ve(ve({},i),Ot(i.cx,i.cy,c,l)),{},{angle:l,radius:c})}return S7},rb=function(t,n){var r=n.graphicalItems,i=n.dataStartIndex,o=n.dataEndIndex,a=(r??[]).reduce(function(s,c){var l=c.props.data;return l&&l.length?[].concat(wu(s),wu(l)):s},[]);return a.length>0?a:t&&t.length&&Ce(i)&&Ce(o)?t.slice(i,o+1):[]};function E7(e){return e==="number"?[0,"auto"]:void 0}var $O=function(t,n,r,i){var o=t.graphicalItems,a=t.tooltipAxis,s=rb(n,t);return r<0||!o||!o.length||r>=s.length?null:o.reduce(function(c,l){var f,d=(f=l.props.data)!==null&&f!==void 0?f:n;d&&t.dataStartIndex+t.dataEndIndex!==0&&(d=d.slice(t.dataStartIndex,t.dataEndIndex+1));var p;if(a.dataKey&&!a.allowDuplicatedCategory){var v=d===void 0?s:d;p=Eg(v,a.dataKey,i)}else p=d&&d[r]||s[r];return p?[].concat(wu(c),[_F(l,p)]):c},[])},UL=function(t,n,r,i){var o=i||{x:t.chartX,y:t.chartY},a=Tke(o,r),s=t.orderedTooltipTicks,c=t.tooltipAxis,l=t.tooltipTicks,f=kOe(a,s,l,c);if(f>=0&&l){var d=l[f]&&l[f].value,p=$O(t,n,f,d),v=jke(r,s,f,o);return{activeTooltipIndex:f,activeLabel:d,activePayload:p,activeCoordinate:v}}return null},Ake=function(t,n){var r=n.axes,i=n.graphicalItems,o=n.axisType,a=n.axisIdKey,s=n.stackGroups,c=n.dataStartIndex,l=n.dataEndIndex,f=t.layout,d=t.children,p=t.stackOffset,v=pF(f,o);return r.reduce(function(y,g){var x,_=g.props,b=_.type,w=_.dataKey,S=_.allowDataOverflow,E=_.allowDuplicatedCategory,C=_.scale,T=_.ticks,A=_.includeHidden,F=g.props[a];if(y[F])return y;var k=rb(t.data,{graphicalItems:i.filter(function(ee){return ee.props[a]===F}),dataStartIndex:c,dataEndIndex:l}),I=k.length,D,q,W;rke(g.props.domain,S,b)&&(D=J2(g.props.domain,null,S),v&&(b==="number"||C!=="auto")&&(W=gd(k,w,"category")));var X=E7(b);if(!D||D.length===0){var Q,ne=(Q=g.props.domain)!==null&&Q!==void 0?Q:X;if(w){if(D=gd(k,w,b),b==="category"&&v){var Z=kfe(D);E&&Z?(q=D,D=fy(0,I)):E||(D=aM(ne,D,g).reduce(func
|
|||
|
* Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
|
|||
|
* (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
|
|||
|
*/(function(e,t){(function(n,r){r(t)})(oc,function(n){var r="1.9.4";function i(u){var h,O,P,R;for(O=1,P=arguments.length;O<P;O++){R=arguments[O];for(h in R)u[h]=R[h]}return u}var o=Object.create||function(){function u(){}return function(h){return u.prototype=h,new u}}();function a(u,h){var O=Array.prototype.slice;if(u.bind)return u.bind.apply(u,O.call(arguments,1));var P=O.call(arguments,2);return function(){return u.apply(h,P.length?P.concat(O.call(arguments)):arguments)}}var s=0;function c(u){return"_leaflet_id"in u||(u._leaflet_id=++s),u._leaflet_id}function l(u,h,O){var P,R,G,re;return re=function(){P=!1,R&&(G.apply(O,R),R=!1)},G=function(){P?R=arguments:(u.apply(O,arguments),setTimeout(re,h),P=!0)},G}function f(u,h,O){var P=h[1],R=h[0],G=P-R;return u===P&&O?u:((u-R)%G+G)%G+R}function d(){return!1}function p(u,h){if(h===!1)return u;var O=Math.pow(10,h===void 0?6:h);return Math.round(u*O)/O}function v(u){return u.trim?u.trim():u.replace(/^\s+|\s+$/g,"")}function y(u){return v(u).split(/\s+/)}function g(u,h){Object.prototype.hasOwnProperty.call(u,"options")||(u.options=u.options?o(u.options):{});for(var O in h)u.options[O]=h[O];return u.options}function x(u,h,O){var P=[];for(var R in u)P.push(encodeURIComponent(O?R.toUpperCase():R)+"="+encodeURIComponent(u[R]));return(!h||h.indexOf("?")===-1?"?":"&")+P.join("&")}var _=/\{ *([\w_ -]+) *\}/g;function b(u,h){return u.replace(_,function(O,P){var R=h[P];if(R===void 0)throw new Error("No value provided for variable "+O);return typeof R=="function"&&(R=R(h)),R})}var w=Array.isArray||function(u){return Object.prototype.toString.call(u)==="[object Array]"};function S(u,h){for(var O=0;O<u.length;O++)if(u[O]===h)return O;return-1}var E="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function C(u){return window["webkit"+u]||window["moz"+u]||window["ms"+u]}var T=0;function A(u){var h=+new Date,O=Math.max(0,16-(h-T));return T=h+O,window.setTimeout(u,O)}var F=window.requestAnimationFrame||C("RequestAnimationFrame")||A,k=window.cancelAnimationFrame||C("CancelAnimationFrame")||C("CancelRequestAnimationFrame")||function(u){window.clearTimeout(u)};function I(u,h,O){if(O&&F===A)u.call(h);else return F.call(window,a(u,h))}function D(u){u&&k.call(window,u)}var q={__proto__:null,extend:i,create:o,bind:a,get lastId(){return s},stamp:c,throttle:l,wrapNum:f,falseFn:d,formatNum:p,trim:v,splitWords:y,setOptions:g,getParamString:x,template:b,isArray:w,indexOf:S,emptyImageUrl:E,requestFn:F,cancelFn:k,requestAnimFrame:I,cancelAnimFrame:D};function W(){}W.extend=function(u){var h=function(){g(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},O=h.__super__=this.prototype,P=o(O);P.constructor=h,h.prototype=P;for(var R in this)Object.prototype.hasOwnProperty.call(this,R)&&R!=="prototype"&&R!=="__super__"&&(h[R]=this[R]);return u.statics&&i(h,u.statics),u.includes&&(X(u.includes),i.apply(null,[P].concat(u.includes))),i(P,u),delete P.statics,delete P.includes,P.options&&(P.options=O.options?o(O.options):{},i(P.options,u.options)),P._initHooks=[],P.callInitHooks=function(){if(!this._initHooksCalled){O.callInitHooks&&O.callInitHooks.call(this),this._initHooksCalled=!0;for(var G=0,re=P._initHooks.length;G<re;G++)P._initHooks[G].call(this)}},h},W.include=function(u){var h=this.prototype.options;return i(this.prototype,u),u.options&&(this.prototype.options=h,this.mergeOptions(u.options)),this},W.mergeOptions=function(u){return i(this.prototype.options,u),this},W.addInitHook=function(u){var h=Array.prototype.slice.call(arguments,1),O=typeof u=="function"?u:function(){this[u].apply(this,h)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(O),this};function X(u){if(!(typeof L>"u"||!L||!L.Mixin)){u=w(u)?u:[u];for(var h=0;h<u.length;h++)u[h]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",new Error().stack)}}var Q={on:function(u,h,O){if(typeof u=="object")for(var P in u)this._on(P,u[P],h);else{u=y(u);for(var R=0,G
|
|||
|
* Bowser - a browser detector
|
|||
|
* https://github.com/lancedikson/bowser
|
|||
|
* MIT License | (c) Dustin Diaz 2012-2015
|
|||
|
* MIT License | (c) Denis Demchenko 2015-2019
|
|||
|
*/class lNe{static getParser(t,n=!1){if(typeof t!="string")throw new Error("UserAgent should be a string");return new HL(t,n)}static parse(t){return new HL(t).getResult()}static get BROWSER_MAP(){return N7}static get ENGINE_MAP(){return ga}static get OS_MAP(){return Gn}static get PLATFORMS_MAP(){return Zt}}var cNe=Object.defineProperty,uNe=(e,t,n)=>t in e?cNe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ga=(e,t,n)=>uNe(e,typeof t!="symbol"?t+"":t,n);const fNe=({listDomains:e,value:t,domainsList:n,onChange:r})=>{const[i,,o,a]=Rt(),{domains:s}=n,c=!t,l=M.useCallback(()=>{r(""),a()},[r,a]),f=M.useCallback(()=>{r(""),o()},[r,o]);return M.useEffect(()=>{e()},[e]),i?m.jsxs(o0,{children:[m.jsx(Nn,{value:t??"",placeholder:"Domain",onChange:d=>r(d.target.value)}),m.jsx(qe,{id:"backToDropdown",outline:!0,type:"button",className:"domains-dropdown__back-btn","aria-label":"Back to domains list",onClick:l,children:m.jsx(je,{icon:Xq})}),m.jsx(Ur,{target:"backToDropdown",placement:"left",trigger:"hover",children:"Existing domains"})]}):m.jsxs(ra,{text:c?"Domain":`Domain: ${t}`,className:c?"domains-dropdown__toggle-btn":"domains-dropdown__toggle-btn--active",children:[s.map(({domain:d,isDefault:p})=>m.jsxs(Ne,{active:(t===d||p)&&c,onClick:()=>r(d),className:"d-flex justify-content-between align-items-center",children:[d,p&&m.jsx("span",{className:"text-muted",children:"default"})]},d)),m.jsx(Ne,{divider:!0}),m.jsx(Ne,{onClick:f,children:m.jsx("i",{children:"New domain"})})]})},dNe=e=>(e==null?void 0:e.type)===$E.INVALID_ARGUMENT,hNe=e=>(e==null?void 0:e.type)===$E.INVALID_SHORT_URL_DELETION,pNe=e=>!!e&&typeof e=="object"&&["type","detail","title","status"].every(t=>t in e),Vr=e=>pNe(e)?e:void 0,nP=e=>"error"in e,go=({errorData:e,fallbackMessage:t})=>m.jsxs(m.Fragment,{children:[(e==null?void 0:e.detail)??t,dNe(e)&&m.jsxs("p",{className:"mb-0",children:["Invalid elements: [",e.invalidElements.join(", "),"]"]})]}),xl=({style:e,className:t,...n})=>m.jsx("button",{type:"button",className:Ee("border-0",t),style:{backgroundColor:"inherit",fontWeight:"inherit",color:"inherit",...e},...n}),M7=M.createContext(""),mNe=M7.Provider,vs=()=>M.useContext(M7),L7=M.createContext(void 0),{Provider:rP}=L7,ib=()=>M.useContext(L7),vNe=5,iP=()=>{const[e,t]=M.useState([]),n=M.useMemo(()=>e.length>=vNe,[e.length]),r=M.useCallback(s=>!n&&t(c=>[...c,s]),[n]),i=M.useCallback(s=>!n&&e.every(c=>c.name!==s),[e,n]),o=M.useCallback(s=>t(c=>c.filter(l=>l!==s)),[]),a=M.useCallback(()=>t([]),[]);return{itemsToCompare:e,addItemToCompare:r,removeItemToCompare:o,clearItemsToCompare:a,canAddItemWithName:i}},oP=({className:e,type:t})=>{const n=vs(),r=ib(),i=M.useMemo(()=>r?encodeURIComponent(r.itemsToCompare.map(c=>c.query).join(",")):"",[r]);if(!r||r.itemsToCompare.length===0)return null;const{itemsToCompare:o,clearItemsToCompare:a,removeItemToCompare:s}=r;return m.jsx("div",{className:Ee("top-sticky",e),children:m.jsxs(yt,{bodyClassName:"d-md-flex gap-3 align-items-center",children:[m.jsx("ul",{className:"d-flex flex-wrap gap-1 flex-grow-1 p-0 m-0",children:o.map((c,l)=>{var f;return m.jsxs("li",{className:Ee("badge pe-1",{"bg-secondary":!((f=c.style)!=null&&f.backgroundColor)}),style:c.style,children:[c.name,m.jsx(xl,{"aria-label":`Remove ${c.name}`,className:"fw-bold fs-6",onClick:()=>s(c),children:"×"})]},`${c.name}_${l}`)})}),m.jsxs("div",{className:"d-flex mt-3 mt-md-0",children:[m.jsxs(qe,{outline:!0,color:"primary",className:"flex-grow-1 indivisible",disabled:o.length<2,tag:At,to:`${n}/${t}/compare-visits?${t}=${i}`,children:[m.jsx(je,{icon:Qy,fixedWidth:!0,className:"me-1"}),"Compare (",o.length,"/5) »"]}),m.jsx(qe,{"aria-label":"Close compare",outline:!0,color:"secondary",className:"ms-2 fw-bold",onClick:a,children:"×"})]})]})})},Ed=(e,t,n)=>n==null?e.shortCode===t&&!e.domain:e.shortCode===t&&e.domain===n,gNe=(e,t)=>!e.domain&&t===ab?!0:e.domain===t,yNe=(e,t)=>{const n=(t==null?void 0:t.validateUrls)??!1;return e?{longUrl:e.longUrl,tags:e.tags,title:e.title??void 0,domain:e.domain??void 0,validSince:e.meta.validSince??void 0,validUntil:e.meta
|
|||
|
width: ${n.width}px;
|
|||
|
position: fixed;
|
|||
|
pointer-events: none;
|
|||
|
top: -9999px;
|
|||
|
z-index: 999999;
|
|||
|
display: none;
|
|||
|
`,document.body.append(t.touchedNode),sB(e.targetData.node.el,t.touchedNode),t.touchedNode.style.display="none",document.addEventListener("contextmenu",mB)}function zMe(e,t){const n=e.targetData.parent.data.config;n.longTouch&&(t.longTouchTimeout=setTimeout(()=>{t&&(t.longTouch=!0,n.longTouchClass&&e.e.cancelable&&wl(t.draggedNodes.map(r=>r.el),n.longTouchClass),e.e.preventDefault())},n.longTouchTimeout||200))}function VMe(e){!Ge||!("touchedNode"in Ge)||QMe(e,Ge)}function WMe(e,t){t.longTouchClass&&Oy(e.draggedNodes.map(n=>n.el),t==null?void 0:t.longTouchClass),t.touchDraggingClass&&wl([e.touchedNode],t.touchDraggingClass),t.touchDropZoneClass&&wl(e.draggedNodes.map(n=>n.el),t.touchDropZoneClass)}function HMe(e){if(!e||!e.scrollParent)return;const{x:t,y:n,width:r,height:i}=e.scrollParent.getBoundingClientRect(),{x:o,y:a,scrollOutside:s}=e.lastParent.data.config.scrollBehavior;return{state:e,xThresh:o,yThresh:a,scrollOutside:s,scrollParent:e.scrollParent,x:t,y:n,width:r,height:i}}function GMe(e){const t=HMe(Ge);if(t)switch(e){case"down":return ZMe(t.state,t);case"up":return YMe(t.state,t);case"right":return qMe(t.state,t);case"left":return KMe(t.state,t)}}function qMe(e,t){const n=t.scrollParent.clientWidth+t.x-e.coordinates.x;if(!(!t.scrollOutside&&n<0)&&n<(1-t.xThresh)*t.scrollParent.clientWidth&&!(t.scrollParent.scrollLeft+t.scrollParent.clientWidth>=t.scrollParent.scrollWidth))return e}function KMe(e,t){const n=t.scrollParent.clientWidth+t.x-e.coordinates.x;if(!(!t.scrollOutside&&n>t.scrollParent.clientWidth)&&n>t.xThresh*t.scrollParent.clientWidth&&t.scrollParent.scrollLeft!==0)return e}function YMe(e,t){const n=t.scrollParent.clientHeight+t.y-e.coordinates.y;if(!(!t.scrollOutside&&n>t.scrollParent.clientHeight)&&n>t.yThresh*t.scrollParent.clientHeight&&t.scrollParent.scrollTop!==0)return e}function ZMe(e,t){const n=t.scrollParent.clientHeight+t.y-e.coordinates.y;if(!(!t.scrollOutside&&n<0)&&n<(1-t.yThresh)*t.scrollParent.clientHeight&&!(t.scrollParent.scrollTop+t.scrollParent.clientHeight>=t.scrollParent.scrollHeight))return e}function XMe(e,t){t.touchMoving=!0,t.touchedNode.style.display=t.touchedNodeDisplay||"";const{x:n,y:r}=Al(e.e);t.coordinates.y=r,t.coordinates.x=n;const i=t.touchStartLeft??0,o=t.touchStartTop??0;t.touchedNode.style.left=`${n-i}px`,t.touchedNode.style.top=`${r-o}px`,WMe(t,e.targetData.parent.data.config)}function QMe(e,t){if(e.targetData.parent.data.config.longTouch&&!t.longTouch){clearTimeout(t.longTouchTimeout);return}e.e.cancelable&&e.e.preventDefault(),XMe(e,t),sb();const n=bMe(e);if(!n)return;const r={e:e.e,targetData:n};"node"in n?n.node.el.dispatchEvent(new CustomEvent("touchOverNode",{detail:r})):n.parent.el.dispatchEvent(new CustomEvent("touchOverParent",{detail:r}))}function sb(){for(const e of Object.keys(r4)){const[t,n]=r4[e];vB(e,t,n)}}function vB(e,t,n){const r=GMe(e);r&&(r.scrollParent.scrollBy(t,n),setTimeout(()=>{vB(e,t,n)},"touchedNode"in r?10:100))}function JMe(e){if(!Ge)return;const{x:t,y:n}=Al(e.e);Ge.coordinates.y=n,Ge.coordinates.x=t,sb(),rLe(e,Ge)}function eLe(e){if(!Ge)return;const{x:t,y:n}=Al(e.e);Ge.coordinates.y=n,Ge.coordinates.x=t,sb(),lb(e,Ge)}function tLe(e){Ge&&lb(e.detail,Ge)}function nLe(e,t){if(e.targetData.parent.el===t.lastParent.el)return!1;const n=e.targetData.parent.data.config;if(n.dropZone===!1)return!1;const r=t.initialParent.data.config;return n.accepts?n.accepts(e.targetData.parent,t.initialParent,t.lastParent,t):!(!n.group||n.group!==r.group)}function rLe(e,t){var n;e.e.preventDefault(),e.e.stopPropagation(),e.targetData.parent.el===((n=t.lastParent)==null?void 0:n.el)?gB(e,t):lb(e,t)}function iLe(e,t,n,r){var i;if(t.remapJustFinished)return t.remapJustFinished=!1,t.lastTargetValue=e.targetData.node.data.value,!1;if(t.lastTargetValue===e.targetData.node.data.value||t.draggedNodes.map(p=>p.el).includes(e.targetData.node.el)||t.preventEnter||t.swappedNodeValue===e.targetData.node.data.value||e.targetData.parent.el!==((i=t.lastParent)==null?void 0:i.el)||e.targetData.parent.data.config.sortable===!1)return!1;const o=e.targetData.node.el.ge
|
|||
|
* The buffer module from node.js, for the browser.
|
|||
|
*
|
|||
|
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|||
|
* @license MIT
|
|||
|
*/var i=n(38),o=n(39),a=n(40);function s(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(j,N){if(s()<N)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(j=new Uint8Array(N)).__proto__=l.prototype:(j===null&&(j=new l(N)),j.length=N),j}function l(j,N,U){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(j,N,U);if(typeof j=="number"){if(typeof N=="string")throw new Error("If encoding is specified then the first argument must be a string");return p(this,j)}return f(this,j,N,U)}function f(j,N,U,J){if(typeof N=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&N instanceof ArrayBuffer?function(Y,oe,he,Se){if(oe.byteLength,he<0||oe.byteLength<he)throw new RangeError("'offset' is out of bounds");if(oe.byteLength<he+(Se||0))throw new RangeError("'length' is out of bounds");return oe=he===void 0&&Se===void 0?new Uint8Array(oe):Se===void 0?new Uint8Array(oe,he):new Uint8Array(oe,he,Se),l.TYPED_ARRAY_SUPPORT?(Y=oe).__proto__=l.prototype:Y=v(Y,oe),Y}(j,N,U,J):typeof N=="string"?function(Y,oe,he){if(typeof he=="string"&&he!==""||(he="utf8"),!l.isEncoding(he))throw new TypeError('"encoding" must be a valid string encoding');var Se=0|g(oe,he),se=(Y=c(Y,Se)).write(oe,he);return se!==Se&&(Y=Y.slice(0,se)),Y}(j,N,U):function(Y,oe){if(l.isBuffer(oe)){var he=0|y(oe.length);return(Y=c(Y,he)).length===0||oe.copy(Y,0,0,he),Y}if(oe){if(typeof ArrayBuffer<"u"&&oe.buffer instanceof ArrayBuffer||"length"in oe)return typeof oe.length!="number"||function(Se){return Se!=Se}(oe.length)?c(Y,0):v(Y,oe);if(oe.type==="Buffer"&&a(oe.data))return v(Y,oe.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(j,N)}function d(j){if(typeof j!="number")throw new TypeError('"size" argument must be a number');if(j<0)throw new RangeError('"size" argument must not be negative')}function p(j,N){if(d(N),j=c(j,N<0?0:0|y(N)),!l.TYPED_ARRAY_SUPPORT)for(var U=0;U<N;++U)j[U]=0;return j}function v(j,N){var U=N.length<0?0:0|y(N.length);j=c(j,U);for(var J=0;J<U;J+=1)j[J]=255&N[J];return j}function y(j){if(j>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|j}function g(j,N){if(l.isBuffer(j))return j.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(j)||j instanceof ArrayBuffer))return j.byteLength;typeof j!="string"&&(j=""+j);var U=j.length;if(U===0)return 0;for(var J=!1;;)switch(N){case"ascii":case"latin1":case"binary":return U;case"utf8":case"utf-8":case void 0:return ie(j).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*U;case"hex":return U>>>1;case"base64":return ae(j).length;default:if(J)return ie(j).length;N=(""+N).toLowerCase(),J=!0}}function x(j,N,U){var J=j[N];j[N]=j[U],j[U]=J}function _(j,N,U,J,Y){if(j.length===0)return-1;if(typeof U=="string"?(J=U,U=0):U>2147483647?U=2147483647:U<-2147483648&&(U=-2147483648),U=+U,isNaN(U)&&(U=Y?0:j.length-1),U<0&&(U=j.length+U),U>=j.length){if(Y)return-1;U=j.length-1}else if(U<0){if(!Y)return-1;U=0}if(typeof N=="string"&&(N=l.from(N,J)),l.isBuffer(N))return N.length===0?-1:b(j,N,U,J,Y);if(typeof N=="number")return N&=255,l.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?Y?Uint8Array.prototype.indexOf.call(j,N,U):Uint8Array.prototype.lastIndexOf.call(j,N,U):b(j,[N],U,J,Y);throw new TypeError("val must be string, number or Buffer")}function b(j,N,U,J,Y){var oe,he=1,Se=j.length,se=N.length;if(J!==void 0&&((J=String(J).toLowerCase())==="ucs2"||J==="ucs-2"||J==="utf16le"||J==="utf-16le")){if(j.length<2||N.length<2)return-1;he=2,Se/=2,se/=2,U/=2}function pe(Pe,Ae){return he===1?Pe[Ae]:Pe.readUInt16BE(Ae*he)}if(Y){var me=-1;for(oe=U;oe<Se;oe++)if(pe(j,oe)===pe(N,me===-1?0:oe-me)){if(me===-1&&(me=oe),oe-me+1===se)return me*he}else me!==-1&&(oe-=oe-me),me=-1}else for(U+se>Se&&(U=Se-se),oe=U;oe>=0;oe--){for(var xe=!0,Te=0;Te<se;Te++)if(pe(j,oe+Te)!==pe(N,Te)){xe=!1;break}if(xe)return oe}return-1}function w(j,N,U,J){U=Number(U)|
|
|||
|
`),r.exit(2)):this.throwLater(_)},v.prototype.throwLater=function(_,b){if(arguments.length===1&&(b=_,_=function(){throw b}),typeof setTimeout<"u")setTimeout(function(){_(b)},0);else try{this._schedule(function(){_(b)})}catch{throw new Error(`No async scheduler available
|
|||
|
|
|||
|
See http://goo.gl/MqrFmX
|
|||
|
`)}},p.hasDevTools?(v.prototype.invokeLater=function(_,b,w){this._trampolineEnabled?y.call(this,_,b,w):this._schedule(function(){setTimeout(function(){_.call(b,w)},100)})},v.prototype.invoke=function(_,b,w){this._trampolineEnabled?g.call(this,_,b,w):this._schedule(function(){_.call(b,w)})},v.prototype.settlePromises=function(_){this._trampolineEnabled?x.call(this,_):this._schedule(function(){_._settlePromises()})}):(v.prototype.invokeLater=y,v.prototype.invoke=g,v.prototype.settlePromises=x),v.prototype._drainQueue=function(_){for(;_.length()>0;){var b=_.shift();if(typeof b=="function"){var w=_.shift(),S=_.shift();b.call(w,S)}else b._settlePromises()}},v.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},v.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},v.prototype._reset=function(){this._isTickUsed=!1},s.exports=v,s.exports.firstLineError=l},{"./queue":26,"./schedule":29,"./util":36}],3:[function(a,s,c){s.exports=function(l,f,d,p){var v=!1,y=function(b,w){this._reject(w)},g=function(b,w){w.promiseRejectionQueued=!0,w.bindingPromise._then(y,y,null,this,b)},x=function(b,w){!(50397184&this._bitField)&&this._resolveCallback(w.target)},_=function(b,w){w.promiseRejectionQueued||this._reject(b)};l.prototype.bind=function(b){v||(v=!0,l.prototype._propagateFrom=p.propagateFromFunction(),l.prototype._boundValue=p.boundValueFunction());var w=d(b),S=new l(f);S._propagateFrom(this,1);var E=this._target();if(S._setBoundTo(w),w instanceof l){var C={promiseRejectionQueued:!1,promise:S,target:E,bindingPromise:w};E._then(f,g,void 0,S,C),w._then(x,_,void 0,S,C),S._setOnCancel(w)}else S._resolveCallback(E);return S},l.prototype._setBoundTo=function(b){b!==void 0?(this._bitField=2097152|this._bitField,this._boundTo=b):this._bitField=-2097153&this._bitField},l.prototype._isBound=function(){return(2097152&this._bitField)==2097152},l.bind=function(b,w){return l.resolve(w).bind(b)}}},{}],4:[function(a,s,c){var l;typeof Promise<"u"&&(l=Promise);var f=a("./promise")();f.noConflict=function(){try{Promise===f&&(Promise=l)}catch{}return f},s.exports=f},{"./promise":22}],5:[function(a,s,c){var l=Object.create;if(l){var f=l(null),d=l(null);f[" size"]=d[" size"]=0}s.exports=function(p){var v=a("./util"),y=v.canEvaluate;function g(b){return function(w,S){var E;if(w!=null&&(E=w[S]),typeof E!="function"){var C="Object "+v.classString(w)+" has no method '"+v.toString(S)+"'";throw new p.TypeError(C)}return E}(b,this.pop()).apply(b,this)}function x(b){return b[this]}function _(b){var w=+this;return w<0&&(w=Math.max(0,w+b.length)),b[w]}v.isIdentifier,p.prototype.call=function(b){var w=[].slice.call(arguments,1);return w.push(b),this._then(g,void 0,void 0,w,void 0)},p.prototype.get=function(b){var w;if(typeof b=="number")w=_;else if(y){var S=(void 0)(b);w=S!==null?S:x}else w=x;return this._then(w,void 0,void 0,b,void 0)}}},{"./util":36}],6:[function(a,s,c){s.exports=function(l,f,d,p){var v=a("./util"),y=v.tryCatch,g=v.errorObj,x=l._async;l.prototype.break=l.prototype.cancel=function(){if(!p.cancellation())return this._warn("cancellation is disabled");for(var _=this,b=_;_._isCancellable();){if(!_._cancelBy(b)){b._isFollowing()?b._followee().cancel():b._cancelBranched();break}var w=_._cancellationParent;if(w==null||!w._isCancellable()){_._isFollowing()?_._followee().cancel():_._cancelBranched();break}_._isFollowing()&&_._followee().cancel(),_._setWillBeCancelled(),b=_,_=w}},l.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},l.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},l.prototype._cancelBy=function(_){return _===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),!!this._enoughBranchesHaveCancelled()&&(this._invokeOnCancel(),!0))},l.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},l.prototype._cancel=function(){
|
|||
|
|
|||
|
See http://goo.gl/MqrFmX
|
|||
|
`);if(!Ae.longStackTraces&&se()){var le=l.prototype._captureStackTrace,ue=l.prototype._attachExtraTrace;Ae.longStackTraces=!0,q=function(){if(g.haveItemsQueued()&&!Ae.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created
|
|||
|
|
|||
|
See http://goo.gl/MqrFmX
|
|||
|
`);l.prototype._captureStackTrace=le,l.prototype._attachExtraTrace=ue,f.deactivateLongStackTraces(),g.enableTrampoline(),Ae.longStackTraces=!1},l.prototype._captureStackTrace=j,l.prototype._attachExtraTrace=N,f.activateLongStackTraces(),g.disableTrampolineIfNecessary()}},l.hasLongStackTraces=function(){return Ae.longStackTraces&&se()};var W=function(){try{if(typeof CustomEvent=="function"){var le=new CustomEvent("CustomEvent");return _.global.dispatchEvent(le),function(ue,ye){var ge=new CustomEvent(ue.toLowerCase(),{detail:ye,cancelable:!0});return!_.global.dispatchEvent(ge)}}return typeof Event=="function"?(le=new Event("CustomEvent"),_.global.dispatchEvent(le),function(ue,ye){var ge=new Event(ue.toLowerCase(),{cancelable:!0});return ge.detail=ye,!_.global.dispatchEvent(ge)}):((le=document.createEvent("CustomEvent")).initCustomEvent("testingtheevent",!1,!0,{}),_.global.dispatchEvent(le),function(ue,ye){var ge=document.createEvent("CustomEvent");return ge.initCustomEvent(ue.toLowerCase(),!1,!0,ye),!_.global.dispatchEvent(ge)})}catch{}return function(){return!1}}(),X=_.isNode?function(){return r.emit.apply(r,arguments)}:_.global?function(le){var ue="on"+le.toLowerCase(),ye=_.global[ue];return!!ye&&(ye.apply(_.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function Q(le,ue){return{promise:ue}}var ne={promiseCreated:Q,promiseFulfilled:Q,promiseRejected:Q,promiseResolved:Q,promiseCancelled:Q,promiseChained:function(le,ue,ye){return{promise:ue,child:ye}},warning:function(le,ue){return{warning:ue}},unhandledRejection:function(le,ue,ye){return{reason:ue,promise:ye}},rejectionHandled:Q},Z=function(le){var ue=!1;try{ue=X.apply(null,arguments)}catch(ge){g.throwLater(ge),ue=!0}var ye=!1;try{ye=W(le,ne[le].apply(null,arguments))}catch(ge){g.throwLater(ge),ye=!0}return ye||ue};function z(){return!1}function B(le,ue,ye){var ge=this;try{le(ue,ye,function(we){if(typeof we!="function")throw new TypeError("onCancel must be a function, got: "+_.toString(we));ge._attachCancellationCallback(we)})}catch(we){return we}}function H(le){if(!this._isCancellable())return this;var ue=this._onCancel();ue!==void 0?_.isArray(ue)?ue.push(le):this._setOnCancel([ue,le]):this._setOnCancel(le)}function ee(){return this._onCancelField}function K(le){this._onCancelField=le}function te(){this._cancellationParent=void 0,this._onCancelField=void 0}function ie(le,ue){if(1&ue){this._cancellationParent=le;var ye=le._branchesRemainingToCancel;ye===void 0&&(ye=0),le._branchesRemainingToCancel=ye+1}2&ue&&le._isBound()&&this._setBoundTo(le._boundTo)}l.config=function(le){if("longStackTraces"in(le=Object(le))&&(le.longStackTraces?l.longStackTraces():!le.longStackTraces&&l.hasLongStackTraces()&&q()),"warnings"in le){var ue=le.warnings;Ae.warnings=!!ue,D=Ae.warnings,_.isObject(ue)&&"wForgottenReturn"in ue&&(D=!!ue.wForgottenReturn)}if("cancellation"in le&&le.cancellation&&!Ae.cancellation){if(g.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");l.prototype._clearCancellationData=te,l.prototype._propagateFrom=ie,l.prototype._onCancel=ee,l.prototype._setOnCancel=K,l.prototype._attachCancellationCallback=H,l.prototype._execute=B,ae=ie,Ae.cancellation=!0}return"monitoring"in le&&(le.monitoring&&!Ae.monitoring?(Ae.monitoring=!0,l.prototype._fireEvent=Z):!le.monitoring&&Ae.monitoring&&(Ae.monitoring=!1,l.prototype._fireEvent=z)),l},l.prototype._fireEvent=z,l.prototype._execute=function(le,ue,ye){try{le(ue,ye)}catch(ge){return ge}},l.prototype._onCancel=function(){},l.prototype._setOnCancel=function(le){},l.prototype._attachCancellationCallback=function(le){},l.prototype._captureStackTrace=function(){},l.prototype._attachExtraTrace=function(){},l.prototype._clearCancellationData=function(){},l.prototype._propagateFrom=function(le,ue){};var ae=function(le,ue){2&ue&&le._isBound()&&this._setBoundTo(le._boundTo)};function fe(){var le=this._boundTo;return le!==void 0&&le instanceof l?le.isFulfilled()?le.value():void 0:le}function j(){this._trace=new Te(this._peekContext())}function N(le,ue){if(b(le)){var ye=this._trace;if(ye!==voi
|
|||
|
`+ge.stack.join(`
|
|||
|
`)),_.notEnumerableProp(le,"__stackCleaned__",!0)}}}function U(le,ue,ye){if(Ae.warnings){var ge,we=new x(le);if(ue)ye._attachExtraTrace(we);else if(Ae.longStackTraces&&(ge=l._peekContext()))ge.attachExtraTrace(we);else{var ke=Y(we);we.stack=ke.message+`
|
|||
|
`+ke.stack.join(`
|
|||
|
`)}Z("warning",we)||oe(we,"",!0)}}function J(le){for(var ue=[],ye=0;ye<le.length;++ye){var ge=le[ye],we=ge===" (No stack trace)"||C.test(ge),ke=we&&pe(ge);we&&!ke&&(A&&ge.charAt(0)!==" "&&(ge=" "+ge),ue.push(ge))}return ue}function Y(le){var ue=le.stack,ye=le.toString();return ue=typeof ue=="string"&&ue.length>0?function(ge){for(var we=ge.stack.replace(/\s+$/g,"").split(`
|
|||
|
`),ke=0;ke<we.length;++ke){var Me=we[ke];if(Me===" (No stack trace)"||C.test(Me))break}return ke>0&&ge.name!="SyntaxError"&&(we=we.slice(ke)),we}(le):[" (No stack trace)"],{message:ye,stack:le.name=="SyntaxError"?ue:J(ue)}}function oe(le,ue,ye){if(typeof console<"u"){var ge;if(_.isObject(le)){var we=le.stack;ge=ue+T(we,le)}else ge=ue+String(le);typeof v=="function"?v(ge,ye):typeof console.log!="function"&&typeof console.log!="object"||console.log(ge)}}function he(le,ue,ye,ge){var we=!1;try{typeof ue=="function"&&(we=!0,le==="rejectionHandled"?ue(ge):ue(ye,ge))}catch(ke){g.throwLater(ke)}le==="unhandledRejection"?Z(le,ye,ge)||we||oe(ye,"Unhandled rejection "):Z(le,ge)}function Se(le){var ue;if(typeof le=="function")ue="[function "+(le.name||"anonymous")+"]";else{if(ue=le&&typeof le.toString=="function"?le.toString():_.toString(le),/\[object [a-zA-Z0-9$_]+\]/.test(ue))try{ue=JSON.stringify(le)}catch{}ue.length===0&&(ue="(empty array)")}return"(<"+function(ye){return ye.length<41?ye:ye.substr(0,38)+"..."}(ue)+">, no stack trace)"}function se(){return typeof Pe=="function"}var pe=function(){return!1},me=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function xe(le){var ue=le.match(me);if(ue)return{fileName:ue[1],line:parseInt(ue[2],10)}}function Te(le){this._parent=le,this._promisesCreated=0;var ue=this._length=1+(le===void 0?0:le._length);Pe(this,Te),ue>32&&this.uncycle()}_.inherits(Te,Error),f.CapturedTrace=Te,Te.prototype.uncycle=function(){var le=this._length;if(!(le<2)){for(var ue=[],ye={},ge=0,we=this;we!==void 0;++ge)ue.push(we),we=we._parent;for(ge=(le=this._length=ge)-1;ge>=0;--ge){var ke=ue[ge].stack;ye[ke]===void 0&&(ye[ke]=ge)}for(ge=0;ge<le;++ge){var Me=ye[ue[ge].stack];if(Me!==void 0&&Me!==ge){Me>0&&(ue[Me-1]._parent=void 0,ue[Me-1]._length=1),ue[ge]._parent=void 0,ue[ge]._length=1;var Qe=ge>0?ue[ge-1]:this;Me<le-1?(Qe._parent=ue[Me+1],Qe._parent.uncycle(),Qe._length=Qe._parent._length+1):(Qe._parent=void 0,Qe._length=1);for(var et=Qe._length+1,Ke=ge-2;Ke>=0;--Ke)ue[Ke]._length=et,et++;return}}}},Te.prototype.attachExtraTrace=function(le){if(!le.__stackCleaned__){this.uncycle();for(var ue=Y(le),ye=ue.message,ge=[ue.stack],we=this;we!==void 0;)ge.push(J(we.stack.split(`
|
|||
|
`))),we=we._parent;(function(ke){for(var Me=ke[0],Qe=1;Qe<ke.length;++Qe){for(var et=ke[Qe],Ke=Me.length-1,Ht=Me[Ke],Dt=-1,dn=et.length-1;dn>=0;--dn)if(et[dn]===Ht){Dt=dn;break}for(dn=Dt;dn>=0;--dn){var zn=et[dn];if(Me[Ke]!==zn)break;Me.pop(),Ke--}Me=et}})(ge),function(ke){for(var Me=0;Me<ke.length;++Me)(ke[Me].length===0||Me+1<ke.length&&ke[Me][0]===ke[Me+1][0])&&(ke.splice(Me,1),Me--)}(ge),_.notEnumerableProp(le,"stack",function(ke,Me){for(var Qe=0;Qe<Me.length-1;++Qe)Me[Qe].push("From previous event:"),Me[Qe]=Me[Qe].join(`
|
|||
|
`);return Qe<Me.length&&(Me[Qe]=Me[Qe].join(`
|
|||
|
`)),ke+`
|
|||
|
`+Me.join(`
|
|||
|
`)}(ye,ge)),_.notEnumerableProp(le,"__stackCleaned__",!0)}};var Pe=function(){var le=/^\s*at\s*/,ue=function(ke,Me){return typeof ke=="string"?ke:Me.name!==void 0&&Me.message!==void 0?Me.toString():Se(Me)};if(typeof Error.stackTraceLimit=="number"&&typeof Error.captureStackTrace=="function"){Error.stackTraceLimit+=6,C=le,T=ue;var ye=Error.captureStackTrace;return pe=function(ke){return w.test(ke)},function(ke,Me){Error.stackTraceLimit+=6,ye(ke,Me),Error.stackTraceLimit-=6}}var ge,we=new Error;if(typeof we.stack=="string"&&we.stack.split(`
|
|||
|
`)[0].indexOf("stackDetection@")>=0)return C=/@/,T=ue,A=!0,function(ke){ke.stack=new Error().stack};try{throw new Error}catch(ke){ge="stack"in ke}return"stack"in we||!ge||typeof Error.stackTraceLimit!="number"?(T=function(ke,Me){return typeof ke=="string"?ke:typeof Me!="object"&&typeof Me!="function"||Me.name===void 0||Me.message===void 0?Se(Me):Me.toString()},null):(C=le,T=ue,function(ke){Error.stackTraceLimit+=6;try{throw new Error}catch(Me){ke.stack=Me.stack}Error.stackTraceLimit-=6})}();typeof console<"u"&&console.warn!==void 0&&(v=function(le){console.warn(le)},_.isNode&&r.stderr.isTTY?v=function(le,ue){var ye=ue?"\x1B[33m":"\x1B[31m";console.warn(ye+le+`\x1B[0m
|
|||
|
`)}:_.isNode||typeof new Error().stack!="string"||(v=function(le,ue){console.warn("%c"+le,ue?"color: darkorange":"color: red")}));var Ae={warnings:k,longStackTraces:!1,cancellation:!1,monitoring:!1};return I&&l.longStackTraces(),{longStackTraces:function(){return Ae.longStackTraces},warnings:function(){return Ae.warnings},cancellation:function(){return Ae.cancellation},monitoring:function(){return Ae.monitoring},propagateFromFunction:function(){return ae},boundValueFunction:function(){return fe},checkForgottenReturns:function(le,ue,ye,ge,we){if(le===void 0&&ue!==null&&D){if(we!==void 0&&we._returnedNonUndefined()||!(65535&ge._bitField))return;ye&&(ye+=" ");var ke="",Me="";if(ue._trace){for(var Qe=ue._trace.stack.split(`
|
|||
|
`),et=J(Qe),Ke=et.length-1;Ke>=0;--Ke){var Ht=et[Ke];if(!S.test(Ht)){var Dt=Ht.match(E);Dt&&(ke="at "+Dt[1]+":"+Dt[2]+":"+Dt[3]+" ");break}}if(et.length>0){var dn=et[0];for(Ke=0;Ke<Qe.length;++Ke)if(Qe[Ke]===dn){Ke>0&&(Me=`
|
|||
|
`+Qe[Ke-1]);break}}}var zn="a promise was created in a "+ye+"handler "+ke+"but was not returned from it, see http://goo.gl/rRqMUw"+Me;ge._warn(zn,!0,ue)}},setBounds:function(le,ue){if(se()){for(var ye,ge,we=le.stack.split(`
|
|||
|
`),ke=ue.stack.split(`
|
|||
|
`),Me=-1,Qe=-1,et=0;et<we.length;++et)if(Ke=xe(we[et])){ye=Ke.fileName,Me=Ke.line;break}for(et=0;et<ke.length;++et){var Ke;if(Ke=xe(ke[et])){ge=Ke.fileName,Qe=Ke.line;break}}Me<0||Qe<0||!ye||!ge||ye!==ge||Me>=Qe||(pe=function(Ht){if(w.test(Ht))return!0;var Dt=xe(Ht);return!!(Dt&&Dt.fileName===ye&&Me<=Dt.line&&Dt.line<=Qe)})}},warn:U,deprecated:function(le,ue){var ye=le+" is deprecated and will be removed in a future version.";return ue&&(ye+=" Use "+ue+" instead."),U(ye)},CapturedTrace:Te,fireDomEvent:W,fireGlobalEvent:X}}},{"./errors":12,"./util":36}],10:[function(a,s,c){s.exports=function(l){function f(){return this.value}function d(){throw this.reason}l.prototype.return=l.prototype.thenReturn=function(p){return p instanceof l&&p.suppressUnhandledRejections(),this._then(f,void 0,void 0,{value:p},void 0)},l.prototype.throw=l.prototype.thenThrow=function(p){return this._then(d,void 0,void 0,{reason:p},void 0)},l.prototype.catchThrow=function(p){if(arguments.length<=1)return this._then(void 0,d,void 0,{reason:p},void 0);var v=arguments[1];return this.caught(p,function(){throw v})},l.prototype.catchReturn=function(p){if(arguments.length<=1)return p instanceof l&&p.suppressUnhandledRejections(),this._then(void 0,f,void 0,{value:p},void 0);var v=arguments[1];return v instanceof l&&v.suppressUnhandledRejections(),this.caught(p,function(){return v})}}},{}],11:[function(a,s,c){s.exports=function(l,f){var d=l.reduce,p=l.all;function v(){return p(this)}l.prototype.each=function(y){return d(this,y,f,0)._then(v,void 0,void 0,this,void 0)},l.prototype.mapSeries=function(y){return d(this,y,f,f)},l.each=function(y,g){return d(y,g,f,0)._then(v,void 0,void 0,y,void 0)},l.mapSeries=function(y,g){return d(y,g,f,f)}}},{}],12:[function(a,s,c){var l,f,d=a("./es5"),p=d.freeze,v=a("./util"),y=v.inherits,g=v.notEnumerableProp;function x(k,I){function D(q){if(!(this instanceof D))return new D(q);g(this,"message",typeof q=="string"?q:I),g(this,"name",k),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return y(D,Error),D}var _=x("Warning","warning"),b=x("CancellationError","cancellation error"),w=x("TimeoutError","timeout error"),S=x("AggregateError","aggregate error");try{l=TypeError,f=RangeError}catch{l=x("TypeError","type error"),f=x("RangeError","range error")}for(var E="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),C=0;C<E.length;++C)typeof Array.prototype[E[C]]=="function"&&(S.prototype[E[C]]=Array.prototype[E[C]]);d.defineProperty(S.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),S.prototype.isOperational=!0;var T=0;function A(k){if(!(this instanceof A))return new A(k);g(this,"name","OperationalError"),g(this,"message",k),this.cause=k,this.isOperational=!0,k instanceof Error?(g(this,"message",k.message),g(this,"stack",k.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}S.prototype.toString=function(){var k=Array(4*T+1).join(" "),I=`
|
|||
|
`+k+`AggregateError of:
|
|||
|
`;T++,k=Array(4*T+1).join(" ");for(var D=0;D<this.length;++D){for(var q=this[D]===this?"[Circular AggregateError]":this[D]+"",W=q.split(`
|
|||
|
`),X=0;X<W.length;++X)W[X]=k+W[X];I+=(q=W.join(`
|
|||
|
`))+`
|
|||
|
`}return T--,I},y(A,Error);var F=Error.__BluebirdErrorTypes__;F||(F=p({CancellationError:b,TimeoutError:w,OperationalError:A,RejectionError:A,AggregateError:S}),d.defineProperty(Error,"__BluebirdErrorTypes__",{value:F,writable:!1,enumerable:!1,configurable:!1})),s.exports={Error,TypeError:l,RangeError:f,CancellationError:F.CancellationError,OperationalError:F.OperationalError,TimeoutError:F.TimeoutError,AggregateError:F.AggregateError,Warning:_}},{"./es5":13,"./util":36}],13:[function(a,s,c){var l=function(){return this===void 0}();if(l)s.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:l,propertyIsWritable:function(y,g){var x=Object.getOwnPropertyDescriptor(y,g);return!(x&&!x.writable&&!x.set)}};else{var f={}.hasOwnProperty,d={}.toString,p={}.constructor.prototype,v=function(y){var g=[];for(var x in y)f.call(y,x)&&g.push(x);return g};s.exports={isArray:function(y){try{return d.call(y)==="[object Array]"}catch{return!1}},keys:v,names:v,defineProperty:function(y,g,x){return y[g]=x.value,y},getDescriptor:function(y,g){return{value:y[g]}},freeze:function(y){return y},getPrototypeOf:function(y){try{return Object(y).constructor.prototype}catch{return p}},isES5:l,propertyIsWritable:function(){return!0}}}},{}],14:[function(a,s,c){s.exports=function(l,f){var d=l.map;l.prototype.filter=function(p,v){return d(this,p,v,f)},l.filter=function(p,v,y){return d(p,v,y,f)}}},{}],15:[function(a,s,c){s.exports=function(l,f,d){var p=a("./util"),v=l.CancellationError,y=p.errorObj,g=a("./catch_filter")(d);function x(C,T,A){this.promise=C,this.type=T,this.handler=A,this.called=!1,this.cancelPromise=null}function _(C){this.finallyHandler=C}function b(C,T){return C.cancelPromise!=null&&(arguments.length>1?C.cancelPromise._reject(T):C.cancelPromise._cancel(),C.cancelPromise=null,!0)}function w(){return E.call(this,this.promise._target()._settledValue())}function S(C){if(!b(this,C))return y.e=C,y}function E(C){var T=this.promise,A=this.handler;if(!this.called){this.called=!0;var F=this.isFinallyHandler()?A.call(T._boundValue()):A.call(T._boundValue(),C);if(F===d)return F;if(F!==void 0){T._setReturnedNonUndefined();var k=f(F,T);if(k instanceof l){if(this.cancelPromise!=null){if(k._isCancelled()){var I=new v("late cancellation observer");return T._attachExtraTrace(I),y.e=I,y}k.isPending()&&k._attachCancellationCallback(new _(this))}return k._then(w,S,void 0,this,void 0)}}}return T.isRejected()?(b(this),y.e=C,y):(b(this),C)}return x.prototype.isFinallyHandler=function(){return this.type===0},_.prototype._resultCancelled=function(){b(this.finallyHandler)},l.prototype._passThrough=function(C,T,A,F){return typeof C!="function"?this.then():this._then(A,F,void 0,new x(this,T,C),void 0)},l.prototype.lastly=l.prototype.finally=function(C){return this._passThrough(C,0,E,E)},l.prototype.tap=function(C){return this._passThrough(C,1,E)},l.prototype.tapCatch=function(C){var T=arguments.length;if(T===1)return this._passThrough(C,1,void 0,E);var A,F=new Array(T-1),k=0;for(A=0;A<T-1;++A){var I=arguments[A];if(!p.isObject(I))return l.reject(new TypeError("tapCatch statement predicate: expecting an object but got "+p.classString(I)));F[k++]=I}F.length=k;var D=arguments[A];return this._passThrough(g(F,D,this),1,void 0,E)},x}},{"./catch_filter":7,"./util":36}],16:[function(a,s,c){s.exports=function(l,f,d,p,v,y){var g=a("./errors").TypeError,x=a("./util"),_=x.errorObj,b=x.tryCatch,w=[];function S(E,C,T,A){if(y.cancellation()){var F=new l(d),k=this._finallyPromise=new l(d);this._promise=F.lastly(function(){return k}),F._captureStackTrace(),F._setOnCancel(this)}else(this._promise=new l(d))._captureStackTrace();this._stack=A,this._generatorFunction=E,this._receiver=C,this._generator=void 0,this._yieldHandlers=typeof T=="function"?[T].concat(w):w,this._yieldedPromise=null,this._cancellationPhase=!1}x.inherits(S,v),S.prototype._isResolved=function(){return this._promise===null},S.prototype._cleanup=
|
|||
|
|
|||
|
See http://goo.gl/MqrFmX
|
|||
|
|
|||
|
`.replace("%s",String(T))+`From coroutine:
|
|||
|
`+this._stack.split(`
|
|||
|
`).slice(1,-7).join(`
|
|||
|
`)))},l.coroutine=function(E,C){if(typeof E!="function")throw new g(`generatorFunction must be a function
|
|||
|
|
|||
|
See http://goo.gl/MqrFmX
|
|||
|
`);var T=Object(C).yieldHandler,A=S,F=new Error().stack;return function(){var k=E.apply(this,arguments),I=new A(void 0,void 0,T,F),D=I.promise();return I._generator=k,I._promiseFulfilled(void 0),D}},l.coroutine.addYieldHandler=function(E){if(typeof E!="function")throw new g("expecting a function but got "+x.classString(E));w.push(E)},l.spawn=function(E){if(y.deprecated("Promise.spawn()","Promise.coroutine()"),typeof E!="function")return f(`generatorFunction must be a function
|
|||
|
|
|||
|
See http://goo.gl/MqrFmX
|
|||
|
`);var C=new S(E,this),T=C.promise();return C._run(l.spawn),T}}},{"./errors":12,"./util":36}],17:[function(a,s,c){s.exports=function(l,f,d,p,v,y){var g=a("./util");g.canEvaluate,g.tryCatch,g.errorObj,l.join=function(){var x,_=arguments.length-1;_>0&&typeof arguments[_]=="function"&&(x=arguments[_]);var b=[].slice.call(arguments);x&&b.pop();var w=new f(b).promise();return x!==void 0?w.spread(x):w}}},{"./util":36}],18:[function(a,s,c){s.exports=function(l,f,d,p,v,y){var g=l._getDomain,x=a("./util"),_=x.tryCatch,b=x.errorObj,w=l._async;function S(C,T,A,F){this.constructor$(C),this._promise._captureStackTrace();var k=g();this._callback=k===null?T:x.domainBind(k,T),this._preservedValues=F===v?new Array(this.length()):null,this._limit=A,this._inFlight=0,this._queue=[],w.invoke(this._asyncInit,this,void 0)}function E(C,T,A,F){if(typeof T!="function")return d("expecting a function but got "+x.classString(T));var k=0;if(A!==void 0){if(typeof A!="object"||A===null)return l.reject(new TypeError("options argument must be an object but it is "+x.classString(A)));if(typeof A.concurrency!="number")return l.reject(new TypeError("'concurrency' must be a number but it is "+x.classString(A.concurrency)));k=A.concurrency}return new S(C,T,k=typeof k=="number"&&isFinite(k)&&k>=1?k:0,F).promise()}x.inherits(S,f),S.prototype._asyncInit=function(){this._init$(void 0,-2)},S.prototype._init=function(){},S.prototype._promiseFulfilled=function(C,T){var A=this._values,F=this.length(),k=this._preservedValues,I=this._limit;if(T<0){if(A[T=-1*T-1]=C,I>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(I>=1&&this._inFlight>=I)return A[T]=C,this._queue.push(T),!1;k!==null&&(k[T]=C);var D=this._promise,q=this._callback,W=D._boundValue();D._pushContext();var X=_(q).call(W,C,T,F),Q=D._popContext();if(y.checkForgottenReturns(X,Q,k!==null?"Promise.filter":"Promise.map",D),X===b)return this._reject(X.e),!0;var ne=p(X,this._promise);if(ne instanceof l){var Z=(ne=ne._target())._bitField;if(!(50397184&Z))return I>=1&&this._inFlight++,A[T]=ne,ne._proxy(this,-1*(T+1)),!1;if(!(33554432&Z))return 16777216&Z?(this._reject(ne._reason()),!0):(this._cancel(),!0);X=ne._value()}A[T]=X}return++this._totalResolved>=F&&(k!==null?this._filter(A,k):this._resolve(A),!0)},S.prototype._drainQueue=function(){for(var C=this._queue,T=this._limit,A=this._values;C.length>0&&this._inFlight<T;){if(this._isResolved())return;var F=C.pop();this._promiseFulfilled(A[F],F)}},S.prototype._filter=function(C,T){for(var A=T.length,F=new Array(A),k=0,I=0;I<A;++I)C[I]&&(F[k++]=T[I]);F.length=k,this._resolve(F)},S.prototype.preservedValues=function(){return this._preservedValues},l.prototype.map=function(C,T){return E(this,C,T,null)},l.map=function(C,T,A,F){return E(C,T,A,F)}}},{"./util":36}],19:[function(a,s,c){s.exports=function(l,f,d,p,v){var y=a("./util"),g=y.tryCatch;l.method=function(x){if(typeof x!="function")throw new l.TypeError("expecting a function but got "+y.classString(x));return function(){var _=new l(f);_._captureStackTrace(),_._pushContext();var b=g(x).apply(this,arguments),w=_._popContext();return v.checkForgottenReturns(b,w,"Promise.method",_),_._resolveFromSyncValue(b),_}},l.attempt=l.try=function(x){if(typeof x!="function")return p("expecting a function but got "+y.classString(x));var _,b=new l(f);if(b._captureStackTrace(),b._pushContext(),arguments.length>1){v.deprecated("calling Promise.try with more than 1 argument");var w=arguments[1],S=arguments[2];_=y.isArray(w)?g(x).apply(S,w):g(x).call(S,w)}else _=g(x)();var E=b._popContext();return v.checkForgottenReturns(_,E,"Promise.try",b),b._resolveFromSyncValue(_),b},l.prototype._resolveFromSyncValue=function(x){x===y.errorObj?this._rejectCallback(x.e,!1):this._resolveCallback(x,!0)}}},{"./util":36}],20:[function(a,s,c){var l=a("./util"),f=l.maybeWrapAsError,d=a("./errors").OperationalError,p=a("./es5"),v=/^(?:name|message|stack|cause)$/;function y(g){var x;if(function(S){return S instanceof Error&&p.getPrototypeOf(S)===Error.prototype}(g)){(x=new d(g)).name=g.name,x.message=g.message,x.stack=g.stack;for(va
|
|||
|
|
|||
|
See http://goo.gl/MqrFmX
|
|||
|
`)},f=function(){return new z.PromiseInspection(this._target())},d=function(K){return z.reject(new S(K))};function p(){}var v,y={},g=a("./util");v=g.isNode?function(){var K=r.domain;return K===void 0&&(K=null),K}:function(){return null},g.notEnumerableProp(z,"_getDomain",v);var x=a("./es5"),_=a("./async"),b=new _;x.defineProperty(z,"_async",{value:b});var w=a("./errors"),S=z.TypeError=w.TypeError;z.RangeError=w.RangeError;var E=z.CancellationError=w.CancellationError;z.TimeoutError=w.TimeoutError,z.OperationalError=w.OperationalError,z.RejectionError=w.OperationalError,z.AggregateError=w.AggregateError;var C=function(){},T={},A={},F=a("./thenables")(z,C),k=a("./promise_array")(z,C,F,d,p),I=a("./context")(z),D=I.create,q=a("./debuggability")(z,I),W=(q.CapturedTrace,a("./finally")(z,F,A)),X=a("./catch_filter")(A),Q=a("./nodeback"),ne=g.errorObj,Z=g.tryCatch;function z(K){K!==C&&function(te,ie){if(te==null||te.constructor!==z)throw new S(`the promise constructor cannot be invoked directly
|
|||
|
|
|||
|
See http://goo.gl/MqrFmX
|
|||
|
`);if(typeof ie!="function")throw new S("expecting a function but got "+g.classString(ie))}(this,K),this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,this._resolveFromExecutor(K),this._promiseCreated(),this._fireEvent("promiseCreated",this)}function B(K){this.promise._resolveCallback(K)}function H(K){this.promise._rejectCallback(K,!1)}function ee(K){var te=new z(C);te._fulfillmentHandler0=K,te._rejectionHandler0=K,te._promise0=K,te._receiver0=K}return z.prototype.toString=function(){return"[object Promise]"},z.prototype.caught=z.prototype.catch=function(K){var te=arguments.length;if(te>1){var ie,ae=new Array(te-1),fe=0;for(ie=0;ie<te-1;++ie){var j=arguments[ie];if(!g.isObject(j))return d("Catch statement predicate: expecting an object but got "+g.classString(j));ae[fe++]=j}return ae.length=fe,K=arguments[ie],this.then(void 0,X(ae,K,this))}return this.then(void 0,K)},z.prototype.reflect=function(){return this._then(f,f,void 0,this,void 0)},z.prototype.then=function(K,te){if(q.warnings()&&arguments.length>0&&typeof K!="function"&&typeof te!="function"){var ie=".then() only accepts functions but was passed: "+g.classString(K);arguments.length>1&&(ie+=", "+g.classString(te)),this._warn(ie)}return this._then(K,te,void 0,void 0,void 0)},z.prototype.done=function(K,te){this._then(K,te,void 0,void 0,void 0)._setIsFinal()},z.prototype.spread=function(K){return typeof K!="function"?d("expecting a function but got "+g.classString(K)):this.all()._then(K,void 0,void 0,T,void 0)},z.prototype.toJSON=function(){var K={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(K.fulfillmentValue=this.value(),K.isFulfilled=!0):this.isRejected()&&(K.rejectionReason=this.reason(),K.isRejected=!0),K},z.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new k(this).promise()},z.prototype.error=function(K){return this.caught(g.originatesFromRejection,K)},z.getNewLibraryCopy=s.exports,z.is=function(K){return K instanceof z},z.fromNode=z.fromCallback=function(K){var te=new z(C);te._captureStackTrace();var ie=arguments.length>1&&!!Object(arguments[1]).multiArgs,ae=Z(K)(Q(te,ie));return ae===ne&&te._rejectCallback(ae.e,!0),te._isFateSealed()||te._setAsyncGuaranteed(),te},z.all=function(K){return new k(K).promise()},z.cast=function(K){var te=F(K);return te instanceof z||((te=new z(C))._captureStackTrace(),te._setFulfilled(),te._rejectionHandler0=K),te},z.resolve=z.fulfilled=z.cast,z.reject=z.rejected=function(K){var te=new z(C);return te._captureStackTrace(),te._rejectCallback(K,!0),te},z.setScheduler=function(K){if(typeof K!="function")throw new S("expecting a function but got "+g.classString(K));return b.setScheduler(K)},z.prototype._then=function(K,te,ie,ae,fe){var j=fe!==void 0,N=j?fe:new z(C),U=this._target(),J=U._bitField;j||(N._propagateFrom(this,3),N._captureStackTrace(),ae===void 0&&2097152&this._bitField&&(ae=50397184&J?this._boundValue():U===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,N));var Y=v();if(50397184&J){var oe,he,Se=U._settlePromiseCtx;33554432&J?(he=U._rejectionHandler0,oe=K):16777216&J?(he=U._fulfillmentHandler0,oe=te,U._unsetRejectionIsUnhandled()):(Se=U._settlePromiseLateCancellationObserver,he=new E("late cancellation observer"),U._attachExtraTrace(he),oe=te),b.invoke(Se,U,{handler:Y===null?oe:typeof oe=="function"&&g.domainBind(Y,oe),promise:N,receiver:ae,value:he})}else U._addCallbacks(K,te,N,ae,Y);return N},z.prototype._length=function(){return 65535&this._bitField},z.prototype._isFateSealed=function(){return(117506048&this._bitField)!=0},z.prototype._isFollowing=function(){return(67108864&this._bitField)==67108864},z.prototype._setLength=function(K){this._bitField=-65536&this._bitField|65535&K},z.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent("promiseFulfilled",this)},z.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent("promiseReje
|
|||
|
|
|||
|
See http://goo.gl/MqrFmX
|
|||
|
`.replace("%s",K))}}}(ne,q,W),ne}var F=function(D){return D.replace(/([$])/,"\\$")},k=x?void 0:function(D,q,W,X,Q,ne){var Z=function(){return this}(),z=D;function B(){var H=q;q===d&&(H=this);var ee=new l(f);ee._captureStackTrace();var K=typeof z=="string"&&this!==Z?this[z]:D,te=v(ee,ne);try{K.apply(H,y(arguments,te))}catch(ie){ee._rejectCallback(g(ie),!0,!0)}return ee._isFateSealed()||ee._setAsyncGuaranteed(),ee}return typeof z=="string"&&(D=X),p.notEnumerableProp(B,"__isPromisified__",!0),B};function I(D,q,W,X,Q){for(var ne=new RegExp(F(q)+"$"),Z=A(D,q,ne,W),z=0,B=Z.length;z<B;z+=2){var H=Z[z],ee=Z[z+1],K=H+q;if(X===k)D[K]=k(H,d,H,ee,q,Q);else{var te=X(ee,function(){return k(H,d,H,ee,q,Q)});p.notEnumerableProp(te,"__isPromisified__",!0),D[K]=te}}return p.toFastProperties(D),D}l.promisify=function(D,q){if(typeof D!="function")throw new _("expecting a function but got "+p.classString(D));if(C(D))return D;var W=(q=Object(q)).context===void 0?d:q.context,X=!!q.multiArgs,Q=function(ne,Z,z){return k(ne,Z,void 0,ne,null,X)}(D,W);return p.copyDescriptors(D,Q,E),Q},l.promisifyAll=function(D,q){if(typeof D!="function"&&typeof D!="object")throw new _(`the target of promisifyAll must be an object or a function
|
|||
|
|
|||
|
See http://goo.gl/MqrFmX
|
|||
|
`);var W=!!(q=Object(q)).multiArgs,X=q.suffix;typeof X!="string"&&(X="Async");var Q=q.filter;typeof Q!="function"&&(Q=S);var ne=q.promisifier;if(typeof ne!="function"&&(ne=k),!p.isIdentifier(X))throw new RangeError(`suffix must be a valid identifier
|
|||
|
|
|||
|
See http://goo.gl/MqrFmX
|
|||
|
`);for(var Z=p.inheritedDataKeys(D),z=0;z<Z.length;++z){var B=D[Z[z]];Z[z]!=="constructor"&&p.isClass(B)&&(I(B.prototype,X,Q,ne,W),I(B,X,Q,ne,W))}return I(D,X,Q,ne,W)}}},{"./errors":12,"./nodeback":20,"./util":36}],25:[function(a,s,c){s.exports=function(l,f,d,p){var v,y=a("./util"),g=y.isObject,x=a("./es5");typeof Map=="function"&&(v=Map);var _=function(){var S=0,E=0;function C(T,A){this[S]=T,this[S+E]=A,S++}return function(T){E=T.size,S=0;var A=new Array(2*T.size);return T.forEach(C,A),A}}();function b(S){var E,C=!1;if(v!==void 0&&S instanceof v)E=_(S),C=!0;else{var T=x.keys(S),A=T.length;E=new Array(2*A);for(var F=0;F<A;++F){var k=T[F];E[F]=S[k],E[F+A]=k}}this.constructor$(E),this._isMap=C,this._init$(void 0,C?-6:-3)}function w(S){var E,C=d(S);return g(C)?(E=C instanceof l?C._then(l.props,void 0,void 0,void 0,void 0):new b(C).promise(),C instanceof l&&E._propagateFrom(C,2),E):p(`cannot await properties of a non-object
|
|||
|
|
|||
|
See http://goo.gl/MqrFmX
|
|||
|
`)}y.inherits(b,f),b.prototype._init=function(){},b.prototype._promiseFulfilled=function(S,E){if(this._values[E]=S,++this._totalResolved>=this._length){var C;if(this._isMap)C=function(k){for(var I=new v,D=k.length/2|0,q=0;q<D;++q){var W=k[D+q],X=k[q];I.set(W,X)}return I}(this._values);else{C={};for(var T=this.length(),A=0,F=this.length();A<F;++A)C[this._values[A+T]]=this._values[A]}return this._resolve(C),!0}return!1},b.prototype.shouldCopyValues=function(){return!1},b.prototype.getActualLength=function(S){return S>>1},l.prototype.props=function(){return w(this)},l.props=function(S){return w(S)}}},{"./es5":13,"./util":36}],26:[function(a,s,c){function l(f){this._capacity=f,this._length=0,this._front=0}l.prototype._willBeOverCapacity=function(f){return this._capacity<f},l.prototype._pushOne=function(f){var d=this.length();this._checkCapacity(d+1),this[this._front+d&this._capacity-1]=f,this._length=d+1},l.prototype.push=function(f,d,p){var v=this.length()+3;if(this._willBeOverCapacity(v))return this._pushOne(f),this._pushOne(d),void this._pushOne(p);var y=this._front+v-3;this._checkCapacity(v);var g=this._capacity-1;this[y+0&g]=f,this[y+1&g]=d,this[y+2&g]=p,this._length=v},l.prototype.shift=function(){var f=this._front,d=this[f];return this[f]=void 0,this._front=f+1&this._capacity-1,this._length--,d},l.prototype.length=function(){return this._length},l.prototype._checkCapacity=function(f){this._capacity<f&&this._resizeTo(this._capacity<<1)},l.prototype._resizeTo=function(f){var d=this._capacity;this._capacity=f,function(p,v,y,g,x){for(var _=0;_<x;++_)y[_+g]=p[_+0],p[_+0]=void 0}(this,0,this,d,this._front+this._length&d-1)},s.exports=l},{}],27:[function(a,s,c){s.exports=function(l,f,d,p){var v=a("./util"),y=function(x){return x.then(function(_){return g(_,x)})};function g(x,_){var b=d(x);if(b instanceof l)return y(b);if((x=v.asArray(x))===null)return p("expecting an array or an iterable object but got "+v.classString(x));var w=new l(f);_!==void 0&&w._propagateFrom(_,3);for(var S=w._fulfill,E=w._reject,C=0,T=x.length;C<T;++C){var A=x[C];(A!==void 0||C in x)&&l.cast(A)._then(S,E,void 0,w,null)}return w}l.race=function(x){return g(x,void 0)},l.prototype.race=function(){return g(this,void 0)}}},{"./util":36}],28:[function(a,s,c){s.exports=function(l,f,d,p,v,y){var g=l._getDomain,x=a("./util"),_=x.tryCatch;function b(T,A,F,k){this.constructor$(T);var I=g();this._fn=I===null?A:x.domainBind(I,A),F!==void 0&&(F=l.resolve(F))._attachCancellationCallback(this),this._initialValue=F,this._currentCancellable=null,this._eachValues=k===v?Array(this._length):k===0?null:void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}function w(T,A){this.isFulfilled()?A._resolve(T):A._reject(T)}function S(T,A,F,k){return typeof A!="function"?d("expecting a function but got "+x.classString(A)):new b(T,A,F,k).promise()}function E(T){this.accum=T,this.array._gotAccum(T);var A=p(this.value,this.array._promise);return A instanceof l?(this.array._currentCancellable=A,A._then(C,void 0,void 0,this,void 0)):C.call(this,A)}function C(T){var A,F=this.array,k=F._promise,I=_(F._fn);k._pushContext(),(A=F._eachValues!==void 0?I.call(k._boundValue(),T,this.index,this.length):I.call(k._boundValue(),this.accum,T,this.index,this.length))instanceof l&&(F._currentCancellable=A);var D=k._popContext();return y.checkForgottenReturns(A,D,F._eachValues!==void 0?"Promise.each":"Promise.reduce",k),A}x.inherits(b,f),b.prototype._gotAccum=function(T){this._eachValues!==void 0&&this._eachValues!==null&&T!==v&&this._eachValues.push(T)},b.prototype._eachComplete=function(T){return this._eachValues!==null&&this._eachValues.push(T),this._eachValues},b.prototype._init=function(){},b.prototype._resolveEmptyArray=function(){this._resolve(this._eachValues!==void 0?this._eachValues:this._initialValue)},b.prototype.shouldCopyValues=function(){return!1},b.prototype._resolve=function(T){this._promise._resolveCallback(T),this._values=null},b.prototype._resultCancelled=function(T){if(T===this._initialValue)return this._cancel();this._isResolved()||(this._resultCancelled$(),this._curr
|
|||
|
|
|||
|
See http://goo.gl/MqrFmX
|
|||
|
`)}:function(){var g=document.createElement("div"),x={attributes:!0},_=!1,b=document.createElement("div");return new MutationObserver(function(){g.classList.toggle("foo"),_=!1}).observe(b,x),function(w){var S=new MutationObserver(function(){S.disconnect(),w()});S.observe(g,x),_||(_=!0,b.classList.toggle("foo"))}}();s.exports=l},{"./util":36}],30:[function(a,s,c){s.exports=function(l,f,d){var p=l.PromiseInspection;function v(y){this.constructor$(y)}a("./util").inherits(v,f),v.prototype._promiseResolved=function(y,g){return this._values[y]=g,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},v.prototype._promiseFulfilled=function(y,g){var x=new p;return x._bitField=33554432,x._settledValueField=y,this._promiseResolved(g,x)},v.prototype._promiseRejected=function(y,g){var x=new p;return x._bitField=16777216,x._settledValueField=y,this._promiseResolved(g,x)},l.settle=function(y){return d.deprecated(".settle()",".reflect()"),new v(y).promise()},l.prototype.settle=function(){return l.settle(this)}}},{"./util":36}],31:[function(a,s,c){s.exports=function(l,f,d){var p=a("./util"),v=a("./errors").RangeError,y=a("./errors").AggregateError,g=p.isArray,x={};function _(w){this.constructor$(w),this._howMany=0,this._unwrap=!1,this._initialized=!1}function b(w,S){if((0|S)!==S||S<0)return d(`expecting a positive integer
|
|||
|
|
|||
|
See http://goo.gl/MqrFmX
|
|||
|
`);var E=new _(w),C=E.promise();return E.setHowMany(S),E.init(),C}p.inherits(_,f),_.prototype._init=function(){if(this._initialized)if(this._howMany!==0){this._init$(void 0,-5);var w=g(this._values);!this._isResolved()&&w&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}else this._resolve([])},_.prototype.init=function(){this._initialized=!0,this._init()},_.prototype.setUnwrap=function(){this._unwrap=!0},_.prototype.howMany=function(){return this._howMany},_.prototype.setHowMany=function(w){this._howMany=w},_.prototype._promiseFulfilled=function(w){return this._addFulfilled(w),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),this.howMany()===1&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0)},_.prototype._promiseRejected=function(w){return this._addRejected(w),this._checkOutcome()},_.prototype._promiseCancelled=function(){return this._values instanceof l||this._values==null?this._cancel():(this._addRejected(x),this._checkOutcome())},_.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var w=new y,S=this.length();S<this._values.length;++S)this._values[S]!==x&&w.push(this._values[S]);return w.length>0?this._reject(w):this._cancel(),!0}return!1},_.prototype._fulfilled=function(){return this._totalResolved},_.prototype._rejected=function(){return this._values.length-this.length()},_.prototype._addRejected=function(w){this._values.push(w)},_.prototype._addFulfilled=function(w){this._values[this._totalResolved++]=w},_.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},_.prototype._getRangeError=function(w){var S="Input array must contain at least "+this._howMany+" items but contains only "+w+" items";return new v(S)},_.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},l.some=function(w,S){return b(w,S)},l.prototype.some=function(w){return b(this,w)},l._SomePromiseArray=_}},{"./errors":12,"./util":36}],32:[function(a,s,c){s.exports=function(l){function f(_){_!==void 0?(_=_._target(),this._bitField=_._bitField,this._settledValueField=_._isFateSealed()?_._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}f.prototype._settledValue=function(){return this._settledValueField};var d=f.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(`cannot get fulfillment value of a non-fulfilled promise
|
|||
|
|
|||
|
See http://goo.gl/MqrFmX
|
|||
|
`);return this._settledValue()},p=f.prototype.error=f.prototype.reason=function(){if(!this.isRejected())throw new TypeError(`cannot get rejection reason of a non-rejected promise
|
|||
|
|
|||
|
See http://goo.gl/MqrFmX
|
|||
|
`);return this._settledValue()},v=f.prototype.isFulfilled=function(){return(33554432&this._bitField)!=0},y=f.prototype.isRejected=function(){return(16777216&this._bitField)!=0},g=f.prototype.isPending=function(){return(50397184&this._bitField)==0},x=f.prototype.isResolved=function(){return(50331648&this._bitField)!=0};f.prototype.isCancelled=function(){return(8454144&this._bitField)!=0},l.prototype.__isCancelled=function(){return(65536&this._bitField)==65536},l.prototype._isCancelled=function(){return this._target().__isCancelled()},l.prototype.isCancelled=function(){return(8454144&this._target()._bitField)!=0},l.prototype.isPending=function(){return g.call(this._target())},l.prototype.isRejected=function(){return y.call(this._target())},l.prototype.isFulfilled=function(){return v.call(this._target())},l.prototype.isResolved=function(){return x.call(this._target())},l.prototype.value=function(){return d.call(this._target())},l.prototype.reason=function(){var _=this._target();return _._unsetRejectionIsUnhandled(),p.call(_)},l.prototype._value=function(){return this._settledValue()},l.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},l.PromiseInspection=f}},{}],33:[function(a,s,c){s.exports=function(l,f){var d=a("./util"),p=d.errorObj,v=d.isObject,y={}.hasOwnProperty;return function(g,x){if(v(g)){if(g instanceof l)return g;var _=function(w){try{return function(S){return S.then}(w)}catch(S){return p.e=S,p}}(g);if(_===p){x&&x._pushContext();var b=l.reject(_.e);return x&&x._popContext(),b}if(typeof _=="function")return function(w){try{return y.call(w,"_promise0")}catch{return!1}}(g)?(b=new l(f),g._then(b._fulfill,b._reject,void 0,b,null),b):function(w,S,E){var C=new l(f),T=C;E&&E._pushContext(),C._captureStackTrace(),E&&E._popContext();var A=!0,F=d.tryCatch(S).call(w,function(k){C&&(C._resolveCallback(k),C=null)},function(k){C&&(C._rejectCallback(k,A,!0),C=null)});return A=!1,C&&F===p&&(C._rejectCallback(F.e,!0,!0),C=null),T}(g,_,x)}return g}}},{"./util":36}],34:[function(a,s,c){s.exports=function(l,f,d){var p=a("./util"),v=l.TimeoutError;function y(w){this.handle=w}y.prototype._resultCancelled=function(){clearTimeout(this.handle)};var g=function(w){return x(+this).thenReturn(w)},x=l.delay=function(w,S){var E,C;return S!==void 0?(E=l.resolve(S)._then(g,null,null,w,void 0),d.cancellation()&&S instanceof l&&E._setOnCancel(S)):(E=new l(f),C=setTimeout(function(){E._fulfill()},+w),d.cancellation()&&E._setOnCancel(new y(C)),E._captureStackTrace()),E._setAsyncGuaranteed(),E};function _(w){return clearTimeout(this.handle),w}function b(w){throw clearTimeout(this.handle),w}l.prototype.delay=function(w){return x(w,this)},l.prototype.timeout=function(w,S){var E,C;w=+w;var T=new y(setTimeout(function(){E.isPending()&&function(A,F,k){var I;I=typeof F!="string"?F instanceof Error?F:new v("operation timed out"):new v(F),p.markAsOriginatingFromRejection(I),A._attachExtraTrace(I),A._reject(I),k!=null&&k.cancel()}(E,S,C)},w));return d.cancellation()?(C=this.then(),(E=C._then(_,b,void 0,T,void 0))._setOnCancel(T)):E=this._then(_,b,void 0,T,void 0),E}}},{"./util":36}],35:[function(a,s,c){s.exports=function(l,f,d,p,v,y){var g=a("./util"),x=a("./errors").TypeError,_=a("./util").inherits,b=g.errorObj,w=g.tryCatch,S={};function E(I){setTimeout(function(){throw I},0)}function C(I,D){var q=0,W=I.length,X=new l(v);return function Q(){if(q>=W)return X._fulfill();var ne=function(Z){var z=d(Z);return z!==Z&&typeof Z._isDisposable=="function"&&typeof Z._getDisposer=="function"&&Z._isDisposable()&&z._setDisposable(Z._getDisposer()),z}(I[q++]);if(ne instanceof l&&ne._isDisposable()){try{ne=d(ne._getDisposer().tryDispose(D),I.promise)}catch(Z){return E(Z)}if(ne instanceof l)return ne._then(Q,E,null,null,null)}Q()}(),X}function T(I,D,q){this._data=I,this._promise=D,this._context=q}function A(I,D,q){this.constructor$(I,D,q)}function F(I){return T.isDisposer(I)?(this.resources[this.index]._setDisposable(I),I.promise()):I}function k(I){this.length=I,this.promise=null,this[I-1]=null}T.prototype.data=function(){return this
|
|||
|
`){i.eol=`\r
|
|||
|
`;break}if(r[o+1]){i.eol="\r";break}}else if(r[o]===`
|
|||
|
`){i.eol=`
|
|||
|
`;break}}return i.eol||`
|
|||
|
`}},function(e,t,n){var r=n(65),i=n(73);e.exports=function(o,a){var s=i(o,a);return r(s)?s:void 0}},function(e,t,n){var r=n(19).Symbol;e.exports=r},function(e,t,n){var r=n(67),i=typeof self=="object"&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},function(e,t){e.exports=function(n){var r=typeof n;return n!=null&&(r=="object"||r=="function")}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(30),i=n(76);e.exports=function(o){return typeof o=="symbol"||i(o)&&r(o)=="[object Symbol]"}},function(e,t,n){(function(r,i){var o=n(6);e.exports=S;var a,s=n(37);S.ReadableState=w,n(12).EventEmitter;var c=function(B,H){return B.listeners(H).length},l=n(24),f=n(7).Buffer,d=r.Uint8Array||function(){},p=n(5);p.inherits=n(2);var v=n(41),y=void 0;y=v&&v.debuglog?v.debuglog("stream"):function(){};var g,x=n(42),_=n(25);p.inherits(S,l);var b=["error","close","destroy","pause","resume"];function w(B,H){a=a||n(1),B=B||{};var ee=H instanceof a;this.objectMode=!!B.objectMode,ee&&(this.objectMode=this.objectMode||!!B.readableObjectMode);var K=B.highWaterMark,te=B.readableHighWaterMark,ie=this.objectMode?16:16384;this.highWaterMark=K||K===0?K:ee&&(te||te===0)?te:ie,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new x,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=B.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,B.encoding&&(g||(g=n(26).StringDecoder),this.decoder=new g(B.encoding),this.encoding=B.encoding)}function S(B){if(a=a||n(1),!(this instanceof S))return new S(B);this._readableState=new w(B,this),this.readable=!0,B&&(typeof B.read=="function"&&(this._read=B.read),typeof B.destroy=="function"&&(this._destroy=B.destroy)),l.call(this)}function E(B,H,ee,K,te){var ie,ae=B._readableState;return H===null?(ae.reading=!1,function(fe,j){if(!j.ended){if(j.decoder){var N=j.decoder.end();N&&N.length&&(j.buffer.push(N),j.length+=j.objectMode?1:N.length)}j.ended=!0,F(fe)}}(B,ae)):(te||(ie=function(fe,j){var N;return function(U){return f.isBuffer(U)||U instanceof d}(j)||typeof j=="string"||j===void 0||fe.objectMode||(N=new TypeError("Invalid non-string/buffer chunk")),N}(ae,H)),ie?B.emit("error",ie):ae.objectMode||H&&H.length>0?(typeof H=="string"||ae.objectMode||Object.getPrototypeOf(H)===f.prototype||(H=function(fe){return f.from(fe)}(H)),K?ae.endEmitted?B.emit("error",new Error("stream.unshift() after end event")):C(B,ae,H,!0):ae.ended?B.emit("error",new Error("stream.push() after EOF")):(ae.reading=!1,ae.decoder&&!ee?(H=ae.decoder.write(H),ae.objectMode||H.length!==0?C(B,ae,H,!1):I(B,ae)):C(B,ae,H,!1))):K||(ae.reading=!1)),function(fe){return!fe.ended&&(fe.needReadable||fe.length<fe.highWaterMark||fe.length===0)}(ae)}function C(B,H,ee,K){H.flowing&&H.length===0&&!H.sync?(B.emit("data",ee),B.read(0)):(H.length+=H.objectMode?1:ee.length,K?H.buffer.unshift(ee):H.buffer.push(ee),H.needReadable&&F(B)),I(B,H)}Object.defineProperty(S.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(B){this._readableState&&(this._readableState.destroyed=B)}}),S.prototype.destroy=_.destroy,S.prototype._undestroy=_.undestroy,S.prototype._destroy=function(B,H){this.push(null),H(B)},S.prototype.push=function(B,H){var ee,K=this._readableState;return K.objectMode?ee=!0:typeof B=="string"&&((H=H||K.defaultEncoding)!==K.encoding&&(B=f.from(B,H),H=""),ee=!0),E(this,B,H,!1,ee)},S.prototype.unshift=function(B){return E(this,B,null,!0,!1)},S.prototype.isPaused=function(){return this._readableState.flowing===!1},S.prototype.setEncoding=function(B){return g||(g=n(26).StringDecoder),this._readableState.decoder=new g(B),this._readableState.encoding=B,this};var T=8388608;function A(B,H){return B<=0||H.length===0&&H.ended?0:H.objectMode?1:B!=B?H.flowing&&H.length?H.buffer.head.data.length:H.lengt
|
|||
|
`))}return{rowsCells:f,partial:d}},c}();t.RowSplit=s},function(e,t,n){var r=this&&this.__importDefault||function(_){return _&&_.__esModule?_:{default:_}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(29)),o=r(n(60)),a=/^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/;function s(_,b,w){if(b.parseParam.checkColumn&&b.parseRuntime.headers&&_.length!==b.parseRuntime.headers.length)throw i.default.column_mismatched(b.parseRuntime.parsedLineNumber+w);return function(S,E,C){for(var T=!1,A={},F=0,k=S.length;F<k;F++){var I=S[F];if(!C.parseParam.ignoreEmpty||I!==""){T=!0;var D=E[F];D&&D!==""||(D=E[F]="field"+(F+1));var q=l(D,F,C);if(q){var W=q(I,D,A,S,F);W!==void 0&&f(A,D,W,C,F)}else C.parseParam.checkType&&(I=v(I,D,F,C)(I)),I!==void 0&&f(A,D,I,C,F)}}return T?A:null}(_,b.parseRuntime.headers||[],b)||null}t.default=function(_,b){for(var w=[],S=0,E=_.length;S<E;S++){var C=s(_[S],b,S);C&&w.push(C)}return w};var c={string:g,number:y,omit:function(){}};function l(_,b,w){if(w.parseRuntime.columnConv[b]!==void 0)return w.parseRuntime.columnConv[b];var S=w.parseParam.colParser[_];if(S===void 0)return w.parseRuntime.columnConv[b]=null;if(typeof S=="object"&&(S=S.cellParser||"string"),typeof S=="string"){S=S.trim().toLowerCase();var E=c[S];return w.parseRuntime.columnConv[b]=E||null}return w.parseRuntime.columnConv[b]=typeof S=="function"?S:null}function f(_,b,w,S,E){if(!S.parseRuntime.columnValueSetter[E])if(S.parseParam.flatKeys)S.parseRuntime.columnValueSetter[E]=d;else if(b.indexOf(".")>-1){for(var C=b.split("."),T=!0;C.length>0;)if(C.shift().length===0){T=!1;break}!T||S.parseParam.colParser[b]&&S.parseParam.colParser[b].flat?S.parseRuntime.columnValueSetter[E]=d:S.parseRuntime.columnValueSetter[E]=p}else S.parseRuntime.columnValueSetter[E]=d;S.parseParam.nullObject===!0&&w==="null"&&(w=null),S.parseRuntime.columnValueSetter[E](_,b,w)}function d(_,b,w){_[b]=w}function p(_,b,w){o.default(_,b,w)}function v(_,b,w,S){return S.parseRuntime.headerType[w]?S.parseRuntime.headerType[w]:b.indexOf("number#!")>-1?S.parseRuntime.headerType[w]=y:b.indexOf("string#!")>-1?S.parseRuntime.headerType[w]=g:S.parseParam.checkType?S.parseRuntime.headerType[w]=x:S.parseRuntime.headerType[w]=g}function y(_){var b=parseFloat(_);return isNaN(b)?_:b}function g(_){return _.toString()}function x(_){var b=_.trim();return b===""?g(_):a.test(b)?y(_):b.length===5&&b.toLowerCase()==="false"||b.length===4&&b.toLowerCase()==="true"?function(w){var S=w.trim();return S.length!==5||S.toLowerCase()!=="false"}(_):b[0]==="{"&&b[b.length-1]==="}"||b[0]==="["&&b[b.length-1]==="]"?function(w){try{return JSON.parse(w)}catch{return w}}(_):g(_)}},function(e,t,n){var r=n(61);e.exports=function(i,o,a){return i==null?i:r(i,o,a)}},function(e,t,n){var r=n(62),i=n(74),o=n(103),a=n(20),s=n(104);e.exports=function(c,l,f,d){if(!a(c))return c;for(var p=-1,v=(l=i(l,c)).length,y=v-1,g=c;g!=null&&++p<v;){var x=s(l[p]),_=f;if(p!=y){var b=g[x];(_=d?d(b,x,g):void 0)===void 0&&(_=a(b)?b:o(l[p+1])?[]:{})}r(g,x,_),g=g[x]}return c}},function(e,t,n){var r=n(63),i=n(31),o=Object.prototype.hasOwnProperty;e.exports=function(a,s,c){var l=a[s];o.call(a,s)&&i(l,c)&&(c!==void 0||s in a)||r(a,s,c)}},function(e,t,n){var r=n(64);e.exports=function(i,o,a){o=="__proto__"&&r?r(i,o,{configurable:!0,enumerable:!0,value:a,writable:!0}):i[o]=a}},function(e,t,n){var r=n(17),i=function(){try{var o=r(Object,"defineProperty");return o({},"",{}),o}catch{}}();e.exports=i},function(e,t,n){var r=n(66),i=n(70),o=n(20),a=n(72),s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,f=c.toString,d=l.hasOwnProperty,p=RegExp("^"+f.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(v){return!(!o(v)||i(v))&&(r(v)?p:s).test(a(v))}},function(e,t,n){var r=n(30),i=n(20);e.exports=function(o){if(!i(o))return!1;var a=r(o);return a=="[object Function]"||a=="[object GeneratorFunction]"||a=="[object AsyncFunction]"||a=="[object Proxy]"}},function(e,t,n){(function(r){var i=typeof r=="object"&&r&&r.Object===Object&&r;e.exports=i}).c
|
|||
|
`,t.homedir=function(){return"/"}}]);const W6e=at(V6e),H6e=e=>new Promise(t=>{W6e().fromString(e).then(t)}),G6e=new ZD,q6e=e=>G6e.parse(e),K6e="shlink",L4=e=>`${K6e}.${e}`;class Y6e{constructor(t){Ul(this,"get",t=>{const n=this.localStorage.getItem(L4(t));return n?JSON.parse(n):void 0});Ul(this,"set",(t,n)=>this.localStorage.setItem(L4(t),JSON.stringify(n)));this.localStorage=t}}class Z6e{constructor(t){this.storage=t}getTagColors(){return this.storage.get("colors")??{}}storeTagColors(t){this.storage.set("colors",t)}}const X6e=e=>{e.constant("localStorage",window.localStorage),e.service("Storage",Y6e,"localStorage"),e.service("TagColorsStorage",Z6e,"Storage"),e.constant("csvToJson",H6e),e.constant("jsonToCsv",q6e),e.serviceFactory("useTimeoutToggle",()=>lD)},kl=new S6,{container:CP}=kl,Q6e=(e,t)=>(...n)=>e[t](...n),J6e=(e,t)=>({...e,[t]:Q6e(CP,t)}),eIe=e=>t=>Object.fromEntries(e.map(n=>[n,t[n]])),hb=(e,t=[])=>e6(e?eIe(e):null,t.reduce(J6e,{}));Tie(kl,hb);H$e(kl,hb);Oq(kl);R6e(kl,hb);X6e(kl);z6e(kl,hb);var PP={},qO={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=t.clone=t.recursive=t.merge=t.main=void 0,e.exports=t=n,t.default=n;function n(){for(var l=[],f=0;f<arguments.length;f++)l[f]=arguments[f];return r.apply(void 0,l)}t.main=n,n.clone=o,n.isPlainObject=a,n.recursive=i;function r(){for(var l=[],f=0;f<arguments.length;f++)l[f]=arguments[f];return c(l[0]===!0,!1,l)}t.merge=r;function i(){for(var l=[],f=0;f<arguments.length;f++)l[f]=arguments[f];return c(l[0]===!0,!0,l)}t.recursive=i;function o(l){if(Array.isArray(l)){for(var f=[],d=0;d<l.length;++d)f.push(o(l[d]));return f}else if(a(l)){var f={};for(var d in l)f[d]=o(l[d]);return f}else return l}t.clone=o;function a(l){return l&&typeof l=="object"&&!Array.isArray(l)}t.isPlainObject=a;function s(l,f){if(!a(l))return f;for(var d in f)d==="__proto__"||d==="constructor"||d==="prototype"||(l[d]=a(l[d])&&a(f[d])?s(l[d],f[d]):f[d]);return l}function c(l,f,d){var p;(l||!a(p=d.shift()))&&(p={});for(var v=0;v<d.length;++v){var y=d[v];if(a(y)){for(var g in y)if(!(g==="__proto__"||g==="constructor"||g==="prototype")){var x=l?o(y[g]):y[g];p[g]=f?s(p[g],x):x}}}return p}})(qO,qO.exports);var tIe=qO.exports;(function(e){var t=n(tIe);Object.defineProperty(e,"__esModule",{value:!0}),e.clear=q,e.combineLoads=D,e.load=I,e.save=k;function n(z){return z&&z.__esModule?z:{default:z}}function r(z,B){return c(z)||s(z,B)||o(z,B)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(z,B){if(z){if(typeof z=="string")return a(z,B);var H=Object.prototype.toString.call(z).slice(8,-1);return H==="Object"&&z.constructor&&(H=z.constructor.name),H==="Map"||H==="Set"?Array.from(z):H==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H)?a(z,B):void 0}}function a(z,B){(B==null||B>z.length)&&(B=z.length);for(var H=0,ee=Array(B);H<B;H++)ee[H]=z[H];return ee}function s(z,B){var H=z==null?null:typeof Symbol<"u"&&z[Symbol.iterator]||z["@@iterator"];if(H!=null){var ee,K,te=[],ie=!0,ae=!1;try{for(H=H.call(z);!(ie=(ee=H.next()).done)&&(te.push(ee.value),!(B&&te.length===B));ie=!0);}catch(fe){ae=!0,K=fe}finally{try{ie||H.return==null||H.return()}finally{if(ae)throw K}}return te}}function c(z){if(Array.isArray(z))return z}function l(z){"@babel/helpers - typeof";return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},l(z)}function f(z,B,H){return B in z?Object.defineProperty(z,B,{value:H,enumerable:!0,configurable:!0,writable:!0}):z[B]=H,z}var d="[Redux-LocalStorage-Simple]",p="redux_localstorage_simple",v="_",y=[],g=[],x=0,_=!1,b=!1,w=new Map;function S(z){console.warn(d,z)}function E(){}var C=function(z){return z?E:S};function T(z,B){return B===void 0?null:z.length===1?B[z[0]]:T(z.slice(1),B[z[0]])}function A(z){function B(ee,K){return ee.length===0?K:B(ee.slice(1),f({},ee[0],K))}var H=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{};return B(z.split(".").reverse(),H)}function F(z){this.warnFn=z||S}Object.defineProperty(F.prototype,"length",{get:function(){try{return localStorage.length}catch(z){this.warnFn(z)}return 0},configurable:!0,enumerable:!0}),F.prototype.key=function(z){try{return localStorage.key(z)}catch(B){this.warnFn(B)}return null},F.prototype.setItem=function(z,B){try{localStorage.setItem(z,JSON.stringify(B))}catch(H){this.warnFn(H)}},F.prototype.getItem=function(z){try{return JSON.parse(localStorage.getItem(z))}catch(B){this.warnFn(B)}return null},F.prototype.removeItem=function(z){try{localStorage.removeItem(z)}catch(B){this.warnFn(B)}};function k(){var z=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},B=z.states,H=B===void 0?y:B,ee=z.ignoreStates,K=ee===void 0?g:ee,te=z.namespace,ie=te===void 0?p:te,ae=z.namespaceSeparator,fe=ae===void 0?v:ae,j=z.debounce,N=j===void 0?x:j,U=z.disableWarnings,J=U===void 0?b:U;return function(Y){return function(oe){return function(he){function Se(Pe,Ae){return 1<Pe.split(".").length?T(Pe.split("."),Ae):T([Pe],Ae)}function se(){H.length===0?Te.setItem(ie,pe):H.forEach(function(Pe){var Ae=ie+fe+Pe,le=Se(Pe,pe);le?Te.setItem(Ae,le):Te.removeItem(Ae)})}var pe,me=C(J),xe=oe(he);W(H)||(console.error(d,"'states' parameter in 'save()' method was passed a non-array value. Setting default value instead. Check your 'save()' method."),H=y),W(K)||(console.error(d,"'ignoreStates' parameter in 'save()' method was passed a non-array value. Setting default value instead. Check your 'save()' method."),K=g),0<K.length&&(K=K.filter(function(Pe){return X(Pe)?Pe:void console.error(d,"'ignoreStates' array contains a non-string value. Ignoring this value. Check your 'ignoreStates' array.")})),X(ie)||(console.error(d,"'namespace' parameter in 'save()' method was passed a non-string value. Setting default value instead. Check your 'save()' method."),ie=p),X(fe)||(console.error(d,"'namespaceSeparator' parameter in 'save()' method was passed a non-string value. Setting default value instead. Check your 'save()' method."),fe=v),Q(N)||(console.error(d,"'debounce' parameter in 'save()' method was passed a non-integer value. Setting default value instead. Check your 'save()' method."),N=x),pe=0<K.length?Z(K,Y.getState()):Y.getState();var Te=new F(me);return N?(w.get(H+ie)&&clearTimeout(w.get(H+ie)),w.set(H+ie,setTimeout(function(){se()},N))):se(),xe}}}}function I(){var z=0<arguments.length&&arguments[0]!==void 0?arguments[0
|