diff --git a/feature/bootstrap5/asset-manifest.json b/feature/bootstrap5/asset-manifest.json index 144596bc..b1a93413 100644 --- a/feature/bootstrap5/asset-manifest.json +++ b/feature/bootstrap5/asset-manifest.json @@ -1,14 +1,14 @@ { "main.css": "/shlink-web-client/feature/bootstrap5/static/css/main.8f098ec9.chunk.css", - "main.js": "/shlink-web-client/feature/bootstrap5/static/js/main.26b42432.chunk.js", - "main.js.map": "/shlink-web-client/feature/bootstrap5/static/js/main.26b42432.chunk.js.map", + "main.js": "/shlink-web-client/feature/bootstrap5/static/js/main.f50f3936.chunk.js", + "main.js.map": "/shlink-web-client/feature/bootstrap5/static/js/main.f50f3936.chunk.js.map", "runtime~main.js": "/shlink-web-client/feature/bootstrap5/static/js/runtime~main.7d3ff180.js", "runtime~main.js.map": "/shlink-web-client/feature/bootstrap5/static/js/runtime~main.7d3ff180.js.map", "static/css/2.04c5acbe.chunk.css": "/shlink-web-client/feature/bootstrap5/static/css/2.04c5acbe.chunk.css", - "static/js/2.a4dfa427.chunk.js": "/shlink-web-client/feature/bootstrap5/static/js/2.a4dfa427.chunk.js", - "static/js/2.a4dfa427.chunk.js.map": "/shlink-web-client/feature/bootstrap5/static/js/2.a4dfa427.chunk.js.map", + "static/js/2.f422478e.chunk.js": "/shlink-web-client/feature/bootstrap5/static/js/2.f422478e.chunk.js", + "static/js/2.f422478e.chunk.js.map": "/shlink-web-client/feature/bootstrap5/static/js/2.f422478e.chunk.js.map", "index.html": "/shlink-web-client/feature/bootstrap5/index.html", "static/css/2.04c5acbe.chunk.css.map": "/shlink-web-client/feature/bootstrap5/static/css/2.04c5acbe.chunk.css.map", "static/css/main.8f098ec9.chunk.css.map": "/shlink-web-client/feature/bootstrap5/static/css/main.8f098ec9.chunk.css.map", - "static/js/2.a4dfa427.chunk.js.LICENSE.txt": "/shlink-web-client/feature/bootstrap5/static/js/2.a4dfa427.chunk.js.LICENSE.txt" + "static/js/2.f422478e.chunk.js.LICENSE.txt": "/shlink-web-client/feature/bootstrap5/static/js/2.f422478e.chunk.js.LICENSE.txt" } \ No newline at end of file diff --git a/feature/bootstrap5/index.html b/feature/bootstrap5/index.html index 59a6edc2..63ff0d08 100644 --- a/feature/bootstrap5/index.html +++ b/feature/bootstrap5/index.html @@ -1 +1 @@ -Shlink — The URL shortener
\ No newline at end of file +Shlink — The URL shortener
\ No newline at end of file diff --git a/feature/bootstrap5/static/js/2.a4dfa427.chunk.js b/feature/bootstrap5/static/js/2.f422478e.chunk.js similarity index 99% rename from feature/bootstrap5/static/js/2.a4dfa427.chunk.js rename to feature/bootstrap5/static/js/2.f422478e.chunk.js index 8391c36f..d41a4a18 100644 --- a/feature/bootstrap5/static/js/2.a4dfa427.chunk.js +++ b/feature/bootstrap5/static/js/2.f422478e.chunk.js @@ -1,3 +1,3 @@ -/*! For license information please see 2.a4dfa427.chunk.js.LICENSE.txt */ +/*! For license information please see 2.f422478e.chunk.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(298)},function(e,t,n){e.exports=n(271)()},function(e,t,n){"use strict";e.exports=n(268)},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(10);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t1?t-1:0),r=1;r0&&(r=k(n.width)/a||1),o>0&&(i=k(n.height)/o||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function E(e){var t=g(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function M(e){return e?(e.nodeName||"").toLowerCase():null}function S(e){return((y(e)?e.ownerDocument:e.document)||window.document).documentElement}function C(e){return O(S(e)).left+E(e).scrollLeft}function T(e){return g(e).getComputedStyle(e)}function P(e){var t=T(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function j(e,t,n){void 0===n&&(n=!1);var r=b(t),i=b(t)&&function(e){var t=e.getBoundingClientRect(),n=k(t.width)/e.offsetWidth||1,r=k(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),o=S(t),a=O(e,i),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==M(t)||P(o))&&(s=function(e){return e!==g(e)&&b(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:E(e);var t}(t)),b(t)?((u=O(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):o&&(u.x=C(o))),{x:a.left+s.scrollLeft-u.x,y:a.top+s.scrollTop-u.y,width:a.width,height:a.height}}function N(e){var t=O(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 D(e){return"html"===M(e)?e:e.assignedSlot||e.parentNode||(_(e)?e.host:null)||S(e)}function L(e){return["html","body","#document"].indexOf(M(e))>=0?e.ownerDocument.body:b(e)&&P(e)?e:L(D(e))}function A(e,t){var n;void 0===t&&(t=[]);var r=L(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=g(r),a=i?[o].concat(o.visualViewport||[],P(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(A(D(a)))}function R(e){return["table","td","th"].indexOf(M(e))>=0}function I(e){return b(e)&&"fixed"!==T(e).position?e.offsetParent:null}function z(e){for(var t=g(e),n=I(e);n&&R(n)&&"static"===T(n).position;)n=I(n);return n&&("html"===M(n)||"body"===M(n)&&"static"===T(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&b(e)&&"fixed"===T(e).position)return null;for(var n=D(e);b(n)&&["html","body"].indexOf(M(n))<0;){var r=T(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var F="top",B="bottom",H="right",U="left",W="auto",V=[F,B,H,U],Y="start",q="end",Z="viewport",K="popper",Q=V.reduce((function(e,t){return e.concat([t+"-"+Y,t+"-"+q])}),[]),X=[].concat(V,[W]).reduce((function(e,t){return e.concat([t,t+"-"+Y,t+"-"+q])}),[]),$=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function G(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}function J(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var ee={placement:"bottom",modifiers:[],strategy:"absolute"};function te(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function se(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?ie(i):null,a=i?oe(i):null,s=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(o){case F:t={x:s,y:n.y-r.height};break;case B:t={x:s,y:n.y+n.height};break;case H:t={x:n.x+n.width,y:u};break;case U:t={x:n.x-r.width,y:u};break;default:t={x:n.x,y:n.y}}var c=o?ae(o):null;if(null!=c){var l="y"===c?"height":"width";switch(a){case Y:t[c]=t[c]-(n[l]/2-r[l]/2);break;case q:t[c]=t[c]+(n[l]/2-r[l]/2)}}return t}var ue={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ce(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,l=e.roundOffsets,f=e.isFixed,d=a.x,p=void 0===d?0:d,h=a.y,m=void 0===h?0:h,v="function"===typeof l?l({x:p,y:m}):{x:p,y:m};p=v.x,m=v.y;var y=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),_=U,w=F,x=window;if(c){var O=z(n),E="clientHeight",M="clientWidth";if(O===g(n)&&"static"!==T(O=S(n)).position&&"absolute"===s&&(E="scrollHeight",M="scrollWidth"),O=O,i===F||(i===U||i===H)&&o===q)w=B,m-=(f&&x.visualViewport?x.visualViewport.height:O[E])-r.height,m*=u?1:-1;if(i===U||(i===F||i===B)&&o===q)_=H,p-=(f&&x.visualViewport?x.visualViewport.width:O[M])-r.width,p*=u?1:-1}var C,P=Object.assign({position:s},c&&ue),j=!0===l?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:k(t*r)/r||0,y:k(n*r)/r||0}}({x:p,y:m}):{x:p,y:m};return p=j.x,m=j.y,u?Object.assign({},P,((C={})[w]=b?"0":"",C[_]=y?"0":"",C.transform=(x.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",C)):Object.assign({},P,((t={})[w]=b?m+"px":"",t[_]=y?p+"px":"",t.transform="",t))}var le={left:"right",right:"left",bottom:"top",top:"bottom"};function fe(e){return e.replace(/left|right|bottom|top/g,(function(e){return le[e]}))}var de={start:"end",end:"start"};function pe(e){return e.replace(/start|end/g,(function(e){return de[e]}))}function he(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&_(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function me(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ve(e,t){return t===Z?me(function(e){var t=g(e),n=S(e),r=t.visualViewport,i=n.clientWidth,o=n.clientHeight,a=0,s=0;return r&&(i=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:i,height:o,x:a+C(e),y:s}}(e)):y(t)?function(e){var t=O(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):me(function(e){var t,n=S(e),r=E(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=w(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=w(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+C(e),u=-r.scrollTop;return"rtl"===T(i||n).direction&&(s+=w(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:u}}(S(e)))}function ge(e,t,n){var r="clippingParents"===t?function(e){var t=A(D(e)),n=["absolute","fixed"].indexOf(T(e).position)>=0&&b(e)?z(e):e;return y(n)?t.filter((function(e){return y(e)&&he(e,n)&&"body"!==M(e)})):[]}(e):[].concat(t),i=[].concat(r,[n]),o=i[0],a=i.reduce((function(t,n){var r=ve(e,n);return t.top=w(r.top,t.top),t.right=x(r.right,t.right),t.bottom=x(r.bottom,t.bottom),t.left=w(r.left,t.left),t}),ve(e,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ye(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function be(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function _e(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.boundary,a=void 0===o?"clippingParents":o,s=n.rootBoundary,u=void 0===s?Z:s,c=n.elementContext,l=void 0===c?K:c,f=n.altBoundary,d=void 0!==f&&f,p=n.padding,h=void 0===p?0:p,m=ye("number"!==typeof h?h:be(h,V)),v=l===K?"reference":K,g=e.rects.popper,b=e.elements[d?v:l],_=ge(y(b)?b:b.contextElement||S(e.elements.popper),a,u),w=O(e.elements.reference),x=se({reference:w,element:g,strategy:"absolute",placement:i}),k=me(Object.assign({},g,x)),E=l===K?k:w,M={top:_.top-E.top+m.top,bottom:E.bottom-_.bottom+m.bottom,left:_.left-E.left+m.left,right:E.right-_.right+m.right},C=e.modifiersData.offset;if(l===K&&C){var T=C[i];Object.keys(M).forEach((function(e){var t=[H,B].indexOf(e)>=0?1:-1,n=[F,B].indexOf(e)>=0?"y":"x";M[e]+=T[n]*t}))}return M}function we(e,t,n){return w(e,x(t,n))}function xe(e,t,n){return void 0===n&&(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 ke(e){return[F,H,B,U].some((function(t){return e[t]>=0}))}var Oe=ne({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,u=g(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,re)})),s&&u.addEventListener("resize",n.update,re),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,re)})),s&&u.removeEventListener("resize",n.update,re)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=se({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,u=void 0===s||s,c={placement:ie(t.placement),variation:oe(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ce(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ce(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];b(i)&&M(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(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(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});b(r)&&M(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=X.reduce((function(e,n){return e[n]=function(e,t,n){var r=ie(e),i=[U,F].indexOf(r)>=0?-1:1,o="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[U,H].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],u=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,u=n.fallbackPlacements,c=n.padding,l=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,g=ie(v),y=u||(g===v||!h?[fe(v)]:function(e){if(ie(e)===W)return[];var t=fe(e);return[pe(e),t,pe(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat(ie(n)===W?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,c=void 0===u?X:u,l=oe(r),f=l?s?Q:Q.filter((function(e){return oe(e)===l})):V,d=f.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,n){return t[n]=_e(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[ie(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),_=t.rects.reference,w=t.rects.popper,x=new Map,k=!0,O=b[0],E=0;E=0,P=T?"width":"height",j=_e(t,{placement:M,boundary:l,rootBoundary:f,altBoundary:d,padding:c}),N=T?C?H:U:C?B:F;_[P]>w[P]&&(N=fe(N));var D=fe(N),L=[];if(o&&L.push(j[S]<=0),s&&L.push(j[N]<=0,j[D]<=0),L.every((function(e){return e}))){O=M,k=!1;break}x.set(M,L)}if(k)for(var A=function(e){var t=b.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},R=h?3:1;R>0;R--){if("break"===A(R))break}t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0!==a&&a,u=n.boundary,c=n.rootBoundary,l=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,h=n.tetherOffset,m=void 0===h?0:h,v=_e(t,{boundary:u,rootBoundary:c,padding:f,altBoundary:l}),g=ie(t.placement),y=oe(t.placement),b=!y,_=ae(g),k="x"===_?"y":"x",O=t.modifiersData.popperOffsets,E=t.rects.reference,M=t.rects.popper,S="function"===typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,C="number"===typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(O){if(o){var j,D="y"===_?F:U,L="y"===_?B:H,A="y"===_?"height":"width",R=O[_],I=R+v[D],W=R-v[L],V=p?-M[A]/2:0,q=y===Y?E[A]:M[A],Z=y===Y?-M[A]:-E[A],K=t.elements.arrow,Q=p&&K?N(K):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=X[D],G=X[L],J=we(0,E[A],Q[A]),ee=b?E[A]/2-V-J-$-C.mainAxis:q-J-$-C.mainAxis,te=b?-E[A]/2+V+J+G+C.mainAxis:Z+J+G+C.mainAxis,ne=t.elements.arrow&&z(t.elements.arrow),re=ne?"y"===_?ne.clientTop||0:ne.clientLeft||0:0,se=null!=(j=null==T?void 0:T[_])?j:0,ue=R+te-se,ce=we(p?x(I,R+ee-se-re):I,R,p?w(W,ue):W);O[_]=ce,P[_]=ce-R}if(s){var le,fe="x"===_?F:U,de="x"===_?B:H,pe=O[k],he="y"===k?"height":"width",me=pe+v[fe],ve=pe-v[de],ge=-1!==[F,U].indexOf(g),ye=null!=(le=null==T?void 0:T[k])?le:0,be=ge?me:pe-E[he]-M[he]-ye+C.altAxis,xe=ge?pe+E[he]+M[he]-ye-C.altAxis:ve,ke=p&&ge?function(e,t,n){var r=we(e,t,n);return r>n?n:r}(be,pe,xe):we(p?be:me,pe,p?xe:ve);O[k]=ke,P[k]=ke-pe}t.modifiersData[r]=P}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=ie(n.placement),u=ae(s),c=[U,H].indexOf(s)>=0?"height":"width";if(o&&a){var l=function(e,t){return ye("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:be(e,V))}(i.padding,n),f=N(o),d="y"===u?F:U,p="y"===u?B:H,h=n.rects.reference[c]+n.rects.reference[u]-a[u]-n.rects.popper[c],m=a[u]-n.rects.reference[u],v=z(o),g=v?"y"===u?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,b=l[d],_=g-f[c]-l[p],w=g/2-f[c]/2+y,x=we(b,w,_),k=u;n.modifiersData[r]=((t={})[k]=x,t.centerOffset=x-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&he(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=_e(t,{elementContext:"reference"}),s=_e(t,{altBoundary:!0}),u=xe(a,r),c=xe(s,i,o),l=ke(u),f=ke(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),Ee=n(230),Me=n.n(Ee),Se=[],Ce=function(){},Te=function(){return Promise.resolve(null)},Pe=[];function je(e){var t=e.placement,n=void 0===t?"bottom":t,i=e.strategy,o=void 0===i?"absolute":i,a=e.modifiers,s=void 0===a?Pe:a,u=e.referenceElement,l=e.onFirstUpdate,f=e.innerRef,p=e.children,g=r.useContext(c),y=r.useState(null),b=y[0],_=y[1],w=r.useState(null),x=w[0],k=w[1];r.useEffect((function(){h(f,b)}),[f,b]);var O=r.useMemo((function(){return{placement:n,strategy:o,onFirstUpdate:l,modifiers:[].concat(s,[{name:"arrow",enabled:null!=x,options:{element:x}}])}}),[n,o,l,s,x]),E=function(e,t,n){void 0===n&&(n={});var i=r.useRef(null),o={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Se},a=r.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=a[0],u=a[1],c=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);u({styles:m(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:m(n.map((function(e){return[e,t.attributes[e]]})))})},requires:["computeStyles"]}}),[]),l=r.useMemo((function(){var e={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[c,{name:"applyStyles",enabled:!1}])};return Me()(i.current,e)?i.current||e:(i.current=e,e)}),[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,c]),f=r.useRef();return v((function(){f.current&&f.current.setOptions(l)}),[l]),v((function(){if(null!=e&&null!=t){var r=(n.createPopper||Oe)(e,t,l);return f.current=r,function(){r.destroy(),f.current=null}}}),[e,t,n.createPopper]),{state:f.current?f.current.state:null,styles:s.styles,attributes:s.attributes,update:f.current?f.current.update:null,forceUpdate:f.current?f.current.forceUpdate:null}}(u||g,b,O),M=E.state,S=E.styles,C=E.forceUpdate,T=E.update,P=r.useMemo((function(){return{ref:_,style:S.popper,placement:M?M.placement:n,hasPopperEscaped:M&&M.modifiersData.hide?M.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:M&&M.modifiersData.hide?M.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:S.arrow,ref:k},forceUpdate:C||Ce,update:T||Te}}),[_,k,n,M,S,T,C]);return d(p)(P)}var Ne=n(103),De=n.n(Ne);function Le(e){var t=e.children,n=e.innerRef,i=r.useContext(l),o=r.useCallback((function(e){h(n,e),p(i,e)}),[n,i]);return r.useEffect((function(){return function(){return h(n,null)}})),r.useEffect((function(){De()(Boolean(i),"`Reference` should not be used outside of a `Manager` component.")}),[i]),d(t)({ref:o})}var Ae=n(40),Re=n.n(Ae),Ie=n(64);function ze(e,t){return(ze=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Fe=!1,Be=i.a.createContext(null),He="unmounted",Ue="exited",We="entering",Ve="entered",Ye="exiting",qe=function(e){var t,n;function r(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=Ue,r.appearStatus=We):i=Ve:i=t.unmountOnExit||t.mountOnEnter?He:Ue,r.state={status:i},r.nextCallback=null,r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,ze(t,n),r.getDerivedStateFromProps=function(e,t){return e.in&&t.status===He?{status:Ue}:null};var o=r.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==We&&n!==Ve&&(t=We):n!==We&&n!==Ve||(t=Ye)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},o.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===We?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===Ue&&this.setState({status:He})},o.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[Re.a.findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),u=r?s.appear:s.enter;!e&&!n||Fe?this.safeSetState({status:Ve},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:We},(function(){t.props.onEntering(o,a),t.onTransitionEnd(u,(function(){t.safeSetState({status:Ve},(function(){t.props.onEntered(o,a)}))}))})))},o.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Re.a.findDOMNode(this);t&&!Fe?(this.props.onExit(r),this.safeSetState({status:Ye},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Ue},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Ue},(function(){e.props.onExited(r)}))},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},o.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Re.a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===He)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Object(Ie.a)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.a.createElement(Be.Provider,{value:null},"function"===typeof n?n(e,r):i.a.cloneElement(i.a.Children.only(n),r))},r}(i.a.Component);function Ze(){}qe.contextType=Be,qe.propTypes={},qe.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ze,onEntering:Ze,onEntered:Ze,onExit:Ze,onExiting:Ze,onExited:Ze},qe.UNMOUNTED=He,qe.EXITED=Ue,qe.ENTERING=We,qe.ENTERED=Ve,qe.EXITING=Ye;var Ke,Qe=qe;function Xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $e(e){for(var t=1;t=0||(i[n]=e[n]);return i}function rt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function it(){var e=document.createElement("div");e.style.position="absolute",e.style.top="-9999px",e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}function ot(e){document.body.style.paddingRight=e>0?e+"px":null}function at(){return document.body.clientWidth0;)o[n=r[i-=1]]=e[n];return o}var dt={};function pt(e){dt[e]||("undefined"!==typeof console&&console.error(e),dt[e]=!0)}function ht(e,t){return function(n,r,i){return null!==n[r]&&"undefined"!==typeof n[r]&&pt('"'+r+'" property of "'+i+'" has been deprecated.\n'+t),e.apply(void 0,[n,r,i].concat([].slice.call(arguments,3)))}}var mt="object"===typeof window&&window.Element||function(){};function vt(e,t,n){if(!(e[t]instanceof mt))return new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Expected prop to be an instance of Element. Validation failed.")}var gt=a.a.oneOfType([a.a.string,a.a.func,vt,a.a.shape({current:a.a.any})]),yt=a.a.oneOfType([a.a.func,a.a.string,a.a.shape({$$typeof:a.a.symbol,render:a.a.func}),a.a.arrayOf(a.a.oneOfType([a.a.func,a.a.string,a.a.shape({$$typeof:a.a.symbol,render:a.a.func})]))]),bt={Fade:150,Collapse:350,Modal:300,Carousel:600,Offcanvas:300},_t=["in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],wt={ENTERING:"entering",ENTERED:"entered",EXITING:"exiting",EXITED:"exited"},xt={esc:27,space:32,enter:13,tab:9,up:38,down:40,home:36,end:35,n:78,p:80},kt=["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"],Ot=!("undefined"===typeof window||!window.document||!window.document.createElement);function Et(e){return!(!e||"object"!==typeof e)&&"current"in e}function Mt(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function St(e){var t=typeof e;if("number"===t)return e;if("symbol"===t||"object"===t&&"[object Symbol]"===Mt(e))return NaN;if(Ct(e)){var n="function"===typeof e.valueOf?e.valueOf():e;e=Ct(n)?""+n:n}if("string"!==t)return 0===e?e:+e;e=e.replace(/^\s+|\s+$/g,"");var r=/^0b[01]+$/i.test(e);return r||/^0o[0-7]+$/i.test(e)?parseInt(e.slice(2),r?2:8):/^[-+]0x[0-9a-f]+$/i.test(e)?NaN:+e}function Ct(e){var t=typeof e;return null!=e&&("object"===t||"function"===t)}function Tt(e){if(!Ct(e))return!1;var t=Mt(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object Proxy]"===t}function Pt(e){if(Et(e))return e.current;if(Tt(e))return e();if("string"===typeof e&&Ot){var t=document.querySelectorAll(e);if(t.length||(t=document.querySelectorAll("#"+e)),!t.length)throw new Error("The target '"+e+"' could not be identified in the dom, tip: check spelling");return t}return e}function jt(e){return null!==e&&(Array.isArray(e)||Ot&&"number"===typeof e.length)}function Nt(e,t){var n=Pt(e);return t?jt(n)?n:null===n?[]:[n]:jt(n)?n[0]:n}var Dt=["touchstart","click"];function Lt(e,t,n,r){var i=e;jt(i)||(i=[i]);var o=n;if("string"===typeof o&&(o=o.split(/\s+/)),!jt(i)||"function"!==typeof t||!Array.isArray(o))throw new Error("\n The first argument of this function must be DOM node or an array on DOM nodes or NodeList.\n The second must be a function.\n The third is a string or an array of strings that represents DOM events\n ");return Array.prototype.forEach.call(o,(function(e){Array.prototype.forEach.call(i,(function(n){n.addEventListener(e,t,r)}))})),function(){Array.prototype.forEach.call(o,(function(e){Array.prototype.forEach.call(i,(function(n){n.removeEventListener(e,t,r)}))}))}}var At=["a[href]","area[href]","input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","object","embed","[tabindex]:not(.modal)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],Rt=["className","cssModule","fluid","tag"],It={tag:yt,fluid:a.a.oneOfType([a.a.bool,a.a.string]),className:a.a.string,cssModule:a.a.object},zt=function(e){var t=e.className,n=e.cssModule,r=e.fluid,o=e.tag,a=nt(e,Rt),s="container";!0===r?s="container-fluid":r&&(s="container-"+r);var c=ct(u()(t,s),n);return i.a.createElement(o,Je({},a,{className:c}))};zt.propTypes=It,zt.defaultProps={tag:"div"};var Ft=["className","cssModule","noGutters","tag","form","widths"],Bt=a.a.oneOfType([a.a.number,a.a.string]),Ht={tag:yt,noGutters:ht(a.a.bool,"Please use Bootstrap 5 gutter utility classes. https://getbootstrap.com/docs/5.0/layout/gutters/"),className:a.a.string,cssModule:a.a.object,form:a.a.bool,xs:Bt,sm:Bt,md:Bt,lg:Bt,xl:Bt,xxl:Bt},Ut={tag:"div",widths:["xs","sm","md","lg","xl","xxl"]},Wt=function(e){var t=e.className,n=e.cssModule,r=e.noGutters,o=e.tag,a=e.form,s=e.widths,c=nt(e,Ft),l=[];s.forEach((function(t,n){var r=e[t];if(delete c[t],r){var i=!n;l.push(i?"row-cols-"+r:"row-cols-"+t+"-"+r)}}));var f=ct(u()(t,r?"gx-0":null,a?"form-row":"row",l),n);return i.a.createElement(o,Je({},c,{className:f}))};Wt.propTypes=Ht,Wt.defaultProps=Ut;var Vt=Wt,Yt=["className","cssModule","widths","tag"],qt=["xs","sm","md","lg","xl","xxl"],Zt=a.a.oneOfType([a.a.number,a.a.string]),Kt=a.a.oneOfType([a.a.bool,a.a.number,a.a.string,a.a.shape({size:a.a.oneOfType([a.a.bool,a.a.number,a.a.string]),order:Zt,offset:Zt})]),Qt={tag:yt,xs:Kt,sm:Kt,md:Kt,lg:Kt,xl:Kt,xxl:Kt,className:a.a.string,cssModule:a.a.object,widths:a.a.array},Xt={tag:"div",widths:qt},$t=function(e,t,n){return!0===n||""===n?e?"col":"col-"+t:"auto"===n?e?"col-auto":"col-"+t+"-auto":e?"col-"+n:"col-"+t+"-"+n},Gt=function(e,t,n){void 0===n&&(n=qt);var r=[];return n.forEach((function(n,i){var o=e[n];if(delete e[n],o||""===o){var a=!i;if(Ct(o)){var s,c=a?"-":"-"+n+"-",l=$t(a,n,o.size);r.push(ct(u()(((s={})[l]=o.size||""===o.size,s["order"+c+o.order]=o.order||0===o.order,s["offset"+c+o.offset]=o.offset||0===o.offset,s)),t))}else{var f=$t(a,n,o);r.push(f)}}})),{colClasses:r,attributes:e}},Jt=function(e){var t=e.className,n=e.cssModule,r=e.widths,o=e.tag,a=nt(e,Yt),s=Gt(a,n,r),c=s.attributes,l=s.colClasses;l.length||l.push("col");var f=ct(u()(t,l),n);return i.a.createElement(o,Je({},c,{className:f}))};Jt.propTypes=Qt,Jt.defaultProps=Xt;var en=Jt,tn=["expand","className","cssModule","light","dark","fixed","sticky","color","container","tag","children"],nn={light:a.a.bool,dark:a.a.bool,full:a.a.bool,fixed:a.a.string,sticky:a.a.string,color:a.a.string,role:a.a.string,tag:yt,container:a.a.oneOfType([a.a.bool,a.a.string]),className:a.a.string,cssModule:a.a.object,expand:a.a.oneOfType([a.a.bool,a.a.string]),children:a.a.node},rn=function(e){var t,n=e.expand,r=e.className,o=e.cssModule,a=e.light,s=e.dark,c=e.fixed,l=e.sticky,f=e.color,d=e.container,p=e.tag,h=e.children,m=nt(e,tn),v=ct(u()(r,"navbar",function(e){return!1!==e&&(!0===e||"xs"===e?"navbar-expand":"navbar-expand-"+e)}(n),((t={"navbar-light":a,"navbar-dark":s})["bg-"+f]=f,t["fixed-"+c]=c,t["sticky-"+l]=l,t)),o),g=d&&!0===d?"container":"container-"+d;return i.a.createElement(p,Je({},m,{className:v}),d?i.a.createElement("div",{className:g},h):h)};rn.propTypes=nn,rn.defaultProps={tag:"nav",expand:!1,container:"fluid"};var on=rn,an=["className","cssModule","tag"],sn={tag:yt,className:a.a.string,cssModule:a.a.object},un=function(e){var t=e.className,n=e.cssModule,r=e.tag,o=nt(e,an),a=ct(u()(t,"navbar-brand"),n);return i.a.createElement(r,Je({},o,{className:a}))};un.propTypes=sn,un.defaultProps={tag:"a"};var cn=un,ln=["className","cssModule","active","tag"],fn={tag:yt,className:a.a.string,cssModule:a.a.object},dn=function(e){var t=e.className,n=e.cssModule,r=e.tag,o=nt(e,ln),a=ct(u()(t,"navbar-text"),n);return i.a.createElement(r,Je({},o,{className:a}))};dn.propTypes=fn,dn.defaultProps={tag:"span"};var pn=["className","cssModule","children","tag"],hn={tag:yt,type:a.a.string,className:a.a.string,cssModule:a.a.object,children:a.a.node},mn=function(e){var t=e.className,n=e.cssModule,r=e.children,o=e.tag,a=nt(e,pn),s=ct(u()(t,"navbar-toggler"),n);return i.a.createElement(o,Je({"aria-label":"Toggle navigation"},a,{className:s}),r||i.a.createElement("span",{className:ct("navbar-toggler-icon",n)}))};mn.propTypes=hn,mn.defaultProps={tag:"button",type:"button"};var vn=mn,gn=["className","cssModule","tabs","pills","vertical","horizontal","justified","fill","navbar","card","tag"],yn={tabs:a.a.bool,pills:a.a.bool,vertical:a.a.oneOfType([a.a.bool,a.a.string]),horizontal:a.a.string,justified:a.a.bool,fill:a.a.bool,navbar:a.a.bool,card:a.a.bool,tag:yt,className:a.a.string,cssModule:a.a.object},bn=function(e){var t=e.className,n=e.cssModule,r=e.tabs,o=e.pills,a=e.vertical,s=e.horizontal,c=e.justified,l=e.fill,f=e.navbar,d=e.card,p=e.tag,h=nt(e,gn),m=ct(u()(t,f?"navbar-nav":"nav",!!s&&"justify-content-"+s,function(e){return!1!==e&&(!0===e||"xs"===e?"flex-column":"flex-"+e+"-column")}(a),{"nav-tabs":r,"card-header-tabs":d&&r,"nav-pills":o,"card-header-pills":d&&o,"nav-justified":c,"nav-fill":l}),n);return i.a.createElement(p,Je({},h,{className:m}))};bn.propTypes=yn,bn.defaultProps={tag:"ul",vertical:!1};var _n=bn,wn=["className","cssModule","active","tag"],xn={tag:yt,active:a.a.bool,className:a.a.string,cssModule:a.a.object},kn=function(e){var t=e.className,n=e.cssModule,r=e.active,o=e.tag,a=nt(e,wn),s=ct(u()(t,"nav-item",!!r&&"active"),n);return i.a.createElement(o,Je({},a,{className:s}))};kn.propTypes=xn,kn.defaultProps={tag:"li"};var On=kn,En=["className","cssModule","active","tag","innerRef"],Mn={tag:yt,innerRef:a.a.oneOfType([a.a.object,a.a.func,a.a.string]),disabled:a.a.bool,active:a.a.bool,className:a.a.string,cssModule:a.a.object,onClick:a.a.func,href:a.a.any},Sn=function(e){function t(t){var n;return(n=e.call(this,t)||this).onClick=n.onClick.bind(rt(n)),n}et(t,e);var n=t.prototype;return n.onClick=function(e){this.props.disabled?e.preventDefault():("#"===this.props.href&&e.preventDefault(),this.props.onClick&&this.props.onClick(e))},n.render=function(){var e=this.props,t=e.className,n=e.cssModule,r=e.active,o=e.tag,a=e.innerRef,s=nt(e,En),c=ct(u()(t,"nav-link",{disabled:s.disabled,active:r}),n);return i.a.createElement(o,Je({},s,{ref:a,onClick:this.onClick,className:c}))},t}(i.a.Component);Sn.propTypes=Mn,Sn.defaultProps={tag:"a"};var Cn=Sn,Tn=["className","listClassName","cssModule","children","tag","listTag","aria-label"],Pn={tag:yt,listTag:yt,className:a.a.string,listClassName:a.a.string,cssModule:a.a.object,children:a.a.node,"aria-label":a.a.string},jn=function(e){var t=e.className,n=e.listClassName,r=e.cssModule,o=e.children,a=e.tag,s=e.listTag,c=e["aria-label"],l=nt(e,Tn),f=ct(u()(t),r),d=ct(u()("breadcrumb",n),r);return i.a.createElement(a,Je({},l,{className:f,"aria-label":c}),i.a.createElement(s,{className:d},o))};jn.propTypes=Pn,jn.defaultProps={tag:"nav",listTag:"ol","aria-label":"breadcrumb"};var Nn=["className","cssModule","active","tag"],Dn={tag:yt,active:a.a.bool,className:a.a.string,cssModule:a.a.object},Ln=function(e){var t=e.className,n=e.cssModule,r=e.active,o=e.tag,a=nt(e,Nn),s=ct(u()(t,!!r&&"active","breadcrumb-item"),n);return i.a.createElement(o,Je({},a,{className:s,"aria-current":r?"page":void 0}))};Ln.propTypes=Dn,Ln.defaultProps={tag:"li"};var An=["active","aria-label","block","className","close","cssModule","color","outline","size","tag","innerRef"],Rn={active:a.a.bool,"aria-label":a.a.string,block:a.a.bool,color:a.a.string,disabled:a.a.bool,outline:a.a.bool,tag:yt,innerRef:a.a.oneOfType([a.a.object,a.a.func,a.a.string]),onClick:a.a.func,size:a.a.string,children:a.a.node,className:a.a.string,cssModule:a.a.object,close:a.a.bool},In=function(e){function t(t){var n;return(n=e.call(this,t)||this).onClick=n.onClick.bind(rt(n)),n}et(t,e);var n=t.prototype;return n.onClick=function(e){if(!this.props.disabled)return this.props.onClick?this.props.onClick(e):void 0;e.preventDefault()},n.render=function(){var e=this.props,t=e.active,n=e["aria-label"],r=e.block,o=e.className,a=e.close,s=e.cssModule,c=e.color,l=e.outline,f=e.size,d=e.tag,p=e.innerRef,h=nt(e,An),m="btn"+(l?"-outline":"")+"-"+c,v=ct(u()(o,a&&"btn-close",a||"btn",a||m,!!f&&"btn-"+f,!!r&&"d-block w-100",{active:t,disabled:this.props.disabled}),s);h.href&&"button"===d&&(d="a");var g=a?"Close":null;return i.a.createElement(d,Je({type:"button"===d&&h.onClick?"button":void 0},h,{className:v,ref:p,onClick:this.onClick,"aria-label":n||g}))},t}(i.a.Component);In.propTypes=Rn,In.defaultProps={color:"secondary",tag:"button"};var zn=In,Fn=["className"],Bn={onClick:a.a.func,onBlur:a.a.func,onFocus:a.a.func,defaultValue:a.a.bool},Hn=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={toggled:t.defaultValue,focus:!1},n.onBlur=n.onBlur.bind(rt(n)),n.onFocus=n.onFocus.bind(rt(n)),n.onClick=n.onClick.bind(rt(n)),n}et(t,e);var n=t.prototype;return n.onBlur=function(e){this.props.onBlur&&this.props.onBlur(e),this.setState({focus:!1})},n.onFocus=function(e){this.props.onFocus&&this.props.onFocus(e),this.setState({focus:!0})},n.onClick=function(e){this.props.onClick&&this.props.onClick(e),this.setState((function(e){return{toggled:!e.toggled}}))},n.render=function(){var e=this.props,t=e.className,n=nt(e,Fn),r=ct(u()(t,{focus:this.state.focus}),this.props.cssModule);return i.a.createElement(zn,Je({active:this.state.toggled,onBlur:this.onBlur,onFocus:this.onFocus,onClick:this.onClick,className:r},n))},t}(i.a.Component);Hn.propTypes=Bn,Hn.defaultProps={defaultValue:!1};var Un=i.a.createContext({}),Wn=["className","cssModule","direction","isOpen","group","size","nav","setActiveFromChild","active","tag","menuRole"],Vn={a11y:a.a.bool,disabled:a.a.bool,direction:a.a.oneOf(["up","down","start","end","left","right"]),group:a.a.bool,isOpen:a.a.bool,nav:a.a.bool,active:a.a.bool,size:a.a.string,tag:yt,toggle:a.a.func,children:a.a.node,className:a.a.string,cssModule:a.a.object,inNavbar:a.a.bool,setActiveFromChild:a.a.bool,menuRole:a.a.oneOf(["listbox","menu"])},Yn=[xt.space,xt.enter,xt.up,xt.down,xt.end,xt.home],qn=function(e){function t(t){var n;return(n=e.call(this,t)||this).addEvents=n.addEvents.bind(rt(n)),n.handleDocumentClick=n.handleDocumentClick.bind(rt(n)),n.handleKeyDown=n.handleKeyDown.bind(rt(n)),n.removeEvents=n.removeEvents.bind(rt(n)),n.toggle=n.toggle.bind(rt(n)),n.handleMenuRef=n.handleMenuRef.bind(rt(n)),n.containerRef=i.a.createRef(),n.menuRef=i.a.createRef(),n}et(t,e);var n=t.prototype;return n.handleMenuRef=function(e){this.menuRef.current=e},n.getContextValue=function(){return{toggle:this.toggle,isOpen:this.props.isOpen,direction:"down"===this.props.direction&&this.props.dropup?"up":this.props.direction,inNavbar:this.props.inNavbar,disabled:this.props.disabled,onMenuRef:this.handleMenuRef,menuRole:this.props.menuRole}},n.componentDidMount=function(){this.handleProps()},n.componentDidUpdate=function(e){this.props.isOpen!==e.isOpen&&this.handleProps()},n.componentWillUnmount=function(){this.removeEvents()},n.getContainer=function(){return this.containerRef.current},n.getMenu=function(){return this.menuRef.current},n.getMenuCtrl=function(){return this._$menuCtrl||(this._$menuCtrl=this.getContainer().querySelector("[aria-expanded]")),this._$menuCtrl},n.getItemType=function(){return"listbox"===this.context.menuRole?"option":"menuitem"},n.getMenuItems=function(){var e=this.getMenu()||this.getContainer();return[].slice.call(e.querySelectorAll('[role="'+this.getItemType()+'"]'))},n.addEvents=function(){var e=this;["click","touchstart","keyup"].forEach((function(t){return document.addEventListener(t,e.handleDocumentClick,!0)}))},n.removeEvents=function(){var e=this;["click","touchstart","keyup"].forEach((function(t){return document.removeEventListener(t,e.handleDocumentClick,!0)}))},n.handleDocumentClick=function(e){if(!e||3!==e.which&&("keyup"!==e.type||e.which===xt.tab)){var t=this.getContainer(),n=this.getMenu(),r=t.contains(e.target)&&t!==e.target,i=t.classList.contains("input-group")&&t.classList.contains("dropdown")&&"INPUT"===e.target.tagName,o=n&&n.contains(e.target)&&n!==e.target;(!(r&&!i||o)||"keyup"===e.type&&e.which!==xt.tab)&&this.toggle(e)}},n.handleKeyDown=function(e){var t=this,n="menuitem"===e.target.getAttribute("role")||"option"===e.target.getAttribute("role"),r=this.getMenuCtrl()===e.target,i=xt.tab===e.which;if(!(/input|textarea/i.test(e.target.tagName)||i&&!this.props.a11y||i&&!n&&!r)&&((-1!==Yn.indexOf(e.which)||e.which>=48&&e.which<=90)&&e.preventDefault(),!this.props.disabled&&(r&&([xt.space,xt.enter,xt.up,xt.down].indexOf(e.which)>-1?(this.props.isOpen||this.toggle(e),setTimeout((function(){return t.getMenuItems()[0].focus()}))):this.props.isOpen&&i?(e.preventDefault(),this.getMenuItems()[0].focus()):this.props.isOpen&&e.which===xt.esc&&this.toggle(e)),this.props.isOpen&&n)))if([xt.tab,xt.esc].indexOf(e.which)>-1)this.toggle(e),this.getMenuCtrl().focus();else if([xt.space,xt.enter].indexOf(e.which)>-1)e.target.click(),this.getMenuCtrl().focus();else if([xt.down,xt.up].indexOf(e.which)>-1||[xt.n,xt.p].indexOf(e.which)>-1&&e.ctrlKey){var o=this.getMenuItems(),a=o.indexOf(e.target);xt.up===e.which||xt.p===e.which&&e.ctrlKey?a=0!==a?a-1:o.length-1:(xt.down===e.which||xt.n===e.which&&e.ctrlKey)&&(a=a===o.length-1?0:a+1),o[a].focus()}else if(xt.end===e.which){var s=this.getMenuItems();s[s.length-1].focus()}else if(xt.home===e.which){this.getMenuItems()[0].focus()}else if(e.which>=48&&e.which<=90)for(var u=this.getMenuItems(),c=String.fromCharCode(e.which).toLowerCase(),l=0;l-1?this.getRole():void 0,n=lt(this.props,["toggle"]),r=n.className,o=n.cssModule,a=n.divider,s=n.tag,c=n.header,l=n.active,f=n.text,d=nt(n,rr),p=ct(u()(r,{disabled:d.disabled,"dropdown-item":!a&&!c&&!f,active:l,"dropdown-header":c,"dropdown-divider":a,"dropdown-item-text":f}),o);return"button"===s&&(c?s="h6":a?s="div":d.href?s="a":f&&(s="span")),i.a.createElement(s,Je({type:"button"===s&&(d.onClick||this.props.toggle)?"button":void 0},d,{tabIndex:e,role:t,className:p,onClick:this.onClick}))},t}(i.a.Component);or.propTypes=ir,or.defaultProps={tag:"button",toggle:!0},or.contextType=Un;var ar=or,sr=["className","cssModule","dark","end","right","tag","flip","modifiers","persist","strategy","container"],ur={tag:yt,children:a.a.node.isRequired,dark:a.a.bool,end:a.a.bool,flip:a.a.bool,modifiers:a.a.array,className:a.a.string,cssModule:a.a.object,persist:a.a.bool,strategy:a.a.string,container:gt,right:ht(a.a.bool,'Please use "end" instead.')},cr={up:"top",left:"left",right:"right",start:"left",end:"right",down:"bottom"},lr=function(e){function t(){return e.apply(this,arguments)||this}et(t,e);var n=t.prototype;return n.getRole=function(){return"listbox"===this.context.menuRole?"listbox":"menu"},n.render=function(){var e=this,t=this.props,n=t.className,r=t.cssModule,o=t.dark,a=t.end,s=t.right,c=t.tag,l=t.flip,f=t.modifiers,d=t.persist,p=t.strategy,h=t.container,m=nt(t,sr),v=ct(u()(n,"dropdown-menu",{"dropdown-menu-dark":o,"dropdown-menu-end":a||s,show:this.context.isOpen}),r),g=c;if(d||this.context.isOpen&&!this.context.inNavbar){var y=(cr[this.context.direction]||"bottom")+"-"+(a||s?"end":"start"),b=[].concat(f,[{name:"flip",enabled:!!l}]),_=i.a.createElement(je,{placement:y,modifiers:b,strategy:p},(function(t){var n=t.ref,r=t.style,o=t.placement,a=$e($e({},e.props.style),r);return i.a.createElement(g,Je({tabIndex:"-1",role:e.getRole(),ref:function(t){n(t);var r=e.context.onMenuRef;r&&r(t)}},m,{style:a,"aria-hidden":!e.context.isOpen,className:v,"data-popper-placement":o}))}));return h?Re.a.createPortal(_,Nt(h)):_}return i.a.createElement(g,Je({tabIndex:"-1",role:this.getRole()},m,{"aria-hidden":!this.context.isOpen,className:v,"data-popper-placement":m.placement}))},t}(i.a.Component);lr.propTypes=ur,lr.defaultProps={tag:"div",flip:!0,modifiers:[]},lr.contextType=Un;var fr=lr,dr=["className","color","cssModule","caret","split","nav","tag","innerRef"],pr={caret:a.a.bool,color:a.a.string,children:a.a.node,className:a.a.string,cssModule:a.a.object,disabled:a.a.bool,onClick:a.a.func,"aria-haspopup":a.a.bool,split:a.a.bool,tag:yt,nav:a.a.bool},hr=function(e){function t(t){var n;return(n=e.call(this,t)||this).onClick=n.onClick.bind(rt(n)),n}et(t,e);var n=t.prototype;return n.onClick=function(e){this.props.disabled||this.context.disabled?e.preventDefault():(this.props.nav&&!this.props.tag&&e.preventDefault(),this.props.onClick&&this.props.onClick(e),this.context.toggle(e))},n.getRole=function(){return this.context.menuRole||this.props["aria-haspopup"]},n.render=function(){var e,t=this,n=this.props,r=n.className,o=n.color,a=n.cssModule,s=n.caret,c=n.split,l=n.nav,f=n.tag,d=n.innerRef,p=nt(n,dr),h=p["aria-label"]||"Toggle Dropdown",m=ct(u()(r,{"dropdown-toggle":s||c,"dropdown-toggle-split":c,"nav-link":l}),a),v="undefined"!==typeof p.children?p.children:i.a.createElement("span",{className:"visually-hidden"},h);return l&&!f?(e="a",p.href="#"):f?e=f:(e=zn,p.color=o,p.cssModule=a),this.context.inNavbar?i.a.createElement(e,Je({},p,{className:m,onClick:this.onClick,"aria-expanded":this.context.isOpen,"aria-haspopup":this.getRole(),children:v})):i.a.createElement(Le,{innerRef:d},(function(n){var r,o=n.ref;return i.a.createElement(e,Je({},p,((r={})["string"===typeof e?"ref":"innerRef"]=o,r),{className:m,onClick:t.onClick,"aria-expanded":t.context.isOpen,"aria-haspopup":t.getRole(),children:v}))}))},t}(i.a.Component);hr.propTypes=pr,hr.defaultProps={color:"secondary","aria-haspopup":!0},hr.contextType=Un;var mr=hr,vr=["tag","baseClass","baseClassActive","className","cssModule","children","innerRef"],gr=$e($e({},Qe.propTypes),{},{children:a.a.oneOfType([a.a.arrayOf(a.a.node),a.a.node]),tag:yt,baseClass:a.a.string,baseClassActive:a.a.string,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func])}),yr=$e($e({},Qe.defaultProps),{},{tag:"div",baseClass:"fade",baseClassActive:"show",timeout:bt.Fade,appear:!0,enter:!0,exit:!0,in:!0});function br(e){var t=e.tag,n=e.baseClass,r=e.baseClassActive,o=e.className,a=e.cssModule,s=e.children,c=e.innerRef,l=nt(e,vr),f=ft(l,_t),d=lt(l,_t);return i.a.createElement(Qe,f,(function(e){var l="entered"===e,f=ct(u()(o,n,l&&r),a);return i.a.createElement(t,Je({className:f},d,{ref:c}),s)}))}br.propTypes=gr,br.defaultProps=yr;var _r=i.a.createContext({}),wr=["flush","open","toggle","className","cssModule","tag","innerRef"],xr={tag:yt,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),children:a.a.node,flush:a.a.bool,open:a.a.oneOfType([a.a.array,a.a.string]).isRequired,toggle:a.a.func.isRequired},kr=function(e){var t=e.flush,n=e.open,o=e.toggle,a=e.className,s=e.cssModule,c=e.tag,l=e.innerRef,f=nt(e,wr),d=ct(u()(a,"accordion",{"accordion-flush":t}),s),p=Object(r.useMemo)((function(){return{open:n,toggle:o}}));return i.a.createElement(_r.Provider,{value:p},i.a.createElement(c,Je({},f,{className:d,ref:l})))};kr.propTypes=xr,kr.defaultProps={tag:"div"};var Or=kr,Er={tag:yt,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),children:a.a.node,defaultOpen:a.a.oneOfType([a.a.array,a.a.string]),stayOpen:a.a.bool};Or.propTypes=Er,Or.defaultProps={tag:"div"};var Mr=["className","cssModule","tag","innerRef","children","targetId"],Sr={tag:yt,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),children:a.a.node,targetId:a.a.string.isRequired},Cr=function(e){var t=e.className,n=e.cssModule,o=e.tag,a=e.innerRef,s=e.children,c=e.targetId,l=nt(e,Mr),f=Object(r.useContext)(_r),d=f.open,p=f.toggle,h=ct(u()(t,"accordion-header"),n),m=ct(u()("accordion-button",{collapsed:!(Array.isArray(d)?d.includes(c):d===c)}),n);return i.a.createElement(o,Je({},l,{className:h,ref:a}),i.a.createElement("button",{type:"button",className:m,onClick:function(){return p(c)}},s))};Cr.propTypes=Sr,Cr.defaultProps={tag:"h2"};var Tr=["className","cssModule","tag","innerRef"],Pr={tag:yt,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),children:a.a.node},jr=function(e){var t=e.className,n=e.cssModule,r=e.tag,o=e.innerRef,a=nt(e,Tr),s=ct(u()(t,"accordion-item"),n);return i.a.createElement(r,Je({},a,{className:s,ref:o}))};jr.propTypes=Pr,jr.defaultProps={tag:"div"};var Nr,Dr=["tag","horizontal","isOpen","className","navbar","cssModule","children","innerRef"],Lr=$e($e({},Qe.propTypes),{},{horizontal:a.a.bool,isOpen:a.a.bool,children:a.a.oneOfType([a.a.arrayOf(a.a.node),a.a.node]),tag:yt,className:a.a.node,navbar:a.a.bool,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.func,a.a.string,a.a.object])}),Ar=$e($e({},Qe.defaultProps),{},{horizontal:!1,isOpen:!1,appear:!1,enter:!0,exit:!0,tag:"div",timeout:bt.Collapse}),Rr=((Nr={})[wt.ENTERING]="collapsing",Nr[wt.ENTERED]="collapse show",Nr[wt.EXITING]="collapsing",Nr[wt.EXITED]="collapse",Nr);var Ir=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={dimension:null},["onEntering","onEntered","onExit","onExiting","onExited"].forEach((function(e){n[e]=n[e].bind(rt(n))})),n}et(t,e);var n=t.prototype;return n.getDimension=function(e){return this.props.horizontal?e.scrollWidth:e.scrollHeight},n.onEntering=function(e,t){this.setState({dimension:this.getDimension(e)}),this.props.onEntering(e,t)},n.onEntered=function(e,t){this.setState({dimension:null}),this.props.onEntered(e,t)},n.onExit=function(e){this.setState({dimension:this.getDimension(e)}),this.props.onExit(e)},n.onExiting=function(e){this.getDimension(e),this.setState({dimension:0}),this.props.onExiting(e)},n.onExited=function(e){this.setState({dimension:null}),this.props.onExited(e)},n.render=function(){var e=this,t=this.props,n=t.tag,r=t.horizontal,o=t.isOpen,a=t.className,s=t.navbar,c=t.cssModule,l=t.children,f=nt(t,Dr),d=this.state.dimension,p=ft(f,_t),h=lt(f,_t);return i.a.createElement(Qe,Je({},p,{in:o,onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}),(function(t){var o,f=function(e){return Rr[e]||"collapse"}(t),p=ct(u()(a,r&&"collapse-horizontal",f,s&&"navbar-collapse"),c),m=null===d?null:((o={})[r?"width":"height"]=d,o);return i.a.createElement(n,Je({},h,{style:$e($e({},h.style),m),className:p,ref:e.props.innerRef}),l)}))},t}(r.Component);Ir.propTypes=Lr,Ir.defaultProps=Ar;var zr=Ir,Fr=["className","cssModule","tag","innerRef","children","accordionId"],Br={tag:yt,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),children:a.a.node,accordionId:a.a.string.isRequired},Hr=function(e){var t=e.className,n=e.cssModule,o=e.tag,a=e.innerRef,s=e.children,c=e.accordionId,l=nt(e,Fr),f=Object(r.useContext)(_r).open,d=ct(u()(t,"accordion-collapse"),n);return i.a.createElement(zr,Je({},l,{className:d,ref:a,isOpen:Array.isArray(f)?f.includes(c):f===c}),i.a.createElement(o,{className:"accordion-body"},s))};Hr.propTypes=Br,Hr.defaultProps={tag:"div"};var Ur=["className","cssModule","color","innerRef","pill","tag"],Wr={color:a.a.string,pill:a.a.bool,tag:yt,innerRef:a.a.oneOfType([a.a.object,a.a.func,a.a.string]),children:a.a.node,className:a.a.string,cssModule:a.a.object},Vr=function(e){var t=e.className,n=e.cssModule,r=e.color,o=e.innerRef,a=e.pill,s=e.tag,c=nt(e,Ur),l=ct(u()(t,"badge","bg-"+r,!!a&&"rounded-pill"),n);return c.href&&"span"===s&&(s="a"),i.a.createElement(s,Je({},c,{className:l,ref:o}))};Vr.propTypes=Wr,Vr.defaultProps={color:"secondary",pill:!1,tag:"span"};var Yr=["className","cssModule","color","body","inverse","outline","tag","innerRef"],qr={tag:yt,inverse:a.a.bool,color:a.a.string,body:a.a.bool,outline:a.a.bool,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func])},Zr=function(e){var t=e.className,n=e.cssModule,r=e.color,o=e.body,a=e.inverse,s=e.outline,c=e.tag,l=e.innerRef,f=nt(e,Yr),d=ct(u()(t,"card",!!a&&"text-white",!!o&&"card-body",!!r&&(s?"border":"bg")+"-"+r),n);return i.a.createElement(c,Je({},f,{className:d,ref:l}))};Zr.propTypes=qr,Zr.defaultProps={tag:"div"};var Kr=Zr,Qr=["className","cssModule","tag"],Xr={tag:yt,className:a.a.string,cssModule:a.a.object},$r=function(e){var t=e.className,n=e.cssModule,r=e.tag,o=nt(e,Qr),a=ct(u()(t,"card-group"),n);return i.a.createElement(r,Je({},o,{className:a}))};$r.propTypes=Xr,$r.defaultProps={tag:"div"};var Gr=["className","cssModule","tag"],Jr={tag:yt,className:a.a.string,cssModule:a.a.object},ei=function(e){var t=e.className,n=e.cssModule,r=e.tag,o=nt(e,Gr),a=ct(u()(t,"card-deck"),n);return i.a.createElement(r,Je({},o,{className:a}))};ei.propTypes=Jr,ei.defaultProps={tag:"div"};var ti=["className","cssModule","tag"],ni={tag:yt,className:a.a.string,cssModule:a.a.object},ri=function(e){var t=e.className,n=e.cssModule,r=e.tag,o=nt(e,ti),a=ct(u()(t,"card-columns"),n);return i.a.createElement(r,Je({},o,{className:a}))};ri.propTypes=ni,ri.defaultProps={tag:"div"};var ii=["className","cssModule","innerRef","tag"],oi={tag:yt,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func])},ai=function(e){var t=e.className,n=e.cssModule,r=e.innerRef,o=e.tag,a=nt(e,ii),s=ct(u()(t,"card-body"),n);return i.a.createElement(o,Je({},a,{className:s,ref:r}))};ai.propTypes=oi,ai.defaultProps={tag:"div"};var si=ai,ui=["className","cssModule","tag","innerRef"],ci={tag:yt,innerRef:a.a.oneOfType([a.a.object,a.a.func,a.a.string]),className:a.a.string,cssModule:a.a.object},li=function(e){var t=e.className,n=e.cssModule,r=e.tag,o=e.innerRef,a=nt(e,ui),s=ct(u()(t,"card-link"),n);return i.a.createElement(r,Je({},a,{ref:o,className:s}))};li.propTypes=ci,li.defaultProps={tag:"a"};var fi=["className","cssModule","tag"],di={tag:yt,className:a.a.string,cssModule:a.a.object},pi=function(e){var t=e.className,n=e.cssModule,r=e.tag,o=nt(e,fi),a=ct(u()(t,"card-footer"),n);return i.a.createElement(r,Je({},o,{className:a}))};pi.propTypes=di,pi.defaultProps={tag:"div"};var hi=pi,mi=["className","cssModule","tag"],vi={tag:yt,className:a.a.string,cssModule:a.a.object},gi=function(e){var t=e.className,n=e.cssModule,r=e.tag,o=nt(e,mi),a=ct(u()(t,"card-header"),n);return i.a.createElement(r,Je({},o,{className:a}))};gi.propTypes=vi,gi.defaultProps={tag:"div"};var yi=gi,bi=["className","cssModule","top","bottom","tag"],_i={tag:yt,top:a.a.bool,bottom:a.a.bool,className:a.a.string,cssModule:a.a.object},wi=function(e){var t=e.className,n=e.cssModule,r=e.top,o=e.bottom,a=e.tag,s=nt(e,bi),c="card-img";r&&(c="card-img-top"),o&&(c="card-img-bottom");var l=ct(u()(t,c),n);return i.a.createElement(a,Je({},s,{className:l}))};wi.propTypes=_i,wi.defaultProps={tag:"img"};var xi=["className","cssModule","tag"],ki={tag:yt,className:a.a.string,cssModule:a.a.object},Oi=function(e){var t=e.className,n=e.cssModule,r=e.tag,o=nt(e,xi),a=ct(u()(t,"card-img-overlay"),n);return i.a.createElement(r,Je({},o,{className:a}))};Oi.propTypes=ki,Oi.defaultProps={tag:"div"};var Ei=["in","children","cssModule","slide","tag","className"],Mi=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={startAnimation:!1},n.onEnter=n.onEnter.bind(rt(n)),n.onEntering=n.onEntering.bind(rt(n)),n.onExit=n.onExit.bind(rt(n)),n.onExiting=n.onExiting.bind(rt(n)),n.onExited=n.onExited.bind(rt(n)),n}et(t,e);var n=t.prototype;return n.onEnter=function(e,t){this.setState({startAnimation:!1}),this.props.onEnter(e,t)},n.onEntering=function(e,t){var n=e.offsetHeight;return this.setState({startAnimation:!0}),this.props.onEntering(e,t),n},n.onExit=function(e){this.setState({startAnimation:!1}),this.props.onExit(e)},n.onExiting=function(e){this.setState({startAnimation:!0}),e.dispatchEvent(new CustomEvent("slide.bs.carousel")),this.props.onExiting(e)},n.onExited=function(e){e.dispatchEvent(new CustomEvent("slid.bs.carousel")),this.props.onExited(e)},n.render=function(){var e=this,t=this.props,n=t.in,r=t.children,o=t.cssModule,a=t.slide,s=t.tag,c=t.className,l=nt(t,Ei);return i.a.createElement(Qe,Je({},l,{enter:a,exit:a,in:n,onEnter:this.onEnter,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}),(function(t){var n=e.context.direction,a=t===wt.ENTERED||t===wt.EXITING,l=(t===wt.ENTERING||t===wt.EXITING)&&e.state.startAnimation&&("end"===n?"carousel-item-start":"carousel-item-end"),f=t===wt.ENTERING&&("end"===n?"carousel-item-next":"carousel-item-prev"),d=ct(u()(c,"carousel-item",a&&"active",l,f),o);return i.a.createElement(s,{className:d},r)}))},t}(i.a.Component);Mi.propTypes=$e($e({},Qe.propTypes),{},{tag:yt,in:a.a.bool,cssModule:a.a.object,children:a.a.node,slide:a.a.bool,className:a.a.string}),Mi.defaultProps=$e($e({},Qe.defaultProps),{},{tag:"div",timeout:bt.Carousel,slide:!0}),Mi.contextTypes={direction:a.a.string};var Si=Mi,Ci=i.a.createContext({}),Ti=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleKeyPress=n.handleKeyPress.bind(rt(n)),n.renderItems=n.renderItems.bind(rt(n)),n.hoverStart=n.hoverStart.bind(rt(n)),n.hoverEnd=n.hoverEnd.bind(rt(n)),n.handleTouchStart=n.handleTouchStart.bind(rt(n)),n.handleTouchEnd=n.handleTouchEnd.bind(rt(n)),n.touchStartX=0,n.touchStartY=0,n.state={activeIndex:n.props.activeIndex,direction:"end",indicatorClicked:!1},n}et(t,e);var n=t.prototype;return n.getContextValue=function(){return{direction:this.state.direction}},n.componentDidMount=function(){"carousel"===this.props.ride&&this.setInterval(),document.addEventListener("keyup",this.handleKeyPress)},t.getDerivedStateFromProps=function(e,t){var n=null,r=t.activeIndex,i=t.direction,o=t.indicatorClicked;return e.activeIndex!==r&&(e.activeIndex===r+1?i="end":e.activeIndex===r-1?i="start":e.activeIndex-1&&!this.props.autohide&&(this._hideTimeout&&this.clearHideTimeout(),this.state.isOpen&&!this.props.isOpen&&this.toggle())},n.onMouseLeaveTooltipContent=function(e){this.props.trigger.indexOf("hover")>-1&&!this.props.autohide&&(this._showTimeout&&this.clearShowTimeout(),e.persist(),this._hideTimeout=setTimeout(this.hide.bind(this,e),this.getDelay("hide")))},n.onEscKeyDown=function(e){"Escape"===e.key&&this.hide(e)},n.getRef=function(e){var t=this.props.innerRef;t&&("function"===typeof t?t(e):"object"===typeof t&&(t.current=e)),this._popover=e},n.getDelay=function(e){var t=this.props.delay;return"object"===typeof t?isNaN(t[e])?io[e]:t[e]:t},n.getCurrentTarget=function(e){if(!e)return null;var t=this._targets.indexOf(e);return t>=0?this._targets[t]:this.getCurrentTarget(e.parentElement)},n.show=function(e){if(!this.props.isOpen){if(this.clearShowTimeout(),this.currentTargetElement=e?e.currentTarget||this.getCurrentTarget(e.target):null,e&&e.composedPath&&"function"===typeof e.composedPath){var t=e.composedPath();this.currentTargetElement=t&&t[0]||this.currentTargetElement}this.toggle(e)}},n.showWithDelay=function(e){this._hideTimeout&&this.clearHideTimeout(),this._showTimeout=setTimeout(this.show.bind(this,e),this.getDelay("show"))},n.hide=function(e){this.props.isOpen&&(this.clearHideTimeout(),this.currentTargetElement=null,this.toggle(e))},n.hideWithDelay=function(e){this._showTimeout&&this.clearShowTimeout(),this._hideTimeout=setTimeout(this.hide.bind(this,e),this.getDelay("hide"))},n.clearShowTimeout=function(){clearTimeout(this._showTimeout),this._showTimeout=void 0},n.clearHideTimeout=function(){clearTimeout(this._hideTimeout),this._hideTimeout=void 0},n.handleDocumentClick=function(e){var t=this.props.trigger.split(" ");t.indexOf("legacy")>-1&&(this.props.isOpen||so(e.target,this._targets))?(this._hideTimeout&&this.clearHideTimeout(),this.props.isOpen&&!ao(e.target,this._popover)?this.hideWithDelay(e):this.props.isOpen||this.showWithDelay(e)):t.indexOf("click")>-1&&so(e.target,this._targets)&&(this._hideTimeout&&this.clearHideTimeout(),this.props.isOpen?this.hideWithDelay(e):this.showWithDelay(e))},n.addEventOnTargets=function(e,t,n){this._targets.forEach((function(r){r.addEventListener(e,t,n)}))},n.removeEventOnTargets=function(e,t,n){this._targets.forEach((function(r){r.removeEventListener(e,t,n)}))},n.addTargetEvents=function(){if(this.props.trigger){var e=this.props.trigger.split(" ");-1===e.indexOf("manual")&&((e.indexOf("click")>-1||e.indexOf("legacy")>-1)&&document.addEventListener("click",this.handleDocumentClick,!0),this._targets&&this._targets.length&&(e.indexOf("hover")>-1&&(this.addEventOnTargets("mouseover",this.showWithDelay,!0),this.addEventOnTargets("mouseout",this.hideWithDelay,!0)),e.indexOf("focus")>-1&&(this.addEventOnTargets("focusin",this.show,!0),this.addEventOnTargets("focusout",this.hide,!0)),this.addEventOnTargets("keydown",this.onEscKeyDown,!0)))}},n.removeTargetEvents=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)},n.updateTarget=function(){var e=Nt(this.props.target,!0);e!==this._targets&&(this.removeTargetEvents(),this._targets=e?Array.from(e):[],this.currentTargetElement=this.currentTargetElement||this._targets[0],this.addTargetEvents())},n.toggle=function(e){return this.props.disabled||!this._isMounted?e&&e.preventDefault():this.props.toggle(e)},n.render=function(){var e=this;this.props.isOpen&&this.updateTarget();var t=this.currentTargetElement||this._targets[0];if(!t)return null;var n=this.props,r=n.className,o=n.cssModule,a=n.innerClassName,s=n.isOpen,u=n.hideArrow,c=n.boundariesElement,l=n.placement,f=n.placementPrefix,d=n.arrowClassName,p=n.popperClassName,h=n.container,m=n.modifiers,v=n.strategy,g=n.offset,y=n.fade,b=n.flip,_=n.children,w=lt(this.props,Object.keys(ro)),x=ct(p,o),k=ct(a,o);return i.a.createElement(to,{className:r,target:t,isOpen:s,hideArrow:u,boundariesElement:c,placement:l,placementPrefix:f,arrowClassName:d,popperClassName:x,container:h,modifiers:m,strategy:v,offset:g,cssModule:o,fade:y,flip:b},(function(t){var n=t.update;return i.a.createElement("div",Je({},w,{ref:e.getRef,className:k,role:"tooltip",onMouseOver:e.onMouseOverTooltipContent,onMouseLeave:e.onMouseLeaveTooltipContent,onKeyDown:e.onEscKeyDown}),"function"===typeof _?_({update:n}):_)}))},t}(i.a.Component);uo.propTypes=ro,uo.defaultProps=oo;var co=uo,lo=function(e){var t=u()("popover","show",e.popperClassName),n=u()("popover-inner",e.innerClassName);return i.a.createElement(co,Je({},e,{arrowClassName:"popover-arrow",popperClassName:t,innerClassName:n}))};lo.propTypes=ro,lo.defaultProps={placement:"right",placementPrefix:"bs-popover",trigger:"click",offset:[0,8]};var fo=lo,po=["defaultOpen"];(function(e){function t(t){var n;return(n=e.call(this,t)||this).state={isOpen:t.defaultOpen||!1},n.toggle=n.toggle.bind(rt(n)),n}et(t,e);var n=t.prototype;return n.toggle=function(){this.setState({isOpen:!this.state.isOpen})},n.render=function(){return i.a.createElement(fo,Je({isOpen:this.state.isOpen,toggle:this.toggle},lt(this.props,po)))},t}(r.Component)).propTypes=$e({defaultOpen:a.a.bool},fo.propTypes);var ho=["className","cssModule","tag"],mo={tag:yt,className:a.a.string,cssModule:a.a.object},vo=function(e){var t=e.className,n=e.cssModule,r=e.tag,o=nt(e,ho),a=ct(u()(t,"popover-header"),n);return i.a.createElement(r,Je({},o,{className:a}))};vo.propTypes=mo,vo.defaultProps={tag:"h3"};var go=["className","cssModule","tag"],yo={tag:yt,className:a.a.string,cssModule:a.a.object},bo=function(e){var t=e.className,n=e.cssModule,r=e.tag,o=nt(e,go),a=ct(u()(t,"popover-body"),n);return i.a.createElement(r,Je({},o,{className:a}))};bo.propTypes=yo,bo.defaultProps={tag:"div"};var _o=["children","className","barClassName","cssModule","value","min","max","animated","striped","color","bar","multi","tag","style","barStyle","barAriaValueText","barAriaLabelledBy"],wo={children:a.a.node,bar:a.a.bool,multi:a.a.bool,tag:yt,value:a.a.oneOfType([a.a.string,a.a.number]),min:a.a.oneOfType([a.a.string,a.a.number]),max:a.a.oneOfType([a.a.string,a.a.number]),animated:a.a.bool,striped:a.a.bool,color:a.a.string,className:a.a.string,barClassName:a.a.string,cssModule:a.a.object,style:a.a.object,barStyle:a.a.object,barAriaValueText:a.a.string,barAriaLabelledBy:a.a.string},xo=function(e){var t=e.children,n=e.className,r=e.barClassName,o=e.cssModule,a=e.value,s=e.min,c=e.max,l=e.animated,f=e.striped,d=e.color,p=e.bar,h=e.multi,m=e.tag,v=e.style,g=e.barStyle,y=e.barAriaValueText,b=e.barAriaLabelledBy,_=nt(e,_o),w=St(a)/St(c)*100,x=ct(u()(n,"progress"),o),k={className:ct(u()("progress-bar",p&&n||r,l?"progress-bar-animated":null,d?"bg-"+d:null,f||l?"progress-bar-striped":null),o),style:$e($e($e({},p?v:{}),g),{},{width:w+"%"}),role:"progressbar","aria-valuenow":a,"aria-valuemin":s,"aria-valuemax":c,"aria-valuetext":y,"aria-labelledby":b,children:t};return p?i.a.createElement(m,Je({},_,k)):i.a.createElement(m,Je({},_,{style:v,className:x}),h?t:i.a.createElement("div",k))};xo.propTypes=wo,xo.defaultProps={tag:"div",value:0,min:0,max:100,style:{},barStyle:{}};var ko=xo,Oo={children:a.a.node.isRequired,node:a.a.any},Eo=function(e){function t(){return e.apply(this,arguments)||this}et(t,e);var n=t.prototype;return n.componentWillUnmount=function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null},n.render=function(){return Ot?(this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),Re.a.createPortal(this.props.children,this.props.node||this.defaultNode)):null},t}(i.a.Component);Eo.propTypes=Oo;var Mo=Eo;function So(){}var Co=a.a.shape(br.propTypes),To={isOpen:a.a.bool,autoFocus:a.a.bool,centered:a.a.bool,fullscreen:a.a.oneOfType([a.a.bool,a.a.oneOf(["sm","md","lg","xl"])]),scrollable:a.a.bool,size:a.a.string,toggle:a.a.func,keyboard:a.a.bool,role:a.a.string,labelledBy:a.a.string,backdrop:a.a.oneOfType([a.a.bool,a.a.oneOf(["static"])]),onEnter:a.a.func,onExit:a.a.func,onOpened:a.a.func,onClosed:a.a.func,children:a.a.node,className:a.a.string,wrapClassName:a.a.string,modalClassName:a.a.string,backdropClassName:a.a.string,contentClassName:a.a.string,external:a.a.node,fade:a.a.bool,cssModule:a.a.object,zIndex:a.a.oneOfType([a.a.number,a.a.string]),backdropTransition:Co,modalTransition:Co,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),unmountOnClose:a.a.bool,returnFocusAfterClose:a.a.bool,container:gt,trapFocus:a.a.bool},Po=Object.keys(To),jo={isOpen:!1,autoFocus:!0,centered:!1,scrollable:!1,role:"dialog",backdrop:!0,keyboard:!0,zIndex:1050,fade:!0,onOpened:So,onClosed:So,modalTransition:{timeout:bt.Modal},backdropTransition:{mountOnEnter:!0,timeout:bt.Fade},unmountOnClose:!0,returnFocusAfterClose:!0,container:"body",trapFocus:!1},No=function(e){function t(t){var n;return(n=e.call(this,t)||this)._element=null,n._originalBodyPadding=null,n.getFocusableChildren=n.getFocusableChildren.bind(rt(n)),n.handleBackdropClick=n.handleBackdropClick.bind(rt(n)),n.handleBackdropMouseDown=n.handleBackdropMouseDown.bind(rt(n)),n.handleEscape=n.handleEscape.bind(rt(n)),n.handleStaticBackdropAnimation=n.handleStaticBackdropAnimation.bind(rt(n)),n.handleTab=n.handleTab.bind(rt(n)),n.onOpened=n.onOpened.bind(rt(n)),n.onClosed=n.onClosed.bind(rt(n)),n.manageFocusAfterClose=n.manageFocusAfterClose.bind(rt(n)),n.clearBackdropAnimationTimeout=n.clearBackdropAnimationTimeout.bind(rt(n)),n.trapFocus=n.trapFocus.bind(rt(n)),n.state={isOpen:!1,showStaticBackdropAnimation:!1},n}et(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this.props,t=e.isOpen,n=e.autoFocus,r=e.onEnter;t&&(this.init(),this.setState({isOpen:!0}),n&&this.setFocus()),r&&r(),document.addEventListener("focus",this.trapFocus,!0),this._isMounted=!0},n.componentDidUpdate=function(e,t){if(this.props.isOpen&&!e.isOpen)return this.init(),void this.setState({isOpen:!0});this.props.autoFocus&&this.state.isOpen&&!t.isOpen&&this.setFocus(),this._element&&e.zIndex!==this.props.zIndex&&(this._element.style.zIndex=this.props.zIndex)},n.componentWillUnmount=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},n.trapFocus=function(e){if(this.props.trapFocus&&this._element&&(!this._dialog||this._dialog.parentNode!==e.target)&&!(this.modalIndex0&&(e.preventDefault(),e.stopPropagation(),n[0].focus())}},n.onOpened=function(e,t){this.props.onOpened(),(this.props.modalTransition.onEntered||So)(e,t)},n.onClosed=function(e){var t=this.props.unmountOnClose;this.props.onClosed(),(this.props.modalTransition.onExited||So)(e),t&&this.destroy(),this.close(),this._isMounted&&this.setState({isOpen:!1})},n.setFocus=function(){this._dialog&&this._dialog.parentNode&&"function"===typeof this._dialog.parentNode.focus&&this._dialog.parentNode.focus()},n.getFocusableChildren=function(){return this._element.querySelectorAll(At.join(", "))},n.getFocusedChild=function(){var e,t=this.getFocusableChildren();try{e=document.activeElement}catch(n){e=t[0]}return e},n.handleBackdropClick=function(e){if(e.target===this._mouseDownElement){e.stopPropagation();var t=this._dialog?this._dialog.parentNode:null;if(t&&e.target===t&&"static"===this.props.backdrop&&this.handleStaticBackdropAnimation(),!this.props.isOpen||!0!==this.props.backdrop)return;t&&e.target===t&&this.props.toggle&&this.props.toggle(e)}},n.handleTab=function(e){if(9===e.which&&!(this.modalIndex-1,m=new RegExp("\\D","g"),v="select"===r,g=c||(v||"textarea"===r?r:"input"),y="form-control";f?(y+="-plaintext",g=c||"input"):"range"===r?y="form-range":v?y="form-select":h&&(y=l?null:"form-check-input"),p.size&&m.test(p.size)&&(pt('Please use the prop "bsSize" instead of the "size" to bootstrap\'s input sizing.'),o=p.size,delete p.size);var b=ct(u()(t,s&&"is-invalid",a&&"is-valid",!!o&&(v?"form-select-"+o:"form-control-"+o),y),n);return("input"===g||c&&"function"===typeof c)&&(p.type="switch"===r?"checkbox":r),p.children&&!f&&"select"!==r&&"string"===typeof g&&"select"!==g&&(pt('Input with a type of "'+r+'" cannot have children. Please use "value"/"defaultValue" instead.'),delete p.children),i.a.createElement(g,Je({},p,{ref:d,className:b,"aria-invalid":s}))},t}(i.a.Component);ga.propTypes=va,ga.defaultProps={type:"text"};var ya=ga,ba=["className","cssModule","tag","type","size"],_a={tag:yt,type:a.a.bool,size:a.a.string,className:a.a.string,cssModule:a.a.object},wa=function(e){var t=e.className,n=e.cssModule,r=e.tag,o=e.size,a=nt(e,ba),s=ct(u()(t,"input-group",o?"input-group-"+o:null),n);return"dropdown"===e.type?i.a.createElement(Zn,Je({},a,{className:s})):i.a.createElement(r,Je({},a,{className:s}))};wa.propTypes=_a,wa.defaultProps={tag:"div"};var xa=wa,ka=["className","cssModule","tag"],Oa={tag:yt,className:a.a.string,cssModule:a.a.object},Ea=function(e){var t=e.className,n=e.cssModule,r=e.tag,o=nt(e,ka),a=ct(u()(t,"input-group-text"),n);return i.a.createElement(r,Je({},o,{className:a}))};Ea.propTypes=Oa,Ea.defaultProps={tag:"span"};var Ma=["className","cssModule","hidden","widths","tag","check","size","for"],Sa=a.a.oneOfType([a.a.number,a.a.string]),Ca=a.a.oneOfType([a.a.bool,a.a.string,a.a.number,a.a.shape({size:Sa,order:Sa,offset:Sa})]),Ta={children:a.a.node,hidden:a.a.bool,check:a.a.bool,size:a.a.string,for:a.a.string,tag:yt,className:a.a.string,cssModule:a.a.object,xs:Ca,sm:Ca,md:Ca,lg:Ca,xl:Ca,xxl:Ca,widths:a.a.array},Pa={tag:"label",widths:["xs","sm","md","lg","xl","xxl"]},ja=function(e,t,n){return!0===n||""===n?e?"col":"col-"+t:"auto"===n?e?"col-auto":"col-"+t+"-auto":e?"col-"+n:"col-"+t+"-"+n},Na=function(e){var t=e.className,n=e.cssModule,r=e.hidden,o=e.widths,a=e.tag,s=e.check,c=e.size,l=e.for,f=nt(e,Ma),d=[];o.forEach((function(t,r){var i=e[t];if(delete f[t],i||""===i){var o,a=!r;if(Ct(i)){var s,c=a?"-":"-"+t+"-";o=ja(a,t,i.size),d.push(ct(u()(((s={})[o]=i.size||""===i.size,s["order"+c+i.order]=i.order||0===i.order,s["offset"+c+i.offset]=i.offset||0===i.offset,s))),n)}else o=ja(a,t,i),d.push(o)}}));var p=ct(u()(t,!!r&&"visually-hidden",!!s&&"form-check-label",!!c&&"col-form-label-"+c,d,d.length?"col-form-label":"form-label"),n);return i.a.createElement(a,Je({htmlFor:l},f,{className:p}))};Na.propTypes=Ta,Na.defaultProps=Pa;var Da=["body","bottom","className","cssModule","heading","left","list","middle","object","right","tag","top"],La={body:a.a.bool,bottom:a.a.bool,children:a.a.node,className:a.a.string,cssModule:a.a.object,heading:a.a.bool,left:a.a.bool,list:a.a.bool,middle:a.a.bool,object:a.a.bool,right:a.a.bool,tag:yt,top:a.a.bool},Aa=function(e){var t,n=e.body,r=e.bottom,o=e.className,a=e.cssModule,s=e.heading,c=e.left,l=e.list,f=e.middle,d=e.object,p=e.right,h=e.tag,m=e.top,v=nt(e,Da);t=s?"h4":v.href?"a":v.src||d?"img":l?"ul":"div";var g=h||t,y=ct(u()(o,{"media-body":n,"media-heading":s,"media-left":c,"media-right":p,"media-top":m,"media-bottom":r,"media-middle":f,"media-object":d,"media-list":l,media:!n&&!s&&!c&&!p&&!m&&!r&&!f&&!d&&!l}),a);return i.a.createElement(g,Je({},v,{className:y}))};Aa.propTypes=La;function Ra(){}var Ia=a.a.shape(br.propTypes),za={autoFocus:a.a.bool,backdrop:a.a.bool,backdropClassName:a.a.string,backdropTransition:Ia,children:a.a.node,className:a.a.string,container:gt,cssModule:a.a.object,direction:a.a.oneOf(["start","end","bottom","top","left","right"]),fade:a.a.bool,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),isOpen:a.a.bool,keyboard:a.a.bool,labelledBy:a.a.string,offcanvasTransition:Ia,onClosed:a.a.func,onEnter:a.a.func,onExit:a.a.func,onOpened:a.a.func,returnFocusAfterClose:a.a.bool,role:a.a.string,scrollable:a.a.bool,toggle:a.a.func,trapFocus:a.a.bool,unmountOnClose:a.a.bool,zIndex:a.a.oneOfType([a.a.number,a.a.string])},Fa=Object.keys(za),Ba={isOpen:!1,autoFocus:!0,direction:"start",scrollable:!1,role:"dialog",backdrop:!0,keyboard:!0,zIndex:1050,fade:!0,onOpened:Ra,onClosed:Ra,offcanvasTransition:{timeout:bt.Offcanvas},backdropTransition:{mountOnEnter:!0,timeout:bt.Fade},unmountOnClose:!0,returnFocusAfterClose:!0,container:"body",trapFocus:!1},Ha=function(e){function t(t){var n;return(n=e.call(this,t)||this)._element=null,n._originalBodyPadding=null,n.getFocusableChildren=n.getFocusableChildren.bind(rt(n)),n.handleBackdropClick=n.handleBackdropClick.bind(rt(n)),n.handleBackdropMouseDown=n.handleBackdropMouseDown.bind(rt(n)),n.handleEscape=n.handleEscape.bind(rt(n)),n.handleTab=n.handleTab.bind(rt(n)),n.onOpened=n.onOpened.bind(rt(n)),n.onClosed=n.onClosed.bind(rt(n)),n.manageFocusAfterClose=n.manageFocusAfterClose.bind(rt(n)),n.clearBackdropAnimationTimeout=n.clearBackdropAnimationTimeout.bind(rt(n)),n.trapFocus=n.trapFocus.bind(rt(n)),n.state={isOpen:!1},n}et(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this.props,t=e.isOpen,n=e.autoFocus,r=e.onEnter;t&&(this.init(),this.setState({isOpen:!0}),n&&this.setFocus()),r&&r(),document.addEventListener("focus",this.trapFocus,!0),this._isMounted=!0},n.componentDidUpdate=function(e,t){if(this.props.isOpen&&!e.isOpen)return this.init(),void this.setState({isOpen:!0});this.props.autoFocus&&this.state.isOpen&&!t.isOpen&&this.setFocus(),this._element&&e.zIndex!==this.props.zIndex&&(this._element.style.zIndex=this.props.zIndex)},n.componentWillUnmount=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},n.trapFocus=function(e){if(this.props.trapFocus&&this._element&&this._dialog!==e.target&&!(this.offcanvasIndex0&&(e.preventDefault(),e.stopPropagation(),n[0].focus())}},n.onOpened=function(e,t){this.props.onOpened(),(this.props.offcanvasTransition.onEntered||Ra)(e,t)},n.onClosed=function(e){var t=this.props.unmountOnClose;this.props.onClosed(),(this.props.offcanvasTransition.onExited||Ra)(e),t&&this.destroy(),this.close(),this._isMounted&&this.setState({isOpen:!1})},n.setFocus=function(){this._dialog&&"function"===typeof this._dialog.focus&&this._dialog.focus()},n.getFocusableChildren=function(){return this._element.querySelectorAll(At.join(", "))},n.getFocusedChild=function(){var e,t=this.getFocusableChildren();try{e=document.activeElement}catch(n){e=t[0]}return e},n.handleBackdropClick=function(e){if(e.target===this._mouseDownElement){e.stopPropagation();var t=this._backdrop;if(!this.props.isOpen||!0!==this.props.backdrop)return;t&&e.target===t&&this.props.toggle&&this.props.toggle(e)}},n.handleTab=function(e){if(9===e.which&&!(this.offcanvasIndex1?"s":"")+" required, but only "+t.length+" present")}n.d(t,"a",(function(){return r}))},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function p(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0||!Array.isArray(t)&&t?c({},e,t):{}}function b(e){var t=e.forwardedRef,n=d(e,["forwardedRef"]),i=n.icon,o=n.mask,a=n.symbol,s=n.className,u=n.title,l=n.titleId,h=g(i),m=y("classes",[].concat(p(function(e){var t,n=e.spin,r=e.pulse,i=e.fixedWidth,o=e.inverse,a=e.border,s=e.listItem,u=e.flip,l=e.size,f=e.rotation,d=e.pull,p=(c(t={"fa-spin":n,"fa-pulse":r,"fa-fw":i,"fa-inverse":o,"fa-border":a,"fa-li":s,"fa-flip-horizontal":"horizontal"===u||"both"===u,"fa-flip-vertical":"vertical"===u||"both"===u},"fa-".concat(l),"undefined"!==typeof l&&null!==l),c(t,"fa-rotate-".concat(f),"undefined"!==typeof f&&null!==f&&0!==f),c(t,"fa-pull-".concat(d),"undefined"!==typeof d&&null!==d),c(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(p).map((function(e){return p[e]?e:null})).filter((function(e){return e}))}(n)),p(s.split(" ")))),w=y("transform","string"===typeof n.transform?r.b.transform(n.transform):n.transform),x=y("mask",g(o)),k=Object(r.a)(h,f({},m,{},w,{},x,{symbol:a,title:u,titleId:l}));if(!k)return function(){var e;!v&&console&&"function"===typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",h),null;var O=k.abstract,E={ref:t};return Object.keys(n).forEach((function(e){b.defaultProps.hasOwnProperty(e)||(E[e]=n[e])})),_(O[0],E)}b.displayName="FontAwesomeIcon",b.propTypes={border:o.a.bool,className:o.a.string,mask:o.a.oneOfType([o.a.object,o.a.array,o.a.string]),fixedWidth:o.a.bool,inverse:o.a.bool,flip:o.a.oneOf(["horizontal","vertical","both"]),icon:o.a.oneOfType([o.a.object,o.a.array,o.a.string]),listItem:o.a.bool,pull:o.a.oneOf(["right","left"]),pulse:o.a.bool,rotation:o.a.oneOf([0,90,180,270]),size:o.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:o.a.bool,symbol:o.a.oneOfType([o.a.bool,o.a.string]),title:o.a.string,transform:o.a.oneOfType([o.a.string,o.a.object]),swapOpacity:o.a.bool},b.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var _=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"===typeof n)return n;var i=(n.children||[]).map((function(n){return e(t,n)})),o=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=m(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[h(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,u=d(r,["style"]);return o.attrs.style=f({},o.attrs.style,{},s),t.apply(void 0,[n.tag,f({},o.attrs,{},u)].concat(p(i)))}.bind(null,s.a.createElement)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"i",(function(){return f})),n.d(t,"j",(function(){return d})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return h})),n.d(t,"m",(function(){return m})),n.d(t,"n",(function(){return v})),n.d(t,"o",(function(){return g})),n.d(t,"p",(function(){return y})),n.d(t,"q",(function(){return b})),n.d(t,"r",(function(){return _})),n.d(t,"s",(function(){return w})),n.d(t,"t",(function(){return x})),n.d(t,"u",(function(){return k})),n.d(t,"v",(function(){return O})),n.d(t,"w",(function(){return E})),n.d(t,"x",(function(){return M})),n.d(t,"y",(function(){return S})),n.d(t,"z",(function(){return C})),n.d(t,"A",(function(){return T})),n.d(t,"B",(function(){return P})),n.d(t,"C",(function(){return j})),n.d(t,"D",(function(){return N})),n.d(t,"E",(function(){return D})),n.d(t,"F",(function(){return L})),n.d(t,"G",(function(){return A})),n.d(t,"H",(function(){return R})),n.d(t,"I",(function(){return I})),n.d(t,"J",(function(){return z})),n.d(t,"K",(function(){return F})),n.d(t,"L",(function(){return B})),n.d(t,"M",(function(){return H})),n.d(t,"N",(function(){return U})),n.d(t,"O",(function(){return W})),n.d(t,"P",(function(){return V})),n.d(t,"Q",(function(){return Y})),n.d(t,"R",(function(){return q})),n.d(t,"S",(function(){return Z}));var r={prefix:"fas",iconName:"arrow-left",icon:[448,512,[],"f060","M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"]},i={prefix:"fas",iconName:"ban",icon:[512,512,[],"f05e","M256 8C119.034 8 8 119.033 8 256s111.034 248 248 248 248-111.034 248-248S392.967 8 256 8zm130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676zM125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676z"]},o={prefix:"fas",iconName:"bars",icon:[448,512,[],"f0c9","M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"]},a={prefix:"fas",iconName:"calendar-alt",icon:[448,512,[],"f073","M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z"]},s={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"]},u={prefix:"fas",iconName:"caret-up",icon:[320,512,[],"f0d8","M288.662 352H31.338c-17.818 0-26.741-21.543-14.142-34.142l128.662-128.662c7.81-7.81 20.474-7.81 28.284 0l128.662 128.662c12.6 12.599 3.676 34.142-14.142 34.142z"]},c={prefix:"fas",iconName:"chart-pie",icon:[544,512,[],"f200","M527.79 288H290.5l158.03 158.03c6.04 6.04 15.98 6.53 22.19.68 38.7-36.46 65.32-85.61 73.13-140.86 1.34-9.46-6.51-17.85-16.06-17.85zm-15.83-64.8C503.72 103.74 408.26 8.28 288.8.04 279.68-.59 272 7.1 272 16.24V240h223.77c9.14 0 16.82-7.68 16.19-16.8zM224 288V50.71c0-9.55-8.39-17.4-17.84-16.06C86.99 51.49-4.1 155.6.14 280.37 4.5 408.51 114.83 513.59 243.03 511.98c50.4-.63 96.97-16.87 135.26-44.03 7.9-5.6 8.42-17.23 1.57-24.08L224 288z"]},l={prefix:"fas",iconName:"check",icon:[512,512,[],"f00c","M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"]},f={prefix:"fas",iconName:"chevron-down",icon:[448,512,[],"f078","M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"]},d={prefix:"fas",iconName:"chevron-right",icon:[320,512,[],"f054","M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"]},p={prefix:"fas",iconName:"circle-notch",icon:[512,512,[],"f1ce","M288 39.056v16.659c0 10.804 7.281 20.159 17.686 23.066C383.204 100.434 440 171.518 440 256c0 101.689-82.295 184-184 184-101.689 0-184-82.295-184-184 0-84.47 56.786-155.564 134.312-177.219C216.719 75.874 224 66.517 224 55.712V39.064c0-15.709-14.834-27.153-30.046-23.234C86.603 43.482 7.394 141.206 8.003 257.332c.72 137.052 111.477 246.956 248.531 246.667C393.255 503.711 504 392.788 504 256c0-115.633-79.14-212.779-186.211-240.236C302.678 11.889 288 23.456 288 39.056z"]},h={prefix:"fas",iconName:"cogs",icon:[640,512,[],"f085","M512.1 191l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0L552 6.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zm-10.5-58.8c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.7-82.4 14.3-52.8 52.8zM386.3 286.1l33.7 16.8c10.1 5.8 14.5 18.1 10.5 29.1-8.9 24.2-26.4 46.4-42.6 65.8-7.4 8.9-20.2 11.1-30.3 5.3l-29.1-16.8c-16 13.7-34.6 24.6-54.9 31.7v33.6c0 11.6-8.3 21.6-19.7 23.6-24.6 4.2-50.4 4.4-75.9 0-11.5-2-20-11.9-20-23.6V418c-20.3-7.2-38.9-18-54.9-31.7L74 403c-10 5.8-22.9 3.6-30.3-5.3-16.2-19.4-33.3-41.6-42.2-65.7-4-10.9.4-23.2 10.5-29.1l33.3-16.8c-3.9-20.9-3.9-42.4 0-63.4L12 205.8c-10.1-5.8-14.6-18.1-10.5-29 8.9-24.2 26-46.4 42.2-65.8 7.4-8.9 20.2-11.1 30.3-5.3l29.1 16.8c16-13.7 34.6-24.6 54.9-31.7V57.1c0-11.5 8.2-21.5 19.6-23.5 24.6-4.2 50.5-4.4 76-.1 11.5 2 20 11.9 20 23.6v33.6c20.3 7.2 38.9 18 54.9 31.7l29.1-16.8c10-5.8 22.9-3.6 30.3 5.3 16.2 19.4 33.2 41.6 42.1 65.8 4 10.9.1 23.2-10 29.1l-33.7 16.8c3.9 21 3.9 42.5 0 63.5zm-117.6 21.1c59.2-77-28.7-164.9-105.7-105.7-59.2 77 28.7 164.9 105.7 105.7zm243.4 182.7l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0l8.2-14.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zM501.6 431c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.6-82.4 14.3-52.8 52.8z"]},m={prefix:"fas",iconName:"dot-circle",icon:[512,512,[],"f192","M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm80 248c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80z"]},v={prefix:"fas",iconName:"edit",icon:[576,512,[],"f044","M402.6 83.2l90.2 90.2c3.8 3.8 3.8 10 0 13.8L274.4 405.6l-92.8 10.3c-12.4 1.4-22.9-9.1-21.5-21.5l10.3-92.8L388.8 83.2c3.8-3.8 10-3.8 13.8 0zm162-22.9l-48.8-48.8c-15.2-15.2-39.9-15.2-55.2 0l-35.4 35.4c-3.8 3.8-3.8 10 0 13.8l90.2 90.2c3.8 3.8 10 3.8 13.8 0l35.4-35.4c15.2-15.3 15.2-40 0-55.2zM384 346.2V448H64V128h229.8c3.2 0 6.2-1.3 8.5-3.5l40-40c7.6-7.6 2.2-20.5-8.5-20.5H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V306.2c0-10.7-12.9-16-20.5-8.5l-40 40c-2.2 2.3-3.5 5.3-3.5 8.5z"]},g={prefix:"fas",iconName:"ellipsis-v",icon:[192,512,[],"f142","M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"]},y={prefix:"fas",iconName:"external-link-alt",icon:[512,512,[],"f35d","M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z"]},b={prefix:"fas",iconName:"eye",icon:[576,512,[],"f06e","M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"]},_={prefix:"fas",iconName:"file-download",icon:[384,512,[],"f56d","M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm76.45 211.36l-96.42 95.7c-6.65 6.61-17.39 6.61-24.04 0l-96.42-95.7C73.42 337.29 80.54 320 94.82 320H160v-80c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v80h65.18c14.28 0 21.4 17.29 11.27 27.36zM377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"]},w={prefix:"fas",iconName:"file-upload",icon:[384,512,[],"f574","M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm65.18 216.01H224v80c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16v-80H94.82c-14.28 0-21.41-17.29-11.27-27.36l96.42-95.7c6.65-6.61 17.39-6.61 24.04 0l96.42 95.7c10.15 10.07 3.03 27.36-11.25 27.36zM377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"]},x={prefix:"fas",iconName:"globe",icon:[496,512,[],"f0ac","M336.5 160C322 70.7 287.8 8 248 8s-74 62.7-88.5 152h177zM152 256c0 22.2 1.2 43.5 3.3 64h185.3c2.1-20.5 3.3-41.8 3.3-64s-1.2-43.5-3.3-64H155.3c-2.1 20.5-3.3 41.8-3.3 64zm324.7-96c-28.6-67.9-86.5-120.4-158-141.6 24.4 33.8 41.2 84.7 50 141.6h108zM177.2 18.4C105.8 39.6 47.8 92.1 19.3 160h108c8.7-56.9 25.5-107.8 49.9-141.6zM487.4 192H372.7c2.1 21 3.3 42.5 3.3 64s-1.2 43-3.3 64h114.6c5.5-20.5 8.6-41.8 8.6-64s-3.1-43.5-8.5-64zM120 256c0-21.5 1.2-43 3.3-64H8.6C3.2 212.5 0 233.8 0 256s3.2 43.5 8.6 64h114.6c-2-21-3.2-42.5-3.2-64zm39.5 96c14.5 89.3 48.7 152 88.5 152s74-62.7 88.5-152h-177zm159.3 141.6c71.4-21.2 129.4-73.7 158-141.6h-108c-8.8 56.9-25.6 107.8-50 141.6zM19.3 352c28.6 67.9 86.5 120.4 158 141.6-24.4-33.8-41.2-84.7-50-141.6h-108z"]},k={prefix:"fas",iconName:"home",icon:[576,512,[],"f015","M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16l112.06-.29a16 16 0 0 0 15.92-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.64a16 16 0 0 0 16 16.05L464 480a16 16 0 0 0 16-16V300L295.67 148.26a12.19 12.19 0 0 0-15.3 0zM571.6 251.47L488 182.56V44.05a12 12 0 0 0-12-12h-56a12 12 0 0 0-12 12v72.61L318.47 43a48 48 0 0 0-61 0L4.34 251.47a12 12 0 0 0-1.6 16.9l25.5 31A12 12 0 0 0 45.15 301l235.22-193.74a12.19 12.19 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0-1.7-16.93z"]},O={prefix:"fas",iconName:"info-circle",icon:[512,512,[],"f05a","M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"]},E={prefix:"fas",iconName:"link",icon:[512,512,[],"f0c1","M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"]},M={prefix:"fas",iconName:"list",icon:[512,512,[],"f03a","M80 368H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm0-320H16A16 16 0 0 0 0 64v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16zm0 160H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm416 176H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"]},S={prefix:"fas",iconName:"map-marked-alt",icon:[576,512,[],"f5a0","M288 0c-69.59 0-126 56.41-126 126 0 56.26 82.35 158.8 113.9 196.02 6.39 7.54 17.82 7.54 24.2 0C331.65 284.8 414 182.26 414 126 414 56.41 357.59 0 288 0zm0 168c-23.2 0-42-18.8-42-42s18.8-42 42-42 42 18.8 42 42-18.8 42-42 42zM20.12 215.95A32.006 32.006 0 0 0 0 245.66v250.32c0 11.32 11.43 19.06 21.94 14.86L160 448V214.92c-8.84-15.98-16.07-31.54-21.25-46.42L20.12 215.95zM288 359.67c-14.07 0-27.38-6.18-36.51-16.96-19.66-23.2-40.57-49.62-59.49-76.72v182l192 64V266c-18.92 27.09-39.82 53.52-59.49 76.72-9.13 10.77-22.44 16.95-36.51 16.95zm266.06-198.51L416 224v288l139.88-55.95A31.996 31.996 0 0 0 576 426.34V176.02c0-11.32-11.43-19.06-21.94-14.86z"]},C={prefix:"fas",iconName:"minus-circle",icon:[512,512,[],"f056","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zM124 296c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h264c6.6 0 12 5.4 12 12v56c0 6.6-5.4 12-12 12H124z"]},T={prefix:"fas",iconName:"moon",icon:[512,512,[],"f186","M283.211 512c78.962 0 151.079-35.925 198.857-94.792 7.068-8.708-.639-21.43-11.562-19.35-124.203 23.654-238.262-71.576-238.262-196.954 0-72.222 38.662-138.635 101.498-174.394 9.686-5.512 7.25-20.197-3.756-22.23A258.156 258.156 0 0 0 283.211 0c-141.309 0-256 114.511-256 256 0 141.309 114.511 256 256 256z"]},P={prefix:"fas",iconName:"palette",icon:[512,512,[],"f53f","M204.3 5C104.9 24.4 24.8 104.3 5.2 203.4c-37 187 131.7 326.4 258.8 306.7 41.2-6.4 61.4-54.6 42.5-91.7-23.1-45.4 9.9-98.4 60.9-98.4h79.7c35.8 0 64.8-29.6 64.9-65.3C511.5 97.1 368.1-26.9 204.3 5zM96 320c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm32-128c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128-64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"]},j={prefix:"fas",iconName:"pen",icon:[512,512,[],"f304","M290.74 93.24l128.02 128.02-277.99 277.99-114.14 12.6C11.35 513.54-1.56 500.62.14 485.34l12.7-114.22 277.9-277.88zm207.2-19.06l-60.11-60.11c-18.75-18.75-49.16-18.75-67.91 0l-56.55 56.55 128.02 128.02 56.55-56.55c18.75-18.76 18.75-49.16 0-67.91z"]},N={prefix:"fas",iconName:"pencil-alt",icon:[512,512,[],"f303","M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3 0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9 0l60.1 60.1c18.8 18.7 18.8 49.1 0 67.9zM284.2 99.8L21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3 0-17l-111-111c-4.8-4.7-12.4-4.7-17.1 0zM124.1 339.9c-5.5-5.5-5.5-14.3 0-19.8l154-154c5.5-5.5 14.3-5.5 19.8 0s5.5 14.3 0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8 0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z"]},D={prefix:"fas",iconName:"plug",icon:[384,512,[],"f1e6","M320,32a32,32,0,0,0-64,0v96h64Zm48,128H16A16,16,0,0,0,0,176v32a16,16,0,0,0,16,16H32v32A160.07,160.07,0,0,0,160,412.8V512h64V412.8A160.07,160.07,0,0,0,352,256V224h16a16,16,0,0,0,16-16V176A16,16,0,0,0,368,160ZM128,32a32,32,0,0,0-64,0v96h64Z"]},L={prefix:"fas",iconName:"plus",icon:[448,512,[],"f067","M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"]},A={prefix:"fas",iconName:"qrcode",icon:[448,512,[],"f029","M0 224h192V32H0v192zM64 96h64v64H64V96zm192-64v192h192V32H256zm128 128h-64V96h64v64zM0 480h192V288H0v192zm64-128h64v64H64v-64zm352-64h32v128h-96v-32h-32v96h-64V288h96v32h64v-32zm0 160h32v32h-32v-32zm-64 0h32v32h-32v-32z"]},R={prefix:"fas",iconName:"robot",icon:[640,512,[],"f544","M32,224H64V416H32A31.96166,31.96166,0,0,1,0,384V256A31.96166,31.96166,0,0,1,32,224Zm512-48V448a64.06328,64.06328,0,0,1-64,64H160a64.06328,64.06328,0,0,1-64-64V176a79.974,79.974,0,0,1,80-80H288V32a32,32,0,0,1,64,0V96H464A79.974,79.974,0,0,1,544,176ZM264,256a40,40,0,1,0-40,40A39.997,39.997,0,0,0,264,256Zm-8,128H192v32h64Zm96,0H288v32h64ZM456,256a40,40,0,1,0-40,40A39.997,39.997,0,0,0,456,256Zm-8,128H384v32h64ZM640,256V384a31.96166,31.96166,0,0,1-32,32H576V224h32A31.96166,31.96166,0,0,1,640,256Z"]},I={prefix:"fas",iconName:"search",icon:[512,512,[],"f002","M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"]},z={prefix:"fas",iconName:"server",icon:[512,512,[],"f233","M480 160H32c-17.673 0-32-14.327-32-32V64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm112 248H32c-17.673 0-32-14.327-32-32v-64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm112 248H32c-17.673 0-32-14.327-32-32v-64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24z"]},F={prefix:"fas",iconName:"sort-amount-down",icon:[512,512,[],"f160","M304 416h-64a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm-128-64h-48V48a16 16 0 0 0-16-16H80a16 16 0 0 0-16 16v304H16c-14.19 0-21.37 17.24-11.29 27.31l80 96a16 16 0 0 0 22.62 0l80-96C197.35 369.26 190.22 352 176 352zm256-192H240a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h192a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm-64 128H240a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM496 32H240a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h256a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z"]},B={prefix:"fas",iconName:"sort-amount-up",icon:[512,512,[],"f161","M304 416h-64a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM16 160h48v304a16 16 0 0 0 16 16h32a16 16 0 0 0 16-16V160h48c14.21 0 21.38-17.24 11.31-27.31l-80-96a16 16 0 0 0-22.62 0l-80 96C-5.35 142.74 1.77 160 16 160zm416 0H240a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h192a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm-64 128H240a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM496 32H240a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h256a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z"]},H={prefix:"fas",iconName:"sun",icon:[512,512,[],"f185","M256 160c-52.9 0-96 43.1-96 96s43.1 96 96 96 96-43.1 96-96-43.1-96-96-96zm246.4 80.5l-94.7-47.3 33.5-100.4c4.5-13.6-8.4-26.5-21.9-21.9l-100.4 33.5-47.4-94.8c-6.4-12.8-24.6-12.8-31 0l-47.3 94.7L92.7 70.8c-13.6-4.5-26.5 8.4-21.9 21.9l33.5 100.4-94.7 47.4c-12.8 6.4-12.8 24.6 0 31l94.7 47.3-33.5 100.5c-4.5 13.6 8.4 26.5 21.9 21.9l100.4-33.5 47.3 94.7c6.4 12.8 24.6 12.8 31 0l47.3-94.7 100.4 33.5c13.6 4.5 26.5-8.4 21.9-21.9l-33.5-100.4 94.7-47.3c13-6.5 13-24.7.2-31.1zm-155.9 106c-49.9 49.9-131.1 49.9-181 0-49.9-49.9-49.9-131.1 0-181 49.9-49.9 131.1-49.9 181 0 49.9 49.9 49.9 131.1 0 181z"]},U={prefix:"fas",iconName:"sync-alt",icon:[512,512,[],"f2f1","M370.72 133.28C339.458 104.008 298.888 87.962 255.848 88c-77.458.068-144.328 53.178-162.791 126.85-1.344 5.363-6.122 9.15-11.651 9.15H24.103c-7.498 0-13.194-6.807-11.807-14.176C33.933 94.924 134.813 8 256 8c66.448 0 126.791 26.136 171.315 68.685L463.03 40.97C478.149 25.851 504 36.559 504 57.941V192c0 13.255-10.745 24-24 24H345.941c-21.382 0-32.09-25.851-16.971-40.971l41.75-41.749zM32 296h134.059c21.382 0 32.09 25.851 16.971 40.971l-41.75 41.75c31.262 29.273 71.835 45.319 114.876 45.28 77.418-.07 144.315-53.144 162.787-126.849 1.344-5.363 6.122-9.15 11.651-9.15h57.304c7.498 0 13.194 6.807 11.807 14.176C478.067 417.076 377.187 504 256 504c-66.448 0-126.791-26.136-171.315-68.685L48.97 471.03C33.851 486.149 8 475.441 8 454.059V320c0-13.255 10.745-24 24-24z"]},W={prefix:"fas",iconName:"tags",icon:[640,512,[],"f02c","M497.941 225.941L286.059 14.059A48 48 0 0 0 252.118 0H48C21.49 0 0 21.49 0 48v204.118a48 48 0 0 0 14.059 33.941l211.882 211.882c18.744 18.745 49.136 18.746 67.882 0l204.118-204.118c18.745-18.745 18.745-49.137 0-67.882zM112 160c-26.51 0-48-21.49-48-48s21.49-48 48-48 48 21.49 48 48-21.49 48-48 48zm513.941 133.823L421.823 497.941c-18.745 18.745-49.137 18.745-67.882 0l-.36-.36L527.64 323.522c16.999-16.999 26.36-39.6 26.36-63.64s-9.362-46.641-26.36-63.64L331.397 0h48.721a48 48 0 0 1 33.941 14.059l211.882 211.882c18.745 18.745 18.745 49.137 0 67.882z"]},V={prefix:"fas",iconName:"th-large",icon:[512,512,[],"f009","M296 32h192c13.255 0 24 10.745 24 24v160c0 13.255-10.745 24-24 24H296c-13.255 0-24-10.745-24-24V56c0-13.255 10.745-24 24-24zm-80 0H24C10.745 32 0 42.745 0 56v160c0 13.255 10.745 24 24 24h192c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24zM0 296v160c0 13.255 10.745 24 24 24h192c13.255 0 24-10.745 24-24V296c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24zm296 184h192c13.255 0 24-10.745 24-24V296c0-13.255-10.745-24-24-24H296c-13.255 0-24 10.745-24 24v160c0 13.255 10.745 24 24 24z"]},Y={prefix:"fas",iconName:"times",icon:[352,512,[],"f00d","M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"]},q={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16zM53.2 467a48 48 0 0 0 47.9 45h245.8a48 48 0 0 0 47.9-45L416 128H32z"]},Z={prefix:"fas",iconName:"undo",icon:[512,512,[],"f0e2","M212.333 224.333H12c-6.627 0-12-5.373-12-12V12C0 5.373 5.373 0 12 0h48c6.627 0 12 5.373 12 12v78.112C117.773 39.279 184.26 7.47 258.175 8.007c136.906.994 246.448 111.623 246.157 248.532C504.041 393.258 393.12 504 256.333 504c-64.089 0-122.496-24.313-166.51-64.215-5.099-4.622-5.334-12.554-.467-17.42l33.967-33.967c4.474-4.474 11.662-4.717 16.401-.525C170.76 415.336 211.58 432 256.333 432c97.268 0 176-78.716 176-176 0-97.267-78.716-176-176-176-58.496 0-110.28 28.476-142.274 72.333h98.274c6.627 0 12 5.373 12 12v48c0 6.627-5.373 12-12 12z"]}},function(e,t,n){"use strict";function r(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void n(c)}s.done?t(u):Promise.resolve(u).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,u,"next",e)}function u(e){r(a,i,o,s,u,"throw",e)}s(void 0)}))}}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,"a",(function(){return r}))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return p}));n(30);var r=n(8),i=n(2),o=n(46),a=n(23);function s(){return(s=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}var c=["onClick","reloadDocument","replace","state","target","to"],l=["aria-current","caseSensitive","className","end","style","to","children"];function f(e){var t=e.basename,n=e.children,s=e.window,u=Object(i.useRef)();null==u.current&&(u.current=Object(o.b)({window:s}));var c=u.current,l=Object(i.useState)({action:c.action,location:c.location}),f=Object(r.a)(l,2),d=f[0],p=f[1];return Object(i.useLayoutEffect)((function(){return c.listen(p)}),[c]),Object(i.createElement)(a.c,{basename:t,children:n,location:d.location,navigationType:d.action,navigator:c})}var d=Object(i.forwardRef)((function(e,t){var n=e.onClick,r=e.reloadDocument,l=e.replace,f=void 0!==l&&l,d=e.state,p=e.target,h=e.to,m=u(e,c),v=Object(a.e)(h),g=function(e,t){var n=void 0===t?{}:t,r=n.target,s=n.replace,u=n.state,c=Object(a.g)(),l=Object(a.f)(),f=Object(a.i)(e);return Object(i.useCallback)((function(t){if(0===t.button&&(!r||"_self"===r)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(t)){t.preventDefault();var n=!!s||Object(o.e)(l)===Object(o.e)(f);c(e,{replace:n,state:u})}}),[l,c,f,s,u,r,e])}(h,{replace:f,state:d,target:p});return Object(i.createElement)("a",s({},m,{href:v,onClick:function(e){n&&n(e),e.defaultPrevented||r||g(e)},ref:t,target:p}))}));var p=Object(i.forwardRef)((function(e,t){var n=e["aria-current"],r=void 0===n?"page":n,o=e.caseSensitive,c=void 0!==o&&o,f=e.className,p=void 0===f?"":f,h=e.end,m=void 0!==h&&h,v=e.style,g=e.to,y=e.children,b=u(e,l),_=Object(a.f)(),w=Object(a.i)(g),x=_.pathname,k=w.pathname;c||(x=x.toLowerCase(),k=k.toLowerCase());var O,E=x===k||!m&&x.startsWith(k)&&"/"===x.charAt(k.length),M=E?r:void 0;O="function"===typeof p?p({isActive:E}):[p,E?"active":null].filter(Boolean).join(" ");var S="function"===typeof v?v({isActive:E}):v;return Object(i.createElement)(d,s({},b,{"aria-current":M,className:O,ref:t,style:S,to:g}),"function"===typeof y?y({isActive:E}):y)}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(19),i=n(32);function o(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return Object(i.a)(n)?t:Object(r.a)((function(t){return e(n,t)}));default:return Object(i.a)(n)&&Object(i.a)(o)?t:Object(i.a)(n)?Object(r.a)((function(t){return e(t,o)})):Object(i.a)(o)?Object(r.a)((function(t){return e(n,t)})):e(n,o)}}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(32);function i(e){return function t(n){return 0===arguments.length||Object(r.a)(n)?t:e.apply(this,arguments)}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(105);var i=n(135),o=n(65);function a(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||Object(i.a)(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";function r(e,t){for(var n=0;n0&&(!0===e.index&&a(!1),k(e.children,t,u,s)),(null!=e.path||e.index)&&t.push({path:s,score:M(s,e.index),routesMeta:u})})),t}var O=/^:\w+$/,E=function(e){return"*"===e};function M(e,t){var n=e.split("/"),r=n.length;return n.some(E)&&(r+=-2),t&&(r+=2),n.filter((function(e){return!E(e)})).reduce((function(e,t){return e+(O.test(t)?3:""===t?1:10)}),r)}function S(e,t){for(var n=e.routesMeta,r={},i="/",o=[],a=0;a=0?t[s]:"/"}var c=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?Object(o.f)(e):e,r=n.pathname,i=n.search,a=void 0===i?"":i,s=n.hash,u=void 0===s?"":s;return{pathname:r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t,search:L(a),hash:A(u)}}(i,r);return a&&"/"!==a&&a.endsWith("/")&&!c.pathname.endsWith("/")&&(c.pathname+="/"),c}function j(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=e.charAt(t.length);return n&&"/"!==n?null:e.slice(t.length)||"/"}var N=function(e){return e.join("/").replace(/\/\/+/g,"/")},D=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},L=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},A=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},,function(e,t,n){"use strict";function r(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(65);function i(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=Object(r.a)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}},,function(e,t,n){"use strict";function r(e){return null!=e&&"object"===typeof e&&!0===e["@@functional/placeholder"]}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(39);var i=n(232),o=n(78);function a(e,t){return!t||"object"!==Object(i.a)(t)&&"function"!==typeof t?Object(o.a)(e):t}function s(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=Object(r.a)(e);if(t){var o=Object(r.a)(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return a(this,n)}}},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){if("function"!==typeof t&&null!==t)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}}),t&&r(e,t)}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(t,e)}n.d(t,"a",(function(){return r}))},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),i=n.n(r),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;)t=s[n],Object(i.a)(t,e)&&!c(r,t)&&(r[r.length]=t),n-=1;return r})):Object(r.a)((function(e){return Object(e)!==e?[]:Object.keys(e)}));t.a=l},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s}));var r=n(2),i=1,o=Object(r.createContext)(null),a=o.Provider;function s(){var e=Object(r.useContext)(o);if(null==e)throw new Error("No context provided: useLeafletContext() can only be used in a descendant of ");return e}},function(e,t,n){!function(e){"use strict";var t="1.7.1";function n(e){var t,n,r,i;for(n=1,r=arguments.length;n0?Math.floor(e):Math.ceil(e)};function A(e,t,n){return e instanceof N?e:g(e)?new N(e[0],e[1]):void 0===e||null===e?e:"object"===typeof e&&"x"in e&&"y"in e?new N(e.x,e.y):new N(e,t,n)}function R(e,t){if(e)for(var n=t?[e,t]:e,r=0,i=n.length;r=this.min.x&&n.x<=this.max.x&&t.y>=this.min.y&&n.y<=this.max.y},intersects:function(e){e=I(e);var t=this.min,n=this.max,r=e.min,i=e.max,o=i.x>=t.x&&r.x<=n.x,a=i.y>=t.y&&r.y<=n.y;return o&&a},overlaps:function(e){e=I(e);var t=this.min,n=this.max,r=e.min,i=e.max,o=i.x>t.x&&r.xt.y&&r.y=r.lat&&n.lat<=i.lat&&t.lng>=r.lng&&n.lng<=i.lng},intersects:function(e){e=F(e);var t=this._southWest,n=this._northEast,r=e.getSouthWest(),i=e.getNorthEast(),o=i.lat>=t.lat&&r.lat<=n.lat,a=i.lng>=t.lng&&r.lng<=n.lng;return o&&a},overlaps:function(e){e=F(e);var t=this._southWest,n=this._northEast,r=e.getSouthWest(),i=e.getNorthEast(),o=i.lat>t.lat&&r.latt.lng&&r.lng1,Se=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveEventSupport",c,t),window.removeEventListener("testPassiveEventSupport",c,t)}catch(n){}return e}(),Ce=!!document.createElement("canvas").getContext,Te=!(!document.createElementNS||!X("svg").createSVGRect),Pe=!Te&&function(){try{var e=document.createElement("div");e.innerHTML='';var t=e.firstChild;return t.style.behavior="url(#default#VML)",t&&"object"===typeof t.adj}catch(n){return!1}}();function je(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}var Ne={ie:J,ielt9:ee,edge:te,webkit:ne,android:re,android23:ie,androidStock:ae,opera:se,chrome:ue,gecko:ce,safari:le,phantom:fe,opera12:de,win:pe,ie3d:he,webkit3d:me,gecko3d:ve,any3d:ge,mobile:ye,mobileWebkit:be,mobileWebkit3d:_e,msPointer:we,pointer:xe,touch:ke,mobileOpera:Oe,mobileGecko:Ee,retina:Me,passiveEvents:Se,canvas:Ce,svg:Te,vml:Pe},De=we?"MSPointerDown":"pointerdown",Le=we?"MSPointerMove":"pointermove",Ae=we?"MSPointerUp":"pointerup",Re=we?"MSPointerCancel":"pointercancel",Ie={},ze=!1;function Fe(e,t,n,r){return"touchstart"===t?He(e,n,r):"touchmove"===t?qe(e,n,r):"touchend"===t&&Ze(e,n,r),this}function Be(e,t,n){var r=e["_leaflet_"+t+n];return"touchstart"===t?e.removeEventListener(De,r,!1):"touchmove"===t?e.removeEventListener(Le,r,!1):"touchend"===t&&(e.removeEventListener(Ae,r,!1),e.removeEventListener(Re,r,!1)),this}function He(e,t,n){var r=i((function(e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&Wt(e),Ye(e,t)}));e["_leaflet_touchstart"+n]=r,e.addEventListener(De,r,!1),ze||(document.addEventListener(De,Ue,!0),document.addEventListener(Le,We,!0),document.addEventListener(Ae,Ve,!0),document.addEventListener(Re,Ve,!0),ze=!0)}function Ue(e){Ie[e.pointerId]=e}function We(e){Ie[e.pointerId]&&(Ie[e.pointerId]=e)}function Ve(e){delete Ie[e.pointerId]}function Ye(e,t){for(var n in e.touches=[],Ie)e.touches.push(Ie[n]);e.changedTouches=[e],t(e)}function qe(e,t,n){var r=function(e){e.pointerType===(e.MSPOINTER_TYPE_MOUSE||"mouse")&&0===e.buttons||Ye(e,t)};e["_leaflet_touchmove"+n]=r,e.addEventListener(Le,r,!1)}function Ze(e,t,n){var r=function(e){Ye(e,t)};e["_leaflet_touchend"+n]=r,e.addEventListener(Ae,r,!1),e.addEventListener(Re,r,!1)}var Ke=we?"MSPointerDown":xe?"pointerdown":"touchstart",Qe=we?"MSPointerUp":xe?"pointerup":"touchend",Xe="_leaflet_";function $e(e,t,n){var r,i,o=!1,a=250;function s(e){if(xe){if(!e.isPrimary)return;if("mouse"===e.pointerType)return}else if(e.touches.length>1)return;var t=Date.now(),n=t-(r||t);i=e.touches?e.touches[0]:e,o=n>0&&n<=a,r=t}function u(e){if(o&&!i.cancelBubble){if(xe){if("mouse"===e.pointerType)return;var n,a,s={};for(a in i)n=i[a],s[a]=n&&n.bind?n.bind(i):n;i=s}i.type="dblclick",i.button=0,t(i),r=null}}return e[Xe+Ke+n]=s,e[Xe+Qe+n]=u,e[Xe+"dblclick"+n]=t,e.addEventListener(Ke,s,!!Se&&{passive:!1}),e.addEventListener(Qe,u,!!Se&&{passive:!1}),e.addEventListener("dblclick",t,!1),this}function Ge(e,t){var n=e[Xe+Ke+t],r=e[Xe+Qe+t],i=e[Xe+"dblclick"+t];return e.removeEventListener(Ke,n,!!Se&&{passive:!1}),e.removeEventListener(Qe,r,!!Se&&{passive:!1}),e.removeEventListener("dblclick",i,!1),this}var Je,et,tt,nt,rt,it=wt(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ot=wt(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),at="webkitTransition"===ot||"OTransition"===ot?ot+"End":"transitionend";function st(e){return"string"===typeof e?document.getElementById(e):e}function ut(e,t){var n=e.style[t]||e.currentStyle&&e.currentStyle[t];if((!n||"auto"===n)&&document.defaultView){var r=document.defaultView.getComputedStyle(e,null);n=r?r[t]:null}return"auto"===n?null:n}function ct(e,t,n){var r=document.createElement(e);return r.className=t||"",n&&n.appendChild(r),r}function lt(e){var t=e.parentNode;t&&t.removeChild(e)}function ft(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function dt(e){var t=e.parentNode;t&&t.lastChild!==e&&t.appendChild(e)}function pt(e){var t=e.parentNode;t&&t.firstChild!==e&&t.insertBefore(e,t.firstChild)}function ht(e,t){if(void 0!==e.classList)return e.classList.contains(t);var n=yt(e);return n.length>0&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(n)}function mt(e,t){if(void 0!==e.classList)for(var n=d(t),r=0,i=n.length;rthis.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var n=this.getCenter(),r=this._limitCenter(n,this._zoom,F(e));return n.equals(r)||this.panTo(r,t),this._enforcingBounds=!1,this},panInside:function(e,t){var n=A((t=t||{}).paddingTopLeft||t.padding||[0,0]),r=A(t.paddingBottomRight||t.padding||[0,0]),i=this.getCenter(),o=this.project(i),a=this.project(e),s=this.getPixelBounds(),u=s.getSize().divideBy(2),c=I([s.min.add(n),s.max.subtract(r)]);if(!c.contains(a)){this._enforcingBounds=!0;var l=o.subtract(a),f=A(a.x+l.x,a.y+l.y);(a.xc.max.x)&&(f.x=o.x-l.x,l.x>0?f.x+=u.x-n.x:f.x-=u.x-r.x),(a.yc.max.y)&&(f.y=o.y-l.y,l.y>0?f.y+=u.y-n.y:f.y-=u.y-r.y),this.panTo(this.unproject(f),t),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=n({animate:!1,pan:!0},!0===e?{animate:!0}:e);var t=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var r=this.getSize(),o=t.divideBy(2).round(),a=r.divideBy(2).round(),s=o.subtract(a);return s.x||s.y?(e.animate&&e.pan?this.panBy(s):(e.pan&&this._rawPanBy(s),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:t,newSize:r})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){if(e=this._locateOptions=n({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var t=i(this._handleGeolocationResponse,this),r=i(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(t,r,e):navigator.geolocation.getCurrentPosition(t,r,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){var t=e.code,n=e.message||(1===t?"permission denied":2===t?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:t,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(e){var t=new B(e.coords.latitude,e.coords.longitude),n=t.toBounds(2*e.coords.accuracy),r=this._locateOptions;if(r.setView){var i=this.getBoundsZoom(n);this.setView(t,r.maxZoom?Math.min(i,r.maxZoom):i)}var o={latlng:t,bounds:n,timestamp:e.timestamp};for(var a in e.coords)"number"===typeof e.coords[a]&&(o[a]=e.coords[a]);this.fire("locationfound",o)},addHandler:function(e,t){if(!t)return this;var n=this[e]=new t(this);return this._handlers.push(n),this.options[e]&&n.enable(),this},remove:function(){if(this._initEvents(!0),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(t){this._container._leaflet_id=void 0,this._containerId=void 0}var e;for(e in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),lt(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(M(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[e].remove();for(e in this._panes)lt(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,t){var n=ct("div","leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),t||this._mapPane);return e&&(this._panes[e]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds();return new z(this.unproject(e.getBottomLeft()),this.unproject(e.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(e,t,n){e=F(e),n=A(n||[0,0]);var r=this.getZoom()||0,i=this.getMinZoom(),o=this.getMaxZoom(),a=e.getNorthWest(),s=e.getSouthEast(),u=this.getSize().subtract(n),c=I(this.project(s,r),this.project(a,r)).getSize(),l=ge?this.options.zoomSnap:1,f=u.x/c.x,d=u.y/c.y,p=t?Math.max(f,d):Math.min(f,d);return r=this.getScaleZoom(p,r),l&&(r=Math.round(r/(l/100))*(l/100),r=t?Math.ceil(r/l)*l:Math.floor(r/l)*l),Math.max(i,Math.min(o,r))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new N(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,t){var n=this._getTopLeftPoint(e,t);return new R(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(void 0===e?this.getZoom():e)},getPane:function(e){return"string"===typeof e?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,t){var n=this.options.crs;return t=void 0===t?this._zoom:t,n.scale(e)/n.scale(t)},getScaleZoom:function(e,t){var n=this.options.crs;t=void 0===t?this._zoom:t;var r=n.zoom(e*n.scale(t));return isNaN(r)?1/0:r},project:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.latLngToPoint(H(e),t)},unproject:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.pointToLatLng(A(e),t)},layerPointToLatLng:function(e){var t=A(e).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(e){return this.project(H(e))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(H(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(F(e))},distance:function(e,t){return this.options.crs.distance(H(e),H(t))},containerPointToLayerPoint:function(e){return A(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return A(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var t=this.containerPointToLayerPoint(A(e));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(H(e)))},mouseEventToContainerPoint:function(e){return Yt(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var t=this._container=st(e);if(!t)throw new Error("Map container not found.");if(t._leaflet_id)throw new Error("Map container is already initialized.");Dt(t,"scroll",this._onScroll,this),this._containerId=a(t)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&ge,mt(e,"leaflet-container"+(ke?" leaflet-touch":"")+(Me?" leaflet-retina":"")+(ee?" leaflet-oldie":"")+(le?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var t=ut(e,"position");"absolute"!==t&&"relative"!==t&&"fixed"!==t&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),kt(this._mapPane,new N(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(mt(e.markerPane,"leaflet-zoom-hide"),mt(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,t){kt(this._mapPane,new N(0,0));var n=!this._loaded;this._loaded=!0,t=this._limitZoom(t),this.fire("viewprereset");var r=this._zoom!==t;this._moveStart(r,!1)._move(e,t)._moveEnd(r),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(e,t){return e&&this.fire("zoomstart"),t||this.fire("movestart"),this},_move:function(e,t,n){void 0===t&&(t=this._zoom);var r=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),(r||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return M(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){kt(this._mapPane,this._getMapPanePos().subtract(e))},_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(e){this._targets={},this._targets[a(this._container)]=this;var t=e?At:Dt;t(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&t(window,"resize",this._onResize,this),ge&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){M(this._resizeRequest),this._resizeRequest=E((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,t){for(var n,r=[],i="mouseout"===t||"mouseover"===t,o=e.target||e.srcElement,s=!1;o;){if((n=this._targets[a(o)])&&("click"===t||"preclick"===t)&&!e._simulated&&this._draggableMoved(n)){s=!0;break}if(n&&n.listens(t,!0)){if(i&&!$t(o,e))break;if(r.push(n),i)break}if(o===this._container)break;o=o.parentNode}return r.length||s||i||!$t(o,e)||(r=[this]),r},_handleDOMEvent:function(e){if(this._loaded&&!Xt(e)){var t=e.type;"mousedown"!==t&&"keypress"!==t&&"keyup"!==t&&"keydown"!==t||Ct(e.target||e.srcElement),this._fireDOMEvent(e,t)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,t,r){if("click"===e.type){var i=n({},e);i.type="preclick",this._fireDOMEvent(i,i.type,r)}if(!e._stopped&&(r=(r||[]).concat(this._findEventTargets(e,t))).length){var o=r[0];"contextmenu"===t&&o.listens(t,!0)&&Wt(e);var a={originalEvent:e};if("keypress"!==e.type&&"keydown"!==e.type&&"keyup"!==e.type){var s=o.getLatLng&&(!o._radius||o._radius<=10);a.containerPoint=s?this.latLngToContainerPoint(o.getLatLng()):this.mouseEventToContainerPoint(e),a.layerPoint=this.containerPointToLayerPoint(a.containerPoint),a.latlng=s?o.getLatLng():this.layerPointToLatLng(a.layerPoint)}for(var u=0;u0?Math.round(e-t)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(t))},_limitZoom:function(e){var t=this.getMinZoom(),n=this.getMaxZoom(),r=ge?this.options.zoomSnap:1;return r&&(e=Math.round(e/r)*r),Math.max(t,Math.min(n,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){vt(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,t){var n=this._getCenterOffset(e)._trunc();return!(!0!==(t&&t.animate)&&!this.getSize().contains(n))&&(this.panBy(n,t),!0)},_createAnimProxy:function(){var e=this._proxy=ct("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",(function(e){var t=it,n=this._proxy.style[t];xt(this._proxy,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),n===this._proxy.style[t]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){lt(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),t=this.getZoom();xt(this._proxy,this.project(e,t),this.getZoomScale(t,1))},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,t,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(t-this._zoom)>this.options.zoomAnimationThreshold)return!1;var r=this.getZoomScale(t),i=this._getCenterOffset(e)._divideBy(1-1/r);return!(!0!==n.animate&&!this.getSize().contains(i))&&(E((function(){this._moveStart(!0,!1)._animateZoom(e,t,!0)}),this),!0)},_animateZoom:function(e,t,n,r){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,mt(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:t,noUpdate:r}),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&vt(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),E((function(){this._moveEnd(!0)}),this))}});function tn(e,t){return new en(e,t)}var nn=C.extend({options:{position:"topright"},initialize:function(e){p(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var t=this._map;return t&&t.removeControl(this),this.options.position=e,t&&t.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var t=this._container=this.onAdd(e),n=this.getPosition(),r=e._controlCorners[n];return mt(t,"leaflet-control"),-1!==n.indexOf("bottom")?r.insertBefore(t,r.firstChild):r.appendChild(t),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(lt(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),rn=function(e){return new nn(e)};en.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){var e=this._controlCorners={},t="leaflet-",n=this._controlContainer=ct("div",t+"control-container",this._container);function r(r,i){var o=t+r+" "+t+i;e[r+i]=ct("div",o,n)}r("top","left"),r("top","right"),r("bottom","left"),r("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)lt(this._controlCorners[e]);lt(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var on=nn.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,t,n,r){return n1,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=t&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var t=this._getLayer(a(e.target)),n=t.overlay?"add"===e.type?"overlayadd":"overlayremove":"add"===e.type?"baselayerchange":null;n&&this._map.fire(n,t)},_createRadioElement:function(e,t){var n='",r=document.createElement("div");return r.innerHTML=n,r.firstChild},_addItem:function(e){var t,n=document.createElement("label"),r=this._map.hasLayer(e.layer);e.overlay?((t=document.createElement("input")).type="checkbox",t.className="leaflet-control-layers-selector",t.defaultChecked=r):t=this._createRadioElement("leaflet-base-layers_"+a(this),r),this._layerControlInputs.push(t),t.layerId=a(e.layer),Dt(t,"click",this._onInputClick,this);var i=document.createElement("span");i.innerHTML=" "+e.name;var o=document.createElement("div");return n.appendChild(o),o.appendChild(t),o.appendChild(i),(e.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var e,t,n=this._layerControlInputs,r=[],i=[];this._handlingClick=!0;for(var o=n.length-1;o>=0;o--)e=n[o],t=this._getLayer(e.layerId).layer,e.checked?r.push(t):e.checked||i.push(t);for(o=0;o=0;i--)e=n[i],t=this._getLayer(e.layerId).layer,e.disabled=void 0!==t.options.minZoom&&rt.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),an=function(e,t,n){return new on(e,t,n)},sn=nn.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"−",zoomOutTitle:"Zoom out"},onAdd:function(e){var t="leaflet-control-zoom",n=ct("div",t+" leaflet-bar"),r=this.options;return this._zoomInButton=this._createButton(r.zoomInText,r.zoomInTitle,t+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(r.zoomOutText,r.zoomOutTitle,t+"-out",n,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(e){e.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(e){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,n,r,i){var o=ct("a",n,r);return o.innerHTML=e,o.href="#",o.title=t,o.setAttribute("role","button"),o.setAttribute("aria-label",t),Ut(o),Dt(o,"click",Vt),Dt(o,"click",i,this),Dt(o,"click",this._refocusOnMap,this),o},_updateDisabled:function(){var e=this._map,t="leaflet-disabled";vt(this._zoomInButton,t),vt(this._zoomOutButton,t),(this._disabled||e._zoom===e.getMinZoom())&&mt(this._zoomOutButton,t),(this._disabled||e._zoom===e.getMaxZoom())&&mt(this._zoomInButton,t)}});en.mergeOptions({zoomControl:!0}),en.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new sn,this.addControl(this.zoomControl))}));var un=function(e){return new sn(e)},cn=nn.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t="leaflet-control-scale",n=ct("div",t),r=this.options;return this._addScales(r,t+"-line",n),e.on(r.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),n},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,t,n){e.metric&&(this._mScale=ct("div",t,n)),e.imperial&&(this._iScale=ct("div",t,n))},_update:function(){var e=this._map,t=e.getSize().y/2,n=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(n)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e),n=t<1e3?t+" m":t/1e3+" km";this._updateScale(this._mScale,n,t/e)},_updateImperial:function(e){var t,n,r,i=3.2808399*e;i>5280?(t=i/5280,n=this._getRoundNum(t),this._updateScale(this._iScale,n+" mi",n/t)):(r=this._getRoundNum(i),this._updateScale(this._iScale,r+" ft",r/i))},_updateScale:function(e,t,n){e.style.width=Math.round(this.options.maxWidth*n)+"px",e.innerHTML=t},_getRoundNum:function(e){var t=Math.pow(10,(Math.floor(e)+"").length-1),n=e/t;return t*(n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1)}}),ln=function(e){return new cn(e)},fn=nn.extend({options:{position:"bottomright",prefix:'Leaflet'},initialize:function(e){p(this,e),this._attributions={}},onAdd:function(e){for(var t in e.attributionControl=this,this._container=ct("div","leaflet-control-attribution"),Ut(this._container),e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),this._container},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e?(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update(),this):this},removeAttribution:function(e){return e?(this._attributions[e]&&(this._attributions[e]--,this._update()),this):this},_update:function(){if(this._map){var e=[];for(var t in this._attributions)this._attributions[t]&&e.push(t);var n=[];this.options.prefix&&n.push(this.options.prefix),e.length&&n.push(e.join(", ")),this._container.innerHTML=n.join(" | ")}}});en.mergeOptions({attributionControl:!0}),en.addInitHook((function(){this.options.attributionControl&&(new fn).addTo(this)}));var dn=function(e){return new fn(e)};nn.Layers=on,nn.Zoom=sn,nn.Scale=cn,nn.Attribution=fn,rn.layers=an,rn.zoom=un,rn.scale=ln,rn.attribution=dn;var pn=C.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});pn.addTo=function(e,t){return e.addHandler(t,this),this};var hn,mn={Events:P},vn=ke?"touchstart mousedown":"mousedown",gn={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},yn={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},bn=j.extend({options:{clickTolerance:3},initialize:function(e,t,n,r){p(this,r),this._element=e,this._dragStartTarget=t||e,this._preventOutline=n},enable:function(){this._enabled||(Dt(this._dragStartTarget,vn,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(bn._dragging===this&&this.finishDrag(),At(this._dragStartTarget,vn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(!e._simulated&&this._enabled&&(this._moved=!1,!ht(this._element,"leaflet-zoom-anim")&&!(bn._dragging||e.shiftKey||1!==e.which&&1!==e.button&&!e.touches)&&(bn._dragging=this,this._preventOutline&&Ct(this._element),Mt(),Je(),!this._moving))){this.fire("down");var t=e.touches?e.touches[0]:e,n=Pt(this._element);this._startPoint=new N(t.clientX,t.clientY),this._parentScale=jt(n),Dt(document,yn[e.type],this._onMove,this),Dt(document,gn[e.type],this._onUp,this)}},_onMove:function(e){if(!e._simulated&&this._enabled)if(e.touches&&e.touches.length>1)this._moved=!0;else{var t=e.touches&&1===e.touches.length?e.touches[0]:e,n=new N(t.clientX,t.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)u&&(o=a,u=s);u>n&&(t[o]=1,On(e,t,n,r,o),On(e,t,n,o,i))}function En(e,t){for(var n=[e[0]],r=1,i=0,o=e.length;rt&&(n.push(e[r]),i=r);return it.max.x&&(n|=2),e.yt.max.y&&(n|=8),n}function Tn(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r}function Pn(e,t,n,r){var i,o=t.x,a=t.y,s=n.x-o,u=n.y-a,c=s*s+u*u;return c>0&&((i=((e.x-o)*s+(e.y-a)*u)/c)>1?(o=n.x,a=n.y):i>0&&(o+=s*i,a+=u*i)),s=e.x-o,u=e.y-a,r?s*s+u*u:new N(o,a)}function jn(e){return!g(e[0])||"object"!==typeof e[0][0]&&"undefined"!==typeof e[0][0]}function Nn(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),jn(e)}var Dn={simplify:_n,pointToSegmentDistance:wn,closestPointOnSegment:xn,clipSegment:Mn,_getEdgeIntersection:Sn,_getBitCode:Cn,_sqClosestPointOnSegment:Pn,isFlat:jn,_flat:Nn};function Ln(e,t,n){var r,i,o,a,s,u,c,l,f,d=[1,4,2,8];for(i=0,c=e.length;i1e-7;u++)t=o*Math.sin(s),t=Math.pow((1-t)/(1+t),o/2),s+=c=Math.PI/2-2*Math.atan(a*t)-s;return new B(s*n,e.x*n/r)}},zn={LonLat:Rn,Mercator:In,SphericalMercator:Y},Fn=n({},W,{code:"EPSG:3395",projection:In,transformation:function(){var e=.5/(Math.PI*In.R);return Z(e,.5,-e,.5)}()}),Bn=n({},W,{code:"EPSG:4326",projection:Rn,transformation:Z(1/180,1,-1/180,.5)}),Hn=n({},U,{projection:Rn,transformation:Z(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,t){var n=t.lng-e.lng,r=t.lat-e.lat;return Math.sqrt(n*n+r*r)},infinite:!0});U.Earth=W,U.EPSG3395=Fn,U.EPSG3857=K,U.EPSG900913=Q,U.EPSG4326=Bn,U.Simple=Hn;var Un=j.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[a(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[a(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t=e.target;if(t.hasLayer(this)){if(this._map=t,this._zoomAnimated=t._zoomAnimated,this.getEvents){var n=this.getEvents();t.on(n,this),this.once("remove",(function(){t.off(n,this)}),this)}this.onAdd(t),this.getAttribution&&t.attributionControl&&t.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),t.fire("layeradd",{layer:this})}}});en.include({addLayer:function(e){if(!e._layerAdd)throw new Error("The provided object is not a Layer.");var t=a(e);return this._layers[t]||(this._layers[t]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e)),this},removeLayer:function(e){var t=a(e);return this._layers[t]?(this._loaded&&e.onRemove(this),e.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(e.getAttribution()),delete this._layers[t],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return!!e&&a(e)in this._layers},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},_addLayers:function(e){for(var t=0,n=(e=e?g(e)?e:[e]:[]).length;tthis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()t)return a=(r-t)/n,this._map.layerPointToLatLng([o.x-a*(o.x-i.x),o.y-a*(o.y-i.y)])},getBounds:function(){return this._bounds},addLatLng:function(e,t){return t=t||this._defaultShape(),e=H(e),t.push(e),this._bounds.extend(e),this.redraw()},_setLatLngs:function(e){this._bounds=new z,this._latlngs=this._convertLatLngs(e)},_defaultShape:function(){return jn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(e){for(var t=[],n=jn(e),r=0,i=e.length;r=2&&t[0]instanceof B&&t[0].equals(t[n-1])&&t.pop(),t},_setLatLngs:function(e){ir.prototype._setLatLngs.call(this,e),jn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return jn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,t=this.options.weight,n=new N(t,t);if(e=new R(e.min.subtract(n),e.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(e))if(this.options.noClip)this._parts=this._rings;else for(var r,i=0,o=this._rings.length;ie.y!==r.y>e.y&&e.x<(r.x-n.x)*(e.y-n.y)/(r.y-n.y)+n.x&&(c=!c);return c||ir.prototype._containsPoint.call(this,e,!0)}});function sr(e,t){return new ar(e,t)}var ur=Yn.extend({initialize:function(e,t){p(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t,n,r,i=g(e)?e:e.features;if(i){for(t=0,n=i.length;t0?r:[t.src]}else{g(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(t.style,"objectFit")&&(t.style.objectFit="fill"),t.autoplay=!!this.options.autoplay,t.loop=!!this.options.loop,t.muted=!!this.options.muted;for(var a=0;ai?(t.height=i+"px",mt(e,o)):vt(e,o),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),n=this._getAnchor();kt(this._container,t.add(n))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var e=this._map,t=parseInt(ut(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+t,r=this._containerWidth,i=new N(this._containerLeft,-n-this._containerBottom);i._add(Ot(this._container));var o=e.layerPointToContainerPoint(i),a=A(this.options.autoPanPadding),s=A(this.options.autoPanPaddingTopLeft||a),u=A(this.options.autoPanPaddingBottomRight||a),c=e.getSize(),l=0,f=0;o.x+r+u.x>c.x&&(l=o.x+r-c.x+u.x),o.x-l-s.x<0&&(l=o.x-s.x),o.y+n+u.y>c.y&&(f=o.y+n-c.y+u.y),o.y-f-s.y<0&&(f=o.y-s.y),(l||f)&&e.fire("autopanstart").panBy([l,f])}},_onCloseButtonClick:function(e){this._close(),Vt(e)},_getAnchor:function(){return A(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Cr=function(e,t){return new Sr(e,t)};en.mergeOptions({closePopupOnClick:!0}),en.include({openPopup:function(e,t,n){return e instanceof Sr||(e=new Sr(n).setContent(e)),t&&e.setLatLng(t),this.hasLayer(e)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=e,this.addLayer(e))},closePopup:function(e){return e&&e!==this._popup||(e=this._popup,this._popup=null),e&&this.removeLayer(e),this}}),Un.include({bindPopup:function(e,t){return e instanceof Sr?(p(e,t),this._popup=e,e._source=this):(this._popup&&!t||(this._popup=new Sr(t,this)),this._popup.setContent(e)),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(e,t){return this._popup&&this._map&&(t=this._popup._prepareOpen(this,e,t),this._map.openPopup(this._popup,t)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(e){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(e)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){var t=e.layer||e.target;this._popup&&this._map&&(Vt(e),t instanceof Jn?this.openPopup(e.layer||e.target,e.latlng):this._map.hasLayer(this._popup)&&this._popup._source===t?this.closePopup():this.openPopup(t,e.latlng))},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){13===e.originalEvent.keyCode&&this._openPopup(e)}});var Tr=Mr.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(e){Mr.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(e){Mr.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var e=Mr.prototype.getEvents.call(this);return ke&&!this.options.permanent&&(e.preclick=this._close),e},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var e="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ct("div",e)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t,n,r=this._map,i=this._container,o=r.latLngToContainerPoint(r.getCenter()),a=r.layerPointToContainerPoint(e),s=this.options.direction,u=i.offsetWidth,c=i.offsetHeight,l=A(this.options.offset),f=this._getAnchor();"top"===s?(t=u/2,n=c):"bottom"===s?(t=u/2,n=0):"center"===s?(t=u/2,n=c/2):"right"===s?(t=0,n=c/2):"left"===s?(t=u,n=c/2):a.xthis.options.maxZoom||nr&&this._retainParent(i,o,a,r))},_retainChildren:function(e,t,n,r){for(var i=2*e;i<2*e+2;i++)for(var o=2*t;o<2*t+2;o++){var a=new N(i,o);a.z=n+1;var s=this._tileCoordsToKey(a),u=this._tiles[s];u&&u.active?u.retain=!0:(u&&u.loaded&&(u.retain=!0),n+1this.options.maxZoom||void 0!==this.options.minZoom&&i1)this._setView(e,n);else{for(var f=i.min.y;f<=i.max.y;f++)for(var d=i.min.x;d<=i.max.x;d++){var p=new N(d,f);if(p.z=this._tileZoom,this._isValidTile(p)){var h=this._tiles[this._tileCoordsToKey(p)];h?h.current=!0:a.push(p)}}if(a.sort((function(e,t){return e.distanceTo(o)-t.distanceTo(o)})),0!==a.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(d=0;dn.max.x)||!t.wrapLat&&(e.yn.max.y))return!1}if(!this.options.bounds)return!0;var r=this._tileCoordsToBounds(e);return F(this.options.bounds).overlaps(r)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var t=this._map,n=this.getTileSize(),r=e.scaleBy(n),i=r.add(n);return[t.unproject(r,e.z),t.unproject(i,e.z)]},_tileCoordsToBounds:function(e){var t=this._tileCoordsToNwSe(e),n=new z(t[0],t[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var t=e.split(":"),n=new N(+t[0],+t[1]);return n.z=+t[2],n},_removeTile:function(e){var t=this._tiles[e];t&&(lt(t.el),delete this._tiles[e],this.fire("tileunload",{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){mt(e,"leaflet-tile");var t=this.getTileSize();e.style.width=t.x+"px",e.style.height=t.y+"px",e.onselectstart=c,e.onmousemove=c,ee&&this.options.opacity<1&&bt(e,this.options.opacity),re&&!ie&&(e.style.WebkitBackfaceVisibility="hidden")},_addTile:function(e,t){var n=this._getTilePos(e),r=this._tileCoordsToKey(e),o=this.createTile(this._wrapCoords(e),i(this._tileReady,this,e));this._initTile(o),this.createTile.length<2&&E(i(this._tileReady,this,e,null,o)),kt(o,n),this._tiles[r]={el:o,coords:e,current:!0},t.appendChild(o),this.fire("tileloadstart",{tile:o,coords:e})},_tileReady:function(e,t,n){t&&this.fire("tileerror",{error:t,tile:n,coords:e});var r=this._tileCoordsToKey(e);(n=this._tiles[r])&&(n.loaded=+new Date,this._map._fadeAnimated?(bt(n.el,0),M(this._fadeFrame),this._fadeFrame=E(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),t||(mt(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),ee||!this._map._fadeAnimated?E(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new N(this._wrapX?u(e.x,this._wrapX):e.x,this._wrapY?u(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new R(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}});function Lr(e){return new Dr(e)}var Ar=Dr.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(e,t){this._url=e,(t=p(this,t)).detectRetina&&Me&&t.maxZoom>0&&(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom++):(t.zoomOffset++,t.maxZoom--),t.minZoom=Math.max(0,t.minZoom)),"string"===typeof t.subdomains&&(t.subdomains=t.subdomains.split("")),re||this.on("tileunload",this._onTileRemove)},setUrl:function(e,t){return this._url===e&&void 0===t&&(t=!0),this._url=e,t||this.redraw(),this},createTile:function(e,t){var n=document.createElement("img");return Dt(n,"load",i(this._tileOnLoad,this,t,n)),Dt(n,"error",i(this._tileOnError,this,t,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n.alt="",n.setAttribute("role","presentation"),n.src=this.getTileUrl(e),n},getTileUrl:function(e){var t={r:Me?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var r=this._globalTileRange.max.y-e.y;this.options.tms&&(t.y=r),t["-y"]=r}return v(this._url,n(t,this.options))},_tileOnLoad:function(e,t){ee?setTimeout(i(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,n){var r=this.options.errorTileUrl;r&&t.getAttribute("src")!==r&&(t.src=r),e(n,t)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,t=this.options.maxZoom;return this.options.zoomReverse&&(e=t-e),e+this.options.zoomOffset},_getSubdomain:function(e){var t=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var e,t;for(e in this._tiles)this._tiles[e].coords.z!==this._tileZoom&&((t=this._tiles[e].el).onload=c,t.onerror=c,t.complete||(t.src=b,lt(t),delete this._tiles[e]))},_removeTile:function(e){var t=this._tiles[e];if(t)return ae||t.el.setAttribute("src",b),Dr.prototype._removeTile.call(this,e)},_tileReady:function(e,t,n){if(this._map&&(!n||n.getAttribute("src")!==b))return Dr.prototype._tileReady.call(this,e,t,n)}});function Rr(e,t){return new Ar(e,t)}var Ir=Ar.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,t){this._url=e;var r=n({},this.defaultWmsParams);for(var i in t)i in this.options||(r[i]=t[i]);var o=(t=p(this,t)).detectRetina&&Me?2:1,a=this.getTileSize();r.width=a.x*o,r.height=a.y*o,this.wmsParams=r},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var t=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[t]=this._crs.code,Ar.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToNwSe(e),n=this._crs,r=I(n.project(t[0]),n.project(t[1])),i=r.min,o=r.max,a=(this._wmsVersion>=1.3&&this._crs===Bn?[i.y,i.x,o.y,o.x]:[i.x,i.y,o.x,o.y]).join(","),s=Ar.prototype.getTileUrl.call(this,e);return s+h(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+a},setParams:function(e,t){return n(this.wmsParams,e),t||this.redraw(),this}});function zr(e,t){return new Ir(e,t)}Ar.WMS=Ir,Rr.wms=zr;var Fr=Un.extend({options:{padding:.1,tolerance:0},initialize:function(e){p(this,e),a(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&mt(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 e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,t){var n=this._map.getZoomScale(t,this._zoom),r=Ot(this._container),i=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,t),a=this._map.project(e,t).subtract(o),s=i.multiplyBy(-n).add(r).add(i).subtract(a);ge?xt(this._container,s,n):kt(this._container,s)},_reset:function(){for(var e in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,t=this._map.getSize(),n=this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();this._bounds=new R(n,n.add(t.multiplyBy(1+2*e)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Br=Fr.extend({getEvents:function(){var e=Fr.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Fr.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");Dt(e,"mousemove",this._onMouseMove,this),Dt(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Dt(e,"mouseout",this._handleMouseOut,this),this._ctx=e.getContext("2d")},_destroyContainer:function(){M(this._redrawRequest),delete this._ctx,lt(this._container),At(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var e in this._redrawBounds=null,this._layers)this._layers[e]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){Fr.prototype._update.call(this);var e=this._bounds,t=this._container,n=e.getSize(),r=Me?2:1;kt(t,e.min),t.width=r*n.x,t.height=r*n.y,t.style.width=n.x+"px",t.style.height=n.y+"px",Me&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){Fr.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[a(e)]=e;var t=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=e._order,n=t.next,r=t.prev;n?n.prev=r:this._drawLast=r,r?r.next=n:this._drawFirst=n,delete e._order,delete this._layers[a(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if("string"===typeof e.options.dashArray){var t,n,r=e.options.dashArray.split(/[, ]+/),i=[];for(n=0;n')}}catch(e){return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),Wr={_initContainer:function(){this._container=ct("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Fr.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var t=e._container=Ur("shape");mt(t,"leaflet-vml-shape "+(this.options.className||"")),t.coordsize="1 1",e._path=Ur("path"),t.appendChild(e._path),this._updateStyle(e),this._layers[a(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;lt(t),e.removeInteractiveTarget(t),delete this._layers[a(e)]},_updateStyle:function(e){var t=e._stroke,n=e._fill,r=e.options,i=e._container;i.stroked=!!r.stroke,i.filled=!!r.fill,r.stroke?(t||(t=e._stroke=Ur("stroke")),i.appendChild(t),t.weight=r.weight+"px",t.color=r.color,t.opacity=r.opacity,r.dashArray?t.dashStyle=g(r.dashArray)?r.dashArray.join(" "):r.dashArray.replace(/( *, *)/g," "):t.dashStyle="",t.endcap=r.lineCap.replace("butt","flat"),t.joinstyle=r.lineJoin):t&&(i.removeChild(t),e._stroke=null),r.fill?(n||(n=e._fill=Ur("fill")),i.appendChild(n),n.color=r.fillColor||r.color,n.opacity=r.fillOpacity):n&&(i.removeChild(n),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),n=Math.round(e._radius),r=Math.round(e._radiusY||n);this._setPath(e,e._empty()?"M0 0":"AL "+t.x+","+t.y+" "+n+","+r+" 0,23592600")},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){dt(e._container)},_bringToBack:function(e){pt(e._container)}},Vr=Pe?Ur:X,Yr=Fr.extend({getEvents:function(){var e=Fr.prototype.getEvents.call(this);return e.zoomstart=this._onZoomStart,e},_initContainer:function(){this._container=Vr("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Vr("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){lt(this._container),At(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){Fr.prototype._update.call(this);var e=this._bounds,t=e.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(t)||(this._svgSize=t,n.setAttribute("width",t.x),n.setAttribute("height",t.y)),kt(n,e.min),n.setAttribute("viewBox",[e.min.x,e.min.y,t.x,t.y].join(" ")),this.fire("update")}},_initPath:function(e){var t=e._path=Vr("path");e.options.className&&mt(t,e.options.className),e.options.interactive&&mt(t,"leaflet-interactive"),this._updateStyle(e),this._layers[a(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){lt(e._path),e.removeInteractiveTarget(e._path),delete this._layers[a(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var t=e._path,n=e.options;t&&(n.stroke?(t.setAttribute("stroke",n.color),t.setAttribute("stroke-opacity",n.opacity),t.setAttribute("stroke-width",n.weight),t.setAttribute("stroke-linecap",n.lineCap),t.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?t.setAttribute("stroke-dasharray",n.dashArray):t.removeAttribute("stroke-dasharray"),n.dashOffset?t.setAttribute("stroke-dashoffset",n.dashOffset):t.removeAttribute("stroke-dashoffset")):t.setAttribute("stroke","none"),n.fill?(t.setAttribute("fill",n.fillColor||n.color),t.setAttribute("fill-opacity",n.fillOpacity),t.setAttribute("fill-rule",n.fillRule||"evenodd")):t.setAttribute("fill","none"))},_updatePoly:function(e,t){this._setPath(e,$(e._parts,t))},_updateCircle:function(e){var t=e._point,n=Math.max(Math.round(e._radius),1),r="a"+n+","+(Math.max(Math.round(e._radiusY),1)||n)+" 0 1,0 ",i=e._empty()?"M0 0":"M"+(t.x-n)+","+t.y+r+2*n+",0 "+r+2*-n+",0 ";this._setPath(e,i)},_setPath:function(e,t){e._path.setAttribute("d",t)},_bringToFront:function(e){dt(e._path)},_bringToBack:function(e){pt(e._path)}});function qr(e){return Te||Pe?new Yr(e):null}Pe&&Yr.include(Wr),en.include({getRenderer:function(e){var t=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return t||(t=this._renderer=this._createRenderer()),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(e){if("overlayPane"===e||void 0===e)return!1;var t=this._paneRenderers[e];return void 0===t&&(t=this._createRenderer({pane:e}),this._paneRenderers[e]=t),t},_createRenderer:function(e){return this.options.preferCanvas&&Hr(e)||qr(e)}});var Zr=ar.extend({initialize:function(e,t){ar.prototype.initialize.call(this,this._boundsToLatLngs(e),t)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return[(e=F(e)).getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});function Kr(e,t){return new Zr(e,t)}Yr.create=Vr,Yr.pointsToPath=$,ur.geometryToLayer=cr,ur.coordsToLatLng=fr,ur.coordsToLatLngs=dr,ur.latLngToCoords=pr,ur.latLngsToCoords=hr,ur.getFeature=mr,ur.asFeature=vr,en.mergeOptions({boxZoom:!0});var Qr=pn.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on("unload",this._destroy,this)},addHooks:function(){Dt(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){At(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){lt(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(e){if(!e.shiftKey||1!==e.which&&1!==e.button)return!1;this._clearDeferredResetState(),this._resetState(),Je(),Mt(),this._startPoint=this._map.mouseEventToContainerPoint(e),Dt(document,{contextmenu:Vt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=ct("div","leaflet-zoom-box",this._container),mt(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var t=new R(this._point,this._startPoint),n=t.getSize();kt(this._box,t.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(lt(this._box),vt(this._container,"leaflet-crosshair")),et(),St(),At(document,{contextmenu:Vt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if((1===e.which||1===e.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var t=new z(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})}},_onKeyDown:function(e){27===e.keyCode&&this._finish()}});en.addInitHook("addHandler","boxZoom",Qr),en.mergeOptions({doubleClickZoom:!0});var Xr=pn.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var t=this._map,n=t.getZoom(),r=t.options.zoomDelta,i=e.originalEvent.shiftKey?n-r:n+r;"center"===t.options.doubleClickZoom?t.setZoom(i):t.setZoomAround(e.containerPoint,i)}});en.addInitHook("addHandler","doubleClickZoom",Xr),en.mergeOptions({dragging:!0,inertia:!ie,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var $r=pn.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new bn(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),e.on("zoomend",this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}mt(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){vt(this._map._container,"leaflet-grab"),vt(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 e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var t=F(this._map.options.maxBounds);this._offsetLimit=I(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var t=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(t),this._prunePositions(t)}this._map.fire("move",e).fire("drag",e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit;e.xt.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),n=this._initialWorldOffset,r=this._draggable._newPos.x,i=(r-t+n)%e+t-n,o=(r+t+n)%e-t-n,a=Math.abs(i+n)0?o:-o))-t;this._delta=0,this._startTime=null,a&&("center"===e.options.scrollWheelZoom?e.setZoom(t+a):e.setZoomAround(this._lastMousePos,t+a))}});en.addInitHook("addHandler","scrollWheelZoom",Jr),en.mergeOptions({tap:!0,tapTolerance:15});var ei=pn.extend({addHooks:function(){Dt(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){At(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(e.touches){if(Wt(e),this._fireClick=!0,e.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var t=e.touches[0],n=t.target;this._startPos=this._newPos=new N(t.clientX,t.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&mt(n,"leaflet-active"),this._holdTimeout=setTimeout(i((function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",t))}),this),1e3),this._simulateEvent("mousedown",t),Dt(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(e){if(clearTimeout(this._holdTimeout),At(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&e&&e.changedTouches){var t=e.changedTouches[0],n=t.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&vt(n,"leaflet-active"),this._simulateEvent("mouseup",t),this._isTapValid()&&this._simulateEvent("click",t)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(e){var t=e.touches[0];this._newPos=new N(t.clientX,t.clientY),this._simulateEvent("mousemove",t)},_simulateEvent:function(e,t){var n=document.createEvent("MouseEvents");n._simulated=!0,t.target._simulatedClick=!0,n.initMouseEvent(e,!0,!0,window,1,t.screenX,t.screenY,t.clientX,t.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(n)}});!ke||xe&&!le||en.addInitHook("addHandler","tap",ei),en.mergeOptions({touchZoom:ke&&!ie,bounceAtZoomLimits:!0});var ti=pn.extend({addHooks:function(){mt(this._map._container,"leaflet-touch-zoom"),Dt(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){vt(this._map._container,"leaflet-touch-zoom"),At(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var t=this._map;if(e.touches&&2===e.touches.length&&!t._animatingZoom&&!this._zooming){var n=t.mouseEventToContainerPoint(e.touches[0]),r=t.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=t.getSize()._divideBy(2),this._startLatLng=t.containerPointToLatLng(this._centerPoint),"center"!==t.options.touchZoom&&(this._pinchStartLatLng=t.containerPointToLatLng(n.add(r)._divideBy(2))),this._startDist=n.distanceTo(r),this._startZoom=t.getZoom(),this._moved=!1,this._zooming=!0,t._stop(),Dt(document,"touchmove",this._onTouchMove,this),Dt(document,"touchend",this._onTouchEnd,this),Wt(e)}},_onTouchMove:function(e){if(e.touches&&2===e.touches.length&&this._zooming){var t=this._map,n=t.mouseEventToContainerPoint(e.touches[0]),r=t.mouseEventToContainerPoint(e.touches[1]),o=n.distanceTo(r)/this._startDist;if(this._zoom=t.getScaleZoom(o,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoomt.getMaxZoom()&&o>1)&&(this._zoom=t._limitZoom(this._zoom)),"center"===t.options.touchZoom){if(this._center=this._startLatLng,1===o)return}else{var a=n._add(r)._divideBy(2)._subtract(this._centerPoint);if(1===o&&0===a.x&&0===a.y)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(a),this._zoom)}this._moved||(t._moveStart(!0,!1),this._moved=!0),M(this._animRequest);var s=i(t._move,t,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=E(s,this,!0),Wt(e)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,M(this._animRequest),At(document,"touchmove",this._onTouchMove,this),At(document,"touchend",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))):this._zooming=!1}});en.addInitHook("addHandler","touchZoom",ti),en.BoxZoom=Qr,en.DoubleClickZoom=Xr,en.Drag=$r,en.Keyboard=Gr,en.ScrollWheelZoom=Jr,en.Tap=ei,en.TouchZoom=ti,e.version=t,e.Control=nn,e.control=rn,e.Browser=Ne,e.Evented=j,e.Mixin=mn,e.Util=S,e.Class=C,e.Handler=pn,e.extend=n,e.bind=i,e.stamp=a,e.setOptions=p,e.DomEvent=Gt,e.DomUtil=Nt,e.PosAnimation=Jt,e.Draggable=bn,e.LineUtil=Dn,e.PolyUtil=An,e.Point=N,e.point=A,e.Bounds=R,e.bounds=I,e.Transformation=q,e.transformation=Z,e.Projection=zn,e.LatLng=B,e.latLng=H,e.LatLngBounds=z,e.latLngBounds=F,e.CRS=U,e.GeoJSON=ur,e.geoJSON=yr,e.geoJson=br,e.Layer=Un,e.LayerGroup=Wn,e.layerGroup=Vn,e.FeatureGroup=Yn,e.featureGroup=qn,e.ImageOverlay=_r,e.imageOverlay=wr,e.VideoOverlay=xr,e.videoOverlay=kr,e.SVGOverlay=Or,e.svgOverlay=Er,e.DivOverlay=Mr,e.Popup=Sr,e.popup=Cr,e.Tooltip=Tr,e.tooltip=Pr,e.Icon=Zn,e.icon=Kn,e.DivIcon=jr,e.divIcon=Nr,e.Marker=$n,e.marker=Gn,e.TileLayer=Ar,e.tileLayer=Rr,e.GridLayer=Dr,e.gridLayer=Lr,e.SVG=Yr,e.svg=qr,e.Renderer=Fr,e.Canvas=Br,e.canvas=Hr,e.Path=Jn,e.CircleMarker=er,e.circleMarker=tr,e.Circle=nr,e.circle=rr,e.Polyline=ir,e.polyline=or,e.Polygon=ar,e.polygon=sr,e.Rectangle=Zr,e.rectangle=Kr,e.Map=en,e.map=tn;var ni=window.L;e.noConflict=function(){return window.L=ni,this},window.L=e}(t)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(14),i=n(9),o=n(5);function a(e,t){Object(o.a)(1,arguments);var n=t||{},a=n.locale,s=a&&a.options&&a.options.weekStartsOn,u=null==s?0:Object(r.a)(s),c=null==n.weekStartsOn?u:Object(r.a)(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=Object(i.default)(e),f=l.getUTCDay(),d=(f=0&&"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return a}));var r={prefix:"far",iconName:"arrow-alt-circle-right",icon:[512,512,[],"f35a","M504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256zm72 20v-40c0-6.6 5.4-12 12-12h116v-67c0-10.7 12.9-16 20.5-8.5l99 99c4.7 4.7 4.7 12.3 0 17l-99 99c-7.6 7.6-20.5 2.2-20.5-8.5v-67H140c-6.6 0-12-5.4-12-12z"]},i={prefix:"far",iconName:"calendar-alt",icon:[448,512,[],"f073","M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"]},o={prefix:"far",iconName:"circle",icon:[512,512,[],"f111","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"]},a={prefix:"far",iconName:"copy",icon:[448,512,[],"f0c5","M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z"]}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9),i=n(5);function o(e){Object(i.a)(1,arguments);var t=1,n=Object(r.default)(e),o=n.getUTCDay(),a=(o=0||(i[n]=e[n]);return i}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(105);function i(e,t){if(e){if("string"===typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";function r(e){return"[object String]"===Object.prototype.toString.call(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return m})),n.d(t,"e",(function(){return s}));var r=n(179),i=function(){return Math.random().toString(36).substring(7).split("").join(".")},o={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function a(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function s(e,t,n){var i;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error("Expected the enhancer to be a function.");return n(s)(e,t)}if("function"!==typeof e)throw new Error("Expected the reducer to be a function.");var u=e,c=t,l=[],f=l,d=!1;function p(){f===l&&(f=l.slice())}function h(){if(d)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return c}function m(e){if("function"!==typeof e)throw new Error("Expected the listener to be a function.");if(d)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return p(),f.push(e),function(){if(t){if(d)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,p();var n=f.indexOf(e);f.splice(n,1),l=null}}}function v(e){if(!a(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"===typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(d)throw new Error("Reducers may not dispatch actions.");try{d=!0,c=u(c,e)}finally{d=!1}for(var t=l=f,n=0;n=c?u:(n.setFullYear(u.getFullYear(),u.getMonth(),s),n)}},function(e,t,n){"use strict";function r(e){return"[object Object]"===Object.prototype.toString.call(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return o}));var r=n(9),i=n(5);function o(e){Object(i.a)(1,arguments);var t=Object(r.default)(e);return t.setHours(0,0,0,0),t}},function(e,t,n){"use strict";var r=n(49),i=n(19),o=n(17),a=n(88),s=Object(o.a)((function(e,t){return 1===e?Object(i.a)(t):Object(r.a)(e,Object(a.a)(e,[],t))}));t.a=s},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(89),i=n(5);function o(e){return Object(i.a)(1,arguments),Object(r.default)(e,{weekStartsOn:1})}},function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(s+1,0,d),p.setUTCHours(0,0,0,0);var h=Object(o.a)(p,t),m=new Date(0);m.setUTCFullYear(s,0,d),m.setUTCHours(0,0,0,0);var v=Object(o.a)(m,t);return n.getTime()>=h.getTime()?s+1:n.getTime()>=v.getTime()?s:s-1}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(49),i=n(32);function o(e,t,n){return function(){for(var a=[],s=0,u=e,c=0;c=arguments.length)?l=t[c]:(l=arguments[s],s+=1),a[c]=l,Object(i.a)(l)||(u-=1),c+=1}return u<=0?n.apply(this,a):Object(r.a)(u,o(e,a,n))}}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(9),i=n(14),o=n(5);function a(e,t){Object(o.a)(1,arguments);var n=t||{},a=n.locale,s=a&&a.options&&a.options.weekStartsOn,u=null==s?0:Object(i.a)(s),c=null==n.weekStartsOn?u:Object(i.a)(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=Object(r.default)(e),f=l.getDay(),d=(f0?"in "+i:i+" ago":i},formatLong:o,formatRelative:function(e,t,n,r){return a[e]},localize:{ordinalNumber: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"},era:s({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:s({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:s({values:{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"]},defaultWidth:"wide"}),day:s({values:{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"]},defaultWidth:"wide"}),dayPeriod:s({values:{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"}},defaultWidth:"wide",formattingValues:{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"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(c={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e,t){var n=String(e),r=t||{},i=n.match(c.matchPattern);if(!i)return null;var o=i[0],a=n.match(c.parsePattern);if(!a)return null;var s=c.valueCallback?c.valueCallback(a[0]):a[0];return{value:s=r.valueCallback?r.valueCallback(s):s,rest:n.slice(o.length)}}),era:u({matchPatterns:{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},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:u({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:u({matchPatterns:{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},defaultMatchWidth:"wide",parsePatterns:{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]},defaultParseWidth:"any"}),day:u({matchPatterns:{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},defaultMatchWidth:"wide",parsePatterns:{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]},defaultParseWidth:"any"}),dayPeriod:u({matchPatterns:{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},defaultMatchWidth:"any",parsePatterns:{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}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};t.a=l},function(e,t,n){"use strict";var r=n(17);function i(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function o(e,t,n){for(var r=0,i=n.length;r=0;){if(n[o]===e)return r[o]===t;o-=1}switch(i){case"Map":return e.size===t.size&&l(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&l(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var d=Object(u.a)(e);if(d.length!==Object(u.a)(t).length)return!1;var p=n.concat([e]),h=r.concat([t]);for(o=d.length-1;o>=0;){var m=d[o];if(!Object(a.a)(m,t)||!f(t[m],e[m],p,h))return!1;o-=1}return!0}var d=Object(r.a)((function(e,t){return f(e,t,[],[])}));t.a=d},function(e,t,n){"use strict";n.d(t,"a",(function(){return Na})),n.d(t,"b",(function(){return Da})),n.d(t,"c",(function(){return ja}));var r=n(2),i=n.n(r),o=n(21),a=n(3),s=n(78),u=n(39);function c(e,t,n){return(c="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Object(u.a)(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}var l=n(34),f=n(33),d=n(8),p=n(10),h=n(30),m=n(18),v=n(22);var g="undefined"===typeof window?function(e){return e()}:window.requestAnimationFrame;function y(e,t,n){var r=n||function(e){return Array.prototype.slice.call(e)},i=!1,o=[];return function(){for(var n=arguments.length,a=new Array(n),s=0;s=0;i--)t.call(n,e[i],i);else for(i=0;in;)e=e[t.substr(n,r-n)],r=F(t,n=r+1);return e}function H(e){return e.charAt(0).toUpperCase()+e.slice(1)}var U=function(e){return"undefined"!==typeof e},W=function(e){return"function"===typeof e},V=Math.PI,Y=2*V,q=Y+V,Z=Number.POSITIVE_INFINITY,K=V/180,Q=V/2,X=V/4,$=2*V/3,G=Math.log10,J=Math.sign;function ee(e){var t=Math.round(e);e=ne(e,t,e/1e3)?t:e;var n=Math.pow(10,Math.floor(G(e))),r=e/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function te(e){return!isNaN(parseFloat(e))&&isFinite(e)}function ne(e,t,n){return Math.abs(e-t)u&&c=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){return de(e)?e:pe(e,.075,.3)},easeOutElastic:function(e){return de(e)?e:he(e,.075,.3)},easeInOutElastic:function(e){var t=.1125;return de(e)?e:e<.5?.5*pe(2*e,t,.45):.5+.5*he(2*e-1,t,.45)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-me.easeOutBounce(1-e)},easeOutBounce:function(e){var t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*me.easeInBounce(2*e):.5*me.easeOutBounce(2*e-1)+.5}},ve={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},ge="0123456789ABCDEF",ye=function(e){return ge[15&e]},be=function(e){return ge[(240&e)>>4]+ge[15&e]},_e=function(e){return(240&e)>>4===(15&e)};function we(e){var t=function(e){return _e(e.r)&&_e(e.g)&&_e(e.b)&&_e(e.a)}(e)?ye:be;return e?"#"+t(e.r)+t(e.g)+t(e.b)+(e.a<255?t(e.a):""):e}function xe(e){return e+.5|0}var ke=function(e,t,n){return Math.max(Math.min(e,n),t)};function Oe(e){return ke(xe(2.55*e),0,255)}function Ee(e){return ke(xe(255*e),0,255)}function Me(e){return ke(xe(e/2.55)/100,0,1)}function Se(e){return ke(xe(100*e),0,100)}var Ce=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;var Te=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Pe(e,t,n){var r=t*Math.min(n,1-n),i=function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+e/30)%12;return n-r*Math.max(Math.min(i-3,9-i,1),-1)};return[i(0),i(8),i(4)]}function je(e,t,n){var r=function(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(r+e/60)%6;return n-n*t*Math.max(Math.min(i,4-i,1),0)};return[r(5),r(3),r(1)]}function Ne(e,t,n){var r,i=Pe(e,1,.5);for(t+n>1&&(t*=r=1/(t+n),n*=r),r=0;r<3;r++)i[r]*=1-t-n,i[r]+=t;return i}function De(e){var t,n,r,i=e.r/255,o=e.g/255,a=e.b/255,s=Math.max(i,o,a),u=Math.min(i,o,a),c=(s+u)/2;return s!==u&&(r=s-u,n=c>.5?r/(2-s-u):r/(s+u),t=60*(t=s===i?(o-a)/r+(o>16&255,n>>8&255,255&n]}return o}()).transparent=[0,0,0,0]);var t=ze[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}function Ue(e,t,n){if(e){var r=De(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,0===t?360:1)),r=Ae(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function We(e,t){return e?Object.assign(t||{},e):e}function Ve(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Ee(e[3]))):(t=We(e,{r:0,g:0,b:0,a:1})).a=Ee(t.a),t}function Ye(e){return"r"===e.charAt(0)?function(e){var t,n,r,i=Ce.exec(e),o=255;if(i){if(i[7]!==t){var a=+i[7];o=255&(i[8]?Oe(a):255*a)}return t=+i[1],n=+i[3],r=+i[5],{r:t=255&(i[2]?Oe(t):t),g:n=255&(i[4]?Oe(n):n),b:r=255&(i[6]?Oe(r):r),a:o}}}(e):Ie(e)}var qe=function(){function e(t){if(Object(m.a)(this,e),t instanceof e)return t;var n,r=typeof t;"object"===r?n=Ve(t):"string"===r&&(n=function(e){var t,n=e.length;return"#"===e[0]&&(4===n||5===n?t={r:255&17*ve[e[1]],g:255&17*ve[e[2]],b:255&17*ve[e[3]],a:5===n?17*ve[e[4]]:255}:7!==n&&9!==n||(t={r:ve[e[1]]<<4|ve[e[2]],g:ve[e[3]]<<4|ve[e[4]],b:ve[e[5]]<<4|ve[e[6]],a:9===n?ve[e[7]]<<4|ve[e[8]]:255})),t}(t)||He(t)||Ye(t)),this._rgb=n,this._valid=!!n}return Object(v.a)(e,[{key:"valid",get:function(){return this._valid}},{key:"rgb",get:function(){var e=We(this._rgb);return e&&(e.a=Me(e.a)),e},set:function(e){this._rgb=Ve(e)}},{key:"rgbString",value:function(){return this._valid?(e=this._rgb)&&(e.a<255?"rgba(".concat(e.r,", ").concat(e.g,", ").concat(e.b,", ").concat(Me(e.a),")"):"rgb(".concat(e.r,", ").concat(e.g,", ").concat(e.b,")")):this._rgb;var e}},{key:"hexString",value:function(){return this._valid?we(this._rgb):this._rgb}},{key:"hslString",value:function(){return this._valid?function(e){if(e){var t=De(e),n=t[0],r=Se(t[1]),i=Se(t[2]);return e.a<255?"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(Me(e.a),")"):"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)")}}(this._rgb):this._rgb}},{key:"mix",value:function(e,t){var n=this;if(e){var r,i=n.rgb,o=e.rgb,a=t===r?.5:t,s=2*a-1,u=i.a-o.a,c=((s*u===-1?s:(s+u)/(1+s*u))+1)/2;r=1-c,i.r=255&c*i.r+r*o.r+.5,i.g=255&c*i.g+r*o.g+.5,i.b=255&c*i.b+r*o.b+.5,i.a=a*i.a+(1-a)*o.a,n.rgb=i}return n}},{key:"clone",value:function(){return new e(this.rgb)}},{key:"alpha",value:function(e){return this._rgb.a=Ee(e),this}},{key:"clearer",value:function(e){return this._rgb.a*=1-e,this}},{key:"greyscale",value:function(){var e=this._rgb,t=xe(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}},{key:"opaquer",value:function(e){return this._rgb.a*=1+e,this}},{key:"negate",value:function(){var e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}},{key:"lighten",value:function(e){return Ue(this._rgb,2,e),this}},{key:"darken",value:function(e){return Ue(this._rgb,2,-e),this}},{key:"saturate",value:function(e){return Ue(this._rgb,1,e),this}},{key:"desaturate",value:function(e){return Ue(this._rgb,1,-e),this}},{key:"rotate",value:function(e){return function(e,t){var n=De(e);n[0]=Re(n[0]+t),n=Ae(n),e.r=n[0],e.g=n[1],e.b=n[2]}(this._rgb,e),this}}]),e}();function Ze(e){return new qe(e)}var Ke=function(e){return e instanceof CanvasGradient||e instanceof CanvasPattern};function Qe(e){return Ke(e)?e:Ze(e)}function Xe(e){return Ke(e)?e:Ze(e).saturate(.5).darken(.1).hexString()}var $e=Object.create(null),Ge=Object.create(null);function Je(e,t){if(!t)return e;for(var n=t.split("."),r=0,i=n.length;rr&&(r=o),r}function rt(e,t,n,r){var i=(r=r||{}).data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},o=r.garbageCollect=[],r.font=t),e.save(),e.font=t;var a,s,u,c,l,f=0,d=n.length;for(a=0;an.length){for(a=0;a0&&e.stroke()}}function st(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.xt.top-n&&e.y5&&void 0!==arguments[5]?arguments[5]:{},u=O(t)?t:[t],c=s.strokeWidth>0&&""!==s.strokeColor;for(e.save(),e.font=i.string,pt(e,s),o=0;o1;)n(r=o+i>>1)?o=r:i=r;return{lo:o,hi:i}}var Mt=function(e,t,n){return Et(e,n,(function(r){return e[r][t]=n}))};var Ct=["push","pop","shift","splice","unshift"];function Tt(e,t){var n=e._chartjs;if(n){var r=n.listeners,i=r.indexOf(t);-1!==i&&r.splice(i,1),r.length>0||(Ct.forEach((function(t){delete e[t]})),delete e._chartjs)}}function Pt(e){var t,n,r=new Set;for(t=0,n=e.length;t1&&void 0!==arguments[1]?arguments[1]:[""],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=arguments.length>3?arguments[3]:void 0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){return e[0]};U(i)||(i=Wt("_fallback",e));var s=(t={},Object(p.a)(t,Symbol.toStringTag,"Object"),Object(p.a)(t,"_cacheable",!0),Object(p.a)(t,"_scopes",e),Object(p.a)(t,"_rootScopes",r),Object(p.a)(t,"_fallback",i),Object(p.a)(t,"_getTarget",a),Object(p.a)(t,"override",(function(t){return jt([t].concat(Object(o.a)(e)),n,r,i)})),t);return new Proxy(s,{deleteProperty:function(t,n){return delete t[n],delete t._keys,delete e[0][n],!0},get:function(t,r){return Rt(t,r,(function(){return Ut(r,n,e,t)}))},getOwnPropertyDescriptor:function(e,t){return Reflect.getOwnPropertyDescriptor(e._scopes[0],t)},getPrototypeOf:function(){return Reflect.getPrototypeOf(e[0])},has:function(e,t){return Vt(e).includes(t)},ownKeys:function(e){return Vt(e)},set:function(e,t,n){return(e._storage||(e._storage=a()))[t]=n,delete e[t],delete e._keys,!0}})}function Nt(e,t,n,r){var i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:Dt(e,r),setContext:function(t){return Nt(e,t,n,r)},override:function(i){return Nt(e.override(i),t,n,r)}};return new Proxy(i,{deleteProperty:function(t,n){return delete t[n],delete e[n],!0},get:function(e,t,n){return Rt(e,t,(function(){return function(e,t,n){var r=e._proxy,i=e._context,o=e._subProxy,a=e._descriptors,s=r[t];W(s)&&a.isScriptable(t)&&(s=function(e,t,n,r){var i=n._proxy,o=n._context,a=n._subProxy,s=n._stack;if(s.has(e))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+e);s.add(e),t=t(o,a||r),s.delete(e),E(t)&&(t=Bt(i._scopes,i,e,t));return t}(t,s,e,n));O(s)&&s.length&&(s=function(e,t,n,r){var i=n._proxy,o=n._context,a=n._subProxy,s=n._descriptors;if(U(o.index)&&r(e))t=t[o.index%t.length];else if(E(t[0])){var u=t,c=i._scopes.filter((function(e){return e!==u}));t=[];var l,f=Object(h.a)(u);try{for(f.s();!(l=f.n()).done;){var d=Bt(c,i,e,l.value);t.push(Nt(d,o,a&&a[e],s))}}catch(p){f.e(p)}finally{f.f()}}return t}(t,s,e,a.isIndexable));At(t,s)&&(s=Nt(s,i,o&&o[t],a));return s}(e,t,n)}))},getOwnPropertyDescriptor:function(t,n){return t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n)},getPrototypeOf:function(){return Reflect.getPrototypeOf(e)},has:function(t,n){return Reflect.has(e,n)},ownKeys:function(){return Reflect.ownKeys(e)},set:function(t,n,r){return e[n]=r,delete t[n],!0}})}function Dt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{scriptable:!0,indexable:!0},n=e._scriptable,r=void 0===n?t.scriptable:n,i=e._indexable,o=void 0===i?t.indexable:i,a=e._allKeys,s=void 0===a?t.allKeys:a;return{allKeys:s,scriptable:r,indexable:o,isScriptable:W(r)?r:function(){return r},isIndexable:W(o)?o:function(){return o}}}var Lt=function(e,t){return e?e+H(t):t},At=function(e,t){return E(t)&&"adapters"!==e};function Rt(e,t,n){var r=e[t];return U(r)||(r=n(),U(r)&&(e[t]=r)),r}function It(e,t,n){return W(e)?e(t,n):e}var zt=function(e,t){return!0===e?t:"string"===typeof e?B(t,e):void 0};function Ft(e,t,n,r){var i,o=Object(h.a)(t);try{for(o.s();!(i=o.n()).done;){var a=i.value,s=zt(n,a);if(s){e.add(s);var u=It(s._fallback,n,s);if(U(u)&&u!==n&&u!==r)return u}else if(!1===s&&U(r)&&n!==r)return null}}catch(c){o.e(c)}finally{o.f()}return!1}function Bt(e,t,n,r){var i=t._rootScopes,a=It(t._fallback,n,r),s=[].concat(Object(o.a)(e),Object(o.a)(i)),u=new Set;u.add(r);var c=Ht(u,s,n,a||n);return null!==c&&((!U(a)||a===n||null!==(c=Ht(u,s,a,c)))&&jt(Array.from(u),[""],i,a,(function(){return function(e,t,n){var r=e._getTarget();t in r||(r[t]={});var i=r[t];if(O(i)&&E(n))return n;return i}(t,n,r)})))}function Ht(e,t,n,r){for(;n;)n=Ft(e,t,n,r);return n}function Ut(e,t,n,r){var i,o,a=Object(h.a)(t);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(i=Wt(Lt(s,e),n),U(i))return At(e,i)?Bt(n,r,e,i):i}}catch(u){a.e(u)}finally{a.f()}}function Wt(e,t){var n,r=Object(h.a)(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i){var o=i[e];if(U(o))return o}}}catch(a){r.e(a)}finally{r.f()}}function Vt(e){var t=e._keys;return t||(t=e._keys=function(e){var t,n=new Set,r=Object(h.a)(e);try{for(r.s();!(t=r.n()).done;){var i,o=t.value,a=Object(h.a)(Object.keys(o).filter((function(e){return!e.startsWith("_")})));try{for(a.s();!(i=a.n()).done;){var s=i.value;n.add(s)}}catch(u){a.e(u)}finally{a.f()}}}catch(u){r.e(u)}finally{r.f()}return Array.from(n)}(e._scopes)),t}var Yt=Number.EPSILON||1e-14,qt=function(e,t){return t2&&void 0!==arguments[2]?arguments[2]:"x",a=Zt(o),s=e.length,u=qt(e,0),c=0;c1&&void 0!==arguments[1]?arguments[1]:"x",o=Zt(i),a=e.length,s=Array(a).fill(0),u=Array(a),c=qt(e,0);for(t=0;t0||t>0)&&(!n||!n.shadowRoot)}(s,u,i.target))n=s,r=u;else{var l=t.getBoundingClientRect();n=a.clientX-l.left,r=a.clientY-l.top,c=!0}return{x:n,y:r,box:c}}(e,n),c=u.x,l=u.y,f=u.box,d=a.left+(f&&s.left),p=a.top+(f&&s.top),h=t.width,m=t.height;return o&&(h-=a.width+s.width,m-=a.height+s.height),{x:Math.round((c-d)/h*n.width/r),y:Math.round((l-p)/m*n.height/r)}}var sn=function(e){return Math.round(10*e)/10};function un(e,t,n,r){var i=nn(e),o=on(i,"margin"),a=tn(i.maxWidth,e,"clientWidth")||Z,s=tn(i.maxHeight,e,"clientHeight")||Z,u=function(e,t,n){var r,i;if(void 0===t||void 0===n){var o=en(e);if(o){var a=o.getBoundingClientRect(),s=nn(o),u=on(s,"border","width"),c=on(s,"padding");t=a.width-c.width-u.width,n=a.height-c.height-u.height,r=tn(s.maxWidth,o,"clientWidth"),i=tn(s.maxHeight,o,"clientHeight")}else t=e.clientWidth,n=e.clientHeight}return{width:t,height:n,maxWidth:r||Z,maxHeight:i||Z}}(e,t,n),c=u.width,l=u.height;if("content-box"===i.boxSizing){var f=on(i,"border","width"),d=on(i,"padding");c-=d.width+f.width,l-=d.height+f.height}return c=Math.max(0,c-o.width),l=Math.max(0,r?Math.floor(c/r):l-o.height),c=sn(Math.min(c,a,u.maxWidth)),l=sn(Math.min(l,s,u.maxHeight)),c&&!l&&(l=sn(c/2)),{width:c,height:l}}function cn(e,t,n){var r=t||1,i=Math.floor(e.height*r),o=Math.floor(e.width*r);e.height=i/r,e.width=o/r;var a=e.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height="".concat(e.height,"px"),a.style.width="".concat(e.width,"px")),(e.currentDevicePixelRatio!==r||a.height!==i||a.width!==o)&&(e.currentDevicePixelRatio=r,a.height=i,a.width=o,e.ctx.setTransform(r,0,0,r,0,0),!0)}var ln=function(){var e=!1;try{var t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(n){}return e}();function fn(e,t){var n=function(e,t){return nn(e).getPropertyValue(t)}(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function dn(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function pn(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:"middle"===r?n<.5?e.y:t.y:"after"===r?n<1?e.y:t.y:n>0?t.y:e.y}}function hn(e,t,n,r){var i={x:e.cp2x,y:e.cp2y},o={x:t.cp1x,y:t.cp1y},a=dn(e,i,n),s=dn(i,o,n),u=dn(o,t,n),c=dn(a,s,n),l=dn(s,u,n);return dn(c,l,n)}var mn=new Map;function vn(e,t,n){return function(e,t){t=t||{};var n=e+JSON.stringify(t),r=mn.get(n);return r||(r=new Intl.NumberFormat(e,t),mn.set(n,r)),r}(t,n).format(e)}function gn(e,t,n){return e?function(e,t){return{x:function(n){return e+e+t-n},setWidth:function(e){t=e},textAlign:function(e){return"center"===e?e:"right"===e?"left":"right"},xPlus:function(e,t){return e-t},leftForLtr:function(e,t){return e-t}}}(t,n):{x:function(e){return e},setWidth:function(e){},textAlign:function(e){return e},xPlus:function(e,t){return e+t},leftForLtr:function(e,t){return e}}}function yn(e,t){var n,r;"ltr"!==t&&"rtl"!==t||(r=[(n=e.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)}function bn(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function _n(e){return"angle"===e?{between:le,compare:ue,normalize:ce}:{between:function(e,t,n){return e>=Math.min(t,n)&&e<=Math.max(n,t)},compare:function(e,t){return e-t},normalize:function(e){return e}}}function wn(e){var t=e.start,n=e.end,r=e.count;return{start:t%r,end:n%r,loop:e.loop&&(n-t+1)%r===0,style:e.style}}function xn(e,t,n){if(!n)return[e];for(var r,i,o,a=n.property,s=n.start,u=n.end,c=t.length,l=_n(a),f=l.compare,d=l.between,p=l.normalize,h=function(e,t,n){var r,i,o=n.property,a=n.start,s=n.end,u=_n(o),c=u.between,l=u.normalize,f=t.length,d=e.start,p=e.end,h=e.loop;if(h){for(d+=f,p+=f,r=0,i=f;r0&&void 0!==arguments[0]?arguments[0]:Date.now(),t=this,n=0;t._charts.forEach((function(r,i){if(r.running&&r.items.length){for(var o,a=r.items,s=a.length-1,u=!1;s>=0;--s)(o=a[s])._active?(o._total>r.duration&&(r.duration=o._total),o.tick(e),u=!0):(a[s]=a[a.length-1],a.pop());u&&(i.draw(),t._notify(i,r,e,"progress")),a.length||(r.running=!1,t._notify(i,r,e,"complete"),r.initial=!1),n+=a.length}})),t._lastDate=e,0===n&&(t._running=!1)}},{key:"_getAnims",value:function(e){var t=this._charts,n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}},{key:"listen",value:function(e,t,n){this._getAnims(e).listeners[t].push(n)}},{key:"add",value:function(e,t){var n;t&&t.length&&(n=this._getAnims(e).items).push.apply(n,Object(o.a)(t))}},{key:"has",value:function(e){return this._getAnims(e).items.length>0}},{key:"start",value:function(e){var t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((function(e,t){return Math.max(e,t._duration)}),0),this._refresh())}},{key:"running",value:function(e){if(!this._running)return!1;var t=this._charts.get(e);return!!(t&&t.running&&t.items.length)}},{key:"stop",value:function(e){var t=this._charts.get(e);if(t&&t.items.length){for(var n=t.items,r=n.length-1;r>=0;--r)n[r].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}}},{key:"remove",value:function(e){return this._charts.delete(e)}}]),e}()),Cn="transparent",Tn={boolean:function(e,t,n){return n>.5?t:e},color:function(e,t,n){var r=Qe(e||Cn),i=r.valid&&Qe(t||Cn);return i&&i.valid?i.mix(r,n).hexString():t},number:function(e,t,n){return e+(t-e)*n}},Pn=function(){function e(t,n,r,i){Object(m.a)(this,e);var o=n[r];i=Ot([t.to,i,o,t.from]);var a=Ot([t.from,o,i]);this._active=!0,this._fn=t.fn||Tn[t.type||typeof a],this._easing=me[t.easing]||me.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=r,this._from=a,this._to=i,this._promises=void 0}return Object(v.a)(e,[{key:"active",value:function(){return this._active}},{key:"update",value:function(e,t,n){var r=this;if(r._active){r._notify(!1);var i=r._target[r._prop],o=n-r._start,a=r._duration-o;r._start=n,r._duration=Math.floor(Math.max(a,e.duration)),r._total+=o,r._loop=!!e.loop,r._to=Ot([e.to,t,i,e.from]),r._from=Ot([e.from,i,t])}}},{key:"cancel",value:function(){var e=this;e._active&&(e.tick(Date.now()),e._active=!1,e._notify(!1))}},{key:"tick",value:function(e){var t,n=this,r=e-n._start,i=n._duration,o=n._prop,a=n._from,s=n._loop,u=n._to;if(n._active=a!==u&&(s||r1?2-t:t,t=n._easing(Math.min(1,Math.max(0,t))),n._target[o]=n._fn(a,u,t))}},{key:"wait",value:function(){var e=this._promises||(this._promises=[]);return new Promise((function(t,n){e.push({res:t,rej:n})}))}},{key:"_notify",value:function(e){for(var t=e?"res":"rej",n=this._promises||[],r=0;r=0;--n){var c=s[n];if("$"!==c.charAt(0))if("options"!==c){var l=t[c],f=a[c],d=r.get(c);if(f){if(d&&f.active()){f.update(d,l,u);continue}f.cancel()}d&&d.duration?(a[c]=f=new Pn(d,e,c,l),i.push(f)):e[c]=l}else i.push.apply(i,Object(o.a)(this._animateOptions(e,t)))}return i}},{key:"update",value:function(e,t){if(0!==this._properties.size){var n=this._createAnimations(e,t);return n.length?(Sn.add(this._chart,n),!0):void 0}Object.assign(e,t)}}]),e}();function Dn(e,t){var n=e&&e.options||{},r=n.reverse,i=void 0===n.min?t:0,o=void 0===n.max?t:0;return{start:r?o:i,end:r?i:o}}function Ln(e,t){var n,r,i=[],o=e._getSortedDatasetMetas(t);for(n=0,r=o.length;n0||!n&&a<0)return o.index}}catch(s){i.e(s)}finally{i.f()}return null}function Fn(e,t){for(var n,r=e.chart,i=e._cachedMeta,o=r._stacks||(r._stacks={}),a=i.iScale,s=i.vScale,u=i.index,c=a.axis,l=s.axis,f=function(e,t,n){return"".concat(e.id,".").concat(t.id,".").concat(n.stack||n.type)}(a,s,i),d=t.length,p=0;p0&&a._parsed[e-1];if(!1===o._parsing)a._parsed=s,a._sorted=!0,i=s;else{i=O(s[e])?o.parseArrayData(a,s,e,t):E(s[e])?o.parseObjectData(a,s,e,t):o.parsePrimitiveData(a,s,e,t);for(n=0;no||v=0;--n)if(!g()){a.updateRangeFromParsed(p,e,i,d);break}return p}},{key:"getAllParsedValues",value:function(e){var t,n,r,i=this._cachedMeta._parsed,o=[];for(t=0,n=i.length;t=0&&e1&&void 0!==arguments[1]?arguments[1]:"default",n=arguments.length>2?arguments[2]:void 0,r=this,i="active"===t,o=r._cachedDataOpts,a=e+"-"+t,s=o[a],u=r.enableOptionSharing&&U(n);if(s)return Wn(s,u);var c=r.chart.config,l=c.datasetElementScopeKeys(r._type,e),f=i?["".concat(e,"Hover"),"hover",e,""]:[e,""],d=c.getOptionScopes(r.getDataset(),l),p=Object.keys(tt.elements[e]),h=function(){return r.getContext(n,i)},m=c.resolveNamedOptions(d,p,h,f);return m.$shared&&(m.$shared=u,o[a]=Object.freeze(Wn(m,u))),m}},{key:"_resolveAnimations",value:function(e,t,n){var r,i=this,o=i.chart,a=i._cachedDataOpts,s="animation-".concat(t),u=a[s];if(u)return u;if(!1!==o.options.animation){var c=i.chart.config,l=c.datasetAnimationScopeKeys(i._type,t),f=c.getOptionScopes(i.getDataset(),l);r=c.createResolver(f,i.getContext(e,n,t))}var d=new Nn(o,r&&r.animations);return r&&r._cacheable&&(a[s]=Object.freeze(d)),d}},{key:"getSharedOptions",value:function(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}},{key:"includeOptions",value:function(e,t){return!t||Un(e)||this.chart._animationsDisabled}},{key:"updateElement",value:function(e,t,n,r){Un(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}},{key:"updateSharedOptions",value:function(e,t,n){e&&!Un(t)&&this._resolveAnimations(void 0,t).update(e,n)}},{key:"_setStyle",value:function(e,t,n,r){e.active=r;var i=this.getStyle(t,r);this._resolveAnimations(t,n,r).update(e,{options:!r&&this.getSharedOptions(i)||i})}},{key:"removeHoverStyle",value:function(e,t,n){this._setStyle(e,n,"active",!1)}},{key:"setHoverStyle",value:function(e,t,n){this._setStyle(e,n,"active",!0)}},{key:"_removeDatasetHoverStyle",value:function(){var e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}},{key:"_setDatasetHoverStyle",value:function(){var e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}},{key:"_resyncElements",value:function(e){var t,n=this,r=n._data,i=n._cachedMeta.data,o=Object(h.a)(n._syncList);try{for(o.s();!(t=o.n()).done;){var a=Object(d.a)(t.value,3),s=a[0],u=a[1],c=a[2];n[s](u,c)}}catch(m){o.e(m)}finally{o.f()}n._syncList=[];var l=i.length,f=r.length,p=Math.min(f,l);p&&n.parse(0,p),f>l?n._insertElements(l,f-l,e):f2&&void 0!==arguments[2])||arguments[2],i=this,o=i._cachedMeta,a=o.data,s=e+t,u=function(e){for(e.length+=t,n=e.length-1;n>=s;n--)e[n]=e[n-t]};for(u(a),n=e;nMath.abs(s)&&(u=s,c=a),t[n.axis]=c,t._custom={barStart:u,barEnd:c,start:i,end:o,min:a,max:s}}(e,t,n,r):t[n.axis]=n.parse(e,r),t}function Zn(e,t,n,r){var i,o,a,s,u=e.iScale,c=e.vScale,l=u.getLabels(),f=u===c,d=[];for(i=n,o=n+r;ie.x,n="left",r="right"):(t=e.base=n?1:-1)}(n,o,l)*c,h===l&&(y-=n/2),t=y+n),y===o.getPixelForValue(l)){var b=J(n)*o.getLineWidthForValue(l)/2;y+=b,n-=b}return{size:n,base:y,head:t,center:t+n/2}}},{key:"_calculateBarIndexPixels",value:function(e,t){var n,r,i=this,o=t.scale,a=i.options,s=a.skipNull,u=C(a.maxBarThickness,1/0);if(t.grouped){var c=s?i._getStackCount(e):t.stackCount,l="flex"===a.barThickness?function(e,t,n,r){var i=t.pixels,o=i[e],a=e>0?i[e-1]:null,s=e=0;--i)r=Math.max(r,t[i].size()/2,n[i]._custom);return r>0&&r}},{key:"getLabelAndValue",value:function(e){var t=this._cachedMeta,n=t.xScale,r=t.yScale,i=this.getParsed(e),o=n.getLabelForValue(i.x),a=r.getLabelForValue(i.y),s=i._custom;return{label:t.label,value:"("+o+", "+a+(s?", "+s:"")+")"}}},{key:"update",value:function(e){var t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}},{key:"updateElements",value:function(e,t,n,r){for(var i=this,o="reset"===r,a=i._cachedMeta,s=a.iScale,u=a.vScale,c=i.resolveDataElementOptions(t,r),l=i.getSharedOptions(c),f=i.includeOptions(r,l),d=s.axis,p=u.axis,h=t;h0&&!isNaN(e)?Y*(Math.abs(e)/t):0}},{key:"getLabelAndValue",value:function(e){var t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=vn(t._parsed[e],n.options.locale);return{label:r[e]||"",value:i}}},{key:"getMaxBorderWidth",value:function(e){var t,n,r,i,o,a=0,s=this.chart;if(!e)for(t=0,n=s.data.datasets.length;t0&&i.getParsed(t-1),b=t;b0&&w[p]-y[p]>v,x.parsed=w,d&&(x.options=f||i.resolveDataElementOptions(b,_.active?"active":r)),g||i.updateElement(_,b,x,r),y=w}i.updateSharedOptions(f,r,l)}},{key:"getMaxOverflow",value:function(){var e=this,t=e._cachedMeta,n=t.dataset,r=n.options&&n.options.borderWidth||0,i=t.data||[];if(!i.length)return r;var o=i[0].size(e.resolveDataElementOptions(0)),a=i[i.length-1].size(e.resolveDataElementOptions(i.length-1));return Math.max(r,o,a)/2}},{key:"draw",value:function(){var e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),c(Object(u.a)(n.prototype),"draw",this).call(this)}}]),n}(Vn);tr.id="line",tr.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},tr.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};var nr=function(e){Object(l.a)(n,e);var t=Object(f.a)(n);function n(e,r){var i;return Object(m.a)(this,n),(i=t.call(this,e,r)).innerRadius=void 0,i.outerRadius=void 0,i}return Object(v.a)(n,[{key:"getLabelAndValue",value:function(e){var t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=vn(t._parsed[e].r,n.options.locale);return{label:r[e]||"",value:i}}},{key:"update",value:function(e){var t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}},{key:"_updateRadius",value:function(){var e=this,t=e.chart,n=t.chartArea,r=t.options,i=Math.min(n.right-n.left,n.bottom-n.top),o=Math.max(i/2,0),a=(o-Math.max(r.cutoutPercentage?o/100*r.cutoutPercentage:1,0))/t.getVisibleDatasetCount();e.outerRadius=o-a*e.index,e.innerRadius=e.outerRadius-a}},{key:"updateElements",value:function(e,t,n,r){var i,o=this,a="reset"===r,s=o.chart,u=o.getDataset(),c=s.options.animation,l=o._cachedMeta.rScale,f=l.xCenter,d=l.yCenter,p=l.getIndexAngle(0)-.5*V,h=p,m=360/o.countVisibleElements();for(i=0;i0){var s=a[0].datasetIndex,u=e.getDatasetMeta(s).data;a=[];for(var c=0;c1){var a=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(a<1e-4||a>1e15)&&(r="scientific"),o=function(e,t){var n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e));return n}(e,n)}var s=G(Math.abs(o)),u=Math.max(Math.min(-1*Math.floor(s),20),0),c={notation:r,minimumFractionDigits:u,maximumFractionDigits:u};return Object.assign(c,this.options.ticks.format),vn(e,i,c)},logarithmic:function(e,t,n){if(0===e)return"0";var r=e/Math.pow(10,Math.floor(G(e)));return 1===r||2===r||5===r?Qr.numeric.call(this,e,t,n):""}};var Xr={formatters:Qr};function $r(e,t){var n=e.options.ticks,r=n.maxTicksLimit||function(e){var t=e.options.offset,n=e._tickSize(),r=e._length/n+(t?0:1),i=e._maxLength/n;return Math.floor(Math.min(r,i))}(e),i=n.major.enabled?function(e){var t,n,r=[];for(t=0,n=e.length;tr)return function(e,t,n,r){var i,o=0,a=n[0];for(r=Math.ceil(r),i=0;ii)return u}return Math.max(i,1)}(i,t,r);if(o>0){var l,f,d=o>1?Math.round((s-a)/(o-1)):null;for(Gr(t,u,c,k(d)?0:a-d,a),l=0,f=o-1;ls+u)))return c}function ni(e){return e.drawTicks?e.tickLength:0}function ri(e,t){if(!e.display)return 0;var n=kt(e.font,t),r=xt(e.padding);return(O(e.text)?e.text.length:1)*n.lineHeight+r.height}function ii(e,t,n){var r=b(e);return(n&&"right"!==t||!n&&"right"===t)&&(r=function(e){return"left"===e?"right":"right"===e?"left":e}(r)),r}var oi=function(e){Object(l.a)(n,e);var t=Object(f.a)(n);function n(e){var r;return Object(m.a)(this,n),(r=t.call(this)).id=e.id,r.type=e.type,r.options=void 0,r.ctx=e.ctx,r.chart=e.chart,r.top=void 0,r.bottom=void 0,r.left=void 0,r.right=void 0,r.width=void 0,r.height=void 0,r._margins={left:0,right:0,top:0,bottom:0},r.maxWidth=void 0,r.maxHeight=void 0,r.paddingTop=void 0,r.paddingBottom=void 0,r.paddingLeft=void 0,r.paddingRight=void 0,r.axis=void 0,r.labelRotation=void 0,r.min=void 0,r.max=void 0,r._range=void 0,r.ticks=[],r._gridLineItems=null,r._labelItems=null,r._labelSizes=null,r._length=0,r._maxLength=0,r._longestTextCache={},r._startPixel=void 0,r._endPixel=void 0,r._reversePixels=!1,r._userMax=void 0,r._userMin=void 0,r._suggestedMax=void 0,r._suggestedMin=void 0,r._ticksLength=0,r._borderValue=0,r._cache={},r._dataLimitsCached=!1,r.$context=void 0,r}return Object(v.a)(n,[{key:"init",value:function(e){var t=this;t.options=e.setContext(t.getContext()),t.axis=e.axis,t._userMin=t.parse(e.min),t._userMax=t.parse(e.max),t._suggestedMin=t.parse(e.suggestedMin),t._suggestedMax=t.parse(e.suggestedMax)}},{key:"parse",value:function(e,t){return e}},{key:"getUserBounds",value:function(){var e=this._userMin,t=this._userMax,n=this._suggestedMin,r=this._suggestedMax;return e=S(e,Number.POSITIVE_INFINITY),t=S(t,Number.NEGATIVE_INFINITY),n=S(n,Number.POSITIVE_INFINITY),r=S(r,Number.NEGATIVE_INFINITY),{min:S(e,n),max:S(t,r),minDefined:M(e),maxDefined:M(t)}}},{key:"getMinMax",value:function(e){var t,n=this,r=n.getUserBounds(),i=r.min,o=r.max,a=r.minDefined,s=r.maxDefined;if(a&&s)return{min:i,max:o};for(var u=n.getMatchingVisibleMetas(),c=0,l=u.length;c=u||a<=1||!r.isHorizontal())r.labelRotation=s;else{var l=r._getLabelSizes(),f=l.widest.width,d=l.highest.height,p=fe(r.chart.width-f,0,r.maxWidth);f+6>(e=i.offset?r.maxWidth/a:p/(a-1))&&(e=p/(a-(i.offset?.5:1)),t=r.maxHeight-ni(i.grid)-o.padding-ri(i.title,r.chart.options.font),n=Math.sqrt(f*f+d*d),c=oe(Math.min(Math.asin(fe((l.highest.height+6)/e,-1,1)),Math.asin(fe(t/n,-1,1))-Math.asin(fe(d/n,-1,1)))),c=Math.max(s,Math.min(u,c))),r.labelRotation=c}}},{key:"afterCalculateLabelRotation",value:function(){P(this.options.afterCalculateLabelRotation,[this])}},{key:"beforeFit",value:function(){P(this.options.beforeFit,[this])}},{key:"fit",value:function(){var e=this,t={width:0,height:0},n=e.chart,r=e.options,i=r.ticks,o=r.title,a=r.grid,s=e._isVisible(),u=e.isHorizontal();if(s){var c=ri(o,n.options.font);if(u?(t.width=e.maxWidth,t.height=ni(a)+c):(t.height=e.maxHeight,t.width=ni(a)+c),i.display&&e.ticks.length){var l=e._getLabelSizes(),f=l.first,d=l.last,p=l.widest,h=l.highest,m=2*i.padding,v=ie(e.labelRotation),g=Math.cos(v),y=Math.sin(v);if(u){var b=i.mirror?0:y*p.width+g*h.height;t.height=Math.min(e.maxHeight,t.height+b+m)}else{var _=i.mirror?0:g*p.width+y*h.height;t.width=Math.min(e.maxWidth,t.width+_+m)}e._calculatePadding(f,d,y,g)}}e._handleMargins(),u?(e.width=e._length=n.width-e._margins.left-e._margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=n.height-e._margins.top-e._margins.bottom)}},{key:"_calculatePadding",value:function(e,t,n,r){var i=this,o=i.options,a=o.ticks,s=a.align,u=a.padding,c=o.position,l=0!==i.labelRotation,f="top"!==c&&"x"===i.axis;if(i.isHorizontal()){var d=i.getPixelForTick(0)-i.left,p=i.right-i.getPixelForTick(i.ticks.length-1),h=0,m=0;l?f?(h=r*e.width,m=n*t.height):(h=n*e.height,m=r*t.width):"start"===s?m=t.width:"end"===s?h=e.width:(h=e.width/2,m=t.width/2),i.paddingLeft=Math.max((h-d+u)*i.width/(i.width-d),0),i.paddingRight=Math.max((m-p+u)*i.width/(i.width-p),0)}else{var v=t.height/2,g=e.height/2;"start"===s?(v=0,g=e.height):"end"===s&&(v=t.height,g=0),i.paddingTop=v+u,i.paddingBottom=g+u}}},{key:"_handleMargins",value:function(){var e=this;e._margins&&(e._margins.left=Math.max(e.paddingLeft,e._margins.left),e._margins.top=Math.max(e.paddingTop,e._margins.top),e._margins.right=Math.max(e.paddingRight,e._margins.right),e._margins.bottom=Math.max(e.paddingBottom,e._margins.bottom))}},{key:"afterFit",value:function(){P(this.options.afterFit,[this])}},{key:"isHorizontal",value:function(){var e=this.options,t=e.axis,n=e.position;return"top"===n||"bottom"===n||"x"===t}},{key:"isFullSize",value:function(){return this.options.fullSize}},{key:"_convertTicksToLabels",value:function(e){var t,n,r=this;for(r.beforeTickToLabelConversion(),r.generateTickLabels(e),t=0,n=e.length;tt){for(n=0;nt.length-1?null:this.getPixelForValue(t[e].value)}},{key:"getPixelForDecimal",value:function(e){var t=this;t._reversePixels&&(e=1-e);var n=t._startPixel+e*t._length;return fe(t._alignToPixels?it(t.chart,n,0):n,-32768,32767)}},{key:"getDecimalForPixel",value:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}},{key:"getBasePixel",value:function(){return this.getPixelForValue(this.getBaseValue())}},{key:"getBaseValue",value:function(){var e=this.min,t=this.max;return e<0&&t<0?t:e>0&&t>0?e:0}},{key:"getContext",value:function(e){var t,n,r=this,i=r.ticks||[];if(e>=0&&es*i?s/r:u/i:u*i0}},{key:"_computeGridLineItems",value:function(e){var t,n,r,i,o,a,s,u,c,l,f,d,p=this,h=p.axis,m=p.chart,v=p.options,g=v.grid,y=v.position,b=g.offset,_=p.isHorizontal(),w=p.ticks.length+(b?1:0),x=ni(g),k=[],O=g.setContext(p.getContext()),M=O.drawBorder?O.borderWidth:0,S=M/2,T=function(e){return it(m,e,M)};if("top"===y)t=T(p.bottom),a=p.bottom-x,u=t-S,l=T(e.top)+S,d=e.bottom;else if("bottom"===y)t=T(p.top),l=e.top,d=T(e.bottom)-S,a=t+S,u=p.top+x;else if("left"===y)t=T(p.right),o=p.right-x,s=t-S,c=T(e.left)+S,f=e.right;else if("right"===y)t=T(p.left),c=e.left,f=T(e.right)-S,o=t+S,s=p.left+x;else if("x"===h){if("center"===y)t=T((e.top+e.bottom)/2+.5);else if(E(y)){var P=Object.keys(y)[0],j=y[P];t=T(p.chart.scales[P].getPixelForValue(j))}l=e.top,d=e.bottom,u=(a=t+S)+x}else if("y"===h){if("center"===y)t=T((e.left+e.right)/2);else if(E(y)){var N=Object.keys(y)[0],D=y[N];t=T(p.chart.scales[N].getPixelForValue(D))}s=(o=t-S)-x,c=e.left,f=e.right}var L=C(v.ticks.maxTicksLimit,w),A=Math.max(1,Math.ceil(w/L));for(n=0;n=0?n.setContext(t.getContext(r)).lineWidth:0}},{key:"drawGrid",value:function(e){var t,n,r=this,i=r.options.grid,o=r.ctx,a=r._gridLineItems||(r._gridLineItems=r._computeGridLineItems(e)),s=function(e,t,n){n.width&&n.color&&(o.save(),o.lineWidth=n.width,o.strokeStyle=n.color,o.setLineDash(n.borderDash||[]),o.lineDashOffset=n.borderDashOffset,o.beginPath(),o.moveTo(e.x,e.y),o.lineTo(t.x,t.y),o.stroke(),o.restore())};if(i.display)for(t=0,n=a.length;t3&&void 0!==arguments[3]?arguments[3]:[""],i={$shared:!0},o=_i(this._resolverCache,e,r),a=o.resolver,s=o.subPrefixes,u=a;if(wi(a,t)){i.$shared=!1,n=W(n)?n():n;var c=this.createResolver(e,n,s);u=Nt(a,n,c)}var l,f=Object(h.a)(t);try{for(f.s();!(l=f.n()).done;){var d=l.value;i[d]=u[d]}}catch(p){f.e(p)}finally{f.f()}return i}},{key:"createResolver",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[""],r=arguments.length>3?arguments[3]:void 0,i=_i(this._resolverCache,e,n),o=i.resolver;return E(t)?Nt(o,t,void 0,r):o}}]),e}();function _i(e,t,n){var r=e.get(t);r||(r=new Map,e.set(t,r));var i=n.join(),o=r.get(i);o||(o={resolver:jt(t,n),subPrefixes:n.filter((function(e){return!e.toLowerCase().includes("hover")}))},r.set(i,o));return o}function wi(e,t){var n,r=Dt(e),i=r.isScriptable,o=r.isIndexable,a=Object(h.a)(t);try{for(a.s();!(n=a.n()).done;){var s=n.value;if(i(s)&&W(e[s])||o(s)&&O(e[s]))return!0}}catch(u){a.e(u)}finally{a.f()}return!1}var xi=["top","bottom","left","right","chartArea"];function ki(e,t){return"top"===e||"bottom"===e||-1===xi.indexOf(e)&&"x"===t}function Oi(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function Ei(e){var t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),P(n&&n.onComplete,[e],t)}function Mi(e){var t=e.chart,n=t.options.animation;P(n&&n.onProgress,[e],t)}function Si(e){return Jt()&&"string"===typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var Ci={},Ti=function(e){var t=Si(e);return Object.values(Ci).filter((function(e){return e.canvas===t})).pop()},Pi=function(){function e(t,n){var r=this;Object(m.a)(this,e);var i=this,o=this.config=new bi(n),a=Si(t),s=Ti(a);if(s)throw new Error("Canvas is already in use. Chart with ID '"+s.id+"' must be destroyed before the canvas can be reused.");var u=o.createResolver(o.chartOptionScopes(),i.getContext());this.platform=new(o.platform||function(e){return!Jt()||"undefined"!==typeof OffscreenCanvas&&e instanceof OffscreenCanvas?Lr:Zr}(a));var c=i.platform.acquireContext(a,u.aspectRatio),l=c&&c.canvas,f=l&&l.height,d=l&&l.width;this.id=x(),this.ctx=c,this.canvas=l,this.width=d,this.height=f,this._options=u,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new ui,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(e,t){var n;return function(){return t?(clearTimeout(n),n=setTimeout(e,t)):e(),t}}((function(){return r.update("resize")}),u.resizeDelay||0),Ci[i.id]=i,c&&l?(Sn.listen(i,"complete",Ei),Sn.listen(i,"progress",Mi),i._initialize(),i.attached&&i.update()):console.error("Failed to create chart: can't acquire context from the given item")}return Object(v.a)(e,[{key:"aspectRatio",get:function(){var e=this.options,t=e.aspectRatio,n=e.maintainAspectRatio,r=this.width,i=this.height,o=this._aspectRatio;return k(t)?n&&o?o:i?r/i:null:t}},{key:"data",get:function(){return this.config.data},set:function(e){this.config.data=e}},{key:"options",get:function(){return this._options},set:function(e){this.config.options=e}},{key:"_initialize",value:function(){var e=this;return e.notifyPlugins("beforeInit"),e.options.responsive?e.resize():cn(e,e.options.devicePixelRatio),e.bindEvents(),e.notifyPlugins("afterInit"),e}},{key:"clear",value:function(){return ot(this.canvas,this.ctx),this}},{key:"stop",value:function(){return Sn.stop(this),this}},{key:"resize",value:function(e,t){Sn.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}},{key:"_resize",value:function(e,t){var n=this,r=n.options,i=n.canvas,o=r.maintainAspectRatio&&n.aspectRatio,a=n.platform.getMaximumSize(i,e,t,o),s=r.devicePixelRatio||n.platform.getDevicePixelRatio();n.width=a.width,n.height=a.height,n._aspectRatio=n.aspectRatio,cn(n,s,!0)&&(n.notifyPlugins("resize",{size:a}),P(r.onResize,[n,a],n),n.attached&&n._doResize()&&n.render())}},{key:"ensureScalesHaveIDs",value:function(){j(this.options.scales||{},(function(e,t){e.id=t}))}},{key:"buildOrUpdateScales",value:function(){var e=this,t=e.options,n=t.scales,r=e.scales,i=Object.keys(r).reduce((function(e,t){return e[t]=!1,e}),{}),o=[];n&&(o=o.concat(Object.keys(n).map((function(e){var t=n[e],r=di(e,t),i="r"===r,o="x"===r;return{options:t,dposition:i?"chartArea":o?"bottom":"left",dtype:i?"radialLinear":o?"category":"linear"}})))),j(o,(function(n){var o=n.options,a=o.id,s=di(a,o),u=C(o.type,n.dtype);void 0!==o.position&&ki(o.position,s)===ki(n.dposition)||(o.position=n.dposition),i[a]=!0;var c=null;a in r&&r[a].type===u?c=r[a]:(c=new(si.getScale(u))({id:a,type:u,ctx:e.ctx,chart:e}),r[c.id]=c);c.init(o,t)})),j(i,(function(e,t){e||delete r[t]})),j(r,(function(t){jr(e,t,t.options),Tr(e,t)}))}},{key:"_updateMetasets",value:function(){var e=this,t=e._metasets,n=e.data.datasets.length,r=t.length;if(t.sort((function(e,t){return e.index-t.index})),r>n){for(var i=n;in.length&&delete e._stacks,t.forEach((function(t,r){0===n.filter((function(e){return e===t._dataset})).length&&e._destroyDatasetMeta(r)}))}},{key:"buildOrUpdateControllers",value:function(){var e,t,n=this,r=[],i=n.data.datasets;for(n._removeUnreferencedMetasets(),e=0,t=i.length;e=0;--n)e._drawDataset(t[n]);e.notifyPlugins("afterDatasetsDraw")}}},{key:"_drawDataset",value:function(e){var t=this,n=t.ctx,r=e._clip,i=!r.disabled,o=t.chartArea,a={meta:e,index:e.index,cancelable:!0};!1!==t.notifyPlugins("beforeDatasetDraw",a)&&(i&&ut(n,{left:!1===r.left?0:o.left-r.left,right:!1===r.right?t.width:o.right+r.right,top:!1===r.top?0:o.top-r.top,bottom:!1===r.bottom?t.height:o.bottom+r.bottom}),e.controller.draw(),i&&ct(n),a.cancelable=!1,t.notifyPlugins("afterDatasetDraw",a))}},{key:"getElementsAtEventForMode",value:function(e,t,n,r){var i=vr.modes[t];return"function"===typeof i?i(this,e,n,r):[]}},{key:"getDatasetMeta",value:function(e){var t=this.data.datasets[e],n=this._metasets,r=n.filter((function(e){return e&&e._dataset===t})).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},n.push(r)),r}},{key:"getContext",value:function(){return this.$context||(this.$context={chart:this,type:"chart"})}},{key:"getVisibleDatasetCount",value:function(){return this.getSortedVisibleDatasetMetas().length}},{key:"isDatasetVisible",value:function(e){var t=this.data.datasets[e];if(!t)return!1;var n=this.getDatasetMeta(e);return"boolean"===typeof n.hidden?!n.hidden:!t.hidden}},{key:"setDatasetVisibility",value:function(e,t){this.getDatasetMeta(e).hidden=!t}},{key:"toggleDataVisibility",value:function(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}},{key:"getDataVisibility",value:function(e){return!this._hiddenIndices[e]}},{key:"_updateVisibility",value:function(e,t,n){var r=this,i=n?"show":"hide",o=r.getDatasetMeta(e),a=o.controller._resolveAnimations(void 0,i);U(t)?(o.data[t].hidden=!n,r.update()):(r.setDatasetVisibility(e,n),a.update(o,{visible:n}),r.update((function(t){return t.datasetIndex===e?i:void 0})))}},{key:"hide",value:function(e,t){this._updateVisibility(e,t,!1)}},{key:"show",value:function(e,t){this._updateVisibility(e,t,!0)}},{key:"_destroyDatasetMeta",value:function(e){var t=this,n=t._metasets&&t._metasets[e];n&&n.controller&&(n.controller._destroy(),delete t._metasets[e])}},{key:"destroy",value:function(){var e,t,n=this,r=n.canvas,i=n.ctx;for(n.stop(),Sn.remove(n),e=0,t=n.data.datasets.length;ei?(c=i/u,e.arc(o,a,u,n+c,r-c,!0)):e.arc(o,a,i,n+Q,r-Q),e.closePath(),e.clip()}function Li(e,t,n,r){var i=bt(e.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]),o=(n-t)/2,a=Math.min(o,r*t/2),s=function(e){var t=(n-Math.min(o,e))*r/2;return fe(e,0,Math.min(o,t))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:fe(i.innerStart,0,a),innerEnd:fe(i.innerEnd,0,a)}}function Ai(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function Ri(e,t,n,r,i){var o=t.x,a=t.y,s=t.startAngle,u=t.pixelMargin,c=t.innerRadius,l=Math.max(t.outerRadius+r+n-u,0),f=c>0?c+r+n+u:0,d=0,p=i-s;if(r){var h=((c>0?c-r:0)+(l>0?l-r:0))/2;d=(p-(0!==h?p*h/(h+r):p))/2}var m=(p-Math.max(.001,p*l-n/V)/l)/2,v=s+m+d,g=i-m-d,y=Li(t,f,l,g-v),b=y.outerStart,_=y.outerEnd,w=y.innerStart,x=y.innerEnd,k=l-b,O=l-_,E=v+b/k,M=g-_/O,S=f+w,C=f+x,T=v+w/S,P=g-x/C;if(e.beginPath(),e.arc(o,a,l,E,M),_>0){var j=Ai(O,M,o,a);e.arc(j.x,j.y,_,M,g+Q)}var N=Ai(C,g,o,a);if(e.lineTo(N.x,N.y),x>0){var D=Ai(C,P,o,a);e.arc(D.x,D.y,x,g+Q,P+Math.PI)}if(e.arc(o,a,f,g-x/f,v+w/f,!0),w>0){var L=Ai(S,T,o,a);e.arc(L.x,L.y,w,T+Math.PI,v-Q)}var A=Ai(k,v,o,a);if(e.lineTo(A.x,A.y),b>0){var R=Ai(k,E,o,a);e.arc(R.x,R.y,b,v-Q,E)}e.closePath()}function Ii(e,t,n,r,i){var o=t.options,a="inner"===o.borderAlign;o.borderWidth&&(a?(e.lineWidth=2*o.borderWidth,e.lineJoin="round"):(e.lineWidth=o.borderWidth,e.lineJoin="bevel"),t.fullCircles&&function(e,t,n){var r,i=t.x,o=t.y,a=t.startAngle,s=t.pixelMargin,u=t.fullCircles,c=Math.max(t.outerRadius-s,0),l=t.innerRadius+s;for(n&&Di(e,t,a+Y),e.beginPath(),e.arc(i,o,l,a+Y,a,!0),r=0;r=Y||le(i,s,u))&&(o>=c+d&&o<=l+d)}},{key:"getCenterPoint",value:function(e){var t=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],e),n=t.x,r=t.y,i=t.startAngle,o=t.endAngle,a=t.innerRadius,s=t.outerRadius,u=this.options,c=u.offset,l=(i+o)/2,f=(a+s+u.spacing+c)/2;return{x:n+Math.cos(l)*f,y:r+Math.sin(l)*f}}},{key:"tooltipPosition",value:function(e){return this.getCenterPoint(e)}},{key:"draw",value:function(e){var t=this,n=t.options,r=t.circumference,i=(n.offset||0)/2,o=(n.spacing||0)/2;if(t.pixelMargin="inner"===n.borderAlign?.33:0,t.fullCircles=r>Y?Math.floor(r/Y):0,!(0===r||t.innerRadius<0||t.outerRadius<0)){e.save();var a=0;if(i){a=i/2;var s=(t.startAngle+t.endAngle)/2;e.translate(Math.cos(s)*a,Math.sin(s)*a),t.circumference>=V&&(a=i)}e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor;var u=function(e,t,n,r){var i=t.fullCircles,o=t.startAngle,a=t.circumference,s=t.endAngle;if(i){Ri(e,t,n,r,o+Y);for(var u=0;u2&&void 0!==arguments[2]?arguments[2]:t;e.lineCap=C(n.borderCapStyle,t.borderCapStyle),e.setLineDash(C(n.borderDash,t.borderDash)),e.lineDashOffset=C(n.borderDashOffset,t.borderDashOffset),e.lineJoin=C(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=C(n.borderWidth,t.borderWidth),e.strokeStyle=C(n.borderColor,t.borderColor)}function Bi(e,t,n){e.lineTo(n.x,n.y)}function Hi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=e.length,i=n.start,o=void 0===i?0:i,a=n.end,s=void 0===a?r-1:a,u=t.start,c=t.end,l=Math.max(o,u),f=Math.min(s,c),d=oc&&s>c;return{count:r,start:l,loop:t.loop,ilen:fu&&(u=O),b=(_*b+k)/++_):(x(),e.lineTo(k,O),a=E,_=0,s=u=O),c=O}x()}function Vi(e){var t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&"monotone"!==t.cubicInterpolationMode&&!t.stepped&&!n?Wi:Ui}zi.id="arc",zi.defaults={borderAlign:"center",borderColor:"#fff",borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0},zi.defaultRoutes={backgroundColor:"backgroundColor"};var Yi="function"===typeof Path2D;function qi(e,t,n,r){Yi&&1===t.segments.length?function(e,t,n,r){var i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),Fi(e,t.options),e.stroke(i)}(e,t,n,r):function(e,t,n,r){var i,o=t.segments,a=t.options,s=Vi(t),u=Object(h.a)(o);try{for(u.s();!(i=u.n()).done;){var c=i.value;Fi(e,a,c.style),e.beginPath(),s(e,t,c,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}}catch(l){u.e(l)}finally{u.f()}}(e,t,n,r)}var Zi=function(e){Object(l.a)(n,e);var t=Object(f.a)(n);function n(e){var r;return Object(m.a)(this,n),(r=t.call(this)).animated=!0,r.options=void 0,r._loop=void 0,r._fullLoop=void 0,r._path=void 0,r._points=void 0,r._segments=void 0,r._decimated=!1,r._pointsUpdated=!1,r._datasetIndex=void 0,e&&Object.assign(Object(s.a)(r),e),r}return Object(v.a)(n,[{key:"updateControlPoints",value:function(e,t){var n=this,r=n.options;if((r.tension||"monotone"===r.cubicInterpolationMode)&&!r.stepped&&!n._pointsUpdated){var i=r.spanGaps?n._loop:n._fullLoop;Gt(n._points,r,e,i,t),n._pointsUpdated=!0}}},{key:"points",get:function(){return this._points},set:function(e){var t=this;t._points=e,delete t._segments,delete t._path,t._pointsUpdated=!1}},{key:"segments",get:function(){return this._segments||(this._segments=function(e,t){var n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];var o=!!e._loop,a=function(e,t,n,r){var i=0,o=t-1;if(n&&!r)for(;ii&&e[o%t].skip;)o--;return{start:i,end:o%=t}}(n,i,o,r),s=a.start,u=a.end;return On(e,!0===r?[{start:s,end:u,loop:o}]:function(e,t,n,r){var i,o=e.length,a=[],s=t,u=e[t];for(i=t+1;i<=n;++i){var c=e[i%o];c.skip||c.stop?u.skip||(r=!1,a.push({start:t%o,end:(i-1)%o,loop:r}),t=s=c.stop?i:null):(s=i,u.skip&&(t=i)),u=c}return null!==s&&a.push({start:t%o,end:s%o,loop:r}),a}(n,s,u=a.left&&t<=a.right)&&(o||n>=a.top&&n<=a.bottom)}function eo(e,t){e.rect(t.x,t.y,t.w,t.h)}function to(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=e.x!==n.x?-t:0,i=e.y!==n.y?-t:0,o=(e.x+e.w!==n.x+n.w?t:0)-r,a=(e.y+e.h!==n.y+n.h?t:0)-i;return{x:e.x+r,y:e.y+i,w:e.w+o,h:e.h+a,radius:e.radius}}Qi.id="point",Qi.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},Qi.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var no=function(e){Object(l.a)(n,e);var t=Object(f.a)(n);function n(e){var r;return Object(m.a)(this,n),(r=t.call(this)).options=void 0,r.horizontal=void 0,r.base=void 0,r.width=void 0,r.height=void 0,e&&Object.assign(Object(s.a)(r),e),r}return Object(v.a)(n,[{key:"draw",value:function(e){var t,n=this.options,r=Gi(this),i=r.inner,o=r.outer,a=(t=o.radius).topLeft||t.topRight||t.bottomLeft||t.bottomRight?mt:eo,s=.33;e.save(),o.w===i.w&&o.h===i.h||(e.beginPath(),a(e,to(o,s,i)),e.clip(),a(e,to(i,-.33,o)),e.fillStyle=n.borderColor,e.fill("evenodd")),e.beginPath(),a(e,to(i,s,o)),e.fillStyle=n.backgroundColor,e.fill(),e.restore()}},{key:"inRange",value:function(e,t,n){return Ji(this,e,t,n)}},{key:"inXRange",value:function(e,t){return Ji(this,e,null,t)}},{key:"inYRange",value:function(e,t){return Ji(this,null,e,t)}},{key:"getCenterPoint",value:function(e){var t=this.getProps(["x","y","base","horizontal"],e),n=t.x,r=t.y,i=t.base,o=t.horizontal;return{x:o?(n+i)/2:n,y:o?r:(r+i)/2}}},{key:"getRange",value:function(e){return"x"===e?this.width/2:this.height/2}}]),n}(Kr);no.id="bar",no.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,enableBorderRadius:!0,pointStyle:void 0},no.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var ro=Object.freeze({__proto__:null,ArcElement:zi,LineElement:Zi,PointElement:Qi,BarElement:no});function io(e){if(e._decimated){var t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{value:t})}}function oo(e){e.data.datasets.forEach((function(e){io(e)}))}var ao={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:function(e,t,n){if(n.enabled){var r=e.width;e.data.datasets.forEach((function(t,i){var o=t._data,s=t.indexAxis,u=e.getDatasetMeta(i),c=o||t.data;if("y"!==Ot([s,e.options.indexAxis])&&"line"===u.type){var l=e.scales[u.xAxisID];if(("linear"===l.type||"time"===l.type)&&!e.options.parsing){var f=function(e,t){var n=t.length,r=0,i=e.iScale,o=i.getUserBounds(),a=o.min,s=o.max,u=o.minDefined,c=o.maxDefined;return u&&(r=fe(Mt(t,i.axis,a).lo,0,n-1)),{start:r,count:c?fe(Mt(t,i.axis,s).hi+1,r,n)-r:n-r}}(u,c),d=f.start,p=f.count;if(p<=(n.threshold||4*r))io(t);else{var h;switch(k(o)&&(t._data=c,delete t.data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(e){this._data=e}})),n.algorithm){case"lttb":h=function(e,t,n,r,i){var o=i.samples||r;if(o>=n)return e.slice(t,t+n);var a,s,u,c,l,f=[],d=(n-2)/(o-2),p=0,h=t+n-1,m=t;for(f[p++]=e[m],a=0;au&&(u=c,s=e[y],l=y);f[p++]=s,m=l}return f[p++]=e[h],f}(c,d,p,r,n);break;case"min-max":h=function(e,t,n,r){var i,o,s,u,c,l,f,d,p,h,m=0,v=0,g=[],y=t+n-1,b=e[t].x,_=e[y].x-b;for(i=t;ih&&(h=u,f=i),m=(v*m+o.x)/++v;else{var x=i-1;if(!k(l)&&!k(f)){var O=Math.min(l,f),E=Math.max(l,f);O!==d&&O!==x&&g.push(Object(a.a)(Object(a.a)({},e[O]),{},{x:m})),E!==d&&E!==x&&g.push(Object(a.a)(Object(a.a)({},e[E]),{},{x:m}))}i>0&&x!==d&&g.push(e[x]),g.push(o),c=w,v=0,p=h=u,l=f=d=i}}return g}(c,d,p,r);break;default:throw new Error("Unsupported decimation algorithm '".concat(n.algorithm,"'"))}t._decimated=h}}}}))}else oo(e)},destroy:function(e){oo(e)}};function so(e,t,n){var r=function(e){var t=e.options,n=t.fill,r=C(n&&n.target,n);return void 0===r&&(r=!!t.backgroundColor),!1!==r&&null!==r&&(!0===r?"origin":r)}(e);if(E(r))return!isNaN(r.value)&&r;var i=parseFloat(r);return M(i)&&Math.floor(i)===i?("-"!==r[0]&&"+"!==r[0]||(i=t+i),!(i===t||i<0||i>=n)&&i):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}var uo=function(){function e(t){Object(m.a)(this,e),this.x=t.x,this.y=t.y,this.radius=t.radius}return Object(v.a)(e,[{key:"pathSegment",value:function(e,t,n){var r=this.x,i=this.y,o=this.radius;return t=t||{start:0,end:Y},e.arc(r,i,o,t.end,t.start,!0),!n.bounds}},{key:"interpolate",value:function(e){var t=this.x,n=this.y,r=this.radius,i=e.angle;return{x:t+Math.cos(i)*r,y:n+Math.sin(i)*r,angle:i}}}]),e}();function co(e){return(e.scale||{}).getPointPositionForValue?function(e){var t,n,r,i=e.scale,o=e.fill,a=i.options,s=i.getLabels().length,u=[],c=a.reverse?i.max:i.min,l=a.reverse?i.min:i.max;if(r="start"===o?c:"end"===o?l:E(o)?o.value:i.getBaseValue(),a.grid.circular)return n=i.getPointPositionForValue(0,c),new uo({x:n.x,y:n.y,radius:i.getDistanceFromCenterForValue(r)});for(t=0;te;t--){var r=n[t];if(!isNaN(r.x)&&!isNaN(r.y))break}return t}function fo(e){var t=e.chart,n=e.scale,r=e.index,i=e.line,o=[],a=i.segments,s=i.points,u=function(e,t){for(var n=[],r=e.getSortedVisibleDatasetMetas(),i=0;i=f&&i<=d){s=i===f,u=i===d;break}}return{first:s,last:u,point:r}}function vo(e,t){var n=[],r=!1;return O(e)?(r=!0,n=e):n=function(e,t){var n=e||{},r=n.x,i=void 0===r?null:r,o=n.y,a=void 0===o?null:o,s=t.points,u=[];return t.segments.forEach((function(e){var t=e.start,n=e.end;n=lo(t,n,s);var r=s[t],o=s[n];null!==a?(u.push({x:r.x,y:a}),u.push({x:o.x,y:a})):null!==i&&(u.push({x:i,y:r.y}),u.push({x:i,y:o.y}))})),u}(e,t),n.length?new Zi({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function go(e,t,n){var r,i=e[t].fill,o=[t];if(!n)return i;for(;!1!==i&&-1===o.indexOf(i);){if(!M(i))return i;if(!(r=e[i]))return!1;if(r.visible)return i;o.push(i),i=r.fill}return!1}function yo(e,t,n){e.beginPath(),t.path(e),e.lineTo(t.last().x,n),e.lineTo(t.first().x,n),e.closePath(),e.clip()}function bo(e,t,n,r){if(!r){var i=t[e],o=n[e];return"angle"===e&&(i=ce(i),o=ce(o)),{property:e,start:i,end:o}}}function _o(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function wo(e,t,n){var r=t.chart.chartArea,i=r.top,o=r.bottom,a=n||{},s=a.property,u=a.start,c=a.end;"x"===s&&(e.beginPath(),e.rect(u,i,c-u,o-i),e.clip())}function xo(e,t,n,r){var i=t.interpolate(n,r);i&&e.lineTo(i.x,i.y)}function ko(e,t){var n,r=t.line,i=t.target,o=t.property,a=t.color,s=t.scale,u=function(e,t,n){var r,i=e.segments,o=e.points,a=t.points,s=[],u=Object(h.a)(i);try{for(u.s();!(r=u.n()).done;){var c=r.value,l=c.start,f=c.end;f=lo(l,f,o);var d=bo(n,o[l],o[f],c.loop);if(t.segments){var m,v=kn(t,d),g=Object(h.a)(v);try{for(g.s();!(m=g.n()).done;){var y,b=m.value,_=bo(n,a[b.start],a[b.end],b.loop),w=xn(c,o,_),x=Object(h.a)(w);try{for(x.s();!(y=x.n()).done;){var k=y.value;s.push({source:k,target:b,start:Object(p.a)({},n,_o(d,_,"start",Math.max)),end:Object(p.a)({},n,_o(d,_,"end",Math.min))})}}catch(O){x.e(O)}finally{x.f()}}}catch(O){g.e(O)}finally{g.f()}}else s.push({source:c,target:d,start:o[l],end:o[f]})}}catch(O){u.e(O)}finally{u.f()}return s}(r,i,o),c=Object(h.a)(u);try{for(c.s();!(n=c.n()).done;){var l=n.value,f=l.source,d=l.target,m=l.start,v=l.end,g=f.style,y=(g=void 0===g?{}:g).backgroundColor,b=void 0===y?a:y,_=!0!==i;e.save(),e.fillStyle=b,wo(e,s,_&&bo(o,m,v)),e.beginPath();var w=!!r.pathSegment(e,f),x=void 0;if(_){w?e.closePath():xo(e,i,v,o);var k=!!i.pathSegment(e,d,{move:w,reverse:!0});(x=w&&k)||xo(e,i,m,o)}e.closePath(),e.fill(x?"evenodd":"nonzero"),e.restore()}}catch(O){c.e(O)}finally{c.f()}}function Oo(e,t,n){var r=function(e){var t=e.chart,n=e.fill,r=e.line;if(M(n))return function(e,t){var n=e.getDatasetMeta(t);return n&&e.isDatasetVisible(t)?n.dataset:null}(t,n);if("stack"===n)return fo(e);if("shape"===n)return!0;var i=co(e);return i instanceof uo?i:vo(i,r)}(t),i=t.line,o=t.scale,a=t.axis,s=i.options,u=s.fill,c=s.backgroundColor,l=u||{},f=l.above,d=void 0===f?c:f,p=l.below,h=void 0===p?c:p;r&&i.points.length&&(ut(e,n),function(e,t){var n=t.line,r=t.target,i=t.above,o=t.below,a=t.area,s=t.scale,u=n._loop?"angle":t.axis;e.save(),"x"===u&&o!==i&&(yo(e,r,a.top),ko(e,{line:n,target:r,color:i,scale:s,property:u}),e.restore(),e.save(),yo(e,r,a.bottom)),ko(e,{line:n,target:r,color:o,scale:s,property:u}),e.restore()}(e,{line:i,target:r,above:d,below:h,area:n,scale:o,axis:a}),ct(e))}var Eo={id:"filler",afterDatasetsUpdate:function(e,t,n){var r,i,o,a,s=(e.data.datasets||[]).length,u=[];for(i=0;i=0;--a){var s=i[a].$filler;s&&(s.line.updateControlPoints(o,s.axis),r&&Oo(e.ctx,s,o))}},beforeDatasetsDraw:function(e,t,n){if("beforeDatasetsDraw"===n.drawTime)for(var r=e.getSortedVisibleDatasetMetas(),i=r.length-1;i>=0;--i){var o=r[i].$filler;o&&Oo(e.ctx,o,e.chartArea)}},beforeDatasetDraw:function(e,t,n){var r=t.meta.$filler;r&&!1!==r.fill&&"beforeDatasetDraw"===n.drawTime&&Oo(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}},Mo=function(e,t){var n=e.boxHeight,r=void 0===n?t:n,i=e.boxWidth,o=void 0===i?t:i;return e.usePointStyle&&(r=Math.min(r,t),o=Math.min(o,t)),{boxWidth:o,boxHeight:r,itemHeight:Math.max(t,r)}},So=function(e){Object(l.a)(n,e);var t=Object(f.a)(n);function n(e){var r;return Object(m.a)(this,n),(r=t.call(this))._added=!1,r.legendHitBoxes=[],r._hoveredItem=null,r.doughnutMode=!1,r.chart=e.chart,r.options=e.options,r.ctx=e.ctx,r.legendItems=void 0,r.columnSizes=void 0,r.lineWidths=void 0,r.maxHeight=void 0,r.maxWidth=void 0,r.top=void 0,r.bottom=void 0,r.left=void 0,r.right=void 0,r.height=void 0,r.width=void 0,r._margins=void 0,r.position=void 0,r.weight=void 0,r.fullSize=void 0,r}return Object(v.a)(n,[{key:"update",value:function(e,t,n){var r=this;r.maxWidth=e,r.maxHeight=t,r._margins=n,r.setDimensions(),r.buildLabels(),r.fit()}},{key:"setDimensions",value:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=e._margins.left,e.right=e.width):(e.height=e.maxHeight,e.top=e._margins.top,e.bottom=e.height)}},{key:"buildLabels",value:function(){var e=this,t=e.options.labels||{},n=P(t.generateLabels,[e.chart],e)||[];t.filter&&(n=n.filter((function(n){return t.filter(n,e.chart.data)}))),t.sort&&(n=n.sort((function(n,r){return t.sort(n,r,e.chart.data)}))),e.options.reverse&&n.reverse(),e.legendItems=n}},{key:"fit",value:function(){var e=this,t=e.options,n=e.ctx;if(t.display){var r,i,o=t.labels,a=kt(o.font),s=a.size,u=e._computeTitleHeight(),c=Mo(o,s),l=c.boxWidth,f=c.itemHeight;n.font=a.string,e.isHorizontal()?(r=e.maxWidth,i=e._fitRows(u,s,l,f)+10):(i=e.maxHeight,r=e._fitCols(u,s,l,f)+10),e.width=Math.min(r,t.maxWidth||e.maxWidth),e.height=Math.min(i,t.maxHeight||e.maxHeight)}else e.width=e.height=0}},{key:"_fitRows",value:function(e,t,n,r){var i=this,o=i.ctx,a=i.maxWidth,s=i.options.labels.padding,u=i.legendHitBoxes=[],c=i.lineWidths=[0],l=r+s,f=e;o.textAlign="left",o.textBaseline="middle";var d=-1,p=-l;return i.legendItems.forEach((function(e,i){var h=n+t/2+o.measureText(e.text).width;(0===i||c[c.length-1]+h+2*s>a)&&(f+=l,c[c.length-(i>0?0:1)]=0,p+=l,d++),u[i]={left:0,top:p,row:d,width:h,height:r},c[c.length-1]+=h+s})),f}},{key:"_fitCols",value:function(e,t,n,r){var i=this,o=i.ctx,a=i.maxHeight,s=i.options.labels.padding,u=i.legendHitBoxes=[],c=i.columnSizes=[],l=a-e,f=s,d=0,p=0,h=0,m=0;return i.legendItems.forEach((function(e,i){var a=n+t/2+o.measureText(e.text).width;i>0&&p+r+2*s>l&&(f+=d+s,c.push({width:d,height:p}),h+=d+s,m++,d=p=0),u[i]={left:h,top:p,col:m,width:a,height:r},d=Math.max(d,a),p+=r+s})),f+=d,c.push({width:d,height:p}),f}},{key:"adjustHitBoxes",value:function(){var e=this;if(e.options.display){var t=e._computeTitleHeight(),n=e.legendHitBoxes,r=e.options,i=r.align,o=r.labels.padding,a=gn(r.rtl,e.left,e.width);if(this.isHorizontal()){var s,u=0,c=_(i,e.left+o,e.right-e.lineWidths[u]),l=Object(h.a)(n);try{for(l.s();!(s=l.n()).done;){var f=s.value;u!==f.row&&(u=f.row,c=_(i,e.left+o,e.right-e.lineWidths[u])),f.top+=e.top+t+o,f.left=a.leftForLtr(a.x(c),f.width),c+=f.width+o}}catch(y){l.e(y)}finally{l.f()}}else{var d,p=0,m=_(i,e.top+t+o,e.bottom-e.columnSizes[p].height),v=Object(h.a)(n);try{for(v.s();!(d=v.n()).done;){var g=d.value;g.col!==p&&(p=g.col,m=_(i,e.top+t+o,e.bottom-e.columnSizes[p].height)),g.top=m,g.left+=e.left+o,g.left=a.leftForLtr(a.x(g.left),g.width),m+=g.height+o}}catch(y){v.e(y)}finally{v.f()}}}}},{key:"isHorizontal",value:function(){return"top"===this.options.position||"bottom"===this.options.position}},{key:"draw",value:function(){var e=this;if(e.options.display){var t=e.ctx;ut(t,e),e._draw(),ct(t)}}},{key:"_draw",value:function(){var e,t=this,n=t.options,r=t.columnSizes,i=t.lineWidths,o=t.ctx,a=n.align,s=n.labels,u=tt.color,c=gn(n.rtl,t.left,t.width),l=kt(s.font),f=s.color,d=s.padding,p=l.size,h=p/2;t.drawTitle(),o.textAlign=c.textAlign("left"),o.textBaseline="middle",o.lineWidth=.5,o.font=l.string;var m=Mo(s,p),v=m.boxWidth,g=m.boxHeight,y=m.itemHeight,b=t.isHorizontal(),w=this._computeTitleHeight();e=b?{x:_(a,t.left+d,t.right-i[0]),y:t.top+d+w,line:0}:{x:t.left+d,y:_(a,t.top+w+d,t.bottom-r[0].height),line:0},yn(t.ctx,n.textDirection);var x=y+d;t.legendItems.forEach((function(m,k){o.strokeStyle=m.fontColor||f,o.fillStyle=m.fontColor||f;var O=o.measureText(m.text).width,E=c.textAlign(m.textAlign||(m.textAlign=s.textAlign)),M=v+h+O,S=e.x,T=e.y;c.setWidth(t.width),b?k>0&&S+M+d>t.right&&(T=e.y+=x,e.line++,S=e.x=_(a,t.left+d,t.right-i[e.line])):k>0&&T+x>t.bottom&&(S=e.x=S+r[e.line].width+d,e.line++,T=e.y=_(a,t.top+w+d,t.bottom-r[e.line].height)),function(e,t,n){if(!(isNaN(v)||v<=0||isNaN(g)||g<0)){o.save();var r=C(n.lineWidth,1);if(o.fillStyle=C(n.fillStyle,u),o.lineCap=C(n.lineCap,"butt"),o.lineDashOffset=C(n.lineDashOffset,0),o.lineJoin=C(n.lineJoin,"miter"),o.lineWidth=r,o.strokeStyle=C(n.strokeStyle,u),o.setLineDash(C(n.lineDash,[])),s.usePointStyle){var i={radius:v*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:r},a=c.xPlus(e,v/2);at(o,i,a,t+h)}else{var l=t+Math.max((p-g)/2,0),f=c.leftForLtr(e,v),d=wt(n.borderRadius);o.beginPath(),Object.values(d).some((function(e){return 0!==e}))?mt(o,{x:f,y:l,w:v,h:g,radius:d}):o.rect(f,l,v,g),o.fill(),0!==r&&o.stroke()}o.restore()}}(c.x(S),T,m),S=function(e,t,n,r){return e===(r?"left":"right")?n:"center"===e?(t+n)/2:t}(E,S+v+h,b?S+M:t.right,n.rtl),function(e,t,n){dt(o,n.text,e,t+y/2,l,{strikethrough:n.hidden,textAlign:c.textAlign(n.textAlign)})}(c.x(S),T,m),b?e.x+=M+d:e.y+=x})),bn(t.ctx,n.textDirection)}},{key:"drawTitle",value:function(){var e=this,t=e.options,n=t.title,r=kt(n.font),i=xt(n.padding);if(n.display){var a,s=gn(t.rtl,e.left,e.width),u=e.ctx,c=n.position,l=r.size/2,f=i.top+l,d=e.left,p=e.width;if(this.isHorizontal())p=Math.max.apply(Math,Object(o.a)(e.lineWidths)),a=e.top+f,d=_(t.align,d,e.right-p);else{var h=e.columnSizes.reduce((function(e,t){return Math.max(e,t.height)}),0);a=f+_(t.align,e.top,e.bottom-h-t.labels.padding-e._computeTitleHeight())}var m=_(c,d,d+p);u.textAlign=s.textAlign(b(c)),u.textBaseline="middle",u.strokeStyle=n.color,u.fillStyle=n.color,u.font=r.string,dt(u,n.text,m,a,r)}}},{key:"_computeTitleHeight",value:function(){var e=this.options.title,t=kt(e.font),n=xt(e.padding);return e.display?t.lineHeight+n.height:0}},{key:"_getLegendItemAt",value:function(e,t){var n,r,i,o=this;if(e>=o.left&&e<=o.right&&t>=o.top&&t<=o.bottom)for(i=o.legendHitBoxes,n=0;n=(r=i[n]).left&&e<=r.left+r.width&&t>=r.top&&t<=r.top+r.height)return o.legendItems[n];return null}},{key:"handleEvent",value:function(e){var t=this,n=t.options;if(function(e,t){if("mousemove"===e&&(t.onHover||t.onLeave))return!0;if(t.onClick&&("click"===e||"mouseup"===e))return!0;return!1}(e.type,n)){var r,i,o=t._getLegendItemAt(e.x,e.y);if("mousemove"===e.type){var a=t._hoveredItem,s=(i=o,null!==(r=a)&&null!==i&&r.datasetIndex===i.datasetIndex&&r.index===i.index);a&&!s&&P(n.onLeave,[e,a,t],t),t._hoveredItem=o,o&&!s&&P(n.onHover,[e,o,t],t)}else o&&P(n.onClick,[e,o,t],t)}}}]),n}(Kr);var Co={id:"legend",_element:So,start:function(e,t,n){var r=e.legend=new So({ctx:e.ctx,options:n,chart:e});jr(e,r,n),Tr(e,r)},stop:function(e){Pr(e,e.legend),delete e.legend},beforeUpdate:function(e,t,n){var r=e.legend;jr(e,r,n),r.options=n},afterUpdate:function(e){var t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent:function(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick:function(e,t,n){var r=t.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),t.hidden=!0):(i.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:function(e){return e.chart.options.color},boxWidth:40,padding:10,generateLabels:function(e){var t=e.data.datasets,n=e.legend.options.labels,r=n.usePointStyle,i=n.pointStyle,o=n.textAlign,a=n.color;return e._getSortedDatasetMetas().map((function(e){var n=e.controller.getStyle(r?0:void 0),s=xt(n.borderWidth);return{text:t[e.index].label,fillStyle:n.backgroundColor,fontColor:a,hidden:!e.visible,lineCap:n.borderCapStyle,lineDash:n.borderDash,lineDashOffset:n.borderDashOffset,lineJoin:n.borderJoinStyle,lineWidth:(s.width+s.height)/4,strokeStyle:n.borderColor,pointStyle:i||n.pointStyle,rotation:n.rotation,textAlign:o||n.textAlign,borderRadius:0,datasetIndex:e.index}}),this)}},title:{color:function(e){return e.chart.options.color},display:!1,position:"center",text:""}},descriptors:{_scriptable:function(e){return!e.startsWith("on")},labels:{_scriptable:function(e){return!["generateLabels","filter","sort"].includes(e)}}}},To=function(e){Object(l.a)(n,e);var t=Object(f.a)(n);function n(e){var r;return Object(m.a)(this,n),(r=t.call(this)).chart=e.chart,r.options=e.options,r.ctx=e.ctx,r._padding=void 0,r.top=void 0,r.bottom=void 0,r.left=void 0,r.right=void 0,r.width=void 0,r.height=void 0,r.position=void 0,r.weight=void 0,r.fullSize=void 0,r}return Object(v.a)(n,[{key:"update",value:function(e,t){var n=this,r=n.options;if(n.left=0,n.top=0,r.display){n.width=n.right=e,n.height=n.bottom=t;var i=O(r.text)?r.text.length:1;n._padding=xt(r.padding);var o=i*kt(r.font).lineHeight+n._padding.height;n.isHorizontal()?n.height=o:n.width=o}else n.width=n.height=n.right=n.bottom=0}},{key:"isHorizontal",value:function(){var e=this.options.position;return"top"===e||"bottom"===e}},{key:"_drawArgs",value:function(e){var t,n,r,i=this.top,o=this.left,a=this.bottom,s=this.right,u=this.options,c=u.align,l=0;return this.isHorizontal()?(n=_(c,o,s),r=i+e,t=s-o):("left"===u.position?(n=o+e,r=_(c,a,i),l=-.5*V):(n=s-e,r=_(c,i,a),l=.5*V),t=a-i),{titleX:n,titleY:r,maxWidth:t,rotation:l}}},{key:"draw",value:function(){var e=this,t=e.ctx,n=e.options;if(n.display){var r=kt(n.font),i=r.lineHeight/2+e._padding.top,o=e._drawArgs(i),a=o.titleX,s=o.titleY,u=o.maxWidth,c=o.rotation;dt(t,n.text,0,0,r,{color:n.color,maxWidth:u,rotation:c,textAlign:b(n.align),textBaseline:"middle",translation:[a,s]})}}}]),n}(Kr);var Po={id:"title",_element:To,start:function(e,t,n){!function(e,t){var n=new To({ctx:e.ctx,options:t,chart:e});jr(e,n,t),Tr(e,n),e.titleBlock=n}(e,n)},stop:function(e){var t=e.titleBlock;Pr(e,t),delete e.titleBlock},beforeUpdate:function(e,t,n){var r=e.titleBlock;jr(e,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},jo=new WeakMap,No={id:"subtitle",start:function(e,t,n){var r=new To({ctx:e.ctx,options:n,chart:e});jr(e,r,n),Tr(e,r),jo.set(e,r)},stop:function(e){Pr(e,jo.get(e)),jo.delete(e)},beforeUpdate:function(e,t,n){var r=jo.get(e);jr(e,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},Do={average:function(e){if(!e.length)return!1;var t,n,r=0,i=0,o=0;for(t=0,n=e.length;t-1?e.split("\n"):e}function Ro(e,t){var n=t.element,r=t.datasetIndex,i=t.index,o=e.getDatasetMeta(r).controller,a=o.getLabelAndValue(i),s=a.label,u=a.value;return{chart:e,label:s,parsed:o.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:u,dataset:o.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function Io(e,t){var n=e._chart.ctx,r=e.body,i=e.footer,o=e.title,a=t.boxWidth,s=t.boxHeight,u=kt(t.bodyFont),c=kt(t.titleFont),l=kt(t.footerFont),f=o.length,d=i.length,p=r.length,h=xt(t.padding),m=h.height,v=0,g=r.reduce((function(e,t){return e+t.before.length+t.lines.length+t.after.length}),0);(g+=e.beforeBody.length+e.afterBody.length,f&&(m+=f*c.lineHeight+(f-1)*t.titleSpacing+t.titleMarginBottom),g)&&(m+=p*(t.displayColors?Math.max(s,u.lineHeight):u.lineHeight)+(g-p)*u.lineHeight+(g-1)*t.bodySpacing);d&&(m+=t.footerMarginTop+d*l.lineHeight+(d-1)*t.footerSpacing);var y=0,b=function(e){v=Math.max(v,n.measureText(e).width+y)};return n.save(),n.font=c.string,j(e.title,b),n.font=u.string,j(e.beforeBody.concat(e.afterBody),b),y=t.displayColors?a+2:0,j(r,(function(e){j(e.before,b),j(e.lines,b),j(e.after,b)})),y=0,n.font=l.string,j(e.footer,b),n.restore(),{width:v+=h.width,height:m}}function zo(e,t,n,r){var i=n.x,o=n.width,a=e.width,s=e.chartArea,u=s.left,c=s.right,l="center";return"center"===r?l=i<=(u+c)/2?"left":"right":i<=o/2?l="left":i>=a-o/2&&(l="right"),function(e,t,n,r){var i=r.x,o=r.width,a=n.caretSize+n.caretPadding;return"left"===e&&i+o+a>t.width||"right"===e&&i-o-a<0||void 0}(l,e,t,n)&&(l="center"),l}function Fo(e,t,n){var r=t.yAlign||function(e,t){var n=t.y,r=t.height;return ne.height-r/2?"bottom":"center"}(e,n);return{xAlign:t.xAlign||zo(e,t,n,r),yAlign:r}}function Bo(e,t,n,r){var i=e.caretSize,o=e.caretPadding,a=e.cornerRadius,s=n.xAlign,u=n.yAlign,c=i+o,l=a+o,f=function(e,t){var n=e.x,r=e.width;return"right"===t?n-=r:"center"===t&&(n-=r/2),n}(t,s),d=function(e,t,n){var r=e.y,i=e.height;return"top"===t?r+=n:r-="bottom"===t?i+n:i/2,r}(t,u,c);return"center"===u?"left"===s?f+=c:"right"===s&&(f-=c):"left"===s?f-=l:"right"===s&&(f+=l),{x:fe(f,0,r.width-t.width),y:fe(d,0,r.height-t.height)}}function Ho(e,t,n){var r=xt(n.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-r.right:e.x+r.left}function Uo(e){return Lo([],Ao(e))}function Wo(e,t){var n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}var Vo=function(e){Object(l.a)(n,e);var t=Object(f.a)(n);function n(e){var r;return Object(m.a)(this,n),(r=t.call(this)).opacity=0,r._active=[],r._chart=e._chart,r._eventPosition=void 0,r._size=void 0,r._cachedAnimations=void 0,r._tooltipItems=[],r.$animations=void 0,r.$context=void 0,r.options=e.options,r.dataPoints=void 0,r.title=void 0,r.beforeBody=void 0,r.body=void 0,r.afterBody=void 0,r.footer=void 0,r.xAlign=void 0,r.yAlign=void 0,r.x=void 0,r.y=void 0,r.height=void 0,r.width=void 0,r.caretX=void 0,r.caretY=void 0,r.labelColors=void 0,r.labelPointStyles=void 0,r.labelTextColors=void 0,r}return Object(v.a)(n,[{key:"initialize",value:function(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}},{key:"_resolveAnimations",value:function(){var e=this,t=e._cachedAnimations;if(t)return t;var n=e._chart,r=e.options.setContext(e.getContext()),i=r.enabled&&n.options.animation&&r.animations,o=new Nn(e._chart,i);return i._cacheable&&(e._cachedAnimations=Object.freeze(o)),o}},{key:"getContext",value:function(){var e,t,n,r=this;return r.$context||(r.$context=(e=r._chart.getContext(),t=r,n=r._tooltipItems,Object.assign(Object.create(e),{tooltip:t,tooltipItems:n,type:"tooltip"})))}},{key:"getTitle",value:function(e,t){var n=this,r=t.callbacks,i=r.beforeTitle.apply(n,[e]),o=r.title.apply(n,[e]),a=r.afterTitle.apply(n,[e]),s=[];return s=Lo(s,Ao(i)),s=Lo(s,Ao(o)),s=Lo(s,Ao(a))}},{key:"getBeforeBody",value:function(e,t){return Uo(t.callbacks.beforeBody.apply(this,[e]))}},{key:"getBody",value:function(e,t){var n=this,r=t.callbacks,i=[];return j(e,(function(e){var t={before:[],lines:[],after:[]},o=Wo(r,e);Lo(t.before,Ao(o.beforeLabel.call(n,e))),Lo(t.lines,o.label.call(n,e)),Lo(t.after,Ao(o.afterLabel.call(n,e))),i.push(t)})),i}},{key:"getAfterBody",value:function(e,t){return Uo(t.callbacks.afterBody.apply(this,[e]))}},{key:"getFooter",value:function(e,t){var n=this,r=t.callbacks,i=r.beforeFooter.apply(n,[e]),o=r.footer.apply(n,[e]),a=r.afterFooter.apply(n,[e]),s=[];return s=Lo(s,Ao(i)),s=Lo(s,Ao(o)),s=Lo(s,Ao(a))}},{key:"_createItems",value:function(e){var t,n,r=this,i=r._active,o=r._chart.data,a=[],s=[],u=[],c=[];for(t=0,n=i.length;t0&&t.stroke()}},{key:"_updateAnimationTarget",value:function(e){var t=this,n=t._chart,r=t.$animations,i=r&&r.x,o=r&&r.y;if(i||o){var a=Do[e.position].call(t,t._active,t._eventPosition);if(!a)return;var s=t._size=Io(t,e),u=Object.assign({},a,t._size),c=Fo(n,e,u),l=Bo(e,u,c,n);i._to===l.x&&o._to===l.y||(t.xAlign=c.xAlign,t.yAlign=c.yAlign,t.width=s.width,t.height=s.height,t.caretX=a.x,t.caretY=a.y,t._resolveAnimations().update(t,l))}}},{key:"draw",value:function(e){var t=this,n=t.options.setContext(t.getContext()),r=t.opacity;if(r){t._updateAnimationTarget(n);var i={width:t.width,height:t.height},o={x:t.x,y:t.y};r=Math.abs(r)<.001?0:r;var a=xt(n.padding),s=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;n.enabled&&s&&(e.save(),e.globalAlpha=r,t.drawBackground(o,e,i,n),yn(e,n.textDirection),o.y+=a.top,t.drawTitle(o,e,n),t.drawBody(o,e,n),t.drawFooter(o,e,n),bn(e,n.textDirection),e.restore())}}},{key:"getActiveElements",value:function(){return this._active||[]}},{key:"setActiveElements",value:function(e,t){var n=this,r=n._active,i=e.map((function(e){var t=e.datasetIndex,r=e.index,i=n._chart.getDatasetMeta(t);if(!i)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:i.data[r],index:r}})),o=!N(r,i),a=n._positionChanged(i,t);(o||a)&&(n._active=i,n._eventPosition=t,n.update(!0))}},{key:"handleEvent",value:function(e,t){var n,r=this,i=r.options,o=r._active||[],a=[];"mouseout"!==e.type&&(a=r._chart.getElementsAtEventForMode(e,i.mode,i,t),i.reverse&&a.reverse());var s=r._positionChanged(a,e);return(n=t||!N(a,o)||s)&&(r._active=a,(i.enabled||i.external)&&(r._eventPosition={x:e.x,y:e.y},r.update(!0,t))),n}},{key:"_positionChanged",value:function(e,t){var n=this.caretX,r=this.caretY,i=this.options,o=Do[i.position].call(this,e,t);return!1!==o&&(n!==o.x||r!==o.y)}}]),n}(Kr);Vo.positioners=Do;var Yo={id:"tooltip",_element:Vo,positioners:Do,afterInit:function(e,t,n){n&&(e.tooltip=new Vo({_chart:e,options:n}))},beforeUpdate:function(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset:function(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw:function(e){var t=e.tooltip,n={tooltip:t};!1!==e.notifyPlugins("beforeTooltipDraw",n)&&(t&&t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n))},afterEvent:function(e,t){if(e.tooltip){var n=t.replay;e.tooltip.handleEvent(t.event,n)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:function(e,t){return t.bodyFont.size},boxWidth:function(e,t){return t.bodyFont.size},multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:w,title:function(e){if(e.length>0){var t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex=0&&et.length-1?null:this.getPixelForValue(t[e].value)}},{key:"getValueForPixel",value:function(e){var t=this;return Math.round(t._startValue+t.getDecimalForPixel(e)*t._valueRange)}},{key:"getBasePixel",value:function(){return this.bottom}}]),n}(oi);function Qo(e,t){var n,r,i,o,a=[],s=e.bounds,u=e.step,c=e.min,l=e.max,f=e.precision,d=e.count,p=e.maxTicks,h=e.maxDigits,m=e.includeBounds,v=u||1,g=p-1,y=t.min,b=t.max,_=!k(c),w=!k(l),x=!k(d),O=(b-y)/(h+1),E=ee((b-y)/g/v)*v;if(E<1e-14&&!_&&!w)return[{value:y},{value:b}];(o=Math.ceil(b/E)-Math.floor(y/E))>g&&(E=ee(o*E/g/v)*v),k(f)||(n=Math.pow(10,f),E=Math.ceil(E*n)/n),"ticks"===s?(r=Math.floor(y/E)*E,i=Math.ceil(b/E)*E):(r=y,i=b),_&&w&&u&&function(e,t){var n=Math.round(e);return n-t<=e&&n+t>=e}((l-c)/u,E/1e3)?(E=(l-c)/(o=Math.round(Math.min((l-c)/E,p))),r=c,i=l):x?E=((i=w?l:i)-(r=_?c:r))/(o=d-1):o=ne(o=(i-r)/E,Math.round(o),E/1e3)?Math.round(o):Math.ceil(o);var M=Math.max(ae(E),ae(r));n=Math.pow(10,k(f)?M:f),r=Math.round(r*n)/n,i=Math.round(i*n)/n;var S=0;for(_&&(m&&r!==c?(a.push({value:c}),r0&&l>0&&s(0)}if(o===a){var f=1;(a>=Number.MAX_SAFE_INTEGER||o<=Number.MIN_SAFE_INTEGER)&&(f=Math.abs(.05*a)),u(a+f),t||s(o-f)}e.min=o,e.max=a}},{key:"getTickLimit",value:function(){var e,t=this,n=t.options.ticks,r=n.maxTicksLimit,i=n.stepSize;return i?e=Math.ceil(t.max/i)-Math.floor(t.min/i)+1:(e=t.computeTickLimit(),r=r||11),r&&(e=Math.min(r,e)),e}},{key:"computeTickLimit",value:function(){return Number.POSITIVE_INFINITY}},{key:"buildTicks",value:function(){var e=this,t=e.options,n=t.ticks,r=e.getTickLimit(),i=Qo({maxTicks:r=Math.max(2,r),bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:e._maxDigits(),horizontal:e.isHorizontal(),minRotation:n.minRotation||0,includeBounds:!1!==n.includeBounds},e._range||e);return"ticks"===t.bounds&&re(i,e,"value"),t.reverse?(i.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),i}},{key:"configure",value:function(){var e=this,t=e.ticks,r=e.min,i=e.max;if(c(Object(u.a)(n.prototype),"configure",this).call(this),e.options.offset&&t.length){var o=(i-r)/Math.max(t.length-1,1)/2;r-=o,i+=o}e._startValue=r,e._endValue=i,e._valueRange=i-r}},{key:"getLabelForValue",value:function(e){return vn(e,this.chart.options.locale)}}]),n}(oi),Go=function(e){Object(l.a)(n,e);var t=Object(f.a)(n);function n(){return Object(m.a)(this,n),t.apply(this,arguments)}return Object(v.a)(n,[{key:"determineDataLimits",value:function(){var e=this,t=e.getMinMax(!0),n=t.min,r=t.max;e.min=M(n)?n:0,e.max=M(r)?r:1,e.handleTickRangeOptions()}},{key:"computeTickLimit",value:function(){var e=this,t=e.isHorizontal(),n=t?e.width:e.height,r=ie(e.options.ticks.minRotation),i=(t?Math.sin(r):Math.cos(r))||.001,o=e._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,o.lineHeight/i))}},{key:"getPixelForValue",value:function(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}},{key:"getValueForPixel",value:function(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}]),n}($o);function Jo(e){return 1===e/Math.pow(10,Math.floor(G(e)))}Go.id="linear",Go.defaults={ticks:{callback:Xr.formatters.numeric}};var ea=function(e){Object(l.a)(n,e);var t=Object(f.a)(n);function n(e){var r;return Object(m.a)(this,n),(r=t.call(this,e)).start=void 0,r.end=void 0,r._startValue=void 0,r._valueRange=0,r}return Object(v.a)(n,[{key:"parse",value:function(e,t){var n=$o.prototype.parse.apply(this,[e,t]);if(0!==n)return M(n)&&n>0?n:null;this._zero=!0}},{key:"determineDataLimits",value:function(){var e=this,t=e.getMinMax(!0),n=t.min,r=t.max;e.min=M(n)?Math.max(0,n):null,e.max=M(r)?Math.max(0,r):null,e.options.beginAtZero&&(e._zero=!0),e.handleTickRangeOptions()}},{key:"handleTickRangeOptions",value:function(){var e=this,t=e.getUserBounds(),n=t.minDefined,r=t.maxDefined,i=e.min,o=e.max,a=function(e){return i=n?i:e},s=function(e){return o=r?o:e},u=function(e,t){return Math.pow(10,Math.floor(G(e))+t)};i===o&&(i<=0?(a(1),s(10)):(a(u(i,-1)),s(u(o,1)))),i<=0&&a(u(o,-1)),o<=0&&s(u(i,1)),e._zero&&e.min!==e._suggestedMin&&i===u(e.min,0)&&a(u(i,-1)),e.min=i,e.max=o}},{key:"buildTicks",value:function(){var e=this,t=e.options,n=function(e,t){var n=Math.floor(G(t.max)),r=Math.ceil(t.max/Math.pow(10,n)),i=[],o=S(e.min,Math.pow(10,Math.floor(G(t.min)))),a=Math.floor(G(o)),s=Math.floor(o/Math.pow(10,a)),u=a<0?Math.pow(10,Math.abs(a)):1;do{i.push({value:o,major:Jo(o)}),10===++s&&(s=1,u=++a>=0?1:u),o=Math.round(s*Math.pow(10,a)*u)/u}while(ai?{start:t-n,end:t}:{start:t,end:t+n}}function ra(e){for(var t,n,r,i={l:0,r:e.width,t:0,b:e.height-e.paddingTop},o={},a=[],s=[],u=e.getLabels().length,c=0;ci.r&&(i.r=v.end,o.r=h),g.starti.b&&(i.b=g.end,o.b=h)}e._setReductions(e.drawingArea,i,o),e._pointLabelItems=function(e,t,n){for(var r=[],i=e.getLabels().length,o=e.options,a=ta(o),s=e.getDistanceFromCenterForValue(o.ticks.reverse?e.min:e.max),u=0;u270||n<90)&&(e-=t),e}function sa(e,t,n,r){var i=e.ctx;if(n)i.arc(e.xCenter,e.yCenter,t,0,Y);else{var o=e.getPointPosition(0,t);i.moveTo(o.x,o.y);for(var a=1;a=0&&e=0;i--){var o=r.setContext(e.getPointLabelContext(i)),a=kt(o.font),s=e._pointLabelItems[i],u=s.x,c=s.y,l=s.textAlign,f=s.left,d=s.top,p=s.right,h=s.bottom,m=o.backdropColor;if(!k(m)){var v=xt(o.backdropPadding);n.fillStyle=m,n.fillRect(f-v.left,d-v.top,p-f+v.width,h-d+v.height)}dt(n,e._pointLabels[i],u,c+a.lineHeight/2,a,{color:o.color,textAlign:l,textBaseline:"middle"})}}(r,u),s.display&&r.ticks.forEach((function(e,n){if(0!==n){t=r.getDistanceFromCenterForValue(e.value);var i=s.setContext(r.getContext(n-1));!function(e,t,n,r){var i=e.ctx,o=t.circular,a=t.color,s=t.lineWidth;!o&&!r||!a||!s||n<0||(i.save(),i.strokeStyle=a,i.lineWidth=s,i.setLineDash(t.borderDash),i.lineDashOffset=t.borderDashOffset,i.beginPath(),sa(e,n,o,r),i.closePath(),i.stroke(),i.restore())}(r,i,t,u)}})),a.display){for(i.save(),e=r.getLabels().length-1;e>=0;e--){var c=a.setContext(r.getPointLabelContext(e)),l=c.color,f=c.lineWidth;f&&l&&(i.lineWidth=f,i.strokeStyle=l,i.setLineDash(c.borderDash),i.lineDashOffset=c.borderDashOffset,t=r.getDistanceFromCenterForValue(o.ticks.reverse?r.min:r.max),n=r.getPointPosition(e,t),i.beginPath(),i.moveTo(r.xCenter,r.yCenter),i.lineTo(n.x,n.y),i.stroke())}i.restore()}}},{key:"drawBorder",value:function(){}},{key:"drawLabels",value:function(){var e=this,t=e.ctx,n=e.options,r=n.ticks;if(r.display){var i,o,a=e.getIndexAngle(0);t.save(),t.translate(e.xCenter,e.yCenter),t.rotate(a),t.textAlign="center",t.textBaseline="middle",e.ticks.forEach((function(a,s){if(0!==s||n.reverse){var u=r.setContext(e.getContext(s)),c=kt(u.font);if(i=e.getDistanceFromCenterForValue(e.ticks[s].value),u.showLabelBackdrop){t.font=c.string,o=t.measureText(a.label).width,t.fillStyle=u.backdropColor;var l=xt(u.backdropPadding);t.fillRect(-o/2-l.left,-i-c.size/2-l.top,o+l.width,c.size+l.height)}dt(t,a.label,0,-i,c,{color:u.color})}})),t.restore()}}},{key:"drawTitle",value:function(){}}]),n}($o);ca.id="radialLinear",ca.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Xr.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:function(e){return e},padding:5}},ca.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},ca.descriptors={angleLines:{_fallback:"grid"}};var la={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},fa=Object.keys(la);function da(e,t){return e-t}function pa(e,t){if(k(t))return null;var n=e._adapter,r=e._parseOpts,i=r.parser,o=r.round,a=r.isoWeekday,s=t;return"function"===typeof i&&(s=i(s)),M(s)||(s="string"===typeof i?n.parse(s,i):n.parse(s)),null===s?null:(o&&(s="week"!==o||!te(a)&&!0!==a?n.startOf(s,o):n.startOf(s,"isoWeek",a)),+s)}function ha(e,t,n,r){for(var i=fa.length,o=fa.indexOf(e);o=t?n[i]:n[o]]=!0}}else e[t]=!0}function va(e,t,n){var r,i,o=[],a={},s=t.length;for(r=0;r=0&&(t[o].major=!0);return t}(e,o,a,n):o}var ga=function(e){Object(l.a)(n,e);var t=Object(f.a)(n);function n(e){var r;return Object(m.a)(this,n),(r=t.call(this,e))._cache={data:[],labels:[],all:[]},r._unit="day",r._majorUnit=void 0,r._offsets={},r._normalized=!1,r._parseOpts=void 0,r}return Object(v.a)(n,[{key:"init",value:function(e,t){var r=e.time||(e.time={}),i=this._adapter=new cr._date(e.adapters.date);I(r.displayFormats,i.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},c(Object(u.a)(n.prototype),"init",this).call(this,e),this._normalized=t.normalized}},{key:"parse",value:function(e,t){return void 0===e?null:pa(this,e)}},{key:"beforeLayout",value:function(){c(Object(u.a)(n.prototype),"beforeLayout",this).call(this),this._cache={data:[],labels:[],all:[]}}},{key:"determineDataLimits",value:function(){var e=this,t=e.options,n=e._adapter,r=t.time.unit||"day",i=e.getUserBounds(),o=i.min,a=i.max,s=i.minDefined,u=i.maxDefined;function c(e){s||isNaN(e.min)||(o=Math.min(o,e.min)),u||isNaN(e.max)||(a=Math.max(a,e.max))}s&&u||(c(e._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||c(e.getMinMax(!1))),o=M(o)&&!isNaN(o)?o:+n.startOf(Date.now(),r),a=M(a)&&!isNaN(a)?a:+n.endOf(Date.now(),r)+1,e.min=Math.min(o,a-1),e.max=Math.max(o+1,a)}},{key:"_getLabelBounds",value:function(){var e=this.getLabelTimestamps(),t=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return e.length&&(t=e[0],n=e[e.length-1]),{min:t,max:n}}},{key:"buildTicks",value:function(){var e=this,t=e.options,n=t.time,r=t.ticks,i="labels"===r.source?e.getLabelTimestamps():e._generate();"ticks"===t.bounds&&i.length&&(e.min=e._userMin||i[0],e.max=e._userMax||i[i.length-1]);var o=e.min,a=function(e,t,n){for(var r=0,i=e.length;rr&&e[i-1]>n;)i--;return r>0||i=fa.indexOf(n);o--){var a=fa[o];if(la[a].common&&e._adapter.diff(i,r,a)>=t-1)return a}return fa[n?fa.indexOf(n):0]}(e,a.length,n.minUnit,e.min,e.max)),e._majorUnit=r.major.enabled&&"year"!==e._unit?function(e){for(var t=fa.indexOf(e)+1,n=fa.length;t1e5*c)throw new Error(i+" and "+o+" are too far apart with stepSize of "+c+" "+u);var h="data"===a.ticks.source&&n.getDataTimestamps();for(e=p,t=0;e0?s:1}},{key:"getDataTimestamps",value:function(){var e,t,n=this,r=n._cache.data||[];if(r.length)return r;var i=n.getMatchingVisibleMetas();if(n._normalized&&i.length)return n._cache.data=i[0].controller.getAllParsedValues(n);for(e=0,t=i.length;e=e[s].pos&&t<=e[u].pos){var c=Mt(e,"pos",t);s=c.lo,u=c.hi}var l=e[s];r=l.pos,o=l.time;var f=e[u];i=f.pos,a=f.time}else{if(t>=e[s].time&&t<=e[u].time){var d=Mt(e,"time",t);s=d.lo,u=d.hi}var p=e[s];r=p.time,o=p.pos;var h=e[u];i=h.time,a=h.pos}var m=i-r;return m?o+(a-o)*(t-r)/m:o}ga.id="time",ga.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};var ba=function(e){Object(l.a)(n,e);var t=Object(f.a)(n);function n(e){var r;return Object(m.a)(this,n),(r=t.call(this,e))._table=[],r._minPos=void 0,r._tableRange=void 0,r}return Object(v.a)(n,[{key:"initOffsets",value:function(){var e=this,t=e._getTimestampsForTable(),r=e._table=e.buildLookupTable(t);e._minPos=ya(r,e.min),e._tableRange=ya(r,e.max)-e._minPos,c(Object(u.a)(n.prototype),"initOffsets",this).call(this,t)}},{key:"buildLookupTable",value:function(e){var t,n,r,i,o,a=this.min,s=this.max,u=[],c=[];for(t=0,n=e.length;t=a&&i<=s&&u.push(i);if(u.length<2)return[{time:a,pos:0},{time:s,pos:1}];for(t=0,n=u.length;t=0||(i[n]=e[n]);return i}var Pa=Object(r.forwardRef)((function(e,t){var n=e.id,o=e.className,a=e.height,s=void 0===a?150:a,u=e.width,c=void 0===u?300:u,l=e.redraw,f=void 0!==l&&l,d=e.type,p=e.data,h=e.options,m=void 0===h?{}:h,v=e.plugins,g=void 0===v?[]:v,y=e.getDatasetAtEvent,b=e.getElementAtEvent,_=e.getElementsAtEvent,w=e.fallbackContent,x=Ta(e,["id","className","height","width","redraw","type","data","options","plugins","getDatasetAtEvent","getElementAtEvent","getElementsAtEvent","fallbackContent"]),k=Object(r.useRef)(null),O=Object(r.useMemo)((function(){return"function"===typeof p?k.current?p(k.current):{}:ka()({},p)}),[p,k.current]),E=Object(r.useState)(),M=E[0],S=E[1];Object(r.useImperativeHandle)(t,(function(){return M}),[M]);var C=function(){k.current&&S(new wa(k.current,{type:d,data:O,options:m,plugins:g}))},T=function(){M&&M.destroy()};return Object(r.useEffect)((function(){return C(),function(){return T()}}),[]),Object(r.useEffect)((function(){f?(T(),setTimeout((function(){C()}),0)):function(){if(M){if(m&&(M.options=Ca({},m)),!M.config.data)return M.config.data=O,void M.update();var e=O.datasets,t=void 0===e?[]:e,n=Ta(O,["datasets"]),r=M.config.data.datasets,i=void 0===r?[]:r;Ea()(M.config.data,n),M.config.data.datasets=t.map((function(e){var t=Sa()(i,(function(t){return t.label===e.label&&t.type===e.type}));return t&&e.data?(t.data?t.data.length=e.data.length:t.data=[],Ea()(t.data,e.data),Ca({},t,e,{data:t.data})):e})),M.update()}}()}),[e,O]),i.a.createElement("canvas",Object.assign({},x,{height:s,width:c,ref:k,id:n,className:o,onClick:function(e){M&&(y&&y(M.getElementsAtEventForMode(e,"dataset",{intersect:!0},!1),e),b&&b(M.getElementsAtEventForMode(e,"nearest",{intersect:!0},!1),e),_&&_(M.getElementsAtEventForMode(e,"index",{intersect:!0},!1),e))},"data-testid":"canvas",role:"img"}),w)})),ja=Object(r.forwardRef)((function(e,t){return i.a.createElement(Pa,Object.assign({},e,{type:"line",ref:t,options:e.options||{}}))})),Na=Object(r.forwardRef)((function(e,t){return i.a.createElement(Pa,Object.assign({},e,{type:"bar",ref:t,options:e.options||{}}))})),Da=(Object(r.forwardRef)((function(e,t){return i.a.createElement(Pa,Object.assign({},e,{type:"radar",ref:t,options:e.options||{}}))})),Object(r.forwardRef)((function(e,t){return i.a.createElement(Pa,Object.assign({},e,{type:"doughnut",ref:t,options:e.options||{}}))})));Object(r.forwardRef)((function(e,t){return i.a.createElement(Pa,Object.assign({},e,{type:"polarArea",ref:t,options:e.options||{}}))})),Object(r.forwardRef)((function(e,t){return i.a.createElement(Pa,Object.assign({},e,{type:"bubble",ref:t,options:e.options||{}}))})),Object(r.forwardRef)((function(e,t){return i.a.createElement(Pa,Object.assign({},e,{type:"pie",ref:t,options:e.options||{}}))})),Object(r.forwardRef)((function(e,t){return i.a.createElement(Pa,Object.assign({},e,{type:"scatter",ref:t,options:e.options||{}}))}))},function(e,t,n){"use strict";var r=n(17),i=n(96),o=n(97),a=n(50),s=n(68),u=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=s.a.init,e.prototype["@@transducer/result"]=s.a.result,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}(),c=Object(r.a)((function(e,t){return new u(e,t)})),l=n(76),f=n(52),d=Object(r.a)(Object(i.a)(["fantasy-land/map","map"],c,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return Object(l.a)(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return Object(a.a)((function(n,r){return n[r]=e(t[r]),n}),{},Object(f.a)(t));default:return Object(o.a)(e,t)}})));t.a=d},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(57);function i(e){return null!=e&&"function"===typeof e["@@transducer/step"]}function o(e,t,n){return function(){if(0===arguments.length)return n();var o=Array.prototype.slice.call(arguments,0),a=o.pop();if(!Object(r.a)(a)){for(var s=0;s0?1:a}},,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(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],l=!1,f=-1;function d(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&p())}function p(){if(!l){var e=s(d);l=!0;for(var t=c.length;t;){for(u=c,c=[];++f1)for(var n=1;ne.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 v.head.insertBefore(t,r),e}}function J(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function ee(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function te(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function ne(e){return e.size!==$.size||e.x!==$.x||e.y!==$.y||e.rotate!==$.rotate||e.flipX||e.flipY}function re(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),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)");return{outer:i,inner:{transform:"".concat(o," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var ie={x:0,y:0,width:"100%",height:"100%"};function oe(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function ae(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,o=e.iconName,a=e.transform,u=e.symbol,c=e.title,l=e.maskId,f=e.titleId,d=e.extra,p=e.watchable,h=void 0!==p&&p,m=r.found?r:n,v=m.width,g=m.height,y="fak"===i,b=y?"":"fa-w-".concat(Math.ceil(v/g*16)),w=[M.replacementClass,o?"".concat(M.familyPrefix,"-").concat(o):"",b].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),x={children:[],attributes:s({},d.attributes,{"data-prefix":i,"data-icon":o,class:w,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(v," ").concat(g)})},k=y&&!~d.classes.indexOf("fa-fw")?{width:"".concat(v/g*16*.0625,"em")}:{};h&&(x.attributes[_]=""),c&&x.children.push({tag:"title",attributes:{id:x.attributes["aria-labelledby"]||"title-".concat(f||J())},children:[c]});var O=s({},x,{prefix:i,iconName:o,main:n,mask:r,maskId:l,transform:a,symbol:u,styles:s({},k,d.styles)}),E=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.mask,a=e.maskId,u=e.transform,c=i.width,l=i.icon,f=o.width,d=o.icon,p=re({transform:u,containerWidth:f,iconWidth:c}),h={tag:"rect",attributes:s({},ie,{fill:"white"})},m=l.children?{children:l.children.map(oe)}:{},v={tag:"g",attributes:s({},p.inner),children:[oe(s({tag:l.tag,attributes:s({},l.attributes,p.path)},m))]},g={tag:"g",attributes:s({},p.outer),children:[v]},y="mask-".concat(a||J()),b="clip-".concat(a||J()),_={tag:"mask",attributes:s({},ie,{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,g]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(t=d,"g"===t.tag?t.children:[t])},_]};return n.push(w,{tag:"rect",attributes:s({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(y,")")},ie)}),{children:n,attributes:r}}(O):function(e){var t=e.children,n=e.attributes,r=e.main,i=e.transform,o=te(e.styles);if(o.length>0&&(n.style=o),ne(i)){var a=re({transform:i,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:s({},a.outer),children:[{tag:"g",attributes:s({},a.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:s({},r.icon.attributes,a.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(O),S=E.children,C=E.attributes;return O.children=S,O.attributes=C,u?function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,o=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:s({},i,{id:!0===o?"".concat(t,"-").concat(M.familyPrefix,"-").concat(n):o}),children:r}]}]}(O):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(ne(a)&&n.found&&!r.found){var u={x:n.width/n.height/2,y:.5};i.style=te(s({},o,{"transform-origin":"".concat(u.x+a.x/16,"em ").concat(u.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(O)}var se=function(){},ue=(M.measurePerformance&&g&&g.mark&&g.measure,function(e,t,n,r){var i,o,a,s=Object.keys(e),u=s.length,c=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,a=e[s[0]]):(i=0,a=n);i2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,i=void 0!==r&&r,o=Object.keys(t).reduce((function(e,n){var r=t[n];return!!r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!==typeof C.hooks.addPack||i?C.styles[e]=s({},C.styles[e]||{},o):C.hooks.addPack(e,o),"fas"===e&&ce("fa",t)}var le=C.styles,fe=C.shims,de=function(){var e=function(e){return ue(le,(function(t,n,r){return t[r]=ue(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in le;ue(fe,(function(e,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||t||(i="fas"),e[r]={prefix:i,iconName:o},e}),{})};de();C.styles;function pe(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function he(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,o=void 0===i?[]:i;return"string"===typeof e?ee(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(ee(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(he).join(""),"")}var me=function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),t):t};function ve(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}ve.prototype=Object.create(Error.prototype),ve.prototype.constructor=ve;var ge={fill:"currentColor"},ye={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},be={tag:"path",attributes:s({},ge,{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"})},_e=s({},ye,{attributeName:"opacity"});s({},ge,{cx:"256",cy:"364",r:"28"}),s({},ye,{attributeName:"r",values:"28;14;28;28;14;28;"}),s({},_e,{values:"1;0;1;1;0;1;"}),s({},ge,{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"}),s({},_e,{values:"1;0;0;0;0;1;"}),s({},ge,{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"}),s({},_e,{values:"0;0;1;1;0;0;"}),C.styles;function we(e){var t=e[0],n=e[1],r=u(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(M.familyPrefix,"-").concat(k.GROUP)},children:[{tag:"path",attributes:{class:"".concat(M.familyPrefix,"-").concat(k.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(M.familyPrefix,"-").concat(k.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}C.styles;function xe(){var e="fa",t=b,n=M.familyPrefix,r=M.replacementClass,i='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';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}function ke(){M.autoAddCss&&!Ce&&(G(xe()),Ce=!0)}function Oe(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return he(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(y){var t=v.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Ee(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return pe(Se.definitions,n,r)||pe(C.styles,n,r)}var Me,Se=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n,r;return t=e,(n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?$:n,i=t.symbol,o=void 0!==i&&i,a=t.mask,u=void 0===a?null:a,c=t.maskId,l=void 0===c?null:c,f=t.title,d=void 0===f?null:f,p=t.titleId,h=void 0===p?null:p,m=t.classes,v=void 0===m?[]:m,g=t.attributes,y=void 0===g?{}:g,b=t.styles,_=void 0===b?{}:b;if(e){var w=e.prefix,x=e.iconName,k=e.icon;return Oe(s({type:"icon"},e),(function(){return ke(),M.autoA11y&&(d?y["aria-labelledby"]="".concat(M.replacementClass,"-title-").concat(h||J()):(y["aria-hidden"]="true",y.focusable="false")),ae({icons:{main:we(k),mask:u?we(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:x,transform:s({},$,r),symbol:o,title:d,maskId:l,titleId:h,extra:{attributes:y,styles:_,classes:v}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:Ee(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:Ee(r||{})),Me(n,s({},t,{mask:r}))})}).call(this,n(45),n(195).setImmediate)},function(e,t,n){"use strict";(function(t){!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,n,r,i){if("function"!==typeof e)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,n)}));case 3:return t.nextTick((function(){e.call(null,n,r)}));case 4:return t.nextTick((function(){e.call(null,n,r,i)}));default:for(o=new Array(s-1),a=0;a0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));t.a=a},function(e,t,n){"use strict";var r=n(35),i=Object.prototype.toString,o=function(){return"[object Arguments]"===i.call(arguments)?function(e){return"[object Arguments]"===i.call(e)}:function(e){return Object(r.a)("callee",e)}}();t.a=o},function(e,t,n){"use strict";var r=n(17),i=n(66),o=Object(r.a)((function(e,t){var n=e<0?t.length+e:e;return Object(i.a)(t)?t.charAt(n):t[n]}));t.a=o},,,function(e,t,n){"use strict";var r=n(41),i=n(50),o=Object(r.a)(i.a);t.a=o},function(e,t,n){"use strict";var r=n(83),i=n(41),o=Object(i.a)(Object(r.a)("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));t.a=o},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(14),i=n(86),o=n(5);function a(e,t){Object(o.a)(2,arguments);var n=Object(r.a)(t);return Object(i.a)(e,-n)}},function(e,t,n){"use strict";function r(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"})}}function i(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"})}}var o={p:i,P:function(e,t){var n,o=e.match(/(P+)(p+)?/),a=o[1],s=o[2];if(!s)return r(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;case"PPPP":default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",r(a,t)).replace("{{time}}",i(s,t))}};t.a=o},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(9),i=n(60),o=n(5);function a(e){Object(o.a)(1,arguments);var t=Object(r.default)(e),n=t.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(n+1,0,4),a.setUTCHours(0,0,0,0);var s=Object(i.a)(a),u=new Date(0);u.setUTCFullYear(n,0,4),u.setUTCHours(0,0,0,0);var c=Object(i.a)(u);return t.getTime()>=s.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}},function(e,t,n){"use strict";function r(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t=t||{})t.hasOwnProperty(n)&&(e[n]=t[n]);return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return o}));var r=n(9),i=n(5);function o(e){Object(i.a)(1,arguments);var t=Object(r.default)(e),n=t.getMonth(),o=n-n%3;return t.setMonth(o,1),t.setHours(0,0,0,0),t}},function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(339).CopyToClipboard;r.CopyToClipboard=r,e.exports=r},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9),i=n(5);function o(e,t){Object(i.a)(2,arguments);var n=Object(r.default)(e),o=Object(r.default)(t);return n.getTime()-o.getTime()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return H}));var r=n(2),i=n.n(r),o=(n(1),i.a.createContext(null));var a=function(e){e()},s={notify:function(){}};function u(){var e=a,t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}var c=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=s,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=u())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=s)},e}();var l=function(e){var t=e.store,n=e.context,a=e.children,s=Object(r.useMemo)((function(){var e=new c(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),u=Object(r.useMemo)((function(){return t.getState()}),[t]);Object(r.useEffect)((function(){var e=s.subscription;return e.trySubscribe(),u!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[s,u]);var l=n||o;return i.a.createElement(l.Provider,{value:s},a)},f=n(43),d=n(64),p=n(178),h=n.n(p),m=n(223),v="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect,g=[],y=[null,null];function b(e,t){var n=e[1];return[t.payload,n+1]}function _(e,t,n){v((function(){return e.apply(void 0,t)}),n)}function w(e,t,n,r,i,o,a){e.current=r,t.current=i,n.current=!1,o.current&&(o.current=null,a())}function x(e,t,n,r,i,o,a,s,u,c){if(e){var l=!1,f=null,d=function(){if(!l){var e,n,d=t.getState();try{e=r(d,i.current)}catch(p){n=p,f=p}n||(f=null),e===o.current?a.current||u():(o.current=e,s.current=e,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=d,n.trySubscribe(),d();return function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}}var k=function(){return[null,0]};function O(e,t){void 0===t&&(t={});var n=t,a=n.getDisplayName,s=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,u=n.methodName,l=void 0===u?"connectAdvanced":u,p=n.renderCountProp,v=void 0===p?void 0:p,O=n.shouldHandleStateChanges,E=void 0===O||O,M=n.storeKey,S=void 0===M?"store":M,C=(n.withRef,n.forwardRef),T=void 0!==C&&C,P=n.context,j=void 0===P?o:P,N=Object(d.a)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),D=j;return function(t){var n=t.displayName||t.name||"Component",o=s(n),a=Object(f.a)({},N,{getDisplayName:s,methodName:l,renderCountProp:v,shouldHandleStateChanges:E,storeKey:S,displayName:o,wrappedComponentName:n,WrappedComponent:t}),u=N.pure;var p=u?r.useMemo:function(e){return e()};function O(n){var o=Object(r.useMemo)((function(){var e=n.reactReduxForwardedRef,t=Object(d.a)(n,["reactReduxForwardedRef"]);return[n.context,e,t]}),[n]),s=o[0],u=o[1],l=o[2],h=Object(r.useMemo)((function(){return s&&s.Consumer&&Object(m.isContextConsumer)(i.a.createElement(s.Consumer,null))?s:D}),[s,D]),v=Object(r.useContext)(h),O=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(v)&&Boolean(v.store);var M=O?n.store:v.store,S=Object(r.useMemo)((function(){return function(t){return e(t.dispatch,a)}(M)}),[M]),C=Object(r.useMemo)((function(){if(!E)return y;var e=new c(M,O?null:v.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[M,O,v]),T=C[0],P=C[1],j=Object(r.useMemo)((function(){return O?v:Object(f.a)({},v,{subscription:T})}),[O,v,T]),N=Object(r.useReducer)(b,g,k),L=N[0][0],A=N[1];if(L&&L.error)throw L.error;var R=Object(r.useRef)(),I=Object(r.useRef)(l),z=Object(r.useRef)(),F=Object(r.useRef)(!1),B=p((function(){return z.current&&l===I.current?z.current:S(M.getState(),l)}),[M,L,l]);_(w,[I,R,F,l,B,z,P]),_(x,[E,M,T,S,I,R,F,z,P,A],[M,T,S]);var H=Object(r.useMemo)((function(){return i.a.createElement(t,Object(f.a)({},B,{ref:u}))}),[u,t,B]);return Object(r.useMemo)((function(){return E?i.a.createElement(h.Provider,{value:j},H):H}),[h,H,j])}var M=u?i.a.memo(O):O;if(M.WrappedComponent=t,M.displayName=o,T){var C=i.a.forwardRef((function(e,t){return i.a.createElement(M,Object(f.a)({},e,{reactReduxForwardedRef:t}))}));return C.displayName=o,C.WrappedComponent=t,h()(C,t)}return h()(M,t)}}function E(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function M(e,t){if(E(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function F(e,t){return e===t}function B(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?O:n,i=t.mapStateToPropsFactories,o=void 0===i?N:i,a=t.mapDispatchToPropsFactories,s=void 0===a?j:a,u=t.mergePropsFactories,c=void 0===u?L:u,l=t.selectorFactory,p=void 0===l?I:l;return function(e,t,n,i){void 0===i&&(i={});var a=i,u=a.pure,l=void 0===u||u,h=a.areStatesEqual,m=void 0===h?F:h,v=a.areOwnPropsEqual,g=void 0===v?M:v,y=a.areStatePropsEqual,b=void 0===y?M:y,_=a.areMergedPropsEqual,w=void 0===_?M:_,x=Object(d.a)(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),k=z(e,o,"mapStateToProps"),O=z(t,s,"mapDispatchToProps"),E=z(n,c,"mergeProps");return r(p,Object(f.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:k,initMapDispatchToProps:O,initMergeProps:E,pure:l,areStatesEqual:m,areOwnPropsEqual:g,areStatePropsEqual:b,areMergedPropsEqual:w},x))}}var H=B();var U,W=n(40);U=W.unstable_batchedUpdates,a=U},function(e,t,n){"use strict";var r=n(106);function i(e,t,n,o){var a,s=function(r){for(var a=t.length,s=0;sc)return 1;if(c>u)return-1}var l=o[o.length-1],f=a[a.length-1];if(l&&f){var d=l.split(".").map(r),p=f.split(".").map(r);for(s=0;sp[s])return 1;if(p[s]>d[s])return-1}}else if(l||f)return l?-1:1;return 0}var a=[">",">=","=","<","<="],s={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]};function u(e){if("string"!==typeof e)throw new TypeError("Invalid operator type, expected string but got "+typeof e);if(-1===a.indexOf(e))throw new TypeError("Invalid operator, expected one of "+a.join("|"))}return o.validate=function(t){return"string"===typeof t&&e.test(t)},o.compare=function(e,t,n){u(n);var r=o(e,t);return s[n].indexOf(r)>-1},o})?r.apply(t,i):r)||(e.exports=o)},,function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,t){for(var n,s,u=a(e),c=1;c=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(a)})),e.exports=u}).call(this,n(100))},function(e,t,n){"use strict";var r,i="object"===typeof Reflect?Reflect:null,o=i&&"function"===typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!==e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise((function(n,r){function i(){void 0!==o&&e.removeListener("error",o),n([].slice.call(arguments))}var o;"error"!==t&&(o=function(n){e.removeListener(t,i),r(n)},e.once("error",o)),e.once(t,i)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function c(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var i,o,a,s;if(c(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"===typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=l(e))>0&&a.length>i&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,s=u,console&&console.warn&&console.warn(s)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function h(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=i[e];if(void 0===u)return!1;if("function"===typeof u)o(u,this,t);else{var c=u.length,l=v(u,c);for(n=0;n=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return h(this,e,!0)},s.prototype.rawListeners=function(e){return h(this,e,!1)},s.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){(t=e.exports=n(197)).Stream=t,t.Readable=t,t.Writable=n(153),t.Duplex=n(69),t.Transform=n(202),t.PassThrough=n(352)},function(e,t,n){var r=n(152),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),o(i,a),a.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){"use strict";(function(e){var r=n(345),i=n(346),o=n(198);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(u.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return U(e).length;default:if(r)return H(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,n);case"utf8":case"utf-8":return M(this,t,n);case"ascii":return C(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){for(var f=!0,d=0;di&&(r=i):r=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function E(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function M(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:c>223?3:c>191?2:1;if(i+f<=n)switch(f){case 1:c<128&&(l=c);break;case 2:128===(192&(o=e[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=f}return function(e){var t=e.length;if(t<=S)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),c=this.slice(r,i),l=e.slice(t,n),f=0;fi)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return x(this,e,t,n);case"base64":return k(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var S=4096;function C(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function L(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function A(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function R(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function I(e,t,n,r,o){return o||R(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function z(e,t,n,r,o){return o||R(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||N(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||N(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||N(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||N(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||N(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||N(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||N(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||N(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||N(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||N(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||N(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||N(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||N(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||N(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||N(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||N(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||D(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):A(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):A(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);D(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);D(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):A(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):A(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return I(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return I(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return z(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return z(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function U(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(F,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function W(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(45))},function(e,t,n){"use strict";(function(t,r,i){var o=n(109);function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=y;var s,u=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?r:o.nextTick;y.WritableState=g;var c=n(101);c.inherits=n(80);var l={deprecate:n(350)},f=n(199),d=n(151).Buffer,p=i.Uint8Array||function(){};var h,m=n(200);function v(){}function g(e,t){s=s||n(69),e=e||{};var r=t instanceof s;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,c=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(c||0===c)?c:l,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 f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(o.nextTick(i,r),o.nextTick(O,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),O(e,t))}(e,n,r,t,i);else{var a=x(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||w(e,n),r?u(_,e,n,a,i):_(e,n,a,i)}}(t,e)},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 a(this)}function y(e){if(s=s||n(69),!h.call(y,this)&&!(this instanceof s))return new y(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),f.call(this)}function b(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function _(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),O(e,t)}function w(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var s=0,u=!0;n;)i[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;i.allBuffers=u,b(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,l=n.encoding,f=n.callback;if(b(e,t,!1,t.objectMode?1:c.length,c,l,f),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function x(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),O(e,t)}))}function O(e,t){var n=x(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"===typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(k,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}c.inherits(y,f),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:l.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(h=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!h.call(this,e)||this===y&&(e&&e._writableState instanceof g)}})):h=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(e,t,n){var r,i=this._writableState,a=!1,s=!i.objectMode&&(r=e,d.isBuffer(r)||r instanceof p);return s&&!d.isBuffer(e)&&(e=function(e){return d.from(e)}(e)),"function"===typeof t&&(n=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!==typeof n&&(n=v),i.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),o.nextTick(t,n)}(this,n):(s||function(e,t,n,r){var i=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"===typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),o.nextTick(r,a),i=!1),i}(this,i,e,n))&&(i.pendingcb++,a=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=d.from(t,n));return t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var u=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,n){var r=this._writableState;"function"===typeof e?(n=e,e=null,t=null):"function"===typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,O(e,t),n&&(t.finished?o.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n(100),n(195).setImmediate,n(45))},function(e,t,n){var r=n(110),i=n(363),o=n(364),a=n(365),s=n(366),u=n(367);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=u,e.exports=c},function(e,t,n){var r=n(70)(n(56),"Map");e.exports=r},function(e,t,n){var r=n(81),i=n(62);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){var r=n(374),i=n(381),o=n(383),a=n(384),s=n(385);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){(function(e){var r=n(56),i=n(397),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,u=(s?s.isBuffer:void 0)||i;e.exports=u}).call(this,n(159)(e))},function(e,t,n){var r=n(399),i=n(400),o=n(401),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=Object(r.default)(e),f=l.getDay(),d=6+(f=0){i=1;break}var a=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),i))}};function s(e){return e&&"[object Function]"==={}.toString.call(e)}function u(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function c(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=u(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?e:l(c(e))}var f=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function p(e){return 11===e?f:10===e?d:f||d}function h(e){if(!e)return document.documentElement;for(var t=p(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===u(n,"position")?h(n):n:e?e.ownerDocument.documentElement:document.documentElement}function m(e){return null!==e.parentNode?m(e.parentNode):e}function v(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a=o.commonAncestorContainer;if(e!==a&&t!==a||r.contains(i))return function(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||h(e.firstElementChild)===e)}(a)?a:h(a);var s=m(e);return s.host?v(s.host,t):v(e,m(t).host)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var i=e.ownerDocument.documentElement,o=e.ownerDocument.scrollingElement||i;return o[n]}return e[n]}function y(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(t,"top"),i=g(t,"left"),o=n?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=i*o,e.right+=i*o,e}function b(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+r+"Width"],10)}function _(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],p(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function w(e){var t=e.body,n=e.documentElement,r=p(10)&&getComputedStyle(n);return{height:_("Height",t,n,r),width:_("Width",t,n,r)}}var x=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},k=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=p(10),i="HTML"===t.nodeName,o=S(e),a=S(t),s=l(e),c=u(t),f=parseFloat(c.borderTopWidth,10),d=parseFloat(c.borderLeftWidth,10);n&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=M({top:o.top-a.top-f,left:o.left-a.left-d,width:o.width,height:o.height});if(h.marginTop=0,h.marginLeft=0,!r&&i){var m=parseFloat(c.marginTop,10),v=parseFloat(c.marginLeft,10);h.top-=f-m,h.bottom-=f-m,h.left-=d-v,h.right-=d-v,h.marginTop=m,h.marginLeft=v}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(h=y(h,t)),h}function T(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=C(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:g(n),s=t?0:g(n,"left"),u={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o};return M(u)}function P(e){var t=e.nodeName;return"BODY"!==t&&"HTML"!==t&&("fixed"===u(e,"position")||P(c(e)))}function j(e){if(!e||!e.parentElement||p())return document.documentElement;for(var t=e.parentElement;t&&"none"===u(t,"transform");)t=t.parentElement;return t||document.documentElement}function N(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?j(e):v(e,t);if("viewport"===r)o=T(a,i);else{var s=void 0;"scrollParent"===r?"BODY"===(s=l(c(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var u=C(s,a,i);if("HTML"!==s.nodeName||P(a))o=u;else{var f=w(e.ownerDocument),d=f.height,p=f.width;o.top+=u.top-u.marginTop,o.bottom=d+u.top,o.left+=u.left-u.marginLeft,o.right=p+u.left}}var h="number"===typeof(n=n||0);return o.left+=h?n:n.left||0,o.top+=h?n:n.top||0,o.right-=h?n:n.right||0,o.bottom-=h?n:n.bottom||0,o}function D(e){return e.width*e.height}function L(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=N(n,r,o,i),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},u=Object.keys(s).map((function(e){return E({key:e},s[e],{area:D(s[e])})})).sort((function(e,t){return t.area-e.area})),c=u.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),l=c.length>0?c[0].key:u[0].key,f=e.split("-")[1];return l+(f?"-"+f:"")}function A(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=r?j(t):v(t,n);return C(n,i,r)}function R(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function I(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function z(e,t,n){n=n.split("-")[0];var r=R(e),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",u=o?"height":"width",c=o?"width":"height";return i[a]=t[a]+t[u]/2-r[u]/2,i[s]=n===s?t[s]-r[c]:t[I(s)],i}function F(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function B(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=F(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&s(n)&&(t.offsets.popper=M(t.offsets.popper),t.offsets.reference=M(t.offsets.reference),t=n(t,e))})),t}function H(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=A(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=L(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=z(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=B(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function U(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function W(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=te.indexOf(e),r=te.slice(n+1).concat(te.slice(0,n));return t?r.reverse():r}var re="flip",ie="clockwise",oe="counterclockwise";function ae(e,t,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(F(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(u)[0]]),[a[s].split(u)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,r){var i=(1===r?!o:o)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return M(s)[t]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(e,i,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){X(n)&&(i[t]+=n*("-"===e[r-1]?-1:1))}))})),i}var se={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var i=e.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),u=s?"left":"top",c=s?"width":"height",l={start:O({},u,o[u]),end:O({},u,o[u]+o[c]-a[c])};e.offsets.popper=E({},a,l[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,i=e.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],u=void 0;return u=X(+n)?[+n,0]:ae(n,o,a,s),"left"===s?(o.top+=u[0],o.left-=u[1]):"right"===s?(o.top+=u[0],o.left+=u[1]):"top"===s?(o.left+=u[0],o.top-=u[1]):"bottom"===s&&(o.left+=u[0],o.top+=u[1]),e.popper=o,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||h(e.instance.popper);e.instance.reference===n&&(n=h(n));var r=W("transform"),i=e.instance.popper.style,o=i.top,a=i.left,s=i[r];i.top="",i.left="",i[r]="";var u=N(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=o,i.left=a,i[r]=s,t.boundaries=u;var c=t.priority,l=e.offsets.popper,f={primary:function(e){var n=l[e];return l[e]u[e]&&!t.escapeWithReference&&(r=Math.min(l[n],u[e]-("right"===e?l.width:l.height))),O({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";l=E({},l,f[t](e))})),e.offsets.popper=l,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,i=e.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",u=a?"left":"top",c=a?"width":"height";return n[s]o(r[s])&&(e.offsets.popper[u]=o(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!J(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"===typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],o=e.offsets,a=o.popper,s=o.reference,c=-1!==["left","right"].indexOf(i),l=c?"height":"width",f=c?"Top":"Left",d=f.toLowerCase(),p=c?"left":"top",h=c?"bottom":"right",m=R(r)[l];s[h]-ma[h]&&(e.offsets.popper[d]+=s[d]+m-a[h]),e.offsets.popper=M(e.offsets.popper);var v=s[d]+s[l]/2-m/2,g=u(e.instance.popper),y=parseFloat(g["margin"+f],10),b=parseFloat(g["border"+f+"Width"],10),_=v-e.offsets.popper[d]-y-b;return _=Math.max(Math.min(a[l]-m,_),0),e.arrowElement=r,e.offsets.arrow=(O(n={},d,Math.round(_)),O(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(U(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=N(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],i=I(r),o=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case re:a=[r,i];break;case ie:a=ne(r);break;case oe:a=ne(r,!0);break;default:a=t.behavior}return a.forEach((function(s,u){if(r!==s||a.length===u+1)return e;r=e.placement.split("-")[0],i=I(r);var c=e.offsets.popper,l=e.offsets.reference,f=Math.floor,d="left"===r&&f(c.right)>f(l.left)||"right"===r&&f(c.left)f(l.top)||"bottom"===r&&f(c.top)f(n.right),m=f(c.top)f(n.bottom),g="left"===r&&p||"right"===r&&h||"top"===r&&m||"bottom"===r&&v,y=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(y&&"start"===o&&p||y&&"end"===o&&h||!y&&"start"===o&&m||!y&&"end"===o&&v);(d||g||b)&&(e.flipped=!0,(d||g)&&(r=a[u+1]),b&&(o=function(e){return"end"===e?"start":"start"===e?"end":e}(o)),e.placement=r+(o?"-"+o:""),e.offsets.popper=E({},e.offsets.popper,z(e.instance.popper,e.offsets.reference,e.placement)),e=B(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),e.placement=I(t),e.offsets.popper=M(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!J(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=F(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};x(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=a(this.update.bind(this)),this.options=E({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(E({},e.Defaults.modifiers,i.modifiers)).forEach((function(t){r.options.modifiers[t]=E({},e.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return E({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&s(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return k(e,[{key:"update",value:function(){return H.call(this)}},{key:"destroy",value:function(){return V.call(this)}},{key:"enableEventListeners",value:function(){return K.call(this)}},{key:"disableEventListeners",value:function(){return Q.call(this)}}]),e}();ue.Utils=("undefined"!==typeof window?window:e).PopperUtils,ue.placements=ee,ue.Defaults=se,t.a=ue}).call(this,n(45))},function(e,t,n){"use strict";t.__esModule=!0;var r=o(n(2)),i=o(n(337));function o(e){return e&&e.__esModule?e:{default:e}}t.default=r.default.createContext||i.default,e.exports=t.default},function(e,t,n){var r=n(212),i=n(211),o=n(215),a=n(82),s=n(115),u=n(116),c=Object.prototype.hasOwnProperty,l=o((function(e,t){if(s(t)||a(t))i(t,u(t),e);else for(var n in t)c.call(t,n)&&r(e,n,t[n])}));e.exports=l},function(e,t,n){"use strict";var r,i=(r=n(462))&&r.__esModule?r:{default:r};function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===r.RFC1738&&(40===l||41===l)?u+=s.charAt(c):l<128?u+=a[l]:l<2048?u+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?u+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(c+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(c)),u+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return u},isBuffer:function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(299),t.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(45))},function(e,t,n){var r=n(342);e.exports={toObject:function(e,t){var n=(t=t||{}).delimiter||",",i=r.getQuoteChar(t.quote),o=e,a=null;if("string"!==typeof o)throw new Error("Invalid input, input data should be a string");o=o.split(/[\n\r]+/gi),"string"===typeof t.headers?(a=t.headers.split(/[\n\r]+/gi),a=i?r.convertArray(a.shift(),n,i):a.shift().split(n)):a=i?r.convertArray(o.shift(),n,i):o.shift().split(n);var s=[];return o.forEach((function(e){if(e){e=i?r.convertArray(e,n,i):e.split(n);var t={};a.forEach((function(n,i){t[n]=r.removeQuote(e[i])})),s.push(t)}})),s},toArray:function(e,t){var n=(t=t||{}).delimiter||",",i=r.getQuoteChar(t.quote),o=e;if("string"!==typeof o)throw new Error("Invalid input, input data should be a string");o=o.split(/[\n\r]+/gi);var a=[];return o.forEach((function(e){e&&(e=(e=i?r.convertArray(e,n,i):e.split(n)).map((function(e){return r.removeQuote(e)})),a.push(e))})),a},toColumnArray:function(e,t){var n=(t=t||{}).delimiter||",",i=r.getQuoteChar(t.quote),o=e,a=null;if("string"!==typeof o)throw new Error("Invalid input, input data should be a string");o=o.split(/[\n\r]+/gi),"string"===typeof t.headers?(a=t.headers.split(/[\n\r]+/gi),a=i?r.convertArray(a.shift(),n,i):a.shift().split(n)):a=i?r.convertArray(o.shift(),n,i):o.shift().split(n);var s={};return a.forEach((function(e){s[e]=[]})),o.forEach((function(e){e&&(e=i?r.convertArray(e,n,i):e.split(n)).forEach((function(e,t){s[a[t]].push(r.removeQuote(e))}))})),s},toSchemaObject:function(e,t){var n=(t=t||{}).delimiter||",",i=r.getQuoteChar(t.quote),o=e,a=null;if("string"!==typeof o)throw new Error("Invalid input, input should be a string");o=o.split(/[\n\r]+/gi),"string"===typeof t.headers?(a=t.headers.split(/[\n\r]+/gi),a=i?r.convertArray(a.shift(),n,i):a.shift().split(n)):a=i?r.convertArray(o.shift(),n,i):o.shift().split(n);var s=[];return o.forEach((function(e){if(e){e=i?r.convertArray(e,n,i):e.split(n);var t={};e.forEach((function(e,o){r.addDataInSchema(a[o],e,t,n,i)})),s.push(t)}})),s},toCSV:function(e,t){(t=t||{}).delimiter=t.delimiter||",",t.wrap=t.wrap||"",t.arrayDenote=t.arrayDenote&&String(t.arrayDenote).trim()?t.arrayDenote:"[]",t.objectDenote=t.objectDenote&&String(t.objectDenote).trim()?t.objectDenote:".",t.detailedOutput="boolean"!==typeof t.detailedOutput||t.detailedOutput,t.headers=String(t.headers).toLowerCase();var n={},i="";t.headers.match(/none|full|relative|key/)?t.headers=t.headers.match(/none|full|relative|key/)[0]:t.headers="full";!0===t.wrap&&(t.wrap='"');"string"===typeof e&&(e=JSON.parse(e));r.toCsv(e,n,"",0,t);var o=r.getHeaders(t.headers,n,t);o&&(t.wrap&&(o=o.map((function(e){return t.wrap+e+t.wrap}))),i=o.join(t.delimiter));var a=r.getLengthyItem(n),s=Object.keys(n),u=[],c=/\n|\r/g;t.wrap||(c=new RegExp("\n|\r|"+t.delimiter,"g"));for(var l=0;l0?("string"===typeof t||a.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):w(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?w(e,a,t,!1):M(e,a)):w(e,a,t,!1))):r||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=x?e=x:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function O(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(p("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(E,e):E(e))}function E(e){p("emit readable"),e.emit("readable"),P(e)}function M(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(S,e,t))}function S(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;eo.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=c.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0===(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function N(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(D,t,e))}function D(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function L(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return p("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?N(this):O(this),null;if(0===(e=k(e,t))&&t.ended)return 0===t.length&&N(this),null;var r,i=t.needReadable;return p("need readable",i),(0===t.length||t.length-e0?j(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&N(this)),null!==r&&this.emit("data",r),r},b.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,p("pipe count=%d opts=%j",o.pipesCount,t);var u=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?l:b;function c(t,r){p("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,p("cleanup"),e.removeListener("close",g),e.removeListener("finish",y),e.removeListener("drain",f),e.removeListener("error",v),e.removeListener("unpipe",c),n.removeListener("end",l),n.removeListener("end",b),n.removeListener("data",m),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function l(){p("onend"),e.end()}o.endEmitted?i.nextTick(u):n.once("end",u),e.on("unpipe",c);var f=function(e){return function(){var t=e._readableState;p("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,P(e))}}(n);e.on("drain",f);var d=!1;var h=!1;function m(t){p("ondata"),h=!1,!1!==e.write(t)||h||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==L(o.pipes,e))&&!d&&(p("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,h=!0),n.pause())}function v(t){p("onerror",t),b(),e.removeListener("error",v),0===s(e,"error")&&e.emit("error",t)}function g(){e.removeListener("finish",y),b()}function y(){p("onfinish"),e.removeListener("close",g),b()}function b(){p("unpipe"),n.unpipe(e)}return n.on("data",m),function(e,t,n){if("function"===typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",v),e.once("close",g),e.once("finish",y),e.emit("pipe",n),o.flowing||(p("pipe resume"),n.resume()),e},b.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!==(192&t[0]))return e.lastNeed=0,"\ufffd";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"\ufffd";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"\ufffd"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function l(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return i>0&&(e.lastNeed=i-1),i;if(--r=0)return i>0&&(e.lastNeed=i-2),i;if(--r=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,n){"use strict";e.exports=a;var r=n(69),i=n(101);function o(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++rl))return!1;var d=u.get(e),p=u.get(t);if(d&&p)return d==t&&p==e;var h=-1,m=!0,v=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++h3?l.call(arguments,3):[],i=this;return y.call(this,e,(function(){var e=t,o=r.map(p,i.container);return n?new(t.bind.apply(t,[null].concat(o))):e.apply(null,o)}))},_=function(e,t){Object.defineProperty(this,e,{configurable:!0,enumerable:!0,value:t,writable:!0})},w=function(e,t){var n=e[t];return n||_.call(e,t,n={}),n},x=function(e,t){Object.defineProperty(this,e,{configurable:!1,enumerable:!0,value:t,writable:!1})},k=function(e,t){var n,r;return typeof e===o&&(t=e,e=s),r=(n=e.split(i)).shift(),n.length?d.call(this,r).decorator(n.join(i),t):(this.decorators[r]||(this.decorators[r]=[]),this.decorators[r].push(t)),this},O=function(e){return!/^\$(?:decorator|register|list)$|Provider$/.test(e)},E=function(e){return Object.keys(e||this.container||{}).filter(O)},M={},S=function(e){var t=void 0===e.$value?e:e.$value;return this[e.$type||"service"].apply(this,[e.$name,t].concat(e.$inject||[]))},C=function(e){delete this.providerMap[e],delete this.container[e],delete this.container[e+u]};(r=function e(t){if(!(this instanceof e))return e.pop(t);this.id=c++,this.decorators={},this.middlewares={},this.nested={},this.providerMap={},this.originalProviders={},this.deferred=[],this.container={$decorator:k.bind(this),$register:S.bind(this),$list:E.bind(this)}}).prototype={constant:function(e,t){var n=e.split(i);return e=n.pop(),x.call(n.reduce(w,this.container),e,t),this},decorator:k,defer:function(e){return this.deferred.push(e),this},digest:function(e){return(e||[]).map(p,this.container)},factory:y,instanceFactory:function(e,t){return y.call(this,e,(function(e){return{instance:t.bind(t,e)}}))},list:E,middleware:function(e,t){var n,r;return typeof e===o&&(t=e,e=s),r=(n=e.split(i)).shift(),n.length?d.call(this,r).middleware(n.join(i),t):(this.middlewares[r]||(this.middlewares[r]=[]),this.middlewares[r].push(t)),this},provider:g,resetProviders:function(e){var t=this.originalProviders,n=Array.isArray(e);Object.keys(this.originalProviders).forEach((function(r){if(!n||-1!==e.indexOf(r)){var o=r.split(i);o.length>1&&o.forEach(C,d.call(this,o[0])),C.call(this,r),this.provider(r,t[r])}}),this)},register:S,resolve:function(e){return this.deferred.forEach((function(t){t(e)})),this},service:function(e,t){return b.apply(this,[e,t,!0].concat(l.call(arguments,2)))},serviceFactory:function(e,t){return b.apply(this,[e,t,!1].concat(l.call(arguments,2)))},value:function(e,t){var n;return n=e.split(i),e=n.pop(),_.call(n.reduce(w,this.container),e,t),this}},r.pop=function(e){var t;return typeof e===a?((t=M[e])||(M[e]=t=new r,t.constant("BOTTLE_NAME",e)),t):new r},r.clear=function(e){typeof e===a?delete M[e]:M={}},r.list=E,r.config={strict:!1},t.a=r},,function(e,t,n){e.exports=n(280)},,function(e,t,n){!function(e,t){function n(){return(n=Object.assign||function(e){for(var t=1;tt?n>0?i:r:s>0?a:o}function m(e,t){if(0===t)return e;var n=Math.PI/180*t;return[e[0]*Math.cos(n)+e[1]*Math.sin(n),e[1]*Math.cos(n)-e[0]*Math.sin(n)]}function v(e,t){var r=function(t){t&&"touches"in t&&t.touches.length>1||e((function(e,r){r.trackMouse&&(document.addEventListener(c,i),document.addEventListener(l,s));var o="touches"in t?t.touches[0]:t,a=m([o.clientX,o.clientY],r.rotationAngle);return n({},e,u,{initial:[].concat(a),xy:a,start:t.timeStamp||0})}))},i=function(t){e((function(e,r){if("touches"in t&&t.touches.length>1)return e;var i="touches"in t?t.touches[0]:t,o=m([i.clientX,i.clientY],r.rotationAngle),a=o[0],s=o[1],u=a-e.xy[0],c=s-e.xy[1],l=Math.abs(u),f=Math.abs(c),d=(t.timeStamp||0)-e.start,p=Math.sqrt(l*l+f*f)/(d||1),v=[u/(d||1),c/(d||1)];if(le?t:e}));t.a=i},function(e,t,n){(function(e){!function(t,n,r,i,o,a,s,u,c,l,f,d,p,h,m,v,g,y,b,_,w,x,k,O,E,M,S,C,T,P,j,N,D,L,A,R,I,z,F,B,H,U,W,V,Y,q,Z,K,Q,X,$,G,J,ee,te,ne,re,ie,oe,ae,se,ue,ce){"use strict";function le(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var fe=le(n),de=le(i),pe=le(o),he=le(a),me=le(s),ve=le(u),ge=le(c),ye=le(l),be=le(f),_e=le(d),we=le(p),xe=le(v),ke=le(g),Oe=le(y),Ee=le(b),Me=le(_),Se=le(w),Ce=le(x),Te=le(k),Pe=le(O),je=le(E),Ne=le(M),De=le(S),Le=le(C),Ae=le(T),Re=le(P),Ie=le(j),ze=le(N),Fe=le(D),Be=le(L),He=le(A),Ue=le(R),We=le(I),Ve=le(z),Ye=le(F),qe=le(H),Ze=le(U),Ke=le(W),Qe=le(V),Xe=le(Y),$e=le(q),Ge=le(Z),Je=le(X),et=le($),tt=le(G),nt=le(J),rt=le(ee),it=le(te),ot=le(ne),at=le(re),st=le(ie),ut=le(oe),ct=le(ae),lt=le(se),ft=le(ce);function dt(e){return(dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ht(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&(i=ut.default(e,t.slice(0,e.length),new Date)),At(i)||(i=new Date(e))),At(i)&&a?i:null)}function At(e){return he.default(e)&&it.default(e,new Date("1/1/1000"))}function Rt(e,t,n){if("en"===n)return me.default(e,t,{awareOfUnicodeTokens:!0});var r=Gt(n);return n&&!r&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),!r&&$t()&&Gt($t())&&(r=Gt($t())),me.default(e,t,{locale:r||null,awareOfUnicodeTokens:!0})}function It(e,t){var n=t.hour,r=void 0===n?0:n,i=t.minute,o=void 0===i?0:i,a=t.second,s=void 0===a?0:a;return ze.default(Ie.default(Re.default(e,s),o),r)}function zt(e,t){var n=t&&Gt(t)||$t()&&Gt($t());return je.default(e,n?{locale:n}:null)}function Ft(e,t){return Rt(e,"ddd",t)}function Bt(e){return Ze.default(e)}function Ht(e,t){var n=Gt(t||$t());return Ke.default(e,{locale:n})}function Ut(e){return Qe.default(e)}function Wt(e){return $e.default(e)}function Vt(e){return Xe.default(e)}function Yt(e,t){return e&&t?nt.default(e,t):!e&&!t}function qt(e,t){return e&&t?tt.default(e,t):!e&&!t}function Zt(e,t){return e&&t?rt.default(e,t):!e&&!t}function Kt(e,t){return e&&t?et.default(e,t):!e&&!t}function Qt(e,t){return e&&t?Je.default(e,t):!e&&!t}function Xt(e,t,n){var r,i=Ze.default(t),o=Ge.default(n);try{r=at.default(e,{start:i,end:o})}catch(e){r=!1}return r}function $t(){return("undefined"!=typeof window?window:e).__localeId__}function Gt(t){if("string"==typeof t){var n="undefined"!=typeof window?window:e;return n.__localeData__?n.__localeData__[t]:null}return t}function Jt(e,t){return Rt(Fe.default(Dt(),e),"LLLL",t)}function en(e,t){return Rt(Fe.default(Dt(),e),"LLL",t)}function tn(e,t){return Rt(Be.default(Dt(),e),"QQQ",t)}function nn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,i=t.excludeDates,o=t.includeDates,a=t.filterDate;return ln(e,{minDate:n,maxDate:r})||i&&i.some((function(t){return Kt(e,t)}))||o&&!o.some((function(t){return Kt(e,t)}))||a&&!a(Dt(e))||!1}function rn(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).excludeDates;return t&&t.some((function(t){return Kt(e,t)}))||!1}function on(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,i=t.excludeDates,o=t.includeDates,a=t.filterDate;return ln(e,{minDate:n,maxDate:r})||i&&i.some((function(t){return qt(e,t)}))||o&&!o.some((function(t){return qt(e,t)}))||a&&!a(Dt(e))||!1}function an(e,t,n,r){var i=Le.default(e),o=Ne.default(e),a=Le.default(t),s=Ne.default(t),u=Le.default(r);return i===a&&i===u?o<=n&&n<=s:i=n||ui:void 0}function sn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,i=t.excludeDates,o=t.includeDates,a=t.filterDate;return ln(e,{minDate:n,maxDate:r})||i&&i.some((function(t){return Zt(e,t)}))||o&&!o.some((function(t){return Zt(e,t)}))||a&&!a(Dt(e))||!1}function un(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate;return ln(new Date(e,0,1),{minDate:n,maxDate:r})||!1}function cn(e,t,n,r){var i=Le.default(e),o=De.default(e),a=Le.default(t),s=De.default(t),u=Le.default(r);return i===a&&i===u?o<=n&&n<=s:i=n||ui:void 0}function ln(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate;return n&&Ve.default(e,n)<0||r&&Ve.default(e,r)>0}function fn(e,t){return t.some((function(t){return Ce.default(t)===Ce.default(e)&&Se.default(t)===Se.default(e)}))}function dn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeTimes,r=t.includeTimes,i=t.filterTime;return n&&fn(e,n)||r&&!fn(e,r)||i&&!i(e)||!1}function pn(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var i,o=Dt(),a=ze.default(Ie.default(o,Se.default(e)),Ce.default(e)),s=ze.default(Ie.default(o,Se.default(n)),Ce.default(n)),u=ze.default(Ie.default(o,Se.default(r)),Ce.default(r));try{i=!at.default(a,{start:s,end:u})}catch(e){i=!1}return i}function hn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,i=Oe.default(e,1);return n&&Ye.default(n,i)>0||r&&r.every((function(e){return Ye.default(e,i)>0}))||!1}function mn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,i=_e.default(e,1);return n&&Ye.default(i,n)>0||r&&r.every((function(e){return Ye.default(i,e)>0}))||!1}function vn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,i=Ee.default(e,1);return n&&qe.default(n,i)>0||r&&r.every((function(e){return qe.default(e,i)>0}))||!1}function gn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,i=we.default(e,1);return n&&qe.default(i,n)>0||r&&r.every((function(e){return qe.default(i,e)>0}))||!1}function yn(e){var t=e.minDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return Ve.default(e,t)>=0}));return Ue.default(r)}return n?Ue.default(n):t}function bn(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return Ve.default(e,t)<=0}));return We.default(r)}return n?We.default(n):t}function _n(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--highlighted",n=new Map,r=0,i=e.length;r1&&void 0!==arguments[1]?arguments[1]:jt,n=Math.ceil(Le.default(e)/t)*t;return{startPeriod:n-(t-1),endPeriod:n}}function On(e,t,n,r){for(var i=[],o=0;o<2*t+1;o++){var a=e+t-o,s=!0;n&&(s=Le.default(n)<=a),r&&s&&(s=Le.default(r)>=a),s&&i.push(a)}return i}var En=function(e){_t(n,e);var t=Et(n);function n(e){var r;pt(this,n),vt(kt(r=t.call(this,e)),"renderOptions",(function(){var e=r.props.year,t=r.state.yearsList.map((function(t){return fe.default.createElement("div",{className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:r.onChange.bind(kt(r),t)},e===t?fe.default.createElement("span",{className:"react-datepicker__year-option--selected"},"\u2713"):"",t)})),n=r.props.minDate?Le.default(r.props.minDate):null,i=r.props.maxDate?Le.default(r.props.maxDate):null;return i&&r.state.yearsList.find((function(e){return e===i}))||t.unshift(fe.default.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:r.incrementYears},fe.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),n&&r.state.yearsList.find((function(e){return e===n}))||t.push(fe.default.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:r.decrementYears},fe.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t})),vt(kt(r),"onChange",(function(e){r.props.onChange(e)})),vt(kt(r),"handleClickOutside",(function(){r.props.onCancel()})),vt(kt(r),"shiftYears",(function(e){var t=r.state.yearsList.map((function(t){return t+e}));r.setState({yearsList:t})})),vt(kt(r),"incrementYears",(function(){return r.shiftYears(1)})),vt(kt(r),"decrementYears",(function(){return r.shiftYears(-1)}));var i=e.yearDropdownItemNumber,o=e.scrollableYearDropdown,a=i||(o?10:5);return r.state={yearsList:On(r.props.year,a,r.props.minDate,r.props.maxDate)},r}return mt(n,[{key:"render",value:function(){var e=de.default({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return fe.default.createElement("div",{className:e},this.renderOptions())}}]),n}(fe.default.Component),Mn=lt.default(En),Sn=function(e){_t(n,e);var t=Et(n);function n(){var e;pt(this,n);for(var r=arguments.length,i=new Array(r),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},n=!1;0===e.getTabIndex()&&!t.isInputFocused&&e.isSameDay(e.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),e.props.inline&&!e.props.shouldFocusDayInline&&(n=!1),e.props.containerRef&&e.props.containerRef.current&&e.props.containerRef.current.contains(document.activeElement)&&document.activeElement.classList.contains("react-datepicker__day")&&(n=!0)),n&&e.dayEl.current.focus({preventScroll:!0})})),vt(kt(e),"renderDayContents",(function(){if(e.isOutsideMonth()){if(e.props.monthShowsDuplicateDaysEnd&&Pe.default(e.props.day)<10)return null;if(e.props.monthShowsDuplicateDaysStart&&Pe.default(e.props.day)>20)return null}return e.props.renderDayContents?e.props.renderDayContents(Pe.default(e.props.day),e.props.day):Pe.default(e.props.day)})),vt(kt(e),"render",(function(){return fe.default.createElement("div",{ref:e.dayEl,className:e.getClassNames(e.props.day),onKeyDown:e.handleOnKeyDown,onClick:e.handleClick,onMouseEnter:e.handleMouseEnter,tabIndex:e.getTabIndex(),"aria-label":e.getAriaLabel(),role:"button","aria-disabled":e.isDisabled()},e.renderDayContents())})),e}return mt(n,[{key:"componentDidMount",value:function(){this.handleFocusDay()}},{key:"componentDidUpdate",value:function(e){this.handleFocusDay(e)}}]),n}(fe.default.Component),Rn=function(e){_t(n,e);var t=Et(n);function n(){var e;pt(this,n);for(var r=arguments.length,i=new Array(r),o=0;o=6,s=!n&&!e.isWeekInMonth(r);if(a||s){if(!e.props.peekNextMonth)break;o=!0}}return t})),vt(kt(e),"onMonthClick",(function(t,n){e.handleDayClick(Ut(Fe.default(e.props.day,n)),t)})),vt(kt(e),"handleMonthNavigation",(function(t,n){e.isDisabled(n)||e.isExcluded(n)||(e.props.setPreSelection(n),e.MONTH_REFS[t].current&&e.MONTH_REFS[t].current.focus())})),vt(kt(e),"onMonthKeyDown",(function(t,n){var r=t.key;if(!e.props.disabledKeyboardNavigation)switch(r){case"Enter":e.onMonthClick(t,n),e.props.setPreSelection(e.props.selected);break;case"ArrowRight":e.handleMonthNavigation(11===n?0:n+1,_e.default(e.props.preSelection,1));break;case"ArrowLeft":e.handleMonthNavigation(0===n?11:n-1,Oe.default(e.props.preSelection,1))}})),vt(kt(e),"onQuarterClick",(function(t,n){e.handleDayClick(Vt(Be.default(e.props.day,n)),t)})),vt(kt(e),"getMonthClassNames",(function(t){var n=e.props,r=n.day,i=n.startDate,o=n.endDate,a=n.selected,s=n.minDate,u=n.maxDate,c=n.preSelection,l=n.monthClassName,f=l?l(r):void 0;return de.default("react-datepicker__month-text","react-datepicker__month-".concat(t),f,{"react-datepicker__month--disabled":(s||u)&&on(Fe.default(r,t),e.props),"react-datepicker__month--selected":Ne.default(r)===t&&Le.default(r)===Le.default(a),"react-datepicker__month-text--keyboard-selected":Ne.default(c)===t,"react-datepicker__month--in-range":an(i,o,t,r),"react-datepicker__month--range-start":e.isRangeStartMonth(t),"react-datepicker__month--range-end":e.isRangeEndMonth(t)})})),vt(kt(e),"getTabIndex",(function(t){var n=Ne.default(e.props.preSelection);return e.props.disabledKeyboardNavigation||t!==n?"-1":"0"})),vt(kt(e),"getAriaLabel",(function(t){var n=e.props,r=n.ariaLabelPrefix,i=void 0===r?"Choose":r,o=n.disabledDayAriaLabelPrefix,a=void 0===o?"Not available":o,s=n.day,u=Fe.default(s,t),c=e.isDisabled(u)||e.isExcluded(u)?a:i;return"".concat(c," ").concat(Rt(u,"MMMM yyyy"))})),vt(kt(e),"getQuarterClassNames",(function(t){var n=e.props,r=n.day,i=n.startDate,o=n.endDate,a=n.selected,s=n.minDate,u=n.maxDate;return de.default("react-datepicker__quarter-text","react-datepicker__quarter-".concat(t),{"react-datepicker__quarter--disabled":(s||u)&&sn(Be.default(r,t),e.props),"react-datepicker__quarter--selected":De.default(r)===t&&Le.default(r)===Le.default(a),"react-datepicker__quarter--in-range":cn(i,o,t,r),"react-datepicker__quarter--range-start":e.isRangeStartQuarter(t),"react-datepicker__quarter--range-end":e.isRangeEndQuarter(t)})})),vt(kt(e),"renderMonths",(function(){var t=e.props,n=t.showFullMonthYearPicker,r=t.showTwoColumnMonthYearPicker,i=t.showFourColumnMonthYearPicker,o=t.locale;return(i?[[0,1,2,3],[4,5,6,7],[8,9,10,11]]:r?[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]]:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]]).map((function(t,r){return fe.default.createElement("div",{className:"react-datepicker__month-wrapper",key:r},t.map((function(t,r){return fe.default.createElement("div",{ref:e.MONTH_REFS[t],key:r,onClick:function(n){e.onMonthClick(n,t)},onKeyDown:function(n){e.onMonthKeyDown(n,t)},tabIndex:e.getTabIndex(t),className:e.getMonthClassNames(t),role:"button","aria-label":e.getAriaLabel(t)},n?Jt(t,o):en(t,o))})))}))})),vt(kt(e),"renderQuarters",(function(){return fe.default.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map((function(t,n){return fe.default.createElement("div",{key:n,onClick:function(n){e.onQuarterClick(n,t)},className:e.getQuarterClassNames(t)},tn(t,e.props.locale))})))})),vt(kt(e),"getClassNames",(function(){var t=e.props;t.day;var n=t.selectingDate,r=t.selectsStart,i=t.selectsEnd,o=t.showMonthYearPicker,a=t.showQuarterYearPicker;return de.default("react-datepicker__month",{"react-datepicker__month--selecting-range":n&&(r||i)},{"react-datepicker__monthPicker":o},{"react-datepicker__quarterPicker":a})})),e}return mt(n,[{key:"render",value:function(){var e=this.props,t=e.showMonthYearPicker,n=e.showQuarterYearPicker,r=e.day,i=e.ariaLabelPrefix,o=void 0===i?"month ":i;return fe.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.handleMouseLeave,"aria-label":"".concat(o," ").concat(Rt(r,"yyyy-MM"))},t?this.renderMonths():n?this.renderQuarters():this.renderWeeks())}}]),n}(fe.default.Component),Fn=function(e){_t(n,e);var t=Et(n);function n(){var e;pt(this,n);for(var r=arguments.length,i=new Array(r),o=0;o0&&void 0!==arguments[0]?arguments[0]:{}).className||"").split(/\s+/);return Wn.some((function(t){return e.indexOf(t)>=0}))})(e.target)&&r.props.onDropdownFocus()})),vt(kt(r),"getDateInView",(function(){var e=r.props,t=e.preSelection,n=e.selected,i=e.openToDate,o=yn(r.props),a=bn(r.props),s=Dt();return i||n||t||(o&&ot.default(s,o)?o:a&&it.default(s,a)?a:s)})),vt(kt(r),"increaseMonth",(function(){r.setState((function(e){var t=e.date;return{date:_e.default(t,1)}}),(function(){return r.handleMonthChange(r.state.date)}))})),vt(kt(r),"decreaseMonth",(function(){r.setState((function(e){var t=e.date;return{date:Oe.default(t,1)}}),(function(){return r.handleMonthChange(r.state.date)}))})),vt(kt(r),"handleDayClick",(function(e,t,n){r.props.onSelect(e,t,n),r.props.setPreSelection&&r.props.setPreSelection(e)})),vt(kt(r),"handleDayMouseEnter",(function(e){r.setState({selectingDate:e}),r.props.onDayMouseEnter&&r.props.onDayMouseEnter(e)})),vt(kt(r),"handleMonthMouseLeave",(function(){r.setState({selectingDate:null}),r.props.onMonthMouseLeave&&r.props.onMonthMouseLeave()})),vt(kt(r),"handleYearChange",(function(e){r.props.onYearChange&&r.props.onYearChange(e),r.props.adjustDateOnChange&&(r.props.onSelect&&r.props.onSelect(e),r.props.setOpen&&r.props.setOpen(!0)),r.props.setPreSelection&&r.props.setPreSelection(e)})),vt(kt(r),"handleMonthChange",(function(e){r.props.onMonthChange&&r.props.onMonthChange(e),r.props.adjustDateOnChange&&(r.props.onSelect&&r.props.onSelect(e),r.props.setOpen&&r.props.setOpen(!0)),r.props.setPreSelection&&r.props.setPreSelection(e)})),vt(kt(r),"handleMonthYearChange",(function(e){r.handleYearChange(e),r.handleMonthChange(e)})),vt(kt(r),"changeYear",(function(e){r.setState((function(t){var n=t.date;return{date:He.default(n,e)}}),(function(){return r.handleYearChange(r.state.date)}))})),vt(kt(r),"changeMonth",(function(e){r.setState((function(t){var n=t.date;return{date:Fe.default(n,e)}}),(function(){return r.handleMonthChange(r.state.date)}))})),vt(kt(r),"changeMonthYear",(function(e){r.setState((function(t){var n=t.date;return{date:He.default(Fe.default(n,Ne.default(e)),Le.default(e))}}),(function(){return r.handleMonthYearChange(r.state.date)}))})),vt(kt(r),"header",(function(){var e=Ht(arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.state.date,r.props.locale),t=[];return r.props.showWeekNumbers&&t.push(fe.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},r.props.weekLabel||"#")),t.concat([0,1,2,3,4,5,6].map((function(t){var n=ye.default(e,t),i=r.formatWeekday(n,r.props.locale),o=r.props.weekDayClassName?r.props.weekDayClassName(n):void 0;return fe.default.createElement("div",{key:t,className:de.default("react-datepicker__day-name",o)},i)})))})),vt(kt(r),"formatWeekday",(function(e,t){return r.props.formatWeekDay?function(e,t,n){return t(Rt(e,"EEEE",n))}(e,r.props.formatWeekDay,t):r.props.useWeekdaysShort?function(e,t){return Rt(e,"EEE",t)}(e,t):function(e,t){return Rt(e,"EEEEEE",t)}(e,t)})),vt(kt(r),"decreaseYear",(function(){r.setState((function(e){var t=e.date;return{date:Ee.default(t,r.props.showYearPicker?r.props.yearItemNumber:1)}}),(function(){return r.handleYearChange(r.state.date)}))})),vt(kt(r),"renderPreviousButton",(function(){if(!r.props.renderCustomHeader){var e;switch(!0){case r.props.showMonthYearPicker:e=vn(r.state.date,r.props);break;case r.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.yearItemNumber,i=void 0===r?jt:r,o=kn(Wt(Ee.default(e,i)),i).endPeriod,a=n&&Le.default(n);return a&&a>o||!1}(r.state.date,r.props);break;default:e=hn(r.state.date,r.props)}if((r.props.forceShowMonthNavigation||r.props.showDisabledMonthNavigation||!e)&&!r.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--previous"],n=r.decreaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(n=r.decreaseYear),e&&r.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--previous--disabled"),n=null);var i=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,o=r.props,a=o.previousMonthAriaLabel,s=void 0===a?"Previous Month":a,u=o.previousYearAriaLabel,c=void 0===u?"Previous Year":u;return fe.default.createElement("button",{type:"button",className:t.join(" "),onClick:n,"aria-label":i?c:s},i?r.props.previousYearButtonLabel:r.props.previousMonthButtonLabel)}}})),vt(kt(r),"increaseYear",(function(){r.setState((function(e){var t=e.date;return{date:we.default(t,r.props.showYearPicker?r.props.yearItemNumber:1)}}),(function(){return r.handleYearChange(r.state.date)}))})),vt(kt(r),"renderNextButton",(function(){if(!r.props.renderCustomHeader){var e;switch(!0){case r.props.showMonthYearPicker:e=gn(r.state.date,r.props);break;case r.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.yearItemNumber,i=void 0===r?jt:r,o=kn(we.default(e,i),i).startPeriod,a=n&&Le.default(n);return a&&a0&&void 0!==arguments[0]?arguments[0]:r.state.date,t=["react-datepicker__current-month"];return r.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),r.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),r.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),fe.default.createElement("div",{className:t.join(" ")},Rt(e,r.props.dateFormat,r.props.locale))})),vt(kt(r),"renderYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showYearDropdown&&!e)return fe.default.createElement(Sn,{adjustDateOnChange:r.props.adjustDateOnChange,date:r.state.date,onSelect:r.props.onSelect,setOpen:r.props.setOpen,dropdownMode:r.props.dropdownMode,onChange:r.changeYear,minDate:r.props.minDate,maxDate:r.props.maxDate,year:Le.default(r.state.date),scrollableYearDropdown:r.props.scrollableYearDropdown,yearDropdownItemNumber:r.props.yearDropdownItemNumber})})),vt(kt(r),"renderMonthDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showMonthDropdown&&!e)return fe.default.createElement(Pn,{dropdownMode:r.props.dropdownMode,locale:r.props.locale,onChange:r.changeMonth,month:Ne.default(r.state.date),useShortMonthInDropdown:r.props.useShortMonthInDropdown})})),vt(kt(r),"renderMonthYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showMonthYearDropdown&&!e)return fe.default.createElement(Ln,{dropdownMode:r.props.dropdownMode,locale:r.props.locale,dateFormat:r.props.dateFormat,onChange:r.changeMonthYear,minDate:r.props.minDate,maxDate:r.props.maxDate,date:r.state.date,scrollableMonthYearDropdown:r.props.scrollableMonthYearDropdown})})),vt(kt(r),"renderTodayButton",(function(){if(r.props.todayButton&&!r.props.showTimeSelectOnly)return fe.default.createElement("div",{className:"react-datepicker__today-button",onClick:function(e){return r.props.onSelect(Ze.default(Dt()),e)}},r.props.todayButton)})),vt(kt(r),"renderDefaultHeader",(function(e){var t=e.monthDate,n=e.i;return fe.default.createElement("div",{className:"react-datepicker__header ".concat(r.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},r.renderCurrentMonth(t),fe.default.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(r.props.dropdownMode),onFocus:r.handleDropdownFocus},r.renderMonthDropdown(0!==n),r.renderMonthYearDropdown(0!==n),r.renderYearDropdown(0!==n)),fe.default.createElement("div",{className:"react-datepicker__day-names"},r.header(t)))})),vt(kt(r),"renderCustomHeader",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.monthDate,n=e.i;if(r.props.showTimeSelect&&(r.state.monthContainer||r.props.showTimeSelectOnly))return null;var i=hn(r.state.date,r.props),o=mn(r.state.date,r.props),a=vn(r.state.date,r.props),s=gn(r.state.date,r.props),u=!r.props.showMonthYearPicker&&!r.props.showQuarterYearPicker&&!r.props.showYearPicker;return fe.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:r.props.onDropdownFocus},r.props.renderCustomHeader(bt(bt({},r.state),{},{customHeaderCount:n,changeMonth:r.changeMonth,changeYear:r.changeYear,decreaseMonth:r.decreaseMonth,increaseMonth:r.increaseMonth,decreaseYear:r.decreaseYear,increaseYear:r.increaseYear,prevMonthButtonDisabled:i,nextMonthButtonDisabled:o,prevYearButtonDisabled:a,nextYearButtonDisabled:s})),u&&fe.default.createElement("div",{className:"react-datepicker__day-names"},r.header(t)))})),vt(kt(r),"renderYearHeader",(function(){var e=r.state.date,t=r.props,n=t.showYearPicker,i=kn(e,t.yearItemNumber),o=i.startPeriod,a=i.endPeriod;return fe.default.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},n?"".concat(o," - ").concat(a):Le.default(e))})),vt(kt(r),"renderHeader",(function(e){switch(!0){case void 0!==r.props.renderCustomHeader:return r.renderCustomHeader(e);case r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker:return r.renderYearHeader(e);default:return r.renderDefaultHeader(e)}})),vt(kt(r),"renderMonths",(function(){if(!r.props.showTimeSelectOnly&&!r.props.showYearPicker){for(var e=[],t=r.props.showPreviousMonths?r.props.monthsShown-1:0,n=Oe.default(r.state.date,t),i=0;i0;e.push(fe.default.createElement("div",{key:s,ref:function(e){r.monthContainer=e},className:"react-datepicker__month-container"},r.renderHeader({monthDate:a,i:i}),fe.default.createElement(zn,{chooseDayAriaLabelPrefix:r.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:r.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:r.props.weekAriaLabelPrefix,onChange:r.changeMonthYear,day:a,dayClassName:r.props.dayClassName,monthClassName:r.props.monthClassName,onDayClick:r.handleDayClick,handleOnKeyDown:r.props.handleOnKeyDown,onDayMouseEnter:r.handleDayMouseEnter,onMouseLeave:r.handleMonthMouseLeave,onWeekSelect:r.props.onWeekSelect,orderInDisplay:i,formatWeekNumber:r.props.formatWeekNumber,locale:r.props.locale,minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,highlightDates:r.props.highlightDates,selectingDate:r.state.selectingDate,includeDates:r.props.includeDates,inline:r.props.inline,shouldFocusDayInline:r.props.shouldFocusDayInline,fixedHeight:r.props.fixedHeight,filterDate:r.props.filterDate,preSelection:r.props.preSelection,setPreSelection:r.props.setPreSelection,selected:r.props.selected,selectsStart:r.props.selectsStart,selectsEnd:r.props.selectsEnd,selectsRange:r.props.selectsRange,showWeekNumbers:r.props.showWeekNumbers,startDate:r.props.startDate,endDate:r.props.endDate,peekNextMonth:r.props.peekNextMonth,setOpen:r.props.setOpen,shouldCloseOnSelect:r.props.shouldCloseOnSelect,renderDayContents:r.props.renderDayContents,disabledKeyboardNavigation:r.props.disabledKeyboardNavigation,showMonthYearPicker:r.props.showMonthYearPicker,showFullMonthYearPicker:r.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:r.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:r.props.showFourColumnMonthYearPicker,showYearPicker:r.props.showYearPicker,showQuarterYearPicker:r.props.showQuarterYearPicker,isInputFocused:r.props.isInputFocused,containerRef:r.containerRef,monthShowsDuplicateDaysEnd:u,monthShowsDuplicateDaysStart:c})))}return e}})),vt(kt(r),"renderYears",(function(){if(!r.props.showTimeSelectOnly)return r.props.showYearPicker?fe.default.createElement("div",{className:"react-datepicker__year--container"},r.renderHeader(),fe.default.createElement(Bn,gt({onDayClick:r.handleDayClick,date:r.state.date},r.props))):void 0})),vt(kt(r),"renderTimeSection",(function(){if(r.props.showTimeSelect&&(r.state.monthContainer||r.props.showTimeSelectOnly))return fe.default.createElement(Fn,{selected:r.props.selected,openToDate:r.props.openToDate,onChange:r.props.onTimeChange,timeClassName:r.props.timeClassName,format:r.props.timeFormat,includeTimes:r.props.includeTimes,intervals:r.props.timeIntervals,minTime:r.props.minTime,maxTime:r.props.maxTime,excludeTimes:r.props.excludeTimes,filterTime:r.props.filterTime,timeCaption:r.props.timeCaption,todayButton:r.props.todayButton,showMonthDropdown:r.props.showMonthDropdown,showMonthYearDropdown:r.props.showMonthYearDropdown,showYearDropdown:r.props.showYearDropdown,withPortal:r.props.withPortal,monthRef:r.state.monthContainer,injectTimes:r.props.injectTimes,locale:r.props.locale,showTimeSelectOnly:r.props.showTimeSelectOnly})})),vt(kt(r),"renderInputTimeSection",(function(){var e=new Date(r.props.selected),t=At(e)&&Boolean(r.props.selected)?"".concat(xn(e.getHours()),":").concat(xn(e.getMinutes())):"";if(r.props.showTimeInput)return fe.default.createElement(Hn,{date:e,timeString:t,timeInputLabel:r.props.timeInputLabel,onChange:r.props.onTimeChange,customTimeInput:r.props.customTimeInput})})),r.containerRef=fe.default.createRef(),r.state={date:r.getDateInView(),selectingDate:null,monthContainer:null},r}return mt(n,[{key:"componentDidMount",value:function(){var e=this;this.props.showTimeSelect&&(this.assignMonthContainer=void e.setState({monthContainer:e.monthContainer}))}},{key:"componentDidUpdate",value:function(e){this.props.preSelection&&!Kt(this.props.preSelection,e.preSelection)?this.setState({date:this.props.preSelection}):this.props.openToDate&&!Kt(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate})}},{key:"render",value:function(){var e=this.props.container||Un;return fe.default.createElement("div",{ref:this.containerRef},fe.default.createElement(e,{className:de.default("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showPopperArrow:this.props.showPopperArrow,arrowProps:this.props.arrowProps},this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.props.children))}}],[{key:"defaultProps",get:function(){return{onDropdownFocus:function(){},monthsShown:1,monthSelectedIn:0,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",customTimeInput:null,yearItemNumber:jt}}}]),n}(fe.default.Component),Yn=function(e){return!e.disabled&&-1!==e.tabIndex},qn=function(e){_t(n,e);var t=Et(n);function n(e){var r;return pt(this,n),vt(kt(r=t.call(this,e)),"getTabChildren",(function(){return Array.prototype.slice.call(r.tabLoopRef.current.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(Yn)})),vt(kt(r),"handleFocusStart",(function(e){var t=r.getTabChildren();t&&t.length>1&&t[t.length-1].focus()})),vt(kt(r),"handleFocusEnd",(function(e){var t=r.getTabChildren();t&&t.length>1&&t[0].focus()})),r.tabLoopRef=fe.default.createRef(),r}return mt(n,[{key:"render",value:function(){return this.props.enableTabLoop?fe.default.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},fe.default.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:"0",onFocus:this.handleFocusStart}),this.props.children,fe.default.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:"0",onFocus:this.handleFocusEnd})):this.props.children}}],[{key:"defaultProps",get:function(){return{enableTabLoop:!0}}}]),n}(fe.default.Component),Zn=function(e){_t(n,e);var t=Et(n);function n(e){var r;return pt(this,n),(r=t.call(this,e)).el=document.createElement("div"),r}return mt(n,[{key:"componentDidMount",value:function(){this.portalRoot=document.getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),document.body.appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){this.portalRoot.removeChild(this.el)}},{key:"render",value:function(){return ft.default.createPortal(this.props.children,this.el)}}]),n}(fe.default.Component),Kn=function(e){_t(n,e);var t=Et(n);function n(){return pt(this,n),t.apply(this,arguments)}return mt(n,[{key:"render",value:function(){var e,t=this.props,n=t.className,r=t.wrapperClassName,i=t.hidePopper,o=t.popperComponent,a=t.popperModifiers,s=t.popperPlacement,u=t.popperProps,c=t.targetComponent,l=t.enableTabLoop,f=t.popperOnKeyDown,d=t.portalId;if(!i){var p=de.default("react-datepicker-popper",n);e=fe.default.createElement(ue.Popper,gt({modifiers:a,placement:s},u),(function(e){var t=e.ref,n=e.style,r=e.placement,i=e.arrowProps;return fe.default.createElement(qn,{enableTabLoop:l},fe.default.createElement("div",{ref:t,style:n,className:p,"data-placement":r,onKeyDown:f},fe.default.cloneElement(o,{arrowProps:i})))}))}this.props.popperContainer&&(e=fe.default.createElement(this.props.popperContainer,{},e)),d&&!i&&(e=fe.default.createElement(Zn,{portalId:d},e));var h=de.default("react-datepicker-wrapper",r);return fe.default.createElement(ue.Manager,{className:"react-datepicker-manager"},fe.default.createElement(ue.Reference,null,(function(e){var t=e.ref;return fe.default.createElement("div",{ref:t,className:h},c)})),e)}}],[{key:"defaultProps",get:function(){return{hidePopper:!0,popperModifiers:{preventOverflow:{enabled:!0,escapeWithReference:!0,boundariesElement:"viewport"}},popperProps:{},popperPlacement:"bottom-start"}}}]),n}(fe.default.Component),Qn="react-datepicker-ignore-onclickoutside",Xn=lt.default(Vn),$n="Date input not valid.",Gn=function(e){_t(n,e);var t=Et(n);function n(e){var r;return pt(this,n),vt(kt(r=t.call(this,e)),"getPreSelection",(function(){return r.props.openToDate?r.props.openToDate:r.props.selectsEnd&&r.props.startDate?r.props.startDate:r.props.selectsStart&&r.props.endDate?r.props.endDate:Dt()})),vt(kt(r),"calcInitialState",(function(){var e=r.getPreSelection(),t=yn(r.props),n=bn(r.props),i=t&&ot.default(e,t)?t:n&&it.default(e,n)?n:e;return{open:r.props.startOpen||!1,preventFocus:!1,preSelection:r.props.selected?r.props.selected:i,highlightDates:_n(r.props.highlightDates),focused:!1,shouldFocusDayInline:!1}})),vt(kt(r),"clearPreventFocusTimeout",(function(){r.preventFocusTimeout&&clearTimeout(r.preventFocusTimeout)})),vt(kt(r),"setFocus",(function(){r.input&&r.input.focus&&r.input.focus({preventScroll:!0})})),vt(kt(r),"setBlur",(function(){r.input&&r.input.blur&&r.input.blur(),r.cancelFocusInput()})),vt(kt(r),"setOpen",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.setState({open:e,preSelection:e&&r.state.open?r.state.preSelection:r.calcInitialState().preSelection,lastPreSelectChange:er},(function(){e||r.setState((function(e){return{focused:!!t&&e.focused}}),(function(){!t&&r.setBlur(),r.setState({inputValue:null})}))}))})),vt(kt(r),"inputOk",(function(){return pe.default(r.state.preSelection)})),vt(kt(r),"isCalendarOpen",(function(){return void 0===r.props.open?r.state.open&&!r.props.disabled&&!r.props.readOnly:r.props.open})),vt(kt(r),"handleFocus",(function(e){r.state.preventFocus||(r.props.onFocus(e),r.props.preventOpenOnFocus||r.props.readOnly||r.setOpen(!0)),r.setState({focused:!0})})),vt(kt(r),"cancelFocusInput",(function(){clearTimeout(r.inputFocusTimeout),r.inputFocusTimeout=null})),vt(kt(r),"deferFocusInput",(function(){r.cancelFocusInput(),r.inputFocusTimeout=setTimeout((function(){return r.setFocus()}),1)})),vt(kt(r),"handleDropdownFocus",(function(){r.cancelFocusInput()})),vt(kt(r),"handleBlur",(function(e){(!r.state.open||r.props.withPortal||r.props.showTimeInput)&&r.props.onBlur(e),r.setState({focused:!1})})),vt(kt(r),"handleCalendarClickOutside",(function(e){r.props.inline||r.setOpen(!1),r.props.onClickOutside(e),r.props.withPortal&&e.preventDefault()})),vt(kt(r),"handleChange",(function(){for(var e=arguments.length,t=new Array(e),n=0;n=0||(i[n]=e[n]);return i},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r,i,o;!function(n){"use strict";var a=n.setTimeout,s=n.clearTimeout,u=n.XMLHttpRequest,c=n.XDomainRequest,l=n.ActiveXObject,f=n.EventSource,d=n.document,p=n.Promise,h=n.fetch,m=n.Response,v=n.TextDecoder,g=n.TextEncoder,y=n.AbortController;if("undefined"===typeof window||"readyState"in d||null!=d.body||(d.readyState="loading",window.addEventListener("load",(function(e){d.readyState="complete"}),!1)),null==u&&null!=l&&(u=function(){return new l("Microsoft.XMLHTTP")}),void 0==Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),Date.now||(Date.now=function(){return(new Date).getTime()}),void 0==y){var b=h;h=function(e,t){var n=t.signal;return b(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then((function(e){var t=e.body.getReader();return n._reader=t,n._aborted&&n._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}}))},y=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function _(){this.bitsNeeded=0,this.codePoint=0}_.prototype.decode=function(e){function t(e,t,n){if(1===n)return e>=128>>t&&e<=2048>>t&&e<=57344>>t&&e<=65536>>t&&e<>6>15?3:t>31?2:1;if(12===e)return t>15?3:2;if(18===e)return 3;throw new Error}for(var r=65533,i="",o=this.bitsNeeded,a=this.codePoint,s=0;s191||!t(a<<6|63&u,o-6,n(o,a)))&&(o=0,a=r,i+=String.fromCharCode(a)),0===o?(u>=0&&u<=127?(o=0,a=u):u>=192&&u<=223?(o=6,a=31&u):u>=224&&u<=239?(o=12,a=15&u):u>=240&&u<=247?(o=18,a=7&u):(o=0,a=r),0===o||t(a,o,n(o,a))||(o=0,a=r)):(o-=6,a=a<<6|63&u),0===o&&(a<=65535?i+=String.fromCharCode(a):(i+=String.fromCharCode(55296+(a-65535-1>>10)),i+=String.fromCharCode(56320+(a-65535-1&1023))))}return this.bitsNeeded=o,this.codePoint=a,i};void 0!=v&&void 0!=g&&function(){try{return"test"===(new v).decode((new g).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}return!1}()||(v=_);var w=function(){};function x(e){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=w,this.onload=w,this.onerror=w,this.onreadystatechange=w,this._contentType="",this._xhr=e,this._sendTimeout=0,this._abort=w}function k(e){return e.replace(/[A-Z]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)+32)}))}function O(e){for(var t=Object.create(null),n=e.split("\r\n"),r=0;r0&&n[1]||""},e.getSecondMatch=function(e,t){var n=t.match(e);return n&&n.length>1&&n[2]||""},e.matchAndReturnConst=function(e,t,n){if(e.test(t))return n},e.getWindowsVersionName=function(e){switch(e){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}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),10===t[0])switch(t[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}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,n,r){void 0===r&&(r=!1);var i=e.getVersionPrecision(t),o=e.getVersionPrecision(n),a=Math.max(i,o),s=0,u=e.map([t,n],(function(t){var n=a-e.getVersionPrecision(t),r=t+new Array(n+1).join(".0");return e.map(r.split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));for(r&&(s=a-Math.min(i,o)),a-=1;a>=s;){if(u[0][a]>u[1][a])return 1;if(u[0][a]===u[1][a]){if(a===s)return 0;a-=1}else if(u[0][a]1?i-1:0),a=1;a0){var a=Object.keys(n),u=s.default.find(a,(function(e){return t.isOS(e)}));if(u){var c=this.satisfies(n[u]);if(void 0!==c)return c}var l=s.default.find(a,(function(e){return t.isPlatform(e)}));if(l){var f=this.satisfies(n[l]);if(void 0!==f)return f}}if(o>0){var d=Object.keys(i),p=s.default.find(d,(function(e){return t.isBrowser(e,!0)}));if(void 0!==p)return this.compareVersion(i[p])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var n=this.getBrowserName().toLowerCase(),r=e.toLowerCase(),i=s.default.getBrowserTypeByAlias(r);return t&&i&&(r=i.toLowerCase()),r===n},t.compareVersion=function(e){var t=[0],n=e,r=!1,i=this.getBrowserVersion();if("string"==typeof i)return">"===e[0]||"<"===e[0]?(n=e.substr(1),"="===e[1]?(r=!0,n=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?n=e.substr(1):"~"===e[0]&&(r=!0,n=e.substr(1)),t.indexOf(s.default.compareVersions(i,n,r))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.is(e)}))},e}();t.default=c,e.exports=t.default},92:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=/version\/(\d+(\.?_?\d+)+)/i,a=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},n=i.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},n=i.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},n=i.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},n=i.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},n=i.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},n=i.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},n=i.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},n=i.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},n=i.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},n=i.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},n=i.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},n=i.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},n=i.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},n=i.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},n=i.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},n=i.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},n=i.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},n=i.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},n=i.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},n=i.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},n=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},n=i.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},n=i.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},n=i.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},n=i.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},n=i.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t={name:"Android Browser"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:i.default.getFirstMatch(t,e),version:i.default.getSecondMatch(t,e)}}}];t.default=a,e.exports=t.default},93:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:[/Roku\/DVP/],describe:function(e){var t=i.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:o.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=i.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=i.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=i.default.getWindowsVersionName(t);return{name:o.OS_MAP.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:o.OS_MAP.iOS},n=i.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe:function(e){var t=i.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=i.default.getMacOSVersionName(t),r={name:o.OS_MAP.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=i.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:o.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t=i.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=i.default.getAndroidVersionName(t),r={name:o.OS_MAP.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=i.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:o.OS_MAP.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=i.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||i.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||i.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:o.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=i.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=i.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=i.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.PlayStation4,version:t}}}];t.default=a,e.exports=t.default},94:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=i.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe:function(e){var t=i.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}];t.default=a,e.exports=t.default},95:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:o.ENGINE_MAP.Blink};var t=i.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:o.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:o.ENGINE_MAP.Trident},n=i.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:o.ENGINE_MAP.Presto},n=i.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe:function(e){var t={name:o.ENGINE_MAP.Gecko},n=i.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:o.ENGINE_MAP.WebKit},n=i.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}];t.default=a,e.exports=t.default}})},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(9),i=n(173),o=n(5);function a(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 s(e,t){Object(o.a)(2,arguments);var n=Object(r.default)(e),s=Object(r.default)(t),u=a(n,s),c=Math.abs(Object(i.default)(n,s));n.setDate(n.getDate()-u*c);var l=Number(a(n,s)===-u),f=u*(c-l);return 0===f?0:f}},function(e,t,n){e.exports=function(e,t){"use strict";function n(t){return e.createElement("button",{type:"button",className:t.classNames.selectedTag,title:t.removeButtonText,onClick:t.onDelete},e.createElement("span",{className:t.classNames.selectedTagName},t.tag.name))}e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e,t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var r={position:"absolute",width:0,height:0,visibility:"hidden",overflow:"scroll",whiteSpace:"pre"},i=["fontSize","fontFamily","fontWeight","fontStyle","letterSpacing","textTransform"],o=function(t){function n(n){t.call(this,n),this.state={inputWidth:null},this.input=e.createRef(),this.sizer=e.createRef()}return t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n,n.prototype.componentDidMount=function(){this.props.autoresize&&(this.copyInputStyles(),this.updateInputWidth())},n.prototype.componentDidUpdate=function(e){var t=e.query,n=e.placeholder;t===this.props.query&&n===this.props.placeholder||this.updateInputWidth()},n.prototype.copyInputStyles=function(){var e=this,t=window.getComputedStyle(this.input.current);i.forEach((function(n){e.sizer.current.style[n]=t[n]}))},n.prototype.updateInputWidth=function(){var e;this.props.autoresize&&(e=Math.ceil(this.sizer.current.scrollWidth)+2),e!==this.state.inputWidth&&this.setState({inputWidth:e})},n.prototype.render=function(){var t=this.props,n=t.id,i=t.query,o=t.ariaLabelText,a=t.placeholderText,s=t.expanded,u=t.classNames,c=t.inputAttributes,l=t.inputEventHandlers,f=t.index;return e.createElement("div",{className:u.searchWrapper},e.createElement("input",Object.assign({},c,l,{ref:this.input,value:i,placeholder:a,className:u.searchInput,role:"combobox","aria-autocomplete":"list","aria-label":o||a,"aria-owns":n,"aria-activedescendant":f>-1?n+"-"+f:null,"aria-expanded":s,style:{width:this.state.inputWidth}})),e.createElement("div",{ref:this.sizer,style:r},i||a))},n}(e.Component);function a(e){return e.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function s(e){return new RegExp(a(e),"gi")}function u(e){return new RegExp("(?:^|\\s)"+a(e),"i")}function c(e){return new RegExp("^"+a(e)+"$","i")}function l(e,t){var n=s(t);return e.replace(n,"$&")}var f=function(t){var n=t.item,r=t.query;return e.createElement("span",{dangerouslySetInnerHTML:{__html:l(n.name,r)}})},d=function(t){function n(){t.apply(this,arguments)}return t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n,n.prototype.onMouseDown=function(e,t){t.preventDefault(),this.props.addTag(e)},n.prototype.render=function(){var t=this;if(!this.props.expanded||!this.props.options.length)return null;var n=this.props.suggestionComponent||f,r=this.props.options.map((function(r,i){var o=t.props.id+"-"+i,a=[];return t.props.index===i&&a.push(t.props.classNames.suggestionActive),r.disabled&&a.push(t.props.classNames.suggestionDisabled),e.createElement("li",{id:o,key:o,role:"option",className:a.join(" "),"aria-disabled":!0===r.disabled,onMouseDown:t.onMouseDown.bind(t,r)},r.disableMarkIt?r.name:e.createElement(n,{item:r,query:t.props.query}))}));return e.createElement("div",{className:this.props.classNames.suggestions},e.createElement("ul",{role:"listbox",id:this.props.id},r))},n}(e.Component),p={ENTER:"Enter",TAB:"Tab",BACKSPACE:"Backspace",UP_ARROW:"ArrowUp",UP_ARROW_COMPAT:"Up",DOWN_ARROW:"ArrowDown",DOWN_ARROW_COMPAT:"Down"},h={root:"react-tags",rootFocused:"is-focused",selected:"react-tags__selected",selectedTag:"react-tags__selected-tag",selectedTagName:"react-tags__selected-tag-name",search:"react-tags__search",searchWrapper:"react-tags__search-wrapper",searchInput:"react-tags__search-input",suggestions:"react-tags__suggestions",suggestionActive:"is-active",suggestionDisabled:"is-disabled"};function m(){var e=this;if(this.state.query.length>=this.props.minQueryLength){var t=this.state.options.findIndex((function(t){return c(e.state.query).test(t.name)})),n=-1===this.state.index?t:this.state.index;n>-1&&this.state.options[n]?this.addTag(this.state.options[n]):this.props.allowNew&&this.addTag({name:this.state.query})}}function v(e){e.preventDefault();var t=this.state.options.length-1;this.setState({index:this.state.index<=0?t:this.state.index-1})}function g(e){e.preventDefault();var t=this.state.options.length-1;this.setState({index:this.state.index>=t?0:this.state.index+1})}function y(){this.state.query.length||this.deleteTag(this.props.tags.length-1)}function b(e,t){return u(t).test(e.name)}function _(e,t){var n;return 0===(n=e.suggestionsTransform?e.suggestionsTransform(t.query,e.suggestions):e.suggestions.filter((function(n){return e.suggestionsFilter(n,t.query)}))).length&&e.noSuggestionsText&&n.push({id:0,name:e.noSuggestionsText,disabled:!0,disableMarkIt:!0}),n.slice(0,e.maxSuggestionsLength)}var w=function(t){function r(n){t.call(this,n),this.state={query:"",focused:!1,index:-1},this.inputEventHandlers={onChange:function(){},onBlur:this.onBlur.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this),onKeyDown:this.onKeyDown.bind(this)},this.container=e.createRef(),this.input=e.createRef(),this.suggestions=e.createRef()}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.prototype.onInput=function(e){var t=e.target.value;this.props.onInput&&this.props.onInput(t),t.length===this.state.query.length+1&&this.props.delimiters.indexOf(t.slice(-1))>-1?m.call(this):t!==this.state.query&&this.setState({query:t})},r.prototype.onKeyDown=function(e){this.props.delimiters.indexOf(e.key)>-1&&((this.state.query||this.state.index>-1)&&e.preventDefault(),m.call(this)),e.key===p.BACKSPACE&&this.props.allowBackspace&&y.call(this,e),e.key!==p.UP_ARROW&&e.key!==p.UP_ARROW_COMPAT||v.call(this,e),e.key!==p.DOWN_ARROW&&e.key!==p.DOWN_ARROW_COMPAT||g.call(this,e)},r.prototype.onClick=function(e){document.activeElement!==e.target&&this.input.current.input.current.focus()},r.prototype.onBlur=function(){this.setState({focused:!1,index:-1}),this.props.onBlur&&this.props.onBlur(),this.props.addOnBlur&&m.call(this)},r.prototype.onFocus=function(){this.setState({focused:!0}),this.props.onFocus&&this.props.onFocus()},r.prototype.onDeleteTag=function(e,t){if(this.container.current){var n=this.container.current.querySelectorAll("a,button,input"),r=Array.prototype.findIndex.call(n,(function(e){return e===t.currentTarget})),i=n[r-1]||n[r+1];i&&i.focus()}this.deleteTag(e)},r.prototype.addTag=function(e){e.disabled||("function"!==typeof this.props.onValidate||this.props.onValidate(e))&&(this.props.onAddition(e),this.clearInput())},r.prototype.deleteTag=function(e){this.props.onDelete(e)},r.prototype.clearInput=function(){this.setState({query:"",index:-1})},r.prototype.render=function(){var t=this,r=this.props.tagComponent||n,i=this.state.focused&&this.state.query.length>=this.props.minQueryLength,a=[this.props.classNames.root];return this.state.focused&&a.push(this.props.classNames.rootFocused),e.createElement("div",{ref:this.container,className:a.join(" "),onClick:this.onClick.bind(this)},e.createElement("div",{className:this.props.classNames.selected,"aria-relevant":"additions removals","aria-live":"polite"},this.props.tags.map((function(n,i){return e.createElement(r,{key:i,tag:n,removeButtonText:t.props.removeButtonText,classNames:t.props.classNames,onDelete:t.onDeleteTag.bind(t,i)})}))),e.createElement("div",{className:this.props.classNames.search},e.createElement(o,Object.assign({},this.state,{id:this.props.id,ref:this.input,classNames:this.props.classNames,inputAttributes:this.props.inputAttributes,inputEventHandlers:this.inputEventHandlers,autoresize:this.props.autoresize,expanded:i,placeholderText:this.props.placeholderText,ariaLabelText:this.props.ariaLabelText})),e.createElement(d,Object.assign({},this.state,{id:this.props.id,ref:this.suggestions,classNames:this.props.classNames,expanded:i,addTag:this.addTag.bind(this),suggestionComponent:this.props.suggestionComponent}))))},r.getDerivedStateFromProps=function(e,t){return t.prevQuery!==t.query||t.prevSuggestions!==e.suggestions?{prevQuery:t.query,prevSuggestions:e.suggestions,options:_(e,t)}:null},r}(e.Component);return w.defaultProps={id:"ReactTags",tags:[],placeholderText:"Add new tag",removeButtonText:"Click to remove tag",noSuggestionsText:null,suggestions:[],suggestionsFilter:b,suggestionsTransform:null,autoresize:!0,classNames:h,delimiters:[p.TAB,p.ENTER],minQueryLength:2,maxSuggestionsLength:6,allowNew:!1,allowBackspace:!0,addOnBlur:!1,tagComponent:null,suggestionComponent:null,inputAttributes:{}},w.propTypes={id:t.string,tags:t.arrayOf(t.object),placeholderText:t.string,ariaLabelText:t.string,removeButtonText:t.string,noSuggestionsText:t.string,suggestions:t.arrayOf(t.object),suggestionsFilter:t.func,suggestionsTransform:t.func,autoresize:t.bool,delimiters:t.arrayOf(t.string),onDelete:t.func.isRequired,onAddition:t.func.isRequired,onInput:t.func,onFocus:t.func,onBlur:t.func,onValidate:t.func,minQueryLength:t.number,maxSuggestionsLength:t.number,classNames:t.object,allowNew:t.bool,allowBackspace:t.bool,addOnBlur:t.bool,tagComponent:t.oneOfType([t.func,t.element]),suggestionComponent:t.oneOfType([t.func,t.element]),inputAttributes:t.object},w}(n(2),n(1))},function(e,t,n){"use strict";n.d(t,"a",(function(){return D}));var r=n(2),i=n.n(r);function o(){return(o=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}function s(e){var t=Object(r.useRef)(e),n=Object(r.useRef)((function(e){t.current&&t.current(e)}));return t.current=e,n.current}var u=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e0:e.buttons>0)&&p.current?h(f(p.current,e,v.current)):n(!1)},t=function(){return n(!1)};function n(n){var r=g.current,i=l(p.current),o=n?i.addEventListener:i.removeEventListener;o(r?"touchmove":"mousemove",e),o(r?"touchend":"mouseup",t)}return[function(e){var t=e.nativeEvent,r=p.current;if(r&&(d(t),!function(e,t){return t&&!c(e)}(t,g.current)&&r)){if(c(t)){g.current=!0;var i=t.changedTouches||[];i.length&&(v.current=i[0].identifier)}r.focus(),h(f(r,t,v.current)),n(!0)}},function(e){var t=e.which||e.keyCode;t<37||t>40||(e.preventDefault(),m({left:39===t?.05:37===t?-.05:0,top:40===t?.05:38===t?-.05:0}))},n]}),[m,h]),b=y[0],_=y[1],w=y[2];return Object(r.useEffect)((function(){return w}),[w]),i.a.createElement("div",o({},u,{onTouchStart:b,onMouseDown:b,className:"react-colorful__interactive",ref:p,onKeyDown:_,tabIndex:0,role:"slider"}))})),h=function(e){return e.filter(Boolean).join(" ")},m=function(e){var t=e.color,n=e.left,r=e.top,o=void 0===r?.5:r,a=h(["react-colorful__pointer",e.className]);return i.a.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},i.a.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},v=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n},g=(Math.PI,function(e){return"#"===e[0]&&(e=e.substr(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:1}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:1}}),y=function(e){var t=e.s,n=e.v,r=e.a,i=(200-t)*n/100;return{h:v(e.h),s:v(i>0&&i<200?t*n/100/(i<=100?i:200-i)*100:0),l:v(i/2),a:v(r,2)}},b=function(e){var t=y(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},_=function(e){var t=e.h,n=e.s,r=e.v,i=e.a;t=t/360*6,n/=100,r/=100;var o=Math.floor(t),a=r*(1-n),s=r*(1-(t-o)*n),u=r*(1-(1-t+o)*n),c=o%6;return{r:v(255*[r,s,a,a,u,r][c]),g:v(255*[u,r,r,s,a,a][c]),b:v(255*[a,a,u,r,r,s][c]),a:v(i,2)}},w=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},x=function(e){var t=e.r,n=e.g,r=e.b,i=e.a,o=Math.max(t,n,r),a=o-Math.min(t,n,r),s=a?o===t?(n-r)/a:o===n?2+(r-t)/a:4+(t-n)/a:0;return{h:v(60*(s<0?s+6:s)),s:v(o?a/o*100:0),v:v(o/255*100),a:i}},k=i.a.memo((function(e){var t=e.hue,n=e.onChange,r=h(["react-colorful__hue",e.className]);return i.a.createElement("div",{className:r},i.a.createElement(p,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:u(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuetext":v(t)},i.a.createElement(m,{className:"react-colorful__hue-pointer",left:t/360,color:b({h:t,s:100,v:100,a:1})})))})),O=i.a.memo((function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:b({h:t.h,s:100,v:100,a:1})};return i.a.createElement("div",{className:"react-colorful__saturation",style:r},i.a.createElement(p,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:u(t.s+100*e.left,0,100),v:u(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+v(t.s)+"%, Brightness "+v(t.v)+"%"},i.a.createElement(m,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:b(t)})))})),E=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0};function M(e,t,n){var i=s(n),o=Object(r.useState)((function(){return e.toHsva(t)})),a=o[0],u=o[1],c=Object(r.useRef)({color:t,hsva:a});Object(r.useEffect)((function(){if(!e.equal(t,c.current.color)){var n=e.toHsva(t);c.current={hsva:n,color:t},u(n)}}),[t,e]),Object(r.useEffect)((function(){var t;E(a,c.current.hsva)||e.equal(t=e.fromHsva(a),c.current.color)||(c.current={hsva:a,color:t},i(t))}),[a,e,i]);var l=Object(r.useCallback)((function(e){u((function(t){return Object.assign({},t,e)}))}),[]);return[a,l]}var S,C="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,T=new Map,P=function(e){C((function(){var t=e.current?e.current.ownerDocument:document;if(void 0!==t&&!T.has(t)){var r=t.createElement("style");r.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',T.set(t,r);var i=S||n.nc;i&&r.setAttribute("nonce",i),t.head.appendChild(r)}}),[])},j=function(e){var t=e.className,n=e.colorModel,s=e.color,u=void 0===s?n.defaultColor:s,c=e.onChange,l=a(e,["className","colorModel","color","onChange"]),f=Object(r.useRef)(null);P(f);var d=M(n,u,c),p=d[0],m=d[1],v=h(["react-colorful",t]);return i.a.createElement("div",o({},l,{ref:f,className:v}),i.a.createElement(O,{hsva:p,onChange:m}),i.a.createElement(k,{hue:p.h,onChange:m,className:"react-colorful__last-control"}))},N={defaultColor:"000",toHsva:function(e){return x(g(e))},fromHsva:function(e){return n=(t=_(e)).g,r=t.b,"#"+w(t.r)+w(n)+w(r);var t,n,r},equal:function(e,t){return e.toLowerCase()===t.toLowerCase()||E(g(e),g(t))}},D=function(e){return i.a.createElement(j,o({},e,{colorModel:N}))}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(120),i=n(135),o=n(65),a=n(121);function s(e){return Object(r.a)(e)||Object(i.a)(e)||Object(o.a)(e)||Object(a.a)()}},function(e,t,n){"use strict";function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"===typeof i?i(n,r,e):t(i)}}}}var i=r();i.withExtraArgument=r,t.a=i},function(e,t,n){"use strict";t.a="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=="},function(e,t,n){"use strict";t.a="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="},function(e,t,n){"use strict";t.a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC"},function(e,t,n){"use strict";var r=n(17),i=n(96);var o=n(74),a=n(50),s=n(68),u=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=s.a.init,e.prototype["@@transducer/result"]=s.a.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}(),c=Object(r.a)((function(e,t){return new u(e,t)})),l=n(52),f=Object(r.a)(Object(i.a)(["filter"],c,(function(e,t){return Object(o.a)(t)?Object(a.a)((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},Object(l.a)(t)):function(e,t){for(var n=0,r=t.length,i=[];n27&&s.setDate(30),s.setMonth(s.getMonth()-l*f);var d=Object(o.a)(s,u)===-l;c(Object(r.default)(e))&&1===f&&1===Object(o.a)(e,u)&&(d=!1),n=l*(f-Number(d))}return 0===n?0:n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return g})),n.d(t,"c",(function(){return y}));var r=n(8),i=n(2),o=n.n(i),a=n(40),s=n(53);function u(e){function t(t,n){var r=e(t).current,a=r.instance,u=r.context;return Object(i.useImperativeHandle)(n,(function(){return a})),null==t.children?null:o.a.createElement(s.b,{value:u},t.children)}return Object(i.forwardRef)(t)}function c(e){function t(t,n){var r=e(t).current.instance;return Object(i.useImperativeHandle)(n,(function(){return r})),null}return Object(i.forwardRef)(t)}function l(e,t){return null==t?function(t,n){return Object(i.useRef)(e(t,n))}:function(n,r){var o=Object(i.useRef)(e(n,r)),a=Object(i.useRef)(n),s=o.current.instance;return Object(i.useEffect)((function(){a.current!==n&&(t(s,n,a.current),a.current=n)}),[s,n,r]),o}}function f(e,t){var n=Object(i.useRef)(t);Object(i.useEffect)((function(){t!==n.current&&null!=e.attributionControl&&(null!=n.current&&e.attributionControl.removeAttribution(n.current),null!=t&&e.attributionControl.addAttribution(t)),n.current=t}),[e,t])}function d(e,t){var n=Object(i.useRef)();Object(i.useEffect)((function(){return null!=t&&e.instance.on(t),n.current=t,function(){null!=n.current&&e.instance.off(n.current),n.current=null}}),[e,t])}var p=n(91);function h(e,t){Object(i.useEffect)((function(){var n,r=null!=(n=t.layerContainer)?n:t.map;return r.addLayer(e.instance),function(){r.removeLayer(e.instance)}}),[t,e])}function m(e){return function(t){var n=Object(s.c)(),r=e(Object(p.a)(t,n),n);return f(n.map,t.attribution),d(r.current,t.eventHandlers),h(r.current,n),r}}function v(e,t){return u(m(l(e,t)))}function g(e,t){return function(e){function t(t,n){var o=Object(i.useState)(!1),s=Object(r.a)(o,2),u=s[0],c=s[1],l=e(t,c).current.instance;Object(i.useImperativeHandle)(n,(function(){return l})),Object(i.useEffect)((function(){u&&l.update()}),[l,u,t.children]);var f=l._contentNode;return f?Object(a.createPortal)(t.children,f):null}return Object(i.forwardRef)(t)}(function(e,t){return function(n,r){var i=Object(s.c)(),o=e(Object(p.a)(n,i),i);return f(i.map,n.attribution),d(o.current,n.eventHandlers),t(o.current,i,n,r),o}}(l(e),t))}function y(e,t){return c(m(l(e,t)))}},function(e,t,n){"use strict";var r=n(19),i=n(123),o=n(57),a=n(74),s=n(66),u=Object(r.a)((function(e){return null!=e&&"function"===typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"===typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"===typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"===typeof e.constructor.empty?e.constructor.empty():Object(o.a)(e)?[]:Object(s.a)(e)?"":Object(a.a)(e)?{}:Object(i.a)(e)?function(){return arguments}():void 0})),c=n(93),l=Object(r.a)((function(e){return null!=e&&Object(c.a)(e,u(e))}));t.a=l},,,,function(e,t,n){"use strict";var r=n(2),i=n(146),o=n(269);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n