From 5106326dde3b4a2ee6a15746dd04748b3f6c6a5c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Sat, 20 Jan 2024 08:25:22 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20preview-env=20from=20@=20shlin?= =?UTF-8?q?kio/shlink-web-client@e32a76745c4a1cb17c436f4a404642a83d55d79c?= =?UTF-8?q?=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dependabot/docker/node-21.6-alpine/.htaccess | 16 + .../node-21.6-alpine/assets/index-YTWdCsyZ.js | 1035 ++++++++++ .../assets/index-oITpymb_.css | 6 + .../docker/node-21.6-alpine/favicon.gif | Bin 0 -> 642 bytes .../docker/node-21.6-alpine/favicon.ico | Bin 0 -> 1165 bytes .../docker/node-21.6-alpine/favicon.png | Bin 0 -> 1165 bytes .../docker/node-21.6-alpine/favicon.svg | 1 + .../node-21.6-alpine/icons/icon-1024x1024.png | Bin 0 -> 8726 bytes .../node-21.6-alpine/icons/icon-114x114.png | Bin 0 -> 1080 bytes .../node-21.6-alpine/icons/icon-120x120.png | Bin 0 -> 1100 bytes .../node-21.6-alpine/icons/icon-128x128.png | Bin 0 -> 1165 bytes .../node-21.6-alpine/icons/icon-144x144.png | Bin 0 -> 1410 bytes .../node-21.6-alpine/icons/icon-150x150.png | Bin 0 -> 1366 bytes .../node-21.6-alpine/icons/icon-152x152.png | Bin 0 -> 1360 bytes .../node-21.6-alpine/icons/icon-160x160.png | Bin 0 -> 1411 bytes .../node-21.6-alpine/icons/icon-167x167.png | Bin 0 -> 1474 bytes .../node-21.6-alpine/icons/icon-16x16.png | Bin 0 -> 287 bytes .../node-21.6-alpine/icons/icon-180x180.png | Bin 0 -> 1657 bytes .../node-21.6-alpine/icons/icon-192x192.png | Bin 0 -> 1753 bytes .../node-21.6-alpine/icons/icon-196x196.png | Bin 0 -> 1684 bytes .../node-21.6-alpine/icons/icon-228x228.png | Bin 0 -> 1999 bytes .../node-21.6-alpine/icons/icon-24x24.png | Bin 0 -> 381 bytes .../node-21.6-alpine/icons/icon-256x256.png | Bin 0 -> 2209 bytes .../node-21.6-alpine/icons/icon-310x310.png | Bin 0 -> 2639 bytes .../node-21.6-alpine/icons/icon-32x32.png | Bin 0 -> 437 bytes .../node-21.6-alpine/icons/icon-384x384.png | Bin 0 -> 3236 bytes .../node-21.6-alpine/icons/icon-40x40.png | Bin 0 -> 466 bytes .../node-21.6-alpine/icons/icon-48x48.png | Bin 0 -> 551 bytes .../node-21.6-alpine/icons/icon-512x512.png | Bin 0 -> 4335 bytes .../node-21.6-alpine/icons/icon-60x60.png | Bin 0 -> 638 bytes .../node-21.6-alpine/icons/icon-64x64.png | Bin 0 -> 684 bytes .../node-21.6-alpine/icons/icon-72x72.png | Bin 0 -> 750 bytes .../node-21.6-alpine/icons/icon-76x76.png | Bin 0 -> 783 bytes .../node-21.6-alpine/icons/icon-96x96.png | Bin 0 -> 984 bytes dependabot/docker/node-21.6-alpine/index.html | 91 + .../docker/node-21.6-alpine/manifest.json | 1 + .../docker/node-21.6-alpine/service-worker.js | 1821 +++++++++++++++++ 37 files changed, 2971 insertions(+) create mode 100644 dependabot/docker/node-21.6-alpine/.htaccess create mode 100644 dependabot/docker/node-21.6-alpine/assets/index-YTWdCsyZ.js create mode 100644 dependabot/docker/node-21.6-alpine/assets/index-oITpymb_.css create mode 100644 dependabot/docker/node-21.6-alpine/favicon.gif create mode 100644 dependabot/docker/node-21.6-alpine/favicon.ico create mode 100644 dependabot/docker/node-21.6-alpine/favicon.png create mode 100644 dependabot/docker/node-21.6-alpine/favicon.svg create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-1024x1024.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-114x114.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-120x120.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-128x128.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-144x144.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-150x150.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-152x152.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-160x160.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-167x167.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-16x16.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-180x180.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-192x192.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-196x196.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-228x228.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-24x24.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-256x256.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-310x310.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-32x32.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-384x384.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-40x40.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-48x48.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-512x512.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-60x60.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-64x64.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-72x72.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-76x76.png create mode 100644 dependabot/docker/node-21.6-alpine/icons/icon-96x96.png create mode 100644 dependabot/docker/node-21.6-alpine/index.html create mode 100644 dependabot/docker/node-21.6-alpine/manifest.json create mode 100644 dependabot/docker/node-21.6-alpine/service-worker.js diff --git a/dependabot/docker/node-21.6-alpine/.htaccess b/dependabot/docker/node-21.6-alpine/.htaccess new file mode 100644 index 00000000..680e1a5e --- /dev/null +++ b/dependabot/docker/node-21.6-alpine/.htaccess @@ -0,0 +1,16 @@ +RewriteEngine on +RewriteBase / + +# do not do anything for already existing files +RewriteCond %{REQUEST_FILENAME} -f [OR] +RewriteCond %{REQUEST_FILENAME} -l [OR] +RewriteCond %{REQUEST_FILENAME} -d +RewriteRule (.*) - [L] + +# if request is no valid file NOR directory +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +# if static asset do not do anything +RewriteRule (.*)(css|js|html|png|jpe?g|gif|bmp|ico|json|csv|otf|eot|svg|svgz|ttf|woff|woff2|ijmap|pdf|tif|map) - [NC,L,R=404] +# everything else should be redirected to /index.html so it can be routed by it +RewriteRule (.*) /index.html [L] diff --git a/dependabot/docker/node-21.6-alpine/assets/index-YTWdCsyZ.js b/dependabot/docker/node-21.6-alpine/assets/index-YTWdCsyZ.js new file mode 100644 index 00000000..9a514bb9 --- /dev/null +++ b/dependabot/docker/node-21.6-alpine/assets/index-YTWdCsyZ.js @@ -0,0 +1,1035 @@ +var CG=Object.defineProperty;var kG=(e,t,n)=>t in e?CG(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Zu=(e,t,n)=>(kG(e,typeof t!="symbol"?t+"":t,n),n);function jG(e,t){for(var n=0;nr[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)}})();function Cu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var D8={exports:{}},s_={},I8={exports:{}},dt={};/** + * @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 Wm=Symbol.for("react.element"),PG=Symbol.for("react.portal"),AG=Symbol.for("react.fragment"),NG=Symbol.for("react.strict_mode"),MG=Symbol.for("react.profiler"),LG=Symbol.for("react.provider"),RG=Symbol.for("react.context"),DG=Symbol.for("react.forward_ref"),IG=Symbol.for("react.suspense"),FG=Symbol.for("react.memo"),UG=Symbol.for("react.lazy"),zN=Symbol.iterator;function $G(e){return e===null||typeof e!="object"?null:(e=zN&&e[zN]||e["@@iterator"],typeof e=="function"?e:null)}var F8={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},U8=Object.assign,$8={};function td(e,t,n){this.props=e,this.context=t,this.refs=$8,this.updater=n||F8}td.prototype.isReactComponent={};td.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")};td.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function B8(){}B8.prototype=td.prototype;function GC(e,t,n){this.props=e,this.context=t,this.refs=$8,this.updater=n||F8}var qC=GC.prototype=new B8;qC.constructor=GC;U8(qC,td.prototype);qC.isPureReactComponent=!0;var VN=Array.isArray,z8=Object.prototype.hasOwnProperty,KC={current:null},V8={key:!0,ref:!0,__self:!0,__source:!0};function H8(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)z8.call(t,r)&&!V8.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1>>1,re=X[W];if(0>>1;Wi(ie,V))sei(fe,ie)?(X[W]=fe,X[se]=V,W=se):(X[W]=ie,X[ee]=V,W=ee);else if(sei(fe,V))X[W]=fe,X[se]=V,W=se;else break e}}return $}function i(X,$){var V=X.sortIndex-$.sortIndex;return V!==0?V:X.id-$.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 l=[],u=[],f=1,d=null,p=3,m=!1,v=!1,g=!1,w=typeof setTimeout=="function"?setTimeout:null,y=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 x(X){for(var $=n(u);$!==null;){if($.callback===null)r(u);else if($.startTime<=X)r(u),$.sortIndex=$.expirationTime,t(l,$);else break;$=n(u)}}function O(X){if(g=!1,x(X),!v)if(n(l)!==null)v=!0,Z(E);else{var $=n(u);$!==null&&te(O,$.startTime-X)}}function E(X,$){v=!1,g&&(g=!1,y(A),A=-1),m=!0;var V=p;try{for(x($),d=n(l);d!==null&&(!(d.expirationTime>$)||X&&!I());){var W=d.callback;if(typeof W=="function"){d.callback=null,p=d.priorityLevel;var re=W(d.expirationTime<=$);$=e.unstable_now(),typeof re=="function"?d.callback=re:d===n(l)&&r(l),x($)}else r(l);d=n(l)}if(d!==null)var q=!0;else{var ee=n(u);ee!==null&&te(O,ee.startTime-$),q=!1}return q}finally{d=null,p=V,m=!1}}var T=!1,k=null,A=-1,D=5,R=-1;function I(){return!(e.unstable_now()-RX||125W?(X.sortIndex=V,t(u,X),n(l)===null&&X===n(u)&&(g?(y(A),A=-1):g=!0,te(O,V-W))):(X.sortIndex=re,t(l,X),v||m||(v=!0,Z(E))),X},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(X){var $=p;return function(){var V=p;p=$;try{return X.apply(this,arguments)}finally{p=V}}}})(q8);G8.exports=q8;var XG=G8.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 K8=F,si=XG;function Te(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),l1=Object.prototype.hasOwnProperty,QG=/^[: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]*$/,WN={},YN={};function JG(e){return l1.call(YN,e)?!0:l1.call(WN,e)?!1:QG.test(e)?YN[e]=!0:(WN[e]=!0,!1)}function eq(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 tq(e,t,n,r){if(t===null||typeof t>"u"||eq(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 Rr(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 fr={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){fr[e]=new Rr(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];fr[t]=new Rr(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){fr[e]=new Rr(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){fr[e]=new Rr(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){fr[e]=new Rr(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){fr[e]=new Rr(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){fr[e]=new Rr(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){fr[e]=new Rr(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){fr[e]=new Rr(e,5,!1,e.toLowerCase(),null,!1,!1)});var XC=/[\-:]([a-z])/g;function QC(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(XC,QC);fr[t]=new Rr(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(XC,QC);fr[t]=new Rr(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(XC,QC);fr[t]=new Rr(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){fr[e]=new Rr(e,1,!1,e.toLowerCase(),null,!1,!1)});fr.xlinkHref=new Rr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){fr[e]=new Rr(e,1,!1,e.toLowerCase(),null,!0,!0)});function JC(e,t,n,r){var i=fr.hasOwnProperty(t)?fr[t]:null;(i!==null?i.type!==0:r||!(2s||i[a]!==o[s]){var l=` +`+i[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{ux=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?_p(e):""}function nq(e){switch(e.tag){case 5:return _p(e.type);case 16:return _p("Lazy");case 13:return _p("Suspense");case 19:return _p("SuspenseList");case 0:case 2:case 15:return e=cx(e.type,!1),e;case 11:return e=cx(e.type.render,!1),e;case 1:return e=cx(e.type,!0),e;default:return""}}function d1(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 gc:return"Fragment";case vc:return"Portal";case u1:return"Profiler";case ek:return"StrictMode";case c1:return"Suspense";case f1:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Q8:return(e.displayName||"Context")+".Consumer";case X8:return(e._context.displayName||"Context")+".Provider";case tk:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case nk:return t=e.displayName||null,t!==null?t:d1(e.type)||"Memo";case gs:t=e._payload,e=e._init;try{return d1(e(t))}catch{}}return null}function rq(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 d1(t);case 8:return t===ek?"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 Ys(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function eF(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function iq(e){var t=eF(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 tg(e){e._valueTracker||(e._valueTracker=iq(e))}function tF(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=eF(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ly(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 p1(e,t){var n=t.checked;return on({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function qN(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ys(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 nF(e,t){t=t.checked,t!=null&&JC(e,"checked",t,!1)}function h1(e,t){nF(e,t);var n=Ys(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")?m1(e,t.type,n):t.hasOwnProperty("defaultValue")&&m1(e,t.type,Ys(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function KN(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function m1(e,t,n){(t!=="number"||Ly(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var wp=Array.isArray;function Bc(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=ng.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function hh(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Lp={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},oq=["Webkit","ms","Moz","O"];Object.keys(Lp).forEach(function(e){oq.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Lp[t]=Lp[e]})});function aF(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Lp.hasOwnProperty(e)&&Lp[e]?(""+t).trim():t+"px"}function sF(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=aF(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var aq=on({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function y1(e,t){if(t){if(aq[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Te(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Te(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Te(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Te(62))}}function b1(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var _1=null;function rk(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var w1=null,zc=null,Vc=null;function QN(e){if(e=qm(e)){if(typeof w1!="function")throw Error(Te(280));var t=e.stateNode;t&&(t=d_(t),w1(e.stateNode,e.type,t))}}function lF(e){zc?Vc?Vc.push(e):Vc=[e]:zc=e}function uF(){if(zc){var e=zc,t=Vc;if(Vc=zc=null,QN(e),t)for(e=0;e>>=0,e===0?32:31-(gq(e)/yq|0)|0}var rg=64,ig=4194304;function xp(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Fy(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~i;s!==0?r=xp(s):(o&=a,o!==0&&(r=xp(o)))}else a=n&~i,a!==0?r=xp(a):o!==0&&(r=xp(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Ym(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-mo(t),e[t]=n}function xq(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Dp),s3=String.fromCharCode(32),l3=!1;function jF(e,t){switch(e){case"keyup":return Zq.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function PF(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var yc=!1;function Qq(e,t){switch(e){case"compositionend":return PF(t);case"keypress":return t.which!==32?null:(l3=!0,s3);case"textInput":return e=t.data,e===s3&&l3?null:e;default:return null}}function Jq(e,t){if(yc)return e==="compositionend"||!fk&&jF(e,t)?(e=CF(),ay=lk=Ss=null,yc=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=d3(n)}}function LF(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?LF(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function RF(){for(var e=window,t=Ly();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ly(e.document)}return t}function dk(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function lK(e){var t=RF(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&LF(n.ownerDocument.documentElement,n)){if(r!==null&&dk(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=p3(n,o);var a=p3(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,bc=null,C1=null,Fp=null,k1=!1;function h3(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;k1||bc==null||bc!==Ly(r)||(r=bc,"selectionStart"in r&&dk(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Fp&&_h(Fp,r)||(Fp=r,r=By(C1,"onSelect"),0xc||(e.current=L1[xc],L1[xc]=null,xc--)}function Dt(e,t){xc++,L1[xc]=e.current,e.current=t}var Gs={},yr=il(Gs),Br=il(!1),cu=Gs;function ef(e,t){var n=e.type.contextTypes;if(!n)return Gs;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 zr(e){return e=e.childContextTypes,e!=null}function Vy(){Ht(Br),Ht(yr)}function w3(e,t,n){if(yr.current!==Gs)throw Error(Te(168));Dt(yr,t),Dt(Br,n)}function HF(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(Te(108,rq(e)||"Unknown",i));return on({},n,r)}function Hy(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gs,cu=yr.current,Dt(yr,e),Dt(Br,Br.current),!0}function x3(e,t,n){var r=e.stateNode;if(!r)throw Error(Te(169));n?(e=HF(e,t,cu),r.__reactInternalMemoizedMergedChildContext=e,Ht(Br),Ht(yr),Dt(yr,e)):Ht(Br),Dt(Br,n)}var pa=null,p_=!1,Sx=!1;function WF(e){pa===null?pa=[e]:pa.push(e)}function _K(e){p_=!0,WF(e)}function ol(){if(!Sx&&pa!==null){Sx=!0;var e=0,t=jt;try{var n=pa;for(jt=1;e>=a,i-=a,ga=1<<32-mo(t)+i|n<A?(D=k,k=null):D=k.sibling;var R=p(y,k,x[A],O);if(R===null){k===null&&(k=D);break}e&&k&&R.alternate===null&&t(y,k),b=o(R,b,A),T===null?E=R:T.sibling=R,T=R,k=D}if(A===x.length)return n(y,k),qt&&jl(y,A),E;if(k===null){for(;AA?(D=k,k=null):D=k.sibling;var I=p(y,k,R.value,O);if(I===null){k===null&&(k=D);break}e&&k&&I.alternate===null&&t(y,k),b=o(I,b,A),T===null?E=I:T.sibling=I,T=I,k=D}if(R.done)return n(y,k),qt&&jl(y,A),E;if(k===null){for(;!R.done;A++,R=x.next())R=d(y,R.value,O),R!==null&&(b=o(R,b,A),T===null?E=R:T.sibling=R,T=R);return qt&&jl(y,A),E}for(k=r(y,k);!R.done;A++,R=x.next())R=m(k,y,A,R.value,O),R!==null&&(e&&R.alternate!==null&&k.delete(R.key===null?A:R.key),b=o(R,b,A),T===null?E=R:T.sibling=R,T=R);return e&&k.forEach(function(z){return t(y,z)}),qt&&jl(y,A),E}function w(y,b,x,O){if(typeof x=="object"&&x!==null&&x.type===gc&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case eg:e:{for(var E=x.key,T=b;T!==null;){if(T.key===E){if(E=x.type,E===gc){if(T.tag===7){n(y,T.sibling),b=i(T,x.props.children),b.return=y,y=b;break e}}else if(T.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===gs&&j3(E)===T.type){n(y,T.sibling),b=i(T,x.props),b.ref=Jd(y,T,x),b.return=y,y=b;break e}n(y,T);break}else t(y,T);T=T.sibling}x.type===gc?(b=Jl(x.props.children,y.mode,O,x.key),b.return=y,y=b):(O=hy(x.type,x.key,x.props,null,y.mode,O),O.ref=Jd(y,b,x),O.return=y,y=O)}return a(y);case vc:e:{for(T=x.key;b!==null;){if(b.key===T)if(b.tag===4&&b.stateNode.containerInfo===x.containerInfo&&b.stateNode.implementation===x.implementation){n(y,b.sibling),b=i(b,x.children||[]),b.return=y,y=b;break e}else{n(y,b);break}else t(y,b);b=b.sibling}b=Nx(x,y.mode,O),b.return=y,y=b}return a(y);case gs:return T=x._init,w(y,b,T(x._payload),O)}if(wp(x))return v(y,b,x,O);if(qd(x))return g(y,b,x,O);fg(y,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,b!==null&&b.tag===6?(n(y,b.sibling),b=i(b,x),b.return=y,y=b):(n(y,b),b=Ax(x,y.mode,O),b.return=y,y=b),a(y)):n(y,b)}return w}var nf=JF(!0),eU=JF(!1),Km={},zo=il(Km),Sh=il(Km),Eh=il(Km);function Vl(e){if(e===Km)throw Error(Te(174));return e}function wk(e,t){switch(Dt(Eh,t),Dt(Sh,e),Dt(zo,Km),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:g1(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=g1(t,e)}Ht(zo),Dt(zo,t)}function rf(){Ht(zo),Ht(Sh),Ht(Eh)}function tU(e){Vl(Eh.current);var t=Vl(zo.current),n=g1(t,e.type);t!==n&&(Dt(Sh,e),Dt(zo,n))}function xk(e){Sh.current===e&&(Ht(zo),Ht(Sh))}var Jt=il(0);function Zy(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ex=[];function Ok(){for(var e=0;en?n:4,e(!0);var r=Tx.transition;Tx.transition={};try{e(!1),t()}finally{jt=n,Tx.transition=r}}function gU(){return Ui().memoizedState}function SK(e,t,n){var r=Us(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},yU(e))bU(t,n);else if(n=KF(e,t,n,r),n!==null){var i=Nr();vo(n,e,r,i),_U(n,t,r)}}function EK(e,t,n){var r=Us(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(yU(e))bU(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,bo(s,a)){var l=t.interleaved;l===null?(i.next=i,bk(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=KF(e,t,i,r),n!==null&&(i=Nr(),vo(n,e,r,i),_U(n,t,r))}}function yU(e){var t=e.alternate;return e===nn||t!==null&&t===nn}function bU(e,t){Up=Xy=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function _U(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ok(e,n)}}var Qy={readContext:Fi,useCallback:dr,useContext:dr,useEffect:dr,useImperativeHandle:dr,useInsertionEffect:dr,useLayoutEffect:dr,useMemo:dr,useReducer:dr,useRef:dr,useState:dr,useDebugValue:dr,useDeferredValue:dr,useTransition:dr,useMutableSource:dr,useSyncExternalStore:dr,useId:dr,unstable_isNewReconciler:!1},TK={readContext:Fi,useCallback:function(e,t){return Mo().memoizedState=[e,t===void 0?null:t],e},useContext:Fi,useEffect:A3,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,cy(4194308,4,dU.bind(null,t,e),n)},useLayoutEffect:function(e,t){return cy(4194308,4,e,t)},useInsertionEffect:function(e,t){return cy(4,2,e,t)},useMemo:function(e,t){var n=Mo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Mo();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=SK.bind(null,nn,e),[r.memoizedState,e]},useRef:function(e){var t=Mo();return e={current:e},t.memoizedState=e},useState:P3,useDebugValue:kk,useDeferredValue:function(e){return Mo().memoizedState=e},useTransition:function(){var e=P3(!1),t=e[0];return e=OK.bind(null,e[1]),Mo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=nn,i=Mo();if(qt){if(n===void 0)throw Error(Te(407));n=n()}else{if(n=t(),Hn===null)throw Error(Te(349));du&30||iU(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,A3(aU.bind(null,r,o,e),[e]),r.flags|=2048,kh(9,oU.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Mo(),t=Hn.identifierPrefix;if(qt){var n=ya,r=ga;n=(r&~(1<<32-mo(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Th++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Ro]=t,e[Oh]=r,jU(e,t,!1,!1),t.stateNode=e;e:{switch(a=b1(n,r),n){case"dialog":Ft("cancel",e),Ft("close",e),i=r;break;case"iframe":case"object":case"embed":Ft("load",e),i=r;break;case"video":case"audio":for(i=0;iaf&&(t.flags|=128,r=!0,ep(o,!1),t.lanes=4194304)}else{if(!r)if(e=Zy(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ep(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!qt)return pr(t),null}else 2*mn()-o.renderingStartTime>af&&n!==1073741824&&(t.flags|=128,r=!0,ep(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=mn(),t.sibling=null,n=Jt.current,Dt(Jt,r?n&1|2:n&1),t):(pr(t),null);case 22:case 23:return Lk(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Jr&1073741824&&(pr(t),t.subtreeFlags&6&&(t.flags|=8192)):pr(t),null;case 24:return null;case 25:return null}throw Error(Te(156,t.tag))}function LK(e,t){switch(hk(t),t.tag){case 1:return zr(t.type)&&Vy(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return rf(),Ht(Br),Ht(yr),Ok(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return xk(t),null;case 13:if(Ht(Jt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Te(340));tf()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ht(Jt),null;case 4:return rf(),null;case 10:return yk(t.type._context),null;case 22:case 23:return Lk(),null;case 24:return null;default:return null}}var pg=!1,vr=!1,RK=typeof WeakSet=="function"?WeakSet:Set,$e=null;function Tc(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){un(e,t,r)}else n.current=null}function Y1(e,t,n){try{n()}catch(r){un(e,t,r)}}var $3=!1;function DK(e,t){if(j1=Uy,e=RF(),dk(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,u=0,f=0,d=e,p=null;t:for(;;){for(var m;d!==n||i!==0&&d.nodeType!==3||(s=a+i),d!==o||r!==0&&d.nodeType!==3||(l=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(m=d.firstChild)!==null;)p=d,d=m;for(;;){if(d===e)break t;if(p===n&&++u===i&&(s=a),p===o&&++f===r&&(l=a),(m=d.nextSibling)!==null)break;d=p,p=d.parentNode}d=m}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(P1={focusedElem:e,selectionRange:n},Uy=!1,$e=t;$e!==null;)if(t=$e,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,$e=e;else for(;$e!==null;){t=$e;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var g=v.memoizedProps,w=v.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:no(t.type,g),w);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Te(163))}}catch(O){un(t,t.return,O)}if(e=t.sibling,e!==null){e.return=t.return,$e=e;break}$e=t.return}return v=$3,$3=!1,v}function $p(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Y1(t,n,o)}i=i.next}while(i!==r)}}function v_(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function G1(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function NU(e){var t=e.alternate;t!==null&&(e.alternate=null,NU(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ro],delete t[Oh],delete t[M1],delete t[yK],delete t[bK])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function MU(e){return e.tag===5||e.tag===3||e.tag===4}function B3(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||MU(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function q1(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=zy));else if(r!==4&&(e=e.child,e!==null))for(q1(e,t,n),e=e.sibling;e!==null;)q1(e,t,n),e=e.sibling}function K1(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(K1(e,t,n),e=e.sibling;e!==null;)K1(e,t,n),e=e.sibling}var lr=null,ro=!1;function os(e,t,n){for(n=n.child;n!==null;)LU(e,t,n),n=n.sibling}function LU(e,t,n){if(Bo&&typeof Bo.onCommitFiberUnmount=="function")try{Bo.onCommitFiberUnmount(l_,n)}catch{}switch(n.tag){case 5:vr||Tc(n,t);case 6:var r=lr,i=ro;lr=null,os(e,t,n),lr=r,ro=i,lr!==null&&(ro?(e=lr,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):lr.removeChild(n.stateNode));break;case 18:lr!==null&&(ro?(e=lr,n=n.stateNode,e.nodeType===8?Ox(e.parentNode,n):e.nodeType===1&&Ox(e,n),yh(e)):Ox(lr,n.stateNode));break;case 4:r=lr,i=ro,lr=n.stateNode.containerInfo,ro=!0,os(e,t,n),lr=r,ro=i;break;case 0:case 11:case 14:case 15:if(!vr&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&Y1(n,t,a),i=i.next}while(i!==r)}os(e,t,n);break;case 1:if(!vr&&(Tc(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){un(n,t,s)}os(e,t,n);break;case 21:os(e,t,n);break;case 22:n.mode&1?(vr=(r=vr)||n.memoizedState!==null,os(e,t,n),vr=r):os(e,t,n);break;default:os(e,t,n)}}function z3(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new RK),t.forEach(function(r){var i=WK.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function eo(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=mn()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*FK(r/1960))-r,10e?16:e,Es===null)var r=!1;else{if(e=Es,Es=null,t0=0,gt&6)throw Error(Te(331));var i=gt;for(gt|=4,$e=e.current;$e!==null;){var o=$e,a=o.child;if($e.flags&16){var s=o.deletions;if(s!==null){for(var l=0;lmn()-Nk?Ql(e,0):Ak|=n),Vr(e,t)}function zU(e,t){t===0&&(e.mode&1?(t=ig,ig<<=1,!(ig&130023424)&&(ig=4194304)):t=1);var n=Nr();e=Pa(e,t),e!==null&&(Ym(e,t,n),Vr(e,n))}function HK(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),zU(e,n)}function WK(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Te(314))}r!==null&&r.delete(t),zU(e,n)}var VU;VU=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Br.current)Fr=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Fr=!1,NK(e,t,n);Fr=!!(e.flags&131072)}else Fr=!1,qt&&t.flags&1048576&&YF(t,Yy,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;fy(e,t),e=t.pendingProps;var i=ef(t,yr.current);Wc(t,n),i=Ek(null,t,r,e,i,n);var o=Tk();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,zr(r)?(o=!0,Hy(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,_k(t),i.updater=h_,t.stateNode=i,i._reactInternals=t,U1(t,r,e,n),t=z1(null,t,r,!0,o,n)):(t.tag=0,qt&&o&&pk(t),Tr(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(fy(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=GK(r),e=no(r,e),i){case 0:t=B1(null,t,r,e,n);break e;case 1:t=I3(null,t,r,e,n);break e;case 11:t=R3(null,t,r,e,n);break e;case 14:t=D3(null,t,r,no(r.type,e),n);break e}throw Error(Te(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:no(r,i),B1(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:no(r,i),I3(e,t,r,i,n);case 3:e:{if(TU(t),e===null)throw Error(Te(387));r=t.pendingProps,o=t.memoizedState,i=o.element,ZF(e,t),Ky(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=of(Error(Te(423)),t),t=F3(e,t,r,n,i);break e}else if(r!==i){i=of(Error(Te(424)),t),t=F3(e,t,r,n,i);break e}else for(ti=Ds(t.stateNode.containerInfo.firstChild),ri=t,qt=!0,ao=null,n=eU(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(tf(),r===i){t=Aa(e,t,n);break e}Tr(e,t,r,n)}t=t.child}return t;case 5:return tU(t),e===null&&D1(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,A1(r,i)?a=null:o!==null&&A1(r,o)&&(t.flags|=32),EU(e,t),Tr(e,t,a,n),t.child;case 6:return e===null&&D1(t),null;case 13:return CU(e,t,n);case 4:return wk(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=nf(t,null,r,n):Tr(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:no(r,i),R3(e,t,r,i,n);case 7:return Tr(e,t,t.pendingProps,n),t.child;case 8:return Tr(e,t,t.pendingProps.children,n),t.child;case 12:return Tr(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,Dt(Gy,r._currentValue),r._currentValue=a,o!==null)if(bo(o.value,a)){if(o.children===i.children&&!Br.current){t=Aa(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=Oa(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?l.next=l:(l.next=f.next,f.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),I1(o.return,n,t),s.lanes|=n;break}l=l.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(Te(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),I1(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}Tr(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Wc(t,n),i=Fi(i),r=r(i),t.flags|=1,Tr(e,t,r,n),t.child;case 14:return r=t.type,i=no(r,t.pendingProps),i=no(r.type,i),D3(e,t,r,i,n);case 15:return OU(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:no(r,i),fy(e,t),t.tag=1,zr(r)?(e=!0,Hy(t)):e=!1,Wc(t,n),QF(t,r,i),U1(t,r,i,n),z1(null,t,r,!0,e,n);case 19:return kU(e,t,n);case 22:return SU(e,t,n)}throw Error(Te(156,t.tag))};function HU(e,t){return vF(e,t)}function YK(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pi(e,t,n,r){return new YK(e,t,n,r)}function Dk(e){return e=e.prototype,!(!e||!e.isReactComponent)}function GK(e){if(typeof e=="function")return Dk(e)?1:0;if(e!=null){if(e=e.$$typeof,e===tk)return 11;if(e===nk)return 14}return 2}function $s(e,t){var n=e.alternate;return n===null?(n=Pi(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function hy(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")Dk(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case gc:return Jl(n.children,i,o,t);case ek:a=8,i|=8;break;case u1:return e=Pi(12,n,t,i|2),e.elementType=u1,e.lanes=o,e;case c1:return e=Pi(13,n,t,i),e.elementType=c1,e.lanes=o,e;case f1:return e=Pi(19,n,t,i),e.elementType=f1,e.lanes=o,e;case J8:return y_(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case X8:a=10;break e;case Q8:a=9;break e;case tk:a=11;break e;case nk:a=14;break e;case gs:a=16,r=null;break e}throw Error(Te(130,e==null?e:typeof e,""))}return t=Pi(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Jl(e,t,n,r){return e=Pi(7,e,r,t),e.lanes=n,e}function y_(e,t,n,r){return e=Pi(22,e,r,t),e.elementType=J8,e.lanes=n,e.stateNode={isHidden:!1},e}function Ax(e,t,n){return e=Pi(6,e,null,t),e.lanes=n,e}function Nx(e,t,n){return t=Pi(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function qK(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=dx(0),this.expirationTimes=dx(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=dx(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Ik(e,t,n,r,i,o,a,s,l){return e=new qK(e,t,n,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Pi(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},_k(o),e}function KK(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(qU)}catch(e){console.error(e)}}qU(),Y8.exports=hi;var id=Y8.exports;const eu=Cu(id);var KU,Z3=id;KU=Z3.createRoot,Z3.hydrateRoot;var eZ={};/** + * @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 Zm=F;function tZ(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var nZ=typeof Object.is=="function"?Object.is:tZ,rZ=Zm.useSyncExternalStore,iZ=Zm.useRef,oZ=Zm.useEffect,aZ=Zm.useMemo,sZ=Zm.useDebugValue;eZ.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=iZ(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=aZ(function(){function l(m){if(!u){if(u=!0,f=m,m=r(m),i!==void 0&&a.hasValue){var v=a.value;if(i(v,m))return d=v}return d=m}if(v=d,nZ(f,m))return v;var g=r(m);return i!==void 0&&i(v,g)?v:(f=m,d=g)}var u=!1,f,d,p=n===void 0?null:n;return[function(){return l(t())},p===null?void 0:function(){return l(p())}]},[t,n,r,i]);var s=rZ(e,o[0],o[1]);return oZ(function(){a.hasValue=!0,a.value=s},[s]),sZ(s),s};var St="default"in s1?N:s1,X3=Symbol.for("react-redux-context"),Q3=typeof globalThis<"u"?globalThis:{};function lZ(){if(!St.createContext)return{};const e=Q3[X3]??(Q3[X3]=new Map);let t=e.get(St.createContext);return t||(t=St.createContext(null),e.set(St.createContext,t)),t}var ZU=lZ(),uZ=()=>{throw new Error("uSES not initialized!")},cZ=Symbol.for("react.element"),fZ=Symbol.for("react.portal"),dZ=Symbol.for("react.fragment"),pZ=Symbol.for("react.strict_mode"),hZ=Symbol.for("react.profiler"),mZ=Symbol.for("react.provider"),vZ=Symbol.for("react.context"),gZ=Symbol.for("react.server_context"),XU=Symbol.for("react.forward_ref"),yZ=Symbol.for("react.suspense"),bZ=Symbol.for("react.suspense_list"),Bk=Symbol.for("react.memo"),_Z=Symbol.for("react.lazy"),wZ=XU,xZ=Bk;function OZ(e){if(typeof e=="object"&&e!==null){const t=e.$$typeof;switch(t){case cZ:{const n=e.type;switch(n){case dZ:case hZ:case pZ:case yZ:case bZ:return n;default:{const r=n&&n.$$typeof;switch(r){case gZ:case vZ:case XU:case _Z:case Bk:case mZ:return r;default:return t}}}}case fZ:return t}}}function SZ(e){return OZ(e)===Bk}function EZ(e,t,n,r,{areStatesEqual:i,areOwnPropsEqual:o,areStatePropsEqual:a}){let s=!1,l,u,f,d,p;function m(b,x){return l=b,u=x,f=e(l,u),d=t(r,u),p=n(f,d,u),s=!0,p}function v(){return f=e(l,u),t.dependsOnOwnProps&&(d=t(r,u)),p=n(f,d,u),p}function g(){return e.dependsOnOwnProps&&(f=e(l,u)),t.dependsOnOwnProps&&(d=t(r,u)),p=n(f,d,u),p}function w(){const b=e(l,u),x=!a(b,f);return f=b,x&&(p=n(f,d,u)),p}function y(b,x){const O=!o(x,u),E=!i(b,l,x,u);return l=b,u=x,O&&E?v():O?g():E?w():p}return function(x,O){return s?y(x,O):m(x,O)}}function TZ(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...i}){const o=t(e,i),a=n(e,i),s=r(e,i);return EZ(o,a,s,e,i)}function CZ(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 eS(e){return function(n){const r=e(n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function J3(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:e.length!==1}function QU(e,t){return function(r,{displayName:i}){const o=function(s,l){return o.dependsOnOwnProps?o.mapToProps(s,l):o.mapToProps(s,void 0)};return o.dependsOnOwnProps=!0,o.mapToProps=function(s,l){o.mapToProps=e,o.dependsOnOwnProps=J3(e);let u=o(s,l);return typeof u=="function"&&(o.mapToProps=u,o.dependsOnOwnProps=J3(u),u=o(s,l)),u},o}}function zk(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function kZ(e){return e&&typeof e=="object"?eS(t=>CZ(e,t)):e?typeof e=="function"?QU(e):zk(e,"mapDispatchToProps"):eS(t=>({dispatch:t}))}function jZ(e){return e?typeof e=="function"?QU(e):zk(e,"mapStateToProps"):eS(()=>({}))}function PZ(e,t,n){return{...n,...e,...t}}function AZ(e){return function(n,{displayName:r,areMergedPropsEqual:i}){let o=!1,a;return function(l,u,f){const d=e(l,u,f);return o?i(d,a)||(a=d):(o=!0,a=d),a}}}function NZ(e){return e?typeof e=="function"?AZ(e):zk(e,"mergeProps"):()=>PZ}function MZ(e){e()}function LZ(){let e=null,t=null;return{clear(){e=null,t=null},notify(){MZ(()=>{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,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var eM={notify(){},get:()=>[]};function JU(e,t){let n,r=eM,i=0,o=!1;function a(g){f();const w=r.subscribe(g);let y=!1;return()=>{y||(y=!0,w(),d())}}function s(){r.notify()}function l(){v.onStateChange&&v.onStateChange()}function u(){return o}function f(){i++,n||(n=t?t.addNestedSub(l):e.subscribe(l),r=LZ())}function d(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=eM)}function p(){o||(o=!0,f())}function m(){o&&(o=!1,d())}const v={addNestedSub:a,notifyNestedSubs:s,handleChangeWrapper:l,isSubscribed:u,trySubscribe:p,tryUnsubscribe:m,getListeners:()=>r};return v}var RZ=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",i0=RZ?St.useLayoutEffect:St.useEffect;function tM(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function Mx(e,t){if(tM(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i=0;i{t$=e},WZ=[null,null];function YZ(e,t,n){i0(()=>e(...t),n)}function GZ(e,t,n,r,i,o){e.current=r,n.current=!1,i.current&&(i.current=null,o())}function qZ(e,t,n,r,i,o,a,s,l,u,f){if(!e)return()=>{};let d=!1,p=null;const m=()=>{if(d||!s.current)return;const g=t.getState();let w,y;try{w=r(g,i.current)}catch(b){y=b,p=b}y||(p=null),w===o.current?a.current||u():(o.current=w,l.current=w,a.current=!0,f())};return n.onStateChange=m,n.trySubscribe(),m(),()=>{if(d=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p}}function KZ(e,t){return e===t}function ZZ(e,t,n,{pure:r,areStatesEqual:i=KZ,areOwnPropsEqual:o=Mx,areStatePropsEqual:a=Mx,areMergedPropsEqual:s=Mx,forwardRef:l=!1,context:u=ZU}={}){const f=u,d=jZ(e),p=kZ(t),m=NZ(n),v=!!e;return w=>{const y=w.displayName||w.name||"Component",b=`Connect(${y})`,x={shouldHandleStateChanges:v,displayName:b,wrappedComponentName:y,WrappedComponent:w,initMapStateToProps:d,initMapDispatchToProps:p,initMergeProps:m,areStatesEqual:i,areStatePropsEqual:a,areOwnPropsEqual:o,areMergedPropsEqual:s};function O(k){const[A,D,R]=St.useMemo(()=>{const{reactReduxForwardedRef:K,...le}=k;return[k.context,K,le]},[k]),I=St.useMemo(()=>{let K=f;return A!=null&&A.Consumer,K},[A,f]),z=St.useContext(I),G=!!k.store&&!!k.store.getState&&!!k.store.dispatch,H=!!z&&!!z.store,Q=G?k.store:z.store,Z=H?z.getServerState:Q.getState,te=St.useMemo(()=>TZ(Q.dispatch,x),[Q]),[X,$]=St.useMemo(()=>{if(!v)return WZ;const K=JU(Q,G?void 0:z.subscription),le=K.notifyNestedSubs.bind(K);return[K,le]},[Q,G,z]),V=St.useMemo(()=>G?z:{...z,subscription:X},[G,z,X]),W=St.useRef(),re=St.useRef(R),q=St.useRef(),ee=St.useRef(!1);St.useRef(!1);const ie=St.useRef(!1),se=St.useRef();i0(()=>(ie.current=!0,()=>{ie.current=!1}),[]);const fe=St.useMemo(()=>()=>q.current&&R===re.current?q.current:te(Q.getState(),R),[Q,R]),j=St.useMemo(()=>le=>X?qZ(v,Q,X,te,re,W,ee,ie,q,$,le):()=>{},[X]);YZ(GZ,[re,W,ee,R,q,$]);let P;try{P=t$(j,fe,Z?()=>te(Z(),R):fe)}catch(K){throw se.current&&(K.message+=` +The error may be correlated with this previous error: +${se.current.stack} + +`),K}i0(()=>{se.current=void 0,q.current=void 0,W.current=P});const B=St.useMemo(()=>St.createElement(w,{...P,ref:D}),[D,w,P]);return St.useMemo(()=>v?St.createElement(I.Provider,{value:V},B):B,[I,B,V])}const T=St.memo(O);if(T.WrappedComponent=w,T.displayName=O.displayName=b,l){const A=St.forwardRef(function(R,I){return St.createElement(T,{...R,reactReduxForwardedRef:I})});return A.displayName=b,A.WrappedComponent=w,tS(A,w)}return tS(T,w)}}var n$=ZZ;function XZ({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=St.useMemo(()=>{const u=JU(e);return{store:e,subscription:u,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,r,i,o]),s=St.useMemo(()=>e.getState(),[e]);i0(()=>{const{subscription:u}=a;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),s!==e.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[a,s]);const l=t||ZU;return St.createElement(l.Provider,{value:a},n)}var r$=XZ;HZ(F.useSyncExternalStore);/** + * @remix-run/router v1.14.2 + * + * 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 Ph(){return Ph=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Vk(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function JZ(){return Math.random().toString(36).substr(2,8)}function aM(e,t){return{usr:e.state,key:e.key,idx:t}}function nS(e,t,n,r){return n===void 0&&(n=null),Ph({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?od(t):t,{state:n,key:t&&t.key||r||JZ()})}function o0(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 od(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 eX(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,s=Ts.Pop,l=null,u=f();u==null&&(u=0,a.replaceState(Ph({},a.state,{idx:u}),""));function f(){return(a.state||{idx:null}).idx}function d(){s=Ts.Pop;let w=f(),y=w==null?null:w-u;u=w,l&&l({action:s,location:g.location,delta:y})}function p(w,y){s=Ts.Push;let b=nS(g.location,w,y);n&&n(b,w),u=f()+1;let x=aM(b,u),O=g.createHref(b);try{a.pushState(x,"",O)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;i.location.assign(O)}o&&l&&l({action:s,location:g.location,delta:1})}function m(w,y){s=Ts.Replace;let b=nS(g.location,w,y);n&&n(b,w),u=f();let x=aM(b,u),O=g.createHref(b);a.replaceState(x,"",O),o&&l&&l({action:s,location:g.location,delta:0})}function v(w){let y=i.location.origin!=="null"?i.location.origin:i.location.href,b=typeof w=="string"?w:o0(w);return rn(y,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,y)}let g={get action(){return s},get location(){return e(i,a)},listen(w){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(oM,d),l=w,()=>{i.removeEventListener(oM,d),l=null}},createHref(w){return t(i,w)},createURL:v,encodeLocation(w){let y=v(w);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:p,replace:m,go(w){return a.go(w)}};return g}var sM;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(sM||(sM={}));function tX(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?od(t):t,i=Ah(r.pathname||"/",n);if(i==null)return null;let o=i$(e);nX(o);let a=null;for(let s=0;a==null&&s{let l={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:a,route:o};l.relativePath.startsWith("/")&&(rn(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=Bs([r,l.relativePath]),f=n.concat(l);o.children&&o.children.length>0&&(rn(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),i$(o.children,t,f,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:uX(u,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 l of o$(o.path))i(o,a,l)}),t}function o$(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let a=o$(r.join("/")),s=[];return s.push(...a.map(l=>l===""?o:[o,l].join("/"))),i&&s.push(...a),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function nX(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:cX(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const rX=/^:[\w-]+$/,iX=3,oX=2,aX=1,sX=10,lX=-2,lM=e=>e==="*";function uX(e,t){let n=e.split("/"),r=n.length;return n.some(lM)&&(r+=lX),t&&(r+=oX),n.filter(i=>!lM(i)).reduce((i,o)=>i+(rX.test(o)?iX:o===""?aX:sX),r)}function cX(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function fX(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let a=0;a{let{paramName:p,isOptional:m}=f;if(p==="*"){let g=s[d]||"";a=o.slice(0,o.length-g.length).replace(/(.)\/+$/,"$1")}const v=s[d];return m&&!v?u[p]=void 0:u[p]=hX(v||"",p),u},{}),pathname:o,pathnameBase:a,pattern:e}}function dX(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Vk(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,s,l)=>(r.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function pX(e){try{return decodeURI(e)}catch(t){return Vk(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function hX(e,t){try{return decodeURIComponent(e)}catch(n){return Vk(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function Ah(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function mX(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?od(e):e;return{pathname:n?n.startsWith("/")?n:vX(n,t):t,search:bX(r),hash:_X(i)}}function vX(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Lx(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function gX(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Hk(e,t){let n=gX(e);return t?n.map((r,i)=>i===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Wk(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=od(e):(i=Ph({},e),rn(!i.pathname||!i.pathname.includes("?"),Lx("?","pathname","search",i)),rn(!i.pathname||!i.pathname.includes("#"),Lx("#","pathname","hash",i)),rn(!i.search||!i.search.includes("#"),Lx("#","search","hash",i)));let o=e===""||i.pathname==="",a=o?"/":i.pathname,s;if(a==null)s=n;else{let d=t.length-1;if(!r&&a.startsWith("..")){let p=a.split("/");for(;p[0]==="..";)p.shift(),d-=1;i.pathname=p.join("/")}s=d>=0?t[d]:"/"}let l=mX(i,s),u=a&&a!=="/"&&a.endsWith("/"),f=(o||a===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||f)&&(l.pathname+="/"),l}const Bs=e=>e.join("/").replace(/\/\/+/g,"/"),yX=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),bX=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,_X=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function wX(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const a$=["post","put","patch","delete"];new Set(a$);const xX=["get",...a$];new Set(xX);/** + * React Router v6.21.2 + * + * 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 Nh(){return Nh=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),F.useCallback(function(u,f){if(f===void 0&&(f={}),!s.current)return;if(typeof u=="number"){r.go(u);return}let d=Wk(u,JSON.parse(a),o,f.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Bs([t,d.pathname])),(f.replace?r.replace:r.push)(d,f.state,f)},[t,r,a,o,e])}function ad(){let{matches:e}=F.useContext(Ya),t=e[e.length-1];return t?t.params:{}}function E_(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=F.useContext(Wa),{matches:i}=F.useContext(Ya),{pathname:o}=Nn(),a=JSON.stringify(Hk(i,r.v7_relativeSplatPath));return F.useMemo(()=>Wk(e,JSON.parse(a),o,n==="path"),[e,a,o,n])}function EX(e,t){return TX(e,t)}function TX(e,t,n,r){Pu()||rn(!1);let{navigator:i}=F.useContext(Wa),{matches:o}=F.useContext(Ya),a=o[o.length-1],s=a?a.params:{};a&&a.pathname;let l=a?a.pathnameBase:"/";a&&a.route;let u=Nn(),f;if(t){var d;let w=typeof t=="string"?od(t):t;l==="/"||(d=w.pathname)!=null&&d.startsWith(l)||rn(!1),f=w}else f=u;let p=f.pathname||"/",m=l==="/"?p:p.slice(l.length)||"/",v=tX(e,{pathname:m}),g=AX(v&&v.map(w=>Object.assign({},w,{params:Object.assign({},s,w.params),pathname:Bs([l,i.encodeLocation?i.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:Bs([l,i.encodeLocation?i.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),o,n,r);return t&&g?F.createElement(S_.Provider,{value:{location:Nh({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:Ts.Pop}},g):g}function CX(){let e=RX(),t=wX(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)"},o=null;return F.createElement(F.Fragment,null,F.createElement("h2",null,"Unexpected Application Error!"),F.createElement("h3",{style:{fontStyle:"italic"}},t),n?F.createElement("pre",{style:i},n):null,o)}const kX=F.createElement(CX,null);class jX extends F.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?F.createElement(Ya.Provider,{value:this.props.routeContext},F.createElement(l$.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function PX(e){let{routeContext:t,match:n,children:r}=e,i=F.useContext(O_);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),F.createElement(Ya.Provider,{value:t},r)}function AX(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let a=e,s=(i=n)==null?void 0:i.errors;if(s!=null){let f=a.findIndex(d=>d.route.id&&(s==null?void 0:s[d.route.id]));f>=0||rn(!1),a=a.slice(0,Math.min(a.length,f+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((f,d,p)=>{let m,v=!1,g=null,w=null;n&&(m=s&&d.route.id?s[d.route.id]:void 0,g=d.route.errorElement||kX,l&&(u<0&&p===0?(IX("route-fallback",!1),v=!0,w=null):u===p&&(v=!0,w=d.route.hydrateFallbackElement||null)));let y=t.concat(a.slice(0,p+1)),b=()=>{let x;return m?x=g:v?x=w:d.route.Component?x=F.createElement(d.route.Component,null):d.route.element?x=d.route.element:x=f,F.createElement(PX,{match:d,routeContext:{outlet:f,matches:y,isDataRoute:n!=null},children:x})};return n&&(d.route.ErrorBoundary||d.route.errorElement||p===0)?F.createElement(jX,{location:n.location,revalidation:n.revalidation,component:g,error:m,children:b(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):b()},null)}var c$=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(c$||{}),a0=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(a0||{});function NX(e){let t=F.useContext(O_);return t||rn(!1),t}function MX(e){let t=F.useContext(s$);return t||rn(!1),t}function LX(e){let t=F.useContext(Ya);return t||rn(!1),t}function f$(e){let t=LX(),n=t.matches[t.matches.length-1];return n.route.id||rn(!1),n.route.id}function RX(){var e;let t=F.useContext(l$),n=MX(a0.UseRouteError),r=f$(a0.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function DX(){let{router:e}=NX(c$.UseNavigateStable),t=f$(a0.UseNavigateStable),n=F.useRef(!1);return u$(()=>{n.current=!0}),F.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Nh({fromRouteId:t},o)))},[e,t])}const uM={};function IX(e,t,n){!t&&!uM[e]&&(uM[e]=!0)}function Yk(e){let{to:t,replace:n,state:r,relative:i}=e;Pu()||rn(!1);let{future:o,static:a}=F.useContext(Wa),{matches:s}=F.useContext(Ya),{pathname:l}=Nn(),u=ta(),f=Wk(t,Hk(s,o.v7_relativeSplatPath),l,i==="path"),d=JSON.stringify(f);return F.useEffect(()=>u(JSON.parse(d),{replace:n,state:r,relative:i}),[u,d,i,n,r]),null}function Et(e){rn(!1)}function FX(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Ts.Pop,navigator:o,static:a=!1,future:s}=e;Pu()&&rn(!1);let l=t.replace(/^\/*/,"/"),u=F.useMemo(()=>({basename:l,navigator:o,static:a,future:Nh({v7_relativeSplatPath:!1},s)}),[l,s,o,a]);typeof r=="string"&&(r=od(r));let{pathname:f="/",search:d="",hash:p="",state:m=null,key:v="default"}=r,g=F.useMemo(()=>{let w=Ah(f,l);return w==null?null:{location:{pathname:w,search:d,hash:p,state:m,key:v},navigationType:i}},[l,f,d,p,m,v,i]);return g==null?null:F.createElement(Wa.Provider,{value:u},F.createElement(S_.Provider,{children:n,value:g}))}function T_(e){let{children:t,location:n}=e;return EX(iS(t),n)}new Promise(()=>{});function iS(e,t){t===void 0&&(t=[]);let n=[];return F.Children.forEach(e,(r,i)=>{if(!F.isValidElement(r))return;let o=[...t,i];if(r.type===F.Fragment){n.push.apply(n,iS(r.props.children,o));return}r.type!==Et&&rn(!1),!r.props.index||!r.props.children||rn(!1);let a={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=iS(r.props.children,o)),n.push(a)}),n}/** + * React Router DOM v6.21.2 + * + * 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 s0(){return s0=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function UX(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function $X(e,t){return e.button===0&&(!t||t==="_self")&&!UX(e)}const BX=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],zX=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],VX=F.createContext({isTransitioning:!1}),HX="startTransition",cM=s1[HX];function p$(e){let{basename:t,children:n,future:r,window:i}=e,o=F.useRef();o.current==null&&(o.current=QZ({window:i,v5Compat:!0}));let a=o.current,[s,l]=F.useState({action:a.action,location:a.location}),{v7_startTransition:u}=r||{},f=F.useCallback(d=>{u&&cM?cM(()=>l(d)):l(d)},[l,u]);return F.useLayoutEffect(()=>a.listen(f),[a,f]),F.createElement(FX,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:a,future:r})}const WX=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",YX=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Yt=F.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:a,state:s,target:l,to:u,preventScrollReset:f,unstable_viewTransition:d}=t,p=d$(t,BX),{basename:m}=F.useContext(Wa),v,g=!1;if(typeof u=="string"&&YX.test(u)&&(v=u,WX))try{let x=new URL(window.location.href),O=u.startsWith("//")?new URL(x.protocol+u):new URL(u),E=Ah(O.pathname,m);O.origin===x.origin&&E!=null?u=E+O.search+O.hash:g=!0}catch{}let w=OX(u,{relative:i}),y=qX(u,{replace:a,state:s,target:l,preventScrollReset:f,relative:i,unstable_viewTransition:d});function b(x){r&&r(x),x.defaultPrevented||y(x)}return F.createElement("a",s0({},p,{href:v||w,onClick:g||o?r:b,ref:n,target:l}))}),h$=F.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:o="",end:a=!1,style:s,to:l,unstable_viewTransition:u,children:f}=t,d=d$(t,zX),p=E_(l,{relative:d.relative}),m=Nn(),v=F.useContext(s$),{navigator:g}=F.useContext(Wa),w=v!=null&&KX(p)&&u===!0,y=g.encodeLocation?g.encodeLocation(p).pathname:p.pathname,b=m.pathname,x=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;i||(b=b.toLowerCase(),x=x?x.toLowerCase():null,y=y.toLowerCase());const O=y!=="/"&&y.endsWith("/")?y.length-1:y.length;let E=b===y||!a&&b.startsWith(y)&&b.charAt(O)==="/",T=x!=null&&(x===y||!a&&x.startsWith(y)&&x.charAt(y.length)==="/"),k={isActive:E,isPending:T,isTransitioning:w},A=E?r:void 0,D;typeof o=="function"?D=o(k):D=[o,E?"active":null,T?"pending":null,w?"transitioning":null].filter(Boolean).join(" ");let R=typeof s=="function"?s(k):s;return F.createElement(Yt,s0({},d,{"aria-current":A,className:D,ref:n,style:R,to:l,unstable_viewTransition:u}),typeof f=="function"?f(k):f)});var oS;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(oS||(oS={}));var fM;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(fM||(fM={}));function GX(e){let t=F.useContext(O_);return t||rn(!1),t}function qX(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:a,unstable_viewTransition:s}=t===void 0?{}:t,l=ta(),u=Nn(),f=E_(e,{relative:a});return F.useCallback(d=>{if($X(d,n)){d.preventDefault();let p=r!==void 0?r:o0(u)===o0(f);l(e,{replace:p,state:i,preventScrollReset:o,relative:a,unstable_viewTransition:s})}},[u,l,f,r,i,n,e,o,a,s])}function KX(e,t){t===void 0&&(t={});let n=F.useContext(VX);n==null&&rn(!1);let{basename:r}=GX(oS.useViewTransitionState),i=E_(e,{relative:t.relative});if(!n.isTransitioning)return!1;let o=Ah(n.currentLocation.pathname,r)||n.currentLocation.pathname,a=Ah(n.nextLocation.pathname,r)||n.nextLocation.pathname;return rS(i.pathname,a)!=null||rS(i.pathname,o)!=null}const ZX="shlink-web-client",XX="A React-based progressive web application for shlink",QX="/shlink-web-client/dependabot/docker/node-21.6-alpine",JX="https://github.com/shlinkio/shlink-web-client",eQ="MIT",tQ="module",nQ={lint:"npm run lint:css && npm run lint:js","lint:css":"stylelint src/*.scss src/**/*.scss","lint:js":"eslint --ext .js,.ts,.tsx src test","lint:fix":"npm run lint:css:fix && npm run lint:js:fix","lint:css:fix":"npm run lint:css -- --fix","lint:js:fix":"npm run lint:js -- --fix",types:"tsc",start:"vite serve --host=0.0.0.0",preview:"vite preview --host=0.0.0.0",build:"npm run types && vite build && node scripts/replace-version.mjs","build:dist":"npm run build && node scripts/create-dist-file.mjs",test:"vitest run --run","test:watch":"vitest --watch","test:ci":"npm run test -- --coverage","test:verbose":"npm run test -- --verbose"},rQ={"@fortawesome/fontawesome-free":"^6.5.1","@fortawesome/fontawesome-svg-core":"^6.5.1","@fortawesome/free-brands-svg-icons":"^6.5.1","@fortawesome/free-regular-svg-icons":"^6.5.1","@fortawesome/free-solid-svg-icons":"^6.5.1","@fortawesome/react-fontawesome":"^0.2.0","@json2csv/plainjs":"^7.0.3","@reduxjs/toolkit":"^2.0.1","@shlinkio/data-manipulation":"^1.0.3","@shlinkio/shlink-frontend-kit":"^0.4.1","@shlinkio/shlink-js-sdk":"^0.2.0","@shlinkio/shlink-web-component":"^0.4.1",bootstrap:"5.2.3",bottlejs:"^2.0.1",clsx:"^2.1.0","compare-versions":"^6.1.0",csvtojson:"^2.0.10","date-fns":"^3.3.0",react:"^18.2.0","react-dom":"^18.2.0","react-external-link":"^2.2.0","react-redux":"^9.1.0","react-router-dom":"^6.21.2",reactstrap:"^9.2.2","redux-localstorage-simple":"^2.5.1",uuid:"^9.0.1","workbox-core":"^7.0.0","workbox-expiration":"^7.0.0","workbox-precaching":"^7.0.0","workbox-routing":"^7.0.0","workbox-strategies":"^7.0.0"},iQ={"@shlinkio/eslint-config-js-coding-standard":"~2.3.0","@shlinkio/stylelint-config-css-coding-standard":"~1.1.1","@testing-library/jest-dom":"^6.2.0","@testing-library/react":"^14.1.2","@testing-library/user-event":"^14.5.2","@total-typescript/shoehorn":"^0.1.1","@types/react":"^18.2.47","@types/react-dom":"^18.2.18","@types/uuid":"^9.0.7","@vitejs/plugin-react":"^4.2.1","@vitest/coverage-v8":"^1.2.0","adm-zip":"^0.5.10","axe-core":"^4.8.3",chalk:"^5.3.0",eslint:"^8.56.0",history:"^5.3.0",jsdom:"^23.2.0",sass:"^1.70.0",stylelint:"^15.11.0",typescript:"^5.3.3",vite:"^5.0.12","vite-plugin-pwa":"^0.17.4",vitest:"^1.2.0"},oQ=[">0.2%","not dead","not ie <= 11","not op_mini all"],l0={name:ZX,description:XX,private:!1,homepage:QX,repository:JX,license:eQ,type:tQ,scripts:nQ,dependencies:rQ,devDependencies:iQ,browserslist:oQ};var _o,Zo=".",m$="function",v$="string",g$="__global__",Gk="Provider",aQ=0,qk=Array.prototype.slice,sQ=function(t,n){var r=t[n];if(r===void 0&&_o.config.strict)throw new Error("Bottle was unable to resolve a service. `"+n+"` is undefined.");return r},C_=function(t){var n;return this.nested[t]||(n=_o.pop(),this.nested[t]=n,this.factory(t,function(){return n.container})),this.nested[t]},y$=function(t){return t.split(Zo).reduce(sQ,this)},lQ=function(t,n,r,i){var o={configurable:!0,enumerable:!0};return t.length?o.get=function(){var s=0,l=function(f){if(f)throw f;t[s]&&t[s++](r,l)};return l(),r}:(o.value=r,o.writable=!0),Object.defineProperty(i,n,o),i[n]},uQ=function(t,n){var r,i;return typeof t===m$&&(n=t,t=g$),r=t.split(Zo),i=r.shift(),r.length?C_.call(this,i).middleware(r.join(Zo),n):(this.middlewares[i]||(this.middlewares[i]=[]),this.middlewares[i].push(n)),this},cQ=function(t,n){return n(t)},dM=function(t,n){return(t[n]||[]).concat(t.__global__||[])},fQ=function(t,n){var r,i,o,a,s;return this.id,o=this.container,a=this.decorators,s=this.middlewares,r=t+Gk,i=Object.create(null),i[r]={configurable:!0,enumerable:!0,get:function(){var u=new n;return delete o[r],o[r]=u,u}},i[t]={configurable:!0,enumerable:!0,get:function(){var u=o[r],f;return u&&(f=dM(a,t).reduce(cQ,u.$get(o)),delete o[r],delete o[t]),f===void 0?f:lQ(dM(s,t),t,f,o)}},Object.defineProperties(o,i),this},b$=function(t,n){var r,i;return r=t.split(Zo),this.providerMap[t]&&r.length===1&&!this.container[t+Gk]?console.error(t+" provider already instantiated."):(this.originalProviders[t]=n,this.providerMap[t]=!0,i=r.shift(),r.length?(C_.call(this,i).provider(r.join(Zo),n),this):fQ.call(this,i,n))},Kk=function(t,n){return b$.call(this,t,function(){this.$get=n})},_$=function(t,n,r){var i=arguments.length>3?qk.call(arguments,3):[],o=this;return Kk.call(this,t,function(){var s=n,l=i.map(y$,o.container);return r?new(n.bind.apply(n,[null].concat(l))):s.apply(null,l)})},dQ=function(t,n){return _$.apply(this,[t,n,!0].concat(qk.call(arguments,2)))},pQ=function(t,n){return _$.apply(this,[t,n,!1].concat(qk.call(arguments,2)))},w$=function(t,n){Object.defineProperty(this,t,{configurable:!0,enumerable:!0,value:n,writable:!0})},x$=function(t,n){var r=t[n];return r||(r={},w$.call(t,n,r)),r},hQ=function(t,n){var r;return r=t.split(Zo),t=r.pop(),w$.call(r.reduce(x$,this.container),t,n),this},mQ=function(t,n){Object.defineProperty(this,t,{configurable:!1,enumerable:!0,value:n,writable:!1})},vQ=function(t,n){var r=t.split(Zo);return t=r.pop(),mQ.call(r.reduce(x$,this.container),t,n),this},O$=function(t,n){var r,i;return typeof t===m$&&(n=t,t=g$),r=t.split(Zo),i=r.shift(),r.length?C_.call(this,i).decorator(r.join(Zo),n):(this.decorators[i]||(this.decorators[i]=[]),this.decorators[i].push(n)),this},gQ=function(t){return this.deferred.push(t),this},yQ=function(t){return(t||[]).map(y$,this.container)},bQ=function(t,n){return Kk.call(this,t,function(i){return{instance:n.bind(n,i)}})},_Q=function(t){return!/^\$(?:decorator|register|list)$|Provider$/.test(t)},Zk=function(t){return Object.keys(t||this.container||{}).filter(_Q)},u0={},wQ=function(t){var n;return typeof t===v$?(n=u0[t],n||(u0[t]=n=new _o,n.constant("BOTTLE_NAME",t)),n):new _o},xQ=function(t){typeof t===v$?delete u0[t]:u0={}},S$=function(t){var n=t.$value===void 0?t:t.$value;return this[t.$type||"service"].apply(this,[t.$name,n].concat(t.$inject||[]))},pM=function(t){delete this.providerMap[t],delete this.container[t],delete this.container[t+Gk]},OQ=function(t){var n=this.originalProviders,r=Array.isArray(t);Object.keys(this.originalProviders).forEach(function(o){if(!(r&&t.indexOf(o)===-1)){var a=o.split(Zo);a.length>1&&a.forEach(pM,C_.call(this,a[0])),pM.call(this,o),this.provider(o,n[o])}},this)},SQ=function(t){return this.deferred.forEach(function(r){r(t)}),this};_o=function e(t){if(!(this instanceof e))return e.pop(t);this.id=aQ++,this.decorators={},this.middlewares={},this.nested={},this.providerMap={},this.originalProviders={},this.deferred=[],this.container={$decorator:O$.bind(this),$register:S$.bind(this),$list:Zk.bind(this)}};_o.prototype={constant:vQ,decorator:O$,defer:gQ,digest:yQ,factory:Kk,instanceFactory:bQ,list:Zk,middleware:uQ,provider:b$,resetProviders:OQ,register:S$,resolve:SQ,service:dQ,serviceFactory:pQ,value:hQ};_o.pop=wQ;_o.clear=xQ;_o.list=Zk;_o.config={strict:!1};const EQ=_o;var E$=(e=>(e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.INVALID_SHORT_URL_DELETION="INVALID_SHORT_URL_DELETION",e.DOMAIN_NOT_FOUND="DOMAIN_NOT_FOUND",e.FORBIDDEN_OPERATION="FORBIDDEN_OPERATION",e.INVALID_URL="INVALID_URL",e.INVALID_SLUG="INVALID_SLUG",e.INVALID_SHORTCODE="INVALID_SHORTCODE",e.TAG_CONFLICT="TAG_CONFLICT",e.TAG_NOT_FOUND="TAG_NOT_FOUND",e.MERCURE_NOT_CONFIGURED="MERCURE_NOT_CONFIGURED",e.INVALID_AUTHORIZATION="INVALID_AUTHORIZATION",e.INVALID_API_KEY="INVALID_API_KEY",e.NOT_FOUND="NOT_FOUND",e))(E$||{}),T$=(e=>(e.INVALID_ARGUMENT="https://shlink.io/api/error/invalid-data",e.INVALID_SHORT_URL_DELETION="https://shlink.io/api/error/invalid-short-url-deletion",e.DOMAIN_NOT_FOUND="https://shlink.io/api/error/domain-not-found",e.FORBIDDEN_OPERATION="https://shlink.io/api/error/forbidden-tag-operation",e.INVALID_URL="https://shlink.io/api/error/invalid-url",e.INVALID_SLUG="https://shlink.io/api/error/non-unique-slug",e.INVALID_SHORTCODE="https://shlink.io/api/error/short-url-not-found",e.TAG_CONFLICT="https://shlink.io/api/error/tag-conflict",e.TAG_NOT_FOUND="https://shlink.io/api/error/tag-not-found",e.MERCURE_NOT_CONFIGURED="https://shlink.io/api/error/mercure-not-configured",e.INVALID_AUTHORIZATION="https://shlink.io/api/error/missing-authentication",e.INVALID_API_KEY="https://shlink.io/api/error/invalid-api-key",e.NOT_FOUND="https://shlink.io/api/error/not-found",e))(T$||{}),TQ=Object.defineProperty,CQ=(e,t,n)=>t in e?TQ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kQ=(e,t,n)=>(CQ(e,typeof t!="symbol"?t+"":t,n),n);const jQ=(e,t)=>`${e}/rest/v${t}`,PQ=e=>e.dir?`${e.field}-${e.dir}`:void 0,AQ=({orderBy:e={},excludeMaxVisitsReached:t,excludePastValidUntil:n,...r})=>({...r,excludeMaxVisitsReached:t===!0?"true":void 0,excludePastValidUntil:n===!0?"true":void 0,orderBy:PQ(e)}),NQ=e=>e===null||!(typeof e=="object"&&"type"in e&&"status"in e)?!1:(e.type===E$.NOT_FOUND||e.type===T$.NOT_FOUND)&&e.status===404,MQ=(e,t)=>{const[n,r]=e.split("://");if(!r)throw new Error(`It is not possible to determine authority on "${e}" for replacement`);const[,...i]=r.split("/"),o=i.length?`/${i.join("/")}`:"";return`${n}://${t}${o}`},LQ=(e={})=>{const t=Object.entries(e).flatMap(([n,r])=>r==null?[]:Array.isArray(r)?r.map(i=>[`${n}[]`,i]):[[n,r]]);return new URLSearchParams(t).toString()};class RQ{constructor(t,n){kQ(this,"apiVersion"),this.httpClient=t,this.serverInfo=n,this.apiVersion=3}async listShortUrls(t={}){return this.performRequest({url:"/short-urls",query:AQ(t)}).then(({shortUrls:n})=>n)}async createShortUrl(t){const n=Object.entries(t).reduce((r,[i,o])=>(o&&(r[i]=o),r),{});return this.performRequest({url:"/short-urls",method:"POST",body:n})}async getShortUrlVisits(t,n){return this.performRequest({url:`/short-urls/${t}/visits`,query:n}).then(({visits:r})=>r)}async deleteShortUrlVisits(t,n){const r=n?{domain:n}:void 0;return this.performRequest({method:"DELETE",url:`/short-urls/${t}/visits`,query:r})}async getTagVisits(t,n){return this.performRequest({url:`/tags/${t}/visits`,query:n}).then(({visits:r})=>r)}async getDomainVisits(t,n){return this.performRequest({url:`/domains/${t}/visits`,query:n}).then(({visits:r})=>r)}async getOrphanVisits(t){return this.performRequest({url:"/visits/orphan",query:t}).then(({visits:n})=>n)}async deleteOrphanVisits(){return this.performRequest({method:"DELETE",url:"/visits/orphan"})}async getNonOrphanVisits(t){return this.performRequest({url:"/visits/non-orphan",query:t}).then(({visits:n})=>n)}async getVisitsOverview(){return this.performRequest({url:"/visits"}).then(({visits:t})=>t)}async getShortUrl(t,n){return this.performRequest({url:`/short-urls/${t}`,query:{domain:n}})}async deleteShortUrl(t,n){return this.performEmptyRequest({url:`/short-urls/${t}`,method:"DELETE",query:{domain:n}})}async updateShortUrl(t,n,r){return this.performRequest({url:`/short-urls/${t}`,method:"PATCH",query:{domain:n},body:r})}async listTags(){return this.performRequest({url:"/tags",query:{withStats:"true"}}).then(({tags:t})=>t).then(({data:t,stats:n=[]})=>({tags:t,stats:n}))}async tagsStats(){return this.performRequest({url:"/tags/stats"}).then(({tags:t})=>t).then(({data:t})=>({tags:t.map(({tag:n})=>n),stats:t}))}async deleteTags(t){return this.performEmptyRequest({url:"/tags",method:"DELETE",query:{tags:t}}).then(()=>({tags:t}))}async editTag(t,n){return this.performEmptyRequest({url:"/tags",method:"PUT",body:{oldName:t,newName:n}}).then(()=>({oldName:t,newName:n}))}async health(t){return this.performRequest({url:"/health",domain:t})}async mercureInfo(){return this.performRequest({url:"/mercure-info"})}async listDomains(){return this.performRequest({url:"/domains"}).then(({domains:t})=>t)}async editDomainRedirects(t){return this.performRequest({url:"/domains/redirects",method:"PATCH",body:t})}async performRequest(t){return this.httpClient.jsonRequest(...this.toFetchParams(t)).catch(this.handleFetchError(()=>this.httpClient.jsonRequest(...this.toFetchParams(t))))}async performEmptyRequest(t){return this.httpClient.emptyRequest(...this.toFetchParams(t)).catch(this.handleFetchError(()=>this.httpClient.emptyRequest(...this.toFetchParams(t))))}toFetchParams({url:t,method:n="GET",query:r={},body:i,domain:o}){const a=LQ(r),s=a?`?${a}`:"",l=o?MQ(this.serverInfo.baseUrl,o):this.serverInfo.baseUrl;return[`${jQ(l,this.apiVersion)}${t}${s}`,{method:n,body:i&&JSON.stringify(i),headers:{"X-Api-Key":this.serverInfo.apiKey}}]}handleFetchError(t){return n=>{if(!NQ(n))throw n;return this.apiVersion=2,t()}}}const C$=e=>!!(e!=null&&e.url)&&!!(e!=null&&e.apiKey),Vp=e=>!!(e!=null&&e.id),k$=e=>!!(e!=null&&e.version),DQ=e=>!!(e!=null&&e.serverNotFound),IQ=e=>Vp(e)?e.id:"",FQ=({id:e,autoConnect:t,...n})=>n,hM={},UQ=e=>typeof e=="function",$Q=e=>{const{selectedServer:t}=e();if(!C$(t))throw new Error("There's no selected server or it is not found");return t},BQ=e=>t=>{const{url:n,apiKey:r}=UQ(t)?$Q(t):t,i=`${r}_${n}`,o=hM[i]??new RQ(e,{apiKey:r,baseUrl:n});return hM[i]=o,o},zQ=e=>{e.serviceFactory("buildShlinkApiClient",BQ,"HttpClient")};var VQ={prefix:"fas",iconName:"calendar-days",icon:[448,512,["calendar-alt"],"f073","M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192zm64 80v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zm128 0v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H336zM64 400v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H208zm112 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H336c-8.8 0-16 7.2-16 16z"]},HQ=VQ,WQ={prefix:"fas",iconName:"circle-minus",icon:[512,512,["minus-circle"],"f056","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM184 232H328c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},Xk=WQ,YQ={prefix:"fas",iconName:"file-csv",icon:[512,512,[],"f6dd","M0 64C0 28.7 28.7 0 64 0H224V128c0 17.7 14.3 32 32 32H384V304H176c-35.3 0-64 28.7-64 64V512H64c-35.3 0-64-28.7-64-64V64zm384 64H256V0L384 128zM200 352h16c22.1 0 40 17.9 40 40v8c0 8.8-7.2 16-16 16s-16-7.2-16-16v-8c0-4.4-3.6-8-8-8H200c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h16c4.4 0 8-3.6 8-8v-8c0-8.8 7.2-16 16-16s16 7.2 16 16v8c0 22.1-17.9 40-40 40H200c-22.1 0-40-17.9-40-40V392c0-22.1 17.9-40 40-40zm133.1 0H368c8.8 0 16 7.2 16 16s-7.2 16-16 16H333.1c-7.2 0-13.1 5.9-13.1 13.1c0 5.2 3 9.9 7.8 12l37.4 16.6c16.3 7.2 26.8 23.4 26.8 41.2c0 24.9-20.2 45.1-45.1 45.1H304c-8.8 0-16-7.2-16-16s7.2-16 16-16h42.9c7.2 0 13.1-5.9 13.1-13.1c0-5.2-3-9.9-7.8-12l-37.4-16.6c-16.3-7.2-26.8-23.4-26.8-41.2c0-24.9 20.2-45.1 45.1-45.1zm98.9 0c8.8 0 16 7.2 16 16v31.6c0 23 5.5 45.6 16 66c10.5-20.3 16-42.9 16-66V368c0-8.8 7.2-16 16-16s16 7.2 16 16v31.6c0 34.7-10.3 68.7-29.6 97.6l-5.1 7.7c-3 4.5-8 7.1-13.3 7.1s-10.3-2.7-13.3-7.1l-5.1-7.7c-19.3-28.9-29.6-62.9-29.6-97.6V368c0-8.8 7.2-16 16-16z"]},GQ={prefix:"fas",iconName:"pencil",icon:[512,512,[9999,61504,"pencil-alt"],"f303","M410.3 231l11.3-11.3-33.9-33.9-62.1-62.1L291.7 89.8l-11.3 11.3-22.6 22.6L58.6 322.9c-10.4 10.4-18 23.3-22.2 37.4L1 480.7c-2.5 8.4-.2 17.5 6.1 23.7s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L387.7 253.7 410.3 231zM160 399.4l-9.1 22.7c-4 3.1-8.5 5.4-13.3 6.9L59.4 452l23-78.1c1.4-4.9 3.8-9.4 6.9-13.3l22.7-9.1v32c0 8.8 7.2 16 16 16h32zM362.7 18.7L348.3 33.2 325.7 55.8 314.3 67.1l33.9 33.9 62.1 62.1 33.9 33.9 11.3-11.3 22.6-22.6 14.5-14.5c25-25 25-65.5 0-90.5L453.3 18.7c-25-25-65.5-25-90.5 0zm-47.4 168l-144 144c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l144-144c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"]},qQ=GQ,j$={prefix:"fas",iconName:"circle-notch",icon:[512,512,[],"f1ce","M222.7 32.1c5 16.9-4.6 34.8-21.5 39.8C121.8 95.6 64 169.1 64 256c0 106 86 192 192 192s192-86 192-192c0-86.9-57.8-160.4-137.1-184.1c-16.9-5-26.6-22.9-21.5-39.8s22.9-26.6 39.8-21.5C434.9 42.1 512 140 512 256c0 141.4-114.6 256-256 256S0 397.4 0 256C0 140 77.1 42.1 182.9 10.6c16.9-5 34.8 4.6 39.8 21.5z"]},KQ={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]},P$={prefix:"fas",iconName:"list",icon:[512,512,["list-squares"],"f03a","M40 48C26.7 48 16 58.7 16 72v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V72c0-13.3-10.7-24-24-24H40zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM16 232v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V232c0-13.3-10.7-24-24-24H40c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V392c0-13.3-10.7-24-24-24H40z"]},ZQ={prefix:"fas",iconName:"circle-dot",icon:[512,512,[128280,"dot-circle"],"f192","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-352a96 96 0 1 1 0 192 96 96 0 1 1 0-192z"]},XQ=ZQ,QQ={prefix:"fas",iconName:"pen-to-square",icon:[512,512,["edit"],"f044","M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160V416c0 53 43 96 96 96H352c53 0 96-43 96-96V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96z"]},Qk=QQ,JQ={prefix:"fas",iconName:"plug",icon:[384,512,[128268],"f1e6","M96 0C78.3 0 64 14.3 64 32v96h64V32c0-17.7-14.3-32-32-32zM288 0c-17.7 0-32 14.3-32 32v96h64V32c0-17.7-14.3-32-32-32zM32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32v32c0 77.4 55 142 128 156.8V480c0 17.7 14.3 32 32 32s32-14.3 32-32V412.8C297 398 352 333.4 352 256V224c17.7 0 32-14.3 32-32s-14.3-32-32-32H32z"]},eJ={prefix:"fas",iconName:"globe",icon:[512,512,[127760],"f0ac","M352 256c0 22.2-1.2 43.6-3.3 64H163.3c-2.2-20.4-3.3-41.8-3.3-64s1.2-43.6 3.3-64H348.7c2.2 20.4 3.3 41.8 3.3 64zm28.8-64H503.9c5.3 20.5 8.1 41.9 8.1 64s-2.8 43.5-8.1 64H380.8c2.1-20.6 3.2-42 3.2-64s-1.1-43.4-3.2-64zm112.6-32H376.7c-10-63.9-29.8-117.4-55.3-151.6c78.3 20.7 142 77.5 171.9 151.6zm-149.1 0H167.7c6.1-36.4 15.5-68.6 27-94.7c10.5-23.6 22.2-40.7 33.5-51.5C239.4 3.2 248.7 0 256 0s16.6 3.2 27.8 13.8c11.3 10.8 23 27.9 33.5 51.5c11.6 26 20.9 58.2 27 94.7zm-209 0H18.6C48.6 85.9 112.2 29.1 190.6 8.4C165.1 42.6 145.3 96.1 135.3 160zM8.1 192H131.2c-2.1 20.6-3.2 42-3.2 64s1.1 43.4 3.2 64H8.1C2.8 299.5 0 278.1 0 256s2.8-43.5 8.1-64zM194.7 446.6c-11.6-26-20.9-58.2-27-94.6H344.3c-6.1 36.4-15.5 68.6-27 94.6c-10.5 23.6-22.2 40.7-33.5 51.5C272.6 508.8 263.3 512 256 512s-16.6-3.2-27.8-13.8c-11.3-10.8-23-27.9-33.5-51.5zM135.3 352c10 63.9 29.8 117.4 55.3 151.6C112.2 482.9 48.6 426.1 18.6 352H135.3zm358.1 0c-30 74.1-93.6 130.9-171.9 151.6c25.5-34.2 45.2-87.7 55.3-151.6H493.4z"]},tJ={prefix:"fas",iconName:"ban",icon:[512,512,[128683,"cancel"],"f05e","M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},mM={prefix:"fas",iconName:"server",icon:[512,512,[],"f233","M64 32C28.7 32 0 60.7 0 96v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm48 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM64 288c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V352c0-35.3-28.7-64-64-64H64zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},nJ={prefix:"fas",iconName:"file-arrow-up",icon:[384,512,["file-upload"],"f574","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM216 408c0 13.3-10.7 24-24 24s-24-10.7-24-24V305.9l-31 31c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l72-72c9.4-9.4 24.6-9.4 33.9 0l72 72c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-31-31V408z"]},rJ=nJ,iJ={prefix:"fas",iconName:"map-location-dot",icon:[576,512,["map-marked-alt"],"f5a0","M408 120c0 54.6-73.1 151.9-105.2 192c-7.7 9.6-22 9.6-29.6 0C241.1 271.9 168 174.6 168 120C168 53.7 221.7 0 288 0s120 53.7 120 120zm8 80.4c3.5-6.9 6.7-13.8 9.6-20.6c.5-1.2 1-2.5 1.5-3.7l116-46.4C558.9 123.4 576 135 576 152V422.8c0 9.8-6 18.6-15.1 22.3L416 503V200.4zM137.6 138.3c2.4 14.1 7.2 28.3 12.8 41.5c2.9 6.8 6.1 13.7 9.6 20.6V451.8L32.9 502.7C17.1 509 0 497.4 0 480.4V209.6c0-9.8 6-18.6 15.1-22.3l122.6-49zM327.8 332c13.9-17.4 35.7-45.7 56.2-77V504.3L192 449.4V255c20.5 31.3 42.3 59.6 56.2 77c20.5 25.6 59.1 25.6 79.6 0zM288 152a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"]},aS=iJ,oJ={prefix:"fas",iconName:"caret-up",icon:[320,512,[],"f0d8","M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8H288c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z"]},aJ={prefix:"fas",iconName:"palette",icon:[512,512,[127912],"f53f","M512 256c0 .9 0 1.8 0 2.7c-.4 36.5-33.6 61.3-70.1 61.3H344c-26.5 0-48 21.5-48 48c0 3.4 .4 6.7 1 9.9c2.1 10.2 6.5 20 10.8 29.9c6.1 13.8 12.1 27.5 12.1 42c0 31.8-21.6 60.7-53.4 62c-3.5 .1-7 .2-10.6 .2C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM128 288a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0-96a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm96 96a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},sJ={prefix:"fas",iconName:"arrow-down-wide-short",icon:[576,512,["sort-amount-asc","sort-amount-down"],"f160","M151.6 469.6C145.5 476.2 137 480 128 480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3 2-45.2s33.3-11.1 45.2 2L96 365.7V64c0-17.7 14.3-32 32-32s32 14.3 32 32V365.7l32.4-35.4c11.9-13 32.2-13.9 45.2-2s13.9 32.2 2 45.2l-88 96zM320 480c-17.7 0-32-14.3-32-32s14.3-32 32-32h32c17.7 0 32 14.3 32 32s-14.3 32-32 32H320zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H320zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H320zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32H544c17.7 0 32 14.3 32 32s-14.3 32-32 32H320z"]},lJ=sJ,Jk={prefix:"fas",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M304 240V16.6c0-9 7-16.6 16-16.6C443.7 0 544 100.3 544 224c0 9-7.6 16-16.6 16H304zM32 272C32 150.7 122.1 50.3 239 34.3c9.2-1.3 17 6.1 17 15.4V288L412.5 444.5c6.7 6.7 6.2 17.7-1.5 23.1C371.8 495.6 323.8 512 272 512C139.5 512 32 404.6 32 272zm526.4 16c9.3 0 16.6 7.8 15.4 17c-7.7 55.9-34.6 105.6-73.9 142.3c-6 5.6-15.4 5.2-21.2-.7L320 288H558.4z"]},A$={prefix:"fas",iconName:"tags",icon:[512,512,[],"f02c","M345 39.1L472.8 168.4c52.4 53 52.4 138.2 0 191.2L360.8 472.9c-9.3 9.4-24.5 9.5-33.9 .2s-9.5-24.5-.2-33.9L438.6 325.9c33.9-34.3 33.9-89.4 0-123.7L310.9 72.9c-9.3-9.4-9.2-24.6 .2-33.9s24.6-9.2 33.9 .2zM0 229.5V80C0 53.5 21.5 32 48 32H197.5c17 0 33.3 6.7 45.3 18.7l168 168c25 25 25 65.5 0 90.5L277.3 442.7c-25 25-65.5 25-90.5 0l-168-168C6.7 262.7 0 246.5 0 229.5zM144 144a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},vM={prefix:"fas",iconName:"calendar-xmark",icon:[448,512,["calendar-times"],"f273","M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192zM305 305c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-47 47-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l47 47-47 47c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l47-47 47 47c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-47-47 47-47z"]},uJ={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"]},N$={prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},cJ={prefix:"fas",iconName:"up-right-from-square",icon:[512,512,["external-link-alt"],"f35d","M352 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L370.7 96 201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L416 141.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V32c0-17.7-14.3-32-32-32H352zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"]},fJ=cJ,dJ={prefix:"fas",iconName:"tag",icon:[448,512,[127991],"f02b","M0 80V229.5c0 17 6.7 33.3 18.7 45.3l176 176c25 25 65.5 25 90.5 0L418.7 317.3c25-25 25-65.5 0-90.5l-176-176c-12-12-28.3-18.7-45.3-18.7H48C21.5 32 0 53.5 0 80zm112 32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},pJ={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},ej=pJ,hJ={prefix:"fas",iconName:"arrow-rotate-left",icon:[512,512,[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],"f0e2","M125.7 160H176c17.7 0 32 14.3 32 32s-14.3 32-32 32H48c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32s32 14.3 32 32v51.2L97.6 97.6c87.5-87.5 229.3-87.5 316.8 0s87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3s-163.8-62.5-226.3 0L125.7 160z"]},mJ=hJ,vJ={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]},gJ={prefix:"fas",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z"]},yJ=gJ,bJ={prefix:"fas",iconName:"house",icon:[576,512,[127968,63498,63500,"home","home-alt","home-lg-alt"],"f015","M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"]},_J=bJ,wJ={prefix:"fas",iconName:"arrow-up-wide-short",icon:[576,512,["sort-amount-up"],"f161","M151.6 42.4C145.5 35.8 137 32 128 32s-17.5 3.8-23.6 10.4l-88 96c-11.9 13-11.1 33.3 2 45.2s33.3 11.1 45.2-2L96 146.3V448c0 17.7 14.3 32 32 32s32-14.3 32-32V146.3l32.4 35.4c11.9 13 32.2 13.9 45.2 2s13.9-32.2 2-45.2l-88-96zM320 480h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128H544c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-17.7 0-32 14.3-32 32s14.3 32 32 32z"]},xJ=wJ,OJ={prefix:"fas",iconName:"file-arrow-down",icon:[384,512,["file-download"],"f56d","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM216 232V334.1l31-31c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-72 72c-9.4 9.4-24.6 9.4-33.9 0l-72-72c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l31 31V232c0-13.3 10.7-24 24-24s24 10.7 24 24z"]},M$=OJ,SJ={prefix:"fas",iconName:"sun",icon:[512,512,[9728],"f185","M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"]},EJ={prefix:"fas",iconName:"link",icon:[640,512,[128279,"chain"],"f0c1","M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"]},TJ={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},CJ=TJ,kJ={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},tj={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},jJ={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},sS=jJ,PJ={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},AJ={prefix:"fas",iconName:"rotate",icon:[512,512,[128260,"sync-alt"],"f2f1","M142.9 142.9c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5c0 0 0 0 0 0H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5c7.7-21.8 20.2-42.3 37.8-59.8zM16 312v7.6 .7V440c0 9.7 5.8 18.5 14.8 22.2s19.3 1.7 26.2-5.2l41.6-41.6c87.6 86.5 228.7 86.2 315.8-1c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.2 62.2-162.7 62.5-225.3 1L185 329c6.9-6.9 8.9-17.2 5.2-26.2s-12.5-14.8-22.2-14.8H48.4h-.7H40c-13.3 0-24 10.7-24 24z"]},NJ=AJ,gM={prefix:"fas",iconName:"robot",icon:[640,512,[129302],"f544","M320 0c17.7 0 32 14.3 32 32V96H472c39.8 0 72 32.2 72 72V440c0 39.8-32.2 72-72 72H168c-39.8 0-72-32.2-72-72V168c0-39.8 32.2-72 72-72H288V32c0-17.7 14.3-32 32-32zM208 384c-8.8 0-16 7.2-16 16s7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H208zm96 0c-8.8 0-16 7.2-16 16s7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H304zm96 0c-8.8 0-16 7.2-16 16s7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H400zM264 256a40 40 0 1 0 -80 0 40 40 0 1 0 80 0zm152 40a40 40 0 1 0 0-80 40 40 0 1 0 0 80zM48 224H64V416H48c-26.5 0-48-21.5-48-48V272c0-26.5 21.5-48 48-48zm544 0c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H576V224h16z"]},L$={prefix:"fas",iconName:"gears",icon:[640,512,["cogs"],"f085","M308.5 135.3c7.1-6.3 9.9-16.2 6.2-25c-2.3-5.3-4.8-10.5-7.6-15.5L304 89.4c-3-5-6.3-9.9-9.8-14.6c-5.7-7.6-15.7-10.1-24.7-7.1l-28.2 9.3c-10.7-8.8-23-16-36.2-20.9L199 27.1c-1.9-9.3-9.1-16.7-18.5-17.8C173.9 8.4 167.2 8 160.4 8h-.7c-6.8 0-13.5 .4-20.1 1.2c-9.4 1.1-16.6 8.6-18.5 17.8L115 56.1c-13.3 5-25.5 12.1-36.2 20.9L50.5 67.8c-9-3-19-.5-24.7 7.1c-3.5 4.7-6.8 9.6-9.9 14.6l-3 5.3c-2.8 5-5.3 10.2-7.6 15.6c-3.7 8.7-.9 18.6 6.2 25l22.2 19.8C32.6 161.9 32 168.9 32 176s.6 14.1 1.7 20.9L11.5 216.7c-7.1 6.3-9.9 16.2-6.2 25c2.3 5.3 4.8 10.5 7.6 15.6l3 5.2c3 5.1 6.3 9.9 9.9 14.6c5.7 7.6 15.7 10.1 24.7 7.1l28.2-9.3c10.7 8.8 23 16 36.2 20.9l6.1 29.1c1.9 9.3 9.1 16.7 18.5 17.8c6.7 .8 13.5 1.2 20.4 1.2s13.7-.4 20.4-1.2c9.4-1.1 16.6-8.6 18.5-17.8l6.1-29.1c13.3-5 25.5-12.1 36.2-20.9l28.2 9.3c9 3 19 .5 24.7-7.1c3.5-4.7 6.8-9.5 9.8-14.6l3.1-5.4c2.8-5 5.3-10.2 7.6-15.5c3.7-8.7 .9-18.6-6.2-25l-22.2-19.8c1.1-6.8 1.7-13.8 1.7-20.9s-.6-14.1-1.7-20.9l22.2-19.8zM112 176a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM504.7 500.5c6.3 7.1 16.2 9.9 25 6.2c5.3-2.3 10.5-4.8 15.5-7.6l5.4-3.1c5-3 9.9-6.3 14.6-9.8c7.6-5.7 10.1-15.7 7.1-24.7l-9.3-28.2c8.8-10.7 16-23 20.9-36.2l29.1-6.1c9.3-1.9 16.7-9.1 17.8-18.5c.8-6.7 1.2-13.5 1.2-20.4s-.4-13.7-1.2-20.4c-1.1-9.4-8.6-16.6-17.8-18.5L583.9 307c-5-13.3-12.1-25.5-20.9-36.2l9.3-28.2c3-9 .5-19-7.1-24.7c-4.7-3.5-9.6-6.8-14.6-9.9l-5.3-3c-5-2.8-10.2-5.3-15.6-7.6c-8.7-3.7-18.6-.9-25 6.2l-19.8 22.2c-6.8-1.1-13.8-1.7-20.9-1.7s-14.1 .6-20.9 1.7l-19.8-22.2c-6.3-7.1-16.2-9.9-25-6.2c-5.3 2.3-10.5 4.8-15.6 7.6l-5.2 3c-5.1 3-9.9 6.3-14.6 9.9c-7.6 5.7-10.1 15.7-7.1 24.7l9.3 28.2c-8.8 10.7-16 23-20.9 36.2L315.1 313c-9.3 1.9-16.7 9.1-17.8 18.5c-.8 6.7-1.2 13.5-1.2 20.4s.4 13.7 1.2 20.4c1.1 9.4 8.6 16.6 17.8 18.5l29.1 6.1c5 13.3 12.1 25.5 20.9 36.2l-9.3 28.2c-3 9-.5 19 7.1 24.7c4.7 3.5 9.5 6.8 14.6 9.8l5.4 3.1c5 2.8 10.2 5.3 15.5 7.6c8.7 3.7 18.6 .9 25-6.2l19.8-22.2c6.8 1.1 13.8 1.7 20.9 1.7s14.1-.6 20.9-1.7l19.8 22.2zM464 304a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"]},MJ=L$,LJ={prefix:"fas",iconName:"qrcode",icon:[448,512,[],"f029","M0 80C0 53.5 21.5 32 48 32h96c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80zM64 96v64h64V96H64zM0 336c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V336zm64 16v64h64V352H64zM304 32h96c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H304c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48zm80 64H320v64h64V96zM256 304c0-8.8 7.2-16 16-16h64c8.8 0 16 7.2 16 16s7.2 16 16 16h32c8.8 0 16-7.2 16-16s7.2-16 16-16s16 7.2 16 16v96c0 8.8-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s-7.2-16-16-16s-16 7.2-16 16v64c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V304zM368 480a16 16 0 1 1 0-32 16 16 0 1 1 0 32zm64 0a16 16 0 1 1 0-32 16 16 0 1 1 0 32z"]},RJ={prefix:"fas",iconName:"moon",icon:[384,512,[127769,9214],"f186","M223.5 32C100 32 0 132.3 0 256S100 480 223.5 480c60.6 0 115.5-24.2 155.8-63.4c5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6c-96.9 0-175.5-78.8-175.5-176c0-65.8 36-123.1 89.3-153.3c6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z"]},DJ={prefix:"fas",iconName:"link-slash",icon:[640,512,["chain-broken","chain-slash","unlink"],"f127","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L489.3 358.2l90.5-90.5c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114l-96 96-31.9-25C430.9 239.6 420.1 175.1 377 132c-52.2-52.3-134.5-56.2-191.3-11.7L38.8 5.1zM239 162c30.1-14.9 67.7-9.9 92.8 15.3c20 20 27.5 48.3 21.7 74.5L239 162zM116.6 187.9L60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5l61.8-61.8-50.6-39.9zM220.9 270c-2.1 39.8 12.2 80.1 42.2 110c38.9 38.9 94.4 51 143.6 36.3L220.9 270z"]},IJ={prefix:"fas",iconName:"desktop",icon:[576,512,[128421,61704,"desktop-alt"],"f390","M64 0C28.7 0 0 28.7 0 64V352c0 35.3 28.7 64 64 64H240l-10.7 32H160c-17.7 0-32 14.3-32 32s14.3 32 32 32H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H346.7L336 416H512c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64zM512 64V288H64V64H512z"]},Mh={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]};function yM(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 Fe(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1;i--){var o=n[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}return Wt.head.insertBefore(t,r),e}}var lee="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Fh(){for(var e=12,t="";e-- >0;)t+=lee[Math.random()*62|0];return t}function sd(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function sj(e){return e.classList?sd(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function Y$(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function uee(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(Y$(e[n]),'" ')},"").trim()}function k_(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function lj(e){return e.size!==Fo.size||e.x!==Fo.x||e.y!==Fo.y||e.rotate!==Fo.rotate||e.flipX||e.flipY}function cee(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(t.x*32,", ").concat(t.y*32,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(o," ").concat(a," ").concat(s)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:u}}function fee(e){var t=e.transform,n=e.width,r=n===void 0?uS:n,i=e.height,o=i===void 0?uS:i,a=e.startCentered,s=a===void 0?!1:a,l="";return s&&U$?l+="translate(".concat(t.x/as-r/2,"em, ").concat(t.y/as-o/2,"em) "):s?l+="translate(calc(-50% + ".concat(t.x/as,"em), calc(-50% + ").concat(t.y/as,"em)) "):l+="translate(".concat(t.x/as,"em, ").concat(t.y/as,"em) "),l+="scale(".concat(t.size/as*(t.flipX?-1:1),", ").concat(t.size/as*(t.flipY?-1:1),") "),l+="rotate(".concat(t.rotate,"deg) "),l}var dee=`:root, :host { + --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid"; + --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular"; + --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light"; + --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin"; + --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone"; + --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-brands: normal 400 1em/1 "Font Awesome 6 Brands"; +} + +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 { + -webkit-transform-origin: center center; + transform-origin: center center; +} + +.fa-layers-text { + left: 50%; + top: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + -webkit-transform-origin: center center; + 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); + -webkit-transform: scale(var(--fa-counter-scale, 0.25)); + transform: scale(var(--fa-counter-scale, 0.25)); + -webkit-transform-origin: top right; + transform-origin: top right; +} + +.fa-layers-bottom-right { + bottom: var(--fa-bottom, 0); + right: var(--fa-right, 0); + top: auto; + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: bottom right; + transform-origin: bottom right; +} + +.fa-layers-bottom-left { + bottom: var(--fa-bottom, 0); + left: var(--fa-left, 0); + right: auto; + top: auto; + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: bottom left; + transform-origin: bottom left; +} + +.fa-layers-top-right { + top: var(--fa-top, 0); + right: var(--fa-right, 0); + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: top right; + transform-origin: top right; +} + +.fa-layers-top-left { + left: var(--fa-left, 0); + right: auto; + top: var(--fa-top, 0); + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: top left; + 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(var(--fa-li-width, 2em) * -1); + 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 { + -webkit-animation-name: fa-beat; + animation-name: fa-beat; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); + animation-timing-function: var(--fa-animation-timing, ease-in-out); +} + +.fa-bounce { + -webkit-animation-name: fa-bounce; + animation-name: fa-bounce; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); +} + +.fa-fade { + -webkit-animation-name: fa-fade; + animation-name: fa-fade; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); +} + +.fa-beat-fade { + -webkit-animation-name: fa-beat-fade; + animation-name: fa-beat-fade; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); +} + +.fa-flip { + -webkit-animation-name: fa-flip; + animation-name: fa-flip; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); + animation-timing-function: var(--fa-animation-timing, ease-in-out); +} + +.fa-shake { + -webkit-animation-name: fa-shake; + animation-name: fa-shake; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, linear); + animation-timing-function: var(--fa-animation-timing, linear); +} + +.fa-spin { + -webkit-animation-name: fa-spin; + animation-name: fa-spin; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 2s); + animation-duration: var(--fa-animation-duration, 2s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, linear); + animation-timing-function: var(--fa-animation-timing, linear); +} + +.fa-spin-reverse { + --fa-animation-direction: reverse; +} + +.fa-pulse, +.fa-spin-pulse { + -webkit-animation-name: fa-spin; + animation-name: fa-spin; + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, steps(8)); + 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 { + -webkit-animation-delay: -1ms; + animation-delay: -1ms; + -webkit-animation-duration: 1ms; + animation-duration: 1ms; + -webkit-animation-iteration-count: 1; + animation-iteration-count: 1; + -webkit-transition-delay: 0s; + transition-delay: 0s; + -webkit-transition-duration: 0s; + transition-duration: 0s; + } +} +@-webkit-keyframes fa-beat { + 0%, 90% { + -webkit-transform: scale(1); + transform: scale(1); + } + 45% { + -webkit-transform: scale(var(--fa-beat-scale, 1.25)); + transform: scale(var(--fa-beat-scale, 1.25)); + } +} +@keyframes fa-beat { + 0%, 90% { + -webkit-transform: scale(1); + transform: scale(1); + } + 45% { + -webkit-transform: scale(var(--fa-beat-scale, 1.25)); + transform: scale(var(--fa-beat-scale, 1.25)); + } +} +@-webkit-keyframes fa-bounce { + 0% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 10% { + -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + } + 30% { + -webkit-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)); + 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% { + -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + } + 57% { + -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + } + 64% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 100% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } +} +@keyframes fa-bounce { + 0% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 10% { + -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + } + 30% { + -webkit-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)); + 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% { + -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + } + 57% { + -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + } + 64% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 100% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } +} +@-webkit-keyframes fa-fade { + 50% { + opacity: var(--fa-fade-opacity, 0.4); + } +} +@keyframes fa-fade { + 50% { + opacity: var(--fa-fade-opacity, 0.4); + } +} +@-webkit-keyframes fa-beat-fade { + 0%, 100% { + opacity: var(--fa-beat-fade-opacity, 0.4); + -webkit-transform: scale(1); + transform: scale(1); + } + 50% { + opacity: 1; + -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); + transform: scale(var(--fa-beat-fade-scale, 1.125)); + } +} +@keyframes fa-beat-fade { + 0%, 100% { + opacity: var(--fa-beat-fade-opacity, 0.4); + -webkit-transform: scale(1); + transform: scale(1); + } + 50% { + opacity: 1; + -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); + transform: scale(var(--fa-beat-fade-scale, 1.125)); + } +} +@-webkit-keyframes fa-flip { + 50% { + -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + } +} +@keyframes fa-flip { + 50% { + -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + } +} +@-webkit-keyframes fa-shake { + 0% { + -webkit-transform: rotate(-15deg); + transform: rotate(-15deg); + } + 4% { + -webkit-transform: rotate(15deg); + transform: rotate(15deg); + } + 8%, 24% { + -webkit-transform: rotate(-18deg); + transform: rotate(-18deg); + } + 12%, 28% { + -webkit-transform: rotate(18deg); + transform: rotate(18deg); + } + 16% { + -webkit-transform: rotate(-22deg); + transform: rotate(-22deg); + } + 20% { + -webkit-transform: rotate(22deg); + transform: rotate(22deg); + } + 32% { + -webkit-transform: rotate(-12deg); + transform: rotate(-12deg); + } + 36% { + -webkit-transform: rotate(12deg); + transform: rotate(12deg); + } + 40%, 100% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } +} +@keyframes fa-shake { + 0% { + -webkit-transform: rotate(-15deg); + transform: rotate(-15deg); + } + 4% { + -webkit-transform: rotate(15deg); + transform: rotate(15deg); + } + 8%, 24% { + -webkit-transform: rotate(-18deg); + transform: rotate(-18deg); + } + 12%, 28% { + -webkit-transform: rotate(18deg); + transform: rotate(18deg); + } + 16% { + -webkit-transform: rotate(-22deg); + transform: rotate(-22deg); + } + 20% { + -webkit-transform: rotate(22deg); + transform: rotate(22deg); + } + 32% { + -webkit-transform: rotate(-12deg); + transform: rotate(-12deg); + } + 36% { + -webkit-transform: rotate(12deg); + transform: rotate(12deg); + } + 40%, 100% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } +} +@-webkit-keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +@keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +.fa-rotate-90 { + -webkit-transform: rotate(90deg); + transform: rotate(90deg); +} + +.fa-rotate-180 { + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} + +.fa-rotate-270 { + -webkit-transform: rotate(270deg); + transform: rotate(270deg); +} + +.fa-flip-horizontal { + -webkit-transform: scale(-1, 1); + transform: scale(-1, 1); +} + +.fa-flip-vertical { + -webkit-transform: scale(1, -1); + transform: scale(1, -1); +} + +.fa-flip-both, +.fa-flip-horizontal.fa-flip-vertical { + -webkit-transform: scale(-1, -1); + transform: scale(-1, -1); +} + +.fa-rotate-by { + -webkit-transform: rotate(var(--fa-rotate-angle, none)); + transform: rotate(var(--fa-rotate-angle, none)); +} + +.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 G$(){var e=$$,t=B$,n=He.cssPrefix,r=He.replacementClass,i=dee;if(n!==e||r!==t){var 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}var EM=!1;function Rx(){He.autoAddCss&&!EM&&(see(G$()),EM=!0)}var pee={mixout:function(){return{dom:{css:G$,insertCss:Rx}}},hooks:function(){return{beforeDOMElementCreation:function(){Rx()},beforeI2svg:function(){Rx()}}}},Ma=qs||{};Ma[Na]||(Ma[Na]={});Ma[Na].styles||(Ma[Na].styles={});Ma[Na].hooks||(Ma[Na].hooks={});Ma[Na].shims||(Ma[Na].shims=[]);var fo=Ma[Na],q$=[],hee=function e(){Wt.removeEventListener("DOMContentLoaded",e),f0=1,q$.map(function(t){return t()})},f0=!1;Ga&&(f0=(Wt.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Wt.readyState),f0||Wt.addEventListener("DOMContentLoaded",hee));function mee(e){Ga&&(f0?setTimeout(e,0):q$.push(e))}function Jm(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,i=e.children,o=i===void 0?[]:i;return typeof e=="string"?Y$(e):"<".concat(t," ").concat(uee(r),">").concat(o.map(Jm).join(""),"")}function TM(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var vee=function(t,n){return function(r,i,o,a){return t.call(n,r,i,o,a)}},Dx=function(t,n,r,i){var o=Object.keys(t),a=o.length,s=i!==void 0?vee(n,i):n,l,u,f;for(r===void 0?(l=1,f=t[o[0]]):(l=0,f=r);l=55296&&i<=56319&&n=55296&&r<=56319&&n>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function CM(e){return Object.keys(e).reduce(function(t,n){var r=e[n],i=!!r.icon;return i?t[r.iconName]=r.icon:t[n]=r,t},{})}function dS(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,o=CM(t);typeof fo.hooks.addPack=="function"&&!i?fo.hooks.addPack(e,CM(t)):fo.styles[e]=Fe(Fe({},fo.styles[e]||{}),o),e==="fas"&&dS("fa",t)}var xg,Og,Sg,kc=fo.styles,bee=fo.shims,_ee=(xg={},An(xg,zt,Object.values(Dh[zt])),An(xg,cn,Object.values(Dh[cn])),xg),uj=null,K$={},Z$={},X$={},Q$={},J$={},wee=(Og={},An(Og,zt,Object.keys(Lh[zt])),An(Og,cn,Object.keys(Lh[cn])),Og);function xee(e){return~nee.indexOf(e)}function Oee(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!xee(i)?i:null}var e7=function(){var t=function(o){return Dx(kc,function(a,s,l){return a[l]=Dx(s,o,{}),a},{})};K$=t(function(i,o,a){if(o[3]&&(i[o[3]]=a),o[2]){var s=o[2].filter(function(l){return typeof l=="number"});s.forEach(function(l){i[l.toString(16)]=a})}return i}),Z$=t(function(i,o,a){if(i[a]=a,o[2]){var s=o[2].filter(function(l){return typeof l=="string"});s.forEach(function(l){i[l]=a})}return i}),J$=t(function(i,o,a){var s=o[2];return i[a]=a,s.forEach(function(l){i[l]=a}),i});var n="far"in kc||He.autoFetchSvg,r=Dx(bee,function(i,o){var a=o[0],s=o[1],l=o[2];return s==="far"&&!n&&(s="fas"),typeof a=="string"&&(i.names[a]={prefix:s,iconName:l}),typeof a=="number"&&(i.unicodes[a.toString(16)]={prefix:s,iconName:l}),i},{names:{},unicodes:{}});X$=r.names,Q$=r.unicodes,uj=j_(He.styleDefault,{family:He.familyDefault})};aee(function(e){uj=j_(e.styleDefault,{family:He.familyDefault})});e7();function cj(e,t){return(K$[e]||{})[t]}function See(e,t){return(Z$[e]||{})[t]}function Wl(e,t){return(J$[e]||{})[t]}function t7(e){return X$[e]||{prefix:null,iconName:null}}function Eee(e){var t=Q$[e],n=cj("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Ks(){return uj}var fj=function(){return{prefix:null,iconName:null,rest:[]}};function j_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?zt:n,i=Lh[r][e],o=Rh[r][e]||Rh[r][i],a=e in fo.styles?e:null;return o||a||null}var kM=(Sg={},An(Sg,zt,Object.keys(Dh[zt])),An(Sg,cn,Object.keys(Dh[cn])),Sg);function P_(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,i=r===void 0?!1:r,o=(t={},An(t,zt,"".concat(He.cssPrefix,"-").concat(zt)),An(t,cn,"".concat(He.cssPrefix,"-").concat(cn)),t),a=null,s=zt;(e.includes(o[zt])||e.some(function(u){return kM[zt].includes(u)}))&&(s=zt),(e.includes(o[cn])||e.some(function(u){return kM[cn].includes(u)}))&&(s=cn);var l=e.reduce(function(u,f){var d=Oee(He.cssPrefix,f);if(kc[f]?(f=_ee[s].includes(f)?ZJ[s][f]:f,a=f,u.prefix=f):wee[s].indexOf(f)>-1?(a=f,u.prefix=j_(f,{family:s})):d?u.iconName=d:f!==He.replacementClass&&f!==o[zt]&&f!==o[cn]&&u.rest.push(f),!i&&u.prefix&&u.iconName){var p=a==="fa"?t7(u.iconName):{},m=Wl(u.prefix,u.iconName);p.prefix&&(a=null),u.iconName=p.iconName||m||u.iconName,u.prefix=p.prefix||u.prefix,u.prefix==="far"&&!kc.far&&kc.fas&&!He.autoFetchSvg&&(u.prefix="fas")}return u},fj());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),!l.prefix&&s===cn&&(kc.fass||He.autoFetchSvg)&&(l.prefix="fass",l.iconName=Wl(l.prefix,l.iconName)||l.iconName),(l.prefix==="fa"||a==="fa")&&(l.prefix=Ks()||"fas"),l}var Tee=function(){function e(){FJ(this,e),this.definitions={}}return UJ(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,i=new Array(r),o=0;o0&&f.forEach(function(d){typeof d=="string"&&(n[s][d]=u)}),n[s][l]=u}),n}}]),e}(),jM=[],jc={},Gc={},Cee=Object.keys(Gc);function kee(e,t){var n=t.mixoutsTo;return jM=e,jc={},Object.keys(Gc).forEach(function(r){Cee.indexOf(r)===-1&&delete Gc[r]}),jM.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(a){typeof i[a]=="function"&&(n[a]=i[a]),c0(i[a])==="object"&&Object.keys(i[a]).forEach(function(s){n[a]||(n[a]={}),n[a][s]=i[a][s]})}),r.hooks){var o=r.hooks();Object.keys(o).forEach(function(a){jc[a]||(jc[a]=[]),jc[a].push(o[a])})}r.provides&&r.provides(Gc)}),n}function pS(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i1?t-1:0),r=1;r0&&arguments[0]!==void 0?arguments[0]:{};return Ga?(vu("beforeI2svg",t),La("pseudoElements2svg",t),La("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;He.autoReplaceSvg===!1&&(He.autoReplaceSvg=!0),He.observeMutations=!0,mee(function(){Nee({autoReplaceSvgRoot:n}),vu("watch",t)})}},Aee={icon:function(t){if(t===null)return null;if(c0(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Wl(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=j_(t[0]);return{prefix:r,iconName:Wl(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(He.cssPrefix,"-"))>-1||t.match(XJ))){var i=P_(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||Ks(),iconName:Wl(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var o=Ks();return{prefix:o,iconName:Wl(o,t)||t}}}},vi={noAuto:jee,config:He,dom:Pee,parse:Aee,library:n7,findIconDefinition:hS,toHtml:Jm},Nee=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?Wt:n;(Object.keys(fo.styles).length>0||He.autoFetchSvg)&&Ga&&He.autoReplaceSvg&&vi.dom.i2svg({node:r})};function A_(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return Jm(r)})}}),Object.defineProperty(e,"node",{get:function(){if(Ga){var r=Wt.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function Mee(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(lj(a)&&n.found&&!r.found){var s=n.width,l=n.height,u={x:s/l/2,y:.5};i.style=k_(Fe(Fe({},o),{},{"transform-origin":"".concat(u.x+a.x/16,"em ").concat(u.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function Lee(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,o=e.symbol,a=o===!0?"".concat(t,"-").concat(He.cssPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Fe(Fe({},i),{},{id:a}),children:r}]}]}function dj(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,o=e.iconName,a=e.transform,s=e.symbol,l=e.title,u=e.maskId,f=e.titleId,d=e.extra,p=e.watchable,m=p===void 0?!1:p,v=r.found?r:n,g=v.width,w=v.height,y=i==="fak",b=[He.replacementClass,o?"".concat(He.cssPrefix,"-").concat(o):""].filter(function(D){return d.classes.indexOf(D)===-1}).filter(function(D){return D!==""||!!D}).concat(d.classes).join(" "),x={children:[],attributes:Fe(Fe({},d.attributes),{},{"data-prefix":i,"data-icon":o,class:b,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(w)})},O=y&&!~d.classes.indexOf("fa-fw")?{width:"".concat(g/w*16*.0625,"em")}:{};m&&(x.attributes[mu]=""),l&&(x.children.push({tag:"title",attributes:{id:x.attributes["aria-labelledby"]||"title-".concat(f||Fh())},children:[l]}),delete x.attributes.title);var E=Fe(Fe({},x),{},{prefix:i,iconName:o,main:n,mask:r,maskId:u,transform:a,symbol:s,styles:Fe(Fe({},O),d.styles)}),T=r.found&&n.found?La("generateAbstractMask",E)||{children:[],attributes:{}}:La("generateAbstractIcon",E)||{children:[],attributes:{}},k=T.children,A=T.attributes;return E.children=k,E.attributes=A,s?Lee(E):Mee(E)}function PM(e){var t=e.content,n=e.width,r=e.height,i=e.transform,o=e.title,a=e.extra,s=e.watchable,l=s===void 0?!1:s,u=Fe(Fe(Fe({},a.attributes),o?{title:o}:{}),{},{class:a.classes.join(" ")});l&&(u[mu]="");var f=Fe({},a.styles);lj(i)&&(f.transform=fee({transform:i,startCentered:!0,width:n,height:r}),f["-webkit-transform"]=f.transform);var d=k_(f);d.length>0&&(u.style=d);var p=[];return p.push({tag:"span",attributes:u,children:[t]}),o&&p.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),p}function Ree(e){var t=e.content,n=e.title,r=e.extra,i=Fe(Fe(Fe({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),o=k_(r.styles);o.length>0&&(i.style=o);var a=[];return a.push({tag:"span",attributes:i,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}var Ix=fo.styles;function mS(e){var t=e[0],n=e[1],r=e.slice(4),i=nj(r,1),o=i[0],a=null;return Array.isArray(o)?a={tag:"g",attributes:{class:"".concat(He.cssPrefix,"-").concat(Hl.GROUP)},children:[{tag:"path",attributes:{class:"".concat(He.cssPrefix,"-").concat(Hl.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(He.cssPrefix,"-").concat(Hl.PRIMARY),fill:"currentColor",d:o[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:t,height:n,icon:a}}var Dee={found:!1,width:512,height:512};function Iee(e,t){!z$&&!He.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function vS(e,t){var n=t;return t==="fa"&&He.styleDefault!==null&&(t=Ks()),new Promise(function(r,i){if(La("missingIconAbstract"),n==="fa"){var o=t7(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&Ix[t]&&Ix[t][e]){var a=Ix[t][e];return r(mS(a))}Iee(e,t),r(Fe(Fe({},Dee),{},{icon:He.showMissingIcons&&e?La("missingIconAbstract")||{}:{}}))})}var AM=function(){},gS=He.measurePerformance&&vg&&vg.mark&&vg.measure?vg:{mark:AM,measure:AM},Sp='FA "6.5.1"',Fee=function(t){return gS.mark("".concat(Sp," ").concat(t," begins")),function(){return r7(t)}},r7=function(t){gS.mark("".concat(Sp," ").concat(t," ends")),gS.measure("".concat(Sp," ").concat(t),"".concat(Sp," ").concat(t," begins"),"".concat(Sp," ").concat(t," ends"))},pj={begin:Fee,end:r7},my=function(){};function NM(e){var t=e.getAttribute?e.getAttribute(mu):null;return typeof t=="string"}function Uee(e){var t=e.getAttribute?e.getAttribute(ij):null,n=e.getAttribute?e.getAttribute(oj):null;return t&&n}function $ee(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(He.replacementClass)}function Bee(){if(He.autoReplaceSvg===!0)return vy.replace;var e=vy[He.autoReplaceSvg];return e||vy.replace}function zee(e){return Wt.createElementNS("http://www.w3.org/2000/svg",e)}function Vee(e){return Wt.createElement(e)}function i7(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?zee:Vee:n;if(typeof e=="string")return Wt.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach(function(a){i.setAttribute(a,e.attributes[a])});var o=e.children||[];return o.forEach(function(a){i.appendChild(i7(a,{ceFn:r}))}),i}function Hee(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var vy={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(i7(i),n)}),n.getAttribute(mu)===null&&He.keepOriginalSource){var r=Wt.createComment(Hee(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~sj(n).indexOf(He.replacementClass))return vy.replace(t);var i=new RegExp("".concat(He.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var o=r[0].attributes.class.split(" ").reduce(function(s,l){return l===He.replacementClass||l.match(i)?s.toSvg.push(l):s.toNode.push(l),s},{toNode:[],toSvg:[]});r[0].attributes.class=o.toSvg.join(" "),o.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",o.toNode.join(" "))}var a=r.map(function(s){return Jm(s)}).join(` +`);n.setAttribute(mu,""),n.innerHTML=a}};function MM(e){e()}function o7(e,t){var n=typeof t=="function"?t:my;if(e.length===0)n();else{var r=MM;He.mutateApproach===qJ&&(r=qs.requestAnimationFrame||MM),r(function(){var i=Bee(),o=pj.begin("mutate");e.map(i),o(),n()})}}var hj=!1;function a7(){hj=!0}function yS(){hj=!1}var d0=null;function LM(e){if(OM&&He.observeMutations){var t=e.treeCallback,n=t===void 0?my:t,r=e.nodeCallback,i=r===void 0?my:r,o=e.pseudoElementsCallback,a=o===void 0?my:o,s=e.observeMutationsRoot,l=s===void 0?Wt:s;d0=new OM(function(u){if(!hj){var f=Ks();sd(u).forEach(function(d){if(d.type==="childList"&&d.addedNodes.length>0&&!NM(d.addedNodes[0])&&(He.searchPseudoElements&&a(d.target),n(d.target)),d.type==="attributes"&&d.target.parentNode&&He.searchPseudoElements&&a(d.target.parentNode),d.type==="attributes"&&NM(d.target)&&~tee.indexOf(d.attributeName))if(d.attributeName==="class"&&Uee(d.target)){var p=P_(sj(d.target)),m=p.prefix,v=p.iconName;d.target.setAttribute(ij,m||f),v&&d.target.setAttribute(oj,v)}else $ee(d.target)&&i(d.target)})}}),Ga&&d0.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Wee(){d0&&d0.disconnect()}function Yee(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,i){var o=i.split(":"),a=o[0],s=o.slice(1);return a&&s.length>0&&(r[a]=s.join(":").trim()),r},{})),n}function Gee(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=P_(sj(e));return i.prefix||(i.prefix=Ks()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=See(i.prefix,e.innerText)||cj(i.prefix,fS(e.innerText))),!i.iconName&&He.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function qee(e){var t=sd(e.attributes).reduce(function(i,o){return i.name!=="class"&&i.name!=="style"&&(i[o.name]=o.value),i},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return He.autoA11y&&(n?t["aria-labelledby"]="".concat(He.replacementClass,"-title-").concat(r||Fh()):(t["aria-hidden"]="true",t.focusable="false")),t}function Kee(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Fo,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function RM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=Gee(e),r=n.iconName,i=n.prefix,o=n.rest,a=qee(e),s=pS("parseNodeAttributes",{},e),l=t.styleParser?Yee(e):[];return Fe({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:Fo,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:l,attributes:a}},s)}var Zee=fo.styles;function s7(e){var t=He.autoReplaceSvg==="nest"?RM(e,{styleParser:!1}):RM(e);return~t.extra.classes.indexOf(V$)?La("generateLayersText",e,t):La("generateSvgReplacementMutation",e,t)}var Zs=new Set;aj.map(function(e){Zs.add("fa-".concat(e))});Object.keys(Lh[zt]).map(Zs.add.bind(Zs));Object.keys(Lh[cn]).map(Zs.add.bind(Zs));Zs=Xm(Zs);function DM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Ga)return Promise.resolve();var n=Wt.documentElement.classList,r=function(d){return n.add("".concat(SM,"-").concat(d))},i=function(d){return n.remove("".concat(SM,"-").concat(d))},o=He.autoFetchSvg?Zs:aj.map(function(f){return"fa-".concat(f)}).concat(Object.keys(Zee));o.includes("fa")||o.push("fa");var a=[".".concat(V$,":not([").concat(mu,"])")].concat(o.map(function(f){return".".concat(f,":not([").concat(mu,"])")})).join(", ");if(a.length===0)return Promise.resolve();var s=[];try{s=sd(e.querySelectorAll(a))}catch{}if(s.length>0)r("pending"),i("complete");else return Promise.resolve();var l=pj.begin("onTree"),u=s.reduce(function(f,d){try{var p=s7(d);p&&f.push(p)}catch(m){z$||m.name==="MissingIcon"&&console.error(m)}return f},[]);return new Promise(function(f,d){Promise.all(u).then(function(p){o7(p,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),l(),f()})}).catch(function(p){l(),d(p)})})}function Xee(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;s7(e).then(function(n){n&&o7([n],t)})}function Qee(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:hS(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:hS(i||{})),e(r,Fe(Fe({},n),{},{mask:i}))}}var Jee=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,i=r===void 0?Fo:r,o=n.symbol,a=o===void 0?!1:o,s=n.mask,l=s===void 0?null:s,u=n.maskId,f=u===void 0?null:u,d=n.title,p=d===void 0?null:d,m=n.titleId,v=m===void 0?null:m,g=n.classes,w=g===void 0?[]:g,y=n.attributes,b=y===void 0?{}:y,x=n.styles,O=x===void 0?{}:x;if(t){var E=t.prefix,T=t.iconName,k=t.icon;return A_(Fe({type:"icon"},t),function(){return vu("beforeDOMElementCreation",{iconDefinition:t,params:n}),He.autoA11y&&(p?b["aria-labelledby"]="".concat(He.replacementClass,"-title-").concat(v||Fh()):(b["aria-hidden"]="true",b.focusable="false")),dj({icons:{main:mS(k),mask:l?mS(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:E,iconName:T,transform:Fe(Fe({},Fo),i),symbol:a,title:p,maskId:f,titleId:v,extra:{attributes:b,styles:O,classes:w}})})}},ete={mixout:function(){return{icon:Qee(Jee)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=DM,n.nodeCallback=Xee,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,i=r===void 0?Wt:r,o=n.callback,a=o===void 0?function(){}:o;return DM(i,a)},t.generateSvgReplacementMutation=function(n,r){var i=r.iconName,o=r.title,a=r.titleId,s=r.prefix,l=r.transform,u=r.symbol,f=r.mask,d=r.maskId,p=r.extra;return new Promise(function(m,v){Promise.all([vS(i,s),f.iconName?vS(f.iconName,f.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(g){var w=nj(g,2),y=w[0],b=w[1];m([n,dj({icons:{main:y,mask:b},prefix:s,iconName:i,transform:l,symbol:u,maskId:d,title:o,titleId:a,extra:p,watchable:!0})])}).catch(v)})},t.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,o=n.main,a=n.transform,s=n.styles,l=k_(s);l.length>0&&(i.style=l);var u;return lj(a)&&(u=La("generateAbstractTransformGrouping",{main:o,transform:a,containerWidth:o.width,iconWidth:o.width})),r.push(u||o.icon),{children:r,attributes:i}}}},tte={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.classes,o=i===void 0?[]:i;return A_({type:"layer"},function(){vu("beforeDOMElementCreation",{assembler:n,params:r});var a=[];return n(function(s){Array.isArray(s)?s.map(function(l){a=a.concat(l.abstract)}):a=a.concat(s.abstract)}),[{tag:"span",attributes:{class:["".concat(He.cssPrefix,"-layers")].concat(Xm(o)).join(" ")},children:a}]})}}}},nte={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.title,o=i===void 0?null:i,a=r.classes,s=a===void 0?[]:a,l=r.attributes,u=l===void 0?{}:l,f=r.styles,d=f===void 0?{}:f;return A_({type:"counter",content:n},function(){return vu("beforeDOMElementCreation",{content:n,params:r}),Ree({content:n.toString(),title:o,extra:{attributes:u,styles:d,classes:["".concat(He.cssPrefix,"-layers-counter")].concat(Xm(s))}})})}}}},rte={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,o=i===void 0?Fo:i,a=r.title,s=a===void 0?null:a,l=r.classes,u=l===void 0?[]:l,f=r.attributes,d=f===void 0?{}:f,p=r.styles,m=p===void 0?{}:p;return A_({type:"text",content:n},function(){return vu("beforeDOMElementCreation",{content:n,params:r}),PM({content:n,transform:Fe(Fe({},Fo),o),title:s,extra:{attributes:d,styles:m,classes:["".concat(He.cssPrefix,"-layers-text")].concat(Xm(u))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var i=r.title,o=r.transform,a=r.extra,s=null,l=null;if(U$){var u=parseInt(getComputedStyle(n).fontSize,10),f=n.getBoundingClientRect();s=f.width/u,l=f.height/u}return He.autoA11y&&!i&&(a.attributes["aria-hidden"]="true"),Promise.resolve([n,PM({content:n.innerHTML,width:s,height:l,transform:o,title:i,extra:a,watchable:!0})])}}},ite=new RegExp('"',"ug"),IM=[1105920,1112319];function ote(e){var t=e.replace(ite,""),n=yee(t,0),r=n>=IM[0]&&n<=IM[1],i=t.length===2?t[0]===t[1]:!1;return{value:fS(i?t[0]:t),isSecondary:r||i}}function FM(e,t){var n="".concat(GJ).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var o=sd(e.children),a=o.filter(function(k){return k.getAttribute(cS)===t})[0],s=qs.getComputedStyle(e,t),l=s.getPropertyValue("font-family").match(QJ),u=s.getPropertyValue("font-weight"),f=s.getPropertyValue("content");if(a&&!l)return e.removeChild(a),r();if(l&&f!=="none"&&f!==""){var d=s.getPropertyValue("content"),p=~["Sharp"].indexOf(l[2])?cn:zt,m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?Rh[p][l[2].toLowerCase()]:JJ[p][u],v=ote(d),g=v.value,w=v.isSecondary,y=l[0].startsWith("FontAwesome"),b=cj(m,g),x=b;if(y){var O=Eee(g);O.iconName&&O.prefix&&(b=O.iconName,m=O.prefix)}if(b&&!w&&(!a||a.getAttribute(ij)!==m||a.getAttribute(oj)!==x)){e.setAttribute(n,x),a&&e.removeChild(a);var E=Kee(),T=E.extra;T.attributes[cS]=t,vS(b,m).then(function(k){var A=dj(Fe(Fe({},E),{},{icons:{main:k,mask:fj()},prefix:m,iconName:x,extra:T,watchable:!0})),D=Wt.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(D,e.firstChild):e.appendChild(D),D.outerHTML=A.map(function(R){return Jm(R)}).join(` +`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function ate(e){return Promise.all([FM(e,"::before"),FM(e,"::after")])}function ste(e){return e.parentNode!==document.head&&!~KJ.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(cS)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function UM(e){if(Ga)return new Promise(function(t,n){var r=sd(e.querySelectorAll("*")).filter(ste).map(ate),i=pj.begin("searchPseudoElements");a7(),Promise.all(r).then(function(){i(),yS(),t()}).catch(function(){i(),yS(),n()})})}var lte={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=UM,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?Wt:r;He.searchPseudoElements&&UM(i)}}},$M=!1,ute={mixout:function(){return{dom:{unwatch:function(){a7(),$M=!0}}}},hooks:function(){return{bootstrap:function(){LM(pS("mutationObserverCallbacks",{}))},noAuto:function(){Wee()},watch:function(n){var r=n.observeMutationsRoot;$M?yS():LM(pS("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},BM=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,i){var o=i.toLowerCase().split("-"),a=o[0],s=o.slice(1).join("-");if(a&&s==="h")return r.flipX=!0,r;if(a&&s==="v")return r.flipY=!0,r;if(s=parseFloat(s),isNaN(s))return r;switch(a){case"grow":r.size=r.size+s;break;case"shrink":r.size=r.size-s;break;case"left":r.x=r.x-s;break;case"right":r.x=r.x+s;break;case"up":r.y=r.y-s;break;case"down":r.y=r.y+s;break;case"rotate":r.rotate=r.rotate+s;break}return r},n)},cte={mixout:function(){return{parse:{transform:function(n){return BM(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=BM(i)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,i=n.transform,o=n.containerWidth,a=n.iconWidth,s={transform:"translate(".concat(o/2," 256)")},l="translate(".concat(i.x*32,", ").concat(i.y*32,") "),u="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),f="rotate(".concat(i.rotate," 0 0)"),d={transform:"".concat(l," ").concat(u," ").concat(f)},p={transform:"translate(".concat(a/2*-1," -256)")},m={outer:s,inner:d,path:p};return{tag:"g",attributes:Fe({},m.outer),children:[{tag:"g",attributes:Fe({},m.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:Fe(Fe({},r.icon.attributes),m.path)}]}]}}}},Fx={x:0,y:0,width:"100%",height:"100%"};function zM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function fte(e){return e.tag==="g"?e.children:[e]}var dte={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),o=i?P_(i.split(" ").map(function(a){return a.trim()})):fj();return o.prefix||(o.prefix=Ks()),n.mask=o,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,i=n.attributes,o=n.main,a=n.mask,s=n.maskId,l=n.transform,u=o.width,f=o.icon,d=a.width,p=a.icon,m=cee({transform:l,containerWidth:d,iconWidth:u}),v={tag:"rect",attributes:Fe(Fe({},Fx),{},{fill:"white"})},g=f.children?{children:f.children.map(zM)}:{},w={tag:"g",attributes:Fe({},m.inner),children:[zM(Fe({tag:f.tag,attributes:Fe(Fe({},f.attributes),m.path)},g))]},y={tag:"g",attributes:Fe({},m.outer),children:[w]},b="mask-".concat(s||Fh()),x="clip-".concat(s||Fh()),O={tag:"mask",attributes:Fe(Fe({},Fx),{},{id:b,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[v,y]},E={tag:"defs",children:[{tag:"clipPath",attributes:{id:x},children:fte(p)},O]};return r.push(E,{tag:"rect",attributes:Fe({fill:"currentColor","clip-path":"url(#".concat(x,")"),mask:"url(#".concat(b,")")},Fx)}),{children:r,attributes:i}}}},pte={provides:function(t){var n=!1;qs.matchMedia&&(n=qs.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],i={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:Fe(Fe({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var a=Fe(Fe({},o),{},{attributeName:"opacity"}),s={tag:"circle",attributes:Fe(Fe({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||s.children.push({tag:"animate",attributes:Fe(Fe({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Fe(Fe({},a),{},{values:"1;0;1;1;0;1;"})}),r.push(s),r.push({tag:"path",attributes:Fe(Fe({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:Fe(Fe({},a),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:Fe(Fe({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Fe(Fe({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},hte={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-symbol"),o=i===null?!1:i===""?!0:i;return n.symbol=o,n}}}},mte=[pee,ete,tte,nte,rte,lte,ute,cte,dte,pte,hte];kee(mte,{mixoutsTo:vi});vi.noAuto;vi.config;vi.library;vi.dom;var bS=vi.parse;vi.findIconDefinition;vi.toHtml;var vte=vi.icon;vi.layer;vi.text;vi.counter;var l7={exports:{}},gte="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",yte=gte,bte=yte;function u7(){}function c7(){}c7.resetWarningCache=u7;var _te=function(){function e(r,i,o,a,s,l){if(l!==bte){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:c7,resetWarningCache:u7};return n.PropTypes=n,n};l7.exports=_te();var wte=l7.exports;const U=Cu(wte);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 Cs(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function Ote(e,t){if(e==null)return{};var n=xte(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function _S(e){return Ste(e)||Ete(e)||Tte(e)||Cte()}function Ste(e){if(Array.isArray(e))return wS(e)}function Ete(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Tte(e,t){if(e){if(typeof e=="string")return wS(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 wS(e,t)}}function wS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var r=(t.children||[]).map(function(l){return d7(e,l)}),i=Object.keys(t.attributes||{}).reduce(function(l,u){var f=t.attributes[u];switch(u){case"class":l.attrs.className=f,delete t.attributes.class;break;case"style":l.attrs.style=Nte(f);break;default:u.indexOf("aria-")===0||u.indexOf("data-")===0?l.attrs[u.toLowerCase()]=f:l.attrs[f7(u)]=f}return l},{attrs:{}}),o=n.style,a=o===void 0?{}:o,s=Ote(n,Pte);return i.attrs.style=Cs(Cs({},i.attrs.style),a),e.apply(void 0,[t.tag,Cs(Cs({},i.attrs),s)].concat(_S(r)))}var p7=!1;try{p7=!0}catch{}function Mte(){if(!p7&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function HM(e){if(e&&p0(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(bS.icon)return bS.icon(e);if(e===null)return null;if(e&&p0(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 Ux(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Pc({},e,t):{}}var Le=N.forwardRef(function(e,t){var n=e.icon,r=e.mask,i=e.symbol,o=e.className,a=e.title,s=e.titleId,l=e.maskId,u=HM(n),f=Ux("classes",[].concat(_S(kte(e)),_S(o.split(" ")))),d=Ux("transform",typeof e.transform=="string"?bS.transform(e.transform):e.transform),p=Ux("mask",HM(r)),m=vte(u,Cs(Cs(Cs(Cs({},f),d),p),{},{symbol:i,title:a,titleId:s,maskId:l}));if(!m)return Mte("Could not find icon",u),null;var v=m.abstract,g={ref:t};return Object.keys(e).forEach(function(w){Le.defaultProps.hasOwnProperty(w)||(g[w]=e[w])}),Lte(v[0],g)});Le.displayName="FontAwesomeIcon";Le.propTypes={beat:U.bool,border:U.bool,beatFade:U.bool,bounce:U.bool,className:U.string,fade:U.bool,flash:U.bool,mask:U.oneOfType([U.object,U.array,U.string]),maskId:U.string,fixedWidth:U.bool,inverse:U.bool,flip:U.oneOf([!0,!1,"horizontal","vertical","both"]),icon:U.oneOfType([U.object,U.array,U.string]),listItem:U.bool,pull:U.oneOf(["right","left"]),pulse:U.bool,rotation:U.oneOf([0,90,180,270]),shake:U.bool,size:U.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:U.bool,spinPulse:U.bool,spinReverse:U.bool,symbol:U.oneOfType([U.bool,U.string]),title:U.string,titleId:U.string,transform:U.oneOfType([U.string,U.object]),swapOpacity:U.bool};Le.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var Lte=d7.bind(null,N.createElement),h7={exports:{}};/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r=[],i=0;i0?"".concat(e,"px"):null}function Ite(){return document.body.clientWidth0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$te;return t?e.split(" ").map(function(n){return t[n]||n}).join(" "):e}function al(e,t){var n={};return Object.keys(e).forEach(function(r){t.indexOf(r)===-1&&(n[r]=e[r])}),n}function v7(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 WM={};function xS(e){WM[e]||(typeof console<"u"&&console.error(e),WM[e]=!0)}function g7(e,t){return function(r,i,o){r[i]!==null&&typeof r[i]<"u"&&xS('"'.concat(i,'" property of "').concat(o,`" has been deprecated. +`).concat(t));for(var a=arguments.length,s=new Array(a>3?a-3:0),l=3;l"u"?"undefined":lf(window))==="object"&&window.Element||function(){};function mj(e,t,n){if(!(e[t]instanceof Bte))return new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Expected prop to be an instance of Element. Validation failed.")}var uf=U.oneOfType([U.string,U.func,mj,U.shape({current:U.any})]),ft=U.oneOfType([U.func,U.string,U.shape({$$typeof:U.symbol,render:U.func}),U.arrayOf(U.oneOfType([U.func,U.string,U.shape({$$typeof:U.symbol,render:U.func})]))]),h0={Fade:150,Collapse:350,Modal:300,Carousel:600,Offcanvas:300},m0=["in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],Eg={ENTERING:"entering",ENTERED:"entered",EXITING:"exiting",EXITED:"exited"},kt={esc:27,space:32,enter:13,tab:9,up:38,down:40,home:36,end:35,n:78,p:80},zte=["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"],vj=!!(typeof window<"u"&&window.document&&window.document.createElement);function Vte(e){return e&&lf(e)==="object"?"current"in e:!1}function y7(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function OS(e){var t=lf(e);return e!=null&&(t==="object"||t==="function")}function YM(e){var t=lf(e),n=0/0;if(t==="number")return e;if(t==="symbol"||t==="object"&&y7(e)==="[object Symbol]")return n;if(OS(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=OS(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 Hte(e){if(!OS(e))return!1;var t=y7(e);return t==="[object Function]"||t==="[object AsyncFunction]"||t==="[object GeneratorFunction]"||t==="[object Proxy]"}function Wte(e){if(Vte(e))return e.current;if(Hte(e))return e();if(typeof e=="string"&&vj){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 GM(e){return e===null?!1:Array.isArray(e)||vj&&typeof e.length=="number"}function Uh(e,t){var n=Wte(e);return t?GM(n)?n:n===null?[]:[n]:GM(n)?n[0]:n}var Yte=["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"])'],Gte=["className","cssModule","noGutters","tag","widths"];function SS(){return SS=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Kte(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Zte=["xs","sm","md","lg","xl","xxl"],Qu=U.oneOfType([U.number,U.string]),Xte={tag:ft,noGutters:g7(U.bool,"Please use Bootstrap 5 gutter utility classes. https://getbootstrap.com/docs/5.0/layout/gutters/"),className:U.string,cssModule:U.object,xs:Qu,sm:Qu,md:Qu,lg:Qu,xl:Qu,xxl:Qu,widths:U.array};function kr(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?Zte:a,l=qte(e,Gte),u=[];s.forEach(function(d,p){var m=e[d];if(delete l[d],!!m){var v=!p;u.push(v?"row-cols-".concat(m):"row-cols-".concat(d,"-").concat(m))}});var f=qe(Xe(t,r?"gx-0":null,"row",u),n);return N.createElement(o,SS({},l,{className:f}))}kr.propTypes=Xte;var Qte=["expand","className","cssModule","light","dark","fixed","sticky","color","container","tag","children"];function ES(){return ES=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ene(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var tne={children:U.node,className:U.string,color:U.string,container:U.oneOfType([U.bool,U.string]),cssModule:U.object,dark:U.bool,expand:U.oneOfType([U.bool,U.string]),fixed:U.string,light:U.bool,role:U.string,sticky:U.string,tag:ft},nne=function(t){return t===!1?!1:t===!0||t==="xs"?"navbar-expand":"navbar-expand-".concat(t)};function b7(e){var t,n=e.expand,r=n===void 0?!1:n,i=e.className,o=e.cssModule,a=e.light,s=e.dark,l=e.fixed,u=e.sticky,f=e.color,d=e.container,p=d===void 0?"fluid":d,m=e.tag,v=m===void 0?"nav":m,g=e.children,w=Jte(e,Qte),y=qe(Xe(i,"navbar",nne(r),(t={"navbar-light":a,"navbar-dark":s},$x(t,"bg-".concat(f),f),$x(t,"fixed-".concat(l),l),$x(t,"sticky-".concat(u),u),t)),o),b=p&&p===!0?"container":"container-".concat(p);return N.createElement(v,ES({},w,{className:y}),p?N.createElement("div",{className:b},g):g)}b7.propTypes=tne;var rne=["className","cssModule","tag"];function TS(){return TS=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function one(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var ane={className:U.string,cssModule:U.object,tag:ft};function _7(e){var t=e.className,n=e.cssModule,r=e.tag,i=r===void 0?"a":r,o=ine(e,rne),a=qe(Xe(t,"navbar-brand"),n);return N.createElement(i,TS({},o,{className:a}))}_7.propTypes=ane;var sne=["className","cssModule","children","tag"];function CS(){return CS=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function fne(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var dne={className:U.string,cssModule:U.object,tag:ft,type:U.string,children:U.node};function w7(e){var t=e.className,n=e.cssModule,r=e.children,i=e.tag,o=i===void 0?"button":i,a=cne(e,sne),s=qe(Xe(t,"navbar-toggler"),n);return N.createElement(o,CS({"aria-label":"Toggle navigation"},lne({type:"button"},a),{className:s}),r||N.createElement("span",{className:qe("navbar-toggler-icon",n)}))}w7.propTypes=dne;var pne=["className","cssModule","tabs","pills","vertical","horizontal","justified","fill","navbar","card","tag"];function kS(){return kS=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function mne(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var vne={card:U.bool,className:U.string,cssModule:U.object,fill:U.bool,horizontal:U.oneOf(["center","end"]),justified:U.bool,navbar:U.bool,pills:U.bool,tabs:U.bool,tag:ft,vertical:U.oneOfType([U.bool,U.string])},gne=function(t){return t===!1?!1:t===!0||t==="xs"?"flex-column":"flex-".concat(t,"-column")};function gj(e){var t=e.className,n=e.cssModule,r=e.tabs,i=e.pills,o=e.vertical,a=o===void 0?!1:o,s=e.horizontal,l=e.justified,u=e.fill,f=e.navbar,d=e.card,p=e.tag,m=p===void 0?"ul":p,v=hne(e,pne),g=qe(Xe(t,f?"navbar-nav":"nav",s?"justify-content-".concat(s):!1,gne(a),{"nav-tabs":r,"card-header-tabs":d&&r,"nav-pills":i,"card-header-pills":d&&i,"nav-justified":l,"nav-fill":u}),n);return N.createElement(m,kS({},v,{className:g}))}gj.propTypes=vne;var yne=["className","cssModule","active","tag"];function jS(){return jS=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function _ne(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var wne={active:U.bool,className:U.string,cssModule:U.object,tag:ft};function yj(e){var t=e.className,n=e.cssModule,r=e.active,i=e.tag,o=i===void 0?"li":i,a=bne(e,yne),s=qe(Xe(t,"nav-item",r?"active":!1),n);return N.createElement(o,jS({},a,{className:s}))}yj.propTypes=wne;function PS(e){"@babel/helpers - typeof";return PS=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},PS(e)}var xne=["className","cssModule","active","tag","innerRef"];function AS(){return AS=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Sne(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Ene(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KM(e,t){for(var n=0;n"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 v0(e){return v0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},v0(e)}var Ane={active:U.bool,className:U.string,cssModule:U.object,disabled:U.bool,href:U.any,innerRef:U.oneOfType([U.object,U.func,U.string]),onClick:U.func,tag:ft},O7=function(e){Cne(n,e);var t=kne(n);function n(r){var i;return Ene(this,n),i=t.call(this,r),i.onClick=i.onClick.bind(x7(i)),i}return Tne(n,[{key:"onClick",value:function(i){if(this.props.disabled){i.preventDefault();return}this.props.href==="#"&&i.preventDefault(),this.props.onClick&&this.props.onClick(i)}},{key:"render",value:function(){var i=this.props,o=i.className,a=i.cssModule,s=i.active,l=i.tag,u=l===void 0?"a":l,f=i.innerRef,d=One(i,xne),p=qe(Xe(o,"nav-link",{disabled:d.disabled,active:s}),a);return N.createElement(u,AS({},d,{ref:f,onClick:this.onClick,className:p}))}}]),n}(N.Component);O7.propTypes=Ane;const S7=O7;var Nne=["className","cssModule","variant","innerRef"];function MS(){return MS=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Dne(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Ine={active:U.bool,"aria-label":U.string,onClick:U.func,variant:U.oneOf(["white"]),className:U.string,cssModule:U.object,innerRef:U.oneOfType([U.object,U.string,U.func])};function E7(e){var t=e.className;e.cssModule;var n=e.variant,r=e.innerRef,i=Rne(e,Nne),o=qe(Xe(t,"btn-close",n&&"btn-close-".concat(n)));return N.createElement("button",MS({ref:r,type:"button",className:o},Mne({"aria-label":"close"},i)))}E7.propTypes=Ine;var Fne=["active","aria-label","block","className","close","cssModule","color","outline","size","tag","innerRef"];function LS(){return LS=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function $ne(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Bne={active:U.bool,"aria-label":U.string,block:U.bool,children:U.node,className:U.string,cssModule:U.object,close:U.bool,color:U.string,disabled:U.bool,innerRef:U.oneOfType([U.object,U.func,U.string]),onClick:U.func,outline:U.bool,size:U.string,tag:ft};function wt(e){var t=F.useCallback(function(b){if(e.disabled){b.preventDefault();return}if(e.onClick)return e.onClick(b)},[e.onClick,e.disabled]),n=e.active,r=e["aria-label"],i=e.block,o=e.className,a=e.close,s=e.cssModule,l=e.color,u=l===void 0?"secondary":l,f=e.outline,d=e.size,p=e.tag,m=p===void 0?"button":p,v=e.innerRef,g=Une(e,Fne);if(a)return N.createElement(E7,g);var w="btn".concat(f?"-outline":"","-").concat(u),y=qe(Xe(o,"btn",w,d?"btn-".concat(d):!1,i?"d-block w-100":!1,{active:n,disabled:e.disabled}),s);return g.href&&m==="button"&&(m="a"),N.createElement(m,LS({type:m==="button"&&g.onClick?"button":void 0},g,{className:y,ref:v,onClick:t,"aria-label":r}))}wt.propTypes=Bne;var T7=F.createContext(),C7=F.createContext();function XM(e){var t=e.children,n=F.useState(null),r=n[0],i=n[1],o=F.useRef(!1);F.useEffect(function(){return function(){o.current=!0}},[]);var a=F.useCallback(function(s){o.current||i(s)},[]);return F.createElement(T7.Provider,{value:r},F.createElement(C7.Provider,{value:a},t))}var k7=function(t){return Array.isArray(t)?t[0]:t},j7=function(t){if(typeof t=="function"){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i"u")return!1;var t=li(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function ere(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!Mi(o)||!Xo(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function tre(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,u){return l[u]="",l},{});!Mi(i)||!Xo(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const nre={name:"applyStyles",enabled:!0,phase:"write",fn:ere,effect:tre,requires:["computeStyles"]};function Vo(e){return e.split("-")[0]}var tu=Math.max,g0=Math.min,ff=Math.round;function DS(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function N7(){return!/^((?!chrome|android).)*safari/i.test(DS())}function df(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&Mi(e)&&(i=e.offsetWidth>0&&ff(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&ff(r.height)/e.offsetHeight||1);var a=gu(e)?li(e):window,s=a.visualViewport,l=!N7()&&n,u=(r.left+(l&&s?s.offsetLeft:0))/i,f=(r.top+(l&&s?s.offsetTop:0))/o,d=r.width/i,p=r.height/o;return{width:d,height:p,top:f,right:u+d,bottom:f+p,left:u,x:u,y:f}}function wj(e){var t=df(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function M7(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&_j(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ra(e){return li(e).getComputedStyle(e)}function rre(e){return["table","td","th"].indexOf(Xo(e))>=0}function sl(e){return((gu(e)?e.ownerDocument:e.document)||window.document).documentElement}function N_(e){return Xo(e)==="html"?e:e.assignedSlot||e.parentNode||(_j(e)?e.host:null)||sl(e)}function tL(e){return!Mi(e)||Ra(e).position==="fixed"?null:e.offsetParent}function ire(e){var t=/firefox/i.test(DS()),n=/Trident/i.test(DS());if(n&&Mi(e)){var r=Ra(e);if(r.position==="fixed")return null}var i=N_(e);for(_j(i)&&(i=i.host);Mi(i)&&["html","body"].indexOf(Xo(i))<0;){var o=Ra(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function tv(e){for(var t=li(e),n=tL(e);n&&rre(n)&&Ra(n).position==="static";)n=tL(n);return n&&(Xo(n)==="html"||Xo(n)==="body"&&Ra(n).position==="static")?t:n||ire(e)||t}function xj(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Yp(e,t,n){return tu(e,g0(t,n))}function ore(e,t,n){var r=Yp(e,t,n);return r>n?n:r}function L7(){return{top:0,right:0,bottom:0,left:0}}function R7(e){return Object.assign({},L7(),e)}function D7(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var are=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,R7(typeof t!="number"?t:D7(t,ev))};function sre(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Vo(n.placement),l=xj(s),u=[Wr,Bi].indexOf(s)>=0,f=u?"height":"width";if(!(!o||!a)){var d=are(i.padding,n),p=wj(o),m=l==="y"?Hr:Wr,v=l==="y"?$i:Bi,g=n.rects.reference[f]+n.rects.reference[l]-a[l]-n.rects.popper[f],w=a[l]-n.rects.reference[l],y=tv(o),b=y?l==="y"?y.clientHeight||0:y.clientWidth||0:0,x=g/2-w/2,O=d[m],E=b-p[f]-d[v],T=b/2-p[f]/2+x,k=Yp(O,T,E),A=l;n.modifiersData[r]=(t={},t[A]=k,t.centerOffset=k-T,t)}}function lre(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||M7(t.elements.popper,i)&&(t.elements.arrow=i))}const ure={name:"arrow",enabled:!0,phase:"main",fn:sre,effect:lre,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function pf(e){return e.split("-")[1]}var cre={top:"auto",right:"auto",bottom:"auto",left:"auto"};function fre(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:ff(n*i)/i||0,y:ff(r*i)/i||0}}function nL(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,f=e.roundOffsets,d=e.isFixed,p=a.x,m=p===void 0?0:p,v=a.y,g=v===void 0?0:v,w=typeof f=="function"?f({x:m,y:g}):{x:m,y:g};m=w.x,g=w.y;var y=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),x=Wr,O=Hr,E=window;if(u){var T=tv(n),k="clientHeight",A="clientWidth";if(T===li(n)&&(T=sl(n),Ra(T).position!=="static"&&s==="absolute"&&(k="scrollHeight",A="scrollWidth")),T=T,i===Hr||(i===Wr||i===Bi)&&o===$h){O=$i;var D=d&&T===E&&E.visualViewport?E.visualViewport.height:T[k];g-=D-r.height,g*=l?1:-1}if(i===Wr||(i===Hr||i===$i)&&o===$h){x=Bi;var R=d&&T===E&&E.visualViewport?E.visualViewport.width:T[A];m-=R-r.width,m*=l?1:-1}}var I=Object.assign({position:s},u&&cre),z=f===!0?fre({x:m,y:g},li(n)):{x:m,y:g};if(m=z.x,g=z.y,l){var G;return Object.assign({},I,(G={},G[O]=b?"0":"",G[x]=y?"0":"",G.transform=(E.devicePixelRatio||1)<=1?"translate("+m+"px, "+g+"px)":"translate3d("+m+"px, "+g+"px, 0)",G))}return Object.assign({},I,(t={},t[O]=b?g+"px":"",t[x]=y?m+"px":"",t.transform="",t))}function dre(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:Vo(t.placement),variation:pf(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,nL(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,nL(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const pre={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:dre,data:{}};var Tg={passive:!0};function hre(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=li(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(f){f.addEventListener("scroll",n.update,Tg)}),s&&l.addEventListener("resize",n.update,Tg),function(){o&&u.forEach(function(f){f.removeEventListener("scroll",n.update,Tg)}),s&&l.removeEventListener("resize",n.update,Tg)}}const mre={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:hre,data:{}};var vre={left:"right",right:"left",bottom:"top",top:"bottom"};function gy(e){return e.replace(/left|right|bottom|top/g,function(t){return vre[t]})}var gre={start:"end",end:"start"};function rL(e){return e.replace(/start|end/g,function(t){return gre[t]})}function Oj(e){var t=li(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Sj(e){return df(sl(e)).left+Oj(e).scrollLeft}function yre(e,t){var n=li(e),r=sl(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var u=N7();(u||!u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+Sj(e),y:l}}function bre(e){var t,n=sl(e),r=Oj(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=tu(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=tu(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+Sj(e),l=-r.scrollTop;return Ra(i||n).direction==="rtl"&&(s+=tu(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function Ej(e){var t=Ra(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function I7(e){return["html","body","#document"].indexOf(Xo(e))>=0?e.ownerDocument.body:Mi(e)&&Ej(e)?e:I7(N_(e))}function Gp(e,t){var n;t===void 0&&(t=[]);var r=I7(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=li(r),a=i?[o].concat(o.visualViewport||[],Ej(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(Gp(N_(a)))}function IS(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function _re(e,t){var n=df(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function iL(e,t,n){return t===P7?IS(yre(e,n)):gu(t)?_re(t,n):IS(bre(sl(e)))}function wre(e){var t=Gp(N_(e)),n=["absolute","fixed"].indexOf(Ra(e).position)>=0,r=n&&Mi(e)?tv(e):e;return gu(r)?t.filter(function(i){return gu(i)&&M7(i,r)&&Xo(i)!=="body"}):[]}function xre(e,t,n,r){var i=t==="clippingParents"?wre(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,u){var f=iL(e,u,r);return l.top=tu(f.top,l.top),l.right=g0(f.right,l.right),l.bottom=g0(f.bottom,l.bottom),l.left=tu(f.left,l.left),l},iL(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function F7(e){var t=e.reference,n=e.element,r=e.placement,i=r?Vo(r):null,o=r?pf(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case Hr:l={x:a,y:t.y-n.height};break;case $i:l={x:a,y:t.y+t.height};break;case Bi:l={x:t.x+t.width,y:s};break;case Wr:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=i?xj(i):null;if(u!=null){var f=u==="y"?"height":"width";switch(o){case cf:l[u]=l[u]-(t[f]/2-n[f]/2);break;case $h:l[u]=l[u]+(t[f]/2-n[f]/2);break}}return l}function Bh(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,s=n.boundary,l=s===void 0?zne:s,u=n.rootBoundary,f=u===void 0?P7:u,d=n.elementContext,p=d===void 0?np:d,m=n.altBoundary,v=m===void 0?!1:m,g=n.padding,w=g===void 0?0:g,y=R7(typeof w!="number"?w:D7(w,ev)),b=p===np?Vne:np,x=e.rects.popper,O=e.elements[v?b:p],E=xre(gu(O)?O:O.contextElement||sl(e.elements.popper),l,f,a),T=df(e.elements.reference),k=F7({reference:T,element:x,strategy:"absolute",placement:i}),A=IS(Object.assign({},x,k)),D=p===np?A:T,R={top:E.top-D.top+y.top,bottom:D.bottom-E.bottom+y.bottom,left:E.left-D.left+y.left,right:D.right-E.right+y.right},I=e.modifiersData.offset;if(p===np&&I){var z=I[i];Object.keys(R).forEach(function(G){var H=[Bi,$i].indexOf(G)>=0?1:-1,Q=[Hr,$i].indexOf(G)>=0?"y":"x";R[G]+=z[Q]*H})}return R}function Ore(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?A7:l,f=pf(r),d=f?s?eL:eL.filter(function(v){return pf(v)===f}):ev,p=d.filter(function(v){return u.indexOf(v)>=0});p.length===0&&(p=d);var m=p.reduce(function(v,g){return v[g]=Bh(e,{placement:g,boundary:i,rootBoundary:o,padding:a})[Vo(g)],v},{});return Object.keys(m).sort(function(v,g){return m[v]-m[g]})}function Sre(e){if(Vo(e)===bj)return[];var t=gy(e);return[rL(e),t,rL(t)]}function Ere(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,f=n.boundary,d=n.rootBoundary,p=n.altBoundary,m=n.flipVariations,v=m===void 0?!0:m,g=n.allowedAutoPlacements,w=t.options.placement,y=Vo(w),b=y===w,x=l||(b||!v?[gy(w)]:Sre(w)),O=[w].concat(x).reduce(function(ee,ie){return ee.concat(Vo(ie)===bj?Ore(t,{placement:ie,boundary:f,rootBoundary:d,padding:u,flipVariations:v,allowedAutoPlacements:g}):ie)},[]),E=t.rects.reference,T=t.rects.popper,k=new Map,A=!0,D=O[0],R=0;R=0,Q=H?"width":"height",Z=Bh(t,{placement:I,boundary:f,rootBoundary:d,altBoundary:p,padding:u}),te=H?G?Bi:Wr:G?$i:Hr;E[Q]>T[Q]&&(te=gy(te));var X=gy(te),$=[];if(o&&$.push(Z[z]<=0),s&&$.push(Z[te]<=0,Z[X]<=0),$.every(function(ee){return ee})){D=I,A=!1;break}k.set(I,$)}if(A)for(var V=v?3:1,W=function(ie){var se=O.find(function(fe){var j=k.get(fe);if(j)return j.slice(0,ie).every(function(P){return P})});if(se)return D=se,"break"},re=V;re>0;re--){var q=W(re);if(q==="break")break}t.placement!==D&&(t.modifiersData[r]._skip=!0,t.placement=D,t.reset=!0)}}const Tre={name:"flip",enabled:!0,phase:"main",fn:Ere,requiresIfExists:["offset"],data:{_skip:!1}};function oL(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function aL(e){return[Hr,Bi,$i,Wr].some(function(t){return e[t]>=0})}function Cre(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=Bh(t,{elementContext:"reference"}),s=Bh(t,{altBoundary:!0}),l=oL(a,r),u=oL(s,i,o),f=aL(l),d=aL(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:f,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":d})}const kre={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Cre};function jre(e,t,n){var r=Vo(e),i=[Wr,Hr].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[Wr,Bi].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function Pre(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=A7.reduce(function(f,d){return f[d]=jre(d,t.rects,o),f},{}),s=a[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}const Are={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Pre};function Nre(e){var t=e.state,n=e.name;t.modifiersData[n]=F7({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Mre={name:"popperOffsets",enabled:!0,phase:"read",fn:Nre,data:{}};function Lre(e){return e==="x"?"y":"x"}function Rre(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,f=n.altBoundary,d=n.padding,p=n.tether,m=p===void 0?!0:p,v=n.tetherOffset,g=v===void 0?0:v,w=Bh(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:f}),y=Vo(t.placement),b=pf(t.placement),x=!b,O=xj(y),E=Lre(O),T=t.modifiersData.popperOffsets,k=t.rects.reference,A=t.rects.popper,D=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,R=typeof D=="number"?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,z={x:0,y:0};if(T){if(o){var G,H=O==="y"?Hr:Wr,Q=O==="y"?$i:Bi,Z=O==="y"?"height":"width",te=T[O],X=te+w[H],$=te-w[Q],V=m?-A[Z]/2:0,W=b===cf?k[Z]:A[Z],re=b===cf?-A[Z]:-k[Z],q=t.elements.arrow,ee=m&&q?wj(q):{width:0,height:0},ie=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:L7(),se=ie[H],fe=ie[Q],j=Yp(0,k[Z],ee[Z]),P=x?k[Z]/2-V-j-se-R.mainAxis:W-j-se-R.mainAxis,B=x?-k[Z]/2+V+j+fe+R.mainAxis:re+j+fe+R.mainAxis,J=t.elements.arrow&&tv(t.elements.arrow),K=J?O==="y"?J.clientTop||0:J.clientLeft||0:0,le=(G=I==null?void 0:I[O])!=null?G:0,he=te+P-le-K,Ee=te+B-le,ue=Yp(m?g0(X,he):X,te,m?tu($,Ee):$);T[O]=ue,z[O]=ue-te}if(s){var ve,ge=O==="x"?Hr:Wr,Oe=O==="x"?$i:Bi,Ce=T[E],ke=E==="y"?"height":"width",Ae=Ce+w[ge],ce=Ce-w[Oe],de=[Hr,Wr].indexOf(y)!==-1,_e=(ve=I==null?void 0:I[E])!=null?ve:0,be=de?Ae:Ce-k[ke]-A[ke]-_e+R.altAxis,Se=de?Ce+k[ke]+A[ke]-_e-R.altAxis:ce,Me=m&&de?ore(be,Ce,Se):Yp(m?be:Ae,Ce,m?Se:ce);T[E]=Me,z[E]=Me-Ce}t.modifiersData[r]=z}}const Dre={name:"preventOverflow",enabled:!0,phase:"main",fn:Rre,requiresIfExists:["offset"]};function Ire(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Fre(e){return e===li(e)||!Mi(e)?Oj(e):Ire(e)}function Ure(e){var t=e.getBoundingClientRect(),n=ff(t.width)/e.offsetWidth||1,r=ff(t.height)/e.offsetHeight||1;return n!==1||r!==1}function $re(e,t,n){n===void 0&&(n=!1);var r=Mi(t),i=Mi(t)&&Ure(t),o=sl(t),a=df(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Xo(t)!=="body"||Ej(o))&&(s=Fre(t)),Mi(t)?(l=df(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=Sj(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Bre(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function zre(e){var t=Bre(e);return Jne.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function Vre(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Hre(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var sL={placement:"bottom",modifiers:[],strategy:"absolute"};function lL(){for(var e=arguments.length,t=new Array(e),n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function fie(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function die(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uL(e,t){for(var n=0;n"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 y0(e){return y0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},y0(e)}var yie={a11y:U.bool,disabled:U.bool,direction:U.oneOf(["up","down","start","end","left","right"]),group:U.bool,isOpen:U.bool,nav:U.bool,active:U.bool,size:U.string,tag:ft,toggle:U.func,children:U.node,className:U.string,cssModule:U.object,dropup:U.bool,inNavbar:U.bool,setActiveFromChild:U.bool,menuRole:U.oneOf(["listbox","menu"])},bie={a11y:!0,isOpen:!1,direction:"down",nav:!1,active:!1,inNavbar:!1,setActiveFromChild:!1},_ie=[kt.space,kt.enter,kt.up,kt.down,kt.end,kt.home],M_=function(e){hie(n,e);var t=mie(n);function n(r){var i;return die(this,n),i=t.call(this,r),i.addEvents=i.addEvents.bind(cs(i)),i.handleDocumentClick=i.handleDocumentClick.bind(cs(i)),i.handleKeyDown=i.handleKeyDown.bind(cs(i)),i.removeEvents=i.removeEvents.bind(cs(i)),i.toggle=i.toggle.bind(cs(i)),i.handleMenuRef=i.handleMenuRef.bind(cs(i)),i.handleToggleRef=i.handleToggleRef.bind(cs(i)),i.containerRef=N.createRef(),i.menuRef=N.createRef(),i.toggleRef=N.createRef(),i}return pie(n,[{key:"componentDidMount",value:function(){this.handleProps()}},{key:"componentDidUpdate",value:function(i){this.props.isOpen!==i.isOpen&&this.handleProps()}},{key:"componentWillUnmount",value:function(){this.removeEvents()}},{key:"handleMenuRef",value:function(i){this.menuRef.current=i}},{key:"handleToggleRef",value:function(i){this.toggleRef.current=i}},{key:"handleDocumentClick",value:function(i){if(!(i&&(i.which===3||i.type==="keyup"&&i.which!==kt.tab))){var o=this.getContainer(),a=this.getMenu(),s=this.getToggle();if(s){var l=s.contains(i.target),u=a&&a.contains(i.target)&&a!==i.target,f=!1;o&&(f=o.classList.contains("input-group")&&o.classList.contains("dropdown")&&i.target.tagName==="INPUT"),!((l&&!f||u)&&(i.type!=="keyup"||i.which===kt.tab))&&this.toggle(i)}}}},{key:"handleKeyDown",value:function(i){var o=this,a=i.target.getAttribute("role")==="menuitem"||i.target.getAttribute("role")==="option",s=this.getMenuCtrl()===i.target,l=kt.tab===i.which;if(!(/input|textarea/i.test(i.target.tagName)||l&&!this.props.a11y||l&&!(a||s))&&((_ie.indexOf(i.which)!==-1||i.which>=48&&i.which<=90)&&i.preventDefault(),!this.props.disabled)){if(s)if([kt.space,kt.enter,kt.up,kt.down].indexOf(i.which)>-1)this.props.isOpen||this.toggle(i),setTimeout(function(){var b;return(b=o.getMenuItems()[0])===null||b===void 0?void 0:b.focus()});else if(this.props.isOpen&&l){var u;i.preventDefault(),(u=this.getMenuItems()[0])===null||u===void 0||u.focus()}else this.props.isOpen&&i.which===kt.esc&&this.toggle(i);if(this.props.isOpen&&a){if([kt.tab,kt.esc].indexOf(i.which)>-1)this.toggle(i),this.getMenuCtrl().focus();else if([kt.space,kt.enter].indexOf(i.which)>-1)i.target.click(),this.getMenuCtrl().focus();else if([kt.down,kt.up].indexOf(i.which)>-1||[kt.n,kt.p].indexOf(i.which)>-1&&i.ctrlKey){var f=this.getMenuItems(),d=f.indexOf(i.target);kt.up===i.which||kt.p===i.which&&i.ctrlKey?d=d!==0?d-1:f.length-1:(kt.down===i.which||kt.n===i.which&&i.ctrlKey)&&(d=d===f.length-1?0:d+1),f[d].focus()}else if(kt.end===i.which){var p=this.getMenuItems();p[p.length-1].focus()}else if(kt.home===i.which){var m=this.getMenuItems();m[0].focus()}else if(i.which>=48&&i.which<=90)for(var v=this.getMenuItems(),g=String.fromCharCode(i.which).toLowerCase(),w=0;w=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Oie(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Sie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cL(e,t){for(var n=0;n"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 b0(e){return b0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},b0(e)}var Pie={children:U.node,active:U.bool,disabled:U.bool,divider:U.bool,tag:ft,header:U.bool,onClick:U.func,className:U.string,cssModule:U.object,toggle:U.bool,text:U.bool},Tj=function(e){Tie(n,e);var t=Cie(n);function n(r){var i;return Sie(this,n),i=t.call(this,r),i.onClick=i.onClick.bind(HS(i)),i.getTabIndex=i.getTabIndex.bind(HS(i)),i}return Eie(n,[{key:"onClick",value:function(i){var o,a=this.props,s=a.disabled,l=a.header,u=a.divider,f=a.text;if(s||l||u||f){i.preventDefault();return}this.props.onClick&&this.props.onClick(i),(!((o=this.props.toggle)!==null&&o!==void 0)||o)&&this.context.toggle(i)}},{key:"getRole",value:function(){return this.context.menuRole==="listbox"?"option":"menuitem"}},{key:"getTabIndex",value:function(){var i=this.props,o=i.disabled,a=i.header,s=i.divider,l=i.text;return o||a||s||l?"-1":"0"}},{key:"render",value:function(){var i=this.getTabIndex(),o=i>-1?this.getRole():void 0,a=al(this.props,["toggle"]),s=a.className,l=a.cssModule,u=a.divider,f=a.tag,d=f===void 0?"button":f,p=a.header,m=a.active,v=a.text,g=xie(a,wie),w=qe(Xe(s,{disabled:g.disabled,"dropdown-item":!u&&!p&&!v,active:m,"dropdown-header":p,"dropdown-divider":u,"dropdown-item-text":v}),l);return d==="button"&&(p?d="h6":u?d="div":g.href?d="a":v&&(d="span")),N.createElement(d,zS({type:d==="button"&&(g.onClick||this.props.toggle)?"button":void 0},g,{tabIndex:i,role:o,className:w,onClick:this.onClick}))}}]),n}(N.Component);Tj.propTypes=Pie;Tj.contextType=zh;const ze=Tj;function WS(e){"@babel/helpers - typeof";return WS=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},WS(e)}var Aie=["className","cssModule","dark","end","right","tag","flip","modifiers","persist","strategy","container","updateOnSelect"];function _0(){return _0=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Uie(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function $ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dL(e,t){for(var n=0;n"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 w0(e){return w0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},w0(e)}var Gie={tag:ft,children:U.node.isRequired,dark:U.bool,end:U.bool,flip:U.bool,modifiers:U.array,className:U.string,cssModule:U.object,style:U.object,persist:U.bool,strategy:U.string,container:uf,updateOnSelect:U.bool,right:g7(U.bool,'Please use "end" instead.')},qie={up:"top",left:"left",right:"right",start:"left",end:"right",down:"bottom"},Cj=function(e){zie(n,e);var t=Vie(n);function n(){return $ie(this,n),t.apply(this,arguments)}return Bie(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,l=o.dark,u=o.end,f=o.right,d=o.tag,p=d===void 0?"div":d,m=o.flip,v=m===void 0?!0:m,g=o.modifiers,w=g===void 0?[]:g,y=o.persist,b=o.strategy,x=o.container,O=o.updateOnSelect,E=Fie(o,Aie),T=qe(Xe(a,"dropdown-menu",{"dropdown-menu-dark":l,"dropdown-menu-end":u||f,show:this.context.isOpen}),s),k=p;if(y||this.context.isOpen&&!this.context.inNavbar){var A=qie[this.context.direction]||"bottom",D=u||f?"end":"start",R="".concat(A,"-").concat(D),I=[].concat(Mie(w),[{name:"flip",enabled:!!v}]),z={};y&&(z.display="block",z.visibility=this.context.isOpen?"visible":"hidden");var G=N.createElement(U7,{placement:R,modifiers:I,strategy:b},function(Q){var Z=Q.ref,te=Q.style,X=Q.placement,$=Q.update,V=Bx(Bx(Bx({},i.props.style),z),te),W=function(q){Z(q);var ee=i.context.onMenuRef;ee&&ee(q)};return N.createElement(k,_0({tabIndex:"-1",role:i.getRole(),ref:W},E,{style:V,"aria-hidden":!i.context.isOpen,className:T,"data-popper-placement":X,onClick:function(){return O&&$()}}))});return x?eu.createPortal(G,Uh(x)):G}var H=this.context.onMenuRef;return N.createElement(k,_0({tabIndex:"-1",role:this.getRole()},E,{ref:H,"aria-hidden":!this.context.isOpen,className:T,"data-popper-placement":E.placement,"data-bs-popper":"static"}))}}]),n}(N.Component);Cj.propTypes=Gie;Cj.contextType=zh;const ld=Cj;function qS(e){"@babel/helpers - typeof";return qS=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},qS(e)}var Kie=["className","color","cssModule","caret","split","nav","tag","innerRef"];function KS(){return KS=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Qie(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Jie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pL(e,t){for(var n=0;n"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 x0(e){return x0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},x0(e)}var ooe={caret:U.bool,color:U.string,children:U.node,className:U.string,cssModule:U.object,disabled:U.bool,onClick:U.func,"aria-haspopup":U.bool,split:U.bool,tag:ft,nav:U.bool,innerRef:U.oneOfType([U.object,U.string,U.func])},aoe={color:"secondary","aria-haspopup":!0},L_=function(e){toe(n,e);var t=noe(n);function n(r){var i;return Jie(this,n),i=t.call(this,r),i.onClick=i.onClick.bind(B7(i)),i}return eoe(n,[{key:"onClick",value:function(i){if(this.props.disabled||this.context.disabled){i.preventDefault();return}this.props.nav&&!this.props.tag&&i.preventDefault(),this.props.onClick&&this.props.onClick(i),this.context.toggle(i)}},{key:"getRole",value:function(){return this.context.menuRole||this.props["aria-haspopup"]}},{key:"render",value:function(){var i=this,o=this.props,a=o.className,s=o.color,l=o.cssModule,u=o.caret,f=o.split,d=o.nav,p=o.tag,m=o.innerRef,v=Xie(o,Kie),g=v["aria-label"]||"Toggle Dropdown",w=qe(Xe(a,{"dropdown-toggle":u||f,"dropdown-toggle-split":f,"nav-link":d}),l),y=typeof v.children<"u"?v.children:N.createElement("span",{className:"visually-hidden"},g),b;d&&!p?(b="a",v.href="#"):p?b=p:(b=wt,v.color=s,v.cssModule=l);var x=function(E){var T=E.ref,k=function(D){T(D);var R=i.context.onToggleRef;R&&R(D)};return N.createElement(b,KS({},v,Zie({},typeof b=="string"?"ref":"innerRef",k),{className:w,onClick:i.onClick,"aria-expanded":i.context.isOpen,"aria-haspopup":i.getRole(),children:y}))};return this.context.inNavbar?N.createElement(N.Fragment,null,x({ref:this.context.onToggleRef})):N.createElement(lie,{innerRef:m},x)}}]),n}(N.Component);L_.propTypes=ooe;L_.defaultProps=aoe;L_.contextType=zh;const ud=L_;function soe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function XS(e,t){return XS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},XS(e,t)}function loe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,XS(e,t)}const hL={disabled:!1},z7=N.createContext(null);var Ep="unmounted",Al="exited",Nl="entering",fc="entered",QS="exiting",qa=function(e){loe(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var a=i,s=a&&!a.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?s?(l=Al,o.appearStatus=Nl):l=fc:r.unmountOnExit||r.mountOnEnter?l=Ep:l=Al,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===Ep?{status:Al}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==Nl&&a!==fc&&(o=Nl):(a===Nl||a===fc)&&(o=QS)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,a,s;return o=a=s=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,s=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:s}},n.updateStatus=function(i,o){i===void 0&&(i=!1),o!==null?(this.cancelNextCallback(),o===Nl?this.performEnter(i):this.performExit()):this.props.unmountOnExit&&this.state.status===Al&&this.setState({status:Ep})},n.performEnter=function(i){var o=this,a=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[eu.findDOMNode(this),s],u=l[0],f=l[1],d=this.getTimeouts(),p=s?d.appear:d.enter;if(!i&&!a||hL.disabled){this.safeSetState({status:fc},function(){o.props.onEntered(u)});return}this.props.onEnter(u,f),this.safeSetState({status:Nl},function(){o.props.onEntering(u,f),o.onTransitionEnd(p,function(){o.safeSetState({status:fc},function(){o.props.onEntered(u,f)})})})},n.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:eu.findDOMNode(this);if(!o||hL.disabled){this.safeSetState({status:Al},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:QS},function(){i.props.onExiting(s),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:Al},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:eu.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=l[0],f=l[1];this.props.addEndListener(u,f)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Ep)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=soe(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return N.createElement(z7.Provider,{value:null},typeof a=="function"?a(i,s):N.cloneElement(N.Children.only(a),s))},t}(N.Component);qa.contextType=z7;qa.propTypes={};function Ju(){}qa.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ju,onEntering:Ju,onEntered:Ju,onExit:Ju,onExiting:Ju,onExited:Ju};qa.UNMOUNTED=Ep;qa.EXITED=Al;qa.ENTERING=Nl;qa.ENTERED=fc;qa.EXITING=QS;const cd=qa;var uoe=["tag","baseClass","baseClassActive","className","cssModule","children","innerRef"];function O0(){return O0=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function foe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function mL(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 Vh(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function voe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function goe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vL(e,t){for(var n=0;n"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 E0(e){return E0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},E0(e)}function gL(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 hf(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Poe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Aoe={body:U.bool,className:U.string,color:U.string,cssModule:U.object,innerRef:U.oneOfType([U.object,U.string,U.func]),inverse:U.bool,outline:U.bool,tag:ft};function ui(e){var t=e.className,n=e.cssModule,r=e.color,i=e.body,o=e.inverse,a=e.outline,s=e.tag,l=s===void 0?"div":s,u=e.innerRef,f=joe(e,koe),d=qe(Xe(t,"card",o?"text-white":!1,i?"card-body":!1,r?"".concat(a?"border":"bg","-").concat(r):!1),n);return N.createElement(l,tE({},f,{className:d,ref:u}))}ui.propTypes=Aoe;var Noe=["className","cssModule","innerRef","tag"];function nE(){return nE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Loe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Roe={className:U.string,cssModule:U.object,innerRef:U.oneOfType([U.object,U.string,U.func]),tag:ft};function mf(e){var t=e.className,n=e.cssModule,r=e.innerRef,i=e.tag,o=i===void 0?"div":i,a=Moe(e,Noe),s=qe(Xe(t,"card-body"),n);return N.createElement(o,nE({},a,{className:s,ref:r}))}mf.propTypes=Roe;var Doe=["className","cssModule","tag"];function rE(){return rE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Foe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Uoe={className:U.string,cssModule:U.object,tag:ft};function W7(e){var t=e.className,n=e.cssModule,r=e.tag,i=r===void 0?"div":r,o=Ioe(e,Doe),a=qe(Xe(t,"card-footer"),n);return N.createElement(i,rE({},o,{className:a}))}W7.propTypes=Uoe;var $oe=["className","cssModule","tag"];function iE(){return iE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function zoe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Voe={className:U.string,cssModule:U.object,tag:ft};function vf(e){var t=e.className,n=e.cssModule,r=e.tag,i=r===void 0?"div":r,o=Boe(e,$oe),a=qe(Xe(t,"card-header"),n);return N.createElement(i,iE({},o,{className:a}))}vf.propTypes=Voe;var Hoe=["className","cssModule","tag"];function oE(){return oE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Yoe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Goe={className:U.string,cssModule:U.object,tag:ft};function Y7(e){var t=e.className,n=e.cssModule,r=e.tag,i=r===void 0?"p":r,o=Woe(e,Hoe),a=qe(Xe(t,"card-text"),n);return N.createElement(i,oE({},o,{className:a}))}Y7.propTypes=Goe;var qoe=["className","cssModule","tag"];function aE(){return aE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Zoe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Xoe={className:U.string,cssModule:U.object,tag:ft};function G7(e){var t=e.className,n=e.cssModule,r=e.tag,i=r===void 0?"div":r,o=Koe(e,qoe),a=qe(Xe(t,"card-title"),n);return N.createElement(i,aE({},o,{className:a}))}G7.propTypes=Xoe;function sE(e){"@babel/helpers - typeof";return sE=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},sE(e)}var Qoe=["cssModule","children","isOpen","flip","target","offset","fallbackPlacements","placementPrefix","arrowClassName","hideArrow","popperClassName","tag","container","modifiers","strategy","boundariesElement","onClosed","fade","transition","placement"];function lE(){return lE=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function iae(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function oae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bL(e,t){for(var n=0;n"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 T0(e){return T0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},T0(e)}function _L(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 by(e){for(var t=1;t"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 C0(e){return C0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},C0(e)}var Pj={children:U.oneOfType([U.node,U.func]),placement:U.oneOf(zte),target:uf.isRequired,container:uf,isOpen:U.bool,disabled:U.bool,hideArrow:U.bool,boundariesElement:U.oneOfType([U.string,mj]),className:U.string,innerClassName:U.string,arrowClassName:U.string,popperClassName:U.string,cssModule:U.object,toggle:U.func,autohide:U.bool,placementPrefix:U.string,delay:U.oneOfType([U.shape({show:U.number,hide:U.number}),U.number]),modifiers:U.array,strategy:U.string,offset:U.arrayOf(U.number),innerRef:U.oneOfType([U.func,U.string,U.object]),trigger:U.string,fade:U.bool,flip:U.bool},q7={show:0,hide:50},xae={isOpen:!1,hideArrow:!1,autohide:!1,delay:q7,toggle:function(){},trigger:"click",fade:!0};function K7(e,t){return t&&(e===t||t.contains(e))}function xL(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return t&&t.length&&t.filter(function(n){return K7(e,n)})[0]}var Aj=function(e){yae(n,e);var t=bae(n);function n(r){var i;return vae(this,n),i=t.call(this,r),i._targets=[],i.currentTargetElement=null,i.addTargetEvents=i.addTargetEvents.bind(Zr(i)),i.handleDocumentClick=i.handleDocumentClick.bind(Zr(i)),i.removeTargetEvents=i.removeTargetEvents.bind(Zr(i)),i.toggle=i.toggle.bind(Zr(i)),i.showWithDelay=i.showWithDelay.bind(Zr(i)),i.hideWithDelay=i.hideWithDelay.bind(Zr(i)),i.onMouseOverTooltipContent=i.onMouseOverTooltipContent.bind(Zr(i)),i.onMouseLeaveTooltipContent=i.onMouseLeaveTooltipContent.bind(Zr(i)),i.show=i.show.bind(Zr(i)),i.hide=i.hide.bind(Zr(i)),i.onEscKeyDown=i.onEscKeyDown.bind(Zr(i)),i.getRef=i.getRef.bind(Zr(i)),i.state={isOpen:r.isOpen},i._isMounted=!1,i}return gae(n,[{key:"componentDidMount",value:function(){this._isMounted=!0,this.updateTarget()}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.removeTargetEvents(),this._targets=null,this.clearShowTimeout(),this.clearHideTimeout()}},{key:"handleDocumentClick",value:function(i){var o=this.props.trigger.split(" ");o.indexOf("legacy")>-1&&(this.props.isOpen||xL(i.target,this._targets))?(this._hideTimeout&&this.clearHideTimeout(),this.props.isOpen&&!K7(i.target,this._popover)?this.hideWithDelay(i):this.props.isOpen||this.showWithDelay(i)):o.indexOf("click")>-1&&xL(i.target,this._targets)&&(this._hideTimeout&&this.clearHideTimeout(),this.props.isOpen?this.hideWithDelay(i):this.showWithDelay(i))}},{key:"onMouseOverTooltipContent",value:function(){this.props.trigger.indexOf("hover")>-1&&!this.props.autohide&&(this._hideTimeout&&this.clearHideTimeout(),this.state.isOpen&&!this.props.isOpen&&this.toggle())}},{key:"onMouseLeaveTooltipContent",value:function(i){this.props.trigger.indexOf("hover")>-1&&!this.props.autohide&&(this._showTimeout&&this.clearShowTimeout(),i.persist(),this._hideTimeout=setTimeout(this.hide.bind(this,i),this.getDelay("hide")))}},{key:"onEscKeyDown",value:function(i){i.key==="Escape"&&this.hide(i)}},{key:"getRef",value:function(i){var o=this.props.innerRef;o&&(typeof o=="function"?o(i):Hh(o)==="object"&&(o.current=i)),this._popover=i}},{key:"getDelay",value:function(i){var o=this.props.delay;return Hh(o)==="object"?isNaN(o[i])?q7[i]:o[i]:o}},{key:"getCurrentTarget",value:function(i){if(!i)return null;var o=this._targets.indexOf(i);return o>=0?this._targets[o]:this.getCurrentTarget(i.parentElement)}},{key:"show",value:function(i){if(!this.props.isOpen){if(this.clearShowTimeout(),this.currentTargetElement=i?i.currentTarget||this.getCurrentTarget(i.target):null,i&&i.composedPath&&typeof i.composedPath=="function"){var o=i.composedPath();this.currentTargetElement=o&&o[0]||this.currentTargetElement}this.toggle(i)}}},{key:"showWithDelay",value:function(i){this._hideTimeout&&this.clearHideTimeout(),this._showTimeout=setTimeout(this.show.bind(this,i),this.getDelay("show"))}},{key:"hide",value:function(i){this.props.isOpen&&(this.clearHideTimeout(),this.currentTargetElement=null,this.toggle(i))}},{key:"hideWithDelay",value:function(i){this._showTimeout&&this.clearShowTimeout(),this._hideTimeout=setTimeout(this.hide.bind(this,i),this.getDelay("hide"))}},{key:"clearShowTimeout",value:function(){clearTimeout(this._showTimeout),this._showTimeout=void 0}},{key:"clearHideTimeout",value:function(){clearTimeout(this._hideTimeout),this._hideTimeout=void 0}},{key:"addEventOnTargets",value:function(i,o,a){this._targets.forEach(function(s){s.addEventListener(i,o,a)})}},{key:"removeEventOnTargets",value:function(i,o,a){this._targets.forEach(function(s){s.removeEventListener(i,o,a)})}},{key:"addTargetEvents",value:function(){if(this.props.trigger){var i=this.props.trigger.split(" ");i.indexOf("manual")===-1&&((i.indexOf("click")>-1||i.indexOf("legacy")>-1)&&document.addEventListener("click",this.handleDocumentClick,!0),this._targets&&this._targets.length&&(i.indexOf("hover")>-1&&(this.addEventOnTargets("mouseover",this.showWithDelay,!0),this.addEventOnTargets("mouseout",this.hideWithDelay,!0)),i.indexOf("focus")>-1&&(this.addEventOnTargets("focusin",this.show,!0),this.addEventOnTargets("focusout",this.hide,!0)),this.addEventOnTargets("keydown",this.onEscKeyDown,!0)))}}},{key:"removeTargetEvents",value:function(){this._targets&&(this.removeEventOnTargets("mouseover",this.showWithDelay,!0),this.removeEventOnTargets("mouseout",this.hideWithDelay,!0),this.removeEventOnTargets("keydown",this.onEscKeyDown,!0),this.removeEventOnTargets("focusin",this.show,!0),this.removeEventOnTargets("focusout",this.hide,!0)),document.removeEventListener("click",this.handleDocumentClick,!0)}},{key:"updateTarget",value:function(){var i=Uh(this.props.target,!0);i!==this._targets&&(this.removeTargetEvents(),this._targets=i?Array.from(i):[],this.currentTargetElement=this.currentTargetElement||this._targets[0],this.addTargetEvents())}},{key:"toggle",value:function(i){return this.props.disabled||!this._isMounted?i&&i.preventDefault():this.props.toggle(i)}},{key:"render",value:function(){var i=this;this.props.isOpen&&this.updateTarget();var o=this.currentTargetElement||this._targets[0];if(!o)return null;var a=this.props,s=a.className,l=a.cssModule,u=a.innerClassName,f=a.isOpen,d=a.hideArrow,p=a.boundariesElement,m=a.placement,v=a.placementPrefix,g=a.arrowClassName,w=a.popperClassName,y=a.container,b=a.modifiers,x=a.strategy,O=a.offset,E=a.fade,T=a.flip,k=a.children,A=al(this.props,Object.keys(Pj)),D=qe(w,l),R=qe(u,l);return N.createElement(mae,{className:s,target:o,isOpen:f,hideArrow:d,boundariesElement:p,placement:m,placementPrefix:v,arrowClassName:g,popperClassName:D,container:y,modifiers:b,strategy:x,offset:O,cssModule:l,fade:E,flip:T},function(I){var z=I.update;return N.createElement("div",fE({},A,{ref:i.getRef,className:R,role:"tooltip",onMouseOver:i.onMouseOverTooltipContent,onMouseLeave:i.onMouseLeaveTooltipContent,onKeyDown:i.onEscKeyDown}),typeof k=="function"?k({update:z}):k)})}}],[{key:"getDerivedStateFromProps",value:function(i,o){return i.isOpen&&!o.isOpen?{isOpen:i.isOpen}:null}}]),n}(N.Component);Aj.propTypes=Pj;Aj.defaultProps=xae;const Oae=Aj;var Sae=["children","className","barClassName","cssModule","value","min","max","animated","striped","color","bar","multi","tag","style","barStyle","barAriaValueText","barAriaLabelledBy"];function k0(){return k0=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Cae(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var kae={animated:U.bool,bar:U.bool,barAriaLabelledBy:U.string,barAriaValueText:U.string,barClassName:U.string,barStyle:U.object,children:U.node,className:U.string,cssModule:U.object,color:U.string,max:U.oneOfType([U.string,U.number]),min:U.oneOfType([U.string,U.number]),multi:U.bool,striped:U.bool,style:U.object,tag:ft,value:U.oneOfType([U.string,U.number])};function Z7(e){var t=e.children,n=e.className,r=e.barClassName,i=e.cssModule,o=e.value,a=o===void 0?0:o,s=e.min,l=s===void 0?0:s,u=e.max,f=u===void 0?100:u,d=e.animated,p=e.striped,m=e.color,v=e.bar,g=e.multi,w=e.tag,y=w===void 0?"div":w,b=e.style,x=b===void 0?{}:b,O=e.barStyle,E=O===void 0?{}:O,T=e.barAriaValueText,k=e.barAriaLabelledBy,A=Tae(e,Sae),D=YM(a)/YM(f)*100,R=qe(Xe(n,"progress"),i),I=qe(Xe("progress-bar",v&&n||r,d?"progress-bar-animated":null,m?"bg-".concat(m):null,p||d?"progress-bar-striped":null),i),z={className:I,style:zx(zx(zx({},v?x:{}),E),{},{width:"".concat(D,"%")}),role:"progressbar","aria-valuenow":a,"aria-valuemin":l,"aria-valuemax":f,"aria-valuetext":T,"aria-labelledby":k,children:t};return v?N.createElement(y,k0({},A,z)):N.createElement(y,k0({},A,{style:x,className:R}),g?t:N.createElement("div",z))}Z7.propTypes=kae;function pE(e){"@babel/helpers - typeof";return pE=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},pE(e)}function jae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SL(e,t){for(var n=0;n"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 j0(e){return j0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},j0(e)}var Dae={children:U.node.isRequired,node:U.any},X7=function(e){Aae(n,e);var t=Nae(n);function n(){return jae(this,n),t.apply(this,arguments)}return Pae(n,[{key:"componentWillUnmount",value:function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null}},{key:"render",value:function(){return vj?(!this.props.node&&!this.defaultNode&&(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),eu.createPortal(this.props.children,this.props.node||this.defaultNode)):null}}]),n}(N.Component);X7.propTypes=Dae;const Iae=X7;function mE(e){"@babel/helpers - typeof";return mE=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},mE(e)}function EL(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 tc(e){for(var t=1;t"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 P0(e){return P0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},P0(e)}function A0(){}var CL=U.shape(jr.propTypes),Q7={autoFocus:U.bool,backdrop:U.oneOfType([U.bool,U.oneOf(["static"])]),backdropClassName:U.string,backdropTransition:CL,centered:U.bool,children:U.node,contentClassName:U.string,className:U.string,container:uf,cssModule:U.object,external:U.node,fade:U.bool,fullscreen:U.oneOfType([U.bool,U.oneOf(["sm","md","lg","xl"])]),innerRef:U.oneOfType([U.object,U.string,U.func]),isOpen:U.bool,keyboard:U.bool,labelledBy:U.string,modalClassName:U.string,modalTransition:CL,onClosed:U.func,onEnter:U.func,onExit:U.func,onOpened:U.func,returnFocusAfterClose:U.bool,role:U.string,scrollable:U.bool,size:U.string,toggle:U.func,trapFocus:U.bool,unmountOnClose:U.bool,wrapClassName:U.string,zIndex:U.oneOfType([U.number,U.string])},Hae=Object.keys(Q7),Wae={isOpen:!1,autoFocus:!0,centered:!1,scrollable:!1,role:"dialog",backdrop:!0,keyboard:!0,zIndex:1050,fade:!0,onOpened:A0,onClosed:A0,modalTransition:{timeout:h0.Modal},backdropTransition:{mountOnEnter:!0,timeout:h0.Fade},unmountOnClose:!0,returnFocusAfterClose:!0,container:"body",trapFocus:!1},rv=function(e){$ae(n,e);var t=Bae(n);function n(r){var i;return Fae(this,n),i=t.call(this,r),i._element=null,i._originalBodyPadding=null,i.getFocusableChildren=i.getFocusableChildren.bind(Oi(i)),i.handleBackdropClick=i.handleBackdropClick.bind(Oi(i)),i.handleBackdropMouseDown=i.handleBackdropMouseDown.bind(Oi(i)),i.handleEscape=i.handleEscape.bind(Oi(i)),i.handleStaticBackdropAnimation=i.handleStaticBackdropAnimation.bind(Oi(i)),i.handleTab=i.handleTab.bind(Oi(i)),i.onOpened=i.onOpened.bind(Oi(i)),i.onClosed=i.onClosed.bind(Oi(i)),i.manageFocusAfterClose=i.manageFocusAfterClose.bind(Oi(i)),i.clearBackdropAnimationTimeout=i.clearBackdropAnimationTimeout.bind(Oi(i)),i.trapFocus=i.trapFocus.bind(Oi(i)),i.state={isOpen:!1,showStaticBackdropAnimation:!1},i}return Uae(n,[{key:"componentDidMount",value:function(){var i=this.props,o=i.isOpen,a=i.autoFocus,s=i.onEnter;o&&(this.init(),this.setState({isOpen:!0}),a&&this.setFocus()),s&&s(),document.addEventListener("focus",this.trapFocus,!0),this._isMounted=!0}},{key:"componentDidUpdate",value:function(i,o){if(this.props.isOpen&&!i.isOpen){this.init(),this.setState({isOpen:!0});return}this.props.autoFocus&&this.state.isOpen&&!o.isOpen&&this.setFocus(),this._element&&i.zIndex!==this.props.zIndex&&(this._element.style.zIndex=this.props.zIndex)}},{key:"componentWillUnmount",value:function(){this.clearBackdropAnimationTimeout(),this.props.onExit&&this.props.onExit(),this._element&&(this.destroy(),(this.props.isOpen||this.state.isOpen)&&this.close()),document.removeEventListener("focus",this.trapFocus,!0),this._isMounted=!1}},{key:"handleBackdropClick",value:function(i){if(i.target===this._mouseDownElement){i.stopPropagation();var o=this._dialog?this._dialog.parentNode:null;if(o&&i.target===o&&this.props.backdrop==="static"&&this.handleStaticBackdropAnimation(),!this.props.isOpen||this.props.backdrop!==!0)return;o&&i.target===o&&this.props.toggle&&this.props.toggle(i)}}},{key:"handleTab",value:function(i){if(i.which===9&&!(this.modalIndex0&&(i.preventDefault(),i.stopPropagation(),o[0].focus())}}},{key:"init",value:function(){try{this._triggeringElement=document.activeElement}catch{this._triggeringElement=null}this._element||(this._element=document.createElement("div"),this._element.setAttribute("tabindex","-1"),this._element.style.position="relative",this._element.style.zIndex=this.props.zIndex,this._mountContainer=Uh(this.props.container),this._mountContainer.appendChild(this._element)),this._originalBodyPadding=Fte(),n.openCount<1&&(n.originalBodyOverflow=window.getComputedStyle(document.body).overflow),Ute(),n.openCount===0&&(document.body.className=Xe(document.body.className,qe("modal-open",this.props.cssModule)),document.body.style.overflow="hidden"),this.modalIndex=n.openCount,n.openCount+=1}},{key:"destroy",value:function(){this._element&&(this._mountContainer.removeChild(this._element),this._element=null),this.manageFocusAfterClose()}},{key:"manageFocusAfterClose",value:function(){if(this._triggeringElement){var i=this.props.returnFocusAfterClose;this._triggeringElement.focus&&i&&this._triggeringElement.focus(),this._triggeringElement=null}}},{key:"close",value:function(){if(n.openCount<=1){var i=qe("modal-open",this.props.cssModule),o=new RegExp("(^| )".concat(i,"( |$)"));document.body.className=document.body.className.replace(o," ").trim(),document.body.style.overflow=n.originalBodyOverflow}this.manageFocusAfterClose(),n.openCount=Math.max(0,n.openCount-1),m7(this._originalBodyPadding)}},{key:"clearBackdropAnimationTimeout",value:function(){this._backdropAnimationTimeout&&(clearTimeout(this._backdropAnimationTimeout),this._backdropAnimationTimeout=void 0)}},{key:"renderModalDialog",value:function(){var i,o=this,a=al(this.props,Hae),s="modal-dialog";return N.createElement("div",qp({},a,{className:qe(Xe(s,this.props.className,(i={},dc(i,"modal-".concat(this.props.size),this.props.size),dc(i,"".concat(s,"-centered"),this.props.centered),dc(i,"".concat(s,"-scrollable"),this.props.scrollable),dc(i,"modal-fullscreen",this.props.fullscreen===!0),dc(i,"modal-fullscreen-".concat(this.props.fullscreen,"-down"),typeof this.props.fullscreen=="string"),i)),this.props.cssModule),role:"document",ref:function(u){o._dialog=u}}),N.createElement("div",{className:qe(Xe("modal-content",this.props.contentClassName),this.props.cssModule)},this.props.children))}},{key:"render",value:function(){var i=this.props.unmountOnClose;if(this._element&&(this.state.isOpen||!i)){var o=!!this._element&&!this.state.isOpen&&!i;this._element.style.display=o?"none":"block";var a=this.props,s=a.wrapClassName,l=a.modalClassName,u=a.backdropClassName,f=a.cssModule,d=a.isOpen,p=a.backdrop,m=a.role,v=a.labelledBy,g=a.external,w=a.innerRef,y={onClick:this.handleBackdropClick,onMouseDown:this.handleBackdropMouseDown,onKeyUp:this.handleEscape,onKeyDown:this.handleTab,style:{display:"block"},"aria-labelledby":v,"aria-modal":!0,role:m,tabIndex:"-1"},b=this.props.fade,x=tc(tc(tc({},jr.defaultProps),this.props.modalTransition),{},{baseClass:b?this.props.modalTransition.baseClass:"",timeout:b?this.props.modalTransition.timeout:0}),O=tc(tc(tc({},jr.defaultProps),this.props.backdropTransition),{},{baseClass:b?this.props.backdropTransition.baseClass:"",timeout:b?this.props.backdropTransition.timeout:0}),E=p&&(b?N.createElement(jr,qp({},O,{in:d&&!!p,cssModule:f,className:qe(Xe("modal-backdrop",u),f)})):N.createElement("div",{className:qe(Xe("modal-backdrop","show",u),f)}));return N.createElement(Iae,{node:this._element},N.createElement("div",{className:qe(s)},N.createElement(jr,qp({},y,x,{in:d,onEntered:this.onOpened,onExited:this.onClosed,cssModule:f,className:qe(Xe("modal",l,this.state.showStaticBackdropAnimation&&"modal-static"),f),innerRef:w}),g,this.renderModalDialog()),E))}return null}}]),n}(N.Component);rv.propTypes=Q7;rv.defaultProps=Wae;rv.openCount=0;rv.originalBodyOverflow=null;const Ka=rv;var Yae=["className","cssModule","children","toggle","tag","wrapTag","closeAriaLabel","close"];function gE(){return gE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function qae(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Kae={children:U.node,className:U.string,close:U.object,closeAriaLabel:U.string,cssModule:U.object,tag:ft,toggle:U.func,wrapTag:ft};function Za(e){var t,n=e.className,r=e.cssModule,i=e.children,o=e.toggle,a=e.tag,s=a===void 0?"h5":a,l=e.wrapTag,u=l===void 0?"div":l,f=e.closeAriaLabel,d=f===void 0?"Close":f,p=e.close,m=Gae(e,Yae),v=qe(Xe(n,"modal-header"),r);return!p&&o&&(t=N.createElement("button",{type:"button",onClick:o,className:qe("btn-close",r),"aria-label":d})),N.createElement(u,gE({},m,{className:v}),N.createElement(s,{className:qe("modal-title",r)},i),p||t)}Za.propTypes=Kae;var Zae=["className","cssModule","tag"];function yE(){return yE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Qae(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Jae={className:U.string,cssModule:U.object,tag:ft};function na(e){var t=e.className,n=e.cssModule,r=e.tag,i=r===void 0?"div":r,o=Xae(e,Zae),a=qe(Xe(t,"modal-body"),n);return N.createElement(i,yE({},o,{className:a}))}na.propTypes=Jae;var ese=["className","cssModule","tag"];function bE(){return bE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function nse(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var rse={className:U.string,cssModule:U.object,tag:ft};function Au(e){var t=e.className,n=e.cssModule,r=e.tag,i=r===void 0?"div":r,o=tse(e,ese),a=qe(Xe(t,"modal-footer"),n);return N.createElement(i,bE({},o,{className:a}))}Au.propTypes=rse;function _E(){return _E=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function sse(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var lse={className:U.string,cssModule:U.object,flush:U.bool,horizontal:U.oneOfType([U.bool,U.string]),numbered:U.bool,tag:ft},use=function(t){return t===!1?!1:t===!0||t==="xs"?"list-group-horizontal":"list-group-horizontal-".concat(t)};function J7(e){var t=e.className,n=e.cssModule,r=e.tag,i=r===void 0?"ul":r,o=e.flush,a=e.horizontal,s=a===void 0?!1:a,l=e.numbered,u=l===void 0?!1:l,f=ase(e,ose),d=qe(Xe(t,"list-group",o?"list-group-flush":use(s),{"list-group-numbered":u}),n);return N.createElement(i,wE({},f,{className:d}))}J7.propTypes=lse;var cse=["className","cssModule","row","disabled","check","inline","floating","noMargin","tag","switch"];function xE(){return xE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=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=0)&&(n[i]=e[i]);return n}var pse={children:U.node,row:U.bool,check:U.bool,switch:U.bool,inline:U.bool,floating:U.bool,noMargin:U.bool,disabled:U.bool,tag:ft,className:U.string,cssModule:U.object};function ni(e){var t=e.className,n=e.cssModule,r=e.row,i=e.disabled,o=e.check,a=e.inline,s=e.floating,l=e.noMargin,u=e.tag,f=u===void 0?"div":u,d=e.switch,p=fse(e,cse),m=o||d,v=qe(Xe(t,r?"row":!1,m?"form-check":!1,d?"form-switch":!1,m||l?!1:"mb-3",m&&a?"form-check-inline":!1,m&&i?"disabled":!1,s&&"form-floating"),n);return f==="fieldset"&&(p.disabled=i),N.createElement(f,xE({},p,{className:v}))}ni.propTypes=pse;function OE(e){"@babel/helpers - typeof";return OE=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},OE(e)}var hse=["className","cssModule","type","bsSize","valid","invalid","tag","addon","plaintext","innerRef"];function SE(){return SE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function vse(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function gse(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"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 N0(e){return N0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},N0(e)}var Ose={children:U.node,type:U.string,size:U.oneOfType([U.number,U.string]),bsSize:U.string,valid:U.bool,invalid:U.bool,tag:ft,innerRef:U.oneOfType([U.object,U.func,U.string]),plaintext:U.bool,addon:U.bool,className:U.string,cssModule:U.object},eB=function(e){bse(n,e);var t=_se(n);function n(r){var i;return gse(this,n),i=t.call(this,r),i.getRef=i.getRef.bind(TE(i)),i.focus=i.focus.bind(TE(i)),i}return yse(n,[{key:"getRef",value:function(i){this.props.innerRef&&this.props.innerRef(i),this.ref=i}},{key:"focus",value:function(){this.ref&&this.ref.focus()}},{key:"render",value:function(){var i=this.props,o=i.className,a=i.cssModule,s=i.type,l=s===void 0?"text":s,u=i.bsSize,f=i.valid,d=i.invalid,p=i.tag,m=i.addon,v=i.plaintext,g=i.innerRef,w=mse(i,hse),y=["switch","radio","checkbox"].indexOf(l)>-1,b=/\D/g,x=l==="textarea",O=l==="select",E=l==="range",T=p||(O||x?l:"input"),k="form-control";v?(k="".concat(k,"-plaintext"),T=p||"input"):E?k="form-range":O?k="form-select":y&&(m?k=null:k="form-check-input"),w.size&&b.test(w.size)&&(xS(`Please use the prop "bsSize" instead of the "size" to bootstrap's input sizing.`),u=w.size,delete w.size);var A=qe(Xe(o,d&&"is-invalid",f&&"is-valid",u?O?"form-select-".concat(u):"form-control-".concat(u):!1,k),a);return(T==="input"||p&&typeof p=="function")&&(w.type=l==="switch"?"checkbox":l),w.children&&!(v||l==="select"||typeof T!="string"||T==="select")&&(xS('Input with a type of "'.concat(l,'" cannot have children. Please use "value"/"defaultValue" instead.')),delete w.children),N.createElement(T,SE({},w,{ref:g,className:A,"aria-invalid":d}))}}]),n}(N.Component);eB.propTypes=Ose;const yu=eB;var Sse=["className","cssModule","tag","type","size"];function M0(){return M0=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Tse(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Cse={className:U.string,cssModule:U.object,size:U.string,tag:ft,type:U.string};function R_(e){var t=e.className,n=e.cssModule,r=e.tag,i=r===void 0?"div":r;e.type;var o=e.size,a=Ese(e,Sse),s=qe(Xe(t,"input-group",o?"input-group-".concat(o):null),n);return e.type==="dropdown"?N.createElement(nv,M0({},a,{className:s})):N.createElement($7.Provider,{value:{insideInputGroup:!0}},N.createElement(i,M0({},a,{className:s})))}R_.propTypes=Cse;var kse=["className","listClassName","cssModule","size","tag","listTag","aria-label"];function CE(){return CE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ase(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Nse={children:U.node,className:U.string,listClassName:U.string,cssModule:U.object,size:U.string,tag:ft,listTag:ft,"aria-label":U.string};function Nj(e){var t=e.className,n=e.listClassName,r=e.cssModule,i=e.size,o=e.tag,a=o===void 0?"nav":o,s=e.listTag,l=s===void 0?"ul":s,u=e["aria-label"],f=u===void 0?"pagination":u,d=Pse(e,kse),p=qe(Xe(t),r),m=qe(Xe(n,"pagination",jse({},"pagination-".concat(i),!!i)),r);return N.createElement(a,{className:p,"aria-label":f},N.createElement(l,CE({},d,{className:m})))}Nj.propTypes=Nse;var Mse=["active","className","cssModule","disabled","tag"];function kE(){return kE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Rse(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Dse={active:U.bool,children:U.node,className:U.string,cssModule:U.object,disabled:U.bool,tag:ft};function nu(e){var t=e.active,n=e.className,r=e.cssModule,i=e.disabled,o=e.tag,a=o===void 0?"li":o,s=Lse(e,Mse),l=qe(Xe(n,"page-item",{active:t,disabled:i}),r);return N.createElement(a,kE({},s,{className:l}))}nu.propTypes=Dse;var Ise=["className","cssModule","next","previous","first","last","tag"];function jE(){return jE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Use(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var $se={"aria-label":U.string,children:U.node,className:U.string,cssModule:U.object,next:U.bool,previous:U.bool,first:U.bool,last:U.bool,tag:ft};function ru(e){var t=e.className,n=e.cssModule,r=e.next,i=e.previous,o=e.first,a=e.last,s=e.tag,l=s===void 0?"a":s,u=Fse(e,Ise),f=qe(Xe(t,"page-link"),n),d;i?d="Previous":r?d="Next":o?d="First":a&&(d="Last");var p=e["aria-label"]||d,m;i?m="‹":r?m="›":o?m="«":a&&(m="»");var v=e.children;return v&&Array.isArray(v)&&v.length===0&&(v=null),!u.href&&l==="a"&&(l="button"),(i||r||o||a)&&(v=[N.createElement("span",{"aria-hidden":"true",key:"caret"},v||m),N.createElement("span",{className:"visually-hidden",key:"ariaLabel"},p)]),N.createElement(l,jE({},u,{className:f,"aria-label":p}),v)}ru.propTypes=$se;var Bse=["className","closeClassName","closeAriaLabel","cssModule","tag","color","isOpen","toggle","children","transition","fade","innerRef"];function PE(){return PE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=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=0)&&(n[i]=e[i]);return n}var Wse={children:U.node,className:U.string,closeClassName:U.string,closeAriaLabel:U.string,color:U.string,cssModule:U.object,fade:U.bool,innerRef:U.oneOfType([U.object,U.string,U.func]),isOpen:U.bool,tag:ft,toggle:U.func,transition:U.shape(jr.propTypes)};function tB(e){var t=e.className,n=e.closeClassName,r=e.closeAriaLabel,i=r===void 0?"Close":r,o=e.cssModule,a=e.tag,s=a===void 0?"div":a,l=e.color,u=l===void 0?"success":l,f=e.isOpen,d=f===void 0?!0:f,p=e.toggle,m=e.children,v=e.transition,g=v===void 0?rp(rp({},jr.defaultProps),{},{unmountOnExit:!0}):v,w=e.fade,y=w===void 0?!0:w,b=e.innerRef,x=Vse(e,Bse),O=qe(Xe(t,"alert","alert-".concat(u),{"alert-dismissible":p}),o),E=qe(Xe("btn-close",n),o),T=rp(rp(rp({},jr.defaultProps),g),{},{baseClass:y?g.baseClass:"",timeout:y?g.timeout:0});return N.createElement(jr,PE({},x,T,{tag:s,className:O,in:d,role:"alert",innerRef:b}),p?N.createElement("button",{type:"button",className:E,"aria-label":i,onClick:p}):null,m)}tB.propTypes=Wse;var Yse=["className","cssModule","tag","active","disabled","action","color"];function AE(){return AE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function qse(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Kse={action:U.bool,active:U.bool,className:U.string,cssModule:U.object,color:U.string,disabled:U.bool,tag:ft},Zse=function(t){t.preventDefault()};function nB(e){var t=e.className,n=e.cssModule,r=e.tag,i=r===void 0?"li":r,o=e.active,a=e.disabled,s=e.action,l=e.color,u=Gse(e,Yse),f=qe(Xe(t,o?"active":!1,a?"disabled":!1,s?"list-group-item-action":!1,l?"list-group-item-".concat(l):!1,"list-group-item"),n);return a&&(u.onClick=Zse),N.createElement(i,AE({},u,{className:f}))}nB.propTypes=Kse;function NE(e){"@babel/helpers - typeof";return NE=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},NE(e)}function PL(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 Xse(e){for(var t=1;t"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 L0(e){return L0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},L0(e)}var ole=["defaultOpen"],ov=function(e){tle(n,e);var t=nle(n);function n(r){var i;return Jse(this,n),i=t.call(this,r),i.state={isOpen:r.defaultOpen||!1},i.toggle=i.toggle.bind(rB(i)),i}return ele(n,[{key:"toggle",value:function(i){var o=this;this.setState(function(a){return{isOpen:!a.isOpen}},function(){o.props.onToggle&&o.props.onToggle(i,o.state.isOpen)})}},{key:"render",value:function(){return N.createElement(nv,ME({isOpen:this.state.isOpen,toggle:this.toggle},al(this.props,ole)))}}]),n}(F.Component);ov.propTypes=Xse({defaultOpen:U.bool,onToggle:U.func},nv.propTypes);function RE(e){"@babel/helpers - typeof";return RE=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},RE(e)}function NL(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 ale(e){for(var t=1;t"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 R0(e){return R0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},R0(e)}var hle=["defaultOpen"],qr=function(e){cle(n,e);var t=fle(n);function n(r){var i;return lle(this,n),i=t.call(this,r),i.state={isOpen:r.defaultOpen||!1},i.toggle=i.toggle.bind(iB(i)),i}return ule(n,[{key:"toggle",value:function(){this.setState(function(i){return{isOpen:!i.isOpen}})}},{key:"render",value:function(){return N.createElement(iv,DE({isOpen:this.state.isOpen,toggle:this.toggle},al(this.props,hle)))}}]),n}(F.Component);qr.propTypes=ale({defaultOpen:U.bool},iv.propTypes);function oB(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t({error:"border-danger",default:""})[e],vle=e=>({error:"text-danger",default:"text-muted"})[e],Da=({className:e,children:t,loading:n=!1,type:r="default",fullWidth:i=!1})=>{const o=Li({"col-md-12":i,"col-md-10 offset-md-1":!i});return _.jsx(kr,{className:Li("g-0",e),children:_.jsx("div",{className:o,children:_.jsx(ui,{className:mle(r),body:!0,children:_.jsxs("h3",{className:Li("text-center mb-0",vle(r)),children:[n&&_.jsx(Le,{icon:j$,spin:!0}),n&&_.jsx("span",{className:"ms-2",children:t??"Loading..."}),!n&&t]})})})})},vn=({title:e,children:t,bodyClassName:n,...r})=>_.jsxs(ui,{...r,children:[e&&_.jsx(vf,{role:"heading","aria-level":4,children:e}),_.jsx(mf,{className:n,children:t})]}),ii=({children:e,type:t,className:n,small:r=!1})=>_.jsx(kr,{className:n,children:_.jsx("div",{className:Li({"col-md-10 offset-md-1":!r,"col-12":r}),children:_.jsx(vn,{role:"document",className:Li("text-center",{"bg-main":t==="success","bg-danger":t==="error","bg-warning":t==="warning","text-white":t!=="warning"}),bodyClassName:Li({"p-2":r}),children:e})})});let Cg;const gle=new Uint8Array(16);function yle(){if(!Cg&&(Cg=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Cg))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Cg(gle)}const ir=[];for(let e=0;e<256;++e)ir.push((e+256).toString(16).slice(1));function ble(e,t=0){return ir[e[t+0]]+ir[e[t+1]]+ir[e[t+2]]+ir[e[t+3]]+"-"+ir[e[t+4]]+ir[e[t+5]]+"-"+ir[e[t+6]]+ir[e[t+7]]+"-"+ir[e[t+8]]+ir[e[t+9]]+"-"+ir[e[t+10]]+ir[e[t+11]]+ir[e[t+12]]+ir[e[t+13]]+ir[e[t+14]]+ir[e[t+15]]}const _le=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),LL={randomUUID:_le};function wle(e,t,n){if(LL.randomUUID&&!t&&!e)return LL.randomUUID();e=e||{};const r=e.random||(e.rng||yle)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let i=0;i<16;++i)t[n+i]=r[i];return t}return ble(r)}function xle(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ole(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var Sle=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var r=42;e[t]=r;for(t in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var i=Object.getOwnPropertySymbols(e);if(i.length!==1||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||o.enumerable!==!0)return!1}return!0},RL=typeof Symbol<"u"&&Symbol,Ele=Sle,Tle=function(){return typeof RL!="function"||typeof Symbol!="function"||typeof RL("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Ele()},DL={foo:{}},Cle=Object,kle=function(){return{__proto__:DL}.foo===DL.foo&&!({__proto__:null}instanceof Cle)},jle="Function.prototype.bind called on incompatible ",Vx=Array.prototype.slice,Ple=Object.prototype.toString,Ale="[object Function]",Nle=function(e){var t=this;if(typeof t!="function"||Ple.call(t)!==Ale)throw new TypeError(jle+t);for(var n=Vx.call(arguments,1),r,i=function(){if(this instanceof r){var u=t.apply(this,n.concat(Vx.call(arguments)));return Object(u)===u?u:this}else return t.apply(e,n.concat(Vx.call(arguments)))},o=Math.max(0,t.length-n.length),a=[],s=0;s"u"||!$n?pt:$n(Uint8Array),ou={"%AggregateError%":typeof AggregateError>"u"?pt:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?pt:ArrayBuffer,"%ArrayIteratorPrototype%":nc&&$n?$n([][Symbol.iterator]()):pt,"%AsyncFromSyncIteratorPrototype%":pt,"%AsyncFunction%":pc,"%AsyncGenerator%":pc,"%AsyncGeneratorFunction%":pc,"%AsyncIteratorPrototype%":pc,"%Atomics%":typeof Atomics>"u"?pt:Atomics,"%BigInt%":typeof BigInt>"u"?pt:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?pt:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?pt:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?pt:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?pt:Float32Array,"%Float64Array%":typeof Float64Array>"u"?pt:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?pt:FinalizationRegistry,"%Function%":aB,"%GeneratorFunction%":pc,"%Int8Array%":typeof Int8Array>"u"?pt:Int8Array,"%Int16Array%":typeof Int16Array>"u"?pt:Int16Array,"%Int32Array%":typeof Int32Array>"u"?pt:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":nc&&$n?$n($n([][Symbol.iterator]())):pt,"%JSON%":typeof JSON=="object"?JSON:pt,"%Map%":typeof Map>"u"?pt:Map,"%MapIteratorPrototype%":typeof Map>"u"||!nc||!$n?pt:$n(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?pt:Promise,"%Proxy%":typeof Proxy>"u"?pt:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?pt:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?pt:Set,"%SetIteratorPrototype%":typeof Set>"u"||!nc||!$n?pt:$n(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?pt:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":nc&&$n?$n(""[Symbol.iterator]()):pt,"%Symbol%":nc?Symbol:pt,"%SyntaxError%":gf,"%ThrowTypeError%":Dle,"%TypedArray%":Fle,"%TypeError%":qc,"%Uint8Array%":typeof Uint8Array>"u"?pt:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?pt:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?pt:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?pt:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?pt:WeakMap,"%WeakRef%":typeof WeakRef>"u"?pt:WeakRef,"%WeakSet%":typeof WeakSet>"u"?pt:WeakSet};if($n)try{null.error}catch(e){var Ule=$n($n(e));ou["%Error.prototype%"]=Ule}var $le=function e(t){var n;if(t==="%AsyncFunction%")n=Hx("async function () {}");else if(t==="%GeneratorFunction%")n=Hx("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=Hx("async function* () {}");else if(t==="%AsyncGenerator%"){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&$n&&(n=$n(i.prototype))}return ou[t]=n,n},IL={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},av=Mj,D0=Rle,Ble=av.call(Function.call,Array.prototype.concat),zle=av.call(Function.apply,Array.prototype.splice),FL=av.call(Function.call,String.prototype.replace),I0=av.call(Function.call,String.prototype.slice),Vle=av.call(Function.call,RegExp.prototype.exec),Hle=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Wle=/\\(\\)?/g,Yle=function(e){var t=I0(e,0,1),n=I0(e,-1);if(t==="%"&&n!=="%")throw new gf("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new gf("invalid intrinsic syntax, expected opening `%`");var r=[];return FL(e,Hle,function(i,o,a,s){r[r.length]=a?FL(s,Wle,"$1"):o||i}),r},Gle=function(e,t){var n=e,r;if(D0(IL,n)&&(r=IL[n],n="%"+r[0]+"%"),D0(ou,n)){var i=ou[n];if(i===pc&&(i=$le(n)),typeof i>"u"&&!t)throw new qc("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new gf("intrinsic "+e+" does not exist!")},Lj=function(e,t){if(typeof e!="string"||e.length===0)throw new qc("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new qc('"allowMissing" argument must be a boolean');if(Vle(/^%?[^%]*%?$/,e)===null)throw new gf("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Yle(e),r=n.length>0?n[0]:"",i=Gle("%"+r+"%",t),o=i.name,a=i.value,s=!1,l=i.alias;l&&(r=l[0],zle(n,Ble([0,1],l)));for(var u=1,f=!0;u=n.length){var v=iu(a,d);f=!!v,f&&"get"in v&&!("originalValue"in v.get)?a=v.get:a=a[d]}else f=D0(a,d),a=a[d];f&&!s&&(ou[o]=a)}}return a},sB={exports:{}};(function(e){var t=Mj,n=Lj,r=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),o=n("%Reflect.apply%",!0)||t.call(i,r),a=n("%Object.getOwnPropertyDescriptor%",!0),s=n("%Object.defineProperty%",!0),l=n("%Math.max%");if(s)try{s({},"a",{value:1})}catch{s=null}e.exports=function(f){var d=o(t,i,arguments);if(a&&s){var p=a(d,"length");p.configurable&&s(d,"length",{value:1+l(0,f.length-(arguments.length-1))})}return d};var u=function(){return o(t,r,arguments)};s?s(e.exports,"apply",{value:u}):e.exports.apply=u})(sB);var qle=sB.exports,lB=Lj,uB=qle,Kle=uB(lB("String.prototype.indexOf")),Zle=function(e,t){var n=lB(e,!!t);return typeof n=="function"&&Kle(e,".prototype.")>-1?uB(n):n};const Xle={},Qle=Object.freeze(Object.defineProperty({__proto__:null,default:Xle},Symbol.toStringTag,{value:"Module"})),Jle=Ole(Qle);var Rj=typeof Map=="function"&&Map.prototype,Yx=Object.getOwnPropertyDescriptor&&Rj?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,F0=Rj&&Yx&&typeof Yx.get=="function"?Yx.get:null,UL=Rj&&Map.prototype.forEach,Dj=typeof Set=="function"&&Set.prototype,Gx=Object.getOwnPropertyDescriptor&&Dj?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,U0=Dj&&Gx&&typeof Gx.get=="function"?Gx.get:null,$L=Dj&&Set.prototype.forEach,eue=typeof WeakMap=="function"&&WeakMap.prototype,Kp=eue?WeakMap.prototype.has:null,tue=typeof WeakSet=="function"&&WeakSet.prototype,Zp=tue?WeakSet.prototype.has:null,nue=typeof WeakRef=="function"&&WeakRef.prototype,BL=nue?WeakRef.prototype.deref:null,rue=Boolean.prototype.valueOf,iue=Object.prototype.toString,oue=Function.prototype.toString,aue=String.prototype.match,Ij=String.prototype.slice,ks=String.prototype.replace,sue=String.prototype.toUpperCase,zL=String.prototype.toLowerCase,cB=RegExp.prototype.test,VL=Array.prototype.concat,Lo=Array.prototype.join,lue=Array.prototype.slice,HL=Math.floor,FE=typeof BigInt=="function"?BigInt.prototype.valueOf:null,qx=Object.getOwnPropertySymbols,UE=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,yf=typeof Symbol=="function"&&typeof Symbol.iterator=="object",br=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===yf||"symbol")?Symbol.toStringTag:null,fB=Object.prototype.propertyIsEnumerable,WL=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function YL(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||cB.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-HL(-e):HL(e);if(r!==e){var i=String(r),o=Ij.call(t,i.length+1);return ks.call(i,n,"$&_")+"."+ks.call(ks.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ks.call(t,n,"$&_")}var $E=Jle,GL=$E.custom,qL=pB(GL)?GL:null,uue=function e(t,n,r,i){var o=n||{};if(bs(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(bs(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=bs(o,"customInspect")?o.customInspect:!0;if(typeof a!="boolean"&&a!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(bs(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(bs(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=o.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return mB(t,o);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return s?YL(t,l):l}if(typeof t=="bigint"){var u=String(t)+"n";return s?YL(t,u):u}var f=typeof o.depth>"u"?5:o.depth;if(typeof r>"u"&&(r=0),r>=f&&f>0&&typeof t=="object")return BE(t)?"[Array]":"[Object]";var d=Cue(o,r);if(typeof i>"u")i=[];else if(hB(i,t)>=0)return"[Circular]";function p(G,H,Q){if(H&&(i=lue.call(i),i.push(H)),Q){var Z={depth:o.depth};return bs(o,"quoteStyle")&&(Z.quoteStyle=o.quoteStyle),e(G,Z,r+1,i)}return e(G,o,r+1,i)}if(typeof t=="function"&&!KL(t)){var m=yue(t),v=kg(t,p);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(v.length>0?" { "+Lo.call(v,", ")+" }":"")}if(pB(t)){var g=yf?ks.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):UE.call(t);return typeof t=="object"&&!yf?ip(g):g}if(Sue(t)){for(var w="<"+zL.call(String(t.nodeName)),y=t.attributes||[],b=0;b",w}if(BE(t)){if(t.length===0)return"[]";var x=kg(t,p);return d&&!Tue(x)?"["+zE(x,d)+"]":"[ "+Lo.call(x,", ")+" ]"}if(due(t)){var O=kg(t,p);return!("cause"in Error.prototype)&&"cause"in t&&!fB.call(t,"cause")?"{ ["+String(t)+"] "+Lo.call(VL.call("[cause]: "+p(t.cause),O),", ")+" }":O.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Lo.call(O,", ")+" }"}if(typeof t=="object"&&a){if(qL&&typeof t[qL]=="function"&&$E)return $E(t,{depth:f-r});if(a!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(bue(t)){var E=[];return UL&&UL.call(t,function(G,H){E.push(p(H,t,!0)+" => "+p(G,t))}),ZL("Map",F0.call(t),E,d)}if(xue(t)){var T=[];return $L&&$L.call(t,function(G){T.push(p(G,t))}),ZL("Set",U0.call(t),T,d)}if(_ue(t))return Kx("WeakMap");if(Oue(t))return Kx("WeakSet");if(wue(t))return Kx("WeakRef");if(hue(t))return ip(p(Number(t)));if(vue(t))return ip(p(FE.call(t)));if(mue(t))return ip(rue.call(t));if(pue(t))return ip(p(String(t)));if(!fue(t)&&!KL(t)){var k=kg(t,p),A=WL?WL(t)===Object.prototype:t instanceof Object||t.constructor===Object,D=t instanceof Object?"":"null prototype",R=!A&&br&&Object(t)===t&&br in t?Ij.call(ll(t),8,-1):D?"Object":"",I=A||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",z=I+(R||D?"["+Lo.call(VL.call([],R||[],D||[]),": ")+"] ":"");return k.length===0?z+"{}":d?z+"{"+zE(k,d)+"}":z+"{ "+Lo.call(k,", ")+" }"}return String(t)};function dB(e,t,n){var r=(n.quoteStyle||t)==="double"?'"':"'";return r+e+r}function cue(e){return ks.call(String(e),/"/g,""")}function BE(e){return ll(e)==="[object Array]"&&(!br||!(typeof e=="object"&&br in e))}function fue(e){return ll(e)==="[object Date]"&&(!br||!(typeof e=="object"&&br in e))}function KL(e){return ll(e)==="[object RegExp]"&&(!br||!(typeof e=="object"&&br in e))}function due(e){return ll(e)==="[object Error]"&&(!br||!(typeof e=="object"&&br in e))}function pue(e){return ll(e)==="[object String]"&&(!br||!(typeof e=="object"&&br in e))}function hue(e){return ll(e)==="[object Number]"&&(!br||!(typeof e=="object"&&br in e))}function mue(e){return ll(e)==="[object Boolean]"&&(!br||!(typeof e=="object"&&br in e))}function pB(e){if(yf)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!UE)return!1;try{return UE.call(e),!0}catch{}return!1}function vue(e){if(!e||typeof e!="object"||!FE)return!1;try{return FE.call(e),!0}catch{}return!1}var gue=Object.prototype.hasOwnProperty||function(e){return e in this};function bs(e,t){return gue.call(e,t)}function ll(e){return iue.call(e)}function yue(e){if(e.name)return e.name;var t=aue.call(oue.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function hB(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return mB(Ij.call(e,0,t.maxStringLength),t)+r}var i=ks.call(ks.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Eue);return dB(i,"single",t)}function Eue(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+sue.call(t.toString(16))}function ip(e){return"Object("+e+")"}function Kx(e){return e+" { ? }"}function ZL(e,t,n,r){var i=r?zE(n,r):Lo.call(n,", ");return e+" ("+t+") {"+i+"}"}function Tue(e){for(var t=0;t=0)return!1;return!0}function Cue(e,t){var n;if(e.indent===" ")n=" ";else if(typeof e.indent=="number"&&e.indent>0)n=Lo.call(Array(e.indent+1)," ");else return null;return{base:n,prev:Lo.call(Array(t+1),n)}}function zE(e,t){if(e.length===0)return"";var n=` +`+t.prev+t.base;return n+Lo.call(e,","+n)+` +`+t.prev}function kg(e,t){var n=BE(e),r=[];if(n){r.length=e.length;for(var i=0;i1;){var t=e.pop(),n=t.obj[t.prop];if(Ul(n)){for(var r=[],i=0;i=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===zue.RFC1738&&(l===40||l===41)){a+=o.charAt(s);continue}if(l<128){a=a+Po[l];continue}if(l<2048){a=a+(Po[192|l>>6]+Po[128|l&63]);continue}if(l<55296||l>=57344){a=a+(Po[224|l>>12]+Po[128|l>>6&63]+Po[128|l&63]);continue}s+=1,l=65536+((l&1023)<<10|o.charCodeAt(s)&1023),a+=Po[240|l>>18]+Po[128|l>>12&63]+Po[128|l>>6&63]+Po[128|l&63]}return a},que=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r"u"&&(x=0)}if(typeof l=="function"?y=l(n,y):y instanceof Date?y=d(y):r==="comma"&&ha(y)&&(y=_y.maybeMap(y,function(Z){return Z instanceof Date?d(Z):Z})),y===null){if(o)return s&&!v?s(n,hr.encoder,g,"key",p):n;y=""}if(nce(y)||_y.isBuffer(y)){if(s){var T=v?n:s(n,hr.encoder,g,"key",p);return[m(T)+"="+m(s(y,hr.encoder,g,"value",p))]}return[m(n)+"="+m(String(y))]}var k=[];if(typeof y>"u")return k;var A;if(r==="comma"&&ha(y))v&&s&&(y=_y.maybeMap(y,s)),A=[{value:y.length>0?y.join(",")||null:void 0}];else if(ha(l))A=l;else{var D=Object.keys(y);A=u?D.sort(u):D}for(var R=i&&ha(y)&&y.length===1?n+"[]":n,I=0;I"u"?hr.allowDots:!!e.allowDots,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:hr.charsetSentinel,delimiter:typeof e.delimiter>"u"?hr.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:hr.encode,encoder:typeof e.encoder=="function"?e.encoder:hr.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:hr.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:hr.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:hr.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:hr.strictNullHandling}},oce=function(e,t){var n=e,r=ice(t),i,o;typeof r.filter=="function"?(o=r.filter,n=o("",n)):ha(r.filter)&&(o=r.filter,i=o);var a=[];if(typeof n!="object"||n===null)return"";var s;t&&t.arrayFormat in XL?s=t.arrayFormat:t&&"indices"in t?s=t.indices?"indices":"repeat":s="indices";var l=XL[s];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=l==="comma"&&t&&t.commaRoundTrip;i||(i=Object.keys(n)),r.sort&&i.sort(r.sort);for(var f=yB(),d=0;d0?v+m:""},bf=gB,VE=Object.prototype.hasOwnProperty,ace=Array.isArray,Fn={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:bf.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},sce=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},_B=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},lce="utf8=%26%2310003%3B",uce="utf8=%E2%9C%93",cce=function(e,t){var n={__proto__:null},r=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,i=t.parameterLimit===1/0?void 0:t.parameterLimit,o=r.split(t.delimiter,i),a=-1,s,l=t.charset;if(t.charsetSentinel)for(s=0;s-1&&(m=ace(m)?[m]:m),VE.call(n,p)?n[p]=bf.combine(n[p],m):n[p]=m}return n},fce=function(e,t,n,r){for(var i=r?t:_B(t,n),o=e.length-1;o>=0;--o){var a,s=e[o];if(s==="[]"&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var l=s.charAt(0)==="["&&s.charAt(s.length-1)==="]"?s.slice(1,-1):s,u=parseInt(l,10);!n.parseArrays&&l===""?a={0:i}:!isNaN(u)&&s!==l&&String(u)===l&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(a=[],a[u]=i):l!=="__proto__"&&(a[l]=i)}i=a}return i},dce=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,s=n.depth>0&&o.exec(i),l=s?i.slice(0,s.index):i,u=[];if(l){if(!n.plainObjects&&VE.call(Object.prototype,l)&&!n.allowPrototypes)return;u.push(l)}for(var f=0;n.depth>0&&(s=a.exec(i))!==null&&f"u"?Fn.charset:e.charset;return{allowDots:typeof e.allowDots>"u"?Fn.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:Fn.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:Fn.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:Fn.arrayLimit,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:Fn.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:Fn.comma,decoder:typeof e.decoder=="function"?e.decoder:Fn.decoder,delimiter:typeof e.delimiter=="string"||bf.isRegExp(e.delimiter)?e.delimiter:Fn.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:Fn.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:Fn.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:Fn.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:Fn.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:Fn.strictNullHandling}},hce=function(e,t){var n=pce(t);if(e===""||e===null||typeof e>"u")return n.plainObjects?Object.create(null):{};for(var r=typeof e=="string"?cce(e,n):e,i=n.plainObjects?Object.create(null):{},o=Object.keys(r),a=0;awB.parse(e,{ignoreQueryPrefix:!0}),D_=e=>wB.stringify(e,{arrayFormat:"brackets"}),En=(e=!1)=>{const[t,n]=F.useState(e),r=F.useCallback(()=>n(a=>!a),[]),i=F.useCallback(()=>n(!0),[]),o=F.useCallback(()=>n(!1),[]);return[t,r,i,o]},xB=(e=!1,t=2e3,n=window.setTimeout,r=window.clearTimeout)=>{const[i,o]=F.useState(e),a=F.useRef(e),s=F.useRef(),l=F.useCallback(()=>{o(!a.current),s.current&&r(s.current),s.current=n(()=>o(a.current),t)},[r,t,n]);return[i,l]},I_=()=>{const{current:e}=F.useRef(`dom-${wle()}`);return e},ul=()=>F.useRef(null),OB=({checked:e=!1,onChange:t,className:n,children:r,type:i,inline:o=!1})=>{const a=I_(),s=f=>t==null?void 0:t(f.target.checked,f),l={"form-switch":i==="switch","form-checkbox":i==="checkbox"},u=o?{display:"inline-block"}:{};return _.jsxs("span",{className:Li("form-check",l,n),style:u,children:[_.jsx("input",{type:"checkbox",className:"form-check-input",id:a,checked:e,onChange:s}),_.jsx("label",{className:"form-check-label",htmlFor:a,children:r})]})},SB=e=>_.jsx(OB,{type:"checkbox",...e}),_f=e=>_.jsx(OB,{type:"switch",...e}),pd=({children:e,label:t,className:n="",labelClassName:r="",noMargin:i=!1,id:o})=>_.jsxs("div",{className:`${n} ${i?"":"mb-3"}`,children:[_.jsx("label",{className:`form-label ${r}`,htmlFor:o,children:t}),e]}),wy=({children:e,value:t,onChange:n,type:r,required:i,placeholder:o,className:a,labelClassName:s})=>{const l=I_();return _.jsx(pd,{label:_.jsxs(_.Fragment,{children:[e,":"]}),className:a,labelClassName:s,id:l,children:_.jsx("input",{id:l,className:"form-control",type:r??"text",value:t,required:i??!0,placeholder:o,onChange:u=>n(u.target.value)})})},bce=500;let xy;const JL=()=>{xy&&clearTimeout(xy),xy=null},sv=({onChange:e,className:t,large:n=!0,noBorder:r=!1,initialValue:i="",setTimeout_:o=setTimeout})=>{const[a,s]=F.useState(i),l=(u,f=bce)=>{s(u),JL(),xy=o(()=>{e(u),JL()},f)};return _.jsxs("div",{className:Li("search-field",t),children:[_.jsx("input",{type:"text",className:Li("form-control search-field__input",{"form-control-lg":n,"search-field__input--no-border":r}),placeholder:"Search...",value:a,onChange:u=>l(u.target.value)}),_.jsx(Le,{icon:CJ,className:"search-field__icon"}),_.jsx("button",{"aria-label":"Clear search",type:"button",className:"close search-field__close btn-close",hidden:a==="",id:"search-field__close",onClick:()=>l("",0)})]})},Xa=({text:e,disabled:t=!1,className:n,children:r,dropdownClassName:i,noCaret:o,end:a=!1,minWidth:s,inline:l,size:u,...f})=>{const[d,p]=En(),m=Li("dropdown-btn__toggle",n,{"btn-block":!l,"dropdown-btn__toggle--with-caret":!o}),v={minWidth:s&&`${s}px`};return _.jsxs(nv,{isOpen:d,toggle:p,disabled:t,className:i,children:[_.jsx(ud,{size:u,caret:!o,className:m,color:"primary",...f,children:e}),_.jsx(ld,{className:"w-100",end:a,style:v,children:r})]})},F_=({children:e,minWidth:t,label:n="Options"})=>_.jsx(Xa,{text:_.jsx(Le,{className:"px-1",icon:yJ}),"aria-label":n,size:"sm",minWidth:t,end:!0,noCaret:!0,inline:!0,children:e}),Qp=({children:e,...t})=>_.jsx(yj,{children:_.jsx(S7,{className:"nav-pills__nav-link",tag:h$,...t,children:e})}),EB=({children:e,fill:t=!1,className:n=""})=>_.jsx(ui,{className:`nav-pills__nav p-0 overflow-hidden ${n}`,body:!0,children:_.jsx(gj,{pills:!0,fill:t,children:F.Children.map(e,r=>{if(!F.isValidElement(r)||r.type!==Qp)throw new Error("Only NavPillItem children are allowed inside NavPills.");return r})})}),U_=(e,t,n)=>e!==t?"ASC":n?{ASC:"DESC",DESC:void 0}[n]:"ASC",TB=(e,{field:t,dir:n})=>!t||!n?e:e.sort((r,i)=>{const o=n==="ASC"?1:-1,a=n==="ASC"?-1:1;return r[t]>i[t]?o:a}),_ce=e=>e.dir?`${e.field}-${e.dir}`:void 0,wce=e=>{const[t,n]=e.split("-");return{field:t,dir:n}};function lv({items:e,order:t,onChange:n,isButton:r=!0,right:i=!1,prefixed:o=!0}){const a=s=>()=>{const l=U_(s,t.field,t.dir);n(l?s:void 0,l)};return _.jsxs(ov,{children:[_.jsxs(ud,{caret:!0,color:r?"primary":"link",className:Li({"dropdown-btn__toggle btn-block pe-4 overflow-hidden":r,"btn-sm p-0":!r}),children:[!r&&_.jsx(_.Fragment,{children:"Order by"}),r&&!t.field&&_.jsx("i",{children:"Order by..."}),r&&t.field&&_.jsxs(_.Fragment,{children:[o&&"Order by: ",e[t.field]," - ",_.jsx("small",{children:t.dir??"DESC"})]})]}),_.jsxs(ld,{end:i,className:Li("w-100",{"ordering-dropdown__menu--link":!r}),children:[Object.entries(e).map(([s,l])=>_.jsxs(ze,{active:t.field===s,onClick:a(s),children:[l,t.field===s&&_.jsx(Le,{icon:t.dir==="ASC"?xJ:lJ,className:"ordering-dropdown__sort-icon"})]},s)),_.jsx(ze,{divider:!0}),_.jsx(ze,{disabled:!t.field,onClick:()=>n(),children:_.jsx("i",{children:"Clear selection"})})]})]})}const $0="#4696e5",xce="rgba(70, 150, 229, 0.4)",HE="#f77f28",Oce="rgba(247, 127, 40, 0.4)",Sce="white",Ece="#161b22",Tce=e=>{var t;return(t=document.querySelector("html"))==null?void 0:t.setAttribute("data-theme",e)},Bj=()=>{var e;return((e=document.querySelector("html"))==null?void 0:e.getAttribute("data-theme"))==="dark"},zj=(e=window.matchMedia.bind(window))=>e("(prefers-color-scheme: dark)").matches?"dark":"light";function CB(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t{const[i,,o]=En(),a=F.useCallback(()=>{o(),n()},[n,o]);return _.jsxs(tB,{className:"app-update-banner",isOpen:e,toggle:t,tag:vn,color:"secondary",innerRef:r,children:[_.jsx("h4",{className:"mb-4",children:"This app has just been updated!"}),_.jsxs("p",{className:"mb-0",children:["Restart it to enjoy the new features.",_.jsxs(wt,{role:"button",disabled:i,className:"ms-2",color:"secondary",size:"sm",onClick:a,children:[!i&&_.jsxs(_.Fragment,{children:["Restart now ",_.jsx(Le,{icon:NJ,className:"ms-1"})]}),i&&_.jsx(_.Fragment,{children:"Restarting..."})]})]})]})}),kB=({to:e="/",children:t="Home"})=>_.jsx("div",{className:"home",children:_.jsxs(vn,{className:"p-4",children:[_.jsx("h2",{children:"Oops! We could not find requested route."}),_.jsx("p",{children:"Use your browser's back button to navigate to the page you have previously come from, or just press this button."}),_.jsx("br",{}),_.jsx(Yt,{to:e,className:"btn btn-outline-primary btn-lg",children:t})]})});function Gi(e){return F.useRef(e).current}function qi(e,t){return(n,r=globalThis.console)=>(t.forEach(i=>{const o=n[i];e[i]=o}),e)}const kce=async()=>{var t;(await((t=navigator.serviceWorker)==null?void 0:t.getRegistrations())??[]).forEach(({waiting:n})=>{n==null||n.addEventListener("statechange",r=>{var i;((i=r.target)==null?void 0:i.state)==="activated"&&window.location.reload()}),n==null||n.postMessage({type:"SKIP_WAITING"})})},jB=({fetchServers:e,servers:t,settings:n,appUpdated:r,resetAppUpdate:i})=>{var w;const{MainHeader:o,Home:a,ShlinkWebComponentContainer:s,CreateServer:l,EditServer:u,Settings:f,ManageServers:d,ShlinkVersionsContainer:p}=Gi(jB),m=Nn(),v=F.useRef(t),g=m.pathname==="/";return F.useEffect(()=>{Object.keys(v.current).length===0&&e()},[e]),F.useEffect(()=>{var y;Tce(((y=n.ui)==null?void 0:y.theme)??zj())},[(w=n.ui)==null?void 0:w.theme]),_.jsxs("div",{className:"container-fluid app-container",children:[_.jsx(o,{}),_.jsxs("div",{className:"app",children:[_.jsx("div",{className:hd("shlink-wrapper",{"d-flex d-md-block align-items-center":g}),children:_.jsxs(T_,{children:[_.jsx(Et,{index:!0,element:_.jsx(a,{})}),_.jsx(Et,{path:"/settings/*",element:_.jsx(f,{})}),_.jsx(Et,{path:"/manage-servers",element:_.jsx(d,{})}),_.jsx(Et,{path:"/server/create",element:_.jsx(l,{})}),_.jsx(Et,{path:"/server/:serverId/edit",element:_.jsx(u,{})}),_.jsx(Et,{path:"/server/:serverId/*",element:_.jsx(s,{})}),_.jsx(Et,{path:"*",element:_.jsx(kB,{})})]})}),_.jsx("div",{className:"shlink-footer",children:_.jsx(p,{})})]}),_.jsx(Cce,{isOpen:r,toggle:i,forceUpdate:kce})]})},jce=qi(jB,["MainHeader","Home","ShlinkWebComponentContainer","CreateServer","EditServer","Settings","ManageServers","ShlinkVersionsContainer"]);function ar(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Pce=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")(),eR=Pce,Jx=()=>Math.random().toString(36).substring(7).split("").join("."),Ace={INIT:`@@redux/INIT${Jx()}`,REPLACE:`@@redux/REPLACE${Jx()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Jx()}`},B0=Ace;function Vj(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function PB(e,t,n){if(typeof e!="function")throw new Error(ar(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(ar(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(ar(1));return n(PB)(e,t)}let r=e,i=t,o=new Map,a=o,s=0,l=!1;function u(){a===o&&(a=new Map,o.forEach((w,y)=>{a.set(y,w)}))}function f(){if(l)throw new Error(ar(3));return i}function d(w){if(typeof w!="function")throw new Error(ar(4));if(l)throw new Error(ar(5));let y=!0;u();const b=s++;return a.set(b,w),function(){if(y){if(l)throw new Error(ar(6));y=!1,u(),a.delete(b),o=null}}}function p(w){if(!Vj(w))throw new Error(ar(7));if(typeof w.type>"u")throw new Error(ar(8));if(typeof w.type!="string")throw new Error(ar(17));if(l)throw new Error(ar(9));try{l=!0,i=r(i,w)}finally{l=!1}return(o=a).forEach(b=>{b()}),w}function m(w){if(typeof w!="function")throw new Error(ar(10));r=w,p({type:B0.REPLACE})}function v(){const w=d;return{subscribe(y){if(typeof y!="object"||y===null)throw new Error(ar(11));function b(){const O=y;O.next&&O.next(f())}return b(),{unsubscribe:w(b)}},[eR](){return this}}}return p({type:B0.INIT}),{dispatch:p,subscribe:d,getState:f,replaceReducer:m,[eR]:v}}function Nce(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:B0.INIT})>"u")throw new Error(ar(12));if(typeof n(void 0,{type:B0.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ar(13))})}function Hj(e){const t=Object.keys(e),n={};for(let o=0;o"u")throw s&&s.type,new Error(ar(14));u[d]=v,l=l||v!==m}return l=l||r.length!==Object.keys(a).length,l?u:a}}function z0(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Mce(...e){return t=>(n,r)=>{const i=t(n,r);let o=()=>{throw new Error(ar(15))};const a={getState:i.getState,dispatch:(l,...u)=>o(l,...u)},s=e.map(l=>l(a));return o=z0(...s)(i.dispatch),{...i,dispatch:o}}}function Lce(e){return Vj(e)&&"type"in e&&typeof e.type=="string"}var AB=Symbol.for("immer-nothing"),tR=Symbol.for("immer-draftable"),ci=Symbol.for("immer-state");function lo(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var wf=Object.getPrototypeOf;function Xs(e){return!!e&&!!e[ci]}function Ia(e){var t;return e?NB(e)||Array.isArray(e)||!!e[tR]||!!((t=e.constructor)!=null&&t[tR])||B_(e)||z_(e):!1}var Rce=Object.prototype.constructor.toString();function NB(e){if(!e||typeof e!="object")return!1;const t=wf(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===Rce}function Wh(e,t){$_(e)===0?Object.entries(e).forEach(([n,r])=>{t(n,r,e)}):e.forEach((n,r)=>t(r,n,e))}function $_(e){const t=e[ci];return t?t.type_:Array.isArray(e)?1:B_(e)?2:z_(e)?3:0}function WE(e,t){return $_(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function MB(e,t,n){const r=$_(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Dce(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function B_(e){return e instanceof Map}function z_(e){return e instanceof Set}function Ml(e){return e.copy_||e.base_}function YE(e,t){if(B_(e))return new Map(e);if(z_(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&NB(e))return wf(e)?{...e}:Object.assign(Object.create(null),e);const n=Object.getOwnPropertyDescriptors(e);delete n[ci];let r=Reflect.ownKeys(n);for(let i=0;i1&&(e.set=e.add=e.clear=e.delete=Ice),Object.freeze(e),t&&Wh(e,(n,r)=>Wj(r,!0))),e}function Ice(){lo(2)}function V_(e){return Object.isFrozen(e)}var Fce={};function bu(e){const t=Fce[e];return t||lo(0,e),t}var Yh;function LB(){return Yh}function Uce(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function nR(e,t){t&&(bu("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function GE(e){qE(e),e.drafts_.forEach($ce),e.drafts_=null}function qE(e){e===Yh&&(Yh=e.parent_)}function rR(e){return Yh=Uce(Yh,e)}function $ce(e){const t=e[ci];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function iR(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[ci].modified_&&(GE(t),lo(4)),Ia(e)&&(e=V0(t,e),t.parent_||H0(t,e)),t.patches_&&bu("Patches").generateReplacementPatches_(n[ci].base_,e,t.patches_,t.inversePatches_)):e=V0(t,n,[]),GE(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==AB?e:void 0}function V0(e,t,n){if(V_(t))return t;const r=t[ci];if(!r)return Wh(t,(i,o)=>oR(e,r,t,i,o,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return H0(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let o=i,a=!1;r.type_===3&&(o=new Set(i),i.clear(),a=!0),Wh(o,(s,l)=>oR(e,r,i,s,l,n,a)),H0(e,i,!1),n&&e.patches_&&bu("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function oR(e,t,n,r,i,o,a){if(Xs(i)){const s=o&&t&&t.type_!==3&&!WE(t.assigned_,r)?o.concat(r):void 0,l=V0(e,i,s);if(MB(n,r,l),Xs(l))e.canAutoFreeze_=!1;else return}else a&&n.add(i);if(Ia(i)&&!V_(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;V0(e,i),(!t||!t.scope_.parent_)&&H0(e,i)}}function H0(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Wj(t,n)}function Bce(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:LB(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,o=Yj;n&&(i=[r],o=Gh);const{revoke:a,proxy:s}=Proxy.revocable(i,o);return r.draft_=s,r.revoke_=a,s}var Yj={get(e,t){if(t===ci)return e;const n=Ml(e);if(!WE(n,t))return zce(e,n,t);const r=n[t];return e.finalized_||!Ia(r)?r:r===eO(e.base_,t)?(tO(e),e.copy_[t]=ZE(r,e)):r},has(e,t){return t in Ml(e)},ownKeys(e){return Reflect.ownKeys(Ml(e))},set(e,t,n){const r=RB(Ml(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=eO(Ml(e),t),o=i==null?void 0:i[ci];if(o&&o.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(Dce(n,i)&&(n!==void 0||WE(e.base_,t)))return!0;tO(e),KE(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return eO(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,tO(e),KE(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=Ml(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){lo(11)},getPrototypeOf(e){return wf(e.base_)},setPrototypeOf(){lo(12)}},Gh={};Wh(Yj,(e,t)=>{Gh[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Gh.deleteProperty=function(e,t){return Gh.set.call(this,e,t,void 0)};Gh.set=function(e,t,n){return Yj.set.call(this,e[0],t,n,e[0])};function eO(e,t){const n=e[ci];return(n?Ml(n):e)[t]}function zce(e,t,n){var i;const r=RB(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function RB(e,t){if(!(t in e))return;let n=wf(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=wf(n)}}function KE(e){e.modified_||(e.modified_=!0,e.parent_&&KE(e.parent_))}function tO(e){e.copy_||(e.copy_=YE(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Vce=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const o=n;n=t;const a=this;return function(l=o,...u){return a.produce(l,f=>n.call(this,f,...u))}}typeof n!="function"&&lo(6),r!==void 0&&typeof r!="function"&&lo(7);let i;if(Ia(t)){const o=rR(this),a=ZE(t,void 0);let s=!0;try{i=n(a),s=!1}finally{s?GE(o):qE(o)}return nR(o,r),iR(i,o)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===AB&&(i=void 0),this.autoFreeze_&&Wj(i,!0),r){const o=[],a=[];bu("Patches").generateReplacementPatches_(t,i,o,a),r(o,a)}return i}else lo(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(a,...s)=>this.produceWithPatches(a,l=>t(l,...s));let r,i;return[this.produce(t,n,(a,s)=>{r=a,i=s}),r,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Ia(e)||lo(8),Xs(e)&&(e=DB(e));const t=rR(this),n=ZE(e,void 0);return n[ci].isManual_=!0,qE(t),n}finishDraft(e,t){const n=e&&e[ci];(!n||!n.isManual_)&&lo(9);const{scope_:r}=n;return nR(r,t),iR(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const i=t[n];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}n>-1&&(t=t.slice(n+1));const r=bu("Patches").applyPatches_;return Xs(e)?r(e,t):this.produce(e,i=>r(i,t))}};function ZE(e,t){const n=B_(e)?bu("MapSet").proxyMap_(e,t):z_(e)?bu("MapSet").proxySet_(e,t):Bce(e,t);return(t?t.scope_:LB()).drafts_.push(n),n}function DB(e){return Xs(e)||lo(10,e),IB(e)}function IB(e){if(!Ia(e)||V_(e))return e;const t=e[ci];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=YE(e,t.scope_.immer_.useStrictShallowCopy_)}else n=YE(e,!0);return Wh(n,(r,i)=>{MB(n,r,IB(i))}),t&&(t.finalized_=!1),n}var fi=new Vce,FB=fi.produce;fi.produceWithPatches.bind(fi);fi.setAutoFreeze.bind(fi);fi.setUseStrictShallowCopy.bind(fi);fi.applyPatches.bind(fi);fi.createDraft.bind(fi);fi.finishDraft.bind(fi);function Hce(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function Wce(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(n=>typeof n=="function")){const n=e.map(r=>typeof r=="function"?`function ${r.name||"unnamed"}()`:typeof r).join(", ");throw new TypeError(`${t}[${n}]`)}}var aR=e=>Array.isArray(e)?e:[e];function Yce(e){const t=Array.isArray(e[0])?e[0]:e;return Wce(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function Gce(e,t){const n=[],{length:r}=e;for(let i=0;i{n=Ag(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}function Xce(e,...t){const n=typeof e=="function"?{memoize:e,memoizeOptions:t}:e;return(...i)=>{let o=0,a=0,s,l={},u=i.pop();typeof u=="object"&&(l=u,u=i.pop()),Hce(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);const f={...n,...l},{memoize:d,memoizeOptions:p=[],argsMemoize:m=UB,argsMemoizeOptions:v=[],devModeChecks:g={}}=f,w=aR(p),y=aR(v),b=Yce(i),x=d(function(){return o++,u.apply(null,arguments)},...w),O=m(function(){a++;const T=Gce(b,arguments);return s=x.apply(null,T),s},...y);return Object.assign(O,{resultFunc:u,memoizedResultFunc:x,dependencies:b,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>s,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:d,argsMemoize:m})}}function $B(e){return({dispatch:n,getState:r})=>i=>o=>typeof o=="function"?o(n,r,e):i(o)}var Qce=$B(),Jce=$B,efe=(...e)=>{const t=Xce(...e);return(...n)=>{const r=t(...n),i=(o,...a)=>r(Xs(o)?DB(o):o,...a);return Object.assign(i,r),i}};efe(UB);var tfe=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?z0:z0.apply(null,arguments)},nfe=e=>e&&typeof e.match=="function";function Wn(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error(go(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>Lce(r)&&r.type===e,n}var BB=class Cp extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Cp.prototype)}static get[Symbol.species](){return Cp}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Cp(...t[0].concat(this)):new Cp(...t.concat(this))}};function lR(e){return Ia(e)?FB(e,()=>{}):e}function uR(e,t,n){if(e.has(t)){let i=e.get(t);return n.update&&(i=n.update(i,t,e),e.set(t,i)),i}if(!n.insert)throw new Error(go(10));const r=n.insert(t,e);return e.set(t,r),r}function rfe(e){return typeof e=="boolean"}var ife=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let a=new BB;return n&&(rfe(n)?a.push(Qce):a.push(Jce(n.extraArgument))),a},ofe="RTK_autoBatch",zB=e=>t=>{setTimeout(t,e)},afe=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:zB(10),sfe=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,o=!1,a=!1;const s=new Set,l=e.type==="tick"?queueMicrotask:e.type==="raf"?afe:e.type==="callback"?e.queueNotification:zB(e.timeout),u=()=>{a=!1,o&&(o=!1,s.forEach(f=>f()))};return Object.assign({},r,{subscribe(f){const d=()=>i&&f(),p=r.subscribe(d);return s.add(f),()=>{p(),s.delete(f)}},dispatch(f){var d;try{return i=!((d=f==null?void 0:f.meta)!=null&&d[ofe]),o=!i,o&&(a||(a=!0,l(u))),r.dispatch(f)}finally{i=!0}}})},lfe=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new BB(e);return r&&i.push(sfe(typeof r=="object"?r:void 0)),i},ufe=!0;function VB(e){const t=ife(),{reducer:n=void 0,middleware:r,devTools:i=!0,preloadedState:o=void 0,enhancers:a=void 0}=e||{};let s;if(typeof n=="function")s=n;else if(Vj(n))s=Hj(n);else throw new Error(go(1));let l;typeof r=="function"?l=r(t):l=t();let u=z0;i&&(u=tfe({trace:!ufe,...typeof i=="object"&&i}));const f=Mce(...l),d=lfe(f);let p=typeof a=="function"?a(d):d();const m=u(...p);return PB(s,o,m)}function HB(e){const t={},n=[];let r;const i={addCase(o,a){const s=typeof o=="string"?o:o.type;if(!s)throw new Error(go(28));if(s in t)throw new Error(go(29));return t[s]=a,i},addMatcher(o,a){return n.push({matcher:o,reducer:a}),i},addDefaultCase(o){return r=o,i}};return e(i),[t,n,r]}function cfe(e){return typeof e=="function"}function ffe(e,t){let[n,r,i]=HB(t),o;if(cfe(e))o=()=>lR(e());else{const s=lR(e);o=()=>s}function a(s=o(),l){let u=[n[l.type],...r.filter(({matcher:f})=>f(l)).map(({reducer:f})=>f)];return u.filter(f=>!!f).length===0&&(u=[i]),u.reduce((f,d)=>{if(d)if(Xs(f)){const m=d(f,l);return m===void 0?f:m}else{if(Ia(f))return FB(f,p=>d(p,l));{const p=d(f,l);if(p===void 0){if(f===null)return f;throw new Error(go(9))}return p}}return f},s)}return a.getInitialState=o,a}var dfe="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",pfe=(e=21)=>{let t="",n=e;for(;n--;)t+=dfe[Math.random()*64|0];return t},hfe=(e,t)=>nfe(e)?e.match(t):e(t);function mfe(...e){return t=>e.some(n=>hfe(n,t))}var vfe=["name","message","stack","code"],nO=class{constructor(e,t){Zu(this,"_type");this.payload=e,this.meta=t}},cR=class{constructor(e,t){Zu(this,"_type");this.payload=e,this.meta=t}},gfe=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of vfe)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},WB=(()=>{function e(t,n,r){const i=Wn(t+"/fulfilled",(l,u,f,d)=>({payload:l,meta:{...d||{},arg:f,requestId:u,requestStatus:"fulfilled"}})),o=Wn(t+"/pending",(l,u,f)=>({payload:void 0,meta:{...f||{},arg:u,requestId:l,requestStatus:"pending"}})),a=Wn(t+"/rejected",(l,u,f,d,p)=>({payload:d,error:(r&&r.serializeError||gfe)(l||"Rejected"),meta:{...p||{},arg:f,requestId:u,rejectedWithValue:!!d,requestStatus:"rejected",aborted:(l==null?void 0:l.name)==="AbortError",condition:(l==null?void 0:l.name)==="ConditionError"}}));function s(l){return(u,f,d)=>{const p=r!=null&&r.idGenerator?r.idGenerator(l):pfe(),m=new AbortController;let v;function g(y){v=y,m.abort()}const w=async function(){var x,O;let y;try{let E=(x=r==null?void 0:r.condition)==null?void 0:x.call(r,l,{getState:f,extra:d});if(bfe(E)&&(E=await E),E===!1||m.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const T=new Promise((k,A)=>m.signal.addEventListener("abort",()=>A({name:"AbortError",message:v||"Aborted"})));u(o(p,l,(O=r==null?void 0:r.getPendingMeta)==null?void 0:O.call(r,{requestId:p,arg:l},{getState:f,extra:d}))),y=await Promise.race([T,Promise.resolve(n(l,{dispatch:u,getState:f,extra:d,requestId:p,signal:m.signal,abort:g,rejectWithValue:(k,A)=>new nO(k,A),fulfillWithValue:(k,A)=>new cR(k,A)})).then(k=>{if(k instanceof nO)throw k;return k instanceof cR?i(k.payload,p,l,k.meta):i(k,p,l)})])}catch(E){y=E instanceof nO?a(null,p,l,E.payload,E.meta):a(E,p,l)}return r&&!r.dispatchConditionRejection&&a.match(y)&&y.meta.condition||u(y),y}();return Object.assign(w,{abort:g,requestId:p,arg:l,unwrap(){return w.then(yfe)}})}}return Object.assign(s,{pending:o,rejected:a,fulfilled:i,settled:mfe(a,i),typePrefix:t})}return e.withTypes=()=>e,e})();function yfe(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function bfe(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var _fe=Symbol.for("rtk-slice-createasyncthunk");function wfe(e,t){return`${e}/${t}`}function xfe({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[_fe];return function(i){const{name:o,reducerPath:a=o}=i;if(!o)throw new Error(go(11));typeof process<"u";const s=(typeof i.reducers=="function"?i.reducers(Sfe()):i.reducers)||{},l=Object.keys(s),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},f={addCase(w,y){const b=typeof w=="string"?w:w.type;if(!b)throw new Error(go(12));if(b in u.sliceCaseReducersByType)throw new Error(go(13));return u.sliceCaseReducersByType[b]=y,f},addMatcher(w,y){return u.sliceMatchers.push({matcher:w,reducer:y}),f},exposeAction(w,y){return u.actionCreators[w]=y,f},exposeCaseReducer(w,y){return u.sliceCaseReducersByName[w]=y,f}};l.forEach(w=>{const y=s[w],b={reducerName:w,type:wfe(o,w),createNotation:typeof i.reducers=="function"};Tfe(y)?kfe(b,y,f,t):Efe(b,y,f)});function d(){const[w={},y=[],b=void 0]=typeof i.extraReducers=="function"?HB(i.extraReducers):[i.extraReducers],x={...w,...u.sliceCaseReducersByType};return ffe(i.initialState,O=>{for(let E in x)O.addCase(E,x[E]);for(let E of u.sliceMatchers)O.addMatcher(E.matcher,E.reducer);for(let E of y)O.addMatcher(E.matcher,E.reducer);b&&O.addDefaultCase(b)})}const p=w=>w,m=new WeakMap;let v;const g={name:o,reducerPath:a,reducer(w,y){return v||(v=d()),v(w,y)},actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState(){return v||(v=d()),v.getInitialState()},getSelectors(w=p){const y=uR(m,this,{insert:()=>new WeakMap});return uR(y,w,{insert:()=>{const b={};for(const[x,O]of Object.entries(i.selectors??{}))b[x]=Ofe(this,O,w,this!==g);return b}})},selectSlice(w){let y=w[this.reducerPath];return typeof y>"u"&&this!==g&&(y=this.getInitialState()),y},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(w,{reducerPath:y,...b}={}){const x=y??this.reducerPath;return w.inject({reducerPath:x,reducer:this.reducer},b),{...this,reducerPath:x}}};return g}}function Ofe(e,t,n,r){function i(o,...a){let s=n.call(e,o);return typeof s>"u"&&r&&(s=e.getInitialState()),t(s,...a)}return i.unwrapped=t,i}var Yn=xfe();function Sfe(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function Efe({type:e,reducerName:t,createNotation:n},r,i){let o,a;if("reducer"in r){if(n&&!Cfe(r))throw new Error(go(17));o=r.reducer,a=r.prepare}else o=r;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,a?Wn(e,a):Wn(e))}function Tfe(e){return e._reducerDefinitionType==="asyncThunk"}function Cfe(e){return e._reducerDefinitionType==="reducerWithPrepare"}function kfe({type:e,reducerName:t},n,r,i){if(!i)throw new Error(go(18));const{payloadCreator:o,fulfilled:a,pending:s,rejected:l,settled:u,options:f}=n,d=i(e,o,f);r.exposeAction(t,d),a&&r.addCase(d.fulfilled,a),s&&r.addCase(d.pending,s),l&&r.addCase(d.rejected,l),u&&r.addMatcher(d.settled,u),r.exposeCaseReducer(t,{fulfilled:a||Ng,pending:s||Ng,rejected:l||Ng,settled:u||Ng})}function Ng(){}var Gj="listenerMiddleware";Wn(`${Gj}/add`);Wn(`${Gj}/removeAll`);Wn(`${Gj}/remove`);function go(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}const{actions:jfe,reducer:Pfe}=Yn({name:"shlink/appUpdates",initialState:!1,reducers:{appUpdateAvailable:()=>!0,resetAppUpdate:()=>!1}}),{appUpdateAvailable:Afe,resetAppUpdate:Nfe}=jfe,Mfe=Pfe,Lfe=(e,t)=>{e.factory("App",jce),e.decorator("App",t(["servers","settings","appUpdated"],["fetchServers","resetAppUpdate"])),e.serviceFactory("appUpdateAvailable",()=>Afe),e.serviceFactory("resetAppUpdate",()=>Nfe)},fR={"Content-Type":"application/json"},dR=e=>e!=null&&e.body?e?{...e,headers:{...e.headers??{},...fR}}:{headers:fR}:e;class Rfe{constructor(t=window.fetch.bind(window)){this.fetch=t}async jsonRequest(t,n){return this.fetch(t,dR(n)).then(async r=>{const i=await r.json();if(!r.ok)throw i;return i})}async emptyRequest(t,n){return this.fetch(t,dR(n)).then(async r=>{if(!r.ok)throw await r.json()})}}var qj=(e=>(e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.INVALID_SHORT_URL_DELETION="INVALID_SHORT_URL_DELETION",e.DOMAIN_NOT_FOUND="DOMAIN_NOT_FOUND",e.FORBIDDEN_OPERATION="FORBIDDEN_OPERATION",e.INVALID_URL="INVALID_URL",e.INVALID_SLUG="INVALID_SLUG",e.INVALID_SHORTCODE="INVALID_SHORTCODE",e.TAG_CONFLICT="TAG_CONFLICT",e.TAG_NOT_FOUND="TAG_NOT_FOUND",e.MERCURE_NOT_CONFIGURED="MERCURE_NOT_CONFIGURED",e.INVALID_AUTHORIZATION="INVALID_AUTHORIZATION",e.INVALID_API_KEY="INVALID_API_KEY",e.NOT_FOUND="NOT_FOUND",e))(qj||{}),Kj=(e=>(e.INVALID_ARGUMENT="https://shlink.io/api/error/invalid-data",e.INVALID_SHORT_URL_DELETION="https://shlink.io/api/error/invalid-short-url-deletion",e.DOMAIN_NOT_FOUND="https://shlink.io/api/error/domain-not-found",e.FORBIDDEN_OPERATION="https://shlink.io/api/error/forbidden-tag-operation",e.INVALID_URL="https://shlink.io/api/error/invalid-url",e.INVALID_SLUG="https://shlink.io/api/error/non-unique-slug",e.INVALID_SHORTCODE="https://shlink.io/api/error/short-url-not-found",e.TAG_CONFLICT="https://shlink.io/api/error/tag-conflict",e.TAG_NOT_FOUND="https://shlink.io/api/error/tag-not-found",e.MERCURE_NOT_CONFIGURED="https://shlink.io/api/error/mercure-not-configured",e.INVALID_AUTHORIZATION="https://shlink.io/api/error/missing-authentication",e.INVALID_API_KEY="https://shlink.io/api/error/invalid-api-key",e.NOT_FOUND="https://shlink.io/api/error/not-found",e))(Kj||{}),Dfe={prefix:"far",iconName:"calendar-days",icon:[448,512,["calendar-alt"],"f073","M152 24c0-13.3-10.7-24-24-24s-24 10.7-24 24V64H64C28.7 64 0 92.7 0 128v16 48V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V192 144 128c0-35.3-28.7-64-64-64H344V24c0-13.3-10.7-24-24-24s-24 10.7-24 24V64H152V24zM48 192h80v56H48V192zm0 104h80v64H48V296zm128 0h96v64H176V296zm144 0h80v64H320V296zm80-48H320V192h80v56zm0 160v40c0 8.8-7.2 16-16 16H320V408h80zm-128 0v56H176V408h96zm-144 0v56H64c-8.8 0-16-7.2-16-16V408h80zM272 248H176V192h96v56z"]},Ife=Dfe,Ffe={prefix:"far",iconName:"circle-right",icon:[512,512,[61838,"arrow-alt-circle-right"],"f35a","M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM294.6 135.1c-4.2-4.5-10.1-7.1-16.3-7.1C266 128 256 138 256 150.3V208H160c-17.7 0-32 14.3-32 32v32c0 17.7 14.3 32 32 32h96v57.7c0 12.3 10 22.3 22.3 22.3c6.2 0 12.1-2.6 16.3-7.1l99.9-107.1c3.5-3.8 5.5-8.7 5.5-13.8s-2-10.1-5.5-13.8L294.6 135.1z"]},Ufe=Ffe,$fe={prefix:"far",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},YB={prefix:"far",iconName:"clone",icon:[512,512,[],"f24d","M64 464H288c8.8 0 16-7.2 16-16V384h48v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V224c0-35.3 28.7-64 64-64h64v48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16zM224 304H448c8.8 0 16-7.2 16-16V64c0-8.8-7.2-16-16-16H224c-8.8 0-16 7.2-16 16V288c0 8.8 7.2 16 16 16zm-64-16V64c0-35.3 28.7-64 64-64H448c35.3 0 64 28.7 64 64V288c0 35.3-28.7 64-64 64H224c-35.3 0-64-28.7-64-64z"]},Bfe={prefix:"fab",iconName:"apple",icon:[384,512,[],"f179","M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"]},zfe={prefix:"fab",iconName:"android",icon:[576,512,[],"f17b","M420.55,301.93a24,24,0,1,1,24-24,24,24,0,0,1-24,24m-265.1,0a24,24,0,1,1,24-24,24,24,0,0,1-24,24m273.7-144.48,47.94-83a10,10,0,1,0-17.27-10h0l-48.54,84.07a301.25,301.25,0,0,0-246.56,0L116.18,64.45a10,10,0,1,0-17.27,10h0l47.94,83C64.53,202.22,8.24,285.55,0,384H576c-8.24-98.45-64.54-181.78-146.85-226.55"]},Vfe=Object.defineProperty,Hfe=(e,t,n)=>t in e?Vfe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,uo=(e,t,n)=>(Hfe(e,typeof t!="symbol"?t+"":t,n),n),wo,Qo=".",GB="function",qB="string",KB="__global__",Zj="Provider",Wfe=0,Xj=Array.prototype.slice,Yfe=function(e,t){var n=e[t];if(n===void 0&&wo.config.strict)throw new Error("Bottle was unable to resolve a service. `"+t+"` is undefined.");return n},H_=function(e){var t;return this.nested[e]||(t=wo.pop(),this.nested[e]=t,this.factory(e,function(){return t.container})),this.nested[e]},ZB=function(e){return e.split(Qo).reduce(Yfe,this)},Gfe=function(e,t,n,r){var i={configurable:!0,enumerable:!0};return e.length?i.get=function(){var o=0,a=function(s){if(s)throw s;e[o]&&e[o++](n,a)};return a(),n}:(i.value=n,i.writable=!0),Object.defineProperty(r,t,i),r[t]},qfe=function(e,t){var n,r;return typeof e===GB&&(t=e,e=KB),n=e.split(Qo),r=n.shift(),n.length?H_.call(this,r).middleware(n.join(Qo),t):(this.middlewares[r]||(this.middlewares[r]=[]),this.middlewares[r].push(t)),this},Kfe=function(e,t){return t(e)},pR=function(e,t){return(e[t]||[]).concat(e.__global__||[])},Zfe=function(e,t){var n,r,i,o,a;return this.id,i=this.container,o=this.decorators,a=this.middlewares,n=e+Zj,r=Object.create(null),r[n]={configurable:!0,enumerable:!0,get:function(){var s=new t;return delete i[n],i[n]=s,s}},r[e]={configurable:!0,enumerable:!0,get:function(){var s=i[n],l;return s&&(l=pR(o,e).reduce(Kfe,s.$get(i)),delete i[n],delete i[e]),l===void 0?l:Gfe(pR(a,e),e,l,i)}},Object.defineProperties(i,r),this},XB=function(e,t){var n,r;return n=e.split(Qo),this.providerMap[e]&&n.length===1&&!this.container[e+Zj]?console.error(e+" provider already instantiated."):(this.originalProviders[e]=t,this.providerMap[e]=!0,r=n.shift(),n.length?(H_.call(this,r).provider(n.join(Qo),t),this):Zfe.call(this,r,t))},Qj=function(e,t){return XB.call(this,e,function(){this.$get=t})},QB=function(e,t,n){var r=arguments.length>3?Xj.call(arguments,3):[],i=this;return Qj.call(this,e,function(){var o=t,a=r.map(ZB,i.container);return n?new(t.bind.apply(t,[null].concat(a))):o.apply(null,a)})},Xfe=function(e,t){return QB.apply(this,[e,t,!0].concat(Xj.call(arguments,2)))},Qfe=function(e,t){return QB.apply(this,[e,t,!1].concat(Xj.call(arguments,2)))},JB=function(e,t){Object.defineProperty(this,e,{configurable:!0,enumerable:!0,value:t,writable:!0})},e2=function(e,t){var n=e[t];return n||(n={},JB.call(e,t,n)),n},Jfe=function(e,t){var n;return n=e.split(Qo),e=n.pop(),JB.call(n.reduce(e2,this.container),e,t),this},ede=function(e,t){Object.defineProperty(this,e,{configurable:!1,enumerable:!0,value:t,writable:!1})},tde=function(e,t){var n=e.split(Qo);return e=n.pop(),ede.call(n.reduce(e2,this.container),e,t),this},t2=function(e,t){var n,r;return typeof e===GB&&(t=e,e=KB),n=e.split(Qo),r=n.shift(),n.length?H_.call(this,r).decorator(n.join(Qo),t):(this.decorators[r]||(this.decorators[r]=[]),this.decorators[r].push(t)),this},nde=function(e){return this.deferred.push(e),this},rde=function(e){return(e||[]).map(ZB,this.container)},ide=function(e,t){return Qj.call(this,e,function(n){return{instance:t.bind(t,n)}})},ode=function(e){return!/^\$(?:decorator|register|list)$|Provider$/.test(e)},Jj=function(e){return Object.keys(e||this.container||{}).filter(ode)},W0={},ade=function(e){var t;return typeof e===qB?(t=W0[e],t||(W0[e]=t=new wo,t.constant("BOTTLE_NAME",e)),t):new wo},sde=function(e){typeof e===qB?delete W0[e]:W0={}},n2=function(e){var t=e.$value===void 0?e:e.$value;return this[e.$type||"service"].apply(this,[e.$name,t].concat(e.$inject||[]))},hR=function(e){delete this.providerMap[e],delete this.container[e],delete this.container[e+Zj]},lde=function(e){var t=this.originalProviders,n=Array.isArray(e);Object.keys(this.originalProviders).forEach(function(r){if(!(n&&e.indexOf(r)===-1)){var i=r.split(Qo);i.length>1&&i.forEach(hR,H_.call(this,i[0])),hR.call(this,r),this.provider(r,t[r])}},this)},ude=function(e){return this.deferred.forEach(function(t){t(e)}),this};wo=function e(t){if(!(this instanceof e))return e.pop(t);this.id=Wfe++,this.decorators={},this.middlewares={},this.nested={},this.providerMap={},this.originalProviders={},this.deferred=[],this.container={$decorator:t2.bind(this),$register:n2.bind(this),$list:Jj.bind(this)}};wo.prototype={constant:tde,decorator:t2,defer:nde,digest:rde,factory:Qj,instanceFactory:ide,list:Jj,middleware:qfe,provider:XB,resetProviders:lde,register:n2,resolve:ude,service:Xfe,serviceFactory:Qfe,value:Jfe};wo.pop=ade;wo.clear=sde;wo.list=Jj;wo.config={strict:!1};const cde=wo,fde=({listDomains:e,value:t,domainsList:n,onChange:r})=>{const[i,,o,a]=En(),{domains:s}=n,l=!t,u=F.useCallback(()=>{r(""),a()},[r,a]),f=F.useCallback(()=>{r(""),o()},[r,o]);return F.useEffect(()=>{e()},[e]),i?_.jsxs(R_,{children:[_.jsx(yu,{value:t??"",placeholder:"Domain",onChange:d=>r(d.target.value)}),_.jsx(wt,{id:"backToDropdown",outline:!0,type:"button",className:"domains-dropdown__back-btn","aria-label":"Back to domains list",onClick:u,children:_.jsx(Le,{icon:mJ})}),_.jsx(qr,{target:"backToDropdown",placement:"left",trigger:"hover",children:"Existing domains"})]}):_.jsxs(Xa,{text:l?"Domain":`Domain: ${t}`,className:l?"domains-dropdown__toggle-btn":"domains-dropdown__toggle-btn--active",children:[s.map(({domain:d,isDefault:p})=>_.jsxs(ze,{active:(t===d||p)&&l,onClick:()=>r(d),children:[d,p&&_.jsx("span",{className:"float-end text-muted",children:"default"})]},d)),_.jsx(ze,{divider:!0}),_.jsx(ze,{onClick:f,children:_.jsx("i",{children:"New domain"})})]})},dde=e=>(e==null?void 0:e.type)===qj.INVALID_ARGUMENT||(e==null?void 0:e.type)===Kj.INVALID_ARGUMENT,pde=e=>(e==null?void 0:e.type)==="INVALID_SHORTCODE_DELETION"||(e==null?void 0:e.type)===qj.INVALID_SHORT_URL_DELETION||(e==null?void 0:e.type)===Kj.INVALID_SHORT_URL_DELETION,hde=e=>!!e&&typeof e=="object"&&["type","detail","title","status"].every(t=>t in e),xo=e=>hde(e)?e:void 0,Fa=({errorData:e,fallbackMessage:t})=>_.jsxs(_.Fragment,{children:[(e==null?void 0:e.detail)??t,dde(e)&&_.jsxs("p",{className:"mb-0",children:["Invalid elements: [",e.invalidElements.join(", "),"]"]})]}),mde=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,mR=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(mde);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},vR=e=>e==="*"||e==="x"||e==="X",gR=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},vde=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],gde=(e,t)=>{if(vR(e)||vR(t))return 0;const[n,r]=vde(gR(e),gR(t));return n>r?1:n{for(let n=0;n{const n=mR(e),r=mR(t),i=n.pop(),o=r.pop(),a=yR(n,r);return a!==0?a:i&&o?yR(i.split("."),o.split(".")):i||o?i?-1:1:0},bR=(e,t,n)=>{bde(n);const r=yde(e,t);return r2[n].includes(r)},r2={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},_R=Object.keys(r2),bde=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(_R.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${_R.join("|")}`)},_de=(e,{maxVersion:t,minVersion:n})=>{const r=!n||bR(e,n,">=");return(!t||bR(e,t,"<="))&&r},i2={domainVisits:"3.1.0",excludeBotsOnShortUrls:"3.4.0",filterDisabledUrls:"3.4.0",deviceLongUrls:"3.5.0",shortUrlVisitsDeletion:"3.6.0",orphanVisitsDeletion:"3.6.0"};Object.freeze(i2);const rc=(e,t)=>t==="latest"||_de(t,{minVersion:i2[e]}),o2=e=>({domainVisits:rc("domainVisits",e),excludeBotsOnShortUrls:rc("excludeBotsOnShortUrls",e),filterDisabledUrls:rc("filterDisabledUrls",e),deviceLongUrls:rc("deviceLongUrls",e),shortUrlVisitsDeletion:rc("shortUrlVisitsDeletion",e),orphanVisitsDeletion:rc("orphanVisitsDeletion",e)}),a2=F.createContext(o2("0.0.0")),wde=a2.Provider,xde=e=>F.useMemo(()=>o2(e),[e]),Nu=e=>F.useContext(a2)[e],s2=F.createContext(""),Ode=s2.Provider,Mu=()=>F.useContext(s2),Jp=(e,t,n)=>n==null?e.shortCode===t&&!e.domain:e.shortCode===t&&e.domain===n,Sde=(e,t)=>!e.domain&&t===B2?!0:e.domain===t,Ede=(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.validUntil??void 0,maxVisits:e.meta.maxVisits??void 0,crawlable:e.crawlable,forwardQuery:e.forwardQuery,deviceLongUrls:e.deviceLongUrls&&{android:e.deviceLongUrls.android??void 0,ios:e.deviceLongUrls.ios??void 0,desktop:e.deviceLongUrls.desktop??void 0},validateUrl:n}:{longUrl:"",validateUrl:n}},l2="__",Tde=e=>e.replaceAll("/",l2),u2=e=>e.replaceAll(l2,"/");function di(e){"@babel/helpers - typeof";return di=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},di(e)}function Je(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Pe(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function Ne(e){Pe(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||di(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Lu(e,t){Pe(2,arguments);var n=Ne(e),r=Je(t);return isNaN(r)?new Date(NaN):(r&&n.setDate(n.getDate()+r),n)}function zi(e,t){Pe(2,arguments);var n=Ne(e),r=Je(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var i=n.getDate(),o=new Date(n.getTime());o.setMonth(n.getMonth()+r+1,0);var a=o.getDate();return i>=a?o:(n.setFullYear(o.getFullYear(),o.getMonth(),i),n)}function Cde(e,t){if(Pe(2,arguments),!t||di(t)!=="object")return new Date(NaN);var n=t.years?Je(t.years):0,r=t.months?Je(t.months):0,i=t.weeks?Je(t.weeks):0,o=t.days?Je(t.days):0,a=t.hours?Je(t.hours):0,s=t.minutes?Je(t.minutes):0,l=t.seconds?Je(t.seconds):0,u=Ne(e),f=r||n?zi(u,r+n*12):u,d=o||i?Lu(f,o+i*7):f,p=s+a*60,m=l+p*60,v=m*1e3,g=new Date(d.getTime()+v);return g}function eP(e,t){Pe(2,arguments);var n=Ne(e).getTime(),r=Je(t);return new Date(n+r)}var kde=36e5;function jde(e,t){Pe(2,arguments);var n=Je(t);return eP(e,n*kde)}var Pde={};function Qa(){return Pde}function c2(e,t){var n,r,i,o,a,s,l,u;Pe(1,arguments);var f=Qa(),d=Je((n=(r=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:f.weekStartsOn)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=Ne(e),m=p.getDay(),v=(m=i.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function Nde(e){Pe(1,arguments);var t=Ade(e),n=new Date(0);n.setFullYear(t,0,4),n.setHours(0,0,0,0);var r=qh(n);return r}function xf(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function oi(e){Pe(1,arguments);var t=Ne(e);return t.setHours(0,0,0,0),t}var Mde=864e5;function Kh(e,t){Pe(2,arguments);var n=oi(e),r=oi(t),i=n.getTime()-xf(n),o=r.getTime()-xf(r);return Math.round((i-o)/Mde)}var Lde=6e4;function XE(e,t){Pe(2,arguments);var n=Je(t);return eP(e,n*Lde)}function f2(e,t){Pe(2,arguments);var n=Je(t),r=n*3;return zi(e,r)}function Y0(e,t){Pe(2,arguments);var n=Je(t),r=n*7;return Lu(e,r)}function Of(e,t){Pe(2,arguments);var n=Je(t);return zi(e,n*12)}function wR(e){Pe(1,arguments);var t;if(e&&typeof e.forEach=="function")t=e;else if(di(e)==="object"&&e!==null)t=Array.prototype.slice.call(e);else return new Date(NaN);var n;return t.forEach(function(r){var i=Ne(r);(n===void 0||ni||isNaN(i.getDate()))&&(n=i)}),n||new Date(NaN)}function Oy(e,t){Pe(2,arguments);var n=Ne(e),r=Ne(t),i=n.getTime()-r.getTime();return i<0?-1:i>0?1:i}var tP=6e4,W_=36e5,Rde=1e3;function Dde(e,t){Pe(2,arguments);var n=oi(e),r=oi(t);return n.getTime()===r.getTime()}function Y_(e){return Pe(1,arguments),e instanceof Date||di(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Zh(e){if(Pe(1,arguments),!Y_(e)&&typeof e!="number")return!1;var t=Ne(e);return!isNaN(Number(t))}function Xh(e,t){Pe(2,arguments);var n=Ne(e),r=Ne(t),i=n.getFullYear()-r.getFullYear(),o=n.getMonth()-r.getMonth();return i*12+o}function Nc(e){Pe(1,arguments);var t=Ne(e),n=Math.floor(t.getMonth()/3)+1;return n}function G0(e,t){Pe(2,arguments);var n=Ne(e),r=Ne(t);return n.getFullYear()-r.getFullYear()}function OR(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function nP(e,t){Pe(2,arguments);var n=Ne(e),r=Ne(t),i=OR(n,r),o=Math.abs(Kh(n,r));n.setDate(n.getDate()-i*o);var a=+(OR(n,r)===-i),s=i*(o-a);return s===0?0:s}function d2(e,t){return Pe(2,arguments),Ne(e).getTime()-Ne(t).getTime()}var SR={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}},Ide="trunc";function rP(e){return e?SR[e]:SR[Ide]}function Fde(e,t,n){Pe(2,arguments);var r=d2(e,t)/W_;return rP(n==null?void 0:n.roundingMethod)(r)}function _u(e){Pe(1,arguments);var t=Ne(e);return t.setHours(23,59,59,999),t}function p2(e){Pe(1,arguments);var t=Ne(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function Ude(e){Pe(1,arguments);var t=Ne(e);return _u(t).getTime()===p2(t).getTime()}function q0(e,t){Pe(2,arguments);var n=Ne(e),r=Ne(t),i=Oy(n,r),o=Math.abs(Xh(n,r)),a;if(o<1)a=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-i*o);var s=Oy(n,r)===-i;Ude(Ne(e))&&o===1&&Oy(e,r)===1&&(s=!1),a=i*(o-Number(s))}return a===0?0:a}function $de(e,t,n){Pe(2,arguments);var r=d2(e,t)/1e3;return rP(n==null?void 0:n.roundingMethod)(r)}function Bde(e,t,n){Pe(2,arguments);var r=nP(e,t)/7;return rP(n==null?void 0:n.roundingMethod)(r)}function QE(e){Pe(1,arguments);var t=Ne(e),n=t.getMonth(),r=n-n%3;return t.setMonth(r,1),t.setHours(0,0,0,0),t}function h2(e){Pe(1,arguments);var t=Ne(e);return t.setDate(1),t.setHours(0,0,0,0),t}function zde(e){Pe(1,arguments);var t=Ne(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}function m2(e){Pe(1,arguments);var t=Ne(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Vde(e,t){var n,r,i,o,a,s,l,u;Pe(1,arguments);var f=Qa(),d=Je((n=(r=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:f.weekStartsOn)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=Ne(e),m=p.getDay(),v=(m=i.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function Gde(e){Pe(1,arguments);var t=g2(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=Sf(n);return r}var qde=6048e5;function y2(e){Pe(1,arguments);var t=Ne(e),n=Sf(t).getTime()-Gde(t).getTime();return Math.round(n/qde)+1}function wu(e,t){var n,r,i,o,a,s,l,u;Pe(1,arguments);var f=Qa(),d=Je((n=(r=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:f.weekStartsOn)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=Ne(e),m=p.getUTCDay(),v=(m=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var v=new Date(0);v.setUTCFullYear(d+1,0,m),v.setUTCHours(0,0,0,0);var g=wu(v,t),w=new Date(0);w.setUTCFullYear(d,0,m),w.setUTCHours(0,0,0,0);var y=wu(w,t);return f.getTime()>=g.getTime()?d+1:f.getTime()>=y.getTime()?d:d-1}function Kde(e,t){var n,r,i,o,a,s,l,u;Pe(1,arguments);var f=Qa(),d=Je((n=(r=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:f.firstWeekContainsDate)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1),p=iP(e,t),m=new Date(0);m.setUTCFullYear(p,0,d),m.setUTCHours(0,0,0,0);var v=wu(m,t);return v}var Zde=6048e5;function b2(e,t){Pe(1,arguments);var n=Ne(e),r=wu(n,t).getTime()-Kde(n,t).getTime();return Math.round(r/Zde)+1}function ct(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length0?n:1-n;return ct(t==="yy"?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return t==="M"?String(n+1):ct(n+1,2)},d:function(e,t){return ct(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(e,t){return ct(e.getUTCHours()%12||12,t.length)},H:function(e,t){return ct(e.getUTCHours(),t.length)},m:function(e,t){return ct(e.getUTCMinutes(),t.length)},s:function(e,t){return ct(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds(),i=Math.floor(r*Math.pow(10,n-3));return ct(i,t.length)}};const ls=Xde;var ic={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Qde={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){var r=e.getUTCFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return ls.y(e,t)},Y:function(e,t,n,r){var i=iP(e,r),o=i>0?i:1-i;if(t==="YY"){var a=o%100;return ct(a,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):ct(o,t.length)},R:function(e,t){var n=g2(e);return ct(n,t.length)},u:function(e,t){var n=e.getUTCFullYear();return ct(n,t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return ct(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return ct(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return ls.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return ct(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var i=b2(e,r);return t==="wo"?n.ordinalNumber(i,{unit:"week"}):ct(i,t.length)},I:function(e,t,n){var r=y2(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):ct(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):ls.d(e,t)},D:function(e,t,n){var r=Yde(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):ct(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var i=e.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return ct(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var i=e.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return ct(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),i=r===0?7:r;switch(t){case"i":return String(i);case"ii":return ct(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours(),i=r/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r=e.getUTCHours(),i;switch(r===12?i=ic.noon:r===0?i=ic.midnight:i=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r=e.getUTCHours(),i;switch(r>=17?i=ic.evening:r>=12?i=ic.afternoon:r>=4?i=ic.morning:i=ic.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){var r=e.getUTCHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return ls.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):ls.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):ct(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):ct(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):ls.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):ls.s(e,t)},S:function(e,t){return ls.S(e,t)},X:function(e,t,n,r){var i=r._originalDate||e,o=i.getTimezoneOffset();if(o===0)return"Z";switch(t){case"X":return TR(o);case"XXXX":case"XX":return Ll(o);case"XXXXX":case"XXX":default:return Ll(o,":")}},x:function(e,t,n,r){var i=r._originalDate||e,o=i.getTimezoneOffset();switch(t){case"x":return TR(o);case"xxxx":case"xx":return Ll(o);case"xxxxx":case"xxx":default:return Ll(o,":")}},O:function(e,t,n,r){var i=r._originalDate||e,o=i.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+ER(o,":");case"OOOO":default:return"GMT"+Ll(o,":")}},z:function(e,t,n,r){var i=r._originalDate||e,o=i.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+ER(o,":");case"zzzz":default:return"GMT"+Ll(o,":")}},t:function(e,t,n,r){var i=r._originalDate||e,o=Math.floor(i.getTime()/1e3);return ct(o,t.length)},T:function(e,t,n,r){var i=r._originalDate||e,o=i.getTime();return ct(o,t.length)}};function ER(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;if(o===0)return n+String(i);var a=t||"";return n+String(i)+a+ct(o,2)}function TR(e,t){if(e%60===0){var n=e>0?"-":"+";return n+ct(Math.abs(e)/60,2)}return Ll(e,t)}function Ll(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e),o=ct(Math.floor(i/60),2),a=ct(i%60,2);return r+o+n+a}const Jde=Qde;var CR=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},_2=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},epe=function(e,t){var n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return CR(e,t);var o;switch(r){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",CR(r,t)).replace("{{time}}",_2(i,t))},tpe={p:_2,P:epe};const JE=tpe;var npe=["D","DD"],rpe=["YY","YYYY"];function w2(e){return npe.indexOf(e)!==-1}function x2(e){return rpe.indexOf(e)!==-1}function K0(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var ipe={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},ope=function(e,t,n){var r,i=ipe[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};const ape=ope;function rO(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var spe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},lpe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},upe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},cpe={date:rO({formats:spe,defaultWidth:"full"}),time:rO({formats:lpe,defaultWidth:"full"}),dateTime:rO({formats:upe,defaultWidth:"full"})};const fpe=cpe;var dpe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},ppe=function(e,t,n,r){return dpe[e]};const hpe=ppe;function op(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):o;i=e.formattingValues[a]||e.formattingValues[o]}else{var s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[l]||e.values[s]}var u=e.argumentCallback?e.argumentCallback(t):t;return i[u]}}var mpe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},vpe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},gpe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ype={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},bpe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},_pe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},wpe=function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},xpe={ordinalNumber:wpe,era:op({values:mpe,defaultWidth:"wide"}),quarter:op({values:vpe,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:op({values:gpe,defaultWidth:"wide"}),day:op({values:ype,defaultWidth:"wide"}),dayPeriod:op({values:bpe,defaultWidth:"wide",formattingValues:_pe,defaultFormattingWidth:"wide"})};const Ope=xpe;function ap(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var a=o[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?Epe(s,function(d){return d.test(a)}):Spe(s,function(d){return d.test(a)}),u;u=e.valueCallback?e.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;var f=t.slice(a.length);return{value:u,rest:f}}}function Spe(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function Epe(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],o=t.match(e.parsePattern);if(!o)return null;var a=e.valueCallback?e.valueCallback(o[0]):o[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(i.length);return{value:a,rest:s}}}var Cpe=/^(\d+)(th|st|nd|rd)?/i,kpe=/\d+/i,jpe={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Ppe={any:[/^b/i,/^(a|c)/i]},Ape={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Npe={any:[/1/i,/2/i,/3/i,/4/i]},Mpe={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Lpe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Rpe={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Dpe={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Ipe={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Fpe={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Upe={ordinalNumber:Tpe({matchPattern:Cpe,parsePattern:kpe,valueCallback:function(e){return parseInt(e,10)}}),era:ap({matchPatterns:jpe,defaultMatchWidth:"wide",parsePatterns:Ppe,defaultParseWidth:"any"}),quarter:ap({matchPatterns:Ape,defaultMatchWidth:"wide",parsePatterns:Npe,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:ap({matchPatterns:Mpe,defaultMatchWidth:"wide",parsePatterns:Lpe,defaultParseWidth:"any"}),day:ap({matchPatterns:Rpe,defaultMatchWidth:"wide",parsePatterns:Dpe,defaultParseWidth:"any"}),dayPeriod:ap({matchPatterns:Ipe,defaultMatchWidth:"any",parsePatterns:Fpe,defaultParseWidth:"any"})};const $pe=Upe;var Bpe={code:"en-US",formatDistance:ape,formatLong:fpe,formatRelative:hpe,localize:Ope,match:$pe,options:{weekStartsOn:0,firstWeekContainsDate:1}};const oP=Bpe;var zpe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Vpe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Hpe=/^'([^]*?)'?$/,Wpe=/''/g,Ype=/[a-zA-Z]/;function Ef(e,t,n){var r,i,o,a,s,l,u,f,d,p,m,v,g,w,y,b,x,O;Pe(2,arguments);var E=String(t),T=Qa(),k=(r=(i=n==null?void 0:n.locale)!==null&&i!==void 0?i:T.locale)!==null&&r!==void 0?r:oP,A=Je((o=(a=(s=(l=n==null?void 0:n.firstWeekContainsDate)!==null&&l!==void 0?l:n==null||(u=n.locale)===null||u===void 0||(f=u.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&s!==void 0?s:T.firstWeekContainsDate)!==null&&a!==void 0?a:(d=T.locale)===null||d===void 0||(p=d.options)===null||p===void 0?void 0:p.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(A>=1&&A<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var D=Je((m=(v=(g=(w=n==null?void 0:n.weekStartsOn)!==null&&w!==void 0?w:n==null||(y=n.locale)===null||y===void 0||(b=y.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&g!==void 0?g:T.weekStartsOn)!==null&&v!==void 0?v:(x=T.locale)===null||x===void 0||(O=x.options)===null||O===void 0?void 0:O.weekStartsOn)!==null&&m!==void 0?m:0);if(!(D>=0&&D<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!k.localize)throw new RangeError("locale must contain localize property");if(!k.formatLong)throw new RangeError("locale must contain formatLong property");var R=Ne(e);if(!Zh(R))throw new RangeError("Invalid time value");var I=xf(R),z=v2(R,I),G={firstWeekContainsDate:A,weekStartsOn:D,locale:k,_originalDate:R},H=E.match(Vpe).map(function(Q){var Z=Q[0];if(Z==="p"||Z==="P"){var te=JE[Z];return te(Q,k.formatLong)}return Q}).join("").match(zpe).map(function(Q){if(Q==="''")return"'";var Z=Q[0];if(Z==="'")return Gpe(Q);var te=Jde[Z];if(te)return!(n!=null&&n.useAdditionalWeekYearTokens)&&x2(Q)&&K0(Q,t,String(e)),!(n!=null&&n.useAdditionalDayOfYearTokens)&&w2(Q)&&K0(Q,t,String(e)),te(z,Q,k.localize,G);if(Z.match(Ype))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Z+"`");return Q}).join("");return H}function Gpe(e){var t=e.match(Hpe);return t?t[1].replace(Wpe,"'"):e}function aP(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function qpe(e){return aP({},e)}var kR=1440,Kpe=2520,iO=43200,Zpe=86400;function Xpe(e,t,n){var r,i;Pe(2,arguments);var o=Qa(),a=(r=(i=n==null?void 0:n.locale)!==null&&i!==void 0?i:o.locale)!==null&&r!==void 0?r:oP;if(!a.formatDistance)throw new RangeError("locale must contain formatDistance property");var s=Oy(e,t);if(isNaN(s))throw new RangeError("Invalid time value");var l=aP(qpe(n),{addSuffix:!!(n!=null&&n.addSuffix),comparison:s}),u,f;s>0?(u=Ne(t),f=Ne(e)):(u=Ne(e),f=Ne(t));var d=$de(f,u),p=(xf(f)-xf(u))/1e3,m=Math.round((d-p)/60),v;if(m<2)return n!=null&&n.includeSeconds?d<5?a.formatDistance("lessThanXSeconds",5,l):d<10?a.formatDistance("lessThanXSeconds",10,l):d<20?a.formatDistance("lessThanXSeconds",20,l):d<40?a.formatDistance("halfAMinute",0,l):d<60?a.formatDistance("lessThanXMinutes",1,l):a.formatDistance("xMinutes",1,l):m===0?a.formatDistance("lessThanXMinutes",1,l):a.formatDistance("xMinutes",m,l);if(m<45)return a.formatDistance("xMinutes",m,l);if(m<90)return a.formatDistance("aboutXHours",1,l);if(mr.getTime()}function po(e,t){Pe(2,arguments);var n=Ne(e),r=Ne(t);return n.getTime()e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,a=!1,s;return{s:function(){n=n.call(e)},n:function(){var l=n.next();return o=l.done,l},e:function(l){a=!0,s=l},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(a)throw s}}}}function Ue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eT(e,t){return eT=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},eT(e,t)}function yt(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&&eT(e,t)}function X0(e){return X0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},X0(e)}function ohe(){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 ahe(e,t){if(t&&(di(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ue(e)}function bt(e){var t=ohe();return function(){var n=X0(e),r;if(t){var i=X0(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return ahe(this,r)}}function ht(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function she(e,t){if(di(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(di(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function S2(e){var t=she(e,"string");return di(t)==="symbol"?t:String(t)}function MR(e,t){for(var n=0;n0,r=n?t:1-t,i;if(r<=50)i=e||100;else{var o=r+50,a=Math.floor(o/100)*100,s=e>=o%100;i=e+a-(s?100:0)}return n?i:1-i}function j2(e){return e%400===0||e%4===0&&e%100!==0}var dhe=function(e){yt(n,e);var t=bt(n);function n(){var r;ht(this,n);for(var i=arguments.length,o=new Array(i),a=0;a0}},{key:"set",value:function(r,i,o){var a=r.getUTCFullYear();if(o.isTwoDigitYear){var s=k2(o.year,a);return r.setUTCFullYear(s,0,1),r.setUTCHours(0,0,0,0),r}var l=!("era"in i)||i.era===1?o.year:1-o.year;return r.setUTCFullYear(l,0,1),r.setUTCHours(0,0,0,0),r}}]),n}(Tt),phe=function(e){yt(n,e);var t=bt(n);function n(){var r;ht(this,n);for(var i=arguments.length,o=new Array(i),a=0;a0}},{key:"set",value:function(r,i,o,a){var s=iP(r,a);if(o.isTwoDigitYear){var l=k2(o.year,s);return r.setUTCFullYear(l,0,a.firstWeekContainsDate),r.setUTCHours(0,0,0,0),wu(r,a)}var u=!("era"in i)||i.era===1?o.year:1-o.year;return r.setUTCFullYear(u,0,a.firstWeekContainsDate),r.setUTCHours(0,0,0,0),wu(r,a)}}]),n}(Tt),hhe=function(e){yt(n,e);var t=bt(n);function n(){var r;ht(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&i<=4}},{key:"set",value:function(r,i,o){return r.setUTCMonth((o-1)*3,1),r.setUTCHours(0,0,0,0),r}}]),n}(Tt),ghe=function(e){yt(n,e);var t=bt(n);function n(){var r;ht(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&i<=4}},{key:"set",value:function(r,i,o){return r.setUTCMonth((o-1)*3,1),r.setUTCHours(0,0,0,0),r}}]),n}(Tt),yhe=function(e){yt(n,e);var t=bt(n);function n(){var r;ht(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&i<=11}},{key:"set",value:function(r,i,o){return r.setUTCMonth(o,1),r.setUTCHours(0,0,0,0),r}}]),n}(Tt),bhe=function(e){yt(n,e);var t=bt(n);function n(){var r;ht(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&i<=11}},{key:"set",value:function(r,i,o){return r.setUTCMonth(o,1),r.setUTCHours(0,0,0,0),r}}]),n}(Tt);function _he(e,t,n){Pe(2,arguments);var r=Ne(e),i=Je(t),o=b2(r,n)-i;return r.setUTCDate(r.getUTCDate()-o*7),r}var whe=function(e){yt(n,e);var t=bt(n);function n(){var r;ht(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&i<=53}},{key:"set",value:function(r,i,o,a){return wu(_he(r,o,a),a)}}]),n}(Tt);function xhe(e,t){Pe(2,arguments);var n=Ne(e),r=Je(t),i=y2(n)-r;return n.setUTCDate(n.getUTCDate()-i*7),n}var Ohe=function(e){yt(n,e);var t=bt(n);function n(){var r;ht(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&i<=53}},{key:"set",value:function(r,i,o){return Sf(xhe(r,o))}}]),n}(Tt),She=[31,28,31,30,31,30,31,31,30,31,30,31],Ehe=[31,29,31,30,31,30,31,31,30,31,30,31],The=function(e){yt(n,e);var t=bt(n);function n(){var r;ht(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&i<=Ehe[s]:i>=1&&i<=She[s]}},{key:"set",value:function(r,i,o){return r.setUTCDate(o),r.setUTCHours(0,0,0,0),r}}]),n}(Tt),Che=function(e){yt(n,e);var t=bt(n);function n(){var r;ht(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&i<=366:i>=1&&i<=365}},{key:"set",value:function(r,i,o){return r.setUTCMonth(0,o),r.setUTCHours(0,0,0,0),r}}]),n}(Tt);function lP(e,t,n){var r,i,o,a,s,l,u,f;Pe(2,arguments);var d=Qa(),p=Je((r=(i=(o=(a=n==null?void 0:n.weekStartsOn)!==null&&a!==void 0?a:n==null||(s=n.locale)===null||s===void 0||(l=s.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&o!==void 0?o:d.weekStartsOn)!==null&&i!==void 0?i:(u=d.locale)===null||u===void 0||(f=u.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&r!==void 0?r:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=Ne(e),v=Je(t),g=m.getUTCDay(),w=v%7,y=(w+7)%7,b=(y=0&&i<=6}},{key:"set",value:function(r,i,o,a){return r=lP(r,o,a),r.setUTCHours(0,0,0,0),r}}]),n}(Tt),jhe=function(e){yt(n,e);var t=bt(n);function n(){var r;ht(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&i<=6}},{key:"set",value:function(r,i,o,a){return r=lP(r,o,a),r.setUTCHours(0,0,0,0),r}}]),n}(Tt),Phe=function(e){yt(n,e);var t=bt(n);function n(){var r;ht(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&i<=6}},{key:"set",value:function(r,i,o,a){return r=lP(r,o,a),r.setUTCHours(0,0,0,0),r}}]),n}(Tt);function Ahe(e,t){Pe(2,arguments);var n=Je(t);n%7===0&&(n=n-7);var r=1,i=Ne(e),o=i.getUTCDay(),a=n%7,s=(a+7)%7,l=(s=1&&i<=7}},{key:"set",value:function(r,i,o){return r=Ahe(r,o),r.setUTCHours(0,0,0,0),r}}]),n}(Tt),Mhe=function(e){yt(n,e);var t=bt(n);function n(){var r;ht(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&i<=12}},{key:"set",value:function(r,i,o){var a=r.getUTCHours()>=12;return a&&o<12?r.setUTCHours(o+12,0,0,0):!a&&o===12?r.setUTCHours(0,0,0,0):r.setUTCHours(o,0,0,0),r}}]),n}(Tt),Ihe=function(e){yt(n,e);var t=bt(n);function n(){var r;ht(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&i<=23}},{key:"set",value:function(r,i,o){return r.setUTCHours(o,0,0,0),r}}]),n}(Tt),Fhe=function(e){yt(n,e);var t=bt(n);function n(){var r;ht(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&i<=11}},{key:"set",value:function(r,i,o){var a=r.getUTCHours()>=12;return a&&o<12?r.setUTCHours(o+12,0,0,0):r.setUTCHours(o,0,0,0),r}}]),n}(Tt),Uhe=function(e){yt(n,e);var t=bt(n);function n(){var r;ht(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&i<=24}},{key:"set",value:function(r,i,o){var a=o<=24?o%24:o;return r.setUTCHours(a,0,0,0),r}}]),n}(Tt),$he=function(e){yt(n,e);var t=bt(n);function n(){var r;ht(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&i<=59}},{key:"set",value:function(r,i,o){return r.setUTCMinutes(o,0,0),r}}]),n}(Tt),Bhe=function(e){yt(n,e);var t=bt(n);function n(){var r;ht(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&i<=59}},{key:"set",value:function(r,i,o){return r.setUTCSeconds(o,0),r}}]),n}(Tt),zhe=function(e){yt(n,e);var t=bt(n);function n(){var r;ht(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&R<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var I=Je((v=(g=(w=(y=r==null?void 0:r.weekStartsOn)!==null&&y!==void 0?y:r==null||(b=r.locale)===null||b===void 0||(x=b.options)===null||x===void 0?void 0:x.weekStartsOn)!==null&&w!==void 0?w:A.weekStartsOn)!==null&&g!==void 0?g:(O=A.locale)===null||O===void 0||(E=O.options)===null||E===void 0?void 0:E.weekStartsOn)!==null&&v!==void 0?v:0);if(!(I>=0&&I<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(k==="")return T===""?Ne(n):new Date(NaN);var z={firstWeekContainsDate:R,weekStartsOn:I,locale:D},G=[new che],H=k.match(Khe).map(function(j){var P=j[0];if(P in JE){var B=JE[P];return B(j,D.formatLong)}return j}).join("").match(qhe),Q=[],Z=NR(H),te;try{var X=function(){var j=te.value;!(r!=null&&r.useAdditionalWeekYearTokens)&&x2(j)&&K0(j,k,e),!(r!=null&&r.useAdditionalDayOfYearTokens)&&w2(j)&&K0(j,k,e);var P=j[0],B=Ghe[P];if(B){var J=B.incompatibleTokens;if(Array.isArray(J)){var K=Q.find(function(he){return J.includes(he.token)||he.token===P});if(K)throw new RangeError("The format string mustn't contain `".concat(K.fullToken,"` and `").concat(j,"` at the same time"))}else if(B.incompatibleTokens==="*"&&Q.length>0)throw new RangeError("The format string mustn't contain `".concat(j,"` and any other token at the same time"));Q.push({token:P,fullToken:j});var le=B.run(T,j,D.match,z);if(!le)return{v:new Date(NaN)};G.push(le.setter),T=le.rest}else{if(P.match(Jhe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+P+"`");if(j==="''"?j="'":P==="'"&&(j=eme(j)),T.indexOf(j)===0)T=T.slice(j.length);else return{v:new Date(NaN)}}};for(Z.s();!(te=Z.n()).done;){var $=X();if(di($)==="object")return $.v}}catch(j){Z.e(j)}finally{Z.f()}if(T.length>0&&Qhe.test(T))return new Date(NaN);var V=G.map(function(j){return j.priority}).sort(function(j,P){return P-j}).filter(function(j,P,B){return B.indexOf(j)===P}).map(function(j){return G.filter(function(P){return P.priority===j}).sort(function(P,B){return B.subPriority-P.subPriority})}).map(function(j){return j[0]}),W=Ne(n);if(isNaN(W.getTime()))return new Date(NaN);var re=v2(W,xf(W)),q={},ee=NR(V),ie;try{for(ee.s();!(ie=ee.n()).done;){var se=ie.value;if(!se.validate(re,z))return new Date(NaN);var fe=se.set(re,q,z);Array.isArray(fe)?(re=fe[0],aP(q,fe[1])):re=fe}}catch(j){ee.e(j)}finally{ee.f()}return re}function eme(e){return e.match(Zhe)[1].replace(Xhe,"'")}function tme(e,t){Pe(2,arguments);var n=Ne(e),r=Ne(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}function nme(e,t){Pe(2,arguments);var n=QE(e),r=QE(t);return n.getTime()===r.getTime()}function rme(e,t){Pe(2,arguments);var n=Ne(e),r=Ne(t);return n.getFullYear()===r.getFullYear()}function Tf(e,t){Pe(2,arguments);var n=Ne(e).getTime(),r=Ne(t.start).getTime(),i=Ne(t.end).getTime();if(!(r<=i))throw new RangeError("Invalid interval");return n>=r&&n<=i}function uP(e,t){Pe(2,arguments);var n=Je(t);return Lu(e,-n)}function Ua(e,t){var n;Pe(1,arguments);var r=Je((n=t==null?void 0:t.additionalDigits)!==null&&n!==void 0?n:2);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof e=="string"||Object.prototype.toString.call(e)==="[object String]"))return new Date(NaN);var i=sme(e),o;if(i.date){var a=lme(i.date,r);o=ume(a.restDateString,a.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);var s=o.getTime(),l=0,u;if(i.time&&(l=cme(i.time),isNaN(l)))return new Date(NaN);if(i.timezone){if(u=fme(i.timezone),isNaN(u))return new Date(NaN)}else{var f=new Date(s+l),d=new Date(0);return d.setFullYear(f.getUTCFullYear(),f.getUTCMonth(),f.getUTCDate()),d.setHours(f.getUTCHours(),f.getUTCMinutes(),f.getUTCSeconds(),f.getUTCMilliseconds()),d}return new Date(s+l+u)}var Mg={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},ime=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,ome=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,ame=/^([+-])(\d{2})(?::?(\d{2}))?$/;function sme(e){var t={},n=e.split(Mg.dateTimeDelimiter),r;if(n.length>2)return t;if(/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],Mg.timeZoneDelimiter.test(t.date)&&(t.date=e.split(Mg.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length))),r){var i=Mg.timezone.exec(r);i?(t.time=r.replace(i[1],""),t.timezone=i[1]):t.time=r}return t}function lme(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:o===null?i:o*100,restDateString:e.slice((r[1]||r[2]).length)}}function ume(e,t){if(t===null)return new Date(NaN);var n=e.match(ime);if(!n)return new Date(NaN);var r=!!n[4],i=sp(n[1]),o=sp(n[2])-1,a=sp(n[3]),s=sp(n[4]),l=sp(n[5])-1;if(r)return vme(t,s,l)?dme(t,s,l):new Date(NaN);var u=new Date(0);return!hme(t,o,a)||!mme(t,i)?new Date(NaN):(u.setUTCFullYear(t,o,Math.max(i,a)),u)}function sp(e){return e?parseInt(e):1}function cme(e){var t=e.match(ome);if(!t)return NaN;var n=aO(t[1]),r=aO(t[2]),i=aO(t[3]);return gme(n,r,i)?n*W_+r*tP+i*1e3:NaN}function aO(e){return e&&parseFloat(e.replace(",","."))||0}function fme(e){if(e==="Z")return 0;var t=e.match(ame);if(!t)return 0;var n=t[1]==="+"?-1:1,r=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return yme(r,i)?n*(r*W_+i*tP):NaN}function dme(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var i=r.getUTCDay()||7,o=(t-1)*7+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}var pme=[31,null,31,30,31,30,31,31,30,31,30,31];function P2(e){return e%400===0||e%4===0&&e%100!==0}function hme(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(pme[t]||(P2(e)?29:28))}function mme(e,t){return t>=1&&t<=(P2(e)?366:365)}function vme(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function gme(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function yme(e,t){return t>=0&&t<=59}function Cr(e,t){Pe(2,arguments);var n=Ne(e),r=Je(t),i=n.getFullYear(),o=n.getDate(),a=new Date(0);a.setFullYear(i,r,15),a.setHours(0,0,0,0);var s=ehe(a);return n.setMonth(r,Math.min(o,s)),n}function bme(e,t){if(Pe(2,arguments),di(t)!=="object"||t===null)throw new RangeError("values parameter must be an object");var n=Ne(e);return isNaN(n.getTime())?new Date(NaN):(t.year!=null&&n.setFullYear(t.year),t.month!=null&&(n=Cr(n,t.month)),t.date!=null&&n.setDate(Je(t.date)),t.hours!=null&&n.setHours(Je(t.hours)),t.minutes!=null&&n.setMinutes(Je(t.minutes)),t.seconds!=null&&n.setSeconds(Je(t.seconds)),t.milliseconds!=null&&n.setMilliseconds(Je(t.milliseconds)),n)}function Sy(e,t){Pe(2,arguments);var n=Ne(e),r=Je(t);return n.setHours(r),n}function Ey(e,t){Pe(2,arguments);var n=Ne(e),r=Je(t);return n.setMinutes(r),n}function oc(e,t){Pe(2,arguments);var n=Ne(e),r=Je(t),i=Math.floor(n.getMonth()/3)+1,o=r-i;return Cr(n,n.getMonth()+o*3)}function _me(e,t){Pe(2,arguments);var n=Ne(e),r=Je(t);return n.setSeconds(r),n}function ma(e,t){Pe(2,arguments);var n=Ne(e),r=Je(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(r),n)}function Cf(e,t){Pe(2,arguments);var n=Je(t);return zi(e,-n)}function wme(e,t){Pe(2,arguments);var n=Je(t);return f2(e,-n)}function LR(e,t){Pe(2,arguments);var n=Je(t);return Y0(e,-n)}function Qh(e,t){Pe(2,arguments);var n=Je(t);return Of(e,-n)}const A2="yyyy-MM-dd",cP="yyyy-MM-dd HH:mm",Js=()=>new Date,fP=e=>typeof e!="string",dP=(e,t)=>!e||!fP(e)?e:t?Ef(e,t):Qpe(e),el=e=>dP(e,void 0),Yl=e=>dP(e,A2),Q0=e=>dP(e,cP),ho=e=>fP(e)?e:Ua(e),uv=(e,t,n)=>{try{return Tf(ho(e),{start:ho(t??e),end:ho(n??e)})}catch{return!1}},Ol=(e,t)=>O2(e,t)||po(e,t),N2=(e,t)=>e.reduce((n,r)=>{const i=t(r);return n[i]=(n[i]||0)+1,n},{}),xme=(e,t)=>e.reduce((n,r)=>{const i=t(r);return(n[i]=n[i]||[]).push(r),n},{}),sO=e=>Object.prototype.toString.call(e)==="[object Object]",M2=(e,t)=>{const n={...e};return!sO(e)||!sO(t)||Object.keys(t).forEach(r=>{sO(t[r])?n[r]=r in e?M2(e[r],t[r]):{...t[r]}:n[r]=t[r]}),n},pP=(e,t)=>Array.from({length:t-e},(n,r)=>e+r),Ome=(e,t)=>[...e].sort((n,r)=>{const i=t(n),o=t(r);return i===o?0:i{const n=[];for(let r=0;rObject.fromEntries(e.map((n,r)=>[n,t[r]])),cv="all",L2={today:"Today",yesterday:"Yesterday",last7Days:"Last 7 days",last30Days:"Last 30 days",last90Days:"Last 90 days",last180Days:"Last 180 days",last365Days:"Last 365 days",[cv]:void 0},R2=Object.keys(L2),D2=e=>!e||!e.startDate&&!e.endDate,J0=e=>typeof e=="string"&&R2.includes(e),Eme=R2.filter(e=>e!==cv),RR=e=>e?ho(e):null,I2=(e,t)=>({startDate:RR(e),endDate:RR(t)}),Tme=e=>{if(!(!e||D2(e)))return e.startDate&&!e.endDate?`Since ${Yl(e.startDate)}`:!e.startDate&&e.endDate?`Until ${Yl(e.endDate)}`:`${Yl(e.startDate)} - ${Yl(e.endDate)}`},F2=e=>{if(!(!e||e===cv))return J0(e)?L2[e]:Tme(e)},Ci=e=>oi(uP(Js(),e)),ac=e=>({startDate:e,endDate:_u(Js())}),U2=e=>{var t;return((t=[[()=>e==="today",()=>ac(oi(Js()))],[()=>e==="yesterday",()=>({startDate:Ci(1),endDate:_u(uP(Js(),1))})],[()=>e==="last7Days",()=>ac(Ci(7))],[()=>e==="last30Days",()=>ac(Ci(30))],[()=>e==="last90Days",()=>ac(Ci(90))],[()=>e==="last180Days",()=>ac(Ci(180))],[()=>e==="last365Days",()=>ac(Ci(365))]].find(([n])=>n()))==null?void 0:t[1]())??{}},Cme=e=>{var t;const n=ho(e);return((t=[[()=>Ol(oi(Js()),n),"today"],[()=>Ol(Ci(1),n),"yesterday"],[()=>Ol(Ci(7),n),"last7Days"],[()=>Ol(Ci(30),n),"last30Days"],[()=>Ol(Ci(90),n),"last90Days"],[()=>Ol(Ci(180),n),"last180Days"],[()=>Ol(Ci(365),n),"last365Days"]].find(([r])=>r()))==null?void 0:t[1])??cv},kme=e=>J0(e)?U2(e):e,_r=(e,t)=>WB(e,t,{serializeError:n=>n}),fv=Wn("shlink/visitCreation/createNewVisits",e=>({payload:{createdVisits:e}})),DR=5e3,IR=4,FR=2,jme=({currentPage:e,pagesCount:t})=>e>=t,Pme=(e,t)=>t*100/e,dv=({typePrefix:e,createLoaders:t,getExtraFulfilledPayload:n,shouldCancel:r})=>{const i=Wn(`${e}/progressChanged`),o=Wn(`${e}/large`),a=Wn(`${e}/fallbackToInterval`),s=_r(e,async(l,{getState:u,dispatch:f})=>{var d;const[p,m]=t(l),v=async x=>Promise.all(x.map(async O=>p(O,DR).then(({data:E})=>E))).then(O=>O.flat()),g=async(x,O=0)=>{if(r(u))return[];const E=await v(x[O]);return f(i(Pme(x.length,O+FR))),O{const{pagination:O,data:E}=await p(x,DR);if(!O||jme(O))return E;const T=pP(FR,O.pagesCount+1),k=Jh(T,IR);return O.pagesCount-1>IR&&f(o()),E.concat(await g(k))},[y,b]=await Promise.all([w(),m((d=l.query)==null?void 0:d.excludeBots)]);return!y.length&&b&&f(a(Cme(b.date))),{...n(l),visits:y}});return Object.assign(s,{progressChanged:i,large:o,fallbackToInterval:a})},pv=(e,t)=>async n=>e?t({page:1,itemsPerPage:1,excludeBots:n}).then(({data:r})=>r[0]):Promise.resolve(void 0),hv=({name:e,asyncThunkCreator:t,initialState:n,filterCreatedVisits:r,extraReducers:i})=>{const{pending:o,rejected:a,fulfilled:s,large:l,progressChanged:u,fallbackToInterval:f}=t,{reducer:d,actions:p}=Yn({name:e,initialState:n,reducers:{cancelGetVisits:v=>({...v,cancelLoad:!0})},extraReducers:v=>{v.addCase(o,()=>({...n,loading:!0})),v.addCase(a,(g,{error:w})=>({...n,error:!0,errorData:xo(w)})),v.addCase(s,(g,{payload:w})=>({...g,...w,loading:!1,loadingLarge:!1,error:!1})),v.addCase(l,g=>({...g,loadingLarge:!0})),v.addCase(u,(g,{payload:w})=>({...g,progress:w})),v.addCase(f,(g,{payload:w})=>({...g,fallbackInterval:w})),v.addCase(fv,(g,{payload:w})=>{const{visits:y}=g,b=r(g,w.createdVisits).map(({visit:x})=>x);return b.length?{...g,visits:[...b,...y]}:g}),i==null||i(v)}}),{cancelGetVisits:m}=p;return{reducer:d,cancelGetVisits:m}},$2="shlink/domainVisits",B2="DEFAULT",Ame={visits:[],domain:"",loading:!1,loadingLarge:!1,error:!1,cancelLoad:!1,progress:0},Nme=e=>dv({typePrefix:`${$2}/getDomainVisits`,createLoaders:({domain:t,query:n={},doIntervalFallback:r=!1})=>{const i=e(),o=async(s,l)=>i.getDomainVisits(t,{...n,page:s,itemsPerPage:l}),a=pv(r,async s=>i.getDomainVisits(t,s));return[o,a]},getExtraFulfilledPayload:({domain:t,query:n={}})=>({domain:t,query:n}),shouldCancel:t=>t().domainVisits.cancelLoad}),Mme=e=>hv({name:$2,initialState:Ame,asyncThunkCreator:e,filterCreatedVisits:({domain:t,query:n={}},r)=>{const{startDate:i,endDate:o}=n;return r.filter(({shortUrl:a,visit:s})=>a&&Sde(a,t)&&uv(s.date,i,o))}}),Ty=({className:e="",placement:t,children:n})=>{const r=ul();return _.jsxs(_.Fragment,{children:[_.jsx("span",{className:e,ref:r,children:_.jsx(Le,{icon:ej})}),_.jsx(qr,{target:r,placement:t,children:n})]})},hP=e=>t=>{t.preventDefault(),e()},mP=(e,t,n=1)=>pP(n,e+1).map(t),Lme=e=>Array.isArray(e)&&e.length===0||typeof e=="string"&&e===""||typeof e=="object"&&Object.keys(e).length===0,va=e=>e!=null&&!Lme(e),lO=e=>e||null,z2=e=>e?"true":"false",uO=e=>e===void 0?void 0:z2(e),cO=({isLast:e,...t})=>_.jsx(wy,{...t,required:!1,type:"url",placeholder:"No redirect",className:e?"mb-0":""}),Rme=({isOpen:e,toggle:t,domain:n,editDomainRedirects:r})=>{var i,o,a;const[s,l]=F.useState(((i=n.redirects)==null?void 0:i.baseUrlRedirect)??""),[u,f]=F.useState(((o=n.redirects)==null?void 0:o.regular404Redirect)??""),[d,p]=F.useState(((a=n.redirects)==null?void 0:a.invalidShortUrlRedirect)??""),m=hP(async()=>r({domain:n.domain,redirects:{baseUrlRedirect:lO(s),regular404Redirect:lO(u),invalidShortUrlRedirect:lO(d)}}).then(t));return _.jsx(Ka,{isOpen:e,toggle:t,centered:!0,children:_.jsxs("form",{name:"domainRedirectsModal",onSubmit:m,children:[_.jsxs(Za,{toggle:t,children:["Edit redirects for ",_.jsx("b",{children:n.domain})]}),_.jsxs(na,{children:[_.jsxs(cO,{value:s,onChange:l,children:[_.jsxs(Ty,{className:"me-2",placement:"bottom",children:["Visitors accessing the base url, as in ",_.jsxs("b",{children:["https://",n.domain,"/"]}),", will be redirected to this URL."]}),"Base URL"]}),_.jsxs(cO,{value:u,onChange:f,children:[_.jsxs(Ty,{className:"me-2",placement:"bottom",children:["Visitors accessing a url not matching a short URL pattern, as in ",_.jsxs("b",{children:["https://",n.domain,"/???/[...]"]}),", will be redirected to this URL."]}),"Regular 404"]}),_.jsxs(cO,{value:d,isLast:!0,onChange:p,children:[_.jsx(Ty,{className:"me-2",placement:"bottom",children:"Visitors accessing a url matching a short URL pattern, but not matching an existing short code, will be redirected to this URL."}),"Invalid short URL"]})]}),_.jsxs(Au,{children:[_.jsx(wt,{color:"link",type:"button",onClick:t,children:"Cancel"}),_.jsx(wt,{color:"primary",children:"Save"})]})]})})},Dme=({domain:e,editDomainRedirects:t})=>{const[n,r]=En(),i=Nu("domainVisits"),o=Mu();return _.jsxs(F_,{children:[i&&_.jsxs(ze,{tag:Yt,to:`${o}/domain/${e.domain}${e.isDefault?`_${B2}`:""}/visits`,children:[_.jsx(Le,{icon:Jk,fixedWidth:!0})," Visit stats"]}),_.jsxs(ze,{onClick:r,children:[_.jsx(Le,{fixedWidth:!0,icon:Qk})," Edit redirects"]}),_.jsx(Rme,{domain:e,isOpen:n,toggle:r,editDomainRedirects:t})]})},Sa=({href:e,children:t,rel:n,...r})=>_.jsx("a",{target:"_blank",rel:`noopener noreferrer${n?` ${n}`:""}`,href:e,...r,children:t??e}),Ime="Left",Fme="Right",Ume="Up",$me="Down",Mc={delta:10,preventScrollOnSwipe:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0,swipeDuration:1/0,touchEventOptions:{passive:!0}},tT={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},UR="mousemove",$R="mouseup",Bme="touchend",zme="touchmove",Vme="touchstart";function Hme(e,t,n,r){return e>t?n>0?Fme:Ime:r>0?$me:Ume}function BR(e,t){if(t===0)return e;const n=Math.PI/180*t,r=e[0]*Math.cos(n)+e[1]*Math.sin(n),i=e[1]*Math.cos(n)-e[0]*Math.sin(n);return[r,i]}function Wme(e,t){const n=u=>{const f="touches"in u;f&&u.touches.length>1||e((d,p)=>{p.trackMouse&&!f&&(document.addEventListener(UR,r),document.addEventListener($R,a));const{clientX:m,clientY:v}=f?u.touches[0]:u,g=BR([m,v],p.rotationAngle);return p.onTouchStartOrOnMouseDown&&p.onTouchStartOrOnMouseDown({event:u}),Object.assign(Object.assign(Object.assign({},d),tT),{initial:g.slice(),xy:g,start:u.timeStamp||0})})},r=u=>{e((f,d)=>{const p="touches"in u;if(p&&u.touches.length>1)return f;if(u.timeStamp-f.start>d.swipeDuration)return f.swiping?Object.assign(Object.assign({},f),{swiping:!1}):f;const{clientX:m,clientY:v}=p?u.touches[0]:u,[g,w]=BR([m,v],d.rotationAngle),y=g-f.xy[0],b=w-f.xy[1],x=Math.abs(y),O=Math.abs(b),E=(u.timeStamp||0)-f.start,T=Math.sqrt(x*x+O*O)/(E||1),k=[y/(E||1),b/(E||1)],A=Hme(x,O,y,b),D=typeof d.delta=="number"?d.delta:d.delta[A.toLowerCase()]||Mc.delta;if(x{e((f,d)=>{let p;if(f.swiping&&f.eventData){if(u.timeStamp-f.start{document.removeEventListener(UR,r),document.removeEventListener($R,a)},a=u=>{o(),i(u)},s=(u,f)=>{let d=()=>{};if(u&&u.addEventListener){const p=Object.assign(Object.assign({},Mc.touchEventOptions),f.touchEventOptions),m=[[Vme,n,p],[zme,r,Object.assign(Object.assign({},p),f.preventScrollOnSwipe?{passive:!1}:{})],[Bme,i,p]];m.forEach(([v,g,w])=>u.addEventListener(v,g,w)),d=()=>m.forEach(([v,g])=>u.removeEventListener(v,g))}return d},l={ref:u=>{u!==null&&e((f,d)=>{if(f.el===u)return f;const p={};return f.el&&f.el!==u&&f.cleanUpTouch&&(f.cleanUpTouch(),p.cleanUpTouch=void 0),d.trackTouch&&u&&(p.cleanUpTouch=s(u,d)),Object.assign(Object.assign(Object.assign({},f),{el:u}),p)})}};return t.trackMouse&&(l.onMouseDown=n),[l,s]}function Yme(e,t,n,r){return!t.trackTouch||!e.el?(e.cleanUpTouch&&e.cleanUpTouch(),Object.assign(Object.assign({},e),{cleanUpTouch:void 0})):e.cleanUpTouch?t.preventScrollOnSwipe!==n.preventScrollOnSwipe||t.touchEventOptions.passive!==n.touchEventOptions.passive?(e.cleanUpTouch(),Object.assign(Object.assign({},e),{cleanUpTouch:r(e.el,t)})):e:Object.assign(Object.assign({},e),{cleanUpTouch:r(e.el,t)})}function Gme(e){const{trackMouse:t}=e,n=F.useRef(Object.assign({},tT)),r=F.useRef(Object.assign({},Mc)),i=F.useRef(Object.assign({},r.current));i.current=Object.assign({},r.current),r.current=Object.assign(Object.assign({},Mc),e);let o;for(o in Mc)r.current[o]===void 0&&(r.current[o]=Mc[o]);const[a,s]=F.useMemo(()=>Wme(l=>n.current=l(n.current,r.current),{trackMouse:t}),[t]);return n.current=Yme(n.current,r.current,i.current,s),a}const qme=(e,t)=>{const n=r=>i=>{i.event.composedPath().some(({classList:o})=>o==null?void 0:o.contains("visits-table"))||document.querySelector(".modal")||r()};return Gme({delta:40,onSwipedLeft:n(t),onSwipedRight:n(e)})},Kme=(e,t)=>{const[n,r]=F.useState(t),i=F.useCallback(o=>{const{location:a,history:s}=window,l=dd(a.search);l[e]=o,s.pushState(null,"",`${a.pathname}?${D_(l)}`),r(o)},[e]);return[n,i]},Zme=(e,t)=>{const n=F.useRef(!0);F.useEffect(()=>{!n.current&&e(),n.current=!1},t)},md=()=>{const e=ta();return F.useCallback(()=>e(-1),[e])},V2=()=>{const{search:e}=Nn();return F.useMemo(()=>dd(e),[e])},vP=(e,t)=>{const n=F.useCallback(()=>t(`(max-width: ${e}px)`).matches,[t,e]),[r,i]=F.useState(n());return F.useEffect(()=>{const o=()=>i(n());return window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[n]),r},Xme=({status:e,matchMedia:t=window.matchMedia})=>{const n=ul(),r=vP(991,t);return e==="validating"?_.jsx(Le,{fixedWidth:!0,icon:j$,spin:!0}):_.jsxs(_.Fragment,{children:[_.jsx("span",{ref:n,children:e==="valid"?_.jsx(Le,{fixedWidth:!0,icon:Mh,className:"text-muted"}):_.jsx(Le,{fixedWidth:!0,icon:sS,className:"text-danger"})}),_.jsx(qr,{target:n,placement:r?"right":"left",autohide:e==="valid",children:e==="valid"?"Congratulations! This domain is properly configured.":_.jsxs("span",{children:["Oops! There is some missing configuration, and short URLs shared with this domain will not work.",_.jsx("br",{}),"Check the ",_.jsx(Sa,{href:"https://slnk.to/multi-domain-docs",children:"documentation"})," in order to find out what is missing."]})})]})},fO=({fallback:e})=>_.jsxs("span",{className:"text-muted",children:[!e&&_.jsx("small",{children:"No redirect"}),e&&_.jsxs(_.Fragment,{children:[e," ",_.jsx("small",{children:"(as fallback)"})]})]}),Qme=()=>_.jsxs(_.Fragment,{children:[_.jsx(Le,{fixedWidth:!0,icon:XQ,className:"text-primary",id:"defaultDomainIcon"}),_.jsx(qr,{target:"defaultDomainIcon",placement:"right",children:"Default domain"})]}),Jme=({domain:e,editDomainRedirects:t,checkDomainHealth:n,defaultRedirects:r})=>{const{domain:i,isDefault:o,redirects:a,status:s}=e;return F.useEffect(()=>{n(e.domain)},[n,e.domain]),_.jsxs("tr",{className:"responsive-table__row",children:[_.jsx("td",{className:"responsive-table__cell","data-th":"Is default domain",children:o&&_.jsx(Qme,{})}),_.jsx("th",{className:"responsive-table__cell","data-th":"Domain",children:i}),_.jsx("td",{className:"responsive-table__cell","data-th":"Base path redirect",children:(a==null?void 0:a.baseUrlRedirect)??_.jsx(fO,{fallback:r==null?void 0:r.baseUrlRedirect})}),_.jsx("td",{className:"responsive-table__cell","data-th":"Regular 404 redirect",children:(a==null?void 0:a.regular404Redirect)??_.jsx(fO,{fallback:r==null?void 0:r.regular404Redirect})}),_.jsx("td",{className:"responsive-table__cell","data-th":"Invalid short URL redirect",children:(a==null?void 0:a.invalidShortUrlRedirect)??_.jsx(fO,{fallback:r==null?void 0:r.invalidShortUrlRedirect})}),_.jsx("td",{className:"responsive-table__cell text-lg-center","data-th":"Status",children:_.jsx(Xme,{status:s})}),_.jsx("td",{className:"responsive-table__cell text-end",children:_.jsx(Dme,{domain:e,editDomainRedirects:t})})]})},zR=[{value:"Is default domain",isHidden:!0},{value:"Domain",isHidden:!1},{value:"Base path redirect",isHidden:!1},{value:"Regular 404 redirect",isHidden:!1},{value:"Invalid short URL redirect",isHidden:!1},{value:"Domain status",isHidden:!0},{value:"Options",isHidden:!0}],eve=({listDomains:e,domainsList:t,filterDomains:n,editDomainRedirects:r,checkDomainHealth:i})=>{var o;const{filteredDomains:a,defaultRedirects:s,loading:l,error:u,errorData:f}=t,d=s??((o=a.find(({isDefault:p})=>p))==null?void 0:o.redirects);return F.useEffect(()=>{e()},[e]),l?_.jsx(Da,{loading:!0}):_.jsxs(_.Fragment,{children:[_.jsx(sv,{className:"mb-3",onChange:n}),(()=>u?_.jsx(ii,{type:"error",children:_.jsx(Fa,{errorData:f,fallbackMessage:"Error loading domains :("})}):_.jsx(vn,{children:_.jsxs("table",{className:"table table-hover responsive-table mb-0",children:[_.jsx("thead",{className:"responsive-table__header",children:_.jsx("tr",{children:zR.map((p,m)=>_.jsx("th",{children:_.jsx("span",{className:p.isHidden?"sr-only":void 0,children:p.value})},m))})}),_.jsxs("tbody",{children:[a.length<1&&_.jsx("tr",{children:_.jsx("td",{colSpan:zR.length,className:"text-center",children:"No results found"})}),a.map(p=>_.jsx(Jme,{domain:p,editDomainRedirects:r,checkDomainHealth:i,defaultRedirects:d},p.domain))]})]})}))()]})},tve="shlink/domainRedirects/EDIT_DOMAIN_REDIRECTS",nve=e=>_r(tve,async({domain:t,redirects:n})=>{const r=await e().editDomainRedirects({domain:t,...n});return{domain:t,redirects:r}}),Lg="shlink/domainsList",Rg={domains:[],filteredDomains:[],loading:!1,error:!1},VR=({domain:e,redirects:t})=>n=>n.domain!==e?n:{...n,redirects:t},HR=(e,t)=>n=>n.domain!==e?n:{...n,status:t},rve=(e,t)=>{const n=_r(`${Lg}/listDomains`,async()=>{const{data:a,defaultRedirects:s}=await e().listDomains();return{domains:a.map(l=>({...l,status:"validating"})),defaultRedirects:s}}),r=_r(`${Lg}/checkDomainHealth`,async a=>{try{const{status:s}=await e().health(a);return{domain:a,status:s==="pass"?"valid":"invalid"}}catch{return{domain:a,status:"invalid"}}}),i=Wn(`${Lg}/filterDomains`),{reducer:o}=Yn({name:Lg,initialState:Rg,reducers:{},extraReducers:a=>{a.addCase(n.pending,()=>({...Rg,loading:!0})),a.addCase(n.rejected,(s,{error:l})=>({...Rg,error:!0,errorData:xo(l)})),a.addCase(n.fulfilled,(s,{payload:l})=>({...Rg,...l,filteredDomains:l.domains})),a.addCase(r.fulfilled,({domains:s,filteredDomains:l,...u},{payload:f})=>({...u,domains:s.map(HR(f.domain,f.status)),filteredDomains:l.map(HR(f.domain,f.status))})),a.addCase(i,(s,{payload:l})=>({...s,filteredDomains:s.domains.filter(({domain:u})=>u.toLowerCase().match(l.toLowerCase()))})),a.addCase(t.fulfilled,(s,{payload:l})=>({...s,domains:s.domains.map(VR(l)),filteredDomains:s.filteredDomains.map(VR(l))}))}});return{reducer:o,listDomains:n,checkDomainHealth:r,filterDomains:i}},ive=(e,t)=>{e.serviceFactory("DomainSelector",()=>fde),e.decorator("DomainSelector",t(["domainsList"],["listDomains"])),e.serviceFactory("ManageDomains",()=>eve),e.decorator("ManageDomains",t(["domainsList"],["listDomains","filterDomains","editDomainRedirects","checkDomainHealth"])),e.serviceFactory("domainsListReducerCreator",rve,"apiClientFactory","editDomainRedirects"),e.serviceFactory("domainsListReducer",n=>n.reducer,"domainsListReducerCreator"),e.serviceFactory("listDomains",n=>n.listDomains,"domainsListReducerCreator"),e.serviceFactory("filterDomains",n=>n.filterDomains,"domainsListReducerCreator"),e.serviceFactory("editDomainRedirects",nve,"apiClientFactory"),e.serviceFactory("checkDomainHealth",n=>n.checkDomainHealth,"domainsListReducerCreator")},WR="shlink/mercure",ove={loading:!0,error:!1},ave=e=>{const t=_r(`${WR}/loadMercureInfo`,r=>{if(r&&r.realTimeUpdates&&!r.realTimeUpdates.enabled)throw new Error("Real time updates not enabled");return e().mercureInfo()}),{reducer:n}=Yn({name:WR,initialState:ove,reducers:{},extraReducers:r=>{r.addCase(t.pending,i=>({...i,loading:!0,error:!1})),r.addCase(t.rejected,i=>({...i,loading:!1,error:!0})),r.addCase(t.fulfilled,(i,{payload:o})=>({...o,loading:!1,error:!1}))}});return{loadMercureInfo:t,reducer:n}},sve=e=>{e.serviceFactory("mercureInfoReducerCreator",ave,"apiClientFactory"),e.serviceFactory("mercureInfoReducer",t=>t.reducer,"mercureInfoReducerCreator"),e.serviceFactory("loadMercureInfo",t=>t.loadMercureInfo,"mercureInfoReducerCreator")};function an(e){return F.useRef(e).current}function sn(e,t){return(n,r=globalThis.console)=>(t.forEach(i=>{const o=n[i];e[i]=o}),e)}var Lc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ot(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nT={exports:{}};/** @license + * 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,l=n.EventSource,u=n.document,f=n.Promise,d=n.fetch,p=n.Response,m=n.TextDecoder,v=n.TextEncoder,g=n.AbortController;if(typeof window<"u"&&typeof u<"u"&&!("readyState"in u)&&u.body==null&&(u.readyState="loading",window.addEventListener("load",function(ue){u.readyState="complete"},!1)),o==null&&s!=null&&(o=function(){return new s("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(ue){function ve(){}return ve.prototype=ue,new ve}),Date.now||(Date.now=function(){return new Date().getTime()}),g==null){var w=d;d=function(ue,ve){var ge=ve.signal;return w(ue,{headers:ve.headers,credentials:ve.credentials,cache:ve.cache}).then(function(Oe){var Ce=Oe.body.getReader();return ge._reader=Ce,ge._aborted&&ge._reader.cancel(),{status:Oe.status,statusText:Oe.statusText,headers:Oe.headers,body:{getReader:function(){return Ce}}}})},g=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function y(){this.bitsNeeded=0,this.codePoint=0}y.prototype.decode=function(ue){function ve(_e,be,Se){if(Se===1)return _e>=128>>be&&_e<=2048>>be&&_e<=57344>>be&&_e<=65536>>be&&_e<>6>15?3:be>31?2:1;if(_e===6*2)return be>15?3:2;if(_e===6*3)return 3;throw new Error}for(var Oe=65533,Ce="",ke=this.bitsNeeded,Ae=this.codePoint,ce=0;ce191||!ve(Ae<<6|de&63,ke-6,ge(ke,Ae)))&&(ke=0,Ae=Oe,Ce+=String.fromCharCode(Ae)),ke===0?(de>=0&&de<=127?(ke=0,Ae=de):de>=192&&de<=223?(ke=6*1,Ae=de&31):de>=224&&de<=239?(ke=6*2,Ae=de&15):de>=240&&de<=247?(ke=6*3,Ae=de&7):(ke=0,Ae=Oe),ke!==0&&!ve(Ae,ke,ge(ke,Ae))&&(ke=0,Ae=Oe)):(ke-=6,Ae=Ae<<6|de&63),ke===0&&(Ae<=65535?Ce+=String.fromCharCode(Ae):(Ce+=String.fromCharCode(55296+(Ae-65535-1>>10)),Ce+=String.fromCharCode(56320+(Ae-65535-1&1023))))}return this.bitsNeeded=ke,this.codePoint=Ae,Ce};var b=function(){try{return new m().decode(new v().encode("test"),{stream:!0})==="test"}catch(ue){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+ue)}return!1};(m==null||v==null||!b())&&(m=y);var x=function(){};function O(ue){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=x,this.onload=x,this.onerror=x,this.onreadystatechange=x,this._contentType="",this._xhr=ue,this._sendTimeout=0,this._abort=x}O.prototype.open=function(ue,ve){this._abort(!0);var ge=this,Oe=this._xhr,Ce=1,ke=0;this._abort=function(Se){ge._sendTimeout!==0&&(i(ge._sendTimeout),ge._sendTimeout=0),(Ce===1||Ce===2||Ce===3)&&(Ce=4,Oe.onload=x,Oe.onerror=x,Oe.onabort=x,Oe.onprogress=x,Oe.onreadystatechange=x,Oe.abort(),ke!==0&&(i(ke),ke=0),Se||(ge.readyState=4,ge.onabort(null),ge.onreadystatechange())),Ce=0};var Ae=function(){if(Ce===1){var Se=0,Me="",De=void 0;if("contentType"in Oe)Se=200,Me="OK",De=Oe.contentType;else try{Se=Oe.status,Me=Oe.statusText,De=Oe.getResponseHeader("Content-Type")}catch{Se=0,Me="",De=void 0}Se!==0&&(Ce=2,ge.readyState=2,ge.status=Se,ge.statusText=Me,ge._contentType=De,ge.onreadystatechange())}},ce=function(){if(Ae(),Ce===2||Ce===3){Ce=3;var Se="";try{Se=Oe.responseText}catch{}ge.readyState=3,ge.responseText=Se,ge.onprogress()}},de=function(Se,Me){if((Me==null||Me.preventDefault==null)&&(Me={preventDefault:x}),ce(),Ce===1||Ce===2||Ce===3){if(Ce=4,ke!==0&&(i(ke),ke=0),ge.readyState=4,Se==="load")ge.onload(Me);else if(Se==="error")ge.onerror(Me);else if(Se==="abort")ge.onabort(Me);else throw new TypeError;ge.onreadystatechange()}},_e=function(Se){Oe!=null&&(Oe.readyState===4?(!("onload"in Oe)||!("onerror"in Oe)||!("onabort"in Oe))&&de(Oe.responseText===""?"error":"load",Se):Oe.readyState===3?"onprogress"in Oe||ce():Oe.readyState===2&&Ae())},be=function(){ke=r(function(){be()},500),Oe.readyState===3&&ce()};"onload"in Oe&&(Oe.onload=function(Se){de("load",Se)}),"onerror"in Oe&&(Oe.onerror=function(Se){de("error",Se)}),"onabort"in Oe&&(Oe.onabort=function(Se){de("abort",Se)}),"onprogress"in Oe&&(Oe.onprogress=ce),"onreadystatechange"in Oe&&(Oe.onreadystatechange=function(Se){_e(Se)}),("contentType"in Oe||!("ontimeout"in o.prototype))&&(ve+=(ve.indexOf("?")===-1?"?":"&")+"padding=true"),Oe.open(ue,ve,!0),"readyState"in Oe&&(ke=r(function(){be()},0))},O.prototype.abort=function(){this._abort(!1)},O.prototype.getResponseHeader=function(ue){return this._contentType},O.prototype.setRequestHeader=function(ue,ve){var ge=this._xhr;"setRequestHeader"in ge&&ge.setRequestHeader(ue,ve)},O.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},O.prototype.send=function(){if((!("ontimeout"in o.prototype)||!("sendAsBinary"in o.prototype)&&!("mozAnon"in o.prototype))&&u!=null&&u.readyState!=null&&u.readyState!=="complete"){var ue=this;ue._sendTimeout=r(function(){ue._sendTimeout=0,ue.send()},4);return}var ve=this._xhr;"withCredentials"in ve&&(ve.withCredentials=this.withCredentials);try{ve.send(void 0)}catch(ge){throw ge}};function E(ue){return ue.replace(/[A-Z]/g,function(ve){return String.fromCharCode(ve.charCodeAt(0)+32)})}function T(ue){for(var ve=Object.create(null),ge=ue.split(`\r +`),Oe=0;Oe"u"?typeof window<"u"?window:typeof self<"u"?self:Lc:globalThis)})(nT,nT.exports);var lve=nT.exports;const uve=(e,t,n,r)=>{const{mercureHubUrl:i,token:o,loading:a,error:s}=e;if(a||s||!i)return;const l=({data:d})=>n(JSON.parse(d)),u=({status:d})=>d===401&&r(),f=t.map(d=>{const p=new URL(i);p.searchParams.append("topic",d);const m=new lve.EventSourcePolyfill(p,{headers:{Authorization:`Bearer ${o}`}});return m.onmessage=l,m.onerror=u,m});return()=>f.forEach(d=>d.close())};function cl(e,t){const n=new Set;return r=>{const{createNewVisits:i,loadMercureInfo:o,mercureInfo:a}=r,s=ad();return F.useEffect(()=>{const{interval:l}=a,u=m=>l?n.add(m):i([m]),f=t(s),d=uve(a,f,u,o);if(!l)return d;const p=setInterval(()=>{i([...n]),n.clear()},l*1e3*60);return()=>{clearInterval(p),d==null||d()}},[i,o,a,s]),_.jsx(e,{...r})}}class Ri{}uo(Ri,"visits","https://shlink.io/new-visit"),uo(Ri,"orphanVisits","https://shlink.io/new-orphan-visit"),uo(Ri,"shortUrlVisits",e=>`https://shlink.io/new-visit/${e}`);const gP="shlink/shortUrlDeletion",YR={shortCode:"",loading:!1,deleted:!1,error:!1},cve=e=>_r(`${gP}/deleteShortUrl`,async({shortCode:t,domain:n})=>(await e().deleteShortUrl(t,n),{shortCode:t,domain:n})),H2=Wn(`${gP}/shortUrlDeleted`),fve=e=>{const{actions:t,reducer:n}=Yn({name:gP,initialState:YR,reducers:{resetDeleteShortUrl:()=>YR},extraReducers:i=>{i.addCase(e.pending,o=>({...o,loading:!0,error:!1,deleted:!1})),i.addCase(e.rejected,(o,{error:a})=>({...o,errorData:xo(a),loading:!1,error:!0,deleted:!1})),i.addCase(e.fulfilled,(o,{payload:a})=>({...o,shortCode:a.shortCode,loading:!1,error:!1,deleted:!0}))}}),{resetDeleteShortUrl:r}=t;return{reducer:n,resetDeleteShortUrl:r}},W2="shlink/shortUrlsList",Y2=5,dve={loading:!0,error:!1},pve=e=>_r(`${W2}/listShortUrls`,t=>e().listShortUrls(t??{})),hve=(e,t,n)=>Yn({name:W2,initialState:dve,reducers:{},extraReducers:r=>{r.addCase(e.pending,i=>({...i,loading:!0,error:!1})),r.addCase(e.rejected,()=>({loading:!1,error:!0})),r.addCase(e.fulfilled,(i,{payload:o})=>({loading:!1,error:!1,shortUrls:o})),r.addCase(n.fulfilled,(i,{payload:o})=>{i.shortUrls&&(i.shortUrls.data=[o,...i.shortUrls.data.slice(0,Y2-1)],i.shortUrls.pagination.totalItems+=1)}),r.addCase(t.fulfilled,(i,{payload:o})=>{i.shortUrls&&(i.shortUrls.data=i.shortUrls.data.map(a=>{const{shortCode:s,domain:l}=o;return Jp(a,s,l)?o:a}))}),r.addCase(H2,(i,{payload:o})=>{i.shortUrls&&(i.shortUrls.data=i.shortUrls.data.filter(a=>!Jp(a,o.shortCode,o.domain)),i.shortUrls.pagination.totalItems-=1)}),r.addCase(fv,(i,{payload:o})=>{i.shortUrls&&(i.shortUrls.data=i.shortUrls.data.map(a=>{var s;return((s=o.createdVisits.findLast(({shortUrl:l})=>l&&Jp(a,l.shortCode,l.domain)))==null?void 0:s.shortUrl)??a}))})}}),GR=10,{ceil:mve}=Math,vve=new Intl.NumberFormat("en-US"),bn=e=>vve.format(Number(e)),gve=e=>mve(e/GR)*GR,yve={field:"dateCreated",dir:"DESC"},G2={realTimeUpdates:{enabled:!0},shortUrlCreation:{validateUrls:!1},visits:{defaultInterval:"last30Days"},shortUrlsList:{defaultOrdering:yve}},q2=F.createContext(G2),bve=q2.Provider,yP=()=>F.useContext(q2)??G2,Ru=e=>yP()[e],rT=({children:e,title:t,link:n,tooltip:r})=>{const i=ul();return _.jsxs(_.Fragment,{children:[_.jsxs(ui,{innerRef:i,className:"highlight-card",body:!0,tag:Yt,to:n,children:[_.jsx(Le,{size:"3x",className:"highlight-card__link-icon",icon:Ufe}),_.jsx(G7,{className:"lh-sm fw-semibold text-uppercase fs-5 highlight-card__title",children:t}),_.jsx(Y7,{className:"fs-2 fw-semibold lh-sm",children:e})]}),r&&_.jsx(qr,{target:i,placement:"bottom",children:r})]})},qR=({loading:e,excludeBots:t,visitsSummary:n,...r})=>_.jsx(rT,{tooltip:n.bots!==void 0?_.jsxs(_.Fragment,{children:[t?"Plus":"Including"," ",_.jsx("strong",{children:bn(n.bots)})," potential bot visits"]}):void 0,...r,children:e?"Loading...":bn(t&&n.nonBots?n.nonBots:n.total)}),K2=cl(({shortUrlsList:e,listShortUrls:t,tagsList:n,loadVisitsOverview:r,visitsOverview:i})=>{const{ShortUrlsTable:o,CreateShortUrl:a}=an(K2),{loading:s,shortUrls:l}=e,{loading:u}=n,{loading:f,nonOrphanVisits:d,orphanVisits:p}=i,m=Mu(),v=ta(),g=Ru("visits");return F.useEffect(()=>{t({itemsPerPage:Y2,orderBy:{field:"dateCreated",dir:"DESC"}}),r()},[t,r]),_.jsxs(_.Fragment,{children:[_.jsxs(kr,{children:[_.jsx("div",{className:"col-lg-6 col-xl-3 mb-3",children:_.jsx(qR,{title:"Visits",link:`${m}/non-orphan-visits`,excludeBots:(g==null?void 0:g.excludeBots)??!1,loading:f,visitsSummary:d})}),_.jsx("div",{className:"col-lg-6 col-xl-3 mb-3",children:_.jsx(qR,{title:"Orphan visits",link:`${m}/orphan-visits`,excludeBots:(g==null?void 0:g.excludeBots)??!1,loading:f,visitsSummary:p})}),_.jsx("div",{className:"col-lg-6 col-xl-3 mb-3",children:_.jsx(rT,{title:"Short URLs",link:`${m}/list-short-urls/1`,children:s?"Loading...":bn((l==null?void 0:l.pagination.totalItems)??0)})}),_.jsx("div",{className:"col-lg-6 col-xl-3 mb-3",children:_.jsx(rT,{title:"Tags",link:`${m}/manage-tags`,children:u?"Loading...":bn(n.tags.length)})})]}),_.jsxs(ui,{className:"mb-3",children:[_.jsxs(vf,{children:[_.jsx("span",{className:"d-sm-none",children:"Create a short URL"}),_.jsx("h5",{className:"d-none d-sm-inline",children:"Create a short URL"}),_.jsx(Yt,{className:"float-end",to:`${m}/create-short-url`,children:"Advanced options »"})]}),_.jsx(mf,{children:_.jsx(a,{basicMode:!0})})]}),_.jsxs(ui,{children:[_.jsxs(vf,{children:[_.jsx("span",{className:"d-sm-none",children:"Recently created URLs"}),_.jsx("h5",{className:"d-none d-sm-inline",children:"Recently created URLs"}),_.jsx(Yt,{className:"float-end",to:`${m}/list-short-urls/1`,children:"See all »"})]}),_.jsx(mf,{children:_.jsx(o,{shortUrlsList:e,className:"mb-0",onTagClick:w=>v(`${m}/list-short-urls/1?tags=${encodeURIComponent(w)}`)})})]})]})},()=>[Ri.visits,Ri.orphanVisits]),_ve=sn(K2,["ShortUrlsTable","CreateShortUrl"]);function wve(e,t){e.factory("Overview",_ve),e.decorator("Overview",t(["shortUrlsList","tagsList","mercureInfo","visitsOverview"],["listShortUrls","createNewVisits","loadMercureInfo","loadVisitsOverview"]))}const xve=e=>({longUrl:"",tags:[],customSlug:"",title:void 0,shortCodeLength:void 0,domain:"",validSince:void 0,validUntil:void 0,maxVisits:void 0,findIfExists:!1,validateUrl:(e==null?void 0:e.validateUrls)??!1,forwardQuery:(e==null?void 0:e.forwardQuery)??!0}),Z2=({createShortUrl:e,shortUrlCreation:t,resetCreateShortUrl:n,basicMode:r=!1})=>{const{ShortUrlForm:i,CreateShortUrlResult:o}=an(Z2),a=Ru("shortUrlCreation"),s=F.useMemo(()=>xve(a),[a]);return _.jsxs(_.Fragment,{children:[_.jsx(i,{initialState:s,saving:t.saving,mode:r?"create-basic":"create",onSave:async l=>(n(),e(l))}),_.jsx(o,{creation:t,resetCreateShortUrl:n,canBeClosed:r})]})},Ove=sn(Z2,["ShortUrlForm","CreateShortUrlResult"]),G_=()=>{const e=ta(),t=Mu(),n=V2(),r=F.useMemo(()=>{const{orderBy:o,tags:a,excludeBots:s,excludeMaxVisitsReached:l,excludePastValidUntil:u,...f}=n,d=o?wce(o):void 0,p=(a==null?void 0:a.split(","))??[];return{...f,orderBy:d,tags:p,excludeBots:s!==void 0?s==="true":void 0,excludeMaxVisitsReached:l!==void 0?l==="true":void 0,excludePastValidUntil:u!==void 0?u==="true":void 0}},[n]),i=F.useCallback(o=>{const a={...r,...o},{orderBy:s,tags:l,excludeBots:u,excludeMaxVisitsReached:f,excludePastValidUntil:d,...p}=a,m={...p,orderBy:s&&_ce(s),tags:l.length>0?l.join(","):void 0,excludeBots:uO(u),excludeMaxVisitsReached:uO(f),excludePastValidUntil:uO(d)},v=D_(m),g=v?`?${v}`:"";e(`${t}/list-short-urls/1${g}`)},[r,e,t]);return[r,i]},X2=()=>{const{shortCode:e=""}=ad();return F.useMemo(()=>u2(e),[e])},Q2=({shortUrlDetail:e,getShortUrlDetail:t,shortUrlEdition:n,editShortUrl:r})=>{const{ShortUrlForm:i}=an(Q2),{search:o}=Nn(),a=X2(),s=md(),{loading:l,error:u,errorData:f,shortUrl:d}=e,{saving:p,saved:m,error:v,errorData:g}=n,{domain:w}=dd(o),y=Ru("shortUrlCreation"),b=F.useMemo(()=>Ede(d,y),[d,y]);return F.useEffect(()=>{a&&t({shortCode:a,domain:w})},[w,t,a]),l?_.jsx(Da,{loading:!0}):u?_.jsx(ii,{type:"error",children:_.jsx(Fa,{errorData:f,fallbackMessage:"An error occurred while loading short URL detail :("})}):_.jsxs(_.Fragment,{children:[_.jsx("header",{className:"mb-3",children:_.jsx(ui,{body:!0,children:_.jsxs("h2",{className:"d-sm-flex justify-content-between align-items-center mb-0",children:[_.jsx(wt,{color:"link",size:"lg",className:"p-0 me-3",onClick:s,"aria-label":"Go back",children:_.jsx(Le,{icon:N$})}),_.jsx("span",{className:"text-center",children:_.jsxs("small",{children:["Edit ",_.jsx(Sa,{href:(d==null?void 0:d.shortUrl)??""})]})}),_.jsx("span",{})]})})}),_.jsx(i,{initialState:b,saving:p,mode:"edit",onSave:async x=>{d&&r({...d,data:x})}}),m&&v&&_.jsx(ii,{type:"error",className:"mt-3",children:_.jsx(Fa,{errorData:g,fallbackMessage:"An error occurred while updating short URL :("})}),m&&!v&&_.jsx(ii,{type:"success",className:"mt-3",children:"Short URL properly edited."})]})},Sve=sn(Q2,["ShortUrlForm"]);var q_={},Eve=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r"u"){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var d=KR[t.format]||KR.default;window.clipboardData.setData(d,e)}else f.clipboardData.clearData(),f.clipboardData.setData(t.format,e);t.onCopy&&(f.preventDefault(),t.onCopy(f.clipboardData))}),document.body.appendChild(s),o.selectNodeContents(s),a.addRange(o);var u=document.execCommand("copy");if(!u)throw new Error("copy command was unsuccessful");l=!0}catch(f){n&&console.error("unable to copy using execCommand: ",f),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),l=!0}catch(d){n&&console.error("unable to copy using clipboardData: ",d),n&&console.error("falling back to prompt"),r=kve("message"in t?t.message:Cve),window.prompt(r,e)}}finally{a&&(typeof a.removeRange=="function"?a.removeRange(o):a.removeAllRanges()),s&&document.body.removeChild(s),i()}return l}var Pve=jve;function iT(e){"@babel/helpers - typeof";return iT=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},iT(e)}Object.defineProperty(q_,"__esModule",{value:!0});q_.CopyToClipboard=void 0;var Dg=J2(N),Ave=J2(Pve),Nve=["text","onCopy","options","children"];function J2(e){return e&&e.__esModule?e:{default:e}}function ZR(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 XR(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Lve(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Rve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QR(e,t){for(var n=0;n"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 eb(e){return eb=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},eb(e)}function bP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var t9=function(e){Ive(n,e);var t=Fve(n);function n(){var r;Rve(this,n);for(var i=arguments.length,o=new Array(i),a=0;a{const{useTimeoutToggle:r}=an(r9),[i,o]=r(),{error:a,saved:s}=e;if(F.useEffect(()=>{t()},[t]),a)return _.jsxs(ii,{type:"error",className:"mt-3",children:[n&&_.jsx(Le,{"data-testid":"error-close-button",icon:sS,className:"float-end pointer",onClick:t}),_.jsx(Fa,{errorData:e.errorData,fallbackMessage:"An error occurred while creating the URL :("})]});if(!s)return null;const{shortUrl:l}=e.result;return _.jsxs(ii,{type:"success",className:"mt-3",children:[n&&_.jsx(Le,{"data-testid":"success-close-button",icon:sS,className:"float-end pointer",onClick:t}),_.jsxs("span",{children:[_.jsx("b",{children:"Great!"})," The short URL is ",_.jsx("b",{children:l})]}),_.jsx(n9,{text:l,onCopy:o,children:_.jsxs("button",{className:"btn btn-light btn-sm create-short-url-result__copy-btn",id:"copyBtn",type:"button",children:[_.jsx(Le,{icon:YB})," Copy"]})}),_.jsx(iv,{placement:"left",isOpen:i,target:"copyBtn",children:"Copied!"})]})},Vve=sn(r9,["useTimeoutToggle"]),dO="delete",Hve=({shortUrl:e,toggle:t,isOpen:n,shortUrlDeletion:r,resetDeleteShortUrl:i,deleteShortUrl:o,shortUrlDeleted:a})=>{const[s,l]=F.useState("");F.useEffect(()=>i,[i]);const{loading:u,error:f,deleted:d,errorData:p}=r,m=F.useCallback(()=>{i(),t()},[i,t]),v=F.useCallback(g=>(g.preventDefault(),o(e).then(t)),[o,e,t]);return _.jsx(Ka,{isOpen:n,toggle:m,centered:!0,onClosed:()=>d&&a(e),children:_.jsxs("form",{onSubmit:v,children:[_.jsx(Za,{toggle:m,children:_.jsx("span",{className:"text-danger",children:"Delete short URL"})}),_.jsxs(na,{children:[_.jsxs("p",{children:[_.jsx("b",{className:"text-danger",children:"Caution!"})," You are about to delete a short URL."]}),_.jsx("p",{children:"This action cannot be undone. Once you have deleted it, all the visits stats will be lost."}),_.jsxs("p",{children:["Write ",_.jsx("b",{children:dO})," to confirm deletion."]}),_.jsx("input",{type:"text",className:"form-control",placeholder:`Insert ${dO}`,value:s,onChange:g=>l(g.target.value)}),f&&_.jsx(ii,{type:pde(p)?"warning":"error",small:!0,className:"mt-2",children:_.jsx(Fa,{errorData:p,fallbackMessage:"Something went wrong while deleting the URL :("})})]}),_.jsxs(Au,{children:[_.jsx("button",{type:"button",className:"btn btn-link",onClick:m,children:"Cancel"}),_.jsx("button",{type:"submit",className:"btn btn-danger",disabled:s!==dO||u,children:u?"Deleting...":"Delete"})]})]})})},i9=({amount:e=0,loading:t=!1,...n})=>_.jsxs(wt,{...n,outline:!0,color:"primary",disabled:t,children:[_.jsx(Le,{icon:YQ})," ",t?"Exporting...":_.jsxs(_.Fragment,{children:["Export (",bn(e),")"]})]}),JR=20,o9=({amount:e=0})=>{const{apiClientFactory:t,ReportExporter:n}=an(o9),[{tags:r,search:i,startDate:o,endDate:a,orderBy:s,tagsMode:l}]=G_(),[u,,f,d]=En(),p=F.useCallback(async()=>{const m=e/JR,v=async(w=1)=>{const{data:y}=await t().listShortUrls({page:`${w}`,tags:r,searchTerm:i,startDate:o,endDate:a,orderBy:s,tagsMode:l,itemsPerPage:JR});return w>=m?y:y.concat(await v(w+1))};f();const g=await v();n.exportShortUrls(g.map(w=>{var y;const{hostname:b,pathname:x}=new URL(w.shortUrl),O=x.substring(1);return{createdAt:w.dateCreated,domain:b,shortCode:O,shortUrl:w.shortUrl,longUrl:w.longUrl,title:w.title??"",tags:w.tags.join("|"),visits:((y=w==null?void 0:w.visitsSummary)==null?void 0:y.total)??w.visitsCount}})),d()},[e,t,a,s,n,i,o,f,d,r,l]);return _.jsx(i9,{loading:u,className:"btn-md-block",amount:e,onClick:p})},Wve=sn(o9,["apiClientFactory","ReportExporter"]),a9=({text:e,onCopy:t})=>_.jsx(n9,{text:e,onCopy:t,children:_.jsx(Le,{icon:YB,className:"ms-2 copy-to-clipboard-icon"})}),Yve=(e,{margin:t,...n})=>{const r=`${e}/qr-code`,i=D_({...n,margin:t>0?t:void 0});return`${r}${i?`?${i}`:""}`},Gve=({errorCorrection:e,setErrorCorrection:t})=>_.jsxs(Xa,{text:`Error correction (${e})`,children:[_.jsxs(ze,{active:e==="L",onClick:()=>t("L"),children:[_.jsx("b",{children:"L"}),"ow"]}),_.jsxs(ze,{active:e==="M",onClick:()=>t("M"),children:[_.jsx("b",{children:"M"}),"edium"]}),_.jsxs(ze,{active:e==="Q",onClick:()=>t("Q"),children:[_.jsx("b",{children:"Q"}),"uartile"]}),_.jsxs(ze,{active:e==="H",onClick:()=>t("H"),children:[_.jsx("b",{children:"H"}),"igh"]})]}),qve=({format:e,setFormat:t})=>_.jsxs(Xa,{text:`Format (${e})`,children:[_.jsx(ze,{active:e==="png",onClick:()=>t("png"),children:"PNG"}),_.jsx(ze,{active:e==="svg",onClick:()=>t("svg"),children:"SVG"})]}),s9=({shortUrl:{shortUrl:e,shortCode:t},toggle:n,isOpen:r})=>{const{ImageDownloader:i}=an(s9),[o,a]=F.useState(300),[s,l]=F.useState(0),[u,f]=F.useState("png"),[d,p]=F.useState("L"),m=F.useMemo(()=>Yve(e,{size:o,format:u,margin:s,errorCorrection:d}),[e,o,u,s,d]),v=F.useMemo(()=>o+s,[o,s]),g=F.useMemo(()=>{if(!(v<500))return v<800?"lg":"xl"},[v]);return _.jsxs(Ka,{isOpen:r,toggle:n,centered:!0,size:g,children:[_.jsxs(Za,{toggle:n,children:["QR code for ",_.jsx(Sa,{href:e,children:e})]}),_.jsxs(na,{children:[_.jsxs(kr,{children:[_.jsxs(ni,{className:"d-grid col-md-6",children:[_.jsxs("label",{htmlFor:"sizeControl",children:["Size: ",o,"px"]}),_.jsx("input",{id:"sizeControl",type:"range",className:"form-control-range",value:o,step:10,min:50,max:1e3,onChange:w=>a(Number(w.target.value))})]}),_.jsxs(ni,{className:"d-grid col-md-6",children:[_.jsxs("label",{htmlFor:"marginControl",children:["Margin: ",s,"px"]}),_.jsx("input",{id:"marginControl",type:"range",className:"form-control-range",value:s,step:1,min:0,max:100,onChange:w=>l(Number(w.target.value))})]}),_.jsx(ni,{className:"d-grid col-md-6",children:_.jsx(qve,{format:u,setFormat:f})}),_.jsx(ni,{className:"col-md-6",children:_.jsx(Gve,{errorCorrection:d,setErrorCorrection:p})})]}),_.jsxs("div",{className:"text-center",children:[_.jsxs("div",{className:"mb-3",children:[_.jsx(Sa,{href:m}),_.jsx(a9,{text:m})]}),_.jsx("img",{src:m,className:"qr-code-modal__img",alt:"QR code"}),_.jsx("div",{className:"mt-3",children:_.jsxs(wt,{block:!0,color:"primary",onClick:()=>{i.saveImage(m,`${t}-qr-code.${u}`).catch(()=>{})},children:["Download ",_.jsx(Le,{icon:M$,className:"ms-1"})]})})]})]})]})},Kve=sn(s9,["ImageDownloader"]),tb=({date:e,format:t=cP,relative:n=!1})=>{const r=fP(e)?e:Ua(e);return _.jsx("time",{dateTime:`${rhe(r)}000`,children:n?`${Xpe(Js(),r)} ago`:Ef(r,t)})},Zve=e=>{const{meta:t,visitsCount:n,visitsSummary:r}=e,{maxVisits:i,validSince:o,validUntil:a}=t,s=(r==null?void 0:r.total)??n;return i&&s>=i?{icon:DJ,className:"text-danger",description:_.jsxs(_.Fragment,{children:["This short URL cannot be currently visited because it has reached the maximum amount of ",_.jsx("b",{children:i})," visit",i>1?"s":"","."]})}:a&&po(ho(a),Js())?{icon:vM,className:"text-danger",description:_.jsxs(_.Fragment,{children:["This short URL cannot be visited since ",_.jsx("b",{className:"indivisible",children:Q0(ho(a))}),"."]})}:o&&po(Js(),ho(o))?{icon:vM,className:"text-warning",description:_.jsxs(_.Fragment,{children:["This short URL will start working on ",_.jsx("b",{className:"indivisible",children:Q0(ho(o))}),"."]})}:{icon:Mh,className:"text-primary",description:"This short URL can be visited normally."}},Xve=({shortUrl:e})=>{const t=ul(),{icon:n,className:r,description:i}=Zve(e);return _.jsxs(_.Fragment,{children:[_.jsx("span",{style:{cursor:i?"help":void 0},ref:t,children:_.jsx(Le,{icon:n,className:r})}),_.jsx(qr,{target:t,placement:"bottom",children:i})]})};function l9(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t{const i=n?`?domain=${n}`:"";return`${e}/short-code/${Tde(t)}/${r}${i}`},sT=({shortUrl:e,suffix:t,asLink:n,children:r,...i})=>{const o=Mu();return!n||!e?_.jsx("span",{...i,children:r}):_.jsx(Yt,{to:Qve(o,e,t),...i,children:r})},u9=({visitsCount:e,shortUrl:t,active:n=!1,asLink:r=!1})=>{const i=ul(),{maxVisits:o,validSince:a,validUntil:s}=(t==null?void 0:t.meta)??{},l=!!o||!!a||!!s,u=_.jsx(sT,{shortUrl:t,suffix:"visits",asLink:r,children:_.jsx("strong",{className:We("short-url-visits-count__amount",{"short-url-visits-count__amount--big":n}),children:bn(e)})});return l?_.jsxs(_.Fragment,{children:[_.jsxs("span",{className:"indivisible",children:[u,_.jsxs("small",{className:"short-urls-visits-count__max-visits-control",ref:i,children:[o&&_.jsxs(_.Fragment,{children:[" / ",bn(o)]}),_.jsx("sup",{className:"ms-1",children:_.jsx(Le,{icon:ej})})]})]}),_.jsx(qr,{target:i,placement:"bottom",children:_.jsxs("ul",{className:"list-unstyled mb-0",children:[o&&_.jsxs("li",{className:"short-url-visits-count__tooltip-list-item",children:["This short URL will not accept more than ",_.jsx("b",{children:bn(o)})," visit",o===1?"":"s","."]}),a&&_.jsxs("li",{className:"short-url-visits-count__tooltip-list-item",children:["This short URL will not accept visits before ",_.jsx("b",{className:"indivisible",children:Q0(ho(a))}),"."]}),s&&_.jsxs("li",{className:"short-url-visits-count__tooltip-list-item",children:["This short URL will not accept visits after ",_.jsx("b",{className:"indivisible",children:Q0(ho(s))}),"."]})]})})]}):u},em=({style:e,className:t,...n})=>_.jsx("button",{type:"button",className:We("border-0",t),style:{backgroundColor:"inherit",fontWeight:"inherit",...e},...n}),Jve=e=>!!e.onClose,ege=e=>!!e.onClick,_P=e=>{const{text:t,children:n,className:r,colorGenerator:i}=e,o=ege(e),a=o?em:"span",s=F.useMemo(()=>i.isColorLightForKey(t),[t,i]);return _.jsxs(a,{className:We("badge tag fw-bold",r,{"tag--light-bg":s,pointer:o}),style:{backgroundColor:i.getColorForKey(t)},onClick:o?e.onClick:void 0,children:[n??t,Jve(e)&&_.jsx(em,{"aria-label":`Remove ${t}`,className:We("bg-transparent ms-1 opacity-100 p-0 fw-bold tag__close",{"tag--light-bg":s}),onClick:e.onClose,children:"×"})]})},tge=({tags:e,onTagClick:t,colorGenerator:n})=>e.length===0?_.jsx("i",{className:"indivisible",children:_.jsx("small",{children:"No tags"})}):_.jsx(_.Fragment,{children:e.map(r=>_.jsx(_P,{text:r,colorGenerator:n,onClick:()=>t==null?void 0:t(r)},r))}),c9=({shortUrl:e,onTagClick:t})=>{var n,r,i,o;const{ShortUrlsRowMenu:a,ColorGenerator:s,useTimeoutToggle:l}=an(c9),[u,f]=l(),[d,p]=l(!1,500),m=F.useRef(!0),[{excludeBots:v}]=G_(),g=Ru("visits"),w=v??(g==null?void 0:g.excludeBots);return F.useEffect(()=>{!m.current&&p(),m.current=!1},[(n=e.visitsSummary)==null?void 0:n.total,(r=e.visitsSummary)==null?void 0:r.nonBots,e.visitsCount,p]),_.jsxs("tr",{className:"responsive-table__row",children:[_.jsx("td",{className:"indivisible short-urls-row__cell responsive-table__cell","data-th":"Created at",children:_.jsx(tb,{date:e.dateCreated})}),_.jsx("td",{className:"responsive-table__cell short-urls-row__cell","data-th":"Short URL",children:_.jsxs("span",{className:"position-relative short-urls-row__cell--indivisible",children:[_.jsx("span",{className:"short-urls-row__short-url-wrapper",children:_.jsx(Sa,{href:e.shortUrl})}),_.jsx(a9,{text:e.shortUrl,onCopy:f}),_.jsx("span",{className:"badge bg-warning text-black short-urls-row__copy-hint",hidden:!u,children:"Copied short URL!"})]})}),_.jsx("td",{className:"responsive-table__cell short-urls-row__cell short-urls-row__cell--break","data-th":`${e.title?"Title":"Long URL"}`,children:_.jsx(Sa,{href:e.longUrl,children:e.title??e.longUrl})}),e.title&&_.jsx("td",{className:"short-urls-row__cell responsive-table__cell short-urls-row__cell--break d-lg-none","data-th":"Long URL",children:_.jsx(Sa,{href:e.longUrl})}),_.jsx("td",{className:"responsive-table__cell short-urls-row__cell","data-th":"Tags",children:_.jsx(tge,{tags:e.tags,colorGenerator:s,onTagClick:t})}),_.jsx("td",{className:"responsive-table__cell short-urls-row__cell text-lg-end","data-th":"Visits",children:_.jsx(u9,{visitsCount:(w?(i=e.visitsSummary)==null?void 0:i.nonBots:(o=e.visitsSummary)==null?void 0:o.total)??e.visitsCount,shortUrl:e,active:d,asLink:!0})}),_.jsx("td",{className:"responsive-table__cell short-urls-row__cell","data-th":"Status",children:_.jsx(Xve,{shortUrl:e})}),_.jsx("td",{className:"responsive-table__cell short-urls-row__cell text-end",children:_.jsx(a,{shortUrl:e})})]})},nge=sn(c9,["ShortUrlsRowMenu","ColorGenerator","useTimeoutToggle"]),f9=({shortUrl:e})=>{const{DeleteShortUrlModal:t,QrCodeModal:n}=an(f9),[r,,i,o]=En(),[a,,s,l]=En();return _.jsxs(F_,{minWidth:190,children:[_.jsxs(ze,{tag:sT,shortUrl:e,suffix:"visits",asLink:!0,children:[_.jsx(Le,{icon:Jk,fixedWidth:!0})," Visit stats"]}),_.jsxs(ze,{tag:sT,shortUrl:e,suffix:"edit",asLink:!0,children:[_.jsx(Le,{icon:Qk,fixedWidth:!0})," Edit short URL"]}),_.jsxs(ze,{onClick:i,children:[_.jsx(Le,{icon:LJ,fixedWidth:!0})," QR code"]}),_.jsx(n,{shortUrl:e,isOpen:r,toggle:o}),_.jsx(ze,{divider:!0,tag:"hr"}),_.jsxs(ze,{className:"dropdown-item--danger",onClick:s,children:[_.jsx(Le,{icon:Xk,fixedWidth:!0})," Delete short URL"]}),_.jsx(t,{shortUrl:e,isOpen:a,toggle:l})]})},rge=sn(f9,["DeleteShortUrlModal","QrCodeModal"]),d9="shlink/shortUrlCreation",eD={saving:!1,saved:!1,error:!1},ige=e=>_r(`${d9}/createShortUrl`,t=>e().createShortUrl(t)),oge=e=>{const{reducer:t,actions:n}=Yn({name:d9,initialState:eD,reducers:{resetCreateShortUrl:()=>eD},extraReducers:i=>{i.addCase(e.pending,()=>({saving:!0,saved:!1,error:!1})),i.addCase(e.rejected,(o,{error:a})=>({saving:!1,saved:!1,error:!0,errorData:xo(a)})),i.addCase(e.fulfilled,(o,{payload:a})=>({result:a,saving:!1,saved:!0,error:!1}))}}),{resetCreateShortUrl:r}=n;return{reducer:t,resetCreateShortUrl:r}},tD="shlink/shortUrlDetail",nD={loading:!1,error:!1},age=e=>{const t=_r(`${tD}/getShortUrlDetail`,async({shortCode:r,domain:i},{getState:o})=>{var a;const{shortUrlsList:s}=o();return((a=s==null?void 0:s.shortUrls)==null?void 0:a.data.find(l=>Jp(l,r,i)))??await e().getShortUrl(r,i)}),{reducer:n}=Yn({name:tD,initialState:nD,reducers:{},extraReducers:r=>{r.addCase(t.pending,()=>({loading:!0,error:!1})),r.addCase(t.rejected,(i,{error:o})=>({loading:!1,error:!0,errorData:xo(o)})),r.addCase(t.fulfilled,(i,{payload:o})=>({...nD,shortUrl:o}))}});return{reducer:n,getShortUrlDetail:t}},p9="shlink/shortUrlEdition",sge={saving:!1,saved:!1,error:!1},lge=e=>_r(`${p9}/editShortUrl`,({shortCode:t,domain:n,data:r})=>e().updateShortUrl(t,n,r)),uge=e=>Yn({name:p9,initialState:sge,reducers:{},extraReducers:t=>{t.addCase(e.pending,n=>({...n,saving:!0,error:!1,saved:!1})),t.addCase(e.rejected,(n,{error:r})=>({...n,saving:!1,error:!0,saved:!1,errorData:xo(r)})),t.addCase(e.fulfilled,(n,{payload:r})=>({shortUrl:r,saving:!1,error:!1,saved:!0}))}}),cge=({icon:e,className:t,...n})=>{const r=ul();return _.jsxs("div",{className:"icon-input-container",children:[_.jsx(yu,{className:We("icon-input-container__input",t),innerRef:r,...n}),_.jsx(Le,{icon:e,fixedWidth:!0,className:"icon-input-container__icon",onClick:()=>{var i;return(i=r.current)==null?void 0:i.focus()}})]})};var h9={exports:{}},pO,rD;function fge(){if(rD)return pO;rD=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return pO=e,pO}var hO,iD;function dge(){if(iD)return hO;iD=1;var e=fge();function t(){}function n(){}return n.resetWarningCache=t,hO=function(){function r(a,s,l,u,f,d){if(d!==e){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}r.isRequired=r;function i(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o},hO}h9.exports=dge()();var pge=h9.exports;const rt=Ot(pge);var m9={exports:{}};/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r=[],i=0;i=0)&&(n[i]=e[i]);return n}function oD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gge(e,t,n){return e===t?!0:e.correspondingElement?e.correspondingElement.classList.contains(n):e.classList.contains(n)}function yge(e,t,n){if(e===t)return!0;for(;e.parentNode||e.host;){if(e.parentNode&&gge(e,t,n))return!0;e=e.parentNode||e.host}return e}function bge(e){return document.documentElement.clientWidth<=e.clientX||document.documentElement.clientHeight<=e.clientY}var _ge=function(){if(!(typeof window>"u"||typeof window.addEventListener!="function")){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};return window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),e}};function wge(e){return e===void 0&&(e=0),function(){return++e}}var xge=wge(),uT,Ig={},mO={},Oge=["touchstart","touchmove"],Sge="ignore-react-onclickoutside";function aD(e,t){var n={},r=Oge.indexOf(t)!==-1;return r&&uT&&(n.passive=!e.props.preventDefault),n}function K_(e,t){var n,r,i=e.displayName||e.name||"Component";return r=n=function(o){mge(a,o);function a(l){var u;return u=o.call(this,l)||this,u.__outsideClickHandler=function(f){if(typeof u.__clickOutsideHandlerProp=="function"){u.__clickOutsideHandlerProp(f);return}var d=u.getInstance();if(typeof d.props.handleClickOutside=="function"){d.props.handleClickOutside(f);return}if(typeof d.handleClickOutside=="function"){d.handleClickOutside(f);return}throw new Error("WrappedComponent: "+i+" lacks a handleClickOutside(event) function for processing outside click events.")},u.__getComponentNode=function(){var f=u.getInstance();return t&&typeof t.setClickOutsideRef=="function"?t.setClickOutsideRef()(f):typeof f.setClickOutsideRef=="function"?f.setClickOutsideRef():id.findDOMNode(f)},u.enableOnClickOutside=function(){if(!(typeof document>"u"||mO[u._uid])){typeof uT>"u"&&(uT=_ge()),mO[u._uid]=!0;var f=u.props.eventTypes;f.forEach||(f=[f]),Ig[u._uid]=function(d){if(u.componentNode!==null&&(u.props.preventDefault&&d.preventDefault(),u.props.stopPropagation&&d.stopPropagation(),!(u.props.excludeScrollbar&&bge(d)))){var p=d.composed&&d.composedPath&&d.composedPath().shift()||d.target;yge(p,u.componentNode,u.props.outsideClickIgnoreClass)===document&&u.__outsideClickHandler(d)}},f.forEach(function(d){document.addEventListener(d,Ig[u._uid],aD(oD(u),d))})}},u.disableOnClickOutside=function(){delete mO[u._uid];var f=Ig[u._uid];if(f&&typeof document<"u"){var d=u.props.eventTypes;d.forEach||(d=[d]),d.forEach(function(p){return document.removeEventListener(p,f,aD(oD(u),p))}),delete Ig[u._uid]}},u.getRef=function(f){return u.instanceRef=f},u._uid=xge(),u}var s=a.prototype;return s.getInstance=function(){if(e.prototype&&!e.prototype.isReactComponent)return this;var l=this.instanceRef;return l.getInstance?l.getInstance():l},s.componentDidMount=function(){if(!(typeof document>"u"||!document.createElement)){var l=this.getInstance();if(t&&typeof t.handleClickOutside=="function"&&(this.__clickOutsideHandlerProp=t.handleClickOutside(l),typeof this.__clickOutsideHandlerProp!="function"))throw new Error("WrappedComponent: "+i+" lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=this.__getComponentNode(),!this.props.disableOnClickOutside&&this.enableOnClickOutside()}},s.componentDidUpdate=function(){this.componentNode=this.__getComponentNode()},s.componentWillUnmount=function(){this.disableOnClickOutside()},s.render=function(){var l=this.props;l.excludeScrollbar;var u=vge(l,["excludeScrollbar"]);return e.prototype&&e.prototype.isReactComponent?u.ref=this.getRef:u.wrappedRef=this.getRef,u.disableOnClickOutside=this.disableOnClickOutside,u.enableOnClickOutside=this.enableOnClickOutside,F.createElement(e,u)},a}(F.Component),n.displayName="OnClickOutside("+i+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:Sge,preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},r}var v9=F.createContext(),g9=F.createContext();function Ege(e){var t=e.children,n=F.useState(null),r=n[0],i=n[1],o=F.useRef(!1);F.useEffect(function(){return function(){o.current=!0}},[]);var a=F.useCallback(function(s){o.current||i(s)},[]);return F.createElement(v9.Provider,{value:r},F.createElement(g9.Provider,{value:a},t))}var y9=function(e){return Array.isArray(e)?e[0]:e},b9=function(e){if(typeof e=="function"){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r"u")return!1;var t=pi(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Fge(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!Di(o)||!Jo(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function Uge(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,u){return l[u]="",l},{});!Di(i)||!Jo(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const $ge={name:"applyStyles",enabled:!0,phase:"write",fn:Fge,effect:Uge,requires:["computeStyles"]};function Yo(e){return e.split("-")[0]}var au=Math.max,nb=Math.min,jf=Math.round;function fT(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function x9(){return!/^((?!chrome|android).)*safari/i.test(fT())}function Pf(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&Di(e)&&(i=e.offsetWidth>0&&jf(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&jf(r.height)/e.offsetHeight||1);var a=xu(e)?pi(e):window,s=a.visualViewport,l=!x9()&&n,u=(r.left+(l&&s?s.offsetLeft:0))/i,f=(r.top+(l&&s?s.offsetTop:0))/o,d=r.width/i,p=r.height/o;return{width:d,height:p,top:f,right:u+d,bottom:f+p,left:u,x:u,y:f}}function OP(e){var t=Pf(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function O9(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&xP(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function $a(e){return pi(e).getComputedStyle(e)}function Bge(e){return["table","td","th"].indexOf(Jo(e))>=0}function fl(e){return((xu(e)?e.ownerDocument:e.document)||window.document).documentElement}function Z_(e){return Jo(e)==="html"?e:e.assignedSlot||e.parentNode||(xP(e)?e.host:null)||fl(e)}function cD(e){return!Di(e)||$a(e).position==="fixed"?null:e.offsetParent}function zge(e){var t=/firefox/i.test(fT()),n=/Trident/i.test(fT());if(n&&Di(e)){var r=$a(e);if(r.position==="fixed")return null}var i=Z_(e);for(xP(i)&&(i=i.host);Di(i)&&["html","body"].indexOf(Jo(i))<0;){var o=$a(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function vv(e){for(var t=pi(e),n=cD(e);n&&Bge(n)&&$a(n).position==="static";)n=cD(n);return n&&(Jo(n)==="html"||Jo(n)==="body"&&$a(n).position==="static")?t:n||zge(e)||t}function SP(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function eh(e,t,n){return au(e,nb(t,n))}function Vge(e,t,n){var r=eh(e,t,n);return r>n?n:r}function S9(){return{top:0,right:0,bottom:0,left:0}}function E9(e){return Object.assign({},S9(),e)}function T9(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Hge=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,E9(typeof e!="number"?e:T9(e,mv))};function Wge(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Yo(n.placement),l=SP(s),u=[Gr,Hi].indexOf(s)>=0,f=u?"height":"width";if(!(!o||!a)){var d=Hge(i.padding,n),p=OP(o),m=l==="y"?Yr:Gr,v=l==="y"?Vi:Hi,g=n.rects.reference[f]+n.rects.reference[l]-a[l]-n.rects.popper[f],w=a[l]-n.rects.reference[l],y=vv(o),b=y?l==="y"?y.clientHeight||0:y.clientWidth||0:0,x=g/2-w/2,O=d[m],E=b-p[f]-d[v],T=b/2-p[f]/2+x,k=eh(O,T,E),A=l;n.modifiersData[r]=(t={},t[A]=k,t.centerOffset=k-T,t)}}function Yge(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||O9(t.elements.popper,i)&&(t.elements.arrow=i))}const Gge={name:"arrow",enabled:!0,phase:"main",fn:Wge,effect:Yge,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Af(e){return e.split("-")[1]}var qge={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Kge(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:jf(n*i)/i||0,y:jf(r*i)/i||0}}function fD(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,f=e.roundOffsets,d=e.isFixed,p=a.x,m=p===void 0?0:p,v=a.y,g=v===void 0?0:v,w=typeof f=="function"?f({x:m,y:g}):{x:m,y:g};m=w.x,g=w.y;var y=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),x=Gr,O=Yr,E=window;if(u){var T=vv(n),k="clientHeight",A="clientWidth";if(T===pi(n)&&(T=fl(n),$a(T).position!=="static"&&s==="absolute"&&(k="scrollHeight",A="scrollWidth")),T=T,i===Yr||(i===Gr||i===Hi)&&o===tm){O=Vi;var D=d&&T===E&&E.visualViewport?E.visualViewport.height:T[k];g-=D-r.height,g*=l?1:-1}if(i===Gr||(i===Yr||i===Vi)&&o===tm){x=Hi;var R=d&&T===E&&E.visualViewport?E.visualViewport.width:T[A];m-=R-r.width,m*=l?1:-1}}var I=Object.assign({position:s},u&&qge),z=f===!0?Kge({x:m,y:g},pi(n)):{x:m,y:g};if(m=z.x,g=z.y,l){var G;return Object.assign({},I,(G={},G[O]=b?"0":"",G[x]=y?"0":"",G.transform=(E.devicePixelRatio||1)<=1?"translate("+m+"px, "+g+"px)":"translate3d("+m+"px, "+g+"px, 0)",G))}return Object.assign({},I,(t={},t[O]=b?g+"px":"",t[x]=y?m+"px":"",t.transform="",t))}function Zge(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:Yo(t.placement),variation:Af(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,fD(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,fD(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Xge={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Zge,data:{}};var Fg={passive:!0};function Qge(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=pi(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(f){f.addEventListener("scroll",n.update,Fg)}),s&&l.addEventListener("resize",n.update,Fg),function(){o&&u.forEach(function(f){f.removeEventListener("scroll",n.update,Fg)}),s&&l.removeEventListener("resize",n.update,Fg)}}const Jge={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Qge,data:{}};var eye={left:"right",right:"left",bottom:"top",top:"bottom"};function Cy(e){return e.replace(/left|right|bottom|top/g,function(t){return eye[t]})}var tye={start:"end",end:"start"};function dD(e){return e.replace(/start|end/g,function(t){return tye[t]})}function EP(e){var t=pi(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function TP(e){return Pf(fl(e)).left+EP(e).scrollLeft}function nye(e,t){var n=pi(e),r=fl(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var u=x9();(u||!u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+TP(e),y:l}}function rye(e){var t,n=fl(e),r=EP(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=au(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=au(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+TP(e),l=-r.scrollTop;return $a(i||n).direction==="rtl"&&(s+=au(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function CP(e){var t=$a(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function C9(e){return["html","body","#document"].indexOf(Jo(e))>=0?e.ownerDocument.body:Di(e)&&CP(e)?e:C9(Z_(e))}function th(e,t){var n;t===void 0&&(t=[]);var r=C9(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=pi(r),a=i?[o].concat(o.visualViewport||[],CP(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(th(Z_(a)))}function dT(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function iye(e,t){var n=Pf(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function pD(e,t,n){return t===_9?dT(nye(e,n)):xu(t)?iye(t,n):dT(rye(fl(e)))}function oye(e){var t=th(Z_(e)),n=["absolute","fixed"].indexOf($a(e).position)>=0,r=n&&Di(e)?vv(e):e;return xu(r)?t.filter(function(i){return xu(i)&&O9(i,r)&&Jo(i)!=="body"}):[]}function aye(e,t,n,r){var i=t==="clippingParents"?oye(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,u){var f=pD(e,u,r);return l.top=au(f.top,l.top),l.right=nb(f.right,l.right),l.bottom=nb(f.bottom,l.bottom),l.left=au(f.left,l.left),l},pD(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function k9(e){var t=e.reference,n=e.element,r=e.placement,i=r?Yo(r):null,o=r?Af(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case Yr:l={x:a,y:t.y-n.height};break;case Vi:l={x:a,y:t.y+t.height};break;case Hi:l={x:t.x+t.width,y:s};break;case Gr:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=i?SP(i):null;if(u!=null){var f=u==="y"?"height":"width";switch(o){case kf:l[u]=l[u]-(t[f]/2-n[f]/2);break;case tm:l[u]=l[u]+(t[f]/2-n[f]/2);break}}return l}function nm(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,s=n.boundary,l=s===void 0?Tge:s,u=n.rootBoundary,f=u===void 0?_9:u,d=n.elementContext,p=d===void 0?lp:d,m=n.altBoundary,v=m===void 0?!1:m,g=n.padding,w=g===void 0?0:g,y=E9(typeof w!="number"?w:T9(w,mv)),b=p===lp?Cge:lp,x=e.rects.popper,O=e.elements[v?b:p],E=aye(xu(O)?O:O.contextElement||fl(e.elements.popper),l,f,a),T=Pf(e.elements.reference),k=k9({reference:T,element:x,strategy:"absolute",placement:i}),A=dT(Object.assign({},x,k)),D=p===lp?A:T,R={top:E.top-D.top+y.top,bottom:D.bottom-E.bottom+y.bottom,left:E.left-D.left+y.left,right:D.right-E.right+y.right},I=e.modifiersData.offset;if(p===lp&&I){var z=I[i];Object.keys(R).forEach(function(G){var H=[Hi,Vi].indexOf(G)>=0?1:-1,Q=[Yr,Vi].indexOf(G)>=0?"y":"x";R[G]+=z[Q]*H})}return R}function sye(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?w9:l,f=Af(r),d=f?s?uD:uD.filter(function(v){return Af(v)===f}):mv,p=d.filter(function(v){return u.indexOf(v)>=0});p.length===0&&(p=d);var m=p.reduce(function(v,g){return v[g]=nm(e,{placement:g,boundary:i,rootBoundary:o,padding:a})[Yo(g)],v},{});return Object.keys(m).sort(function(v,g){return m[v]-m[g]})}function lye(e){if(Yo(e)===wP)return[];var t=Cy(e);return[dD(e),t,dD(t)]}function uye(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,f=n.boundary,d=n.rootBoundary,p=n.altBoundary,m=n.flipVariations,v=m===void 0?!0:m,g=n.allowedAutoPlacements,w=t.options.placement,y=Yo(w),b=y===w,x=l||(b||!v?[Cy(w)]:lye(w)),O=[w].concat(x).reduce(function(ee,ie){return ee.concat(Yo(ie)===wP?sye(t,{placement:ie,boundary:f,rootBoundary:d,padding:u,flipVariations:v,allowedAutoPlacements:g}):ie)},[]),E=t.rects.reference,T=t.rects.popper,k=new Map,A=!0,D=O[0],R=0;R=0,Q=H?"width":"height",Z=nm(t,{placement:I,boundary:f,rootBoundary:d,altBoundary:p,padding:u}),te=H?G?Hi:Gr:G?Vi:Yr;E[Q]>T[Q]&&(te=Cy(te));var X=Cy(te),$=[];if(o&&$.push(Z[z]<=0),s&&$.push(Z[te]<=0,Z[X]<=0),$.every(function(ee){return ee})){D=I,A=!1;break}k.set(I,$)}if(A)for(var V=v?3:1,W=function(ee){var ie=O.find(function(se){var fe=k.get(se);if(fe)return fe.slice(0,ee).every(function(j){return j})});if(ie)return D=ie,"break"},re=V;re>0;re--){var q=W(re);if(q==="break")break}t.placement!==D&&(t.modifiersData[r]._skip=!0,t.placement=D,t.reset=!0)}}const cye={name:"flip",enabled:!0,phase:"main",fn:uye,requiresIfExists:["offset"],data:{_skip:!1}};function hD(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function mD(e){return[Yr,Hi,Vi,Gr].some(function(t){return e[t]>=0})}function fye(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=nm(t,{elementContext:"reference"}),s=nm(t,{altBoundary:!0}),l=hD(a,r),u=hD(s,i,o),f=mD(l),d=mD(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:f,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":d})}const dye={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:fye};function pye(e,t,n){var r=Yo(e),i=[Gr,Yr].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[Gr,Hi].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function hye(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=w9.reduce(function(f,d){return f[d]=pye(d,t.rects,o),f},{}),s=a[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}const mye={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:hye};function vye(e){var t=e.state,n=e.name;t.modifiersData[n]=k9({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const gye={name:"popperOffsets",enabled:!0,phase:"read",fn:vye,data:{}};function yye(e){return e==="x"?"y":"x"}function bye(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,f=n.altBoundary,d=n.padding,p=n.tether,m=p===void 0?!0:p,v=n.tetherOffset,g=v===void 0?0:v,w=nm(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:f}),y=Yo(t.placement),b=Af(t.placement),x=!b,O=SP(y),E=yye(O),T=t.modifiersData.popperOffsets,k=t.rects.reference,A=t.rects.popper,D=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,R=typeof D=="number"?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,z={x:0,y:0};if(T){if(o){var G,H=O==="y"?Yr:Gr,Q=O==="y"?Vi:Hi,Z=O==="y"?"height":"width",te=T[O],X=te+w[H],$=te-w[Q],V=m?-A[Z]/2:0,W=b===kf?k[Z]:A[Z],re=b===kf?-A[Z]:-k[Z],q=t.elements.arrow,ee=m&&q?OP(q):{width:0,height:0},ie=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:S9(),se=ie[H],fe=ie[Q],j=eh(0,k[Z],ee[Z]),P=x?k[Z]/2-V-j-se-R.mainAxis:W-j-se-R.mainAxis,B=x?-k[Z]/2+V+j+fe+R.mainAxis:re+j+fe+R.mainAxis,J=t.elements.arrow&&vv(t.elements.arrow),K=J?O==="y"?J.clientTop||0:J.clientLeft||0:0,le=(G=I==null?void 0:I[O])!=null?G:0,he=te+P-le-K,Ee=te+B-le,ue=eh(m?nb(X,he):X,te,m?au($,Ee):$);T[O]=ue,z[O]=ue-te}if(s){var ve,ge=O==="x"?Yr:Gr,Oe=O==="x"?Vi:Hi,Ce=T[E],ke=E==="y"?"height":"width",Ae=Ce+w[ge],ce=Ce-w[Oe],de=[Yr,Gr].indexOf(y)!==-1,_e=(ve=I==null?void 0:I[E])!=null?ve:0,be=de?Ae:Ce-k[ke]-A[ke]-_e+R.altAxis,Se=de?Ce+k[ke]+A[ke]-_e-R.altAxis:ce,Me=m&&de?Vge(be,Ce,Se):eh(m?be:Ae,Ce,m?Se:ce);T[E]=Me,z[E]=Me-Ce}t.modifiersData[r]=z}}const _ye={name:"preventOverflow",enabled:!0,phase:"main",fn:bye,requiresIfExists:["offset"]};function wye(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function xye(e){return e===pi(e)||!Di(e)?EP(e):wye(e)}function Oye(e){var t=e.getBoundingClientRect(),n=jf(t.width)/e.offsetWidth||1,r=jf(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Sye(e,t,n){n===void 0&&(n=!1);var r=Di(t),i=Di(t)&&Oye(t),o=fl(t),a=Pf(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Jo(t)!=="body"||CP(o))&&(s=xye(t)),Di(t)?(l=Pf(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=TP(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Eye(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function Tye(e){var t=Eye(e);return Ige.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function Cye(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function kye(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var vD={placement:"bottom",modifiers:[],strategy:"absolute"};function gD(){for(var e=arguments.length,t=new Array(e),n=0;n"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}}();return function(){var n,r=ib(e);if(t){var i=ib(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(o,a){if(a&&(typeof a=="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return oe(o)}(this,n)}}function im(e){return function(t){if(Array.isArray(t))return vO(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||function(t,n){if(t){if(typeof t=="string")return vO(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return vO(t,n)}}(e)||function(){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 vO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},n=t.minDate,r=t.maxDate,i=t.excludeDates,o=t.excludeDateIntervals,a=t.includeDates,s=t.includeDateIntervals,l=t.filterDate;return Q_(e,{minDate:n,maxDate:r})||i&&i.some(function(u){return Rt(e,u)})||o&&o.some(function(u){var f=u.start,d=u.end;return Tf(e,{start:f,end:d})})||a&&!a.some(function(u){return Rt(e,u)})||s&&!s.some(function(u){var f=u.start,d=u.end;return Tf(e,{start:f,end:d})})||l&&!l(Nt(e))||!1}function jP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.excludeDates,r=t.excludeDateIntervals;return r&&r.length>0?r.some(function(i){var o=i.start,a=i.end;return Tf(e,{start:o,end:a})}):n&&n.some(function(i){return Rt(e,i)})||!1}function A9(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.minDate,r=t.maxDate,i=t.excludeDates,o=t.includeDates,a=t.filterDate;return Q_(e,{minDate:h2(n),maxDate:p2(r)})||i&&i.some(function(s){return so(e,s)})||o&&!o.some(function(s){return so(e,s)})||a&&!a(Nt(e))||!1}function gO(e,t,n,r){var i=lt(e),o=gr(e),a=lt(t),s=gr(t),l=lt(r);return i===a&&i===l?o<=n&&n<=s:i=n||li:void 0}function Zye(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.minDate,r=t.maxDate,i=t.excludeDates,o=t.includeDates,a=t.filterDate;return Q_(e,{minDate:n,maxDate:r})||i&&i.some(function(s){return ob(e,s)})||o&&!o.some(function(s){return ob(e,s)})||a&&!a(Nt(e))||!1}function yO(e,t,n){if(!Zh(t)||!Zh(n))return!1;var r=lt(t),i=lt(n);return r<=e&&i>=e}function N9(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.minDate,r=t.maxDate,i=t.excludeDates,o=t.includeDates,a=t.filterDate,s=new Date(e,0,1);return Q_(s,{minDate:m2(n),maxDate:zde(r)})||i&&i.some(function(l){return js(s,l)})||o&&!o.some(function(l){return js(s,l)})||a&&!a(Nt(s))||!1}function bO(e,t,n,r){var i=lt(e),o=Nc(e),a=lt(t),s=Nc(t),l=lt(r);return i===a&&i===l?o<=n&&n<=s:i=n||li:void 0}function Q_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.minDate,r=t.maxDate;return n&&Kh(e,n)<0||r&&Kh(e,r)>0}function ED(e,t){return t.some(function(n){return Ho(n)===Ho(e)&&Wo(n)===Wo(e)})}function TD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.excludeTimes,r=t.includeTimes,i=t.filterTime;return n&&ED(e,n)||r&&!ED(e,r)||i&&!i(e)||!1}function CD(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var i,o=Nt(),a=Sy(Ey(o,Wo(e)),Ho(e)),s=Sy(Ey(o,Wo(n)),Ho(n)),l=Sy(Ey(o,Wo(r)),Ho(r));try{i=!Tf(a,{start:s,end:l})}catch{i=!1}return i}function kD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.minDate,r=t.includeDates,i=Cf(e,1);return n&&Xh(n,i)>0||r&&r.every(function(o){return Xh(o,i)>0})||!1}function jD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.maxDate,r=t.includeDates,i=zi(e,1);return n&&Xh(i,n)>0||r&&r.every(function(o){return Xh(i,o)>0})||!1}function PD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.minDate,r=t.includeDates,i=Qh(e,1);return n&&G0(n,i)>0||r&&r.every(function(o){return G0(o,i)>0})||!1}function AD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.maxDate,r=t.includeDates,i=Of(e,1);return n&&G0(i,n)>0||r&&r.every(function(o){return G0(i,o)>0})||!1}function M9(e){var t=e.minDate,n=e.includeDates;if(n&&t){var r=n.filter(function(i){return Kh(i,t)>=0});return xR(r)}return n?xR(n):t}function L9(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter(function(i){return Kh(i,t)<=0});return wR(r)}return n?wR(n):t}function ND(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"react-datepicker__day--highlighted",n=new Map,r=0,i=e.length;r0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"react-datepicker__day--holidays",n=new Map;return e.forEach(function(r){var i=r.date,o=r.holidayName;if(Y_(i)){var a=Kt(i,"MM.dd.yyyy"),s=n.get(a)||{};if(!("className"in s)||s.className!==t||(l=s.holidayNames,u=[o],l.length!==u.length||!l.every(function(d,p){return d===u[p]}))){var l,u;s.className=t;var f=s.holidayNames;s.holidayNames=f?[].concat(im(f),[o]):[o],n.set(a,s)}}}),n}function Qye(e,t,n,r,i){for(var o=i.length,a=[],s=0;s1&&arguments[1]!==void 0?arguments[1]:nh,n=Math.ceil(lt(e)/t)*t;return{startPeriod:n-(t-1),endPeriod:n}}function LD(e){var t=e.getSeconds(),n=e.getMilliseconds();return Ne(e.getTime()-1e3*t-n)}function Jye(e,t,n,r){for(var i=[],o=0;o<2*t+1;o++){var a=e+t-o,s=!0;n&&(s=lt(n)<=a),r&&s&&(s=lt(r)>=a),s&&i.push(a)}return i}var e0e=K_(function(e){Kn(n,N.Component);var t=Zn(n);function n(r){var i;Gn(this,n),ne(oe(i=t.call(this,r)),"renderOptions",function(){var l=i.props.year,u=i.state.yearsList.map(function(p){return N.createElement("div",{className:l===p?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:p,onClick:i.onChange.bind(oe(i),p),"aria-selected":l===p?"true":void 0},l===p?N.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",p)}),f=i.props.minDate?lt(i.props.minDate):null,d=i.props.maxDate?lt(i.props.maxDate):null;return d&&i.state.yearsList.find(function(p){return p===d})||u.unshift(N.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:i.incrementYears},N.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),f&&i.state.yearsList.find(function(p){return p===f})||u.push(N.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:i.decrementYears},N.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),u}),ne(oe(i),"onChange",function(l){i.props.onChange(l)}),ne(oe(i),"handleClickOutside",function(){i.props.onCancel()}),ne(oe(i),"shiftYears",function(l){var u=i.state.yearsList.map(function(f){return f+l});i.setState({yearsList:u})}),ne(oe(i),"incrementYears",function(){return i.shiftYears(1)}),ne(oe(i),"decrementYears",function(){return i.shiftYears(-1)});var o=r.yearDropdownItemNumber,a=r.scrollableYearDropdown,s=o||(a?10:5);return i.state={yearsList:Jye(i.props.year,s,i.props.minDate,i.props.maxDate)},i.dropdownRef=F.createRef(),i}return qn(n,[{key:"componentDidMount",value:function(){var r=this.dropdownRef.current;if(r){var i=r.children?Array.from(r.children):null,o=i?i.find(function(a){return a.ariaSelected}):null;r.scrollTop=o?o.offsetTop+(o.clientHeight-r.clientHeight)/2:(r.scrollHeight-r.clientHeight)/2}}},{key:"render",value:function(){var r=cr({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return N.createElement("div",{className:r,ref:this.dropdownRef},this.renderOptions())}}]),n}()),t0e=function(e){Kn(n,N.Component);var t=Zn(n);function n(){var r;Gn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a0?f.get(d).holidayNames.join(", "):""}),ne(oe(r),"getTabIndex",function(s,l){var u=s||r.props.selected,f=l||r.props.preSelection;return(!r.props.showWeekPicker||!r.props.showWeekNumber&&r.isStartOfWeek())&&(r.isKeyboardSelected()||r.isSameDay(u)&&Rt(f,u))?0:-1}),ne(oe(r),"handleFocusDay",function(){var s,l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=!1;r.getTabIndex()===0&&!l.isInputFocused&&r.isSameDay(r.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(u=!0),r.props.inline&&!r.props.shouldFocusDayInline&&(u=!1),r.props.containerRef&&r.props.containerRef.current&&r.props.containerRef.current.contains(document.activeElement)&&document.activeElement.classList.contains("react-datepicker__day")&&(u=!0),r.props.monthShowsDuplicateDaysEnd&&r.isAfterMonth()&&(u=!1),r.props.monthShowsDuplicateDaysStart&&r.isBeforeMonth()&&(u=!1)),u&&((s=r.dayEl.current)===null||s===void 0||s.focus({preventScroll:!0}))}),ne(oe(r),"renderDayContents",function(){return r.props.monthShowsDuplicateDaysEnd&&r.isAfterMonth()||r.props.monthShowsDuplicateDaysStart&&r.isBeforeMonth()?null:r.props.renderDayContents?r.props.renderDayContents(jR(r.props.day),r.props.day):jR(r.props.day)}),ne(oe(r),"render",function(){return N.createElement("div",{ref:r.dayEl,className:r.getClassNames(r.props.day),onKeyDown:r.handleOnKeyDown,onClick:r.handleClick,onMouseEnter:r.handleMouseEnter,tabIndex:r.getTabIndex(),"aria-label":r.getAriaLabel(),role:"option",title:r.getTitle(),"aria-disabled":r.isDisabled(),"aria-current":r.isCurrentDay()?"date":void 0,"aria-selected":r.isSelected()||r.isInRange()},r.renderDayContents(),r.getTitle()!==""&&N.createElement("span",{className:"holiday-overlay"},r.getTitle()))}),r}return qn(n,[{key:"componentDidMount",value:function(){this.handleFocusDay()}},{key:"componentDidUpdate",value:function(r){this.handleFocusDay(r)}}]),n}(),l0e=function(e){Kn(n,N.Component);var t=Zn(n);function n(){var r;Gn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a0&&arguments[0]!==void 0?arguments[0]:{},l=!1;r.getTabIndex()===0&&!s.isInputFocused&&Rt(r.props.date,r.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(l=!0),r.props.inline&&!r.props.shouldFocusDayInline&&(l=!1),r.props.containerRef&&r.props.containerRef.current&&r.props.containerRef.current.contains(document.activeElement)&&document.activeElement&&document.activeElement.classList.contains("react-datepicker__week-number")&&(l=!0)),l&&r.weekNumberEl.current&&r.weekNumberEl.current.focus({preventScroll:!0})}),r}return qn(n,[{key:"componentDidMount",value:function(){this.handleFocusWeekNumber()}},{key:"componentDidUpdate",value:function(r){this.handleFocusWeekNumber(r)}},{key:"render",value:function(){var r=this.props,i=r.weekNumber,o=r.ariaLabelPrefix,a=o===void 0?"week ":o,s={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!r.onClick,"react-datepicker__week-number--selected":Rt(this.props.date,this.props.selected),"react-datepicker__week-number--keyboard-selected":this.isKeyboardSelected()};return N.createElement("div",{ref:this.weekNumberEl,className:cr(s),"aria-label":"".concat(a," ").concat(this.props.weekNumber),onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex()},i)}}],[{key:"defaultProps",get:function(){return{ariaLabelPrefix:"week "}}}]),n}(),u0e=function(e){Kn(n,N.Component);var t=Zn(n);function n(){var r;Gn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=6,m=!l&&!r.isWeekInMonth(d);if(p||m){if(!r.props.peekNextMonth)break;f=!0}}return s}),ne(oe(r),"onMonthClick",function(s,l){r.handleDayClick(zs(Cr(r.props.day,l)),s)}),ne(oe(r),"onMonthMouseEnter",function(s){r.handleDayMouseEnter(zs(Cr(r.props.day,s)))}),ne(oe(r),"handleMonthNavigation",function(s,l){r.isDisabled(l)||r.isExcluded(l)||(r.props.setPreSelection(l),r.MONTH_REFS[s].current&&r.MONTH_REFS[s].current.focus())}),ne(oe(r),"onMonthKeyDown",function(s,l){var u=r.props,f=u.selected,d=u.preSelection,p=u.disabledKeyboardNavigation,m=u.showTwoColumnMonthYearPicker,v=u.showFourColumnMonthYearPicker,g=u.setPreSelection,w=s.key;if(w!=="Tab"&&s.preventDefault(),!p){var y=RD(v,m),b=_O[y].verticalNavigationOffset,x=_O[y].grid;switch(w){case"Enter":r.onMonthClick(s,l),g(f);break;case"ArrowRight":r.handleMonthNavigation(l===11?0:l+1,zi(d,1));break;case"ArrowLeft":r.handleMonthNavigation(l===0?11:l-1,Cf(d,1));break;case"ArrowUp":r.handleMonthNavigation(x[0].includes(l)?l+12-b:l-b,Cf(d,b));break;case"ArrowDown":r.handleMonthNavigation(x[x.length-1].includes(l)?l-12+b:l+b,zi(d,b))}}}),ne(oe(r),"onQuarterClick",function(s,l){r.handleDayClick(OD(oc(r.props.day,l)),s)}),ne(oe(r),"onQuarterMouseEnter",function(s){r.handleDayMouseEnter(OD(oc(r.props.day,s)))}),ne(oe(r),"handleQuarterNavigation",function(s,l){r.isDisabled(l)||r.isExcluded(l)||(r.props.setPreSelection(l),r.QUARTER_REFS[s-1].current&&r.QUARTER_REFS[s-1].current.focus())}),ne(oe(r),"onQuarterKeyDown",function(s,l){var u=s.key;if(!r.props.disabledKeyboardNavigation)switch(u){case"Enter":r.onQuarterClick(s,l),r.props.setPreSelection(r.props.selected);break;case"ArrowRight":r.handleQuarterNavigation(l===4?1:l+1,f2(r.props.preSelection,1));break;case"ArrowLeft":r.handleQuarterNavigation(l===1?4:l-1,wme(r.props.preSelection,1))}}),ne(oe(r),"getMonthClassNames",function(s){var l=r.props,u=l.day,f=l.startDate,d=l.endDate,p=l.selected,m=l.minDate,v=l.maxDate,g=l.preSelection,w=l.monthClassName,y=l.excludeDates,b=l.includeDates,x=w?w(Cr(u,s)):void 0,O=Cr(u,s);return cr("react-datepicker__month-text","react-datepicker__month-".concat(s),x,{"react-datepicker__month-text--disabled":(m||v||y||b)&&A9(O,r.props),"react-datepicker__month-text--selected":r.isSelectedMonth(u,s,p),"react-datepicker__month-text--keyboard-selected":!r.props.disabledKeyboardNavigation&&gr(g)===s,"react-datepicker__month-text--in-selecting-range":r.isInSelectingRangeMonth(s),"react-datepicker__month-text--in-range":gO(f,d,s,u),"react-datepicker__month-text--range-start":r.isRangeStartMonth(s),"react-datepicker__month-text--range-end":r.isRangeEndMonth(s),"react-datepicker__month-text--selecting-range-start":r.isSelectingMonthRangeStart(s),"react-datepicker__month-text--selecting-range-end":r.isSelectingMonthRangeEnd(s),"react-datepicker__month-text--today":r.isCurrentMonth(u,s)})}),ne(oe(r),"getTabIndex",function(s){var l=gr(r.props.preSelection);return r.props.disabledKeyboardNavigation||s!==l?"-1":"0"}),ne(oe(r),"getQuarterTabIndex",function(s){var l=Nc(r.props.preSelection);return r.props.disabledKeyboardNavigation||s!==l?"-1":"0"}),ne(oe(r),"getAriaLabel",function(s){var l=r.props,u=l.chooseDayAriaLabelPrefix,f=u===void 0?"Choose":u,d=l.disabledDayAriaLabelPrefix,p=d===void 0?"Not available":d,m=l.day,v=Cr(m,s),g=r.isDisabled(v)||r.isExcluded(v)?p:f;return"".concat(g," ").concat(Kt(v,"MMMM yyyy"))}),ne(oe(r),"getQuarterClassNames",function(s){var l=r.props,u=l.day,f=l.startDate,d=l.endDate,p=l.selected,m=l.minDate,v=l.maxDate,g=l.preSelection,w=l.disabledKeyboardNavigation;return cr("react-datepicker__quarter-text","react-datepicker__quarter-".concat(s),{"react-datepicker__quarter-text--disabled":(m||v)&&Zye(oc(u,s),r.props),"react-datepicker__quarter-text--selected":r.isSelectedQuarter(u,s,p),"react-datepicker__quarter-text--keyboard-selected":!w&&Nc(g)===s,"react-datepicker__quarter-text--in-selecting-range":r.isInSelectingRangeQuarter(s),"react-datepicker__quarter-text--in-range":bO(f,d,s,u),"react-datepicker__quarter-text--range-start":r.isRangeStartQuarter(s),"react-datepicker__quarter-text--range-end":r.isRangeEndQuarter(s)})}),ne(oe(r),"getMonthContent",function(s){var l=r.props,u=l.showFullMonthYearPicker,f=l.renderMonthContent,d=l.locale,p=P9(s,d),m=kP(s,d);return f?f(s,p,m):u?m:p}),ne(oe(r),"getQuarterContent",function(s){var l=r.props,u=l.renderQuarterContent,f=function(d,p){return Kt(oc(Nt(),d),"QQQ",p)}(s,l.locale);return u?u(s,f):f}),ne(oe(r),"renderMonths",function(){var s=r.props,l=s.showTwoColumnMonthYearPicker,u=s.showFourColumnMonthYearPicker,f=s.day,d=s.selected;return _O[RD(u,l)].grid.map(function(p,m){return N.createElement("div",{className:"react-datepicker__month-wrapper",key:m},p.map(function(v,g){return N.createElement("div",{ref:r.MONTH_REFS[v],key:g,onClick:function(w){r.onMonthClick(w,v)},onKeyDown:function(w){r.onMonthKeyDown(w,v)},onMouseEnter:function(){return r.onMonthMouseEnter(v)},tabIndex:r.getTabIndex(v),className:r.getMonthClassNames(v),role:"option","aria-label":r.getAriaLabel(v),"aria-current":r.isCurrentMonth(f,v)?"date":void 0,"aria-selected":r.isSelectedMonth(f,v,d)},r.getMonthContent(v))}))})}),ne(oe(r),"renderQuarters",function(){var s=r.props,l=s.day,u=s.selected;return N.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map(function(f,d){return N.createElement("div",{key:d,ref:r.QUARTER_REFS[d],role:"option",onClick:function(p){r.onQuarterClick(p,f)},onKeyDown:function(p){r.onQuarterKeyDown(p,f)},onMouseEnter:function(){return r.onQuarterMouseEnter(f)},className:r.getQuarterClassNames(f),"aria-selected":r.isSelectedQuarter(l,f,u),tabIndex:r.getQuarterTabIndex(f),"aria-current":r.isCurrentQuarter(l,f)?"date":void 0},r.getQuarterContent(f))}))}),ne(oe(r),"getClassNames",function(){var s=r.props,l=s.selectingDate,u=s.selectsStart,f=s.selectsEnd,d=s.showMonthYearPicker,p=s.showQuarterYearPicker,m=s.showWeekPicker;return cr("react-datepicker__month",{"react-datepicker__month--selecting-range":l&&(u||f)},{"react-datepicker__monthPicker":d},{"react-datepicker__quarterPicker":p},{"react-datepicker__weekPicker":m})}),r}return qn(n,[{key:"render",value:function(){var r=this.props,i=r.showMonthYearPicker,o=r.showQuarterYearPicker,a=r.day,s=r.ariaLabelPrefix,l=s===void 0?"month ":s;return N.createElement("div",{className:this.getClassNames(),onMouseLeave:this.handleMouseLeave,"aria-label":"".concat(l," ").concat(Kt(a,"yyyy-MM")),role:"listbox"},i?this.renderMonths():o?this.renderQuarters():this.renderWeeks())}}]),n}(),F9=function(e){Kn(n,N.Component);var t=Zn(n);function n(){var r;Gn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a0&&arguments[0]!==void 0?arguments[0]:{}).className||"").split(/\s+/);return h0e.some(function(s){return a.indexOf(s)>=0})})(o.target)&&i.props.onDropdownFocus()}),ne(oe(i),"getDateInView",function(){var o=i.props,a=o.preSelection,s=o.selected,l=o.openToDate,u=M9(i.props),f=L9(i.props),d=Nt(),p=l||s||a;return p||(u&&po(d,u)?u:f&&Qs(d,f)?f:d)}),ne(oe(i),"increaseMonth",function(){i.setState(function(o){var a=o.date;return{date:zi(a,1)}},function(){return i.handleMonthChange(i.state.date)})}),ne(oe(i),"decreaseMonth",function(){i.setState(function(o){var a=o.date;return{date:Cf(a,1)}},function(){return i.handleMonthChange(i.state.date)})}),ne(oe(i),"handleDayClick",function(o,a,s){i.props.onSelect(o,a,s),i.props.setPreSelection&&i.props.setPreSelection(o)}),ne(oe(i),"handleDayMouseEnter",function(o){i.setState({selectingDate:o}),i.props.onDayMouseEnter&&i.props.onDayMouseEnter(o)}),ne(oe(i),"handleMonthMouseLeave",function(){i.setState({selectingDate:null}),i.props.onMonthMouseLeave&&i.props.onMonthMouseLeave()}),ne(oe(i),"handleYearMouseEnter",function(o,a){i.setState({selectingDate:ma(Nt(),a)}),i.props.onYearMouseEnter&&i.props.onYearMouseEnter(o,a)}),ne(oe(i),"handleYearMouseLeave",function(o,a){i.props.onYearMouseLeave&&i.props.onYearMouseLeave(o,a)}),ne(oe(i),"handleYearChange",function(o){i.props.onYearChange&&(i.props.onYearChange(o),i.setState({isRenderAriaLiveMessage:!0})),i.props.adjustDateOnChange&&(i.props.onSelect&&i.props.onSelect(o),i.props.setOpen&&i.props.setOpen(!0)),i.props.setPreSelection&&i.props.setPreSelection(o)}),ne(oe(i),"handleMonthChange",function(o){i.handleCustomMonthChange(o),i.props.adjustDateOnChange&&(i.props.onSelect&&i.props.onSelect(o),i.props.setOpen&&i.props.setOpen(!0)),i.props.setPreSelection&&i.props.setPreSelection(o)}),ne(oe(i),"handleCustomMonthChange",function(o){i.props.onMonthChange&&(i.props.onMonthChange(o),i.setState({isRenderAriaLiveMessage:!0}))}),ne(oe(i),"handleMonthYearChange",function(o){i.handleYearChange(o),i.handleMonthChange(o)}),ne(oe(i),"changeYear",function(o){i.setState(function(a){var s=a.date;return{date:ma(s,o)}},function(){return i.handleYearChange(i.state.date)})}),ne(oe(i),"changeMonth",function(o){i.setState(function(a){var s=a.date;return{date:Cr(s,o)}},function(){return i.handleMonthChange(i.state.date)})}),ne(oe(i),"changeMonthYear",function(o){i.setState(function(a){var s=a.date;return{date:ma(Cr(s,gr(o)),lt(o))}},function(){return i.handleMonthYearChange(i.state.date)})}),ne(oe(i),"header",function(){var o=Go(arguments.length>0&&arguments[0]!==void 0?arguments[0]:i.state.date,i.props.locale,i.props.calendarStartDay),a=[];return i.props.showWeekNumbers&&a.push(N.createElement("div",{key:"W",className:"react-datepicker__day-name"},i.props.weekLabel||"#")),a.concat([0,1,2,3,4,5,6].map(function(s){var l=Lu(o,s),u=i.formatWeekday(l,i.props.locale),f=i.props.weekDayClassName?i.props.weekDayClassName(l):void 0;return N.createElement("div",{key:s,className:cr("react-datepicker__day-name",f)},u)}))}),ne(oe(i),"formatWeekday",function(o,a){return i.props.formatWeekDay?function(s,l,u){return l(Kt(s,"EEEE",u))}(o,i.props.formatWeekDay,a):i.props.useWeekdaysShort?function(s,l){return Kt(s,"EEE",l)}(o,a):function(s,l){return Kt(s,"EEEEEE",l)}(o,a)}),ne(oe(i),"decreaseYear",function(){i.setState(function(o){var a=o.date;return{date:Qh(a,i.props.showYearPicker?i.props.yearItemNumber:1)}},function(){return i.handleYearChange(i.state.date)})}),ne(oe(i),"clearSelectingDate",function(){i.setState({selectingDate:null})}),ne(oe(i),"renderPreviousButton",function(){if(!i.props.renderCustomHeader){var o;switch(!0){case i.props.showMonthYearPicker:o=PD(i.state.date,i.props);break;case i.props.showYearPicker:o=function(y){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},x=b.minDate,O=b.yearItemNumber,E=O===void 0?nh:O,T=Rc(kp(Qh(y,E)),E).endPeriod,k=x&<(x);return k&&k>T||!1}(i.state.date,i.props);break;default:o=kD(i.state.date,i.props)}if((i.props.forceShowMonthNavigation||i.props.showDisabledMonthNavigation||!o)&&!i.props.showTimeSelectOnly){var a=["react-datepicker__navigation","react-datepicker__navigation--previous"],s=i.decreaseMonth;(i.props.showMonthYearPicker||i.props.showQuarterYearPicker||i.props.showYearPicker)&&(s=i.decreaseYear),o&&i.props.showDisabledMonthNavigation&&(a.push("react-datepicker__navigation--previous--disabled"),s=null);var l=i.props.showMonthYearPicker||i.props.showQuarterYearPicker||i.props.showYearPicker,u=i.props,f=u.previousMonthButtonLabel,d=u.previousYearButtonLabel,p=i.props,m=p.previousMonthAriaLabel,v=m===void 0?typeof f=="string"?f:"Previous Month":m,g=p.previousYearAriaLabel,w=g===void 0?typeof d=="string"?d:"Previous Year":g;return N.createElement("button",{type:"button",className:a.join(" "),onClick:s,onKeyDown:i.props.handleOnKeyDown,"aria-label":l?w:v},N.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"].join(" ")},l?i.props.previousYearButtonLabel:i.props.previousMonthButtonLabel))}}}),ne(oe(i),"increaseYear",function(){i.setState(function(o){var a=o.date;return{date:Of(a,i.props.showYearPicker?i.props.yearItemNumber:1)}},function(){return i.handleYearChange(i.state.date)})}),ne(oe(i),"renderNextButton",function(){if(!i.props.renderCustomHeader){var o;switch(!0){case i.props.showMonthYearPicker:o=AD(i.state.date,i.props);break;case i.props.showYearPicker:o=function(y){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},x=b.maxDate,O=b.yearItemNumber,E=O===void 0?nh:O,T=Rc(Of(y,E),E).startPeriod,k=x&<(x);return k&&k0&&arguments[0]!==void 0?arguments[0]:i.state.date,a=["react-datepicker__current-month"];return i.props.showYearDropdown&&a.push("react-datepicker__current-month--hasYearDropdown"),i.props.showMonthDropdown&&a.push("react-datepicker__current-month--hasMonthDropdown"),i.props.showMonthYearDropdown&&a.push("react-datepicker__current-month--hasMonthYearDropdown"),N.createElement("div",{className:a.join(" ")},Kt(o,i.props.dateFormat,i.props.locale))}),ne(oe(i),"renderYearDropdown",function(){var o=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(i.props.showYearDropdown&&!o)return N.createElement(t0e,{adjustDateOnChange:i.props.adjustDateOnChange,date:i.state.date,onSelect:i.props.onSelect,setOpen:i.props.setOpen,dropdownMode:i.props.dropdownMode,onChange:i.changeYear,minDate:i.props.minDate,maxDate:i.props.maxDate,year:lt(i.state.date),scrollableYearDropdown:i.props.scrollableYearDropdown,yearDropdownItemNumber:i.props.yearDropdownItemNumber})}),ne(oe(i),"renderMonthDropdown",function(){var o=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(i.props.showMonthDropdown&&!o)return N.createElement(r0e,{dropdownMode:i.props.dropdownMode,locale:i.props.locale,onChange:i.changeMonth,month:gr(i.state.date),useShortMonthInDropdown:i.props.useShortMonthInDropdown})}),ne(oe(i),"renderMonthYearDropdown",function(){var o=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(i.props.showMonthYearDropdown&&!o)return N.createElement(a0e,{dropdownMode:i.props.dropdownMode,locale:i.props.locale,dateFormat:i.props.dateFormat,onChange:i.changeMonthYear,minDate:i.props.minDate,maxDate:i.props.maxDate,date:i.state.date,scrollableMonthYearDropdown:i.props.scrollableMonthYearDropdown})}),ne(oe(i),"handleTodayButtonClick",function(o){i.props.onSelect(SD(),o),i.props.setPreSelection&&i.props.setPreSelection(SD())}),ne(oe(i),"renderTodayButton",function(){if(i.props.todayButton&&!i.props.showTimeSelectOnly)return N.createElement("div",{className:"react-datepicker__today-button",onClick:function(o){return i.handleTodayButtonClick(o)}},i.props.todayButton)}),ne(oe(i),"renderDefaultHeader",function(o){var a=o.monthDate,s=o.i;return N.createElement("div",{className:"react-datepicker__header ".concat(i.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},i.renderCurrentMonth(a),N.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(i.props.dropdownMode),onFocus:i.handleDropdownFocus},i.renderMonthDropdown(s!==0),i.renderMonthYearDropdown(s!==0),i.renderYearDropdown(s!==0)),N.createElement("div",{className:"react-datepicker__day-names"},i.header(a)))}),ne(oe(i),"renderCustomHeader",function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=o.monthDate,s=o.i;if(i.props.showTimeSelect&&!i.state.monthContainer||i.props.showTimeSelectOnly)return null;var l=kD(i.state.date,i.props),u=jD(i.state.date,i.props),f=PD(i.state.date,i.props),d=AD(i.state.date,i.props),p=!i.props.showMonthYearPicker&&!i.props.showQuarterYearPicker&&!i.props.showYearPicker;return N.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:i.props.onDropdownFocus},i.props.renderCustomHeader(rb(rb({},i.state),{},{customHeaderCount:s,monthDate:a,changeMonth:i.changeMonth,changeYear:i.changeYear,decreaseMonth:i.decreaseMonth,increaseMonth:i.increaseMonth,decreaseYear:i.decreaseYear,increaseYear:i.increaseYear,prevMonthButtonDisabled:l,nextMonthButtonDisabled:u,prevYearButtonDisabled:f,nextYearButtonDisabled:d})),p&&N.createElement("div",{className:"react-datepicker__day-names"},i.header(a)))}),ne(oe(i),"renderYearHeader",function(){var o=i.state.date,a=i.props,s=a.showYearPicker,l=Rc(o,a.yearItemNumber),u=l.startPeriod,f=l.endPeriod;return N.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},s?"".concat(u," - ").concat(f):lt(o))}),ne(oe(i),"renderHeader",function(o){switch(!0){case i.props.renderCustomHeader!==void 0:return i.renderCustomHeader(o);case(i.props.showMonthYearPicker||i.props.showQuarterYearPicker||i.props.showYearPicker):return i.renderYearHeader(o);default:return i.renderDefaultHeader(o)}}),ne(oe(i),"renderMonths",function(){var o;if(!i.props.showTimeSelectOnly&&!i.props.showYearPicker){for(var a=[],s=i.props.showPreviousMonths?i.props.monthsShown-1:0,l=Cf(i.state.date,s),u=(o=i.props.monthSelectedIn)!==null&&o!==void 0?o:s,f=0;f0;a.push(N.createElement("div",{key:p,ref:function(g){i.monthContainer=g},className:"react-datepicker__month-container"},i.renderHeader({monthDate:d,i:f}),N.createElement(c0e,{chooseDayAriaLabelPrefix:i.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:i.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:i.props.weekAriaLabelPrefix,ariaLabelPrefix:i.props.monthAriaLabelPrefix,onChange:i.changeMonthYear,day:d,dayClassName:i.props.dayClassName,calendarStartDay:i.props.calendarStartDay,monthClassName:i.props.monthClassName,onDayClick:i.handleDayClick,handleOnKeyDown:i.props.handleOnDayKeyDown,onDayMouseEnter:i.handleDayMouseEnter,onMouseLeave:i.handleMonthMouseLeave,onWeekSelect:i.props.onWeekSelect,orderInDisplay:f,formatWeekNumber:i.props.formatWeekNumber,locale:i.props.locale,minDate:i.props.minDate,maxDate:i.props.maxDate,excludeDates:i.props.excludeDates,excludeDateIntervals:i.props.excludeDateIntervals,highlightDates:i.props.highlightDates,holidays:i.props.holidays,selectingDate:i.state.selectingDate,includeDates:i.props.includeDates,includeDateIntervals:i.props.includeDateIntervals,inline:i.props.inline,shouldFocusDayInline:i.props.shouldFocusDayInline,fixedHeight:i.props.fixedHeight,filterDate:i.props.filterDate,preSelection:i.props.preSelection,setPreSelection:i.props.setPreSelection,selected:i.props.selected,selectsStart:i.props.selectsStart,selectsEnd:i.props.selectsEnd,selectsRange:i.props.selectsRange,selectsDisabledDaysInRange:i.props.selectsDisabledDaysInRange,showWeekNumbers:i.props.showWeekNumbers,startDate:i.props.startDate,endDate:i.props.endDate,peekNextMonth:i.props.peekNextMonth,setOpen:i.props.setOpen,shouldCloseOnSelect:i.props.shouldCloseOnSelect,renderDayContents:i.props.renderDayContents,renderMonthContent:i.props.renderMonthContent,renderQuarterContent:i.props.renderQuarterContent,renderYearContent:i.props.renderYearContent,disabledKeyboardNavigation:i.props.disabledKeyboardNavigation,showMonthYearPicker:i.props.showMonthYearPicker,showFullMonthYearPicker:i.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:i.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:i.props.showFourColumnMonthYearPicker,showYearPicker:i.props.showYearPicker,showQuarterYearPicker:i.props.showQuarterYearPicker,showWeekPicker:i.props.showWeekPicker,isInputFocused:i.props.isInputFocused,containerRef:i.containerRef,monthShowsDuplicateDaysEnd:m,monthShowsDuplicateDaysStart:v})))}return a}}),ne(oe(i),"renderYears",function(){if(!i.props.showTimeSelectOnly)return i.props.showYearPicker?N.createElement("div",{className:"react-datepicker__year--container"},i.renderHeader(),N.createElement(f0e,rm({onDayClick:i.handleDayClick,selectingDate:i.state.selectingDate,clearSelectingDate:i.clearSelectingDate,date:i.state.date},i.props,{onYearMouseEnter:i.handleYearMouseEnter,onYearMouseLeave:i.handleYearMouseLeave}))):void 0}),ne(oe(i),"renderTimeSection",function(){if(i.props.showTimeSelect&&(i.state.monthContainer||i.props.showTimeSelectOnly))return N.createElement(F9,{selected:i.props.selected,openToDate:i.props.openToDate,onChange:i.props.onTimeChange,timeClassName:i.props.timeClassName,format:i.props.timeFormat,includeTimes:i.props.includeTimes,intervals:i.props.timeIntervals,minTime:i.props.minTime,maxTime:i.props.maxTime,excludeTimes:i.props.excludeTimes,filterTime:i.props.filterTime,timeCaption:i.props.timeCaption,todayButton:i.props.todayButton,showMonthDropdown:i.props.showMonthDropdown,showMonthYearDropdown:i.props.showMonthYearDropdown,showYearDropdown:i.props.showYearDropdown,withPortal:i.props.withPortal,monthRef:i.state.monthContainer,injectTimes:i.props.injectTimes,locale:i.props.locale,handleOnKeyDown:i.props.handleOnKeyDown,showTimeSelectOnly:i.props.showTimeSelectOnly})}),ne(oe(i),"renderInputTimeSection",function(){var o=new Date(i.props.selected),a=_s(o)&&i.props.selected?"".concat(MD(o.getHours()),":").concat(MD(o.getMinutes())):"";if(i.props.showTimeInput)return N.createElement(d0e,{date:o,timeString:a,timeInputLabel:i.props.timeInputLabel,onChange:i.props.onTimeChange,customTimeInput:i.props.customTimeInput})}),ne(oe(i),"renderAriaLiveRegion",function(){var o,a=Rc(i.state.date,i.props.yearItemNumber),s=a.startPeriod,l=a.endPeriod;return o=i.props.showYearPicker?"".concat(s," - ").concat(l):i.props.showMonthYearPicker||i.props.showQuarterYearPicker?lt(i.state.date):"".concat(kP(gr(i.state.date),i.props.locale)," ").concat(lt(i.state.date)),N.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},i.state.isRenderAriaLiveMessage&&o)}),ne(oe(i),"renderChildren",function(){if(i.props.children)return N.createElement("div",{className:"react-datepicker__children-container"},i.props.children)}),i.containerRef=N.createRef(),i.state={date:i.getDateInView(),selectingDate:null,monthContainer:null,isRenderAriaLiveMessage:!1},i}return qn(n,[{key:"componentDidMount",value:function(){var r=this;this.props.showTimeSelect&&(this.assignMonthContainer=void r.setState({monthContainer:r.monthContainer}))}},{key:"componentDidUpdate",value:function(r){var i=this;if(!this.props.preSelection||Rt(this.props.preSelection,r.preSelection)&&this.props.monthSelectedIn===r.monthSelectedIn)this.props.openToDate&&!Rt(this.props.openToDate,r.openToDate)&&this.setState({date:this.props.openToDate});else{var o=!so(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},function(){return o&&i.handleCustomMonthChange(i.state.date)})}}},{key:"render",value:function(){var r=this.props.container||p0e;return N.createElement("div",{style:{display:"contents"},ref:this.containerRef},N.createElement(r,{className:cr("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showPopperArrow:this.props.showPopperArrow,arrowProps:this.props.arrowProps},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren()))}}],[{key:"defaultProps",get:function(){return{onDropdownFocus:function(){},monthsShown:1,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",customTimeInput:null,yearItemNumber:nh}}}]),n}(),v0e=function(e){var t=e.icon,n=e.className,r=n===void 0?"":n,i="react-datepicker__calendar-icon";return N.isValidElement(t)?N.cloneElement(t,{className:"".concat(t.props.className||""," ").concat(i," ").concat(r)}):typeof t=="string"?N.createElement("i",{className:"".concat(i," ").concat(t," ").concat(r),"aria-hidden":"true"}):N.createElement("svg",{className:"".concat(i," ").concat(r),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},N.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},U9=function(e){Kn(n,N.Component);var t=Zn(n);function n(r){var i;return Gn(this,n),(i=t.call(this,r)).el=document.createElement("div"),i}return qn(n,[{key:"componentDidMount",value:function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){this.portalRoot.removeChild(this.el)}},{key:"render",value:function(){return eu.createPortal(this.props.children,this.el)}}]),n}(),g0e=function(e){return!e.disabled&&e.tabIndex!==-1},$9=function(e){Kn(n,N.Component);var t=Zn(n);function n(r){var i;return Gn(this,n),ne(oe(i=t.call(this,r)),"getTabChildren",function(){return Array.prototype.slice.call(i.tabLoopRef.current.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(g0e)}),ne(oe(i),"handleFocusStart",function(){var o=i.getTabChildren();o&&o.length>1&&o[o.length-1].focus()}),ne(oe(i),"handleFocusEnd",function(){var o=i.getTabChildren();o&&o.length>1&&o[0].focus()}),i.tabLoopRef=N.createRef(),i}return qn(n,[{key:"render",value:function(){return this.props.enableTabLoop?N.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},N.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:"0",onFocus:this.handleFocusStart}),this.props.children,N.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:"0",onFocus:this.handleFocusEnd})):this.props.children}}],[{key:"defaultProps",get:function(){return{enableTabLoop:!0}}}]),n}(),y0e=function(e){Kn(n,N.Component);var t=Zn(n);function n(){return Gn(this,n),t.apply(this,arguments)}return qn(n,[{key:"render",value:function(){var r,i=this.props,o=i.className,a=i.wrapperClassName,s=i.hidePopper,l=i.popperComponent,u=i.popperModifiers,f=i.popperPlacement,d=i.popperProps,p=i.targetComponent,m=i.enableTabLoop,v=i.popperOnKeyDown,g=i.portalId,w=i.portalHost;if(!s){var y=cr("react-datepicker-popper",o);r=N.createElement(Vye,rm({modifiers:u,placement:f},d),function(x){var O=x.ref,E=x.style,T=x.placement,k=x.arrowProps;return N.createElement($9,{enableTabLoop:m},N.createElement("div",{ref:O,style:E,className:y,"data-placement":T,onKeyDown:v},N.cloneElement(l,{arrowProps:k})))})}this.props.popperContainer&&(r=N.createElement(this.props.popperContainer,{},r)),g&&!s&&(r=N.createElement(U9,{portalId:g,portalHost:w},r));var b=cr("react-datepicker-wrapper",a);return N.createElement(Ege,{className:"react-datepicker-manager"},N.createElement(Gye,null,function(x){var O=x.ref;return N.createElement("div",{ref:O,className:b},p)}),r)}}],[{key:"defaultProps",get:function(){return{hidePopper:!0,popperModifiers:[],popperProps:{},popperPlacement:"bottom-start"}}}]),n}(),DD="react-datepicker-ignore-onclickoutside",b0e=K_(m0e),wO="Date input not valid.",_0e=function(e){Kn(n,N.Component);var t=Zn(n);function n(r){var i;return Gn(this,n),ne(oe(i=t.call(this,r)),"getPreSelection",function(){return i.props.openToDate?i.props.openToDate:i.props.selectsEnd&&i.props.startDate?i.props.startDate:i.props.selectsStart&&i.props.endDate?i.props.endDate:Nt()}),ne(oe(i),"modifyHolidays",function(){var o;return(o=i.props.holidays)===null||o===void 0?void 0:o.reduce(function(a,s){var l=new Date(s.date);return Zh(l)?[].concat(im(a),[rb(rb({},s),{},{date:l})]):a},[])}),ne(oe(i),"calcInitialState",function(){var o,a=i.getPreSelection(),s=M9(i.props),l=L9(i.props),u=s&&po(a,oi(s))?s:l&&Qs(a,_u(l))?l:a;return{open:i.props.startOpen||!1,preventFocus:!1,preSelection:(o=i.props.selectsRange?i.props.startDate:i.props.selected)!==null&&o!==void 0?o:u,highlightDates:ND(i.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1}}),ne(oe(i),"clearPreventFocusTimeout",function(){i.preventFocusTimeout&&clearTimeout(i.preventFocusTimeout)}),ne(oe(i),"setFocus",function(){i.input&&i.input.focus&&i.input.focus({preventScroll:!0})}),ne(oe(i),"setBlur",function(){i.input&&i.input.blur&&i.input.blur(),i.cancelFocusInput()}),ne(oe(i),"setOpen",function(o){var a=arguments.length>1&&arguments[1]!==void 0&&arguments[1];i.setState({open:o,preSelection:o&&i.state.open?i.state.preSelection:i.calcInitialState().preSelection,lastPreSelectChange:xO},function(){o||i.setState(function(s){return{focused:!!a&&s.focused}},function(){!a&&i.setBlur(),i.setState({inputValue:null})})})}),ne(oe(i),"inputOk",function(){return Y_(i.state.preSelection)}),ne(oe(i),"isCalendarOpen",function(){return i.props.open===void 0?i.state.open&&!i.props.disabled&&!i.props.readOnly:i.props.open}),ne(oe(i),"handleFocus",function(o){i.state.preventFocus||(i.props.onFocus(o),i.props.preventOpenOnFocus||i.props.readOnly||i.setOpen(!0)),i.setState({focused:!0})}),ne(oe(i),"sendFocusBackToInput",function(){i.preventFocusTimeout&&i.clearPreventFocusTimeout(),i.setState({preventFocus:!0},function(){i.preventFocusTimeout=setTimeout(function(){i.setFocus(),i.setState({preventFocus:!1})})})}),ne(oe(i),"cancelFocusInput",function(){clearTimeout(i.inputFocusTimeout),i.inputFocusTimeout=null}),ne(oe(i),"deferFocusInput",function(){i.cancelFocusInput(),i.inputFocusTimeout=setTimeout(function(){return i.setFocus()},1)}),ne(oe(i),"handleDropdownFocus",function(){i.cancelFocusInput()}),ne(oe(i),"handleBlur",function(o){(!i.state.open||i.props.withPortal||i.props.showTimeInput)&&i.props.onBlur(o),i.setState({focused:!1})}),ne(oe(i),"handleCalendarClickOutside",function(o){i.props.inline||i.setOpen(!1),i.props.onClickOutside(o),i.props.withPortal&&o.preventDefault()}),ne(oe(i),"handleChange",function(){for(var o=arguments.length,a=new Array(o),s=0;s0&&(v=oO(u,f.slice(0,u.length),new Date)),_s(v)||(v=new Date(u))),_s(v)&&w?v:null));i.props.showTimeSelectOnly&&i.props.selected&&y&&!Rt(y,i.props.selected)&&(y=bme(i.props.selected,{hours:Ho(y),minutes:Wo(y),seconds:PR(y)})),!y&&l.target.value||(i.props.showWeekPicker&&(y=Go(y,i.props.locale,i.props.calendarStartDay)),i.setSelected(y,l,!0))}}),ne(oe(i),"handleSelect",function(o,a,s){if(i.props.shouldCloseOnSelect&&!i.props.showTimeSelect&&i.sendFocusBackToInput(),i.props.onChangeRaw&&i.props.onChangeRaw(a),i.props.showWeekPicker&&(o=Go(o,i.props.locale,i.props.calendarStartDay)),i.setSelected(o,a,!1,s),i.props.showDateSelect&&i.setState({isRenderAriaLiveMessage:!0}),!i.props.shouldCloseOnSelect||i.props.showTimeSelect)i.setPreSelection(o);else if(!i.props.inline){i.props.selectsRange||i.setOpen(!1);var l=i.props,u=l.startDate,f=l.endDate;!u||f||po(o,u)||i.setOpen(!1)}}),ne(oe(i),"setSelected",function(o,a,s,l){var u=o;if(i.props.showYearPicker){if(u!==null&&N9(lt(u),i.props))return}else if(i.props.showMonthYearPicker){if(u!==null&&A9(u,i.props))return}else if(u!==null&&X_(u,i.props))return;var f=i.props,d=f.onChange,p=f.selectsRange,m=f.startDate,v=f.endDate;if(!Gl(i.props.selected,u)||i.props.allowSameDay||p)if(u!==null&&(!i.props.selected||s&&(i.props.showTimeSelect||i.props.showTimeSelectOnly||i.props.showTimeInput)||(u=xD(u,{hour:Ho(i.props.selected),minute:Wo(i.props.selected),second:PR(i.props.selected)})),i.props.inline||i.setState({preSelection:u}),i.props.focusSelectedMonth||i.setState({monthSelectedIn:l})),p){var g=m&&!v,w=m&&v;!m&&!v?d([u,null],a):g&&(po(u,m)?d([u,null],a):d([m,u],a)),w&&d([u,null],a)}else d(u,a);s||(i.props.onSelect(u,a),i.setState({inputValue:null}))}),ne(oe(i),"setPreSelection",function(o){var a=i.props.minDate!==void 0,s=i.props.maxDate!==void 0,l=!0;if(o){i.props.showWeekPicker&&(o=Go(o,i.props.locale,i.props.calendarStartDay));var u=oi(o);if(a&&s)l=jy(o,i.props.minDate,i.props.maxDate);else if(a){var f=oi(i.props.minDate);l=Qs(o,f)||Gl(u,f)}else if(s){var d=_u(i.props.maxDate);l=po(o,d)||Gl(u,d)}}l&&i.setState({preSelection:o})}),ne(oe(i),"handleTimeChange",function(o){var a=i.props.selected?i.props.selected:i.getPreSelection(),s=i.props.selected?o:xD(a,{hour:Ho(o),minute:Wo(o)});i.setState({preSelection:s}),i.props.onChange(s),i.props.shouldCloseOnSelect&&(i.sendFocusBackToInput(),i.setOpen(!1)),i.props.showTimeInput&&i.setOpen(!0),(i.props.showTimeSelectOnly||i.props.showTimeSelect)&&i.setState({isRenderAriaLiveMessage:!0}),i.setState({inputValue:null})}),ne(oe(i),"onInputClick",function(){i.props.disabled||i.props.readOnly||i.setOpen(!0),i.props.onInputClick()}),ne(oe(i),"onInputKeyDown",function(o){i.props.onKeyDown(o);var a=o.key;if(i.state.open||i.props.inline||i.props.preventOpenOnFocus){if(i.state.open){if(a==="ArrowDown"||a==="ArrowUp"){o.preventDefault();var s=i.props.showWeekPicker&&i.props.showWeekNumbers?'.react-datepicker__week-number[tabindex="0"]':'.react-datepicker__day[tabindex="0"]',l=i.calendar.componentNode&&i.calendar.componentNode.querySelector(s);return void(l&&l.focus({preventScroll:!0}))}var u=Nt(i.state.preSelection);a==="Enter"?(o.preventDefault(),i.inputOk()&&i.state.lastPreSelectChange===xO?(i.handleSelect(u,o),!i.props.shouldCloseOnSelect&&i.setPreSelection(u)):i.setOpen(!1)):a==="Escape"?(o.preventDefault(),i.sendFocusBackToInput(),i.setOpen(!1)):a==="Tab"&&i.setOpen(!1),i.inputOk()||i.props.onInputError({code:1,msg:wO})}}else a!=="ArrowDown"&&a!=="ArrowUp"&&a!=="Enter"||i.onInputClick()}),ne(oe(i),"onPortalKeyDown",function(o){o.key==="Escape"&&(o.preventDefault(),i.setState({preventFocus:!0},function(){i.setOpen(!1),setTimeout(function(){i.setFocus(),i.setState({preventFocus:!1})})}))}),ne(oe(i),"onDayKeyDown",function(o){i.props.onKeyDown(o);var a=o.key,s=Nt(i.state.preSelection);if(a==="Enter")o.preventDefault(),i.handleSelect(s,o),!i.props.shouldCloseOnSelect&&i.setPreSelection(s);else if(a==="Escape")o.preventDefault(),i.setOpen(!1),i.inputOk()||i.props.onInputError({code:1,msg:wO});else if(!i.props.disabledKeyboardNavigation){var l;switch(a){case"ArrowLeft":l=i.props.showWeekPicker?LR(s,1):uP(s,1);break;case"ArrowRight":l=i.props.showWeekPicker?Y0(s,1):Lu(s,1);break;case"ArrowUp":l=LR(s,1);break;case"ArrowDown":l=Y0(s,1);break;case"PageUp":l=Cf(s,1);break;case"PageDown":l=zi(s,1);break;case"Home":l=Qh(s,1);break;case"End":l=Of(s,1);break;default:l=null}if(!l)return void(i.props.onInputError&&i.props.onInputError({code:1,msg:wO}));if(o.preventDefault(),i.setState({lastPreSelectChange:xO}),i.props.adjustDateOnChange&&i.setSelected(l),i.setPreSelection(l),i.props.inline){var u=gr(s),f=gr(l),d=lt(s),p=lt(l);u!==f||d!==p?i.setState({shouldFocusDayInline:!0}):i.setState({shouldFocusDayInline:!1})}}}),ne(oe(i),"onPopperKeyDown",function(o){o.key==="Escape"&&(o.preventDefault(),i.sendFocusBackToInput())}),ne(oe(i),"onClearClick",function(o){o&&o.preventDefault&&o.preventDefault(),i.sendFocusBackToInput(),i.props.selectsRange?i.props.onChange([null,null],o):i.props.onChange(null,o),i.setState({inputValue:null})}),ne(oe(i),"clear",function(){i.onClearClick()}),ne(oe(i),"onScroll",function(o){typeof i.props.closeOnScroll=="boolean"&&i.props.closeOnScroll?o.target!==document&&o.target!==document.documentElement&&o.target!==document.body||i.setOpen(!1):typeof i.props.closeOnScroll=="function"&&i.props.closeOnScroll(o)&&i.setOpen(!1)}),ne(oe(i),"renderCalendar",function(){return i.props.inline||i.isCalendarOpen()?N.createElement(b0e,{ref:function(o){i.calendar=o},locale:i.props.locale,calendarStartDay:i.props.calendarStartDay,chooseDayAriaLabelPrefix:i.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:i.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:i.props.weekAriaLabelPrefix,monthAriaLabelPrefix:i.props.monthAriaLabelPrefix,adjustDateOnChange:i.props.adjustDateOnChange,setOpen:i.setOpen,shouldCloseOnSelect:i.props.shouldCloseOnSelect,dateFormat:i.props.dateFormatCalendar,useWeekdaysShort:i.props.useWeekdaysShort,formatWeekDay:i.props.formatWeekDay,dropdownMode:i.props.dropdownMode,selected:i.props.selected,preSelection:i.state.preSelection,onSelect:i.handleSelect,onWeekSelect:i.props.onWeekSelect,openToDate:i.props.openToDate,minDate:i.props.minDate,maxDate:i.props.maxDate,selectsStart:i.props.selectsStart,selectsEnd:i.props.selectsEnd,selectsRange:i.props.selectsRange,startDate:i.props.startDate,endDate:i.props.endDate,excludeDates:i.props.excludeDates,excludeDateIntervals:i.props.excludeDateIntervals,filterDate:i.props.filterDate,onClickOutside:i.handleCalendarClickOutside,formatWeekNumber:i.props.formatWeekNumber,highlightDates:i.state.highlightDates,holidays:Xye(i.modifyHolidays()),includeDates:i.props.includeDates,includeDateIntervals:i.props.includeDateIntervals,includeTimes:i.props.includeTimes,injectTimes:i.props.injectTimes,inline:i.props.inline,shouldFocusDayInline:i.state.shouldFocusDayInline,peekNextMonth:i.props.peekNextMonth,showMonthDropdown:i.props.showMonthDropdown,showPreviousMonths:i.props.showPreviousMonths,useShortMonthInDropdown:i.props.useShortMonthInDropdown,showMonthYearDropdown:i.props.showMonthYearDropdown,showWeekNumbers:i.props.showWeekNumbers,showYearDropdown:i.props.showYearDropdown,withPortal:i.props.withPortal,forceShowMonthNavigation:i.props.forceShowMonthNavigation,showDisabledMonthNavigation:i.props.showDisabledMonthNavigation,scrollableYearDropdown:i.props.scrollableYearDropdown,scrollableMonthYearDropdown:i.props.scrollableMonthYearDropdown,todayButton:i.props.todayButton,weekLabel:i.props.weekLabel,outsideClickIgnoreClass:DD,fixedHeight:i.props.fixedHeight,monthsShown:i.props.monthsShown,monthSelectedIn:i.state.monthSelectedIn,onDropdownFocus:i.handleDropdownFocus,onMonthChange:i.props.onMonthChange,onYearChange:i.props.onYearChange,dayClassName:i.props.dayClassName,weekDayClassName:i.props.weekDayClassName,monthClassName:i.props.monthClassName,timeClassName:i.props.timeClassName,showDateSelect:i.props.showDateSelect,showTimeSelect:i.props.showTimeSelect,showTimeSelectOnly:i.props.showTimeSelectOnly,onTimeChange:i.handleTimeChange,timeFormat:i.props.timeFormat,timeIntervals:i.props.timeIntervals,minTime:i.props.minTime,maxTime:i.props.maxTime,excludeTimes:i.props.excludeTimes,filterTime:i.props.filterTime,timeCaption:i.props.timeCaption,className:i.props.calendarClassName,container:i.props.calendarContainer,yearItemNumber:i.props.yearItemNumber,yearDropdownItemNumber:i.props.yearDropdownItemNumber,previousMonthAriaLabel:i.props.previousMonthAriaLabel,previousMonthButtonLabel:i.props.previousMonthButtonLabel,nextMonthAriaLabel:i.props.nextMonthAriaLabel,nextMonthButtonLabel:i.props.nextMonthButtonLabel,previousYearAriaLabel:i.props.previousYearAriaLabel,previousYearButtonLabel:i.props.previousYearButtonLabel,nextYearAriaLabel:i.props.nextYearAriaLabel,nextYearButtonLabel:i.props.nextYearButtonLabel,timeInputLabel:i.props.timeInputLabel,disabledKeyboardNavigation:i.props.disabledKeyboardNavigation,renderCustomHeader:i.props.renderCustomHeader,popperProps:i.props.popperProps,renderDayContents:i.props.renderDayContents,renderMonthContent:i.props.renderMonthContent,renderQuarterContent:i.props.renderQuarterContent,renderYearContent:i.props.renderYearContent,onDayMouseEnter:i.props.onDayMouseEnter,onMonthMouseLeave:i.props.onMonthMouseLeave,onYearMouseEnter:i.props.onYearMouseEnter,onYearMouseLeave:i.props.onYearMouseLeave,selectsDisabledDaysInRange:i.props.selectsDisabledDaysInRange,showTimeInput:i.props.showTimeInput,showMonthYearPicker:i.props.showMonthYearPicker,showFullMonthYearPicker:i.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:i.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:i.props.showFourColumnMonthYearPicker,showYearPicker:i.props.showYearPicker,showQuarterYearPicker:i.props.showQuarterYearPicker,showWeekPicker:i.props.showWeekPicker,showPopperArrow:i.props.showPopperArrow,excludeScrollbar:i.props.excludeScrollbar,handleOnKeyDown:i.props.onKeyDown,handleOnDayKeyDown:i.onDayKeyDown,isInputFocused:i.state.focused,customTimeInput:i.props.customTimeInput,setPreSelection:i.setPreSelection},i.props.children):null}),ne(oe(i),"renderAriaLiveRegion",function(){var o,a=i.props,s=a.dateFormat,l=a.locale,u=i.props.showTimeInput||i.props.showTimeSelect?"PPPPp":"PPPP";return o=i.props.selectsRange?"Selected start date: ".concat(Ao(i.props.startDate,{dateFormat:u,locale:l}),". ").concat(i.props.endDate?"End date: "+Ao(i.props.endDate,{dateFormat:u,locale:l}):""):i.props.showTimeSelectOnly?"Selected time: ".concat(Ao(i.props.selected,{dateFormat:s,locale:l})):i.props.showYearPicker?"Selected year: ".concat(Ao(i.props.selected,{dateFormat:"yyyy",locale:l})):i.props.showMonthYearPicker?"Selected month: ".concat(Ao(i.props.selected,{dateFormat:"MMMM yyyy",locale:l})):i.props.showQuarterYearPicker?"Selected quarter: ".concat(Ao(i.props.selected,{dateFormat:"yyyy, QQQ",locale:l})):"Selected date: ".concat(Ao(i.props.selected,{dateFormat:u,locale:l})),N.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},o)}),ne(oe(i),"renderDateInput",function(){var o,a=cr(i.props.className,ne({},DD,i.state.open)),s=i.props.customInput||N.createElement("input",{type:"text"}),l=i.props.customInputRef||"ref",u=typeof i.props.value=="string"?i.props.value:typeof i.state.inputValue=="string"?i.state.inputValue:i.props.selectsRange?function(f,d,p){if(!f)return"";var m=Ao(f,p),v=d?Ao(d,p):"";return"".concat(m," - ").concat(v)}(i.props.startDate,i.props.endDate,i.props):Ao(i.props.selected,i.props);return N.cloneElement(s,(ne(ne(ne(ne(ne(ne(ne(ne(ne(ne(o={},l,function(f){i.input=f}),"value",u),"onBlur",i.handleBlur),"onChange",i.handleChange),"onClick",i.onInputClick),"onFocus",i.handleFocus),"onKeyDown",i.onInputKeyDown),"id",i.props.id),"name",i.props.name),"form",i.props.form),ne(ne(ne(ne(ne(ne(ne(ne(ne(ne(o,"autoFocus",i.props.autoFocus),"placeholder",i.props.placeholderText),"disabled",i.props.disabled),"autoComplete",i.props.autoComplete),"className",cr(s.props.className,a)),"title",i.props.title),"readOnly",i.props.readOnly),"required",i.props.required),"tabIndex",i.props.tabIndex),"aria-describedby",i.props.ariaDescribedBy),ne(ne(ne(o,"aria-invalid",i.props.ariaInvalid),"aria-labelledby",i.props.ariaLabelledBy),"aria-required",i.props.ariaRequired)))}),ne(oe(i),"renderClearButton",function(){var o=i.props,a=o.isClearable,s=o.disabled,l=o.selected,u=o.startDate,f=o.endDate,d=o.clearButtonTitle,p=o.clearButtonClassName,m=p===void 0?"":p,v=o.ariaLabelClose,g=v===void 0?"Close":v;return!a||l==null&&u==null&&f==null?null:N.createElement("button",{type:"button",className:cr("react-datepicker__close-icon",m,{"react-datepicker__close-icon--disabled":s}),disabled:s,"aria-label":g,onClick:i.onClearClick,title:d,tabIndex:-1})}),i.state=i.calcInitialState(),i.preventFocusTimeout=null,i}return qn(n,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScroll,!0)}},{key:"componentDidUpdate",value:function(r,i){var o,a;r.inline&&(o=r.selected,a=this.props.selected,o&&a?gr(o)!==gr(a)||lt(o)!==lt(a):o!==a)&&this.setPreSelection(this.props.selected),this.state.monthSelectedIn!==void 0&&r.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),r.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:ND(this.props.highlightDates)}),i.focused||Gl(r.selected,this.props.selected)||this.setState({inputValue:null}),i.open!==this.state.open&&(i.open===!1&&this.state.open===!0&&this.props.onCalendarOpen(),i.open===!0&&this.state.open===!1&&this.props.onCalendarClose())}},{key:"componentWillUnmount",value:function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0)}},{key:"renderInputContainer",value:function(){var r=this.props,i=r.showIcon,o=r.icon,a=r.calendarIconClassname;return N.createElement("div",{className:"react-datepicker__input-container".concat(i?" react-datepicker__view-calendar-icon":"")},i&&N.createElement(v0e,{icon:o,className:a}),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())}},{key:"render",value:function(){var r=this.renderCalendar();if(this.props.inline)return r;if(this.props.withPortal){var i=this.state.open?N.createElement($9,{enableTabLoop:this.props.enableTabLoop},N.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},r)):null;return this.state.open&&this.props.portalId&&(i=N.createElement(U9,{portalId:this.props.portalId,portalHost:this.props.portalHost},i)),N.createElement("div",null,this.renderInputContainer(),i)}return N.createElement(y0e,{className:this.props.popperClassName,wrapperClassName:this.props.wrapperClassName,hidePopper:!this.isCalendarOpen(),portalId:this.props.portalId,portalHost:this.props.portalHost,popperModifiers:this.props.popperModifiers,targetComponent:this.renderInputContainer(),popperContainer:this.props.popperContainer,popperComponent:r,popperPlacement:this.props.popperPlacement,popperProps:this.props.popperProps,popperOnKeyDown:this.onPopperKeyDown,enableTabLoop:this.props.enableTabLoop})}}],[{key:"defaultProps",get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",onChange:function(){},disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",onFocus:function(){},onBlur:function(){},onKeyDown:function(){},onInputClick:function(){},onSelect:function(){},onClickOutside:function(){},onMonthChange:function(){},onCalendarOpen:function(){},onCalendarClose:function(){},preventOpenOnFocus:!1,onYearChange:function(){},onInputError:function(){},monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:nh,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0}}}]),n}(),w0e="input",xO="navigate";const mT=e=>{const{className:t,isClearable:n,selected:r,dateFormat:i}=e,o=!n||!r,a=F.useRef();return _.jsxs("div",{className:"icon-input-container",children:[_.jsx(_0e,{...e,popperModifiers:[{name:"arrow",options:{padding:24}}],dateFormat:i??A2,className:We("icon-input-container__input form-control",t),ref:a}),o&&_.jsx(Le,{icon:Ife,className:"icon-input-container__icon",onClick:()=>{var s;return(s=a.current)==null?void 0:s.input.focus()}})]})},x0e=e=>_.jsx(mT,{...e,dateFormat:cP,showTimeSelect:!0,timeIntervals:10}),OO=({children:e,infoTooltip:t,checked:n,onChange:r})=>_.jsxs("p",{children:[_.jsx(SB,{inline:!0,checked:n,className:t?"me-2":"",onChange:r,children:e}),t&&_.jsx(Ty,{placement:"right",children:t})]}),O0e=({isOpen:e,toggle:t})=>_.jsxs(Ka,{isOpen:e,toggle:t,centered:!0,size:"lg",children:[_.jsx(Za,{toggle:t,children:"Info"}),_.jsxs(na,{children:[_.jsxs("p",{children:["When the ",_.jsx("b",{children:_.jsx("i",{children:'"Use existing URL if found"'})})," checkbox is checked, the server will return an existing short URL if it matches provided params."]}),_.jsx("p",{children:"These are the checks performed by Shlink in order to determine if an existing short URL should be returned:"}),_.jsxs("ul",{children:[_.jsx("li",{children:"When only the long URL is provided: The most recent match will be returned, or a new short URL will be created if none is found."}),_.jsxs("li",{children:["When long URL and custom slug and/or domain are provided: Same as in previous case, but it will try to match the short URL using both the long URL and the slug, the long URL and the domain, or the three of them.",_.jsx("br",{}),"If the slug is being used by another long URL, an error will be returned."]}),_.jsx("li",{children:"When other params are provided: Same as in previous cases, but it will try to match existing short URLs with all provided data. If any of them does not match, a new short URL will be created"})]})]})]}),S0e=()=>{const[e,t]=En();return _.jsxs(_.Fragment,{children:[_.jsx(em,{className:"p-0",title:"What does this mean?",onClick:t,children:_.jsx(Le,{icon:ej})}),_.jsx(O0e,{isOpen:e,toggle:t})]})},SO=e=>typeof e=="string"?Ua(e):e,E0e=e=>"shortCodeLength"in e&&"customSlug"in e&&"domain"in e,T0e=e=>"error"in e,B9=({mode:e,saving:t,onSave:n,initialState:r,tagsList:i})=>{const{TagsSelector:o,DomainSelector:a}=an(B9),[s,l]=F.useState(r),u=()=>l(r),f=Nu("deviceLongUrls"),d=e==="edit",p=E0e(s),m=e==="create-basic",v=E=>l(T=>({...T,tags:E})),g=(E,T)=>va(E)?E:va(T)?null:void 0,w=hP(async()=>n({...s,validSince:el(s.validSince)??null,validUntil:el(s.validUntil)??null,maxVisits:va(s.maxVisits)?Number(s.maxVisits):null}).then(E=>!d&&!T0e(E)&&u()).catch(()=>{}));F.useEffect(()=>{l(r)},[r]);const y=(E,T,k="text",A={},D={})=>_.jsx(ni,{...D,children:_.jsx(yu,{name:E,id:E,type:k,placeholder:T,value:s[E]??"",onChange:A.onChange??(R=>l(I=>({...I,[E]:R.target.value}))),...A})}),b=(E,T,k)=>{var A;return _.jsx(cge,{icon:k,name:E,id:E,type:"url",placeholder:T,value:((A=s.deviceLongUrls)==null?void 0:A[E])??"",onChange:D=>l(R=>{var I;return{...R,deviceLongUrls:{...R.deviceLongUrls??{},[E]:g(D.target.value,(I=r.deviceLongUrls)==null?void 0:I[E])}}})})},x=(E,T,k={})=>_.jsx(x0e,{name:E,selected:s[E]?SO(s[E]):null,placeholderText:T,isClearable:!0,onChange:A=>l(D=>({...D,[E]:A})),...k}),O=_.jsxs(_.Fragment,{children:[_.jsx(ni,{children:_.jsx(yu,{name:"longUrl",bsSize:"lg",type:"url",placeholder:"URL to be shortened",required:!0,value:s.longUrl,onChange:E=>l(T=>({...T,longUrl:E.target.value}))})}),_.jsxs(kr,{children:[m&&y("customSlug","Custom slug","text",{bsSize:"lg"},{className:"col-lg-6"}),_.jsx("div",{className:m?"col-lg-6 mb-3":"col-12",children:_.jsx(o,{tags:i.tags,selectedTags:s.tags??[],onChange:v})})]})]});return _.jsxs("form",{name:"shortUrlForm",className:"short-url-form",onSubmit:w,children:[m&&O,!m&&_.jsxs(_.Fragment,{children:[_.jsxs(kr,{children:[_.jsx("div",{className:We("mb-3",{"col-sm-6":f,"col-12":!f}),children:_.jsx(vn,{title:"Main options",className:"mb-3",children:O})}),f&&_.jsx("div",{className:"col-sm-6 mb-3",children:_.jsxs(vn,{title:"Device-specific long URLs",children:[_.jsx(ni,{children:b("android","Android-specific redirection",zfe)}),_.jsx(ni,{children:b("ios","iOS-specific redirection",Bfe)}),b("desktop","Desktop-specific redirection",IJ)]})})]}),_.jsxs(kr,{children:[_.jsx("div",{className:"col-sm-6 mb-3",children:_.jsxs(vn,{title:"Customize the short URL",children:[y("title","Title","text",{onChange:({target:E})=>l(T=>({...T,title:g(E.value,r.title)}))}),!d&&p&&_.jsxs(_.Fragment,{children:[_.jsxs(kr,{children:[_.jsx("div",{className:"col-lg-6",children:y("customSlug","Custom slug","text",{disabled:va(s.shortCodeLength)})}),_.jsx("div",{className:"col-lg-6",children:y("shortCodeLength","Short code length","number",{min:4,disabled:va(s.customSlug)})})]}),_.jsx(a,{value:s.domain,onChange:E=>l(T=>({...T,domain:E}))})]})]})}),_.jsx("div",{className:"col-sm-6 mb-3",children:_.jsxs(vn,{title:"Limit access to the short URL",children:[y("maxVisits","Maximum number of visits allowed","number",{min:1}),_.jsx("div",{className:"mb-3",children:x("validSince","Enabled since...",{maxDate:s.validUntil?SO(s.validUntil):void 0})}),x("validUntil","Enabled until...",{minDate:s.validSince?SO(s.validSince):void 0})]})})]}),_.jsxs(kr,{children:[_.jsx("div",{className:"col-sm-6 mb-3",children:_.jsxs(vn,{title:"Extra checks",children:[_.jsx(OO,{infoTooltip:"If checked, Shlink will try to reach the long URL, failing in case it's not publicly accessible.",checked:s.validateUrl,onChange:E=>l(T=>({...T,validateUrl:E})),children:"Validate URL"}),!d&&p&&_.jsxs("p",{children:[_.jsx(SB,{inline:!0,className:"me-2",checked:s.findIfExists,onChange:E=>l(T=>({...T,findIfExists:E})),children:"Use existing URL if found"}),_.jsx(S0e,{})]})]})}),_.jsx("div",{className:"col-sm-6 mb-3",children:_.jsxs(vn,{title:"Configure behavior",children:[_.jsx(OO,{infoTooltip:"This short URL will be included in the robots.txt for your Shlink instance, allowing web crawlers (like Google) to index it.",checked:s.crawlable,onChange:E=>l(T=>({...T,crawlable:E})),children:"Make it crawlable"}),_.jsx(OO,{infoTooltip:"When this short URL is visited, any query params appended to it will be forwarded to the long URL.",checked:s.forwardQuery,onChange:E=>l(T=>({...T,forwardQuery:E})),children:"Forward query params on redirect"})]})})]})]}),_.jsx("div",{className:"text-center",children:_.jsx(wt,{outline:!0,color:"primary",disabled:t||!s.longUrl,className:"btn-xs-block",children:t?"Saving...":"Save"})})]})},C0e=sn(B9,["TagsSelector","DomainSelector"]),k0e=({active:e,allText:t,onChange:n})=>_.jsxs(_.Fragment,{children:[_.jsx(ze,{active:e==="all",onClick:()=>n("all"),children:t}),_.jsx(ze,{divider:!0,tag:"hr"}),Eme.map(r=>_.jsx(ze,{active:e===r,onClick:()=>n(r),children:F2(r)},r))]}),j0e=({startDate:e=null,endDate:t=null,disabled:n=!1,onStartDateChange:r,onEndDateChange:i})=>_.jsxs("div",{className:"row",children:[_.jsx("div",{className:"col-md-6",children:_.jsx(mT,{selected:e,placeholderText:"Since...",isClearable:!0,maxDate:t??void 0,disabled:n,onChange:r})}),_.jsx("div",{className:"col-md-6",children:_.jsx(mT,{className:"mt-2 mt-md-0",selected:t,placeholderText:"Until...",isClearable:!0,minDate:e??void 0,disabled:n,onChange:o=>i(o&&_u(o))})})]}),z9=({onDatesChange:e,initialDateRange:t,defaultText:n,disabled:r,updatable:i=!1})=>{const o=J0(t),[a,s]=F.useState(o?t:void 0),[l,u]=F.useState(o?void 0:t),f=p=>{s(D2(p)?cv:void 0),u(p),e(p)},d=p=>{s(p),u(void 0),e(U2(p))};return Zme(()=>{if(!i)return;const p=J0(t);p&&d(t),t&&!p&&f(t)},[t,i]),_.jsxs(Xa,{disabled:r,text:F2(a??l)??n,children:[_.jsx(k0e,{allText:n,active:a,onChange:d}),_.jsx(ze,{divider:!0,tag:"hr"}),_.jsx(ze,{header:!0,"aria-hidden":!0,children:"Custom:"}),_.jsx(ze,{text:!0,children:_.jsx(j0e,{...l,onStartDateChange:p=>f({...l,startDate:p}),onEndDateChange:p=>f({...l,endDate:p})})})]})},P0e={dateCreated:"Created at",shortCode:"Short URL",longUrl:"Long URL",title:"Title",visits:"Visits"},A0e=({onChange:e,selected:t={},className:n,supportsDisabledFiltering:r})=>{const{excludeBots:i=!1,excludeMaxVisitsReached:o=!1,excludePastValidUntil:a=!1}=t,s=l=>()=>e({...t,[l]:!(t!=null&&t[l])});return _.jsxs(Xa,{text:"Filters",dropdownClassName:n,inline:!0,end:!0,minWidth:250,children:[_.jsx(ze,{header:!0,"aria-hidden":!0,children:"Visits:"}),_.jsx(ze,{active:i,onClick:s("excludeBots"),children:"Ignore visits from bots"}),r&&_.jsxs(_.Fragment,{children:[_.jsx(ze,{divider:!0,tag:"hr"}),_.jsx(ze,{header:!0,"aria-hidden":!0,children:"Short URLs:"}),_.jsx(ze,{active:o,onClick:s("excludeMaxVisitsReached"),children:"Exclude with visits reached"}),_.jsx(ze,{active:a,onClick:s("excludePastValidUntil"),children:"Exclude enabled in the past"})]}),_.jsx(ze,{divider:!0,tag:"hr"}),_.jsx(ze,{disabled:!va(t),onClick:()=>e({excludeBots:!1,excludeMaxVisitsReached:!1,excludePastValidUntil:!1}),children:_.jsx("i",{children:"Clear filters"})})]})},V9=({className:e,shortUrlsAmount:t,order:n,handleOrderBy:r,tagsList:i})=>{const{ExportShortUrlsBtn:o,TagsSelector:a}=an(V9),[s,l]=G_(),{search:u,tags:f,startDate:d,endDate:p,excludeBots:m,excludeMaxVisitsReached:v,excludePastValidUntil:g,tagsMode:w="any"}=s,y=Nu("filterDisabledUrls"),b=Ru("visits"),x=F.useCallback(({startDate:k,endDate:A})=>l({startDate:el(k)??void 0,endDate:el(A)??void 0}),[l]),O=F.useCallback(k=>l({search:k||void 0}),[l]),E=F.useCallback(k=>l({tags:k}),[l]),T=F.useCallback(()=>l({tagsMode:w==="any"?"all":"any"}),[w,l]);return _.jsxs("div",{className:We("short-urls-filtering-bar-container",e),children:[_.jsx(sv,{initialValue:u,onChange:O}),_.jsxs(R_,{className:"mt-3",children:[_.jsx(a,{immutable:!0,placeholder:"With tags...",tags:i.tags,selectedTags:f,onChange:E}),f.length>1&&_.jsxs(_.Fragment,{children:[_.jsx(wt,{outline:!0,color:"secondary",onClick:T,id:"tagsModeBtn","aria-label":"Change tags mode",children:_.jsx(Le,{className:"short-urls-filtering-bar__tags-icon",icon:w==="all"?A$:dJ})}),_.jsx(qr,{target:"tagsModeBtn",placement:"left",children:w==="all"?"With all the tags.":"With any of the tags."})]})]}),_.jsxs(kr,{className:"flex-lg-row-reverse",children:[_.jsx("div",{className:"col-lg-8 col-xl-6 mt-3",children:_.jsxs("div",{className:"d-md-flex",children:[_.jsx("div",{className:"flex-fill",children:_.jsx(z9,{defaultText:"All short URLs",initialDateRange:I2(d,p),onDatesChange:x})}),_.jsx(A0e,{className:"ms-0 ms-md-2 mt-3 mt-md-0",selected:{excludeBots:m??(b==null?void 0:b.excludeBots),excludeMaxVisitsReached:v,excludePastValidUntil:g},onChange:l,supportsDisabledFiltering:y})]})}),_.jsx("div",{className:"col-6 col-lg-4 col-xl-6 mt-3",children:_.jsx(o,{amount:t})}),_.jsx("div",{className:"col-6 d-lg-none mt-3",children:_.jsx(lv,{prefixed:!1,items:P0e,order:n,onChange:r})})]})]})},N0e=sn(V9,["ExportShortUrlsBtn","TagsSelector"]);function rh({currentOrder:e,field:t,className:n="ms-1"}){return!e.dir||e.field!==t?null:_.jsx(Le,{icon:e.dir==="ASC"?oJ:vJ,className:n})}const sc=2,vT="...",H9=(e,t)=>{const n=pP(Math.max(sc,e-sc),Math.min(t-1,e+sc)+1);return e-sc>sc&&n.unshift(vT),e+sce===vT,W9=e=>om(e)?e:bn(e),Y9=(e,t)=>om(e)?`${e}_${t}`:`${e}`,M0e=({paginator:e,currentQueryString:t=""})=>{const{currentPage:n=0,pagesCount:r=0}=e??{},i=Mu(),o=s=>`${i}/list-short-urls/${s}${t}`;if(r<=1)return _.jsx("div",{className:"pb-3"});const a=()=>H9(n,r).map((s,l)=>_.jsx(nu,{disabled:om(s),active:n===s,children:_.jsx(ru,{tag:Yt,to:o(s),children:W9(s)})},Y9(s,l)));return _.jsxs(Nj,{className:"sticky-card-paginator py-3",listClassName:"flex-wrap justify-content-center mb-0",children:[_.jsx(nu,{disabled:n===1,children:_.jsx(ru,{previous:!0,tag:Yt,to:o(n-1)})}),a(),_.jsx(nu,{disabled:n>=r,children:_.jsx(ru,{next:!0,tag:Yt,to:o(n+1)})})]})},L0e={field:"dateCreated",dir:"DESC"},G9=cl(({listShortUrls:e,shortUrlsList:t})=>{var n,r,i;const{ShortUrlsTable:o,ShortUrlsFilteringBar:a}=an(G9),{page:s}=ad(),l=Nn(),[u,f]=G_(),d=yP(),{tags:p,search:m,startDate:v,endDate:g,orderBy:w,tagsMode:y,excludeBots:b,excludePastValidUntil:x,excludeMaxVisitsReached:O}=u,[E,T]=F.useState(w??((n=d.shortUrlsList)==null?void 0:n.defaultOrdering)??L0e),{pagination:k}=(t==null?void 0:t.shortUrls)??{},A=F.useMemo(()=>{var Q;return b??((Q=d.visits)==null?void 0:Q.excludeBots)},[b,(r=d.visits)==null?void 0:r.excludeBots]),D=Nu("excludeBotsOnShortUrls"),R=F.useCallback((Q,Z)=>{f({orderBy:{field:Q,dir:Z}}),T({field:Q,dir:Z})},[f]),I=Q=>()=>R(Q,U_(Q,E.field,E.dir)),z=Q=>_.jsx(rh,{currentOrder:E,field:Q}),G=F.useCallback(Q=>f({tags:[...new Set([...p,Q])]}),[p,f]),H=F.useCallback(({field:Q,dir:Z})=>D&&A&&Q==="visits"?{field:"nonBotVisits",dir:Z}:{field:Q,dir:Z},[A,D]);return F.useEffect(()=>{e({page:s,searchTerm:m,tags:p,startDate:v,endDate:g,orderBy:H(E),tagsMode:y,excludePastValidUntil:x,excludeMaxVisitsReached:O})},[e,H,s,m,p,v,g,E,y,x,O]),_.jsxs(_.Fragment,{children:[_.jsx(a,{shortUrlsAmount:(i=t.shortUrls)==null?void 0:i.pagination.totalItems,order:E,handleOrderBy:R,className:"mb-3"}),_.jsxs(ui,{body:!0,className:"pb-0",children:[_.jsx(o,{shortUrlsList:t,orderByColumn:I,renderOrderIcon:z,onTagClick:G}),_.jsx(M0e,{paginator:k,currentQueryString:l.search})]})]})},()=>[Ri.visits]),R0e=sn(G9,["ShortUrlsTable","ShortUrlsFilteringBar"]),q9=({orderByColumn:e,renderOrderIcon:t,shortUrlsList:n,onTagClick:r,className:i})=>{const{ShortUrlsRow:o}=an(q9),{error:a,loading:s,shortUrls:l}=n,u=We({"short-urls-table__header-cell--with-action":!!e}),f=We("short-urls-table__header-cell",u),d=We("table table-hover responsive-table short-urls-table",i),p=()=>a?_.jsx("tr",{children:_.jsx("td",{colSpan:6,className:"text-center table-danger text-dark",children:"Something went wrong while loading short URLs :("})}):s?_.jsx("tr",{children:_.jsx("td",{colSpan:6,className:"text-center",children:"Loading..."})}):!s&&(!l||l.data.length===0)?_.jsx("tr",{children:_.jsx("td",{colSpan:6,className:"text-center",children:"No results found"})}):l==null?void 0:l.data.map(m=>_.jsx(o,{shortUrl:m,onTagClick:r},m.shortUrl));return _.jsxs("table",{className:d,children:[_.jsx("thead",{className:"responsive-table__header short-urls-table__header",children:_.jsxs("tr",{children:[_.jsxs("th",{className:f,onClick:e==null?void 0:e("dateCreated"),children:["Created at ",t==null?void 0:t("dateCreated")]}),_.jsxs("th",{className:f,onClick:e==null?void 0:e("shortCode"),children:["Short URL ",t==null?void 0:t("shortCode")]}),_.jsxs("th",{className:"short-urls-table__header-cell",children:[_.jsxs(em,{className:We("p-0",u),onClick:e==null?void 0:e("title"),children:["Title ",t==null?void 0:t("title")]}),"  /  ",_.jsxs(em,{className:We("p-0",u),onClick:e==null?void 0:e("longUrl"),children:[_.jsx("span",{className:"indivisible",children:"Long URL"})," ",t==null?void 0:t("longUrl")]})]}),_.jsx("th",{className:"short-urls-table__header-cell",children:"Tags"}),_.jsx("th",{className:f,onClick:e==null?void 0:e("visits"),children:_.jsxs("span",{className:"indivisible",children:["Visits ",t==null?void 0:t("visits")]})}),_.jsx("th",{className:"short-urls-table__header-cell",colSpan:2,"aria-hidden":!0})]})}),_.jsx("tbody",{children:p()})]})},D0e=sn(q9,["ShortUrlsRow"]),I0e=(e,t)=>{e.factory("ShortUrlsList",R0e),e.decorator("ShortUrlsList",t(["mercureInfo","shortUrlsList"],["listShortUrls","createNewVisits","loadMercureInfo"])),e.factory("ShortUrlsTable",D0e),e.factory("ShortUrlsRow",nge),e.factory("ShortUrlsRowMenu",rge),e.factory("CreateShortUrlResult",Vve),e.factory("ShortUrlForm",C0e),e.decorator("ShortUrlForm",t(["tagsList"])),e.factory("CreateShortUrl",Ove),e.decorator("CreateShortUrl",t(["shortUrlCreation"],["createShortUrl","resetCreateShortUrl"])),e.factory("EditShortUrl",Sve),e.decorator("EditShortUrl",t(["shortUrlDetail","shortUrlEdition"],["getShortUrlDetail","editShortUrl"])),e.serviceFactory("DeleteShortUrlModal",()=>Hve),e.decorator("DeleteShortUrlModal",t(["shortUrlDeletion"],["deleteShortUrl","shortUrlDeleted","resetDeleteShortUrl"])),e.factory("QrCodeModal",Kve),e.factory("ExportShortUrlsBtn",Wve),e.factory("ShortUrlsFilteringBar",N0e),e.decorator("ShortUrlsFilteringBar",t(["tagsList"])),e.serviceFactory("shortUrlsListReducerCreator",hve,"listShortUrls","editShortUrl","createShortUrl"),e.serviceFactory("shortUrlsListReducer",n=>n.reducer,"shortUrlsListReducerCreator"),e.serviceFactory("shortUrlCreationReducerCreator",oge,"createShortUrl"),e.serviceFactory("shortUrlCreationReducer",n=>n.reducer,"shortUrlCreationReducerCreator"),e.serviceFactory("shortUrlEditionReducerCreator",uge,"editShortUrl"),e.serviceFactory("shortUrlEditionReducer",n=>n.reducer,"shortUrlEditionReducerCreator"),e.serviceFactory("shortUrlDeletionReducerCreator",fve,"deleteShortUrl"),e.serviceFactory("shortUrlDeletionReducer",n=>n.reducer,"shortUrlDeletionReducerCreator"),e.serviceFactory("shortUrlDetailReducerCreator",age,"apiClientFactory"),e.serviceFactory("shortUrlDetailReducer",n=>n.reducer,"shortUrlDetailReducerCreator"),e.serviceFactory("listShortUrls",pve,"apiClientFactory"),e.serviceFactory("createShortUrl",ige,"apiClientFactory"),e.serviceFactory("resetCreateShortUrl",n=>n.resetCreateShortUrl,"shortUrlCreationReducerCreator"),e.serviceFactory("deleteShortUrl",cve,"apiClientFactory"),e.serviceFactory("resetDeleteShortUrl",n=>n.resetDeleteShortUrl,"shortUrlDeletionReducerCreator"),e.serviceFactory("shortUrlDeleted",()=>H2),e.serviceFactory("getShortUrlDetail",n=>n.getShortUrlDetail,"shortUrlDetailReducerCreator"),e.serviceFactory("editShortUrl",lge,"apiClientFactory")},F0e=({tag:e,toggle:t,isOpen:n,deleteTag:r,tagDelete:i,tagDeleted:o})=>{const{deleting:a,error:s,deleted:l,errorData:u}=i;return _.jsxs(Ka,{toggle:t,isOpen:n,centered:!0,onClosed:()=>l&&o(e),children:[_.jsx(Za,{toggle:t,className:"text-danger",children:"Delete tag"}),_.jsxs(na,{children:["Are you sure you want to delete tag ",_.jsx("b",{children:e}),"?",s&&_.jsx(ii,{type:"error",small:!0,className:"mt-2",children:_.jsx(Fa,{errorData:u,fallbackMessage:"Something went wrong while deleting the tag :("})})]}),_.jsxs(Au,{children:[_.jsx(wt,{color:"link",onClick:t,children:"Cancel"}),_.jsx(wt,{color:"danger",disabled:a,onClick:async()=>{await r(e),t()},children:a?"Deleting tag...":"Delete tag"})]})]})},K9=({tag:e,editTag:t,toggle:n,tagEdited:r,isOpen:i,tagEdit:o})=>{const{ColorGenerator:a}=an(K9),[s,l]=F.useState(e),[u,f]=F.useState(a.getColorForKey(e)),{editing:d,error:p,edited:m,errorData:v}=o,g=hP(async()=>{await t({oldName:e,newName:s,color:u}),n()}),w=F.useCallback(()=>m&&r({oldName:e,newName:s,color:u}),[u,m,s,e,r]);return _.jsx(Ka,{isOpen:i,toggle:n,centered:!0,onClosed:w,children:_.jsxs("form",{name:"editTag",onSubmit:g,children:[_.jsx(Za,{toggle:n,children:"Edit tag"}),_.jsxs(na,{children:[_.jsxs(R_,{children:[_.jsxs("div",{className:"input-group-text p-0 position-relative",style:{backgroundColor:u,borderColor:u},children:[_.jsx(Le,{icon:aJ,className:"position-absolute top-50 start-50 translate-middle text-white"}),_.jsx(yu,{className:"form-control-color opacity-0",type:"color",value:u,onChange:y=>f(y.target.value)})]}),_.jsx(yu,{value:s,placeholder:"Tag",required:!0,onChange:({target:y})=>l(y.value)})]}),p&&_.jsx(ii,{type:"error",small:!0,className:"mt-2",children:_.jsx(Fa,{errorData:v,fallbackMessage:"Something went wrong while editing the tag :("})})]}),_.jsxs(Au,{children:[_.jsx(wt,{type:"button",color:"link",onClick:n,children:"Cancel"}),_.jsx(wt,{color:"primary",disabled:d,children:d?"Saving...":"Save"})]})]})})},U0e=sn(K9,["ColorGenerator"]),Rl={Enter:"Enter",Escape:"Escape",Tab:"Tab",Backspace:"Backspace",UpArrow:"ArrowUp",UpArrowCompat:"Up",DownArrow:"ArrowDown",DownArrowCompat:"Down",PageDown:"PageDown",PageUp:"PageUp"},PP=Symbol("Create new tag"),Z9=Symbol("No options"),hc=()=>{},Xn=N.createContext(void 0);function ID(e,t){return e===t?[]:e.filter(n=>!t.includes(n))}function $0e(e){return e.selectionStart===0&&e.selectionEnd===0}function B0e(e){const t=e.value.length;return e.selectionStart===t&&e.selectionEnd===t}function J_(e){return`${e}-label`}function z0e(e){return`${e}-combobox`}function V0e(e){return`${e}-input`}function X9(e){return`${e}-listbox`}function Q9(e,t){return`${e}-option-${Z0e(t)}`}function H0e(e,t){if((e==null?void 0:e.value)===PP&&e.disabled===!1)return{value:t,label:t}}function W0e(e){const t=H0e(e.activeOption,e.value)||e.activeOption||ebe(e.value,e.options);return t&&!t.disabled?t:void 0}function Y0e(e,t,n){const r=t-1;return e>r?n:en===e.value)}const X0e=/[-\\^$*+?.()|[\]{}]/g;function J9(e){return e.replace(X0e,"\\$&")}function ez(e){return new RegExp(J9(e),"i")}function Q0e(e){return new RegExp(`^${J9(e)}$`,"i")}function J0e(e,t){if(e){const n=ez(e);return t.filter(r=>n.test(r.label))}else return[].concat(t)}function ebe(e,t){const n=Q0e(e);return t.find(r=>n.test(r.label))||null}const tbe={autoComplete:"off",autoCorrect:"off","data-form-type":"other",spellCheck:!1};function nbe({allowBackspace:e,ariaDescribedBy:t,ariaErrorMessage:n,delimiterKeys:r}){const{id:i,comboBoxRef:o,inputRef:a,isDisabled:s,isInvalid:l,managerRef:u}=F.useContext(Xn),f=F.useMemo(()=>{const v=D=>{const R=D.currentTarget.value;u.current.updateInputValue(R),document.activeElement===a.current&&u.current.listBoxExpand(R)},g=()=>{u.current.listBoxExpand()},w=D=>{var R;((R=o.current)==null?void 0:R.contains(D.relatedTarget))===!1&&u.current.listBoxCollapse()},y=()=>{u.current.listBoxExpand()},b=D=>{const{activeIndex:R,isExpanded:I}=u.current.state;I?(D.preventDefault(),u.current.updateActiveIndex(R+1)):(B0e(D.currentTarget)||D.altKey)&&(D.preventDefault(),u.current.listBoxExpand())},x=D=>{const{activeIndex:R,isExpanded:I}=u.current.state;I?(D.preventDefault(),u.current.updateActiveIndex(R-1)):$0e(D.currentTarget)&&(D.preventDefault(),u.current.listBoxExpand())},O=D=>{const{isExpanded:R,options:I}=u.current.state;R&&(D.preventDefault(),u.current.updateActiveIndex(I.length-1))},E=D=>{u.current.state.isExpanded&&(D.preventDefault(),u.current.updateActiveIndex(0))},T=()=>{u.current.state.isExpanded?u.current.listBoxCollapse():u.current.updateInputValue("")},k=()=>{if(e){const{value:D,selected:R}=u.current.state,I=R[R.length-1];D===""&&I&&u.current.selectTag(I)}},A=D=>{u.current.state.isExpanded&&(D.preventDefault(),u.current.selectTag())};return{onBlur:w,onChange:v,onClick:y,onFocus:g,onKeyDown:D=>{if(D.key===Rl.UpArrow)return x(D);if(D.key===Rl.DownArrow)return b(D);if(D.key===Rl.PageUp)return E(D);if(D.key===Rl.PageDown)return O(D);if(D.key===Rl.Escape)return T();if(D.key===Rl.Backspace)return k();if(r.includes(D.key))return A(D)}}},[e,o,r,a,u]),{activeOption:d,isExpanded:p,value:m}=u.current.state;return{...tbe,"aria-autocomplete":"list","aria-activedescendant":d?Q9(i,d):void 0,"aria-controls":X9(i),"aria-describedby":t||void 0,"aria-disabled":s,"aria-errormessage":l&&n||void 0,"aria-invalid":l,"aria-labelledby":J_(i),"aria-expanded":p,id:V0e(i),onBlur:s?hc:f.onBlur,onChange:s?hc:f.onChange,onClick:s?hc:f.onClick,onFocus:s?hc:f.onFocus,onKeyDown:s?hc:f.onKeyDown,ref:a,role:"combobox",type:"text",value:m}}const rbe={position:"absolute",width:0,height:0,visibility:"hidden",overflow:"scroll",whiteSpace:"pre"},ibe=["font-family","font-size","font-style","font-weight","letter-spacing","text-transform"];function obe({allowResize:e=!0,text:t}){const n=F.useRef(null),{inputRef:r}=F.useContext(Xn),[i,o]=F.useState(null);return F.useLayoutEffect(()=>{if(e&&r.current&&n.current&&window.getComputedStyle){const a=window.getComputedStyle(r.current);ibe.forEach(s=>{const l=a.getPropertyValue(s);n.current.style.setProperty(s,l)})}},[e,r,n]),F.useLayoutEffect(()=>{var a;if(e){const s=Math.ceil(((a=n.current)==null?void 0:a.scrollWidth)??0)+2;i!==s&&o(s)}},[e,t,i]),{width:i,sizerProps:{ref:n,style:rbe}}}function abe(){const{id:e,inputRef:t,listBoxRef:n,managerRef:r}=F.useContext(Xn),i=r.current.state.activeIndex===-1,o=F.useCallback(a=>{var s;a.target!==t.current&&((s=t.current)==null||s.focus({preventScroll:!0}))},[t]);return F.useEffect(()=>{var a;i&&((a=n.current)==null||a.scrollTo({top:0}))},[n,i]),{"aria-labelledby":J_(e),id:X9(e),onFocus:o,ref:n,role:"listbox",tabIndex:-1}}function sbe({activateFirstOption:e,allowNew:t,collapseOnSelect:n,newOptionText:r,noOptionsText:i,onAdd:o,onDelete:a,onCollapse:s,onExpand:l,onInput:u,onShouldCollapse:f,onShouldExpand:d,onValidate:p,selected:m,suggestions:v,suggestionsTransform:g}){const w=F.useRef(),[y,b]=F.useState(null),[x,O]=F.useState(!1),[E,T]=F.useState(""),k=F.useMemo(()=>{const H=g(E,v);return E&&(t&&H.push({disabled:p?!p(E):!1,label:r,value:PP}),H.length===0&&H.push({disabled:!0,label:i,value:Z9})),H},[t,r,i,p,v,g,E]),A=y?yT(y,k):-1,D=e?Math.max(A,0):A,R=k[D],I={activeIndex:D,activeOption:R,isExpanded:x,options:k,selected:m,value:E},z={tagsAdded:w.current?ID(m,w.current.state.selected):[],tagsDeleted:w.current?ID(w.current.state.selected,m):[]},G={listBoxCollapse(H){x&&(!f||f(H??I.value))&&(O(!1),b(null),s==null||s())},listBoxExpand(H){x||(!d||d(H??I.value))&&(O(!0),b(k[D]),l==null||l())},updateActiveIndex(H){const Q=Y0e(H,k.length,e?0:-1);b(k[Q])},updateInputValue(H){E!==H&&(T(H),u==null||u(H))},selectTag(H){if(H??(H=W0e(I)),H){const Q=yT(H,I.selected);Q>-1?a(Q):o(H),n&&this.listBoxCollapse(),this.updateInputValue("")}}};return w.current={...G,flags:z,state:I},w}function lbe(e){const{id:t,inputRef:n,listBoxRef:r,managerRef:i}=F.useContext(Xn),o=F.useRef(null),a=i.current.state.options[e],s=e===i.current.state.activeIndex,l=a.disabled??!1,u=yT(a,i.current.state.selected)>-1,f=F.useCallback(()=>{var p;i.current.selectTag(),(p=n.current)==null||p.focus()},[n,i]),d=F.useCallback(()=>{e!==i.current.state.activeIndex&&i.current.updateActiveIndex(e)},[e,i]);return fbe(o,r,s),{option:{...a,active:s,disabled:l,index:e,selected:u},optionProps:{"aria-disabled":l,"aria-posinset":e+1,"aria-selected":l?void 0:u,"aria-setsize":i.current.state.options.length,id:Q9(t,a),onClick:f,onMouseDown:d,ref:o,role:"option",tabIndex:-1}}}function ube({inputRef:e,managerRef:t}){return F.useRef({input:{blur(){var n;(n=e.current)==null||n.blur()},focus(){var n;(n=e.current)==null||n.focus()},get value(){return t.current.state.value},set value(n){typeof n!="string"&&(n=String(n)),t.current.updateInputValue(n)}},listBox:{collapse(){t.current.listBoxCollapse()},expand(){t.current.listBoxExpand()},get activeOption(){return t.current.state.activeOption},get isExpanded(){return t.current.state.isExpanded}},select(n){t.current.selectTag(n)}}).current}function cbe({onBlur:e,onFocus:t}){const[n,r]=F.useState(!1),{id:i,inputRef:o}=F.useContext(Xn),a=F.useRef(null),s=F.useMemo(()=>({"aria-describedby":J_(i),id:i,onFocus(){r(!0),t==null||t()},onBlur(){var l;(l=a.current)!=null&&l.contains(document.activeElement)||(r(!1),e==null||e())},onClick(){var l;document.activeElement===a.current&&((l=o.current)==null||l.focus())},ref:a,tabIndex:-1}),[o,i,e,t,a]);return{isActive:n,rootProps:s}}function fbe(e,t,n){F.useEffect(()=>{var r,i,o,a;if(n){const s=(r=e.current)==null?void 0:r.offsetHeight,l=(i=e.current)==null?void 0:i.offsetTop,u=(o=t.current)==null?void 0:o.offsetHeight,f=(a=t.current)==null?void 0:a.scrollTop;lf+u&&t.current.scrollTo(0,l+s-u)}},[n,t,e])}function dbe(e,t){const{isDisabled:n,managerRef:r}=F.useContext(Xn),i=r.current.state.selected[e],o=F.useCallback(()=>r.current.selectTag(i),[r,i]);return{tag:i,tagProps:{"aria-disabled":n,title:ab(t,i.label),onClick:n?hc:o}}}function pbe(){var e;const{inputRef:t,managerRef:n}=F.useContext(Xn),r=F.useRef(),i=n.current.flags.tagsDeleted.length,o=(e=r.current)==null?void 0:e.contains(document.activeElement);return F.useLayoutEffect(()=>{var a,s;if(i){const l=(a=r.current)==null?void 0:a.contains(document.activeElement);o&&!l&&((s=t.current)==null||s.focus({preventScroll:!0}))}},[t,o,r,i]),{listRef:r}}const hbe={position:"absolute",width:1,height:1,left:-9999,overflow:"hidden",clip:"rect(0 0 0 0)"};function mbe({ariaAddedText:e,ariaDeletedText:t}){const{managerRef:n}=F.useContext(Xn),r=F.useRef([]);return n.current.flags.tagsAdded.forEach(i=>{r.current.push(ab(e,i.label))}),n.current.flags.tagsDeleted.forEach(i=>{r.current.push(ab(t,i.label))}),N.createElement("div",{"aria-live":"polite","aria-relevant":"additions",role:"status",style:hbe},r.current.join(` +`))}function vbe({children:e}){const{classNames:t,comboBoxRef:n,id:r}=F.useContext(Xn);return N.createElement("div",{className:t.comboBox,id:z0e(r),ref:n},e)}const gbe=({classNames:e,text:t})=>N.createElement("mark",{className:e.highlight},t);function ybe({option:e,query:t,render:n=gbe}){const{classNames:r}=F.useContext(Xn);if(e.value===PP||e.value===Z9)return N.createElement(N.Fragment,null,ab(e.label,t));if(t){const i=q0e(e.label,t);if(i){const o=n({text:i[1],classNames:r});return N.createElement(N.Fragment,null,i[0],o,i[2])}}return N.createElement(N.Fragment,null,e.label)}const bbe=N.memo(ybe),_be=({classNames:e,inputWidth:t,...n})=>N.createElement("input",{className:e.input,style:{width:t},...n});function wbe({allowBackspace:e=!0,allowResize:t=!0,ariaDescribedBy:n,ariaErrorMessage:r,delimiterKeys:i,placeholderText:o,render:a=_be}){const{classNames:s}=F.useContext(Xn),{value:l,...u}=nbe({allowBackspace:e,ariaDescribedBy:n,ariaErrorMessage:r,delimiterKeys:i}),f=l.lengthN.createElement("div",{className:t.label,id:n},e);function Obe({children:e,render:t=xbe}){const{classNames:n,id:r}=F.useContext(Xn);return t({children:e,classNames:n,id:J_(r)})}const Sbe=({children:e,classNames:t,...n})=>N.createElement("div",{className:t.listBox,...n},e);function Ebe({children:e,render:t=Sbe}){const{classNames:n,managerRef:r}=F.useContext(Xn),i=abe();return!r.current.state.isExpanded||N.Children.count(e)===0?null:t({children:e,classNames:n,...i})}const Tbe=({children:e,classNames:t,option:n,...r})=>{const i=[t.option];return n.active&&i.push(t.optionIsActive),N.createElement("div",{className:i.join(" "),...r},e)};function Cbe({children:e,index:t,render:n=Tbe}){const{classNames:r}=F.useContext(Xn),{option:i,optionProps:o}=lbe(t);return n({classNames:r,children:e,option:i,...o})}const kbe=({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),N.createElement("div",{className:a.join(" "),...o},e)};function jbe({children:e,onBlur:t,onFocus:n,render:r=kbe}){const{classNames:i,isDisabled:o,isInvalid:a}=F.useContext(Xn),{isActive:s,rootProps:l}=cbe({onBlur:t,onFocus:n});return r({children:e,classNames:i,isActive:s,isDisabled:o,isInvalid:a,...l})}const Pbe=({classNames:e,tag:t,...n})=>N.createElement("button",{type:"button",className:e.tag,...n},N.createElement("span",{className:e.tagName},t.label));function Abe({render:e=Pbe,index:t,title:n}){const{classNames:r}=F.useContext(Xn),{tag:i,tagProps:o}=dbe(t,n);return e({classNames:r,tag:i,...o})}function Nbe({children:e,label:t}){const{classNames:n}=F.useContext(Xn),{listRef:r}=pbe();return N.createElement("ul",{className:n.tagList,"aria-label":t,ref:r,role:"list"},e.map(i=>N.createElement("li",{className:n.tagListItem,key:i.key,role:"listitem"},i)))}const Mbe={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"},Lbe=[Rl.Enter];function Rbe({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:l=Mbe,collapseOnSelect:u=!1,deleteButtonText:f="Remove %value% from the list",delimiterKeys:d=Lbe,id:p="react-tags",isDisabled:m=!1,isInvalid:v=!1,labelText:g="Select tags",newOptionText:w="Add %value%",noOptionsText:y="No options found for %value%",onAdd:b,onBlur:x,onCollapse:O,onDelete:E,onExpand:T,onFocus:k,onInput:A,onShouldCollapse:D,onShouldExpand:R,onValidate:I,placeholderText:z="Add a tag",renderHighlight:G,renderInput:H,renderLabel:Q,renderListBox:Z,renderOption:te,renderRoot:X,renderTag:$,selected:V=[],suggestions:W=[],suggestionsTransform:re=J0e,tagListLabelText:q="Selected tags"},ee){const ie=F.useRef(null),se=F.useRef(null),fe=F.useRef(null),j=sbe({activateFirstOption:e,allowNew:n,collapseOnSelect:u,newOptionText:w,noOptionsText:y,onAdd:b,onDelete:E,onCollapse:O,onExpand:T,onInput:A,onShouldCollapse:D,onShouldExpand:R,onValidate:I,selected:V,suggestions:W,suggestionsTransform:re}),P=ube({inputRef:se,managerRef:j});return ee&&(typeof ee=="function"?ee(P):ee.current=P),N.createElement(Xn.Provider,{value:{classNames:l,comboBoxRef:ie,id:p,inputRef:se,isDisabled:m,isInvalid:v,listBoxRef:fe,managerRef:j}},N.createElement(jbe,{onBlur:x,onFocus:k,render:X},N.createElement(Obe,{render:Q},g),N.createElement(Nbe,{label:q},j.current.state.selected.map((B,J)=>N.createElement(Abe,{key:gT(B),index:J,render:$,title:f}))),N.createElement(vbe,null,N.createElement(wbe,{allowBackspace:t,allowResize:r,ariaDescribedBy:o,ariaErrorMessage:a,delimiterKeys:d,placeholderText:z,render:H}),N.createElement(Ebe,{render:Z},j.current.state.options.map((B,J)=>N.createElement(Cbe,{key:gT(B),index:J,render:te},N.createElement(bbe,{option:B,query:j.current.state.value,render:G}))))),N.createElement(mbe,{ariaAddedText:i,ariaDeletedText:s})))}const Dbe=N.forwardRef(Rbe),Ibe=/\s+/g,tz=e=>e.trim().toLowerCase().replace(Ibe,"-"),nz=({tag:e,colorGenerator:t})=>_.jsx("div",{style:{backgroundColor:t.getColorForKey(e)},className:"tag-bullet"});let FD=1;const rz="Tag not found",iz="Add tag",Fbe=e=>e!==rz,Ube=e=>e===iz,UD=e=>(FD+=1,{label:e,value:`${e}${FD}`}),$be=e=>({tag:t,onClick:n})=>_.jsx(_P,{colorGenerator:e,text:t.label,className:"react-tags__tag",onClose:n}),Bbe=(e,t)=>({option:n,classNames:r,...i})=>{var o;const a=Fbe(n.label),s=Ube(n.label);return _.jsx("div",{className:We(r.option,{[r.optionIsActive]:a&&n.active,"react-tags__listbox-option--not-selectable":!a}),...i,children:a?_.jsxs(_.Fragment,{children:[!s&&_.jsx(nz,{tag:`${n.label}`,colorGenerator:e}),s?_.jsxs("i",{children:['Add "',tz(((o=t.current)==null?void 0:o.input.value)??""),'"']}):n.label]}):_.jsx("i",{children:n.label})})},oz=({selectedTags:e,onChange:t,placeholder:n,tags:r,immutable:i=!1})=>{const{ColorGenerator:o}=an(oz),a=Ru("shortUrlCreation"),s=(a==null?void 0:a.tagFilteringMode)??"startsWith",l=ul();return _.jsx(Dbe,{ref:l,selected:e.map(UD),suggestions:r.filter(u=>!e.includes(u)).map(UD),renderTag:$be(o),renderOption:Bbe(o,l),activateFirstOption:!0,allowNew:!i,newOptionText:iz,noOptionsText:rz,placeholderText:n??"Add tags to the URL",delimiterKeys:["Enter",","],suggestionsTransform:(u,f)=>{const d=u.toLowerCase().trim();return d.length<1?[]:[...f.filter(({label:p})=>s==="includes"?p.includes(d):p.startsWith(d))].slice(0,5)},onDelete:u=>{const f=[...e];f.splice(u,1),t(f)},onAdd:({label:u})=>t([...new Set([...e,...u.split(",").map(tz)])])})},zbe=sn(oz,["ColorGenerator"]),bT="shlink/tagDelete",Vbe={deleting:!1,deleted:!1,error:!1},az=Wn(`${bT}/tagDeleted`),Hbe=e=>{const t=_r(`${bT}/deleteTag`,async r=>{await e().deleteTags([r])}),{reducer:n}=Yn({name:bT,initialState:Vbe,reducers:{},extraReducers:r=>{r.addCase(t.pending,()=>({deleting:!0,deleted:!1,error:!1})),r.addCase(t.rejected,(i,{error:o})=>({deleting:!1,deleted:!1,error:!0,errorData:xo(o)})),r.addCase(t.fulfilled,()=>({deleting:!1,deleted:!0,error:!1}))}});return{reducer:n,deleteTag:t}},AP="shlink/tagEdit",Wbe={editing:!1,edited:!1,error:!1},sz=Wn(`${AP}/tagEdited`),Ybe=(e,t)=>_r(`${AP}/editTag`,async({oldName:n,newName:r,color:i})=>(await e().editTag(n,r),t.setColorForKey(r,i),{oldName:n,newName:r,color:i})),Gbe=e=>Yn({name:AP,initialState:Wbe,reducers:{},extraReducers:t=>{t.addCase(e.pending,()=>({editing:!0,edited:!1,error:!1})),t.addCase(e.rejected,(n,{error:r})=>({editing:!1,edited:!1,error:!0,errorData:xo(r)})),t.addCase(e.fulfilled,(n,{payload:r})=>{const{oldName:i,newName:o}=r;return{oldName:i,newName:o,editing:!1,edited:!0,error:!1}})}}),NP="shlink/tagsList",EO={tags:[],filteredTags:[],stats:{},loading:!1,error:!1},$D=(e,t)=>n=>n===e?t:n,BD=(e,t)=>e.filter(n=>n!==t),qbe=(e,t)=>e.reduce((n,[r,i])=>{if(!n[r])return n;const{bots:o,nonBots:a}=i,s=n[r];return{...n,[r]:{...s,visitsSummary:s.visitsSummary&&{total:s.visitsSummary.total+o+a,bots:s.visitsSummary.bots+o,nonBots:s.visitsSummary.nonBots+a},visitsCount:s.visitsCount+o+a}}},{...t}),Kbe=e=>Object.entries(e.reduce((t,{shortUrl:n,visit:r})=>(n==null||n.tags.forEach(i=>{t[i]||(t[i]={bots:0,nonBots:0}),r.potentialBot?t[i].bots+=1:t[i].nonBots+=1}),t),{})),Zbe=e=>_r(`${NP}/listTags`,async()=>{const{tags:t,stats:n}=await e().tagsStats(),r=n.reduce((i,{tag:o,...a})=>(i[o]=a,i),{});return{tags:t,stats:r}}),lz=Wn(`${NP}/filterTags`),Xbe=(e,t)=>Yn({name:NP,initialState:EO,reducers:{},extraReducers:n=>{n.addCase(lz,(r,{payload:i})=>({...r,filteredTags:r.tags.filter(o=>o.toLowerCase().match(i.toLowerCase()))})),n.addCase(e.pending,r=>({...r,loading:!0,error:!1})),n.addCase(e.rejected,(r,{error:i})=>({...EO,error:!0,errorData:xo(i)})),n.addCase(e.fulfilled,(r,{payload:i})=>({...EO,stats:i.stats,tags:i.tags,filteredTags:i.tags})),n.addCase(az,({tags:r,filteredTags:i,...o},{payload:a})=>({...o,tags:BD(r,a),filteredTags:BD(i,a)})),n.addCase(sz,({tags:r,filteredTags:i,stats:o,...a},{payload:s})=>({...a,stats:{...o,[s.newName]:o[s.oldName]},tags:r.map($D(s.oldName,s.newName)).sort(),filteredTags:i.map($D(s.oldName,s.newName)).sort()})),n.addCase(fv,(r,{payload:i})=>({...r,stats:qbe(Kbe(i.createdVisits),r.stats)})),n.addCase(t.fulfilled,({tags:r,...i},{payload:o})=>({...i,tags:r.concat(o.tags.filter(a=>!r.includes(a)))}))}}),Qbe={tag:"Tag",shortUrls:"Short URLs",visits:"Visits"},uz=cl(({filterTags:e,tagsList:t})=>{var n;const{TagsTable:r}=an(uz),i=yP(),[o,a]=F.useState(((n=i.tags)==null?void 0:n.defaultOrdering)??{}),s=()=>{const u=t.filteredTags.map(f=>{var d,p,m;const v=t.stats[f],g=((d=i.visits)!=null&&d.excludeBots?(p=v==null?void 0:v.visitsSummary)==null?void 0:p.nonBots:(m=v==null?void 0:v.visitsSummary)==null?void 0:m.total)??(v==null?void 0:v.visitsCount)??0;return{tag:f,visits:g,shortUrls:(v==null?void 0:v.shortUrlsCount)??0}});return TB(u,o)};if(t.loading)return _.jsx(Da,{loading:!0});if(t.error)return _.jsx(ii,{type:"error",children:_.jsx(Fa,{errorData:t.errorData,fallbackMessage:"Error loading tags :("})});const l=u=>()=>{const f=U_(u,o.field,o.dir);a({field:f?u:void 0,dir:f})};return _.jsxs(_.Fragment,{children:[_.jsx(sv,{className:"mb-3",onChange:e}),_.jsx(kr,{className:"mb-3",children:_.jsx("div",{className:"col-lg-6 offset-lg-6",children:_.jsx(lv,{items:Qbe,order:o,onChange:(u,f)=>a({field:u,dir:f})})})}),(()=>{if(t.filteredTags.length<1)return _.jsx(Da,{children:"No tags found"});const u=s();return _.jsx(r,{sortedTags:u,currentOrder:o,orderByColumn:l})})()]})},()=>[Ri.visits]),Jbe=sn(uz,["TagsTable"]),MP=({pagesCount:e,currentPage:t,setCurrentPage:n,centered:r=!0})=>{if(e<2)return null;const i=o=>()=>!om(o)&&n(o);return _.jsxs(Nj,{listClassName:We("flex-wrap mb-0 simple-paginator",{"justify-content-center":r}),children:[_.jsx(nu,{disabled:t<=1,children:_.jsx(ru,{previous:!0,tag:"span",onClick:i(t-1)})}),H9(t,e).map((o,a)=>_.jsx(nu,{disabled:om(o),active:t===o,children:_.jsx(ru,{role:"link",tag:"span",onClick:i(o),children:W9(o)})},Y9(o,a))),_.jsx(nu,{disabled:t>=e,children:_.jsx(ru,{next:!0,tag:"span",onClick:i(t+1)})})]})},e_e=20,cz=({sortedTags:e,orderByColumn:t,currentOrder:n})=>{const{TagsTableRow:r}=an(cz),i=F.useRef(!0),{search:o}=Nn(),{page:a=1}=dd(o),[s,l]=Kme("page",Number(a)),u=Jh(e,e_e),f=u.length>1,d=u[s-1]??[];return F.useEffect(()=>{!i.current&&l(1),i.current=!1},[l,e]),F.useEffect(()=>{scrollTo(0,0)},[s]),_.jsxs(vn,{bodyClassName:f?"pb-1":"",children:[_.jsxs("table",{className:"table table-hover responsive-table mb-0",children:[_.jsxs("thead",{className:"responsive-table__header",children:[_.jsxs("tr",{children:[_.jsxs("th",{className:"tags-table__header-cell",onClick:t("tag"),children:["Tag ",_.jsx(rh,{currentOrder:n,field:"tag"})]}),_.jsxs("th",{className:"tags-table__header-cell text-lg-end",onClick:t("shortUrls"),children:["Short URLs ",_.jsx(rh,{currentOrder:n,field:"shortUrls"})]}),_.jsxs("th",{className:"tags-table__header-cell text-lg-end",onClick:t("visits"),children:["Visits ",_.jsx(rh,{currentOrder:n,field:"visits"})]}),_.jsx("th",{className:"tags-table__header-cell",children:_.jsx("span",{className:"sr-only",children:"Options"})})]}),_.jsx("tr",{children:_.jsx("th",{"aria-hidden":!0,colSpan:4,className:"p-0 border-top-0"})})]}),_.jsxs("tbody",{children:[d.length===0&&_.jsx("tr",{children:_.jsx("td",{colSpan:4,className:"text-center",children:"No results found"})}),d.map(p=>_.jsx(r,{tag:p},p.tag))]})]}),f&&_.jsx("div",{className:"sticky-card-paginator",children:_.jsx(MP,{pagesCount:u.length,currentPage:s,setCurrentPage:l})})]},s)},t_e=sn(cz,["TagsTableRow"]),fz=({tag:e})=>{const{DeleteTagConfirmModal:t,EditTagModal:n,ColorGenerator:r}=an(fz),[i,o]=En(),[a,s]=En(),l=Mu();return _.jsxs("tr",{className:"responsive-table__row",children:[_.jsxs("th",{className:"responsive-table__cell","data-th":"Tag",children:[_.jsx(nz,{tag:e.tag,colorGenerator:r})," ",e.tag]}),_.jsx("td",{className:"responsive-table__cell text-lg-end","data-th":"Short URLs",children:_.jsx(Yt,{to:`${l}/list-short-urls/1?tags=${encodeURIComponent(e.tag)}`,children:bn(e.shortUrls)})}),_.jsx("td",{className:"responsive-table__cell text-lg-end","data-th":"Visits",children:_.jsx(Yt,{to:`${l}/tag/${e.tag}/visits`,children:bn(e.visits)})}),_.jsx("td",{className:"responsive-table__cell text-lg-end",children:_.jsxs(F_,{children:[_.jsxs(ze,{onClick:s,children:[_.jsx(Le,{icon:qQ,fixedWidth:!0,className:"me-1"})," Edit"]}),_.jsxs(ze,{onClick:o,children:[_.jsx(Le,{icon:uJ,fixedWidth:!0,className:"me-1"})," Delete"]})]})}),_.jsx(n,{tag:e.tag,toggle:s,isOpen:a}),_.jsx(t,{tag:e.tag,toggle:o,isOpen:i})]})},n_e=sn(fz,["DeleteTagConfirmModal","EditTagModal","ColorGenerator"]),r_e=(e,t)=>{e.factory("TagsSelector",zbe),e.serviceFactory("DeleteTagConfirmModal",()=>F0e),e.decorator("DeleteTagConfirmModal",t(["tagDelete"],["deleteTag","tagDeleted"])),e.factory("EditTagModal",U0e),e.decorator("EditTagModal",t(["tagEdit"],["editTag","tagEdited"])),e.factory("TagsTableRow",n_e),e.factory("TagsTable",t_e),e.factory("TagsList",Jbe),e.decorator("TagsList",t(["tagsList","mercureInfo"],["filterTags","createNewVisits","loadMercureInfo"])),e.serviceFactory("tagEditReducerCreator",Gbe,"editTag"),e.serviceFactory("tagEditReducer",n=>n.reducer,"tagEditReducerCreator"),e.serviceFactory("tagDeleteReducerCreator",Hbe,"apiClientFactory"),e.serviceFactory("tagDeleteReducer",n=>n.reducer,"tagDeleteReducerCreator"),e.serviceFactory("tagsListReducerCreator",Xbe,"listTags","createShortUrl"),e.serviceFactory("tagsListReducer",n=>n.reducer,"tagsListReducerCreator"),e.serviceFactory("listTags",Zbe,"apiClientFactory"),e.serviceFactory("filterTags",()=>lz),e.serviceFactory("deleteTag",n=>n.deleteTag,"tagDeleteReducerCreator"),e.serviceFactory("tagDeleted",()=>az),e.serviceFactory("editTag",Ybe,"apiClientFactory","ColorGenerator"),e.serviceFactory("tagEdited",()=>sz)};function TO(e){return e==null?"":`${e}`}function i_e(e={}){const{separator:t,decimals:n}=e;return t?n?r=>r.toFixed(n).replace(".",t):r=>`${r}`.replace(".",t):n?r=>r.toFixed(n):r=>`${r}`}function LP(e={}){const t=typeof e.quote=="string"?e.quote:'"',n=typeof e.escapedQuote=="string"?e.escapedQuote:`${t}${t}`;return!t||t===n?r=>r:r=>(r.includes(t)&&(r=r.replace(new RegExp(t,"g"),n)),`${t}${r}${t}`)}function o_e(e={stringFormatter:LP()}){return t=>e.stringFormatter(t.toString().slice(7,-1))}function a_e(e={stringFormatter:LP()}){return t=>{if(t===null)return"";let n=JSON.stringify(t);return n===void 0?"":(n[0]==='"'&&(n=n.replace(/^"(.+)"$/,"$1")),e.stringFormatter(n))}}const s_e=RegExp(`[^.[\\]]+|\\[(?:([^"'][^[]*)|(["'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))`,"g");function l_e(e){var t,n,r;const i=[];let o;for(;o=s_e.exec(e);)i.push((r=(t=o[3])!==null&&t!==void 0?t:(n=o[1])===null||n===void 0?void 0:n.trim())!==null&&r!==void 0?r:o[0]);return i}function zD(e,t,n){if(t in e){const o=e[t];return o===void 0?n:o}const r=Array.isArray(t)?t:l_e(t);let i=e;for(const o of r)if(i=i==null?void 0:i[o],i===void 0)return n;return i}function dz(e,t){try{return Array.isArray(t)?e.push(...t):e.push(t),e}catch{return e.concat(t)}}function _T(e,t){let n=!0;return e.reduce((r,i)=>(i==null&&(i=""),n?(n=!1,`${i}`):`${r}${t}${i}`),"")}var VD;(function(e){e.header="header",e.undefined="undefined",e.boolean="boolean",e.number="number",e.bigint="bigint",e.string="string",e.symbol="symbol",e.function="function",e.object="object"})(VD||(VD={}));class u_e{constructor(t){this.opts=this.preprocessOpts(t)}preprocessOpts(t){const n=Object.assign({},t);n.fields&&(n.fields=this.preprocessFieldsInfo(n.fields,n.defaultValue)),n.transforms=n.transforms||[];const r=n.formatters&&n.formatters.string||LP(),i=a_e({stringFormatter:r}),o={header:r,undefined:TO,boolean:TO,number:i_e(),bigint:TO,string:r,symbol:o_e({stringFormatter:r}),function:i,object:i};return n.formatters=Object.assign(Object.assign({},o),n.formatters),n.delimiter=n.delimiter||",",n.eol=n.eol||` +`,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=>zD(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=>zD(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(l){const u=s(l,a);return u===void 0?i:u}}}}throw new Error("Invalid field info option. "+JSON.stringify(r))})}getHeader(){return _T(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(dz,[]),[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 _T(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 c_e extends u_e{constructor(t){super(t)}parse(t){const n=this.preprocessData(t);this.opts.fields=this.opts.fields||this.preprocessFieldsInfo(n.reduce((o,a)=>(Object.keys(a).forEach(s=>{o.includes(s)||o.push(s)}),o),[]),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(dz,[])}processData(t){return _T(t.map(n=>this.processRow(n)).filter(n=>n),this.opts.eol)}}var Dn;(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_LETTER_Q=81]="LATIN_CAPITAL_LETTER_Q",e[e.LATIN_CAPITAL_LETTER_R=82]="LATIN_CAPITAL_LETTER_R",e[e.LATIN_CAPITAL_LETTER_S=83]="LATIN_CAPITAL_LETTER_S",e[e.LATIN_CAPITAL_LETTER_T=84]="LATIN_CAPITAL_LETTER_T",e[e.LATIN_CAPITAL_LETTER_U=85]="LATIN_CAPITAL_LETTER_U",e[e.LATIN_CAPITAL_LETTER_V=86]="LATIN_CAPITAL_LETTER_V",e[e.LATIN_CAPITAL_LETTER_W=87]="LATIN_CAPITAL_LETTER_W",e[e.LATIN_CAPITAL_LETTER_X=88]="LATIN_CAPITAL_LETTER_X",e[e.LATIN_CAPITAL_LETTER_Y=89]="LATIN_CAPITAL_LETTER_Y",e[e.LATIN_CAPITAL_LETTER_Z=90]="LATIN_CAPITAL_LETTER_Z",e[e.LEFT_SQUARE_BRACKET=91]="LEFT_SQUARE_BRACKET",e[e.REVERSE_SOLIDUS=92]="REVERSE_SOLIDUS",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.CIRCUMFLEX_ACCENT=94]="CIRCUMFLEX_ACCENT",e[e.LOW_LINE=95]="LOW_LINE",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_LETTER_A=97]="LATIN_SMALL_LETTER_A",e[e.LATIN_SMALL_LETTER_B=98]="LATIN_SMALL_LETTER_B",e[e.LATIN_SMALL_LETTER_C=99]="LATIN_SMALL_LETTER_C",e[e.LATIN_SMALL_LETTER_D=100]="LATIN_SMALL_LETTER_D",e[e.LATIN_SMALL_LETTER_E=101]="LATIN_SMALL_LETTER_E",e[e.LATIN_SMALL_LETTER_F=102]="LATIN_SMALL_LETTER_F",e[e.LATIN_SMALL_LETTER_G=103]="LATIN_SMALL_LETTER_G",e[e.LATIN_SMALL_LETTER_H=104]="LATIN_SMALL_LETTER_H",e[e.LATIN_SMALL_LETTER_I=105]="LATIN_SMALL_LETTER_I",e[e.LATIN_SMALL_LETTER_J=106]="LATIN_SMALL_LETTER_J",e[e.LATIN_SMALL_LETTER_K=107]="LATIN_SMALL_LETTER_K",e[e.LATIN_SMALL_LETTER_L=108]="LATIN_SMALL_LETTER_L",e[e.LATIN_SMALL_LETTER_M=109]="LATIN_SMALL_LETTER_M",e[e.LATIN_SMALL_LETTER_N=110]="LATIN_SMALL_LETTER_N",e[e.LATIN_SMALL_LETTER_O=111]="LATIN_SMALL_LETTER_O",e[e.LATIN_SMALL_LETTER_P=112]="LATIN_SMALL_LETTER_P",e[e.LATIN_SMALL_LETTER_Q=113]="LATIN_SMALL_LETTER_Q",e[e.LATIN_SMALL_LETTER_R=114]="LATIN_SMALL_LETTER_R",e[e.LATIN_SMALL_LETTER_S=115]="LATIN_SMALL_LETTER_S",e[e.LATIN_SMALL_LETTER_T=116]="LATIN_SMALL_LETTER_T",e[e.LATIN_SMALL_LETTER_U=117]="LATIN_SMALL_LETTER_U",e[e.LATIN_SMALL_LETTER_V=118]="LATIN_SMALL_LETTER_V",e[e.LATIN_SMALL_LETTER_W=119]="LATIN_SMALL_LETTER_W",e[e.LATIN_SMALL_LETTER_X=120]="LATIN_SMALL_LETTER_X",e[e.LATIN_SMALL_LETTER_Y=121]="LATIN_SMALL_LETTER_Y",e[e.LATIN_SMALL_LETTER_Z=122]="LATIN_SMALL_LETTER_Z",e[e.LEFT_CURLY_BRACKET=123]="LEFT_CURLY_BRACKET",e[e.VERTICAL_LINE=124]="VERTICAL_LINE",e[e.RIGHT_CURLY_BRACKET=125]="RIGHT_CURLY_BRACKET",e[e.TILDE=126]="TILDE"})(Dn||(Dn={}));Dn.QUOTATION_MARK+"",Dn.QUOTATION_MARK,Dn.REVERSE_SOLIDUS+"",Dn.REVERSE_SOLIDUS,Dn.SOLIDUS+"",Dn.SOLIDUS,Dn.LATIN_SMALL_LETTER_B+"",Dn.BACKSPACE,Dn.LATIN_SMALL_LETTER_F+"",Dn.FORM_FEED,Dn.LATIN_SMALL_LETTER_N+"",Dn.NEWLINE,Dn.LATIN_SMALL_LETTER_R+"",Dn.CARRIAGE_RETURN,Dn.LATIN_SMALL_LETTER_T+"",Dn.TAB;var HD;(function(e){e[e.LEFT_BRACE=0]="LEFT_BRACE",e[e.RIGHT_BRACE=1]="RIGHT_BRACE",e[e.LEFT_BRACKET=2]="LEFT_BRACKET",e[e.RIGHT_BRACKET=3]="RIGHT_BRACKET",e[e.COLON=4]="COLON",e[e.COMMA=5]="COMMA",e[e.TRUE=6]="TRUE",e[e.FALSE=7]="FALSE",e[e.NULL=8]="NULL",e[e.STRING=9]="STRING",e[e.NUMBER=10]="NUMBER",e[e.SEPARATOR=11]="SEPARATOR"})(HD||(HD={}));var WD;(function(e){e[e.START=0]="START",e[e.ENDED=1]="ENDED",e[e.ERROR=2]="ERROR",e[e.TRUE1=3]="TRUE1",e[e.TRUE2=4]="TRUE2",e[e.TRUE3=5]="TRUE3",e[e.FALSE1=6]="FALSE1",e[e.FALSE2=7]="FALSE2",e[e.FALSE3=8]="FALSE3",e[e.FALSE4=9]="FALSE4",e[e.NULL1=10]="NULL1",e[e.NULL2=11]="NULL2",e[e.NULL3=12]="NULL3",e[e.STRING_DEFAULT=13]="STRING_DEFAULT",e[e.STRING_AFTER_BACKSLASH=14]="STRING_AFTER_BACKSLASH",e[e.STRING_UNICODE_DIGIT_1=15]="STRING_UNICODE_DIGIT_1",e[e.STRING_UNICODE_DIGIT_2=16]="STRING_UNICODE_DIGIT_2",e[e.STRING_UNICODE_DIGIT_3=17]="STRING_UNICODE_DIGIT_3",e[e.STRING_UNICODE_DIGIT_4=18]="STRING_UNICODE_DIGIT_4",e[e.STRING_INCOMPLETE_CHAR=19]="STRING_INCOMPLETE_CHAR",e[e.NUMBER_AFTER_INITIAL_MINUS=20]="NUMBER_AFTER_INITIAL_MINUS",e[e.NUMBER_AFTER_INITIAL_ZERO=21]="NUMBER_AFTER_INITIAL_ZERO",e[e.NUMBER_AFTER_INITIAL_NON_ZERO=22]="NUMBER_AFTER_INITIAL_NON_ZERO",e[e.NUMBER_AFTER_FULL_STOP=23]="NUMBER_AFTER_FULL_STOP",e[e.NUMBER_AFTER_DECIMAL=24]="NUMBER_AFTER_DECIMAL",e[e.NUMBER_AFTER_E=25]="NUMBER_AFTER_E",e[e.NUMBER_AFTER_E_AND_SIGN=26]="NUMBER_AFTER_E_AND_SIGN",e[e.NUMBER_AFTER_E_AND_DIGIT=27]="NUMBER_AFTER_E_AND_DIGIT",e[e.SEPARATOR=28]="SEPARATOR"})(WD||(WD={}));var YD;(function(e){e[e.OBJECT=0]="OBJECT",e[e.ARRAY=1]="ARRAY"})(YD||(YD={}));var GD;(function(e){e[e.VALUE=0]="VALUE",e[e.KEY=1]="KEY",e[e.COLON=2]="COLON",e[e.COMMA=3]="COMMA",e[e.ENDED=4]="ENDED",e[e.ERROR=5]="ERROR",e[e.SEPARATOR=6]="SEPARATOR"})(GD||(GD={}));const f_e=new c_e,d_e=e=>f_e.parse(e),p_e=6,qD="0123456789ABCDEF",h_e=128,{floor:m_e,random:v_e,sqrt:g_e,round:y_e}=Math,b_e=()=>`#${mP(p_e,()=>qD[m_e(v_e()*qD.length)]).join("")}`,KD=e=>e.toLowerCase().trim(),__e=e=>(e.match(/../g)??[]).map(t=>parseInt(t,16)||0),w_e=(e=0,t=0,n=0)=>y_e(g_e(.299*e**2+.587*t**2+.114*n**2));class x_e{constructor(t){uo(this,"colors"),uo(this,"lights"),uo(this,"getColorForKey",r=>{const i=KD(r);return this.colors[i]||this.setColorForKey(i,b_e())}),uo(this,"setColorForKey",(r,i)=>{var o;const a=KD(r);return this.colors[a]=i,(o=this.storage)==null||o.storeTagColors(this.colors),i}),uo(this,"isColorLightForKey",r=>{const i=this.getColorForKey(r).substring(1);if(this.lights[i]===void 0){const o=__e(i);this.lights[i]=w_e(...o)>=h_e}return this.lights[i]});var n;this.storage=t,this.colors=((n=this.storage)==null?void 0:n.getTagColors())??{},this.lights={}}}const pz=({document:e},t,n)=>{const r=e.createElement("a");r.setAttribute("href",t),r.setAttribute("download",n),r.style.visibility="hidden",e.body.appendChild(r),r.click(),e.body.removeChild(r)},O_e=(e,t,n)=>{const r=new Blob([t],{type:"text/csv;charset=utf-8;"}),i=URL.createObjectURL(r);pz(e,i,n)};class S_e{constructor(t,n){this.fetch=t,this.window=n}async saveImage(t,n){const r=await this.fetch(t).then(o=>o.blob()),i=URL.createObjectURL(r);pz(this.window,i,n)}}class E_e{constructor(t,n){uo(this,"exportVisits",(r,i)=>{i.length&&this.exportCsv(r,i)}),uo(this,"exportShortUrls",r=>{r.length&&this.exportCsv("short_urls.csv",r)}),uo(this,"exportCsv",(r,i)=>{const o=this.jsonToCsv(i);O_e(this.window,o,r)}),this.window=t,this.jsonToCsv=n}}function T_e(e){e.constant("window",window),e.constant("fetch",window.fetch.bind(window)),e.service("ImageDownloader",S_e,"fetch","window"),e.service("ColorGenerator",x_e,"TagColorsStorage"),e.constant("jsonToCsv",d_e),e.service("ReportExporter",E_e,"window","jsonToCsv"),e.serviceFactory("useTimeoutToggle",()=>xB)}const RP=e=>e.visitedUrl!==void 0,C_e=e=>e.visitedUrl!==void 0,k_e=e=>{const t=xme(e,n=>RP(n.visit)?"orphanVisits":"nonOrphanVisits");return{orphanVisits:[],nonOrphanVisits:[],...t}},Ug=(e,t)=>N2(e,n=>n[t]),gv=({page:e,itemsPerPage:t,filter:n,dateRange:r})=>{const i=((r==null?void 0:r.startDate)&&el(r==null?void 0:r.startDate))??void 0,o=((r==null?void 0:r.endDate)&&el(r==null?void 0:r.endDate))??void 0,a=(n==null?void 0:n.excludeBots)||void 0;return{page:e,itemsPerPage:t,startDate:i,endDate:o,excludeBots:a}},yv=({visits:e,goBack:t,shortUrl:n,children:r,title:i})=>_.jsx("header",{children:_.jsxs(ui,{body:!0,children:[_.jsxs("h2",{className:"d-flex justify-content-between align-items-center mb-0",children:[_.jsx(wt,{color:"link",size:"lg",className:"p-0 me-3",onClick:t,"aria-label":"Go back",children:_.jsx(Le,{icon:N$})}),_.jsx("span",{className:"text-center d-none d-sm-block",children:_.jsx("small",{children:i})}),_.jsxs("span",{className:"badge badge-main ms-3",children:["Visits:"," ",_.jsx(u9,{visitsCount:e.length,shortUrl:n})]})]}),_.jsx("h3",{className:"text-center d-block d-sm-none mb-0 mt-3",children:_.jsx("small",{children:i})}),r&&_.jsx("div",{className:"mt-md-2",children:r})]})}),hz=({title:e,footer:t,children:n})=>_.jsxs(ui,{role:"document",children:[_.jsx(vf,{className:"chart-card__header",children:e}),_.jsx(mf,{children:n}),t&&_.jsx(W7,{className:"chart-card__footer--sticky",children:t})]});var j_e=Array.isArray,Kr=j_e,P_e=typeof Lc=="object"&&Lc&&Lc.Object===Object&&Lc,mz=P_e,A_e=mz,N_e=typeof self=="object"&&self&&self.Object===Object&&self,M_e=A_e||N_e||Function("return this")(),ra=M_e,L_e=ra,R_e=L_e.Symbol,bv=R_e,ZD=bv,vz=Object.prototype,D_e=vz.hasOwnProperty,I_e=vz.toString,up=ZD?ZD.toStringTag:void 0;function F_e(e){var t=D_e.call(e,up),n=e[up];try{e[up]=void 0;var r=!0}catch{}var i=I_e.call(e);return r&&(t?e[up]=n:delete e[up]),i}var U_e=F_e,$_e=Object.prototype,B_e=$_e.toString;function z_e(e){return B_e.call(e)}var V_e=z_e,XD=bv,H_e=U_e,W_e=V_e,Y_e="[object Null]",G_e="[object Undefined]",QD=XD?XD.toStringTag:void 0;function q_e(e){return e==null?e===void 0?G_e:Y_e:QD&&QD in Object(e)?H_e(e):W_e(e)}var Ja=q_e;function K_e(e){return e!=null&&typeof e=="object"}var es=K_e,Z_e=Ja,X_e=es,Q_e="[object Symbol]";function J_e(e){return typeof e=="symbol"||X_e(e)&&Z_e(e)==Q_e}var vd=J_e,ewe=Kr,twe=vd,nwe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rwe=/^\w*$/;function iwe(e,t){if(ewe(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||twe(e)?!0:rwe.test(e)||!nwe.test(e)||t!=null&&e in Object(t)}var DP=iwe;function owe(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var dl=owe;const gd=Ot(dl);var awe=Ja,swe=dl,lwe="[object AsyncFunction]",uwe="[object Function]",cwe="[object GeneratorFunction]",fwe="[object Proxy]";function dwe(e){if(!swe(e))return!1;var t=awe(e);return t==uwe||t==cwe||t==lwe||t==fwe}var IP=dwe;const Qe=Ot(IP);var pwe=ra,hwe=pwe["__core-js_shared__"],mwe=hwe,CO=mwe,JD=function(){var e=/[^.]+$/.exec(CO&&CO.keys&&CO.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function vwe(e){return!!JD&&JD in e}var gwe=vwe,ywe=Function.prototype,bwe=ywe.toString;function _we(e){if(e!=null){try{return bwe.call(e)}catch{}try{return e+""}catch{}}return""}var gz=_we,wwe=IP,xwe=gwe,Owe=dl,Swe=gz,Ewe=/[\\^$.*+?()[\]{}|]/g,Twe=/^\[object .+?Constructor\]$/,Cwe=Function.prototype,kwe=Object.prototype,jwe=Cwe.toString,Pwe=kwe.hasOwnProperty,Awe=RegExp("^"+jwe.call(Pwe).replace(Ewe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Nwe(e){if(!Owe(e)||xwe(e))return!1;var t=wwe(e)?Awe:Twe;return t.test(Swe(e))}var Mwe=Nwe;function Lwe(e,t){return e==null?void 0:e[t]}var Rwe=Lwe,Dwe=Mwe,Iwe=Rwe;function Fwe(e,t){var n=Iwe(e,t);return Dwe(n)?n:void 0}var Du=Fwe,Uwe=Du,$we=Uwe(Object,"create"),ew=$we,eI=ew;function Bwe(){this.__data__=eI?eI(null):{},this.size=0}var zwe=Bwe;function Vwe(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Hwe=Vwe,Wwe=ew,Ywe="__lodash_hash_undefined__",Gwe=Object.prototype,qwe=Gwe.hasOwnProperty;function Kwe(e){var t=this.__data__;if(Wwe){var n=t[e];return n===Ywe?void 0:n}return qwe.call(t,e)?t[e]:void 0}var Zwe=Kwe,Xwe=ew,Qwe=Object.prototype,Jwe=Qwe.hasOwnProperty;function exe(e){var t=this.__data__;return Xwe?t[e]!==void 0:Jwe.call(t,e)}var txe=exe,nxe=ew,rxe="__lodash_hash_undefined__";function ixe(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=nxe&&t===void 0?rxe:t,this}var oxe=ixe,axe=zwe,sxe=Hwe,lxe=Zwe,uxe=txe,cxe=oxe;function yd(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1}var Cxe=Txe,kxe=tw;function jxe(e,t){var n=this.__data__,r=kxe(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var Pxe=jxe,Axe=pxe,Nxe=wxe,Mxe=Sxe,Lxe=Cxe,Rxe=Pxe;function bd(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0?1:-1},ql=function(e){return _v(e)&&e.indexOf("%")===e.length-1},je=function(e){return t1e(e)&&!wd(e)},Pn=function(e){return je(e)||_v(e)},o1e=0,pl=function(e){var t=++o1e;return"".concat(e||"").concat(t)},Ur=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!je(e)&&!_v(e))return n;var i;if(ql(e)){var o=e.indexOf("%");i=t*parseFloat(e.slice(0,o))/100}else i=+e;return wd(i)&&(i=n),r&&i>t&&(i=t),i},fs=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},a1e=function(e){if(!Array.isArray(e))return!1;for(var t=e.length,n={},r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function p1e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function OT(e){"@babel/helpers - typeof";return OT=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},OT(e)}var uI={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},Ea=function(e){return typeof e=="string"?e:e?e.displayName||e.name||"Component":""},cI=null,kO=null,WP=function e(t){if(t===cI&&Array.isArray(kO))return kO;var n=[];return F.Children.forEach(t,function(r){Ze(r)||(wT.isFragment(r)?n=n.concat(e(r.props.children)):n.push(r))}),kO=n,cI=t,n};function Mr(e,t){var n=[],r=[];return Array.isArray(t)?r=t.map(function(i){return Ea(i)}):r=[Ea(t)],WP(e).forEach(function(i){var o=ai(i,"type.displayName")||ai(i,"type.name");r.indexOf(o)!==-1&&n.push(i)}),n}function ba(e,t){var n=Mr(e,t);return n&&n[0]}var fI=function(e){if(!e||!e.props)return!1;var t=e.props,n=t.width,r=t.height;return!(!je(n)||n<=0||!je(r)||r<=0)},h1e=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],m1e=function(e){return e&&e.type&&_v(e.type)&&h1e.indexOf(e.type)>=0},Ez=function(e){return e&&OT(e)==="object"&&"cx"in e&&"cy"in e&&"r"in e},v1e=function(e,t,n,r){var i,o=(i=sI==null?void 0:sI[r])!==null&&i!==void 0?i:[];return!Qe(e)&&(r&&o.includes(t)||u1e.includes(t))||n&&HP.includes(t)},Ve=function(e,t,n){if(!e||typeof e=="function"||typeof e=="boolean")return null;var r=e;if(F.isValidElement(e)&&(r=e.props),!gd(r))return null;var i={};return Object.keys(r).forEach(function(o){var a;v1e((a=r)===null||a===void 0?void 0:a[o],o,t,n)&&(i[o]=r[o])}),i},Tz=function e(t,n){if(t===n)return!0;var r=F.Children.count(t);if(r!==F.Children.count(n))return!1;if(r===0)return!0;if(r===1)return dI(Array.isArray(t)?t[0]:t,Array.isArray(n)?n[0]:n);for(var i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function w1e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function ET(e){var t=e.children,n=e.width,r=e.height,i=e.viewBox,o=e.className,a=e.style,s=e.title,l=e.desc,u=_1e(e,b1e),f=i||{width:n,height:r,x:0,y:0},d=We("recharts-surface",o);return N.createElement("svg",ST({},Ve(u,!0,"svg"),{className:d,width:n,height:r,style:a,viewBox:"".concat(f.x," ").concat(f.y," ").concat(f.width," ").concat(f.height)}),N.createElement("title",null,s),N.createElement("desc",null,l),t)}var x1e=["children","className"];function TT(){return TT=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function S1e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var nt=N.forwardRef(function(e,t){var n=e.children,r=e.className,i=O1e(e,x1e),o=We("recharts-layer",r);return N.createElement("g",TT({className:o},Ve(i,!0),{ref:t}),n)}),Ta=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;ii?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r=r?e:C1e(e,t,n)}var j1e=k1e,P1e="\\ud800-\\udfff",A1e="\\u0300-\\u036f",N1e="\\ufe20-\\ufe2f",M1e="\\u20d0-\\u20ff",L1e=A1e+N1e+M1e,R1e="\\ufe0e\\ufe0f",D1e="\\u200d",I1e=RegExp("["+D1e+P1e+L1e+R1e+"]");function F1e(e){return I1e.test(e)}var Cz=F1e;function U1e(e){return e.split("")}var $1e=U1e,kz="\\ud800-\\udfff",B1e="\\u0300-\\u036f",z1e="\\ufe20-\\ufe2f",V1e="\\u20d0-\\u20ff",H1e=B1e+z1e+V1e,W1e="\\ufe0e\\ufe0f",Y1e="["+kz+"]",CT="["+H1e+"]",kT="\\ud83c[\\udffb-\\udfff]",G1e="(?:"+CT+"|"+kT+")",jz="[^"+kz+"]",Pz="(?:\\ud83c[\\udde6-\\uddff]){2}",Az="[\\ud800-\\udbff][\\udc00-\\udfff]",q1e="\\u200d",Nz=G1e+"?",Mz="["+W1e+"]?",K1e="(?:"+q1e+"(?:"+[jz,Pz,Az].join("|")+")"+Mz+Nz+")*",Z1e=Mz+Nz+K1e,X1e="(?:"+[jz+CT+"?",CT,Pz,Az,Y1e].join("|")+")",Q1e=RegExp(kT+"(?="+kT+")|"+X1e+Z1e,"g");function J1e(e){return e.match(Q1e)||[]}var eSe=J1e,tSe=$1e,nSe=Cz,rSe=eSe;function iSe(e){return nSe(e)?rSe(e):tSe(e)}var oSe=iSe,aSe=j1e,sSe=Cz,lSe=oSe,uSe=_z;function cSe(e){return function(t){t=uSe(t);var n=sSe(t)?lSe(t):void 0,r=n?n[0]:t.charAt(0),i=n?aSe(n,1).join(""):t.slice(1);return r[e]()+i}}var fSe=cSe,dSe=fSe,pSe=dSe("toUpperCase"),hSe=pSe;const ow=Ot(hSe);function $t(e){return function(){return e}}const Lz=Math.cos,ub=Math.sin,Oo=Math.sqrt,cb=Math.PI,aw=2*cb,jT=Math.PI,PT=2*jT,Dl=1e-6,mSe=PT-Dl;function Rz(e){this._+=e[0];for(let t=1,n=e.length;t=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Rz;const n=10**t;return function(r){this._+=r[0];for(let i=1,o=r.length;iDl)if(!(Math.abs(d*l-u*f)>Dl)||!o)this._append`L${this._x1=t},${this._y1=n}`;else{let m=r-a,v=i-s,g=l*l+u*u,w=m*m+v*v,y=Math.sqrt(g),b=Math.sqrt(p),x=o*Math.tan((jT-Math.acos((g+p-w)/(2*y*b)))/2),O=x/b,E=x/y;Math.abs(O-1)>Dl&&this._append`L${t+O*f},${n+O*d}`,this._append`A${o},${o},0,0,${+(d*m>f*v)},${this._x1=t+E*l},${this._y1=n+E*u}`}}arc(t,n,r,i,o,a){if(t=+t,n=+n,r=+r,a=!!a,r<0)throw new Error(`negative radius: ${r}`);let s=r*Math.cos(i),l=r*Math.sin(i),u=t+s,f=n+l,d=1^a,p=a?i-o:o-i;this._x1===null?this._append`M${u},${f}`:(Math.abs(this._x1-u)>Dl||Math.abs(this._y1-f)>Dl)&&this._append`L${u},${f}`,r&&(p<0&&(p=p%PT+PT),p>mSe?this._append`A${r},${r},0,1,${d},${t-s},${n-l}A${r},${r},0,1,${d},${this._x1=u},${this._y1=f}`:p>Dl&&this._append`A${r},${r},0,${+(p>=jT)},${d},${this._x1=t+r*Math.cos(o)},${this._y1=n+r*Math.sin(o)}`)}rect(t,n,r,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}}function YP(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);t=r}return e},()=>new gSe(t)}function GP(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function Dz(e){this._context=e}Dz.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function sw(e){return new Dz(e)}function Iz(e){return e[0]}function Fz(e){return e[1]}function Uz(e,t){var n=$t(!0),r=null,i=sw,o=null,a=YP(s);e=typeof e=="function"?e:e===void 0?Iz:$t(e),t=typeof t=="function"?t:t===void 0?Fz:$t(t);function s(l){var u,f=(l=GP(l)).length,d,p=!1,m;for(r==null&&(o=i(m=a())),u=0;u<=f;++u)!(u=m;--v)s.point(x[v],O[v]);s.lineEnd(),s.areaEnd()}y&&(x[p]=+e(w,p,d),O[p]=+t(w,p,d),s.point(r?+r(w,p,d):x[p],n?+n(w,p,d):O[p]))}if(b)return s=null,b+""||null}function f(){return Uz().defined(i).curve(a).context(o)}return u.x=function(d){return arguments.length?(e=typeof d=="function"?d:$t(+d),r=null,u):e},u.x0=function(d){return arguments.length?(e=typeof d=="function"?d:$t(+d),u):e},u.x1=function(d){return arguments.length?(r=d==null?null:typeof d=="function"?d:$t(+d),u):r},u.y=function(d){return arguments.length?(t=typeof d=="function"?d:$t(+d),n=null,u):t},u.y0=function(d){return arguments.length?(t=typeof d=="function"?d:$t(+d),u):t},u.y1=function(d){return arguments.length?(n=d==null?null:typeof d=="function"?d:$t(+d),u):n},u.lineX0=u.lineY0=function(){return f().x(e).y(t)},u.lineY1=function(){return f().x(e).y(n)},u.lineX1=function(){return f().x(r).y(t)},u.defined=function(d){return arguments.length?(i=typeof d=="function"?d:$t(!!d),u):i},u.curve=function(d){return arguments.length?(a=d,o!=null&&(s=a(o)),u):a},u.context=function(d){return arguments.length?(d==null?o=s=null:s=a(o=d),u):o},u}class $z{constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n);break}}this._x0=t,this._y0=n}}function ySe(e){return new $z(e,!0)}function bSe(e){return new $z(e,!1)}const qP={draw(e,t){const n=Oo(t/cb);e.moveTo(n,0),e.arc(0,0,n,0,aw)}},_Se={draw(e,t){const n=Oo(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},Bz=Oo(1/3),wSe=Bz*2,xSe={draw(e,t){const n=Oo(t/wSe),r=n*Bz;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},OSe={draw(e,t){const n=Oo(t),r=-n/2;e.rect(r,r,n,n)}},SSe=.8908130915292852,zz=ub(cb/10)/ub(7*cb/10),ESe=ub(aw/10)*zz,TSe=-Lz(aw/10)*zz,CSe={draw(e,t){const n=Oo(t*SSe),r=ESe*n,i=TSe*n;e.moveTo(0,-n),e.lineTo(r,i);for(let o=1;o<5;++o){const a=aw*o/5,s=Lz(a),l=ub(a);e.lineTo(l*n,-s*n),e.lineTo(s*r-l*i,l*r+s*i)}e.closePath()}},jO=Oo(3),kSe={draw(e,t){const n=-Oo(t/(jO*3));e.moveTo(0,n*2),e.lineTo(-jO*n,-n),e.lineTo(jO*n,-n),e.closePath()}},_i=-.5,wi=Oo(3)/2,AT=1/Oo(12),jSe=(AT/2+1)*3,PSe={draw(e,t){const n=Oo(t/jSe),r=n/2,i=n*AT,o=r,a=n*AT+n,s=-o,l=a;e.moveTo(r,i),e.lineTo(o,a),e.lineTo(s,l),e.lineTo(_i*r-wi*i,wi*r+_i*i),e.lineTo(_i*o-wi*a,wi*o+_i*a),e.lineTo(_i*s-wi*l,wi*s+_i*l),e.lineTo(_i*r+wi*i,_i*i-wi*r),e.lineTo(_i*o+wi*a,_i*a-wi*o),e.lineTo(_i*s+wi*l,_i*l-wi*s),e.closePath()}};function ASe(e,t){let n=null,r=YP(i);e=typeof e=="function"?e:$t(e||qP),t=typeof t=="function"?t:$t(t===void 0?64:+t);function i(){let o;if(n||(n=o=r()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),o)return n=null,o+""||null}return i.type=function(o){return arguments.length?(e=typeof o=="function"?o:$t(o),i):e},i.size=function(o){return arguments.length?(t=typeof o=="function"?o:$t(+o),i):t},i.context=function(o){return arguments.length?(n=o??null,i):n},i}function fb(){}function db(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Vz(e){this._context=e}Vz.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:db(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:db(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function NSe(e){return new Vz(e)}function Hz(e){this._context=e}Hz.prototype={areaStart:fb,areaEnd:fb,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:db(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function MSe(e){return new Hz(e)}function Wz(e){this._context=e}Wz.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:db(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function LSe(e){return new Wz(e)}function Yz(e){this._context=e}Yz.prototype={areaStart:fb,areaEnd:fb,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function RSe(e){return new Yz(e)}function hI(e){return e<0?-1:1}function mI(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),a=(n-e._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(hI(o)+hI(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function vI(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function PO(e,t,n){var r=e._x0,i=e._y0,o=e._x1,a=e._y1,s=(o-r)/3;e._context.bezierCurveTo(r+s,i+s*t,o-s,a-s*n,o,a)}function pb(e){this._context=e}pb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:PO(this,this._t0,vI(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,PO(this,vI(this,n=mI(this,e,t)),n);break;default:PO(this,this._t0,n=mI(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function Gz(e){this._context=new qz(e)}(Gz.prototype=Object.create(pb.prototype)).point=function(e,t){pb.prototype.point.call(this,t,e)};function qz(e){this._context=e}qz.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,o){this._context.bezierCurveTo(t,e,r,n,o,i)}};function DSe(e){return new pb(e)}function ISe(e){return new Gz(e)}function Kz(e){this._context=e}Kz.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=gI(e),i=gI(t),o=0,a=1;a=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[n-1]=(e[n]+i[n-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}}this._x=e,this._y=t}};function USe(e){return new lw(e,.5)}function $Se(e){return new lw(e,0)}function BSe(e){return new lw(e,1)}function Nf(e,t){if((a=e.length)>1)for(var n=1,r,i,o=e[t[0]],a,s=o.length;n=0;)n[t]=t;return n}function zSe(e,t){return e[t]}function VSe(e){const t=[];return t.key=e,t}function HSe(){var e=$t([]),t=NT,n=Nf,r=zSe;function i(o){var a=Array.from(e.apply(this,arguments),VSe),s,l=a.length,u=-1,f;for(const d of o)for(s=0,++u;s0){for(var n,r,i=0,o=e[0].length,a;i0){for(var n=0,r=e[t[0]],i,o=r.length;n0)||!((o=(i=e[t[0]]).length)>0))){for(var n=0,r=1,i,o,a;r=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function JSe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Zz={symbolCircle:qP,symbolCross:_Se,symbolDiamond:xSe,symbolSquare:OSe,symbolStar:CSe,symbolTriangle:kSe,symbolWye:PSe},eEe=Math.PI/180,tEe=function(e){var t="symbol".concat(ow(e));return Zz[t]||qP},nEe=function(e,t,n){if(t==="area")return e;switch(n){case"cross":return 5*e*e/9;case"diamond":return .5*e*e/Math.sqrt(3);case"square":return e*e;case"star":{var r=18*eEe;return 1.25*e*e*(Math.tan(r)-Math.tan(r*2)*Math.pow(Math.tan(r),2))}case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},rEe=function(e,t){Zz["symbol".concat(ow(e))]=t},uw=function(e){var t=e.type,n=t===void 0?"circle":t,r=e.size,i=r===void 0?64:r,o=e.sizeType,a=o===void 0?"area":o,s=QSe(e,qSe),l=bI(bI({},s),{},{type:n,size:i,sizeType:a}),u=function(){var v=tEe(n),g=ASe().type(v).size(nEe(i,a,n));return g()},f=l.className,d=l.cx,p=l.cy,m=Ve(l,!0);return d===+d&&p===+p&&i===+i?N.createElement("path",MT({},m,{className:We("recharts-symbols",f),transform:"translate(".concat(d,", ").concat(p,")"),d:u()})):null};uw.registerSymbol=rEe;function Mf(e){"@babel/helpers - typeof";return Mf=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},Mf(e)}function LT(){return LT=Object.assign?Object.assign.bind():function(e){for(var t=1;t"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 hb(e){return hb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},hb(e)}function sm(e,t,n){return t=Xz(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xz(e){var t=dEe(e,"string");return Mf(t)==="symbol"?t:String(t)}function dEe(e,t){if(Mf(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Mf(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var xi=32,KP=function(e){sEe(n,e);var t=lEe(n);function n(){return oEe(this,n),t.apply(this,arguments)}return aEe(n,[{key:"renderIcon",value:function(r){var i=this.props.inactiveColor,o=xi/2,a=xi/6,s=xi/3,l=r.inactive?i:r.color;if(r.type==="plainline")return N.createElement("line",{strokeWidth:4,fill:"none",stroke:l,strokeDasharray:r.payload.strokeDasharray,x1:0,y1:o,x2:xi,y2:o,className:"recharts-legend-icon"});if(r.type==="line")return N.createElement("path",{strokeWidth:4,fill:"none",stroke:l,d:"M0,".concat(o,"h").concat(s,` + A`).concat(a,",").concat(a,",0,1,1,").concat(2*s,",").concat(o,` + H`).concat(xi,"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 N.createElement("path",{stroke:"none",fill:l,d:"M0,".concat(xi/8,"h").concat(xi,"v").concat(xi*3/4,"h").concat(-xi,"z"),className:"recharts-legend-icon"});if(N.isValidElement(r.legendIcon)){var u=iEe({},r);return delete u.legendIcon,N.cloneElement(r.legendIcon,u)}return N.createElement(uw,{fill:l,cx:o,cy:o,size:xi,sizeType:"diameter",type:r.type})}},{key:"renderItems",value:function(){var r=this,i=this.props,o=i.payload,a=i.iconSize,s=i.layout,l=i.formatter,u=i.inactiveColor,f={x:0,y:0,width:xi,height:xi},d={display:s==="horizontal"?"inline-block":"block",marginRight:10},p={display:"inline-block",verticalAlign:"middle",marginRight:4};return o.map(function(m,v){var g,w=m.formatter||l,y=We((g={"recharts-legend-item":!0},sm(g,"legend-item-".concat(v),!0),sm(g,"inactive",m.inactive),g));if(m.type==="none")return null;var b=Qe(m.value)?null:m.value;Ta(!Qe(m.value),`The name property is also required when using a function for the dataKey of a chart's cartesian components. Ex: `);var x=m.inactive?u:m.color;return N.createElement("li",LT({className:y,style:d,key:"legend-item-".concat(v)},tl(r.props,m,v)),N.createElement(ET,{width:a,height:a,viewBox:f,style:p},r.renderIcon(m)),N.createElement("span",{className:"recharts-legend-item-text",style:{color:x}},w?w(b,m,v):b))})}},{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 N.createElement("ul",{className:"recharts-default-legend",style:s},this.renderItems())}}]),n}(F.PureComponent);sm(KP,"displayName","Legend");sm(KP,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var pEe=nw;function hEe(){this.__data__=new pEe,this.size=0}var mEe=hEe;function vEe(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var gEe=vEe;function yEe(e){return this.__data__.get(e)}var bEe=yEe;function _Ee(e){return this.__data__.has(e)}var wEe=_Ee,xEe=nw,OEe=UP,SEe=$P,EEe=200;function TEe(e,t){var n=this.__data__;if(n instanceof xEe){var r=n.__data__;if(!OEe||r.lengths))return!1;var u=o.get(e),f=o.get(t);if(u&&f)return u==t&&f==e;var d=-1,p=!0,m=n&qEe?new HEe:void 0;for(o.set(e,t),o.set(t,e);++d-1&&e%1==0&&e-1&&e%1==0&&e<=QTe}var JP=JTe,eCe=Ja,tCe=JP,nCe=es,rCe="[object Arguments]",iCe="[object Array]",oCe="[object Boolean]",aCe="[object Date]",sCe="[object Error]",lCe="[object Function]",uCe="[object Map]",cCe="[object Number]",fCe="[object Object]",dCe="[object RegExp]",pCe="[object Set]",hCe="[object String]",mCe="[object WeakMap]",vCe="[object ArrayBuffer]",gCe="[object DataView]",yCe="[object Float32Array]",bCe="[object Float64Array]",_Ce="[object Int8Array]",wCe="[object Int16Array]",xCe="[object Int32Array]",OCe="[object Uint8Array]",SCe="[object Uint8ClampedArray]",ECe="[object Uint16Array]",TCe="[object Uint32Array]",Ut={};Ut[yCe]=Ut[bCe]=Ut[_Ce]=Ut[wCe]=Ut[xCe]=Ut[OCe]=Ut[SCe]=Ut[ECe]=Ut[TCe]=!0;Ut[rCe]=Ut[iCe]=Ut[vCe]=Ut[oCe]=Ut[gCe]=Ut[aCe]=Ut[sCe]=Ut[lCe]=Ut[uCe]=Ut[cCe]=Ut[fCe]=Ut[dCe]=Ut[pCe]=Ut[hCe]=Ut[mCe]=!1;function CCe(e){return nCe(e)&&tCe(e.length)&&!!Ut[eCe(e)]}var kCe=CCe;function jCe(e){return function(t){return e(t)}}var aV=jCe,gb={exports:{}};gb.exports;(function(e,t){var n=mz,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===r,a=o&&n.process,s=function(){try{var l=i&&i.require&&i.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}}();e.exports=s})(gb,gb.exports);var PCe=gb.exports,ACe=kCe,NCe=aV,CI=PCe,kI=CI&&CI.isTypedArray,MCe=kI?NCe(kI):ACe,sV=MCe,LCe=ITe,RCe=XP,DCe=Kr,ICe=oV,FCe=QP,UCe=sV,$Ce=Object.prototype,BCe=$Ce.hasOwnProperty;function zCe(e,t){var n=DCe(e),r=!n&&RCe(e),i=!n&&!r&&ICe(e),o=!n&&!r&&!i&&UCe(e),a=n||r||i||o,s=a?LCe(e.length,String):[],l=s.length;for(var u in e)(t||BCe.call(e,u))&&!(a&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||FCe(u,l)))&&s.push(u);return s}var VCe=zCe,HCe=Object.prototype;function WCe(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||HCe;return e===n}var YCe=WCe;function GCe(e,t){return function(n){return e(t(n))}}var lV=GCe,qCe=lV,KCe=qCe(Object.keys,Object),ZCe=KCe,XCe=YCe,QCe=ZCe,JCe=Object.prototype,eke=JCe.hasOwnProperty;function tke(e){if(!XCe(e))return QCe(e);var t=[];for(var n in Object(e))eke.call(e,n)&&n!="constructor"&&t.push(n);return t}var nke=tke,rke=IP,ike=JP;function oke(e){return e!=null&&ike(e.length)&&!rke(e)}var wv=oke,ake=VCe,ske=nke,lke=wv;function uke(e){return lke(e)?ake(e):ske(e)}var cw=uke,cke=ETe,fke=RTe,dke=cw;function pke(e){return cke(e,dke,fke)}var hke=pke,jI=hke,mke=1,vke=Object.prototype,gke=vke.hasOwnProperty;function yke(e,t,n,r,i,o){var a=n&mke,s=jI(e),l=s.length,u=jI(t),f=u.length;if(l!=f&&!a)return!1;for(var d=l;d--;){var p=s[d];if(!(a?p in t:gke.call(t,p)))return!1}var m=o.get(e),v=o.get(t);if(m&&v)return m==t&&v==e;var g=!0;o.set(e,t),o.set(t,e);for(var w=a;++d-1}var vPe=mPe;function gPe(e,t,n){for(var r=-1,i=e==null?0:e.length;++r=NPe){var u=t?null:PPe(e);if(u)return APe(u);a=!1,i=jPe,l=new TPe}else l=t?[]:s;e:for(;++r"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 yb(e){return yb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},yb(e)}function fw(e,t,n){return t=gV(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gV(e){var t=YPe(e,"string");return Lf(t)==="symbol"?t:String(t)}function YPe(e,t){if(Lf(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Lf(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function GPe(e,t){if(e==null)return{};var n=qPe(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function qPe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function KPe(e){return e.value}function ZPe(e,t){if(N.isValidElement(e))return N.cloneElement(e,t);if(typeof e=="function")return N.createElement(e,t);t.ref;var n=GPe(t,UPe);return N.createElement(KP,n)}var WI=1,lm=function(e){zPe(n,e);var t=VPe(n);function n(){var r;$Pe(this,n);for(var i=arguments.length,o=new Array(i),a=0;aWI||Math.abs(i.height-this.lastBoundingBox.height)>WI)&&(this.lastBoundingBox.width=i.width,this.lastBoundingBox.height=i.height,r&&r(i))}else(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,r&&r(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Sl({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(r){var i=this.props,o=i.layout,a=i.align,s=i.verticalAlign,l=i.margin,u=i.chartWidth,f=i.chartHeight,d,p;if(!r||(r.left===void 0||r.left===null)&&(r.right===void 0||r.right===null))if(a==="center"&&o==="vertical"){var m=this.getBBoxSnapshot();d={left:((u||0)-m.width)/2}}else d=a==="right"?{right:l&&l.right||0}:{left:l&&l.left||0};if(!r||(r.top===void 0||r.top===null)&&(r.bottom===void 0||r.bottom===null))if(s==="middle"){var v=this.getBBoxSnapshot();p={top:((f||0)-v.height)/2}}else p=s==="bottom"?{bottom:l&&l.bottom||0}:{top:l&&l.top||0};return Sl(Sl({},d),p)}},{key:"render",value:function(){var r=this,i=this.props,o=i.content,a=i.width,s=i.height,l=i.wrapperStyle,u=i.payloadUniqBy,f=i.payload,d=Sl(Sl({position:"absolute",width:a||"auto",height:s||"auto"},this.getDefaultPosition(l)),l);return N.createElement("div",{className:"recharts-legend-wrapper",style:d,ref:function(p){r.wrapperNode=p}},ZPe(o,Sl(Sl({},this.props),{},{payload:mV(f,u,KPe)})))}}],[{key:"getWithHeight",value:function(r,i){var o=r.props.layout;return o==="vertical"&&je(r.props.height)?{height:r.props.height}:o==="horizontal"?{width:r.props.width||i}:null}}]),n}(F.PureComponent);fw(lm,"displayName","Legend");fw(lm,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var YI=bv,XPe=XP,QPe=Kr,GI=YI?YI.isConcatSpreadable:void 0;function JPe(e){return QPe(e)||XPe(e)||!!(GI&&e&&e[GI])}var eAe=JPe,tAe=rV,nAe=eAe;function yV(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=nAe),i||(i=[]);++o0&&n(s)?t>1?yV(s,t-1,n,r,i):tAe(i,s):r||(i[i.length]=s)}return i}var bV=yV;function rAe(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(n(o[l],l,o)===!1)break}return t}}var iAe=rAe,oAe=iAe,aAe=oAe(),sAe=aAe,lAe=sAe,uAe=cw;function cAe(e,t){return e&&lAe(e,t,uAe)}var _V=cAe,fAe=wv;function dAe(e,t){return function(n,r){if(n==null)return n;if(!fAe(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Object(n);(t?o--:++ot||o&&a&&l&&!s&&!u||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!u&&e=s)return l;var u=n[r];return l*(u=="desc"?-1:1)}}return e.index-t.index}var TAe=EAe,LO=zP,CAe=VP,kAe=ia,jAe=wV,PAe=wAe,AAe=aV,NAe=TAe,MAe=Sd,LAe=Kr;function RAe(e,t,n){t.length?t=LO(t,function(o){return LAe(o)?function(a){return CAe(a,o.length===1?o[0]:o)}:o}):t=[MAe];var r=-1;t=LO(t,AAe(kAe));var i=jAe(e,function(o,a,s){var l=LO(t,function(u){return u(o)});return{criteria:l,index:++r,value:o}});return PAe(i,function(o,a){return NAe(o,a,n)})}var DAe=RAe;function IAe(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var FAe=IAe,UAe=FAe,KI=Math.max;function $Ae(e,t,n){return t=KI(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=KI(r.length-t,0),a=Array(o);++i0){if(++t>=ZAe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var eNe=JAe,tNe=KAe,nNe=eNe,rNe=nNe(tNe),iNe=rNe,oNe=Sd,aNe=BAe,sNe=iNe;function lNe(e,t){return sNe(aNe(e,t,oNe),e+"")}var uNe=lNe,cNe=FP,fNe=wv,dNe=QP,pNe=dl;function hNe(e,t,n){if(!pNe(n))return!1;var r=typeof t;return(r=="number"?fNe(n)&&dNe(t,n.length):r=="string"&&t in n)?cNe(n[t],e):!1}var dw=hNe,mNe=bV,vNe=DAe,gNe=uNe,XI=dw,yNe=gNe(function(e,t){if(e==null)return[];var n=t.length;return n>1&&XI(e,t[0],t[1])?t=[]:n>2&&XI(t[0],t[1],t[2])&&(t=[t[0]]),vNe(e,mNe(t,1),[])}),bNe=yNe;const nA=Ot(bNe);function um(e){"@babel/helpers - typeof";return um=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},um(e)}function _Ne(e,t){return SNe(e)||ONe(e,t)||xNe(e,t)||wNe()}function wNe(){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 xNe(e,t){if(e){if(typeof e=="string")return QI(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 QI(e,t)}}function QI(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function LNe(e,t){return Ed(e.getTime(),t.getTime())}function i4(e,t,n){if(e.size!==t.size)return!1;for(var r={},i=e.entries(),o=0,a,s;(a=i.next())&&!a.done;){for(var l=t.entries(),u=!1,f=0;(s=l.next())&&!s.done;){var d=a.value,p=d[0],m=d[1],v=s.value,g=v[0],w=v[1];!u&&!r[f]&&(u=n.equals(p,g,o,f,e,t,n)&&n.equals(m,w,p,g,e,t,n))&&(r[f]=!0),f++}if(!u)return!1;o++}return!0}function RNe(e,t,n){var r=r4(e),i=r.length;if(r4(t).length!==i)return!1;for(var o;i-- >0;)if(o=r[i],o===SV&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof||!OV(t,o)||!n.equals(e[o],t[o],o,o,e,t,n))return!1;return!0}function cp(e,t,n){var r=t4(e),i=r.length;if(t4(t).length!==i)return!1;for(var o,a,s;i-- >0;)if(o=r[i],o===SV&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof||!OV(t,o)||!n.equals(e[o],t[o],o,o,e,t,n)||(a=n4(e,o),s=n4(t,o),(a||s)&&(!a||!s||a.configurable!==s.configurable||a.enumerable!==s.enumerable||a.writable!==s.writable)))return!1;return!0}function DNe(e,t){return Ed(e.valueOf(),t.valueOf())}function INe(e,t){return e.source===t.source&&e.flags===t.flags}function o4(e,t,n){if(e.size!==t.size)return!1;for(var r={},i=e.values(),o,a;(o=i.next())&&!o.done;){for(var s=t.values(),l=!1,u=0;(a=s.next())&&!a.done;)!l&&!r[u]&&(l=n.equals(o.value,a.value,o.value,a.value,e,t,n))&&(r[u]=!0),u++;if(!l)return!1}return!0}function FNe(e,t){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}var UNe="[object Arguments]",$Ne="[object Boolean]",BNe="[object Date]",zNe="[object Map]",VNe="[object Number]",HNe="[object Object]",WNe="[object RegExp]",YNe="[object Set]",GNe="[object String]",qNe=Array.isArray,a4=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,s4=Object.assign,KNe=Object.prototype.toString.call.bind(Object.prototype.toString);function ZNe(e){var t=e.areArraysEqual,n=e.areDatesEqual,r=e.areMapsEqual,i=e.areObjectsEqual,o=e.arePrimitiveWrappersEqual,a=e.areRegExpsEqual,s=e.areSetsEqual,l=e.areTypedArraysEqual;return function(u,f,d){if(u===f)return!0;if(u==null||f==null||typeof u!="object"||typeof f!="object")return u!==u&&f!==f;var p=u.constructor;if(p!==f.constructor)return!1;if(p===Object)return i(u,f,d);if(qNe(u))return t(u,f,d);if(a4!=null&&a4(u))return l(u,f,d);if(p===Date)return n(u,f,d);if(p===RegExp)return a(u,f,d);if(p===Map)return r(u,f,d);if(p===Set)return s(u,f,d);var m=KNe(u);return m===BNe?n(u,f,d):m===WNe?a(u,f,d):m===zNe?r(u,f,d):m===YNe?s(u,f,d):m===HNe?typeof u.then!="function"&&typeof f.then!="function"&&i(u,f,d):m===UNe?i(u,f,d):m===$Ne||m===VNe||m===GNe?o(u,f,d):!1}}function XNe(e){var t=e.circular,n=e.createCustomConfig,r=e.strict,i={areArraysEqual:r?cp:MNe,areDatesEqual:LNe,areMapsEqual:r?e4(i4,cp):i4,areObjectsEqual:r?cp:RNe,arePrimitiveWrappersEqual:DNe,areRegExpsEqual:INe,areSetsEqual:r?e4(o4,cp):o4,areTypedArraysEqual:r?cp:FNe};if(n&&(i=s4({},i,n(i))),t){var o=zg(i.areArraysEqual),a=zg(i.areMapsEqual),s=zg(i.areObjectsEqual),l=zg(i.areSetsEqual);i=s4({},i,{areArraysEqual:o,areMapsEqual:a,areObjectsEqual:s,areSetsEqual:l})}return i}function QNe(e){return function(t,n,r,i,o,a,s){return e(t,n,s)}}function JNe(e){var t=e.circular,n=e.comparator,r=e.createState,i=e.equals,o=e.strict;if(r)return function(s,l){var u=r(),f=u.cache,d=f===void 0?t?new WeakMap:void 0:f,p=u.meta;return n(s,l,{cache:d,equals:i,meta:p,strict:o})};if(t)return function(s,l){return n(s,l,{cache:new WeakMap,equals:i,meta:void 0,strict:o})};var a={cache:void 0,equals:i,meta:void 0,strict:o};return function(s,l){return n(s,l,a)}}var e3e=hl();hl({strict:!0});hl({circular:!0});hl({circular:!0,strict:!0});hl({createInternalComparator:function(){return Ed}});hl({strict:!0,createInternalComparator:function(){return Ed}});hl({circular:!0,createInternalComparator:function(){return Ed}});hl({circular:!0,createInternalComparator:function(){return Ed},strict:!0});function hl(e){e===void 0&&(e={});var t=e.circular,n=t===void 0?!1:t,r=e.createInternalComparator,i=e.createState,o=e.strict,a=o===void 0?!1:o,s=XNe(e),l=ZNe(s),u=r?r(l):QNe(l);return JNe({circular:n,comparator:l,createState:i,equals:u,strict:a})}function t3e(e){typeof requestAnimationFrame<"u"&&requestAnimationFrame(e)}function l4(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=-1,r=function i(o){n<0&&(n=o),o-n>t?(e(o),n=-1):t3e(i)};requestAnimationFrame(r)}function zT(e){"@babel/helpers - typeof";return zT=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},zT(e)}function n3e(e){return a3e(e)||o3e(e)||i3e(e)||r3e()}function r3e(){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 i3e(e,t){if(e){if(typeof e=="string")return u4(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 u4(e,t)}}function u4(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?1:g<0?0:g},v=function(g){for(var w=g>1?1:g,y=w,b=0;b<8;++b){var x=f(y)-w,O=p(y);if(Math.abs(x-w)<_b||O<_b)return d(y);y=m(y-x/O)}return d(y)};return v.isStepper=!1,v},T3e=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.stiff,n=t===void 0?100:t,r=e.damping,i=r===void 0?8:r,o=e.dt,a=o===void 0?17:o,s=function(l,u,f){var d=-(l-u)*n,p=f*i,m=f+(d-p)*a/1e3,v=f*a/1e3+l;return Math.abs(v-u)<_b&&Math.abs(m)<_b?[u,0]:[v,m]};return s.isStepper=!0,s.dt=a,s},C3e=function(){for(var e=arguments.length,t=new Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function B3e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function DO(e){return W3e(e)||H3e(e)||V3e(e)||z3e()}function z3e(){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 V3e(e,t){if(e){if(typeof e=="string")return GT(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 GT(e,t)}}function H3e(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function W3e(e){if(Array.isArray(e))return GT(e)}function GT(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n"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 xb(e){return xb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},xb(e)}var Wi=function(e){K3e(n,e);var t=Z3e(n);function n(r,i){var o;Y3e(this,n),o=t.call(this,r,i);var a=o.props,s=a.isActive,l=a.attributeName,u=a.from,f=a.to,d=a.steps,p=a.children,m=a.duration;if(o.handleStyleChange=o.handleStyleChange.bind(ZT(o)),o.changeStyle=o.changeStyle.bind(ZT(o)),!s||m<=0)return o.state={style:{}},typeof p=="function"&&(o.state={style:f}),KT(o);if(d&&d.length)o.state={style:d[0].style};else if(u){if(typeof p=="function")return o.state={style:u},KT(o);o.state={style:l?jp({},l,u):u}}else o.state={style:{}};return o}return G3e(n,[{key:"componentDidMount",value:function(){var r=this.props,i=r.isActive,o=r.canBegin;this.mounted=!0,!(!i||!o)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(r){var i=this.props,o=i.isActive,a=i.canBegin,s=i.attributeName,l=i.shouldReAnimate,u=i.to,f=i.from,d=this.state.style;if(a){if(!o){var p={style:s?jp({},s,u):u};this.state&&d&&(s&&d[s]!==u||!s&&d!==u)&&this.setState(p);return}if(!(e3e(r.to,u)&&r.canBegin&&r.isActive)){var m=!r.canBegin||!r.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var v=m||l?f:r.to;if(this.state&&d){var g={style:s?jp({},s,v):v};(s&&[s]!==v||!s&&d!==v)&&this.setState(g)}this.runAnimation(to(to({},this.props),{},{from:v,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var r=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),r&&r()}},{key:"handleStyleChange",value:function(r){this.changeStyle(r)}},{key:"changeStyle",value:function(r){this.mounted&&this.setState({style:r})}},{key:"runJSAnimation",value:function(r){var i=this,o=r.from,a=r.to,s=r.duration,l=r.easing,u=r.begin,f=r.onAnimationEnd,d=r.onAnimationStart,p=F3e(o,a,C3e(l),s,this.changeStyle),m=function(){i.stopJSAnimation=p()};this.manager.start([d,u,m,s,f])}},{key:"runStepAnimation",value:function(r){var i=this,o=r.steps,a=r.begin,s=r.onAnimationStart,l=o[0],u=l.style,f=l.duration,d=f===void 0?0:f,p=function(m,v,g){if(g===0)return m;var w=v.duration,y=v.easing,b=y===void 0?"ease":y,x=v.style,O=v.properties,E=v.onAnimationEnd,T=g>0?o[g-1]:v,k=O||Object.keys(x);if(typeof b=="function"||b==="spring")return[].concat(DO(m),[i.runJSAnimation.bind(i,{from:T.style,to:x,duration:w,easing:b}),w]);var A=f4(k,w,b),D=to(to(to({},T.style),x),{},{transition:A});return[].concat(DO(m),[D,w,E]).filter(h3e)};return this.manager.start([s].concat(DO(o.reduce(p,[u,Math.max(d,a)])),[r.onAnimationEnd]))}},{key:"runAnimation",value:function(r){this.manager||(this.manager=s3e());var i=r.begin,o=r.duration,a=r.attributeName,s=r.to,l=r.easing,u=r.onAnimationStart,f=r.onAnimationEnd,d=r.steps,p=r.children,m=this.manager;if(this.unSubscribe=m.subscribe(this.handleStyleChange),typeof l=="function"||typeof p=="function"||l==="spring"){this.runJSAnimation(r);return}if(d.length>1){this.runStepAnimation(r);return}var v=a?jp({},a,s):s,g=f4(Object.keys(v),o,l);m.start([u,i,to(to({},v),{},{transition:g}),o,f])}},{key:"render",value:function(){var r=this.props,i=r.children;r.begin;var o=r.duration;r.attributeName,r.easing;var a=r.isActive;r.steps,r.from,r.to,r.canBegin,r.onAnimationEnd,r.shouldReAnimate,r.onAnimationReStart;var s=$3e(r,U3e),l=F.Children.count(i),u=rA(this.state.style);if(typeof i=="function")return i(u);if(!a||l===0||o<=0)return i;var f=function(d){var p=d.props,m=p.style,v=m===void 0?{}:m,g=p.className,w=F.cloneElement(d,to(to({},s),{},{style:to(to({},v),u),className:g}));return w};return l===1?f(F.Children.only(i)):N.createElement("div",null,F.Children.map(i,function(d){return f(d)}))}}]),n}(F.PureComponent);Wi.displayName="Animate";Wi.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};Wi.propTypes={from:rt.oneOfType([rt.object,rt.string]),to:rt.oneOfType([rt.object,rt.string]),attributeName:rt.string,duration:rt.number,begin:rt.number,easing:rt.oneOfType([rt.string,rt.func]),steps:rt.arrayOf(rt.shape({duration:rt.number.isRequired,style:rt.object.isRequired,easing:rt.oneOfType([rt.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),rt.func]),properties:rt.arrayOf("string"),onAnimationEnd:rt.func})),children:rt.oneOfType([rt.node,rt.func]),isActive:rt.bool,canBegin:rt.bool,onAnimationEnd:rt.func,shouldReAnimate:rt.bool,onAnimationStart:rt.func,onAnimationReStart:rt.func};Number.isFinite===void 0&&(Number.isFinite=function(e){return typeof e=="number"&&isFinite(e)});rt.object,rt.object,rt.object,rt.element;rt.object,rt.object,rt.object,rt.oneOfType([rt.array,rt.element]),rt.any;function dm(e){"@babel/helpers - typeof";return dm=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},dm(e)}function Vg(e,t,n){return t=Q3e(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Q3e(e){var t=J3e(e,"string");return dm(t)==="symbol"?t:String(t)}function J3e(e,t){if(dm(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(dm(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var fp="recharts-tooltip-wrapper",eMe={visibility:"hidden"};function tMe(e){var t,n=e.coordinate,r=e.translateX,i=e.translateY;return We(fp,(t={},Vg(t,"".concat(fp,"-right"),je(r)&&n&&je(n.x)&&r>=n.x),Vg(t,"".concat(fp,"-left"),je(r)&&n&&je(n.x)&&r=n.y),Vg(t,"".concat(fp,"-top"),je(i)&&n&&je(n.y)&&ig?Math.max(f,l[r]):Math.max(d,l[r])}function nMe(e){var t=e.translateX,n=e.translateY,r=e.useTranslate3d;return rA({transform:r?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")})}function rMe(e){var t=e.allowEscapeViewBox,n=e.coordinate,r=e.offsetTopLeft,i=e.position,o=e.reverseDirection,a=e.tooltipBox,s=e.useTranslate3d,l=e.viewBox,u,f,d;return a.height>0&&a.width>0&&n?(f=y4({allowEscapeViewBox:t,coordinate:n,key:"x",offsetTopLeft:r,position:i,reverseDirection:o,tooltipDimension:a.width,viewBox:l,viewBoxDimension:l.width}),d=y4({allowEscapeViewBox:t,coordinate:n,key:"y",offsetTopLeft:r,position:i,reverseDirection:o,tooltipDimension:a.height,viewBox:l,viewBoxDimension:l.height}),u=nMe({translateX:f,translateY:d,useTranslate3d:s})):u=eMe,{cssProperties:u,cssClasses:tMe({translateX:f,translateY:d,coordinate:n})}}function If(e){"@babel/helpers - typeof";return If=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},If(e)}function b4(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 IO(e){for(var t=1;t"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 Ob(e){return Ob=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ob(e)}function Ay(e,t,n){return t=PV(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function PV(e){var t=cMe(e,"string");return If(t)==="symbol"?t:String(t)}function cMe(e,t){if(If(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(If(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var w4=1,fMe=function(e){aMe(n,e);var t=sMe(n);function n(){var r;iMe(this,n);for(var i=arguments.length,o=new Array(i),a=0;aw4||Math.abs(r.height-this.lastBoundingBox.height)>w4)&&(this.lastBoundingBox.width=r.width,this.lastBoundingBox.height=r.height)}else(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1)}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var r,i;this.props.active&&this.updateBBox(),this.state.dismissed&&(((r=this.props.coordinate)===null||r===void 0?void 0:r.x)!==this.state.dismissedAtCoordinate.x||((i=this.props.coordinate)===null||i===void 0?void 0:i.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var r=this,i=this.props,o=i.active,a=i.allowEscapeViewBox,s=i.animationDuration,l=i.animationEasing,u=i.children,f=i.coordinate,d=i.hasPayload,p=i.isAnimationActive,m=i.offset,v=i.position,g=i.reverseDirection,w=i.useTranslate3d,y=i.viewBox,b=i.wrapperStyle,x=rMe({allowEscapeViewBox:a,coordinate:f,offsetTopLeft:m,position:v,reverseDirection:g,tooltipBox:{height:this.lastBoundingBox.height,width:this.lastBoundingBox.width},useTranslate3d:w,viewBox:y}),O=x.cssClasses,E=x.cssProperties,T=IO(IO(IO({},p&&o&&rA({transition:"transform ".concat(s,"ms ").concat(l)})),E),{},{pointerEvents:"none",visibility:!this.state.dismissed&&o&&d?"visible":"hidden",position:"absolute",top:0,left:0},b);return N.createElement("div",{tabIndex:-1,role:"dialog",className:O,style:T,ref:function(k){r.wrapperNode=k}},u)}}]),n}(F.PureComponent),dMe=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},Ii={isSsr:dMe(),get:function(e){return Ii[e]},set:function(e,t){if(typeof e=="string")Ii[e]=t;else{var n=Object.keys(e);n&&n.length&&n.forEach(function(r){Ii[r]=e[r]})}}};function Ff(e){"@babel/helpers - typeof";return Ff=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},Ff(e)}function x4(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 O4(e){for(var t=1;t"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 Sb(e){return Sb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Sb(e)}function iA(e,t,n){return t=AV(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function AV(e){var t=_Me(e,"string");return Ff(t)==="symbol"?t:String(t)}function _Me(e,t){if(Ff(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Ff(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function wMe(e){return e.dataKey}function xMe(e,t){return N.isValidElement(e)?N.cloneElement(e,t):typeof e=="function"?N.createElement(e,t):N.createElement(jNe,t)}var _a=function(e){mMe(n,e);var t=vMe(n);function n(){return pMe(this,n),t.apply(this,arguments)}return hMe(n,[{key:"render",value:function(){var r=this.props,i=r.active,o=r.allowEscapeViewBox,a=r.animationDuration,s=r.animationEasing,l=r.content,u=r.coordinate,f=r.filterNull,d=r.isAnimationActive,p=r.offset,m=r.payload,v=r.payloadUniqBy,g=r.position,w=r.reverseDirection,y=r.useTranslate3d,b=r.viewBox,x=r.wrapperStyle,O=m??[];f&&O.length&&(O=mV(m.filter(function(T){return T.value!=null}),v,wMe));var E=O.length>0;return N.createElement(fMe,{allowEscapeViewBox:o,animationDuration:a,animationEasing:s,isAnimationActive:d,active:i,coordinate:u,hasPayload:E,offset:p,position:g,reverseDirection:w,useTranslate3d:y,viewBox:b,wrapperStyle:x},xMe(l,O4(O4({},this.props),{},{payload:O})))}}]),n}(F.PureComponent);iA(_a,"displayName","Tooltip");iA(_a,"defaultProps",{allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!Ii.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var OMe=ra,SMe=function(){return OMe.Date.now()},EMe=SMe,TMe=/\s/;function CMe(e){for(var t=e.length;t--&&TMe.test(e.charAt(t)););return t}var kMe=CMe,jMe=kMe,PMe=/^\s+/;function AMe(e){return e&&e.slice(0,jMe(e)+1).replace(PMe,"")}var NMe=AMe,MMe=NMe,E4=dl,LMe=vd,T4=0/0,RMe=/^[-+]0x[0-9a-f]+$/i,DMe=/^0b[01]+$/i,IMe=/^0o[0-7]+$/i,FMe=parseInt;function UMe(e){if(typeof e=="number")return e;if(LMe(e))return T4;if(E4(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=E4(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=MMe(e);var n=DMe.test(e);return n||IMe.test(e)?FMe(e.slice(2),n?2:8):RMe.test(e)?T4:+e}var NV=UMe,$Me=dl,FO=EMe,C4=NV,BMe="Expected a function",zMe=Math.max,VMe=Math.min;function HMe(e,t,n){var r,i,o,a,s,l,u=0,f=!1,d=!1,p=!0;if(typeof e!="function")throw new TypeError(BMe);t=C4(t)||0,$Me(n)&&(f=!!n.leading,d="maxWait"in n,o=d?zMe(C4(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p);function m(T){var k=r,A=i;return r=i=void 0,u=T,a=e.apply(A,k),a}function v(T){return u=T,s=setTimeout(y,t),f?m(T):a}function g(T){var k=T-l,A=T-u,D=t-k;return d?VMe(D,o-A):D}function w(T){var k=T-l,A=T-u;return l===void 0||k>=t||k<0||d&&A>=o}function y(){var T=FO();if(w(T))return b(T);s=setTimeout(y,g(T))}function b(T){return s=void 0,p&&r?m(T):(r=i=void 0,a)}function x(){s!==void 0&&clearTimeout(s),u=0,r=l=i=s=void 0}function O(){return s===void 0?a:b(FO())}function E(){var T=FO(),k=w(T);if(r=arguments,i=this,l=T,k){if(s===void 0)return v(l);if(d)return clearTimeout(s),s=setTimeout(y,t),m(l)}return s===void 0&&(s=setTimeout(y,t)),a}return E.cancel=x,E.flush=O,E}var WMe=HMe,YMe=WMe,GMe=dl,qMe="Expected a function";function KMe(e,t,n){var r=!0,i=!0;if(typeof e!="function")throw new TypeError(qMe);return GMe(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),YMe(e,t,{leading:r,maxWait:t,trailing:i})}var ZMe=KMe;const MV=Ot(ZMe);function pm(e){"@babel/helpers - typeof";return pm=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},pm(e)}function k4(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 Hg(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&(G=MV(G,g,{trailing:!0,leading:!1}));var H=new ResizeObserver(G),Q=E.current.getBoundingClientRect(),Z=Q.width,te=Q.height;return I(Z,te),H.observe(E.current),function(){H.disconnect()}},[I,g]);var z=F.useMemo(function(){var G=D.containerWidth,H=D.containerHeight;if(G<0||H<0)return null;Ta(ql(a)||ql(l),`The width(%s) and height(%s) are both fixed numbers, + maybe you don't need to use a ResponsiveContainer.`,a,l),Ta(!n||n>0,"The aspect(%s) must be greater than zero.",n);var Q=ql(a)?G:a,Z=ql(l)?H:l;n&&n>0&&(Q?Z=Q/n:Z&&(Q=Z*n),p&&Z>p&&(Z=p)),Ta(Q>0||Z>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.`,Q,Z,a,l,f,d,n);var te=!Array.isArray(m)&&wT.isElement(m)&&Ea(m.type).endsWith("Chart");return N.Children.map(m,function(X){return wT.isElement(X)?F.cloneElement(X,Hg({width:Q,height:Z},te?{style:Hg({height:"100%",width:"100%",maxHeight:Z,maxWidth:Q},X.props.style)}:{})):X})},[n,m,l,p,d,f,D,a]);return N.createElement("div",{id:w?"".concat(w):void 0,className:We("recharts-responsive-container",y),style:Hg(Hg({},O),{},{width:a,height:l,minWidth:f,minHeight:d,maxHeight:p}),ref:E},z)}),Ou=function(e){return null};Ou.displayName="Cell";function hm(e){"@babel/helpers - typeof";return hm=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},hm(e)}function P4(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 JT(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{};if(e==null||Ii.isSsr)return{width:0,height:0};var n=cLe(t),r=JSON.stringify({text:e,copyStyle:n});if(lc.widthCache[r])return lc.widthCache[r];try{var i=document.getElementById(A4);i||(i=document.createElement("span"),i.setAttribute("id",A4),i.setAttribute("aria-hidden","true"),document.body.appendChild(i));var o=JT(JT({},uLe),n);Object.assign(i.style,o),i.textContent="".concat(e);var a=i.getBoundingClientRect(),s={width:a.width,height:a.height};return lc.widthCache[r]=s,++lc.cacheCount>lLe&&(lc.cacheCount=0,lc.widthCache={}),s}catch{return{width:0,height:0}}},fLe=function(e){return{top:e.top+window.scrollY-document.documentElement.clientTop,left:e.left+window.scrollX-document.documentElement.clientLeft}};function mm(e){"@babel/helpers - typeof";return mm=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},mm(e)}function Eb(e,t){return mLe(e)||hLe(e,t)||pLe(e,t)||dLe()}function dLe(){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 pLe(e,t){if(e){if(typeof e=="string")return N4(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 N4(e,t)}}function N4(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function jLe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function F4(e,t){return MLe(e)||NLe(e,t)||ALe(e,t)||PLe()}function PLe(){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 ALe(e,t){if(e){if(typeof e=="string")return U4(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 U4(e,t)}}function U4(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&arguments[0]!==void 0?arguments[0]:[];return G.reduce(function(H,Q){var Z=Q.word,te=Q.width,X=H[H.length-1];if(X&&(r==null||i||X.width+te+nQ.width?H:Q})};if(!u)return p;for(var v="…",g=function(G){var H=f.slice(0,G),Q=IV({breakAll:l,style:s,children:H+v}).wordsWithComputedWidth,Z=d(Q),te=Z.length>o||m(Z).width>Number(r);return[te,Z]},w=0,y=f.length-1,b=0,x;w<=y&&b<=f.length-1;){var O=Math.floor((w+y)/2),E=O-1,T=g(E),k=F4(T,2),A=k[0],D=k[1],R=g(O),I=F4(R,1),z=I[0];if(!A&&!z&&(w=O+1),A&&z&&(y=O-1),!A&&z){x=D;break}b++}return x||p},$4=function(e){var t=Ze(e)?[]:e.toString().split(DV);return[{words:t}]},RLe=function(e){var t=e.width,n=e.scaleToFit,r=e.children,i=e.style,o=e.breakAll,a=e.maxLines;if((t||n)&&!Ii.isSsr){var s,l,u=IV({breakAll:o,children:r,style:i});if(u){var f=u.wordsWithComputedWidth,d=u.spaceWidth;s=f,l=d}else return $4(r);return LLe({breakAll:o,children:r,maxLines:a,style:i},s,l,t,n)}return $4(r)},B4="#808080",Su=function(e){var t=e.x,n=t===void 0?0:t,r=e.y,i=r===void 0?0:r,o=e.lineHeight,a=o===void 0?"1em":o,s=e.capHeight,l=s===void 0?"0.71em":s,u=e.scaleToFit,f=u===void 0?!1:u,d=e.textAnchor,p=d===void 0?"start":d,m=e.verticalAnchor,v=m===void 0?"end":m,g=e.fill,w=g===void 0?B4:g,y=I4(e,CLe),b=F.useMemo(function(){return RLe({breakAll:y.breakAll,children:y.children,maxLines:y.maxLines,scaleToFit:f,style:y.style,width:y.width})},[y.breakAll,y.children,y.maxLines,f,y.style,y.width]),x=y.dx,O=y.dy,E=y.angle,T=y.className,k=y.breakAll,A=I4(y,kLe);if(!Pn(n)||!Pn(i))return null;var D=n+(je(x)?x:0),R=i+(je(O)?O:0),I;switch(v){case"start":I=UO("calc(".concat(l,")"));break;case"middle":I=UO("calc(".concat((b.length-1)/2," * -").concat(a," + (").concat(l," / 2))"));break;default:I=UO("calc(".concat(b.length-1," * -").concat(a,")"));break}var z=[];if(f){var G=b[0].width,H=y.width;z.push("scale(".concat((je(H)?H/G:1)/G,")"))}return E&&z.push("rotate(".concat(E,", ").concat(D,", ").concat(R,")")),z.length&&(A.transform=z.join(" ")),N.createElement("text",eC({},Ve(A,!0),{x:D,y:R,className:We("recharts-text",T),textAnchor:p,fill:w.includes("url")?B4:w}),b.map(function(Q,Z){var te=Q.words.join(k?"":" ");return N.createElement("tspan",{x:D,dy:Z===0?I:a,key:te},te)}))};function Hs(e,t){return e==null||t==null?NaN:et?1:e>=t?0:NaN}function DLe(e,t){return e==null||t==null?NaN:te?1:t>=e?0:NaN}function aA(e){let t,n,r;e.length!==2?(t=Hs,n=(s,l)=>Hs(e(s),l),r=(s,l)=>e(s)-l):(t=e===Hs||e===DLe?e:ILe,n=e,r=e);function i(s,l,u=0,f=s.length){if(u>>1;n(s[d],l)<0?u=d+1:f=d}while(u>>1;n(s[d],l)<=0?u=d+1:f=d}while(uu&&r(s[d-1],l)>-r(s[d],l)?d-1:d}return{left:i,center:a,right:o}}function ILe(){return 0}function FV(e){return e===null?NaN:+e}function*FLe(e,t){if(t===void 0)for(let n of e)n!=null&&(n=+n)>=n&&(yield n);else{let n=-1;for(let r of e)(r=t(r,++n,e))!=null&&(r=+r)>=r&&(yield r)}}const ULe=aA(Hs),$Le=ULe.right;aA(FV).center;const xv=$Le;class z4 extends Map{constructor(t,n=VLe){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,i]of t)this.set(r,i)}get(t){return super.get(V4(this,t))}has(t){return super.has(V4(this,t))}set(t,n){return super.set(BLe(this,t),n)}delete(t){return super.delete(zLe(this,t))}}function V4({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function BLe({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function zLe({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function VLe(e){return e!==null&&typeof e=="object"?e.valueOf():e}function HLe(e=Hs){if(e===Hs)return UV;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function UV(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(et?1:0)}const WLe=Math.sqrt(50),YLe=Math.sqrt(10),GLe=Math.sqrt(2);function Tb(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),a=o>=WLe?10:o>=YLe?5:o>=GLe?2:1;let s,l,u;return i<0?(u=Math.pow(10,-i)/a,s=Math.round(e*u),l=Math.round(t*u),s/ut&&--l,u=-u):(u=Math.pow(10,i)*a,s=Math.round(e/u),l=Math.round(t/u),s*ut&&--l),l0))return[];if(e===t)return[e];const r=t=i))return[];const s=o-i+1,l=new Array(s);if(r)if(a<0)for(let u=0;u=r)&&(n=r);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n=i)&&(n=i)}return n}function W4(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function $V(e,t,n=0,r=1/0,i){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(i=i===void 0?UV:HLe(i);r>n;){if(r-n>600){const l=r-n+1,u=t-n+1,f=Math.log(l),d=.5*Math.exp(2*f/3),p=.5*Math.sqrt(f*d*(l-d)/l)*(u-l/2<0?-1:1),m=Math.max(n,Math.floor(t-u*d/l+p)),v=Math.min(r,Math.floor(t+(l-u)*d/l+p));$V(e,t,m,v,i)}const o=e[t];let a=n,s=r;for(dp(e,n,t),i(e[r],o)>0&&dp(e,n,r);a0;)--s}i(e[n],o)===0?dp(e,n,s):(++s,dp(e,s,r)),s<=t&&(n=s+1),t<=s&&(r=s-1)}return e}function dp(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function qLe(e,t,n){if(e=Float64Array.from(FLe(e,n)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return W4(e);if(t>=1)return H4(e);var r,i=(r-1)*t,o=Math.floor(i),a=H4($V(e,o).subarray(0,o+1)),s=W4(e.subarray(o+1));return a+(s-a)*(i-o)}}function KLe(e,t,n=FV){if(!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,o=Math.floor(i),a=+n(e[o],o,e),s=+n(e[o+1],o+1,e);return a+(s-a)*(i-o)}}function ZLe(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,o=new Array(i);++r>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?Yg(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?Yg(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=QLe.exec(e))?new $r(t[1],t[2],t[3],1):(t=JLe.exec(e))?new $r(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=eRe.exec(e))?Yg(t[1],t[2],t[3],t[4]):(t=tRe.exec(e))?Yg(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=nRe.exec(e))?Q4(t[1],t[2]/100,t[3]/100,1):(t=rRe.exec(e))?Q4(t[1],t[2]/100,t[3]/100,t[4]):Y4.hasOwnProperty(e)?K4(Y4[e]):e==="transparent"?new $r(NaN,NaN,NaN,0):null}function K4(e){return new $r(e>>16&255,e>>8&255,e&255,1)}function Yg(e,t,n,r){return r<=0&&(e=t=n=NaN),new $r(e,t,n,r)}function aRe(e){return e instanceof Ov||(e=bm(e)),e?(e=e.rgb(),new $r(e.r,e.g,e.b,e.opacity)):new $r}function oC(e,t,n,r){return arguments.length===1?aRe(e):new $r(e,t,n,r??1)}function $r(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}lA($r,oC,zV(Ov,{brighter(e){return e=e==null?Cb:Math.pow(Cb,e),new $r(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?gm:Math.pow(gm,e),new $r(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new $r(lu(this.r),lu(this.g),lu(this.b),kb(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Z4,formatHex:Z4,formatHex8:sRe,formatRgb:X4,toString:X4}));function Z4(){return`#${Kl(this.r)}${Kl(this.g)}${Kl(this.b)}`}function sRe(){return`#${Kl(this.r)}${Kl(this.g)}${Kl(this.b)}${Kl((isNaN(this.opacity)?1:this.opacity)*255)}`}function X4(){const e=kb(this.opacity);return`${e===1?"rgb(":"rgba("}${lu(this.r)}, ${lu(this.g)}, ${lu(this.b)}${e===1?")":`, ${e})`}`}function kb(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function lu(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Kl(e){return e=lu(e),(e<16?"0":"")+e.toString(16)}function Q4(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new co(e,t,n,r)}function VV(e){if(e instanceof co)return new co(e.h,e.s,e.l,e.opacity);if(e instanceof Ov||(e=bm(e)),!e)return new co;if(e instanceof co)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,s=o-i,l=(o+i)/2;return s?(t===o?a=(n-r)/s+(n0&&l<1?0:a,new co(a,s,l,e.opacity)}function lRe(e,t,n,r){return arguments.length===1?VV(e):new co(e,t,n,r??1)}function co(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}lA(co,lRe,zV(Ov,{brighter(e){return e=e==null?Cb:Math.pow(Cb,e),new co(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?gm:Math.pow(gm,e),new co(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new $r($O(e>=240?e-240:e+120,i,r),$O(e,i,r),$O(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new co(J4(this.h),Gg(this.s),Gg(this.l),kb(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=kb(this.opacity);return`${e===1?"hsl(":"hsla("}${J4(this.h)}, ${Gg(this.s)*100}%, ${Gg(this.l)*100}%${e===1?")":`, ${e})`}`}}));function J4(e){return e=(e||0)%360,e<0?e+360:e}function Gg(e){return Math.max(0,Math.min(1,e||0))}function $O(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const uA=e=>()=>e;function uRe(e,t){return function(n){return e+n*t}}function cRe(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function fRe(e){return(e=+e)==1?HV:function(t,n){return n-t?cRe(t,n,e):uA(isNaN(t)?n:t)}}function HV(e,t){var n=t-e;return n?uRe(e,n):uA(isNaN(e)?t:e)}const e6=function e(t){var n=fRe(t);function r(i,o){var a=n((i=oC(i)).r,(o=oC(o)).r),s=n(i.g,o.g),l=n(i.b,o.b),u=HV(i.opacity,o.opacity);return function(f){return i.r=a(f),i.g=s(f),i.b=l(f),i.opacity=u(f),i+""}}return r.gamma=e,r}(1);function dRe(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(o){for(i=0;in&&(o=t.slice(n,o),s[a]?s[a]+=o:s[++a]=o),(r=r[0])===(i=i[0])?s[a]?s[a]+=i:s[++a]=i:(s[++a]=null,l.push({i:a,x:jb(r,i)})),n=BO.lastIndex;return nt&&(n=e,e=t,t=n),function(r){return Math.max(e,Math.min(t,r))}}function ORe(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i2?SRe:ORe,l=u=null,d}function d(p){return p==null||isNaN(p=+p)?o:(l||(l=s(e.map(r),t,n)))(r(a(p)))}return d.invert=function(p){return a(i((u||(u=s(t,e.map(r),jb)))(p)))},d.domain=function(p){return arguments.length?(e=Array.from(p,Pb),f()):e.slice()},d.range=function(p){return arguments.length?(t=Array.from(p),f()):t.slice()},d.rangeRound=function(p){return t=Array.from(p),n=cA,f()},d.clamp=function(p){return arguments.length?(a=p?!0:Ar,f()):a!==Ar},d.interpolate=function(p){return arguments.length?(n=p,f()):n},d.unknown=function(p){return arguments.length?(o=p,d):o},function(p,m){return r=p,i=m,f()}}function fA(){return pw()(Ar,Ar)}function ERe(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Ab(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Uf(e){return e=Ab(Math.abs(e)),e?e[1]:NaN}function TRe(e,t){return function(n,r){for(var i=n.length,o=[],a=0,s=e[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(n.substring(i-=s,i+s)),!((l+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(t)}}function CRe(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var kRe=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function _m(e){if(!(t=kRe.exec(e)))throw new Error("invalid format: "+e);var t;return new dA({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}_m.prototype=dA.prototype;function dA(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}dA.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function jRe(e){e:for(var t=e.length,n=1,r=-1,i;n0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var WV;function PRe(e,t){var n=Ab(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(WV=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Ab(e,Math.max(0,t+o-1))[0]}function n6(e,t){var n=Ab(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const r6={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:ERe,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>n6(e*100,t),r:n6,s:PRe,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function i6(e){return e}var o6=Array.prototype.map,a6=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function ARe(e){var t=e.grouping===void 0||e.thousands===void 0?i6:TRe(o6.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?i6:CRe(o6.call(e.numerals,String)),a=e.percent===void 0?"%":e.percent+"",s=e.minus===void 0?"−":e.minus+"",l=e.nan===void 0?"NaN":e.nan+"";function u(d){d=_m(d);var p=d.fill,m=d.align,v=d.sign,g=d.symbol,w=d.zero,y=d.width,b=d.comma,x=d.precision,O=d.trim,E=d.type;E==="n"?(b=!0,E="g"):r6[E]||(x===void 0&&(x=12),O=!0,E="g"),(w||p==="0"&&m==="=")&&(w=!0,p="0",m="=");var T=g==="$"?n:g==="#"&&/[boxX]/.test(E)?"0"+E.toLowerCase():"",k=g==="$"?r:/[%p]/.test(E)?a:"",A=r6[E],D=/[defgprs%]/.test(E);x=x===void 0?6:/[gprs]/.test(E)?Math.max(1,Math.min(21,x)):Math.max(0,Math.min(20,x));function R(I){var z=T,G=k,H,Q,Z;if(E==="c")G=A(I)+G,I="";else{I=+I;var te=I<0||1/I<0;if(I=isNaN(I)?l:A(Math.abs(I),x),O&&(I=jRe(I)),te&&+I==0&&v!=="+"&&(te=!1),z=(te?v==="("?v:s:v==="-"||v==="("?"":v)+z,G=(E==="s"?a6[8+WV/3]:"")+G+(te&&v==="("?")":""),D){for(H=-1,Q=I.length;++HZ||Z>57){G=(Z===46?i+I.slice(H+1):I.slice(H))+G,I=I.slice(0,H);break}}}b&&!w&&(I=t(I,1/0));var X=z.length+I.length+G.length,$=X>1)+z+I+G+$.slice(X);break;default:I=$+z+I+G;break}return o(I)}return R.toString=function(){return d+""},R}function f(d,p){var m=u((d=_m(d),d.type="f",d)),v=Math.max(-8,Math.min(8,Math.floor(Uf(p)/3)))*3,g=Math.pow(10,-v),w=a6[8+v/3];return function(y){return m(g*y)+w}}return{format:u,formatPrefix:f}}var qg,pA,YV;NRe({thousands:",",grouping:[3],currency:["$",""]});function NRe(e){return qg=ARe(e),pA=qg.format,YV=qg.formatPrefix,qg}function MRe(e){return Math.max(0,-Uf(Math.abs(e)))}function LRe(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Uf(t)/3)))*3-Uf(Math.abs(e)))}function RRe(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Uf(t)-Uf(e))+1}function GV(e,t,n,r){var i=rC(e,t,n),o;switch(r=_m(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(o=LRe(i,a))&&(r.precision=o),YV(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(o=RRe(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=o-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(o=MRe(i))&&(r.precision=o-(r.type==="%")*2);break}}return pA(r)}function ml(e){var t=e.domain;return e.ticks=function(n){var r=t();return tC(r[0],r[r.length-1],n??10)},e.tickFormat=function(n,r){var i=t();return GV(i[0],i[i.length-1],n??10,r)},e.nice=function(n){n==null&&(n=10);var r=t(),i=0,o=r.length-1,a=r[i],s=r[o],l,u,f=10;for(s0;){if(u=nC(a,s,n),u===l)return r[i]=a,r[o]=s,t(r);if(u>0)a=Math.floor(a/u)*u,s=Math.ceil(s/u)*u;else if(u<0)a=Math.ceil(a*u)/u,s=Math.floor(s*u)/u;else break;l=u}return e},e}function Nb(){var e=fA();return e.copy=function(){return Sv(e,Nb())},Ki.apply(e,arguments),ml(e)}function qV(e){var t;function n(r){return r==null||isNaN(r=+r)?t:r}return n.invert=n,n.domain=n.range=function(r){return arguments.length?(e=Array.from(r,Pb),n):e.slice()},n.unknown=function(r){return arguments.length?(t=r,n):t},n.copy=function(){return qV(e).unknown(t)},e=arguments.length?Array.from(e,Pb):[0,1],ml(n)}function KV(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],o=e[r],a;return oMath.pow(e,t)}function $Re(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function u6(e){return(t,n)=>-e(-t,n)}function hA(e){const t=e(s6,l6),n=t.domain;let r=10,i,o;function a(){return i=$Re(r),o=URe(r),n()[0]<0?(i=u6(i),o=u6(o),e(DRe,IRe)):e(s6,l6),t}return t.base=function(s){return arguments.length?(r=+s,a()):r},t.domain=function(s){return arguments.length?(n(s),a()):n()},t.ticks=s=>{const l=n();let u=l[0],f=l[l.length-1];const d=f0){for(;p<=m;++p)for(v=1;vf)break;y.push(g)}}else for(;p<=m;++p)for(v=r-1;v>=1;--v)if(g=p>0?v/o(-p):v*o(p),!(gf)break;y.push(g)}y.length*2{if(s==null&&(s=10),l==null&&(l=r===10?"s":","),typeof l!="function"&&(!(r%1)&&(l=_m(l)).precision==null&&(l.trim=!0),l=pA(l)),s===1/0)return l;const u=Math.max(1,r*s/t.ticks().length);return f=>{let d=f/o(Math.round(i(f)));return d*rn(KV(n(),{floor:s=>o(Math.floor(i(s))),ceil:s=>o(Math.ceil(i(s)))})),t}function ZV(){const e=hA(pw()).domain([1,10]);return e.copy=()=>Sv(e,ZV()).base(e.base()),Ki.apply(e,arguments),e}function c6(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function f6(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function mA(e){var t=1,n=e(c6(t),f6(t));return n.constant=function(r){return arguments.length?e(c6(t=+r),f6(t)):t},ml(n)}function XV(){var e=mA(pw());return e.copy=function(){return Sv(e,XV()).constant(e.constant())},Ki.apply(e,arguments)}function d6(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function BRe(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function zRe(e){return e<0?-e*e:e*e}function vA(e){var t=e(Ar,Ar),n=1;function r(){return n===1?e(Ar,Ar):n===.5?e(BRe,zRe):e(d6(n),d6(1/n))}return t.exponent=function(i){return arguments.length?(n=+i,r()):n},ml(t)}function gA(){var e=vA(pw());return e.copy=function(){return Sv(e,gA()).exponent(e.exponent())},Ki.apply(e,arguments),e}function VRe(){return gA.apply(null,arguments).exponent(.5)}function p6(e){return Math.sign(e)*e*e}function HRe(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function QV(){var e=fA(),t=[0,1],n=!1,r;function i(o){var a=HRe(e(o));return isNaN(a)?r:n?Math.round(a):a}return i.invert=function(o){return e.invert(p6(o))},i.domain=function(o){return arguments.length?(e.domain(o),i):e.domain()},i.range=function(o){return arguments.length?(e.range((t=Array.from(o,Pb)).map(p6)),i):t.slice()},i.rangeRound=function(o){return i.range(o).round(!0)},i.round=function(o){return arguments.length?(n=!!o,i):n},i.clamp=function(o){return arguments.length?(e.clamp(o),i):e.clamp()},i.unknown=function(o){return arguments.length?(r=o,i):r},i.copy=function(){return QV(e.domain(),t).round(n).clamp(e.clamp()).unknown(r)},Ki.apply(i,arguments),ml(i)}function JV(){var e=[],t=[],n=[],r;function i(){var a=0,s=Math.max(1,t.length);for(n=new Array(s-1);++a0?n[s-1]:e[0],s=n?[r[n-1],t]:[r[u-1],r[u]]},a.unknown=function(l){return arguments.length&&(o=l),a},a.thresholds=function(){return r.slice()},a.copy=function(){return eH().domain([e,t]).range(i).unknown(o)},Ki.apply(ml(a),arguments)}function tH(){var e=[.5],t=[0,1],n,r=1;function i(o){return o!=null&&o<=o?t[xv(e,o,0,r)]:n}return i.domain=function(o){return arguments.length?(e=Array.from(o),r=Math.min(e.length,t.length-1),i):e.slice()},i.range=function(o){return arguments.length?(t=Array.from(o),r=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(o){var a=t.indexOf(o);return[e[a-1],e[a]]},i.unknown=function(o){return arguments.length?(n=o,i):n},i.copy=function(){return tH().domain(e).range(t).unknown(n)},Ki.apply(i,arguments)}const zO=new Date,VO=new Date;function Mn(e,t,n,r){function i(o){return e(o=arguments.length===0?new Date:new Date(+o)),o}return i.floor=o=>(e(o=new Date(+o)),o),i.ceil=o=>(e(o=new Date(o-1)),t(o,1),e(o),o),i.round=o=>{const a=i(o),s=i.ceil(o);return o-a(t(o=new Date(+o),a==null?1:Math.floor(a)),o),i.range=(o,a,s)=>{const l=[];if(o=i.ceil(o),s=s==null?1:Math.floor(s),!(o0))return l;let u;do l.push(u=new Date(+o)),t(o,s),e(o);while(uMn(a=>{if(a>=a)for(;e(a),!o(a);)a.setTime(a-1)},(a,s)=>{if(a>=a)if(s<0)for(;++s<=0;)for(;t(a,-1),!o(a););else for(;--s>=0;)for(;t(a,1),!o(a););}),n&&(i.count=(o,a)=>(zO.setTime(+o),VO.setTime(+a),e(zO),e(VO),Math.floor(n(zO,VO))),i.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?i.filter(r?a=>r(a)%o===0:a=>i.count(0,a)%o===0):i)),i}const Mb=Mn(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Mb.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?Mn(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):Mb);Mb.range;const wa=1e3,Ai=wa*60,xa=Ai*60,Ba=xa*24,yA=Ba*7,h6=Ba*30,HO=Ba*365,Zl=Mn(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*wa)},(e,t)=>(t-e)/wa,e=>e.getUTCSeconds());Zl.range;const bA=Mn(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*wa)},(e,t)=>{e.setTime(+e+t*Ai)},(e,t)=>(t-e)/Ai,e=>e.getMinutes());bA.range;const _A=Mn(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Ai)},(e,t)=>(t-e)/Ai,e=>e.getUTCMinutes());_A.range;const wA=Mn(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*wa-e.getMinutes()*Ai)},(e,t)=>{e.setTime(+e+t*xa)},(e,t)=>(t-e)/xa,e=>e.getHours());wA.range;const xA=Mn(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*xa)},(e,t)=>(t-e)/xa,e=>e.getUTCHours());xA.range;const Ev=Mn(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Ai)/Ba,e=>e.getDate()-1);Ev.range;const hw=Mn(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Ba,e=>e.getUTCDate()-1);hw.range;const nH=Mn(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Ba,e=>Math.floor(e/Ba));nH.range;function Iu(e){return Mn(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Ai)/yA)}const mw=Iu(0),Lb=Iu(1),WRe=Iu(2),YRe=Iu(3),$f=Iu(4),GRe=Iu(5),qRe=Iu(6);mw.range;Lb.range;WRe.range;YRe.range;$f.range;GRe.range;qRe.range;function Fu(e){return Mn(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/yA)}const vw=Fu(0),Rb=Fu(1),KRe=Fu(2),ZRe=Fu(3),Bf=Fu(4),XRe=Fu(5),QRe=Fu(6);vw.range;Rb.range;KRe.range;ZRe.range;Bf.range;XRe.range;QRe.range;const OA=Mn(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());OA.range;const SA=Mn(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());SA.range;const za=Mn(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());za.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Mn(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});za.range;const Va=Mn(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());Va.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Mn(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});Va.range;function rH(e,t,n,r,i,o){const a=[[Zl,1,wa],[Zl,5,5*wa],[Zl,15,15*wa],[Zl,30,30*wa],[o,1,Ai],[o,5,5*Ai],[o,15,15*Ai],[o,30,30*Ai],[i,1,xa],[i,3,3*xa],[i,6,6*xa],[i,12,12*xa],[r,1,Ba],[r,2,2*Ba],[n,1,yA],[t,1,h6],[t,3,3*h6],[e,1,HO]];function s(u,f,d){const p=fw).right(a,p);if(m===a.length)return e.every(rC(u/HO,f/HO,d));if(m===0)return Mb.every(Math.max(rC(u,f,d),1));const[v,g]=a[p/a[m-1][2]53)return null;"w"in K||(K.w=1),"Z"in K?(he=YO(pp(K.y,0,1)),Ee=he.getUTCDay(),he=Ee>4||Ee===0?Rb.ceil(he):Rb(he),he=hw.offset(he,(K.V-1)*7),K.y=he.getUTCFullYear(),K.m=he.getUTCMonth(),K.d=he.getUTCDate()+(K.w+6)%7):(he=WO(pp(K.y,0,1)),Ee=he.getDay(),he=Ee>4||Ee===0?Lb.ceil(he):Lb(he),he=Ev.offset(he,(K.V-1)*7),K.y=he.getFullYear(),K.m=he.getMonth(),K.d=he.getDate()+(K.w+6)%7)}else("W"in K||"U"in K)&&("w"in K||(K.w="u"in K?K.u%7:"W"in K?1:0),Ee="Z"in K?YO(pp(K.y,0,1)).getUTCDay():WO(pp(K.y,0,1)).getDay(),K.m=0,K.d="W"in K?(K.w+6)%7+K.W*7-(Ee+5)%7:K.w+K.U*7-(Ee+6)%7);return"Z"in K?(K.H+=K.Z/100|0,K.M+=K.Z%100,YO(K)):WO(K)}}function A(P,B,J,K){for(var le=0,he=B.length,Ee=J.length,ue,ve;le=Ee)return-1;if(ue=B.charCodeAt(le++),ue===37){if(ue=B.charAt(le++),ve=E[ue in m6?B.charAt(le++):ue],!ve||(K=ve(P,J,K))<0)return-1}else if(ue!=J.charCodeAt(K++))return-1}return K}function D(P,B,J){var K=u.exec(B.slice(J));return K?(P.p=f.get(K[0].toLowerCase()),J+K[0].length):-1}function R(P,B,J){var K=m.exec(B.slice(J));return K?(P.w=v.get(K[0].toLowerCase()),J+K[0].length):-1}function I(P,B,J){var K=d.exec(B.slice(J));return K?(P.w=p.get(K[0].toLowerCase()),J+K[0].length):-1}function z(P,B,J){var K=y.exec(B.slice(J));return K?(P.m=b.get(K[0].toLowerCase()),J+K[0].length):-1}function G(P,B,J){var K=g.exec(B.slice(J));return K?(P.m=w.get(K[0].toLowerCase()),J+K[0].length):-1}function H(P,B,J){return A(P,t,B,J)}function Q(P,B,J){return A(P,n,B,J)}function Z(P,B,J){return A(P,r,B,J)}function te(P){return a[P.getDay()]}function X(P){return o[P.getDay()]}function $(P){return l[P.getMonth()]}function V(P){return s[P.getMonth()]}function W(P){return i[+(P.getHours()>=12)]}function re(P){return 1+~~(P.getMonth()/3)}function q(P){return a[P.getUTCDay()]}function ee(P){return o[P.getUTCDay()]}function ie(P){return l[P.getUTCMonth()]}function se(P){return s[P.getUTCMonth()]}function fe(P){return i[+(P.getUTCHours()>=12)]}function j(P){return 1+~~(P.getUTCMonth()/3)}return{format:function(P){var B=T(P+="",x);return B.toString=function(){return P},B},parse:function(P){var B=k(P+="",!1);return B.toString=function(){return P},B},utcFormat:function(P){var B=T(P+="",O);return B.toString=function(){return P},B},utcParse:function(P){var B=k(P+="",!0);return B.toString=function(){return P},B}}}var m6={"-":"",_:" ",0:"0"},Qn=/^\s*\d+/,iDe=/^%/,oDe=/[\\^$*+?|[\]().{}]/g;function xt(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o[t.toLowerCase(),n]))}function sDe(e,t,n){var r=Qn.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function lDe(e,t,n){var r=Qn.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function uDe(e,t,n){var r=Qn.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function cDe(e,t,n){var r=Qn.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function fDe(e,t,n){var r=Qn.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function v6(e,t,n){var r=Qn.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function g6(e,t,n){var r=Qn.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function dDe(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function pDe(e,t,n){var r=Qn.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function hDe(e,t,n){var r=Qn.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function y6(e,t,n){var r=Qn.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function mDe(e,t,n){var r=Qn.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function b6(e,t,n){var r=Qn.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function vDe(e,t,n){var r=Qn.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function gDe(e,t,n){var r=Qn.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function yDe(e,t,n){var r=Qn.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function bDe(e,t,n){var r=Qn.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function _De(e,t,n){var r=iDe.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function wDe(e,t,n){var r=Qn.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function xDe(e,t,n){var r=Qn.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function _6(e,t){return xt(e.getDate(),t,2)}function ODe(e,t){return xt(e.getHours(),t,2)}function SDe(e,t){return xt(e.getHours()%12||12,t,2)}function EDe(e,t){return xt(1+Ev.count(za(e),e),t,3)}function iH(e,t){return xt(e.getMilliseconds(),t,3)}function TDe(e,t){return iH(e,t)+"000"}function CDe(e,t){return xt(e.getMonth()+1,t,2)}function kDe(e,t){return xt(e.getMinutes(),t,2)}function jDe(e,t){return xt(e.getSeconds(),t,2)}function PDe(e){var t=e.getDay();return t===0?7:t}function ADe(e,t){return xt(mw.count(za(e)-1,e),t,2)}function oH(e){var t=e.getDay();return t>=4||t===0?$f(e):$f.ceil(e)}function NDe(e,t){return e=oH(e),xt($f.count(za(e),e)+(za(e).getDay()===4),t,2)}function MDe(e){return e.getDay()}function LDe(e,t){return xt(Lb.count(za(e)-1,e),t,2)}function RDe(e,t){return xt(e.getFullYear()%100,t,2)}function DDe(e,t){return e=oH(e),xt(e.getFullYear()%100,t,2)}function IDe(e,t){return xt(e.getFullYear()%1e4,t,4)}function FDe(e,t){var n=e.getDay();return e=n>=4||n===0?$f(e):$f.ceil(e),xt(e.getFullYear()%1e4,t,4)}function UDe(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+xt(t/60|0,"0",2)+xt(t%60,"0",2)}function w6(e,t){return xt(e.getUTCDate(),t,2)}function $De(e,t){return xt(e.getUTCHours(),t,2)}function BDe(e,t){return xt(e.getUTCHours()%12||12,t,2)}function zDe(e,t){return xt(1+hw.count(Va(e),e),t,3)}function aH(e,t){return xt(e.getUTCMilliseconds(),t,3)}function VDe(e,t){return aH(e,t)+"000"}function HDe(e,t){return xt(e.getUTCMonth()+1,t,2)}function WDe(e,t){return xt(e.getUTCMinutes(),t,2)}function YDe(e,t){return xt(e.getUTCSeconds(),t,2)}function GDe(e){var t=e.getUTCDay();return t===0?7:t}function qDe(e,t){return xt(vw.count(Va(e)-1,e),t,2)}function sH(e){var t=e.getUTCDay();return t>=4||t===0?Bf(e):Bf.ceil(e)}function KDe(e,t){return e=sH(e),xt(Bf.count(Va(e),e)+(Va(e).getUTCDay()===4),t,2)}function ZDe(e){return e.getUTCDay()}function XDe(e,t){return xt(Rb.count(Va(e)-1,e),t,2)}function QDe(e,t){return xt(e.getUTCFullYear()%100,t,2)}function JDe(e,t){return e=sH(e),xt(e.getUTCFullYear()%100,t,2)}function eIe(e,t){return xt(e.getUTCFullYear()%1e4,t,4)}function tIe(e,t){var n=e.getUTCDay();return e=n>=4||n===0?Bf(e):Bf.ceil(e),xt(e.getUTCFullYear()%1e4,t,4)}function nIe(){return"+0000"}function x6(){return"%"}function O6(e){return+e}function S6(e){return Math.floor(+e/1e3)}var uc,lH,uH;rIe({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function rIe(e){return uc=rDe(e),lH=uc.format,uc.parse,uH=uc.utcFormat,uc.utcParse,uc}function iIe(e){return new Date(e)}function oIe(e){return e instanceof Date?+e:+new Date(+e)}function EA(e,t,n,r,i,o,a,s,l,u){var f=fA(),d=f.invert,p=f.domain,m=u(".%L"),v=u(":%S"),g=u("%I:%M"),w=u("%I %p"),y=u("%a %d"),b=u("%b %d"),x=u("%B"),O=u("%Y");function E(T){return(l(T)t(i/(e.length-1)))},n.quantiles=function(r){return Array.from({length:r+1},(i,o)=>qLe(e,o/r))},n.copy=function(){return pH(t).domain(e)},ts.apply(n,arguments)}function yw(){var e=0,t=.5,n=1,r=1,i,o,a,s,l,u=Ar,f,d=!1,p;function m(g){return isNaN(g=+g)?p:(g=.5+((g=+f(g))-o)*(r*gt}var gH=dIe,pIe=bw,hIe=gH,mIe=Sd;function vIe(e){return e&&e.length?pIe(e,mIe,hIe):void 0}var gIe=vIe;const Ps=Ot(gIe);function yIe(e,t){return ee.e^o.s<0?1:-1;for(r=o.d.length,i=e.d.length,t=0,n=re.d[t]^o.s<0?1:-1;return r===i?0:r>i^o.s<0?1:-1};Be.decimalPlaces=Be.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*Bt;if(t=e.d[t],t)for(;t%10==0;t/=10)n--;return n<0?0:n};Be.dividedBy=Be.div=function(e){return Ca(this,new this.constructor(e))};Be.dividedToIntegerBy=Be.idiv=function(e){var t=this,n=t.constructor;return Mt(Ca(t,new n(e),0,1),n.precision)};Be.equals=Be.eq=function(e){return!this.cmp(e)};Be.exponent=function(){return Sn(this)};Be.greaterThan=Be.gt=function(e){return this.cmp(e)>0};Be.greaterThanOrEqualTo=Be.gte=function(e){return this.cmp(e)>=0};Be.isInteger=Be.isint=function(){return this.e>this.d.length-2};Be.isNegative=Be.isneg=function(){return this.s<0};Be.isPositive=Be.ispos=function(){return this.s>0};Be.isZero=function(){return this.s===0};Be.lessThan=Be.lt=function(e){return this.cmp(e)<0};Be.lessThanOrEqualTo=Be.lte=function(e){return this.cmp(e)<1};Be.logarithm=Be.log=function(e){var t,n=this,r=n.constructor,i=r.precision,o=i+5;if(e===void 0)e=new r(10);else if(e=new r(e),e.s<1||e.eq(ei))throw Error(Yi+"NaN");if(n.s<1)throw Error(Yi+(n.s?"NaN":"-Infinity"));return n.eq(ei)?new r(0):(Zt=!1,t=Ca(wm(n,o),wm(e,o),o),Zt=!0,Mt(t,i))};Be.minus=Be.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?xH(t,e):_H(t,(e.s=-e.s,e))};Be.modulo=Be.mod=function(e){var t,n=this,r=n.constructor,i=r.precision;if(e=new r(e),!e.s)throw Error(Yi+"NaN");return n.s?(Zt=!1,t=Ca(n,e,0,1).times(e),Zt=!0,n.minus(t)):Mt(new r(n),i)};Be.naturalExponential=Be.exp=function(){return wH(this)};Be.naturalLogarithm=Be.ln=function(){return wm(this)};Be.negated=Be.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};Be.plus=Be.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?_H(t,e):xH(t,(e.s=-e.s,e))};Be.precision=Be.sd=function(e){var t,n,r,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(uu+e);if(t=Sn(i)+1,r=i.d.length-1,n=r*Bt+1,r=i.d[r],r){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return e&&t>n?t:n};Be.squareRoot=Be.sqrt=function(){var e,t,n,r,i,o,a,s=this,l=s.constructor;if(s.s<1){if(!s.s)return new l(0);throw Error(Yi+"NaN")}for(e=Sn(s),Zt=!1,i=Math.sqrt(+s),i==0||i==1/0?(t=Uo(s.d),(t.length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=kd((e+1)/2)-(e<0||e%2),i==1/0?t="5e"+e:(t=i.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),r=new l(t)):r=new l(i.toString()),n=l.precision,i=a=n+3;;)if(o=r,r=o.plus(Ca(s,o,a+2)).times(.5),Uo(o.d).slice(0,a)===(t=Uo(r.d)).slice(0,a)){if(t=t.slice(a-3,a+1),i==a&&t=="4999"){if(Mt(o,n+1,0),o.times(o).eq(s)){r=o;break}}else if(t!="9999")break;a+=4}return Zt=!0,Mt(r,n)};Be.times=Be.mul=function(e){var t,n,r,i,o,a,s,l,u,f=this,d=f.constructor,p=f.d,m=(e=new d(e)).d;if(!f.s||!e.s)return new d(0);for(e.s*=f.s,n=f.e+e.e,l=p.length,u=m.length,l=0;){for(t=0,i=l+r;i>r;)s=o[i]+m[r]*p[i-r-1]+t,o[i--]=s%Bn|0,t=s/Bn|0;o[i]=(o[i]+t)%Bn|0}for(;!o[--a];)o.pop();return t?++n:o.shift(),e.d=o,e.e=n,Zt?Mt(e,d.precision):e};Be.toDecimalPlaces=Be.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),e===void 0?n:(ea(e,0,Cd),t===void 0?t=r.rounding:ea(t,0,8),Mt(n,e+Sn(n)+1,t))};Be.toExponential=function(e,t){var n,r=this,i=r.constructor;return e===void 0?n=Eu(r,!0):(ea(e,0,Cd),t===void 0?t=i.rounding:ea(t,0,8),r=Mt(new i(r),e+1,t),n=Eu(r,!0,e+1)),n};Be.toFixed=function(e,t){var n,r,i=this,o=i.constructor;return e===void 0?Eu(i):(ea(e,0,Cd),t===void 0?t=o.rounding:ea(t,0,8),r=Mt(new o(i),e+Sn(i)+1,t),n=Eu(r.abs(),!1,e+Sn(r)+1),i.isneg()&&!i.isZero()?"-"+n:n)};Be.toInteger=Be.toint=function(){var e=this,t=e.constructor;return Mt(new t(e),Sn(e)+1,t.rounding)};Be.toNumber=function(){return+this};Be.toPower=Be.pow=function(e){var t,n,r,i,o,a,s=this,l=s.constructor,u=12,f=+(e=new l(e));if(!e.s)return new l(ei);if(s=new l(s),!s.s){if(e.s<1)throw Error(Yi+"Infinity");return s}if(s.eq(ei))return s;if(r=l.precision,e.eq(ei))return Mt(s,r);if(t=e.e,n=e.d.length-1,a=t>=n,o=s.s,a){if((n=f<0?-f:f)<=bH){for(i=new l(ei),t=Math.ceil(r/Bt+4),Zt=!1;n%2&&(i=i.times(s),C6(i.d,t)),n=kd(n/2),n!==0;)s=s.times(s),C6(s.d,t);return Zt=!0,e.s<0?new l(ei).div(i):Mt(i,r)}}else if(o<0)throw Error(Yi+"NaN");return o=o<0&&e.d[Math.max(t,n)]&1?-1:1,s.s=1,Zt=!1,i=e.times(wm(s,r+u)),Zt=!0,i=wH(i),i.s=o,i};Be.toPrecision=function(e,t){var n,r,i=this,o=i.constructor;return e===void 0?(n=Sn(i),r=Eu(i,n<=o.toExpNeg||n>=o.toExpPos)):(ea(e,1,Cd),t===void 0?t=o.rounding:ea(t,0,8),i=Mt(new o(i),e,t),n=Sn(i),r=Eu(i,e<=n||n<=o.toExpNeg,e)),r};Be.toSignificantDigits=Be.tosd=function(e,t){var n=this,r=n.constructor;return e===void 0?(e=r.precision,t=r.rounding):(ea(e,1,Cd),t===void 0?t=r.rounding:ea(t,0,8)),Mt(new r(n),e,t)};Be.toString=Be.valueOf=Be.val=Be.toJSON=Be[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=Sn(e),n=e.constructor;return Eu(e,t<=n.toExpNeg||t>=n.toExpPos)};function _H(e,t){var n,r,i,o,a,s,l,u,f=e.constructor,d=f.precision;if(!e.s||!t.s)return t.s||(t=new f(e)),Zt?Mt(t,d):t;if(l=e.d,u=t.d,a=e.e,i=t.e,l=l.slice(),o=a-i,o){for(o<0?(r=l,o=-o,s=u.length):(r=u,i=a,s=l.length),a=Math.ceil(d/Bt),s=a>s?a+1:s+1,o>s&&(o=s,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for(s=l.length,o=u.length,s-o<0&&(o=s,r=u,u=l,l=r),n=0;o;)n=(l[--o]=l[o]+u[o]+n)/Bn|0,l[o]%=Bn;for(n&&(l.unshift(n),++i),s=l.length;l[--s]==0;)l.pop();return t.d=l,t.e=i,Zt?Mt(t,d):t}function ea(e,t,n){if(e!==~~e||en)throw Error(uu+e)}function Uo(e){var t,n,r,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;ta?1:-1;else for(s=l=0;si[s]?1:-1;break}return l}function n(r,i,o){for(var a=0;o--;)r[o]-=a,a=r[o]1;)r.shift()}return function(r,i,o,a){var s,l,u,f,d,p,m,v,g,w,y,b,x,O,E,T,k,A,D=r.constructor,R=r.s==i.s?1:-1,I=r.d,z=i.d;if(!r.s)return new D(r);if(!i.s)throw Error(Yi+"Division by zero");for(l=r.e-i.e,k=z.length,E=I.length,m=new D(R),v=m.d=[],u=0;z[u]==(I[u]||0);)++u;if(z[u]>(I[u]||0)&&--l,o==null?b=o=D.precision:a?b=o+(Sn(r)-Sn(i))+1:b=o,b<0)return new D(0);if(b=b/Bt+2|0,u=0,k==1)for(f=0,z=z[0],b++;(u1&&(z=e(z,f),I=e(I,f),k=z.length,E=I.length),O=k,g=I.slice(0,k),w=g.length;w=Bn/2&&++T;do f=0,s=t(z,g,k,w),s<0?(y=g[0],k!=w&&(y=y*Bn+(g[1]||0)),f=y/T|0,f>1?(f>=Bn&&(f=Bn-1),d=e(z,f),p=d.length,w=g.length,s=t(d,g,p,w),s==1&&(f--,n(d,k16)throw Error(kA+Sn(e));if(!e.s)return new f(ei);for(t==null?(Zt=!1,s=d):s=t,a=new f(.03125);e.abs().gte(.1);)e=e.times(a),u+=5;for(r=Math.log(Fl(2,u))/Math.LN10*2+5|0,s+=r,n=i=o=new f(ei),f.precision=s;;){if(i=Mt(i.times(e),s),n=n.times(++l),a=o.plus(Ca(i,n,s)),Uo(a.d).slice(0,s)===Uo(o.d).slice(0,s)){for(;u--;)o=Mt(o.times(o),s);return f.precision=d,t==null?(Zt=!0,Mt(o,d)):o}o=a}}function Sn(e){for(var t=e.e*Bt,n=e.d[0];n>=10;n/=10)t++;return t}function GO(e,t,n){if(t>e.LN10.sd())throw Zt=!0,n&&(e.precision=n),Error(Yi+"LN10 precision limit exceeded");return Mt(new e(e.LN10),t)}function ws(e){for(var t="";e--;)t+="0";return t}function wm(e,t){var n,r,i,o,a,s,l,u,f,d=1,p=10,m=e,v=m.d,g=m.constructor,w=g.precision;if(m.s<1)throw Error(Yi+(m.s?"NaN":"-Infinity"));if(m.eq(ei))return new g(0);if(t==null?(Zt=!1,u=w):u=t,m.eq(10))return t==null&&(Zt=!0),GO(g,u);if(u+=p,g.precision=u,n=Uo(v),r=n.charAt(0),o=Sn(m),Math.abs(o)<15e14){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)m=m.times(e),n=Uo(m.d),r=n.charAt(0),d++;o=Sn(m),r>1?(m=new g("0."+n),o++):m=new g(r+"."+n.slice(1))}else return l=GO(g,u+2,w).times(o+""),m=wm(new g(r+"."+n.slice(1)),u-p).plus(l),g.precision=w,t==null?(Zt=!0,Mt(m,w)):m;for(s=a=m=Ca(m.minus(ei),m.plus(ei),u),f=Mt(m.times(m),u),i=3;;){if(a=Mt(a.times(f),u),l=s.plus(Ca(a,new g(i),u)),Uo(l.d).slice(0,u)===Uo(s.d).slice(0,u))return s=s.times(2),o!==0&&(s=s.plus(GO(g,u+2,w).times(o+""))),s=Ca(s,new g(d),u),g.precision=w,t==null?(Zt=!0,Mt(s,w)):s;s=l,i+=2}}function T6(e,t){var n,r,i;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charCodeAt(r)===48;)++r;for(i=t.length;t.charCodeAt(i-1)===48;)--i;if(t=t.slice(r,i),t){if(i-=r,n=n-r-1,e.e=kd(n/Bt),e.d=[],r=(n+1)%Bt,n<0&&(r+=Bt),rDb||e.e<-Db))throw Error(kA+n)}else e.s=0,e.e=0,e.d=[0];return e}function Mt(e,t,n){var r,i,o,a,s,l,u,f,d=e.d;for(a=1,o=d[0];o>=10;o/=10)a++;if(r=t-a,r<0)r+=Bt,i=t,u=d[f=0];else{if(f=Math.ceil((r+1)/Bt),o=d.length,f>=o)return e;for(u=o=d[f],a=1;o>=10;o/=10)a++;r%=Bt,i=r-Bt+a}if(n!==void 0&&(o=Fl(10,a-i-1),s=u/o%10|0,l=t<0||d[f+1]!==void 0||u%o,l=n<4?(s||l)&&(n==0||n==(e.s<0?3:2)):s>5||s==5&&(n==4||l||n==6&&(r>0?i>0?u/Fl(10,a-i):0:d[f-1])%10&1||n==(e.s<0?8:7))),t<1||!d[0])return l?(o=Sn(e),d.length=1,t=t-o-1,d[0]=Fl(10,(Bt-t%Bt)%Bt),e.e=kd(-t/Bt)||0):(d.length=1,d[0]=e.e=e.s=0),e;if(r==0?(d.length=f,o=1,f--):(d.length=f+1,o=Fl(10,Bt-r),d[f]=i>0?(u/Fl(10,a-i)%Fl(10,i)|0)*o:0),l)for(;;)if(f==0){(d[0]+=o)==Bn&&(d[0]=1,++e.e);break}else{if(d[f]+=o,d[f]!=Bn)break;d[f--]=0,o=1}for(r=d.length;d[--r]===0;)d.pop();if(Zt&&(e.e>Db||e.e<-Db))throw Error(kA+Sn(e));return e}function xH(e,t){var n,r,i,o,a,s,l,u,f,d,p=e.constructor,m=p.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new p(e),Zt?Mt(t,m):t;if(l=e.d,d=t.d,r=t.e,u=e.e,l=l.slice(),a=u-r,a){for(f=a<0,f?(n=l,a=-a,s=d.length):(n=d,r=u,s=l.length),i=Math.max(Math.ceil(m/Bt),s)+2,a>i&&(a=i,n.length=1),n.reverse(),i=a;i--;)n.push(0);n.reverse()}else{for(i=l.length,s=d.length,f=i0;--i)l[s++]=0;for(i=d.length;i>a;){if(l[--i]0?o=o.charAt(0)+"."+o.slice(1)+ws(r):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+ws(-i-1)+o,n&&(r=n-a)>0&&(o+=ws(r))):i>=a?(o+=ws(i+1-a),n&&(r=n-i-1)>0&&(o=o+"."+ws(r))):((r=i+1)0&&(i+1===a&&(o+="."),o+=ws(r))),e.s<0?"-"+o:o}function C6(e,t){if(e.length>t)return e.length=t,!0}function OH(e){var t,n,r;function i(o){var a=this;if(!(a instanceof i))return new i(o);if(a.constructor=i,o instanceof i){a.s=o.s,a.e=o.e,a.d=(o=o.d)?o.slice():o;return}if(typeof o=="number"){if(o*0!==0)throw Error(uu+o);if(o>0)a.s=1;else if(o<0)o=-o,a.s=-1;else{a.s=0,a.e=0,a.d=[0];return}if(o===~~o&&o<1e7){a.e=0,a.d=[o];return}return T6(a,o.toString())}else if(typeof o!="string")throw Error(uu+o);if(o.charCodeAt(0)===45?(o=o.slice(1),a.s=-1):a.s=1,UIe.test(o))T6(a,o);else throw Error(uu+o)}if(i.prototype=Be,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=OH,i.config=i.set=$Ie,e===void 0&&(e={}),e)for(r=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t=i[t+1]&&r<=i[t+2])this[n]=r;else throw Error(uu+n+": "+r);if((r=e[n="LN10"])!==void 0)if(r==Math.LN10)this[n]=new this(r);else throw Error(uu+n+": "+r);return this}var jA=OH(FIe);ei=new jA(1);const Pt=jA;function BIe(e){return WIe(e)||HIe(e)||VIe(e)||zIe()}function zIe(){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 VIe(e,t){if(e){if(typeof e=="string")return lC(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 lC(e,t)}}function HIe(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function WIe(e){if(Array.isArray(e))return lC(e)}function lC(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=t?n.apply(void 0,i):e(t-a,k6(function(){for(var s=arguments.length,l=new Array(s),u=0;ue.length)&&(t=e.length);for(var n=0,r=new Array(t);n"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(l){i=!0,o=l}finally{try{!r&&a.return!=null&&a.return()}finally{if(i)throw o}}return n}}function a4e(e){if(Array.isArray(e))return e}function kH(e){var t=xm(e,2),n=t[0],r=t[1],i=n,o=r;return n>r&&(i=r,o=n),[i,o]}function jH(e,t,n){if(e.lte(0))return new Pt(0);var r=xw.getDigitCount(e.toNumber()),i=new Pt(10).pow(r),o=e.div(i),a=r!==1?.05:.1,s=new Pt(Math.ceil(o.div(a).toNumber())).add(n).mul(a),l=s.mul(i);return t?l:new Pt(Math.ceil(l))}function s4e(e,t,n){var r=1,i=new Pt(e);if(!i.isint()&&n){var o=Math.abs(e);o<1?(r=new Pt(10).pow(xw.getDigitCount(e)-1),i=new Pt(Math.floor(i.div(r).toNumber())).mul(r)):o>1&&(i=new Pt(Math.floor(e)))}else e===0?i=new Pt(Math.floor((t-1)/2)):n||(i=new Pt(Math.floor(e)));var a=Math.floor((t-1)/2),s=KIe(qIe(function(l){return i.add(new Pt(l-a).mul(r)).toNumber()}),uC);return s(0,t)}function PH(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 Pt(0),tickMin:new Pt(0),tickMax:new Pt(0)};var o=jH(new Pt(t).sub(e).div(n-1),r,i),a;e<=0&&t>=0?a=new Pt(0):(a=new Pt(e).add(t).div(2),a=a.sub(new Pt(a).mod(o)));var s=Math.ceil(a.sub(e).div(o).toNumber()),l=Math.ceil(new Pt(t).sub(a).div(o).toNumber()),u=s+l+1;return u>n?PH(e,t,n,r,i+1):(u0?l+(n-u):l,s=t>0?s:s+(n-u)),{step:o,tickMin:a.sub(new Pt(s).mul(o)),tickMax:a.add(new Pt(l).mul(o))})}function l4e(e){var t=xm(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=kH([n,r]),l=xm(s,2),u=l[0],f=l[1];if(u===-1/0||f===1/0){var d=f===1/0?[u].concat(fC(uC(0,i-1).map(function(){return 1/0}))):[].concat(fC(uC(0,i-1).map(function(){return-1/0})),[f]);return n>r?cC(d):d}if(u===f)return s4e(u,i,o);var p=PH(u,f,a,o),m=p.step,v=p.tickMin,g=p.tickMax,w=xw.rangeStep(v,g.add(new Pt(.1).mul(m)),m);return n>r?cC(w):w}function u4e(e,t){var n=xm(e,2),r=n[0],i=n[1],o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=kH([r,i]),s=xm(a,2),l=s[0],u=s[1];if(l===-1/0||u===1/0)return[r,i];if(l===u)return[l];var f=Math.max(t,2),d=jH(new Pt(u).sub(l).div(f-1),o,0),p=[].concat(fC(xw.rangeStep(new Pt(l),new Pt(u).sub(new Pt(.99).mul(d)),d)),[u]);return r>i?cC(p):p}var c4e=TH(l4e),f4e=TH(u4e),d4e=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function Ib(){return Ib=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function b4e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function jd(e){var t=e.offset,n=e.layout,r=e.width,i=e.dataKey,o=e.data,a=e.dataPointFormatter,s=e.xAxis,l=e.yAxis,u=y4e(e,d4e),f=Ve(u),d=o.map(function(p){var m=a(p,i),v=m.x,g=m.y,w=m.value,y=m.errorVal;if(!y)return null;var b=[],x,O;if(Array.isArray(y)){var E=p4e(y,2);x=E[0],O=E[1]}else x=O=y;if(n==="vertical"){var T=s.scale,k=g+t,A=k+r,D=k-r,R=T(w-x),I=T(w+O);b.push({x1:I,y1:A,x2:I,y2:D}),b.push({x1:R,y1:k,x2:I,y2:k}),b.push({x1:R,y1:A,x2:R,y2:D})}else if(n==="horizontal"){var z=l.scale,G=v+t,H=G-r,Q=G+r,Z=z(w-x),te=z(w+O);b.push({x1:H,y1:te,x2:Q,y2:te}),b.push({x1:G,y1:Z,x2:G,y2:te}),b.push({x1:H,y1:Z,x2:Q,y2:Z})}return N.createElement(nt,Ib({className:"recharts-errorBar",key:"bar-".concat(b.map(function(X){return"".concat(X.x1,"-").concat(X.x2,"-").concat(X.y1,"-").concat(X.y2)}))},f),b.map(function(X){return N.createElement("line",Ib({},X,{key:"line-".concat(X.x1,"-").concat(X.x2,"-").concat(X.y1,"-").concat(X.y2)}))}))});return N.createElement(nt,{className:"recharts-errorBars"},d)}jd.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"};jd.displayName="ErrorBar";function Om(e){"@babel/helpers - typeof";return Om=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},Om(e)}function P6(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 qO(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=(t=n==null?void 0:n.length)!==null&&t!==void 0?t:0;if(a<=1)return 0;if(i&&i.axisType==="angleAxis"&&Math.abs(Math.abs(i.range[1]-i.range[0])-360)<=1e-6)for(var s=i.range,l=0;l0?r[l-1].coordinate:r[a-1].coordinate,f=r[l].coordinate,d=l>=a-1?r[0].coordinate:r[l+1].coordinate,p=void 0;if(Pr(f-u)!==Pr(d-f)){var m=[];if(Pr(d-f)===Pr(s[1]-s[0])){p=d;var v=f+s[1]-s[0];m[0]=Math.min(v,(v+u)/2),m[1]=Math.max(v,(v+u)/2)}else{p=u;var g=d+s[1]-s[0];m[0]=Math.min(f,(g+f)/2),m[1]=Math.max(f,(g+f)/2)}var w=[Math.min(f,(p+f)/2),Math.max(f,(p+f)/2)];if(e>w[0]&&e<=w[1]||e>=m[0]&&e<=m[1]){o=r[l].index;break}}else{var y=Math.min(u,d),b=Math.max(u,d);if(e>(y+f)/2&&e<=(b+f)/2){o=r[l].index;break}}}else for(var x=0;x0&&x(n[x].coordinate+n[x-1].coordinate)/2&&e<=(n[x].coordinate+n[x+1].coordinate)/2||x===a-1&&e>(n[x].coordinate+n[x-1].coordinate)/2){o=n[x].index;break}return o},PA=function(e){var t=e,n=t.type.displayName,r=e.props,i=r.stroke,o=r.fill,a;switch(n){case"Line":a=i;break;case"Area":case"Radar":a=i&&i!=="none"?i:o;break;default:a=o;break}return a},P4e=function(e){var t=e.barSize,n=e.stackGroups,r=n===void 0?{}:n;if(!r)return{};for(var i={},o=Object.keys(r),a=0,s=o.length;a=0});if(g&&g.length){var w=g[0].props.barSize,y=g[0].props[v];i[y]||(i[y]=[]),i[y].push({item:g[0],stackList:g.slice(1),barSize:Ze(w)?t:w})}}return i},A4e=function(e){var t=e.barGap,n=e.barCategoryGap,r=e.bandSize,i=e.sizeList,o=i===void 0?[]:i,a=e.maxBarSize,s=o.length;if(s<1)return null;var l=Ur(t,r,0,!0),u,f=[];if(o[0].barSize===+o[0].barSize){var d=!1,p=r/s,m=o.reduce(function(x,O){return x+O.barSize||0},0);m+=(s-1)*l,m>=r&&(m-=(s-1)*l,l=0),m>=r&&p>0&&(d=!0,p*=.9,m=s*p);var v=(r-m)/2>>0,g={offset:v-l,size:0};u=o.reduce(function(x,O){var E={item:O.item,position:{offset:g.offset+g.size+l,size:d?p:O.barSize}},T=[].concat(N6(x),[E]);return g=T[T.length-1].position,O.stackList&&O.stackList.length&&O.stackList.forEach(function(k){T.push({item:k,position:g})}),T},f)}else{var w=Ur(n,r,0,!0);r-2*w-(s-1)*l<=0&&(l=0);var y=(r-2*w-(s-1)*l)/s;y>1&&(y>>=0);var b=a===+a?Math.min(y,a):y;u=o.reduce(function(x,O,E){var T=[].concat(N6(x),[{item:O.item,position:{offset:w+(y+l)*E+(y-b)/2,size:b}}]);return O.stackList&&O.stackList.length&&O.stackList.forEach(function(k){T.push({item:k,position:T[T.length-1].position})}),T},f)}return u},N4e=function(e,t,n,r){var i=n.children,o=n.width,a=n.margin,s=o-(a.left||0)-(a.right||0),l=AH({children:i,legendWidth:s});if(l){var u=r||{},f=u.width,d=u.height,p=l.align,m=l.verticalAlign,v=l.layout;if((v==="vertical"||v==="horizontal"&&m==="middle")&&p!=="center"&&je(e[p]))return ki(ki({},e),{},Xc({},p,e[p]+(f||0)));if((v==="horizontal"||v==="vertical"&&p==="center")&&m!=="middle"&&je(e[m]))return ki(ki({},e),{},Xc({},m,e[m]+(d||0)))}return e},M4e=function(e,t,n){return Ze(t)?!0:e==="horizontal"?t==="yAxis":e==="vertical"||n==="x"?t==="xAxis":n==="y"?t==="yAxis":!0},NH=function(e,t,n,r,i){var o=t.props.children,a=Mr(o,jd).filter(function(l){return M4e(r,i,l.props.direction)});if(a&&a.length){var s=a.map(function(l){return l.props.dataKey});return e.reduce(function(l,u){var f=Vt(u,n,0),d=Array.isArray(f)?[_w(f),Ps(f)]:[f,f],p=s.reduce(function(m,v){var g=Vt(u,v,0),w=d[0]-Math.abs(Array.isArray(g)?g[0]:g),y=d[1]+Math.abs(Array.isArray(g)?g[1]:g);return[Math.min(w,m[0]),Math.max(y,m[1])]},[1/0,-1/0]);return[Math.min(p[0],l[0]),Math.max(p[1],l[1])]},[1/0,-1/0])}return null},L4e=function(e,t,n,r,i){var o=t.map(function(a){return NH(e,a,n,i,r)}).filter(function(a){return!Ze(a)});return o&&o.length?o.reduce(function(a,s){return[Math.min(a[0],s[0]),Math.max(a[1],s[1])]},[1/0,-1/0]):null},MH=function(e,t,n,r,i){var o=t.map(function(s){var l=s.props.dataKey;return n==="number"&&l&&NH(e,s,l,r)||Ny(e,l,n,i)});if(n==="number")return o.reduce(function(s,l){return[Math.min(s[0],l[0]),Math.max(s[1],l[1])]},[1/0,-1/0]);var a={};return o.reduce(function(s,l){for(var u=0,f=l.length;u=2?Pr(a[0]-a[1])*2*l:l,t&&(e.ticks||e.niceTicks)){var u=(e.ticks||e.niceTicks).map(function(f){var d=i?i.indexOf(f):f;return{coordinate:r(d)+l,value:f,offset:l}});return u.filter(function(f){return!wd(f.coordinate)})}return e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map(function(f,d){return{coordinate:r(f)+l,value:f,index:d,offset:l}}):r.ticks&&!n?r.ticks(e.tickCount).map(function(f){return{coordinate:r(f)+l,value:f,offset:l}}):r.domain().map(function(f,d){return{coordinate:r(f)+l,value:i?i[f]:f,index:d,offset:l}})},KO=new WeakMap,Kg=function(e,t){if(typeof t!="function")return e;KO.has(e)||KO.set(e,new WeakMap);var n=KO.get(e);if(n.has(t))return n.get(t);var r=function(){e.apply(void 0,arguments),t.apply(void 0,arguments)};return n.set(t,r),r},RH=function(e,t,n){var r=e.scale,i=e.type,o=e.layout,a=e.axisType;if(r==="auto")return o==="radial"&&a==="radiusAxis"?{scale:vm(),realScaleType:"band"}:o==="radial"&&a==="angleAxis"?{scale:Nb(),realScaleType:"linear"}:i==="category"&&t&&(t.indexOf("LineChart")>=0||t.indexOf("AreaChart")>=0||t.indexOf("ComposedChart")>=0&&!n)?{scale:ah(),realScaleType:"point"}:i==="category"?{scale:vm(),realScaleType:"band"}:{scale:Nb(),realScaleType:"linear"};if(_v(r)){var s="scale".concat(ow(r));return{scale:(E6[s]||ah)(),realScaleType:E6[s]?s:"point"}}return Qe(r)?{scale:r}:{scale:ah(),realScaleType:"point"}},L6=1e-4,DH=function(e){var t=e.domain();if(!(!t||t.length<=2)){var n=t.length,r=e.range(),i=Math.min(r[0],r[1])-L6,o=Math.max(r[0],r[1])+L6,a=e(t[0]),s=e(t[n-1]);(ao||so)&&e.domain([t[0],t[n-1]])}},R4e=function(e,t){if(!e)return null;for(var n=0,r=e.length;nr)&&(i[1]=r),i[0]>r&&(i[0]=r),i[1]=0?(e[a][n][0]=i,e[a][n][1]=i+s,i=e[a][n][1]):(e[a][n][0]=o,e[a][n][1]=o+s,o=e[a][n][1])}},F4e=function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n=0?(e[o][n][0]=i,e[o][n][1]=i+a,i=e[o][n][1]):(e[o][n][0]=0,e[o][n][1]=0)}},U4e={sign:I4e,expand:WSe,none:Nf,silhouette:YSe,wiggle:GSe,positive:F4e},$4e=function(e,t,n){var r=t.map(function(a){return a.props.dataKey}),i=U4e[n],o=HSe().keys(r).value(function(a,s){return+Vt(a,s,0)}).order(NT).offset(i);return o(e)},B4e=function(e,t,n,r,i,o){if(!e)return null;var a=o?t.reverse():t,s={},l=a.reduce(function(f,d){var p=d.props,m=p.stackId,v=p.hide;if(v)return f;var g=d.props[n],w=f[g]||{hasStack:!1,stackGroups:{}};if(Pn(m)){var y=w.stackGroups[m]||{numericAxisId:n,cateAxisId:r,items:[]};y.items.push(d),w.hasStack=!0,w.stackGroups[m]=y}else w.stackGroups[pl("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[d]};return ki(ki({},f),{},Xc({},g,w))},s),u={};return Object.keys(l).reduce(function(f,d){var p=l[d];if(p.hasStack){var m={};p.stackGroups=Object.keys(p.stackGroups).reduce(function(v,g){var w=p.stackGroups[g];return ki(ki({},v),{},Xc({},g,{numericAxisId:n,cateAxisId:r,items:w.items,stackedData:$4e(e,w.items,i)}))},m)}return ki(ki({},f),{},Xc({},d,p))},u)},IH=function(e,t){var n=t.realScaleType,r=t.type,i=t.tickCount,o=t.originalDomain,a=t.allowDecimals,s=n||t.scale;if(s!=="auto"&&s!=="linear")return null;if(i&&r==="number"&&o&&(o[0]==="auto"||o[1]==="auto")){var l=e.domain();if(!l.length)return null;var u=c4e(l,i,a);return e.domain([_w(u),Ps(u)]),{niceTicks:u}}if(i&&r==="number"){var f=e.domain(),d=f4e(f,i,a);return{niceTicks:d}}return null},zf=function(e){var t=e.axis,n=e.ticks,r=e.bandSize,i=e.entry,o=e.index,a=e.dataKey;if(t.type==="category"){if(!t.allowDuplicatedCategory&&t.dataKey&&!Ze(i[t.dataKey])){var s=sb(n,"value",i[t.dataKey]);if(s)return s.coordinate+r/2}return n[o]?n[o].coordinate+r/2:null}var l=Vt(i,Ze(a)?t.dataKey:a);return Ze(l)?null:t.scale(l)},R6=function(e){var t=e.axis,n=e.ticks,r=e.offset,i=e.bandSize,o=e.entry,a=e.index;if(t.type==="category")return n[a]?n[a].coordinate+r:null;var s=Vt(o,t.dataKey,t.domain[a]);return Ze(s)?null:t.scale(s)-i/2+r},z4e=function(e){var t=e.numericAxis,n=t.scale.domain();if(t.type==="number"){var r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return r<=0&&i>=0?0:i<0?i:r}return n[0]},V4e=function(e,t){var n=e.props.stackId;if(Pn(n)){var r=t[n];if(r){var i=r.items.indexOf(e);return i>=0?r.stackedData[i]:null}}return null},H4e=function(e){return e.reduce(function(t,n){return[_w(n.concat([t[0]]).filter(je)),Ps(n.concat([t[1]]).filter(je))]},[1/0,-1/0])},FH=function(e,t,n){return Object.keys(e).reduce(function(r,i){var o=e[i],a=o.stackedData,s=a.reduce(function(l,u){var f=H4e(u.slice(t,n+1));return[Math.min(l[0],f[0]),Math.max(l[1],f[1])]},[1/0,-1/0]);return[Math.min(s[0],r[0]),Math.max(s[1],r[1])]},[1/0,-1/0]).map(function(r){return r===1/0||r===-1/0?0:r})},D6=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,I6=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,hC=function(e,t,n){if(Qe(e))return e(t,n);if(!Array.isArray(e))return t;var r=[];if(je(e[0]))r[0]=n?e[0]:Math.min(e[0],t[0]);else if(D6.test(e[0])){var i=+D6.exec(e[0])[1];r[0]=t[0]-i}else Qe(e[0])?r[0]=e[0](t[0]):r[0]=t[0];if(je(e[1]))r[1]=n?e[1]:Math.max(e[1],t[1]);else if(I6.test(e[1])){var o=+I6.exec(e[1])[1];r[1]=t[1]+o}else Qe(e[1])?r[1]=e[1](t[1]):r[1]=t[1];return r},Fb=function(e,t,n){if(e&&e.scale&&e.scale.bandwidth){var r=e.scale.bandwidth();if(!n||r>0)return r}if(e&&t&&t.length>=2){for(var i=nA(t,function(f){return f.coordinate}),o=1/0,a=1,s=i.length;ae.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(e-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},J4e=function(e,t,n,r,i){var o=e.width,a=e.height,s=e.startAngle,l=e.endAngle,u=Ur(e.cx,o,o/2),f=Ur(e.cy,a,a/2),d=BH(o,a,n),p=Ur(e.innerRadius,d,0),m=Ur(e.outerRadius,d,d*.8),v=Object.keys(t);return v.reduce(function(g,w){var y=t[w],b=y.domain,x=y.reversed,O;if(Ze(y.range))r==="angleAxis"?O=[s,l]:r==="radiusAxis"&&(O=[p,m]),x&&(O=[O[1],O[0]]);else{O=y.range;var E=O,T=G4e(E,2);s=T[0],l=T[1]}var k=RH(y,i),A=k.realScaleType,D=k.scale;D.domain(b).range(O),DH(D);var R=IH(D,da(da({},y),{},{realScaleType:A})),I=da(da(da({},y),R),{},{range:O,radius:m,realScaleType:A,scale:D,cx:u,cy:f,innerRadius:p,outerRadius:m,startAngle:s,endAngle:l});return da(da({},g),{},$H({},w,I))},{})},e6e=function(e,t){var n=e.x,r=e.y,i=t.x,o=t.y;return Math.sqrt(Math.pow(n-i,2)+Math.pow(r-o,2))},t6e=function(e,t){var n=e.x,r=e.y,i=t.cx,o=t.cy,a=e6e({x:n,y:r},{x:i,y:o});if(a<=0)return{radius:a};var s=(n-i)/a,l=Math.acos(s);return r>o&&(l=2*Math.PI-l),{radius:a,angle:Q4e(l),angleInRadian:l}},n6e=function(e){var t=e.startAngle,n=e.endAngle,r=Math.floor(t/360),i=Math.floor(n/360),o=Math.min(r,i);return{startAngle:t-o*360,endAngle:n-o*360}},r6e=function(e,t){var n=t.startAngle,r=t.endAngle,i=Math.floor(n/360),o=Math.floor(r/360),a=Math.min(i,o);return e+a*360},B6=function(e,t){var n=e.x,r=e.y,i=t6e({x:n,y:r},t),o=i.radius,a=i.angle,s=t.innerRadius,l=t.outerRadius;if(ol)return!1;if(o===0)return!0;var u=n6e(t),f=u.startAngle,d=u.endAngle,p=a,m;if(f<=d){for(;p>d;)p-=360;for(;p=f&&p<=d}else{for(;p>f;)p-=360;for(;p=d&&p<=f}return m?da(da({},t),{},{radius:o,angle:r6e(p,t)}):null};function Tm(e){"@babel/helpers - typeof";return Tm=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},Tm(e)}var i6e=["offset"];function o6e(e){return u6e(e)||l6e(e)||s6e(e)||a6e()}function a6e(){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 s6e(e,t){if(e){if(typeof e=="string")return mC(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 mC(e,t)}}function l6e(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function u6e(e){if(Array.isArray(e))return mC(e)}function mC(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function f6e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function z6(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 Cn(e){for(var t=1;t=0?1:-1,b,x;r==="insideStart"?(b=p+y*o,x=v):r==="insideEnd"?(b=m-y*o,x=!v):r==="end"&&(b=m+y*o,x=v),x=w<=0?x:!x;var O=It(l,u,g,b),E=It(l,u,g,b+(x?1:-1)*359),T="M".concat(O.x,",").concat(O.y,` + A`).concat(g,",").concat(g,",0,1,").concat(x?0:1,`, + `).concat(E.x,",").concat(E.y),k=Ze(e.id)?pl("recharts-radial-line-"):e.id;return N.createElement("text",Cm({},n,{dominantBaseline:"central",className:We("recharts-radial-bar-label",a)}),N.createElement("defs",null,N.createElement("path",{id:k,d:T})),N.createElement("textPath",{xlinkHref:"#".concat(k)},t))},y6e=function(e){var t=e.viewBox,n=e.offset,r=e.position,i=t,o=i.cx,a=i.cy,s=i.innerRadius,l=i.outerRadius,u=i.startAngle,f=i.endAngle,d=(u+f)/2;if(r==="outside"){var p=It(o,a,l+n,d),m=p.x,v=p.y;return{x:m,y:v,textAnchor:m>=o?"start":"end",verticalAnchor:"middle"}}if(r==="center")return{x:o,y:a,textAnchor:"middle",verticalAnchor:"middle"};if(r==="centerTop")return{x:o,y:a,textAnchor:"middle",verticalAnchor:"start"};if(r==="centerBottom")return{x:o,y:a,textAnchor:"middle",verticalAnchor:"end"};var g=(s+l)/2,w=It(o,a,g,d),y=w.x,b=w.y;return{x:y,y:b,textAnchor:"middle",verticalAnchor:"middle"}},b6e=function(e){var t=e.viewBox,n=e.parentViewBox,r=e.offset,i=e.position,o=t,a=o.x,s=o.y,l=o.width,u=o.height,f=u>=0?1:-1,d=f*r,p=f>0?"end":"start",m=f>0?"start":"end",v=l>=0?1:-1,g=v*r,w=v>0?"end":"start",y=v>0?"start":"end";if(i==="top"){var b={x:a+l/2,y:s-f*r,textAnchor:"middle",verticalAnchor:p};return Cn(Cn({},b),n?{height:Math.max(s-n.y,0),width:l}:{})}if(i==="bottom"){var x={x:a+l/2,y:s+u+d,textAnchor:"middle",verticalAnchor:m};return Cn(Cn({},x),n?{height:Math.max(n.y+n.height-(s+u),0),width:l}:{})}if(i==="left"){var O={x:a-g,y:s+u/2,textAnchor:w,verticalAnchor:"middle"};return Cn(Cn({},O),n?{width:Math.max(O.x-n.x,0),height:u}:{})}if(i==="right"){var E={x:a+l+g,y:s+u/2,textAnchor:y,verticalAnchor:"middle"};return Cn(Cn({},E),n?{width:Math.max(n.x+n.width-E.x,0),height:u}:{})}var T=n?{width:l,height:u}:{};return i==="insideLeft"?Cn({x:a+g,y:s+u/2,textAnchor:y,verticalAnchor:"middle"},T):i==="insideRight"?Cn({x:a+l-g,y:s+u/2,textAnchor:w,verticalAnchor:"middle"},T):i==="insideTop"?Cn({x:a+l/2,y:s+d,textAnchor:"middle",verticalAnchor:m},T):i==="insideBottom"?Cn({x:a+l/2,y:s+u-d,textAnchor:"middle",verticalAnchor:p},T):i==="insideTopLeft"?Cn({x:a+g,y:s+d,textAnchor:y,verticalAnchor:m},T):i==="insideTopRight"?Cn({x:a+l-g,y:s+d,textAnchor:w,verticalAnchor:m},T):i==="insideBottomLeft"?Cn({x:a+g,y:s+u-d,textAnchor:y,verticalAnchor:p},T):i==="insideBottomRight"?Cn({x:a+l-g,y:s+u-d,textAnchor:w,verticalAnchor:p},T):gd(i)&&(je(i.x)||ql(i.x))&&(je(i.y)||ql(i.y))?Cn({x:a+Ur(i.x,l),y:s+Ur(i.y,u),textAnchor:"end",verticalAnchor:"end"},T):Cn({x:a+l/2,y:s+u/2,textAnchor:"middle",verticalAnchor:"middle"},T)},_6e=function(e){return"cx"in e&&je(e.cx)};function Vn(e){var t=e.offset,n=t===void 0?5:t,r=c6e(e,i6e),i=Cn({offset:n},r),o=i.viewBox,a=i.position,s=i.value,l=i.children,u=i.content,f=i.className,d=f===void 0?"":f,p=i.textBreakAll;if(!o||Ze(s)&&Ze(l)&&!F.isValidElement(u)&&!Qe(u))return null;if(F.isValidElement(u))return F.cloneElement(u,i);var m;if(Qe(u)){if(m=F.createElement(u,i),F.isValidElement(m))return m}else m=m6e(i);var v=_6e(o),g=Ve(i,!0);if(v&&(a==="insideStart"||a==="insideEnd"||a==="end"))return g6e(i,m,g);var w=v?y6e(i):b6e(i);return N.createElement(Su,Cm({className:We("recharts-label",d)},g,w,{breakAll:p}),m)}Vn.displayName="Label";var zH=function(e){var t=e.cx,n=e.cy,r=e.angle,i=e.startAngle,o=e.endAngle,a=e.r,s=e.radius,l=e.innerRadius,u=e.outerRadius,f=e.x,d=e.y,p=e.top,m=e.left,v=e.width,g=e.height,w=e.clockWise,y=e.labelViewBox;if(y)return y;if(je(v)&&je(g)){if(je(f)&&je(d))return{x:f,y:d,width:v,height:g};if(je(p)&&je(m))return{x:p,y:m,width:v,height:g}}return je(f)&&je(d)?{x:f,y:d,width:0,height:0}:je(t)&&je(n)?{cx:t,cy:n,startAngle:i||r||0,endAngle:o||r||0,innerRadius:l||0,outerRadius:u||s||a||0,clockWise:w}:e.viewBox?e.viewBox:{}},w6e=function(e,t){return e?e===!0?N.createElement(Vn,{key:"label-implicit",viewBox:t}):Pn(e)?N.createElement(Vn,{key:"label-implicit",viewBox:t,value:e}):F.isValidElement(e)?e.type===Vn?F.cloneElement(e,{key:"label-implicit",viewBox:t}):N.createElement(Vn,{key:"label-implicit",content:e,viewBox:t}):Qe(e)?N.createElement(Vn,{key:"label-implicit",content:e,viewBox:t}):gd(e)?N.createElement(Vn,Cm({viewBox:t},e,{key:"label-implicit"})):null:null},x6e=function(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=zH(e),o=Mr(r,Vn).map(function(s,l){return F.cloneElement(s,{viewBox:t||i,key:"label-".concat(l)})});if(!n)return o;var a=w6e(e.label,t||i);return[a].concat(o6e(o))};Vn.parseViewBox=zH;Vn.renderCallByParent=x6e;function O6e(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var S6e=O6e;const E6e=Ot(S6e);function km(e){"@babel/helpers - typeof";return km=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},km(e)}var T6e=["valueAccessor"],C6e=["data","dataKey","clockWise","id","textBreakAll"];function k6e(e){return N6e(e)||A6e(e)||P6e(e)||j6e()}function j6e(){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 P6e(e,t){if(e){if(typeof e=="string")return vC(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 vC(e,t)}}function A6e(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function N6e(e){if(Array.isArray(e))return vC(e)}function vC(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function D6e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var I6e=function(e){return Array.isArray(e.value)?E6e(e.value):e.value};function yo(e){var t=e.valueAccessor,n=t===void 0?I6e:t,r=W6(e,T6e),i=r.data,o=r.dataKey,a=r.clockWise,s=r.id,l=r.textBreakAll,u=W6(r,C6e);return!i||!i.length?null:N.createElement(nt,{className:"recharts-label-list"},i.map(function(f,d){var p=Ze(o)?n(f,d):Vt(f&&f.payload,o),m=Ze(s)?{}:{id:"".concat(s,"-").concat(d)};return N.createElement(Vn,$b({},Ve(f,!0),u,m,{parentViewBox:f.parentViewBox,value:p,textBreakAll:l,viewBox:Vn.parseViewBox(Ze(a)?f:H6(H6({},f),{},{clockWise:a})),key:"label-".concat(d),index:d}))}))}yo.displayName="LabelList";function F6e(e,t){return e?e===!0?N.createElement(yo,{key:"labelList-implicit",data:t}):N.isValidElement(e)||Qe(e)?N.createElement(yo,{key:"labelList-implicit",data:t,content:e}):gd(e)?N.createElement(yo,$b({data:t},e,{key:"labelList-implicit"})):null:null}function U6e(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=Mr(r,yo).map(function(a,s){return F.cloneElement(a,{data:t,key:"labelList-".concat(s)})});if(!n)return i;var o=F6e(e.label,t);return[o].concat(k6e(i))}yo.renderCallByParent=U6e;function jm(e){"@babel/helpers - typeof";return jm=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},jm(e)}function gC(){return gC=Object.assign?Object.assign.bind():function(e){for(var t=1;t180),",").concat(+(o>l),`, + `).concat(f.x,",").concat(f.y,` + `);if(r>0){var p=It(t,n,r,o),m=It(t,n,r,l);d+="L ".concat(m.x,",").concat(m.y,` + A `).concat(r,",").concat(r,`,0, + `).concat(+(Math.abs(s)>180),",").concat(+(o<=l),`, + `).concat(p.x,",").concat(p.y," Z")}else d+="L ".concat(t,",").concat(n," Z");return d},H6e=function(e){var t=e.cx,n=e.cy,r=e.innerRadius,i=e.outerRadius,o=e.cornerRadius,a=e.forceCornerRadius,s=e.cornerIsExternal,l=e.startAngle,u=e.endAngle,f=Pr(u-l),d=Zg({cx:t,cy:n,radius:i,angle:l,sign:f,cornerRadius:o,cornerIsExternal:s}),p=d.circleTangency,m=d.lineTangency,v=d.theta,g=Zg({cx:t,cy:n,radius:i,angle:u,sign:-f,cornerRadius:o,cornerIsExternal:s}),w=g.circleTangency,y=g.lineTangency,b=g.theta,x=s?Math.abs(l-u):Math.abs(l-u)-v-b;if(x<0)return a?"M ".concat(m.x,",").concat(m.y,` + a`).concat(o,",").concat(o,",0,0,1,").concat(o*2,`,0 + a`).concat(o,",").concat(o,",0,0,1,").concat(-o*2,`,0 + `):VH({cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:l,endAngle:u});var O="M ".concat(m.x,",").concat(m.y,` + A`).concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(p.x,",").concat(p.y,` + A`).concat(i,",").concat(i,",0,").concat(+(x>180),",").concat(+(f<0),",").concat(w.x,",").concat(w.y,` + A`).concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(y.x,",").concat(y.y,` + `);if(r>0){var E=Zg({cx:t,cy:n,radius:r,angle:l,sign:f,isExternal:!0,cornerRadius:o,cornerIsExternal:s}),T=E.circleTangency,k=E.lineTangency,A=E.theta,D=Zg({cx:t,cy:n,radius:r,angle:u,sign:-f,isExternal:!0,cornerRadius:o,cornerIsExternal:s}),R=D.circleTangency,I=D.lineTangency,z=D.theta,G=s?Math.abs(l-u):Math.abs(l-u)-A-z;if(G<0&&o===0)return"".concat(O,"L").concat(t,",").concat(n,"Z");O+="L".concat(I.x,",").concat(I.y,` + A`).concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(R.x,",").concat(R.y,` + A`).concat(r,",").concat(r,",0,").concat(+(G>180),",").concat(+(f>0),",").concat(T.x,",").concat(T.y,` + A`).concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(k.x,",").concat(k.y,"Z")}else O+="L".concat(t,",").concat(n,"Z");return O},W6e={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},HH=function(e){var t=G6(G6({},W6e),e),n=t.cx,r=t.cy,i=t.innerRadius,o=t.outerRadius,a=t.cornerRadius,s=t.forceCornerRadius,l=t.cornerIsExternal,u=t.startAngle,f=t.endAngle,d=t.className;if(o0&&Math.abs(u-f)<360?g=H6e({cx:n,cy:r,innerRadius:i,outerRadius:o,cornerRadius:Math.min(v,m/2),forceCornerRadius:s,cornerIsExternal:l,startAngle:u,endAngle:f}):g=VH({cx:n,cy:r,innerRadius:i,outerRadius:o,startAngle:u,endAngle:f}),N.createElement("path",gC({},Ve(t,!0),{className:p,d:g,role:"img"}))};function Pm(e){"@babel/helpers - typeof";return Pm=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},Pm(e)}function yC(){return yC=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0?1:-1,s=n>=0?1:-1,l=r>=0&&n>=0||r<0&&n<0?1:0,u;if(o>0&&i instanceof Array){for(var f=[0,0,0,0],d=0,p=4;do?o:i[d];u="M".concat(e,",").concat(t+a*f[0]),f[0]>0&&(u+="A ".concat(f[0],",").concat(f[0],",0,0,").concat(l,",").concat(e+s*f[0],",").concat(t)),u+="L ".concat(e+n-s*f[1],",").concat(t),f[1]>0&&(u+="A ".concat(f[1],",").concat(f[1],",0,0,").concat(l,`, + `).concat(e+n,",").concat(t+a*f[1])),u+="L ".concat(e+n,",").concat(t+r-a*f[2]),f[2]>0&&(u+="A ".concat(f[2],",").concat(f[2],",0,0,").concat(l,`, + `).concat(e+n-s*f[2],",").concat(t+r)),u+="L ".concat(e+s*f[3],",").concat(t+r),f[3]>0&&(u+="A ".concat(f[3],",").concat(f[3],",0,0,").concat(l,`, + `).concat(e,",").concat(t+r-a*f[3])),u+="Z"}else if(o>0&&i===+i&&i>0){var m=Math.min(o,i);u="M ".concat(e,",").concat(t+a*m,` + A `).concat(m,",").concat(m,",0,0,").concat(l,",").concat(e+s*m,",").concat(t,` + L `).concat(e+n-s*m,",").concat(t,` + A `).concat(m,",").concat(m,",0,0,").concat(l,",").concat(e+n,",").concat(t+a*m,` + L `).concat(e+n,",").concat(t+r-a*m,` + A `).concat(m,",").concat(m,",0,0,").concat(l,",").concat(e+n-s*m,",").concat(t+r,` + L `).concat(e+s*m,",").concat(t+r,` + A `).concat(m,",").concat(m,",0,0,").concat(l,",").concat(e,",").concat(t+r-a*m," Z")}else u="M ".concat(e,",").concat(t," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return u},o5e=function(e,t){if(!e||!t)return!1;var n=e.x,r=e.y,i=t.x,o=t.y,a=t.width,s=t.height;if(Math.abs(a)>0&&Math.abs(s)>0){var l=Math.min(i,i+a),u=Math.max(i,i+a),f=Math.min(o,o+s),d=Math.max(o,o+s);return n>=l&&n<=u&&r>=f&&r<=d}return!1},a5e={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},AA=function(e){var t=J6(J6({},a5e),e),n=F.useRef(),r=F.useState(-1),i=X6e(r,2),o=i[0],a=i[1];F.useEffect(function(){if(n.current&&n.current.getTotalLength)try{var x=n.current.getTotalLength();x&&a(x)}catch{}},[]);var s=t.x,l=t.y,u=t.width,f=t.height,d=t.radius,p=t.className,m=t.animationEasing,v=t.animationDuration,g=t.animationBegin,w=t.isAnimationActive,y=t.isUpdateAnimationActive;if(s!==+s||l!==+l||u!==+u||f!==+f||u===0||f===0)return null;var b=We("recharts-rectangle",p);return y?N.createElement(Wi,{canBegin:o>0,from:{width:u,height:f,x:s,y:l},to:{width:u,height:f,x:s,y:l},duration:v,animationEasing:m,isActive:y},function(x){var O=x.width,E=x.height,T=x.x,k=x.y;return N.createElement(Wi,{canBegin:o>0,from:"0px ".concat(o===-1?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:g,duration:v,isActive:w,easing:m},N.createElement("path",Bb({},Ve(t,!0),{className:b,d:e5(T,k,O,E,d),ref:n})))}):N.createElement("path",Bb({},Ve(t,!0),{className:b,d:e5(s,l,u,f,d)}))},s5e=["points","className","baseLinePoints","connectNulls"];function Ic(){return Ic=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function u5e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function t5(e){return p5e(e)||d5e(e)||f5e(e)||c5e()}function c5e(){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 f5e(e,t){if(e){if(typeof e=="string")return bC(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 bC(e,t)}}function d5e(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function p5e(e){if(Array.isArray(e))return bC(e)}function bC(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&arguments[0]!==void 0?arguments[0]:[],t=[[]];return e.forEach(function(n){n5(n)?t[t.length-1].push(n):t[t.length-1].length>0&&t.push([])}),n5(e[0])&&t[t.length-1].push(e[0]),t[t.length-1].length<=0&&(t=t.slice(0,-1)),t},sh=function(e,t){var n=h5e(e);t&&(n=[n.reduce(function(i,o){return[].concat(t5(i),t5(o))},[])]);var r=n.map(function(i){return i.reduce(function(o,a,s){return"".concat(o).concat(s===0?"M":"L").concat(a.x,",").concat(a.y)},"")}).join("");return n.length===1?"".concat(r,"Z"):r},m5e=function(e,t,n){var r=sh(e,n);return"".concat(r.slice(-1)==="Z"?r.slice(0,-1):r,"L").concat(sh(t.reverse(),n).slice(1))},v5e=function(e){var t=e.points,n=e.className,r=e.baseLinePoints,i=e.connectNulls,o=l5e(e,s5e);if(!t||!t.length)return null;var a=We("recharts-polygon",n);if(r&&r.length){var s=o.stroke&&o.stroke!=="none",l=m5e(t,r,i);return N.createElement("g",{className:a},N.createElement("path",Ic({},Ve(o,!0),{fill:l.slice(-1)==="Z"?o.fill:"none",stroke:"none",d:l})),s?N.createElement("path",Ic({},Ve(o,!0),{fill:"none",d:sh(t,i)})):null,s?N.createElement("path",Ic({},Ve(o,!0),{fill:"none",d:sh(r,i)})):null)}var u=sh(t,i);return N.createElement("path",Ic({},Ve(o,!0),{fill:u.slice(-1)==="Z"?o.fill:"none",className:a,d:u}))};function _C(){return _C=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function O5e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var S5e=function(e,t,n,r,i,o){return"M".concat(e,",").concat(i,"v").concat(r,"M").concat(o,",").concat(t,"h").concat(n)},E5e=function(e){var t=e.x,n=t===void 0?0:t,r=e.y,i=r===void 0?0:r,o=e.top,a=o===void 0?0:o,s=e.left,l=s===void 0?0:s,u=e.width,f=u===void 0?0:u,d=e.height,p=d===void 0?0:d,m=e.className,v=x5e(e,g5e),g=y5e({x:n,y:i,top:a,left:l,width:f,height:p},v);return!je(n)||!je(i)||!je(f)||!je(p)||!je(a)||!je(l)?null:N.createElement("path",wC({},Ve(g,!0),{className:We("recharts-cross",m),d:S5e(n,i,f,p,a,l)}))},T5e=bw,C5e=gH,k5e=ia;function j5e(e,t){return e&&e.length?T5e(e,k5e(t),C5e):void 0}var P5e=j5e;const A5e=Ot(P5e);var N5e=bw,M5e=ia,L5e=yH;function R5e(e,t){return e&&e.length?N5e(e,M5e(t),L5e):void 0}var D5e=R5e;const I5e=Ot(D5e);var F5e=["cx","cy","angle","ticks","axisLine"],U5e=["ticks","tick","angle","tickFormatter","stroke"];function Vf(e){"@babel/helpers - typeof";return Vf=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},Vf(e)}function lh(){return lh=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function $5e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function B5e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a5(e,t){for(var n=0;n"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 zb(e){return zb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},zb(e)}function Ow(e,t,n){return t=WH(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function WH(e){var t=q5e(e,"string");return Vf(t)==="symbol"?t:String(t)}function q5e(e,t){if(Vf(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Vf(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Sw=function(e){V5e(n,e);var t=H5e(n);function n(){return B5e(this,n),t.apply(this,arguments)}return z5e(n,[{key:"getTickValueCoord",value:function(r){var i=r.coordinate,o=this.props,a=o.angle,s=o.cx,l=o.cy;return It(s,l,i,a)}},{key:"getTickTextAnchor",value:function(){var r=this.props.orientation,i;switch(r){case"left":i="end";break;case"right":i="start";break;default:i="middle";break}return i}},{key:"getViewBox",value:function(){var r=this.props,i=r.cx,o=r.cy,a=r.angle,s=r.ticks,l=A5e(s,function(f){return f.coordinate||0}),u=I5e(s,function(f){return f.coordinate||0});return{cx:i,cy:o,startAngle:a,endAngle:a,innerRadius:u.coordinate||0,outerRadius:l.coordinate||0}}},{key:"renderAxisLine",value:function(){var r=this.props,i=r.cx,o=r.cy,a=r.angle,s=r.ticks,l=r.axisLine,u=o5(r,F5e),f=s.reduce(function(v,g){return[Math.min(v[0],g.coordinate),Math.max(v[1],g.coordinate)]},[1/0,-1/0]),d=It(i,o,f[0],a),p=It(i,o,f[1],a),m=El(El(El({},Ve(u)),{},{fill:"none"},Ve(l)),{},{x1:d.x,y1:d.y,x2:p.x,y2:p.y});return N.createElement("line",lh({className:"recharts-polar-radius-axis-line"},m))}},{key:"renderTicks",value:function(){var r=this,i=this.props,o=i.ticks,a=i.tick,s=i.angle,l=i.tickFormatter,u=i.stroke,f=o5(i,U5e),d=this.getTickTextAnchor(),p=Ve(f),m=Ve(a),v=o.map(function(g,w){var y=r.getTickValueCoord(g),b=El(El(El(El({textAnchor:d,transform:"rotate(".concat(90-s,", ").concat(y.x,", ").concat(y.y,")")},p),{},{stroke:"none",fill:u},m),{},{index:w},y),{},{payload:g});return N.createElement(nt,lh({className:"recharts-polar-radius-axis-tick",key:"tick-".concat(g.coordinate)},tl(r.props,g,w)),n.renderTickItem(a,b,l?l(g.value,w):g.value))});return N.createElement(nt,{className:"recharts-polar-radius-axis-ticks"},v)}},{key:"render",value:function(){var r=this.props,i=r.ticks,o=r.axisLine,a=r.tick;return!i||!i.length?null:N.createElement(nt,{className:"recharts-polar-radius-axis"},o&&this.renderAxisLine(),a&&this.renderTicks(),Vn.renderCallByParent(this.props,this.getViewBox()))}}],[{key:"renderTickItem",value:function(r,i,o){var a;return N.isValidElement(r)?a=N.cloneElement(r,i):Qe(r)?a=r(i):a=N.createElement(Su,lh({},i,{className:"recharts-polar-radius-axis-tick-value"}),o),a}}]),n}(F.PureComponent);Ow(Sw,"displayName","PolarRadiusAxis");Ow(Sw,"axisType","radiusAxis");Ow(Sw,"defaultProps",{type:"number",radiusAxisId:0,cx:0,cy:0,angle:0,orientation:"right",stroke:"#ccc",axisLine:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:"auto",allowDuplicatedCategory:!0});function Hf(e){"@babel/helpers - typeof";return Hf=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},Hf(e)}function $l(){return $l=Object.assign?Object.assign.bind():function(e){for(var t=1;t"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 Vb(e){return Vb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Vb(e)}function Ew(e,t,n){return t=YH(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function YH(e){var t=n8e(e,"string");return Hf(t)==="symbol"?t:String(t)}function n8e(e,t){if(Hf(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Hf(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var r8e=Math.PI/180,u5=1e-5,Tw=function(e){X5e(n,e);var t=Q5e(n);function n(){return K5e(this,n),t.apply(this,arguments)}return Z5e(n,[{key:"getTickLineCoord",value:function(r){var i=this.props,o=i.cx,a=i.cy,s=i.radius,l=i.orientation,u=i.tickSize,f=u||8,d=It(o,a,s,r.coordinate),p=It(o,a,s+(l==="inner"?-1:1)*f,r.coordinate);return{x1:d.x,y1:d.y,x2:p.x,y2:p.y}}},{key:"getTickTextAnchor",value:function(r){var i=this.props.orientation,o=Math.cos(-r.coordinate*r8e),a;return o>u5?a=i==="outer"?"start":"end":o<-u5?a=i==="outer"?"end":"start":a="middle",a}},{key:"renderAxisLine",value:function(){var r=this.props,i=r.cx,o=r.cy,a=r.radius,s=r.axisLine,l=r.axisLineType,u=Tl(Tl({},Ve(this.props)),{},{fill:"none"},Ve(s));if(l==="circle")return N.createElement(Tv,$l({className:"recharts-polar-angle-axis-line"},u,{cx:i,cy:o,r:a}));var f=this.props.ticks,d=f.map(function(p){return It(i,o,a,p.coordinate)});return N.createElement(v5e,$l({className:"recharts-polar-angle-axis-line"},u,{points:d}))}},{key:"renderTicks",value:function(){var r=this,i=this.props,o=i.ticks,a=i.tick,s=i.tickLine,l=i.tickFormatter,u=i.stroke,f=Ve(this.props),d=Ve(a),p=Tl(Tl({},f),{},{fill:"none"},Ve(s)),m=o.map(function(v,g){var w=r.getTickLineCoord(v),y=r.getTickTextAnchor(v),b=Tl(Tl(Tl({textAnchor:y},f),{},{stroke:"none",fill:u},d),{},{index:g,payload:v,x:w.x2,y:w.y2});return N.createElement(nt,$l({className:"recharts-polar-angle-axis-tick",key:"tick-".concat(v.coordinate)},tl(r.props,v,g)),s&&N.createElement("line",$l({className:"recharts-polar-angle-axis-tick-line"},p,w)),a&&n.renderTickItem(a,b,l?l(v.value,g):v.value))});return N.createElement(nt,{className:"recharts-polar-angle-axis-ticks"},m)}},{key:"render",value:function(){var r=this.props,i=r.ticks,o=r.radius,a=r.axisLine;return o<=0||!i||!i.length?null:N.createElement(nt,{className:"recharts-polar-angle-axis"},a&&this.renderAxisLine(),this.renderTicks())}}],[{key:"renderTickItem",value:function(r,i,o){var a;return N.isValidElement(r)?a=N.cloneElement(r,i):Qe(r)?a=r(i):a=N.createElement(Su,$l({},i,{className:"recharts-polar-angle-axis-tick-value"}),o),a}}]),n}(F.PureComponent);Ew(Tw,"displayName","PolarAngleAxis");Ew(Tw,"axisType","angleAxis");Ew(Tw,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var i8e=lV,o8e=i8e(Object.getPrototypeOf,Object),a8e=o8e,s8e=Ja,l8e=a8e,u8e=es,c8e="[object Object]",f8e=Function.prototype,d8e=Object.prototype,GH=f8e.toString,p8e=d8e.hasOwnProperty,h8e=GH.call(Object);function m8e(e){if(!u8e(e)||s8e(e)!=c8e)return!1;var t=l8e(e);if(t===null)return!0;var n=p8e.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&GH.call(n)==h8e}var v8e=m8e;const g8e=Ot(v8e);var y8e=Ja,b8e=es,_8e="[object Boolean]";function w8e(e){return e===!0||e===!1||b8e(e)&&y8e(e)==_8e}var x8e=w8e;const O8e=Ot(x8e);function Mm(e){"@babel/helpers - typeof";return Mm=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},Mm(e)}function Hb(){return Hb=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0,from:{upperWidth:0,lowerWidth:0,height:d,x:s,y:l},to:{upperWidth:u,lowerWidth:f,height:d,x:s,y:l},duration:v,animationEasing:m,isActive:w},function(b){var x=b.upperWidth,O=b.lowerWidth,E=b.height,T=b.x,k=b.y;return N.createElement(Wi,{canBegin:o>0,from:"0px ".concat(o===-1?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:g,duration:v,easing:m},N.createElement("path",Hb({},Ve(t,!0),{className:y,d:p5(T,k,x,O,E),ref:n})))}):N.createElement("g",null,N.createElement("path",Hb({},Ve(t,!0),{className:y,d:p5(s,l,u,f,d)})))},L8e=["option","shapeType","propTransformer","activeClassName","isActive"];function Lm(e){"@babel/helpers - typeof";return Lm=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},Lm(e)}function R8e(e,t){if(e==null)return{};var n=D8e(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function D8e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function h5(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 Wb(e){for(var t=1;t"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 Gb(e){return Gb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Gb(e)}function ji(e,t,n){return t=qH(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qH(e){var t=nFe(e,"string");return Wf(t)==="symbol"?t:String(t)}function nFe(e,t){if(Wf(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Wf(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ns=function(e){Q8e(n,e);var t=J8e(n);function n(r){var i;return Z8e(this,n),i=t.call(this,r),ji(mc(i),"pieRef",null),ji(mc(i),"sectorRefs",[]),ji(mc(i),"id",pl("recharts-pie-")),ji(mc(i),"handleAnimationEnd",function(){var o=i.props.onAnimationEnd;i.setState({isAnimationFinished:!0}),Qe(o)&&o()}),ji(mc(i),"handleAnimationStart",function(){var o=i.props.onAnimationStart;i.setState({isAnimationFinished:!1}),Qe(o)&&o()}),i.state={isAnimationFinished:!r.isAnimationActive,prevIsAnimationActive:r.isAnimationActive,prevAnimationId:r.animationId,sectorToFocus:0},i}return X8e(n,[{key:"isActiveIndex",value:function(r){var i=this.props.activeIndex;return Array.isArray(i)?i.indexOf(r)!==-1:r===i}},{key:"hasActiveIndex",value:function(){var r=this.props.activeIndex;return Array.isArray(r)?r.length!==0:r||r===0}},{key:"renderLabels",value:function(r){var i=this.props.isAnimationActive;if(i&&!this.state.isAnimationFinished)return null;var o=this.props,a=o.label,s=o.labelLine,l=o.dataKey,u=o.valueKey,f=Ve(this.props),d=Ve(a),p=Ve(s),m=a&&a.offsetRadius||20,v=r.map(function(g,w){var y=(g.startAngle+g.endAngle)/2,b=It(g.cx,g.cy,g.outerRadius+m,y),x=Gt(Gt(Gt(Gt({},f),g),{},{stroke:"none"},d),{},{index:w,textAnchor:n.getTextAnchor(b.x,g.cx)},b),O=Gt(Gt(Gt(Gt({},f),g),{},{fill:"none",stroke:g.fill},p),{},{index:w,points:[It(g.cx,g.cy,g.outerRadius,y),b],key:"line"}),E=l;return Ze(l)&&Ze(u)?E="value":Ze(l)&&(E=u),N.createElement(nt,{key:"label-".concat(g.startAngle,"-").concat(g.endAngle)},s&&n.renderLabelLineItem(s,O),n.renderLabelItem(a,x,Vt(g,E)))});return N.createElement(nt,{className:"recharts-pie-labels"},v)}},{key:"renderSectorsStatically",value:function(r){var i=this,o=this.props,a=o.activeShape,s=o.blendStroke,l=o.inactiveShape;return r.map(function(u,f){var d=i.isActiveIndex(f),p=l&&i.hasActiveIndex()?l:null,m=d?a:p,v=Gt(Gt({},u),{},{stroke:s?u.fill:u.stroke,tabIndex:-1});return N.createElement(nt,Fc({ref:function(g){g&&!i.sectorRefs.includes(g)&&i.sectorRefs.push(g)},tabIndex:-1,className:"recharts-pie-sector"},tl(i.props,u,f),{key:"sector-".concat(f)}),N.createElement(Yb,Fc({option:m,isActive:d,shapeType:"sector"},v)))})}},{key:"renderSectorsWithAnimation",value:function(){var r=this,i=this.props,o=i.sectors,a=i.isAnimationActive,s=i.animationBegin,l=i.animationDuration,u=i.animationEasing,f=i.animationId,d=this.state,p=d.prevSectors,m=d.prevIsAnimationActive;return N.createElement(Wi,{begin:s,duration:l,isActive:a,easing:u,from:{t:0},to:{t:1},key:"pie-".concat(f,"-").concat(m),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(v){var g=v.t,w=[],y=o&&o[0],b=y.startAngle;return o.forEach(function(x,O){var E=p&&p[O],T=O>0?ai(x,"paddingAngle",0):0;if(E){var k=en(E.endAngle-E.startAngle,x.endAngle-x.startAngle),A=Gt(Gt({},x),{},{startAngle:b+T,endAngle:b+k(g)+T});w.push(A),b=A.endAngle}else{var D=x.endAngle,R=x.startAngle,I=en(0,D-R),z=I(g),G=Gt(Gt({},x),{},{startAngle:b+T,endAngle:b+z+T});w.push(G),b=G.endAngle}}),N.createElement(nt,null,r.renderSectorsStatically(w))})}},{key:"attachKeyboardHandlers",value:function(r){var i=this;r.onkeydown=function(o){if(!o.altKey)switch(o.key){case"ArrowLeft":{var a=++i.state.sectorToFocus%i.sectorRefs.length;i.sectorRefs[a].focus(),i.setState({sectorToFocus:a});break}case"ArrowRight":{var s=--i.state.sectorToFocus<0?i.sectorRefs.length-1:i.state.sectorToFocus%i.sectorRefs.length;i.sectorRefs[s].focus(),i.setState({sectorToFocus:s});break}case"Escape":{i.sectorRefs[i.state.sectorToFocus].blur(),i.setState({sectorToFocus:0});break}}}}},{key:"renderSectors",value:function(){var r=this.props,i=r.sectors,o=r.isAnimationActive,a=this.state.prevSectors;return o&&i&&i.length&&(!a||!nl(a,i))?this.renderSectorsWithAnimation():this.renderSectorsStatically(i)}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var r=this,i=this.props,o=i.hide,a=i.sectors,s=i.className,l=i.label,u=i.cx,f=i.cy,d=i.innerRadius,p=i.outerRadius,m=i.isAnimationActive,v=this.state.isAnimationFinished;if(o||!a||!a.length||!je(u)||!je(f)||!je(d)||!je(p))return null;var g=We("recharts-pie",s);return N.createElement(nt,{tabIndex:this.props.rootTabIndex,className:g,ref:function(w){r.pieRef=w}},this.renderSectors(),l&&this.renderLabels(a),Vn.renderCallByParent(this.props,null,!1),(!m||v)&&yo.renderCallByParent(this.props,a,!1))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return i.prevIsAnimationActive!==r.isAnimationActive?{prevIsAnimationActive:r.isAnimationActive,prevAnimationId:r.animationId,curSectors:r.sectors,prevSectors:[],isAnimationFinished:!0}:r.isAnimationActive&&r.animationId!==i.prevAnimationId?{prevAnimationId:r.animationId,curSectors:r.sectors,prevSectors:i.curSectors,isAnimationFinished:!0}:r.sectors!==i.curSectors?{curSectors:r.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(r,i){return r>i?"start":r=360?b:b-1)*l,O=w-b*m-x,E=r.reduce(function(A,D){var R=Vt(D,y,0);return A+(je(R)?R:0)},0),T;if(E>0){var k;T=r.map(function(A,D){var R=Vt(A,y,0),I=Vt(A,f,D),z=(je(R)?R:0)/E,G;D?G=k.endAngle+Pr(g)*l*(R!==0?1:0):G=a;var H=G+Pr(g)*((R!==0?m:0)+z*O),Q=(G+H)/2,Z=(v.innerRadius+v.outerRadius)/2,te=[{name:I,value:R,payload:A,dataKey:y,type:p}],X=It(v.cx,v.cy,Z,Q);return k=Gt(Gt(Gt({percent:z,cornerRadius:o,name:I,tooltipPayload:te,midAngle:Q,middleRadius:Z,tooltipPosition:X},A),v),{},{value:Vt(A,y),startAngle:G,endAngle:H,payload:A,paddingAngle:Pr(g)*l}),k})}return Gt(Gt({},v),{},{sectors:T,data:r})});var rFe=Math.ceil,iFe=Math.max;function oFe(e,t,n,r){for(var i=-1,o=iFe(rFe((t-e)/(n||1)),0),a=Array(o);o--;)a[r?o:++i]=e,e+=n;return a}var aFe=oFe,sFe=NV,y5=1/0,lFe=17976931348623157e292;function uFe(e){if(!e)return e===0?e:0;if(e=sFe(e),e===y5||e===-y5){var t=e<0?-1:1;return t*lFe}return e===e?e:0}var KH=uFe,cFe=aFe,fFe=dw,ZO=KH;function dFe(e){return function(t,n,r){return r&&typeof r!="number"&&fFe(t,n,r)&&(n=r=void 0),t=ZO(t),n===void 0?(n=t,t=0):n=ZO(n),r=r===void 0?t"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 Zb(e){return Zb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Zb(e)}function Qr(e,t,n){return t=XH(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function XH(e){var t=CFe(e,"string");return Yf(t)==="symbol"?t:String(t)}function CFe(e,t){if(Yf(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Yf(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var kFe=function(e){var t=e.data,n=e.startIndex,r=e.endIndex,i=e.x,o=e.width,a=e.travellerWidth;if(!t||!t.length)return{};var s=t.length,l=ah().domain(qb(0,s)).range([i,i+o-a]),u=l.domain().map(function(f){return l(f)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:l(n),endX:l(r),scale:l,scaleValues:u}},O5=function(e){return e.changedTouches&&!!e.changedTouches.length},Im=function(e){OFe(n,e);var t=SFe(n);function n(r){var i;return wFe(this,n),i=t.call(this,r),Qr(No(i),"handleDrag",function(o){i.leaveTimer&&(clearTimeout(i.leaveTimer),i.leaveTimer=null),i.state.isTravellerMoving?i.handleTravellerMove(o):i.state.isSlideMoving&&i.handleSlideDrag(o)}),Qr(No(i),"handleTouchMove",function(o){o.changedTouches!=null&&o.changedTouches.length>0&&i.handleDrag(o.changedTouches[0])}),Qr(No(i),"handleDragEnd",function(){i.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var o=i.props,a=o.endIndex,s=o.onDragEnd,l=o.startIndex;s==null||s({endIndex:a,startIndex:l})}),i.detachDragEndListener()}),Qr(No(i),"handleLeaveWrapper",function(){(i.state.isTravellerMoving||i.state.isSlideMoving)&&(i.leaveTimer=window.setTimeout(i.handleDragEnd,i.props.leaveTimeOut))}),Qr(No(i),"handleEnterSlideOrTraveller",function(){i.setState({isTextActive:!0})}),Qr(No(i),"handleLeaveSlideOrTraveller",function(){i.setState({isTextActive:!1})}),Qr(No(i),"handleSlideDragStart",function(o){var a=O5(o)?o.changedTouches[0]:o;i.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:a.pageX}),i.attachDragEndListener()}),i.travellerDragStartHandlers={startX:i.handleTravellerDragStart.bind(No(i),"startX"),endX:i.handleTravellerDragStart.bind(No(i),"endX")},i.state={},i}return xFe(n,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(r){var i=r.startX,o=r.endX,a=this.state.scaleValues,s=this.props,l=s.gap,u=s.data,f=u.length-1,d=Math.min(i,o),p=Math.max(i,o),m=n.getIndexInRange(a,d),v=n.getIndexInRange(a,p);return{startIndex:m-m%l,endIndex:v===f?f:v-v%l}}},{key:"getTextOfTick",value:function(r){var i=this.props,o=i.data,a=i.tickFormatter,s=i.dataKey,l=Vt(o[r],s,r);return Qe(a)?a(l,r):l}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(r){var i=this.state,o=i.slideMoveStartX,a=i.startX,s=i.endX,l=this.props,u=l.x,f=l.width,d=l.travellerWidth,p=l.startIndex,m=l.endIndex,v=l.onChange,g=r.pageX-o;g>0?g=Math.min(g,u+f-d-s,u+f-d-a):g<0&&(g=Math.max(g,u-a,u-s));var w=this.getIndex({startX:a+g,endX:s+g});(w.startIndex!==p||w.endIndex!==m)&&v&&v(w),this.setState({startX:a+g,endX:s+g,slideMoveStartX:r.pageX})}},{key:"handleTravellerDragStart",value:function(r,i){var o=O5(i)?i.changedTouches[0]:i;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:r,brushMoveStartX:o.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(r){var i,o=this.state,a=o.brushMoveStartX,s=o.movingTravellerId,l=o.endX,u=o.startX,f=this.state[s],d=this.props,p=d.x,m=d.width,v=d.travellerWidth,g=d.onChange,w=d.gap,y=d.data,b={startX:this.state.startX,endX:this.state.endX},x=r.pageX-a;x>0?x=Math.min(x,p+m-v-f):x<0&&(x=Math.max(x,p-f)),b[s]=f+x;var O=this.getIndex(b),E=O.startIndex,T=O.endIndex,k=function(){var A=y.length-1;return s==="startX"&&(l>u?E%w===0:T%w===0)||lu?T%w===0:E%w===0)||l>u&&T===A};this.setState((i={},Qr(i,s,f+x),Qr(i,"brushMoveStartX",r.pageX),i),function(){g&&k()&&g(O)})}},{key:"handleTravellerMoveKeyboard",value:function(r,i){var o=this,a=this.state,s=a.scaleValues,l=a.startX,u=a.endX,f=this.state[i],d=s.indexOf(f);if(d!==-1){var p=d+r;if(!(p===-1||p>=s.length)){var m=s[p];i==="startX"&&m>=u||i==="endX"&&m<=l||this.setState(Qr({},i,m),function(){o.props.onChange(o.getIndex({startX:o.state.startX,endX:o.state.endX}))})}}}},{key:"renderBackground",value:function(){var r=this.props,i=r.x,o=r.y,a=r.width,s=r.height,l=r.fill,u=r.stroke;return N.createElement("rect",{stroke:u,fill:l,x:i,y:o,width:a,height:s})}},{key:"renderPanorama",value:function(){var r=this.props,i=r.x,o=r.y,a=r.width,s=r.height,l=r.data,u=r.children,f=r.padding,d=F.Children.only(u);return d?N.cloneElement(d,{x:i,y:o,width:a,height:s,margin:f,compact:!0,data:l}):null}},{key:"renderTravellerLayer",value:function(r,i){var o=this,a=this.props,s=a.y,l=a.travellerWidth,u=a.height,f=a.traveller,d=a.ariaLabel,p=a.data,m=a.startIndex,v=a.endIndex,g=Math.max(r,this.props.x),w=XO(XO({},Ve(this.props)),{},{x:g,y:s,width:l,height:u}),y=d||"Min value: ".concat(p[m].name,", Max value: ").concat(p[v].name);return N.createElement(nt,{tabIndex:0,role:"slider","aria-label":y,"aria-valuenow":r,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[i],onTouchStart:this.travellerDragStartHandlers[i],onKeyDown:function(b){["ArrowLeft","ArrowRight"].includes(b.key)&&(b.preventDefault(),b.stopPropagation(),o.handleTravellerMoveKeyboard(b.key==="ArrowRight"?1:-1,i))},onFocus:function(){o.setState({isTravellerFocused:!0})},onBlur:function(){o.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},n.renderTraveller(f,w))}},{key:"renderSlide",value:function(r,i){var o=this.props,a=o.y,s=o.height,l=o.stroke,u=o.travellerWidth,f=Math.min(r,i)+u,d=Math.max(Math.abs(i-r)-u,0);return N.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:l,fillOpacity:.2,x:f,y:a,width:d,height:s})}},{key:"renderText",value:function(){var r=this.props,i=r.startIndex,o=r.endIndex,a=r.y,s=r.height,l=r.travellerWidth,u=r.stroke,f=this.state,d=f.startX,p=f.endX,m=5,v={pointerEvents:"none",fill:u};return N.createElement(nt,{className:"recharts-brush-texts"},N.createElement(Su,Kb({textAnchor:"end",verticalAnchor:"middle",x:Math.min(d,p)-m,y:a+s/2},v),this.getTextOfTick(i)),N.createElement(Su,Kb({textAnchor:"start",verticalAnchor:"middle",x:Math.max(d,p)+l+m,y:a+s/2},v),this.getTextOfTick(o)))}},{key:"render",value:function(){var r=this.props,i=r.data,o=r.className,a=r.children,s=r.x,l=r.y,u=r.width,f=r.height,d=r.alwaysShowText,p=this.state,m=p.startX,v=p.endX,g=p.isTextActive,w=p.isSlideMoving,y=p.isTravellerMoving,b=p.isTravellerFocused;if(!i||!i.length||!je(s)||!je(l)||!je(u)||!je(f)||u<=0||f<=0)return null;var x=We("recharts-brush",o),O=N.Children.count(a)===1,E=_Fe("userSelect","none");return N.createElement(nt,{className:x,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:E},this.renderBackground(),O&&this.renderPanorama(),this.renderSlide(m,v),this.renderTravellerLayer(m,"startX"),this.renderTravellerLayer(v,"endX"),(g||w||y||b||d)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(r){var i=r.x,o=r.y,a=r.width,s=r.height,l=r.stroke,u=Math.floor(o+s/2)-1;return N.createElement(N.Fragment,null,N.createElement("rect",{x:i,y:o,width:a,height:s,fill:l,stroke:"none"}),N.createElement("line",{x1:i+1,y1:u,x2:i+a-1,y2:u,fill:"none",stroke:"#fff"}),N.createElement("line",{x1:i+1,y1:u+2,x2:i+a-1,y2:u+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(r,i){var o;return N.isValidElement(r)?o=N.cloneElement(r,i):Qe(r)?o=r(i):o=n.renderDefaultTraveller(i),o}},{key:"getDerivedStateFromProps",value:function(r,i){var o=r.data,a=r.width,s=r.x,l=r.travellerWidth,u=r.updateId,f=r.startIndex,d=r.endIndex;if(o!==i.prevData||u!==i.prevUpdateId)return XO({prevData:o,prevTravellerWidth:l,prevUpdateId:u,prevX:s,prevWidth:a},o&&o.length?kFe({data:o,width:a,x:s,travellerWidth:l,startIndex:f,endIndex:d}):{scale:null,scaleValues:null});if(i.scale&&(a!==i.prevWidth||s!==i.prevX||l!==i.prevTravellerWidth)){i.scale.range([s,s+a-l]);var p=i.scale.domain().map(function(m){return i.scale(m)});return{prevData:o,prevTravellerWidth:l,prevUpdateId:u,prevX:s,prevWidth:a,startX:i.scale(r.startIndex),endX:i.scale(r.endIndex),scaleValues:p}}return null}},{key:"getIndexInRange",value:function(r,i){for(var o=r.length,a=0,s=o-1;s-a>1;){var l=Math.floor((a+s)/2);r[l]>i?s=l:a=l}return i>=r[s]?s:a}}]),n}(F.PureComponent);Qr(Im,"displayName","Brush");Qr(Im,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var jFe=tA;function PFe(e,t){var n;return jFe(e,function(r,i,o){return n=t(r,i,o),!n}),!!n}var AFe=PFe,NFe=eV,MFe=ia,LFe=AFe,RFe=Kr,DFe=dw;function IFe(e,t,n){var r=RFe(e)?NFe:LFe;return n&&DFe(e,t,n)&&(t=void 0),r(e,MFe(t))}var FFe=IFe;const UFe=Ot(FFe);var Ko=function(e,t){var n=e.alwaysShow,r=e.ifOverflow;return n&&(r="extendDomain"),r===t},S5=xV;function $Fe(e,t,n){t=="__proto__"&&S5?S5(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var BFe=$Fe,zFe=BFe,VFe=_V,HFe=ia;function WFe(e,t){var n={};return t=HFe(t),VFe(e,function(r,i,o){zFe(n,i,t(r,i,o))}),n}var YFe=WFe;const GFe=Ot(YFe);function qFe(e,t){for(var n=-1,r=e==null?0:e.length;++n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function fUe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function dUe(e,t){var n=e.x,r=e.y,i=cUe(e,aUe),o="".concat(n),a=parseInt(o,10),s="".concat(r),l=parseInt(s,10),u="".concat(t.height||i.height),f=parseInt(u,10),d="".concat(t.width||i.width),p=parseInt(d,10);return yp(yp(yp(yp(yp({},t),i),a?{x:a}:{}),l?{y:l}:{}),{},{height:f,width:p,name:t.name,radius:t.radius})}function T5(e){return N.createElement(Yb,TC({shapeType:"rectangle",propTransformer:dUe,activeClassName:"recharts-active-bar"},e))}var pUe=["value","background"];function Gf(e){"@babel/helpers - typeof";return Gf=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},Gf(e)}function hUe(e,t){if(e==null)return{};var n=mUe(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function mUe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Xb(){return Xb=Object.assign?Object.assign.bind():function(e){for(var t=1;t"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 Qb(e){return Qb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Qb(e)}function As(e,t,n){return t=JH(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JH(e){var t=xUe(e,"string");return Gf(t)==="symbol"?t:String(t)}function xUe(e,t){if(Gf(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Gf(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Tu=function(e){yUe(n,e);var t=bUe(n);function n(){var r;vUe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a0&&Math.abs(H)0&&Math.abs(G)0&&(z=Math.min((q||0)-(G[ee-1]||0),z))});var H=z/I,Q=v.layout==="vertical"?n.height:n.width;if(v.padding==="gap"&&(T=H*Q/2),v.padding==="no-gap"){var Z=Ur(e.barCategoryGap,H*Q),te=H*Q/2;T=te-Z-(te-Z)/Q*Z}}r==="xAxis"?k=[n.left+(b.left||0)+(T||0),n.left+n.width-(b.right||0)-(T||0)]:r==="yAxis"?k=s==="horizontal"?[n.top+n.height-(b.bottom||0),n.top+(b.top||0)]:[n.top+(b.top||0)+(T||0),n.top+n.height-(b.bottom||0)-(T||0)]:k=v.range,O&&(k=[k[1],k[0]]);var X=RH(v,i,d),$=X.scale,V=X.realScaleType;$.domain(w).range(k),DH($);var W=IH($,io(io({},v),{},{realScaleType:V}));r==="xAxis"?(R=g==="top"&&!x||g==="bottom"&&x,A=n.left,D=f[E]-R*v.height):r==="yAxis"&&(R=g==="left"&&!x||g==="right"&&x,A=f[E]-R*v.width,D=n.top);var re=io(io(io({},v),W),{},{realScaleType:V,x:A,y:D,scale:$,width:r==="xAxis"?n.width:v.width,height:r==="yAxis"?n.height:v.height});return re.bandSize=Fb(re,W),!v.hide&&r==="xAxis"?f[E]+=(R?-1:1)*re.height:v.hide||(f[E]+=(R?-1:1)*re.width),io(io({},p),{},jw({},m,re))},{})},nW=function(e,t){var n=e.x,r=e.y,i=t.x,o=t.y;return{x:Math.min(n,i),y:Math.min(r,o),width:Math.abs(i-n),height:Math.abs(o-r)}},TUe=function(e){var t=e.x1,n=e.y1,r=e.x2,i=e.y2;return nW({x:t,y:n},{x:r,y:i})},rW=function(){function e(t){OUe(this,e),this.scale=t}return SUe(e,[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.bandAware,i=n.position;if(t!==void 0){if(i)switch(i){case"start":return this.scale(t);case"middle":{var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+o}case"end":{var a=this.bandwidth?this.bandwidth():0;return this.scale(t)+a}default:return this.scale(t)}if(r){var s=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+s}return this.scale(t)}}},{key:"isInRange",value:function(t){var n=this.range(),r=n[0],i=n[n.length-1];return r<=i?t>=r&&t<=i:t>=i&&t<=r}}],[{key:"create",value:function(t){return new e(t)}}]),e}();jw(rW,"EPS",1e-4);var NA=function(e){var t=Object.keys(e).reduce(function(n,r){return io(io({},n),{},jw({},r,rW.create(e[r])))},{});return io(io({},t),{},{apply:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.bandAware,o=r.position;return GFe(n,function(a,s){return t[s].apply(a,{bandAware:i,position:o})})},isInRange:function(n){return QH(n,function(r,i){return t[i].isInRange(r)})}})};function CUe(e){return(e%180+180)%180}var kUe=function(e){var t=e.width,n=e.height,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,i=CUe(r),o=i*Math.PI/180,a=Math.atan(n/t),s=o>a&&oe.length)&&(t=e.length);for(var n=0,r=new Array(t);ne*i)return!1;var o=n();return e*(t-e*o/2-r)>=0&&e*(t+e*o/2-i)<=0}function KUe(e,t){return iW(e,t+1)}function ZUe(e,t,n,r,i){for(var o=(r||[]).slice(),a=t.start,s=t.end,l=0,u=1,f=a,d=function(){var m=r==null?void 0:r[l];if(m===void 0)return{v:iW(r,u)};var v=l,g,w=function(){return g===void 0&&(g=n(m,v)),g},y=m.coordinate,b=l===0||Jb(e,y,w,f,s);b||(l=0,f=a,u+=1),b&&(f=y+e*(w()/2+i),l+=u)},p;u<=o.length;)if(p=d(),p)return p.v;return[]}function Vm(e){"@babel/helpers - typeof";return Vm=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},Vm(e)}function F5(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 mr(e){for(var t=1;t0?p.coordinate-g*e:p.coordinate})}else o[d]=p=mr(mr({},p),{},{tickCoord:p.coordinate});var w=Jb(e,p.tickCoord,v,s,l);w&&(l=p.tickCoord-e*(v()/2+i),o[d]=mr(mr({},p),{},{isShow:!0}))},f=a-1;f>=0;f--)u(f);return o}function t$e(e,t,n,r,i,o){var a=(r||[]).slice(),s=a.length,l=t.start,u=t.end;if(o){var f=r[s-1],d=n(f,s-1),p=e*(f.coordinate+e*d/2-u);a[s-1]=f=mr(mr({},f),{},{tickCoord:p>0?f.coordinate-p*e:f.coordinate});var m=Jb(e,f.tickCoord,function(){return d},l,u);m&&(u=f.tickCoord-e*(d/2+i),a[s-1]=mr(mr({},f),{},{isShow:!0}))}for(var v=o?s-1:s,g=function(y){var b=a[y],x,O=function(){return x===void 0&&(x=n(b,y)),x};if(y===0){var E=e*(b.coordinate-e*O()/2-l);a[y]=b=mr(mr({},b),{},{tickCoord:E<0?b.coordinate-E*e:b.coordinate})}else a[y]=b=mr(mr({},b),{},{tickCoord:b.coordinate});var T=Jb(e,b.tickCoord,O,l,u);T&&(l=b.tickCoord+e*(O()/2+i),a[y]=mr(mr({},b),{},{isShow:!0}))},w=0;w=2?Pr(i[1].coordinate-i[0].coordinate):1,y=qUe(o,w,m);return l==="equidistantPreserveStart"?ZUe(w,y,g,i,a):(l==="preserveStart"||l==="preserveStartEnd"?p=t$e(w,y,g,i,a,l==="preserveStartEnd"):p=e$e(w,y,g,i,a),p.filter(function(b){return b.isShow}))}var n$e=["viewBox"],r$e=["viewBox"],i$e=["ticks"];function qf(e){"@babel/helpers - typeof";return qf=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},qf(e)}function Uc(){return Uc=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function o$e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function a$e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $5(e,t){for(var n=0;n"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 e_(e){return e_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},e_(e)}function LA(e,t,n){return t=oW(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oW(e){var t=p$e(e,"string");return qf(t)==="symbol"?t:String(t)}function p$e(e,t){if(qf(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(qf(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var uh=function(e){l$e(n,e);var t=u$e(n);function n(r){var i;return a$e(this,n),i=t.call(this,r),i.state={fontSize:"",letterSpacing:""},i}return s$e(n,[{key:"shouldComponentUpdate",value:function(r,i){var o=r.viewBox,a=QO(r,n$e),s=this.props,l=s.viewBox,u=QO(s,r$e);return!Kc(o,l)||!Kc(a,u)||!Kc(i,this.state)}},{key:"componentDidMount",value:function(){var r=this.layerReference;if(r){var i=r.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];i&&this.setState({fontSize:window.getComputedStyle(i).fontSize,letterSpacing:window.getComputedStyle(i).letterSpacing})}}},{key:"getTickLineCoord",value:function(r){var i=this.props,o=i.x,a=i.y,s=i.width,l=i.height,u=i.orientation,f=i.tickSize,d=i.mirror,p=i.tickMargin,m,v,g,w,y,b,x=d?-1:1,O=r.tickSize||f,E=je(r.tickCoord)?r.tickCoord:r.coordinate;switch(u){case"top":m=v=r.coordinate,w=a+ +!d*l,g=w-x*O,b=g-x*p,y=E;break;case"left":g=w=r.coordinate,v=o+ +!d*s,m=v-x*O,y=m-x*p,b=E;break;case"right":g=w=r.coordinate,v=o+ +d*s,m=v+x*O,y=m+x*p,b=E;break;default:m=v=r.coordinate,w=a+ +d*l,g=w+x*O,b=g+x*p,y=E;break}return{line:{x1:m,y1:g,x2:v,y2:w},tick:{x:y,y:b}}}},{key:"getTickTextAnchor",value:function(){var r=this.props,i=r.orientation,o=r.mirror,a;switch(i){case"left":a=o?"start":"end";break;case"right":a=o?"end":"start";break;default:a="middle";break}return a}},{key:"getTickVerticalAnchor",value:function(){var r=this.props,i=r.orientation,o=r.mirror,a="end";switch(i){case"left":case"right":a="middle";break;case"top":a=o?"start":"end";break;default:a=o?"end":"start";break}return a}},{key:"renderAxisLine",value:function(){var r=this.props,i=r.x,o=r.y,a=r.width,s=r.height,l=r.orientation,u=r.mirror,f=r.axisLine,d=Sr(Sr(Sr({},Ve(this.props)),Ve(f)),{},{fill:"none"});if(l==="top"||l==="bottom"){var p=+(l==="top"&&!u||l==="bottom"&&u);d=Sr(Sr({},d),{},{x1:i,y1:o+p*s,x2:i+a,y2:o+p*s})}else{var m=+(l==="left"&&!u||l==="right"&&u);d=Sr(Sr({},d),{},{x1:i+m*a,y1:o,x2:i+m*a,y2:o+s})}return N.createElement("line",Uc({},d,{className:We("recharts-cartesian-axis-line",ai(f,"className"))}))}},{key:"renderTicks",value:function(r,i,o){var a=this,s=this.props,l=s.tickLine,u=s.stroke,f=s.tick,d=s.tickFormatter,p=s.unit,m=AC(Sr(Sr({},this.props),{},{ticks:r}),i,o),v=this.getTickTextAnchor(),g=this.getTickVerticalAnchor(),w=Ve(this.props),y=Ve(f),b=Sr(Sr({},w),{},{fill:"none"},Ve(l)),x=m.map(function(O,E){var T=a.getTickLineCoord(O),k=T.line,A=T.tick,D=Sr(Sr(Sr(Sr({textAnchor:v,verticalAnchor:g},w),{},{stroke:"none",fill:u},y),A),{},{index:E,payload:O,visibleTicksCount:m.length,tickFormatter:d});return N.createElement(nt,Uc({className:"recharts-cartesian-axis-tick",key:"tick-".concat(O.value,"-").concat(O.coordinate,"-").concat(O.tickCoord)},tl(a.props,O,E)),l&&N.createElement("line",Uc({},b,k,{className:We("recharts-cartesian-axis-tick-line",ai(l,"className"))})),f&&n.renderTickItem(f,D,"".concat(Qe(d)?d(O.value,E):O.value).concat(p||"")))});return N.createElement("g",{className:"recharts-cartesian-axis-ticks"},x)}},{key:"render",value:function(){var r=this,i=this.props,o=i.axisLine,a=i.width,s=i.height,l=i.ticksGenerator,u=i.className,f=i.hide;if(f)return null;var d=this.props,p=d.ticks,m=QO(d,i$e),v=p;return Qe(l)&&(v=p&&p.length>0?l(this.props):l(m)),a<=0||s<=0||!v||!v.length?null:N.createElement(nt,{className:We("recharts-cartesian-axis",u),ref:function(g){r.layerReference=g}},o&&this.renderAxisLine(),this.renderTicks(v,this.state.fontSize,this.state.letterSpacing),Vn.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(r,i,o){var a;return N.isValidElement(r)?a=N.cloneElement(r,i):Qe(r)?a=r(i):a=N.createElement(Su,Uc({},i,{className:"recharts-cartesian-axis-tick-value"}),o),a}}]),n}(F.Component);LA(uh,"displayName","CartesianAxis");LA(uh,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var h$e=["x1","y1","x2","y2","key"],m$e=["offset"];function Kf(e){"@babel/helpers - typeof";return Kf=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},Kf(e)}function MC(){return MC=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function v$e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function z5(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 us(e){for(var t=1;t"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 t_(e){return t_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t_(e)}function RA(e,t,n){return t=aW(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aW(e){var t=S$e(e,"string");return Kf(t)==="symbol"?t:String(t)}function S$e(e,t){if(Kf(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Kf(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Pw=function(e){b$e(n,e);var t=_$e(n);function n(){return g$e(this,n),t.apply(this,arguments)}return y$e(n,[{key:"renderHorizontal",value:function(r){var i=this,o=this.props,a=o.x,s=o.width,l=o.horizontal;if(!r||!r.length)return null;var u=r.map(function(f,d){var p=us(us({},i.props),{},{x1:a,y1:f,x2:a+s,y2:f,key:"line-".concat(d),index:d});return n.renderLineItem(l,p)});return N.createElement("g",{className:"recharts-cartesian-grid-horizontal"},u)}},{key:"renderVertical",value:function(r){var i=this,o=this.props,a=o.y,s=o.height,l=o.vertical;if(!r||!r.length)return null;var u=r.map(function(f,d){var p=us(us({},i.props),{},{x1:f,y1:a,x2:f,y2:a+s,key:"line-".concat(d),index:d});return n.renderLineItem(l,p)});return N.createElement("g",{className:"recharts-cartesian-grid-vertical"},u)}},{key:"renderVerticalStripes",value:function(r){var i=this.props.verticalFill;if(!i||!i.length)return null;var o=this.props,a=o.fillOpacity,s=o.x,l=o.y,u=o.width,f=o.height,d=r.map(function(m){return Math.round(m+s-s)}).sort(function(m,v){return m-v});s!==d[0]&&d.unshift(0);var p=d.map(function(m,v){var g=!d[v+1],w=g?s+u-m:d[v+1]-m;if(w<=0)return null;var y=v%i.length;return N.createElement("rect",{key:"react-".concat(v),x:m,y:l,width:w,height:f,stroke:"none",fill:i[y],fillOpacity:a,className:"recharts-cartesian-grid-bg"})});return N.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},p)}},{key:"renderHorizontalStripes",value:function(r){var i=this.props.horizontalFill;if(!i||!i.length)return null;var o=this.props,a=o.fillOpacity,s=o.x,l=o.y,u=o.width,f=o.height,d=r.map(function(m){return Math.round(m+l-l)}).sort(function(m,v){return m-v});l!==d[0]&&d.unshift(0);var p=d.map(function(m,v){var g=!d[v+1],w=g?l+f-m:d[v+1]-m;if(w<=0)return null;var y=v%i.length;return N.createElement("rect",{key:"react-".concat(v),y:m,x:s,height:w,width:u,stroke:"none",fill:i[y],fillOpacity:a,className:"recharts-cartesian-grid-bg"})});return N.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},p)}},{key:"renderBackground",value:function(){var r=this.props.fill;if(!r||r==="none")return null;var i=this.props,o=i.fillOpacity,a=i.x,s=i.y,l=i.width,u=i.height;return N.createElement("rect",{x:a,y:s,width:l,height:u,stroke:"none",fill:r,fillOpacity:o,className:"recharts-cartesian-grid-bg"})}},{key:"render",value:function(){var r=this.props,i=r.x,o=r.y,a=r.width,s=r.height,l=r.horizontal,u=r.vertical,f=r.horizontalCoordinatesGenerator,d=r.verticalCoordinatesGenerator,p=r.xAxis,m=r.yAxis,v=r.offset,g=r.chartWidth,w=r.chartHeight,y=r.syncWithTicks,b=r.horizontalValues,x=r.verticalValues;if(!je(a)||a<=0||!je(s)||s<=0||!je(i)||i!==+i||!je(o)||o!==+o)return null;var O=this.props,E=O.horizontalPoints,T=O.verticalPoints;if((!E||!E.length)&&Qe(f)){var k=b&&b.length;E=f({yAxis:m?us(us({},m),{},{ticks:k?b:m.ticks}):void 0,width:g,height:w,offset:v},k?!0:y)}if((!T||!T.length)&&Qe(d)){var A=x&&x.length;T=d({xAxis:p?us(us({},p),{},{ticks:A?x:p.ticks}):void 0,width:g,height:w,offset:v},A?!0:y)}return N.createElement("g",{className:"recharts-cartesian-grid"},this.renderBackground(),l&&this.renderHorizontal(E),u&&this.renderVertical(T),l&&this.renderHorizontalStripes(E),u&&this.renderVerticalStripes(T))}}],[{key:"renderLineItem",value:function(r,i){var o;if(N.isValidElement(r))o=N.cloneElement(r,i);else if(Qe(r))o=r(i);else{var a=i.x1,s=i.y1,l=i.x2,u=i.y2,f=i.key,d=B5(i,h$e),p=Ve(d);p.offset;var m=B5(p,m$e);o=N.createElement("line",MC({},m,{x1:a,y1:s,x2:l,y2:u,fill:"none",key:f}))}return o}}]),n}(F.PureComponent);RA(Pw,"displayName","CartesianGrid");RA(Pw,"defaultProps",{horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]});var E$e=["type","layout","connectNulls","ref"];function Zf(e){"@babel/helpers - typeof";return Zf=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},Zf(e)}function T$e(e,t){if(e==null)return{};var n=C$e(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function C$e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function ch(){return ch=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n"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 n_(e){return n_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},n_(e)}function oo(e,t,n){return t=sW(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sW(e){var t=F$e(e,"string");return Zf(t)==="symbol"?t:String(t)}function F$e(e,t){if(Zf(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Zf(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Pd=function(e){L$e(n,e);var t=R$e(n);function n(){var r;N$e(this,n);for(var i=arguments.length,o=new Array(i),a=0;ap){v=[].concat(cc(u.slice(0,g)),[p-w]);break}var y=v.length%2===0?[0,m]:[m];return[].concat(cc(n.repeat(u,d)),cc(v),y).map(function(b){return"".concat(b,"px")}).join(", ")}),oo(ps(r),"id",pl("recharts-line-")),oo(ps(r),"pathRef",function(s){r.mainCurve=s}),oo(ps(r),"handleAnimationEnd",function(){r.setState({isAnimationFinished:!0}),r.props.onAnimationEnd&&r.props.onAnimationEnd()}),oo(ps(r),"handleAnimationStart",function(){r.setState({isAnimationFinished:!1}),r.props.onAnimationStart&&r.props.onAnimationStart()}),r}return M$e(n,[{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}}},{key:"renderErrorBar",value:function(r,i){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var o=this.props,a=o.points,s=o.xAxis,l=o.yAxis,u=o.layout,f=o.children,d=Mr(f,jd);if(!d)return null;var p=function(v,g){return{x:v.x,y:v.y,value:v.value,errorVal:Vt(v.payload,g)}},m={clipPath:r?"url(#clipPath-".concat(i,")"):null};return N.createElement(nt,m,d.map(function(v){return N.cloneElement(v,{key:"bar-".concat(v.props.dataKey),data:a,xAxis:s,yAxis:l,layout:u,dataPointFormatter:p})}))}},{key:"renderDots",value:function(r,i,o){var a=this.props.isAnimationActive;if(a&&!this.state.isAnimationFinished)return null;var s=this.props,l=s.dot,u=s.points,f=s.dataKey,d=Ve(this.props),p=Ve(l,!0),m=u.map(function(g,w){var y=Xr(Xr(Xr({key:"dot-".concat(w),r:3},d),p),{},{value:g.value,dataKey:f,cx:g.x,cy:g.y,index:w,payload:g.payload});return n.renderDotItem(l,y)}),v={clipPath:r?"url(#clipPath-".concat(i?"":"dots-").concat(o,")"):null};return N.createElement(nt,ch({className:"recharts-line-dots",key:"dots"},v),m)}},{key:"renderCurveStatically",value:function(r,i,o,a){var s=this.props,l=s.type,u=s.layout,f=s.connectNulls;s.ref;var d=T$e(s,E$e),p=Xr(Xr(Xr({},Ve(d,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:i?"url(#clipPath-".concat(o,")"):null,points:r},a),{},{type:l,layout:u,connectNulls:f});return N.createElement(Ws,ch({},p,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(r,i){var o=this,a=this.props,s=a.points,l=a.strokeDasharray,u=a.isAnimationActive,f=a.animationBegin,d=a.animationDuration,p=a.animationEasing,m=a.animationId,v=a.animateNewValues,g=a.width,w=a.height,y=this.state,b=y.prevPoints,x=y.totalLength;return N.createElement(Wi,{begin:f,duration:d,isActive:u,easing:p,from:{t:0},to:{t:1},key:"line-".concat(m),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(O){var E=O.t;if(b){var T=b.length/s.length,k=s.map(function(z,G){var H=Math.floor(G*T);if(b[H]){var Q=b[H],Z=en(Q.x,z.x),te=en(Q.y,z.y);return Xr(Xr({},z),{},{x:Z(E),y:te(E)})}if(v){var X=en(g*2,z.x),$=en(w/2,z.y);return Xr(Xr({},z),{},{x:X(E),y:$(E)})}return Xr(Xr({},z),{},{x:z.x,y:z.y})});return o.renderCurveStatically(k,r,i)}var A=en(0,x),D=A(E),R;if(l){var I="".concat(l).split(/[,\s]+/gim).map(function(z){return parseFloat(z)});R=o.getStrokeDasharray(D,x,I)}else R=o.generateSimpleStrokeDasharray(x,D);return o.renderCurveStatically(s,r,i,{strokeDasharray:R})})}},{key:"renderCurve",value:function(r,i){var o=this.props,a=o.points,s=o.isAnimationActive,l=this.state,u=l.prevPoints,f=l.totalLength;return s&&a&&a.length&&(!u&&f>0||!nl(u,a))?this.renderCurveWithAnimation(r,i):this.renderCurveStatically(a,r,i)}},{key:"render",value:function(){var r,i=this.props,o=i.hide,a=i.dot,s=i.points,l=i.className,u=i.xAxis,f=i.yAxis,d=i.top,p=i.left,m=i.width,v=i.height,g=i.isAnimationActive,w=i.id;if(o||!s||!s.length)return null;var y=this.state.isAnimationFinished,b=s.length===1,x=We("recharts-line",l),O=u&&u.allowDataOverflow,E=f&&f.allowDataOverflow,T=O||E,k=Ze(w)?this.id:w,A=(r=Ve(a))!==null&&r!==void 0?r:{r:3,strokeWidth:2},D=A.r,R=D===void 0?3:D,I=A.strokeWidth,z=I===void 0?2:I,G=Ez(a)?a:{},H=G.clipDot,Q=H===void 0?!0:H,Z=R*2+z;return N.createElement(nt,{className:x},O||E?N.createElement("defs",null,N.createElement("clipPath",{id:"clipPath-".concat(k)},N.createElement("rect",{x:O?p:p-m/2,y:E?d:d-v/2,width:O?m:m*2,height:E?v:v*2})),!Q&&N.createElement("clipPath",{id:"clipPath-dots-".concat(k)},N.createElement("rect",{x:p-Z/2,y:d-Z/2,width:m+Z,height:v+Z}))):null,!b&&this.renderCurve(T,k),this.renderErrorBar(T,k),(b||a)&&this.renderDots(T,Q,k),(!g||y)&&yo.renderCallByParent(this.props,s))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return r.animationId!==i.prevAnimationId?{prevAnimationId:r.animationId,curPoints:r.points,prevPoints:i.curPoints}:r.points!==i.curPoints?{curPoints:r.points}:null}},{key:"repeat",value:function(r,i){for(var o=r.length%2!==0?[].concat(cc(r),[0]):r,a=[],s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function B$e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Xl(){return Xl=Object.assign?Object.assign.bind():function(e){for(var t=1;t"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 r_(e){return r_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},r_(e)}function $o(e,t,n){return t=uW(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uW(e){var t=q$e(e,"string");return Xf(t)==="symbol"?t:String(t)}function q$e(e,t){if(Xf(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Xf(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Uu=function(e){H$e(n,e);var t=W$e(n);function n(){var r;z$e(this,n);for(var i=arguments.length,o=new Array(i),a=0;a0||!nl(f,a)||!nl(d,s))?this.renderAreaWithAnimation(r,i):this.renderAreaStatically(a,s,r,i)}},{key:"render",value:function(){var r,i=this.props,o=i.hide,a=i.dot,s=i.points,l=i.className,u=i.top,f=i.left,d=i.xAxis,p=i.yAxis,m=i.width,v=i.height,g=i.isAnimationActive,w=i.id;if(o||!s||!s.length)return null;var y=this.state.isAnimationFinished,b=s.length===1,x=We("recharts-area",l),O=d&&d.allowDataOverflow,E=p&&p.allowDataOverflow,T=O||E,k=Ze(w)?this.id:w,A=(r=Ve(a))!==null&&r!==void 0?r:{r:3,strokeWidth:2},D=A.r,R=D===void 0?3:D,I=A.strokeWidth,z=I===void 0?2:I,G=Ez(a)?a:{},H=G.clipDot,Q=H===void 0?!0:H,Z=R*2+z;return N.createElement(nt,{className:x},O||E?N.createElement("defs",null,N.createElement("clipPath",{id:"clipPath-".concat(k)},N.createElement("rect",{x:O?f:f-m/2,y:E?u:u-v/2,width:O?m:m*2,height:E?v:v*2})),!Q&&N.createElement("clipPath",{id:"clipPath-dots-".concat(k)},N.createElement("rect",{x:f-Z/2,y:u-Z/2,width:m+Z,height:v+Z}))):null,b?null:this.renderArea(T,k),(a||b)&&this.renderDots(T,Q,k),(!g||y)&&yo.renderCallByParent(this.props,s))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return r.animationId!==i.prevAnimationId?{prevAnimationId:r.animationId,curPoints:r.points,curBaseLine:r.baseLine,prevPoints:i.curPoints,prevBaseLine:i.curBaseLine}:r.points!==i.curPoints||r.baseLine!==i.curBaseLine?{curPoints:r.points,curBaseLine:r.baseLine}:null}}]),n}(F.PureComponent);lW=Uu;$o(Uu,"displayName","Area");$o(Uu,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!Ii.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"});$o(Uu,"getBaseValue",function(e,t,n,r){var i=e.layout,o=e.baseValue,a=t.props.baseValue,s=a??o;if(je(s)&&typeof s=="number")return s;var l=i==="horizontal"?r:n,u=l.scale.domain();if(l.type==="number"){var f=Math.max(u[0],u[1]),d=Math.min(u[0],u[1]);return s==="dataMin"?d:s==="dataMax"||f<0?f:Math.max(Math.min(u[0],u[1]),0)}return s==="dataMin"?u[0]:s==="dataMax"?u[1]:u[0]});$o(Uu,"getComposedData",function(e){var t=e.props,n=e.item,r=e.xAxis,i=e.yAxis,o=e.xAxisTicks,a=e.yAxisTicks,s=e.bandSize,l=e.dataKey,u=e.stackedData,f=e.dataStartIndex,d=e.displayedData,p=e.offset,m=t.layout,v=u&&u.length,g=lW.getBaseValue(t,n,r,i),w=m==="horizontal",y=!1,b=d.map(function(O,E){var T;v?T=u[f+E]:(T=Vt(O,l),Array.isArray(T)?y=!0:T=[g,T]);var k=T[1]==null||v&&Vt(O,l)==null;return w?{x:zf({axis:r,ticks:o,bandSize:s,entry:O,index:E}),y:k?null:i.scale(T[1]),value:T,payload:O}:{x:k?null:r.scale(T[1]),y:zf({axis:i,ticks:a,bandSize:s,entry:O,index:E}),value:T,payload:O}}),x;return v||y?x=b.map(function(O){var E=Array.isArray(O.value)?O.value[0]:null;return w?{x:O.x,y:E!=null&&O.y!=null?i.scale(E):null}:{x:E!=null?r.scale(E):null,y:O.y}}):x=w?i.scale(g):r.scale(g),hs({points:b,baseLine:x,layout:m,isRange:y},p)});$o(Uu,"renderDotItem",function(e,t){var n;return N.isValidElement(e)?n=N.cloneElement(e,t):Qe(e)?n=e(t):n=N.createElement(Tv,Xl({},t,{className:"recharts-area-dot"})),n});var Aw=function(){return null};Aw.displayName="ZAxis";Aw.defaultProps={zAxisId:0,range:[64,64],scale:"auto",type:"number"};var K$e=["option","isActive"];function fh(){return fh=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function X$e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Q$e(e){var t=e.option,n=e.isActive,r=Z$e(e,K$e);return typeof t=="string"?N.createElement(Yb,fh({option:N.createElement(uw,fh({type:t},r)),isActive:n,shapeType:"symbols"},r)):N.createElement(Yb,fh({option:t,isActive:n,shapeType:"symbols"},r))}function Qf(e){"@babel/helpers - typeof";return Qf=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},Qf(e)}function dh(){return dh=Object.assign?Object.assign.bind():function(e){for(var t=1;t"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 i_(e){return i_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},i_(e)}function Ns(e,t,n){return t=cW(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cW(e){var t=o7e(e,"string");return Qf(t)==="symbol"?t:String(t)}function o7e(e,t){if(Qf(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Qf(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Nw=function(e){t7e(n,e);var t=n7e(n);function n(){var r;J$e(this,n);for(var i=arguments.length,o=new Array(i),a=0;a-1?i[o?t[a]:a]:void 0}}var c7e=u7e,f7e=KH;function d7e(e){var t=f7e(e),n=t%1;return t===t?n?t-n:t:0}var p7e=d7e,h7e=hV,m7e=ia,v7e=p7e,g7e=Math.max;function y7e(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=n==null?0:v7e(n);return i<0&&(i=g7e(r+i,0)),h7e(e,m7e(t),i)}var b7e=y7e,_7e=c7e,w7e=b7e,x7e=_7e(w7e),O7e=x7e;const S7e=Ot(O7e);var E7e="Invariant failed";function T7e(e,t){if(!e)throw new Error(E7e)}function fW(e){var t=e.cx,n=e.cy,r=e.radius,i=e.startAngle,o=e.endAngle,a=It(t,n,r,i),s=It(t,n,r,o);return{points:[a,s],cx:t,cy:n,radius:r,startAngle:i,endAngle:o}}function Z5(e){return P7e(e)||j7e(e)||k7e(e)||C7e()}function C7e(){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 k7e(e,t){if(e){if(typeof e=="string")return UC(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 UC(e,t)}}function j7e(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function P7e(e){if(Array.isArray(e))return UC(e)}function UC(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function W7e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Y7e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e8(e,t){for(var n=0;n"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 o_(e){return o_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},o_(e)}function ed(e){return eBe(e)||J7e(e)||hW(e)||Q7e()}function Q7e(){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 hW(e,t){if(e){if(typeof e=="string")return zC(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 zC(e,t)}}function J7e(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function eBe(e){if(Array.isArray(e))return zC(e)}function zC(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?o:e&&e.length&&je(r)&&je(i)?e.slice(r,i+1):[]};function gW(e){return e==="number"?[0,"auto"]:void 0}var yW=function(e,t,n,r){var i=e.graphicalItems,o=e.tooltipAxis,a=Mw(t,e);return n<0||!i||!i.length||n>=a.length?null:i.reduce(function(s,l){var u,f=l.props.hide;if(f)return s;var d=(u=l.props.data)!==null&&u!==void 0?u:t;d&&e.dataStartIndex+e.dataEndIndex!==0&&(d=d.slice(e.dataStartIndex,e.dataEndIndex+1));var p;if(o.dataKey&&!o.allowDuplicatedCategory){var m=d===void 0?a:d;p=sb(m,o.dataKey,r)}else p=d&&d[n]||a[n];return p?[].concat(ed(s),[UH(l,p)]):s},[])},n8=function(e,t,n,r){var i=r||{x:e.chartX,y:e.chartY},o=iBe(i,n),a=e.orderedTooltipTicks,s=e.tooltipAxis,l=e.tooltipTicks,u=j4e(o,a,l,s);if(u>=0&&l){var f=l[u]&&l[u].value,d=yW(e,t,u,f),p=oBe(n,a,u,i);return{activeTooltipIndex:u,activeLabel:f,activePayload:d,activeCoordinate:p}}return null},aBe=function(e,t){var n=t.axes,r=t.graphicalItems,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,s=t.dataStartIndex,l=t.dataEndIndex,u=e.layout,f=e.children,d=e.stackOffset,p=LH(u,i);return n.reduce(function(m,v){var g,w=v.props,y=w.type,b=w.dataKey,x=w.allowDataOverflow,O=w.allowDuplicatedCategory,E=w.scale,T=w.ticks,k=w.includeHidden,A=v.props[o];if(m[A])return m;var D=Mw(e.data,{graphicalItems:r.filter(function(W){return W.props[o]===A}),dataStartIndex:s,dataEndIndex:l}),R=D.length,I,z,G;I7e(v.props.domain,x,y)&&(I=hC(v.props.domain,null,x),p&&(y==="number"||E!=="auto")&&(G=Ny(D,b,"category")));var H=gW(y);if(!I||I.length===0){var Q,Z=(Q=v.props.domain)!==null&&Q!==void 0?Q:H;if(b){if(I=Ny(D,b,y),y==="category"&&p){var te=a1e(I);O&&te?(z=I,I=qb(0,R)):O||(I=F6(Z,I,v).reduce(function(W,re){return W.indexOf(re)>=0?W:[].concat(ed(W),[re])},[]))}else if(y==="category")O?I=I.filter(function(W){return W!==""&&!Ze(W)}):I=F6(Z,I,v).reduce(function(W,re){return W.indexOf(re)>=0||re===""||Ze(re)?W:[].concat(ed(W),[re])},[]);else if(y==="number"){var X=L4e(D,r.filter(function(W){return W.props[o]===A&&(k||!W.props.hide)}),b,i,u);X&&(I=X)}p&&(y==="number"||E!=="auto")&&(G=Ny(D,b,"category"))}else p?I=qb(0,R):a&&a[A]&&a[A].hasStack&&y==="number"?I=d==="expand"?[0,1]:FH(a[A].stackGroups,s,l):I=MH(D,r.filter(function(W){return W.props[o]===A&&(k||!W.props.hide)}),y,u,!0);if(y==="number")I=$C(f,I,A,i,T),Z&&(I=hC(Z,I,x));else if(y==="category"&&Z){var $=Z,V=I.every(function(W){return $.indexOf(W)>=0});V&&(I=$)}}return ye(ye({},m),{},Ge({},A,ye(ye({},v.props),{},{axisType:i,domain:I,categoricalDomain:G,duplicateDomain:z,originalDomain:(g=v.props.domain)!==null&&g!==void 0?g:H,isCategorical:p,layout:u})))},{})},sBe=function(e,t){var n=t.graphicalItems,r=t.Axis,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,s=t.dataStartIndex,l=t.dataEndIndex,u=e.layout,f=e.children,d=Mw(e.data,{graphicalItems:n,dataStartIndex:s,dataEndIndex:l}),p=d.length,m=LH(u,i),v=-1;return n.reduce(function(g,w){var y=w.props[o],b=gW("number");if(!g[y]){v++;var x;return m?x=qb(0,p):a&&a[y]&&a[y].hasStack?(x=FH(a[y].stackGroups,s,l),x=$C(f,x,y,i)):(x=hC(b,MH(d,n.filter(function(O){return O.props[o]===y&&!O.props.hide}),"number",u),r.defaultProps.allowDataOverflow),x=$C(f,x,y,i)),ye(ye({},g),{},Ge({},y,ye(ye({axisType:i},r.defaultProps),{},{hide:!0,orientation:ai(nBe,"".concat(i,".").concat(v%2),null),domain:x,originalDomain:b,isCategorical:m,layout:u})))}return g},{})},lBe=function(e,t){var n=t.axisType,r=n===void 0?"xAxis":n,i=t.AxisComp,o=t.graphicalItems,a=t.stackGroups,s=t.dataStartIndex,l=t.dataEndIndex,u=e.children,f="".concat(r,"Id"),d=Mr(u,i),p={};return d&&d.length?p=aBe(e,{axes:d,graphicalItems:o,axisType:r,axisIdKey:f,stackGroups:a,dataStartIndex:s,dataEndIndex:l}):o&&o.length&&(p=sBe(e,{Axis:i,graphicalItems:o,axisType:r,axisIdKey:f,stackGroups:a,dataStartIndex:s,dataEndIndex:l})),p},uBe=function(e){var t=fs(e),n=ds(t,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:nA(n,function(r){return r.coordinate}),tooltipAxis:t,tooltipAxisBandSize:Fb(t,n)}},r8=function(e){var t=e.children,n=e.defaultShowTooltip,r=ba(t,Im),i=0,o=0;return e.data&&e.data.length!==0&&(o=e.data.length-1),r&&r.props&&(r.props.startIndex>=0&&(i=r.props.startIndex),r.props.endIndex>=0&&(o=r.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:i,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:!!n}},cBe=function(e){return!e||!e.length?!1:e.some(function(t){var n=Ea(t&&t.type);return n&&n.indexOf("Bar")>=0})},i8=function(e){return e==="horizontal"?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:e==="vertical"?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:e==="centric"?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},fBe=function(e,t){var n=e.props,r=e.graphicalItems,i=e.xAxisMap,o=i===void 0?{}:i,a=e.yAxisMap,s=a===void 0?{}:a,l=n.width,u=n.height,f=n.children,d=n.margin||{},p=ba(f,Im),m=ba(f,lm),v=Object.keys(s).reduce(function(O,E){var T=s[E],k=T.orientation;return!T.mirror&&!T.hide?ye(ye({},O),{},Ge({},k,O[k]+T.width)):O},{left:d.left||0,right:d.right||0}),g=Object.keys(o).reduce(function(O,E){var T=o[E],k=T.orientation;return!T.mirror&&!T.hide?ye(ye({},O),{},Ge({},k,ai(O,"".concat(k))+T.height)):O},{top:d.top||0,bottom:d.bottom||0}),w=ye(ye({},g),v),y=w.bottom;p&&(w.bottom+=p.props.height||Im.defaultProps.height),m&&t&&(w=N4e(w,r,n,t));var b=l-w.left-w.right,x=u-w.top-w.bottom;return ye(ye({brushBottom:y},w),{},{width:Math.max(b,0),height:Math.max(x,0)})},DA=function(e){var t,n=e.chartName,r=e.GraphicalChild,i=e.defaultTooltipEventType,o=i===void 0?"axis":i,a=e.validateTooltipEventTypes,s=a===void 0?["axis"]:a,l=e.axisComponents,u=e.legendContent,f=e.formatAxisMap,d=e.defaultProps,p=function(v,g){var w=g.graphicalItems,y=g.stackGroups,b=g.offset,x=g.updateId,O=g.dataStartIndex,E=g.dataEndIndex,T=v.barSize,k=v.layout,A=v.barGap,D=v.barCategoryGap,R=v.maxBarSize,I=i8(k),z=I.numericAxisName,G=I.cateAxisName,H=cBe(w),Q=H&&P4e({barSize:T,stackGroups:y}),Z=[];return w.forEach(function(te,X){var $=Mw(v.data,{graphicalItems:[te],dataStartIndex:O,dataEndIndex:E}),V=te.props,W=V.dataKey,re=V.maxBarSize,q=te.props["".concat(z,"Id")],ee=te.props["".concat(G,"Id")],ie={},se=l.reduce(function(Oe,Ce){var ke,Ae=g["".concat(Ce.axisType,"Map")],ce=te.props["".concat(Ce.axisType,"Id")];Ae&&Ae[ce]||Ce.axisType==="zAxis"||T7e(!1);var de=Ae[ce];return ye(ye({},Oe),{},(ke={},Ge(ke,Ce.axisType,de),Ge(ke,"".concat(Ce.axisType,"Ticks"),ds(de)),ke))},ie),fe=se[G],j=se["".concat(G,"Ticks")],P=y&&y[q]&&y[q].hasStack&&V4e(te,y[q].stackGroups),B=Ea(te.type).indexOf("Bar")>=0,J=Fb(fe,j),K=[];if(B){var le,he,Ee=Ze(re)?R:re,ue=(le=(he=Fb(fe,j,!0))!==null&&he!==void 0?he:Ee)!==null&&le!==void 0?le:0;K=A4e({barGap:A,barCategoryGap:D,bandSize:ue!==J?ue:J,sizeList:Q[ee],maxBarSize:Ee}),ue!==J&&(K=K.map(function(Oe){return ye(ye({},Oe),{},{position:ye(ye({},Oe.position),{},{offset:Oe.position.offset-ue/2})})}))}var ve=te&&te.type&&te.type.getComposedData;if(ve){var ge;Z.push({props:ye(ye({},ve(ye(ye({},se),{},{displayedData:$,props:v,dataKey:W,item:te,bandSize:J,barPosition:K,offset:b,stackedData:P,layout:k,dataStartIndex:O,dataEndIndex:E}))),{},(ge={key:te.key||"item-".concat(X)},Ge(ge,z,se[z]),Ge(ge,G,se[G]),Ge(ge,"animationId",x),ge)),childIndex:y1e(te,v.children),item:te})}}),Z},m=function(v,g){var w=v.props,y=v.dataStartIndex,b=v.dataEndIndex,x=v.updateId;if(!fI({props:w}))return null;var O=w.children,E=w.layout,T=w.stackOffset,k=w.data,A=w.reverseStackOrder,D=i8(E),R=D.numericAxisName,I=D.cateAxisName,z=Mr(O,r),G=B4e(k,z,"".concat(R,"Id"),"".concat(I,"Id"),T,A),H=l.reduce(function($,V){var W="".concat(V.axisType,"Map");return ye(ye({},$),{},Ge({},W,lBe(w,ye(ye({},V),{},{graphicalItems:z,stackGroups:V.axisType===R&&G,dataStartIndex:y,dataEndIndex:b}))))},{}),Q=fBe(ye(ye({},H),{},{props:w,graphicalItems:z}),g==null?void 0:g.legendBBox);Object.keys(H).forEach(function($){H[$]=f(w,H[$],Q,$.replace("Map",""),n)});var Z=H["".concat(I,"Map")],te=uBe(Z),X=p(w,ye(ye({},H),{},{dataStartIndex:y,dataEndIndex:b,updateId:x,graphicalItems:z,stackGroups:G,offset:Q}));return ye(ye({formattedGraphicalItems:X,graphicalItems:z,offset:Q,stackGroups:G},te),H)};return t=function(v){q7e(w,v);var g=K7e(w);function w(y){var b,x,O;return Y7e(this,w),O=g.call(this,y),Ge(ot(O),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),Ge(ot(O),"accessibilityManager",new D7e),Ge(ot(O),"handleLegendBBoxUpdate",function(E){if(E){var T=O.state,k=T.dataStartIndex,A=T.dataEndIndex,D=T.updateId;O.setState(ye({legendBBox:E},m({props:O.props,dataStartIndex:k,dataEndIndex:A,updateId:D},ye(ye({},O.state),{},{legendBBox:E}))))}}),Ge(ot(O),"handleReceiveSyncEvent",function(E,T,k){if(O.props.syncId===E){if(k===O.eventEmitterSymbol&&typeof O.props.syncMethod!="function")return;O.applySyncEvent(T)}}),Ge(ot(O),"handleBrushChange",function(E){var T=E.startIndex,k=E.endIndex;if(T!==O.state.dataStartIndex||k!==O.state.dataEndIndex){var A=O.state.updateId;O.setState(function(){return ye({dataStartIndex:T,dataEndIndex:k},m({props:O.props,dataStartIndex:T,dataEndIndex:k,updateId:A},O.state))}),O.triggerSyncEvent({dataStartIndex:T,dataEndIndex:k})}}),Ge(ot(O),"handleMouseEnter",function(E){var T=O.getMouseInfo(E);if(T){var k=ye(ye({},T),{},{isTooltipActive:!0});O.setState(k),O.triggerSyncEvent(k);var A=O.props.onMouseEnter;Qe(A)&&A(k,E)}}),Ge(ot(O),"triggeredAfterMouseMove",function(E){var T=O.getMouseInfo(E),k=T?ye(ye({},T),{},{isTooltipActive:!0}):{isTooltipActive:!1};O.setState(k),O.triggerSyncEvent(k);var A=O.props.onMouseMove;Qe(A)&&A(k,E)}),Ge(ot(O),"handleItemMouseEnter",function(E){O.setState(function(){return{isTooltipActive:!0,activeItem:E,activePayload:E.tooltipPayload,activeCoordinate:E.tooltipPosition||{x:E.cx,y:E.cy}}})}),Ge(ot(O),"handleItemMouseLeave",function(){O.setState(function(){return{isTooltipActive:!1}})}),Ge(ot(O),"handleMouseMove",function(E){E.persist(),O.throttleTriggeredAfterMouseMove(E)}),Ge(ot(O),"handleMouseLeave",function(E){var T={isTooltipActive:!1};O.setState(T),O.triggerSyncEvent(T);var k=O.props.onMouseLeave;Qe(k)&&k(T,E)}),Ge(ot(O),"handleOuterEvent",function(E){var T=g1e(E),k=ai(O.props,"".concat(T));if(T&&Qe(k)){var A,D;/.*touch.*/i.test(T)?D=O.getMouseInfo(E.changedTouches[0]):D=O.getMouseInfo(E),k((A=D)!==null&&A!==void 0?A:{},E)}}),Ge(ot(O),"handleClick",function(E){var T=O.getMouseInfo(E);if(T){var k=ye(ye({},T),{},{isTooltipActive:!0});O.setState(k),O.triggerSyncEvent(k);var A=O.props.onClick;Qe(A)&&A(k,E)}}),Ge(ot(O),"handleMouseDown",function(E){var T=O.props.onMouseDown;if(Qe(T)){var k=O.getMouseInfo(E);T(k,E)}}),Ge(ot(O),"handleMouseUp",function(E){var T=O.props.onMouseUp;if(Qe(T)){var k=O.getMouseInfo(E);T(k,E)}}),Ge(ot(O),"handleTouchMove",function(E){E.changedTouches!=null&&E.changedTouches.length>0&&O.throttleTriggeredAfterMouseMove(E.changedTouches[0])}),Ge(ot(O),"handleTouchStart",function(E){E.changedTouches!=null&&E.changedTouches.length>0&&O.handleMouseDown(E.changedTouches[0])}),Ge(ot(O),"handleTouchEnd",function(E){E.changedTouches!=null&&E.changedTouches.length>0&&O.handleMouseUp(E.changedTouches[0])}),Ge(ot(O),"triggerSyncEvent",function(E){O.props.syncId!==void 0&&JO.emit(e1,O.props.syncId,E,O.eventEmitterSymbol)}),Ge(ot(O),"applySyncEvent",function(E){var T=O.props,k=T.layout,A=T.syncMethod,D=O.state.updateId,R=E.dataStartIndex,I=E.dataEndIndex;if(E.dataStartIndex!==void 0||E.dataEndIndex!==void 0)O.setState(ye({dataStartIndex:R,dataEndIndex:I},m({props:O.props,dataStartIndex:R,dataEndIndex:I,updateId:D},O.state)));else if(E.activeTooltipIndex!==void 0){var z=E.chartX,G=E.chartY,H=E.activeTooltipIndex,Q=O.state,Z=Q.offset,te=Q.tooltipTicks;if(!Z)return;if(typeof A=="function")H=A(te,E);else if(A==="value"){H=-1;for(var X=0;X=0){var B,J;if(z.dataKey&&!z.allowDuplicatedCategory){var K=typeof z.dataKey=="function"?P:"payload.".concat(z.dataKey.toString());B=sb(X,K,H),J=$&&V&&sb(V,K,H)}else B=X==null?void 0:X[G],J=$&&V&&V[G];if(ie||ee){var le=E.props.activeIndex!==void 0?E.props.activeIndex:G;return[F.cloneElement(E,ye(ye(ye({},A.props),fe),{},{activeIndex:le})),null,null]}if(!Ze(B))return[j].concat(ed(O.renderActivePoints({item:A,activePoint:B,basePoint:J,childIndex:G,isRange:$})))}else{var he,Ee=(he=O.getItemByXY(O.state.activeCoordinate))!==null&&he!==void 0?he:{graphicalItem:j},ue=Ee.graphicalItem,ve=ue.item,ge=ve===void 0?E:ve,Oe=ue.childIndex,Ce=ye(ye(ye({},A.props),fe),{},{activeIndex:Oe});return[F.cloneElement(ge,Ce),null,null]}return $?[j,null,null]:[j,null]}),Ge(ot(O),"renderCustomized",function(E,T,k){return F.cloneElement(E,ye(ye({key:"recharts-customized-".concat(k)},O.props),O.state))}),Ge(ot(O),"renderMap",{CartesianGrid:{handler:O.renderGrid,once:!0},ReferenceArea:{handler:O.renderReferenceElement},ReferenceLine:{handler:O.renderReferenceElement},ReferenceDot:{handler:O.renderReferenceElement},XAxis:{handler:O.renderXAxis},YAxis:{handler:O.renderYAxis},Brush:{handler:O.renderBrush,once:!0},Bar:{handler:O.renderGraphicChild},Line:{handler:O.renderGraphicChild},Area:{handler:O.renderGraphicChild},Radar:{handler:O.renderGraphicChild},RadialBar:{handler:O.renderGraphicChild},Scatter:{handler:O.renderGraphicChild},Pie:{handler:O.renderGraphicChild},Funnel:{handler:O.renderGraphicChild},Tooltip:{handler:O.renderCursor,once:!0},PolarGrid:{handler:O.renderPolarGrid,once:!0},PolarAngleAxis:{handler:O.renderPolarAxis},PolarRadiusAxis:{handler:O.renderPolarAxis},Customized:{handler:O.renderCustomized}}),O.clipPathId="".concat((b=y.id)!==null&&b!==void 0?b:pl("recharts"),"-clip"),O.throttleTriggeredAfterMouseMove=MV(O.triggeredAfterMouseMove,(x=y.throttleDelay)!==null&&x!==void 0?x:1e3/60),O.state={},O}return G7e(w,[{key:"componentDidMount",value:function(){var y,b;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(y=this.props.margin.left)!==null&&y!==void 0?y:0,top:(b=this.props.margin.top)!==null&&b!==void 0?b:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout})}},{key:"getSnapshotBeforeUpdate",value:function(y,b){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==b.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==y.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==y.margin){var x,O;this.accessibilityManager.setDetails({offset:{left:(x=this.props.margin.left)!==null&&x!==void 0?x:0,top:(O=this.props.margin.top)!==null&&O!==void 0?O:0}})}return null}},{key:"componentDidUpdate",value:function(){}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var y=ba(this.props.children,_a);if(y&&typeof y.props.shared=="boolean"){var b=y.props.shared?"axis":"item";return s.indexOf(b)>=0?b:o}return o}},{key:"getMouseInfo",value:function(y){if(!this.container)return null;var b=this.container,x=b.getBoundingClientRect(),O=fLe(x),E={chartX:Math.round(y.pageX-O.left),chartY:Math.round(y.pageY-O.top)},T=x.width/b.offsetWidth||1,k=this.inRange(E.chartX,E.chartY,T);if(!k)return null;var A=this.state,D=A.xAxisMap,R=A.yAxisMap,I=this.getTooltipEventType();if(I!=="axis"&&D&&R){var z=fs(D).scale,G=fs(R).scale,H=z&&z.invert?z.invert(E.chartX):null,Q=G&&G.invert?G.invert(E.chartY):null;return ye(ye({},E),{},{xValue:H,yValue:Q})}var Z=n8(this.state,this.props.data,this.props.layout,k);return Z?ye(ye({},E),Z):null}},{key:"inRange",value:function(y,b){var x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,O=this.props.layout,E=y/x,T=b/x;if(O==="horizontal"||O==="vertical"){var k=this.state.offset,A=E>=k.left&&E<=k.left+k.width&&T>=k.top&&T<=k.top+k.height;return A?{x:E,y:T}:null}var D=this.state,R=D.angleAxisMap,I=D.radiusAxisMap;if(R&&I){var z=fs(R);return B6({x:E,y:T},z)}return null}},{key:"parseEventsOfWrapper",value:function(){var y=this.props.children,b=this.getTooltipEventType(),x=ba(y,_a),O={};x&&b==="axis"&&(x.props.trigger==="click"?O={onClick:this.handleClick}:O={onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd});var E=lb(this.props,this.handleOuterEvent);return ye(ye({},E),O)}},{key:"addListener",value:function(){JO.on(e1,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){JO.removeListener(e1,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(y,b,x){for(var O=this.state.formattedGraphicalItems,E=0,T=O.length;E_.jsx("ul",{className:"doughnut-chart-legend",children:e.map(({name:n,color:r,value:i})=>_.jsxs("li",{className:"doughnut-chart-legend__item d-flex",children:[_.jsx("div",{className:"doughnut-chart-legend__item-color",style:{backgroundColor:r}}),_.jsxs("small",{className:"doughnut-chart-legend__item-text flex-fill",children:[n,t&&_.jsxs("b",{children:[" (",bn(i),")"]})]})]},n))}),vBe=({stats:e,showNumbersInLegend:t,dimensions:n})=>{const r=F.useMemo(()=>Object.entries(e).map(([o,a],s)=>({name:o,value:a,color:o8[s%o8.length]})),[e]),i=Bj()?Ece:Sce;return _.jsxs("div",{className:"row align-items-center",children:[_.jsx("div",{className:"col-sm-12 col-md-7",children:_.jsx("div",{style:n??{width:"100%",height:300},children:_.jsx(n?F.Fragment:oA,{children:_.jsxs(pBe,{...n,children:[_.jsx(_a,{formatter:bn,contentStyle:IA,itemStyle:{color:"white"}}),_.jsx(ns,{data:r,dataKey:"value",nameKey:"name",startAngle:360,endAngle:0,outerRadius:"100%",innerRadius:"50%",animationBegin:0,children:r.map((o,a)=>_.jsx(Ou,{fill:o.color,stroke:i},`${o.name}-${a}`))})]})})})}),_.jsx("div",{className:"col-sm-12 col-md-5",children:_.jsx(mBe,{chartData:r,showNumbers:t})})]})},a8=({title:e,stats:t,dimensions:n})=>{const[r,i]=En(!1);return _.jsx(hz,{title:_.jsxs(_.Fragment,{children:[e,_.jsx("div",{className:"float-end",children:_.jsx(_f,{checked:r,onChange:i,children:"Show numbers"})})]}),children:_.jsx(vBe,{stats:t,showNumbersInLegend:r,dimensions:n})})},gBe={monthly:"Month",weekly:"Week",daily:"Day",hourly:"Hour"},yBe={hourly:e=>({hours:e}),daily:e=>({days:e}),weekly:e=>({weeks:e}),monthly:e=>({months:e})},bBe={hourly:Fde,daily:nP,weekly:Bde,monthly:q0},FA={hourly:e=>Ef(e,"yyyy-MM-dd HH:00"),daily:e=>Yl(e),weekly(e){const t=Yl(qh(e)),n=Yl(Hde(e));return`${t} - ${n}`},monthly:e=>Ef(e,"yyyy-MM")},_Be=e=>{var t;const n=new Date,r=Ua(e);return((t=[[()=>nP(n,r)<=2,"hourly"],[()=>q0(n,r)<=1,"daily"],[()=>q0(n,r)<=6,"weekly"]].find(([i])=>i()))==null?void 0:t[1])??"monthly"},s8=(e,t)=>N2(t,n=>FA[e](Ua(n.date))),wBe=(e,t)=>t.reduce((n,r)=>{const i=FA[e](Ua(r.date));return n[i]=n[i]??[],n[i].push(r),n},{}),xBe=(e,t)=>{const n=t[0],r=t[t.length-1];if(!n||!r)return{};const i=bBe[e],o=FA[e],a=yBe[e],s=Ua(n.date),l=Ua(r.date),u=i(s,l);return[o(l),...mP(u,f=>o(Cde(l,a(f))))].reduce((f,d)=>(f[d]=0,f),{})},l8=({onDotClick:e,dataKey:t,color:n})=>_.jsx(Pd,{type:"monotone",dataKey:t,stroke:n,strokeWidth:3,activeDot:{cursor:"pointer",onClick:e}}),OBe=({visits:e,title:t,highlightedVisits:n,highlightedLabel:r="Selected",setSelectedVisits:i,dimensions:o,matchMedia:a})=>{const[s,l]=F.useState(e.length>0?_Be(e[e.length-1].date):"monthly"),u=vP(767,a??window.matchMedia),f=F.useMemo(()=>{const g=s8(s,[...e].reverse()),w=s8(s,[...n].reverse()),y={...xBe(s,e),...g};return Object.entries(y).map(([b,x])=>({date:b,amount:x,highlightedAmount:w[b]??0}))},[s,e,n]),d=F.useMemo(()=>wBe(s,e),[s,e]),p=F.useCallback((g,{payload:w})=>{const y=d[w.date]??[];i==null||i(y===n?[]:y)},[d,n,i]),m=o?F.Fragment:oA,v=o?{}:{width:"100%",height:u?300:400};return _.jsxs(ui,{children:[_.jsxs(vf,{role:"heading","aria-level":4,children:[t,_.jsx("div",{className:"float-end",children:_.jsxs(ov,{children:[_.jsx(ud,{caret:!0,color:"link",className:"btn-sm p-0",children:"Group by"}),_.jsx(ld,{end:!0,children:Object.entries(gBe).map(([g,w])=>_.jsx(ze,{active:s===g,onClick:()=>l(g),children:w},g))})]})})]}),_.jsx(mf,{children:_.jsx(m,{...v,children:_.jsxs(dBe,{data:f,...o,children:[_.jsx(Ad,{dataKey:"date"}),_.jsx(Nd,{dataKey:"amount",tickFormatter:bn}),_.jsx(_a,{formatter:(g,w)=>[bn(g),w==="amount"?"Visits":r],contentStyle:IA}),_.jsx(Pw,{strokeOpacity:Bj()?.1:.9}),l8({color:$0,dataKey:"amount",onDotClick:p}),n.length>0&&l8({color:HE,dataKey:"highlightedAmount",onDotClick:p})]})})})]})},SBe=({toggleClassName:e,ranges:t,value:n,setValue:r})=>_.jsxs(ov,{children:[_.jsx(ud,{caret:!0,color:"link",className:e,children:"Paginate"}),_.jsxs(ld,{end:!0,children:[t.map(i=>_.jsxs(ze,{active:i===n,onClick:()=>r(i),children:[_.jsx("b",{children:i})," items per page"]},i)),_.jsx(ze,{divider:!0,tag:"hr"}),_.jsx(ze,{disabled:n===1/0,onClick:()=>r(1/0),children:_.jsx("i",{children:"Clear pagination"})})]})]}),u8=e=>e.startsWith("hidden_"),EBe=({stats:e,highlightedStats:t,highlightedLabel:n,max:r,onClick:i,dimensions:o})=>{const a=F.useMemo(()=>Object.entries(e).map(([f,d])=>{const p=(t==null?void 0:t[f])??0,m=u8(f);return{name:f,amount:m?null:d-p,highlightedAmount:m?null:p}}),[e,t]),s=F.useMemo(()=>{const f=a.reduce((d,{name:p})=>d>p.length?d:p.length,0);return Math.min(150,f*7)},[a]),l=o?F.Fragment:oA,u=F.useMemo(()=>o?{}:{width:"100%",height:Math.max(300,a.length*22)},[o,a]);return _.jsx(l,{...u,children:_.jsxs(hBe,{layout:"vertical",data:a,barCategoryGap:3,...o,children:[_.jsx(Ad,{type:"number",dataKey:"amount",tickFormatter:bn,domain:r?[0,r]:void 0}),_.jsx(Nd,{type:"category",dataKey:"name",width:s,interval:0,style:{fontSize:".8rem"},tickFormatter:f=>u8(f)?"":f}),_.jsx(Pw,{strokeOpacity:Bj()?.05:.9}),_.jsx(_a,{filterNull:!0,contentStyle:IA,formatter:(f,d)=>{const p=bn(f);return d==="highlightedAmount"?[p,n]:[p,t?"Non-selected":"Visits"]}}),_.jsx(Tu,{dataKey:"amount",stackId:"main",cursor:"pointer",fill:$0,onClick:({name:f})=>i==null?void 0:i(f),children:a.map(f=>_.jsx(Ou,{fill:xce,stroke:$0,strokeWidth:2},f.name))}),t&&_.jsx(Tu,{dataKey:"highlightedAmount",stackId:"main",cursor:"pointer",fill:HE,onClick:({name:f})=>i==null?void 0:i(f),children:a.map(f=>_.jsx(Ou,{fill:Oce,stroke:HE,strokeWidth:2},f.name))})]})})},TBe=e=>typeof e=="string"?e.toLowerCase():e,CBe=([e])=>e,kBe=([,e])=>e,Qg=({stats:e,highlightedStats:t,title:n,sortingItems:r,extraHeaderContent:i,withPagination:o=!0,...a})=>{const[s,l]=F.useState({}),[u,f]=F.useState(1),[d,p]=F.useState(50),m=(T,k)=>{const A=Object.entries(T),D=s.field?Ome(A,([R,I])=>TBe(s.field===Object.keys(k)[0]?R:I)):A;return!s.dir||s.dir==="ASC"?D:[...D].reverse()},v=T=>{const k=T[u-1];if(u[`hidden_${D}`,0])]},g=T=>_.jsx(MP,{currentPage:u,pagesCount:T,setCurrentPage:f}),w=(T,k,A)=>{const D=m(T,k),R=D.map(CBe),I=A&&Object.entries({...Sme(R,R.map(()=>0)),...A});if(D.length<=d)return{currentPageStats:Object.fromEntries(D),currentPageHighlightedStats:I&&Object.fromEntries(I)};const z=Jh(D,d),G=I&&Jh(I,d);return{currentPageStats:Object.fromEntries(v(z)),currentPageHighlightedStats:G&&Object.fromEntries(v(G)),pagination:g(z.length),max:gve(Math.max(...D.map(kBe)))}},{currentPageStats:y,currentPageHighlightedStats:b,pagination:x,max:O}=w(e,r,t&&Object.keys(t).length>0?t:void 0),E=Object.keys(y);return _.jsx(hz,{title:_.jsxs(_.Fragment,{children:[n,_.jsx("div",{className:"float-end",children:_.jsx(lv,{isButton:!1,right:!0,items:r,order:s,onChange:(T,k)=>{l({field:T,dir:k}),f(1)}})}),o&&Object.keys(e).length>50&&_.jsx("div",{className:"float-end",children:_.jsx(SBe,{toggleClassName:"btn-sm p-0 me-3",ranges:[50,100,200,500],value:d,setValue:T=>{p(T),f(1)}})}),i&&_.jsx("div",{className:"float-end",children:i(x?E:void 0)})]}),footer:x,children:_.jsx(EBe,{stats:y,highlightedStats:b,max:O,...a})})},jBe=()=>{const e=ta(),t=V2(),{filtering:n,domain:r}=F.useMemo(()=>{const{startDate:o,endDate:a,orphanVisitsType:s,excludeBots:l,domain:u}=t;return{domain:u,filtering:{dateRange:o!=null||a!=null?I2(o,a):void 0,visitsFilter:{orphanVisitsType:s,excludeBots:l!==void 0?l==="true":void 0}}}},[t]),i=F.useCallback(o=>{const{dateRange:a,visitsFilter:s={}}=M2(n,o),{excludeBots:l,orphanVisitsType:u}=s,f={startDate:(a==null?void 0:a.startDate)&&el(a.startDate)||"",endDate:(a==null?void 0:a.endDate)&&el(a.endDate)||"",excludeBots:l===void 0?void 0:z2(l),orphanVisitsType:u,domain:r},d=D_(f),p=d?`?${d}`:"";e(p,{replace:!0,relative:"route"})},[n,e,r]);return[n,i]};function bW(e,t){const n=F.useRef(t);F.useEffect(function(){t!==n.current&&e.attributionControl!=null&&(n.current!=null&&e.attributionControl.removeAttribution(n.current),t!=null&&e.attributionControl.addAttribution(t)),n.current=t},[e,t])}const PBe=1;function ABe(e){return Object.freeze({__version:PBe,map:e})}function NBe(e,t){return Object.freeze({...e,...t})}const _W=F.createContext(null),wW=_W.Provider;function xW(){const e=F.useContext(_W);if(e==null)throw new Error("No context provided: useLeafletContext() can only be used in a descendant of ");return e}function MBe(e){function t(n,r){const{instance:i,context:o}=e(n).current;return F.useImperativeHandle(r,()=>i),n.children==null?null:N.createElement(wW,{value:o},n.children)}return F.forwardRef(t)}function LBe(e){function t(n,r){const[i,o]=F.useState(!1),{instance:a}=e(n,o).current;F.useImperativeHandle(r,()=>a),F.useEffect(function(){i&&a.update()},[a,i,n.children]);const s=a._contentNode;return s?id.createPortal(n.children,s):null}return F.forwardRef(t)}function RBe(e){function t(n,r){const{instance:i}=e(n).current;return F.useImperativeHandle(r,()=>i),null}return F.forwardRef(t)}function OW(e,t){const n=F.useRef();F.useEffect(function(){return t!=null&&e.instance.on(t),n.current=t,function(){n.current!=null&&e.instance.off(n.current),n.current=null}},[e,t])}function UA(e,t){const n=e.pane??t.pane;return n?{...e,pane:n}:e}function DBe(e,t){return function(n,r){const i=xW(),o=e(UA(n,i),i);return bW(i.map,n.attribution),OW(o.current,n.eventHandlers),t(o.current,i,n,r),o}}var VC={exports:{}};/* @preserve + * 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)})(Lc,function(n){var r="1.9.4";function i(c){var h,S,C,M;for(S=1,C=arguments.length;S"u"||!L||!L.Mixin)){c=x(c)?c:[c];for(var h=0;h0?Math.floor(c):Math.ceil(c)};X.prototype={clone:function(){return new X(this.x,this.y)},add:function(c){return this.clone()._add(V(c))},_add:function(c){return this.x+=c.x,this.y+=c.y,this},subtract:function(c){return this.clone()._subtract(V(c))},_subtract:function(c){return this.x-=c.x,this.y-=c.y,this},divideBy:function(c){return this.clone()._divideBy(c)},_divideBy:function(c){return this.x/=c,this.y/=c,this},multiplyBy:function(c){return this.clone()._multiplyBy(c)},_multiplyBy:function(c){return this.x*=c,this.y*=c,this},scaleBy:function(c){return new X(this.x*c.x,this.y*c.y)},unscaleBy:function(c){return new X(this.x/c.x,this.y/c.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=$(this.x),this.y=$(this.y),this},distanceTo:function(c){c=V(c);var h=c.x-this.x,S=c.y-this.y;return Math.sqrt(h*h+S*S)},equals:function(c){return c=V(c),c.x===this.x&&c.y===this.y},contains:function(c){return c=V(c),Math.abs(c.x)<=Math.abs(this.x)&&Math.abs(c.y)<=Math.abs(this.y)},toString:function(){return"Point("+p(this.x)+", "+p(this.y)+")"}};function V(c,h,S){return c instanceof X?c:x(c)?new X(c[0],c[1]):c==null?c:typeof c=="object"&&"x"in c&&"y"in c?new X(c.x,c.y):new X(c,h,S)}function W(c,h){if(c)for(var S=h?[c,h]:c,C=0,M=S.length;C=this.min.x&&S.x<=this.max.x&&h.y>=this.min.y&&S.y<=this.max.y},intersects:function(c){c=re(c);var h=this.min,S=this.max,C=c.min,M=c.max,Y=M.x>=h.x&&C.x<=S.x,ae=M.y>=h.y&&C.y<=S.y;return Y&&ae},overlaps:function(c){c=re(c);var h=this.min,S=this.max,C=c.min,M=c.max,Y=M.x>h.x&&C.xh.y&&C.y=h.lat&&M.lat<=S.lat&&C.lng>=h.lng&&M.lng<=S.lng},intersects:function(c){c=ee(c);var h=this._southWest,S=this._northEast,C=c.getSouthWest(),M=c.getNorthEast(),Y=M.lat>=h.lat&&C.lat<=S.lat,ae=M.lng>=h.lng&&C.lng<=S.lng;return Y&&ae},overlaps:function(c){c=ee(c);var h=this._southWest,S=this._northEast,C=c.getSouthWest(),M=c.getNorthEast(),Y=M.lat>h.lat&&C.lath.lng&&C.lng1,dn=function(){var c=!1;try{var h=Object.defineProperty({},"passive",{get:function(){c=!0}});window.addEventListener("testPassiveEventSupport",d,h),window.removeEventListener("testPassiveEventSupport",d,h)}catch{}return c}(),xr=function(){return!!document.createElement("canvas").getContext}(),er=!!(document.createElementNS&&Ee("svg").createSVGRect),tr=!!er&&function(){var c=document.createElement("div");return c.innerHTML="",(c.firstChild&&c.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),Tn=!er&&function(){try{var c=document.createElement("div");c.innerHTML='';var h=c.firstChild;return h.style.behavior="url(#default#VML)",h&&typeof h.adj=="object"}catch{return!1}}(),Zi=navigator.platform.indexOf("Mac")===0,Xi=navigator.platform.indexOf("Linux")===0;function nr(c){return navigator.userAgent.toLowerCase().indexOf(c)>=0}var Ye={ie:ge,ielt9:Oe,edge:Ce,webkit:ke,android:Ae,android23:ce,androidStock:_e,opera:be,chrome:Se,gecko:Me,safari:De,phantom:at,opera12:ut,win:et,ie3d:ln,webkit3d:Xt,gecko3d:Ln,any3d:wr,mobile:So,mobileWebkit:Jn,mobileWebkit3d:Ld,msPointer:Eo,pointer:Nv,touch:Lv,touchNative:Mv,mobileOpera:Rd,mobileGecko:gl,retina:_n,passiveEvents:dn,canvas:xr,svg:er,vml:Tn,inlineSvg:tr,mac:Zi,linux:Xi},GA=Ye.msPointer?"MSPointerDown":"pointerdown",qA=Ye.msPointer?"MSPointerMove":"pointermove",KA=Ye.msPointer?"MSPointerUp":"pointerup",ZA=Ye.msPointer?"MSPointerCancel":"pointercancel",Rw={touchstart:GA,touchmove:qA,touchend:KA,touchcancel:ZA},XA={touchstart:CY,touchmove:Rv,touchend:Rv,touchcancel:Rv},Bu={},QA=!1;function xY(c,h,S){return h==="touchstart"&&TY(),XA[h]?(S=XA[h].bind(this,S),c.addEventListener(Rw[h],S,!1),S):(console.warn("wrong event specified:",h),d)}function OY(c,h,S){if(!Rw[h]){console.warn("wrong event specified:",h);return}c.removeEventListener(Rw[h],S,!1)}function SY(c){Bu[c.pointerId]=c}function EY(c){Bu[c.pointerId]&&(Bu[c.pointerId]=c)}function JA(c){delete Bu[c.pointerId]}function TY(){QA||(document.addEventListener(GA,SY,!0),document.addEventListener(qA,EY,!0),document.addEventListener(KA,JA,!0),document.addEventListener(ZA,JA,!0),QA=!0)}function Rv(c,h){if(h.pointerType!==(h.MSPOINTER_TYPE_MOUSE||"mouse")){h.touches=[];for(var S in Bu)h.touches.push(Bu[S]);h.changedTouches=[h],c(h)}}function CY(c,h){h.MSPOINTER_TYPE_TOUCH&&h.pointerType===h.MSPOINTER_TYPE_TOUCH&&rr(h),Rv(c,h)}function kY(c){var h={},S,C;for(C in c)S=c[C],h[C]=S&&S.bind?S.bind(c):S;return c=h,h.type="dblclick",h.detail=2,h.isTrusted=!1,h._simulated=!0,h}var jY=200;function PY(c,h){c.addEventListener("dblclick",h);var S=0,C;function M(Y){if(Y.detail!==1){C=Y.detail;return}if(!(Y.pointerType==="mouse"||Y.sourceCapabilities&&!Y.sourceCapabilities.firesTouchEvents)){var ae=iN(Y);if(!(ae.some(function(me){return me instanceof HTMLLabelElement&&me.attributes.for})&&!ae.some(function(me){return me instanceof HTMLInputElement||me instanceof HTMLSelectElement}))){var pe=Date.now();pe-S<=jY?(C++,C===2&&h(kY(Y))):C=1,S=pe}}}return c.addEventListener("click",M),{dblclick:h,simDblclick:M}}function AY(c,h){c.removeEventListener("dblclick",h.dblclick),c.removeEventListener("click",h.simDblclick)}var Dw=Fv(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Dd=Fv(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),eN=Dd==="webkitTransition"||Dd==="OTransition"?Dd+"End":"transitionend";function tN(c){return typeof c=="string"?document.getElementById(c):c}function Id(c,h){var S=c.style[h]||c.currentStyle&&c.currentStyle[h];if((!S||S==="auto")&&document.defaultView){var C=document.defaultView.getComputedStyle(c,null);S=C?C[h]:null}return S==="auto"?null:S}function _t(c,h,S){var C=document.createElement(c);return C.className=h||"",S&&S.appendChild(C),C}function Qt(c){var h=c.parentNode;h&&h.removeChild(c)}function Dv(c){for(;c.firstChild;)c.removeChild(c.firstChild)}function zu(c){var h=c.parentNode;h&&h.lastChild!==c&&h.appendChild(c)}function Vu(c){var h=c.parentNode;h&&h.firstChild!==c&&h.insertBefore(c,h.firstChild)}function Iw(c,h){if(c.classList!==void 0)return c.classList.contains(h);var S=Iv(c);return S.length>0&&new RegExp("(^|\\s)"+h+"(\\s|$)").test(S)}function it(c,h){if(c.classList!==void 0)for(var S=v(h),C=0,M=S.length;C0?2*window.devicePixelRatio:1;function aN(c){return Ye.edge?c.wheelDeltaY/2:c.deltaY&&c.deltaMode===0?-c.deltaY/LY:c.deltaY&&c.deltaMode===1?-c.deltaY*20:c.deltaY&&c.deltaMode===2?-c.deltaY*60:c.deltaX||c.deltaZ?0:c.wheelDelta?(c.wheelDeltaY||c.wheelDelta)/2:c.detail&&Math.abs(c.detail)<32765?-c.detail*20:c.detail?c.detail/-32765*60:0}function Kw(c,h){var S=h.relatedTarget;if(!S)return!0;try{for(;S&&S!==c;)S=S.parentNode}catch{return!1}return S!==c}var RY={__proto__:null,on:tt,off:Lt,stopPropagation:_l,disableScrollPropagation:qw,disableClickPropagation:Bd,preventDefault:rr,stop:wl,getPropagationPath:iN,getMousePosition:oN,getWheelDelta:aN,isExternalTarget:Kw,addListener:tt,removeListener:Lt},sN=te.extend({run:function(c,h,S,C){this.stop(),this._el=c,this._inProgress=!0,this._duration=S||.25,this._easeOutPower=1/Math.max(C||.5,.2),this._startPos=bl(c),this._offset=h.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=I(this._animate,this),this._step()},_step:function(c){var h=+new Date-this._startTime,S=this._duration*1e3;hthis.options.maxZoom)?this.setZoom(c):this},panInsideBounds:function(c,h){this._enforcingBounds=!0;var S=this.getCenter(),C=this._limitCenter(S,this._zoom,ee(c));return S.equals(C)||this.panTo(C,h),this._enforcingBounds=!1,this},panInside:function(c,h){h=h||{};var S=V(h.paddingTopLeft||h.padding||[0,0]),C=V(h.paddingBottomRight||h.padding||[0,0]),M=this.project(this.getCenter()),Y=this.project(c),ae=this.getPixelBounds(),pe=re([ae.min.add(S),ae.max.subtract(C)]),me=pe.getSize();if(!pe.contains(Y)){this._enforcingBounds=!0;var xe=Y.subtract(pe.getCenter()),Ie=pe.extend(Y).getSize().subtract(me);M.x+=xe.x<0?-Ie.x:Ie.x,M.y+=xe.y<0?-Ie.y:Ie.y,this.panTo(this.unproject(M),h),this._enforcingBounds=!1}return this},invalidateSize:function(c){if(!this._loaded)return this;c=i({animate:!1,pan:!0},c===!0?{animate:!0}:c);var h=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var S=this.getSize(),C=h.divideBy(2).round(),M=S.divideBy(2).round(),Y=C.subtract(M);return!Y.x&&!Y.y?this:(c.animate&&c.pan?this.panBy(Y):(c.pan&&this._rawPanBy(Y),this.fire("move"),c.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(a(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:h,newSize:S}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(c){if(c=this._locateOptions=i({timeout:1e4,watch:!1},c),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var h=a(this._handleGeolocationResponse,this),S=a(this._handleGeolocationError,this);return c.watch?this._locationWatchId=navigator.geolocation.watchPosition(h,S,c):navigator.geolocation.getCurrentPosition(h,S,c),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(c){if(this._container._leaflet_id){var h=c.code,S=c.message||(h===1?"permission denied":h===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:h,message:"Geolocation error: "+S+"."})}},_handleGeolocationResponse:function(c){if(this._container._leaflet_id){var h=c.coords.latitude,S=c.coords.longitude,C=new ie(h,S),M=C.toBounds(c.coords.accuracy*2),Y=this._locateOptions;if(Y.setView){var ae=this.getBoundsZoom(M);this.setView(C,Y.maxZoom?Math.min(ae,Y.maxZoom):ae)}var pe={latlng:C,bounds:M,timestamp:c.timestamp};for(var me in c.coords)typeof c.coords[me]=="number"&&(pe[me]=c.coords[me]);this.fire("locationfound",pe)}},addHandler:function(c,h){if(!h)return this;var S=this[c]=new h(this);return this._handlers.push(S),this.options[c]&&S.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),Qt(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(z(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var c;for(c in this._layers)this._layers[c].remove();for(c in this._panes)Qt(this._panes[c]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(c,h){var S="leaflet-pane"+(c?" leaflet-"+c.replace("Pane","")+"-pane":""),C=_t("div",S,h||this._mapPane);return c&&(this._panes[c]=C),C},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var c=this.getPixelBounds(),h=this.unproject(c.getBottomLeft()),S=this.unproject(c.getTopRight());return new q(h,S)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(c,h,S){c=ee(c),S=V(S||[0,0]);var C=this.getZoom()||0,M=this.getMinZoom(),Y=this.getMaxZoom(),ae=c.getNorthWest(),pe=c.getSouthEast(),me=this.getSize().subtract(S),xe=re(this.project(pe,C),this.project(ae,C)).getSize(),Ie=Ye.any3d?this.options.zoomSnap:1,Ke=me.x/xe.x,st=me.y/xe.y,Or=h?Math.max(Ke,st):Math.min(Ke,st);return C=this.getScaleZoom(Or,C),Ie&&(C=Math.round(C/(Ie/100))*(Ie/100),C=h?Math.ceil(C/Ie)*Ie:Math.floor(C/Ie)*Ie),Math.max(M,Math.min(Y,C))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new X(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(c,h){var S=this._getTopLeftPoint(c,h);return new W(S,S.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(c){return this.options.crs.getProjectedBounds(c===void 0?this.getZoom():c)},getPane:function(c){return typeof c=="string"?this._panes[c]:c},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(c,h){var S=this.options.crs;return h=h===void 0?this._zoom:h,S.scale(c)/S.scale(h)},getScaleZoom:function(c,h){var S=this.options.crs;h=h===void 0?this._zoom:h;var C=S.zoom(c*S.scale(h));return isNaN(C)?1/0:C},project:function(c,h){return h=h===void 0?this._zoom:h,this.options.crs.latLngToPoint(se(c),h)},unproject:function(c,h){return h=h===void 0?this._zoom:h,this.options.crs.pointToLatLng(V(c),h)},layerPointToLatLng:function(c){var h=V(c).add(this.getPixelOrigin());return this.unproject(h)},latLngToLayerPoint:function(c){var h=this.project(se(c))._round();return h._subtract(this.getPixelOrigin())},wrapLatLng:function(c){return this.options.crs.wrapLatLng(se(c))},wrapLatLngBounds:function(c){return this.options.crs.wrapLatLngBounds(ee(c))},distance:function(c,h){return this.options.crs.distance(se(c),se(h))},containerPointToLayerPoint:function(c){return V(c).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(c){return V(c).add(this._getMapPanePos())},containerPointToLatLng:function(c){var h=this.containerPointToLayerPoint(V(c));return this.layerPointToLatLng(h)},latLngToContainerPoint:function(c){return this.layerPointToContainerPoint(this.latLngToLayerPoint(se(c)))},mouseEventToContainerPoint:function(c){return oN(c,this._container)},mouseEventToLayerPoint:function(c){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(c))},mouseEventToLatLng:function(c){return this.layerPointToLatLng(this.mouseEventToLayerPoint(c))},_initContainer:function(c){var h=this._container=tN(c);if(h){if(h._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");tt(h,"scroll",this._onScroll,this),this._containerId=l(h)},_initLayout:function(){var c=this._container;this._fadeAnimated=this.options.fadeAnimation&&Ye.any3d,it(c,"leaflet-container"+(Ye.touch?" leaflet-touch":"")+(Ye.retina?" leaflet-retina":"")+(Ye.ielt9?" leaflet-oldie":"")+(Ye.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var h=Id(c,"position");h!=="absolute"&&h!=="relative"&&h!=="fixed"&&h!=="sticky"&&(c.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var c=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),wn(this._mapPane,new X(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(it(c.markerPane,"leaflet-zoom-hide"),it(c.shadowPane,"leaflet-zoom-hide"))},_resetView:function(c,h,S){wn(this._mapPane,new X(0,0));var C=!this._loaded;this._loaded=!0,h=this._limitZoom(h),this.fire("viewprereset");var M=this._zoom!==h;this._moveStart(M,S)._move(c,h)._moveEnd(M),this.fire("viewreset"),C&&this.fire("load")},_moveStart:function(c,h){return c&&this.fire("zoomstart"),h||this.fire("movestart"),this},_move:function(c,h,S,C){h===void 0&&(h=this._zoom);var M=this._zoom!==h;return this._zoom=h,this._lastCenter=c,this._pixelOrigin=this._getNewPixelOrigin(c),C?S&&S.pinch&&this.fire("zoom",S):((M||S&&S.pinch)&&this.fire("zoom",S),this.fire("move",S)),this},_moveEnd:function(c){return c&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return z(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(c){wn(this._mapPane,this._getMapPanePos().subtract(c))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(c){this._targets={},this._targets[l(this._container)]=this;var h=c?Lt:tt;h(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&h(window,"resize",this._onResize,this),Ye.any3d&&this.options.transform3DLimit&&(c?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){z(this._resizeRequest),this._resizeRequest=I(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var c=this._getMapPanePos();Math.max(Math.abs(c.x),Math.abs(c.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(c,h){for(var S=[],C,M=h==="mouseout"||h==="mouseover",Y=c.target||c.srcElement,ae=!1;Y;){if(C=this._targets[l(Y)],C&&(h==="click"||h==="preclick")&&this._draggableMoved(C)){ae=!0;break}if(C&&C.listens(h,!0)&&(M&&!Kw(Y,c)||(S.push(C),M))||Y===this._container)break;Y=Y.parentNode}return!S.length&&!ae&&!M&&this.listens(h,!0)&&(S=[this]),S},_isClickDisabled:function(c){for(;c&&c!==this._container;){if(c._leaflet_disable_click)return!0;c=c.parentNode}},_handleDOMEvent:function(c){var h=c.target||c.srcElement;if(!(!this._loaded||h._leaflet_disable_events||c.type==="click"&&this._isClickDisabled(h))){var S=c.type;S==="mousedown"&&Vw(h),this._fireDOMEvent(c,S)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(c,h,S){if(c.type==="click"){var C=i({},c);C.type="preclick",this._fireDOMEvent(C,C.type,S)}var M=this._findEventTargets(c,h);if(S){for(var Y=[],ae=0;ae0?Math.round(c-h)/2:Math.max(0,Math.ceil(c))-Math.max(0,Math.floor(h))},_limitZoom:function(c){var h=this.getMinZoom(),S=this.getMaxZoom(),C=Ye.any3d?this.options.zoomSnap:1;return C&&(c=Math.round(c/C)*C),Math.max(h,Math.min(S,c))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){pn(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(c,h){var S=this._getCenterOffset(c)._trunc();return(h&&h.animate)!==!0&&!this.getSize().contains(S)?!1:(this.panBy(S,h),!0)},_createAnimProxy:function(){var c=this._proxy=_t("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(c),this.on("zoomanim",function(h){var S=Dw,C=this._proxy.style[S];yl(this._proxy,this.project(h.center,h.zoom),this.getZoomScale(h.zoom,1)),C===this._proxy.style[S]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){Qt(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var c=this.getCenter(),h=this.getZoom();yl(this._proxy,this.project(c,h),this.getZoomScale(h,1))},_catchTransitionEnd:function(c){this._animatingZoom&&c.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(c,h,S){if(this._animatingZoom)return!0;if(S=S||{},!this._zoomAnimated||S.animate===!1||this._nothingToAnimate()||Math.abs(h-this._zoom)>this.options.zoomAnimationThreshold)return!1;var C=this.getZoomScale(h),M=this._getCenterOffset(c)._divideBy(1-1/C);return S.animate!==!0&&!this.getSize().contains(M)?!1:(I(function(){this._moveStart(!0,S.noMoveStart||!1)._animateZoom(c,h,!0)},this),!0)},_animateZoom:function(c,h,S,C){this._mapPane&&(S&&(this._animatingZoom=!0,this._animateToCenter=c,this._animateToZoom=h,it(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:c,zoom:h,noUpdate:C}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(a(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&pn(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function DY(c,h){return new vt(c,h)}var Qi=H.extend({options:{position:"topright"},initialize:function(c){g(this,c)},getPosition:function(){return this.options.position},setPosition:function(c){var h=this._map;return h&&h.removeControl(this),this.options.position=c,h&&h.addControl(this),this},getContainer:function(){return this._container},addTo:function(c){this.remove(),this._map=c;var h=this._container=this.onAdd(c),S=this.getPosition(),C=c._controlCorners[S];return it(h,"leaflet-control"),S.indexOf("bottom")!==-1?C.insertBefore(h,C.firstChild):C.appendChild(h),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(Qt(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(c){this._map&&c&&c.screenX>0&&c.screenY>0&&this._map.getContainer().focus()}}),zd=function(c){return new Qi(c)};vt.include({addControl:function(c){return c.addTo(this),this},removeControl:function(c){return c.remove(),this},_initControlPos:function(){var c=this._controlCorners={},h="leaflet-",S=this._controlContainer=_t("div",h+"control-container",this._container);function C(M,Y){var ae=h+M+" "+h+Y;c[M+Y]=_t("div",ae,S)}C("top","left"),C("top","right"),C("bottom","left"),C("bottom","right")},_clearControlPos:function(){for(var c in this._controlCorners)Qt(this._controlCorners[c]);Qt(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var lN=Qi.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(c,h,S,C){return S1,this._baseLayersList.style.display=c?"":"none"),this._separator.style.display=h&&c?"":"none",this},_onLayerChange:function(c){this._handlingClick||this._update();var h=this._getLayer(l(c.target)),S=h.overlay?c.type==="add"?"overlayadd":"overlayremove":c.type==="add"?"baselayerchange":null;S&&this._map.fire(S,h)},_createRadioElement:function(c,h){var S='",C=document.createElement("div");return C.innerHTML=S,C.firstChild},_addItem:function(c){var h=document.createElement("label"),S=this._map.hasLayer(c.layer),C;c.overlay?(C=document.createElement("input"),C.type="checkbox",C.className="leaflet-control-layers-selector",C.defaultChecked=S):C=this._createRadioElement("leaflet-base-layers_"+l(this),S),this._layerControlInputs.push(C),C.layerId=l(c.layer),tt(C,"click",this._onInputClick,this);var M=document.createElement("span");M.innerHTML=" "+c.name;var Y=document.createElement("span");h.appendChild(Y),Y.appendChild(C),Y.appendChild(M);var ae=c.overlay?this._overlaysList:this._baseLayersList;return ae.appendChild(h),this._checkDisabledLayers(),h},_onInputClick:function(){if(!this._preventClick){var c=this._layerControlInputs,h,S,C=[],M=[];this._handlingClick=!0;for(var Y=c.length-1;Y>=0;Y--)h=c[Y],S=this._getLayer(h.layerId).layer,h.checked?C.push(S):h.checked||M.push(S);for(Y=0;Y=0;M--)h=c[M],S=this._getLayer(h.layerId).layer,h.disabled=S.options.minZoom!==void 0&&CS.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var c=this._section;this._preventClick=!0,tt(c,"click",rr),this.expand();var h=this;setTimeout(function(){Lt(c,"click",rr),h._preventClick=!1})}}),IY=function(c,h,S){return new lN(c,h,S)},Zw=Qi.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(c){var h="leaflet-control-zoom",S=_t("div",h+" leaflet-bar"),C=this.options;return this._zoomInButton=this._createButton(C.zoomInText,C.zoomInTitle,h+"-in",S,this._zoomIn),this._zoomOutButton=this._createButton(C.zoomOutText,C.zoomOutTitle,h+"-out",S,this._zoomOut),this._updateDisabled(),c.on("zoomend zoomlevelschange",this._updateDisabled,this),S},onRemove:function(c){c.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(c){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(c.shiftKey?3:1))},_createButton:function(c,h,S,C,M){var Y=_t("a",S,C);return Y.innerHTML=c,Y.href="#",Y.title=h,Y.setAttribute("role","button"),Y.setAttribute("aria-label",h),Bd(Y),tt(Y,"click",wl),tt(Y,"click",M,this),tt(Y,"click",this._refocusOnMap,this),Y},_updateDisabled:function(){var c=this._map,h="leaflet-disabled";pn(this._zoomInButton,h),pn(this._zoomOutButton,h),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||c._zoom===c.getMinZoom())&&(it(this._zoomOutButton,h),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||c._zoom===c.getMaxZoom())&&(it(this._zoomInButton,h),this._zoomInButton.setAttribute("aria-disabled","true"))}});vt.mergeOptions({zoomControl:!0}),vt.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Zw,this.addControl(this.zoomControl))});var FY=function(c){return new Zw(c)},uN=Qi.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(c){var h="leaflet-control-scale",S=_t("div",h),C=this.options;return this._addScales(C,h+"-line",S),c.on(C.updateWhenIdle?"moveend":"move",this._update,this),c.whenReady(this._update,this),S},onRemove:function(c){c.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(c,h,S){c.metric&&(this._mScale=_t("div",h,S)),c.imperial&&(this._iScale=_t("div",h,S))},_update:function(){var c=this._map,h=c.getSize().y/2,S=c.distance(c.containerPointToLatLng([0,h]),c.containerPointToLatLng([this.options.maxWidth,h]));this._updateScales(S)},_updateScales:function(c){this.options.metric&&c&&this._updateMetric(c),this.options.imperial&&c&&this._updateImperial(c)},_updateMetric:function(c){var h=this._getRoundNum(c),S=h<1e3?h+" m":h/1e3+" km";this._updateScale(this._mScale,S,h/c)},_updateImperial:function(c){var h=c*3.2808399,S,C,M;h>5280?(S=h/5280,C=this._getRoundNum(S),this._updateScale(this._iScale,C+" mi",C/S)):(M=this._getRoundNum(h),this._updateScale(this._iScale,M+" ft",M/h))},_updateScale:function(c,h,S){c.style.width=Math.round(this.options.maxWidth*S)+"px",c.innerHTML=h},_getRoundNum:function(c){var h=Math.pow(10,(Math.floor(c)+"").length-1),S=c/h;return S=S>=10?10:S>=5?5:S>=3?3:S>=2?2:1,h*S}}),UY=function(c){return new uN(c)},$Y='',Xw=Qi.extend({options:{position:"bottomright",prefix:''+(Ye.inlineSvg?$Y+" ":"")+"Leaflet"},initialize:function(c){g(this,c),this._attributions={}},onAdd:function(c){c.attributionControl=this,this._container=_t("div","leaflet-control-attribution"),Bd(this._container);for(var h in c._layers)c._layers[h].getAttribution&&this.addAttribution(c._layers[h].getAttribution());return this._update(),c.on("layeradd",this._addAttribution,this),this._container},onRemove:function(c){c.off("layeradd",this._addAttribution,this)},_addAttribution:function(c){c.layer.getAttribution&&(this.addAttribution(c.layer.getAttribution()),c.layer.once("remove",function(){this.removeAttribution(c.layer.getAttribution())},this))},setPrefix:function(c){return this.options.prefix=c,this._update(),this},addAttribution:function(c){return c?(this._attributions[c]||(this._attributions[c]=0),this._attributions[c]++,this._update(),this):this},removeAttribution:function(c){return c?(this._attributions[c]&&(this._attributions[c]--,this._update()),this):this},_update:function(){if(this._map){var c=[];for(var h in this._attributions)this._attributions[h]&&c.push(h);var S=[];this.options.prefix&&S.push(this.options.prefix),c.length&&S.push(c.join(", ")),this._container.innerHTML=S.join(' ')}}});vt.mergeOptions({attributionControl:!0}),vt.addInitHook(function(){this.options.attributionControl&&new Xw().addTo(this)});var BY=function(c){return new Xw(c)};Qi.Layers=lN,Qi.Zoom=Zw,Qi.Scale=uN,Qi.Attribution=Xw,zd.layers=IY,zd.zoom=FY,zd.scale=UY,zd.attribution=BY;var Co=H.extend({initialize:function(c){this._map=c},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Co.addTo=function(c,h){return c.addHandler(h,this),this};var zY={Events:Z},cN=Ye.touch?"touchstart mousedown":"mousedown",rs=te.extend({options:{clickTolerance:3},initialize:function(c,h,S,C){g(this,C),this._element=c,this._dragStartTarget=h||c,this._preventOutline=S},enable:function(){this._enabled||(tt(this._dragStartTarget,cN,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(rs._dragging===this&&this.finishDrag(!0),Lt(this._dragStartTarget,cN,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(c){if(this._enabled&&(this._moved=!1,!Iw(this._element,"leaflet-zoom-anim"))){if(c.touches&&c.touches.length!==1){rs._dragging===this&&this.finishDrag();return}if(!(rs._dragging||c.shiftKey||c.which!==1&&c.button!==1&&!c.touches)&&(rs._dragging=this,this._preventOutline&&Vw(this._element),$w(),Fd(),!this._moving)){this.fire("down");var h=c.touches?c.touches[0]:c,S=nN(this._element);this._startPoint=new X(h.clientX,h.clientY),this._startPos=bl(this._element),this._parentScale=Hw(S);var C=c.type==="mousedown";tt(document,C?"mousemove":"touchmove",this._onMove,this),tt(document,C?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(c){if(this._enabled){if(c.touches&&c.touches.length>1){this._moved=!0;return}var h=c.touches&&c.touches.length===1?c.touches[0]:c,S=new X(h.clientX,h.clientY)._subtract(this._startPoint);!S.x&&!S.y||Math.abs(S.x)+Math.abs(S.y)Y&&(ae=pe,Y=me);Y>S&&(h[ae]=1,Jw(c,h,S,C,ae),Jw(c,h,S,ae,M))}function YY(c,h){for(var S=[c[0]],C=1,M=0,Y=c.length;Ch&&(S.push(c[C]),M=C);return Mh.max.x&&(S|=2),c.yh.max.y&&(S|=8),S}function GY(c,h){var S=h.x-c.x,C=h.y-c.y;return S*S+C*C}function Vd(c,h,S,C){var M=h.x,Y=h.y,ae=S.x-M,pe=S.y-Y,me=ae*ae+pe*pe,xe;return me>0&&(xe=((c.x-M)*ae+(c.y-Y)*pe)/me,xe>1?(M=S.x,Y=S.y):xe>0&&(M+=ae*xe,Y+=pe*xe)),ae=c.x-M,pe=c.y-Y,C?ae*ae+pe*pe:new X(M,Y)}function yi(c){return!x(c[0])||typeof c[0][0]!="object"&&typeof c[0][0]<"u"}function gN(c){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),yi(c)}function yN(c,h){var S,C,M,Y,ae,pe,me,xe;if(!c||c.length===0)throw new Error("latlngs not passed");yi(c)||(console.warn("latlngs are not flat! Only the first ring will be used"),c=c[0]);var Ie=se([0,0]),Ke=ee(c),st=Ke.getNorthWest().distanceTo(Ke.getSouthWest())*Ke.getNorthEast().distanceTo(Ke.getNorthWest());st<1700&&(Ie=Qw(c));var Or=c.length,Rn=[];for(S=0;SC){me=(Y-C)/M,xe=[pe.x-me*(pe.x-ae.x),pe.y-me*(pe.y-ae.y)];break}var Dr=h.unproject(V(xe));return se([Dr.lat+Ie.lat,Dr.lng+Ie.lng])}var qY={__proto__:null,simplify:pN,pointToSegmentDistance:hN,closestPointOnSegment:HY,clipSegment:vN,_getEdgeIntersection:Bv,_getBitCode:xl,_sqClosestPointOnSegment:Vd,isFlat:yi,_flat:gN,polylineCenter:yN},ex={project:function(c){return new X(c.lng,c.lat)},unproject:function(c){return new ie(c.y,c.x)},bounds:new W([-180,-90],[180,90])},tx={R:6378137,R_MINOR:6356752314245179e-9,bounds:new W([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(c){var h=Math.PI/180,S=this.R,C=c.lat*h,M=this.R_MINOR/S,Y=Math.sqrt(1-M*M),ae=Y*Math.sin(C),pe=Math.tan(Math.PI/4-C/2)/Math.pow((1-ae)/(1+ae),Y/2);return C=-S*Math.log(Math.max(pe,1e-10)),new X(c.lng*h*S,C)},unproject:function(c){for(var h=180/Math.PI,S=this.R,C=this.R_MINOR/S,M=Math.sqrt(1-C*C),Y=Math.exp(-c.y/S),ae=Math.PI/2-2*Math.atan(Y),pe=0,me=.1,xe;pe<15&&Math.abs(me)>1e-7;pe++)xe=M*Math.sin(ae),xe=Math.pow((1-xe)/(1+xe),M/2),me=Math.PI/2-2*Math.atan(Y*xe)-ae,ae+=me;return new ie(ae*h,c.x*h/S)}},KY={__proto__:null,LonLat:ex,Mercator:tx,SphericalMercator:B},ZY=i({},j,{code:"EPSG:3395",projection:tx,transformation:function(){var c=.5/(Math.PI*tx.R);return K(c,.5,-c,.5)}()}),bN=i({},j,{code:"EPSG:4326",projection:ex,transformation:K(1/180,1,-1/180,.5)}),XY=i({},fe,{projection:ex,transformation:K(1,0,-1,0),scale:function(c){return Math.pow(2,c)},zoom:function(c){return Math.log(c)/Math.LN2},distance:function(c,h){var S=h.lng-c.lng,C=h.lat-c.lat;return Math.sqrt(S*S+C*C)},infinite:!0});fe.Earth=j,fe.EPSG3395=ZY,fe.EPSG3857=le,fe.EPSG900913=he,fe.EPSG4326=bN,fe.Simple=XY;var Ji=te.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(c){return c.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(c){return c&&c.removeLayer(this),this},getPane:function(c){return this._map.getPane(c?this.options[c]||c:this.options.pane)},addInteractiveTarget:function(c){return this._map._targets[l(c)]=this,this},removeInteractiveTarget:function(c){return delete this._map._targets[l(c)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(c){var h=c.target;if(h.hasLayer(this)){if(this._map=h,this._zoomAnimated=h._zoomAnimated,this.getEvents){var S=this.getEvents();h.on(S,this),this.once("remove",function(){h.off(S,this)},this)}this.onAdd(h),this.fire("add"),h.fire("layeradd",{layer:this})}}});vt.include({addLayer:function(c){if(!c._layerAdd)throw new Error("The provided object is not a Layer.");var h=l(c);return this._layers[h]?this:(this._layers[h]=c,c._mapToAdd=this,c.beforeAdd&&c.beforeAdd(this),this.whenReady(c._layerAdd,c),this)},removeLayer:function(c){var h=l(c);return this._layers[h]?(this._loaded&&c.onRemove(this),delete this._layers[h],this._loaded&&(this.fire("layerremove",{layer:c}),c.fire("remove")),c._map=c._mapToAdd=null,this):this},hasLayer:function(c){return l(c)in this._layers},eachLayer:function(c,h){for(var S in this._layers)c.call(h,this._layers[S]);return this},_addLayers:function(c){c=c?x(c)?c:[c]:[];for(var h=0,S=c.length;hthis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&h[0]instanceof ie&&h[0].equals(h[S-1])&&h.pop(),h},_setLatLngs:function(c){sa.prototype._setLatLngs.call(this,c),yi(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return yi(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var c=this._renderer._bounds,h=this.options.weight,S=new X(h,h);if(c=new W(c.min.subtract(S),c.max.add(S)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(c))){if(this.options.noClip){this._parts=this._rings;return}for(var C=0,M=this._rings.length,Y;Cc.y!=M.y>c.y&&c.x<(M.x-C.x)*(c.y-C.y)/(M.y-C.y)+C.x&&(h=!h);return h||sa.prototype._containsPoint.call(this,c,!0)}});function oG(c,h){return new Yu(c,h)}var la=aa.extend({initialize:function(c,h){g(this,h),this._layers={},c&&this.addData(c)},addData:function(c){var h=x(c)?c:c.features,S,C,M;if(h){for(S=0,C=h.length;S0&&M.push(M[0].slice()),M}function Gu(c,h){return c.feature?i({},c.feature,{geometry:h}):Gv(h)}function Gv(c){return c.type==="Feature"||c.type==="FeatureCollection"?c:{type:"Feature",properties:{},geometry:c}}var ox={toGeoJSON:function(c){return Gu(this,{type:"Point",coordinates:ix(this.getLatLng(),c)})}};zv.include(ox),nx.include(ox),Vv.include(ox),sa.include({toGeoJSON:function(c){var h=!yi(this._latlngs),S=Yv(this._latlngs,h?1:0,!1,c);return Gu(this,{type:(h?"Multi":"")+"LineString",coordinates:S})}}),Yu.include({toGeoJSON:function(c){var h=!yi(this._latlngs),S=h&&!yi(this._latlngs[0]),C=Yv(this._latlngs,S?2:h?1:0,!0,c);return h||(C=[C]),Gu(this,{type:(S?"Multi":"")+"Polygon",coordinates:C})}}),Hu.include({toMultiPoint:function(c){var h=[];return this.eachLayer(function(S){h.push(S.toGeoJSON(c).geometry.coordinates)}),Gu(this,{type:"MultiPoint",coordinates:h})},toGeoJSON:function(c){var h=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(h==="MultiPoint")return this.toMultiPoint(c);var S=h==="GeometryCollection",C=[];return this.eachLayer(function(M){if(M.toGeoJSON){var Y=M.toGeoJSON(c);if(S)C.push(Y.geometry);else{var ae=Gv(Y);ae.type==="FeatureCollection"?C.push.apply(C,ae.features):C.push(ae)}}}),S?Gu(this,{geometries:C,type:"GeometryCollection"}):{type:"FeatureCollection",features:C}}});function xN(c,h){return new la(c,h)}var aG=xN,qv=Ji.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(c,h,S){this._url=c,this._bounds=ee(h),g(this,S)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(it(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){Qt(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(c){return this.options.opacity=c,this._image&&this._updateOpacity(),this},setStyle:function(c){return c.opacity&&this.setOpacity(c.opacity),this},bringToFront:function(){return this._map&&zu(this._image),this},bringToBack:function(){return this._map&&Vu(this._image),this},setUrl:function(c){return this._url=c,this._image&&(this._image.src=c),this},setBounds:function(c){return this._bounds=ee(c),this._map&&this._reset(),this},getEvents:function(){var c={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(c.zoomanim=this._animateZoom),c},setZIndex:function(c){return this.options.zIndex=c,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var c=this._url.tagName==="IMG",h=this._image=c?this._url:_t("img");if(it(h,"leaflet-image-layer"),this._zoomAnimated&&it(h,"leaflet-zoom-animated"),this.options.className&&it(h,this.options.className),h.onselectstart=d,h.onmousemove=d,h.onload=a(this.fire,this,"load"),h.onerror=a(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(h.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),c){this._url=h.src;return}h.src=this._url,h.alt=this.options.alt},_animateZoom:function(c){var h=this._map.getZoomScale(c.zoom),S=this._map._latLngBoundsToNewLayerBounds(this._bounds,c.zoom,c.center).min;yl(this._image,S,h)},_reset:function(){var c=this._image,h=new W(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),S=h.getSize();wn(c,h.min),c.style.width=S.x+"px",c.style.height=S.y+"px"},_updateOpacity:function(){gi(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var c=this.options.errorOverlayUrl;c&&this._url!==c&&(this._url=c,this._image.src=c)},getCenter:function(){return this._bounds.getCenter()}}),sG=function(c,h,S){return new qv(c,h,S)},ON=qv.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var c=this._url.tagName==="VIDEO",h=this._image=c?this._url:_t("video");if(it(h,"leaflet-image-layer"),this._zoomAnimated&&it(h,"leaflet-zoom-animated"),this.options.className&&it(h,this.options.className),h.onselectstart=d,h.onmousemove=d,h.onloadeddata=a(this.fire,this,"load"),c){for(var S=h.getElementsByTagName("source"),C=[],M=0;M0?C:[h.src];return}x(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(h.style,"objectFit")&&(h.style.objectFit="fill"),h.autoplay=!!this.options.autoplay,h.loop=!!this.options.loop,h.muted=!!this.options.muted,h.playsInline=!!this.options.playsInline;for(var Y=0;YM?(h.height=M+"px",it(c,Y)):pn(c,Y),this._containerWidth=this._container.offsetWidth},_animateZoom:function(c){var h=this._map._latLngToNewLayerPoint(this._latlng,c.zoom,c.center),S=this._getAnchor();wn(this._container,h.add(S))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var c=this._map,h=parseInt(Id(this._container,"marginBottom"),10)||0,S=this._container.offsetHeight+h,C=this._containerWidth,M=new X(this._containerLeft,-S-this._containerBottom);M._add(bl(this._container));var Y=c.layerPointToContainerPoint(M),ae=V(this.options.autoPanPadding),pe=V(this.options.autoPanPaddingTopLeft||ae),me=V(this.options.autoPanPaddingBottomRight||ae),xe=c.getSize(),Ie=0,Ke=0;Y.x+C+me.x>xe.x&&(Ie=Y.x+C-xe.x+me.x),Y.x-Ie-pe.x<0&&(Ie=Y.x-pe.x),Y.y+S+me.y>xe.y&&(Ke=Y.y+S-xe.y+me.y),Y.y-Ke-pe.y<0&&(Ke=Y.y-pe.y),(Ie||Ke)&&(this.options.keepInView&&(this._autopanning=!0),c.fire("autopanstart").panBy([Ie,Ke]))}},_getAnchor:function(){return V(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),cG=function(c,h){return new Kv(c,h)};vt.mergeOptions({closePopupOnClick:!0}),vt.include({openPopup:function(c,h,S){return this._initOverlay(Kv,c,h,S).openOn(this),this},closePopup:function(c){return c=arguments.length?c:this._popup,c&&c.close(),this}}),Ji.include({bindPopup:function(c,h){return this._popup=this._initOverlay(Kv,this._popup,c,h),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(c){return this._popup&&(this instanceof aa||(this._popup._source=this),this._popup._prepareOpen(c||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(c){return this._popup&&this._popup.setContent(c),this},getPopup:function(){return this._popup},_openPopup:function(c){if(!(!this._popup||!this._map)){wl(c);var h=c.layer||c.target;if(this._popup._source===h&&!(h instanceof is)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(c.latlng);return}this._popup._source=h,this.openPopup(c.latlng)}},_movePopup:function(c){this._popup.setLatLng(c.latlng)},_onKeyPress:function(c){c.originalEvent.keyCode===13&&this._openPopup(c)}});var Zv=ko.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(c){ko.prototype.onAdd.call(this,c),this.setOpacity(this.options.opacity),c.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(c){ko.prototype.onRemove.call(this,c),c.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var c=ko.prototype.getEvents.call(this);return this.options.permanent||(c.preclick=this.close),c},_initLayout:function(){var c="leaflet-tooltip",h=c+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=_t("div",h),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+l(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(c){var h,S,C=this._map,M=this._container,Y=C.latLngToContainerPoint(C.getCenter()),ae=C.layerPointToContainerPoint(c),pe=this.options.direction,me=M.offsetWidth,xe=M.offsetHeight,Ie=V(this.options.offset),Ke=this._getAnchor();pe==="top"?(h=me/2,S=xe):pe==="bottom"?(h=me/2,S=0):pe==="center"?(h=me/2,S=xe/2):pe==="right"?(h=0,S=xe/2):pe==="left"?(h=me,S=xe/2):ae.xthis.options.maxZoom||SC?this._retainParent(M,Y,ae,C):!1)},_retainChildren:function(c,h,S,C){for(var M=2*c;M<2*c+2;M++)for(var Y=2*h;Y<2*h+2;Y++){var ae=new X(M,Y);ae.z=S+1;var pe=this._tileCoordsToKey(ae),me=this._tiles[pe];if(me&&me.active){me.retain=!0;continue}else me&&me.loaded&&(me.retain=!0);S+1this.options.maxZoom||this.options.minZoom!==void 0&&M1){this._setView(c,S);return}for(var Ke=M.min.y;Ke<=M.max.y;Ke++)for(var st=M.min.x;st<=M.max.x;st++){var Or=new X(st,Ke);if(Or.z=this._tileZoom,!!this._isValidTile(Or)){var Rn=this._tiles[this._tileCoordsToKey(Or)];Rn?Rn.current=!0:ae.push(Or)}}if(ae.sort(function(Dr,Ku){return Dr.distanceTo(Y)-Ku.distanceTo(Y)}),ae.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var bi=document.createDocumentFragment();for(st=0;stS.max.x)||!h.wrapLat&&(c.yS.max.y))return!1}if(!this.options.bounds)return!0;var C=this._tileCoordsToBounds(c);return ee(this.options.bounds).overlaps(C)},_keyToBounds:function(c){return this._tileCoordsToBounds(this._keyToTileCoords(c))},_tileCoordsToNwSe:function(c){var h=this._map,S=this.getTileSize(),C=c.scaleBy(S),M=C.add(S),Y=h.unproject(C,c.z),ae=h.unproject(M,c.z);return[Y,ae]},_tileCoordsToBounds:function(c){var h=this._tileCoordsToNwSe(c),S=new q(h[0],h[1]);return this.options.noWrap||(S=this._map.wrapLatLngBounds(S)),S},_tileCoordsToKey:function(c){return c.x+":"+c.y+":"+c.z},_keyToTileCoords:function(c){var h=c.split(":"),S=new X(+h[0],+h[1]);return S.z=+h[2],S},_removeTile:function(c){var h=this._tiles[c];h&&(Qt(h.el),delete this._tiles[c],this.fire("tileunload",{tile:h.el,coords:this._keyToTileCoords(c)}))},_initTile:function(c){it(c,"leaflet-tile");var h=this.getTileSize();c.style.width=h.x+"px",c.style.height=h.y+"px",c.onselectstart=d,c.onmousemove=d,Ye.ielt9&&this.options.opacity<1&&gi(c,this.options.opacity)},_addTile:function(c,h){var S=this._getTilePos(c),C=this._tileCoordsToKey(c),M=this.createTile(this._wrapCoords(c),a(this._tileReady,this,c));this._initTile(M),this.createTile.length<2&&I(a(this._tileReady,this,c,null,M)),wn(M,S),this._tiles[C]={el:M,coords:c,current:!0},h.appendChild(M),this.fire("tileloadstart",{tile:M,coords:c})},_tileReady:function(c,h,S){h&&this.fire("tileerror",{error:h,tile:S,coords:c});var C=this._tileCoordsToKey(c);S=this._tiles[C],S&&(S.loaded=+new Date,this._map._fadeAnimated?(gi(S.el,0),z(this._fadeFrame),this._fadeFrame=I(this._updateOpacity,this)):(S.active=!0,this._pruneTiles()),h||(it(S.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:S.el,coords:c})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Ye.ielt9||!this._map._fadeAnimated?I(this._pruneTiles,this):setTimeout(a(this._pruneTiles,this),250)))},_getTilePos:function(c){return c.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(c){var h=new X(this._wrapX?f(c.x,this._wrapX):c.x,this._wrapY?f(c.y,this._wrapY):c.y);return h.z=c.z,h},_pxBoundsToTileRange:function(c){var h=this.getTileSize();return new W(c.min.unscaleBy(h).floor(),c.max.unscaleBy(h).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var c in this._tiles)if(!this._tiles[c].loaded)return!1;return!0}});function pG(c){return new Wd(c)}var qu=Wd.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(c,h){this._url=c,h=g(this,h),h.detectRetina&&Ye.retina&&h.maxZoom>0?(h.tileSize=Math.floor(h.tileSize/2),h.zoomReverse?(h.zoomOffset--,h.minZoom=Math.min(h.maxZoom,h.minZoom+1)):(h.zoomOffset++,h.maxZoom=Math.max(h.minZoom,h.maxZoom-1)),h.minZoom=Math.max(0,h.minZoom)):h.zoomReverse?h.minZoom=Math.min(h.maxZoom,h.minZoom):h.maxZoom=Math.max(h.minZoom,h.maxZoom),typeof h.subdomains=="string"&&(h.subdomains=h.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(c,h){return this._url===c&&h===void 0&&(h=!0),this._url=c,h||this.redraw(),this},createTile:function(c,h){var S=document.createElement("img");return tt(S,"load",a(this._tileOnLoad,this,h,S)),tt(S,"error",a(this._tileOnError,this,h,S)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(S.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(S.referrerPolicy=this.options.referrerPolicy),S.alt="",S.src=this.getTileUrl(c),S},getTileUrl:function(c){var h={r:Ye.retina?"@2x":"",s:this._getSubdomain(c),x:c.x,y:c.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var S=this._globalTileRange.max.y-c.y;this.options.tms&&(h.y=S),h["-y"]=S}return b(this._url,i(h,this.options))},_tileOnLoad:function(c,h){Ye.ielt9?setTimeout(a(c,this,null,h),0):c(null,h)},_tileOnError:function(c,h,S){var C=this.options.errorTileUrl;C&&h.getAttribute("src")!==C&&(h.src=C),c(S,h)},_onTileRemove:function(c){c.tile.onload=null},_getZoomForUrl:function(){var c=this._tileZoom,h=this.options.maxZoom,S=this.options.zoomReverse,C=this.options.zoomOffset;return S&&(c=h-c),c+C},_getSubdomain:function(c){var h=Math.abs(c.x+c.y)%this.options.subdomains.length;return this.options.subdomains[h]},_abortLoading:function(){var c,h;for(c in this._tiles)if(this._tiles[c].coords.z!==this._tileZoom&&(h=this._tiles[c].el,h.onload=d,h.onerror=d,!h.complete)){h.src=E;var S=this._tiles[c].coords;Qt(h),delete this._tiles[c],this.fire("tileabort",{tile:h,coords:S})}},_removeTile:function(c){var h=this._tiles[c];if(h)return h.el.setAttribute("src",E),Wd.prototype._removeTile.call(this,c)},_tileReady:function(c,h,S){if(!(!this._map||S&&S.getAttribute("src")===E))return Wd.prototype._tileReady.call(this,c,h,S)}});function TN(c,h){return new qu(c,h)}var CN=qu.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(c,h){this._url=c;var S=i({},this.defaultWmsParams);for(var C in h)C in this.options||(S[C]=h[C]);h=g(this,h);var M=h.detectRetina&&Ye.retina?2:1,Y=this.getTileSize();S.width=Y.x*M,S.height=Y.y*M,this.wmsParams=S},onAdd:function(c){this._crs=this.options.crs||c.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var h=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[h]=this._crs.code,qu.prototype.onAdd.call(this,c)},getTileUrl:function(c){var h=this._tileCoordsToNwSe(c),S=this._crs,C=re(S.project(h[0]),S.project(h[1])),M=C.min,Y=C.max,ae=(this._wmsVersion>=1.3&&this._crs===bN?[M.y,M.x,Y.y,Y.x]:[M.x,M.y,Y.x,Y.y]).join(","),pe=qu.prototype.getTileUrl.call(this,c);return pe+w(this.wmsParams,pe,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+ae},setParams:function(c,h){return i(this.wmsParams,c),h||this.redraw(),this}});function hG(c,h){return new CN(c,h)}qu.WMS=CN,TN.wms=hG;var ua=Ji.extend({options:{padding:.1},initialize:function(c){g(this,c),l(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),it(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var c={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(c.zoomanim=this._onAnimZoom),c},_onAnimZoom:function(c){this._updateTransform(c.center,c.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(c,h){var S=this._map.getZoomScale(h,this._zoom),C=this._map.getSize().multiplyBy(.5+this.options.padding),M=this._map.project(this._center,h),Y=C.multiplyBy(-S).add(M).subtract(this._map._getNewPixelOrigin(c,h));Ye.any3d?yl(this._container,Y,S):wn(this._container,Y)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var c in this._layers)this._layers[c]._reset()},_onZoomEnd:function(){for(var c in this._layers)this._layers[c]._project()},_updatePaths:function(){for(var c in this._layers)this._layers[c]._update()},_update:function(){var c=this.options.padding,h=this._map.getSize(),S=this._map.containerPointToLayerPoint(h.multiplyBy(-c)).round();this._bounds=new W(S,S.add(h.multiplyBy(1+c*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),kN=ua.extend({options:{tolerance:0},getEvents:function(){var c=ua.prototype.getEvents.call(this);return c.viewprereset=this._onViewPreReset,c},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){ua.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var c=this._container=document.createElement("canvas");tt(c,"mousemove",this._onMouseMove,this),tt(c,"click dblclick mousedown mouseup contextmenu",this._onClick,this),tt(c,"mouseout",this._handleMouseOut,this),c._leaflet_disable_events=!0,this._ctx=c.getContext("2d")},_destroyContainer:function(){z(this._redrawRequest),delete this._ctx,Qt(this._container),Lt(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var c;this._redrawBounds=null;for(var h in this._layers)c=this._layers[h],c._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){ua.prototype._update.call(this);var c=this._bounds,h=this._container,S=c.getSize(),C=Ye.retina?2:1;wn(h,c.min),h.width=C*S.x,h.height=C*S.y,h.style.width=S.x+"px",h.style.height=S.y+"px",Ye.retina&&this._ctx.scale(2,2),this._ctx.translate(-c.min.x,-c.min.y),this.fire("update")}},_reset:function(){ua.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(c){this._updateDashArray(c),this._layers[l(c)]=c;var h=c._order={layer:c,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=h),this._drawLast=h,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(c){this._requestRedraw(c)},_removePath:function(c){var h=c._order,S=h.next,C=h.prev;S?S.prev=C:this._drawLast=C,C?C.next=S:this._drawFirst=S,delete c._order,delete this._layers[l(c)],this._requestRedraw(c)},_updatePath:function(c){this._extendRedrawBounds(c),c._project(),c._update(),this._requestRedraw(c)},_updateStyle:function(c){this._updateDashArray(c),this._requestRedraw(c)},_updateDashArray:function(c){if(typeof c.options.dashArray=="string"){var h=c.options.dashArray.split(/[, ]+/),S=[],C,M;for(M=0;M')}}catch{}return function(c){return document.createElement("<"+c+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),mG={_initContainer:function(){this._container=_t("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(ua.prototype._update.call(this),this.fire("update"))},_initPath:function(c){var h=c._container=Yd("shape");it(h,"leaflet-vml-shape "+(this.options.className||"")),h.coordsize="1 1",c._path=Yd("path"),h.appendChild(c._path),this._updateStyle(c),this._layers[l(c)]=c},_addPath:function(c){var h=c._container;this._container.appendChild(h),c.options.interactive&&c.addInteractiveTarget(h)},_removePath:function(c){var h=c._container;Qt(h),c.removeInteractiveTarget(h),delete this._layers[l(c)]},_updateStyle:function(c){var h=c._stroke,S=c._fill,C=c.options,M=c._container;M.stroked=!!C.stroke,M.filled=!!C.fill,C.stroke?(h||(h=c._stroke=Yd("stroke")),M.appendChild(h),h.weight=C.weight+"px",h.color=C.color,h.opacity=C.opacity,C.dashArray?h.dashStyle=x(C.dashArray)?C.dashArray.join(" "):C.dashArray.replace(/( *, *)/g," "):h.dashStyle="",h.endcap=C.lineCap.replace("butt","flat"),h.joinstyle=C.lineJoin):h&&(M.removeChild(h),c._stroke=null),C.fill?(S||(S=c._fill=Yd("fill")),M.appendChild(S),S.color=C.fillColor||C.color,S.opacity=C.fillOpacity):S&&(M.removeChild(S),c._fill=null)},_updateCircle:function(c){var h=c._point.round(),S=Math.round(c._radius),C=Math.round(c._radiusY||S);this._setPath(c,c._empty()?"M0 0":"AL "+h.x+","+h.y+" "+S+","+C+" 0,"+65535*360)},_setPath:function(c,h){c._path.v=h},_bringToFront:function(c){zu(c._container)},_bringToBack:function(c){Vu(c._container)}},Xv=Ye.vml?Yd:Ee,Gd=ua.extend({_initContainer:function(){this._container=Xv("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Xv("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Qt(this._container),Lt(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){ua.prototype._update.call(this);var c=this._bounds,h=c.getSize(),S=this._container;(!this._svgSize||!this._svgSize.equals(h))&&(this._svgSize=h,S.setAttribute("width",h.x),S.setAttribute("height",h.y)),wn(S,c.min),S.setAttribute("viewBox",[c.min.x,c.min.y,h.x,h.y].join(" ")),this.fire("update")}},_initPath:function(c){var h=c._path=Xv("path");c.options.className&&it(h,c.options.className),c.options.interactive&&it(h,"leaflet-interactive"),this._updateStyle(c),this._layers[l(c)]=c},_addPath:function(c){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(c._path),c.addInteractiveTarget(c._path)},_removePath:function(c){Qt(c._path),c.removeInteractiveTarget(c._path),delete this._layers[l(c)]},_updatePath:function(c){c._project(),c._update()},_updateStyle:function(c){var h=c._path,S=c.options;h&&(S.stroke?(h.setAttribute("stroke",S.color),h.setAttribute("stroke-opacity",S.opacity),h.setAttribute("stroke-width",S.weight),h.setAttribute("stroke-linecap",S.lineCap),h.setAttribute("stroke-linejoin",S.lineJoin),S.dashArray?h.setAttribute("stroke-dasharray",S.dashArray):h.removeAttribute("stroke-dasharray"),S.dashOffset?h.setAttribute("stroke-dashoffset",S.dashOffset):h.removeAttribute("stroke-dashoffset")):h.setAttribute("stroke","none"),S.fill?(h.setAttribute("fill",S.fillColor||S.color),h.setAttribute("fill-opacity",S.fillOpacity),h.setAttribute("fill-rule",S.fillRule||"evenodd")):h.setAttribute("fill","none"))},_updatePoly:function(c,h){this._setPath(c,ue(c._parts,h))},_updateCircle:function(c){var h=c._point,S=Math.max(Math.round(c._radius),1),C=Math.max(Math.round(c._radiusY),1)||S,M="a"+S+","+C+" 0 1,0 ",Y=c._empty()?"M0 0":"M"+(h.x-S)+","+h.y+M+S*2+",0 "+M+-S*2+",0 ";this._setPath(c,Y)},_setPath:function(c,h){c._path.setAttribute("d",h)},_bringToFront:function(c){zu(c._path)},_bringToBack:function(c){Vu(c._path)}});Ye.vml&&Gd.include(mG);function PN(c){return Ye.svg||Ye.vml?new Gd(c):null}vt.include({getRenderer:function(c){var h=c.options.renderer||this._getPaneRenderer(c.options.pane)||this.options.renderer||this._renderer;return h||(h=this._renderer=this._createRenderer()),this.hasLayer(h)||this.addLayer(h),h},_getPaneRenderer:function(c){if(c==="overlayPane"||c===void 0)return!1;var h=this._paneRenderers[c];return h===void 0&&(h=this._createRenderer({pane:c}),this._paneRenderers[c]=h),h},_createRenderer:function(c){return this.options.preferCanvas&&jN(c)||PN(c)}});var AN=Yu.extend({initialize:function(c,h){Yu.prototype.initialize.call(this,this._boundsToLatLngs(c),h)},setBounds:function(c){return this.setLatLngs(this._boundsToLatLngs(c))},_boundsToLatLngs:function(c){return c=ee(c),[c.getSouthWest(),c.getNorthWest(),c.getNorthEast(),c.getSouthEast()]}});function vG(c,h){return new AN(c,h)}Gd.create=Xv,Gd.pointsToPath=ue,la.geometryToLayer=Hv,la.coordsToLatLng=rx,la.coordsToLatLngs=Wv,la.latLngToCoords=ix,la.latLngsToCoords=Yv,la.getFeature=Gu,la.asFeature=Gv,vt.mergeOptions({boxZoom:!0});var NN=Co.extend({initialize:function(c){this._map=c,this._container=c._container,this._pane=c._panes.overlayPane,this._resetStateTimeout=0,c.on("unload",this._destroy,this)},addHooks:function(){tt(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Lt(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Qt(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(c){if(!c.shiftKey||c.which!==1&&c.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Fd(),$w(),this._startPoint=this._map.mouseEventToContainerPoint(c),tt(document,{contextmenu:wl,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(c){this._moved||(this._moved=!0,this._box=_t("div","leaflet-zoom-box",this._container),it(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(c);var h=new W(this._point,this._startPoint),S=h.getSize();wn(this._box,h.min),this._box.style.width=S.x+"px",this._box.style.height=S.y+"px"},_finish:function(){this._moved&&(Qt(this._box),pn(this._container,"leaflet-crosshair")),Ud(),Bw(),Lt(document,{contextmenu:wl,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(c){if(!(c.which!==1&&c.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(a(this._resetState,this),0);var h=new q(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(h).fire("boxzoomend",{boxZoomBounds:h})}},_onKeyDown:function(c){c.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});vt.addInitHook("addHandler","boxZoom",NN),vt.mergeOptions({doubleClickZoom:!0});var MN=Co.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(c){var h=this._map,S=h.getZoom(),C=h.options.zoomDelta,M=c.originalEvent.shiftKey?S-C:S+C;h.options.doubleClickZoom==="center"?h.setZoom(M):h.setZoomAround(c.containerPoint,M)}});vt.addInitHook("addHandler","doubleClickZoom",MN),vt.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var LN=Co.extend({addHooks:function(){if(!this._draggable){var c=this._map;this._draggable=new rs(c._mapPane,c._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),c.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),c.on("zoomend",this._onZoomEnd,this),c.whenReady(this._onZoomEnd,this))}it(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){pn(this._map._container,"leaflet-grab"),pn(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var c=this._map;if(c._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var h=ee(this._map.options.maxBounds);this._offsetLimit=re(this._map.latLngToContainerPoint(h.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(h.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;c.fire("movestart").fire("dragstart"),c.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(c){if(this._map.options.inertia){var h=this._lastTime=+new Date,S=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(S),this._times.push(h),this._prunePositions(h)}this._map.fire("move",c).fire("drag",c)},_prunePositions:function(c){for(;this._positions.length>1&&c-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var c=this._map.getSize().divideBy(2),h=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=h.subtract(c).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(c,h){return c-(c-h)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var c=this._draggable._newPos.subtract(this._draggable._startPos),h=this._offsetLimit;c.xh.max.x&&(c.x=this._viscousLimit(c.x,h.max.x)),c.y>h.max.y&&(c.y=this._viscousLimit(c.y,h.max.y)),this._draggable._newPos=this._draggable._startPos.add(c)}},_onPreDragWrap:function(){var c=this._worldWidth,h=Math.round(c/2),S=this._initialWorldOffset,C=this._draggable._newPos.x,M=(C-h+S)%c+h-S,Y=(C+h+S)%c-h-S,ae=Math.abs(M+S)0?Y:-Y))-h;this._delta=0,this._startTime=null,ae&&(c.options.scrollWheelZoom==="center"?c.setZoom(h+ae):c.setZoomAround(this._lastMousePos,h+ae))}});vt.addInitHook("addHandler","scrollWheelZoom",DN);var gG=600;vt.mergeOptions({tapHold:Ye.touchNative&&Ye.safari&&Ye.mobile,tapTolerance:15});var IN=Co.extend({addHooks:function(){tt(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Lt(this._map._container,"touchstart",this._onDown,this)},_onDown:function(c){if(clearTimeout(this._holdTimeout),c.touches.length===1){var h=c.touches[0];this._startPos=this._newPos=new X(h.clientX,h.clientY),this._holdTimeout=setTimeout(a(function(){this._cancel(),this._isTapValid()&&(tt(document,"touchend",rr),tt(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",h))},this),gG),tt(document,"touchend touchcancel contextmenu",this._cancel,this),tt(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function c(){Lt(document,"touchend",rr),Lt(document,"touchend touchcancel",c)},_cancel:function(){clearTimeout(this._holdTimeout),Lt(document,"touchend touchcancel contextmenu",this._cancel,this),Lt(document,"touchmove",this._onMove,this)},_onMove:function(c){var h=c.touches[0];this._newPos=new X(h.clientX,h.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(c,h){var S=new MouseEvent(c,{bubbles:!0,cancelable:!0,view:window,screenX:h.screenX,screenY:h.screenY,clientX:h.clientX,clientY:h.clientY});S._simulated=!0,h.target.dispatchEvent(S)}});vt.addInitHook("addHandler","tapHold",IN),vt.mergeOptions({touchZoom:Ye.touch,bounceAtZoomLimits:!0});var FN=Co.extend({addHooks:function(){it(this._map._container,"leaflet-touch-zoom"),tt(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){pn(this._map._container,"leaflet-touch-zoom"),Lt(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(c){var h=this._map;if(!(!c.touches||c.touches.length!==2||h._animatingZoom||this._zooming)){var S=h.mouseEventToContainerPoint(c.touches[0]),C=h.mouseEventToContainerPoint(c.touches[1]);this._centerPoint=h.getSize()._divideBy(2),this._startLatLng=h.containerPointToLatLng(this._centerPoint),h.options.touchZoom!=="center"&&(this._pinchStartLatLng=h.containerPointToLatLng(S.add(C)._divideBy(2))),this._startDist=S.distanceTo(C),this._startZoom=h.getZoom(),this._moved=!1,this._zooming=!0,h._stop(),tt(document,"touchmove",this._onTouchMove,this),tt(document,"touchend touchcancel",this._onTouchEnd,this),rr(c)}},_onTouchMove:function(c){if(!(!c.touches||c.touches.length!==2||!this._zooming)){var h=this._map,S=h.mouseEventToContainerPoint(c.touches[0]),C=h.mouseEventToContainerPoint(c.touches[1]),M=S.distanceTo(C)/this._startDist;if(this._zoom=h.getScaleZoom(M,this._startZoom),!h.options.bounceAtZoomLimits&&(this._zoomh.getMaxZoom()&&M>1)&&(this._zoom=h._limitZoom(this._zoom)),h.options.touchZoom==="center"){if(this._center=this._startLatLng,M===1)return}else{var Y=S._add(C)._divideBy(2)._subtract(this._centerPoint);if(M===1&&Y.x===0&&Y.y===0)return;this._center=h.unproject(h.project(this._pinchStartLatLng,this._zoom).subtract(Y),this._zoom)}this._moved||(h._moveStart(!0,!1),this._moved=!0),z(this._animRequest);var ae=a(h._move,h,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=I(ae,this,!0),rr(c)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,z(this._animRequest),Lt(document,"touchmove",this._onTouchMove,this),Lt(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});vt.addInitHook("addHandler","touchZoom",FN),vt.BoxZoom=NN,vt.DoubleClickZoom=MN,vt.Drag=LN,vt.Keyboard=RN,vt.ScrollWheelZoom=DN,vt.TapHold=IN,vt.TouchZoom=FN,n.Bounds=W,n.Browser=Ye,n.CRS=fe,n.Canvas=kN,n.Circle=nx,n.CircleMarker=Vv,n.Class=H,n.Control=Qi,n.DivIcon=EN,n.DivOverlay=ko,n.DomEvent=RY,n.DomUtil=MY,n.Draggable=rs,n.Evented=te,n.FeatureGroup=aa,n.GeoJSON=la,n.GridLayer=Wd,n.Handler=Co,n.Icon=Wu,n.ImageOverlay=qv,n.LatLng=ie,n.LatLngBounds=q,n.Layer=Ji,n.LayerGroup=Hu,n.LineUtil=qY,n.Map=vt,n.Marker=zv,n.Mixin=zY,n.Path=is,n.Point=X,n.PolyUtil=VY,n.Polygon=Yu,n.Polyline=sa,n.Popup=Kv,n.PosAnimation=sN,n.Projection=KY,n.Rectangle=AN,n.Renderer=ua,n.SVG=Gd,n.SVGOverlay=SN,n.TileLayer=qu,n.Tooltip=Zv,n.Transformation=J,n.Util=G,n.VideoOverlay=ON,n.bind=a,n.bounds=re,n.canvas=jN,n.circle=rG,n.circleMarker=nG,n.control=zd,n.divIcon=dG,n.extend=i,n.featureGroup=JY,n.geoJSON=xN,n.geoJson=aG,n.gridLayer=pG,n.icon=eG,n.imageOverlay=sG,n.latLng=se,n.latLngBounds=ee,n.layerGroup=QY,n.map=DY,n.marker=tG,n.point=V,n.polygon=oG,n.polyline=iG,n.popup=cG,n.rectangle=vG,n.setOptions=g,n.stamp=l,n.svg=PN,n.svgOverlay=uG,n.tileLayer=TN,n.tooltip=fG,n.transformation=K,n.version=r,n.videoOverlay=lG;var yG=window.L;n.noConflict=function(){return window.L=yG,this},window.L=n})})(VC,VC.exports);var jv=VC.exports;const c8=Ot(jv);function $A(e,t,n){return Object.freeze({instance:e,context:t,container:n})}function BA(e,t){return t==null?function(n,r){const i=F.useRef();return i.current||(i.current=e(n,r)),i}:function(n,r){const i=F.useRef();i.current||(i.current=e(n,r));const o=F.useRef(n),{instance:a}=i.current;return F.useEffect(function(){o.current!==n&&(t(a,n,o.current),o.current=n)},[a,n,r]),i}}function IBe(e,t){F.useEffect(function(){return(t.layerContainer??t.map).addLayer(e.instance),function(){var n;(n=t.layerContainer)==null||n.removeLayer(e.instance),t.map.removeLayer(e.instance)}},[t,e])}function SW(e){return function(t){const n=xW(),r=e(UA(t,n),n);return bW(n.map,t.attribution),OW(r.current,t.eventHandlers),IBe(r.current,n),r}}function FBe(e,t){const n=BA(e,t),r=SW(n);return MBe(r)}function UBe(e,t){const n=BA(e),r=DBe(n,t);return LBe(r)}function $Be(e,t){const n=BA(e,t),r=SW(n);return RBe(r)}function BBe(e,t,n){const{opacity:r,zIndex:i}=t;r!=null&&r!==n.opacity&&e.setOpacity(r),i!=null&&i!==n.zIndex&&e.setZIndex(i)}function HC(){return HC=Object.assign||function(e){for(var t=1;t(m==null?void 0:m.map)??null,[m]);const g=F.useCallback(y=>{if(y!==null&&m===null){const b=new jv.Map(y,f);n!=null&&u!=null?b.setView(n,u):e!=null&&b.fitBounds(e,t),l!=null&&b.whenReady(l),v(ABe(b))}},[]);F.useEffect(()=>()=>{m==null||m.map.remove()},[m]);const w=m?N.createElement(wW,{value:m},r):a??null;return N.createElement("div",HC({},p,{ref:g}),w)}const VBe=F.forwardRef(zBe),HBe=FBe(function({position:e,...t},n){const r=new jv.Marker(e,t);return $A(r,NBe(n,{overlayContainer:r}))},function(e,t,n){t.position!==n.position&&e.setLatLng(t.position),t.icon!=null&&t.icon!==n.icon&&e.setIcon(t.icon),t.zIndexOffset!=null&&t.zIndexOffset!==n.zIndexOffset&&e.setZIndexOffset(t.zIndexOffset),t.opacity!=null&&t.opacity!==n.opacity&&e.setOpacity(t.opacity),e.dragging!=null&&t.draggable!==n.draggable&&(t.draggable===!0?e.dragging.enable():e.dragging.disable())}),WBe=UBe(function(e,t){const n=new jv.Popup(e,t.overlayContainer);return $A(n,t)},function(e,t,{position:n},r){F.useEffect(function(){const{instance:i}=e;function o(s){s.popup===i&&(i.update(),r(!0))}function a(s){s.popup===i&&r(!1)}return t.map.on({popupopen:o,popupclose:a}),t.overlayContainer==null?(n!=null&&i.setLatLng(n),i.openOn(t.map)):t.overlayContainer.bindPopup(i),function(){var s;t.map.off({popupopen:o,popupclose:a}),(s=t.overlayContainer)==null||s.unbindPopup(),t.map.removeLayer(i)}},[e,t,r,n])}),YBe=$Be(function({url:e,...t},n){const r=new jv.TileLayer(e,UA(t,n));return $A(r,n)},function(e,t,n){BBe(e,t,n);const{url:r}=t;r!=null&&r!==n.url&&e.setUrl(r)}),GBe=()=>_.jsx(YBe,{attribution:'© OpenStreetMap contributors',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),qBe=e=>{if(e.length===0)return{};if(e.length>1)return{bounds:e.map(({latLong:n})=>n)};const[{latLong:t}]=e;return{zoom:10,center:t}},EW=({toggle:e,isOpen:t,title:n,locations:r=[]})=>_.jsx(Ka,{toggle:e,isOpen:t,className:"map-modal__modal",contentClassName:"map-modal__modal-content",children:_.jsxs(na,{className:"map-modal__modal-body",children:[_.jsxs("h3",{className:"map-modal__modal-title",children:[n,_.jsx("button",{type:"button",className:"btn-close float-end","aria-label":"Close",onClick:e})]}),_.jsxs(VBe,{...qBe(r),children:[_.jsx(GBe,{}),r.map(({cityName:i,latLong:o,count:a},s)=>_.jsx(HBe,{position:o,children:_.jsxs(WBe,{children:[_.jsx("b",{children:a})," visit",a>1?"s":""," from ",_.jsx("b",{children:i})]})},s))]})]})}),KBe=({modalTitle:e,activeCities:t,locations:n=[]})=>{const[r,,i,o]=En(),[a,s]=En(),[l,u]=F.useState([]),f=I_(),d=F.useCallback(p=>{u(p?n.filter(p):n),i()},[n,i]);return _.jsxs(_.Fragment,{children:[!t&&_.jsx(wt,{color:"link",className:"open-map-modal-btn__btn",id:f,onClick:()=>d(),"aria-label":"Show in map",children:_.jsx(Le,{icon:aS})}),t&&_.jsxs(nv,{isOpen:a,toggle:s,children:[_.jsx(ud,{color:"link",className:"open-map-modal-btn__btn",id:f,children:_.jsx(Le,{icon:aS})}),_.jsxs(ld,{end:!0,children:[_.jsx(ze,{onClick:()=>d(),children:"Show all locations"}),_.jsx(ze,{onClick:()=>d(({cityName:p})=>t.includes(p)),children:"Show locations in current page"})]})]}),_.jsx(qr,{placement:"left",target:f,children:"Show in map"}),_.jsx(EW,{toggle:o,isOpen:r,title:e,locations:l})]})},ZBe=({onChange:e,selected:t={},className:n,isOrphanVisits:r})=>{const{orphanVisitsType:i,excludeBots:o=!1}=t,a=s=>({active:i===s,onClick:()=>e({...t,orphanVisitsType:s===(t==null?void 0:t.orphanVisitsType)?void 0:s})});return _.jsxs(Xa,{text:"Filters",dropdownClassName:n,inline:!0,end:!0,minWidth:250,children:[_.jsx(ze,{header:!0,"aria-hidden":!0,children:"Bots:"}),_.jsx(ze,{active:o,onClick:()=>e({...t,excludeBots:!(t!=null&&t.excludeBots)}),children:"Exclude potential bots"}),r&&_.jsxs(_.Fragment,{children:[_.jsx(ze,{divider:!0,tag:"hr"}),_.jsx(ze,{header:!0,"aria-hidden":!0,children:"Orphan visits type:"}),_.jsx(ze,{...a("base_url"),children:"Base URL"}),_.jsx(ze,{...a("invalid_short_url"),children:"Invalid short URL"}),_.jsx(ze,{...a("regular_404"),children:"Regular 404"})]}),_.jsx(ze,{divider:!0,tag:"hr"}),_.jsx(ze,{disabled:!va(t),onClick:()=>e({excludeBots:!1,orphanVisitsType:void 0}),children:_.jsx("i",{children:"Clear filters"})})]})},XBe=({visitsDeletion:e,deleteVisits:t})=>{const{deleting:n}=e,[r,,i]=En();return _.jsx(vn,{title:_.jsx("span",{className:"text-danger fw-bold",children:"Danger zone"}),children:_.jsxs("div",{className:"d-flex justify-content-between align-items-center",children:[_.jsxs("dl",{className:"m-0 me-3",children:[_.jsx("dt",{children:"Delete visits."}),_.jsxs("dd",{className:"m-0",children:["This will delete ",_.jsx("b",{children:"all"})," visits, not only the ones matching current filter."]})]}),!r&&_.jsx(wt,{color:"danger",className:"indivisible",onClick:i,children:"Delete visits"}),r&&_.jsxs(wt,{color:"danger",disabled:n,className:"indivisible",onClick:t,innerRef:o=>{o==null||o.focus()},children:[!n&&_.jsx(_.Fragment,{children:"Click again to confirm"}),n&&_.jsx(_.Fragment,{children:"Deleting..."})]})]})})},QBe={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},TW={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},hn={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},Er={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},ms={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"};class we{static getFirstMatch(t,n){const r=n.match(t);return r&&r.length>0&&r[1]||""}static getSecondMatch(t,n){const r=n.match(t);return r&&r.length>1&&r[2]||""}static matchAndReturnConst(t,n,r){if(t.test(n))return r}static getWindowsVersionName(t){switch(t){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}static getMacOSVersionName(t){const n=t.split(".").splice(0,2).map(r=>parseInt(r,10)||0);if(n.push(0),n[0]===10)switch(n[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}}static getAndroidVersionName(t){const n=t.split(".").splice(0,2).map(r=>parseInt(r,10)||0);if(n.push(0),!(n[0]===1&&n[1]<5)){if(n[0]===1&&n[1]<6)return"Cupcake";if(n[0]===1&&n[1]>=6)return"Donut";if(n[0]===2&&n[1]<2)return"Eclair";if(n[0]===2&&n[1]===2)return"Froyo";if(n[0]===2&&n[1]>2)return"Gingerbread";if(n[0]===3)return"Honeycomb";if(n[0]===4&&n[1]<1)return"Ice Cream Sandwich";if(n[0]===4&&n[1]<4)return"Jelly Bean";if(n[0]===4&&n[1]>=4)return"KitKat";if(n[0]===5)return"Lollipop";if(n[0]===6)return"Marshmallow";if(n[0]===7)return"Nougat";if(n[0]===8)return"Oreo";if(n[0]===9)return"Pie"}}static getVersionPrecision(t){return t.split(".").length}static compareVersions(t,n,r=!1){const i=we.getVersionPrecision(t),o=we.getVersionPrecision(n);let a=Math.max(i,o),s=0;const l=we.map([t,n],u=>{const f=a-we.getVersionPrecision(u),d=u+new Array(f+1).join(".0");return we.map(d.split("."),p=>new Array(20-p.length).join("0")+p).reverse()});for(r&&(s=a-Math.min(i,o)),a-=1;a>=s;){if(l[0][a]>l[1][a])return 1;if(l[0][a]===l[1][a]){if(a===s)return 0;a-=1}else if(l[0][a]{r[s]=a[s]})}return t}static getBrowserAlias(t){return QBe[t]}static getBrowserTypeByAlias(t){return TW[t]||""}}const At=/version\/(\d+(\.?_?\d+)+)/i,JBe=[{test:[/googlebot/i],describe(e){const t={name:"Googlebot"},n=we.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||we.getFirstMatch(At,e);return n&&(t.version=n),t}},{test:[/opera/i],describe(e){const t={name:"Opera"},n=we.getFirstMatch(At,e)||we.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe(e){const t={name:"Opera"},n=we.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||we.getFirstMatch(At,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe(e){const t={name:"Samsung Internet for Android"},n=we.getFirstMatch(At,e)||we.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe(e){const t={name:"NAVER Whale Browser"},n=we.getFirstMatch(At,e)||we.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe(e){const t={name:"MZ Browser"},n=we.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||we.getFirstMatch(At,e);return n&&(t.version=n),t}},{test:[/focus/i],describe(e){const t={name:"Focus"},n=we.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||we.getFirstMatch(At,e);return n&&(t.version=n),t}},{test:[/swing/i],describe(e){const t={name:"Swing"},n=we.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||we.getFirstMatch(At,e);return n&&(t.version=n),t}},{test:[/coast/i],describe(e){const t={name:"Opera Coast"},n=we.getFirstMatch(At,e)||we.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe(e){const t={name:"Opera Touch"},n=we.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||we.getFirstMatch(At,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe(e){const t={name:"Yandex Browser"},n=we.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||we.getFirstMatch(At,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe(e){const t={name:"UC Browser"},n=we.getFirstMatch(At,e)||we.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe(e){const t={name:"Maxthon"},n=we.getFirstMatch(At,e)||we.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe(e){const t={name:"Epiphany"},n=we.getFirstMatch(At,e)||we.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe(e){const t={name:"Puffin"},n=we.getFirstMatch(At,e)||we.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe(e){const t={name:"Sleipnir"},n=we.getFirstMatch(At,e)||we.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe(e){const t={name:"K-Meleon"},n=we.getFirstMatch(At,e)||we.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe(e){const t={name:"WeChat"},n=we.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||we.getFirstMatch(At,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe(e){const t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=we.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||we.getFirstMatch(At,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe(e){const t={name:"Internet Explorer"},n=we.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe(e){const t={name:"Microsoft Edge"},n=we.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe(e){const t={name:"Microsoft Edge"},n=we.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe(e){const t={name:"Vivaldi"},n=we.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe(e){const t={name:"SeaMonkey"},n=we.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe(e){const t={name:"Sailfish"},n=we.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe(e){const t={name:"Amazon Silk"},n=we.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe(e){const t={name:"PhantomJS"},n=we.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe(e){const t={name:"SlimerJS"},n=we.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){const t={name:"BlackBerry"},n=we.getFirstMatch(At,e)||we.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe(e){const t={name:"WebOS Browser"},n=we.getFirstMatch(At,e)||we.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe(e){const t={name:"Bada"},n=we.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe(e){const t={name:"Tizen"},n=we.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||we.getFirstMatch(At,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe(e){const t={name:"QupZilla"},n=we.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||we.getFirstMatch(At,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe(e){const t={name:"Firefox"},n=we.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe(e){const t={name:"Electron"},n=we.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe(e){const t={name:"Miui"},n=we.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe(e){const t={name:"Chromium"},n=we.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||we.getFirstMatch(At,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe(e){const t={name:"Chrome"},n=we.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe(e){const t={name:"Google Search"},n=we.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){const t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe(e){const t={name:"Android Browser"},n=we.getFirstMatch(At,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe(e){const t={name:"PlayStation 4"},n=we.getFirstMatch(At,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe(e){const t={name:"Safari"},n=we.getFirstMatch(At,e);return n&&(t.version=n),t}},{test:[/.*/i],describe(e){const t=/^(.*)\/(.*) /,n=/^(.*)\/(.*)[ \t]\((.*)/,r=e.search("\\(")!==-1?n:t;return{name:we.getFirstMatch(r,e),version:we.getSecondMatch(r,e)}}}],e2e=[{test:[/Roku\/DVP/],describe(e){const t=we.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:Er.Roku,version:t}}},{test:[/windows phone/i],describe(e){const t=we.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:Er.WindowsPhone,version:t}}},{test:[/windows /i],describe(e){const t=we.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=we.getWindowsVersionName(t);return{name:Er.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(e){const t={name:Er.iOS},n=we.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe(e){const t=we.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=we.getMacOSVersionName(t),r={name:Er.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe(e){const t=we.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:Er.iOS,version:t}}},{test(e){const t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe(e){const t=we.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=we.getAndroidVersionName(t),r={name:Er.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe(e){const t=we.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:Er.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){const t=we.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||we.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||we.getFirstMatch(/\bbb(\d+)/i,e);return{name:Er.BlackBerry,version:t}}},{test:[/bada/i],describe(e){const t=we.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:Er.Bada,version:t}}},{test:[/tizen/i],describe(e){const t=we.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:Er.Tizen,version:t}}},{test:[/linux/i],describe(){return{name:Er.Linux}}},{test:[/CrOS/],describe(){return{name:Er.ChromeOS}}},{test:[/PlayStation 4/],describe(e){const t=we.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:Er.PlayStation4,version:t}}}],t2e=[{test:[/googlebot/i],describe(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe(e){const t=we.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:hn.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe(){return{type:hn.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe(){return{type:hn.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(){return{type:hn.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe(){return{type:hn.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe(){return{type:hn.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe(){return{type:hn.tablet}}},{test(e){const t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe(e){const t=we.getFirstMatch(/(ipod|iphone)/i,e);return{type:hn.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe(){return{type:hn.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe(){return{type:hn.mobile}}},{test(e){return e.getBrowserName(!0)==="blackberry"},describe(){return{type:hn.mobile,vendor:"BlackBerry"}}},{test(e){return e.getBrowserName(!0)==="bada"},describe(){return{type:hn.mobile}}},{test(e){return e.getBrowserName()==="windows phone"},describe(){return{type:hn.mobile,vendor:"Microsoft"}}},{test(e){const t=Number(String(e.getOSVersion()).split(".")[0]);return e.getOSName(!0)==="android"&&t>=3},describe(){return{type:hn.tablet}}},{test(e){return e.getOSName(!0)==="android"},describe(){return{type:hn.mobile}}},{test(e){return e.getOSName(!0)==="macos"},describe(){return{type:hn.desktop,vendor:"Apple"}}},{test(e){return e.getOSName(!0)==="windows"},describe(){return{type:hn.desktop}}},{test(e){return e.getOSName(!0)==="linux"},describe(){return{type:hn.desktop}}},{test(e){return e.getOSName(!0)==="playstation 4"},describe(){return{type:hn.tv}}},{test(e){return e.getOSName(!0)==="roku"},describe(){return{type:hn.tv}}}],n2e=[{test(e){return e.getBrowserName(!0)==="microsoft edge"},describe(e){if(/\sedg\//i.test(e))return{name:ms.Blink};const t=we.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:ms.EdgeHTML,version:t}}},{test:[/trident/i],describe(e){const t={name:ms.Trident},n=we.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){return e.test(/presto/i)},describe(e){const t={name:ms.Presto},n=we.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){const t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe(e){const t={name:ms.Gecko},n=we.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe(){return{name:ms.Blink}}},{test:[/(apple)?webkit/i],describe(e){const t={name:ms.WebKit},n=we.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}];class f8{constructor(t,n=!1){if(t==null||t==="")throw new Error("UserAgent parameter can't be empty");this._ua=t,this.parsedResult={},n!==!0&&this.parse()}getUA(){return this._ua}test(t){return t.test(this._ua)}parseBrowser(){this.parsedResult.browser={};const t=we.find(JBe,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser}getBrowser(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()}getBrowserName(t){return t?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""}getBrowserVersion(){return this.getBrowser().version}getOS(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()}parseOS(){this.parsedResult.os={};const t=we.find(e2e,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os}getOSName(t){const{name:n}=this.getOS();return t?String(n).toLowerCase()||"":n||""}getOSVersion(){return this.getOS().version}getPlatform(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()}getPlatformType(t=!1){const{type:n}=this.getPlatform();return t?String(n).toLowerCase()||"":n||""}parsePlatform(){this.parsedResult.platform={};const t=we.find(t2e,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform}getEngine(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()}getEngineName(t){return t?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""}parseEngine(){this.parsedResult.engine={};const t=we.find(n2e,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine}parse(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this}getResult(){return we.assign({},this.parsedResult)}satisfies(t){const n={};let r=0;const i={};let o=0;if(Object.keys(t).forEach(a=>{const s=t[a];typeof s=="string"?(i[a]=s,o+=1):typeof s=="object"&&(n[a]=s,r+=1)}),r>0){const a=Object.keys(n),s=we.find(a,u=>this.isOS(u));if(s){const u=this.satisfies(n[s]);if(u!==void 0)return u}const l=we.find(a,u=>this.isPlatform(u));if(l){const u=this.satisfies(n[l]);if(u!==void 0)return u}}if(o>0){const a=Object.keys(i),s=we.find(a,l=>this.isBrowser(l,!0));if(s!==void 0)return this.compareVersion(i[s])}}isBrowser(t,n=!1){const r=this.getBrowserName().toLowerCase();let i=t.toLowerCase();const o=we.getBrowserTypeByAlias(i);return n&&o&&(i=o.toLowerCase()),i===r}compareVersion(t){let n=[0],r=t,i=!1;const o=this.getBrowserVersion();if(typeof o=="string")return t[0]===">"||t[0]==="<"?(r=t.substr(1),t[1]==="="?(i=!0,r=t.substr(2)):n=[],t[0]===">"?n.push(1):n.push(-1)):t[0]==="="?r=t.substr(1):t[0]==="~"&&(i=!0,r=t.substr(1)),n.indexOf(we.compareVersions(o,r,i))>-1}isOS(t){return this.getOSName(!0)===String(t).toLowerCase()}isPlatform(t){return this.getPlatformType(!0)===String(t).toLowerCase()}isEngine(t){return this.getEngineName(!0)===String(t).toLowerCase()}is(t,n=!1){return this.isBrowser(t,n)||this.isOS(t)||this.isPlatform(t)}some(t=[]){return t.some(n=>this.is(n))}}/*! + * Bowser - a browser detector + * https://github.com/lancedikson/bowser + * MIT License | (c) Dustin Diaz 2012-2015 + * MIT License | (c) Denis Demchenko 2015-2019 + */class r2e{static getParser(t,n=!1){if(typeof t!="string")throw new Error("UserAgent should be a string");return new f8(t,n)}static parse(t){return new f8(t).getResult()}static get BROWSER_MAP(){return TW}static get ENGINE_MAP(){return ms}static get OS_MAP(){return Er}static get PLATFORMS_MAP(){return hn}}const Jg="Others",i2e=["Android Browser","Chrome","Chromium","Firefox","Internet Explorer","Microsoft Edge","Opera","Safari","Samsung Internet for Android","Vivaldi","WeChat"],o2e=e=>{if(!va(e))return{browser:Jg,os:Jg};const{browser:{name:t},os:{name:n}}=r2e.parse(e);return{os:n??Jg,browser:t&&i2e.includes(t)?t:Jg}},a2e=e=>{var t;return va(e)?((t=e.split("/")[e.includes("://")?2:0])==null?void 0:t.split(":")[0])??"":"Direct"},CW=(e,t)=>e[t]!==void 0,d8=e=>typeof e=="number"?e:e?parseFloat(e):0,s2e=(e,{os:t})=>{e[t]=(e[t]||0)+1},l2e=(e,{browser:t})=>{e[t]=(e[t]||0)+1},u2e=(e,{referer:t})=>{e[t]=(e[t]||0)+1},kW=e=>(t,n)=>{const r=CW(n,e)?n[e]:"Unknown";t[r]=(t[r]||0)+1},c2e=kW("country"),f2e=kW("city"),d2e=(e,t)=>{if(!CW(t,"city")||t.city==="Unknown")return;const{city:n,latitude:r,longitude:i}=t,o=e[n]||{cityName:n,count:0,latLong:[d8(r),d8(i)]};o.count+=1,e[n]=o},p2e=(e,t)=>{if(!C_e(t))return;const{visitedUrl:n}=t;e[n]=(e[n]||0)+1},jW=e=>e.reduce((t,n)=>(s2e(t.os,n),l2e(t.browsers,n),u2e(t.referrers,n),c2e(t.countries,n),f2e(t.cities,n),d2e(t.citiesForMap,n),p2e(t.visitedUrls,n),t),{os:{},browsers:{},referrers:{},countries:{},cities:{},citiesForMap:{},visitedUrls:{}}),PW=e=>e.map(t=>{const{userAgent:n,date:r,referer:i,visitLocation:o,potentialBot:a}=t,s={date:r,potentialBot:a,...o2e(n),referer:a2e(i),country:(o==null?void 0:o.countryName)||"Unknown",city:(o==null?void 0:o.cityName)||"Unknown",latitude:o==null?void 0:o.latitude,longitude:o==null?void 0:o.longitude};return RP(t)?{...s,type:t.type,visitedUrl:t.visitedUrl}:s}),h2e=Object.freeze(Object.defineProperty({__proto__:null,normalizeVisits:PW,processStatsFromVisits:jW},Symbol.toStringTag,{value:"Module"})),Mp=20,m2e=({browser:e,os:t,referer:n,country:r,city:i,...o},a)=>`${e} ${t} ${n} ${r} ${i} ${o.visitedUrl}`.toLowerCase().includes(a.toLowerCase()),v2e=(e,t)=>t.filter(n=>m2e(n,e)),g2e=(e,t)=>TB(t,e),y2e=(e,t,n)=>{const r=t?v2e(t,e):[...e],i=g2e(n,r),o=i.length;return{visitsGroups:Jh(i,Mp),total:o}},ca="visits-table__header-cell visits-table__sticky",b2e=({visits:e,selectedVisits:t=[],setSelectedVisits:n,matchMedia:r=window.matchMedia,isOrphanVisits:i=!1})=>{var o;const a=vP(767,r),[s,l]=F.useState(void 0),u=F.useRef(s),[f,d]=F.useState({}),p=F.useMemo(()=>y2e(e,s,f),[e,s,f]),[m,v]=F.useState(1),g=m*Mp,w=g-Mp,y=8+Number(i),b=O=>()=>d({field:O,dir:U_(O,f.field,f.dir)}),x=O=>_.jsx(rh,{currentOrder:f,field:O,className:"visits-table__header-icon"});return F.useEffect(()=>{u.current!==s&&(v(1),n([])),u.current=s},[s,n]),_.jsx("div",{className:"table-responsive-md",children:_.jsxs("table",{className:"table table-bordered table-hover table-sm visits-table",children:[_.jsxs("thead",{className:"visits-table__header",children:[_.jsxs("tr",{children:[_.jsxs("th",{className:`${ca} text-center`,onClick:()=>n(t.length0})})]}),_.jsxs("th",{className:`${ca} text-center`,onClick:b("potentialBot"),children:[_.jsx("span",{className:"sr-only",children:"Is bot"}),_.jsx(Le,{icon:gM}),x("potentialBot")]}),_.jsxs("th",{className:ca,onClick:b("date"),children:["Date",x("date")]}),_.jsxs("th",{className:ca,onClick:b("country"),children:["Country",x("country")]}),_.jsxs("th",{className:ca,onClick:b("city"),children:["City",x("city")]}),_.jsxs("th",{className:ca,onClick:b("browser"),children:["Browser",x("browser")]}),_.jsxs("th",{className:ca,onClick:b("os"),children:["OS",x("os")]}),_.jsxs("th",{className:ca,onClick:b("referer"),children:["Referrer",x("referer")]}),i&&_.jsxs("th",{className:ca,onClick:b("visitedUrl"),children:["Visited URL",x("visitedUrl")]})]}),_.jsx("tr",{children:_.jsx("td",{colSpan:y,className:"p-0",children:_.jsx(sv,{noBorder:!0,large:!1,onChange:l})})})]}),_.jsxs("tbody",{children:[p.total===0&&_.jsx("tr",{children:_.jsx("td",{colSpan:y,className:"text-center",children:"There are no visits matching current filter"})}),(o=p.visitsGroups[m-1])==null?void 0:o.map((O,E)=>{const T=t.includes(O);return _.jsxs("tr",{style:{cursor:"pointer"},className:We({"table-active":T}),onClick:()=>n(T?t.filter(k=>k!==O):[...t,O]),children:[_.jsx("td",{className:"text-center",children:T&&_.jsx(Le,{icon:Mh,className:"text-primary"})}),_.jsx("td",{className:"text-center",children:O.potentialBot&&_.jsxs(_.Fragment,{children:[_.jsx(Le,{icon:gM,id:`botIcon${E}`}),_.jsx(qr,{placement:"right",target:`botIcon${E}`,children:"Potentially a visit from a bot or crawler"})]})}),_.jsx("td",{children:_.jsx(tb,{date:O.date})}),_.jsx("td",{children:O.country}),_.jsx("td",{children:O.city}),_.jsx("td",{children:O.browser}),_.jsx("td",{children:O.os}),_.jsx("td",{children:O.referer}),i&&_.jsx("td",{children:O.visitedUrl})]},E)})]}),p.total>Mp&&_.jsx("tfoot",{children:_.jsx("tr",{children:_.jsx("td",{colSpan:y,className:"visits-table__footer-cell visits-table__sticky",children:_.jsxs("div",{className:"row",children:[_.jsx("div",{className:"col-md-6",children:_.jsx(MP,{pagesCount:Math.ceil(p.total/Mp),currentPage:m,setCurrentPage:v,centered:a})}),_.jsx("div",{className:We("col-md-6",{"d-flex align-items-center flex-row-reverse":!a,"text-center mt-3":a}),children:_.jsxs("div",{children:["Visits ",_.jsx("b",{children:bn(w+1)})," to"," ",_.jsx("b",{children:bn(Math.min(g,p.total))})," of"," ",_.jsx("b",{children:bn(p.total)})]})})]})})})})]})})},vs={byTime:{title:"By time",subPath:"by-time",icon:HQ},byContext:{title:"By context",subPath:"by-context",icon:Jk},byLocation:{title:"By location",subPath:"by-location",icon:aS},list:{title:"List",subPath:"list",icon:P$},options:{title:"Options",subPath:"options",icon:L$,shouldRender:({deletion:e})=>!!e}};Object.freeze(vs);let ey;const n1=({children:e,showFallback:t})=>_.jsxs(_.Fragment,{children:[t&&_.jsx(Da,{className:"mt-3",children:"There are no visits matching current filter"}),!t&&_.jsx(_.Fragment,{children:e})]}),Pv=e=>{const{children:t,visitsInfo:n,getVisits:r,cancelGetVisits:i,deletion:o,exportCsv:a,isOrphanVisits:s=!1}=e,{visits:l,loading:u,loadingLarge:f,error:d,errorData:p,progress:m,fallbackInterval:v}=n,[{dateRange:g,visitsFilter:w},y]=jBe(),b=Ru("visits"),x=F.useCallback(({startDate:ie,endDate:se})=>y({dateRange:{startDate:ie??void 0,endDate:se??void 0}}),[y]),O=F.useRef(g??v??(b==null?void 0:b.defaultInterval)??"last30Days"),[E,T]=F.useState([]),[k,A]=F.useState(),D=F.useRef(!0),{search:R}=Nn(),I=ie=>ie?`${ie}${R}`:R,z=F.useMemo(()=>PW(l),[l]),{os:G,browsers:H,referrers:Q,countries:Z,cities:te,citiesForMap:X,visitedUrls:$}=F.useMemo(()=>jW(z),[z]),V=F.useMemo(()=>({...w,excludeBots:w.excludeBots??(b==null?void 0:b.excludeBots)}),[w,b==null?void 0:b.excludeBots]),W=Object.values(X),re=F.useCallback(ie=>{ey=void 0,T(ie)},[]),q=F.useCallback((ie,se)=>{const fe=`${ie}_${se}`;ey===fe?(T([]),A(void 0),ey=void 0):(T(z.filter(j=>j[ie]===se)),A(se),ey=fe)},[z]);F.useEffect(()=>i,[i]),F.useEffect(()=>{const ie=D.current?g??kme(O.current):g;r({dateRange:ie,filter:V},D.current),re([]),D.current=!1},[g,w]),F.useEffect(()=>{v&&O.current===((b==null?void 0:b.defaultInterval)??"last30Days")&&(O.current=v)},[v,b==null?void 0:b.defaultInterval]);const ee=()=>f?_.jsxs(Da,{loading:!0,children:["This is going to take a while... :S",_.jsx(Z7,{value:m,striped:m===100,className:"mt-3"})]}):u?_.jsx(Da,{loading:!0}):d?_.jsx(ii,{type:"error",children:_.jsx(Fa,{errorData:p,fallbackMessage:"An error occurred while loading visits :("})}):_.jsxs(_.Fragment,{children:[_.jsx(EB,{fill:!0,children:Object.values(vs).map(({title:ie,icon:se,subPath:fe,shouldRender:j},P)=>!j||j(e)?_.jsxs(Qp,{to:I(fe),replace:!0,children:[_.jsx(Le,{icon:se}),_.jsx("span",{className:"ms-2 d-none d-lg-inline",children:ie})]},P):void 0).filter(Boolean)}),_.jsx(kr,{children:_.jsxs(T_,{children:[_.jsx(Et,{path:vs.byTime.subPath,element:_.jsx(n1,{showFallback:l.length===0,children:_.jsx("div",{className:"col-12 mt-3",children:_.jsx(OBe,{title:"Visits during time",visits:z,highlightedVisits:E,highlightedLabel:k,setSelectedVisits:re})})})}),_.jsx(Et,{path:vs.byContext.subPath,element:_.jsxs(n1,{showFallback:l.length===0,children:[_.jsx("div",{className:We("mt-3 col-lg-6",{"col-xl-4":!s}),children:_.jsx(a8,{title:"Operating systems",stats:G})}),_.jsx("div",{className:We("mt-3 col-lg-6",{"col-xl-4":!s}),children:_.jsx(a8,{title:"Browsers",stats:H})}),_.jsx("div",{className:We("mt-3",{"col-xl-4":!s,"col-lg-6":s}),children:_.jsx(Qg,{title:"Referrers",stats:Q,withPagination:!1,highlightedStats:Ug(E,"referer"),highlightedLabel:k,sortingItems:{name:"Referrer name",amount:"Visits amount"},onClick:ie=>q("referer",ie)})}),s&&_.jsx("div",{className:"mt-3 col-lg-6",children:_.jsx(Qg,{title:"Visited URLs",stats:$,highlightedLabel:k,highlightedStats:Ug(E,"visitedUrl"),sortingItems:{visitedUrl:"Visited URL",amount:"Visits amount"},onClick:ie=>q("visitedUrl",ie)})})]})}),_.jsx(Et,{path:vs.byLocation.subPath,element:_.jsxs(n1,{showFallback:l.length===0,children:[_.jsx("div",{className:"col-lg-6 mt-3",children:_.jsx(Qg,{title:"Countries",stats:Z,highlightedStats:Ug(E,"country"),highlightedLabel:k,sortingItems:{name:"Country name",amount:"Visits amount"},onClick:ie=>q("country",ie)})}),_.jsx("div",{className:"col-lg-6 mt-3",children:_.jsx(Qg,{title:"Cities",stats:te,highlightedStats:Ug(E,"city"),highlightedLabel:k,extraHeaderContent:ie=>W.length>0&&_.jsx(KBe,{modalTitle:"Cities",locations:W,activeCities:ie}),sortingItems:{name:"City name",amount:"Visits amount"},onClick:ie=>q("city",ie)})})]})}),_.jsx(Et,{path:vs.list.subPath,element:_.jsx("div",{className:"col-12",children:_.jsx(b2e,{visits:z,selectedVisits:E,setSelectedVisits:re,isOrphanVisits:s})})}),o&&_.jsx(Et,{path:vs.options.subPath,element:_.jsx("div",{className:"col-12 mt-3",children:_.jsx(XBe,{...o})})}),_.jsx(Et,{path:"*",element:_.jsx(Yk,{replace:!0,to:I(vs.byTime.subPath)})})]})})]});return _.jsxs(_.Fragment,{children:[t,_.jsx("section",{className:"mt-3",children:_.jsxs("div",{className:"row flex-md-row-reverse",children:[_.jsx("div",{className:"col-lg-7 col-xl-6",children:_.jsxs("div",{className:"d-md-flex",children:[_.jsx("div",{className:"flex-fill",children:_.jsx(z9,{updatable:!0,disabled:u,initialDateRange:O.current,defaultText:"All visits",onDatesChange:x})}),_.jsx(ZBe,{className:"ms-0 ms-md-2 mt-3 mt-md-0",isOrphanVisits:s,selected:V,onChange:ie=>y({visitsFilter:ie})})]})}),l.length>0&&_.jsx("div",{className:"col-lg-5 col-xl-6 mt-3 mt-lg-0",children:_.jsxs("div",{className:"d-flex",children:[_.jsx(i9,{className:"btn-md-block",amount:z.length,onClick:()=>a(z)}),_.jsxs(wt,{outline:!0,disabled:E.length===0,className:"btn-md-block ms-2",onClick:()=>re([]),children:["Clear selection ",E.length>0&&_.jsxs(_.Fragment,{children:["(",bn(E.length),")"]})]})]})})]})}),_.jsx("section",{className:"mt-3",children:ee()})]})},AW=cl(({getDomainVisits:e,domainVisits:t,cancelGetDomainVisits:n})=>{const{ReportExporter:r}=an(AW),i=md(),{domain:o=""}=ad(),[a,s=a]=o.split("_");return _.jsx(Pv,{getVisits:(l,u)=>e({domain:s,query:gv(l),doIntervalFallback:u}),cancelGetVisits:n,visitsInfo:t,exportCsv:l=>r.exportVisits(`domain_${a}_visits.csv`,l),children:_.jsx(yv,{goBack:i,visits:t.visits,title:`"${a}" visits`})})},()=>[Ri.visits]),_2e=sn(AW,["ReportExporter"]),NW=cl(({getNonOrphanVisits:e,nonOrphanVisits:t,cancelGetNonOrphanVisits:n})=>{const{ReportExporter:r}=an(NW),i=md();return _.jsx(Pv,{getVisits:(o,a)=>e({query:gv(o),doIntervalFallback:a}),cancelGetVisits:n,visitsInfo:t,exportCsv:o=>r.exportVisits("non_orphan_visits.csv",o),children:_.jsx(yv,{title:"Non-orphan visits",goBack:i,visits:t.visits})})},()=>[Ri.visits]),w2e=sn(NW,["ReportExporter"]),MW=cl(({getOrphanVisits:e,orphanVisits:t,cancelGetOrphanVisits:n,deleteOrphanVisits:r,orphanVisitsDeletion:i})=>{const o=Nu("orphanVisitsDeletion"),{ReportExporter:a}=an(MW),s=md(),l=F.useCallback(d=>a.exportVisits("orphan_visits.csv",d),[a]),u=F.useCallback((d,p)=>{var m;return e({query:gv(d),orphanVisitsType:(m=d.filter)==null?void 0:m.orphanVisitsType,doIntervalFallback:p})},[e]),f=F.useMemo(()=>o?{deleteVisits:r,visitsDeletion:i}:void 0,[r,i,o]);return _.jsx(Pv,{getVisits:u,cancelGetVisits:n,visitsInfo:t,exportCsv:l,deletion:f,isOrphanVisits:!0,children:_.jsx(yv,{title:"Orphan visits",goBack:s,visits:t.visits})})},()=>[Ri.orphanVisits]),x2e=sn(MW,["ReportExporter"]),LW="shlink/orphanVisits",O2e={visits:[],loading:!1,loadingLarge:!1,error:!1,cancelLoad:!1,progress:0},S2e=e=>dv({typePrefix:`${LW}/getNonOrphanVisits`,createLoaders:({query:t={},doIntervalFallback:n=!1})=>{const r=e(),i=async(a,s)=>r.getNonOrphanVisits({...t,page:a,itemsPerPage:s}),o=pv(n,a=>r.getNonOrphanVisits(a));return[i,o]},getExtraFulfilledPayload:({query:t={}})=>({query:t}),shouldCancel:t=>t().orphanVisits.cancelLoad}),E2e=e=>hv({name:LW,initialState:O2e,asyncThunkCreator:e,filterCreatedVisits:({query:t={}},n)=>{const{startDate:r,endDate:i}=t;return n.filter(({visit:o})=>uv(o.date,r,i))}}),RW="shlink/orphanVisits",T2e={visits:[],loading:!1,loadingLarge:!1,error:!1,cancelLoad:!1,progress:0},C2e=(e,t)=>!t||t===e.type,k2e=e=>dv({typePrefix:`${RW}/getOrphanVisits`,createLoaders:({orphanVisitsType:t,query:n={},doIntervalFallback:r=!1})=>{const i=e(),o=async(s,l)=>i.getOrphanVisits({...n,page:s,itemsPerPage:l}).then(u=>{const f=u.data.filter(d=>RP(d)&&C2e(d,t));return{...u,data:f}}),a=pv(r,s=>i.getOrphanVisits(s));return[o,a]},getExtraFulfilledPayload:({query:t={}})=>({query:t}),shouldCancel:t=>t().orphanVisits.cancelLoad}),j2e=(e,t)=>hv({name:RW,initialState:T2e,asyncThunkCreator:e,extraReducers:n=>{n.addCase(t.fulfilled,r=>({...r,visits:[]}))},filterCreatedVisits:({query:n={}},r)=>{const{startDate:i,endDate:o}=n;return r.filter(({visit:a,shortUrl:s})=>!s&&uv(a.date,i,o))}}),DW="shlink/orphanVisitsDeletion",p8={deletedVisits:0,deleting:!1,error:!1},P2e=e=>_r(`${DW}/deleteOrphanVisits`,()=>e().deleteOrphanVisits()),A2e=e=>Yn({name:DW,initialState:p8,reducers:{},extraReducers:t=>{t.addCase(e.pending,n=>({...n,deleting:!0,error:!1})),t.addCase(e.rejected,(n,{error:r})=>({...n,deleting:!1,error:!0,errorData:xo(r)})),t.addCase(e.fulfilled,(n,{payload:r})=>{const{deletedVisits:i}=r;return{...p8,deletedVisits:i}})}}),IW="shlink/shortUrlVisits",N2e={visits:[],shortCode:"",domain:void 0,loading:!1,loadingLarge:!1,error:!1,cancelLoad:!1,progress:0},M2e=e=>dv({typePrefix:`${IW}/getShortUrlVisits`,createLoaders:({shortCode:t,query:n={},doIntervalFallback:r=!1})=>{const i=e(),o=async(s,l)=>i.getShortUrlVisits(t,{...n,page:s,itemsPerPage:l}),a=pv(r,async s=>i.getShortUrlVisits(t,{...s,domain:n.domain}));return[o,a]},getExtraFulfilledPayload:({shortCode:t,query:n={}})=>({shortCode:t,query:n,domain:n.domain}),shouldCancel:t=>t().shortUrlVisits.cancelLoad}),L2e=(e,t)=>hv({name:IW,initialState:N2e,asyncThunkCreator:e,extraReducers:n=>{n.addCase(t.fulfilled,(r,{payload:i})=>r.shortCode===i.shortCode&&r.domain===i.domain?{...r,visits:[]}:r)},filterCreatedVisits:({shortCode:n,domain:r,query:i={}},o)=>{const{startDate:a,endDate:s}=i;return o.filter(({shortUrl:l,visit:u})=>l&&Jp(l,n,r)&&uv(u.date,a,s))}}),FW="shlink/shortUrlVisitsDeletion",h8={shortCode:"",deletedVisits:0,deleting:!1,error:!1},R2e=e=>_r(`${FW}/deleteShortUrlVisits`,async({shortCode:t,domain:n})=>({...await e().deleteShortUrlVisits(t,n),shortCode:t,domain:n})),D2e=e=>Yn({name:FW,initialState:h8,reducers:{},extraReducers:t=>{t.addCase(e.pending,n=>({...n,deleting:!0,error:!1})),t.addCase(e.rejected,(n,{error:r})=>({...n,deleting:!1,error:!0,errorData:xo(r)})),t.addCase(e.fulfilled,(n,{payload:r})=>{const{shortCode:i,domain:o,deletedVisits:a}=r;return{...h8,shortCode:i,domain:o,deletedVisits:a}})}}),UW="shlink/tagVisits",I2e={visits:[],tag:"",loading:!1,loadingLarge:!1,error:!1,cancelLoad:!1,progress:0},F2e=e=>dv({typePrefix:`${UW}/getTagVisits`,createLoaders:({tag:t,query:n={},doIntervalFallback:r=!1})=>{const i=e(),o=async(s,l)=>i.getTagVisits(t,{...n,page:s,itemsPerPage:l}),a=pv(r,async s=>i.getTagVisits(t,s));return[o,a]},getExtraFulfilledPayload:({tag:t,query:n={}})=>({tag:t,query:n}),shouldCancel:t=>t().tagVisits.cancelLoad}),U2e=e=>hv({name:UW,initialState:I2e,asyncThunkCreator:e,filterCreatedVisits:({tag:t,query:n={}},r)=>{const{startDate:i,endDate:o}=n;return r.filter(({shortUrl:a,visit:s})=>(a==null?void 0:a.tags.includes(t))&&uv(s.date,i,o))}}),$W="shlink/visitsOverview",ty={nonOrphanVisits:{total:0},orphanVisits:{total:0},loading:!1,error:!1},m8=e=>e.filter(({visit:t})=>t.potentialBot).length,$2e=e=>_r(`${$W}/loadVisitsOverview`,()=>e().getVisitsOverview().then(({nonOrphanVisits:t,visitsCount:n,orphanVisits:r,orphanVisitsCount:i})=>({nonOrphanVisits:{total:(t==null?void 0:t.total)??n,nonBots:t==null?void 0:t.nonBots,bots:t==null?void 0:t.bots},orphanVisits:{total:(r==null?void 0:r.total)??i,nonBots:r==null?void 0:r.nonBots,bots:r==null?void 0:r.bots}}))),B2e=e=>Yn({name:$W,initialState:ty,reducers:{},extraReducers:t=>{t.addCase(e.pending,()=>({...ty,loading:!0})),t.addCase(e.rejected,()=>({...ty,error:!0})),t.addCase(e.fulfilled,(n,{payload:r})=>({...ty,...r})),t.addCase(fv,({nonOrphanVisits:n,orphanVisits:r,...i},{payload:o})=>{const{nonOrphanVisits:a,orphanVisits:s}=k_e(o.createdVisits),l=a.length,u=m8(a),f=l-u,d=s.length,p=m8(s),m=d-p;return{...i,nonOrphanVisits:{total:n.total+l,bots:n.bots&&n.bots+u,nonBots:n.nonBots&&n.nonBots+f},orphanVisits:{total:r.total+d,bots:r.bots&&r.bots+p,nonBots:r.nonBots&&r.nonBots+m}}})}}),z2e=({shortUrlDetail:e,shortUrlVisits:t,goBack:n})=>{const{shortUrl:r,loading:i}=e,{visits:o}=t,a=(r==null?void 0:r.shortUrl)??"",s=(r==null?void 0:r.longUrl)??"",l=r==null?void 0:r.title;return _.jsxs(yv,{title:_.jsxs(_.Fragment,{children:["Visits for ",_.jsx(Sa,{href:a})]}),goBack:n,visits:o,shortUrl:r,children:[_.jsx("hr",{}),_.jsxs("div",{children:["Created: ",(()=>r?_.jsxs("span",{children:[_.jsx("b",{id:"created",className:"short-url-visits-header__created-at",children:_.jsx(tb,{date:r.dateCreated,relative:!0})}),_.jsx(qr,{placement:"bottom",target:"created",children:_.jsx(tb,{date:r.dateCreated})})]}):_.jsx("small",{children:"Loading..."}))()]}),_.jsxs("div",{className:"long-url-container",children:[`${l?"Title":"Long URL"}: `,i&&_.jsx("small",{children:"Loading..."}),!i&&_.jsx(Sa,{href:s,children:l??s})]})]})},BW=cl(({shortUrlVisits:e,shortUrlVisitsDeletion:t,shortUrlDetail:n,getShortUrlVisits:r,getShortUrlDetail:i,deleteShortUrlVisits:o,cancelGetShortUrlVisits:a})=>{var s;const l=Nu("shortUrlVisitsDeletion"),{ReportExporter:u}=an(BW),f=X2(),{search:d}=Nn(),p=md(),{domain:m}=dd(d),v=F.useCallback((y,b)=>r({shortCode:f,query:{...gv(y),domain:m},doIntervalFallback:b}),[m,r,f]),g=F.useCallback(y=>{var b;return u.exportVisits(`short-url_${(b=n.shortUrl)==null?void 0:b.shortUrl.replace(/https?:\/\//g,"")}_visits.csv`,y)},[u,(s=n.shortUrl)==null?void 0:s.shortUrl]),w=F.useMemo(()=>l?{deleteVisits:()=>o({shortCode:f,domain:m}),visitsDeletion:t}:void 0,[o,m,f,t,l]);return F.useEffect(()=>{i({shortCode:f,domain:m})},[m,i,f]),_.jsx(Pv,{getVisits:v,cancelGetVisits:a,visitsInfo:e,exportCsv:g,deletion:w,children:_.jsx(z2e,{shortUrlDetail:n,shortUrlVisits:e,goBack:p})})},e=>e.shortCode?[Ri.shortUrlVisits(u2(e.shortCode))]:[]),V2e=sn(BW,["ReportExporter"]),H2e=({tagVisits:e,goBack:t,colorGenerator:n})=>{const{visits:r,tag:i}=e;return _.jsx(yv,{title:_.jsxs("span",{className:"d-flex align-items-center justify-content-center",children:[_.jsx("span",{className:"me-2",children:"Visits for"}),_.jsx(_P,{text:i,colorGenerator:n})]}),goBack:t,visits:r})},zW=cl(({getTagVisits:e,tagVisits:t,cancelGetTagVisits:n})=>{const{ColorGenerator:r,ReportExporter:i}=an(zW),o=md(),{tag:a=""}=ad();return _.jsx(Pv,{getVisits:(s,l)=>e({tag:a,query:gv(s),doIntervalFallback:l}),cancelGetVisits:n,visitsInfo:t,exportCsv:s=>i.exportVisits(`tag_${a}_visits.csv`,s),children:_.jsx(H2e,{tagVisits:t,goBack:o,colorGenerator:r})})},()=>[Ri.visits]),W2e=sn(zW,["ColorGenerator","ReportExporter"]),Y2e=(e,t)=>{e.serviceFactory("MapModal",()=>EW),e.factory("ShortUrlVisits",V2e),e.decorator("ShortUrlVisits",t(["shortUrlVisits","shortUrlVisitsDeletion","shortUrlDetail","mercureInfo"],["getShortUrlVisits","deleteShortUrlVisits","getShortUrlDetail","cancelGetShortUrlVisits","createNewVisits","loadMercureInfo"])),e.factory("TagVisits",W2e),e.decorator("TagVisits",t(["tagVisits","mercureInfo"],["getTagVisits","cancelGetTagVisits","createNewVisits","loadMercureInfo"])),e.factory("DomainVisits",_2e),e.decorator("DomainVisits",t(["domainVisits","mercureInfo"],["getDomainVisits","cancelGetDomainVisits","createNewVisits","loadMercureInfo"])),e.factory("OrphanVisits",x2e),e.decorator("OrphanVisits",t(["orphanVisits","mercureInfo","orphanVisitsDeletion"],["getOrphanVisits","cancelGetOrphanVisits","createNewVisits","loadMercureInfo","deleteOrphanVisits"])),e.factory("NonOrphanVisits",w2e),e.decorator("NonOrphanVisits",t(["nonOrphanVisits","mercureInfo"],["getNonOrphanVisits","cancelGetNonOrphanVisits","createNewVisits","loadMercureInfo"])),e.serviceFactory("VisitsParser",()=>h2e),e.serviceFactory("getShortUrlVisits",M2e,"apiClientFactory"),e.serviceFactory("cancelGetShortUrlVisits",n=>n.cancelGetVisits,"shortUrlVisitsReducerCreator"),e.serviceFactory("deleteShortUrlVisits",R2e,"apiClientFactory"),e.serviceFactory("getTagVisits",F2e,"apiClientFactory"),e.serviceFactory("cancelGetTagVisits",n=>n.cancelGetVisits,"tagVisitsReducerCreator"),e.serviceFactory("getDomainVisits",Nme,"apiClientFactory"),e.serviceFactory("cancelGetDomainVisits",n=>n.cancelGetVisits,"domainVisitsReducerCreator"),e.serviceFactory("getOrphanVisits",k2e,"apiClientFactory"),e.serviceFactory("cancelGetOrphanVisits",n=>n.cancelGetVisits,"orphanVisitsReducerCreator"),e.serviceFactory("deleteOrphanVisits",P2e,"apiClientFactory"),e.serviceFactory("getNonOrphanVisits",S2e,"apiClientFactory"),e.serviceFactory("cancelGetNonOrphanVisits",n=>n.cancelGetVisits,"nonOrphanVisitsReducerCreator"),e.serviceFactory("createNewVisits",()=>fv),e.serviceFactory("loadVisitsOverview",$2e,"apiClientFactory"),e.serviceFactory("visitsOverviewReducerCreator",B2e,"loadVisitsOverview"),e.serviceFactory("visitsOverviewReducer",n=>n.reducer,"visitsOverviewReducerCreator"),e.serviceFactory("domainVisitsReducerCreator",Mme,"getDomainVisits"),e.serviceFactory("domainVisitsReducer",n=>n.reducer,"domainVisitsReducerCreator"),e.serviceFactory("nonOrphanVisitsReducerCreator",E2e,"getNonOrphanVisits"),e.serviceFactory("nonOrphanVisitsReducer",n=>n.reducer,"nonOrphanVisitsReducerCreator"),e.serviceFactory("orphanVisitsReducerCreator",j2e,"getOrphanVisits","deleteOrphanVisits"),e.serviceFactory("orphanVisitsReducer",n=>n.reducer,"orphanVisitsReducerCreator"),e.serviceFactory("orphanVisitsDeletionReducerCreator",A2e,"deleteOrphanVisits"),e.serviceFactory("orphanVisitsDeletionReducer",n=>n.reducer,"orphanVisitsDeletionReducerCreator"),e.serviceFactory("shortUrlVisitsReducerCreator",L2e,"getShortUrlVisits","deleteShortUrlVisits"),e.serviceFactory("shortUrlVisitsReducer",n=>n.reducer,"shortUrlVisitsReducerCreator"),e.serviceFactory("shortUrlVisitsDeletionReducerCreator",D2e,"deleteShortUrlVisits"),e.serviceFactory("shortUrlVisitsDeletionReducer",n=>n.reducer,"shortUrlVisitsDeletionReducerCreator"),e.serviceFactory("tagVisitsReducerCreator",U2e,"getTagVisits"),e.serviceFactory("tagVisitsReducer",n=>n.reducer,"tagVisitsReducerCreator")},bp=({children:e,to:t,className:n,...r})=>_.jsx(h$,{className:({isActive:i})=>We("aside-menu__item",n,{"aside-menu__item--selected":i}),to:t,...r,children:e}),G2e=({routePrefix:e,showOnMobile:t=!1})=>{const{pathname:n}=Nn(),r=We("aside-menu",{"aside-menu--hidden":!t}),i=o=>`${e}${o}`;return _.jsx("aside",{className:r,children:_.jsxs("nav",{className:"nav flex-column aside-menu__nav",children:[_.jsxs(bp,{to:i("/overview"),children:[_.jsx(Le,{fixedWidth:!0,icon:_J}),_.jsx("span",{className:"aside-menu__item-text",children:"Overview"})]}),_.jsxs(bp,{to:i("/list-short-urls/1"),className:We({"aside-menu__item--selected":n.match("/list-short-urls")!==null}),children:[_.jsx(Le,{fixedWidth:!0,icon:P$}),_.jsx("span",{className:"aside-menu__item-text",children:"List short URLs"})]}),_.jsxs(bp,{to:i("/create-short-url"),children:[_.jsx(Le,{fixedWidth:!0,icon:EJ,flip:"horizontal"}),_.jsx("span",{className:"aside-menu__item-text",children:"Create short URL"})]}),_.jsxs(bp,{to:i("/manage-tags"),children:[_.jsx(Le,{fixedWidth:!0,icon:A$}),_.jsx("span",{className:"aside-menu__item-text",children:"Manage tags"})]}),_.jsxs(bp,{to:i("/manage-domains"),children:[_.jsx(Le,{fixedWidth:!0,icon:eJ}),_.jsx("span",{className:"aside-menu__item-text",children:"Manage domains"})]})]})})},VW=({createNotFound:e})=>{const{TagsList:t,ShortUrlsList:n,CreateShortUrl:r,ShortUrlVisits:i,TagVisits:o,DomainVisits:a,OrphanVisits:s,NonOrphanVisits:l,Overview:u,EditShortUrl:f,ManageDomains:d}=an(VW),p=Nn(),m=Mu(),[v,g,w,y]=En();F.useEffect(()=>y(),[p,y]);const b=Nu("domainVisits"),x=We("shlink-layout__burger-icon",{"shlink-layout__burger-icon--active":v}),O=qme(w,y);return _.jsxs(_.Fragment,{children:[_.jsx(Le,{icon:KQ,className:x,onClick:g}),_.jsx("div",{...O,className:"shlink-layout__swipeable",children:_.jsxs("div",{className:"shlink-layout__swipeable-inner",children:[_.jsx(G2e,{routePrefix:m,showOnMobile:v}),_.jsx("div",{className:"shlink-layout__container",onPointerDown:()=>y(),children:_.jsx("div",{className:"container-xl",children:_.jsxs(T_,{children:[_.jsx(Et,{index:!0,element:_.jsx(Yk,{replace:!0,to:"overview"})}),_.jsx(Et,{path:"/overview",element:_.jsx(u,{})}),_.jsx(Et,{path:"/list-short-urls/:page",element:_.jsx(n,{})}),_.jsx(Et,{path:"/create-short-url",element:_.jsx(r,{})}),_.jsx(Et,{path:"/short-code/:shortCode/visits/*",element:_.jsx(i,{})}),_.jsx(Et,{path:"/short-code/:shortCode/edit",element:_.jsx(f,{})}),_.jsx(Et,{path:"/tag/:tag/visits/*",element:_.jsx(o,{})}),b&&_.jsx(Et,{path:"/domain/:domain/visits/*",element:_.jsx(a,{})}),_.jsx(Et,{path:"/orphan-visits/*",element:_.jsx(s,{})}),_.jsx(Et,{path:"/non-orphan-visits/*",element:_.jsx(l,{})}),_.jsx(Et,{path:"/manage-tags",element:_.jsx(t,{})}),_.jsx(Et,{path:"/manage-domains",element:_.jsx(d,{})}),e&&_.jsx(Et,{path:"*",element:e("/list-short-urls/1")})]})})})]})})]})},q2e=sn(VW,["TagsList","ShortUrlsList","CreateShortUrl","ShortUrlVisits","TagVisits","DomainVisits","OrphanVisits","NonOrphanVisits","Overview","EditShortUrl","ManageDomains"]),K2e=!0,Z2e=e=>VB({devTools:!K2e,reducer:Hj({mercureInfo:e.mercureInfoReducer,shortUrlsList:e.shortUrlsListReducer,shortUrlCreation:e.shortUrlCreationReducer,shortUrlDeletion:e.shortUrlDeletionReducer,shortUrlEdition:e.shortUrlEditionReducer,shortUrlDetail:e.shortUrlDetailReducer,shortUrlVisits:e.shortUrlVisitsReducer,shortUrlVisitsDeletion:e.shortUrlVisitsDeletionReducer,tagVisits:e.tagVisitsReducer,domainVisits:e.domainVisitsReducer,orphanVisits:e.orphanVisitsReducer,orphanVisitsDeletion:e.orphanVisitsDeletionReducer,nonOrphanVisits:e.nonOrphanVisitsReducer,tagsList:e.tagsListReducer,tagDelete:e.tagDeleteReducer,tagEdit:e.tagEditReducer,domainsList:e.domainsListReducer,visitsOverview:e.visitsOverviewReducer}),middleware:t=>t({immutableCheck:!1,serializableCheck:!1})}),X2e=e=>{e.factory("Main",q2e),e.factory("store",Z2e)},oa=new cde,{container:Q2e}=oa,J2e=e=>t=>Object.fromEntries(e.map(n=>[n,t[n]])),e9e=(e,t)=>(...n)=>e[t](...n),t9e=(e,t)=>({...e,[t]:e9e(Q2e,t)}),Av=(e,t=[])=>n$(e?J2e(e):null,t.reduce(t9e,{}));X2e(oa);I0e(oa,Av);r_e(oa,Av);Y2e(oa,Av);sve(oa);ive(oa,Av);wve(oa,Av);T_e(oa);let v8;const n9e=e=>({serverVersion:t,apiClient:n,settings:r,routesPrefix:i="",createNotFound:o,tagColorsStorage:a})=>{const s=xde(t),l=F.useRef(),[u,f]=F.useState(),d=Pu(),[p,m]=F.useMemo(()=>d?[F.Fragment,{}]:[p$,{basename:i}],[d,i]);return F.useEffect(()=>{v8=n,e.value("apiClientFactory",()=>v8),a&&e.value("TagColorsStorage",a);const{container:v}=e,{Main:g,store:w,loadMercureInfo:y,listTags:b}=v;l.current=_.jsx(g,{createNotFound:o}),f(w),w.dispatch(y(r)),w.dispatch(b())},[n,o,r,a]),u?_.jsx(r$,{store:u,children:_.jsx(bve,{value:r,children:_.jsx(wde,{value:s,children:_.jsx(Ode,{value:i,children:_.jsx(p,{...m,children:l.current})})})})}):_.jsx(_.Fragment,{})},r9e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=",i9e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABSCAMAAAAhFXfZAAAC91BMVEVMaXEzeak2f7I4g7g3g7cua5gzeKg8hJo3grY4g7c3grU0gLI2frE0daAubJc2gbQwd6QzeKk2gLMtd5sxdKIua5g1frA2f7IydaM0e6w2fq41fK01eqo3grgubJgta5cxdKI1f7AydaQydaMxc6EubJgvbJkwcZ4ubZkwcJwubZgubJcydqUydKIxapgubJctbJcubZcubJcvbJYubJcvbZkubJctbJctbZcubJg2f7AubJcrbZcubJcubJcua5g3grY0fq8ubJcubJdEkdEwhsw6i88vhswuhcsuhMtBjMgthMsrg8srgss6is8qgcs8i9A9iMYtg8spgcoogMo7hcMngMonf8olfso4gr8kfck5iM8jfMk4iM8he8k1fro7itAgesk2hs8eecgzfLcofssdeMg0hc4cd8g2hcsxeLQbdsgZdcgxeLImfcszhM0vda4xgckzhM4xg84wf8Yxgs4udKsvfcQucqhUndROmdM1fK0wcZ8vb5w0eqpQm9MzeKhXoNVcpdYydKNWn9VZotVKltJFjsIwcJ1Rms9OlslLmtH///8+kc9epdYzd6dbo9VHkMM2f7FHmNBClM8ydqVcpNY9hro3gLM9hLczealQmcw3fa46f7A8gLMxc6I3eagyc6FIldJMl9JSnNRSntNNl9JPnNJFi75UnM9ZodVKksg8kM45jc09e6ZHltFBk883gbRBh7pDk9EwcaBzn784g7dKkcY2i81Om9M7j85Llc81is09g7Q4grY/j9A0eqxKmdFFltBEjcXf6fFImdBCiLxJl9FGlNFBi78yiMxVndEvbpo6js74+vx+psPP3+o/ks5HkcpGmNCjwdZCkNDM3ehYoNJEls+lxNkxh8xHks0+jdC1zd5Lg6r+/v/H2ufz9/o3jM3t8/edvdM/k89Th61OiLBSjbZklbaTt9BfptdjmL1AicBHj8hGk9FAgK1dkLNTjLRekrdClc/k7fM0icy0y9tgp9c4jc2NtM9Dlc8zicxeXZn3AAAAQ3RSTlMAHDdTb4yPA+LtnEQmC4L2EmHqB7XA0d0sr478x4/Yd5i1zOfyPkf1sLVq4Nh3FvjxopQ2/STNuFzUwFIwxKaejILpIBEV9wAABhVJREFUeF6s1NdyFEcYBeBeoQIhRAkLlRDGrhIgY3BJL8CVeKzuyXFzzjkn5ZxzzuScg3PO8cKzu70JkO0LfxdTU//pM9vTu7Xgf6KqOVTb9X7toRrVEfBf1HTVjZccrT/2by1VV928Yty9ZbVuucdz90frG8DBjl9pVApbOstvmMuvVgaNXSfAAd6pGxpy6yxf5ph43pS/4f3uoaGm2rdu72S9xzOvMymkZFq/ptDrk90mhW7e4zl7HLzhxGWPR20xmSxJ/VqldG5m9XhaVOA1DadsNh3Pu5L2N6QtPO/32JpqQBVVk20oy/Pi2s23WEvyfHbe1thadVQttvm7Llf65gGmXK67XtupyoM7HQhmXdLS8oGWJNeOJ3C5fG5XCEJnkez3/oFdsvgJ4l2ANZwhrJKk/7OSXa+3Vw2WJMlKnGkobouYk6T0TyX30klOUnTD9HJ5qpckL3EW/w4XF3Xd0FGywXUrstrclVsqz5Pd/sXFYyDnPdrLcQODmGOK47IZb4CmibmMn+MYRzFZ5jg33ZL/EJrWcszHmANy3ARBK/IXtciJy8VsitPSdE3uuHxzougojcUdr8/32atnz/ev3f/K5wtpxUTpcaI45zusVDpYtZi+jg0oU9b3x74h7+n9ABvYEZeKaVq0sh0AtLKsFtqNBdeT0MrSzwwlq9+x6xAO4tgOtSzbCjrNQQiNvQUbUEubvzBUeGw26yDCsRHCoLkTHDa7IdOLIThs/gHvChszh2CimE8peRs47cxANI0lYNB5y1DljpOF0IhzBDPOZnDOqYYbeGKECbPzWnXludPphw5c2YBq5zlwXphIbO4VDCZ0gnPfUO1TwZoYwAs2ExPCedAu9DAjfQUjzITQb3jNj0KG2Sgt6BHaQUdYzWz+XmBktOHwanXjaSTcwwziBcuMOtwBmqPrTOxFQR/DRKKPqyur0aiW6cULYsx6tBm0jXpR/AUWR6HRq9WVW6MRhIq5jLyjbaCTDCijyYJNpCajdyobP/eTw0iexBAKkJ3gA5KcQb2zBXsIBckn+xVv8jkZSaEFHE+jFEleAEfayRU0MouNoBmB/L50Ai/HSLIHxcrpCvnhSQAuakKp2C/YbCylJjXRVy/z3+Kv/RrNcCo+WUzlVEhzKffnTQnxeN9fWF88fiNCUdSTsaufaChKWInHeysygfpIqagoakW+vV20J8uyl6TyNKEZWV4oRSPyCkWpgOLSbkCObT8o2r6tlG58HQquf6O0v50tB7JM7F4EORd2dx/K0w/KHsVkLPaoYrwgP/y7krr3SSMA4zj+OBgmjYkxcdIJQyQRKgg2viX9Hddi9UBb29LrKR7CVVEEEXWojUkXNyfTNDE14W9gbHJNuhjDettN3ZvbOvdOqCD3Jp/9l+/wJE+9PkYGjx/fqkys3S2rMozM/o2106rfMUINo6hVqz+eu/hd1c4xTg0TAfy5kV+4UG6+IthHTU9woWmxuKNbTfuCSfovBCxq7EtHqvYL4Sm6F8GVxsSXHMQ07TOi1DKtZxjWaaIyi4CXWjxPccUw8WVbMYY5wxC1mzEyXMJWkllpRloi+Kkoq69sxBTlElF6aAxYUbjXNlhlDZilDnM4U5SlN5biRsRHnbx3mbeWjEh4mEyiuJDl5XcWVmX5GvNkFgLWZM5qwsop4/AWfLhU1cR7k1VVvcYCWRkOI6Xy5gmnphCYIkvzuNYzHzosq2oNk2RtSs8khfUOfHIDgR6ysYBaMpl4uEgk2U/oJTs9AaTSwma7dT69geAE2ZpEjUsn2ieJNHeKfrI3EcAGJ2ZaNgVuC8EBctCLc57P5u5led6IOBkIYkuQMrmmjChs4VkfOerHqSBkPzZlhe06RslZ3zMjk2sscqKwY0RcjKK+LWbzd7KiHhkncs/siFJ+V5eXxD34B8nVuJEpGJNmxN2gH3vSvp7J70tF+D1Ej8qUJD1TkErAND2GZwTFg/LubvmgiBG3SOvdlsqFQrkEzJCL1rstlnVFROixZoDDSuXQFHESwVGlcuQcMb/b42NgjLowh5MTDFE3vNB5qStRIErdCQEh6pLPR92anSUb/wAIhldAaDMpGgAAAABJRU5ErkJggg==",o9e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC",a9e=()=>{delete c8.Icon.Default.prototype._getIconUrl,c8.Icon.Default.mergeOptions({iconRetinaUrl:i9e,iconUrl:r9e,shadowUrl:o9e})};a9e();const s9e=n9e(oa);function a_(e){return t=>{const{resetSelectedServer:n}=t;return F.useEffect(()=>{n()},[n]),_.jsx(e,{...t})}}let l9e=class extends F.Component{constructor(t){super(t),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){const{console:n=globalThis.console}=this.props;n.error(t)}render(){const{hasError:t}=this.state,{location:n=globalThis.location}=this.props;if(t)return _.jsx("div",{className:"home",children:_.jsxs(vn,{className:"p-4",children:[_.jsx("h1",{children:"Oops! This is awkward :S"}),_.jsx("p",{children:"It seems that something went wrong. Try refreshing the page or just click this button."}),_.jsx("br",{}),_.jsx(wt,{outline:!0,color:"primary",onClick:()=>n.reload(),children:"Take me back"})]})});const{children:r}=this.props;return r}};const HW=({href:e,children:t,rel:n,...r})=>_.jsx("a",{target:"_blank",rel:`noopener noreferrer${n?` ${n}`:""}`,href:e,...r,children:t??e}),u9e=({id:e,name:t})=>_.jsxs(nB,{tag:Yt,to:`/server/${e}`,className:"servers-list__server-item",children:[t,_.jsx(Le,{icon:PJ,className:"servers-list__server-item-icon"})]}),WW=({servers:e,children:t,embedded:n=!1})=>_.jsxs(_.Fragment,{children:[t&&_.jsx("div",{"data-testid":"title",className:"mb-0 fs-5 fw-normal lh-sm",children:t}),e.length>0&&_.jsx(J7,{"data-testid":"list",tag:"div",className:hd("servers-list__list-group",{"servers-list__list-group--embedded":n}),children:e.map(({id:r,name:i})=>_.jsx(u9e,{id:r,name:i},r))})]}),YW=({color:e=$0,className:t})=>_.jsx("svg",{className:t,viewBox:"0 0 512 512",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:_.jsxs("g",{fill:e,children:[_.jsx("path",{d:" M 23.71 85.08 C 17.22 49.81 49.44 14.86 85.08 18.12 C 118.83 19.21 145.72 53.33 139.45 86.37 C 155.64 102.30 171.32 118.83 187.87 134.36 C 198.32 111.73 208.84 89.12 219.57 66.62 C 226.05 53.84 243.47 48.74 255.73 56.27 C 263.76 62.10 270.34 69.69 277.25 76.75 C 286.28 86.61 285.72 102.89 276.31 112.31 C 223.38 165.37 170.38 218.37 117.35 271.34 C 107.72 280.99 91.01 281.25 81.11 271.86 C 74.39 264.94 66.82 258.69 61.24 250.77 C 53.72 238.52 58.85 221.07 71.64 214.62 C 94.11 203.87 116.72 193.38 139.33 182.91 C 123.81 166.36 107.30 150.68 91.37 134.49 C 60.20 140.28 27.37 116.78 23.71 85.08 Z"}),_.jsx("path",{d:" M 205.21 201.23 C 225.32 181.36 260.88 181.11 281.14 200.86 C 299.25 218.75 317.37 236.65 335.10 254.93 C 356.73 278.01 352.01 318.70 326.03 336.56 C 320.07 330.47 313.73 324.65 308.12 318.28 C 323.86 309.39 328.76 286.18 316.63 272.39 C 301.73 256.95 286.30 242.03 271.24 226.75 C 264.49 219.65 256.80 212.00 246.37 211.52 C 224.65 208.64 205.52 233.36 214.49 253.58 C 221.09 266.81 234.22 275.12 243.62 286.24 C 240.43 295.96 238.09 306.13 238.29 316.46 C 225.55 304.29 213.16 291.73 200.89 279.09 C 180.97 257.57 183.10 220.45 205.21 201.23 Z"}),_.jsx("path",{d:" M 273.90 352.07 C 252.28 328.99 256.98 288.31 282.96 270.46 C 288.93 276.54 295.26 282.36 300.88 288.72 C 285.14 297.62 280.23 320.82 292.38 334.61 C 307.27 350.05 322.70 364.96 337.75 380.25 C 344.51 387.35 352.20 395.00 362.64 395.48 C 384.35 398.37 403.49 373.64 394.51 353.42 C 387.92 340.18 374.78 331.88 365.38 320.76 C 368.56 311.04 370.91 300.86 370.71 290.54 C 383.45 302.70 395.84 315.27 408.11 327.91 C 428.03 349.43 425.90 386.55 403.78 405.77 C 383.68 425.64 348.13 425.89 327.86 406.14 C 309.75 388.25 291.60 370.37 273.90 352.07 Z"}),_.jsx("path",{d:" M 422.11 403.83 C 431.96 394.07 441.60 384.06 451.66 374.51 C 460.90 383.74 471.89 392.70 474.89 406.11 C 480.16 429.97 484.08 454.13 488.76 478.12 C 490.00 483.41 484.47 488.29 479.35 486.63 C 454.66 481.52 429.55 478.12 405.14 471.84 C 393.17 467.97 385.20 457.75 376.55 449.27 C 386.39 439.49 396.13 429.60 406.06 419.91 C 416.37 433.45 435.74 414.00 422.11 403.83 Z"})]})}),c9e=({servers:e})=>{const t=ta(),n=Object.values(e),r=n.length>0;return F.useEffect(()=>{const i=n.find(({autoConnect:o})=>o);i&&t(`/server/${i.id}`)},[n,t]),_.jsx("div",{className:"home",children:_.jsx(ui,{className:"home__main-card",children:_.jsxs(kr,{className:"g-0",children:[_.jsx("div",{className:"col-md-5 d-none d-md-block",children:_.jsx("div",{className:"home__logo-wrapper",children:_.jsx("div",{className:"home__logo",children:_.jsx(YW,{})})})}),_.jsxs("div",{className:"col-md-7 home__servers-container",children:[_.jsx("div",{className:"home__title-wrapper",children:_.jsx("h1",{className:"home__title",children:"Welcome!"})}),_.jsx(WW,{embedded:!0,servers:n,children:!r&&_.jsxs("div",{className:"p-4 text-center",children:[_.jsx("p",{className:"mb-5",children:"This application will help you manage your Shlink servers."}),_.jsx("p",{children:_.jsxs(Yt,{to:"/server/create",className:"btn btn-outline-primary btn-lg me-2",children:[_.jsx(Le,{icon:tj})," ",_.jsx("span",{className:"ms-1",children:"Add a server"})]})}),_.jsx("p",{className:"mb-0 mt-5",children:_.jsx(HW,{href:"https://shlink.io/documentation",children:_.jsxs("small",{children:[_.jsx("span",{className:"me-1",children:"Learn more about Shlink"})," ",_.jsx(Le,{icon:fJ})]})})})]})})]})]})})})},GW=()=>{const{ServersDropdown:e}=Gi(GW),[t,n,,r]=En(),i=Nn(),{pathname:o}=i;F.useEffect(r,[i,r]);const a="/settings",s=hd("main-header__toggle-icon",{"main-header__toggle-icon--opened":t});return _.jsxs(b7,{color:"primary",dark:!0,fixed:"top",className:"main-header",expand:"md",children:[_.jsxs(_7,{tag:Yt,to:"/",children:[_.jsx(YW,{className:"main-header__brand-logo",color:"white"})," Shlink"]}),_.jsx(w7,{onClick:n,children:_.jsx(Le,{icon:kJ,className:s})}),_.jsx(Coe,{navbar:!0,isOpen:t,children:_.jsxs(gj,{navbar:!0,className:"ms-auto",children:[_.jsx(yj,{children:_.jsxs(S7,{tag:Yt,to:a,active:o.startsWith(a),children:[_.jsx(Le,{icon:MJ}),"  Settings"]})}),_.jsx(e,{})]})})]})},f9e=qi(GW,["ServersDropdown"]),d9e=({children:e})=>{const t=Nn();return F.useEffect(()=>{scrollTo(0,0)},[t]),_.jsx(_.Fragment,{children:e})},r1=e=>Object.prototype.toString.call(e)==="[object Object]",qW=(e,t)=>{const n={};return(...r)=>{const i=e(...r);if(n[i])return n[i];const o=t(...r);return n[i]=o,o}},KW=(e,t)=>{const n={...e};return!r1(e)||!r1(t)||Object.keys(t).forEach(r=>{r1(t[r])?n[r]=r in e&&e[r]!==void 0?KW(e[r],t[r]):{...t[r]}:n[r]=t[r]}),n},p9e=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,g8=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(p9e);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},y8=e=>e==="*"||e==="x"||e==="X",b8=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},h9e=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],m9e=(e,t)=>{if(y8(e)||y8(t))return 0;const[n,r]=h9e(b8(e),b8(t));return n>r?1:n{for(let n=0;n{const n=g8(e),r=g8(t),i=n.pop(),o=r.pop(),a=_8(n,r);return a!==0?a:i&&o?_8(i.split("."),o.split(".")):i||o?i?-1:1:0},g9e=(e,t,n)=>{y9e(n);const r=v9e(e,t);return ZW[n].includes(r)},ZW={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},w8=Object.keys(ZW),y9e=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(w8.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${w8.join("|")}`)},XW=qW(e=>e,e=>{try{return g9e(e,e,"=")}catch{return!1}}),QW=e=>XW(e)?`v${e}`:e,JW=(e,t="latest")=>XW(e)?e:t,b9e="%_VERSION_%",_9e=e=>QW(JW(e)),x8=({project:e,version:t})=>_.jsx(HW,{href:`https://github.com/shlinkio/${e}/releases/${t}`,className:"text-muted",children:_.jsx("b",{children:t})}),w9e=({selectedServer:e,clientVersion:t=b9e})=>{const n=_9e(t);return _.jsxs("small",{className:"text-muted",children:[k$(e)&&_.jsxs(_.Fragment,{children:["Server: ",_.jsx(x8,{project:"shlink",version:e.printableVersion})," - "]}),"Client: ",_.jsx(x8,{project:"shlink-web-client",version:n})]})},x9e=/^\/server\/[a-zA-Z0-9-]*\/(?!edit)/,O9e=({selectedServer:e})=>{const{pathname:t}=Nn(),n=F.useMemo(()=>x9e.test(t),[t]),r=hd("text-center",{"shlink-versions-container--with-sidebar":n});return _.jsx("div",{className:r,children:_.jsx(w9e,{selectedServer:e})})},Md=({children:e})=>_.jsx("div",{className:"no-menu-wrapper container-xl",children:e});function eY(e){const t=n=>{const{ServerError:r}=Gi(t),i=ad(),{selectServer:o,selectedServer:a}=n;return F.useEffect(()=>{i.serverId&&o(i.serverId)},[i.serverId,o]),a?DQ(a)?_.jsx(r,{}):_.jsx(e,{...n}):_.jsx(Md,{children:_.jsx(Da,{loading:!0})})};return t}const tY=eY(F.memo(({selectedServer:e,settings:t})=>{const{buildShlinkApiClient:n,TagColorsStorage:r,ShlinkWebComponent:i,ServerError:o}=Gi(tY);if(!k$(e))return _.jsx(o,{});const a=`/server/${e.id}`;return _.jsx(i,{serverVersion:e.version,apiClient:n(e),settings:t,routesPrefix:a,tagColorsStorage:r,createNotFound:s=>_.jsx(kB,{to:`${a}${s}`,children:"List short URLs"})})})),S9e=qi(tY,["buildShlinkApiClient","TagColorsStorage","ShlinkWebComponent","ServerError"]),E9e=(e,t)=>{e.constant("window",window),e.constant("console",console),e.constant("fetch",window.fetch.bind(window)),e.service("HttpClient",Rfe,"fetch"),e.serviceFactory("ScrollToTop",()=>d9e),e.factory("MainHeader",f9e),e.serviceFactory("Home",()=>c9e),e.decorator("Home",a_),e.decorator("Home",t(["servers"],["resetSelectedServer"])),e.serviceFactory("ShlinkWebComponent",()=>s9e),e.factory("ShlinkWebComponentContainer",S9e),e.decorator("ShlinkWebComponentContainer",t(["selectedServer","settings"],["selectServer"])),e.serviceFactory("ShlinkVersionsContainer",()=>O9e),e.decorator("ShlinkVersionsContainer",t(["selectedServer"])),e.serviceFactory("ErrorHandler",()=>l9e)};let ny;const T9e=new Uint8Array(16);function C9e(){if(!ny&&(ny=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!ny))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ny(T9e)}const or=[];for(let e=0;e<256;++e)or.push((e+256).toString(16).slice(1));function k9e(e,t=0){return or[e[t+0]]+or[e[t+1]]+or[e[t+2]]+or[e[t+3]]+"-"+or[e[t+4]]+or[e[t+5]]+"-"+or[e[t+6]]+or[e[t+7]]+"-"+or[e[t+8]]+or[e[t+9]]+"-"+or[e[t+10]]+or[e[t+11]]+or[e[t+12]]+or[e[t+13]]+or[e[t+14]]+or[e[t+15]]}const j9e=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),O8={randomUUID:j9e};function nY(e,t,n){if(O8.randomUUID&&!t&&!e)return O8.randomUUID();e=e||{};const r=e.random||(e.rng||C9e)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let i=0;i<16;++i)t[n+i]=r[i];return t}return k9e(r)}const rY=()=>{const e=ta();return F.useCallback(()=>e(-1),[e])},P9e=()=>{const{search:e}=Nn();return F.useMemo(()=>dd(e),[e])},iY=({isOpen:e,duplicatedServers:t,onDiscard:n,onSave:r})=>{const i=t.length>1;return _.jsxs(Ka,{centered:!0,isOpen:e,children:[_.jsxs(Za,{children:["Duplicated server",i&&"s"]}),_.jsxs(na,{children:[_.jsx("p",{children:i?"The next servers already exist:":"There is already a server with:"}),_.jsx("ul",{children:t.map(({url:o,apiKey:a},s)=>i?_.jsxs("li",{children:[_.jsx("b",{children:o})," - ",_.jsx("b",{children:a})]},s):_.jsxs(F.Fragment,{children:[_.jsxs("li",{children:["URL: ",_.jsx("b",{children:o})]}),_.jsxs("li",{children:["API key: ",_.jsx("b",{children:a})]})]},s))}),_.jsxs("span",{children:[i?"Do you want to ignore duplicated servers":"Do you want to save this server anyway","?"]})]}),_.jsxs(Au,{children:[_.jsx(wt,{color:"link",onClick:n,children:i?"Ignore duplicates":"Discard"}),_.jsx(wt,{color:"primary",onClick:r,children:"Save anyway"})]})]})},A9e=e=>t=>{t.preventDefault(),e()},oY=({onSubmit:e,initialValues:t,children:n,title:r})=>{const[i,o]=F.useState(""),[a,s]=F.useState(""),[l,u]=F.useState(""),f=A9e(()=>e({name:i,url:a,apiKey:l}));return F.useEffect(()=>{t&&o(t.name),t&&s(t.url),t&&u(t.apiKey)},[t]),_.jsxs("form",{className:"server-form",name:"serverForm",onSubmit:f,children:[_.jsxs(vn,{className:"mb-3",title:r,children:[_.jsx(wy,{value:i,onChange:o,children:"Name"}),_.jsx(wy,{type:"url",value:a,onChange:s,children:"URL"}),_.jsx(wy,{value:l,onChange:u,children:"API key"})]}),_.jsx("div",{className:"text-end",children:n})]})},S8=4e3,E8=({type:e})=>_.jsx("div",{className:"mt-3",children:_.jsxs(ii,{type:e,children:[e==="success"&&"Servers properly imported. You can now select one from the list :)",e==="error"&&"The servers could not be imported. Make sure the format is correct."]})}),aY=({servers:e,createServers:t})=>{const{ImportServersBtn:n,useTimeoutToggle:r}=Gi(aY),i=ta(),o=rY(),a=!!Object.keys(e).length,[s,l]=r(!1,S8),[u,f]=r(!1,S8),[d,p]=En(),[m,v]=F.useState(),g=F.useCallback(w=>{const y=nY();t([{...w,id:y}]),i(`/server/${y}`)},[t,i]);return F.useEffect(()=>{if(!m)return;Object.values(e).some(({url:y,apiKey:b})=>(m==null?void 0:m.url)===y&&(m==null?void 0:m.apiKey)===b)?p():g(m)},[g,m,e,p]),_.jsxs(Md,{children:[_.jsxs(oY,{title:_.jsx("h5",{className:"mb-0",children:"Add new server"}),onSubmit:v,children:[!a&&_.jsx(n,{tooltipPlacement:"top",onImport:l,onImportError:f}),a&&_.jsx(wt,{outline:!0,onClick:o,children:"Cancel"}),_.jsx(wt,{outline:!0,color:"primary",className:"ms-2",children:"Create server"})]}),s&&_.jsx(E8,{type:"success"}),u&&_.jsx(E8,{type:"error"}),_.jsx(iY,{isOpen:d,duplicatedServers:m?[m]:[],onDiscard:o,onSave:()=>m&&g(m)})]})},N9e=qi(aY,["ImportServersBtn","useTimeoutToggle"]),sY=({server:e,className:t,children:n,textClassName:r})=>{const{DeleteServerModal:i}=Gi(sY),[o,,a,s]=En();return _.jsxs(_.Fragment,{children:[_.jsxs("button",{type:"button",className:hd(t,"p-0 bg-transparent border-0"),onClick:a,children:[!n&&_.jsx(Le,{fixedWidth:!0,icon:Xk}),_.jsx("span",{className:r,children:n??"Remove this server"})]}),_.jsx(i,{server:e,isOpen:o,toggle:s})]})},M9e=qi(sY,["DeleteServerModal"]),L9e=({server:e,toggle:t,isOpen:n,deleteServer:r,redirectHome:i=!0})=>{const o=ta(),a=F.useRef(!1),s=()=>{a.current=!0,t()},l=()=>{a.current&&(r(e),i&&o("/"))};return _.jsxs(Ka,{isOpen:n,toggle:t,centered:!0,onClosed:l,children:[_.jsx(Za,{toggle:t,className:"text-danger",children:"Remove server"}),_.jsxs(na,{children:[_.jsxs("p",{children:["Are you sure you want to remove ",_.jsx("b",{children:e?e.name:""}),"?"]}),_.jsx("p",{children:_.jsx("i",{children:"No data will be deleted, only the access to this server will be removed from this device. You can create it again at any moment."})})]}),_.jsxs(Au,{children:[_.jsx(wt,{color:"link",onClick:t,children:"Cancel"}),_.jsx(wt,{color:"danger",onClick:s,children:"Delete"})]})]})},R9e=eY(({editServer:e,selectedServer:t,selectServer:n})=>{const r=rY(),{reconnect:i}=P9e();if(!Vp(t))return null;const o=a=>{e(t.id,a),i==="true"&&n(t.id),r()};return _.jsx(Md,{children:_.jsxs(oY,{title:_.jsxs("h5",{className:"mb-0",children:['Edit "',t.name,'"']}),initialValues:t,onSubmit:o,children:[_.jsx(wt,{outline:!0,className:"me-2",onClick:r,children:"Cancel"}),_.jsx(wt,{outline:!0,color:"primary",children:"Save"})]})})}),D9e=qi(R9e,["ServerError"]),T8=(e,{url:t,apiKey:n})=>e.some(r=>r.url===t&&r.apiKey===n),lY=({createServers:e,servers:t,children:n,onImport:r=()=>{},onImportError:i=()=>{},tooltipPlacement:o="bottom",className:a=""})=>{const{ServersImporter:s}=Gi(lY),l=ul(),[u,f]=F.useState([]),[d,,p,m]=En(),v=F.useRef([]),g=F.useCallback(x=>{e(x),r()},[e,r]),w=F.useCallback(async({target:x})=>{var O;return s.importServersFromFile((O=x.files)==null?void 0:O[0]).then(E=>{v.current=E;const T=Object.values(t),k=E.filter(D=>T8(T,D)),A=!!k.length;A?f(k):g(E),A&&p()}).then(()=>{x.value=null}).catch(i)},[g,i,t,s,p]),y=F.useCallback(()=>{g(v.current),m()},[g,m,v]),b=F.useCallback(()=>{g(v.current.filter(x=>!T8(u,x))),m()},[g,u,m]);return _.jsxs(_.Fragment,{children:[_.jsxs(wt,{outline:!0,id:"importBtn",className:a,onClick:()=>{var x;return(x=l.current)==null?void 0:x.click()},children:[_.jsx(Le,{icon:rJ,fixedWidth:!0})," ",n??"Import from file"]}),_.jsxs(qr,{placement:o,target:"importBtn",children:["You can create servers by importing a CSV file with ",_.jsx("b",{children:"name"}),", ",_.jsx("b",{children:"apiKey"})," and ",_.jsx("b",{children:"url"})," columns."]}),_.jsx("input",{type:"file",accept:"text/csv",className:"d-none",ref:l,onChange:w,"aria-hidden":!0}),_.jsx(iY,{isOpen:d,duplicatedServers:u,onDiscard:b,onSave:y})]})},I9e=qi(lY,["ServersImporter"]),uY=({servers:e,selectedServer:t})=>{const{DeleteServerButton:n}=Gi(uY);return _.jsx(Md,{children:_.jsxs("div",{className:"server-error__container flex-column",children:[_.jsxs(Da,{className:"w-100 mb-3 mb-md-5",type:"error",fullWidth:!0,children:[!Vp(t)&&"Could not find this Shlink server.",Vp(t)&&_.jsxs(_.Fragment,{children:[_.jsx("p",{children:"Oops! Could not connect to this Shlink server."}),"Make sure you have internet connection, and the server is properly configured and on-line."]})]}),_.jsx(WW,{servers:Object.values(e),children:_.jsxs("p",{className:"mb-md-3",children:["These are the Shlink servers currently configured. Choose one of them or ",_.jsx(Yt,{to:"/server/create",children:"add a new one"}),"."]})}),Vp(t)&&_.jsx("div",{className:"container mt-3 mt-md-5",children:_.jsxs("p",{className:"fs-5 fw-normal lh-sm",children:["Alternatively, if you think you may have miss-configured this server, you can ",_.jsx(n,{server:t,className:"server-error__delete-btn",children:"remove it"})," or ",_.jsx(Yt,{to:`/server/${t.id}/edit?reconnect=true`,children:"edit it"}),"."]})})]})})},F9e=qi(uY,["DeleteServerButton"]),U9e=4e3,cY=({servers:e})=>{const{ServersExporter:t,ImportServersBtn:n,useTimeoutToggle:r,ManageServersRow:i}=Gi(cY),o=Object.values(e),[a,s]=F.useState(o),l=p=>s(o.filter(({name:m,url:v})=>`${m} ${v}`.toLowerCase().match(p.toLowerCase()))),u=a.some(({autoConnect:p})=>!!p),[f,d]=r(!1,U9e);return F.useEffect(()=>{s(Object.values(e))},[e]),_.jsxs(Md,{children:[_.jsx(sv,{className:"mb-3",onChange:l}),_.jsxs(kr,{className:"mb-3",children:[_.jsxs("div",{className:"col-md-6 d-flex d-md-block mb-2 mb-md-0",children:[_.jsx(n,{className:"flex-fill",onImportError:d,children:"Import servers"}),o.length>0&&_.jsxs(wt,{outline:!0,className:"ms-2 flex-fill",onClick:async()=>t.exportServers(),children:[_.jsx(Le,{icon:M$,fixedWidth:!0})," Export servers"]})]}),_.jsx("div",{className:"col-md-6 text-md-end d-flex d-md-block",children:_.jsxs(wt,{outline:!0,color:"primary",className:"flex-fill",tag:Yt,to:"/server/create",children:[_.jsx(Le,{icon:tj,fixedWidth:!0})," Add a server"]})})]}),_.jsx(vn,{children:_.jsxs("table",{className:"table table-hover responsive-table mb-0",children:[_.jsx("thead",{className:"responsive-table__header",children:_.jsxs("tr",{children:[u&&_.jsx("th",{style:{width:"50px"},children:_.jsx("span",{className:"sr-only",children:"Auto-connect"})}),_.jsx("th",{children:"Name"}),_.jsx("th",{children:"Base URL"}),_.jsx("th",{children:_.jsx("span",{className:"sr-only",children:"Options"})})]})}),_.jsxs("tbody",{children:[!a.length&&_.jsx("tr",{className:"text-center",children:_.jsx("td",{colSpan:4,children:"No servers found."})}),a.map(p=>_.jsx(i,{server:p,hasAutoConnect:u},p.id))]})]})}),f&&_.jsx("div",{className:"mt-3",children:_.jsx(ii,{type:"error",children:"The servers could not be imported. Make sure the format is correct."})})]})},$9e=qi(cY,["ServersExporter","ImportServersBtn","useTimeoutToggle","ManageServersRow"]),fY=({server:e,hasAutoConnect:t})=>{const{ManageServersRowDropdown:n}=Gi(fY);return _.jsxs("tr",{className:"responsive-table__row",children:[t&&_.jsx("td",{className:"responsive-table__cell","data-th":"Auto-connect",children:e.autoConnect&&_.jsxs(_.Fragment,{children:[_.jsx(Le,{icon:Mh,className:"text-primary",id:"autoConnectIcon"}),_.jsx(qr,{target:"autoConnectIcon",placement:"right",children:"Auto-connect to this server"})]})}),_.jsx("th",{className:"responsive-table__cell","data-th":"Name",children:_.jsx(Yt,{to:`/server/${e.id}`,children:e.name})}),_.jsx("td",{className:"responsive-table__cell","data-th":"Base URL",children:e.url}),_.jsx("td",{className:"responsive-table__cell text-end",children:_.jsx(n,{server:e})})]})},B9e=qi(fY,["ManageServersRowDropdown"]),dY=({server:e,setAutoConnect:t})=>{const{DeleteServerModal:n}=Gi(dY),[r,,i,o]=En(),a=`/server/${e.id}`,{autoConnect:s}=e,l=s?tJ:$fe;return _.jsxs(F_,{minWidth:170,children:[_.jsxs(ze,{tag:Yt,to:a,children:[_.jsx(Le,{icon:JQ,fixedWidth:!0})," Connect"]}),_.jsxs(ze,{tag:Yt,to:`${a}/edit`,children:[_.jsx(Le,{icon:Qk,fixedWidth:!0})," Edit server"]}),_.jsxs(ze,{onClick:()=>t(e,!s),children:[_.jsx(Le,{icon:l,fixedWidth:!0})," ",s?"Do not a":"A","uto-connect"]}),_.jsx(ze,{divider:!0,tag:"hr"}),_.jsxs(ze,{className:"dropdown-item--danger",onClick:i,children:[_.jsx(Le,{icon:Xk,fixedWidth:!0})," Remove server"]}),_.jsx(n,{redirectHome:!1,server:e,isOpen:r,toggle:o})]})},z9e=qi(dY,["DeleteServerModal"]),pY=(e,t)=>WB(e,t,{serializeError:n=>n}),V9e={},H9e=e=>"id"in e?e:{...e,id:nY()},W9e=e=>e.reduce((t,n)=>({...t,[n.id]:n}),{}),{actions:Y9e,reducer:G9e}=Yn({name:"shlink/servers",initialState:V9e,reducers:{editServer:{prepare:(e,t)=>({payload:{serverId:e,serverData:t}}),reducer:(e,{payload:t})=>{const{serverId:n,serverData:r}=t;return e[n]?{...e,[n]:{...e[n],...r}}:e}},deleteServer:(e,{payload:t})=>{const{[t.id]:n,...r}=e;return r},setAutoConnect:{prepare:({id:e},t)=>({payload:{serverId:e,autoConnect:t}}),reducer:(e,{payload:t})=>{const{serverId:n,autoConnect:r}=t;return e[n]?r?Object.fromEntries(Object.entries(e).map(([i,o])=>[i,{...o,autoConnect:i===n}])):{...e,[n]:{...e[n],autoConnect:r}}:e}},createServers:{prepare:e=>({payload:W9e(e.map(H9e))}),reducer:(e,{payload:t})=>({...e,...t})}}}),{editServer:q9e,deleteServer:K9e,setAutoConnect:Z9e,createServers:hY}=Y9e,X9e=G9e,Q9e=e=>Array.isArray(e)?e.filter(C$):[],J9e=e=>pY("shlink/remoteServers/fetchServers",async(t,{dispatch:n})=>{const r=await e.jsonRequest(`${l0.homepage}/servers.json`),i=Q9e(r);n(hY(i))}),zA="shlink/selectedServer",eze="1.0.0",tze="999.999.999",nze="latest",rze=e=>JW(e===nze?tze:e,eze),ize=qW(e=>`${e.id}_${e.url}_${e.apiKey}`,async(e,t)=>t().then(({version:n})=>({version:rze(n),printableVersion:QW(n)}))),C8=null,VA=Wn(`${zA}/resetSelectedServer`),oze=e=>pY(`${zA}/selectServer`,async(t,{dispatch:n,getState:r})=>{n(VA());const{servers:i}=r(),o=i[t];if(!o)return{serverNotFound:!0};try{const a=e(o),{version:s,printableVersion:l}=await ize(o,()=>a.health());return{...o,version:s,printableVersion:l}}catch{return{...o,serverNotReachable:!0}}}),aze=e=>Yn({name:zA,initialState:C8,reducers:{},extraReducers:t=>{t.addCase(VA,()=>C8),t.addCase(e.fulfilled,(n,{payload:r})=>r)}}),sze=({servers:e,selectedServer:t})=>{const n=Object.values(e),r=()=>n.length===0?_.jsxs(ze,{tag:Yt,to:"/server/create",children:[_.jsx(Le,{icon:tj})," ",_.jsx("span",{className:"ms-1",children:"Add a server"})]}):_.jsxs(_.Fragment,{children:[n.map(({name:i,id:o})=>_.jsx(ze,{tag:Yt,to:`/server/${o}`,active:IQ(t)===o,children:i},o)),_.jsx(ze,{divider:!0,tag:"hr"}),_.jsxs(ze,{tag:Yt,to:"/manage-servers",children:[_.jsx(Le,{icon:mM})," ",_.jsx("span",{className:"ms-1",children:"Manage servers"})]})]});return _.jsxs(ov,{nav:!0,inNavbar:!0,children:[_.jsxs(ud,{nav:!0,caret:!0,children:[_.jsx(Le,{icon:mM})," ",_.jsx("span",{className:"ms-1",children:"Servers"})]}),_.jsx(ld,{end:!0,style:{right:0},children:r()})]})},lze=({document:e},t,n)=>{const r=e.createElement("a");r.setAttribute("href",t),r.setAttribute("download",n),r.style.visibility="hidden",e.body.appendChild(r),r.click(),e.body.removeChild(r)},uze=(e,t,n)=>{const r=new Blob([t],{type:"text/csv;charset=utf-8;"}),i=URL.createObjectURL(r);lze(e,i,n)},cze="shlink-servers.csv";class fze{constructor(t,n,r){Zu(this,"exportServers",async()=>{const t=Object.values(this.storage.get("servers")??{}).map(FQ);try{const n=this.jsonToCsv(t);uze(this.window,n,cze)}catch(n){console.error(n)}});this.storage=t,this.window=n,this.jsonToCsv=r}}const dze=e=>typeof e.url=="string"&&typeof e.apiKey=="string"&&typeof e.name=="string",pze=e=>Array.isArray(e)&&e.every(dze);class hze{constructor(t){this.csvToJson=t}async importServersFromFile(t){if(!t)throw new Error("No file provided");const n=await t.text(),r=await this.csvToJson(n);if(!pze(r))throw new Error("Provided file does not have the right format.");return r}}const mze=(e,t)=>{e.factory("ManageServers",$9e),e.decorator("ManageServers",a_),e.decorator("ManageServers",t(["selectedServer","servers"],["resetSelectedServer"])),e.factory("ManageServersRow",B9e),e.factory("ManageServersRowDropdown",z9e),e.decorator("ManageServersRowDropdown",t(null,["setAutoConnect"])),e.factory("CreateServer",N9e),e.decorator("CreateServer",a_),e.decorator("CreateServer",t(["selectedServer","servers"],["createServers","resetSelectedServer"])),e.factory("EditServer",D9e),e.decorator("EditServer",t(["selectedServer"],["editServer","selectServer","resetSelectedServer"])),e.serviceFactory("ServersDropdown",()=>sze),e.decorator("ServersDropdown",t(["servers","selectedServer"])),e.serviceFactory("DeleteServerModal",()=>L9e),e.decorator("DeleteServerModal",t(null,["deleteServer"])),e.factory("DeleteServerButton",M9e),e.factory("ImportServersBtn",I9e),e.decorator("ImportServersBtn",t(["servers"],["createServers"])),e.factory("ServerError",F9e),e.decorator("ServerError",t(["servers","selectedServer"])),e.service("ServersImporter",hze,"csvToJson"),e.service("ServersExporter",fze,"Storage","window","jsonToCsv"),e.serviceFactory("selectServer",oze,"buildShlinkApiClient","loadMercureInfo"),e.serviceFactory("createServers",()=>hY),e.serviceFactory("deleteServer",()=>K9e),e.serviceFactory("editServer",()=>q9e),e.serviceFactory("setAutoConnect",()=>Z9e),e.serviceFactory("fetchServers",J9e,"HttpClient"),e.serviceFactory("resetSelectedServer",()=>VA),e.serviceFactory("selectedServerReducerCreator",aze,"selectServer"),e.serviceFactory("selectedServerReducer",n=>n.reducer,"selectedServerReducerCreator")},Qc=({children:e})=>_.jsx("small",{className:"form-text text-muted d-block",children:e}),vze=e=>e?`${e}`:"",gze=({settings:e,toggleRealTimeUpdates:t,setRealTimeUpdatesInterval:n})=>{const{realTimeUpdates:r={enabled:!0}}=e,i=I_();return _.jsxs(vn,{title:"Real-time updates",className:"h-100",children:[_.jsx(ni,{children:_.jsxs(_f,{checked:r.enabled,onChange:t,children:["Enable or disable real-time updates.",_.jsxs(Qc,{children:["Real-time updates are currently being ",_.jsx("b",{children:r.enabled?"processed":"ignored"}),"."]})]})}),_.jsxs(pd,{noMargin:!0,label:"Real-time updates frequency (in minutes):",labelClassName:hd("form-label",{"text-muted":!r.enabled}),id:i,children:[_.jsx(yu,{type:"number",min:0,placeholder:"Immediate",disabled:!r.enabled,value:vze(r.interval),id:i,onChange:({target:o})=>n(Number(o.value))}),r.enabled&&_.jsxs(Qc,{children:[r.interval!==void 0&&r.interval>0&&_.jsxs("span",{children:["Updates will be reflected in the UI every ",_.jsx("b",{children:r.interval})," minute",r.interval>1&&"s","."]}),!r.interval&&"Updates will be reflected in the UI as soon as they happen."]})]})]})},mY={field:"dateCreated",dir:"DESC"},yze={realTimeUpdates:{enabled:!0},shortUrlCreation:{validateUrls:!1},ui:{theme:zj()},visits:{defaultInterval:"last30Days"},shortUrlsList:{defaultOrdering:mY}},bze=(e,{payload:t})=>KW(e,t),Cl=e=>({reducer:bze,prepare:e}),kl=e=>({payload:e}),{reducer:_ze,actions:wze}=Yn({name:"shlink/settings",initialState:yze,reducers:{toggleRealTimeUpdates:Cl(e=>kl({realTimeUpdates:{enabled:e}})),setRealTimeUpdatesInterval:Cl(e=>kl({realTimeUpdates:{interval:e}})),setShortUrlCreationSettings:Cl(e=>kl({shortUrlCreation:e})),setShortUrlsListSettings:Cl(e=>kl({shortUrlsList:e})),setUiSettings:Cl(e=>kl({ui:e})),setVisitsSettings:Cl(e=>kl({visits:e})),setTagsSettings:Cl(e=>kl({tags:e}))}}),{toggleRealTimeUpdates:xze,setRealTimeUpdatesInterval:Oze,setShortUrlCreationSettings:Sze,setShortUrlsListSettings:Eze,setUiSettings:Tze,setVisitsSettings:Cze,setTagsSettings:kze}=wze,jze=_ze,i1=({items:e})=>_.jsx(_.Fragment,{children:e.map((t,n)=>_.jsx("div",{className:"mb-3",children:t},n))}),vY=()=>{const{RealTimeUpdatesSettings:e,ShortUrlCreationSettings:t,ShortUrlsListSettings:n,UserInterfaceSettings:r,VisitsSettings:i,TagsSettings:o}=Gi(vY);return _.jsxs(Md,{children:[_.jsxs(EB,{className:"mb-3",children:[_.jsx(Qp,{to:"general",children:"General"}),_.jsx(Qp,{to:"short-urls",children:"Short URLs"}),_.jsx(Qp,{to:"other-items",children:"Other items"})]}),_.jsxs(T_,{children:[_.jsx(Et,{path:"general",element:_.jsx(i1,{items:[_.jsx(r,{}),_.jsx(e,{})]})}),_.jsx(Et,{path:"short-urls",element:_.jsx(i1,{items:[_.jsx(t,{}),_.jsx(n,{})]})}),_.jsx(Et,{path:"other-items",element:_.jsx(i1,{items:[_.jsx(o,{}),_.jsx(i,{})]})}),_.jsx(Et,{path:"*",element:_.jsx(Yk,{replace:!0,to:"general"})})]})]})},Pze=qi(vY,["RealTimeUpdatesSettings","ShortUrlCreationSettings","ShortUrlsListSettings","UserInterfaceSettings","VisitsSettings","TagsSettings"]),o1=e=>e==="includes"?"Suggest tags including input":"Suggest tags starting with input",Aze=e=>e==="includes"?_.jsxs(_.Fragment,{children:["The list of suggested tags will contain those ",_.jsx("b",{children:"including"})," provided input."]}):_.jsxs(_.Fragment,{children:["The list of suggested tags will contain those ",_.jsx("b",{children:"starting with"})," provided input."]}),Nze=({settings:e,setShortUrlCreationSettings:t})=>{const n=e.shortUrlCreation??{validateUrls:!1},r=i=>()=>t({...n??{validateUrls:!1},tagFilteringMode:i});return _.jsxs(vn,{title:"Short URLs form",className:"h-100",children:[_.jsx(ni,{children:_.jsxs(_f,{checked:n.validateUrls??!1,onChange:i=>t({...n,validateUrls:i}),children:["Request validation on long URLs when creating new short URLs.",_.jsxs(Qc,{children:["The initial state of the ",_.jsx("b",{children:"Validate URL"})," checkbox will be ",_.jsx("b",{children:n.validateUrls?"checked":"unchecked"}),"."]})]})}),_.jsx(ni,{children:_.jsxs(_f,{checked:n.forwardQuery??!0,onChange:i=>t({...n,forwardQuery:i}),children:["Make all new short URLs forward their query params to the long URL.",_.jsxs(Qc,{children:["The initial state of the ",_.jsx("b",{children:"Forward query params on redirect"})," checkbox will be ",_.jsx("b",{children:n.forwardQuery??!0?"checked":"unchecked"}),"."]})]})}),_.jsxs(pd,{noMargin:!0,label:"Tag suggestions search mode:",children:[_.jsxs(Xa,{text:o1(n.tagFilteringMode),children:[_.jsx(ze,{active:!n.tagFilteringMode||n.tagFilteringMode==="startsWith",onClick:r("startsWith"),children:o1("startsWith")}),_.jsx(ze,{active:n.tagFilteringMode==="includes",onClick:r("includes"),children:o1("includes")})]}),_.jsx(Qc,{children:Aze(n.tagFilteringMode)})]})]})},Mze={dateCreated:"Created at",shortCode:"Short URL",longUrl:"Long URL",title:"Title",visits:"Visits"},Lze=({settings:{shortUrlsList:e},setShortUrlsListSettings:t})=>_.jsx(vn,{title:"Short URLs list",className:"h-100",children:_.jsx(pd,{noMargin:!0,label:"Default ordering for short URLs list:",children:_.jsx(lv,{items:Mze,order:(e==null?void 0:e.defaultOrdering)??mY,onChange:(n,r)=>t({defaultOrdering:{field:n,dir:r}})})})}),Rze={tag:"Tag",shortUrls:"Short URLs",visits:"Visits"},Dze=({settings:{tags:e},setTagsSettings:t})=>_.jsx(vn,{title:"Tags",className:"h-100",children:_.jsx(pd,{noMargin:!0,label:"Default ordering for tags list:",children:_.jsx(lv,{items:Rze,order:(e==null?void 0:e.defaultOrdering)??{},onChange:(n,r)=>t({...e,defaultOrdering:{field:n,dir:r}})})})}),Ize=({settings:{ui:e},setUiSettings:t,_matchMedia:n})=>{const r=F.useMemo(()=>(e==null?void 0:e.theme)??zj(n),[e==null?void 0:e.theme,n]);return _.jsxs(vn,{title:"User interface",className:"h-100",children:[_.jsx(Le,{icon:r==="dark"?RJ:SJ,className:"user-interface__theme-icon"}),_.jsx(_f,{checked:r==="dark",onChange:i=>{t({...e,theme:i?"dark":"light"})},children:"Use dark theme."})]})},gY={today:"Today",yesterday:"Yesterday",last7Days:"Last 7 days",last30Days:"Last 30 days",last90Days:"Last 90 days",last180Days:"Last 180 days",last365Days:"Last 365 days"},Fze=(e,t)=>!e||e==="all"?t:gY[e],Uze=({onChange:e,active:t,allText:n})=>_.jsxs(Xa,{text:Fze(t,n),children:[_.jsx(ze,{active:t==="all",onClick:()=>e("all"),children:n}),_.jsx(ze,{divider:!0}),Object.entries(gY).map(([r,i])=>_.jsx(ze,{active:t===r,onClick:()=>e(r),children:i},r))]}),k8=e=>{var t;return((t=e.visits)==null?void 0:t.defaultInterval)??"last30Days"},$ze=({settings:e,setVisitsSettings:t})=>{var n,r;return _.jsxs(vn,{title:"Visits",className:"h-100",children:[_.jsx(ni,{children:_.jsxs(_f,{checked:!!((n=e.visits)!=null&&n.excludeBots),onChange:i=>t({defaultInterval:k8(e),excludeBots:i}),children:["Exclude bots wherever possible (this option‘s effect might depend on Shlink server‘s version).",_.jsxs(Qc,{children:["The visits coming from potential bots will be ",_.jsx("b",{children:(r=e.visits)!=null&&r.excludeBots?"excluded":"included"}),"."]})]})}),_.jsx(pd,{noMargin:!0,label:"Default interval to load on visits sections:",children:_.jsx(Uze,{allText:"All visits",active:k8(e),onChange:i=>t({defaultInterval:i})})})]})},Bze=(e,t)=>{e.factory("Settings",Pze),e.decorator("Settings",a_),e.decorator("Settings",t(null,["resetSelectedServer"])),e.serviceFactory("RealTimeUpdatesSettings",()=>gze),e.decorator("RealTimeUpdatesSettings",t(["settings"],["toggleRealTimeUpdates","setRealTimeUpdatesInterval"])),e.serviceFactory("ShortUrlCreationSettings",()=>Nze),e.decorator("ShortUrlCreationSettings",t(["settings"],["setShortUrlCreationSettings"])),e.serviceFactory("UserInterfaceSettings",()=>Ize),e.decorator("UserInterfaceSettings",t(["settings"],["setUiSettings"])),e.serviceFactory("VisitsSettings",()=>$ze),e.decorator("VisitsSettings",t(["settings"],["setVisitsSettings"])),e.serviceFactory("TagsSettings",()=>Dze),e.decorator("TagsSettings",t(["settings"],["setTagsSettings"])),e.serviceFactory("ShortUrlsListSettings",()=>Lze),e.decorator("ShortUrlsListSettings",t(["settings"],["setShortUrlsListSettings"])),e.serviceFactory("toggleRealTimeUpdates",()=>xze),e.serviceFactory("setRealTimeUpdatesInterval",()=>Oze),e.serviceFactory("setShortUrlCreationSettings",()=>Sze),e.serviceFactory("setShortUrlsListSettings",()=>Eze),e.serviceFactory("setUiSettings",()=>Tze),e.serviceFactory("setVisitsSettings",()=>Cze),e.serviceFactory("setTagsSettings",()=>kze)};function a1(e){return e==null?"":`${e}`}function zze(e={}){const{separator:t,decimals:n}=e;return t?n?r=>r.toFixed(n).replace(".",t):r=>`${r}`.replace(".",t):n?r=>r.toFixed(n):r=>`${r}`}function HA(e={}){const t=typeof e.quote=="string"?e.quote:'"',n=typeof e.escapedQuote=="string"?e.escapedQuote:`${t}${t}`;return!t||t===n?r=>r:r=>(r.includes(t)&&(r=r.replace(new RegExp(t,"g"),n)),`${t}${r}${t}`)}function Vze(e={stringFormatter:HA()}){return t=>e.stringFormatter(t.toString().slice(7,-1))}function Hze(e={stringFormatter:HA()}){return t=>{if(t===null)return"";let n=JSON.stringify(t);return n===void 0?"":(n[0]==='"'&&(n=n.replace(/^"(.+)"$/,"$1")),e.stringFormatter(n))}}const Wze=RegExp(`[^.[\\]]+|\\[(?:([^"'][^[]*)|(["'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))`,"g");function Yze(e){var t,n,r;const i=[];let o;for(;o=Wze.exec(e);)i.push((r=(t=o[3])!==null&&t!==void 0?t:(n=o[1])===null||n===void 0?void 0:n.trim())!==null&&r!==void 0?r:o[0]);return i}function j8(e,t,n){if(t in e){const o=e[t];return o===void 0?n:o}const r=Array.isArray(t)?t:Yze(t);let i=e;for(const o of r)if(i=i==null?void 0:i[o],i===void 0)return n;return i}function yY(e,t){try{return Array.isArray(t)?e.push(...t):e.push(t),e}catch{return e.concat(t)}}function WC(e,t){let n=!0;return e.reduce((r,i)=>(i==null&&(i=""),n?(n=!1,`${i}`):`${r}${t}${i}`),"")}var P8;(function(e){e.header="header",e.undefined="undefined",e.boolean="boolean",e.number="number",e.bigint="bigint",e.string="string",e.symbol="symbol",e.function="function",e.object="object"})(P8||(P8={}));class Gze{constructor(t){this.opts=this.preprocessOpts(t)}preprocessOpts(t){const n=Object.assign({},t);n.fields&&(n.fields=this.preprocessFieldsInfo(n.fields,n.defaultValue)),n.transforms=n.transforms||[];const r=n.formatters&&n.formatters.string||HA(),i=Hze({stringFormatter:r}),o={header:r,undefined:a1,boolean:a1,number:zze(),bigint:a1,string:r,symbol:Vze({stringFormatter:r}),function:i,object:i};return n.formatters=Object.assign(Object.assign({},o),n.formatters),n.delimiter=n.delimiter||",",n.eol=n.eol||` +`,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=>j8(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=>j8(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(l){const u=s(l,a);return u===void 0?i:u}}}}throw new Error("Invalid field info option. "+JSON.stringify(r))})}getHeader(){return WC(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(yY,[]),[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 WC(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 qze extends Gze{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(l=>{a.includes(l)||a.push(l)}),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(yY,[])}processData(t){return WC(t.map(n=>this.processRow(n)).filter(n=>n),this.opts.eol)}}var In;(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_LETTER_Q=81]="LATIN_CAPITAL_LETTER_Q",e[e.LATIN_CAPITAL_LETTER_R=82]="LATIN_CAPITAL_LETTER_R",e[e.LATIN_CAPITAL_LETTER_S=83]="LATIN_CAPITAL_LETTER_S",e[e.LATIN_CAPITAL_LETTER_T=84]="LATIN_CAPITAL_LETTER_T",e[e.LATIN_CAPITAL_LETTER_U=85]="LATIN_CAPITAL_LETTER_U",e[e.LATIN_CAPITAL_LETTER_V=86]="LATIN_CAPITAL_LETTER_V",e[e.LATIN_CAPITAL_LETTER_W=87]="LATIN_CAPITAL_LETTER_W",e[e.LATIN_CAPITAL_LETTER_X=88]="LATIN_CAPITAL_LETTER_X",e[e.LATIN_CAPITAL_LETTER_Y=89]="LATIN_CAPITAL_LETTER_Y",e[e.LATIN_CAPITAL_LETTER_Z=90]="LATIN_CAPITAL_LETTER_Z",e[e.LEFT_SQUARE_BRACKET=91]="LEFT_SQUARE_BRACKET",e[e.REVERSE_SOLIDUS=92]="REVERSE_SOLIDUS",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.CIRCUMFLEX_ACCENT=94]="CIRCUMFLEX_ACCENT",e[e.LOW_LINE=95]="LOW_LINE",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_LETTER_A=97]="LATIN_SMALL_LETTER_A",e[e.LATIN_SMALL_LETTER_B=98]="LATIN_SMALL_LETTER_B",e[e.LATIN_SMALL_LETTER_C=99]="LATIN_SMALL_LETTER_C",e[e.LATIN_SMALL_LETTER_D=100]="LATIN_SMALL_LETTER_D",e[e.LATIN_SMALL_LETTER_E=101]="LATIN_SMALL_LETTER_E",e[e.LATIN_SMALL_LETTER_F=102]="LATIN_SMALL_LETTER_F",e[e.LATIN_SMALL_LETTER_G=103]="LATIN_SMALL_LETTER_G",e[e.LATIN_SMALL_LETTER_H=104]="LATIN_SMALL_LETTER_H",e[e.LATIN_SMALL_LETTER_I=105]="LATIN_SMALL_LETTER_I",e[e.LATIN_SMALL_LETTER_J=106]="LATIN_SMALL_LETTER_J",e[e.LATIN_SMALL_LETTER_K=107]="LATIN_SMALL_LETTER_K",e[e.LATIN_SMALL_LETTER_L=108]="LATIN_SMALL_LETTER_L",e[e.LATIN_SMALL_LETTER_M=109]="LATIN_SMALL_LETTER_M",e[e.LATIN_SMALL_LETTER_N=110]="LATIN_SMALL_LETTER_N",e[e.LATIN_SMALL_LETTER_O=111]="LATIN_SMALL_LETTER_O",e[e.LATIN_SMALL_LETTER_P=112]="LATIN_SMALL_LETTER_P",e[e.LATIN_SMALL_LETTER_Q=113]="LATIN_SMALL_LETTER_Q",e[e.LATIN_SMALL_LETTER_R=114]="LATIN_SMALL_LETTER_R",e[e.LATIN_SMALL_LETTER_S=115]="LATIN_SMALL_LETTER_S",e[e.LATIN_SMALL_LETTER_T=116]="LATIN_SMALL_LETTER_T",e[e.LATIN_SMALL_LETTER_U=117]="LATIN_SMALL_LETTER_U",e[e.LATIN_SMALL_LETTER_V=118]="LATIN_SMALL_LETTER_V",e[e.LATIN_SMALL_LETTER_W=119]="LATIN_SMALL_LETTER_W",e[e.LATIN_SMALL_LETTER_X=120]="LATIN_SMALL_LETTER_X",e[e.LATIN_SMALL_LETTER_Y=121]="LATIN_SMALL_LETTER_Y",e[e.LATIN_SMALL_LETTER_Z=122]="LATIN_SMALL_LETTER_Z",e[e.LEFT_CURLY_BRACKET=123]="LEFT_CURLY_BRACKET",e[e.VERTICAL_LINE=124]="VERTICAL_LINE",e[e.RIGHT_CURLY_BRACKET=125]="RIGHT_CURLY_BRACKET",e[e.TILDE=126]="TILDE"})(In||(In={}));In.QUOTATION_MARK+"",In.QUOTATION_MARK,In.REVERSE_SOLIDUS+"",In.REVERSE_SOLIDUS,In.SOLIDUS+"",In.SOLIDUS,In.LATIN_SMALL_LETTER_B+"",In.BACKSPACE,In.LATIN_SMALL_LETTER_F+"",In.FORM_FEED,In.LATIN_SMALL_LETTER_N+"",In.NEWLINE,In.LATIN_SMALL_LETTER_R+"",In.CARRIAGE_RETURN,In.LATIN_SMALL_LETTER_T+"",In.TAB;var A8;(function(e){e[e.LEFT_BRACE=0]="LEFT_BRACE",e[e.RIGHT_BRACE=1]="RIGHT_BRACE",e[e.LEFT_BRACKET=2]="LEFT_BRACKET",e[e.RIGHT_BRACKET=3]="RIGHT_BRACKET",e[e.COLON=4]="COLON",e[e.COMMA=5]="COMMA",e[e.TRUE=6]="TRUE",e[e.FALSE=7]="FALSE",e[e.NULL=8]="NULL",e[e.STRING=9]="STRING",e[e.NUMBER=10]="NUMBER",e[e.SEPARATOR=11]="SEPARATOR"})(A8||(A8={}));var N8;(function(e){e[e.START=0]="START",e[e.ENDED=1]="ENDED",e[e.ERROR=2]="ERROR",e[e.TRUE1=3]="TRUE1",e[e.TRUE2=4]="TRUE2",e[e.TRUE3=5]="TRUE3",e[e.FALSE1=6]="FALSE1",e[e.FALSE2=7]="FALSE2",e[e.FALSE3=8]="FALSE3",e[e.FALSE4=9]="FALSE4",e[e.NULL1=10]="NULL1",e[e.NULL2=11]="NULL2",e[e.NULL3=12]="NULL3",e[e.STRING_DEFAULT=13]="STRING_DEFAULT",e[e.STRING_AFTER_BACKSLASH=14]="STRING_AFTER_BACKSLASH",e[e.STRING_UNICODE_DIGIT_1=15]="STRING_UNICODE_DIGIT_1",e[e.STRING_UNICODE_DIGIT_2=16]="STRING_UNICODE_DIGIT_2",e[e.STRING_UNICODE_DIGIT_3=17]="STRING_UNICODE_DIGIT_3",e[e.STRING_UNICODE_DIGIT_4=18]="STRING_UNICODE_DIGIT_4",e[e.STRING_INCOMPLETE_CHAR=19]="STRING_INCOMPLETE_CHAR",e[e.NUMBER_AFTER_INITIAL_MINUS=20]="NUMBER_AFTER_INITIAL_MINUS",e[e.NUMBER_AFTER_INITIAL_ZERO=21]="NUMBER_AFTER_INITIAL_ZERO",e[e.NUMBER_AFTER_INITIAL_NON_ZERO=22]="NUMBER_AFTER_INITIAL_NON_ZERO",e[e.NUMBER_AFTER_FULL_STOP=23]="NUMBER_AFTER_FULL_STOP",e[e.NUMBER_AFTER_DECIMAL=24]="NUMBER_AFTER_DECIMAL",e[e.NUMBER_AFTER_E=25]="NUMBER_AFTER_E",e[e.NUMBER_AFTER_E_AND_SIGN=26]="NUMBER_AFTER_E_AND_SIGN",e[e.NUMBER_AFTER_E_AND_DIGIT=27]="NUMBER_AFTER_E_AND_DIGIT",e[e.SEPARATOR=28]="SEPARATOR"})(N8||(N8={}));var M8;(function(e){e[e.OBJECT=0]="OBJECT",e[e.ARRAY=1]="ARRAY"})(M8||(M8={}));var L8;(function(e){e[e.VALUE=0]="VALUE",e[e.KEY=1]="KEY",e[e.COLON=2]="COLON",e[e.COMMA=3]="COMMA",e[e.ENDED=4]="ENDED",e[e.ERROR=5]="ERROR",e[e.SEPARATOR=6]="SEPARATOR"})(L8||(L8={}));var Kze=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(r,i,o){n.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:o})},n.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,i){if(1&i&&(r=n(r)),8&i||4&i&&typeof r=="object"&&r&&r.__esModule)return r;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:r}),2&i&&typeof r!="string")for(var a in r)n.d(o,a,(function(s){return r[s]}).bind(null,a));return o},n.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(i,"a",i),i},n.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},n.p="",n(n.s=32)}([function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(n=window)}e.exports=n},function(e,t,n){var r=n(6),i=Object.keys||function(v){var g=[];for(var w in v)g.push(w);return g};e.exports=d;var o=n(5);o.inherits=n(2);var a=n(23),s=n(14);o.inherits(d,a);for(var l=i(s.prototype),u=0;u + * @license MIT + */var i=n(38),o=n(39),a=n(40);function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(j,P){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|j}function g(j,P){if(u.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 B=j.length;if(B===0)return 0;for(var J=!1;;)switch(P){case"ascii":case"latin1":case"binary":return B;case"utf8":case"utf-8":case void 0:return ie(j).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*B;case"hex":return B>>>1;case"base64":return se(j).length;default:if(J)return ie(j).length;P=(""+P).toLowerCase(),J=!0}}function w(j,P,B){var J=j[P];j[P]=j[B],j[B]=J}function y(j,P,B,J,K){if(j.length===0)return-1;if(typeof B=="string"?(J=B,B=0):B>2147483647?B=2147483647:B<-2147483648&&(B=-2147483648),B=+B,isNaN(B)&&(B=K?0:j.length-1),B<0&&(B=j.length+B),B>=j.length){if(K)return-1;B=j.length-1}else if(B<0){if(!K)return-1;B=0}if(typeof P=="string"&&(P=u.from(P,J)),u.isBuffer(P))return P.length===0?-1:b(j,P,B,J,K);if(typeof P=="number")return P&=255,u.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?K?Uint8Array.prototype.indexOf.call(j,P,B):Uint8Array.prototype.lastIndexOf.call(j,P,B):b(j,[P],B,J,K);throw new TypeError("val must be string, number or Buffer")}function b(j,P,B,J,K){var le,he=1,Ee=j.length,ue=P.length;if(J!==void 0&&((J=String(J).toLowerCase())==="ucs2"||J==="ucs-2"||J==="utf16le"||J==="utf-16le")){if(j.length<2||P.length<2)return-1;he=2,Ee/=2,ue/=2,B/=2}function ve(ke,Ae){return he===1?ke[Ae]:ke.readUInt16BE(Ae*he)}if(K){var ge=-1;for(le=B;leEe&&(B=Ee-ue),le=B;le>=0;le--){for(var Oe=!0,Ce=0;CeK&&(J=K):J=K;var le=P.length;if(le%2!=0)throw new TypeError("Invalid hex string");J>le/2&&(J=le/2);for(var he=0;he>8,ue=he%256,ve.push(ue),ve.push(Ee);return ve}(P,j.length-B),j,B,J)}function D(j,P,B){return P===0&&B===j.length?i.fromByteArray(j):i.fromByteArray(j.slice(P,B))}function R(j,P,B){B=Math.min(j.length,B);for(var J=[],K=P;K239?4:ve>223?3:ve>191?2:1;if(K+Oe<=B)switch(Oe){case 1:ve<128&&(ge=ve);break;case 2:(192&(le=j[K+1]))==128&&(ue=(31&ve)<<6|63&le)>127&&(ge=ue);break;case 3:le=j[K+1],he=j[K+2],(192&le)==128&&(192&he)==128&&(ue=(15&ve)<<12|(63&le)<<6|63&he)>2047&&(ue<55296||ue>57343)&&(ge=ue);break;case 4:le=j[K+1],he=j[K+2],Ee=j[K+3],(192&le)==128&&(192&he)==128&&(192&Ee)==128&&(ue=(15&ve)<<18|(63&le)<<12|(63&he)<<6|63&Ee)>65535&&ue<1114112&&(ge=ue)}ge===null?(ge=65533,Oe=1):ge>65535&&(ge-=65536,J.push(ge>>>10&1023|55296),ge=56320|1023&ge),J.push(ge),K+=Oe}return function(Ce){var ke=Ce.length;if(ke<=I)return String.fromCharCode.apply(String,Ce);for(var Ae="",ce=0;cethis.length||((J===void 0||J>this.length)&&(J=this.length),J<=0)||(J>>>=0)<=(B>>>=0))return"";for(P||(P="utf8");;)switch(P){case"hex":return H(this,B,J);case"utf8":case"utf-8":return R(this,B,J);case"ascii":return z(this,B,J);case"latin1":case"binary":return G(this,B,J);case"base64":return D(this,B,J);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Q(this,B,J);default:if(K)throw new TypeError("Unknown encoding: "+P);P=(P+"").toLowerCase(),K=!0}}).apply(this,arguments)},u.prototype.equals=function(j){if(!u.isBuffer(j))throw new TypeError("Argument must be a Buffer");return this===j||u.compare(this,j)===0},u.prototype.inspect=function(){var j="",P=t.INSPECT_MAX_BYTES;return this.length>0&&(j=this.toString("hex",0,P).match(/.{2}/g).join(" "),this.length>P&&(j+=" ... ")),""},u.prototype.compare=function(j,P,B,J,K){if(!u.isBuffer(j))throw new TypeError("Argument must be a Buffer");if(P===void 0&&(P=0),B===void 0&&(B=j?j.length:0),J===void 0&&(J=0),K===void 0&&(K=this.length),P<0||B>j.length||J<0||K>this.length)throw new RangeError("out of range index");if(J>=K&&P>=B)return 0;if(J>=K)return-1;if(P>=B)return 1;if(P>>>=0,B>>>=0,J>>>=0,K>>>=0,this===j)return 0;for(var le=K-J,he=B-P,Ee=Math.min(le,he),ue=this.slice(J,K),ve=j.slice(P,B),ge=0;geK)&&(B=K),j.length>0&&(B<0||P<0)||P>this.length)throw new RangeError("Attempt to write outside buffer bounds");J||(J="utf8");for(var le=!1;;)switch(J){case"hex":return x(this,j,P,B);case"utf8":case"utf-8":return O(this,j,P,B);case"ascii":return E(this,j,P,B);case"latin1":case"binary":return T(this,j,P,B);case"base64":return k(this,j,P,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,j,P,B);default:if(le)throw new TypeError("Unknown encoding: "+J);J=(""+J).toLowerCase(),le=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function z(j,P,B){var J="";B=Math.min(j.length,B);for(var K=P;KJ)&&(B=J);for(var K="",le=P;leB)throw new RangeError("Trying to access beyond buffer length")}function te(j,P,B,J,K,le){if(!u.isBuffer(j))throw new TypeError('"buffer" argument must be a Buffer instance');if(P>K||Pj.length)throw new RangeError("Index out of range")}function X(j,P,B,J){P<0&&(P=65535+P+1);for(var K=0,le=Math.min(j.length-B,2);K>>8*(J?K:1-K)}function $(j,P,B,J){P<0&&(P=4294967295+P+1);for(var K=0,le=Math.min(j.length-B,4);K>>8*(J?K:3-K)&255}function V(j,P,B,J,K,le){if(B+J>j.length)throw new RangeError("Index out of range");if(B<0)throw new RangeError("Index out of range")}function W(j,P,B,J,K){return K||V(j,0,B,4),o.write(j,P,B,J,23,4),B+4}function re(j,P,B,J,K){return K||V(j,0,B,8),o.write(j,P,B,J,52,8),B+8}u.prototype.slice=function(j,P){var B,J=this.length;if(j=~~j,P=P===void 0?J:~~P,j<0?(j+=J)<0&&(j=0):j>J&&(j=J),P<0?(P+=J)<0&&(P=0):P>J&&(P=J),P0&&(K*=256);)J+=this[j+--P]*K;return J},u.prototype.readUInt8=function(j,P){return P||Z(j,1,this.length),this[j]},u.prototype.readUInt16LE=function(j,P){return P||Z(j,2,this.length),this[j]|this[j+1]<<8},u.prototype.readUInt16BE=function(j,P){return P||Z(j,2,this.length),this[j]<<8|this[j+1]},u.prototype.readUInt32LE=function(j,P){return P||Z(j,4,this.length),(this[j]|this[j+1]<<8|this[j+2]<<16)+16777216*this[j+3]},u.prototype.readUInt32BE=function(j,P){return P||Z(j,4,this.length),16777216*this[j]+(this[j+1]<<16|this[j+2]<<8|this[j+3])},u.prototype.readIntLE=function(j,P,B){j|=0,P|=0,B||Z(j,P,this.length);for(var J=this[j],K=1,le=0;++le=(K*=128)&&(J-=Math.pow(2,8*P)),J},u.prototype.readIntBE=function(j,P,B){j|=0,P|=0,B||Z(j,P,this.length);for(var J=P,K=1,le=this[j+--J];J>0&&(K*=256);)le+=this[j+--J]*K;return le>=(K*=128)&&(le-=Math.pow(2,8*P)),le},u.prototype.readInt8=function(j,P){return P||Z(j,1,this.length),128&this[j]?-1*(255-this[j]+1):this[j]},u.prototype.readInt16LE=function(j,P){P||Z(j,2,this.length);var B=this[j]|this[j+1]<<8;return 32768&B?4294901760|B:B},u.prototype.readInt16BE=function(j,P){P||Z(j,2,this.length);var B=this[j+1]|this[j]<<8;return 32768&B?4294901760|B:B},u.prototype.readInt32LE=function(j,P){return P||Z(j,4,this.length),this[j]|this[j+1]<<8|this[j+2]<<16|this[j+3]<<24},u.prototype.readInt32BE=function(j,P){return P||Z(j,4,this.length),this[j]<<24|this[j+1]<<16|this[j+2]<<8|this[j+3]},u.prototype.readFloatLE=function(j,P){return P||Z(j,4,this.length),o.read(this,j,!0,23,4)},u.prototype.readFloatBE=function(j,P){return P||Z(j,4,this.length),o.read(this,j,!1,23,4)},u.prototype.readDoubleLE=function(j,P){return P||Z(j,8,this.length),o.read(this,j,!0,52,8)},u.prototype.readDoubleBE=function(j,P){return P||Z(j,8,this.length),o.read(this,j,!1,52,8)},u.prototype.writeUIntLE=function(j,P,B,J){j=+j,P|=0,B|=0,J||te(this,j,P,B,Math.pow(2,8*B)-1,0);var K=1,le=0;for(this[P]=255&j;++le=0&&(le*=256);)this[P+K]=j/le&255;return P+B},u.prototype.writeUInt8=function(j,P,B){return j=+j,P|=0,B||te(this,j,P,1,255,0),u.TYPED_ARRAY_SUPPORT||(j=Math.floor(j)),this[P]=255&j,P+1},u.prototype.writeUInt16LE=function(j,P,B){return j=+j,P|=0,B||te(this,j,P,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[P]=255&j,this[P+1]=j>>>8):X(this,j,P,!0),P+2},u.prototype.writeUInt16BE=function(j,P,B){return j=+j,P|=0,B||te(this,j,P,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[P]=j>>>8,this[P+1]=255&j):X(this,j,P,!1),P+2},u.prototype.writeUInt32LE=function(j,P,B){return j=+j,P|=0,B||te(this,j,P,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[P+3]=j>>>24,this[P+2]=j>>>16,this[P+1]=j>>>8,this[P]=255&j):$(this,j,P,!0),P+4},u.prototype.writeUInt32BE=function(j,P,B){return j=+j,P|=0,B||te(this,j,P,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[P]=j>>>24,this[P+1]=j>>>16,this[P+2]=j>>>8,this[P+3]=255&j):$(this,j,P,!1),P+4},u.prototype.writeIntLE=function(j,P,B,J){if(j=+j,P|=0,!J){var K=Math.pow(2,8*B-1);te(this,j,P,B,K-1,-K)}var le=0,he=1,Ee=0;for(this[P]=255&j;++le>0)-Ee&255;return P+B},u.prototype.writeIntBE=function(j,P,B,J){if(j=+j,P|=0,!J){var K=Math.pow(2,8*B-1);te(this,j,P,B,K-1,-K)}var le=B-1,he=1,Ee=0;for(this[P+le]=255&j;--le>=0&&(he*=256);)j<0&&Ee===0&&this[P+le+1]!==0&&(Ee=1),this[P+le]=(j/he>>0)-Ee&255;return P+B},u.prototype.writeInt8=function(j,P,B){return j=+j,P|=0,B||te(this,j,P,1,127,-128),u.TYPED_ARRAY_SUPPORT||(j=Math.floor(j)),j<0&&(j=255+j+1),this[P]=255&j,P+1},u.prototype.writeInt16LE=function(j,P,B){return j=+j,P|=0,B||te(this,j,P,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[P]=255&j,this[P+1]=j>>>8):X(this,j,P,!0),P+2},u.prototype.writeInt16BE=function(j,P,B){return j=+j,P|=0,B||te(this,j,P,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[P]=j>>>8,this[P+1]=255&j):X(this,j,P,!1),P+2},u.prototype.writeInt32LE=function(j,P,B){return j=+j,P|=0,B||te(this,j,P,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[P]=255&j,this[P+1]=j>>>8,this[P+2]=j>>>16,this[P+3]=j>>>24):$(this,j,P,!0),P+4},u.prototype.writeInt32BE=function(j,P,B){return j=+j,P|=0,B||te(this,j,P,4,2147483647,-2147483648),j<0&&(j=4294967295+j+1),u.TYPED_ARRAY_SUPPORT?(this[P]=j>>>24,this[P+1]=j>>>16,this[P+2]=j>>>8,this[P+3]=255&j):$(this,j,P,!1),P+4},u.prototype.writeFloatLE=function(j,P,B){return W(this,j,P,!0,B)},u.prototype.writeFloatBE=function(j,P,B){return W(this,j,P,!1,B)},u.prototype.writeDoubleLE=function(j,P,B){return re(this,j,P,!0,B)},u.prototype.writeDoubleBE=function(j,P,B){return re(this,j,P,!1,B)},u.prototype.copy=function(j,P,B,J){if(B||(B=0),J||J===0||(J=this.length),P>=j.length&&(P=j.length),P||(P=0),J>0&&J=this.length)throw new RangeError("sourceStart out of bounds");if(J<0)throw new RangeError("sourceEnd out of bounds");J>this.length&&(J=this.length),j.length-P=0;--K)j[K+P]=this[K+B];else if(le<1e3||!u.TYPED_ARRAY_SUPPORT)for(K=0;K>>=0,B=B===void 0?this.length:B>>>0,j||(j=0),typeof j=="number")for(le=P;le55295&&B<57344){if(!K){if(B>56319){(P-=3)>-1&&le.push(239,191,189);continue}if(he+1===J){(P-=3)>-1&&le.push(239,191,189);continue}K=B;continue}if(B<56320){(P-=3)>-1&&le.push(239,191,189),K=B;continue}B=65536+(K-55296<<10|B-56320)}else K&&(P-=3)>-1&&le.push(239,191,189);if(K=null,B<128){if((P-=1)<0)break;le.push(B)}else if(B<2048){if((P-=2)<0)break;le.push(B>>6|192,63&B|128)}else if(B<65536){if((P-=3)<0)break;le.push(B>>12|224,B>>6&63|128,63&B|128)}else{if(!(B<1114112))throw new Error("Invalid code point");if((P-=4)<0)break;le.push(B>>18|240,B>>12&63|128,B>>6&63|128,63&B|128)}}return le}function se(j){return i.toByteArray(function(P){if((P=function(B){return B.trim?B.trim():B.replace(/^\s+|\s+$/g,"")}(P).replace(q,"")).length<2)return"";for(;P.length%4!=0;)P+="=";return P}(j))}function fe(j,P,B,J){for(var K=0;K=P.length||K>=j.length);++K)P[K+B]=j[K];return K}}).call(this,n(0))},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(w){if(n===setTimeout)return setTimeout(w,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(w,0);try{return n(w,0)}catch{try{return n.call(null,w,0)}catch{return n.call(this,w,0)}}}(function(){try{n=typeof setTimeout=="function"?setTimeout:o}catch{n=o}try{r=typeof clearTimeout=="function"?clearTimeout:a}catch{r=a}})();var l,u=[],f=!1,d=-1;function p(){f&&l&&(f=!1,l.length?u=l.concat(u):d=-1,u.length&&m())}function m(){if(!f){var w=s(p);f=!0;for(var y=u.length;y;){for(l=u,u=[];++d1)for(var b=1;b=0&&(s._idleTimeoutId=setTimeout(function(){s._onTimeout&&s._onTimeout()},l))},n(35),t.setImmediate=typeof self<"u"&&self.setImmediate||r!==void 0&&r.setImmediate||this&&this.setImmediate,t.clearImmediate=typeof self<"u"&&self.clearImmediate||r!==void 0&&r.clearImmediate||this&&this.clearImmediate}).call(this,n(0))},function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(a){return typeof a=="function"}function i(a){return typeof a=="object"&&a!==null}function o(a){return a===void 0}e.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(a){if(!function(s){return typeof s=="number"}(a)||a<0||isNaN(a))throw TypeError("n must be a positive number");return this._maxListeners=a,this},n.prototype.emit=function(a){var s,l,u,f,d,p;if(this._events||(this._events={}),a==="error"&&(!this._events.error||i(this._events.error)&&!this._events.error.length)){if((s=arguments[1])instanceof Error)throw s;var m=new Error('Uncaught, unspecified "error" event. ('+s+")");throw m.context=s,m}if(o(l=this._events[a]))return!1;if(r(l))switch(arguments.length){case 1:l.call(this);break;case 2:l.call(this,arguments[1]);break;case 3:l.call(this,arguments[1],arguments[2]);break;default:f=Array.prototype.slice.call(arguments,1),l.apply(this,f)}else if(i(l))for(f=Array.prototype.slice.call(arguments,1),u=(p=l.slice()).length,d=0;d0&&this._events[a].length>l&&(this._events[a].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[a].length),typeof console.trace=="function"&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(a,s){if(!r(s))throw TypeError("listener must be a function");var l=!1;function u(){this.removeListener(a,u),l||(l=!0,s.apply(this,arguments))}return u.listener=s,this.on(a,u),this},n.prototype.removeListener=function(a,s){var l,u,f,d;if(!r(s))throw TypeError("listener must be a function");if(!this._events||!this._events[a])return this;if(f=(l=this._events[a]).length,u=-1,l===s||r(l.listener)&&l.listener===s)delete this._events[a],this._events.removeListener&&this.emit("removeListener",a,s);else if(i(l)){for(d=f;d-- >0;)if(l[d]===s||l[d].listener&&l[d].listener===s){u=d;break}if(u<0)return this;l.length===1?(l.length=0,delete this._events[a]):l.splice(u,1),this._events.removeListener&&this.emit("removeListener",a,s)}return this},n.prototype.removeAllListeners=function(a){var s,l;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[a]&&delete this._events[a],this;if(arguments.length===0){for(s in this._events)s!=="removeListener"&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events={},this}if(r(l=this._events[a]))this.removeListener(a,l);else if(l)for(;l.length;)this.removeListener(a,l[l.length-1]);return delete this._events[a],this},n.prototype.listeners=function(a){return this._events&&this._events[a]?r(this._events[a])?[this._events[a]]:this._events[a].slice():[]},n.prototype.listenerCount=function(a){if(this._events){var s=this._events[a];if(r(s))return 1;if(s)return s.length}return 0},n.listenerCount=function(a,s){return a.listenerCount(s)}},function(e,t,n){(t=e.exports=n(23)).Stream=t,t.Readable=t,t.Writable=n(14),t.Duplex=n(1),t.Transform=n(27),t.PassThrough=n(45)},function(e,t,n){(function(r,i,o){var a=n(6);function s(R){var I=this;this.next=null,this.entry=null,this.finish=function(){(function(z,G,H){var Q=z.entry;for(z.entry=null;Q;){var Z=Q.callback;G.pendingcb--,Z(void 0),Q=Q.next}G.corkedRequestsFree?G.corkedRequestsFree.next=z:G.corkedRequestsFree=z})(I,R)}}e.exports=x;var l,u=!r.browser&&["v0.10","v0.9."].indexOf(r.version.slice(0,5))>-1?i:a.nextTick;x.WritableState=b;var f=n(5);f.inherits=n(2);var d,p={deprecate:n(44)},m=n(24),v=n(7).Buffer,g=o.Uint8Array||function(){},w=n(25);function y(){}function b(R,I){l=l||n(1),R=R||{};var z=I instanceof l;this.objectMode=!!R.objectMode,z&&(this.objectMode=this.objectMode||!!R.writableObjectMode);var G=R.highWaterMark,H=R.writableHighWaterMark,Q=this.objectMode?16:16384;this.highWaterMark=G||G===0?G:z&&(H||H===0)?H:Q,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Z=R.decodeStrings===!1;this.decodeStrings=!Z,this.defaultEncoding=R.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(te){(function(X,$){var V=X._writableState,W=V.sync,re=V.writecb;if(function(ee){ee.writing=!1,ee.writecb=null,ee.length-=ee.writelen,ee.writelen=0}(V),$)(function(ee,ie,se,fe,j){--ie.pendingcb,se?(a.nextTick(j,fe),a.nextTick(D,ee,ie),ee._writableState.errorEmitted=!0,ee.emit("error",fe)):(j(fe),ee._writableState.errorEmitted=!0,ee.emit("error",fe),D(ee,ie))})(X,V,W,$,re);else{var q=k(V);q||V.corked||V.bufferProcessing||!V.bufferedRequest||T(X,V),W?u(E,X,V,q,re):E(X,V,q,re)}})(I,te)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function x(R){if(l=l||n(1),!(d.call(x,this)||this instanceof l))return new x(R);this._writableState=new b(R,this),this.writable=!0,R&&(typeof R.write=="function"&&(this._write=R.write),typeof R.writev=="function"&&(this._writev=R.writev),typeof R.destroy=="function"&&(this._destroy=R.destroy),typeof R.final=="function"&&(this._final=R.final)),m.call(this)}function O(R,I,z,G,H,Q,Z){I.writelen=G,I.writecb=Z,I.writing=!0,I.sync=!0,z?R._writev(H,I.onwrite):R._write(H,Q,I.onwrite),I.sync=!1}function E(R,I,z,G){z||function(H,Q){Q.length===0&&Q.needDrain&&(Q.needDrain=!1,H.emit("drain"))}(R,I),I.pendingcb--,G(),D(R,I)}function T(R,I){I.bufferProcessing=!0;var z=I.bufferedRequest;if(R._writev&&z&&z.next){var G=I.bufferedRequestCount,H=new Array(G),Q=I.corkedRequestsFree;Q.entry=z;for(var Z=0,te=!0;z;)H[Z]=z,z.isBuf||(te=!1),z=z.next,Z+=1;H.allBuffers=te,O(R,I,!0,I.length,H,"",Q.finish),I.pendingcb++,I.lastBufferedRequest=null,Q.next?(I.corkedRequestsFree=Q.next,Q.next=null):I.corkedRequestsFree=new s(I),I.bufferedRequestCount=0}else{for(;z;){var X=z.chunk,$=z.encoding,V=z.callback;if(O(R,I,!1,I.objectMode?1:X.length,X,$,V),z=z.next,I.bufferedRequestCount--,I.writing)break}z===null&&(I.lastBufferedRequest=null)}I.bufferedRequest=z,I.bufferProcessing=!1}function k(R){return R.ending&&R.length===0&&R.bufferedRequest===null&&!R.finished&&!R.writing}function A(R,I){R._final(function(z){I.pendingcb--,z&&R.emit("error",z),I.prefinished=!0,R.emit("prefinish"),D(R,I)})}function D(R,I){var z=k(I);return z&&(function(G,H){H.prefinished||H.finalCalled||(typeof G._final=="function"?(H.pendingcb++,H.finalCalled=!0,a.nextTick(A,G,H)):(H.prefinished=!0,G.emit("prefinish")))}(R,I),I.pendingcb===0&&(I.finished=!0,R.emit("finish"))),z}f.inherits(x,m),b.prototype.getBuffer=function(){for(var R=this.bufferedRequest,I=[];R;)I.push(R),R=R.next;return I},function(){try{Object.defineProperty(b.prototype,"buffer",{get:p.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(d=Function.prototype[Symbol.hasInstance],Object.defineProperty(x,Symbol.hasInstance,{value:function(R){return!!d.call(this,R)||this===x&&R&&R._writableState instanceof b}})):d=function(R){return R instanceof this},x.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},x.prototype.write=function(R,I,z){var G=this._writableState,H=!1,Q=!G.objectMode&&function(Z){return v.isBuffer(Z)||Z instanceof g}(R);return Q&&!v.isBuffer(R)&&(R=function(Z){return v.from(Z)}(R)),typeof I=="function"&&(z=I,I=null),Q?I="buffer":I||(I=G.defaultEncoding),typeof z!="function"&&(z=y),G.ended?function(Z,te){var X=new Error("write after end");Z.emit("error",X),a.nextTick(te,X)}(this,z):(Q||function(Z,te,X,$){var V=!0,W=!1;return X===null?W=new TypeError("May not write null values to stream"):typeof X=="string"||X===void 0||te.objectMode||(W=new TypeError("Invalid non-string/buffer chunk")),W&&(Z.emit("error",W),a.nextTick($,W),V=!1),V}(this,G,R,z))&&(G.pendingcb++,H=function(Z,te,X,$,V,W){if(!X){var re=function(se,fe,j){return se.objectMode||se.decodeStrings===!1||typeof fe!="string"||(fe=v.from(fe,j)),fe}(te,$,V);$!==re&&(X=!0,V="buffer",$=re)}var q=te.objectMode?1:$.length;te.length+=q;var ee=te.length-1))throw new TypeError("Unknown encoding: "+R);return this._writableState.defaultEncoding=R,this},Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),x.prototype._write=function(R,I,z){z(new Error("_write() is not implemented"))},x.prototype._writev=null,x.prototype.end=function(R,I,z){var G=this._writableState;typeof R=="function"?(z=R,R=null,I=null):typeof I=="function"&&(z=I,I=null),R!=null&&this.write(R,I),G.corked&&(G.corked=1,this.uncork()),G.ending||G.finished||function(H,Q,Z){Q.ending=!0,D(H,Q),Z&&(Q.finished?a.nextTick(Z):H.once("finish",Z)),Q.ended=!0,H.writable=!1}(this,G,z)},Object.defineProperty(x.prototype,"destroyed",{get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(R){this._writableState&&(this._writableState.destroyed=R)}}),x.prototype.destroy=w.destroy,x.prototype._undestroy=w.undestroy,x.prototype._destroy=function(R,I){this.end(),I(R)}}).call(this,n(4),n(11).setImmediate,n(0))},function(e,t,n){(function(r,i,o){e.exports=function a(s,l,u){function f(m,v){if(!l[m]){if(!s[m]){var g=typeof _dereq_=="function"&&_dereq_;if(!v&&g)return g(m,!0);if(d)return d(m,!0);var w=new Error("Cannot find module '"+m+"'");throw w.code="MODULE_NOT_FOUND",w}var y=l[m]={exports:{}};s[m][0].call(y.exports,function(b){return f(s[m][1][b]||b)},y,y.exports,a,s,l,u)}return l[m].exports}for(var d=typeof _dereq_=="function"&&_dereq_,p=0;p0;){var b=y.shift();if(typeof b=="function"){var x=y.shift(),O=y.shift();b.call(x,O)}else b._settlePromises()}},m.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},m.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},m.prototype._reset=function(){this._isTickUsed=!1},s.exports=m,s.exports.firstLineError=u},{"./queue":26,"./schedule":29,"./util":36}],3:[function(a,s,l){s.exports=function(u,f,d,p){var m=!1,v=function(b,x){this._reject(x)},g=function(b,x){x.promiseRejectionQueued=!0,x.bindingPromise._then(v,v,null,this,b)},w=function(b,x){!(50397184&this._bitField)&&this._resolveCallback(x.target)},y=function(b,x){x.promiseRejectionQueued||this._reject(b)};u.prototype.bind=function(b){m||(m=!0,u.prototype._propagateFrom=p.propagateFromFunction(),u.prototype._boundValue=p.boundValueFunction());var x=d(b),O=new u(f);O._propagateFrom(this,1);var E=this._target();if(O._setBoundTo(x),x instanceof u){var T={promiseRejectionQueued:!1,promise:O,target:E,bindingPromise:x};E._then(f,g,void 0,O,T),x._then(w,y,void 0,O,T),O._setOnCancel(x)}else O._resolveCallback(E);return O},u.prototype._setBoundTo=function(b){b!==void 0?(this._bitField=2097152|this._bitField,this._boundTo=b):this._bitField=-2097153&this._bitField},u.prototype._isBound=function(){return(2097152&this._bitField)==2097152},u.bind=function(b,x){return u.resolve(x).bind(b)}}},{}],4:[function(a,s,l){var u;typeof Promise<"u"&&(u=Promise);var f=a("./promise")();f.noConflict=function(){try{Promise===f&&(Promise=u)}catch{}return f},s.exports=f},{"./promise":22}],5:[function(a,s,l){var u=Object.create;if(u){var f=u(null),d=u(null);f[" size"]=d[" size"]=0}s.exports=function(p){var m=a("./util"),v=m.canEvaluate;function g(b){return function(x,O){var E;if(x!=null&&(E=x[O]),typeof E!="function"){var T="Object "+m.classString(x)+" has no method '"+m.toString(O)+"'";throw new p.TypeError(T)}return E}(b,this.pop()).apply(b,this)}function w(b){return b[this]}function y(b){var x=+this;return x<0&&(x=Math.max(0,x+b.length)),b[x]}m.isIdentifier,p.prototype.call=function(b){var x=[].slice.call(arguments,1);return x.push(b),this._then(g,void 0,void 0,x,void 0)},p.prototype.get=function(b){var x;if(typeof b=="number")x=y;else if(v){var O=(void 0)(b);x=O!==null?O:w}else x=w;return this._then(x,void 0,void 0,b,void 0)}}},{"./util":36}],6:[function(a,s,l){s.exports=function(u,f,d,p){var m=a("./util"),v=m.tryCatch,g=m.errorObj,w=u._async;u.prototype.break=u.prototype.cancel=function(){if(!p.cancellation())return this._warn("cancellation is disabled");for(var y=this,b=y;y._isCancellable();){if(!y._cancelBy(b)){b._isFollowing()?b._followee().cancel():b._cancelBranched();break}var x=y._cancellationParent;if(x==null||!x._isCancellable()){y._isFollowing()?y._followee().cancel():y._cancelBranched();break}y._isFollowing()&&y._followee().cancel(),y._setWillBeCancelled(),b=y,y=x}},u.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},u.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},u.prototype._cancelBy=function(y){return y===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),!!this._enoughBranchesHaveCancelled()&&(this._invokeOnCancel(),!0))},u.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},u.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),w.invoke(this._cancelPromises,this,void 0))},u.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},u.prototype._unsetOnCancel=function(){this._onCancelField=void 0},u.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},u.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},u.prototype._doInvokeOnCancel=function(y,b){if(m.isArray(y))for(var x=0;x=0)return d[v]}return u.prototype._promiseCreated=function(){},u.prototype._pushContext=function(){},u.prototype._popContext=function(){return null},u._peekContext=u.prototype._peekContext=function(){},p.prototype._pushContext=function(){this._trace!==void 0&&(this._trace._promiseCreated=null,d.push(this._trace))},p.prototype._popContext=function(){if(this._trace!==void 0){var v=d.pop(),g=v._promiseCreated;return v._promiseCreated=null,g}return null},p.CapturedTrace=null,p.create=function(){if(f)return new p},p.deactivateLongStackTraces=function(){},p.activateLongStackTraces=function(){var v=u.prototype._pushContext,g=u.prototype._popContext,w=u._peekContext,y=u.prototype._peekContext,b=u.prototype._promiseCreated;p.deactivateLongStackTraces=function(){u.prototype._pushContext=v,u.prototype._popContext=g,u._peekContext=w,u.prototype._peekContext=y,u.prototype._promiseCreated=b,f=!1},f=!0,u.prototype._pushContext=p.prototype._pushContext,u.prototype._popContext=p.prototype._popContext,u._peekContext=u.prototype._peekContext=m,u.prototype._promiseCreated=function(){var x=this._peekContext();x&&x._promiseCreated==null&&(x._promiseCreated=this)}},p}},{}],9:[function(a,s,l){s.exports=function(u,f){var d,p,m,v=u._getDomain,g=u._async,w=a("./errors").Warning,y=a("./util"),b=y.canAttachTrace,x=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,O=/\((?:timers\.js):\d+:\d+\)/,E=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,T=null,k=null,A=!1,D=y.env("BLUEBIRD_DEBUG")!=0,R=!(y.env("BLUEBIRD_WARNINGS")==0||!D&&!y.env("BLUEBIRD_WARNINGS")),I=!(y.env("BLUEBIRD_LONG_STACK_TRACES")==0||!D&&!y.env("BLUEBIRD_LONG_STACK_TRACES")),z=y.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(R||!!y.env("BLUEBIRD_W_FORGOTTEN_RETURN"));u.prototype.suppressUnhandledRejections=function(){var ce=this._target();ce._bitField=-1048577&ce._bitField|524288},u.prototype._ensurePossibleRejectionHandled=function(){if(!(524288&this._bitField)){this._setRejectionIsUnhandled();var ce=this;setTimeout(function(){ce._notifyUnhandledRejection()},1)}},u.prototype._notifyUnhandledRejectionIsHandled=function(){he("rejectionHandled",d,void 0,this)},u.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},u.prototype._returnedNonUndefined=function(){return(268435456&this._bitField)!=0},u.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var ce=this._settledValue();this._setUnhandledRejectionIsNotified(),he("unhandledRejection",p,ce,this)}},u.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},u.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},u.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},u.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},u.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},u.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},u.prototype._warn=function(ce,de,_e){return B(ce,de,_e||this)},u.onPossiblyUnhandledRejection=function(ce){var de=v();p=typeof ce=="function"?de===null?ce:y.domainBind(de,ce):void 0},u.onUnhandledRejectionHandled=function(ce){var de=v();d=typeof ce=="function"?de===null?ce:y.domainBind(de,ce):void 0};var G=function(){};u.longStackTraces=function(){if(g.haveItemsQueued()&&!Ae.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created + + See http://goo.gl/MqrFmX +`);if(!Ae.longStackTraces&&ue()){var ce=u.prototype._captureStackTrace,de=u.prototype._attachExtraTrace;Ae.longStackTraces=!0,G=function(){if(g.haveItemsQueued()&&!Ae.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created + + See http://goo.gl/MqrFmX +`);u.prototype._captureStackTrace=ce,u.prototype._attachExtraTrace=de,f.deactivateLongStackTraces(),g.enableTrampoline(),Ae.longStackTraces=!1},u.prototype._captureStackTrace=j,u.prototype._attachExtraTrace=P,f.activateLongStackTraces(),g.disableTrampolineIfNecessary()}},u.hasLongStackTraces=function(){return Ae.longStackTraces&&ue()};var H=function(){try{if(typeof CustomEvent=="function"){var ce=new CustomEvent("CustomEvent");return y.global.dispatchEvent(ce),function(de,_e){var be=new CustomEvent(de.toLowerCase(),{detail:_e,cancelable:!0});return!y.global.dispatchEvent(be)}}return typeof Event=="function"?(ce=new Event("CustomEvent"),y.global.dispatchEvent(ce),function(de,_e){var be=new Event(de.toLowerCase(),{cancelable:!0});return be.detail=_e,!y.global.dispatchEvent(be)}):((ce=document.createEvent("CustomEvent")).initCustomEvent("testingtheevent",!1,!0,{}),y.global.dispatchEvent(ce),function(de,_e){var be=document.createEvent("CustomEvent");return be.initCustomEvent(de.toLowerCase(),!1,!0,_e),!y.global.dispatchEvent(be)})}catch{}return function(){return!1}}(),Q=y.isNode?function(){return r.emit.apply(r,arguments)}:y.global?function(ce){var de="on"+ce.toLowerCase(),_e=y.global[de];return!!_e&&(_e.apply(y.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function Z(ce,de){return{promise:de}}var te={promiseCreated:Z,promiseFulfilled:Z,promiseRejected:Z,promiseResolved:Z,promiseCancelled:Z,promiseChained:function(ce,de,_e){return{promise:de,child:_e}},warning:function(ce,de){return{warning:de}},unhandledRejection:function(ce,de,_e){return{reason:de,promise:_e}},rejectionHandled:Z},X=function(ce){var de=!1;try{de=Q.apply(null,arguments)}catch(be){g.throwLater(be),de=!0}var _e=!1;try{_e=H(ce,te[ce].apply(null,arguments))}catch(be){g.throwLater(be),_e=!0}return _e||de};function $(){return!1}function V(ce,de,_e){var be=this;try{ce(de,_e,function(Se){if(typeof Se!="function")throw new TypeError("onCancel must be a function, got: "+y.toString(Se));be._attachCancellationCallback(Se)})}catch(Se){return Se}}function W(ce){if(!this._isCancellable())return this;var de=this._onCancel();de!==void 0?y.isArray(de)?de.push(ce):this._setOnCancel([de,ce]):this._setOnCancel(ce)}function re(){return this._onCancelField}function q(ce){this._onCancelField=ce}function ee(){this._cancellationParent=void 0,this._onCancelField=void 0}function ie(ce,de){if(1&de){this._cancellationParent=ce;var _e=ce._branchesRemainingToCancel;_e===void 0&&(_e=0),ce._branchesRemainingToCancel=_e+1}2&de&&ce._isBound()&&this._setBoundTo(ce._boundTo)}u.config=function(ce){if("longStackTraces"in(ce=Object(ce))&&(ce.longStackTraces?u.longStackTraces():!ce.longStackTraces&&u.hasLongStackTraces()&&G()),"warnings"in ce){var de=ce.warnings;Ae.warnings=!!de,z=Ae.warnings,y.isObject(de)&&"wForgottenReturn"in de&&(z=!!de.wForgottenReturn)}if("cancellation"in ce&&ce.cancellation&&!Ae.cancellation){if(g.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");u.prototype._clearCancellationData=ee,u.prototype._propagateFrom=ie,u.prototype._onCancel=re,u.prototype._setOnCancel=q,u.prototype._attachCancellationCallback=W,u.prototype._execute=V,se=ie,Ae.cancellation=!0}return"monitoring"in ce&&(ce.monitoring&&!Ae.monitoring?(Ae.monitoring=!0,u.prototype._fireEvent=X):!ce.monitoring&&Ae.monitoring&&(Ae.monitoring=!1,u.prototype._fireEvent=$)),u},u.prototype._fireEvent=$,u.prototype._execute=function(ce,de,_e){try{ce(de,_e)}catch(be){return be}},u.prototype._onCancel=function(){},u.prototype._setOnCancel=function(ce){},u.prototype._attachCancellationCallback=function(ce){},u.prototype._captureStackTrace=function(){},u.prototype._attachExtraTrace=function(){},u.prototype._clearCancellationData=function(){},u.prototype._propagateFrom=function(ce,de){};var se=function(ce,de){2&de&&ce._isBound()&&this._setBoundTo(ce._boundTo)};function fe(){var ce=this._boundTo;return ce!==void 0&&ce instanceof u?ce.isFulfilled()?ce.value():void 0:ce}function j(){this._trace=new Ce(this._peekContext())}function P(ce,de){if(b(ce)){var _e=this._trace;if(_e!==void 0&&de&&(_e=_e._parent),_e!==void 0)_e.attachExtraTrace(ce);else if(!ce.__stackCleaned__){var be=K(ce);y.notEnumerableProp(ce,"stack",be.message+` +`+be.stack.join(` +`)),y.notEnumerableProp(ce,"__stackCleaned__",!0)}}}function B(ce,de,_e){if(Ae.warnings){var be,Se=new w(ce);if(de)_e._attachExtraTrace(Se);else if(Ae.longStackTraces&&(be=u._peekContext()))be.attachExtraTrace(Se);else{var Me=K(Se);Se.stack=Me.message+` +`+Me.stack.join(` +`)}X("warning",Se)||le(Se,"",!0)}}function J(ce){for(var de=[],_e=0;_e0?function(be){for(var Se=be.stack.replace(/\s+$/g,"").split(` +`),Me=0;Me0&&be.name!="SyntaxError"&&(Se=Se.slice(Me)),Se}(ce):[" (No stack trace)"],{message:_e,stack:ce.name=="SyntaxError"?de:J(de)}}function le(ce,de,_e){if(typeof console<"u"){var be;if(y.isObject(ce)){var Se=ce.stack;be=de+k(Se,ce)}else be=de+String(ce);typeof m=="function"?m(be,_e):typeof console.log!="function"&&typeof console.log!="object"||console.log(be)}}function he(ce,de,_e,be){var Se=!1;try{typeof de=="function"&&(Se=!0,ce==="rejectionHandled"?de(be):de(_e,be))}catch(Me){g.throwLater(Me)}ce==="unhandledRejection"?X(ce,_e,be)||Se||le(_e,"Unhandled rejection "):X(ce,be)}function Ee(ce){var de;if(typeof ce=="function")de="[function "+(ce.name||"anonymous")+"]";else{if(de=ce&&typeof ce.toString=="function"?ce.toString():y.toString(ce),/\[object [a-zA-Z0-9$_]+\]/.test(de))try{de=JSON.stringify(ce)}catch{}de.length===0&&(de="(empty array)")}return"(<"+function(_e){return _e.length<41?_e:_e.substr(0,38)+"..."}(de)+">, no stack trace)"}function ue(){return typeof ke=="function"}var ve=function(){return!1},ge=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function Oe(ce){var de=ce.match(ge);if(de)return{fileName:de[1],line:parseInt(de[2],10)}}function Ce(ce){this._parent=ce,this._promisesCreated=0;var de=this._length=1+(ce===void 0?0:ce._length);ke(this,Ce),de>32&&this.uncycle()}y.inherits(Ce,Error),f.CapturedTrace=Ce,Ce.prototype.uncycle=function(){var ce=this._length;if(!(ce<2)){for(var de=[],_e={},be=0,Se=this;Se!==void 0;++be)de.push(Se),Se=Se._parent;for(be=(ce=this._length=be)-1;be>=0;--be){var Me=de[be].stack;_e[Me]===void 0&&(_e[Me]=be)}for(be=0;be0&&(de[De-1]._parent=void 0,de[De-1]._length=1),de[be]._parent=void 0,de[be]._length=1;var at=be>0?de[be-1]:this;De=0;--et)de[et]._length=ut,ut++;return}}}},Ce.prototype.attachExtraTrace=function(ce){if(!ce.__stackCleaned__){this.uncycle();for(var de=K(ce),_e=de.message,be=[de.stack],Se=this;Se!==void 0;)be.push(J(Se.stack.split(` +`))),Se=Se._parent;(function(Me){for(var De=Me[0],at=1;at=0;--Ln)if(ut[Ln]===ln){Xt=Ln;break}for(Ln=Xt;Ln>=0;--Ln){var wr=ut[Ln];if(De[et]!==wr)break;De.pop(),et--}De=ut}})(be),function(Me){for(var De=0;De=0)return T=/@/,k=de,A=!0,function(Me){Me.stack=new Error().stack};try{throw new Error}catch(Me){be="stack"in Me}return"stack"in Se||!be||typeof Error.stackTraceLimit!="number"?(k=function(Me,De){return typeof Me=="string"?Me:typeof De!="object"&&typeof De!="function"||De.name===void 0||De.message===void 0?Ee(De):De.toString()},null):(T=ce,k=de,function(Me){Error.stackTraceLimit+=6;try{throw new Error}catch(De){Me.stack=De.stack}Error.stackTraceLimit-=6})}();typeof console<"u"&&console.warn!==void 0&&(m=function(ce){console.warn(ce)},y.isNode&&r.stderr.isTTY?m=function(ce,de){var _e=de?"\x1B[33m":"\x1B[31m";console.warn(_e+ce+`\x1B[0m +`)}:y.isNode||typeof new Error().stack!="string"||(m=function(ce,de){console.warn("%c"+ce,de?"color: darkorange":"color: red")}));var Ae={warnings:R,longStackTraces:!1,cancellation:!1,monitoring:!1};return I&&u.longStackTraces(),{longStackTraces:function(){return Ae.longStackTraces},warnings:function(){return Ae.warnings},cancellation:function(){return Ae.cancellation},monitoring:function(){return Ae.monitoring},propagateFromFunction:function(){return se},boundValueFunction:function(){return fe},checkForgottenReturns:function(ce,de,_e,be,Se){if(ce===void 0&&de!==null&&z){if(Se!==void 0&&Se._returnedNonUndefined()||!(65535&be._bitField))return;_e&&(_e+=" ");var Me="",De="";if(de._trace){for(var at=de._trace.stack.split(` +`),ut=J(at),et=ut.length-1;et>=0;--et){var ln=ut[et];if(!O.test(ln)){var Xt=ln.match(E);Xt&&(Me="at "+Xt[1]+":"+Xt[2]+":"+Xt[3]+" ");break}}if(ut.length>0){var Ln=ut[0];for(et=0;et0&&(De=` +`+at[et-1]);break}}}var wr="a promise was created in a "+_e+"handler "+Me+"but was not returned from it, see http://goo.gl/rRqMUw"+De;be._warn(wr,!0,de)}},setBounds:function(ce,de){if(ue()){for(var _e,be,Se=ce.stack.split(` +`),Me=de.stack.split(` +`),De=-1,at=-1,ut=0;ut=at||(ve=function(ln){if(x.test(ln))return!0;var Xt=Oe(ln);return!!(Xt&&Xt.fileName===_e&&De<=Xt.line&&Xt.line<=at)})}},warn:B,deprecated:function(ce,de){var _e=ce+" is deprecated and will be removed in a future version.";return de&&(_e+=" Use "+de+" instead."),B(_e)},CapturedTrace:Ce,fireDomEvent:H,fireGlobalEvent:Q}}},{"./errors":12,"./util":36}],10:[function(a,s,l){s.exports=function(u){function f(){return this.value}function d(){throw this.reason}u.prototype.return=u.prototype.thenReturn=function(p){return p instanceof u&&p.suppressUnhandledRejections(),this._then(f,void 0,void 0,{value:p},void 0)},u.prototype.throw=u.prototype.thenThrow=function(p){return this._then(d,void 0,void 0,{reason:p},void 0)},u.prototype.catchThrow=function(p){if(arguments.length<=1)return this._then(void 0,d,void 0,{reason:p},void 0);var m=arguments[1];return this.caught(p,function(){throw m})},u.prototype.catchReturn=function(p){if(arguments.length<=1)return p instanceof u&&p.suppressUnhandledRejections(),this._then(void 0,f,void 0,{value:p},void 0);var m=arguments[1];return m instanceof u&&m.suppressUnhandledRejections(),this.caught(p,function(){return m})}}},{}],11:[function(a,s,l){s.exports=function(u,f){var d=u.reduce,p=u.all;function m(){return p(this)}u.prototype.each=function(v){return d(this,v,f,0)._then(m,void 0,void 0,this,void 0)},u.prototype.mapSeries=function(v){return d(this,v,f,f)},u.each=function(v,g){return d(v,g,f,0)._then(m,void 0,void 0,v,void 0)},u.mapSeries=function(v,g){return d(v,g,f,f)}}},{}],12:[function(a,s,l){var u,f,d=a("./es5"),p=d.freeze,m=a("./util"),v=m.inherits,g=m.notEnumerableProp;function w(R,I){function z(G){if(!(this instanceof z))return new z(G);g(this,"message",typeof G=="string"?G:I),g(this,"name",R),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return v(z,Error),z}var y=w("Warning","warning"),b=w("CancellationError","cancellation error"),x=w("TimeoutError","timeout error"),O=w("AggregateError","aggregate error");try{u=TypeError,f=RangeError}catch{u=w("TypeError","type error"),f=w("RangeError","range error")}for(var E="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),T=0;T1?T.cancelPromise._reject(k):T.cancelPromise._cancel(),T.cancelPromise=null,!0)}function x(){return E.call(this,this.promise._target()._settledValue())}function O(T){if(!b(this,T))return v.e=T,v}function E(T){var k=this.promise,A=this.handler;if(!this.called){this.called=!0;var D=this.isFinallyHandler()?A.call(k._boundValue()):A.call(k._boundValue(),T);if(D===d)return D;if(D!==void 0){k._setReturnedNonUndefined();var R=f(D,k);if(R instanceof u){if(this.cancelPromise!=null){if(R._isCancelled()){var I=new m("late cancellation observer");return k._attachExtraTrace(I),v.e=I,v}R.isPending()&&R._attachCancellationCallback(new y(this))}return R._then(x,O,void 0,this,void 0)}}}return k.isRejected()?(b(this),v.e=T,v):(b(this),T)}return w.prototype.isFinallyHandler=function(){return this.type===0},y.prototype._resultCancelled=function(){b(this.finallyHandler)},u.prototype._passThrough=function(T,k,A,D){return typeof T!="function"?this.then():this._then(A,D,void 0,new w(this,k,T),void 0)},u.prototype.lastly=u.prototype.finally=function(T){return this._passThrough(T,0,E,E)},u.prototype.tap=function(T){return this._passThrough(T,1,E)},u.prototype.tapCatch=function(T){var k=arguments.length;if(k===1)return this._passThrough(T,1,void 0,E);var A,D=new Array(k-1),R=0;for(A=0;A0&&typeof arguments[y]=="function"&&(w=arguments[y]);var b=[].slice.call(arguments);w&&b.pop();var x=new f(b).promise();return w!==void 0?x.spread(w):x}}},{"./util":36}],18:[function(a,s,l){s.exports=function(u,f,d,p,m,v){var g=u._getDomain,w=a("./util"),y=w.tryCatch,b=w.errorObj,x=u._async;function O(T,k,A,D){this.constructor$(T),this._promise._captureStackTrace();var R=g();this._callback=R===null?k:w.domainBind(R,k),this._preservedValues=D===m?new Array(this.length()):null,this._limit=A,this._inFlight=0,this._queue=[],x.invoke(this._asyncInit,this,void 0)}function E(T,k,A,D){if(typeof k!="function")return d("expecting a function but got "+w.classString(k));var R=0;if(A!==void 0){if(typeof A!="object"||A===null)return u.reject(new TypeError("options argument must be an object but it is "+w.classString(A)));if(typeof A.concurrency!="number")return u.reject(new TypeError("'concurrency' must be a number but it is "+w.classString(A.concurrency)));R=A.concurrency}return new O(T,k,R=typeof R=="number"&&isFinite(R)&&R>=1?R:0,D).promise()}w.inherits(O,f),O.prototype._asyncInit=function(){this._init$(void 0,-2)},O.prototype._init=function(){},O.prototype._promiseFulfilled=function(T,k){var A=this._values,D=this.length(),R=this._preservedValues,I=this._limit;if(k<0){if(A[k=-1*k-1]=T,I>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(I>=1&&this._inFlight>=I)return A[k]=T,this._queue.push(k),!1;R!==null&&(R[k]=T);var z=this._promise,G=this._callback,H=z._boundValue();z._pushContext();var Q=y(G).call(H,T,k,D),Z=z._popContext();if(v.checkForgottenReturns(Q,Z,R!==null?"Promise.filter":"Promise.map",z),Q===b)return this._reject(Q.e),!0;var te=p(Q,this._promise);if(te instanceof u){var X=(te=te._target())._bitField;if(!(50397184&X))return I>=1&&this._inFlight++,A[k]=te,te._proxy(this,-1*(k+1)),!1;if(!(33554432&X))return 16777216&X?(this._reject(te._reason()),!0):(this._cancel(),!0);Q=te._value()}A[k]=Q}return++this._totalResolved>=D&&(R!==null?this._filter(A,R):this._resolve(A),!0)},O.prototype._drainQueue=function(){for(var T=this._queue,k=this._limit,A=this._values;T.length>0&&this._inFlight1){m.deprecated("calling Promise.try with more than 1 argument");var x=arguments[1],O=arguments[2];y=v.isArray(x)?g(w).apply(O,x):g(w).call(O,x)}else y=g(w)();var E=b._popContext();return m.checkForgottenReturns(y,E,"Promise.try",b),b._resolveFromSyncValue(y),b},u.prototype._resolveFromSyncValue=function(w){w===v.errorObj?this._rejectCallback(w.e,!1):this._resolveCallback(w,!0)}}},{"./util":36}],20:[function(a,s,l){var u=a("./util"),f=u.maybeWrapAsError,d=a("./errors").OperationalError,p=a("./es5"),m=/^(?:name|message|stack|cause)$/;function v(g){var w;if(function(O){return O instanceof Error&&p.getPrototypeOf(O)===Error.prototype}(g)){(w=new d(g)).name=g.name,w.message=g.message,w.stack=g.stack;for(var y=p.keys(g),b=0;b1){var ie,se=new Array(ee-1),fe=0;for(ie=0;ie0&&typeof q!="function"&&typeof ee!="function"){var ie=".then() only accepts functions but was passed: "+g.classString(q);arguments.length>1&&(ie+=", "+g.classString(ee)),this._warn(ie)}return this._then(q,ee,void 0,void 0,void 0)},$.prototype.done=function(q,ee){this._then(q,ee,void 0,void 0,void 0)._setIsFinal()},$.prototype.spread=function(q){return typeof q!="function"?d("expecting a function but got "+g.classString(q)):this.all()._then(q,void 0,void 0,k,void 0)},$.prototype.toJSON=function(){var q={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(q.fulfillmentValue=this.value(),q.isFulfilled=!0):this.isRejected()&&(q.rejectionReason=this.reason(),q.isRejected=!0),q},$.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new R(this).promise()},$.prototype.error=function(q){return this.caught(g.originatesFromRejection,q)},$.getNewLibraryCopy=s.exports,$.is=function(q){return q instanceof $},$.fromNode=$.fromCallback=function(q){var ee=new $(T);ee._captureStackTrace();var ie=arguments.length>1&&!!Object(arguments[1]).multiArgs,se=X(q)(Z(ee,ie));return se===te&&ee._rejectCallback(se.e,!0),ee._isFateSealed()||ee._setAsyncGuaranteed(),ee},$.all=function(q){return new R(q).promise()},$.cast=function(q){var ee=D(q);return ee instanceof $||((ee=new $(T))._captureStackTrace(),ee._setFulfilled(),ee._rejectionHandler0=q),ee},$.resolve=$.fulfilled=$.cast,$.reject=$.rejected=function(q){var ee=new $(T);return ee._captureStackTrace(),ee._rejectCallback(q,!0),ee},$.setScheduler=function(q){if(typeof q!="function")throw new O("expecting a function but got "+g.classString(q));return b.setScheduler(q)},$.prototype._then=function(q,ee,ie,se,fe){var j=fe!==void 0,P=j?fe:new $(T),B=this._target(),J=B._bitField;j||(P._propagateFrom(this,3),P._captureStackTrace(),se===void 0&&2097152&this._bitField&&(se=50397184&J?this._boundValue():B===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,P));var K=m();if(50397184&J){var le,he,Ee=B._settlePromiseCtx;33554432&J?(he=B._rejectionHandler0,le=q):16777216&J?(he=B._fulfillmentHandler0,le=ee,B._unsetRejectionIsUnhandled()):(Ee=B._settlePromiseLateCancellationObserver,he=new E("late cancellation observer"),B._attachExtraTrace(he),le=ee),b.invoke(Ee,B,{handler:K===null?le:typeof le=="function"&&g.domainBind(K,le),promise:P,receiver:se,value:he})}else B._addCallbacks(q,ee,P,se,K);return P},$.prototype._length=function(){return 65535&this._bitField},$.prototype._isFateSealed=function(){return(117506048&this._bitField)!=0},$.prototype._isFollowing=function(){return(67108864&this._bitField)==67108864},$.prototype._setLength=function(q){this._bitField=-65536&this._bitField|65535&q},$.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent("promiseFulfilled",this)},$.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent("promiseRejected",this)},$.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent("promiseResolved",this)},$.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},$.prototype._isFinal=function(){return(4194304&this._bitField)>0},$.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},$.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},$.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},$.prototype._setAsyncGuaranteed=function(){b.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},$.prototype._receiverAt=function(q){var ee=q===0?this._receiver0:this[4*q-4+3];if(ee!==v)return ee===void 0&&this._isBound()?this._boundValue():ee},$.prototype._promiseAt=function(q){return this[4*q-4+2]},$.prototype._fulfillmentHandlerAt=function(q){return this[4*q-4+0]},$.prototype._rejectionHandlerAt=function(q){return this[4*q-4+1]},$.prototype._boundValue=function(){},$.prototype._migrateCallback0=function(q){q._bitField;var ee=q._fulfillmentHandler0,ie=q._rejectionHandler0,se=q._promise0,fe=q._receiverAt(0);fe===void 0&&(fe=v),this._addCallbacks(ee,ie,se,fe,null)},$.prototype._migrateCallbackAt=function(q,ee){var ie=q._fulfillmentHandlerAt(ee),se=q._rejectionHandlerAt(ee),fe=q._promiseAt(ee),j=q._receiverAt(ee);j===void 0&&(j=v),this._addCallbacks(ie,se,fe,j,null)},$.prototype._addCallbacks=function(q,ee,ie,se,fe){var j=this._length();if(j>=65531&&(j=0,this._setLength(0)),j===0)this._promise0=ie,this._receiver0=se,typeof q=="function"&&(this._fulfillmentHandler0=fe===null?q:g.domainBind(fe,q)),typeof ee=="function"&&(this._rejectionHandler0=fe===null?ee:g.domainBind(fe,ee));else{var P=4*j-4;this[P+2]=ie,this[P+3]=se,typeof q=="function"&&(this[P+0]=fe===null?q:g.domainBind(fe,q)),typeof ee=="function"&&(this[P+1]=fe===null?ee:g.domainBind(fe,ee))}return this._setLength(j+1),j},$.prototype._proxy=function(q,ee){this._addCallbacks(void 0,void 0,ee,q,null)},$.prototype._resolveCallback=function(q,ee){if(!(117506048&this._bitField)){if(q===this)return this._rejectCallback(u(),!1);var ie=D(q,this);if(!(ie instanceof $))return this._fulfill(q);ee&&this._propagateFrom(ie,2);var se=ie._target();if(se!==this){var fe=se._bitField;if(50397184&fe)if(33554432&fe)this._fulfill(se._value());else if(16777216&fe)this._reject(se._reason());else{var B=new E("late cancellation observer");se._attachExtraTrace(B),this._reject(B)}else{var j=this._length();j>0&&se._migrateCallback0(this);for(var P=1;P>>16)){if(q===this){var ie=u();return this._attachExtraTrace(ie),this._reject(ie)}this._setFulfilled(),this._rejectionHandler0=q,(65535&ee)>0&&(134217728&ee?this._settlePromises():b.settlePromises(this))}},$.prototype._reject=function(q){var ee=this._bitField;if(!((117506048&ee)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=q,this._isFinal())return b.fatalError(q,g.isNode);(65535&ee)>0?b.settlePromises(this):this._ensurePossibleRejectionHandled()}},$.prototype._fulfillPromises=function(q,ee){for(var ie=1;ie0){if(16842752&q){var ie=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,ie,q),this._rejectPromises(ee,ie)}else{var se=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,se,q),this._fulfillPromises(ee,se)}this._setLength(0)}this._clearCancellationData()},$.prototype._settledValue=function(){var q=this._bitField;return 33554432&q?this._rejectionHandler0:16777216&q?this._fulfillmentHandler0:void 0},$.defer=$.pending=function(){return G.deprecated("Promise.defer","new Promise"),{promise:new $(T),resolve:V,reject:W}},g.notEnumerableProp($,"_makeSelfResolutionError",u),a("./method")($,T,D,d,G),a("./bind")($,T,D,G),a("./cancel")($,R,d,G),a("./direct_resolve")($),a("./synchronous_inspection")($),a("./join")($,R,D,T,b,m),$.Promise=$,$.version="3.5.1",a("./map.js")($,R,d,D,T,G),a("./call_get.js")($),a("./using.js")($,d,D,z,T,G),a("./timers.js")($,T,G),a("./generators.js")($,d,T,D,p,G),a("./nodeify.js")($),a("./promisify.js")($,T),a("./props.js")($,R,D,d),a("./race.js")($,T,D,d),a("./reduce.js")($,R,d,D,T,G),a("./settle.js")($,R,G),a("./some.js")($,R,d),a("./filter.js")($,T),a("./each.js")($,T),a("./any.js")($),g.toFastProperties($),g.toFastProperties($.prototype),re({a:1}),re({b:2}),re({c:3}),re(1),re(function(){}),re(void 0),re(!1),re(new $(T)),G.setBounds(y.firstLineError,g.lastLineError),$}},{"./any.js":1,"./async":2,"./bind":3,"./call_get.js":5,"./cancel":6,"./catch_filter":7,"./context":8,"./debuggability":9,"./direct_resolve":10,"./each.js":11,"./errors":12,"./es5":13,"./filter.js":14,"./finally":15,"./generators.js":16,"./join":17,"./map.js":18,"./method":19,"./nodeback":20,"./nodeify.js":21,"./promise_array":23,"./promisify.js":24,"./props.js":25,"./race.js":27,"./reduce.js":28,"./settle.js":30,"./some.js":31,"./synchronous_inspection":32,"./thenables":33,"./timers.js":34,"./using.js":35,"./util":36}],23:[function(a,s,l){s.exports=function(u,f,d,p,m){var v=a("./util");function g(w){var y=this._promise=new u(f);w instanceof u&&y._propagateFrom(w,3),y._setOnCancel(this),this._values=w,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return v.isArray,v.inherits(g,m),g.prototype.length=function(){return this._length},g.prototype.promise=function(){return this._promise},g.prototype._init=function w(y,b){var x=d(this._values,this._promise);if(x instanceof u){var O=(x=x._target())._bitField;if(this._values=x,(50397184&O)==0)return this._promise._setAsyncGuaranteed(),x._then(w,this._reject,void 0,this,b);if(!(33554432&O))return 16777216&O?this._reject(x._reason()):this._cancel();x=x._value()}if((x=v.asArray(x))!==null)x.length!==0?this._iterate(x):b===-5?this._resolveEmptyArray():this._resolve(function(T){switch(b){case-2:return[];case-3:return{};case-6:return new Map}}());else{var E=p("expecting an array or an iterable object but got "+v.classString(x)).reason();this._promise._rejectCallback(E,!1)}},g.prototype._iterate=function(w){var y=this.getActualLength(w.length);this._length=y,this._values=this.shouldCopyValues()?new Array(y):this._values;for(var b=this._promise,x=!1,O=null,E=0;E=this._length&&(this._resolve(this._values),!0)},g.prototype._promiseCancelled=function(){return this._cancel(),!0},g.prototype._promiseRejected=function(w){return this._totalResolved++,this._reject(w),!0},g.prototype._resultCancelled=function(){if(!this._isResolved()){var w=this._values;if(this._cancel(),w instanceof u)w.cancel();else for(var y=0;y=this._length){var T;if(this._isMap)T=function(R){for(var I=new m,z=R.length/2|0,G=0;G>1},u.prototype.props=function(){return x(this)},u.props=function(O){return x(O)}}},{"./es5":13,"./util":36}],26:[function(a,s,l){function u(f){this._capacity=f,this._length=0,this._front=0}u.prototype._willBeOverCapacity=function(f){return this._capacity"u"){var p=i.setImmediate,m=r.nextTick;u=f.isRecentNode?function(g){p.call(i,g)}:function(g){m.call(r,g)}}else if(typeof d=="function"&&typeof d.resolve=="function"){var v=d.resolve();u=function(g){v.then(g)}}else u=typeof MutationObserver>"u"||typeof window<"u"&&window.navigator&&(window.navigator.standalone||window.cordova)?o!==void 0?function(g){o(g)}:typeof setTimeout<"u"?function(g){setTimeout(g,0)}:function(){throw new Error(`No async scheduler available + + See http://goo.gl/MqrFmX +`)}:function(){var g=document.createElement("div"),w={attributes:!0},y=!1,b=document.createElement("div");return new MutationObserver(function(){g.classList.toggle("foo"),y=!1}).observe(b,w),function(x){var O=new MutationObserver(function(){O.disconnect(),x()});O.observe(g,w),y||(y=!0,b.classList.toggle("foo"))}}();s.exports=u},{"./util":36}],30:[function(a,s,l){s.exports=function(u,f,d){var p=u.PromiseInspection;function m(v){this.constructor$(v)}a("./util").inherits(m,f),m.prototype._promiseResolved=function(v,g){return this._values[v]=g,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},m.prototype._promiseFulfilled=function(v,g){var w=new p;return w._bitField=33554432,w._settledValueField=v,this._promiseResolved(g,w)},m.prototype._promiseRejected=function(v,g){var w=new p;return w._bitField=16777216,w._settledValueField=v,this._promiseResolved(g,w)},u.settle=function(v){return d.deprecated(".settle()",".reflect()"),new m(v).promise()},u.prototype.settle=function(){return u.settle(this)}}},{"./util":36}],31:[function(a,s,l){s.exports=function(u,f,d){var p=a("./util"),m=a("./errors").RangeError,v=a("./errors").AggregateError,g=p.isArray,w={};function y(x){this.constructor$(x),this._howMany=0,this._unwrap=!1,this._initialized=!1}function b(x,O){if((0|O)!==O||O<0)return d(`expecting a positive integer + + See http://goo.gl/MqrFmX +`);var E=new y(x),T=E.promise();return E.setHowMany(O),E.init(),T}p.inherits(y,f),y.prototype._init=function(){if(this._initialized)if(this._howMany!==0){this._init$(void 0,-5);var x=g(this._values);!this._isResolved()&&x&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}else this._resolve([])},y.prototype.init=function(){this._initialized=!0,this._init()},y.prototype.setUnwrap=function(){this._unwrap=!0},y.prototype.howMany=function(){return this._howMany},y.prototype.setHowMany=function(x){this._howMany=x},y.prototype._promiseFulfilled=function(x){return this._addFulfilled(x),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),this.howMany()===1&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0)},y.prototype._promiseRejected=function(x){return this._addRejected(x),this._checkOutcome()},y.prototype._promiseCancelled=function(){return this._values instanceof u||this._values==null?this._cancel():(this._addRejected(w),this._checkOutcome())},y.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var x=new v,O=this.length();O0?this._reject(x):this._cancel(),!0}return!1},y.prototype._fulfilled=function(){return this._totalResolved},y.prototype._rejected=function(){return this._values.length-this.length()},y.prototype._addRejected=function(x){this._values.push(x)},y.prototype._addFulfilled=function(x){this._values[this._totalResolved++]=x},y.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},y.prototype._getRangeError=function(x){var O="Input array must contain at least "+this._howMany+" items but contains only "+x+" items";return new m(O)},y.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},u.some=function(x,O){return b(x,O)},u.prototype.some=function(x){return b(this,x)},u._SomePromiseArray=y}},{"./errors":12,"./util":36}],32:[function(a,s,l){s.exports=function(u){function f(y){y!==void 0?(y=y._target(),this._bitField=y._bitField,this._settledValueField=y._isFateSealed()?y._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()},m=f.prototype.isFulfilled=function(){return(33554432&this._bitField)!=0},v=f.prototype.isRejected=function(){return(16777216&this._bitField)!=0},g=f.prototype.isPending=function(){return(50397184&this._bitField)==0},w=f.prototype.isResolved=function(){return(50331648&this._bitField)!=0};f.prototype.isCancelled=function(){return(8454144&this._bitField)!=0},u.prototype.__isCancelled=function(){return(65536&this._bitField)==65536},u.prototype._isCancelled=function(){return this._target().__isCancelled()},u.prototype.isCancelled=function(){return(8454144&this._target()._bitField)!=0},u.prototype.isPending=function(){return g.call(this._target())},u.prototype.isRejected=function(){return v.call(this._target())},u.prototype.isFulfilled=function(){return m.call(this._target())},u.prototype.isResolved=function(){return w.call(this._target())},u.prototype.value=function(){return d.call(this._target())},u.prototype.reason=function(){var y=this._target();return y._unsetRejectionIsUnhandled(),p.call(y)},u.prototype._value=function(){return this._settledValue()},u.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},u.PromiseInspection=f}},{}],33:[function(a,s,l){s.exports=function(u,f){var d=a("./util"),p=d.errorObj,m=d.isObject,v={}.hasOwnProperty;return function(g,w){if(m(g)){if(g instanceof u)return g;var y=function(x){try{return function(O){return O.then}(x)}catch(O){return p.e=O,p}}(g);if(y===p){w&&w._pushContext();var b=u.reject(y.e);return w&&w._popContext(),b}if(typeof y=="function")return function(x){try{return v.call(x,"_promise0")}catch{return!1}}(g)?(b=new u(f),g._then(b._fulfill,b._reject,void 0,b,null),b):function(x,O,E){var T=new u(f),k=T;E&&E._pushContext(),T._captureStackTrace(),E&&E._popContext();var A=!0,D=d.tryCatch(O).call(x,function(R){T&&(T._resolveCallback(R),T=null)},function(R){T&&(T._rejectCallback(R,A,!0),T=null)});return A=!1,T&&D===p&&(T._rejectCallback(D.e,!0,!0),T=null),k}(g,y,w)}return g}}},{"./util":36}],34:[function(a,s,l){s.exports=function(u,f,d){var p=a("./util"),m=u.TimeoutError;function v(x){this.handle=x}v.prototype._resultCancelled=function(){clearTimeout(this.handle)};var g=function(x){return w(+this).thenReturn(x)},w=u.delay=function(x,O){var E,T;return O!==void 0?(E=u.resolve(O)._then(g,null,null,x,void 0),d.cancellation()&&O instanceof u&&E._setOnCancel(O)):(E=new u(f),T=setTimeout(function(){E._fulfill()},+x),d.cancellation()&&E._setOnCancel(new v(T)),E._captureStackTrace()),E._setAsyncGuaranteed(),E};function y(x){return clearTimeout(this.handle),x}function b(x){throw clearTimeout(this.handle),x}u.prototype.delay=function(x){return w(x,this)},u.prototype.timeout=function(x,O){var E,T;x=+x;var k=new v(setTimeout(function(){E.isPending()&&function(A,D,R){var I;I=typeof D!="string"?D instanceof Error?D:new m("operation timed out"):new m(D),p.markAsOriginatingFromRejection(I),A._attachExtraTrace(I),A._reject(I),R!=null&&R.cancel()}(E,O,T)},x));return d.cancellation()?(T=this.then(),(E=T._then(y,b,void 0,k,void 0))._setOnCancel(k)):E=this._then(y,b,void 0,k,void 0),E}}},{"./util":36}],35:[function(a,s,l){s.exports=function(u,f,d,p,m,v){var g=a("./util"),w=a("./errors").TypeError,y=a("./util").inherits,b=g.errorObj,x=g.tryCatch,O={};function E(I){setTimeout(function(){throw I},0)}function T(I,z){var G=0,H=I.length,Q=new u(m);return function Z(){if(G>=H)return Q._fulfill();var te=function(X){var $=d(X);return $!==X&&typeof X._isDisposable=="function"&&typeof X._getDisposer=="function"&&X._isDisposable()&&$._setDisposable(X._getDisposer()),$}(I[G++]);if(te instanceof u&&te._isDisposable()){try{te=d(te._getDisposer().tryDispose(z),I.promise)}catch(X){return E(X)}if(te instanceof u)return te._then(Z,E,null,null,null)}Z()}(),Q}function k(I,z,G){this._data=I,this._promise=z,this._context=G}function A(I,z,G){this.constructor$(I,z,G)}function D(I){return k.isDisposer(I)?(this.resources[this.index]._setDisposable(I),I.promise()):I}function R(I){this.length=I,this.promise=null,this[I-1]=null}k.prototype.data=function(){return this._data},k.prototype.promise=function(){return this._promise},k.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():O},k.prototype.tryDispose=function(I){var z=this.resource(),G=this._context;G!==void 0&&G._pushContext();var H=z!==O?this.doDispose(z,I):null;return G!==void 0&&G._popContext(),this._promise._unsetDisposable(),this._data=null,H},k.isDisposer=function(I){return I!=null&&typeof I.resource=="function"&&typeof I.tryDispose=="function"},y(A,k),A.prototype.doDispose=function(I,z){return this.data().call(I,I,z)},R.prototype._resultCancelled=function(){for(var I=this.length,z=0;z0},u.prototype._getDisposer=function(){return this._disposer},u.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},u.prototype.disposer=function(I){if(typeof I=="function")return new A(I,this,p());throw new w}}},{"./errors":12,"./util":36}],36:[function(a,s,l){var u,f=a("./es5"),d=typeof navigator>"u",p={e:{}},m=typeof self<"u"?self:typeof window<"u"?window:i!==void 0?i:this!==void 0?this:null;function v(){try{var H=u;return u=null,H.apply(this,arguments)}catch(Q){return p.e=Q,p}}function g(H){return H==null||H===!0||H===!1||typeof H=="string"||typeof H=="number"}function w(H,Q,Z){if(g(H))return H;var te={value:Z,configurable:!0,enumerable:!1,writable:!0};return f.defineProperty(H,Q,te),H}var y=function(){var H=[Array.prototype,Object.prototype,Function.prototype],Q=function(X){for(var $=0;$1,te=Q.length>0&&!(Q.length===1&&Q[0]==="constructor"),X=b.test(H+"")&&f.names(H).length>0;if(Z||te||X)return!0}return!1}catch{return!1}},isIdentifier:function(H){return x.test(H)},inheritedDataKeys:y,getDataPropertyOrDefault:function(H,Q,Z){if(!f.isES5)return{}.hasOwnProperty.call(H,Q)?H[Q]:void 0;var te=Object.getOwnPropertyDescriptor(H,Q);return te!=null?te.get==null&&te.set==null?te.value:Z:void 0},thrower:function(H){throw H},isArray:f.isArray,asArray:D,notEnumerableProp:w,isPrimitive:g,isObject:function(H){return typeof H=="function"||typeof H=="object"&&H!==null},isError:E,canEvaluate:d,errorObj:p,tryCatch:function(H){return u=H,v},inherits:function(H,Q){var Z={}.hasOwnProperty;function te(){for(var X in this.constructor=H,this.constructor$=Q,Q.prototype)Z.call(Q.prototype,X)&&X.charAt(X.length-1)!=="$"&&(this[X+"$"]=Q.prototype[X])}return te.prototype=Q.prototype,H.prototype=new te,H.prototype},withAppended:function(H,Q){var Z,te=H.length,X=new Array(te+1);for(Z=0;Z10||H[0]>0}(),G.isNode&&G.toFastProperties(r);try{throw new Error}catch(H){G.lastLineError=H}s.exports=G},{"./es5":13}]},{},[4])(4),typeof window<"u"&&window!==null?window.P=window.Promise:typeof self<"u"&&self!==null&&(self.P=self.Promise)}).call(this,n(4),n(0),n(11).setImmediate)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(r,i){if(!i.eol&&r){for(var o=0,a=r.length;o0?(typeof W=="string"||se.objectMode||Object.getPrototypeOf(W)===f.prototype||(W=function(fe){return f.from(fe)}(W)),q?se.endEmitted?V.emit("error",new Error("stream.unshift() after end event")):T(V,se,W,!0):se.ended?V.emit("error",new Error("stream.push() after EOF")):(se.reading=!1,se.decoder&&!re?(W=se.decoder.write(W),se.objectMode||W.length!==0?T(V,se,W,!1):I(V,se)):T(V,se,W,!1))):q||(se.reading=!1)),function(fe){return!fe.ended&&(fe.needReadable||fe.lengthW.highWaterMark&&(W.highWaterMark=function(re){return re>=k?re=k:(re--,re|=re>>>1,re|=re>>>2,re|=re>>>4,re|=re>>>8,re|=re>>>16,re++),re}(V)),V<=W.length?V:W.ended?W.length:(W.needReadable=!0,0))}function D(V){var W=V._readableState;W.needReadable=!1,W.emittedReadable||(v("emitReadable",W.flowing),W.emittedReadable=!0,W.sync?o.nextTick(R,V):R(V))}function R(V){v("emit readable"),V.emit("readable"),Q(V)}function I(V,W){W.readingMore||(W.readingMore=!0,o.nextTick(z,V,W))}function z(V,W){for(var re=W.length;!W.reading&&!W.flowing&&!W.ended&&W.length=W.length?(re=W.decoder?W.buffer.join(""):W.buffer.length===1?W.buffer.head.data:W.buffer.concat(W.length),W.buffer.clear()):re=function(q,ee,ie){var se;return qK.length?K.length:fe;if(le===K.length?J+=K:J+=K.slice(0,fe),(fe-=le)==0){le===K.length?(++B,P.next?j.head=P.next:j.head=j.tail=null):(j.head=P,P.data=K.slice(le));break}++B}return j.length-=B,J}(q,ee):function(fe,j){var P=f.allocUnsafe(fe),B=j.head,J=1;for(B.data.copy(P),fe-=B.data.length;B=B.next;){var K=B.data,le=fe>K.length?K.length:fe;if(K.copy(P,P.length-fe,0,le),(fe-=le)==0){le===K.length?(++J,B.next?j.head=B.next:j.head=j.tail=null):(j.head=B,B.data=K.slice(le));break}++J}return j.length-=J,P}(q,ee),se}(V,W.buffer,W.decoder),re);var re}function te(V){var W=V._readableState;if(W.length>0)throw new Error('"endReadable()" called on non-empty stream');W.endEmitted||(W.ended=!0,o.nextTick(X,W,V))}function X(V,W){V.endEmitted||V.length!==0||(V.endEmitted=!0,W.readable=!1,W.emit("end"))}function $(V,W){for(var re=0,q=V.length;re=W.highWaterMark||W.ended))return v("read: emitReadable",W.length,W.ended),W.length===0&&W.ended?te(this):D(this),null;if((V=A(V,W))===0&&W.ended)return W.length===0&&te(this),null;var q,ee=W.needReadable;return v("need readable",ee),(W.length===0||W.length-V0?Z(V,W):null)===null?(W.needReadable=!0,V=0):W.length-=V,W.length===0&&(W.ended||(W.needReadable=!0),re!==V&&W.ended&&te(this)),q!==null&&this.emit("data",q),q},O.prototype._read=function(V){this.emit("error",new Error("_read() is not implemented"))},O.prototype.pipe=function(V,W){var re=this,q=this._readableState;switch(q.pipesCount){case 0:q.pipes=V;break;case 1:q.pipes=[q.pipes,V];break;default:q.pipes.push(V)}q.pipesCount+=1,v("pipe count=%d opts=%j",q.pipesCount,W);var ee=W&&W.end===!1||V===i.stdout||V===i.stderr?le:ie;function ie(){v("onend"),V.end()}q.endEmitted?o.nextTick(ee):re.once("end",ee),V.on("unpipe",function he(Ee,ue){v("onunpipe"),Ee===re&&ue&&ue.hasUnpiped===!1&&(ue.hasUnpiped=!0,v("cleanup"),V.removeListener("close",J),V.removeListener("finish",K),V.removeListener("drain",se),V.removeListener("error",B),V.removeListener("unpipe",he),re.removeListener("end",ie),re.removeListener("end",le),re.removeListener("data",P),fe=!0,!q.awaitDrain||V._writableState&&!V._writableState.needDrain||se())});var se=function(he){return function(){var Ee=he._readableState;v("pipeOnDrain",Ee.awaitDrain),Ee.awaitDrain&&Ee.awaitDrain--,Ee.awaitDrain===0&&l(he,"data")&&(Ee.flowing=!0,Q(he))}}(re);V.on("drain",se);var fe=!1,j=!1;function P(he){v("ondata"),j=!1,V.write(he)!==!1||j||((q.pipesCount===1&&q.pipes===V||q.pipesCount>1&&$(q.pipes,V)!==-1)&&!fe&&(v("false write response, pause",re._readableState.awaitDrain),re._readableState.awaitDrain++,j=!0),re.pause())}function B(he){v("onerror",he),le(),V.removeListener("error",B),l(V,"error")===0&&V.emit("error",he)}function J(){V.removeListener("finish",K),le()}function K(){v("onfinish"),V.removeListener("close",J),le()}function le(){v("unpipe"),re.unpipe(V)}return re.on("data",P),function(he,Ee,ue){if(typeof he.prependListener=="function")return he.prependListener(Ee,ue);he._events&&he._events[Ee]?s(he._events[Ee])?he._events[Ee].unshift(ue):he._events[Ee]=[ue,he._events[Ee]]:he.on(Ee,ue)}(V,"error",B),V.once("close",J),V.once("finish",K),V.emit("pipe",re),q.flowing||(v("pipe resume"),re.resume()),V},O.prototype.unpipe=function(V){var W=this._readableState,re={hasUnpiped:!1};if(W.pipesCount===0)return this;if(W.pipesCount===1)return V&&V!==W.pipes?this:(V||(V=W.pipes),W.pipes=null,W.pipesCount=0,W.flowing=!1,V&&V.emit("unpipe",this,re),this);if(!V){var q=W.pipes,ee=W.pipesCount;W.pipes=null,W.pipesCount=0,W.flowing=!1;for(var ie=0;ie>5==6?2:v>>4==14?3:v>>3==30?4:v>>6==2?-1:-2}function s(v){var g=this.lastTotal-this.lastNeed,w=function(y,b,x){if((192&b[0])!=128)return y.lastNeed=0,"�";if(y.lastNeed>1&&b.length>1){if((192&b[1])!=128)return y.lastNeed=1,"�";if(y.lastNeed>2&&b.length>2&&(192&b[2])!=128)return y.lastNeed=2,"�"}}(this,v);return w!==void 0?w:this.lastNeed<=v.length?(v.copy(this.lastChar,g,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(v.copy(this.lastChar,g,0,v.length),void(this.lastNeed-=v.length))}function l(v,g){if((v.length-g)%2==0){var w=v.toString("utf16le",g);if(w){var y=w.charCodeAt(w.length-1);if(y>=55296&&y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=v[v.length-2],this.lastChar[1]=v[v.length-1],w.slice(0,-1)}return w}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=v[v.length-1],v.toString("utf16le",g,v.length-1)}function u(v){var g=v&&v.length?this.write(v):"";if(this.lastNeed){var w=this.lastTotal-this.lastNeed;return g+this.lastChar.toString("utf16le",0,w)}return g}function f(v,g){var w=(v.length-g)%3;return w===0?v.toString("base64",g):(this.lastNeed=3-w,this.lastTotal=3,w===1?this.lastChar[0]=v[v.length-1]:(this.lastChar[0]=v[v.length-2],this.lastChar[1]=v[v.length-1]),v.toString("base64",g,v.length-w))}function d(v){var g=v&&v.length?this.write(v):"";return this.lastNeed?g+this.lastChar.toString("base64",0,3-this.lastNeed):g}function p(v){return v.toString(this.encoding)}function m(v){return v&&v.length?this.write(v):""}t.StringDecoder=o,o.prototype.write=function(v){if(v.length===0)return"";var g,w;if(this.lastNeed){if((g=this.fillLast(v))===void 0)return"";w=this.lastNeed,this.lastNeed=0}else w=0;return w=0?(T>0&&(b.lastNeed=T-1),T):--E=0?(T>0&&(b.lastNeed=T-2),T):--E=0?(T>0&&(T===2?T=0:b.lastNeed=T-3),T):0}(this,v,g);if(!this.lastNeed)return v.toString("utf8",g);this.lastTotal=w;var y=v.length-(w-this.lastNeed);return v.copy(this.lastChar,0,y),v.toString("utf8",g,y)},o.prototype.fillLast=function(v){if(this.lastNeed<=v.length)return v.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);v.copy(this.lastChar,this.lastTotal-this.lastNeed,0,v.length),this.lastNeed-=v.length}},function(e,t,n){e.exports=o;var r=n(1),i=n(5);function o(l){if(!(this instanceof o))return new o(l);r.call(this,l),this._transformState={afterTransform:(function(u,f){var d=this._transformState;d.transforming=!1;var p=d.writecb;if(!p)return this.emit("error",new Error("write callback called multiple times"));d.writechunk=null,d.writecb=null,f!=null&&this.push(f),p(u);var m=this._readableState;m.reading=!1,(m.needReadable||m.length-1&&a.push(i[s]);return a},t.trimLeft=String.prototype.trimLeft?function(i){return i.trimLeft()}:function(i){return i.replace(/^\s+/,"")},t.trimRight=String.prototype.trimRight?function(i){return i.trimRight()}:function(i){return i.replace(/\s+$/,"")}}).call(this,n(3).Buffer)},function(e,t,n){var r=this&&this.__extends||function(){var o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,s){a.__proto__=s}||function(a,s){for(var l in s)s.hasOwnProperty(l)&&(a[l]=s[l])};return function(a,s){function l(){this.constructor=a}o(a,s),a.prototype=s===null?Object.create(s):(l.prototype=s.prototype,new l)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=function(o){function a(s,l,u){var f=o.call(this,"Error: "+s+". JSON Line number: "+l+(u?" near: "+u:""))||this;return f.err=s,f.line=l,f.extra=u,f.name="CSV Parse Error",f}return r(a,o),a.column_mismatched=function(s,l){return new a("column_mismatched",s,l)},a.unclosed_quote=function(s,l){return new a("unclosed_quote",s,l)},a.fromJSON=function(s){return new a(s.err,s.line,s.extra)},a.prototype.toJSON=function(){return{err:this.err,line:this.line,extra:this.extra}},a}(Error);t.default=i},function(e,t,n){var r=n(18),i=n(68),o=n(69),a=r?r.toStringTag:void 0;e.exports=function(s){return s==null?s===void 0?"[object Undefined]":"[object Null]":a&&a in Object(s)?i(s):o(s)}},function(e,t){e.exports=function(n,r){return n===r||n!=n&&r!=r}},function(e,t,n){e.exports=n(33)},function(e,t,n){var r=n(34),i=function(o,a){return new r.Converter(o,a)};i.csv=i,i.Converter=r.Converter,e.exports=i},function(e,t,n){(function(r){var i=this&&this.__extends||function(){var m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,g){v.__proto__=g}||function(v,g){for(var w in g)g.hasOwnProperty(w)&&(v[w]=g[w])};return function(v,g){function w(){this.constructor=v}m(v,g),v.prototype=g===null?Object.create(g):(w.prototype=g.prototype,new w)}}(),o=this&&this.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(36),s=n(50),l=n(51),u=o(n(15)),f=n(52),d=n(105),p=function(m){function v(g,w){w===void 0&&(w={});var y=m.call(this,w)||this;return y.options=w,y.params=s.mergeParams(g),y.runtime=l.initParseRuntime(y),y.result=new d.Result(y),y.processor=new f.ProcessorLocal(y),y.once("error",function(b){r(function(){y.result.processError(b),y.emit("done",b)})}),y.once("done",function(){y.processor.destroy()}),y}return i(v,m),v.prototype.preRawData=function(g){return this.runtime.preRawDataHook=g,this},v.prototype.preFileLine=function(g){return this.runtime.preFileLineHook=g,this},v.prototype.subscribe=function(g,w,y){return this.parseRuntime.subscribe={onNext:g,onError:w,onCompleted:y},this},v.prototype.fromFile=function(g,w){var y=this,b=n(!function(){var x=new Error("Cannot find module 'fs'");throw x.code="MODULE_NOT_FOUND",x}());return b.exists(g,function(x){x?b.createReadStream(g,w).pipe(y):y.emit("error",new Error("File does not exist. Check to make sure the file path to your csv is correct."))}),this},v.prototype.fromStream=function(g){return g.pipe(this),this},v.prototype.fromString=function(g){g.toString();var w=new a.Readable,y=0;return w._read=function(b){if(y>=g.length)this.push(null);else{var x=g.substr(y,b);this.push(x),y+=b}},this.fromStream(w)},v.prototype.then=function(g,w){var y=this;return new u.default(function(b,x){y.parseRuntime.then={onfulfilled:function(O){b(g?g(O):O)},onrejected:function(O){w?b(w(O)):x(O)}}})},Object.defineProperty(v.prototype,"parseParam",{get:function(){return this.params},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"parseRuntime",{get:function(){return this.runtime},enumerable:!0,configurable:!0}),v.prototype._transform=function(g,w,y){var b=this;this.processor.process(g).then(function(x){if(x.length>0)return b.runtime.started=!0,b.result.processResult(x)}).then(function(){b.emit("drained"),y()},function(x){b.runtime.hasError=!0,b.runtime.error=x,b.emit("error",x),y()})},v.prototype._flush=function(g){var w=this;this.processor.flush().then(function(y){if(y.length>0)return w.result.processResult(y)}).then(function(){w.processEnd(g)},function(y){w.emit("error",y),g()})},v.prototype.processEnd=function(g){this.result.endProcess(),this.emit("done"),g()},Object.defineProperty(v.prototype,"parsedLineNumber",{get:function(){return this.runtime.parsedLineNumber},enumerable:!0,configurable:!0}),v}(a.Transform);t.Converter=p}).call(this,n(11).setImmediate)},function(e,t,n){(function(r,i){(function(o,a){if(!o.setImmediate){var s,l=1,u={},f=!1,d=o.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(o);p=p&&p.setTimeout?p:o,{}.toString.call(o.process)==="[object process]"?s=function(g){i.nextTick(function(){v(g)})}:function(){if(o.postMessage&&!o.importScripts){var g=!0,w=o.onmessage;return o.onmessage=function(){g=!1},o.postMessage("","*"),o.onmessage=w,g}}()?function(){var g="setImmediate$"+Math.random()+"$",w=function(y){y.source===o&&typeof y.data=="string"&&y.data.indexOf(g)===0&&v(+y.data.slice(g.length))};o.addEventListener?o.addEventListener("message",w,!1):o.attachEvent("onmessage",w),s=function(y){o.postMessage(g+y,"*")}}():o.MessageChannel?function(){var g=new MessageChannel;g.port1.onmessage=function(w){v(w.data)},s=function(w){g.port2.postMessage(w)}}():d&&"onreadystatechange"in d.createElement("script")?function(){var g=d.documentElement;s=function(w){var y=d.createElement("script");y.onreadystatechange=function(){v(w),y.onreadystatechange=null,g.removeChild(y),y=null},g.appendChild(y)}}():s=function(g){setTimeout(v,0,g)},p.setImmediate=function(g){typeof g!="function"&&(g=new Function(""+g));for(var w=new Array(arguments.length-1),y=0;y"u"?r===void 0?this:r:self)}).call(this,n(0),n(4))},function(e,t,n){e.exports=i;var r=n(12).EventEmitter;function i(){r.call(this)}n(2)(i,r),i.Readable=n(13),i.Writable=n(46),i.Duplex=n(47),i.Transform=n(48),i.PassThrough=n(49),i.Stream=i,i.prototype.pipe=function(o,a){var s=this;function l(g){o.writable&&o.write(g)===!1&&s.pause&&s.pause()}function u(){s.readable&&s.resume&&s.resume()}s.on("data",l),o.on("drain",u),o._isStdio||a&&a.end===!1||(s.on("end",d),s.on("close",p));var f=!1;function d(){f||(f=!0,o.end())}function p(){f||(f=!0,typeof o.destroy=="function"&&o.destroy())}function m(g){if(v(),r.listenerCount(this,"error")===0)throw g}function v(){s.removeListener("data",l),o.removeListener("drain",u),s.removeListener("end",d),s.removeListener("close",p),s.removeListener("error",m),o.removeListener("error",m),s.removeListener("end",v),s.removeListener("close",v),o.removeListener("close",v)}return s.on("error",m),o.on("error",m),s.on("end",v),s.on("close",v),o.on("close",v),o.emit("pipe",s),o}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(r){return n.call(r)=="[object Array]"}},function(e,t,n){t.byteLength=function(p){var m=u(p),v=m[0],g=m[1];return 3*(v+g)/4-g},t.toByteArray=function(p){for(var m,v=u(p),g=v[0],w=v[1],y=new o(3*(g+w)/4-w),b=0,x=w>0?g-4:g,O=0;O>16&255,y[b++]=m>>8&255,y[b++]=255&m;return w===2&&(m=i[p.charCodeAt(O)]<<2|i[p.charCodeAt(O+1)]>>4,y[b++]=255&m),w===1&&(m=i[p.charCodeAt(O)]<<10|i[p.charCodeAt(O+1)]<<4|i[p.charCodeAt(O+2)]>>2,y[b++]=m>>8&255,y[b++]=255&m),y},t.fromByteArray=function(p){for(var m,v=p.length,g=v%3,w=[],y=0,b=v-g;yb?b:y+16383));return g===1?(m=p[v-1],w.push(r[m>>2]+r[m<<4&63]+"==")):g===2&&(m=(p[v-2]<<8)+p[v-1],w.push(r[m>>10]+r[m>>4&63]+r[m<<2&63]+"=")),w.join("")};for(var r=[],i=[],o=typeof Uint8Array<"u"?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var v=p.indexOf("=");return v===-1&&(v=m),[v,v===m?0:4-v%4]}function f(p){return r[p>>18&63]+r[p>>12&63]+r[p>>6&63]+r[63&p]}function d(p,m,v){for(var g,w=[],y=m;y>1,p=-7,m=i?a-1:0,v=i?-1:1,g=n[r+m];for(m+=v,s=g&(1<<-p)-1,g>>=-p,p+=u;p>0;s=256*s+n[r+m],m+=v,p-=8);for(l=s&(1<<-p)-1,s>>=-p,p+=o;p>0;l=256*l+n[r+m],m+=v,p-=8);if(s===0)s=1-d;else{if(s===f)return l?NaN:1/0*(g?-1:1);l+=Math.pow(2,o),s-=d}return(g?-1:1)*l*Math.pow(2,s-o)},t.write=function(n,r,i,o,a,s){var l,u,f,d=8*s-a-1,p=(1<>1,v=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=o?0:s-1,w=o?1:-1,y=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,l=p):(l=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-l))<1&&(l--,f*=2),(r+=l+m>=1?v/f:v*Math.pow(2,1-m))*f>=2&&(l++,f/=2),l+m>=p?(u=0,l=p):l+m>=1?(u=(r*f-1)*Math.pow(2,a),l+=m):(u=r*Math.pow(2,m-1)*Math.pow(2,a),l=0));a>=8;n[i+g]=255&u,g+=w,u/=256,a-=8);for(l=l<0;n[i+g]=255&l,g+=w,l/=256,d-=8);n[i+g-w]|=128*y}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(r){return n.call(r)=="[object Array]"}},function(e,t){},function(e,t,n){var r=n(7).Buffer,i=n(43);function o(a,s,l){a.copy(s,l)}e.exports=function(){function a(){(function(s,l){if(!(s instanceof l))throw new TypeError("Cannot call a class as a function")})(this,a),this.head=null,this.tail=null,this.length=0}return a.prototype.push=function(s){var l={data:s,next:null};this.length>0?this.tail.next=l:this.head=l,this.tail=l,++this.length},a.prototype.unshift=function(s){var l={data:s,next:this.head};this.length===0&&(this.tail=l),this.head=l,++this.length},a.prototype.shift=function(){if(this.length!==0){var s=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,s}},a.prototype.clear=function(){this.head=this.tail=null,this.length=0},a.prototype.join=function(s){if(this.length===0)return"";for(var l=this.head,u=""+l.data;l=l.next;)u+=s+l.data;return u},a.prototype.concat=function(s){if(this.length===0)return r.alloc(0);if(this.length===1)return this.head.data;for(var l=r.allocUnsafe(s>>>0),u=this.head,f=0;u;)o(u.data,l,f),f+=u.data.length,u=u.next;return l},a}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var a=i.inspect({length:this.length});return this.constructor.name+" "+a})},function(e,t){},function(e,t,n){(function(r){function i(o){try{if(!r.localStorage)return!1}catch{return!1}var a=r.localStorage[o];return a!=null&&String(a).toLowerCase()==="true"}e.exports=function(o,a){if(i("noDeprecation"))return o;var s=!1;return function(){if(!s){if(i("throwDeprecation"))throw new Error(a);i("traceDeprecation")?console.trace(a):console.warn(a),s=!0}return o.apply(this,arguments)}}}).call(this,n(0))},function(e,t,n){e.exports=o;var r=n(27),i=n(5);function o(a){if(!(this instanceof o))return new o(a);r.call(this,a)}i.inherits=n(2),i.inherits(o,r),o.prototype._transform=function(a,s,l){l(null,a)}},function(e,t,n){e.exports=n(14)},function(e,t,n){e.exports=n(1)},function(e,t,n){e.exports=n(13).Transform},function(e,t,n){e.exports=n(13).PassThrough},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.mergeParams=function(r){var i={delimiter:",",ignoreColumns:void 0,includeColumns:void 0,quote:'"',trim:!0,checkType:!1,ignoreEmpty:!1,noheader:!1,headers:void 0,flatKeys:!1,maxRowLength:0,checkColumn:!1,escape:'"',colParser:{},eol:void 0,alwaysSplitAtEOL:!1,output:"json",nullObject:!1,downstreamFormat:"line",needEmitAll:!0};for(var o in r||(r={}),r)r.hasOwnProperty(o)&&(Array.isArray(r[o])?i[o]=[].concat(r[o]):i[o]=r[o]);return i}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.initParseRuntime=function(r){var i=r.parseParam,o={needProcessIgnoreColumn:!1,needProcessIncludeColumn:!1,selectedColumns:void 0,ended:!1,hasError:!1,error:void 0,delimiter:r.parseParam.delimiter,eol:r.parseParam.eol,columnConv:[],headerType:[],headerTitle:[],headerFlag:[],headers:void 0,started:!1,parsedLineNumber:0,columnValueSetter:[]};return i.ignoreColumns&&(o.needProcessIgnoreColumn=!0),i.includeColumns&&(o.needProcessIncludeColumn=!0),o}},function(e,t,n){(function(r){var i=this&&this.__extends||function(){var w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,b){y.__proto__=b}||function(y,b){for(var x in b)b.hasOwnProperty(x)&&(y[x]=b[x])};return function(y,b){function x(){this.constructor=y}w(y,b),y.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)}}(),o=this&&this.__importDefault||function(w){return w&&w.__esModule?w:{default:w}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(53),s=o(n(15)),l=n(54),u=o(n(16)),f=n(57),d=n(28),p=n(58),m=o(n(59)),v=o(n(29)),g=function(w){function y(){var b=w!==null&&w.apply(this,arguments)||this;return b.rowSplit=new p.RowSplit(b.converter),b.eolEmitted=!1,b._needEmitEol=void 0,b.headEmitted=!1,b._needEmitHead=void 0,b}return i(y,w),y.prototype.flush=function(){var b=this;if(this.runtime.csvLineBuffer&&this.runtime.csvLineBuffer.length>0){var x=this.runtime.csvLineBuffer;return this.runtime.csvLineBuffer=void 0,this.process(x,!0).then(function(O){return b.runtime.csvLineBuffer&&b.runtime.csvLineBuffer.length>0?s.default.reject(v.default.unclosed_quote(b.runtime.parsedLineNumber,b.runtime.csvLineBuffer.toString())):s.default.resolve(O)})}return s.default.resolve([])},y.prototype.destroy=function(){return s.default.resolve()},Object.defineProperty(y.prototype,"needEmitEol",{get:function(){return this._needEmitEol===void 0&&(this._needEmitEol=this.converter.listeners("eol").length>0),this._needEmitEol},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"needEmitHead",{get:function(){return this._needEmitHead===void 0&&(this._needEmitHead=this.converter.listeners("header").length>0),this._needEmitHead},enumerable:!0,configurable:!0}),y.prototype.process=function(b,x){var O,E=this;return x===void 0&&(x=!1),O=x?b.toString():l.prepareData(b,this.converter.parseRuntime),s.default.resolve().then(function(){return E.runtime.preRawDataHook?E.runtime.preRawDataHook(O):O}).then(function(T){return T&&T.length>0?E.processCSV(T,x):s.default.resolve([])})},y.prototype.processCSV=function(b,x){var O=this,E=this.params,T=this.runtime;T.eol||u.default(b,T),this.needEmitEol&&!this.eolEmitted&&T.eol&&(this.converter.emit("eol",T.eol),this.eolEmitted=!0),E.ignoreEmpty&&!T.started&&(b=d.trimLeft(b));var k=f.stringToLines(b,T);return x?(k.lines.push(k.partial),k.partial=""):this.prependLeftBuf(d.bufFromString(k.partial)),k.lines.length>0?(T.preFileLineHook?this.runPreLineHook(k.lines):s.default.resolve(k.lines)).then(function(A){return T.started||O.runtime.headers?O.processCSVBody(A):O.processDataWithHead(A)}):s.default.resolve([])},y.prototype.processDataWithHead=function(b){if(this.params.noheader)this.params.headers?this.runtime.headers=this.params.headers:this.runtime.headers=[];else{for(var x="",O=[];b.length;){var E=x+b.shift(),T=this.rowSplit.parse(E);if(T.closed){O=T.cells,x="";break}x=E+u.default(E,this.runtime)}if(this.prependLeftBuf(d.bufFromString(x)),O.length===0)return[];this.params.headers?this.runtime.headers=this.params.headers:this.runtime.headers=O}return(this.runtime.needProcessIgnoreColumn||this.runtime.needProcessIncludeColumn)&&this.filterHeader(),this.needEmitHead&&!this.headEmitted&&(this.converter.emit("header",this.runtime.headers),this.headEmitted=!0),this.processCSVBody(b)},y.prototype.filterHeader=function(){if(this.runtime.selectedColumns=[],this.runtime.headers){for(var b=this.runtime.headers,x=0;x=k.length)R();else if(A.preFileLineHook){var I=k[D],z=A.preFileLineHook(I,A.parsedLineNumber+D);if(D++,z&&z.then)z.then(function(G){k[D-1]=G,T(k,A,D,R)});else{for(k[D-1]=z;D0?r.concat([d.csvLineBuffer,f]):f}(a,s);s.csvLineBuffer=void 0;var u=function(f,d){var p=f.length-1;if(128&f[p]){for(;(192&f[p])==128;)p--;p--}return p!=f.length-1?(d.csvLineBuffer=f.slice(p+1),f.slice(0,p+1)):f}(l,s).toString("utf8");return s.started===!1?o.default(u):u}}).call(this,n(3).Buffer)},function(e,t,n){(function(r){var i=n(56);e.exports=function(o){return typeof o=="string"&&o.charCodeAt(0)===65279?o.slice(1):r.isBuffer(o)&&i(o)&&o[0]===239&&o[1]===187&&o[2]===191?o.slice(3):o}}).call(this,n(3).Buffer)},function(e,t){e.exports=function(n){for(var r=0;r0),this._needEmitDelimiter},enumerable:!0,configurable:!0}),l.prototype.parse=function(u){if(u.length===0||this.conv.parseParam.ignoreEmpty&&u.trim().length===0)return{cells:[],closed:!0};var f=this.quote,d=this.trim;this.escape,(this.conv.parseRuntime.delimiter instanceof Array||this.conv.parseRuntime.delimiter.toLowerCase()==="auto")&&(this.conv.parseRuntime.delimiter=this.getDelimiter(u)),this.needEmitDelimiter&&!this.delimiterEmitted&&(this.conv.emit("delimiter",this.conv.parseRuntime.delimiter),this.delimiterEmitted=!0);var p=this.conv.parseRuntime.delimiter,m=u.split(p);if(f==="off"){if(d)for(var v=0;vd&&(p=m,d=v)}),p},l.prototype.isQuoteOpen=function(u){var f=this.quote,d=this.escape;return u[0]===f&&(u[1]!==f||u[1]===d&&(u[2]===f||u.length===2))},l.prototype.isQuoteClose=function(u){var f=this.quote,d=this.escape;this.conv.parseParam.trim&&(u=o.trimRight(u));for(var p=0,m=u.length-1;u[m]===f||u[m]===d;)m--,p++;return p%2!=0},l.prototype.escapeQuote=function(u){var f="es|"+this.quote+"|"+this.escape;this.cachedRegExp[f]===void 0&&(this.cachedRegExp[f]=new RegExp("\\"+this.escape+"\\"+this.quote,"g"));var d=this.cachedRegExp[f];return u.replace(d,this.quote)},l.prototype.parseMultiLines=function(u){for(var f=[],d="";u.length;){var p=d+u.shift(),m=this.parse(p);m.cells.length===0&&this.conv.parseParam.ignoreEmpty||(m.closed||this.conv.parseParam.alwaysSplitAtEOL?(this.conv.parseRuntime.selectedColumns?f.push(o.filterArray(m.cells,this.conv.parseRuntime.selectedColumns)):f.push(m.cells),d=""):d=p+(i.default(p,this.conv.parseRuntime)||` +`))}return{rowsCells:f,partial:d}},l}();t.RowSplit=s},function(e,t,n){var r=this&&this.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};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(y,b,x){if(b.parseParam.checkColumn&&b.parseRuntime.headers&&y.length!==b.parseRuntime.headers.length)throw i.default.column_mismatched(b.parseRuntime.parsedLineNumber+x);return function(O,E,T){for(var k=!1,A={},D=0,R=O.length;D-1){for(var T=b.split("."),k=!0;T.length>0;)if(T.shift().length===0){k=!1;break}!k||O.parseParam.colParser[b]&&O.parseParam.colParser[b].flat?O.parseRuntime.columnValueSetter[E]=d:O.parseRuntime.columnValueSetter[E]=p}else O.parseRuntime.columnValueSetter[E]=d;O.parseParam.nullObject===!0&&x==="null"&&(x=null),O.parseRuntime.columnValueSetter[E](y,b,x)}function d(y,b,x){y[b]=x}function p(y,b,x){o.default(y,b,x)}function m(y,b,x,O){return O.parseRuntime.headerType[x]?O.parseRuntime.headerType[x]:b.indexOf("number#!")>-1?O.parseRuntime.headerType[x]=v:b.indexOf("string#!")>-1?O.parseRuntime.headerType[x]=g:O.parseParam.checkType?O.parseRuntime.headerType[x]=w:O.parseRuntime.headerType[x]=g}function v(y){var b=parseFloat(y);return isNaN(b)?y:b}function g(y){return y.toString()}function w(y){var b=y.trim();return b===""?g(y):a.test(b)?v(y):b.length===5&&b.toLowerCase()==="false"||b.length===4&&b.toLowerCase()==="true"?function(x){var O=x.trim();return O.length!==5||O.toLowerCase()!=="false"}(y):b[0]==="{"&&b[b.length-1]==="}"||b[0]==="["&&b[b.length-1]==="]"?function(x){try{return JSON.parse(x)}catch{return x}}(y):g(y)}},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(l,u,f,d){if(!a(l))return l;for(var p=-1,m=(u=i(u,l)).length,v=m-1,g=l;g!=null&&++p-1}},function(e,t,n){var r=n(9);e.exports=function(i,o){var a=this.__data__,s=r(a,i);return s<0?(++this.size,a.push([i,o])):a[s][1]=o,this}},function(e,t,n){var r=n(17)(n(19),"Map");e.exports=r},function(e,t,n){var r=n(10);e.exports=function(i){var o=r(this,i).delete(i);return this.size-=o?1:0,o}},function(e,t){e.exports=function(n){var r=typeof n;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?n!=="__proto__":n===null}},function(e,t,n){var r=n(10);e.exports=function(i){return r(this,i).get(i)}},function(e,t,n){var r=n(10);e.exports=function(i){return r(this,i).has(i)}},function(e,t,n){var r=n(10);e.exports=function(i,o){var a=r(this,i),s=a.size;return a.set(i,o),this.size+=a.size==s?0:1,this}},function(e,t,n){var r=n(101);e.exports=function(i){return i==null?"":r(i)}},function(e,t,n){var r=n(18),i=n(102),o=n(21),a=n(22),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function u(f){if(typeof f=="string")return f;if(o(f))return i(f,u)+"";if(a(f))return l?l.call(f):"";var d=f+"";return d=="0"&&1/f==-1/0?"-0":d}},function(e,t){e.exports=function(n,r){for(var i=-1,o=n==null?0:n.length,a=Array(o);++i-1&&r%1==0&&r0||this.converter.listeners("readable").length>0),this._needPushDownstream},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"needEmitAll",{get:function(){return!!this.converter.parseRuntime.then&&this.converter.parseParam.needEmitAll},enumerable:!0,configurable:!0}),l.prototype.processResult=function(u){var f=this,d=this.converter.parseRuntime.parsedLineNumber;return this.needPushDownstream&&this.converter.parseParam.downstreamFormat==="array"&&d===0&&s(this.converter,"["+o.EOL),new i.default(function(p,m){f.needEmitLine?function v(g,w,y,b,x){if(y>=g.length)x();else if(w.parseRuntime.subscribe&&w.parseRuntime.subscribe.onNext){var O=w.parseRuntime.subscribe.onNext,E=g[y],T=O(E,w.parseRuntime.parsedLineNumber+y);if(y++,T&&T.then)T.then(function(){(function(A,D,R,I,z,G,H){z&&s(R,H),v(A,R,I,z,G)})(g,0,w,y,b,x,E)},x);else{for(b&&s(w,E);ynew Promise(t=>{Zze().fromString(e).then(t)}),Qze=new qze,Jze=e=>Qze.parse(e),eVe="shlink",R8=e=>`${eVe}.${e}`;class tVe{constructor(t){Zu(this,"get",t=>{const n=this.localStorage.getItem(R8(t));return n?JSON.parse(n):void 0});Zu(this,"set",(t,n)=>this.localStorage.setItem(R8(t),JSON.stringify(n)));this.localStorage=t}}class nVe{constructor(t){this.storage=t}getTagColors(){return this.storage.get("colors")??{}}storeTagColors(t){this.storage.set("colors",t)}}const rVe=e=>{e.constant("localStorage",window.localStorage),e.service("Storage",tVe,"localStorage"),e.service("TagColorsStorage",nVe,"Storage"),e.constant("csvToJson",Xze),e.constant("jsonToCsv",Jze),e.serviceFactory("useTimeoutToggle",()=>xB)},$u=new EQ,{container:WA}=$u,iVe=(e,t)=>(...n)=>e[t](...n),oVe=(e,t)=>({...e,[t]:iVe(WA,t)}),aVe=e=>t=>Object.fromEntries(e.map(n=>[n,t[n]])),Lw=(e,t=[])=>n$(e?aVe(e):null,t.reduce(oVe,{}));Lfe($u,Lw);E9e($u,Lw);zQ($u);mze($u,Lw);rVe($u);Bze($u,Lw);var YA={},YC={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 u=[],f=0;f$.length)&&(V=$.length);for(var W=0,re=Array(V);WHj({appUpdated:Mfe,servers:X9e,selectedServer:e.selectedServerReducer,settings:jze}),uVe=e=>{var t;return e.settings&&((t=e.settings.visits)==null?void 0:t.defaultInterval)==="last180days"&&e.settings.visits&&(e.settings.visits.defaultInterval="last180Days"),e},cVe=!0,bY={states:["settings","servers"],namespace:"shlink",namespaceSeparator:".",debounce:300},fVe=uVe(YA.load(bY)),dVe=e=>VB({devTools:!cVe,reducer:lVe(e),preloadedState:fVe,middleware:t=>t({immutableCheck:!1,serializableCheck:!1}).concat(YA.save(bY))}),pVe=!!(window.location.hostname==="localhost"||window.location.hostname==="[::1]"||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));function hVe(e){if("serviceWorker"in navigator){if(new URL(l0.homepage,window.location.href).origin!==window.location.origin)return;window.addEventListener("load",()=>{const n=`${l0.homepage}/service-worker.js`;pVe?(mVe(n,e),navigator.serviceWorker.ready.then(()=>{console.log("This web app is being served cache-first by a service worker. To learn more, visit https://cra.link/PWA")})):_Y(n,e)})}}function _Y(e,t){navigator.serviceWorker.register(e).then(n=>{n.onupdatefound=()=>{const r=n.installing;r!=null&&(r.onstatechange=()=>{r.state==="installed"&&(navigator.serviceWorker.controller?(console.log("New content is available and will be used when all tabs for this page are closed. See https://cra.link/PWA."),t&&t.onUpdate&&t.onUpdate(n)):(console.log("Content is cached for offline use."),t&&t.onSuccess&&t.onSuccess(n)))})}}).catch(n=>{console.error("Error during service worker registration:",n)})}function mVe(e,t){fetch(e,{headers:{"Service-Worker":"script"}}).then(n=>{const r=n.headers.get("content-type");n.status===404||r!=null&&r.indexOf("javascript")===-1?navigator.serviceWorker.ready.then(i=>{i.unregister().then(()=>{window.location.reload()})}):_Y(e,t)}).catch(()=>{console.log("No internet connection found. App is running in offline mode.")})}const wY=dVe(WA),{App:vVe,ScrollToTop:gVe,ErrorHandler:yVe,appUpdateAvailable:bVe}=WA;KU(document.getElementById("root")).render(_.jsx(r$,{store:wY,children:_.jsx(p$,{basename:l0.homepage,children:_.jsx(yVe,{children:_.jsx(gVe,{children:_.jsx(vVe,{})})})})}));hVe({onUpdate(){wY.dispatch(bVe())}}); diff --git a/dependabot/docker/node-21.6-alpine/assets/index-oITpymb_.css b/dependabot/docker/node-21.6-alpine/assets/index-oITpymb_.css new file mode 100644 index 00000000..b4b8ab52 --- /dev/null +++ b/dependabot/docker/node-21.6-alpine/assets/index-oITpymb_.css @@ -0,0 +1,6 @@ +@charset "UTF-8";.app-update-banner.app-update-banner{position:absolute;left:50%;transform:translate(-50%);position:fixed;top:31px;padding:0 4rem 0 0;z-index:1040;margin:0;color:var(--text-color);text-align:center;width:700px;max-width:calc(100% - 30px);box-shadow:0 0 1rem var(--brand-color)}.app-container{height:100%}.app{padding-top:56px;height:100%}.shlink-wrapper{min-height:100%;padding-bottom:3.1rem;margin-bottom:-3.1rem}.shlink-footer{height:2.3rem;margin-top:.8rem;padding:0}@media (min-width: 768px){.shlink-footer{padding:0 15px}}.servers-list__list-group.servers-list__list-group{width:100%}.servers-list__list-group:not(.servers-list__list-group--embedded){max-width:400px;box-shadow:0 .125rem .25rem #00000013}.servers-list__server-item.servers-list__server-item{text-align:left;position:relative;padding:.75rem 2.5rem .75rem 1rem}.servers-list__server-item:not(:hover){color:#4696e5}.servers-list__server-item:hover{background-color:var(--secondary-color)}.servers-list__server-item-icon{position:absolute;top:50%;transform:translateY(-50%);right:1rem}.servers-list__list-group--embedded.servers-list__list-group--embedded{border-radius:0;border-top:1px solid var(--border-color)}@media (min-width: 768px){.servers-list__list-group--embedded.servers-list__list-group--embedded{max-height:220px;overflow-x:auto;scrollbar-color:rgba(0,0,0,.2) #f5f5f5;scrollbar-width:thin}.servers-list__list-group--embedded.servers-list__list-group--embedded::-webkit-scrollbar{width:6px;background-color:#f5f5f5}.servers-list__list-group--embedded.servers-list__list-group--embedded::-webkit-scrollbar-thumb{background-color:#0003;border-radius:.5rem}}.servers-list__list-group--embedded.servers-list__list-group--embedded .servers-list__server-item{border:none;border-bottom:1px solid var(--border-color)}.home{position:relative;padding-top:15px;width:100%}@media (min-width: 768px){.home{padding-top:0;height:calc(100vh - 56px - 3.1rem)}}.home__logo-wrapper{padding:1.5rem!important;height:100%!important;min-height:300px}.home__logo{position:absolute;top:50%;transform:translateY(-50%);width:calc(300.024px - 3rem)}.home__main-card{margin:0 auto;max-width:720px}@media (min-width: 768px){.home__main-card{position:absolute;top:50%;transform:translateY(-50%)}}.home__title-wrapper{padding:1.5rem!important;border-bottom:1px solid var(--border-color)}.home__title{text-align:center;font-size:1.75rem;margin:0}@media (min-width: 768px){.home__title{font-size:2.2rem}}@media (min-width: 768px){.home__servers-container{border-left:1px solid var(--border-color)}}.main-header.main-header{color:#fff;background-color:var(--brand-color)!important}.main-header.main-header .navbar-brand{color:inherit!important}.main-header__brand-logo{width:26px;margin-right:5px}.main-header__toggle-icon{width:20px;transition:transform .3s}.main-header__toggle-icon--opened{transform:rotate(180deg)}.shlink-versions-container--with-sidebar{margin-left:0}@media (min-width: 768px){.shlink-versions-container--with-sidebar{margin-left:260px}}.no-menu-wrapper{padding:15px 0 0}@media (min-width: 768px){.no-menu-wrapper{padding:30px 20px 20px}}.server-error__container{text-align:center;display:flex;align-items:center;justify-content:center}.server-error__delete-btn{color:#dc3545;font-weight:inherit}.server-error__delete-btn:hover{text-decoration:underline}.user-interface__theme-icon{float:right;margin-top:.25rem}/*! + * Bootstrap v5.2.3 (https://getbootstrap.com/) + * Copyright 2011-2022 The Bootstrap Authors + * Copyright 2011-2022 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */:root{--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #4696e5;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 70, 150, 229;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg-rgb: 255, 255, 255;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-bg: #fff;--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, .175);--bs-border-radius: .375rem;--bs-border-radius-sm: .25rem;--bs-border-radius-lg: .5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-2xl: 2rem;--bs-border-radius-pill: 50rem;--bs-link-color: #4696e5;--bs-link-hover-color: #3878b7;--bs-code-color: #d63384;--bs-highlight-bg: #fff3cd}*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{margin:1rem 0;color:inherit;border:0;border-top:1px solid;opacity:.25}h6,.h6,h5,.h5,h4,.h4,h3,.h3,h2,.h2,h1,.h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}h1,.h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width: 1200px){h1,.h1{font-size:2.5rem}}h2,.h2{font-size:calc(1.325rem + .9vw)}@media (min-width: 1200px){h2,.h2{font-size:2rem}}h3,.h3{font-size:calc(1.3rem + .6vw)}@media (min-width: 1200px){h3,.h3{font-size:1.75rem}}h4,.h4{font-size:calc(1.275rem + .3vw)}@media (min-width: 1200px){h4,.h4{font-size:1.5rem}}h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{text-decoration:underline dotted;cursor:help;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small,.small{font-size:.875em}mark,.mark{padding:.1875em;background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:var(--bs-link-color);text-decoration:underline}a:hover{color:var(--bs-link-hover-color)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width: 1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-6{font-size:2.5rem}}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid var(--bs-border-color);border-radius:.375rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:#6c757d}.container,.container-fluid,.container-xxl,.container-xl,.container-lg,.container-md,.container-sm{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width: 576px){.container-sm,.container{max-width:540px}}@media (min-width: 768px){.container-md,.container-sm,.container{max-width:720px}}@media (min-width: 992px){.container-lg,.container-md,.container-sm,.container{max-width:960px}}@media (min-width: 1200px){.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1140px}}@media (min-width: 1400px){.container-xxl,.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1320px}}.row{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.6666666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x: 0}.g-0,.gy-0{--bs-gutter-y: 0}.g-1,.gx-1{--bs-gutter-x: .25rem}.g-1,.gy-1{--bs-gutter-y: .25rem}.g-2,.gx-2{--bs-gutter-x: .5rem}.g-2,.gy-2{--bs-gutter-y: .5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-3,.gy-3{--bs-gutter-y: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-4,.gy-4{--bs-gutter-y: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}.g-5,.gy-5{--bs-gutter-y: 3rem}@media (min-width: 576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.6666666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}.g-sm-0,.gy-sm-0{--bs-gutter-y: 0}.g-sm-1,.gx-sm-1{--bs-gutter-x: .25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y: .25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x: .5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y: .5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y: 3rem}}@media (min-width: 768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.6666666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x: 0}.g-md-0,.gy-md-0{--bs-gutter-y: 0}.g-md-1,.gx-md-1{--bs-gutter-x: .25rem}.g-md-1,.gy-md-1{--bs-gutter-y: .25rem}.g-md-2,.gx-md-2{--bs-gutter-x: .5rem}.g-md-2,.gy-md-2{--bs-gutter-y: .5rem}.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}.g-md-3,.gy-md-3{--bs-gutter-y: 1rem}.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}.g-md-5,.gy-md-5{--bs-gutter-y: 3rem}}@media (min-width: 992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.6666666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}.g-lg-0,.gy-lg-0{--bs-gutter-y: 0}.g-lg-1,.gx-lg-1{--bs-gutter-x: .25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y: .25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x: .5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y: .5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y: 3rem}}@media (min-width: 1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}.g-xl-0,.gy-xl-0{--bs-gutter-y: 0}.g-xl-1,.gx-xl-1{--bs-gutter-x: .25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y: .25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x: .5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y: .5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y: 3rem}}@media (min-width: 1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x: 0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y: 0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x: .25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y: .25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x: .5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y: .5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x: 1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y: 1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x: 1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y: 1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x: 3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y: 3rem}}.table{--bs-table-color: var(--bs-body-color);--bs-table-bg: transparent;--bs-table-border-color: var(--bs-border-color);--bs-table-accent-bg: transparent;--bs-table-striped-color: var(--bs-body-color);--bs-table-striped-bg: rgba(0, 0, 0, .05);--bs-table-active-color: var(--bs-body-color);--bs-table-active-bg: rgba(0, 0, 0, .1);--bs-table-hover-color: var(--bs-body-color);--bs-table-hover-bg: rgba(0, 0, 0, .075);width:100%;margin-bottom:1rem;color:var(--bs-table-color);vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;background-color:var(--bs-table-bg);border-bottom-width:1px;box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:2px solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:1px 0}.table-bordered>:not(caption)>*>*{border-width:0 1px}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-accent-bg: var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-accent-bg: var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-active{--bs-table-accent-bg: var(--bs-table-active-bg);color:var(--bs-table-active-color)}.table-hover>tbody>tr:hover>*{--bs-table-accent-bg: var(--bs-table-hover-bg);color:var(--bs-table-hover-color)}.table-primary{--bs-table-color: #000;--bs-table-bg: #daeafa;--bs-table-border-color: #c4d3e1;--bs-table-striped-bg: #cfdeee;--bs-table-striped-color: #000;--bs-table-active-bg: #c4d3e1;--bs-table-active-color: #000;--bs-table-hover-bg: #cad8e7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color: #000;--bs-table-bg: #e2e3e5;--bs-table-border-color: #cbccce;--bs-table-striped-bg: #d7d8da;--bs-table-striped-color: #000;--bs-table-active-bg: #cbccce;--bs-table-active-color: #000;--bs-table-hover-bg: #d1d2d4;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color: #000;--bs-table-bg: #d1e7dd;--bs-table-border-color: #bcd0c7;--bs-table-striped-bg: #c7dbd2;--bs-table-striped-color: #000;--bs-table-active-bg: #bcd0c7;--bs-table-active-color: #000;--bs-table-hover-bg: #c1d6cc;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color: #000;--bs-table-bg: #cff4fc;--bs-table-border-color: #badce3;--bs-table-striped-bg: #c5e8ef;--bs-table-striped-color: #000;--bs-table-active-bg: #badce3;--bs-table-active-color: #000;--bs-table-hover-bg: #bfe2e9;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color: #000;--bs-table-bg: #fff3cd;--bs-table-border-color: #e6dbb9;--bs-table-striped-bg: #f2e7c3;--bs-table-striped-color: #000;--bs-table-active-bg: #e6dbb9;--bs-table-active-color: #000;--bs-table-hover-bg: #ece1be;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color: #000;--bs-table-bg: #f8d7da;--bs-table-border-color: #dfc2c4;--bs-table-striped-bg: #eccccf;--bs-table-striped-color: #000;--bs-table-active-bg: #dfc2c4;--bs-table-active-color: #000;--bs-table-hover-bg: #e5c7ca;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color: #000;--bs-table-bg: #f8f9fa;--bs-table-border-color: #dfe0e1;--bs-table-striped-bg: #ecedee;--bs-table-striped-color: #000;--bs-table-active-bg: #dfe0e1;--bs-table-active-color: #000;--bs-table-hover-bg: #e5e6e7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color: #fff;--bs-table-bg: #212529;--bs-table-border-color: #373b3e;--bs-table-striped-bg: #2c3034;--bs-table-striped-color: #fff;--bs-table-active-bg: #373b3e;--bs-table-active-color: #fff;--bs-table-hover-bg: #323539;--bs-table-hover-color: #fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width: 575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:#6c757d}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:#212529;background-color:#fff;border-color:#a3cbf2;outline:0;box-shadow:0 0 0 .25rem #4696e540}.form-control::-webkit-date-and-time-value{height:1.5em}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled{background-color:#e9ecef;opacity:1}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:#dde0e3}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;border-radius:.25rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;border-radius:.5rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + 2px)}textarea.form-control-sm{min-height:calc(1.5em + .5rem + 2px)}textarea.form-control-lg{min-height:calc(1.5em + 1rem + 2px)}.form-control-color{width:3rem;height:calc(1.5em + .75rem + 2px);padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:.375rem}.form-control-color::-webkit-color-swatch{border-radius:.375rem}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + 2px)}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + 2px)}.form-select{display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;-moz-padding-start:calc(.75rem - 3px);font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:1px solid #ced4da;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion: reduce){.form-select{transition:none}}.form-select:focus{border-color:#a3cbf2;outline:0;box-shadow:0 0 0 .25rem #4696e540}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:#e9ecef}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #212529}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:.25rem}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:.5rem}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:contain;border:1px solid rgba(0,0,0,.25);-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#a3cbf2;outline:0;box-shadow:0 0 0 .25rem #4696e540}.form-check-input:checked{background-color:#4696e5;border-color:#4696e5}.form-check-input:checked[type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#4696e5;border-color:#4696e5;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input[disabled]~.form-check-label,.form-check-input:disabled~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{width:2em;margin-left:-2.5em;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23a3cbf2'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check[disabled]+.btn,.btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}.form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #4696e540}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #4696e540}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#4696e5;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion: reduce){.form-range::-webkit-slider-thumb{transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#c8e0f7}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#4696e5;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion: reduce){.form-range::-moz-range-thumb{transition:none}}.form-range::-moz-range-thumb:active{background-color:#c8e0f7}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.form-range:disabled::-moz-range-thumb{background-color:#adb5bd}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + 2px);line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;width:100%;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:1px solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion: reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control::placeholder,.form-floating>.form-control-plaintext::placeholder{color:transparent}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown),.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill,.form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-control-plaintext~label,.form-floating>.form-select~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:-webkit-autofill~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label{border-width:1px 0}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select,.input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus,.input-group>.form-floating:focus-within{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.375rem}.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text,.input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:.5rem}.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text,.input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:.25rem}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#198754}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:#198754e6;border-radius:.375rem}.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip,.is-valid~.valid-feedback,.is-valid~.valid-tooltip{display:block}.was-validated .form-control:valid,.form-control.is-valid{border-color:#198754;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:valid:focus,.form-control.is-valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem #19875440}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:valid,.form-select.is-valid{border-color:#198754}.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"],.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:valid:focus,.form-select.is-valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem #19875440}.was-validated .form-control-color:valid,.form-control-color.is-valid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:valid,.form-check-input.is-valid{border-color:#198754}.was-validated .form-check-input:valid:checked,.form-check-input.is-valid:checked{background-color:#198754}.was-validated .form-check-input:valid:focus,.form-check-input.is-valid:focus{box-shadow:0 0 0 .25rem #19875440}.was-validated .form-check-input:valid~.form-check-label,.form-check-input.is-valid~.form-check-label{color:#198754}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):valid,.input-group>.form-control:not(:focus).is-valid,.was-validated .input-group>.form-select:not(:focus):valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.input-group>.form-floating:not(:focus-within).is-valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:#dc3545e6;border-radius:.375rem}.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip,.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip{display:block}.was-validated .form-control:invalid,.form-control.is-invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:invalid:focus,.form-control.is-invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem #dc354540}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:invalid,.form-select.is-invalid{border-color:#dc3545}.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"],.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:invalid:focus,.form-select.is-invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem #dc354540}.was-validated .form-control-color:invalid,.form-control-color.is-invalid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:invalid,.form-check-input.is-invalid{border-color:#dc3545}.was-validated .form-check-input:invalid:checked,.form-check-input.is-invalid:checked{background-color:#dc3545}.was-validated .form-check-input:invalid:focus,.form-check-input.is-invalid:focus{box-shadow:0 0 0 .25rem #dc354540}.was-validated .form-check-input:invalid~.form-check-label,.form-check-input.is-invalid~.form-check-label{color:#dc3545}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):invalid,.input-group>.form-control:not(:focus).is-invalid,.was-validated .input-group>.form-select:not(:focus):invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.input-group>.form-floating:not(:focus-within).is-invalid{z-index:4}.btn{--bs-btn-padding-x: .75rem;--bs-btn-padding-y: .375rem;--bs-btn-font-family: ;--bs-btn-font-size: 1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: #212529;--bs-btn-bg: transparent;--bs-btn-border-width: 1px;--bs-btn-border-color: transparent;--bs-btn-border-radius: .375rem;--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity: .65;--bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,:not(.btn-check)+.btn:active,.btn:first-child:active,.btn.active,.btn.show{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,:not(.btn-check)+.btn:active:focus-visible,.btn:first-child:active:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn:disabled,.btn.disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color: #000;--bs-btn-bg: #4696e5;--bs-btn-border-color: #4696e5;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #62a6e9;--bs-btn-hover-border-color: #59a1e8;--bs-btn-focus-shadow-rgb: 60, 128, 195;--bs-btn-active-color: #000;--bs-btn-active-bg: #6babea;--bs-btn-active-border-color: #59a1e8;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #4696e5;--bs-btn-disabled-border-color: #4696e5}.btn-secondary{--bs-btn-color: #fff;--bs-btn-bg: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #5c636a;--bs-btn-hover-border-color: #565e64;--bs-btn-focus-shadow-rgb: 130, 138, 145;--bs-btn-active-color: #fff;--bs-btn-active-bg: #565e64;--bs-btn-active-border-color: #51585e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #6c757d;--bs-btn-disabled-border-color: #6c757d}.btn-success{--bs-btn-color: #fff;--bs-btn-bg: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #157347;--bs-btn-hover-border-color: #146c43;--bs-btn-focus-shadow-rgb: 60, 153, 110;--bs-btn-active-color: #fff;--bs-btn-active-bg: #146c43;--bs-btn-active-border-color: #13653f;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #198754;--bs-btn-disabled-border-color: #198754}.btn-info{--bs-btn-color: #000;--bs-btn-bg: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #31d2f2;--bs-btn-hover-border-color: #25cff2;--bs-btn-focus-shadow-rgb: 11, 172, 204;--bs-btn-active-color: #000;--bs-btn-active-bg: #3dd5f3;--bs-btn-active-border-color: #25cff2;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #0dcaf0;--bs-btn-disabled-border-color: #0dcaf0}.btn-warning{--bs-btn-color: #000;--bs-btn-bg: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffca2c;--bs-btn-hover-border-color: #ffc720;--bs-btn-focus-shadow-rgb: 217, 164, 6;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffcd39;--bs-btn-active-border-color: #ffc720;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #ffc107;--bs-btn-disabled-border-color: #ffc107}.btn-danger{--bs-btn-color: #fff;--bs-btn-bg: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #bb2d3b;--bs-btn-hover-border-color: #b02a37;--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: #b02a37;--bs-btn-active-border-color: #a52834;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #dc3545;--bs-btn-disabled-border-color: #dc3545}.btn-light{--bs-btn-color: #000;--bs-btn-bg: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #d3d4d5;--bs-btn-hover-border-color: #c6c7c8;--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: #c6c7c8;--bs-btn-active-border-color: #babbbc;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #f8f9fa;--bs-btn-disabled-border-color: #f8f9fa}.btn-dark{--bs-btn-color: #fff;--bs-btn-bg: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #424649;--bs-btn-hover-border-color: #373b3e;--bs-btn-focus-shadow-rgb: 66, 70, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: #4d5154;--bs-btn-active-border-color: #373b3e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #212529;--bs-btn-disabled-border-color: #212529}.btn-outline-primary{--bs-btn-color: #4696e5;--bs-btn-border-color: #4696e5;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #4696e5;--bs-btn-hover-border-color: #4696e5;--bs-btn-focus-shadow-rgb: 70, 150, 229;--bs-btn-active-color: #000;--bs-btn-active-bg: #4696e5;--bs-btn-active-border-color: #4696e5;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #4696e5;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #4696e5;--bs-gradient: none}.btn-outline-secondary{--bs-btn-color: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #6c757d;--bs-btn-hover-border-color: #6c757d;--bs-btn-focus-shadow-rgb: 108, 117, 125;--bs-btn-active-color: #fff;--bs-btn-active-bg: #6c757d;--bs-btn-active-border-color: #6c757d;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #6c757d;--bs-gradient: none}.btn-outline-success{--bs-btn-color: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #198754;--bs-btn-hover-border-color: #198754;--bs-btn-focus-shadow-rgb: 25, 135, 84;--bs-btn-active-color: #fff;--bs-btn-active-bg: #198754;--bs-btn-active-border-color: #198754;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #198754;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #198754;--bs-gradient: none}.btn-outline-info{--bs-btn-color: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #0dcaf0;--bs-btn-hover-border-color: #0dcaf0;--bs-btn-focus-shadow-rgb: 13, 202, 240;--bs-btn-active-color: #000;--bs-btn-active-bg: #0dcaf0;--bs-btn-active-border-color: #0dcaf0;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0dcaf0;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0dcaf0;--bs-gradient: none}.btn-outline-warning{--bs-btn-color: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffc107;--bs-btn-hover-border-color: #ffc107;--bs-btn-focus-shadow-rgb: 255, 193, 7;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffc107;--bs-btn-active-border-color: #ffc107;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #ffc107;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #ffc107;--bs-gradient: none}.btn-outline-danger{--bs-btn-color: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #dc3545;--bs-btn-hover-border-color: #dc3545;--bs-btn-focus-shadow-rgb: 220, 53, 69;--bs-btn-active-color: #fff;--bs-btn-active-bg: #dc3545;--bs-btn-active-border-color: #dc3545;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #dc3545;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #dc3545;--bs-gradient: none}.btn-outline-light{--bs-btn-color: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #f8f9fa;--bs-btn-hover-border-color: #f8f9fa;--bs-btn-focus-shadow-rgb: 248, 249, 250;--bs-btn-active-color: #000;--bs-btn-active-bg: #f8f9fa;--bs-btn-active-border-color: #f8f9fa;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #f8f9fa;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #f8f9fa;--bs-gradient: none}.btn-outline-dark{--bs-btn-color: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #212529;--bs-btn-hover-border-color: #212529;--bs-btn-focus-shadow-rgb: 33, 37, 41;--bs-btn-active-color: #fff;--bs-btn-active-bg: #212529;--bs-btn-active-border-color: #212529;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #212529;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #212529;--bs-gradient: none}.btn-link{--bs-btn-font-weight: 400;--bs-btn-color: var(--bs-link-color);--bs-btn-bg: transparent;--bs-btn-border-color: transparent;--bs-btn-hover-color: var(--bs-link-hover-color);--bs-btn-hover-border-color: transparent;--bs-btn-active-color: var(--bs-link-hover-color);--bs-btn-active-border-color: transparent;--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-border-color: transparent;--bs-btn-box-shadow: none;--bs-btn-focus-shadow-rgb: 60, 128, 195;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-lg,.btn-group-lg>.btn{--bs-btn-padding-y: .5rem;--bs-btn-padding-x: 1rem;--bs-btn-font-size: 1.25rem;--bs-btn-border-radius: .5rem}.btn-sm,.btn-group-sm>.btn{--bs-btn-padding-y: .25rem;--bs-btn-padding-x: .5rem;--bs-btn-font-size: .875rem;--bs-btn-border-radius: .25rem}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion: reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion: reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion: reduce){.collapsing.collapse-horizontal{transition:none}}.dropup,.dropend,.dropdown,.dropstart,.dropup-center,.dropdown-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex: 1000;--bs-dropdown-min-width: 10rem;--bs-dropdown-padding-x: 0;--bs-dropdown-padding-y: .5rem;--bs-dropdown-spacer: .125rem;--bs-dropdown-font-size: 1rem;--bs-dropdown-color: #212529;--bs-dropdown-bg: #fff;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-border-radius: .375rem;--bs-dropdown-border-width: 1px;--bs-dropdown-inner-border-radius:calc(.375rem - 1px);--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y: .5rem;--bs-dropdown-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-dropdown-link-color: #212529;--bs-dropdown-link-hover-color: #1e2125;--bs-dropdown-link-hover-bg: #e9ecef;--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #4696e5;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-item-padding-x: 1rem;--bs-dropdown-item-padding-y: .25rem;--bs-dropdown-header-color: #6c757d;--bs-dropdown-header-padding-x: 1rem;--bs-dropdown-header-padding-y: .5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position: start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position: end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width: 576px){.dropdown-menu-sm-start{--bs-position: start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position: end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 768px){.dropdown-menu-md-start{--bs-position: start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position: end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 992px){.dropdown-menu-lg-start{--bs-position: start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position: end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1200px){.dropdown-menu-xl-start{--bs-position: start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position: end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1400px){.dropdown-menu-xxl-start{--bs-position: start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position: end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:hover,.dropdown-item:focus{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color: #dee2e6;--bs-dropdown-bg: #343a40;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color: #dee2e6;--bs-dropdown-link-hover-color: #fff;--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg: rgba(255, 255, 255, .15);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #4696e5;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-header-color: #adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;flex:1 1 auto}.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:.375rem}.btn-group>:not(.btn-check:first-child)+.btn,.btn-group>.btn-group:not(:first-child){margin-left:-1px}.btn-group>.btn:not(:last-child):not(.dropdown-toggle),.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn,.btn-group>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-sm+.dropdown-toggle-split,.btn-group-sm>.btn+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-lg+.dropdown-toggle-split,.btn-group-lg>.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle),.btn-group-vertical>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn~.btn,.btn-group-vertical>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: #6c757d;display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion: reduce){.nav-link{transition:none}}.nav-link:hover,.nav-link:focus{color:var(--bs-nav-link-hover-color)}.nav-link.disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width: 1px;--bs-nav-tabs-border-color: #dee2e6;--bs-nav-tabs-border-radius: .375rem;--bs-nav-tabs-link-hover-border-color: #e9ecef #e9ecef #dee2e6;--bs-nav-tabs-link-active-color: #495057;--bs-nav-tabs-link-active-bg: #fff;--bs-nav-tabs-link-active-border-color: #dee2e6 #dee2e6 #fff;border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));background:none;border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.disabled,.nav-tabs .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius: .375rem;--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #4696e5}.nav-pills .nav-link{background:none;border:0;border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-fill>.nav-link,.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified>.nav-link,.nav-justified .nav-item{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x: 0;--bs-navbar-padding-y: .5rem;--bs-navbar-color: rgba(0, 0, 0, .55);--bs-navbar-hover-color: rgba(0, 0, 0, .7);--bs-navbar-disabled-color: rgba(0, 0, 0, .3);--bs-navbar-active-color: rgba(0, 0, 0, .9);--bs-navbar-brand-padding-y: .3125rem;--bs-navbar-brand-margin-end: 1rem;--bs-navbar-brand-font-size: 1.25rem;--bs-navbar-brand-color: rgba(0, 0, 0, .9);--bs-navbar-brand-hover-color: rgba(0, 0, 0, .9);--bs-navbar-nav-link-padding-x: .5rem;--bs-navbar-toggler-padding-y: .25rem;--bs-navbar-toggler-padding-x: .75rem;--bs-navbar-toggler-font-size: 1.25rem;--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color: rgba(0, 0, 0, .1);--bs-navbar-toggler-border-radius: .375rem;--bs-navbar-toggler-focus-width: .25rem;--bs-navbar-toggler-transition: box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-sm,.navbar>.container-md,.navbar>.container-lg,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x: 0;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-navbar-color);--bs-nav-link-hover-color: var(--bs-navbar-hover-color);--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .show>.nav-link,.navbar-nav .nav-link.active{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:hover,.navbar-text a:focus{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion: reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height, 75vh);overflow-y:auto}@media (min-width: 576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark{--bs-navbar-color: rgba(255, 255, 255, .55);--bs-navbar-hover-color: rgba(255, 255, 255, .75);--bs-navbar-disabled-color: rgba(255, 255, 255, .25);--bs-navbar-active-color: #fff;--bs-navbar-brand-color: #fff;--bs-navbar-brand-hover-color: #fff;--bs-navbar-toggler-border-color: rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y: 1rem;--bs-card-spacer-x: 1rem;--bs-card-title-spacer-y: .5rem;--bs-card-border-width: 1px;--bs-card-border-color: var(--bs-border-color-translucent);--bs-card-border-radius: .375rem;--bs-card-box-shadow: ;--bs-card-inner-border-radius:calc(.375rem - 1px);--bs-card-cap-padding-y: .5rem;--bs-card-cap-padding-x: 1rem;--bs-card-cap-bg: rgba(0, 0, 0, .03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg: #fff;--bs-card-img-overlay-padding: 1rem;--bs-card-group-margin: .75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-top,.card-img-bottom{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width: 576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-img-top,.card-group>.card:not(:last-child) .card-header{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-img-bottom,.card-group>.card:not(:last-child) .card-footer{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-img-top,.card-group>.card:not(:first-child) .card-header{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-img-bottom,.card-group>.card:not(:first-child) .card-footer{border-bottom-left-radius:0}}.accordion{--bs-accordion-color: #212529;--bs-accordion-bg: #fff;--bs-accordion-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;--bs-accordion-border-color: var(--bs-border-color);--bs-accordion-border-width: 1px;--bs-accordion-border-radius: .375rem;--bs-accordion-inner-border-radius:calc(.375rem - 1px);--bs-accordion-btn-padding-x: 1.25rem;--bs-accordion-btn-padding-y: 1rem;--bs-accordion-btn-color: #212529;--bs-accordion-btn-bg: var(--bs-accordion-bg);--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width: 1.25rem;--bs-accordion-btn-icon-transform: rotate(-180deg);--bs-accordion-btn-icon-transition: transform .2s ease-in-out;--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233f87ce'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-focus-border-color: #a3cbf2;--bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(70, 150, 229, .25);--bs-accordion-body-padding-x: 1.25rem;--bs-accordion-body-padding-y: 1rem;--bs-accordion-active-color: #3f87ce;--bs-accordion-active-bg: #edf5fc}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion: reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion: reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:var(--bs-accordion-btn-focus-border-color);outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button,.accordion-flush .accordion-item .accordion-button.collapsed{border-radius:0}.breadcrumb{--bs-breadcrumb-padding-x: 0;--bs-breadcrumb-padding-y: 0;--bs-breadcrumb-margin-bottom: 1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color: #6c757d;--bs-breadcrumb-item-padding-x: .5rem;--bs-breadcrumb-item-active-color: #6c757d;display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x: .75rem;--bs-pagination-padding-y: .375rem;--bs-pagination-font-size: 1rem;--bs-pagination-color: var(--bs-link-color);--bs-pagination-bg: #fff;--bs-pagination-border-width: 1px;--bs-pagination-border-color: #dee2e6;--bs-pagination-border-radius: .375rem;--bs-pagination-hover-color: var(--bs-link-hover-color);--bs-pagination-hover-bg: #e9ecef;--bs-pagination-hover-border-color: #dee2e6;--bs-pagination-focus-color: var(--bs-link-hover-color);--bs-pagination-focus-bg: #e9ecef;--bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(70, 150, 229, .25);--bs-pagination-active-color: #fff;--bs-pagination-active-bg: #4696e5;--bs-pagination-active-border-color: #4696e5;--bs-pagination-disabled-color: #6c757d;--bs-pagination-disabled-bg: #fff;--bs-pagination-disabled-border-color: #dee2e6;display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.page-link.active,.active>.page-link{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.page-link.disabled,.disabled>.page-link{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:-1px}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x: 1.5rem;--bs-pagination-padding-y: .75rem;--bs-pagination-font-size: 1.25rem;--bs-pagination-border-radius: .5rem}.pagination-sm{--bs-pagination-padding-x: .5rem;--bs-pagination-padding-y: .25rem;--bs-pagination-font-size: .875rem;--bs-pagination-border-radius: .25rem}.badge{--bs-badge-padding-x: .65em;--bs-badge-padding-y: .35em;--bs-badge-font-size: .75em;--bs-badge-font-weight: 700;--bs-badge-color: #fff;--bs-badge-border-radius: .375rem;display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg: transparent;--bs-alert-padding-x: 1rem;--bs-alert-padding-y: 1rem;--bs-alert-margin-bottom: 1rem;--bs-alert-color: inherit;--bs-alert-border-color: transparent;--bs-alert-border: 1px solid var(--bs-alert-border-color);--bs-alert-border-radius: .375rem;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color: #2a5a89;--bs-alert-bg: #daeafa;--bs-alert-border-color: #c8e0f7}.alert-primary .alert-link{color:#22486e}.alert-secondary{--bs-alert-color: #41464b;--bs-alert-bg: #e2e3e5;--bs-alert-border-color: #d3d6d8}.alert-secondary .alert-link{color:#34383c}.alert-success{--bs-alert-color: #0f5132;--bs-alert-bg: #d1e7dd;--bs-alert-border-color: #badbcc}.alert-success .alert-link{color:#0c4128}.alert-info{--bs-alert-color: #055160;--bs-alert-bg: #cff4fc;--bs-alert-border-color: #b6effb}.alert-info .alert-link{color:#04414d}.alert-warning{--bs-alert-color: #664d03;--bs-alert-bg: #fff3cd;--bs-alert-border-color: #ffecb5}.alert-warning .alert-link{color:#523e02}.alert-danger{--bs-alert-color: #842029;--bs-alert-bg: #f8d7da;--bs-alert-border-color: #f5c2c7}.alert-danger .alert-link{color:#6a1a21}.alert-light{--bs-alert-color: #636464;--bs-alert-bg: #fefefe;--bs-alert-border-color: #fdfdfe}.alert-light .alert-link{color:#4f5050}.alert-dark{--bs-alert-color: #141619;--bs-alert-bg: #d3d3d4;--bs-alert-border-color: #bcbebf}.alert-dark .alert-link{color:#101214}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress{--bs-progress-height: 1rem;--bs-progress-font-size: .75rem;--bs-progress-bg: #e9ecef;--bs-progress-border-radius: .375rem;--bs-progress-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #4696e5;--bs-progress-bar-transition: width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion: reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion: reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color: #212529;--bs-list-group-bg: #fff;--bs-list-group-border-color: rgba(0, 0, 0, .125);--bs-list-group-border-width: 1px;--bs-list-group-border-radius: .375rem;--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: #495057;--bs-list-group-action-hover-color: #495057;--bs-list-group-action-hover-bg: #f8f9fa;--bs-list-group-action-active-color: #212529;--bs-list-group-action-active-bg: #e9ecef;--bs-list-group-disabled-color: #6c757d;--bs-list-group-disabled-bg: #fff;--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #4696e5;--bs-list-group-active-border-color: #4696e5;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:hover,.list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width: 576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#2a5a89;background-color:#daeafa}.list-group-item-primary.list-group-item-action:hover,.list-group-item-primary.list-group-item-action:focus{color:#2a5a89;background-color:#c4d3e1}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#2a5a89;border-color:#2a5a89}.list-group-item-secondary{color:#41464b;background-color:#e2e3e5}.list-group-item-secondary.list-group-item-action:hover,.list-group-item-secondary.list-group-item-action:focus{color:#41464b;background-color:#cbccce}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#41464b;border-color:#41464b}.list-group-item-success{color:#0f5132;background-color:#d1e7dd}.list-group-item-success.list-group-item-action:hover,.list-group-item-success.list-group-item-action:focus{color:#0f5132;background-color:#bcd0c7}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#0f5132;border-color:#0f5132}.list-group-item-info{color:#055160;background-color:#cff4fc}.list-group-item-info.list-group-item-action:hover,.list-group-item-info.list-group-item-action:focus{color:#055160;background-color:#badce3}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#055160;border-color:#055160}.list-group-item-warning{color:#664d03;background-color:#fff3cd}.list-group-item-warning.list-group-item-action:hover,.list-group-item-warning.list-group-item-action:focus{color:#664d03;background-color:#e6dbb9}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#664d03;border-color:#664d03}.list-group-item-danger{color:#842029;background-color:#f8d7da}.list-group-item-danger.list-group-item-action:hover,.list-group-item-danger.list-group-item-action:focus{color:#842029;background-color:#dfc2c4}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#842029;border-color:#842029}.list-group-item-light{color:#636464;background-color:#fefefe}.list-group-item-light.list-group-item-action:hover,.list-group-item-light.list-group-item-action:focus{color:#636464;background-color:#e5e5e5}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#636464;border-color:#636464}.list-group-item-dark{color:#141619;background-color:#d3d3d4}.list-group-item-dark.list-group-item-action:hover,.list-group-item-dark.list-group-item-action:focus{color:#141619;background-color:#bebebf}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#141619;border-color:#141619}.btn-close{box-sizing:content-box;width:1em;height:1em;padding:.25em;color:#000;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:.5}.btn-close:hover{color:#000;text-decoration:none;opacity:.75}.btn-close:focus{outline:0;box-shadow:0 0 0 .25rem #4696e540;opacity:1}.btn-close:disabled,.btn-close.disabled{pointer-events:none;-webkit-user-select:none;user-select:none;opacity:.25}.btn-close-white{filter:invert(1) grayscale(100%) brightness(200%)}.toast{--bs-toast-zindex: 1090;--bs-toast-padding-x: .75rem;--bs-toast-padding-y: .5rem;--bs-toast-spacing: 1.5rem;--bs-toast-max-width: 350px;--bs-toast-font-size: .875rem;--bs-toast-color: ;--bs-toast-bg: rgba(255, 255, 255, .85);--bs-toast-border-width: 1px;--bs-toast-border-color: var(--bs-border-color-translucent);--bs-toast-border-radius: .375rem;--bs-toast-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-toast-header-color: #6c757d;--bs-toast-header-bg: rgba(255, 255, 255, .85);--bs-toast-header-border-color: rgba(0, 0, 0, .05);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex: 1090;position:absolute;z-index:var(--bs-toast-zindex);width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: ;--bs-modal-bg: #fff;--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: 1px;--bs-modal-border-radius: .5rem;--bs-modal-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-modal-inner-border-radius:calc(.5rem - 1px);--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: 1px;--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: 1px;position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion: reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width: 576px){.modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width: 300px}}@media (min-width: 992px){.modal-lg,.modal-xl{--bs-modal-width: 800px}}@media (min-width: 1200px){.modal-xl{--bs-modal-width: 1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header,.modal-fullscreen .modal-footer{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width: 575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header,.modal-fullscreen-sm-down .modal-footer{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width: 767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header,.modal-fullscreen-md-down .modal-footer{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width: 991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header,.modal-fullscreen-lg-down .modal-footer{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width: 1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header,.modal-fullscreen-xl-down .modal-footer{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width: 1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header,.modal-fullscreen-xxl-down .modal-footer{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex: 1080;--bs-tooltip-max-width: 200px;--bs-tooltip-padding-x: .5rem;--bs-tooltip-padding-y: .25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size: .875rem;--bs-tooltip-color: #fff;--bs-tooltip-bg: #000;--bs-tooltip-border-radius: .375rem;--bs-tooltip-opacity: .9;--bs-tooltip-arrow-width: .8rem;--bs-tooltip-arrow-height: .4rem;z-index:var(--bs-tooltip-zindex);display:block;padding:var(--bs-tooltip-arrow-height);margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-top .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{bottom:0}.bs-tooltip-top .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-end .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow{left:0;width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-end .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-bottom .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{top:0}.bs-tooltip-bottom .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-start .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow{right:0;width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-start .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex: 1070;--bs-popover-max-width: 276px;--bs-popover-font-size: .875rem;--bs-popover-bg: #fff;--bs-popover-border-width: 1px;--bs-popover-border-color: var(--bs-border-color-translucent);--bs-popover-border-radius: .5rem;--bs-popover-inner-border-radius:calc(.5rem - 1px);--bs-popover-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-popover-header-padding-x: 1rem;--bs-popover-header-padding-y: .5rem;--bs-popover-header-font-size: 1rem;--bs-popover-header-color: ;--bs-popover-header-bg: #f0f0f0;--bs-popover-body-padding-x: 1rem;--bs-popover-body-padding-y: 1rem;--bs-popover-body-color: #212529;--bs-popover-arrow-width: 1rem;--bs-popover-arrow-height: .5rem;--bs-popover-arrow-border: var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:before,.popover .popover-arrow:after{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-top>.popover-arrow,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-end>.popover-arrow,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-bottom>.popover-arrow,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-bottom .popover-header:before,.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-start>.popover-arrow,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion: reduce){.carousel-item{transition:none}}.carousel-item.active,.carousel-item-next,.carousel-item-prev{display:block}.carousel-item-next:not(.carousel-item-start),.active.carousel-item-end{transform:translate(100%)}.carousel-item-prev:not(.carousel-item-end),.active.carousel-item-start{transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item.active,.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion: reduce){.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{transition:none}}.carousel-control-prev,.carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion: reduce){.carousel-control-prev,.carousel-control-next{transition:none}}.carousel-control-prev:hover,.carousel-control-prev:focus,.carousel-control-next:hover,.carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-prev-icon,.carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%;list-style:none}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion: reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-prev-icon,.carousel-dark .carousel-control-next-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media (prefers-reduced-motion: reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed: 1.5s}}.offcanvas,.offcanvas-xxl,.offcanvas-xl,.offcanvas-lg,.offcanvas-md,.offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: ;--bs-offcanvas-bg: #fff;--bs-offcanvas-border-width: 1px;--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075)}@media (max-width: 575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 575.98px) and (prefers-reduced-motion: reduce){.offcanvas-sm{transition:none}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.showing,.offcanvas-sm.show:not(.hiding){transform:none}.offcanvas-sm.showing,.offcanvas-sm.hiding,.offcanvas-sm.show{visibility:visible}}@media (min-width: 576px){.offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 767.98px) and (prefers-reduced-motion: reduce){.offcanvas-md{transition:none}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.showing,.offcanvas-md.show:not(.hiding){transform:none}.offcanvas-md.showing,.offcanvas-md.hiding,.offcanvas-md.show{visibility:visible}}@media (min-width: 768px){.offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 991.98px) and (prefers-reduced-motion: reduce){.offcanvas-lg{transition:none}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.showing,.offcanvas-lg.show:not(.hiding){transform:none}.offcanvas-lg.showing,.offcanvas-lg.hiding,.offcanvas-lg.show{visibility:visible}}@media (min-width: 992px){.offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce){.offcanvas-xl{transition:none}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.showing,.offcanvas-xl.show:not(.hiding){transform:none}.offcanvas-xl.showing,.offcanvas-xl.hiding,.offcanvas-xl.show{visibility:visible}}@media (min-width: 1200px){.offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 1399.98px) and (prefers-reduced-motion: reduce){.offcanvas-xxl{transition:none}}@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.showing,.offcanvas-xxl.show:not(.hiding){transform:none}.offcanvas-xxl.showing,.offcanvas-xxl.hiding,.offcanvas-xxl.show{visibility:visible}}@media (min-width: 1400px){.offcanvas-xxl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}@media (prefers-reduced-motion: reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.showing,.offcanvas.show:not(.hiding){transform:none}.offcanvas.showing,.offcanvas.hiding,.offcanvas.show{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y))}.offcanvas-title{margin-bottom:0;line-height:1.5}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#000!important;background-color:RGBA(70,150,229,var(--bs-bg-opacity, 1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(108,117,125,var(--bs-bg-opacity, 1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(25,135,84,var(--bs-bg-opacity, 1))!important}.text-bg-info{color:#000!important;background-color:RGBA(13,202,240,var(--bs-bg-opacity, 1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(255,193,7,var(--bs-bg-opacity, 1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(220,53,69,var(--bs-bg-opacity, 1))!important}.text-bg-light{color:#000!important;background-color:RGBA(248,249,250,var(--bs-bg-opacity, 1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(33,37,41,var(--bs-bg-opacity, 1))!important}.link-primary{color:#4696e5!important}.link-primary:hover,.link-primary:focus{color:#6babea!important}.link-secondary{color:#6c757d!important}.link-secondary:hover,.link-secondary:focus{color:#565e64!important}.link-success{color:#198754!important}.link-success:hover,.link-success:focus{color:#146c43!important}.link-info{color:#0dcaf0!important}.link-info:hover,.link-info:focus{color:#3dd5f3!important}.link-warning{color:#ffc107!important}.link-warning:hover,.link-warning:focus{color:#ffcd39!important}.link-danger{color:#dc3545!important}.link-danger:hover,.link-danger:focus{color:#b02a37!important}.link-light{color:#f8f9fa!important}.link-light:hover,.link-light:focus{color:#f9fafb!important}.link-dark{color:#212529!important}.link-dark:hover,.link-dark:focus{color:#1a1e21!important}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio: 100%}.ratio-4x3{--bs-aspect-ratio: 75%}.ratio-16x9{--bs-aspect-ratio: 56.25%}.ratio-21x9{--bs-aspect-ratio: 42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:sticky;top:0;z-index:1020}.sticky-bottom{position:sticky;bottom:0;z-index:1020}@media (min-width: 576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 768px){.sticky-md-top{position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1400px){.sticky-xxl-top{position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:1px;min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:0 .5rem 1rem #00000026!important}.shadow-sm{box-shadow:0 .125rem .25rem #00000013!important}.shadow-lg{box-shadow:0 1rem 3rem #0000002d!important}.shadow-none{box-shadow:none!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity: 1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity: 1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity: 1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity: 1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity: 1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity: 1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity: 1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-1{--bs-border-width: 1px}.border-2{--bs-border-width: 2px}.border-3{--bs-border-width: 3px}.border-4{--bs-border-width: 4px}.border-5{--bs-border-width: 5px}.border-opacity-10{--bs-border-opacity: .1}.border-opacity-25{--bs-border-opacity: .25}.border-opacity-50{--bs-border-opacity: .5}.border-opacity-75{--bs-border-opacity: .75}.border-opacity-100{--bs-border-opacity: 1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-light{font-weight:300!important}.fw-lighter{font-weight:lighter!important}.fw-normal{font-weight:400!important}.fw-bold{font-weight:700!important}.fw-semibold{font-weight:600!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity: 1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity: 1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity: 1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity: 1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity: 1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity: 1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity: 1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity: 1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity: 1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity: 1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity: 1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity: 1;color:#6c757d!important}.text-black-50{--bs-text-opacity: 1;color:#00000080!important}.text-white-50{--bs-text-opacity: 1;color:#ffffff80!important}.text-reset{--bs-text-opacity: 1;color:inherit!important}.text-opacity-25{--bs-text-opacity: .25}.text-opacity-50{--bs-text-opacity: .5}.text-opacity-75{--bs-text-opacity: .75}.text-opacity-100{--bs-text-opacity: 1}.bg-primary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity: 1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity: 1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity: 1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity: 1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity: 1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity: 1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity: 1;background-color:transparent!important}.bg-opacity-10{--bs-bg-opacity: .1}.bg-opacity-25{--bs-bg-opacity: .25}.bg-opacity-50{--bs-bg-opacity: .5}.bg-opacity-75{--bs-bg-opacity: .75}.bg-opacity-100{--bs-bg-opacity: 1}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-2xl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media (min-width: 576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width: 768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width: 992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width: 1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width: 1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width: 1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}@media (max-width: 991px){.responsive-table__header{display:none}}@media (max-width: 991px){.responsive-table.table>:not(:first-child){border:none}}@media (max-width: 991px){.responsive-table__row{display:block;border-bottom:1px solid var(--border-color);border-top:2px solid var(--border-color);position:relative}.responsive-table__row:not(:last-child){margin-bottom:10px}}.responsive-table__cell.responsive-table__cell{vertical-align:middle!important}@media (max-width: 991px){.responsive-table__cell.responsive-table__cell{display:block;width:100%;position:relative;padding:.5rem;font-size:.9rem}.responsive-table__cell.responsive-table__cell[data-th]:before{content:attr(data-th) ": ";font-weight:700}.responsive-table__cell.responsive-table__cell:last-child{position:absolute;top:3.5px;right:.5rem;width:auto;padding:0;border:none}}@media (max-width: 991px){.responsive-table__cell.responsive-table__cell .btn-sm,.responsive-table__cell.responsive-table__cell .btn-group-sm>.btn{padding:.1rem .4rem;margin-top:.16rem}}html:not([data-theme=dark]){--color-scheme: initial;--primary-color: #ffffff;--primary-color-alfa: rgba(255, 255, 255, .5);--secondary-color: #f5f6fe;--text-color: #232323;--border-color: rgba(0, 0, 0, .125);--active-color: #eeeeee;--brand-color: #4696e5;--input-color: #ffffff;--input-disabled-color: #f5f6fe;--input-border-color: rgba(0, 0, 0, .19);--input-text-color: #495057;--table-border-color: #dee2e6;--table-highlight-color: rgba(0, 0, 0, .075);--btn-close-filter: initial}html[data-theme=dark]{--color-scheme: dark;--primary-color: #161b22;--primary-color-alfa: rgba(22, 27, 34, .8);--secondary-color: #0f131a;--text-color: rgb(201, 209, 217);--border-color: rgba(255, 255, 255, .15);--active-color: #0f131a;--brand-color: #0b2d4e;--input-color: #12161c;--input-disabled-color: #1a2028;--input-border-color: rgba(255, 255, 255, .15);--input-text-color: rgb(201, 209, 217);--table-border-color: #393d43;--table-highlight-color: rgba(255, 255, 255, .15);--btn-close-filter: invert(1)}:root{scroll-behavior:auto;color-scheme:var(--color-scheme)}html,body,#root{height:100%;background:var(--secondary-color);color:var(--text-color)}a,.btn-link{text-decoration:none}a:not(.nav-link):not(.navbar-brand):not(.page-link):not(.highlight-card):not(.btn):not(.dropdown-item):hover,.btn-link:hover{text-decoration:underline}.bg-main{background-color:#4696e5!important}.bg-warning{color:#232323}.card-body,.card-header,.list-group-item{background-color:transparent}.card-footer{background-color:var(--primary-color-alfa)}.card.card{box-shadow:0 .125rem .25rem #00000013;background-color:var(--primary-color);border-color:var(--border-color)}.list-group,.modal-content,.page-link,.page-item.disabled .page-link,.dropdown-menu{background-color:var(--primary-color)}.modal-header.modal-header,.modal-footer.modal-footer,.card-header.card-header,.card-footer.card-footer,.table.table thead th,.table.table th,.table.table td,.page-link.page-link,.page-link.page-link:hover,.page-item.page-item.disabled .page-link.page-link,.dropdown-divider.dropdown-divider,.dropdown-menu.dropdown-menu,.list-group-item.list-group-item,.modal-content.modal-content,hr{border-color:var(--border-color)}.table-bordered,.table-bordered thead th,.table-bordered thead td{border-color:var(--table-border-color)}.page-link:hover,.page-link:focus{background-color:var(--secondary-color)}.page-item.active .page-link{background-color:var(--brand-color);border-color:var(--brand-color)}.pagination .page-link{cursor:pointer}@media (min-width: 1200px){.container-xl{max-width:1320px}}@media (max-width: 767px){.container-xl{padding-right:0;padding-left:0}}.btn-block{display:block;width:100%}.btn-primary,.btn-primary:hover,.btn-primary:active,.btn-primary.active,.btn-outline-primary:hover,.btn-outline-primary:active,.btn-outline-primary.active{color:#fff}.dropdown-item,.dropdown-item-text{color:var(--text-color)}.dropdown-item:not(:disabled){cursor:pointer}.dropdown-item:focus:not(:disabled),.dropdown-item:hover:not(:disabled),.dropdown-item.active:not(:disabled),.dropdown-item:active:not(:disabled){background-color:var(--active-color)!important;color:var(--text-color)!important}.dropdown-item--danger.dropdown-item--danger{color:#dc3545}.dropdown-item--danger.dropdown-item--danger:hover,.dropdown-item--danger.dropdown-item--danger:active,.dropdown-item--danger.dropdown-item--danger.active{color:#dc3545!important}.badge-main{color:#fff;background-color:var(--brand-color)}.close,.close:hover,.table,.table-hover>tbody>tr:hover>*,.table-hover>tbody>tr>*{color:var(--text-color)}.btn-close{filter:var(--btn-close-filter)}.table-hover tbody tr:hover{background-color:var(--secondary-color)}.form-control.form-control,.form-control.form-control:focus{background-color:var(--primary-color);border-color:var(--input-border-color);color:var(--input-text-color)}.form-control.disabled,.form-control:disabled{background-color:var(--input-disabled-color);cursor:not-allowed}.card .form-control:not(:disabled),.card .form-control:not(:disabled):hover{background-color:var(--input-color)}.table-active,.table-active>th,.table-active>td{background-color:var(--table-highlight-color)!important}@media (max-width: 767px){.navbar-brand{margin:0 auto!important}}.indivisible{white-space:nowrap}.pointer{cursor:pointer}.progress-bar{background-color:#4696e5}@media (max-width: 575px){.btn-xs-block{width:100%;display:block}}@media (max-width: 991px){.btn-md-block{width:100%;display:block}}.search-field{position:relative}.search-field:focus-within{z-index:1}.search-field__input.search-field__input{padding-left:40px;padding-right:40px}.search-field__input--no-border.search-field__input--no-border{border:none;border-radius:0}.search-field__icon{position:absolute;top:50%;transform:translateY(-50%);left:15px;color:#6c757d}.search-field__close{position:absolute;top:50%;transform:translateY(-50%);right:10px;cursor:pointer}.dropdown-btn__toggle.dropdown-btn__toggle{text-align:left}.dropdown-btn__toggle.dropdown-btn__toggle--with-caret{padding-right:1.75rem}.dropdown-btn__toggle.dropdown-btn__toggle,.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled).active,.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):active,.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):focus,.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):hover,.show>.dropdown-btn__toggle.dropdown-btn__toggle.dropdown-toggle{color:var(--input-text-color);background-color:var(--primary-color);border-color:var(--input-border-color)}.card .dropdown-btn__toggle.dropdown-btn__toggle,.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled).active,.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):active,.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):focus,.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):hover,.show>.card .dropdown-btn__toggle.dropdown-btn__toggle.dropdown-toggle{background-color:var(--input-color)}.dropdown-btn__toggle.dropdown-btn__toggle.disabled,.dropdown-btn__toggle.dropdown-btn__toggle:disabled{background-color:var(--input-disabled-color)}.dropdown-btn__toggle.dropdown-btn__toggle:after{position:absolute;top:50%;transform:translateY(-50%);right:.75rem}.nav-pills__nav{position:sticky!important;top:55px;z-index:2}.nav-pills__nav-link.nav-pills__nav-link{border-radius:0!important;padding-bottom:calc(.5rem - 3px)!important;border-bottom:3px solid transparent!important;color:#5d6778;font-weight:700;cursor:pointer;text-decoration:none}@media (min-width: 576px) and (max-width: 991px){.nav-pills__nav-link.nav-pills__nav-link{font-size:89%}}.nav-pills__nav-link:hover{color:#4696e5!important}.nav-pills__nav-link.active{border-color:#4696e5!important;background-color:var(--primary-color)!important;color:#4696e5!important}.ordering-dropdown__menu--link.ordering-dropdown__menu--link{min-width:11rem}.ordering-dropdown__sort-icon{margin:3.5px 0 0;float:right}.domains-dropdown__toggle-btn.domains-dropdown__toggle-btn,.domains-dropdown__toggle-btn.domains-dropdown__toggle-btn:hover,.domains-dropdown__toggle-btn.domains-dropdown__toggle-btn:active{color:#6c757d!important}.domains-dropdown__toggle-btn--active.domains-dropdown__toggle-btn--active,.domains-dropdown__toggle-btn--active.domains-dropdown__toggle-btn--active:hover,.domains-dropdown__toggle-btn--active.domains-dropdown__toggle-btn--active:active{color:var(--input-text-color)!important}.domains-dropdown__back-btn.domains-dropdown__back-btn,.domains-dropdown__back-btn.domains-dropdown__back-btn:hover{border-color:var(--border-color)}.highlight-card.highlight-card.highlight-card{text-align:center;border-top:3px solid var(--brand-color);color:inherit;text-decoration:none}.highlight-card__link-icon{position:absolute;right:5px;bottom:5px;opacity:.1;transform:rotate(-45deg)}.highlight-card__title{color:#6c757d}.create-short-url-result__copy-btn{margin-left:10px;vertical-align:inherit}.copy-to-clipboard-icon{cursor:pointer;font-size:1.2rem}.qr-code-modal__img{max-width:100%;box-shadow:0 0 .25rem #0003}.short-urls-visits-count__max-visits-control{cursor:help}.short-url-visits-count__amount{transition:transform .3s ease;display:inline-block}.short-url-visits-count__amount--big{transform:scale(1.5)}.short-url-visits-count__tooltip-list-item:not(:last-child){margin-bottom:.5rem}.tag{color:#fff}.tag--light-bg{color:#222!important}.tag:not(:last-child){margin-right:3px}.tag__close.tag__close{font-size:1.3rem}.short-urls-row__cell.short-urls-row__cell{vertical-align:middle!important}.short-urls-row__cell--break{word-break:break-all}@media (min-width: 992px){.short-urls-row__cell--indivisible{white-space:nowrap}}@media (max-width: 991px){.short-urls-row__short-url-wrapper{word-break:break-all}}@media (min-width: 992px){.short-urls-row__short-url-wrapper{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;vertical-align:bottom;display:inline-block;max-width:18rem}}.short-urls-row__copy-hint{position:absolute;top:50%;transform:translateY(-50%) translate(10px);box-shadow:0 3px 15px #00000040}@media (max-width: 991px){.short-urls-row__copy-hint{position:absolute;top:50%;transform:translateY(-50%) translate(calc(-100% - 20px))}}.icon-input-container{position:relative}.icon-input-container__input{padding-right:35px!important}.icon-input-container__input:not(:disabled){background-color:var(--primary-color)!important}.card .icon-input-container__input:not(:disabled),.dropdown .icon-input-container__input:not(:disabled){background-color:var(--input-color)!important}.icon-input-container__icon{position:absolute;top:50%;transform:translateY(-50%);right:.75rem;cursor:pointer}.react-datepicker__close-icon.react-datepicker__close-icon{position:absolute;top:50%;transform:translateY(-50%);padding:0;right:.75rem}.react-datepicker__close-icon.react-datepicker__close-icon:after{right:.75rem;line-height:11px;background-color:#333;font-size:14px}.react-datepicker__input-container,.react-datepicker-wrapper{display:block!important}.react-datepicker__day--keyboard-selected{background-color:#4696e5}.react-datepicker__day--keyboard-selected:hover{background-color:#1d77d0}.react-datepicker__time.react-datepicker__time,.react-datepicker.react-datepicker{background-color:var(--primary-color)!important;color:var(--text-color);border-color:var(--border-color)}.react-datepicker__header.react-datepicker__header{background-color:var(--secondary-color);border-color:var(--border-color)}.react-datepicker__current-month.react-datepicker__current-month,.react-datepicker-time__header.react-datepicker-time__header,.react-datepicker-year-header.react-datepicker-year-header,.react-datepicker__day-name.react-datepicker__day-name,.react-datepicker__day.react-datepicker__day:not(:hover):not(.react-datepicker__day--selected),.react-datepicker__time-name.react-datepicker__time-name{color:inherit}.react-datepicker__day--disabled.react-datepicker__day--disabled{cursor:default;color:var(--border-color)!important}.react-datepicker__day--keyboard-selected.react-datepicker__day--keyboard-selected,.react-datepicker__month-text--keyboard-selected.react-datepicker__month-text--keyboard-selected,.react-datepicker__quarter-text--keyboard-selected.react-datepicker__quarter-text--keyboard-selected,.react-datepicker__year-text--keyboard-selected.react-datepicker__year-text--keyboard-selected{background-color:var(--brand-color)!important;color:#fff!important}.react-datepicker__time-list-item.react-datepicker__time-list-item:hover{color:#232323}.react-datepicker__time-container.react-datepicker__time-container{border-color:var(--border-color)}.react-datepicker__time-list.react-datepicker__time-list{scrollbar-color:rgba(0,0,0,.5) var(--secondary-color);scrollbar-width:thin}.react-datepicker__time-list.react-datepicker__time-list::-webkit-scrollbar{width:10px;background-color:var(--secondary-color)}.react-datepicker__time-list.react-datepicker__time-list::-webkit-scrollbar-thumb{background-color:#00000080;border-radius:.5rem}.react-datepicker-popper.react-datepicker-popper{z-index:2}.react-datepicker-popper.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle.react-datepicker__triangle:after{border-top-color:var(--primary-color)}.react-datepicker-popper.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle.react-datepicker__triangle:before{border-top-color:var(--border-color)}.react-datepicker-popper.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle.react-datepicker__triangle:after{border-bottom-color:var(--secondary-color)}.react-datepicker-popper.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle.react-datepicker__triangle:before{border-bottom-color:var(--border-color)}.use-existing-if-found-info-icon__modal-quote{margin-bottom:0;padding:10px 15px;font-size:17.5px;border-left:5px solid #eeeeee;background-color:#f9f9f9}.short-url-form p:last-child{margin-bottom:0}.short-url-form .card{height:100%}.short-urls-filtering-bar__tags-icon{vertical-align:bottom;font-size:1.6rem}.short-urls-table.short-urls-table{margin-bottom:-1px}.short-urls-table__header-cell--with-action{cursor:pointer}.tag-bullet{border-radius:50%;width:20px;height:20px;display:inline-block;vertical-align:-4px;margin-right:7px}.simple-paginator{-webkit-user-select:none;user-select:none}.tags-table__header-cell.tags-table__header-cell{z-index:1;position:relative;top:56px;position:sticky;cursor:pointer}.tags-table__header-cell.tags-table__header-cell:before{content:"";position:absolute;top:-1px;right:0;bottom:-1px;left:0;background:var(--table-border-color);z-index:-2}.tags-table__header-cell.tags-table__header-cell:first-child:before{left:0}.tags-table__header-cell.tags-table__header-cell:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:var(--primary-color);z-index:-1}.tags-table__header-cell.tags-table__header-cell:first-child:after{left:0}.chart-card__footer--sticky{position:sticky;bottom:0}.doughnut-chart-legend{list-style-type:none;padding:0;margin:0}@media (max-width: 767px){.doughnut-chart-legend{margin-top:1rem}}.doughnut-chart-legend__item:not(:first-child){margin-top:.3rem}.doughnut-chart-legend__item-color{width:20px;min-width:20px;height:20px;margin-right:5px;border-radius:10px}.doughnut-chart-legend__item-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (min-width: 768px){.map-modal__modal.map-modal__modal{width:calc(100% - 40px);max-width:calc(100% - 40px);height:calc(100% - 40px);margin:20px}}@media (max-width: 767px){.map-modal__modal.map-modal__modal{width:calc(100% - 20px);max-width:calc(100% - 20px);height:calc(100% - 20px);margin:10px}}.map-modal__modal-content.map-modal__modal-content{height:100%}.map-modal__modal-title.map-modal__modal-title{position:absolute;width:100%;z-index:1001;padding:.5rem 1rem 1rem;margin:0;color:#fff;background:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,0))}.map-modal__modal-body.map-modal__modal-body{padding:0;display:flex;overflow:hidden}.map-modal__modal.map-modal__modal .leaflet-container.leaflet-container{flex:1 1 auto;border-radius:.3rem}.map-modal__modal.map-modal__modal .leaflet-top.leaflet-top .leaflet-control.leaflet-control{margin-top:60px}.open-map-modal-btn__btn.open-map-modal-btn__btn{padding:0;margin-right:1rem}.visits-table{margin:1.5rem 0 0;position:relative;background-color:var(--primary-color);overflow-y:hidden}.visits-table__header-cell{cursor:pointer;margin-bottom:55px;z-index:1;position:relative}.visits-table__header-cell:before{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:0;background:var(--table-border-color);z-index:-2}.visits-table__header-cell:first-child:before{left:-1px}.visits-table__header-cell:after{content:"";position:absolute;top:0;right:0;bottom:0;left:1px;background:var(--primary-color);z-index:-1}.visits-table__header-cell:first-child:after{left:0}@media (min-width: 768px){.visits-table__header-cell.visits-table__sticky{top:96px}}.visits-table__header-icon{float:right;margin-top:3px}.visits-table__footer-cell.visits-table__footer-cell{bottom:0;margin-top:34px;padding:.5rem;z-index:1;position:relative}.visits-table__footer-cell.visits-table__footer-cell:before{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:0;background:var(--table-border-color);z-index:-2}.visits-table__footer-cell.visits-table__footer-cell:first-child:before{left:-1px}.visits-table__footer-cell.visits-table__footer-cell:after{content:"";position:absolute;top:0;right:0;bottom:0;left:1px;background:var(--primary-color);z-index:-1}.visits-table__footer-cell.visits-table__footer-cell:first-child:after{left:0}.visits-table__sticky.visits-table__sticky{position:sticky}.short-url-visits-header__created-at{cursor:default}.aside-menu{width:260px;background-color:var(--primary-color);box-shadow:#0000000d 0 8px 15px;position:fixed!important;padding-top:13px;padding-bottom:10px;top:56px;bottom:0;left:0;display:block;z-index:1010;overflow:hidden auto}@media (min-width: 768px){.aside-menu{padding:30px 15px 15px}}@media (max-width: 767px){.aside-menu{transition:left .3s;top:53px;box-shadow:-10px 0 50px 11px #0000008c}}@media (max-width: 767px){.aside-menu--hidden{left:-295px}}.aside-menu__nav{height:100%}.aside-menu__item{padding:10px 20px;margin:0 -15px;text-decoration:none!important;cursor:pointer}@media (max-width: 767px){.aside-menu__item{margin:0}}.aside-menu__item:hover{background-color:var(--secondary-color)}.aside-menu__item--selected,.aside-menu__item--selected:hover{color:#fff;background-color:var(--brand-color)}.aside-menu__item-text{margin-left:8px}.shlink-layout__swipeable,.shlink-layout__swipeable-inner{height:100%}.shlink-layout__burger-icon{display:none;transition:color .3s;position:fixed;top:18px;z-index:1035;font-size:1.5rem;cursor:pointer;color:#ffffff80}@media (max-width: 767px){.shlink-layout__burger-icon{display:inline-block}}.shlink-layout__burger-icon--active{color:#fff}.shlink-layout__container.shlink-layout__container{padding:20px 0 0;min-height:100%}@media (min-width: 768px){.shlink-layout__container.shlink-layout__container{padding:30px 0 0 260px}}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:rgba(255,255,255,.5)}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:rgba(255,255,255,.8);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:rgba(255,255,255,.8);text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:white;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__navigation-icon:before{border-color:#ccc;border-style:solid;border-width:3px 3px 0 0;content:"";display:block;height:9px;position:absolute;top:6px;width:9px}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle{margin-left:-4px;position:absolute;width:0}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:after,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:after{box-sizing:content-box;position:absolute;border:8px solid rgba(0,0,0,0);height:0;width:1px;content:"";z-index:-1;border-width:8px;left:-8px}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{border-bottom-color:#aeaeae}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle{top:0;margin-top:-8px}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:after{border-top:none;border-bottom-color:#f0f0f0}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:after{top:0}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{top:-1px;border-bottom-color:#aeaeae}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle{bottom:0;margin-bottom:-8px}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:after{border-bottom:none;border-top-color:#fff}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:after{bottom:0}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before{bottom:-1px;border-top-color:#aeaeae}.react-datepicker-wrapper{display:inline-block;padding:0;border:0}.react-datepicker{font-family:Helvetica Neue,helvetica,arial,sans-serif;font-size:.8rem;background-color:#fff;color:#000;border:1px solid #aeaeae;border-radius:.3rem;display:inline-block;position:relative}.react-datepicker--time-only .react-datepicker__triangle{left:35px}.react-datepicker--time-only .react-datepicker__time-container{border-left:0}.react-datepicker--time-only .react-datepicker__time,.react-datepicker--time-only .react-datepicker__time-box{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker__triangle{position:absolute;left:50px}.react-datepicker-popper{z-index:1}.react-datepicker-popper[data-placement^=bottom]{padding-top:10px}.react-datepicker-popper[data-placement=bottom-end] .react-datepicker__triangle,.react-datepicker-popper[data-placement=top-end] .react-datepicker__triangle{left:auto;right:50px}.react-datepicker-popper[data-placement^=top]{padding-bottom:10px}.react-datepicker-popper[data-placement^=right]{padding-left:8px}.react-datepicker-popper[data-placement^=right] .react-datepicker__triangle{left:auto;right:42px}.react-datepicker-popper[data-placement^=left]{padding-right:8px}.react-datepicker-popper[data-placement^=left] .react-datepicker__triangle{left:42px;right:auto}.react-datepicker__header{text-align:center;background-color:#f0f0f0;border-bottom:1px solid #aeaeae;border-top-left-radius:.3rem;padding:8px 0;position:relative}.react-datepicker__header--time{padding-bottom:8px;padding-left:5px;padding-right:5px}.react-datepicker__header--time:not(.react-datepicker__header--time--only){border-top-left-radius:0}.react-datepicker__header:not(.react-datepicker__header--has-time-select){border-top-right-radius:.3rem}.react-datepicker__year-dropdown-container--select,.react-datepicker__month-dropdown-container--select,.react-datepicker__month-year-dropdown-container--select,.react-datepicker__year-dropdown-container--scroll,.react-datepicker__month-dropdown-container--scroll,.react-datepicker__month-year-dropdown-container--scroll{display:inline-block;margin:0 15px}.react-datepicker__current-month,.react-datepicker-time__header,.react-datepicker-year-header{margin-top:0;color:#000;font-weight:700;font-size:.944rem}.react-datepicker-time__header{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.react-datepicker__navigation{align-items:center;background:none;display:flex;justify-content:center;text-align:center;cursor:pointer;position:absolute;top:2px;padding:0;border:none;z-index:1;height:32px;width:32px;text-indent:-999em;overflow:hidden}.react-datepicker__navigation--previous{left:2px}.react-datepicker__navigation--next{right:2px}.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button){right:85px}.react-datepicker__navigation--years{position:relative;top:0;display:block;margin-left:auto;margin-right:auto}.react-datepicker__navigation--years-previous{top:4px}.react-datepicker__navigation--years-upcoming{top:-4px}.react-datepicker__navigation:hover *:before{border-color:#a6a6a6}.react-datepicker__navigation-icon{position:relative;top:-1px;font-size:20px;width:0}.react-datepicker__navigation-icon--next{left:-2px}.react-datepicker__navigation-icon--next:before{transform:rotate(45deg);left:-7px}.react-datepicker__navigation-icon--previous{right:-2px}.react-datepicker__navigation-icon--previous:before{transform:rotate(225deg);right:-7px}.react-datepicker__month-container{float:left}.react-datepicker__year{margin:.4rem;text-align:center}.react-datepicker__year-wrapper{display:flex;flex-wrap:wrap;max-width:180px}.react-datepicker__year .react-datepicker__year-text{display:inline-block;width:4rem;margin:2px}.react-datepicker__month{margin:.4rem;text-align:center}.react-datepicker__month .react-datepicker__month-text,.react-datepicker__month .react-datepicker__quarter-text{display:inline-block;width:4rem;margin:2px}.react-datepicker__input-time-container{clear:both;width:100%;float:left;margin:5px 0 10px 15px;text-align:left}.react-datepicker__input-time-container .react-datepicker-time__caption,.react-datepicker__input-time-container .react-datepicker-time__input-container{display:inline-block}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input{display:inline-block;margin-left:10px}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input{width:auto}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]{-moz-appearance:textfield}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter{margin-left:5px;display:inline-block}.react-datepicker__time-container{float:right;border-left:1px solid #aeaeae;width:85px}.react-datepicker__time-container--with-today-button{display:inline;border:1px solid #aeaeae;border-radius:.3rem;position:absolute;right:-87px;top:0}.react-datepicker__time-container .react-datepicker__time{position:relative;background:#fff;border-bottom-right-radius:.3rem}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box{width:85px;overflow-x:hidden;margin:0 auto;text-align:center;border-bottom-right-radius:.3rem}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list{list-style:none;margin:0;height:calc(195px + .85rem);overflow-y:scroll;padding-right:0;padding-left:0;width:100%;box-sizing:content-box}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item{height:30px;padding:5px 10px;white-space:nowrap}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover{cursor:pointer;background-color:#f0f0f0}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected{background-color:#216ba5;color:#fff;font-weight:700}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover{background-color:#216ba5}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled{color:#ccc}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover{cursor:default;background-color:#0000}.react-datepicker__week-number{color:#ccc;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}.react-datepicker__week-number.react-datepicker__week-number--clickable{cursor:pointer}.react-datepicker__week-number.react-datepicker__week-number--clickable:not(.react-datepicker__week-number--selected,.react-datepicker__week-number--keyboard-selected):hover{border-radius:.3rem;background-color:#f0f0f0}.react-datepicker__week-number--selected{border-radius:.3rem;background-color:#216ba5;color:#fff}.react-datepicker__week-number--selected:hover{background-color:#1d5d90}.react-datepicker__week-number--keyboard-selected{border-radius:.3rem;background-color:#2a87d0;color:#fff}.react-datepicker__week-number--keyboard-selected:hover{background-color:#1d5d90}.react-datepicker__day-names{white-space:nowrap;margin-bottom:-8px}.react-datepicker__week{white-space:nowrap}.react-datepicker__day-name,.react-datepicker__day,.react-datepicker__time-name{color:#000;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}.react-datepicker__day,.react-datepicker__month-text,.react-datepicker__quarter-text,.react-datepicker__year-text{cursor:pointer}.react-datepicker__day:hover,.react-datepicker__month-text:hover,.react-datepicker__quarter-text:hover,.react-datepicker__year-text:hover{border-radius:.3rem;background-color:#f0f0f0}.react-datepicker__day--today,.react-datepicker__month-text--today,.react-datepicker__quarter-text--today,.react-datepicker__year-text--today{font-weight:700}.react-datepicker__day--highlighted,.react-datepicker__month-text--highlighted,.react-datepicker__quarter-text--highlighted,.react-datepicker__year-text--highlighted{border-radius:.3rem;background-color:#3dcc4a;color:#fff}.react-datepicker__day--highlighted:hover,.react-datepicker__month-text--highlighted:hover,.react-datepicker__quarter-text--highlighted:hover,.react-datepicker__year-text--highlighted:hover{background-color:#32be3f}.react-datepicker__day--highlighted-custom-1,.react-datepicker__month-text--highlighted-custom-1,.react-datepicker__quarter-text--highlighted-custom-1,.react-datepicker__year-text--highlighted-custom-1{color:#f0f}.react-datepicker__day--highlighted-custom-2,.react-datepicker__month-text--highlighted-custom-2,.react-datepicker__quarter-text--highlighted-custom-2,.react-datepicker__year-text--highlighted-custom-2{color:green}.react-datepicker__day--holidays,.react-datepicker__month-text--holidays,.react-datepicker__quarter-text--holidays,.react-datepicker__year-text--holidays{position:relative;border-radius:.3rem;background-color:#ff6803;color:#fff}.react-datepicker__day--holidays .holiday-overlay,.react-datepicker__month-text--holidays .holiday-overlay,.react-datepicker__quarter-text--holidays .holiday-overlay,.react-datepicker__year-text--holidays .holiday-overlay{position:absolute;bottom:100%;left:50%;transform:translate(-50%);background-color:#333;color:#fff;padding:4px;border-radius:4px;white-space:nowrap;visibility:hidden;opacity:0;transition:visibility 0s,opacity .3s ease-in-out}.react-datepicker__day--holidays:hover,.react-datepicker__month-text--holidays:hover,.react-datepicker__quarter-text--holidays:hover,.react-datepicker__year-text--holidays:hover{background-color:#cf5300}.react-datepicker__day--holidays:hover .holiday-overlay,.react-datepicker__month-text--holidays:hover .holiday-overlay,.react-datepicker__quarter-text--holidays:hover .holiday-overlay,.react-datepicker__year-text--holidays:hover .holiday-overlay{visibility:visible;opacity:1}.react-datepicker__day--selected,.react-datepicker__day--in-selecting-range,.react-datepicker__day--in-range,.react-datepicker__month-text--selected,.react-datepicker__month-text--in-selecting-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--selected,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--selected,.react-datepicker__year-text--in-selecting-range,.react-datepicker__year-text--in-range{border-radius:.3rem;background-color:#216ba5;color:#fff}.react-datepicker__day--selected:hover,.react-datepicker__day--in-selecting-range:hover,.react-datepicker__day--in-range:hover,.react-datepicker__month-text--selected:hover,.react-datepicker__month-text--in-selecting-range:hover,.react-datepicker__month-text--in-range:hover,.react-datepicker__quarter-text--selected:hover,.react-datepicker__quarter-text--in-selecting-range:hover,.react-datepicker__quarter-text--in-range:hover,.react-datepicker__year-text--selected:hover,.react-datepicker__year-text--in-selecting-range:hover,.react-datepicker__year-text--in-range:hover{background-color:#1d5d90}.react-datepicker__day--keyboard-selected,.react-datepicker__month-text--keyboard-selected,.react-datepicker__quarter-text--keyboard-selected,.react-datepicker__year-text--keyboard-selected{border-radius:.3rem;background-color:#bad9f1;color:#000}.react-datepicker__day--keyboard-selected:hover,.react-datepicker__month-text--keyboard-selected:hover,.react-datepicker__quarter-text--keyboard-selected:hover,.react-datepicker__year-text--keyboard-selected:hover{background-color:#1d5d90}.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range){background-color:#216ba580}.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range){background-color:#f0f0f0;color:#000}.react-datepicker__day--disabled,.react-datepicker__month-text--disabled,.react-datepicker__quarter-text--disabled,.react-datepicker__year-text--disabled{cursor:default;color:#ccc}.react-datepicker__day--disabled:hover,.react-datepicker__month-text--disabled:hover,.react-datepicker__quarter-text--disabled:hover,.react-datepicker__year-text--disabled:hover{background-color:#0000}.react-datepicker__input-container{position:relative;display:inline-block;width:100%}.react-datepicker__input-container .react-datepicker__calendar-icon{position:absolute;padding:.5rem;box-sizing:content-box}.react-datepicker__view-calendar-icon input{padding:6px 10px 5px 25px}.react-datepicker__year-read-view,.react-datepicker__month-read-view,.react-datepicker__month-year-read-view{border:1px solid rgba(0,0,0,0);border-radius:.3rem;position:relative}.react-datepicker__year-read-view:hover,.react-datepicker__month-read-view:hover,.react-datepicker__month-year-read-view:hover{cursor:pointer}.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow{border-top-color:#b3b3b3}.react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow{transform:rotate(135deg);right:-16px;top:0}.react-datepicker__year-dropdown,.react-datepicker__month-dropdown,.react-datepicker__month-year-dropdown{background-color:#f0f0f0;position:absolute;width:50%;left:25%;top:30px;z-index:1;text-align:center;border-radius:.3rem;border:1px solid #aeaeae}.react-datepicker__year-dropdown:hover,.react-datepicker__month-dropdown:hover,.react-datepicker__month-year-dropdown:hover{cursor:pointer}.react-datepicker__year-dropdown--scrollable,.react-datepicker__month-dropdown--scrollable,.react-datepicker__month-year-dropdown--scrollable{height:150px;overflow-y:scroll}.react-datepicker__year-option,.react-datepicker__month-option,.react-datepicker__month-year-option{line-height:20px;width:100%;display:block;margin-left:auto;margin-right:auto}.react-datepicker__year-option:first-of-type,.react-datepicker__month-option:first-of-type,.react-datepicker__month-year-option:first-of-type{border-top-left-radius:.3rem;border-top-right-radius:.3rem}.react-datepicker__year-option:last-of-type,.react-datepicker__month-option:last-of-type,.react-datepicker__month-year-option:last-of-type{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker__year-option:hover,.react-datepicker__month-option:hover,.react-datepicker__month-year-option:hover{background-color:#ccc}.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming{border-bottom-color:#b3b3b3}.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous{border-top-color:#b3b3b3}.react-datepicker__year-option--selected,.react-datepicker__month-option--selected,.react-datepicker__month-year-option--selected{position:absolute;left:15px}.react-datepicker__close-icon{cursor:pointer;background-color:#0000;border:0;outline:0;padding:0 6px 0 0;position:absolute;top:0;right:0;height:100%;display:table-cell;vertical-align:middle}.react-datepicker__close-icon:after{cursor:pointer;background-color:#216ba5;color:#fff;border-radius:50%;height:16px;width:16px;padding:2px;font-size:12px;line-height:1;text-align:center;display:table-cell;vertical-align:middle;content:"×"}.react-datepicker__close-icon--disabled{cursor:default}.react-datepicker__close-icon--disabled:after{cursor:default;background-color:#ccc}.react-datepicker__today-button{background:#f0f0f0;border-top:1px solid #aeaeae;cursor:pointer;text-align:center;font-weight:700;padding:5px 0;clear:left}.react-datepicker__portal{position:fixed;width:100vw;height:100vh;background-color:#000c;left:0;top:0;justify-content:center;align-items:center;display:flex;z-index:2147483647}.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__time-name{width:3rem;line-height:3rem}@media (max-width: 400px),(max-height: 550px){.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__time-name{width:2rem;line-height:2rem}}.react-datepicker__portal .react-datepicker__current-month,.react-datepicker__portal .react-datepicker-time__header{font-size:1.44rem}.react-datepicker__children-container{width:13.8rem;margin:.4rem;padding-right:.2rem;padding-left:.2rem;height:auto}.react-datepicker__aria-live{position:absolute;clip-path:circle(0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;white-space:nowrap}.react-datepicker__calendar-icon{width:1em;height:1em;vertical-align:-.125em}.react-tags{position:relative;padding:5px 0 0 6px;border-radius:.5rem;background-color:var(--primary-color);border:1px solid var(--input-border-color);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-size:1em;line-height:1.2;cursor:text}.input-group>.react-tags{flex:1 1 auto;width:1%;min-width:0}.card .react-tags{background-color:var(--input-color)}.react-tags.is-active{box-shadow:0 0 0 .2rem #4696e540}.react-tags__label{display:none}.react-tags__tag{font-size:100%}.react-tags__list{display:inline;vertical-align:2px;padding:0;list-style-type:none}.react-tags__list-item{display:inline-block}.react-tags__list-item:not(:last-child){margin-right:3px}.react-tags__combobox{display:inline-block;padding:6px 2px;margin-top:2px;margin-bottom:3px;max-width:100%}@media screen and (min-width: 576px){.react-tags__combobox{position:relative}}.react-tags__combobox-input{font-size:1.25rem;line-height:inherit;color:var(--input-text-color);background-color:inherit;max-width:100%;margin:0 0 0 7px;padding:0;border:0;outline:none}.react-tags__combobox-input::placeholder{color:#6c757d}.react-tags__combobox-input::-ms-clear{display:none}.react-tags__listbox{position:absolute;top:100%;left:0;width:100%;z-index:10;margin:4px -1px;padding:0;background:var(--primary-color);border:1px solid var(--border-color);border-radius:.25rem;box-shadow:0 2px 6px #0003}@media screen and (min-width: 576px){.react-tags__listbox{width:240px}}.react-tags__listbox .react-tags__listbox-option{padding:8px 10px}.react-tags__listbox .react-tags__listbox-option:not(:last-child){border-bottom:1px solid var(--border-color)}.react-tags__listbox .react-tags__listbox-option:hover:not(.react-tags__listbox-option--not-selectable){cursor:pointer;background-color:var(--active-color)}.react-tags__listbox .react-tags__listbox-option.is-active{background-color:var(--active-color)}.react-tags__listbox .react-tags__listbox-option.is-disabled{opacity:.5;cursor:auto}.sticky-card-paginator{position:sticky;bottom:0;background-color:var(--primary-color-alfa);padding:.75rem 0;border-top:1px solid var(--border-color)}.input-group-text.input-group-text{border-color:var(--input-border-color)} diff --git a/dependabot/docker/node-21.6-alpine/favicon.gif b/dependabot/docker/node-21.6-alpine/favicon.gif new file mode 100644 index 0000000000000000000000000000000000000000..dcf57c87cff18b207351100698b71cb90182b848 GIT binary patch literal 642 zcmV-|0)72QNk%w1VSoUD0Pq0-MU~?K001HR1O*BJ0RSuj0001h0Du5M0{@JUsmtvT zqny-$i?i0X`wuqTNRnTPg{q3SXylsf9L9DQ+$qiXkKXbLhYsNGU?VDv#*xAalP!rl z3G{TGYFSxJH^JDO&RH`)~#H-=4|S9Be}2-laOVF>?~7mGwdx~ht;Mecpl6;qw8v{F}xY=@~U@I zs@{nCiVh}R_-0mhfR$n_*f?Pfnt%@{t-O;cX0?3Pu1xEB?Z429CzEyz_H$;GpjD^t z$j`OqcWhshM0&Tj?Z7S{&|gXWdn2#{ec$eFn_%=v~WH=t8M(bE-x z+=UmFg1zN;pmz*v<)COnB^aS(_wnZvfRAL@p;fOLIGTp(kvO7k9C9|0X{YU09ci(J cX3%LhzF6FgD!Qnngx2(!7mz{@sZRj_I~GVjdjJ3c literal 0 HcmV?d00001 diff --git a/dependabot/docker/node-21.6-alpine/favicon.ico b/dependabot/docker/node-21.6-alpine/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..25764c30db2971422adf0ef54b6edc450218f949 GIT binary patch literal 1165 zcmV;81akX{P)C0000yP)t-sM{rC; zlMU~@4mE%T~ z-!5D(YK2g9B9Nw|O2!g>o67=aWEc#Bdz}9g2`xp{C@bISE%PCMoaBr3T?6?gp9)}PIji3^ zh|l@3mIufT2J%Zj2}S@WgY8ScxUSF!Tn6iNK7{f-g2P~Y$S+PO0&p3~=X?mI0E>a| zYOB3-}wOa!82nop`lvQ!GSx@w$ixFk(8qg(k zWeF?{F*vKfT+37MFvLJtZF%O;yG7@DM>?^ZDC=$J>CRM&_cHAy13nb>T_A(BcRr6YlD!EqhN3ka z0}p&0SR3?rP!jk!9}U*x&dEehPX;3LZ&B2v0kwe|x=Sk&hSupcgGBeIDF&s$9E0K# z%rZEtCJcGB0gVZhul(rQ3`E~xFP|YoLi8hQ5Sl05o$~2x6z&=%`SG=O62)Vs8_D^I(IRi+t{>q*DL;pPZ_SFp^KKaiTeewZMs}-s<^!k4yw$ zMeOc!h^y=$!XChm2r3Ag|6W4YShB(>X#H8NIS1!A*va{A7mgbX#4$M^*U9;)XaBmA zUu>seYTm_ax;9m_|hDG0eZ fP0R3)KmPa!uS}AXH_Nl*00000NkvXXu0mjf5{w~J literal 0 HcmV?d00001 diff --git a/dependabot/docker/node-21.6-alpine/favicon.png b/dependabot/docker/node-21.6-alpine/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..25764c30db2971422adf0ef54b6edc450218f949 GIT binary patch literal 1165 zcmV;81akX{P)C0000yP)t-sM{rC; zlMU~@4mE%T~ z-!5D(YK2g9B9Nw|O2!g>o67=aWEc#Bdz}9g2`xp{C@bISE%PCMoaBr3T?6?gp9)}PIji3^ zh|l@3mIufT2J%Zj2}S@WgY8ScxUSF!Tn6iNK7{f-g2P~Y$S+PO0&p3~=X?mI0E>a| zYOB3-}wOa!82nop`lvQ!GSx@w$ixFk(8qg(k zWeF?{F*vKfT+37MFvLJtZF%O;yG7@DM>?^ZDC=$J>CRM&_cHAy13nb>T_A(BcRr6YlD!EqhN3ka z0}p&0SR3?rP!jk!9}U*x&dEehPX;3LZ&B2v0kwe|x=Sk&hSupcgGBeIDF&s$9E0K# z%rZEtCJcGB0gVZhul(rQ3`E~xFP|YoLi8hQ5Sl05o$~2x6z&=%`SG=O62)Vs8_D^I(IRi+t{>q*DL;pPZ_SFp^KKaiTeewZMs}-s<^!k4yw$ zMeOc!h^y=$!XChm2r3Ag|6W4YShB(>X#H8NIS1!A*va{A7mgbX#4$M^*U9;)XaBmA zUu>seYTm_ax;9m_|hDG0eZ fP0R3)KmPa!uS}AXH_Nl*00000NkvXXu0mjf5{w~J literal 0 HcmV?d00001 diff --git a/dependabot/docker/node-21.6-alpine/favicon.svg b/dependabot/docker/node-21.6-alpine/favicon.svg new file mode 100644 index 00000000..5a085bcb --- /dev/null +++ b/dependabot/docker/node-21.6-alpine/favicon.svg @@ -0,0 +1 @@ + diff --git a/dependabot/docker/node-21.6-alpine/icons/icon-1024x1024.png b/dependabot/docker/node-21.6-alpine/icons/icon-1024x1024.png new file mode 100644 index 0000000000000000000000000000000000000000..e468ac0a91cc46b31f61364b16ffeafac44fade2 GIT binary patch literal 8726 zcmb7pcU%<9vv1GrvanB#EpdNERhZ+QD%2C;}!x6j+Y| zP@)nfxnlwZ2`V|bdjtfPBtg=$a|h4w-uFK5pZB@@;X_qdf2+E>x~98&<}W)Na|uxe zQ2>C%9*aNr13)HNG7upV#Nu^#AwgEzSsgSp5418%>NC4V{Pq9-|NrtoY3DNuuvqYZ zn*%^r-zloNxqlK*krgtA2otyW{ITO;c-L^RP|}+X(g0C1n&FIv8NADpF8MAx$#mWY z6T1JOpUN6s3v&BoWAU`<*UQ|Lps5(w+}7(df$YOB89&E7IjNCAa=&xNPtN<%73da8 z{BmTqeGr`f_=x6_PcAlCUw@ZF<%JKHaQcJ8nx7k`g)#Sjqc6GBsp#S@m9b+~5;H91 zO@&jH8q>wUnv+OH`&is{)DD}ppPP1DV^A4x?E@9u*!;!absOYT>k#$4l~xd2@@32W z>!|g8d~y=7-)f}lL&E$;Zc7kcQYUE2CxbI@B%NW?!>)xFugQ!T=5&_0|Bx9!GE?PCiidF@`9Qr7v9ZX=cMOqIO z!3YUiCA}OlYAvw6mX)=KKnnPkW~U215C?048dSik{6eWhnxUIyl#E&E4gm`o5k_cW zH|i(!@~dYLZxUe&Bg)coAd7TXlwFM2LCaxO9?3qJBe>Ff`s^LgyBiq%+5Fk2h&_SkS0%oYziJASLk7qZC}&fXV1~8m zs#ja6oQ4_o#iz?`uOtuME7<FPFh=C~D92Te?$+96eB=!{3?Z@GGx zcWoEg4b{aZH(W<3WRVv!lfxbxK~qs5=L z3K%+N7_5bN}lC?%6$e3=7C8!#!Ed}#unA^sy7Zw}H&p&n1>qOs(gRlMAk+48sBpL!Ui)l58@j!prqEI7UM=bJOk(i~tLu1ouRIUPi2z5^to|A6SuBfj?P0 z;Bj8Zsz+%Z7b{`|N2D_;yj2i$c)2}k+#SYx)~9+8t8zuo9sm!5k0wxo@$PoQ5E=EC zJ1G?O#JKt%^!zI94Fztyw73dlQ_-dz6)CFL>mGdnnTaZ(CSuvC2e7|K9$&E2pIweATls<{ zcTk_V&qCisbZFV1_7)-jR3^7rcBirnJX993>R>kwlZuhuPe^~AUcTR&%I-4~%g)n= z4!;;R5G#{iEQh5rALD;KecNy%YHW)JA3h4nDEf12xIvxV11?uqh z7zy|SYT$4Oz!VVpZXtx~qvWBoghyX23&<%j8kU{cLv99gLY~7z1kE`cgm#d}C+f8R zFupH?B4Y|O_3VdbABf#X$3XId@KBi|crL>h zPAQyD@CVf9({6C}R+KEKItjq{p2GvUciD7;H=yd8`YrD2&UwO@(k~U9+Tth`__mD^ z533=rgre{(HEfv+ZYX{egb-p$k~((H1rJwRitluS3Ib2{%$vg&sJshqL5#uJv$#w7 z4(krsQX)8|unuw#Sae@)0mpUB*BmS$du2Qk+{z{kx-+T$$Ie-@;;*(0+T zl#RFLNsF9aS9@qYbJ4(Y!Ma@Y@6FNSt)w%DE`DI}zZz=HJQGZm4;m$yTsbSq4pACB z<9g%xM8MZ_(^uS>;~zR0jsVB$SE?7JR$z-4wJb*o!HlXF`fuChO45SVXE4eLCk+w8 z8OHGs;rL6%C8YC`@Hx(t;0ewd5OAlW9@aP|@OQ89NwE03s+pl(2}R-Oga{!#r24d( z;aUkz5$5JEYE9XSiLqG)U|yIYmjw45r=;Hg&04o&aaZ97#_}tIdmTfnm(6fHKSI9y ze@h5MTjwtxJJ7?>eY;3nKdPGYMG(7uM#}0Gj$B?4-v2*xi~kWM5{Ri^Qo{uJ`846; z)kV@m?tlCD+fBP>h9hc@Ga-cq;rPr_7BBo85fQ=C%(RfbIF|h{+OCZe_@9oO)4xY_ zCh+S=R1KdREeJP8epBt|wlE6Znl_B6_T$d@+xx6=_pyzMM;b!t;(ICbzc{>l@yYgm z)rC1Toe2AJ_pG|cxAdl7{L_9P|J)Id4{_Wc1cr@^d8+tc|BCLz`0Jt% zh@*}hSa%nTVAZ%xAE(WqV`otD7`(wH9}T|34cab)y9;j#-1LC{Z4oqxgZ6Q@x@2sM zl%@ambkO-j4J$V~`eTn7*ec+>o?1}enktGla?k7_eoebR6UEB7Vb%ENwswCA z&W;vhet$k6lq3sv%rZ;`Ga(n9$jm-`cs9Qz@52&zTu^WCS|UVnh#)PKbyxW8Rebgb z9^vi_y}>Q6J2%frj8|r`_}m}6?~7n%8CR5RiDK=GY8Zd4K9&M%1lMXVZqFA%60|Mw)-H2+)6qC|r`wnycU*`IjyOrG{!5glD zV6U6xdkD+TsO{qv$+qXfc_Cu_p(Ln^7mZN!&xH zvL@>#z|CuVxDf|8H|gSZ0mNm`q|V5l*Blm&cM>3xUHl)F?t{5<65tV@IjPgY`ZXh8 z&iM$C+fI{X86dbSQ2vk*9T(o&zA@#mGYTL}^OWFio@i=UAqB|c4wgJl7lWrR;!#N2J5ZIf>>NKF_D5sKuahSm4uzY@b47M0Wv%4|KF`8^r0)Bw} zp2K>b>(>1K1qDP*@P7nX9vY_rpO5?n4w}9Cr6Q1fH>uNm3P@K%Xp$Z-ki}L|KLfP! z?%a&V`#=6R00qwm-R5ICeS><^R$%l!$EpUVhmwGHwBSk~_s??%KsV?sS2b?~tqMX@ zP4Q##nrNXSD43dasF7s8p>)7}>pdB)?0C7i>A$reZd(fq2Lbx9iIcKs*S$f2tim@d z%b?8?KySiL$s7!hNNokp2flJS!j1z(&UjYy7i9F`#M*;^eYKom^Y9cBy=b?9zF0k#rfE}>yce5-oK@`Ap z^qWEHj)R|l(N6MQOVr#9OK7s8X4_*Fwn%1qUz3C!g-}>`adbo06E#}Qvxp=g6C#VWKtzi^Qo-4OrkKH9r+I}{tvy?LC8(H;F;)z+`dU$NLLtj zOGssn{${SGvI5|FhPVW1NMf-_T??5;&qS^l9G{z6iG>e3UZfxrcUUn}Cg>3YK|A zEGDd$B`Rz0GZSN6LBa8a$gr1_q3OhEq0zbR-oP=Huw}aIhCU)wX`_8qV5UPQO8`ld z^=qpr%csS?TCf7|8h>GOlXkaY^dQs@9eKyWL6K)SS09oXKP)hNB$xs z!9xwXWd^uXTt;^1gpU5}>hOv)Yozs1Z;WH1-Kl_)^)UCjmEYFK=$zn2C<3D6eN(q; zRM$B(;PaS&rBP|kmlvmqivXrKnsL8HSP>=U@r0`*>xg_^3GX|R&c7nw)NR`aToF>` zEta?Up|^K_AhWkOf9iMBYm(@UX)>jIfltE6K3vyFWSfEQfLq=CCIzO57n(VtbL_9` zH!-jGEg>8lO$KjBVEgEGwbxkJt_@wz34H_t^{{hu$*JG3SC(Z0HpHKkG7@4#sVF6U z1HRwk5yfud^9~}PKFOV1ErGd$q1r@N_7#d@ptAIP$m)JZ{0Cr0T&A*#=pR{QOY$S) z(?KdSK1A|5`I%xEO%qYTrUs<8)qfB!xidq`=%tV)nx}uN?%W`psad0d`XgSrg~sVH5Z+-);H^(n`^$)oF@?R$SjFHA3;e`)akzQMsGx#>t3U~1nAArQ2J3BBiYR0`~0e4S&aL>JhXpN{gr9Ce78-AiZAfG6TjzFD*lmc zoN^&~ z2lQ8?AIlr2b#`-eExZ}M2&sdki2<|zERL%D&4WeVQ4U)l5~Cd7@@Vf@ZHB2GFfWD^xceLB$!)XUd# zZPUoW0)6^->45s*Vj_Xmk1g+YyKcKCY(xxcOpT(i-D@gPqQ>7WIoPsM8dbDAE5p{R zw?KblP6$d)*+w$D>JG4TbK8&;xvOu4w&lNm5)R029gPx0<_>>j3=*Z?j-vJ2w@yWqk zXiVbeRnN@M(23UL&(7mv_JBtBEWX(fz1a=GQEI`&$+b$B0F-8R-bd6Ih6?{&TmV$N zPdaOr%~X~FKrPTK`{FoKef=B&K3^r7YTE@jV8Th~0Ac2p?ONcmXrLc_^Zgps{_Qfb zY16ZdqT>PD-r@ynalk_uy#~Uok`7#-Ip2r(Yhxud8h{7|G%ei5X&DCv*>I)HUPH3q z`X3Ai@LK_W&V8#2+f?K{IegIlM`}RkS|YSx9WPUx@VGFjBrTN~)^fL4bJ@Gk^0H{> z2KeqRpm|Sd=*Z#Tok9K`_o&2uQKJ|~7YOOns;^G!2&IL3!6U?` z(P!z9&nro0_H(bmPlf3bcSMHBN$1zI*P7~wfBGOA;oGp;pFQAOyZSz5-d9 zzbv|;^Pa(#b7aS#+URN<_3|;h;rC?X!uiSt?5Ye69zOURJUqUQx8X?rSt%$r?e@}Y z1dB2Ma*)V3F8|&1nK}|xQw(lwxU&|kC`K)}naO&`hH)9+EhFiUa4S> zHd&y`ioiPWf!D||r-B1{|6R72|YQ7(QMv?)|@~Yr% zq2Puy+8S>Kkc*x1CP_NfAKcFH9%6RDNJSoaq?(_K3QHkldxE#?g72FXRHFKL$*tsY zgWLo$)IZ4y=vCy22BL4)GUdN+fj27AA@rswTf1Hxv>r_wf;qOd$5Z=O1e3le%R@2!9g{q zc%lNZD5vG*yuXkYny?!Caa?PqwH5kLN9(K>4G25RH&v(3D+RO=k9~aEfXS`W!-d%p zT9AD^{ntU24avbYa4EuhV;S3H#XpuXI4br`ZPC2@3|_!hgD|z`lf`$P-7h5q|B2huV@@7px29MY16EElJ z-WDh8?Yp_4mLVp$0b5y)?sb=8UnWfcd7Dp7Q?_Hi(Lg~k#Id4Up&KWjlZW7DA^yiN zG-lRzU8n?PWc7ztm%1-BtQ8?8JKRvvQi*|Qj$kMqfn8^8^K=bJxh zY;K9`TL+p|%eGZ)Yr~_d$Qo(6`0KN6`knfb8L!)6)U!SAPW$mDT-}=l-fr|M&3m^f zv#Dmgv~G`jAOFNgPeX_uu+s!mr%8VbHJ_i$rWob9@$qzV?RvK zzx8$x;H`^aLu1;X3S0{`AT&?a3cYtd)2cca<#vr#ZPsBxmq8K4i3`&J(FijUOhG#o z$1jl`ziuHLjyp@!P#UlzT_@gp*}x2SXdQ%lnl4sR5h@s3O|%edpcCU;&n{GI%N|e- zz0|_iQ=5ks`%uhK3o6-`1#W_T8?QpqodjI^M-FKW`WABPLbSw&Fn z$-W}8SC0fGYWNH611!+snVi9>=91Pro(~`hd6EOa;%bTj(K>}{SkNo2-&2ur)h7^QjvC>dy*eVrZrO}RXO9jgW z{R?qfxDbt`0#vfXY+=Zh4b(96o9`BT>SG}v^z?WG3iJ_1shEfzspTAT80usF(R7|e zu*yMFQOeRO*f9|`!25k1DvDFgYeaXBUlmcj2lX zp%9x-g4B>3=1&GCVbB5wdS)PqhDfE8iI-}70AS^)B!a#k;%gAvsHMyEy3W}S{fdQ% z4W0}TxTxvfW|T|^fQAwX0E0kZ9b1CXAw!|xZ90@fCR?DV0st`+qahDEO6HjorzvkY z!DS6n2phveIzmDOWVDzEsLYxeIWiskUY0>2S)ie#?XeJz*^zyYIHuX5!%ET!tY;i5 zPT2o5&4@xc;Uk;|!)hp=JoLq`Ty$Jq4YLxQsegJ8-VRaiM$Ud;__&&i+7^zeSjSkD zie2_yWT-*F2R*h@%c1J$&82c9U}f;&Jnjz@{&k&P4{~}xoJ`q(Dn_Gx)heSl`~VFw zSK19Zj$_Iu5Q>i_~>^ef9>fgp?T!7a)DsW2^gZWJ3Z8yiyCVIwjC+1_eAbpOCbPuBjqbXKN=oH z11pseC%b0G590E~ky2rv;DqmC>8zZ(}grNy{$W$4f$S%Y5h z8+#TTpV^}1g1j#W9y#rYnol;$qh!a{x!DPK6y@OM45uBZ=f!Dm_( ziM$9}Ip@;#XYYx}eREC32P>@VYu*NyWxY!16NLgnC-KoLFeSR(d8*WxGkP@a$BX%l z8$=9`whdK{RYj`0JDq=+H;Df{Ng;W3M%vd*;=O$c5m)6Vyx)|L!2OKNVRhA{T64JN z{51aFcqb8PV*jhyORUaN{4_pFBQow0kqu9lB#y+v#*LOH?6*D>EIuNf2~tFjHBdB4 z4GYb|!#FF%6G1OW;1;oC9RiC>IO4=s^0d))iEMVlhl%>6GHlVH{sWQd=_LZQiidKr zVItU$ovjnt(@e`Xq0 zs|MJ;DjxQ8VMaFq`np8;w)%8;P1G8ZEL$b~%zo8CQS8KPl?Yy&={+%#X3?C}W@qqq z(#RU-@-ojC(aS}ciUsx?zmJW=@Ll1?`Tp-7RAgD=_yl)X1#xw|j8@jLVnDMH`Fm8| zC{a}o!EjgGfmD1B!o*^cZ|_<;-Cr*tJW~(H>#hBib1UIk`1Yd(pF{O^5%T*- zIuXg)Vu%h8s?QiBLF?;|thnz`*3=&mNI$=OnB2Ber?P=9%G)j9{G=|IqAEgK-TGo! z<^H$sye-59z^nJu-8R=I0pIuKHyC~>QQa?1{Fx`&Gq<31A^4}| zj_#$aV}l1+`66gi`9cco#l%8@{ag328rMhLToII>Ra{(x+b&&IrqUatgL3fFFbE1* zACOR9&*yYih-p^G%89V|_K$FQ?w-zrf8&vICMR-gw?P{DH%raui_TbM)PJ#R!H}AkJ=@&wCS}R59a@&8W1Aj?!ht! zm$d&|DxdG_74UF<5CBW~YmO7S{xSMtV9fF{E>Z zF1{A^VCq7Z6d=P^=V=Ul(+Arj8Ems|3ZPyxhAiQjBe#=cUy?6%z_5oCg(8FP0lJVD z=^T|UME)1&jQlGY_tU1^C3`T(#d-R~H|oNq*x1d*C=+(1P-dVal(#=?g|rn4>M=yB zQe0e*D@cyCerUOFIOost^l@^4XGd%MYQS7 zhk9-R5EnlUJv%qmGt8+#3shZNUHb cH{NmtIQ9JV(PlLH%aZOMGn+s1b~4ZY7vgn&#Q*>R literal 0 HcmV?d00001 diff --git a/dependabot/docker/node-21.6-alpine/icons/icon-114x114.png b/dependabot/docker/node-21.6-alpine/icons/icon-114x114.png new file mode 100644 index 0000000000000000000000000000000000000000..fa813ad5921e4d40e120838a9efc0e3eaa7cadbe GIT binary patch literal 1080 zcmV-81jqY{P)LzX#hyrT_j?#!f4+&aPo9q8hPT zS}LFq*c%jO#slswn(}f$;bxDBkuowKF)igYAZlfbQBAGrA{~G)FH;Wzz^Lg8?r>tH zgWBWOTG16FPI#s}YT5p*p$lf5F%J&yaHYB8OhdPLh44*@WQRSk3vAd0H-==VrReBJ zdpNvOUG79^A8!srKV$+V7DM%R11!-uT$Ce^eSiZW^9dVtWVUe zSHz3*Kw)j@m7bC`^@Ae!z%yUbJ9a6W?$PX+5C4CPrhiaW0Dzf9igoG-MXG^kmPCSe zvVKscHu~&oxOz=k&x_PVlYFts_M|9DONpCmKA*@c;Mu~dn|h6}QBIPcPMZz=h*{&s z?RppL)8?vv*j&y&=O{0~9dGt@t+^PwV~>mP+Wjr~^7CP`0E<<}#Y}h0XN&OGRB!vE zrXORb7`@y!J9%8vCmNpTO)c*LLL-la9A#?;wY%62^o%8`vNUIsk!|08Uy`=V(X?^^ zPlwB)3ptvtJVUHyifzB2qgicZXSsRNqThZ$M^n?Y-HQ~SWFs3ON0W(&<#5$AWV`l| zW?~$+g{k*NvLy2~7d-Q7YkG6|Je1n7n;vRLXpi$VwRS&0)wl~dxhy8Oz9xNr_7OZd zO0CD~%pM^-IwhXsO_`rvzFAhC>}W>?o9wrVQ>;136}UiCk}H*L$|x_@toASLJI>WK zB*xv<&|xgl>>wlC0r{G~`6vb%*-p;T98C-jlWHf(6<&{dP*PWZZtg;x>woL#1chM6!HQ)A;t|E#600009eV(zoC178T-^(N+$KMAoAuCT+GE$L znCJ=*aPMj&2&8H_} zSHI%vzp%+q=YH3nboKl?n`*^18+BLC&q;3JzO?-G>%EEn^L3*C95}>kRKLmQah#Y; z|Iyl;57_0_N!o?ZE6_jWTJ*~$GJl6L)5Dw3*DxyFyQylHczc@ZilXf49{cCL`&>{x zT|)kO>a70nmc^x>N7$a}ow%{nJL$dN+v4YXopX1myt%uy=(*m^UuB(hK=^lAXH1=M z`0=6}q1P-|H+Ii7vw87q#)n8LUV{zXLa$b3IvZ*4m>Kzdx;T&gr?SmLfT2i50r8jQvM81kOxMoVaVzo)Vosn|`kQ zbm85l)v=+5=2KlW%U<^8vhCRW#&7orp^XLgmUGHf?M^a$pZ+&eTx9LBJF#Zzu>vCd z_U_rXt7L`w!N6-fuP#-UVwXvcmWrKKs&-LNym+TiY|?D*U7yy@QK^}{=2UXBrH)he zeA}4&&u{EG$m1}j`tEb5=6|!lH1$uiuH4@7wSXree`+K5lv1|76H`xZ$&!1OeUX`a zM7t>t?>vv*4QDyEZ4|(4-XGC+*Yc zrfYLoY`O9{BII*RL(J0{Ur!U8?yHBh-PV0#@jq3}^~&>zOZ1VTX}=2&h_|VU*reVv z4Ef-(^i|(7n-!H55;R*|b{X`1SKP`FWrNmw+~^S0cYd20_GZ%OPq$XT)E z&ATh&FPxU<${AntnXgy(;8&UFo7<|{_w_XA?sj2b->~HU3#kt`81}E&!|<|di}8oe zlKdJE)c*z*oOhBx=AU`ktD$bm$H!3_5#`J7Zb&)9R>!IMaR2`bTL%5hU#ylEBpm=| OXa-MLKbLh*2~7Y-<`HNB literal 0 HcmV?d00001 diff --git a/dependabot/docker/node-21.6-alpine/icons/icon-128x128.png b/dependabot/docker/node-21.6-alpine/icons/icon-128x128.png new file mode 100644 index 0000000000000000000000000000000000000000..25764c30db2971422adf0ef54b6edc450218f949 GIT binary patch literal 1165 zcmV;81akX{P)C0000yP)t-sM{rC; zlMU~@4mE%T~ z-!5D(YK2g9B9Nw|O2!g>o67=aWEc#Bdz}9g2`xp{C@bISE%PCMoaBr3T?6?gp9)}PIji3^ zh|l@3mIufT2J%Zj2}S@WgY8ScxUSF!Tn6iNK7{f-g2P~Y$S+PO0&p3~=X?mI0E>a| zYOB3-}wOa!82nop`lvQ!GSx@w$ixFk(8qg(k zWeF?{F*vKfT+37MFvLJtZF%O;yG7@DM>?^ZDC=$J>CRM&_cHAy13nb>T_A(BcRr6YlD!EqhN3ka z0}p&0SR3?rP!jk!9}U*x&dEehPX;3LZ&B2v0kwe|x=Sk&hSupcgGBeIDF&s$9E0K# z%rZEtCJcGB0gVZhul(rQ3`E~xFP|YoLi8hQ5Sl05o$~2x6z&=%`SG=O62)Vs8_D^I(IRi+t{>q*DL;pPZ_SFp^KKaiTeewZMs}-s<^!k4yw$ zMeOc!h^y=$!XChm2r3Ag|6W4YShB(>X#H8NIS1!A*va{A7mgbX#4$M^*U9;)XaBmA zUu>seYTm_ax;9m_|hDG0eZ fP0R3)KmPa!uS}AXH_Nl*00000NkvXXu0mjf5{w~J literal 0 HcmV?d00001 diff --git a/dependabot/docker/node-21.6-alpine/icons/icon-144x144.png b/dependabot/docker/node-21.6-alpine/icons/icon-144x144.png new file mode 100644 index 0000000000000000000000000000000000000000..5ca0d1e693ed7736802b5c2e0f8160d6fa7615da GIT binary patch literal 1410 zcmV-|1%3L7P)KsE9Y4yjLcA$E`VRN_N3GLha08XkZfy|sWm9O*_6 z;&h-J8{APwLvthD>Tg!kNJM@_XltWeGrTb-+N~N|(wS~WgiDrQyn==XVi>q$(s6Y# z(2ga>09R%@$U#9fju;j$s7xnbJsjky;x#lfeNT{1A6wILB*yS{|BKu~8$B_mivh*U z-`51{O!u<=x-)Z?SgEg%A`En46IzHaW;C|FQ(?{+en#kTe~-Y4U(INsE7?FR+7r)m z2c3ggmdc(9n>-VMfbkkA{};>x<9`^Z;NVs9@IY`NKVhn!m2dWPzStw`Agr zoJ3Ed#wBE;9O$h%iS-m(1J1;g>H$RHi^O^goaK8MvwROfBk3N-EZ@V=i0_dt;(Dav z!t}^n_@3uy^kfepE_{!0(aQ8l!#@91J^lKAK5DdXc6Lx81qV;>di3O}*sK=G83VoR z(NmK8)?A7fmmyPia%yKCK&>8{5_BEh15Wv-{V zQ4yEPPD}b^QSaI7yFKp`BPf?YR%D6o!SL_xgg$<#XyALGKlT(Re4+?3@I5fs+h`vw z8i?0pW4dz;P85CFHq!edWu(&KoRzQPdV#7 z+!p0VGuqgmatvjCU({$9Rt2sHFx~AV;NeqiQq(1;=XK;q1)tpW@fhqO>DcP*9E$Lr$fc-O;)p-`u!*a4IrvH6A=ZA+%?!C z9Pf!j2^e3+jp%+HI%dPKI*v>_E$*8 zf5qLeLtRY$qcbXN`SyA+Mp?WFFYZ9>;jx(bj8+9-^yjO6pG0pV9TjnZ!=Rg~m`cxX zL*XLIe%%7S_1lYWesAKUB5Jic|a)alix^-rXPk*!LD}*FeEy$vO(3xPFOru=4Zc!K2yy< z*mEiC$9pQ>Pu4^B`JU&G>LJm48;CFWYZ Q*Z=?k07*qoM6N<$f*2CA_5c6? literal 0 HcmV?d00001 diff --git a/dependabot/docker/node-21.6-alpine/icons/icon-150x150.png b/dependabot/docker/node-21.6-alpine/icons/icon-150x150.png new file mode 100644 index 0000000000000000000000000000000000000000..491fcba7f3b79f909a7d9ae8405fb15ebf0a8e13 GIT binary patch literal 1366 zcmV-c1*!UpP)*^H)e!#EL4ejwGJ9J~g2NHDR#3!7F zKJ56&1`p_C+v>CgfzLSmSxN@{m!*Q(j0^{SKzO|HC%lb8hWU#ZI2`aU7C8)*k@z2i zYLr?;fFf%^;{AA?$fCKNB(MHjI$%bK@E-9mwYEY7weT7mIUE$Qu5zPttX8R5CM;m8 z_a0_bopeb9nup$nFJTAf-nphF`Si%=x zb2BT#o@tizoZN$#Yi{*j#bB)Zdy!RtFUG3B7g-JHrJyy!k7h;j;#Y7$FR~iSOF=K9 z>u<$-^|#`@6!hf`Ls=2qh*rn`U}eRjCUvgR7OMR!t5dj@(0 zcclTW*g{<|u_JG#C{PJ5^iuOS!0H*RTd-UN0=9ZycK^mImcO#4YF>)5y2oV(Xydhf zV+A`MtvB*=_?d~Gy7Er~wDGcESy_tSqt{wnD|1-!4-pD%HM|THtJ^`J0B97ijfvGQ zrUyWycxnG&MFgr3&tAc=H7`s}<&!IK*_az$ub`?=C;Bt6Ub}^Nm{=<~srm3;Gt}{# z9$r`{c&}K+YkFL1zp`EnyoCzfS2gp=E5$qkafP>t=1SNIWoXkJ?!8Z*u13U7 z$}K(wwAhm+B6(4dTA(3Q!7JUithE1uitxRUR@RC86S|YvrLkwX4i3usE?z!6?B6es z^JaZEv)gWkT;_dH-J+FzQ!o0~b!Ao%dF8U#v+cYREfOu6%xkWpV0zKai=vV89(de6 zcWmqBZ>i6Dha>Yt!8?KFNZ;vbYVb6L~(3JnJ z<5kElicTu`s#cIkyj87*nTM*9*Ddlgnwf{HV_iPg&baGxZ(rIbS2lMj3pb`7=U4(S zTx9n`#x^by%$(LCT&v@2)6yZk4rIObr5kn%2kiGSrk>k~puOESg2J)gJa>9j%`taYHmu%EdE)L*z(j-oi9l%Tb`wl-*3vHfX5eRMYLXbVF zH}(q2!XK2!i>2E>Cn4ceT(y{XB-1rJ$(f;tS5C^T5XAsqlB@^`-MwVt(92n9NAY^l zd@uJs_FvIphEs5XMEf3TlfOyL8ZOp+W!qwp`3jkrhy8faYoI-Lji<0AlmK7~cq7>U zw?&OKm=k+jm6?XLLOG-rnjx)v=KPEg!~tW~G3O_IWQIO4H~eFug!m)=7FS;GsMEn0JR68irs!w#D~qKMeXz(gYg$hr&iR&nx`+@#6=> YKL8xr0BU3}UH||907*qoM6N<$g8534;{X5v literal 0 HcmV?d00001 diff --git a/dependabot/docker/node-21.6-alpine/icons/icon-152x152.png b/dependabot/docker/node-21.6-alpine/icons/icon-152x152.png new file mode 100644 index 0000000000000000000000000000000000000000..e2f866af70366766ddc91e83903c32b1cc6e8243 GIT binary patch literal 1360 zcmV-W1+V&vP)0{{R3FC5Sl0000#P)t-sM{rC- zmgGg1<3*L@MU~@4mE%Q~<3*L^M3v)3mE=X0<3*L@MU~@4mE%Q};zgC?M3&=4mE%Q~ z<3*L@MU~|19v0yM000$qQchC<5<_*9rG#21Pqz5~+8WRZ>Sn<+`^o8I000E5Nkl!9Os3q3T z@*mvnsS)~}1$OMH0m8(85qqkR-}wT2P-TqcYX+)HC%go8W0v@z*puop@C`0dExcvW zRGN)^OAK^}Syw}^5G-F%mj7XJKi%g*&$DobR8akPPmeQk4qs4ZqM@gWoMSEdFU6Cd zrDI9?zBCNph?(ImV{0PnX}lnbRs$Rw&iuqg5ygJJ;+{amT#~&=ymaHvpv)A^+G1i)=XD@h|`vt zWq0yM4|6amGVA%0y(6GiGGx`*GG4XJjDi$H6NkW_`0YW&8Hb3}Q;oDwrLPvtB1e zcr>UgubTN(GJj#E-HFOFzj}Yab0uEpvM(+6MYE~I3mF!@%+2@AOpzDuBAGPI<|41~ z=O>7?%uD?4oV9$fv!I>nWsT);2Rpb=e$8u`5p~YV80UP;*7VLKHn|Wom)S<#Z8*ryhuy!;bt?#h9y@q3+u+85X-QE2~&Fu3Ppf ze@H9Ltg0E-Y7!wFGG`|RI%dQOW-|d1Gee4`zb40VAt3WCks?d}?6le{8(`0yL4GGi zdd`~-Tw~sz3(Pjg5U0qNH!~J%S;uVmnGO+1laMz%Fdj8#*5hbZ&#Y@nj6%9MTOd~7 zET8=K&2U6mCPg?yg=WA+1|kmOjOwn_XbQ9KN(4rFfssB zkfpXx?_3>A+#<^J|nW+}$-fW{r%_6mG<{SH*80Z`OFdP`D zDt*d)x}_d|8F#*5Z{&lGlgoT8qpsa<8F*@ma2{idsIaYJ))@zt4<9~!DC8S%-tei{ S{cx=S0000005u}0{{R3yb+fl0000yP)t-sM{rC< zmgGpA&Xtysbv*Je0(eQY@DbMLK15j%XuOJpDR~!(|s~u0`o%i z0we2WpDL}$Yk;)Q8GavdZ34p;Pd_R^4tEhnZUU1y_xbY7q3!|d(vH6HAz9x7^c_Io zw|}!4TcnY-@yoZa;no4%8Vh)lIm><$^wS~5v#13g#+rs0-m-&d6 zzb!P4#$srtfw27%zKaP>HH4~FoQ{Rv5fMKX#)faUP>u2-{v+W!%!jDGQ>Yn}BYlYN zBWBIQSRbPNo;!p#5BDKLYOSR_8pugLWI2fXAl#|?Af)Ppkg5+tsy+yb`XD^0`XHq0 zgOI8ZLYh8ACaOLNsrn$K=|fba?GyGO>;tdv6WWEiZ83N)X7IR6<-#XJf;p{fG;i^j z_s6onyQ3V*lOdNYpQ-4x9mZ2@qdvPj-jCtwSU&S1VF1r;rNcK%DC}OEK3&RiA?ixo z#}9BeD>;`oju|4bsjL6<0P80}?*oLsbooT8O(yYp`%IPX^Wo=q{sIU$3wi4Eu~-?Y z86k9?K9NzBhYDkt50eU6u(86_=VKPt^>oU^@+5sdxYi&;iZqM^Xn%xg!e2Vll#*b`9&S6uOZ*CF~#;2F6?h( zV=g7Fnw>^$^|?#Fmja>8_YI44-uJIz2;qij9WsjD7V5J$!e9V#u27)-K#0$rlGsck z7AXGe5%L3=9{@2}D4#-KS-?li3s8kg|6bRXPr%wGR%McqT0RJy2FLTo_)9p#R-+Nz80d5bhqFms{ArH4D6yIYRSV1vSoA zuVgdzAtbDzdG{RxTX3EbWzb>d58}58yD;+q2>F4N!sv*- zLx_5$=bTg8!iZW(Q)saXX$mC@4NW0OpEz5nDFT^n2^B6eO`${2HA|Q-h5P#f-v&xT z9Htb$u?jju{=}!B;FZiiP@PZ}vrbte( z6JTOt z`-&(2CcF}f_{iQROD>J@$wJ){YBo8hA#{w`V z9w$J{sAREWudHNXlp>T3+p97%dXdJ*ggQesT)TBIWnUQO2ssMy%{SkC^ADr%s zmE}jA<3yF>MU~`5mE=X0<3*L@MU~@4mE%Q~<3*L@MU~@4mE%Q~<3*L@MU~@4mE%Q~ z<0phJ`~Uy|5_D2dQvePH9V|RfV|I#~r?bP<;p_NyCDB~~00kyVL_t(|UhUj%Z>%a5 z1z=tU1Vs4%KlY|c+jSj>f%ZiAZZhlBNsmn)L2zSHab4bd=N+lFR?Lmsr@eh-&%v@) zF1h_b#Y>J#^R0w*VW(8S!iOYgO)67+o=vl2=GIFwe3&Y=ehQx!4eeF3V!~Y7>v$ea zRR+$=qvw4aC30Y@y$v&HP_?WnMSpFxyEaaE32>ihT7$aKnI@b?^rKcBm*r(lRog^N z-x=H~afV6I`Ci+I8l357bXN)1W!8@A@$1%spppXQ<@oG`AH5?w|U7y{#Zv zTKoM(uj^CienErkDQA{Hx@fLgtJdE`WxcTyOzqcD-)?le_FJgj?{vz28ajQ33*8I~ z=y)Aar66liK*!Cw60GC;(5=VZwYVnh51`|-t5#eTm45-vJ?292+@@a***lql##v|m zgr-}Wh_63tQFAjBF=-mAg^0H^5gY3)R96BfB3<0tNA>|Uk}(mjwHn<_shLP%&IFV> z6Hw+%K$$ZEWzGbYITKLkOh9=vk(D_UQ07cPc{7p7oCzpvCZZy1CL*`Lz*KI;l*U?X z6sc1B{bi@CWi6lbjczlMhVm&>hU5Pirzn)6wpUE$&Sz0>Z&MQo^JZt4PPkQRQyVb# z);S<5nmufNCKVJD(U2)$9g}W=N?&Fwq8`PI@pAgFOLrP

<;=w#;o7qff0ImAM76r54@h#3llehpnWGYpr zu04Y(*<1t#v(un`s0mM?>xGMtY^L_Rt?Ia&z5*qdD>pGppSF_MW$sxcu2IMUUD5F* zQJsn0)6qqd4KQOp!HVP@h0U3<`#-YLvJhDJD>A9#0id~ChBTQ8o zd`YouQI7>4j^+S83YLmW8B8=h9W=?O%v~LiT*;xE{Q}4UzJENZuu04 zumC{46F@xK+md666=m zASth^Z|)S5*fe?Jy3N~vM_IbJlyS3gxKHzxn18*DD+D(|$WOWP+_MS;e1rl;3C9@5{HyOnq!^sK=Uhy7iSU P&}s%xS3j3^P6yMZ>=J*3aq++-@bhllT=!3C5^p{ z*f=bCc>}kQGrr^k@NV*0wJb^i-$>zp(E``RibtjCerC36TCr6Mz%Y&Ndw)2D09iWPmi@8ZU%yB{YY(x znoB{&ezh8HF6C*HN=l>Os?&J$=es!E%tg)LT&ek+>+}uHK$@w!oxY(NNHaCJ(>F8& zY5wN6n!mZI`J3y=@i({C{LMwp-&`jge{+wTzZrzQojJ?-t=UeSlyWl`SY%bgwwWgF z%MZ077+lZ^+h#HmpYxj-N_KC@x)8C>PcW)!#g@6XHMJ;$0hMpPVJ3w~>Fd>E^Vnh5 zc$^a)#<oiQ&#C}wMqTv za4;+ff34bJzZvwwvp51aa&|<5s_WF- zCuWF^rw!=3Gemu2ri4E&yP~Vqq(3l2t{$Boqt+ef`r#)HL)G#FGgat!YJyV=9p?H- zI~c28`^_Nmr^Q2`dO1lQmJW0EXsv~z$C^yP8C*H38|C%<6`1HOIO(*HaY*y=n>Ps~ctzzOuYm&jL<~Wao=E23zXj z@}AnjNtyr0(Brb(7CjOUm*o zLS&&9FB9!W?A-BZDkBU7wSOHa+}?hye*V-tRvqKsI8n{=rsqSS2CMb!y>HuD-Fhn5 zAu>2a!~vRuukQ3@5qYSOP7gcRYs9VE4;h=OUPugcwHg;IFLkKr`yo}6B@tPv#Zph5 zr&QVUqgunzs@r%u)~h()F_SR3ZSQNJk`|4>CZzyl%gf$sH@E)=w!+}l{u;flHZV4u z@bi7XmB(4#UK3U~9t&e5*R3{u29O-P)vnBB$JN+-YTrO-7#;Piec6E+p6ylZdY6yC zT2)g(*6Iq)T-`oB_^V^N5LrYGb+wI?9wt`=BMb98wW=o{*6Xoq`$kbAOq$Wv=)}Qa;^pfXBN?ed1G8snWH9C_4ARC7d zZIv14%t2jBJ|Qkxa>ZQIz(`%^b1^?;IjiTeYeofp)jk}2A_9|jV_me>BA3q`N+{f` zY?l$fHo@>HtQBj0a0z@(!uSX#ov@VL)P9e`0gFgX(nUY}=;S2eCtJ21p7X#Ys{R#b zEe>96%)qoTBc?UtUK3yQaq@=d#ql@Sd8X!e`G#hkZfHh%Lo;e%74?`g0H|+ z;f^Qu25`S)t$ZU6uP6LeBeQveqyNj3~1#zI|U%*1RrO?aSH5{ zB5q(4dx1_RZQ?D^pUga$G0+jvxI>VPW}&6O22dJ&mh|IUsPi+_1fM1T7bR%8kA~0E z@aG0HTzC>v_;Z7T7YdmAV*^p~4eHV(Js~VdcjN*-jI2L2Fb>}k8FW=T2EKpIeHP<> zWRTt$Ai?KR;U@+QzM)D6=i<(F5jpg=%dZ=(9P&dNHK6;Vd`W(a4@ekk)TxW|QGBhUx$_ePlAk}aPMu$tq5MfmDGkH;EnqjlSX%ts(&eHO@Il*w@vHKqV?b9V@IZ~s zKZ^EaLM;L=C#@0t`Axx1oPujHi^GBZa$nM48s9q{%I|QW0#_k?#i9KAy=G%I?bG~8 zbjlR2FwiZG?w?b{9*xPgPxI3ogs!Ygt=?9=;vrZ%qxbX6y7}6fD1jL8JpVSlQ|>Vn zXm^Q0vd8j^u=`Mfh*uc+gAcO%H%peu=Nrg6`1{k_^tpEgvS%2SgZahoLlM*R^6o^yP?44b;K>a7$-l&;UM)9?VY#8n7@h{ro+F z{z!&TlKc5Pmr%b3<+?#Y^3y?lxj`HM{pmEyVH}t^_WP5C%)+=qC>Ok3zuo^7#BZzy z%UK59e0lVB-Skx3pieXC^q-gUz1ovOOy_>$K*0{8k{N!i1`C{3gHHdykg+*d1DDP) z=;sIFI(psVVKe8DIOT!5W?`sP1(&A2tBFdcSDs zlAc#tlKhjgvu5WS3+& z53T;8719zPgGl?n8txQQmKCYNm2*)eEt)1z30A`Bz}vfF7e68-&tb z2r5t}sDY^)XSk&1sll?b^Gg=}EHyBWw&Rm!bI45H8Z^8i9`hsj8qf}%eOblB!qLE* zz5J+NcOhZrXb?5r5Ek!bx{Iosqd{nT^NlG*@*_sW(E!oq)~v%P3e8W)3>yPVG+X(x z3YL3Qijy=yua=|9{rs>XAp#df?&gPNksv1cR7<{vl)V2D&gyW3>J!{Rf(J&JQc3(K z;ErJb&y>uP1Kx>V^j^qwzzv~%%Q@!eS8?;w`!D1P;E&05NsyL0&%d*x_c>~;xQUVCD9)>n*PteN{&h=PEhu1~VSO$rGMIhL2Xjm*5pgm(s+p-;O+VO9`vz3?~7 z3X$*IbLmCI`gXo3S`*uURQL~CORW27ZdFNP>x4=2qnc^|Il{xDVtr~k61PNiMVL&b ze;nEVfeM1j^l9q3T%79inab>C9r*(D`X+ivGR+EmgGVcw8%>k zGXH2SWFgUX)8!|M{jI@@t77U86nSExtWdZIzuka}{HY?{Z@{RyM8F3xhJ*pLl}{9r zh5;j8SymW22Fw=gl0pYc28=W=#FSF>WsYd2kuvnr8RnsDKm}_9Dp(s(!P8hg-x(vFzo?wnBNB{ z)2#}V;iRFzn5vWA@3}*9z?#9ntO+vSrErS|5&P$XuQRLHxu1aiziXxpg z^av}cDEy*9Y!d`3F1)`mXAS*G?1GFUtr>(KP3*bCkm|R}cJ?HpyYP(8w%9Yyr%$6D z7mmfTWDo%nMXo4{zF~!Gc6uHvh!sVW7b?&&KdZSfDV(@YfrdG`*%d`o7j0(e2BGSw z3NNlw%>On&D*)1T19#2Qwf+1NcbVTSbZT~dglfO6eb&5Mxi4>a@BqARLvy_1#bG`K zzsbe-O|-2upyH{V7C|BNt+q`44+|a(x)YpfQa;>s$*Q&r=^m8+_Us}Bhe|)OeeCAdmx9MwM-nb>j@Pr z&4#MzAaq+%97Nv}?3c=z2TYN45V9;O5}`Nj&il0U#{_}aE^tNRSoLY=m!G1msP^pK zHiGR~Y~9ReI2M{kpB5E!1Y3pa5UdpaoFK1YwmPBWRJ|D139HE{{Cq6NPgZR$oD}k@ zPm4XnVi+iT=Jwe4qh=P$~9~%HPpD%^EmoLaZ1QSKuUk_Lk zl(N+m=blRsl%y0ojSWeUI=Mvm=Th#aCzNe+N^2LyBA*Wmr|r>Mdqkl5rPx#f07?ow zZb1}YO?Ho#qI;1R(k`5+~?K z?y;_aL6&9%A-^)TEcis(BNmp;f?ncc?l&F`Bh4OC?Vd?;l<3XJf~Q?LN7-GA|0myk e^UXKkeDezklP)!9h#*b?0000t7eLJKB&YHT}S{K zWw4&P>-oq;dL{Gi^cRT_Cl&$#$fF%FHsrW-e@q0WkDDsV`Apq&_)dk2{BbbQiT{K;~Xxxy*AU*xu{q@M62<_2q|oM~Vr zaIYrsw+-*Kr`A>;OV)I$;tHF~V36xKZG%X(UT_7cCF&sZdC1Q%PZ#)yDjD5>G^*j8 zG!XD+5N4bPjSR0VM7y7vcG-&$xJ3zKIR<&{e#LPEQ*T~NeQkSCank|6!L*l0lW??B z!)9HJsqn=?ZBYgSBN*>F<}cGDqT-}k*>)Mer3N*t>zU5V24(w+x-FXKtCNNm7P=W< z@a1gV`ge#G8B`y_h%qJ$|E}Ma3)B>DIxfdciHk7(2#Iw1z|f75CBdrMwG0UylRI>1 zqqW5DYFu%juZR3lLc~#i2aSID?1@Q}qe;`iob2qZ@0Tm?z$+Kj4UVRe!(4*qDaq4K zn5AK!QrHkEt)aSTY^ccM3gvobI7G2Z4Z|uSRZ-JP7Ebz5g`i>6#0PHd+pcNk;=3>ZdbM1@isQ&62Mt0@m5Zp&(d!2?$pLou`cIP#bO zPi!2y*c?n~ZBQxir_rkW{>?M%=x6cVYPz2;{l&}1fp3suD{)r#uv3bjD(JZA+v#Pw z4C$mSk-P6;;JquC&)5*(hs!R2&#X@h8jS`H0AAxLzm<>>j!#&E=oiXGR7QbuHL_E! zCcOOwd$nayzrtl~eO*F3-I;K)5VBgNx%WwajWj3Cz z@pT(2m~(f6`xl}(;?OY`Rj1OzhXd=(IaqFNF_**fD37zoD4gy_F=Lu>iXhYEv6PEZ zKzq^i0&hBq@Kg=HRYwTmP2@hFJrP0{x};J=;Num9k>wmH?VF8=CY_u%+l zd(Y2|EndF{R(qwJ!93QC%TGq!&qBBfY#?uJGCm8UH#U)(s0Ioi?O!3y{mAUwheO?d zZ^Z~-LuWp70lo3_iK=|UqQ!VX-Q4c}`5q=e_VZ8sIFHm?M|Eghj|$YOxp)}=lbLp{ zI#pE>#{bq5pYk87amOR2bz0|S!(DPZXNI{xPJ%eMHmHi?XPH{QFAMbg~9JHrrlDApq ztFb0X`9BuOH5%H+-D*q3hrBMYh?c^sda~?s?D=h6GuezMN#Oz53illOZI9=FS6H#- zUB)bUx6zO6GE|I^z(@}>Y|M`>y{Z_`+;uGOb%c@x(W z4Clbmy?4B(h`lq>@0=$rJ=x-2VCwS&6z6rx)N<^vu}X9J8$&wy?bcLi*a(6~|KZzM z2Xol!N~#JQX*h?+a6UBE*5sAf%T1Mq&ILy@1InE(|C<>WRmpd==eIf5+b?F-owOQm zIC5RzYW2_-lA!m}ly~^euU^UX4`uY>AcAMKW3O|5gIoR6to++e;!j7t!ytD&AFSXn zP!?d-j8BMgR^5f`6$@W%L%X_TxxpT*8ys6Mg^&;bWv%zp^?=2blspr7RK84K6@KC> zCqY=wu-Bc@*Mlag=GqlpAvxHUbXK~RMSm2_^?ot$?B0@#tTU+i92Mx#d0E@8Fg$g5 z;fl0To8Cbmi^-MVWmg=wsaC87;U;se1r6r#1q5T{%mPSz)|={c>-SsNIG7D#GRNue zixOfini8x@U9>!4@3B-y1{#T?XpPT^_w@Gph$quqO=>D-l`zp68Nd}!o@I4{QCSwr z!1e1U#eIJ0a3|aY9;9|DCtmp{T8pu7Rj7?N;k<>d9Yi;hWShE{PHJnm^enJ}NE8#? zYI2JdGcbMu&1E@X_3!ws)*UR zw5!sP5wua_4QWUP+Q>FR8uElj12s=Vp9dCAfv&r%cY$H9%W@p;4>mO_jZ2^WM{kIu zR}843pGIQwK`U%U^E7Zsa~6vjTq0&e_TWb21aF_xj}dnV#fu!XN8s$P=9v9gu3<+b zg(i)diyz`N3nK>n<^$EZMQbJs@DGTRc<~$PKiCFL6!wXLr%rC}^eeyt>w>Ab^-25- D0Fu(G literal 0 HcmV?d00001 diff --git a/dependabot/docker/node-21.6-alpine/icons/icon-24x24.png b/dependabot/docker/node-21.6-alpine/icons/icon-24x24.png new file mode 100644 index 0000000000000000000000000000000000000000..0fba91d43e61e2c311a6e2e2e68679feb64ef429 GIT binary patch literal 381 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM3?#3wJbMaAg$MYAxVjhkxJ`fRHTS;jj3=&B zAHxuk4dzY(iFiy0l1~Dse1Zy2ed0Fdkqc14w8tO>)8ztUKXI7`)c92S>A816D`ZQ8 z{DK+e*hTmK|Jgj>)1ZX!8T0*1nhyv2Te0Y_QXhuK{~KQMT@`njxgN@xNA8!@p; literal 0 HcmV?d00001 diff --git a/dependabot/docker/node-21.6-alpine/icons/icon-256x256.png b/dependabot/docker/node-21.6-alpine/icons/icon-256x256.png new file mode 100644 index 0000000000000000000000000000000000000000..ff7c3d1251806a73daa03dcbc1c60ddfb991929a GIT binary patch literal 2209 zcmaKudpy&R8ppqDEUnE}Qkq1_{ch%#Hj7-6r1X;|t2oI0){SP1Uv9}xZW}SzI7lvq z2oq_{E%}8Q6S<_qTr$>n{BeG-*ZJeT&gbw)`Ij$5!{nv5s6=W@oWI7lxUlIFGpysjUPV`O?C{4I$eXt z7_G==;K8-0NoPvYT8|0wcYg|eh?@dj1zJI~UJ4GknLQ`*C#2mk~IM2y=MN1MZ7Bh4o8xr;EuH zoc~kd^0AiEgUsScYI6)FNB2f4rCS0e<4T^saIn{%8CA%txQ97K<|RW8CVw`NX{{Z) zbyF2DG*@!aaw~b;73E#qTQ(-?V_bD}5mdzkGP2qxJJfQ1VRo9iq-+yYYw5{Ec#S&n9t@OsRtjLvH`n%I3GESB@#b`b38>Ypuz>( zW#uRixhVoJ=I{*@?0fI)UQX;0e)%h6Yb1$D`U{uf&R?&mxLA_%NI^%aMaQs2LFQ+& zs~jJ6`9=xFKHBC%h5*NDxyID!MtDvJG0WMAU#}~r47~#Qlp=MIZig&$EJ_B8MbZ8jPhyF0$N6o{O+F}9g^i%;T_!P$UauBXR(ASt zF7RS@{NBINmq~e@uUBJsmSEGq97eZ6gs`TQzMB2}UCNp+MR8U!|q_?o#U{PAYJ z58~iK>elWGee(h|nJV9c+8AssZ{&0^Khs;S1ei54GHPAkOfkOs^DqzBB8?{@PQY{@-?xSKoJn$SApy46TaxGt9>a+>V<>M!Bj@w z8HBjq<6ox6TEbA05AN0U1iiT&7DoAe~FN$UJy_(0V zKawjEX~Fu~7UfKHn9SC3G5E{bxY6*6VYtbbMPe(B0gLV@=X;z=4C+CA{{iXIDS>Pd z+~aSBh5!ltULDhOs|cXP1p$14Vpl@L%^=kjNM3Ty6m#kw>I_ftr&)_(+UmL#|G-p>R(!WZW<9tB*wNi?apX{On8M z7wa%ZJSP@pP<dM8WL^K%I;VdE-xk+<-&W zoD^BywWIAoPsG(Tssq`#MRmW*}<5y<-vK*Y(irqWtR>6={G`y4yK{ zd$ug9TI#@HLem69InU%3M92Dah#mTZEIH++Dw;~P(4$k%dLIU6$|zn)kTTl{EGg#T z2{bW1A*E@ef+^xc~}<}LM-r^u2xKE^)1$im(&G<)3Po5R}O!AT=X`--;3A zel#{H9^YPLsQWO!Y)?j$@Up3~c^!Jl^f+Jov0y6yscC2f4_2gaB#LhI~ zAzn{(rI6bvpQ^eoLR6q7H9d&=A!@l;)q(F2XmU&%Q~rXlvW`rZRoJgxHmS19Xc@2R zlz4;fd#r)r8T6={M4D0Go8#oUf0X#6)jEHY>a;<5GZ6{DQ?GGsUp1xtChXcW@5oro zqzI2rMLl%@6xLtq7vT-B^ID38OWtd@_Ymf%{!1@JSJG>|Fh$BcPXl0Q?PyhrCqDQ$ D4+}Jm literal 0 HcmV?d00001 diff --git a/dependabot/docker/node-21.6-alpine/icons/icon-310x310.png b/dependabot/docker/node-21.6-alpine/icons/icon-310x310.png new file mode 100644 index 0000000000000000000000000000000000000000..1a84f69d41174e8846bc0d2276da9d830806438d GIT binary patch literal 2639 zcmb7`dpOe#8^=k-qwOOfqJx~lZx-yAfXvwVA5LjBr@`#a|umCbbx!9Q8^igaJK436Ba zMv0+Fol^B@*;Lu!78mmuB2#ZVO+xxp#OQA#o_xwVsv|P+ES>Bqr$8mxpLmc2nL5aLFSdNZ99C&upDJc-SL;uU8jQYqM2_ooSi1I9 z&K+~eA?~oKs;#xm6uUPmW#uMvu4ZB9tK|66RegGS8Xd>P!Zh9@HZkXu-Z8mbCNeU= z|FY@95~0)OMiSQ?)zpNgHleVP%;V-2ad}rYe7l3ov=h>!L?`I0et)f0!l4w?vfzZp zC{Yi!oBgYvT&WkO(<=d(lCWnSi)TUW;^>*BOxPM9&DuEHG+m&dFxz&pFa3iK>(qUBV^%`k=+d0^c})ofCjoAA~h?}ea0}3dM7P)cz zb*7Q`lmMO8Mh&cB#WG1|33?UN(5X|W?MYy@ykq7JhlUGPm*rjiic)T{?A#l)%8J0U z!^G5AL2x@T>cs!If_0v53<7$Kgq&?qvwcJmf1C*8_YnOKB8*W80f~tv#wqTk(Galo z``xUus&=LoPnR;&c z(Id$gtks0;h@<$Mr5x2a&bdDSxPL0I6!(Pg!@eCIBmoBs-)4__pDb{D{9TA^L$I}m z&J=`3qPU`ltM?Oqt-cb1pEHPp>hBUFodw;vy36NPc0@r)bo z!ZDRizkaW~i^M<=k$AhGdN|Xht(R*0SpC>XuiwIfS=*=Hi^xU^Uu-d^(II{j*?d`b z>4nn<&5|F|kuXoI|H^6faN)PaE+Ua`u-IHO-v~2)`=zmgpd?~coxhrIvNhKqcSxGA z)%YO&6tJy~0hLU`!*g}~)*m#P(Ak$tT<6SwoDsiqW@H7wIJO3=|2Pt6<$U&vPd=tf zN&5}#yfc*|C{*mK58Tu~33|?p$)|z=pY09TGw*86E>*2ObnzdJy-utL>MXdL(c8?I z*{?a<%*mJu1?wY`nD2GO*)L`(aVWwfr@bI(nx^SF{1|sGY7fK( zd23hMOuW|_xGR~xlBHu2XC5a#bi9sKr*L}u19UYXP$xgv1 zI-qL#gOjPWzc$)PU%k@Wo65i9ieHiRp&wU(p&?y%6Z=k1$Hi=E#IS%BdWB=vD^hk1A5^|Ckp22H#E!;QDrlK#{m|(jOdf=>_a+~Wy zCzV~oYvIbhkz}-#H{ov}*(O^#NfeO#yt{S*Gt&}wujAZEXfJy#)8^^zzMNUoz>-;M zKcQHDS$7LEvp=nujwd%W4uPz7#RA`W|0pIm3lyvkbCmru$lvrhwdzts_^eN{)kx;m zace_AC}EjOB7du$2C@YO0*?u;w((<}qhXO4FAlh^uZ^m?nKm1+kj`Z9C{``MYGt$w zdH{*EuGoi=dsWyx@ugq}M+1Xt)jzq;Dr}uwq*iU@!SFRGzpCLaz=do*Y=Knj== zQ=7)EI|*q4J~x2ZUW9#^m55Q!OUXD4!>1AUuCfn}#~gST=#~S)EH?j1_X%jdOZKA9 zpu762e|UBa6q=7@d*G3n!C0rZtOwu_opdtX!@@wBM&)&6AhYX(fEexG@7QYj@AS(P zJfqo|0+Q`plMWUOh*+fgRVUxGxssaEM2we-rJ_ zLvQuyc6yq$m(-q5?NMRb9I3Ff! z{fyjPPe*s?01I>##V`eoJejphX8qJ@p5-b914^hnD60btJ=z1*=G%$U_#5Hkk=#@= z?%Z#|l4iD2qH~8N)S{AVK9?-$LvyHqSf2fCXz7dFwZ!8R&E*~|gdawmS_{<}rIZh8 z#3Nceo%kqRCIu<7Pdcdm5b|!TLhuF4K4k=-e}A^{2|8CkW35(1wBLK`ANb2BRlpjp zULj8Vu3!3|J-5F>s~;2uFOlypvd}IB7X@YR4`|SOO8|qqh_H|#o=SoIiByIH>Vymc zGTxNxx(2sth=bdJ(Q76GDMRF#4$W2AF*}6Ew^2#O3}y(bIU9eO6d0 z4PATcXMpL1nHWIJs(GhLC&{FtI6qCKRytIxsnf|mF(xpnx&J`0fduWpWbBHvD~6&Oye_r9 PFHZ<&?_yVDdsUh{6dPJIkR4_#nv z_esxOr#x|;`UEO64Xy^tZ~@CgG`h`r1XKxRE4X~91R5?~666=mz*>H}Utq)kTReWv z^Og4JKKgbd+2ieBYjMK}g-!fDKxIEXT^vIy7<(_cPCKd~!g7JDCFIV;KQqkIs@t0bd*hd< zC6%cLujXrgC$RI>tb3w*H>YUa>vmaH?{50??#;^&yQD8I*ggG;TEL1||9=%l|C)LD z?8fKkf{&C0tNr<3GmY_j=iw(mt?z0*af#QF)N(oaCRV+Asq`I-9wDBLbeSDu7cyA7 z&hhLp%scm9@0?=6*;%&!yYkrAW+_ ztXYP)6=bYy`=iY0M4mJo;IZ*%rfH-1n z?F;|_X}?_7T{#H&pcgC8V7+FWQJ?84V~i`!0!Qu*5i&cKmHg z@yd?c4rza1kl&;g-}Y!CO{6Imv=>@@+({Rt0sBKalf6p=Ql}}=57GcnVl!Rx2LPoe zEnfqm#hnZ|8rMPUZI6^H-slvI=ck9N@ijY0ypSEQ@^*2lpe&%V>+6=aDhOht6tb$T*+h5E}7< zu^9odLZnVI~nhsEvZ_h?|!B#eGstGVs)@<8&CMv!Ad;9z=Y zAdBK{uJ=XmD>M}_=bt67_<`osLTil#FBW|O>As5(@sLSNJHVps*uTK=AivIYOmEQj zXjNqe$!IRz^}sUna9skMZm+$wqGc*$>+TDzGa;1q-gjfwl24n&r?5dimXGK(OidpE zvOGAHCJOZGIUtQ-*BCHI&MfFwll1f3m#0Ht2%X4WzE|D zftEbre1C7*H4%Okly0@_;NI8sA^VHr1>+=FNtJAiqws9yUMFp_ImAhLOGfuqX_(#S zaiEhuVo-n=*DF)Uu_hu&c5~}6`!+Aj=-De^lS3PqAiFmakh^!n?VIhuVhV7j1H3j8%=Mvet<@a7O0 z!4@n_5C?9jGJ%uKQNYS*IDor^r}2KuoAWpSL$7n2{}=Utl^4M4+=TOc1jDfPX^GCk zTV@pS-__-|^L7Mx$)H-7%JQ1;Qv6<2qd{ezYk$i#@>jH6KBVhT7Zac6HaKop>71&< z{t3l=a{ZyQdC>Q;v1Q2tjAG4xD(Ti~O3W|N@|ne%syofS?GV3`;a-yan~Y*N+FP3< z>OiWA>6VnEH-o^9xMA}kk@jlw_+%0BV%l}5XiXD=DDeUOfpPAX;*{);Z$0|lh@6=R zX|MjoQK3RU4cs_>vM?N-z2(Q9Lln=ubunEhn}FF{(?2BOlRM7dP7ZG?bF=C|%*M*pnPVk+FYUxKIAkn+tkg zTlWP~m*omy)jBpEX%lf;pbic@IZga}O{>%4Jsd*~>kU~=Ue|`DSnyMJw404?eimz# zN)F|J&@vO?km;+@xyh$-js>Coh&Oj;3+c}|4WUt7Vv%{bB-|cGBk-qc0EzT~+k)pX zIeXl)V%L)3h?_JLUcD`7P8Wgk6JGWd4Y`Vlg8L3qRY)DryUhJjCAnOen_7Cm6mgE} zt3}clLR%7O!?e}%n0jFvJ?OUC{r7uNup8(2+1ZQQTB!8Z@xD453{ zy*;}N0e{Ko=msWFyYJS<&Ccx5IC%YN!&%mkB>@+syRtbfcYV;WxwfWagg0W|AG?Lk z?npmtdMl?cN197QbN)h&&f2*2pWHet`lYt~>ncwR9+S_RO=e7-Gmw-uP4vEuCHNEW zU-aU{jBb|Yqw?1A4F(4wD68TfC%tIIV+SsHNSERqU0W#GRXF-4EI!QWM$R+ba%NO^ zHufNRfqz{d{!ZS;=nM(=hUQ6g(^B}hb>{?{?OCh88L1*%*N8X$04B#Alg$=3d9I!N z99+Efk{#^)_a!=!e(39gk5ze@W@2PIT@4(# zV!XB$Ia8#zFS>pe0ru2~#umIy87+Xqp1@IrGH1oSkHfs5T?iKIVaIdn0tU+e#`ho@ zI{jeBapnuT6gTs4xfc~SQbUMa;?EYXE5+ca=f$8cC<TtfKC_C%0tspEr|=(@lW!=rA=*WR|f!W;#>Doj`Py!nh?9rVwWDw+*#w@ zYkTx%!Hc8Fs9gfDIGKx|0n4u@0OFl4^6M+@r{Y4%uckWzz+-OgJU@BYD{7a( z=Fy${c=k%flClyg#dV;AYKRQ*jQVw#BDMm~eFQniXL#7^N8&{Gd#AiY&cLP_LbjRj zP}Y-?6+eGyOR9B9EEGaR^_P-XI?v#C>tuxwyK6r@Z*lrrLM0w463{d}U5%q*aoCi6 zU^fzQ-(9x-*lL-&u-|5`r>ihM?8I}SmZ$;R8C_jR{Vi)uN)BB|FZMhKr<M zUg>Gj6M1OZ$#iwevS?-k8^vtX8xW|zZcrAs*=$Ohuio5F^uOv+WtC^fw-n_MOa+oPIS8twtJNn z4)CE7&qP0w56H)9XZc!AxbtyjGNv;vGM_mDfGykg9?(L|94)!SKT@@`l1;3f zPfwIoB+!fry@V_g28)rcDxp(T>f^xN1+-*rw@vV^Qa*d#*a-)S-JHVu-s)uhu zbG-Y8OiA!K_1hzZ$VM%UTm2-wGA3%N^#YRPc&p3k?p?Lpv*cHh>P#EPXn-l#@)Knz zG%qnHd)~+XVHw&=Q?KRD;xGA>a|TS|!WpwT_skqk57o!uPdfaD{i;u|6);Z32W!VZ zE;q5pR_~$i%S-$@lj$Bq<^N8YRGC(bLj!L&SKHKIn^8p|7pAqYv3hv-r3UkvdLZK! zo9F>PPg`uMSMk|0pErfs?&z|R^{LFg^et|x%J%7+FT|kuoKp20Kn7%ftOb_$B0dl! zH5i0JZhPMeoK!UE6haRa8;rFf&!Lwgg{5nawK?RSvVl zRxabn;)7;r2as0cYPd|&-s&p5pohr8qzLEakt!8qkoXi|#-L(9WXKauIb?{CSN>bvc~@FzvVKiY~@ z%~q)EdOi>IE6j1GczP)aM9Xh=NiNS|UiCGy ff3xWiiLZdsZj!%jsRxNW&jM*Fw2(LfG+DAF$S;_IPfSKd-^L>_B0j6M zu4Cr1Eyu3ieEjY=>y~YH(-{~T^F3W0Ln>~~xys7-*g(SNA*ZqWw)=necdZhwG(5Zh zFU!)(r)IzWLxb6GnyNogE51~{DAa7}^J}M5o*h$kP5c_Z*xlN5-aDrIkxfqWGnqe3 zm0P1S+0JcIB!5(${vlVBS0}$!8w$wIoY(U8y3(8@wd?d(Ro>l^o0HtD|m)1v+N*34fXmA~rh{qOfJ8~*-&d_}t8edFbWp|1jO?2xT2h?#2gBmbzw zt<{ZDlXm4Fo%3z}4bObnx0mB=?W*;EZ3*Y>4k~O}erV(Ku4}*34OzZkc_pg|bEm*n~@U1uENxKbvtizHQN^Lkl+?d_HI41htq8CzQ6%TYX`*RN6}3 zuA}S9qjeSuW?inH%5_{NTX3%726536t?3C`(|o?Ro<7wby6lkk0&V>Th9cSru4=JI zqy&6(7Cx27b|W<;&c$xV_w8P4YkwNd=3>97vv|$y^7(OFFFs!@^(DE4f#I&40Z&`; SwC}+9VeoYIb6Mw<&;$VWhy@S; literal 0 HcmV?d00001 diff --git a/dependabot/docker/node-21.6-alpine/icons/icon-512x512.png b/dependabot/docker/node-21.6-alpine/icons/icon-512x512.png new file mode 100644 index 0000000000000000000000000000000000000000..5d3ee53a06906190994c8036804c5981f814f415 GIT binary patch literal 4335 zcmaJ_c{G%7|9+l%#@L==WND&|?4%3{2{XzN$|#DY3`u=SvX<`}X%=7RYtM9wCdHc=DNfBhb{Y1&s@jaOOw6q-^PuE+pJneR; zGk10*q9tky{Ou8;nEI>xxQd&%W9l!vam_Y|t>BSEZnh+BeCvsRXAG{`T1F=m~8K9C69?YJLOVmC=Xyf=w|m#J#gg zhW)B0elB$7(VW2PWuXJ&U&E%-4YxXOx)*@?KvFoHCb(iIUi1gn>$xfQ^qCdM0aK#k zzTss1gBz$=DJO|t$lK7I2-_g%T7iLJ69oh8^de_S#eL0ZwXn23D>qSi258#FSNTsVAMIj-?}yN3Ubj2Att*M3^1hU0x9- z@f{D`!Mjyr*-H@h7&P37QBeX0qe`CwC;)aVynI;hMpWTAu2m_$t1K4NC(;H(AN8oH zNbHO9(fn~R+UfduJ8C2-ED}5G~qOc6#@d$(rLQYVRkJz@_~9A=)-0o zPcpMdYC(B5)KUXwXeg7GM;NmPxZ9$|o4~pU-e|bbGMFT7phB6?-M;$-kuZDfi}PDG zxQ&hnRE#b`2lZX6)YcVYlW!?27mRQ6ram{}yq5&WuYX4LtCh&goun646<{6Z9z`s| zA8P62M!&ycoLOhaBoao`DK@ORZ#*y5n(r@muUJH4&NHTaha!P3Fzb!Q`Ha`I2UC~6 z$)0ax>TC)0rS9ZkzdG^(&<_`lwBl=Hnk7X5u0A9A2s}HY&Ln(S#=(WWhRGeoo*#3f z2IU*x$;i<9cr1sJe#9@GlKRMf9YOmin9iz z;ye3$b=;T>(FL0I=1g`X1*Y=J0JjMkmxkE?9pq%J|7Rj$AHdDQsW9LEd+q-m97~oN zPf$d7`~DYtO!>beKVU8nY$FNLM1&`t%>M}VWl47_+HIt5|LUEvH1$7B#sd6=R6ZtC z#PHlPgT|Dv(%xZbRz-8Xc})GtqA{j+e z5tZ>4`UL6R@vC<=(*WPdi-Lh}(z^an==+483huAzY$-aYM|5(i=2+;|D;c+FQUX(e zPt)(ar8R4Q`h27*v&7@@f)$4yoN=4^R_UM?OSV5^Cx6Slmih-$(VrOJiHYt47P2Zz z3gBO*oQ@^bkcx&(~@rrY;YD_r|Yu+I2i5%?ssr zLdlw~LR^%?et`4%FMi$B+(7uApJYbG3f<`EN>2I_XNdZ|GviwT zvnikRGEhms~E*u(~pKiZ?_~&%|E$KSg(&wPp&i_8#tXUuGGG$i2k7{bal*4Nz&IDLDeQ%`t@ zy#tIsDQhxfej3=Z6Ys{FN#;u4dlSt-*9h6{v~|)Xmd5&|*1x^|m4T{W^Wrz^(|x?D zkr`l}`xpHT$sikC&v&sAZDyGKEis&)w{Z^dOF7Hy4j6jQNa#0rPI@2ssS3N@sjm@R zXM=k>yA!%GmtUzX_8vGTA$^bc%EUlS4Ki#1XnftW^)ZQ{EKaXIL(>6PgUsq+OLl#> z&O_QoKu`-_WuSL?f4RMGJJDp%k<7N@kB{qBl^dwY!cOA?bgAuI04z3Rl)1S(!(*ry z*+b@B<;iarZ+?jgiQnbDs@RO*jfLd6{zTplaBKJ+{Rb9`;SJQeJEyl7@@v6m-GZ?2 ze0tTLo}VVD{MQ*gYBalP=kdhP{S|rrnJXp>nS$odzQeyh3sSs#QwO8{qLxMyAQsk|{Yg0FhJWt+a8&yA3cDqpjl~si*uLMnK0a`+r&K zoO&w@c)TNV77q+~^p{GRe{Z=KcJADv%Yf}WB+pM@9^;k9N`6ZHP&BMNIj{yFz~$`~Z#%;UeihMdSYW9qt!AYgLEz+M9y zjqjSmiuOWic=lS>&*=HfKR(3w5!`b~qT4dH6>Fl46g_2C4%Hc8px(uMHZ8Rk{aVIG z0PbanG($d^;wPtox51%+R>cL~;!8SfhoY{38X6;K9>pgneG9E3k50$VNHrmP^l^C; ziyMV|vy%1cO~{$Ws)pP^T4&?=rZ#{`DA|HZ|Get5?|EA+4n>0gURxR-q#4jo0U-D{ zcIe#^q@X^xC{a%dCKrH>-ceJVs=^A+hx%B^*ij zZ6q6K3=IKX?sW(5qx!63iDR*MK(fk_^=;{V-@6+JU}7oJwQdjXsL1o7!_pDQc0oaY zdf)D@$hG!doBc8P`k$PP7sciF&WGKK*R#aKFLbHN!TZgXT!^^APvwq4b8x|~zKdee zgO=)h*egetPP_RKOYs-MaNmRSKsyXQx2l(D`xXZ&W%vNtg7!acu|3pqHb}^vN(SEf z(=*3jvqg4pv3e$MYR5N7x4?1U^c93rP5tBbvT;O1`HbjY1E(gJdl+b>X=l11tFWp~ z6&{4cf)%zXv9B=Dzg!MDI8Dy=gRm)cL)#I1?+alYN=z~vkjs-9t71ni?H-#TTUo)_ zFJ;4Vk*(#{FHR2LFUG4bbdxljs-u7V{Ma>Xd7f*fxEk*yi9IN@Xc7}sd~wZ=g`38g zS%E8WOwS*1%`a5i3sLzDBdH_7GxrLs@faesfKy-GCvw%EA-|fmglh_)WZko3$V`oe z#AOtKox-QiUjesV)?rTYd2Rw|plnnV_oB*99C+V`)Y*yyS%2@zP^b?fxLF&1NKFg4 zUJG!l`6HhahT>B|Kr~^-&`6z~fGMJhcKn#FXP%x$r1;k1XPN#vX*hT~k zezcGn51D~7akpJ(gqpq_8wi#dGwP~!2)NvkB?v`UzQwB$$%o#{nogMjP}yAgEN6Nu zl!3TDkR*mOd^{nA`>-F|+36F_v@W)kCL zzHR9+yt|j_*d_=e0+6bt&vwB)9s#rdMsLr@fvroTFN$C27|o2B#VC?z{4A7r^8fsn z$~s)reCfR3(JoTwE(Pp+WK)27`KFJAt`|pmh~jKc%D9cQhtq@Z7aoeZx7=S%XQs~b zhc^UZV2)m_ff;kxxwCvXiRsf+(gQx?b|A2ABIoFXIB+=W&$l?+FEdj|lj>gy=Uwc! z%p^rz&4e$$FR^~4dW=lXOu653CIR^MVId2L7iwW{p}1#Xwmu;N-IQvOip4wN$$84L2f=3Rl zlJCqE+7wgANuY%L&fEm9jP5m9@sxNgIEY!Omn#t9qZjL&omK-ir~+n#Jy4wx?N#cp z@sKLdAQoZH!qH(Z4P-YFBCZfnF~8;)WqnHDzI1*9=Cj~GHMSj=|1~oq7p&Yep5yP2Mgb(nM1Q& z2i%3I@ma literal 0 HcmV?d00001 diff --git a/dependabot/docker/node-21.6-alpine/icons/icon-60x60.png b/dependabot/docker/node-21.6-alpine/icons/icon-60x60.png new file mode 100644 index 0000000000000000000000000000000000000000..80ac238dca6406917ecd6fde921894bd5d41a1d9 GIT binary patch literal 638 zcmeAS@N?(olHy`uVBq!ia0vp^HXzKw3=&b&bO2J`0X`wF?gc(BlOMQDed;>xiObZ- zu2Ua@8BbiN0of4r1k3=+LKtvyAOj@gH0?>ioYz3cz3Z2CfW}Ic1o;Is2#6_aT6u@0 zmNs-wTe4xtvGdpNJ^#+hY^>4Z%fP^R%G1R$q$2LEIokNe284uy}`Z`R$tzOX8F_kkMyAEaT+Y04-u#?*2PfG%sg>23%-^NDIc<5Tr~Ev_ zUqbh@4%_cKxxL}#v)tV;V-qj`a=*uvHFwRjhiiSUBDdD%C)RE{CdIo}EiUX|I{;zq4la=399m^LzefH4DT{9#WsJ*PadZ{P2arMK+srPs;99O(~ z(qj{&RgreWNl~x20W6!2cA76Rl*)bZNd4jjVS}|&yjxQECFJW51}_vW6kq?Ge}=={ zbtgj=f>$u?2$ui(gQIYJ#Dm4`ci*iL%svsI@kQe6RVORfY3=V$vgLpExYn@elG+3@ zqi4$%S;2eDniYB*z}#egPDl?3?(Gnlq)nH|9{{{N+~ z+@sVBM{KqEewIzV`Dvw#*qOQP3=E8)JzX3_DsJ7qbdYbcg2a)Jf}-x+N-Gw<|G!Au z$20Y^%fjhr|K-U&li#oLPjc#t*UP4AT)ArVmAPw=h;lDe(G&O9npxs(;=$P;51i2M zJ|Q`YX}gNBRN&zS2j}*2Hg3OuX7Y)eX4d@I&sRuGudithelA}hbugdxV8#L7<@-cp z&Tsd9@Y0Yx?+lqkY)f`3aMqJgqj(e>;p&3%V>9~_ris-GB{?3%{7h8`W-|cjV zS^1^<9F=oU`tR4>@Vy+H*TuS4Cn3GaVVa_d)&qsB+$%gA{~TiMS+dE&dEJ4Dkuy|v zPI5LViXZ6MbBHaYh&f=c?3Xjz5ebUf2UcxPK6%EehB@;D-=b|>E==G(#r<*fpMZ#yYz;cPCG)NvxEOx3btiAN^EuhRnS0Ob zT`<|Lu6byl%*1$$w*~VKw&+|vaX_CTi;ZdKvQ*Kvho7uT4_JJ{;CQl#myEGwsr|c3 zh5M(vS?$Hjrd;T{*k%;A{_&Xu3umnPl9ko@|De3wM2+iLu4~)_CK3iuS3j3^P6 zSuoY*>^HNAWef~Vww^AIAr*{wuXnF{tRT|*aOuUVQpJYfzt>+@?2tL1#;`j&Va9yx zrSaxb!bkSc-WdD*&2yjUKd)HVT+!Yj!uG;=qCG2fsq$;9jM-_|beUIOvdYU?^Z0$t z-f^Y7d)S4P&K(rbeRE;I(+x__%N(4o$WPu+XtK|^uZ+DW%h%IOCA zdwKR%Em)fUfAyEBh$uCar%PPsH+((5G2?VhoWpMa=IMUk&f?;FYd$SLq&Zha)Lq-t zUDwlHAA)M%9XRsd!YrikW?x0S>BGBc$~G6}oL4`$_@FiKy7Z@4+zt3L-d(NySMe>N%iFq(H%{acxODRe+X@*8|Dq|Aawn{tw!g^ECN10z*>wk( za+YRK^m$P8bnVxGDNCogM=txb!l)t8vzxJMlDH9z0*{m?!^$RzoDtHyZiDZk9z@I zf;<|ZeBsShu5_Fzcxh?t6Q8Gz^X%rleEM1U)LB34%ZYO8&n`bNdpEmmS>0PV|Dt(v z?J<*zmR$;)_eoi#)VTOG+ma&Ri&OagH_5AubksOrpAyG#=V9J6y$s>))8BdX_3K;i zS*W)mPkzDKKht!+T-x#3dUfv>w)h3Y@@Bb@7aKm1_6?u@A^to2)jJwK;fIzj1SU2H MPgg&ebxsLQ0Kk%8k^lez literal 0 HcmV?d00001 diff --git a/dependabot/docker/node-21.6-alpine/icons/icon-76x76.png b/dependabot/docker/node-21.6-alpine/icons/icon-76x76.png new file mode 100644 index 0000000000000000000000000000000000000000..91a8ea6bb9ac16221bbbafa6c6670311b5e669a5 GIT binary patch literal 783 zcmeAS@N?(olHy`uVBq!ia0vp^J|N7&3?x5zE|dgP-T^)#uI>dsuG1d7Pkrn<<+01u zC$3YWq$`*Wpb;o$fVam#>Uoe51_FUB|(0{45IQn#&%v|DcNPseT#OS zzWVUZm!JQ*nJ1p#vXg;5b^iixqg-9w-zAbh~r?`5(XQ*U^+<2$ZIwe44GP4ukZll>!Xw@S}_o$Eo-yDojy*|o{ zq3V5ZYj;*Xb`}-8Hao3bKcN5Mgu39_H$JVqqIyPt%Ol-5r_@>Jqar-BeRlXqxyPh3fvh6>l?lajw4a?aY*r;}N?kOF^H5C@# zOsUWJ^k08C$LzDJ=&q-G`-_&!oqM!V)L5|Y&BoVr>_6z6?7jPJb-k>2(N8b#*JqoO zUCx;5eVw&4n(@3!)3v)g6DoEHZ`rm%uV;a4c$C5iw~&l&Zrs6%iOg?&gF|msL|!ky z6SDH`#;E9!!g+abHD^0pKl61Cm0Fy1?)2Bt=yv7wjhagqhpCF$dZX`i!9 zIU5=xwp_V&Cr_r8Q|9>NNSl?n7#3VOz_t7F%vF*M&1^R|AF>NHby&lG=Yfov$Mq*S zkED4PGcXt$ZrSlDr9tK>^_gp%_D){^abrY= zSUP`;LSgQ*hYatFW~8+}JG*uAvH6XUGyKze<6fUle8{Do6)qE19W_gB`t+|I0_T=9 zW^g`F&AfDT{X4-Gou|r{F$%eu3FCQ(EV_@kxitH!e?O>zdJ4#-m&|E`lLdJJK8^ecxI|>a*l~Rot_h+;#k(}WGDZ9op$3k9<84} zjM6H37ZhSht@7$g${d)O&&RVss+NBCJ z?>No=V{-L+DW=@d>tkLRpIpyf-{u#nzS6G1 z|Dig=M#*#1$HLCZe@;$`^pg&=ls{X%JL9}m(zH*JIUhGIoc8Hw>IJDiIWwNrEVyr0 zd`xe-U$)Svqmm!|vY+tCk)ZdZ%0VXU}hsIqRSv0Y%g(zI6+HrHeL z8491x4_1?PPI3G(>3sLqkERzBo}8D?o4LL%)`VAAkXM+&q-Iut3GciL;R{QC)Ch8m zX!M6B7YkN1vkG-ywO+k<)3UHX3f6JEHlNt~)h}j8MYd#-z%R4KSp~lzi!RJm*naoV z!3Rc%E7mvV9XUN??!nK;lmqOw=BYNHx6rFq6S!#e@~omL^Np!HIN1IzHDizZ_3f>D zZT^|-U`c)O@AI7#XYg6|Y%hKHe5)j*F{62s%$1L| zkBtpqAFcnt@Y|-Ev^^H{cX5CITD~(bqrF{i+frRyJ+mhqp~qaLxu$3)o;wsAH#I`) w{$|w&Og%qScD7b3WEH3`+xFx9`-ALj7RB8>9rQgGn5`H*UHx3vIVCg!0G>3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Shlink — The URL shortener + + + + + +

+ + diff --git a/dependabot/docker/node-21.6-alpine/manifest.json b/dependabot/docker/node-21.6-alpine/manifest.json new file mode 100644 index 00000000..32d2db1d --- /dev/null +++ b/dependabot/docker/node-21.6-alpine/manifest.json @@ -0,0 +1 @@ +{"name":"Shlink","short_name":"Shlink","start_url":"/","display":"standalone","background_color":"#4696e5","lang":"en","scope":"/shlink-web-client/dependabot/docker/node-21.6-alpine/","theme_color":"#4696e5","icons":[{"src":"./icons/icon-16x16.png","type":"image/png","sizes":"16x16"},{"src":"./icons/icon-24x24.png","type":"image/png","sizes":"24x24"},{"src":"./icons/icon-32x32.png","type":"image/png","sizes":"32x32"},{"src":"./icons/icon-40x40.png","type":"image/png","sizes":"40x40"},{"src":"./icons/icon-48x48.png","type":"image/png","sizes":"48x48"},{"src":"./icons/icon-60x60.png","type":"image/png","sizes":"60x60"},{"src":"./icons/icon-64x64.png","type":"image/png","sizes":"64x64"},{"src":"./icons/icon-72x72.png","type":"image/png","sizes":"72x72"},{"src":"./icons/icon-76x76.png","type":"image/png","sizes":"76x76"},{"src":"./icons/icon-96x96.png","type":"image/png","sizes":"96x96"},{"src":"./icons/icon-114x114.png","type":"image/png","sizes":"114x114"},{"src":"./icons/icon-120x120.png","type":"image/png","sizes":"120x120"},{"src":"./icons/icon-128x128.png","type":"image/png","sizes":"128x128"},{"src":"./icons/icon-144x144.png","type":"image/png","sizes":"144x144"},{"src":"./icons/icon-150x150.png","type":"image/png","sizes":"150x150"},{"src":"./icons/icon-152x152.png","type":"image/png","sizes":"152x152"},{"src":"./icons/icon-160x160.png","type":"image/png","sizes":"160x160"},{"src":"./icons/icon-167x167.png","type":"image/png","sizes":"167x167"},{"src":"./icons/icon-180x180.png","type":"image/png","sizes":"180x180"},{"src":"./icons/icon-192x192.png","type":"image/png","sizes":"192x192"},{"src":"./icons/icon-196x196.png","type":"image/png","sizes":"196x196"},{"src":"./icons/icon-228x228.png","type":"image/png","sizes":"228x228"},{"src":"./icons/icon-256x256.png","type":"image/png","sizes":"256x256"},{"src":"./icons/icon-310x310.png","type":"image/png","sizes":"310x310"},{"src":"./icons/icon-384x384.png","type":"image/png","sizes":"384x384"},{"src":"./icons/icon-512x512.png","type":"image/png","sizes":"512x512"},{"src":"./icons/icon-1024x1024.png","type":"image/png","sizes":"1024x1024"}]} diff --git a/dependabot/docker/node-21.6-alpine/service-worker.js b/dependabot/docker/node-21.6-alpine/service-worker.js new file mode 100644 index 00000000..01543fc5 --- /dev/null +++ b/dependabot/docker/node-21.6-alpine/service-worker.js @@ -0,0 +1,1821 @@ +try { + self["workbox:core:7.0.0"] && _(); +} catch { +} +const G = (s, ...e) => { + let t = s; + return e.length > 0 && (t += ` :: ${JSON.stringify(e)}`), t; +}, Q = G; +class h extends Error { + /** + * + * @param {string} errorCode The error code that + * identifies this particular error. + * @param {Object=} details Any relevant arguments + * that will help developers identify issues should + * be added as a key on the context object. + */ + constructor(e, t) { + const n = Q(e, t); + super(n), this.name = e, this.details = t; + } +} +const B = /* @__PURE__ */ new Set(); +function z(s) { + B.add(s); +} +const d = { + googleAnalytics: "googleAnalytics", + precache: "precache-v2", + prefix: "workbox", + runtime: "runtime", + suffix: typeof registration < "u" ? registration.scope : "" +}, k = (s) => [d.prefix, s, d.suffix].filter((e) => e && e.length > 0).join("-"), J = (s) => { + for (const e of Object.keys(d)) + s(e); +}, x = { + updateDetails: (s) => { + J((e) => { + typeof s[e] == "string" && (d[e] = s[e]); + }); + }, + getGoogleAnalyticsName: (s) => s || k(d.googleAnalytics), + getPrecacheName: (s) => s || k(d.precache), + getPrefix: () => d.prefix, + getRuntimeName: (s) => s || k(d.runtime), + getSuffix: () => d.suffix +}; +function K(s, e) { + const t = new URL(s); + for (const n of e) + t.searchParams.delete(n); + return t.href; +} +async function X(s, e, t, n) { + const a = K(e.url, t); + if (e.url === a) + return s.match(e, n); + const r = Object.assign(Object.assign({}, n), { ignoreSearch: !0 }), i = await s.keys(e, r); + for (const c of i) { + const o = K(c.url, t); + if (a === o) + return s.match(c, n); + } +} +let m; +function Y() { + if (m === void 0) { + const s = new Response(""); + if ("body" in s) + try { + new Response(s.body), m = !0; + } catch { + m = !1; + } + m = !1; + } + return m; +} +function q(s) { + s.then(() => { + }); +} +class Z { + /** + * Creates a promise and exposes its resolve and reject functions as methods. + */ + constructor() { + this.promise = new Promise((e, t) => { + this.resolve = e, this.reject = t; + }); + } +} +async function ee() { + for (const s of B) + await s(); +} +const te = (s) => new URL(String(s), location.href).href.replace(new RegExp(`^${location.origin}`), ""); +function se(s) { + return new Promise((e) => setTimeout(e, s)); +} +function A(s, e) { + const t = e(); + return s.waitUntil(t), t; +} +async function ne(s, e) { + let t = null; + if (s.url && (t = new URL(s.url).origin), t !== self.location.origin) + throw new h("cross-origin-copy-response", { origin: t }); + const n = s.clone(), a = { + headers: new Headers(n.headers), + status: n.status, + statusText: n.statusText + }, r = e ? e(a) : a, i = Y() ? n.body : await n.blob(); + return new Response(i, r); +} +function ae() { + self.addEventListener("activate", () => self.clients.claim()); +} +const re = (s, e) => e.some((t) => s instanceof t); +let j, O; +function ie() { + return j || (j = [ + IDBDatabase, + IDBObjectStore, + IDBIndex, + IDBCursor, + IDBTransaction + ]); +} +function ce() { + return O || (O = [ + IDBCursor.prototype.advance, + IDBCursor.prototype.continue, + IDBCursor.prototype.continuePrimaryKey + ]); +} +const F = /* @__PURE__ */ new WeakMap(), U = /* @__PURE__ */ new WeakMap(), H = /* @__PURE__ */ new WeakMap(), E = /* @__PURE__ */ new WeakMap(), P = /* @__PURE__ */ new WeakMap(); +function oe(s) { + const e = new Promise((t, n) => { + const a = () => { + s.removeEventListener("success", r), s.removeEventListener("error", i); + }, r = () => { + t(f(s.result)), a(); + }, i = () => { + n(s.error), a(); + }; + s.addEventListener("success", r), s.addEventListener("error", i); + }); + return e.then((t) => { + t instanceof IDBCursor && F.set(t, s); + }).catch(() => { + }), P.set(e, s), e; +} +function le(s) { + if (U.has(s)) + return; + const e = new Promise((t, n) => { + const a = () => { + s.removeEventListener("complete", r), s.removeEventListener("error", i), s.removeEventListener("abort", i); + }, r = () => { + t(), a(); + }, i = () => { + n(s.error || new DOMException("AbortError", "AbortError")), a(); + }; + s.addEventListener("complete", r), s.addEventListener("error", i), s.addEventListener("abort", i); + }); + U.set(s, e); +} +let T = { + get(s, e, t) { + if (s instanceof IDBTransaction) { + if (e === "done") + return U.get(s); + if (e === "objectStoreNames") + return s.objectStoreNames || H.get(s); + if (e === "store") + return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]); + } + return f(s[e]); + }, + set(s, e, t) { + return s[e] = t, !0; + }, + has(s, e) { + return s instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in s; + } +}; +function he(s) { + T = s(T); +} +function ue(s) { + return s === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) { + const n = s.call(v(this), e, ...t); + return H.set(n, e.sort ? e.sort() : [e]), f(n); + } : ce().includes(s) ? function(...e) { + return s.apply(v(this), e), f(F.get(this)); + } : function(...e) { + return f(s.apply(v(this), e)); + }; +} +function de(s) { + return typeof s == "function" ? ue(s) : (s instanceof IDBTransaction && le(s), re(s, ie()) ? new Proxy(s, T) : s); +} +function f(s) { + if (s instanceof IDBRequest) + return oe(s); + if (E.has(s)) + return E.get(s); + const e = de(s); + return e !== s && (E.set(s, e), P.set(e, s)), e; +} +const v = (s) => P.get(s); +function fe(s, e, { blocked: t, upgrade: n, blocking: a, terminated: r } = {}) { + const i = indexedDB.open(s, e), c = f(i); + return n && i.addEventListener("upgradeneeded", (o) => { + n(f(i.result), o.oldVersion, o.newVersion, f(i.transaction), o); + }), t && i.addEventListener("blocked", (o) => t( + // Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405 + o.oldVersion, + o.newVersion, + o + )), c.then((o) => { + r && o.addEventListener("close", () => r()), a && o.addEventListener("versionchange", (l) => a(l.oldVersion, l.newVersion, l)); + }).catch(() => { + }), c; +} +function pe(s, { blocked: e } = {}) { + const t = indexedDB.deleteDatabase(s); + return e && t.addEventListener("blocked", (n) => e( + // Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405 + n.oldVersion, + n + )), f(t).then(() => { + }); +} +const ge = ["get", "getKey", "getAll", "getAllKeys", "count"], me = ["put", "add", "delete", "clear"], D = /* @__PURE__ */ new Map(); +function S(s, e) { + if (!(s instanceof IDBDatabase && !(e in s) && typeof e == "string")) + return; + if (D.get(e)) + return D.get(e); + const t = e.replace(/FromIndex$/, ""), n = e !== t, a = me.includes(t); + if ( + // Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge. + !(t in (n ? IDBIndex : IDBObjectStore).prototype) || !(a || ge.includes(t)) + ) + return; + const r = async function(i, ...c) { + const o = this.transaction(i, a ? "readwrite" : "readonly"); + let l = o.store; + return n && (l = l.index(c.shift())), (await Promise.all([ + l[t](...c), + a && o.done + ]))[0]; + }; + return D.set(e, r), r; +} +he((s) => ({ + ...s, + get: (e, t, n) => S(e, t) || s.get(e, t, n), + has: (e, t) => !!S(e, t) || s.has(e, t) +})); +try { + self["workbox:expiration:7.0.0"] && _(); +} catch { +} +const we = "workbox-expiration", w = "cache-entries", W = (s) => { + const e = new URL(s, location.href); + return e.hash = "", e.href; +}; +class ye { + /** + * + * @param {string} cacheName + * + * @private + */ + constructor(e) { + this._db = null, this._cacheName = e; + } + /** + * Performs an upgrade of indexedDB. + * + * @param {IDBPDatabase} db + * + * @private + */ + _upgradeDb(e) { + const t = e.createObjectStore(w, { keyPath: "id" }); + t.createIndex("cacheName", "cacheName", { unique: !1 }), t.createIndex("timestamp", "timestamp", { unique: !1 }); + } + /** + * Performs an upgrade of indexedDB and deletes deprecated DBs. + * + * @param {IDBPDatabase} db + * + * @private + */ + _upgradeDbAndDeleteOldDbs(e) { + this._upgradeDb(e), this._cacheName && pe(this._cacheName); + } + /** + * @param {string} url + * @param {number} timestamp + * + * @private + */ + async setTimestamp(e, t) { + e = W(e); + const n = { + url: e, + timestamp: t, + cacheName: this._cacheName, + // Creating an ID from the URL and cache name won't be necessary once + // Edge switches to Chromium and all browsers we support work with + // array keyPaths. + id: this._getId(e) + }, r = (await this.getDb()).transaction(w, "readwrite", { + durability: "relaxed" + }); + await r.store.put(n), await r.done; + } + /** + * Returns the timestamp stored for a given URL. + * + * @param {string} url + * @return {number | undefined} + * + * @private + */ + async getTimestamp(e) { + const n = await (await this.getDb()).get(w, this._getId(e)); + return n == null ? void 0 : n.timestamp; + } + /** + * Iterates through all the entries in the object store (from newest to + * oldest) and removes entries once either `maxCount` is reached or the + * entry's timestamp is less than `minTimestamp`. + * + * @param {number} minTimestamp + * @param {number} maxCount + * @return {Array} + * + * @private + */ + async expireEntries(e, t) { + const n = await this.getDb(); + let a = await n.transaction(w).store.index("timestamp").openCursor(null, "prev"); + const r = []; + let i = 0; + for (; a; ) { + const o = a.value; + o.cacheName === this._cacheName && (e && o.timestamp < e || t && i >= t ? r.push(a.value) : i++), a = await a.continue(); + } + const c = []; + for (const o of r) + await n.delete(w, o.id), c.push(o.url); + return c; + } + /** + * Takes a URL and returns an ID that will be unique in the object store. + * + * @param {string} url + * @return {string} + * + * @private + */ + _getId(e) { + return this._cacheName + "|" + W(e); + } + /** + * Returns an open connection to the database. + * + * @private + */ + async getDb() { + return this._db || (this._db = await fe(we, 1, { + upgrade: this._upgradeDbAndDeleteOldDbs.bind(this) + })), this._db; + } +} +class _e { + /** + * To construct a new CacheExpiration instance you must provide at least + * one of the `config` properties. + * + * @param {string} cacheName Name of the cache to apply restrictions to. + * @param {Object} config + * @param {number} [config.maxEntries] The maximum number of entries to cache. + * Entries used the least will be removed as the maximum is reached. + * @param {number} [config.maxAgeSeconds] The maximum age of an entry before + * it's treated as stale and removed. + * @param {Object} [config.matchOptions] The [`CacheQueryOptions`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete#Parameters) + * that will be used when calling `delete()` on the cache. + */ + constructor(e, t = {}) { + this._isRunning = !1, this._rerunRequested = !1, this._maxEntries = t.maxEntries, this._maxAgeSeconds = t.maxAgeSeconds, this._matchOptions = t.matchOptions, this._cacheName = e, this._timestampModel = new ye(e); + } + /** + * Expires entries for the given cache and given criteria. + */ + async expireEntries() { + if (this._isRunning) { + this._rerunRequested = !0; + return; + } + this._isRunning = !0; + const e = this._maxAgeSeconds ? Date.now() - this._maxAgeSeconds * 1e3 : 0, t = await this._timestampModel.expireEntries(e, this._maxEntries), n = await self.caches.open(this._cacheName); + for (const a of t) + await n.delete(a, this._matchOptions); + this._isRunning = !1, this._rerunRequested && (this._rerunRequested = !1, q(this.expireEntries())); + } + /** + * Update the timestamp for the given URL. This ensures the when + * removing entries based on maximum entries, most recently used + * is accurate or when expiring, the timestamp is up-to-date. + * + * @param {string} url + */ + async updateTimestamp(e) { + await this._timestampModel.setTimestamp(e, Date.now()); + } + /** + * Can be used to check if a URL has expired or not before it's used. + * + * This requires a look up from IndexedDB, so can be slow. + * + * Note: This method will not remove the cached entry, call + * `expireEntries()` to remove indexedDB and Cache entries. + * + * @param {string} url + * @return {boolean} + */ + async isURLExpired(e) { + if (this._maxAgeSeconds) { + const t = await this._timestampModel.getTimestamp(e), n = Date.now() - this._maxAgeSeconds * 1e3; + return t !== void 0 ? t < n : !0; + } else + return !1; + } + /** + * Removes the IndexedDB object store used to keep track of cache expiration + * metadata. + */ + async delete() { + this._rerunRequested = !1, await this._timestampModel.expireEntries(1 / 0); + } +} +class be { + /** + * @param {ExpirationPluginOptions} config + * @param {number} [config.maxEntries] The maximum number of entries to cache. + * Entries used the least will be removed as the maximum is reached. + * @param {number} [config.maxAgeSeconds] The maximum age of an entry before + * it's treated as stale and removed. + * @param {Object} [config.matchOptions] The [`CacheQueryOptions`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete#Parameters) + * that will be used when calling `delete()` on the cache. + * @param {boolean} [config.purgeOnQuotaError] Whether to opt this cache in to + * automatic deletion if the available storage quota has been exceeded. + */ + constructor(e = {}) { + this.cachedResponseWillBeUsed = async ({ event: t, request: n, cacheName: a, cachedResponse: r }) => { + if (!r) + return null; + const i = this._isResponseDateFresh(r), c = this._getCacheExpiration(a); + q(c.expireEntries()); + const o = c.updateTimestamp(n.url); + if (t) + try { + t.waitUntil(o); + } catch { + } + return i ? r : null; + }, this.cacheDidUpdate = async ({ cacheName: t, request: n }) => { + const a = this._getCacheExpiration(t); + await a.updateTimestamp(n.url), await a.expireEntries(); + }, this._config = e, this._maxAgeSeconds = e.maxAgeSeconds, this._cacheExpirations = /* @__PURE__ */ new Map(), e.purgeOnQuotaError && z(() => this.deleteCacheAndMetadata()); + } + /** + * A simple helper method to return a CacheExpiration instance for a given + * cache name. + * + * @param {string} cacheName + * @return {CacheExpiration} + * + * @private + */ + _getCacheExpiration(e) { + if (e === x.getRuntimeName()) + throw new h("expire-custom-caches-only"); + let t = this._cacheExpirations.get(e); + return t || (t = new _e(e, this._config), this._cacheExpirations.set(e, t)), t; + } + /** + * @param {Response} cachedResponse + * @return {boolean} + * + * @private + */ + _isResponseDateFresh(e) { + if (!this._maxAgeSeconds) + return !0; + const t = this._getDateHeaderTimestamp(e); + if (t === null) + return !0; + const n = Date.now(); + return t >= n - this._maxAgeSeconds * 1e3; + } + /** + * This method will extract the data header and parse it into a useful + * value. + * + * @param {Response} cachedResponse + * @return {number|null} + * + * @private + */ + _getDateHeaderTimestamp(e) { + if (!e.headers.has("date")) + return null; + const t = e.headers.get("date"), a = new Date(t).getTime(); + return isNaN(a) ? null : a; + } + /** + * This is a helper method that performs two operations: + * + * - Deletes *all* the underlying Cache instances associated with this plugin + * instance, by calling caches.delete() on your behalf. + * - Deletes the metadata from IndexedDB used to keep track of expiration + * details for each Cache instance. + * + * When using cache expiration, calling this method is preferable to calling + * `caches.delete()` directly, since this will ensure that the IndexedDB + * metadata is also cleanly removed and open IndexedDB instances are deleted. + * + * Note that if you're *not* using cache expiration for a given cache, calling + * `caches.delete()` and passing in the cache's name should be sufficient. + * There is no Workbox-specific method needed for cleanup in that case. + */ + async deleteCacheAndMetadata() { + for (const [e, t] of this._cacheExpirations) + await self.caches.delete(e), await t.delete(); + this._cacheExpirations = /* @__PURE__ */ new Map(); + } +} +try { + self["workbox:precaching:7.0.0"] && _(); +} catch { +} +const Re = "__WB_REVISION__"; +function Ce(s) { + if (!s) + throw new h("add-to-cache-list-unexpected-type", { entry: s }); + if (typeof s == "string") { + const r = new URL(s, location.href); + return { + cacheKey: r.href, + url: r.href + }; + } + const { revision: e, url: t } = s; + if (!t) + throw new h("add-to-cache-list-unexpected-type", { entry: s }); + if (!e) { + const r = new URL(t, location.href); + return { + cacheKey: r.href, + url: r.href + }; + } + const n = new URL(t, location.href), a = new URL(t, location.href); + return n.searchParams.set(Re, e), { + cacheKey: n.href, + url: a.href + }; +} +class xe { + constructor() { + this.updatedURLs = [], this.notUpdatedURLs = [], this.handlerWillStart = async ({ request: e, state: t }) => { + t && (t.originalRequest = e); + }, this.cachedResponseWillBeUsed = async ({ event: e, state: t, cachedResponse: n }) => { + if (e.type === "install" && t && t.originalRequest && t.originalRequest instanceof Request) { + const a = t.originalRequest.url; + n ? this.notUpdatedURLs.push(a) : this.updatedURLs.push(a); + } + return n; + }; + } +} +class ke { + constructor({ precacheController: e }) { + this.cacheKeyWillBeUsed = async ({ request: t, params: n }) => { + const a = (n == null ? void 0 : n.cacheKey) || this._precacheController.getCacheKeyForURL(t.url); + return a ? new Request(a, { headers: t.headers }) : t; + }, this._precacheController = e; + } +} +try { + self["workbox:strategies:7.0.0"] && _(); +} catch { +} +function R(s) { + return typeof s == "string" ? new Request(s) : s; +} +class Ee { + /** + * Creates a new instance associated with the passed strategy and event + * that's handling the request. + * + * The constructor also initializes the state that will be passed to each of + * the plugins handling this request. + * + * @param {workbox-strategies.Strategy} strategy + * @param {Object} options + * @param {Request|string} options.request A request to run this strategy for. + * @param {ExtendableEvent} options.event The event associated with the + * request. + * @param {URL} [options.url] + * @param {*} [options.params] The return value from the + * {@link workbox-routing~matchCallback} (if applicable). + */ + constructor(e, t) { + this._cacheKeys = {}, Object.assign(this, t), this.event = t.event, this._strategy = e, this._handlerDeferred = new Z(), this._extendLifetimePromises = [], this._plugins = [...e.plugins], this._pluginStateMap = /* @__PURE__ */ new Map(); + for (const n of this._plugins) + this._pluginStateMap.set(n, {}); + this.event.waitUntil(this._handlerDeferred.promise); + } + /** + * Fetches a given request (and invokes any applicable plugin callback + * methods) using the `fetchOptions` (for non-navigation requests) and + * `plugins` defined on the `Strategy` object. + * + * The following plugin lifecycle methods are invoked when using this method: + * - `requestWillFetch()` + * - `fetchDidSucceed()` + * - `fetchDidFail()` + * + * @param {Request|string} input The URL or request to fetch. + * @return {Promise} + */ + async fetch(e) { + const { event: t } = this; + let n = R(e); + if (n.mode === "navigate" && t instanceof FetchEvent && t.preloadResponse) { + const i = await t.preloadResponse; + if (i) + return i; + } + const a = this.hasCallback("fetchDidFail") ? n.clone() : null; + try { + for (const i of this.iterateCallbacks("requestWillFetch")) + n = await i({ request: n.clone(), event: t }); + } catch (i) { + if (i instanceof Error) + throw new h("plugin-error-request-will-fetch", { + thrownErrorMessage: i.message + }); + } + const r = n.clone(); + try { + let i; + i = await fetch(n, n.mode === "navigate" ? void 0 : this._strategy.fetchOptions); + for (const c of this.iterateCallbacks("fetchDidSucceed")) + i = await c({ + event: t, + request: r, + response: i + }); + return i; + } catch (i) { + throw a && await this.runCallbacks("fetchDidFail", { + error: i, + event: t, + originalRequest: a.clone(), + request: r.clone() + }), i; + } + } + /** + * Calls `this.fetch()` and (in the background) runs `this.cachePut()` on + * the response generated by `this.fetch()`. + * + * The call to `this.cachePut()` automatically invokes `this.waitUntil()`, + * so you do not have to manually call `waitUntil()` on the event. + * + * @param {Request|string} input The request or URL to fetch and cache. + * @return {Promise} + */ + async fetchAndCachePut(e) { + const t = await this.fetch(e), n = t.clone(); + return this.waitUntil(this.cachePut(e, n)), t; + } + /** + * Matches a request from the cache (and invokes any applicable plugin + * callback methods) using the `cacheName`, `matchOptions`, and `plugins` + * defined on the strategy object. + * + * The following plugin lifecycle methods are invoked when using this method: + * - cacheKeyWillByUsed() + * - cachedResponseWillByUsed() + * + * @param {Request|string} key The Request or URL to use as the cache key. + * @return {Promise} A matching response, if found. + */ + async cacheMatch(e) { + const t = R(e); + let n; + const { cacheName: a, matchOptions: r } = this._strategy, i = await this.getCacheKey(t, "read"), c = Object.assign(Object.assign({}, r), { cacheName: a }); + n = await caches.match(i, c); + for (const o of this.iterateCallbacks("cachedResponseWillBeUsed")) + n = await o({ + cacheName: a, + matchOptions: r, + cachedResponse: n, + request: i, + event: this.event + }) || void 0; + return n; + } + /** + * Puts a request/response pair in the cache (and invokes any applicable + * plugin callback methods) using the `cacheName` and `plugins` defined on + * the strategy object. + * + * The following plugin lifecycle methods are invoked when using this method: + * - cacheKeyWillByUsed() + * - cacheWillUpdate() + * - cacheDidUpdate() + * + * @param {Request|string} key The request or URL to use as the cache key. + * @param {Response} response The response to cache. + * @return {Promise} `false` if a cacheWillUpdate caused the response + * not be cached, and `true` otherwise. + */ + async cachePut(e, t) { + const n = R(e); + await se(0); + const a = await this.getCacheKey(n, "write"); + if (!t) + throw new h("cache-put-with-no-response", { + url: te(a.url) + }); + const r = await this._ensureResponseSafeToCache(t); + if (!r) + return !1; + const { cacheName: i, matchOptions: c } = this._strategy, o = await self.caches.open(i), l = this.hasCallback("cacheDidUpdate"), g = l ? await X( + // TODO(philipwalton): the `__WB_REVISION__` param is a precaching + // feature. Consider into ways to only add this behavior if using + // precaching. + o, + a.clone(), + ["__WB_REVISION__"], + c + ) : null; + try { + await o.put(a, l ? r.clone() : r); + } catch (u) { + if (u instanceof Error) + throw u.name === "QuotaExceededError" && await ee(), u; + } + for (const u of this.iterateCallbacks("cacheDidUpdate")) + await u({ + cacheName: i, + oldResponse: g, + newResponse: r.clone(), + request: a, + event: this.event + }); + return !0; + } + /** + * Checks the list of plugins for the `cacheKeyWillBeUsed` callback, and + * executes any of those callbacks found in sequence. The final `Request` + * object returned by the last plugin is treated as the cache key for cache + * reads and/or writes. If no `cacheKeyWillBeUsed` plugin callbacks have + * been registered, the passed request is returned unmodified + * + * @param {Request} request + * @param {string} mode + * @return {Promise} + */ + async getCacheKey(e, t) { + const n = `${e.url} | ${t}`; + if (!this._cacheKeys[n]) { + let a = e; + for (const r of this.iterateCallbacks("cacheKeyWillBeUsed")) + a = R(await r({ + mode: t, + request: a, + event: this.event, + // params has a type any can't change right now. + params: this.params + // eslint-disable-line + })); + this._cacheKeys[n] = a; + } + return this._cacheKeys[n]; + } + /** + * Returns true if the strategy has at least one plugin with the given + * callback. + * + * @param {string} name The name of the callback to check for. + * @return {boolean} + */ + hasCallback(e) { + for (const t of this._strategy.plugins) + if (e in t) + return !0; + return !1; + } + /** + * Runs all plugin callbacks matching the given name, in order, passing the + * given param object (merged ith the current plugin state) as the only + * argument. + * + * Note: since this method runs all plugins, it's not suitable for cases + * where the return value of a callback needs to be applied prior to calling + * the next callback. See + * {@link workbox-strategies.StrategyHandler#iterateCallbacks} + * below for how to handle that case. + * + * @param {string} name The name of the callback to run within each plugin. + * @param {Object} param The object to pass as the first (and only) param + * when executing each callback. This object will be merged with the + * current plugin state prior to callback execution. + */ + async runCallbacks(e, t) { + for (const n of this.iterateCallbacks(e)) + await n(t); + } + /** + * Accepts a callback and returns an iterable of matching plugin callbacks, + * where each callback is wrapped with the current handler state (i.e. when + * you call each callback, whatever object parameter you pass it will + * be merged with the plugin's current state). + * + * @param {string} name The name fo the callback to run + * @return {Array} + */ + *iterateCallbacks(e) { + for (const t of this._strategy.plugins) + if (typeof t[e] == "function") { + const n = this._pluginStateMap.get(t); + yield (r) => { + const i = Object.assign(Object.assign({}, r), { state: n }); + return t[e](i); + }; + } + } + /** + * Adds a promise to the + * [extend lifetime promises]{@link https://w3c.github.io/ServiceWorker/#extendableevent-extend-lifetime-promises} + * of the event event associated with the request being handled (usually a + * `FetchEvent`). + * + * Note: you can await + * {@link workbox-strategies.StrategyHandler~doneWaiting} + * to know when all added promises have settled. + * + * @param {Promise} promise A promise to add to the extend lifetime promises + * of the event that triggered the request. + */ + waitUntil(e) { + return this._extendLifetimePromises.push(e), e; + } + /** + * Returns a promise that resolves once all promises passed to + * {@link workbox-strategies.StrategyHandler~waitUntil} + * have settled. + * + * Note: any work done after `doneWaiting()` settles should be manually + * passed to an event's `waitUntil()` method (not this handler's + * `waitUntil()` method), otherwise the service worker thread my be killed + * prior to your work completing. + */ + async doneWaiting() { + let e; + for (; e = this._extendLifetimePromises.shift(); ) + await e; + } + /** + * Stops running the strategy and immediately resolves any pending + * `waitUntil()` promises. + */ + destroy() { + this._handlerDeferred.resolve(null); + } + /** + * This method will call cacheWillUpdate on the available plugins (or use + * status === 200) to determine if the Response is safe and valid to cache. + * + * @param {Request} options.request + * @param {Response} options.response + * @return {Promise} + * + * @private + */ + async _ensureResponseSafeToCache(e) { + let t = e, n = !1; + for (const a of this.iterateCallbacks("cacheWillUpdate")) + if (t = await a({ + request: this.request, + response: t, + event: this.event + }) || void 0, n = !0, !t) + break; + return n || t && t.status !== 200 && (t = void 0), t; + } +} +class V { + /** + * Creates a new instance of the strategy and sets all documented option + * properties as public instance properties. + * + * Note: if a custom strategy class extends the base Strategy class and does + * not need more than these properties, it does not need to define its own + * constructor. + * + * @param {Object} [options] + * @param {string} [options.cacheName] Cache name to store and retrieve + * requests. Defaults to the cache names provided by + * {@link workbox-core.cacheNames}. + * @param {Array} [options.plugins] [Plugins]{@link https://developers.google.com/web/tools/workbox/guides/using-plugins} + * to use in conjunction with this caching strategy. + * @param {Object} [options.fetchOptions] Values passed along to the + * [`init`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters) + * of [non-navigation](https://github.com/GoogleChrome/workbox/issues/1796) + * `fetch()` requests made by this strategy. + * @param {Object} [options.matchOptions] The + * [`CacheQueryOptions`]{@link https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions} + * for any `cache.match()` or `cache.put()` calls made by this strategy. + */ + constructor(e = {}) { + this.cacheName = x.getRuntimeName(e.cacheName), this.plugins = e.plugins || [], this.fetchOptions = e.fetchOptions, this.matchOptions = e.matchOptions; + } + /** + * Perform a request strategy and returns a `Promise` that will resolve with + * a `Response`, invoking all relevant plugin callbacks. + * + * When a strategy instance is registered with a Workbox + * {@link workbox-routing.Route}, this method is automatically + * called when the route matches. + * + * Alternatively, this method can be used in a standalone `FetchEvent` + * listener by passing it to `event.respondWith()`. + * + * @param {FetchEvent|Object} options A `FetchEvent` or an object with the + * properties listed below. + * @param {Request|string} options.request A request to run this strategy for. + * @param {ExtendableEvent} options.event The event associated with the + * request. + * @param {URL} [options.url] + * @param {*} [options.params] + */ + handle(e) { + const [t] = this.handleAll(e); + return t; + } + /** + * Similar to {@link workbox-strategies.Strategy~handle}, but + * instead of just returning a `Promise` that resolves to a `Response` it + * it will return an tuple of `[response, done]` promises, where the former + * (`response`) is equivalent to what `handle()` returns, and the latter is a + * Promise that will resolve once any promises that were added to + * `event.waitUntil()` as part of performing the strategy have completed. + * + * You can await the `done` promise to ensure any extra work performed by + * the strategy (usually caching responses) completes successfully. + * + * @param {FetchEvent|Object} options A `FetchEvent` or an object with the + * properties listed below. + * @param {Request|string} options.request A request to run this strategy for. + * @param {ExtendableEvent} options.event The event associated with the + * request. + * @param {URL} [options.url] + * @param {*} [options.params] + * @return {Array} A tuple of [response, done] + * promises that can be used to determine when the response resolves as + * well as when the handler has completed all its work. + */ + handleAll(e) { + e instanceof FetchEvent && (e = { + event: e, + request: e.request + }); + const t = e.event, n = typeof e.request == "string" ? new Request(e.request) : e.request, a = "params" in e ? e.params : void 0, r = new Ee(this, { event: t, request: n, params: a }), i = this._getResponse(r, n, t), c = this._awaitComplete(i, r, n, t); + return [i, c]; + } + async _getResponse(e, t, n) { + await e.runCallbacks("handlerWillStart", { event: n, request: t }); + let a; + try { + if (a = await this._handle(t, e), !a || a.type === "error") + throw new h("no-response", { url: t.url }); + } catch (r) { + if (r instanceof Error) { + for (const i of e.iterateCallbacks("handlerDidError")) + if (a = await i({ error: r, event: n, request: t }), a) + break; + } + if (!a) + throw r; + } + for (const r of e.iterateCallbacks("handlerWillRespond")) + a = await r({ event: n, request: t, response: a }); + return a; + } + async _awaitComplete(e, t, n, a) { + let r, i; + try { + r = await e; + } catch { + } + try { + await t.runCallbacks("handlerDidRespond", { + event: a, + request: n, + response: r + }), await t.doneWaiting(); + } catch (c) { + c instanceof Error && (i = c); + } + if (await t.runCallbacks("handlerDidComplete", { + event: a, + request: n, + response: r, + error: i + }), t.destroy(), i) + throw i; + } +} +class p extends V { + /** + * + * @param {Object} [options] + * @param {string} [options.cacheName] Cache name to store and retrieve + * requests. Defaults to the cache names provided by + * {@link workbox-core.cacheNames}. + * @param {Array} [options.plugins] {@link https://developers.google.com/web/tools/workbox/guides/using-plugins|Plugins} + * to use in conjunction with this caching strategy. + * @param {Object} [options.fetchOptions] Values passed along to the + * {@link https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters|init} + * of all fetch() requests made by this strategy. + * @param {Object} [options.matchOptions] The + * {@link https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions|CacheQueryOptions} + * for any `cache.match()` or `cache.put()` calls made by this strategy. + * @param {boolean} [options.fallbackToNetwork=true] Whether to attempt to + * get the response from the network if there's a precache miss. + */ + constructor(e = {}) { + e.cacheName = x.getPrecacheName(e.cacheName), super(e), this._fallbackToNetwork = e.fallbackToNetwork !== !1, this.plugins.push(p.copyRedirectedCacheableResponsesPlugin); + } + /** + * @private + * @param {Request|string} request A request to run this strategy for. + * @param {workbox-strategies.StrategyHandler} handler The event that + * triggered the request. + * @return {Promise} + */ + async _handle(e, t) { + const n = await t.cacheMatch(e); + return n || (t.event && t.event.type === "install" ? await this._handleInstall(e, t) : await this._handleFetch(e, t)); + } + async _handleFetch(e, t) { + let n; + const a = t.params || {}; + if (this._fallbackToNetwork) { + const r = a.integrity, i = e.integrity, c = !i || i === r; + n = await t.fetch(new Request(e, { + integrity: e.mode !== "no-cors" ? i || r : void 0 + })), r && c && e.mode !== "no-cors" && (this._useDefaultCacheabilityPluginIfNeeded(), await t.cachePut(e, n.clone())); + } else + throw new h("missing-precache-entry", { + cacheName: this.cacheName, + url: e.url + }); + return n; + } + async _handleInstall(e, t) { + this._useDefaultCacheabilityPluginIfNeeded(); + const n = await t.fetch(e); + if (!await t.cachePut(e, n.clone())) + throw new h("bad-precaching-response", { + url: e.url, + status: n.status + }); + return n; + } + /** + * This method is complex, as there a number of things to account for: + * + * The `plugins` array can be set at construction, and/or it might be added to + * to at any time before the strategy is used. + * + * At the time the strategy is used (i.e. during an `install` event), there + * needs to be at least one plugin that implements `cacheWillUpdate` in the + * array, other than `copyRedirectedCacheableResponsesPlugin`. + * + * - If this method is called and there are no suitable `cacheWillUpdate` + * plugins, we need to add `defaultPrecacheCacheabilityPlugin`. + * + * - If this method is called and there is exactly one `cacheWillUpdate`, then + * we don't have to do anything (this might be a previously added + * `defaultPrecacheCacheabilityPlugin`, or it might be a custom plugin). + * + * - If this method is called and there is more than one `cacheWillUpdate`, + * then we need to check if one is `defaultPrecacheCacheabilityPlugin`. If so, + * we need to remove it. (This situation is unlikely, but it could happen if + * the strategy is used multiple times, the first without a `cacheWillUpdate`, + * and then later on after manually adding a custom `cacheWillUpdate`.) + * + * See https://github.com/GoogleChrome/workbox/issues/2737 for more context. + * + * @private + */ + _useDefaultCacheabilityPluginIfNeeded() { + let e = null, t = 0; + for (const [n, a] of this.plugins.entries()) + a !== p.copyRedirectedCacheableResponsesPlugin && (a === p.defaultPrecacheCacheabilityPlugin && (e = n), a.cacheWillUpdate && t++); + t === 0 ? this.plugins.push(p.defaultPrecacheCacheabilityPlugin) : t > 1 && e !== null && this.plugins.splice(e, 1); + } +} +p.defaultPrecacheCacheabilityPlugin = { + async cacheWillUpdate({ response: s }) { + return !s || s.status >= 400 ? null : s; + } +}; +p.copyRedirectedCacheableResponsesPlugin = { + async cacheWillUpdate({ response: s }) { + return s.redirected ? await ne(s) : s; + } +}; +class ve { + /** + * Create a new PrecacheController. + * + * @param {Object} [options] + * @param {string} [options.cacheName] The cache to use for precaching. + * @param {string} [options.plugins] Plugins to use when precaching as well + * as responding to fetch events for precached assets. + * @param {boolean} [options.fallbackToNetwork=true] Whether to attempt to + * get the response from the network if there's a precache miss. + */ + constructor({ cacheName: e, plugins: t = [], fallbackToNetwork: n = !0 } = {}) { + this._urlsToCacheKeys = /* @__PURE__ */ new Map(), this._urlsToCacheModes = /* @__PURE__ */ new Map(), this._cacheKeysToIntegrities = /* @__PURE__ */ new Map(), this._strategy = new p({ + cacheName: x.getPrecacheName(e), + plugins: [ + ...t, + new ke({ precacheController: this }) + ], + fallbackToNetwork: n + }), this.install = this.install.bind(this), this.activate = this.activate.bind(this); + } + /** + * @type {workbox-precaching.PrecacheStrategy} The strategy created by this controller and + * used to cache assets and respond to fetch events. + */ + get strategy() { + return this._strategy; + } + /** + * Adds items to the precache list, removing any duplicates and + * stores the files in the + * {@link workbox-core.cacheNames|"precache cache"} when the service + * worker installs. + * + * This method can be called multiple times. + * + * @param {Array} [entries=[]] Array of entries to precache. + */ + precache(e) { + this.addToCacheList(e), this._installAndActiveListenersAdded || (self.addEventListener("install", this.install), self.addEventListener("activate", this.activate), this._installAndActiveListenersAdded = !0); + } + /** + * This method will add items to the precache list, removing duplicates + * and ensuring the information is valid. + * + * @param {Array} entries + * Array of entries to precache. + */ + addToCacheList(e) { + const t = []; + for (const n of e) { + typeof n == "string" ? t.push(n) : n && n.revision === void 0 && t.push(n.url); + const { cacheKey: a, url: r } = Ce(n), i = typeof n != "string" && n.revision ? "reload" : "default"; + if (this._urlsToCacheKeys.has(r) && this._urlsToCacheKeys.get(r) !== a) + throw new h("add-to-cache-list-conflicting-entries", { + firstEntry: this._urlsToCacheKeys.get(r), + secondEntry: a + }); + if (typeof n != "string" && n.integrity) { + if (this._cacheKeysToIntegrities.has(a) && this._cacheKeysToIntegrities.get(a) !== n.integrity) + throw new h("add-to-cache-list-conflicting-integrities", { + url: r + }); + this._cacheKeysToIntegrities.set(a, n.integrity); + } + if (this._urlsToCacheKeys.set(r, a), this._urlsToCacheModes.set(r, i), t.length > 0) { + const c = `Workbox is precaching URLs without revision info: ${t.join(", ")} +This is generally NOT safe. Learn more at https://bit.ly/wb-precache`; + console.warn(c); + } + } + } + /** + * Precaches new and updated assets. Call this method from the service worker + * install event. + * + * Note: this method calls `event.waitUntil()` for you, so you do not need + * to call it yourself in your event handlers. + * + * @param {ExtendableEvent} event + * @return {Promise} + */ + install(e) { + return A(e, async () => { + const t = new xe(); + this.strategy.plugins.push(t); + for (const [r, i] of this._urlsToCacheKeys) { + const c = this._cacheKeysToIntegrities.get(i), o = this._urlsToCacheModes.get(r), l = new Request(r, { + integrity: c, + cache: o, + credentials: "same-origin" + }); + await Promise.all(this.strategy.handleAll({ + params: { cacheKey: i }, + request: l, + event: e + })); + } + const { updatedURLs: n, notUpdatedURLs: a } = t; + return { updatedURLs: n, notUpdatedURLs: a }; + }); + } + /** + * Deletes assets that are no longer present in the current precache manifest. + * Call this method from the service worker activate event. + * + * Note: this method calls `event.waitUntil()` for you, so you do not need + * to call it yourself in your event handlers. + * + * @param {ExtendableEvent} event + * @return {Promise} + */ + activate(e) { + return A(e, async () => { + const t = await self.caches.open(this.strategy.cacheName), n = await t.keys(), a = new Set(this._urlsToCacheKeys.values()), r = []; + for (const i of n) + a.has(i.url) || (await t.delete(i), r.push(i.url)); + return { deletedURLs: r }; + }); + } + /** + * Returns a mapping of a precached URL to the corresponding cache key, taking + * into account the revision information for the URL. + * + * @return {Map} A URL to cache key mapping. + */ + getURLsToCacheKeys() { + return this._urlsToCacheKeys; + } + /** + * Returns a list of all the URLs that have been precached by the current + * service worker. + * + * @return {Array} The precached URLs. + */ + getCachedURLs() { + return [...this._urlsToCacheKeys.keys()]; + } + /** + * Returns the cache key used for storing a given URL. If that URL is + * unversioned, like `/index.html', then the cache key will be the original + * URL with a search parameter appended to it. + * + * @param {string} url A URL whose cache key you want to look up. + * @return {string} The versioned URL that corresponds to a cache key + * for the original URL, or undefined if that URL isn't precached. + */ + getCacheKeyForURL(e) { + const t = new URL(e, location.href); + return this._urlsToCacheKeys.get(t.href); + } + /** + * @param {string} url A cache key whose SRI you want to look up. + * @return {string} The subresource integrity associated with the cache key, + * or undefined if it's not set. + */ + getIntegrityForCacheKey(e) { + return this._cacheKeysToIntegrities.get(e); + } + /** + * This acts as a drop-in replacement for + * [`cache.match()`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match) + * with the following differences: + * + * - It knows what the name of the precache is, and only checks in that cache. + * - It allows you to pass in an "original" URL without versioning parameters, + * and it will automatically look up the correct cache key for the currently + * active revision of that URL. + * + * E.g., `matchPrecache('index.html')` will find the correct precached + * response for the currently active service worker, even if the actual cache + * key is `'/index.html?__WB_REVISION__=1234abcd'`. + * + * @param {string|Request} request The key (without revisioning parameters) + * to look up in the precache. + * @return {Promise} + */ + async matchPrecache(e) { + const t = e instanceof Request ? e.url : e, n = this.getCacheKeyForURL(t); + if (n) + return (await self.caches.open(this.strategy.cacheName)).match(n); + } + /** + * Returns a function that looks up `url` in the precache (taking into + * account revision information), and returns the corresponding `Response`. + * + * @param {string} url The precached URL which will be used to lookup the + * `Response`. + * @return {workbox-routing~handlerCallback} + */ + createHandlerBoundToURL(e) { + const t = this.getCacheKeyForURL(e); + if (!t) + throw new h("non-precached-url", { url: e }); + return (n) => (n.request = new Request(e), n.params = Object.assign({ cacheKey: t }, n.params), this.strategy.handle(n)); + } +} +let L; +const I = () => (L || (L = new ve()), L); +try { + self["workbox:routing:7.0.0"] && _(); +} catch { +} +const $ = "GET", C = (s) => s && typeof s == "object" ? s : { handle: s }; +class b { + /** + * Constructor for Route class. + * + * @param {workbox-routing~matchCallback} match + * A callback function that determines whether the route matches a given + * `fetch` event by returning a non-falsy value. + * @param {workbox-routing~handlerCallback} handler A callback + * function that returns a Promise resolving to a Response. + * @param {string} [method='GET'] The HTTP method to match the Route + * against. + */ + constructor(e, t, n = $) { + this.handler = C(t), this.match = e, this.method = n; + } + /** + * + * @param {workbox-routing-handlerCallback} handler A callback + * function that returns a Promise resolving to a Response + */ + setCatchHandler(e) { + this.catchHandler = C(e); + } +} +class De extends b { + /** + * If the regular expression contains + * [capture groups]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#grouping-back-references}, + * the captured values will be passed to the + * {@link workbox-routing~handlerCallback} `params` + * argument. + * + * @param {RegExp} regExp The regular expression to match against URLs. + * @param {workbox-routing~handlerCallback} handler A callback + * function that returns a Promise resulting in a Response. + * @param {string} [method='GET'] The HTTP method to match the Route + * against. + */ + constructor(e, t, n) { + const a = ({ url: r }) => { + const i = e.exec(r.href); + if (i && !(r.origin !== location.origin && i.index !== 0)) + return i.slice(1); + }; + super(a, t, n); + } +} +class Le { + /** + * Initializes a new Router. + */ + constructor() { + this._routes = /* @__PURE__ */ new Map(), this._defaultHandlerMap = /* @__PURE__ */ new Map(); + } + /** + * @return {Map>} routes A `Map` of HTTP + * method name ('GET', etc.) to an array of all the corresponding `Route` + * instances that are registered. + */ + get routes() { + return this._routes; + } + /** + * Adds a fetch event listener to respond to events when a route matches + * the event's request. + */ + addFetchListener() { + self.addEventListener("fetch", (e) => { + const { request: t } = e, n = this.handleRequest({ request: t, event: e }); + n && e.respondWith(n); + }); + } + /** + * Adds a message event listener for URLs to cache from the window. + * This is useful to cache resources loaded on the page prior to when the + * service worker started controlling it. + * + * The format of the message data sent from the window should be as follows. + * Where the `urlsToCache` array may consist of URL strings or an array of + * URL string + `requestInit` object (the same as you'd pass to `fetch()`). + * + * ``` + * { + * type: 'CACHE_URLS', + * payload: { + * urlsToCache: [ + * './script1.js', + * './script2.js', + * ['./script3.js', {mode: 'no-cors'}], + * ], + * }, + * } + * ``` + */ + addCacheListener() { + self.addEventListener("message", (e) => { + if (e.data && e.data.type === "CACHE_URLS") { + const { payload: t } = e.data, n = Promise.all(t.urlsToCache.map((a) => { + typeof a == "string" && (a = [a]); + const r = new Request(...a); + return this.handleRequest({ request: r, event: e }); + })); + e.waitUntil(n), e.ports && e.ports[0] && n.then(() => e.ports[0].postMessage(!0)); + } + }); + } + /** + * Apply the routing rules to a FetchEvent object to get a Response from an + * appropriate Route's handler. + * + * @param {Object} options + * @param {Request} options.request The request to handle. + * @param {ExtendableEvent} options.event The event that triggered the + * request. + * @return {Promise|undefined} A promise is returned if a + * registered route can handle the request. If there is no matching + * route and there's no `defaultHandler`, `undefined` is returned. + */ + handleRequest({ request: e, event: t }) { + const n = new URL(e.url, location.href); + if (!n.protocol.startsWith("http")) + return; + const a = n.origin === location.origin, { params: r, route: i } = this.findMatchingRoute({ + event: t, + request: e, + sameOrigin: a, + url: n + }); + let c = i && i.handler; + const o = e.method; + if (!c && this._defaultHandlerMap.has(o) && (c = this._defaultHandlerMap.get(o)), !c) + return; + let l; + try { + l = c.handle({ url: n, request: e, event: t, params: r }); + } catch (u) { + l = Promise.reject(u); + } + const g = i && i.catchHandler; + return l instanceof Promise && (this._catchHandler || g) && (l = l.catch(async (u) => { + if (g) + try { + return await g.handle({ url: n, request: e, event: t, params: r }); + } catch (N) { + N instanceof Error && (u = N); + } + if (this._catchHandler) + return this._catchHandler.handle({ url: n, request: e, event: t }); + throw u; + })), l; + } + /** + * Checks a request and URL (and optionally an event) against the list of + * registered routes, and if there's a match, returns the corresponding + * route along with any params generated by the match. + * + * @param {Object} options + * @param {URL} options.url + * @param {boolean} options.sameOrigin The result of comparing `url.origin` + * against the current origin. + * @param {Request} options.request The request to match. + * @param {Event} options.event The corresponding event. + * @return {Object} An object with `route` and `params` properties. + * They are populated if a matching route was found or `undefined` + * otherwise. + */ + findMatchingRoute({ url: e, sameOrigin: t, request: n, event: a }) { + const r = this._routes.get(n.method) || []; + for (const i of r) { + let c; + const o = i.match({ url: e, sameOrigin: t, request: n, event: a }); + if (o) + return c = o, (Array.isArray(c) && c.length === 0 || o.constructor === Object && // eslint-disable-line + Object.keys(o).length === 0 || typeof o == "boolean") && (c = void 0), { route: i, params: c }; + } + return {}; + } + /** + * Define a default `handler` that's called when no routes explicitly + * match the incoming request. + * + * Each HTTP method ('GET', 'POST', etc.) gets its own default handler. + * + * Without a default handler, unmatched requests will go against the + * network as if there were no service worker present. + * + * @param {workbox-routing~handlerCallback} handler A callback + * function that returns a Promise resulting in a Response. + * @param {string} [method='GET'] The HTTP method to associate with this + * default handler. Each method has its own default. + */ + setDefaultHandler(e, t = $) { + this._defaultHandlerMap.set(t, C(e)); + } + /** + * If a Route throws an error while handling a request, this `handler` + * will be called and given a chance to provide a response. + * + * @param {workbox-routing~handlerCallback} handler A callback + * function that returns a Promise resulting in a Response. + */ + setCatchHandler(e) { + this._catchHandler = C(e); + } + /** + * Registers a route with the router. + * + * @param {workbox-routing.Route} route The route to register. + */ + registerRoute(e) { + this._routes.has(e.method) || this._routes.set(e.method, []), this._routes.get(e.method).push(e); + } + /** + * Unregisters a route with the router. + * + * @param {workbox-routing.Route} route The route to unregister. + */ + unregisterRoute(e) { + if (!this._routes.has(e.method)) + throw new h("unregister-route-but-not-found-with-method", { + method: e.method + }); + const t = this._routes.get(e.method).indexOf(e); + if (t > -1) + this._routes.get(e.method).splice(t, 1); + else + throw new h("unregister-route-route-not-registered"); + } +} +let y; +const Ue = () => (y || (y = new Le(), y.addFetchListener(), y.addCacheListener()), y); +function M(s, e, t) { + let n; + if (typeof s == "string") { + const r = new URL(s, location.href), i = ({ url: c }) => c.href === r.href; + n = new b(i, e, t); + } else if (s instanceof RegExp) + n = new De(s, e, t); + else if (typeof s == "function") + n = new b(s, e, t); + else if (s instanceof b) + n = s; + else + throw new h("unsupported-route-type", { + moduleName: "workbox-routing", + funcName: "registerRoute", + paramName: "capture" + }); + return Ue().registerRoute(n), n; +} +function Te(s, e = []) { + for (const t of [...s.searchParams.keys()]) + e.some((n) => n.test(t)) && s.searchParams.delete(t); + return s; +} +function* Pe(s, { ignoreURLParametersMatching: e = [/^utm_/, /^fbclid$/], directoryIndex: t = "index.html", cleanURLs: n = !0, urlManipulation: a } = {}) { + const r = new URL(s, location.href); + r.hash = "", yield r.href; + const i = Te(r, e); + if (yield i.href, t && i.pathname.endsWith("/")) { + const c = new URL(i.href); + c.pathname += t, yield c.href; + } + if (n) { + const c = new URL(i.href); + c.pathname += ".html", yield c.href; + } + if (a) { + const c = a({ url: r }); + for (const o of c) + yield o.href; + } +} +class Ie extends b { + /** + * @param {PrecacheController} precacheController A `PrecacheController` + * instance used to both match requests and respond to fetch events. + * @param {Object} [options] Options to control how requests are matched + * against the list of precached URLs. + * @param {string} [options.directoryIndex=index.html] The `directoryIndex` will + * check cache entries for a URLs ending with '/' to see if there is a hit when + * appending the `directoryIndex` value. + * @param {Array} [options.ignoreURLParametersMatching=[/^utm_/, /^fbclid$/]] An + * array of regex's to remove search params when looking for a cache match. + * @param {boolean} [options.cleanURLs=true] The `cleanURLs` option will + * check the cache for the URL with a `.html` added to the end of the end. + * @param {workbox-precaching~urlManipulation} [options.urlManipulation] + * This is a function that should take a URL and return an array of + * alternative URLs that should be checked for precache matches. + */ + constructor(e, t) { + const n = ({ request: a }) => { + const r = e.getURLsToCacheKeys(); + for (const i of Pe(a.url, t)) { + const c = r.get(i); + if (c) { + const o = e.getIntegrityForCacheKey(c); + return { cacheKey: c, integrity: o }; + } + } + }; + super(n, e.strategy); + } +} +function Me(s) { + const e = I(), t = new Ie(e, s); + M(t); +} +function Ne(s) { + return I().createHandlerBoundToURL(s); +} +function Ke(s) { + I().precache(s); +} +function Ae(s, e) { + Ke(s), Me(e); +} +const je = { + /** + * Returns a valid response (to allow caching) if the status is 200 (OK) or + * 0 (opaque). + * + * @param {Object} options + * @param {Response} options.response + * @return {Response|null} + * + * @private + */ + cacheWillUpdate: async ({ response: s }) => s.status === 200 || s.status === 0 ? s : null +}; +class Oe extends V { + /** + * @param {Object} [options] + * @param {string} [options.cacheName] Cache name to store and retrieve + * requests. Defaults to cache names provided by + * {@link workbox-core.cacheNames}. + * @param {Array} [options.plugins] [Plugins]{@link https://developers.google.com/web/tools/workbox/guides/using-plugins} + * to use in conjunction with this caching strategy. + * @param {Object} [options.fetchOptions] Values passed along to the + * [`init`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters) + * of [non-navigation](https://github.com/GoogleChrome/workbox/issues/1796) + * `fetch()` requests made by this strategy. + * @param {Object} [options.matchOptions] [`CacheQueryOptions`](https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions) + */ + constructor(e = {}) { + super(e), this.plugins.some((t) => "cacheWillUpdate" in t) || this.plugins.unshift(je); + } + /** + * @private + * @param {Request|string} request A request to run this strategy for. + * @param {workbox-strategies.StrategyHandler} handler The event that + * triggered the request. + * @return {Promise} + */ + async _handle(e, t) { + const n = t.fetchAndCachePut(e).catch(() => { + }); + t.waitUntil(n); + let a = await t.cacheMatch(e), r; + if (!a) + try { + a = await n; + } catch (i) { + i instanceof Error && (r = i); + } + if (!a) + throw new h("no-response", { url: e.url, error: r }); + return a; + } +} +const Se = "shlink-web-client", We = "A React-based progressive web application for shlink", Be = "/shlink-web-client/dependabot/docker/node-21.6-alpine", qe = "https://github.com/shlinkio/shlink-web-client", Fe = "MIT", He = "module", Ve = { + lint: "npm run lint:css && npm run lint:js", + "lint:css": "stylelint src/*.scss src/**/*.scss", + "lint:js": "eslint --ext .js,.ts,.tsx src test", + "lint:fix": "npm run lint:css:fix && npm run lint:js:fix", + "lint:css:fix": "npm run lint:css -- --fix", + "lint:js:fix": "npm run lint:js -- --fix", + types: "tsc", + start: "vite serve --host=0.0.0.0", + preview: "vite preview --host=0.0.0.0", + build: "npm run types && vite build && node scripts/replace-version.mjs", + "build:dist": "npm run build && node scripts/create-dist-file.mjs", + test: "vitest run --run", + "test:watch": "vitest --watch", + "test:ci": "npm run test -- --coverage", + "test:verbose": "npm run test -- --verbose" +}, $e = { + "@fortawesome/fontawesome-free": "^6.5.1", + "@fortawesome/fontawesome-svg-core": "^6.5.1", + "@fortawesome/free-brands-svg-icons": "^6.5.1", + "@fortawesome/free-regular-svg-icons": "^6.5.1", + "@fortawesome/free-solid-svg-icons": "^6.5.1", + "@fortawesome/react-fontawesome": "^0.2.0", + "@json2csv/plainjs": "^7.0.3", + "@reduxjs/toolkit": "^2.0.1", + "@shlinkio/data-manipulation": "^1.0.3", + "@shlinkio/shlink-frontend-kit": "^0.4.1", + "@shlinkio/shlink-js-sdk": "^0.2.0", + "@shlinkio/shlink-web-component": "^0.4.1", + bootstrap: "5.2.3", + bottlejs: "^2.0.1", + clsx: "^2.1.0", + "compare-versions": "^6.1.0", + csvtojson: "^2.0.10", + "date-fns": "^3.3.0", + react: "^18.2.0", + "react-dom": "^18.2.0", + "react-external-link": "^2.2.0", + "react-redux": "^9.1.0", + "react-router-dom": "^6.21.2", + reactstrap: "^9.2.2", + "redux-localstorage-simple": "^2.5.1", + uuid: "^9.0.1", + "workbox-core": "^7.0.0", + "workbox-expiration": "^7.0.0", + "workbox-precaching": "^7.0.0", + "workbox-routing": "^7.0.0", + "workbox-strategies": "^7.0.0" +}, Ge = { + "@shlinkio/eslint-config-js-coding-standard": "~2.3.0", + "@shlinkio/stylelint-config-css-coding-standard": "~1.1.1", + "@testing-library/jest-dom": "^6.2.0", + "@testing-library/react": "^14.1.2", + "@testing-library/user-event": "^14.5.2", + "@total-typescript/shoehorn": "^0.1.1", + "@types/react": "^18.2.47", + "@types/react-dom": "^18.2.18", + "@types/uuid": "^9.0.7", + "@vitejs/plugin-react": "^4.2.1", + "@vitest/coverage-v8": "^1.2.0", + "adm-zip": "^0.5.10", + "axe-core": "^4.8.3", + chalk: "^5.3.0", + eslint: "^8.56.0", + history: "^5.3.0", + jsdom: "^23.2.0", + sass: "^1.70.0", + stylelint: "^15.11.0", + typescript: "^5.3.3", + vite: "^5.0.12", + "vite-plugin-pwa": "^0.17.4", + vitest: "^1.2.0" +}, Qe = [ + ">0.2%", + "not dead", + "not ie <= 11", + "not op_mini all" +], ze = { + name: Se, + description: We, + private: !1, + homepage: Be, + repository: qe, + license: Fe, + type: He, + scripts: Ve, + dependencies: $e, + devDependencies: Ge, + browserslist: Qe +}; +ae(); +Ae([{"revision":null,"url":"assets/index-oITpymb_.css"},{"revision":null,"url":"assets/index-YTWdCsyZ.js"},{"revision":"1c4285e0cc2e97e3ca4db51117c2ce0a","url":"index.html"},{"revision":"3e8169a112865ef0d76bba4e2dfd3a89","url":"./icons/icon-16x16.png"},{"revision":"20f0b51945ae3c973420e31d6b4d43c1","url":"./icons/icon-24x24.png"},{"revision":"4c9695cfb4cea403c1b66bbb7b4f7420","url":"./icons/icon-32x32.png"},{"revision":"f74edb9cc54ac938c1589876f8da9f21","url":"./icons/icon-40x40.png"},{"revision":"52933970fac8498311687de13549b014","url":"./icons/icon-48x48.png"},{"revision":"40209a194f29b21882571c77bd2bd906","url":"./icons/icon-60x60.png"},{"revision":"c8ba5a8c1da76d74c7bb21827fcf975c","url":"./icons/icon-64x64.png"},{"revision":"ae3435baceb494f9c966e2c2c736ea35","url":"./icons/icon-72x72.png"},{"revision":"850aa5b026fd1452af6c1ddd9d71850f","url":"./icons/icon-76x76.png"},{"revision":"8c62535e6b7a498ece1f6c6ae62ede59","url":"./icons/icon-96x96.png"},{"revision":"2dff586aaefa4c8d17f4c0bcbdef8b53","url":"./icons/icon-114x114.png"},{"revision":"8e28257a68ef1c55bc68bfff80e1a310","url":"./icons/icon-120x120.png"},{"revision":"0059b6f0c97fa871a5c29643b2857585","url":"./icons/icon-128x128.png"},{"revision":"41478c2456281f61e54d714718743ecc","url":"./icons/icon-144x144.png"},{"revision":"625251910295f33a578ae6d8117711c9","url":"./icons/icon-150x150.png"},{"revision":"19b71508b1d05defe32cf16a7d453001","url":"./icons/icon-152x152.png"},{"revision":"9d029a32a54ba3084c67acd5d74f8ac4","url":"./icons/icon-160x160.png"},{"revision":"6ec104aeaf745f003ecdaef2edddce97","url":"./icons/icon-167x167.png"},{"revision":"871d67907434ed0ddf5d2a6c220e09af","url":"./icons/icon-180x180.png"},{"revision":"cee2529402074d73b2135e2ddee25f6b","url":"./icons/icon-192x192.png"},{"revision":"85055b452284c0193142936dee7d2cd1","url":"./icons/icon-196x196.png"},{"revision":"f471155dd70b99924422dd9dd87ea94d","url":"./icons/icon-228x228.png"},{"revision":"4d896c5c7025582605de31fb74f0316b","url":"./icons/icon-256x256.png"},{"revision":"d99b49e5bcad41968313c3e132e7c661","url":"./icons/icon-310x310.png"},{"revision":"f9597636bef677327c3abc0fd1a743c4","url":"./icons/icon-384x384.png"},{"revision":"de22c0eb9e08d3576df5cedb568ca56b","url":"./icons/icon-512x512.png"},{"revision":"583b223ad8e20f05aaa64923d7db2e46","url":"./icons/icon-1024x1024.png"},{"revision":"93409c9c0fc873512c9d9644d3f00f08","url":"manifest.json"}]); +const Je = new RegExp("/[^/?]+\\.[^/]+$"); +M( + // Return false to exempt requests from being fulfilled by index.html. + ({ request: s, url: e }) => !(s.mode !== "navigate" || e.pathname.startsWith("/_") || e.pathname.match(Je)), + Ne(`${ze.homepage}/index.html`) +); +M( + // Add in any other file extensions or routing criteria as needed. + ({ url: s }) => s.origin === self.location.origin && s.pathname.endsWith(".png"), + // Customize this strategy as needed, e.g., by changing to CacheFirst. + new Oe({ + cacheName: "images", + plugins: [ + // Ensure that once this runtime cache reaches a maximum size the + // least-recently used images are removed. + new be({ maxEntries: 50 }) + ] + }) +); +self.addEventListener("message", (s) => { + s.data && s.data.type === "SKIP_WAITING" && self.skipWaiting(); +});