/*! For license information please see 2.badb5b74.chunk.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(t,e,n){"use strict";t.exports=n(243)},function(t,e,n){t.exports=n(244)()},function(t,e,n){"use strict";t.exports=n(217)},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(10);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e=0||(i[n]=t[n]);return i}function L(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A(){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}function R(t){document.body.style.paddingRight=t>0?t+"px":null}function I(){return document.body.clientWidth0;)a[n=r[i-=1]]=t[n];return a}var W={};function V(t){W[t]||("undefined"!==typeof console&&console.error(t),W[t]=!0)}function Y(t,e){return function(n,r,i){return null!==n[r]&&"undefined"!==typeof n[r]&&V('"'+r+'" property of "'+i+'" has been deprecated.\n'+e),t.apply(void 0,[n,r,i].concat([].slice.call(arguments,3)))}}var q="object"===typeof window&&window.Element||function(){};function Z(t,e,n){if(!(t[e]instanceof q))return new Error("Invalid prop `"+e+"` supplied to `"+n+"`. Expected prop to be an instance of Element. Validation failed.")}var K=o.a.oneOfType([o.a.string,o.a.func,Z,o.a.shape({current:o.a.any})]),Q=o.a.oneOfType([o.a.func,o.a.string,o.a.shape({$$typeof:o.a.symbol,render:o.a.func}),o.a.arrayOf(o.a.oneOfType([o.a.func,o.a.string,o.a.shape({$$typeof:o.a.symbol,render:o.a.func})]))]),X={Fade:150,Collapse:350,Modal:300,Carousel:600,Offcanvas:300},$=["in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],G={ENTERING:"entering",ENTERED:"entered",EXITING:"exiting",EXITED:"exited"},J={esc:27,space:32,enter:13,tab:9,up:38,down:40,home:36,end:35,n:78,p:80},tt=["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"],et=!("undefined"===typeof window||!window.document||!window.document.createElement);function nt(t){return!(!t||"object"!==typeof t)&&"current"in t}function rt(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}function it(t){var e=typeof t;if("number"===e)return t;if("symbol"===e||"object"===e&&"[object Symbol]"===rt(t))return NaN;if(at(t)){var n="function"===typeof t.valueOf?t.valueOf():t;t=at(n)?""+n:n}if("string"!==e)return 0===t?t:+t;t=t.replace(/^\s+|\s+$/g,"");var r=/^0b[01]+$/i.test(t);return r||/^0o[0-7]+$/i.test(t)?parseInt(t.slice(2),r?2:8):/^[-+]0x[0-9a-f]+$/i.test(t)?NaN:+t}function at(t){var e=typeof t;return null!=t&&("object"===e||"function"===e)}function ot(t){if(!at(t))return!1;var e=rt(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object Proxy]"===e}function st(t){if(nt(t))return t.current;if(ot(t))return t();if("string"===typeof t&&et){var e=document.querySelectorAll(t);if(e.length||(e=document.querySelectorAll("#"+t)),!e.length)throw new Error("The target '"+t+"' could not be identified in the dom, tip: check spelling");return e}return t}function ut(t){return null!==t&&(Array.isArray(t)||et&&"number"===typeof t.length)}function lt(t,e){var n=st(t);return e?ut(n)?n:null===n?[]:[n]:ut(n)?n[0]:n}var ct=["touchstart","click"];function ft(t,e,n,r){var i=t;ut(i)||(i=[i]);var a=n;if("string"===typeof a&&(a=a.split(/\s+/)),!ut(i)||"function"!==typeof e||!Array.isArray(a))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(a,(function(t){Array.prototype.forEach.call(i,(function(n){n.addEventListener(t,e,r)}))})),function(){Array.prototype.forEach.call(a,(function(t){Array.prototype.forEach.call(i,(function(n){n.removeEventListener(t,e,r)}))}))}}var dt=["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"])'],ht=["className","cssModule","fluid","tag"],pt={tag:Q,fluid:o.a.oneOfType([o.a.bool,o.a.string]),className:o.a.string,cssModule:o.a.object},mt=function(t){var e=t.className,n=t.cssModule,r=t.fluid,a=t.tag,o=N(t,ht),s="container";!0===r?s="container-fluid":r&&(s="container-"+r);var l=B(u()(e,s),n);return i.a.createElement(a,P({},o,{className:l}))};mt.propTypes=pt,mt.defaultProps={tag:"div"};var vt=["className","cssModule","noGutters","tag","form","widths"],gt=o.a.oneOfType([o.a.number,o.a.string]),yt={tag:Q,noGutters:Y(o.a.bool,"Please use Bootstrap 5 gutter utility classes. https://getbootstrap.com/docs/5.0/layout/gutters/"),className:o.a.string,cssModule:o.a.object,form:o.a.bool,xs:gt,sm:gt,md:gt,lg:gt,xl:gt,xxl:gt},bt={tag:"div",widths:["xs","sm","md","lg","xl","xxl"]},_t=function(t){var e=t.className,n=t.cssModule,r=t.noGutters,a=t.tag,o=t.form,s=t.widths,l=N(t,vt),c=[];s.forEach((function(e,n){var r=t[e];if(delete l[e],r){var i=!n;c.push(i?"row-cols-"+r:"row-cols-"+e+"-"+r)}}));var f=B(u()(e,r?"gx-0":null,o?"form-row":"row",c),n);return i.a.createElement(a,P({},l,{className:f}))};_t.propTypes=yt,_t.defaultProps=bt;var wt=_t,xt=["className","cssModule","widths","tag"],kt=["xs","sm","md","lg","xl","xxl"],Ot=o.a.oneOfType([o.a.number,o.a.string]),Ct=o.a.oneOfType([o.a.bool,o.a.number,o.a.string,o.a.shape({size:o.a.oneOfType([o.a.bool,o.a.number,o.a.string]),order:Ot,offset:Ot})]),Mt={tag:Q,xs:Ct,sm:Ct,md:Ct,lg:Ct,xl:Ct,xxl:Ct,className:o.a.string,cssModule:o.a.object,widths:o.a.array},St={tag:"div",widths:kt},Et=function(t,e,n){return!0===n||""===n?t?"col":"col-"+e:"auto"===n?t?"col-auto":"col-"+e+"-auto":t?"col-"+n:"col-"+e+"-"+n},Tt=function(t,e,n){void 0===n&&(n=kt);var r=[];return n.forEach((function(n,i){var a=t[n];if(delete t[n],a||""===a){var o=!i;if(at(a)){var s,l=o?"-":"-"+n+"-",c=Et(o,n,a.size);r.push(B(u()(((s={})[c]=a.size||""===a.size,s["order"+l+a.order]=a.order||0===a.order,s["offset"+l+a.offset]=a.offset||0===a.offset,s)),e))}else{var f=Et(o,n,a);r.push(f)}}})),{colClasses:r,attributes:t}},Pt=function(t){var e=t.className,n=t.cssModule,r=t.widths,a=t.tag,o=N(t,xt),s=Tt(o,n,r),l=s.attributes,c=s.colClasses;c.length||c.push("col");var f=B(u()(e,c),n);return i.a.createElement(a,P({},l,{className:f}))};Pt.propTypes=Mt,Pt.defaultProps=St;var jt=Pt,Dt=["expand","className","cssModule","light","dark","fixed","sticky","color","container","tag","children"],Nt={light:o.a.bool,dark:o.a.bool,full:o.a.bool,fixed:o.a.string,sticky:o.a.string,color:o.a.string,role:o.a.string,tag:Q,container:o.a.oneOfType([o.a.bool,o.a.string]),className:o.a.string,cssModule:o.a.object,expand:o.a.oneOfType([o.a.bool,o.a.string]),children:o.a.node},Lt=function(t){var e,n=t.expand,r=t.className,a=t.cssModule,o=t.light,s=t.dark,l=t.fixed,c=t.sticky,f=t.color,d=t.container,h=t.tag,p=t.children,m=N(t,Dt),v=B(u()(r,"navbar",function(t){return!1!==t&&(!0===t||"xs"===t?"navbar-expand":"navbar-expand-"+t)}(n),((e={"navbar-light":o,"navbar-dark":s})["bg-"+f]=f,e["fixed-"+l]=l,e["sticky-"+c]=c,e)),a),g=d&&!0===d?"container":"container-"+d;return i.a.createElement(h,P({},m,{className:v}),d?i.a.createElement("div",{className:g},p):p)};Lt.propTypes=Nt,Lt.defaultProps={tag:"nav",expand:!1,container:"fluid"};var At=Lt,Rt=["className","cssModule","tag"],It={tag:Q,className:o.a.string,cssModule:o.a.object},zt=function(t){var e=t.className,n=t.cssModule,r=t.tag,a=N(t,Rt),o=B(u()(e,"navbar-brand"),n);return i.a.createElement(r,P({},a,{className:o}))};zt.propTypes=It,zt.defaultProps={tag:"a"};var Ft=zt,Bt=["className","cssModule","active","tag"],Ht={tag:Q,className:o.a.string,cssModule:o.a.object},Ut=function(t){var e=t.className,n=t.cssModule,r=t.tag,a=N(t,Bt),o=B(u()(e,"navbar-text"),n);return i.a.createElement(r,P({},a,{className:o}))};Ut.propTypes=Ht,Ut.defaultProps={tag:"span"};var Wt=["className","cssModule","children","tag"],Vt={tag:Q,type:o.a.string,className:o.a.string,cssModule:o.a.object,children:o.a.node},Yt=function(t){var e=t.className,n=t.cssModule,r=t.children,a=t.tag,o=N(t,Wt),s=B(u()(e,"navbar-toggler"),n);return i.a.createElement(a,P({"aria-label":"Toggle navigation"},o,{className:s}),r||i.a.createElement("span",{className:B("navbar-toggler-icon",n)}))};Yt.propTypes=Vt,Yt.defaultProps={tag:"button",type:"button"};var qt=Yt,Zt=["className","cssModule","tabs","pills","vertical","horizontal","justified","fill","navbar","card","tag"],Kt={tabs:o.a.bool,pills:o.a.bool,vertical:o.a.oneOfType([o.a.bool,o.a.string]),horizontal:o.a.string,justified:o.a.bool,fill:o.a.bool,navbar:o.a.bool,card:o.a.bool,tag:Q,className:o.a.string,cssModule:o.a.object},Qt=function(t){var e=t.className,n=t.cssModule,r=t.tabs,a=t.pills,o=t.vertical,s=t.horizontal,l=t.justified,c=t.fill,f=t.navbar,d=t.card,h=t.tag,p=N(t,Zt),m=B(u()(e,f?"navbar-nav":"nav",!!s&&"justify-content-"+s,function(t){return!1!==t&&(!0===t||"xs"===t?"flex-column":"flex-"+t+"-column")}(o),{"nav-tabs":r,"card-header-tabs":d&&r,"nav-pills":a,"card-header-pills":d&&a,"nav-justified":l,"nav-fill":c}),n);return i.a.createElement(h,P({},p,{className:m}))};Qt.propTypes=Kt,Qt.defaultProps={tag:"ul",vertical:!1};var Xt=Qt,$t=["className","cssModule","active","tag"],Gt={tag:Q,active:o.a.bool,className:o.a.string,cssModule:o.a.object},Jt=function(t){var e=t.className,n=t.cssModule,r=t.active,a=t.tag,o=N(t,$t),s=B(u()(e,"nav-item",!!r&&"active"),n);return i.a.createElement(a,P({},o,{className:s}))};Jt.propTypes=Gt,Jt.defaultProps={tag:"li"};var te=Jt,ee=["className","cssModule","active","tag","innerRef"],ne={tag:Q,innerRef:o.a.oneOfType([o.a.object,o.a.func,o.a.string]),disabled:o.a.bool,active:o.a.bool,className:o.a.string,cssModule:o.a.object,onClick:o.a.func,href:o.a.any},re=function(t){function e(e){var n;return(n=t.call(this,e)||this).onClick=n.onClick.bind(L(n)),n}j(e,t);var n=e.prototype;return n.onClick=function(t){this.props.disabled?t.preventDefault():("#"===this.props.href&&t.preventDefault(),this.props.onClick&&this.props.onClick(t))},n.render=function(){var t=this.props,e=t.className,n=t.cssModule,r=t.active,a=t.tag,o=t.innerRef,s=N(t,ee),l=B(u()(e,"nav-link",{disabled:s.disabled,active:r}),n);return i.a.createElement(a,P({},s,{ref:o,onClick:this.onClick,className:l}))},e}(i.a.Component);re.propTypes=ne,re.defaultProps={tag:"a"};var ie=re,ae=["className","listClassName","cssModule","children","tag","listTag","aria-label"],oe={tag:Q,listTag:Q,className:o.a.string,listClassName:o.a.string,cssModule:o.a.object,children:o.a.node,"aria-label":o.a.string},se=function(t){var e=t.className,n=t.listClassName,r=t.cssModule,a=t.children,o=t.tag,s=t.listTag,l=t["aria-label"],c=N(t,ae),f=B(u()(e),r),d=B(u()("breadcrumb",n),r);return i.a.createElement(o,P({},c,{className:f,"aria-label":l}),i.a.createElement(s,{className:d},a))};se.propTypes=oe,se.defaultProps={tag:"nav",listTag:"ol","aria-label":"breadcrumb"};var ue=["className","cssModule","active","tag"],le={tag:Q,active:o.a.bool,className:o.a.string,cssModule:o.a.object},ce=function(t){var e=t.className,n=t.cssModule,r=t.active,a=t.tag,o=N(t,ue),s=B(u()(e,!!r&&"active","breadcrumb-item"),n);return i.a.createElement(a,P({},o,{className:s,"aria-current":r?"page":void 0}))};ce.propTypes=le,ce.defaultProps={tag:"li"};var fe=["active","aria-label","block","className","close","cssModule","color","outline","size","tag","innerRef"],de={active:o.a.bool,"aria-label":o.a.string,block:o.a.bool,color:o.a.string,disabled:o.a.bool,outline:o.a.bool,tag:Q,innerRef:o.a.oneOfType([o.a.object,o.a.func,o.a.string]),onClick:o.a.func,size:o.a.string,children:o.a.node,className:o.a.string,cssModule:o.a.object,close:o.a.bool},he=function(t){function e(e){var n;return(n=t.call(this,e)||this).onClick=n.onClick.bind(L(n)),n}j(e,t);var n=e.prototype;return n.onClick=function(t){if(!this.props.disabled)return this.props.onClick?this.props.onClick(t):void 0;t.preventDefault()},n.render=function(){var t=this.props,e=t.active,n=t["aria-label"],r=t.block,a=t.className,o=t.close,s=t.cssModule,l=t.color,c=t.outline,f=t.size,d=t.tag,h=t.innerRef,p=N(t,fe),m="btn"+(c?"-outline":"")+"-"+l,v=B(u()(a,o&&"btn-close",o||"btn",o||m,!!f&&"btn-"+f,!!r&&"d-block w-100",{active:e,disabled:this.props.disabled}),s);p.href&&"button"===d&&(d="a");var g=o?"Close":null;return i.a.createElement(d,P({type:"button"===d&&p.onClick?"button":void 0},p,{className:v,ref:h,onClick:this.onClick,"aria-label":n||g}))},e}(i.a.Component);he.propTypes=de,he.defaultProps={color:"secondary",tag:"button"};var pe=he,me=["className"],ve={onClick:o.a.func,onBlur:o.a.func,onFocus:o.a.func,defaultValue:o.a.bool},ge=function(t){function e(e){var n;return(n=t.call(this,e)||this).state={toggled:e.defaultValue,focus:!1},n.onBlur=n.onBlur.bind(L(n)),n.onFocus=n.onFocus.bind(L(n)),n.onClick=n.onClick.bind(L(n)),n}j(e,t);var n=e.prototype;return n.onBlur=function(t){this.props.onBlur&&this.props.onBlur(t),this.setState({focus:!1})},n.onFocus=function(t){this.props.onFocus&&this.props.onFocus(t),this.setState({focus:!0})},n.onClick=function(t){this.props.onClick&&this.props.onClick(t),this.setState((function(t){return{toggled:!t.toggled}}))},n.render=function(){var t=this.props,e=t.className,n=N(t,me),r=B(u()(e,{focus:this.state.focus}),this.props.cssModule);return i.a.createElement(pe,P({active:this.state.toggled,onBlur:this.onBlur,onFocus:this.onFocus,onClick:this.onClick,className:r},n))},e}(i.a.Component);ge.propTypes=ve,ge.defaultProps={defaultValue:!1};var ye=i.a.createContext({}),be=["className","cssModule","direction","isOpen","group","size","nav","setActiveFromChild","active","tag","menuRole"],_e={a11y:o.a.bool,disabled:o.a.bool,direction:o.a.oneOf(["up","down","start","end","left","right"]),group:o.a.bool,isOpen:o.a.bool,nav:o.a.bool,active:o.a.bool,size:o.a.string,tag:Q,toggle:o.a.func,children:o.a.node,className:o.a.string,cssModule:o.a.object,inNavbar:o.a.bool,setActiveFromChild:o.a.bool,menuRole:o.a.oneOf(["listbox","menu"])},we=[J.space,J.enter,J.up,J.down,J.end,J.home],xe=function(t){function e(e){var n;return(n=t.call(this,e)||this).addEvents=n.addEvents.bind(L(n)),n.handleDocumentClick=n.handleDocumentClick.bind(L(n)),n.handleKeyDown=n.handleKeyDown.bind(L(n)),n.removeEvents=n.removeEvents.bind(L(n)),n.toggle=n.toggle.bind(L(n)),n.handleMenuRef=n.handleMenuRef.bind(L(n)),n.containerRef=i.a.createRef(),n.menuRef=i.a.createRef(),n}j(e,t);var n=e.prototype;return n.handleMenuRef=function(t){this.menuRef.current=t},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(t){this.props.isOpen!==t.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 t=this.getMenu()||this.getContainer();return[].slice.call(t.querySelectorAll('[role="'+this.getItemType()+'"]'))},n.addEvents=function(){var t=this;["click","touchstart","keyup"].forEach((function(e){return document.addEventListener(e,t.handleDocumentClick,!0)}))},n.removeEvents=function(){var t=this;["click","touchstart","keyup"].forEach((function(e){return document.removeEventListener(e,t.handleDocumentClick,!0)}))},n.handleDocumentClick=function(t){if(!t||3!==t.which&&("keyup"!==t.type||t.which===J.tab)){var e=this.getContainer(),n=this.getMenu(),r=e.contains(t.target)&&e!==t.target,i=e.classList.contains("input-group")&&e.classList.contains("dropdown")&&"INPUT"===t.target.tagName,a=n&&n.contains(t.target)&&n!==t.target;(!(r&&!i||a)||"keyup"===t.type&&t.which!==J.tab)&&this.toggle(t)}},n.handleKeyDown=function(t){var e=this,n="menuitem"===t.target.getAttribute("role")||"option"===t.target.getAttribute("role"),r=this.getMenuCtrl()===t.target,i=J.tab===t.which;if(!(/input|textarea/i.test(t.target.tagName)||i&&!this.props.a11y||i&&!n&&!r)&&((-1!==we.indexOf(t.which)||t.which>=48&&t.which<=90)&&t.preventDefault(),!this.props.disabled&&(r&&([J.space,J.enter,J.up,J.down].indexOf(t.which)>-1?(this.props.isOpen||this.toggle(t),setTimeout((function(){return e.getMenuItems()[0].focus()}))):this.props.isOpen&&i?(t.preventDefault(),this.getMenuItems()[0].focus()):this.props.isOpen&&t.which===J.esc&&this.toggle(t)),this.props.isOpen&&n)))if([J.tab,J.esc].indexOf(t.which)>-1)this.toggle(t),this.getMenuCtrl().focus();else if([J.space,J.enter].indexOf(t.which)>-1)t.target.click(),this.getMenuCtrl().focus();else if([J.down,J.up].indexOf(t.which)>-1||[J.n,J.p].indexOf(t.which)>-1&&t.ctrlKey){var a=this.getMenuItems(),o=a.indexOf(t.target);J.up===t.which||J.p===t.which&&t.ctrlKey?o=0!==o?o-1:a.length-1:(J.down===t.which||J.n===t.which&&t.ctrlKey)&&(o=o===a.length-1?0:o+1),a[o].focus()}else if(J.end===t.which){var s=this.getMenuItems();s[s.length-1].focus()}else if(J.home===t.which){this.getMenuItems()[0].focus()}else if(t.which>=48&&t.which<=90)for(var u=this.getMenuItems(),l=String.fromCharCode(t.which).toLowerCase(),c=0;c-1?this.getRole():void 0,n=H(this.props,["toggle"]),r=n.className,a=n.cssModule,o=n.divider,s=n.tag,l=n.header,c=n.active,f=n.text,d=N(n,Ne),h=B(u()(r,{disabled:d.disabled,"dropdown-item":!o&&!l&&!f,active:c,"dropdown-header":l,"dropdown-divider":o,"dropdown-item-text":f}),a);return"button"===s&&(l?s="h6":o?s="div":d.href?s="a":f&&(s="span")),i.a.createElement(s,P({type:"button"===s&&(d.onClick||this.props.toggle)?"button":void 0},d,{tabIndex:t,role:e,className:h,onClick:this.onClick}))},e}(i.a.Component);Ae.propTypes=Le,Ae.defaultProps={tag:"button",toggle:!0},Ae.contextType=ye;var Re=Ae,Ie=["className","cssModule","dark","end","right","tag","flip","modifiers","persist","strategy","container"],ze={tag:Q,children:o.a.node.isRequired,dark:o.a.bool,end:o.a.bool,flip:o.a.bool,modifiers:o.a.array,className:o.a.string,cssModule:o.a.object,persist:o.a.bool,strategy:o.a.string,container:K,right:Y(o.a.bool,'Please use "end" instead.')},Fe={up:"top",left:"left",right:"right",start:"left",end:"right",down:"bottom"},Be=function(t){function e(){return t.apply(this,arguments)||this}j(e,t);var n=e.prototype;return n.getRole=function(){return"listbox"===this.context.menuRole?"listbox":"menu"},n.render=function(){var t=this,e=this.props,n=e.className,r=e.cssModule,a=e.dark,o=e.end,s=e.right,l=e.tag,f=e.flip,d=e.modifiers,p=e.persist,m=e.strategy,v=e.container,g=N(e,Ie),y=B(u()(n,"dropdown-menu",{"dropdown-menu-dark":a,"dropdown-menu-end":o||s,show:this.context.isOpen}),r),b=l;if(p||this.context.isOpen&&!this.context.inNavbar){var _=(Fe[this.context.direction]||"bottom")+"-"+(o||s?"end":"start"),w=[].concat(d,[{name:"flip",enabled:!!f}]),x=i.a.createElement(c.a,{placement:_,modifiers:w,strategy:m},(function(e){var n=e.ref,r=e.style,a=e.placement,o=E(E({},t.props.style),r);return i.a.createElement(b,P({tabIndex:"-1",role:t.getRole(),ref:function(e){n(e);var r=t.context.onMenuRef;r&&r(e)}},g,{style:o,"aria-hidden":!t.context.isOpen,className:y,"data-popper-placement":a}))}));return v?h.a.createPortal(x,lt(v)):x}return i.a.createElement(b,P({tabIndex:"-1",role:this.getRole()},g,{"aria-hidden":!this.context.isOpen,className:y,"data-popper-placement":g.placement}))},e}(i.a.Component);Be.propTypes=ze,Be.defaultProps={tag:"div",flip:!0,modifiers:[]},Be.contextType=ye;var He=Be,Ue=["className","color","cssModule","caret","split","nav","tag","innerRef"],We={caret:o.a.bool,color:o.a.string,children:o.a.node,className:o.a.string,cssModule:o.a.object,disabled:o.a.bool,onClick:o.a.func,"aria-haspopup":o.a.bool,split:o.a.bool,tag:Q,nav:o.a.bool},Ve=function(t){function e(e){var n;return(n=t.call(this,e)||this).onClick=n.onClick.bind(L(n)),n}j(e,t);var n=e.prototype;return n.onClick=function(t){this.props.disabled||this.context.disabled?t.preventDefault():(this.props.nav&&!this.props.tag&&t.preventDefault(),this.props.onClick&&this.props.onClick(t),this.context.toggle(t))},n.getRole=function(){return this.context.menuRole||this.props["aria-haspopup"]},n.render=function(){var t,e=this,n=this.props,r=n.className,a=n.color,o=n.cssModule,s=n.caret,l=n.split,c=n.nav,d=n.tag,h=n.innerRef,p=N(n,Ue),m=p["aria-label"]||"Toggle Dropdown",v=B(u()(r,{"dropdown-toggle":s||l,"dropdown-toggle-split":l,"nav-link":c}),o),g="undefined"!==typeof p.children?p.children:i.a.createElement("span",{className:"visually-hidden"},m);return c&&!d?(t="a",p.href="#"):d?t=d:(t=pe,p.color=a,p.cssModule=o),this.context.inNavbar?i.a.createElement(t,P({},p,{className:v,onClick:this.onClick,"aria-expanded":this.context.isOpen,"aria-haspopup":this.getRole(),children:g})):i.a.createElement(f.a,{innerRef:h},(function(n){var r,a=n.ref;return i.a.createElement(t,P({},p,((r={})["string"===typeof t?"ref":"innerRef"]=a,r),{className:v,onClick:e.onClick,"aria-expanded":e.context.isOpen,"aria-haspopup":e.getRole(),children:g}))}))},e}(i.a.Component);Ve.propTypes=We,Ve.defaultProps={color:"secondary","aria-haspopup":!0},Ve.contextType=ye;var Ye=Ve,qe=["tag","baseClass","baseClassActive","className","cssModule","children","innerRef"],Ze=E(E({},M.propTypes),{},{children:o.a.oneOfType([o.a.arrayOf(o.a.node),o.a.node]),tag:Q,baseClass:o.a.string,baseClassActive:o.a.string,className:o.a.string,cssModule:o.a.object,innerRef:o.a.oneOfType([o.a.object,o.a.string,o.a.func])}),Ke=E(E({},M.defaultProps),{},{tag:"div",baseClass:"fade",baseClassActive:"show",timeout:X.Fade,appear:!0,enter:!0,exit:!0,in:!0});function Qe(t){var e=t.tag,n=t.baseClass,r=t.baseClassActive,a=t.className,o=t.cssModule,s=t.children,l=t.innerRef,c=N(t,qe),f=U(c,$),d=H(c,$);return i.a.createElement(M,f,(function(t){var c="entered"===t,f=B(u()(a,n,c&&r),o);return i.a.createElement(e,P({className:f},d,{ref:l}),s)}))}Qe.propTypes=Ze,Qe.defaultProps=Ke;var Xe=i.a.createContext({}),$e=["flush","open","toggle","className","cssModule","tag","innerRef"],Ge={tag:Q,className:o.a.string,cssModule:o.a.object,innerRef:o.a.oneOfType([o.a.object,o.a.string,o.a.func]),children:o.a.node,flush:o.a.bool,open:o.a.oneOfType([o.a.array,o.a.string]).isRequired,toggle:o.a.func.isRequired},Je=function(t){var e=t.flush,n=t.open,a=t.toggle,o=t.className,s=t.cssModule,l=t.tag,c=t.innerRef,f=N(t,$e),d=B(u()(o,"accordion",{"accordion-flush":e}),s),h=Object(r.useMemo)((function(){return{open:n,toggle:a}}));return i.a.createElement(Xe.Provider,{value:h},i.a.createElement(l,P({},f,{className:d,ref:c})))};Je.propTypes=Ge,Je.defaultProps={tag:"div"};var tn=Je,en={tag:Q,className:o.a.string,cssModule:o.a.object,innerRef:o.a.oneOfType([o.a.object,o.a.string,o.a.func]),children:o.a.node,defaultOpen:o.a.oneOfType([o.a.array,o.a.string]),stayOpen:o.a.bool};tn.propTypes=en,tn.defaultProps={tag:"div"};var nn=["className","cssModule","tag","innerRef","children","targetId"],rn={tag:Q,className:o.a.string,cssModule:o.a.object,innerRef:o.a.oneOfType([o.a.object,o.a.string,o.a.func]),children:o.a.node,targetId:o.a.string.isRequired},an=function(t){var e=t.className,n=t.cssModule,a=t.tag,o=t.innerRef,s=t.children,l=t.targetId,c=N(t,nn),f=Object(r.useContext)(Xe),d=f.open,h=f.toggle,p=B(u()(e,"accordion-header"),n),m=B(u()("accordion-button",{collapsed:!(Array.isArray(d)?d.includes(l):d===l)}),n);return i.a.createElement(a,P({},c,{className:p,ref:o}),i.a.createElement("button",{type:"button",className:m,onClick:function(){return h(l)}},s))};an.propTypes=rn,an.defaultProps={tag:"h2"};var on=["className","cssModule","tag","innerRef"],sn={tag:Q,className:o.a.string,cssModule:o.a.object,innerRef:o.a.oneOfType([o.a.object,o.a.string,o.a.func]),children:o.a.node},un=function(t){var e=t.className,n=t.cssModule,r=t.tag,a=t.innerRef,o=N(t,on),s=B(u()(e,"accordion-item"),n);return i.a.createElement(r,P({},o,{className:s,ref:a}))};un.propTypes=sn,un.defaultProps={tag:"div"};var ln,cn=["tag","horizontal","isOpen","className","navbar","cssModule","children","innerRef"],fn=E(E({},M.propTypes),{},{horizontal:o.a.bool,isOpen:o.a.bool,children:o.a.oneOfType([o.a.arrayOf(o.a.node),o.a.node]),tag:Q,className:o.a.node,navbar:o.a.bool,cssModule:o.a.object,innerRef:o.a.oneOfType([o.a.func,o.a.string,o.a.object])}),dn=E(E({},M.defaultProps),{},{horizontal:!1,isOpen:!1,appear:!1,enter:!0,exit:!0,tag:"div",timeout:X.Collapse}),hn=((ln={})[G.ENTERING]="collapsing",ln[G.ENTERED]="collapse show",ln[G.EXITING]="collapsing",ln[G.EXITED]="collapse",ln);var pn=function(t){function e(e){var n;return(n=t.call(this,e)||this).state={dimension:null},["onEntering","onEntered","onExit","onExiting","onExited"].forEach((function(t){n[t]=n[t].bind(L(n))})),n}j(e,t);var n=e.prototype;return n.getDimension=function(t){return this.props.horizontal?t.scrollWidth:t.scrollHeight},n.onEntering=function(t,e){this.setState({dimension:this.getDimension(t)}),this.props.onEntering(t,e)},n.onEntered=function(t,e){this.setState({dimension:null}),this.props.onEntered(t,e)},n.onExit=function(t){this.setState({dimension:this.getDimension(t)}),this.props.onExit(t)},n.onExiting=function(t){this.getDimension(t),this.setState({dimension:0}),this.props.onExiting(t)},n.onExited=function(t){this.setState({dimension:null}),this.props.onExited(t)},n.render=function(){var t=this,e=this.props,n=e.tag,r=e.horizontal,a=e.isOpen,o=e.className,s=e.navbar,l=e.cssModule,c=e.children,f=N(e,cn),d=this.state.dimension,h=U(f,$),p=H(f,$);return i.a.createElement(M,P({},h,{in:a,onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}),(function(e){var a,f=function(t){return hn[t]||"collapse"}(e),h=B(u()(o,r&&"collapse-horizontal",f,s&&"navbar-collapse"),l),m=null===d?null:((a={})[r?"width":"height"]=d,a);return i.a.createElement(n,P({},p,{style:E(E({},p.style),m),className:h,ref:t.props.innerRef}),c)}))},e}(r.Component);pn.propTypes=fn,pn.defaultProps=dn;var mn=pn,vn=["className","cssModule","tag","innerRef","children","accordionId"],gn={tag:Q,className:o.a.string,cssModule:o.a.object,innerRef:o.a.oneOfType([o.a.object,o.a.string,o.a.func]),children:o.a.node,accordionId:o.a.string.isRequired},yn=function(t){var e=t.className,n=t.cssModule,a=t.tag,o=t.innerRef,s=t.children,l=t.accordionId,c=N(t,vn),f=Object(r.useContext)(Xe).open,d=B(u()(e,"accordion-collapse"),n);return i.a.createElement(mn,P({},c,{className:d,ref:o,isOpen:Array.isArray(f)?f.includes(l):f===l}),i.a.createElement(a,{className:"accordion-body"},s))};yn.propTypes=gn,yn.defaultProps={tag:"div"};var bn=["className","cssModule","color","innerRef","pill","tag"],_n={color:o.a.string,pill:o.a.bool,tag:Q,innerRef:o.a.oneOfType([o.a.object,o.a.func,o.a.string]),children:o.a.node,className:o.a.string,cssModule:o.a.object},wn=function(t){var e=t.className,n=t.cssModule,r=t.color,a=t.innerRef,o=t.pill,s=t.tag,l=N(t,bn),c=B(u()(e,"badge","bg-"+r,!!o&&"rounded-pill"),n);return l.href&&"span"===s&&(s="a"),i.a.createElement(s,P({},l,{className:c,ref:a}))};wn.propTypes=_n,wn.defaultProps={color:"secondary",pill:!1,tag:"span"};var xn=["className","cssModule","color","body","inverse","outline","tag","innerRef"],kn={tag:Q,inverse:o.a.bool,color:o.a.string,body:o.a.bool,outline:o.a.bool,className:o.a.string,cssModule:o.a.object,innerRef:o.a.oneOfType([o.a.object,o.a.string,o.a.func])},On=function(t){var e=t.className,n=t.cssModule,r=t.color,a=t.body,o=t.inverse,s=t.outline,l=t.tag,c=t.innerRef,f=N(t,xn),d=B(u()(e,"card",!!o&&"text-white",!!a&&"card-body",!!r&&(s?"border":"bg")+"-"+r),n);return i.a.createElement(l,P({},f,{className:d,ref:c}))};On.propTypes=kn,On.defaultProps={tag:"div"};var Cn=On,Mn=["className","cssModule","tag"],Sn={tag:Q,className:o.a.string,cssModule:o.a.object},En=function(t){var e=t.className,n=t.cssModule,r=t.tag,a=N(t,Mn),o=B(u()(e,"card-group"),n);return i.a.createElement(r,P({},a,{className:o}))};En.propTypes=Sn,En.defaultProps={tag:"div"};var Tn=["className","cssModule","tag"],Pn={tag:Q,className:o.a.string,cssModule:o.a.object},jn=function(t){var e=t.className,n=t.cssModule,r=t.tag,a=N(t,Tn),o=B(u()(e,"card-deck"),n);return i.a.createElement(r,P({},a,{className:o}))};jn.propTypes=Pn,jn.defaultProps={tag:"div"};var Dn=["className","cssModule","tag"],Nn={tag:Q,className:o.a.string,cssModule:o.a.object},Ln=function(t){var e=t.className,n=t.cssModule,r=t.tag,a=N(t,Dn),o=B(u()(e,"card-columns"),n);return i.a.createElement(r,P({},a,{className:o}))};Ln.propTypes=Nn,Ln.defaultProps={tag:"div"};var An=["className","cssModule","innerRef","tag"],Rn={tag:Q,className:o.a.string,cssModule:o.a.object,innerRef:o.a.oneOfType([o.a.object,o.a.string,o.a.func])},In=function(t){var e=t.className,n=t.cssModule,r=t.innerRef,a=t.tag,o=N(t,An),s=B(u()(e,"card-body"),n);return i.a.createElement(a,P({},o,{className:s,ref:r}))};In.propTypes=Rn,In.defaultProps={tag:"div"};var zn=In,Fn=["className","cssModule","tag","innerRef"],Bn={tag:Q,innerRef:o.a.oneOfType([o.a.object,o.a.func,o.a.string]),className:o.a.string,cssModule:o.a.object},Hn=function(t){var e=t.className,n=t.cssModule,r=t.tag,a=t.innerRef,o=N(t,Fn),s=B(u()(e,"card-link"),n);return i.a.createElement(r,P({},o,{ref:a,className:s}))};Hn.propTypes=Bn,Hn.defaultProps={tag:"a"};var Un=["className","cssModule","tag"],Wn={tag:Q,className:o.a.string,cssModule:o.a.object},Vn=function(t){var e=t.className,n=t.cssModule,r=t.tag,a=N(t,Un),o=B(u()(e,"card-footer"),n);return i.a.createElement(r,P({},a,{className:o}))};Vn.propTypes=Wn,Vn.defaultProps={tag:"div"};var Yn=Vn,qn=["className","cssModule","tag"],Zn={tag:Q,className:o.a.string,cssModule:o.a.object},Kn=function(t){var e=t.className,n=t.cssModule,r=t.tag,a=N(t,qn),o=B(u()(e,"card-header"),n);return i.a.createElement(r,P({},a,{className:o}))};Kn.propTypes=Zn,Kn.defaultProps={tag:"div"};var Qn=Kn,Xn=["className","cssModule","top","bottom","tag"],$n={tag:Q,top:o.a.bool,bottom:o.a.bool,className:o.a.string,cssModule:o.a.object},Gn=function(t){var e=t.className,n=t.cssModule,r=t.top,a=t.bottom,o=t.tag,s=N(t,Xn),l="card-img";r&&(l="card-img-top"),a&&(l="card-img-bottom");var c=B(u()(e,l),n);return i.a.createElement(o,P({},s,{className:c}))};Gn.propTypes=$n,Gn.defaultProps={tag:"img"};var Jn=["className","cssModule","tag"],tr={tag:Q,className:o.a.string,cssModule:o.a.object},er=function(t){var e=t.className,n=t.cssModule,r=t.tag,a=N(t,Jn),o=B(u()(e,"card-img-overlay"),n);return i.a.createElement(r,P({},a,{className:o}))};er.propTypes=tr,er.defaultProps={tag:"div"};var nr=["in","children","cssModule","slide","tag","className"],rr=function(t){function e(e){var n;return(n=t.call(this,e)||this).state={startAnimation:!1},n.onEnter=n.onEnter.bind(L(n)),n.onEntering=n.onEntering.bind(L(n)),n.onExit=n.onExit.bind(L(n)),n.onExiting=n.onExiting.bind(L(n)),n.onExited=n.onExited.bind(L(n)),n}j(e,t);var n=e.prototype;return n.onEnter=function(t,e){this.setState({startAnimation:!1}),this.props.onEnter(t,e)},n.onEntering=function(t,e){var n=t.offsetHeight;return this.setState({startAnimation:!0}),this.props.onEntering(t,e),n},n.onExit=function(t){this.setState({startAnimation:!1}),this.props.onExit(t)},n.onExiting=function(t){this.setState({startAnimation:!0}),t.dispatchEvent(new CustomEvent("slide.bs.carousel")),this.props.onExiting(t)},n.onExited=function(t){t.dispatchEvent(new CustomEvent("slid.bs.carousel")),this.props.onExited(t)},n.render=function(){var t=this,e=this.props,n=e.in,r=e.children,a=e.cssModule,o=e.slide,s=e.tag,l=e.className,c=N(e,nr);return i.a.createElement(M,P({},c,{enter:o,exit:o,in:n,onEnter:this.onEnter,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}),(function(e){var n=t.context.direction,o=e===G.ENTERED||e===G.EXITING,c=(e===G.ENTERING||e===G.EXITING)&&t.state.startAnimation&&("end"===n?"carousel-item-start":"carousel-item-end"),f=e===G.ENTERING&&("end"===n?"carousel-item-next":"carousel-item-prev"),d=B(u()(l,"carousel-item",o&&"active",c,f),a);return i.a.createElement(s,{className:d},r)}))},e}(i.a.Component);rr.propTypes=E(E({},M.propTypes),{},{tag:Q,in:o.a.bool,cssModule:o.a.object,children:o.a.node,slide:o.a.bool,className:o.a.string}),rr.defaultProps=E(E({},M.defaultProps),{},{tag:"div",timeout:X.Carousel,slide:!0}),rr.contextTypes={direction:o.a.string};var ir=rr,ar=i.a.createContext({}),or=function(t){function e(e){var n;return(n=t.call(this,e)||this).handleKeyPress=n.handleKeyPress.bind(L(n)),n.renderItems=n.renderItems.bind(L(n)),n.hoverStart=n.hoverStart.bind(L(n)),n.hoverEnd=n.hoverEnd.bind(L(n)),n.handleTouchStart=n.handleTouchStart.bind(L(n)),n.handleTouchEnd=n.handleTouchEnd.bind(L(n)),n.touchStartX=0,n.touchStartY=0,n.state={activeIndex:n.props.activeIndex,direction:"end",indicatorClicked:!1},n}j(e,t);var n=e.prototype;return n.getContextValue=function(){return{direction:this.state.direction}},n.componentDidMount=function(){"carousel"===this.props.ride&&this.setInterval(),document.addEventListener("keyup",this.handleKeyPress)},e.getDerivedStateFromProps=function(t,e){var n=null,r=e.activeIndex,i=e.direction,a=e.indicatorClicked;return t.activeIndex!==r&&(t.activeIndex===r+1?i="end":t.activeIndex===r-1?i="start":t.activeIndex-1&&!this.props.autohide&&(this._hideTimeout&&this.clearHideTimeout(),this.state.isOpen&&!this.props.isOpen&&this.toggle())},n.onMouseLeaveTooltipContent=function(t){this.props.trigger.indexOf("hover")>-1&&!this.props.autohide&&(this._showTimeout&&this.clearShowTimeout(),t.persist(),this._hideTimeout=setTimeout(this.hide.bind(this,t),this.getDelay("hide")))},n.onEscKeyDown=function(t){"Escape"===t.key&&this.hide(t)},n.getRef=function(t){var e=this.props.innerRef;e&&("function"===typeof e?e(t):"object"===typeof e&&(e.current=t)),this._popover=t},n.getDelay=function(t){var e=this.props.delay;return"object"===typeof e?isNaN(e[t])?Ar[t]:e[t]:e},n.getCurrentTarget=function(t){if(!t)return null;var e=this._targets.indexOf(t);return e>=0?this._targets[e]:this.getCurrentTarget(t.parentElement)},n.show=function(t){if(!this.props.isOpen){if(this.clearShowTimeout(),this.currentTargetElement=t?t.currentTarget||this.getCurrentTarget(t.target):null,t&&t.composedPath&&"function"===typeof t.composedPath){var e=t.composedPath();this.currentTargetElement=e&&e[0]||this.currentTargetElement}this.toggle(t)}},n.showWithDelay=function(t){this._hideTimeout&&this.clearHideTimeout(),this._showTimeout=setTimeout(this.show.bind(this,t),this.getDelay("show"))},n.hide=function(t){this.props.isOpen&&(this.clearHideTimeout(),this.currentTargetElement=null,this.toggle(t))},n.hideWithDelay=function(t){this._showTimeout&&this.clearShowTimeout(),this._hideTimeout=setTimeout(this.hide.bind(this,t),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(t){var e=this.props.trigger.split(" ");e.indexOf("legacy")>-1&&(this.props.isOpen||zr(t.target,this._targets))?(this._hideTimeout&&this.clearHideTimeout(),this.props.isOpen&&!Ir(t.target,this._popover)?this.hideWithDelay(t):this.props.isOpen||this.showWithDelay(t)):e.indexOf("click")>-1&&zr(t.target,this._targets)&&(this._hideTimeout&&this.clearHideTimeout(),this.props.isOpen?this.hideWithDelay(t):this.showWithDelay(t))},n.addEventOnTargets=function(t,e,n){this._targets.forEach((function(r){r.addEventListener(t,e,n)}))},n.removeEventOnTargets=function(t,e,n){this._targets.forEach((function(r){r.removeEventListener(t,e,n)}))},n.addTargetEvents=function(){if(this.props.trigger){var t=this.props.trigger.split(" ");-1===t.indexOf("manual")&&((t.indexOf("click")>-1||t.indexOf("legacy")>-1)&&document.addEventListener("click",this.handleDocumentClick,!0),this._targets&&this._targets.length&&(t.indexOf("hover")>-1&&(this.addEventOnTargets("mouseover",this.showWithDelay,!0),this.addEventOnTargets("mouseout",this.hideWithDelay,!0)),t.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 t=lt(this.props.target,!0);t!==this._targets&&(this.removeTargetEvents(),this._targets=t?Array.from(t):[],this.currentTargetElement=this.currentTargetElement||this._targets[0],this.addTargetEvents())},n.toggle=function(t){return this.props.disabled||!this._isMounted?t&&t.preventDefault():this.props.toggle(t)},n.render=function(){var t=this;this.props.isOpen&&this.updateTarget();var e=this.currentTargetElement||this._targets[0];if(!e)return null;var n=this.props,r=n.className,a=n.cssModule,o=n.innerClassName,s=n.isOpen,u=n.hideArrow,l=n.boundariesElement,c=n.placement,f=n.placementPrefix,d=n.arrowClassName,h=n.popperClassName,p=n.container,m=n.modifiers,v=n.strategy,g=n.offset,y=n.fade,b=n.flip,_=n.children,w=H(this.props,Object.keys(Lr)),x=B(h,a),k=B(o,a);return i.a.createElement(Dr,{className:r,target:e,isOpen:s,hideArrow:u,boundariesElement:l,placement:c,placementPrefix:f,arrowClassName:d,popperClassName:x,container:p,modifiers:m,strategy:v,offset:g,cssModule:a,fade:y,flip:b},(function(e){var n=e.update;return i.a.createElement("div",P({},w,{ref:t.getRef,className:k,role:"tooltip",onMouseOver:t.onMouseOverTooltipContent,onMouseLeave:t.onMouseLeaveTooltipContent,onKeyDown:t.onEscKeyDown}),"function"===typeof _?_({update:n}):_)}))},e}(i.a.Component);Fr.propTypes=Lr,Fr.defaultProps=Rr;var Br=Fr,Hr=function(t){var e=u()("popover","show",t.popperClassName),n=u()("popover-inner",t.innerClassName);return i.a.createElement(Br,P({},t,{arrowClassName:"popover-arrow",popperClassName:e,innerClassName:n}))};Hr.propTypes=Lr,Hr.defaultProps={placement:"right",placementPrefix:"bs-popover",trigger:"click",offset:[0,8]};var Ur=Hr,Wr=["defaultOpen"];(function(t){function e(e){var n;return(n=t.call(this,e)||this).state={isOpen:e.defaultOpen||!1},n.toggle=n.toggle.bind(L(n)),n}j(e,t);var n=e.prototype;return n.toggle=function(){this.setState({isOpen:!this.state.isOpen})},n.render=function(){return i.a.createElement(Ur,P({isOpen:this.state.isOpen,toggle:this.toggle},H(this.props,Wr)))},e}(r.Component)).propTypes=E({defaultOpen:o.a.bool},Ur.propTypes);var Vr=["className","cssModule","tag"],Yr={tag:Q,className:o.a.string,cssModule:o.a.object},qr=function(t){var e=t.className,n=t.cssModule,r=t.tag,a=N(t,Vr),o=B(u()(e,"popover-header"),n);return i.a.createElement(r,P({},a,{className:o}))};qr.propTypes=Yr,qr.defaultProps={tag:"h3"};var Zr=["className","cssModule","tag"],Kr={tag:Q,className:o.a.string,cssModule:o.a.object},Qr=function(t){var e=t.className,n=t.cssModule,r=t.tag,a=N(t,Zr),o=B(u()(e,"popover-body"),n);return i.a.createElement(r,P({},a,{className:o}))};Qr.propTypes=Kr,Qr.defaultProps={tag:"div"};var Xr=["children","className","barClassName","cssModule","value","min","max","animated","striped","color","bar","multi","tag","style","barStyle","barAriaValueText","barAriaLabelledBy"],$r={children:o.a.node,bar:o.a.bool,multi:o.a.bool,tag:Q,value:o.a.oneOfType([o.a.string,o.a.number]),min:o.a.oneOfType([o.a.string,o.a.number]),max:o.a.oneOfType([o.a.string,o.a.number]),animated:o.a.bool,striped:o.a.bool,color:o.a.string,className:o.a.string,barClassName:o.a.string,cssModule:o.a.object,style:o.a.object,barStyle:o.a.object,barAriaValueText:o.a.string,barAriaLabelledBy:o.a.string},Gr=function(t){var e=t.children,n=t.className,r=t.barClassName,a=t.cssModule,o=t.value,s=t.min,l=t.max,c=t.animated,f=t.striped,d=t.color,h=t.bar,p=t.multi,m=t.tag,v=t.style,g=t.barStyle,y=t.barAriaValueText,b=t.barAriaLabelledBy,_=N(t,Xr),w=it(o)/it(l)*100,x=B(u()(n,"progress"),a),k={className:B(u()("progress-bar",h&&n||r,c?"progress-bar-animated":null,d?"bg-"+d:null,f||c?"progress-bar-striped":null),a),style:E(E(E({},h?v:{}),g),{},{width:w+"%"}),role:"progressbar","aria-valuenow":o,"aria-valuemin":s,"aria-valuemax":l,"aria-valuetext":y,"aria-labelledby":b,children:e};return h?i.a.createElement(m,P({},_,k)):i.a.createElement(m,P({},_,{style:v,className:x}),p?e:i.a.createElement("div",k))};Gr.propTypes=$r,Gr.defaultProps={tag:"div",value:0,min:0,max:100,style:{},barStyle:{}};var Jr=Gr,ti={children:o.a.node.isRequired,node:o.a.any},ei=function(t){function e(){return t.apply(this,arguments)||this}j(e,t);var n=e.prototype;return n.componentWillUnmount=function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null},n.render=function(){return et?(this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),h.a.createPortal(this.props.children,this.props.node||this.defaultNode)):null},e}(i.a.Component);ei.propTypes=ti;var ni=ei;function ri(){}var ii=o.a.shape(Qe.propTypes),ai={isOpen:o.a.bool,autoFocus:o.a.bool,centered:o.a.bool,fullscreen:o.a.oneOfType([o.a.bool,o.a.oneOf(["sm","md","lg","xl"])]),scrollable:o.a.bool,size:o.a.string,toggle:o.a.func,keyboard:o.a.bool,role:o.a.string,labelledBy:o.a.string,backdrop:o.a.oneOfType([o.a.bool,o.a.oneOf(["static"])]),onEnter:o.a.func,onExit:o.a.func,onOpened:o.a.func,onClosed:o.a.func,children:o.a.node,className:o.a.string,wrapClassName:o.a.string,modalClassName:o.a.string,backdropClassName:o.a.string,contentClassName:o.a.string,external:o.a.node,fade:o.a.bool,cssModule:o.a.object,zIndex:o.a.oneOfType([o.a.number,o.a.string]),backdropTransition:ii,modalTransition:ii,innerRef:o.a.oneOfType([o.a.object,o.a.string,o.a.func]),unmountOnClose:o.a.bool,returnFocusAfterClose:o.a.bool,container:K,trapFocus:o.a.bool},oi=Object.keys(ai),si={isOpen:!1,autoFocus:!0,centered:!1,scrollable:!1,role:"dialog",backdrop:!0,keyboard:!0,zIndex:1050,fade:!0,onOpened:ri,onClosed:ri,modalTransition:{timeout:X.Modal},backdropTransition:{mountOnEnter:!0,timeout:X.Fade},unmountOnClose:!0,returnFocusAfterClose:!0,container:"body",trapFocus:!1},ui=function(t){function e(e){var n;return(n=t.call(this,e)||this)._element=null,n._originalBodyPadding=null,n.getFocusableChildren=n.getFocusableChildren.bind(L(n)),n.handleBackdropClick=n.handleBackdropClick.bind(L(n)),n.handleBackdropMouseDown=n.handleBackdropMouseDown.bind(L(n)),n.handleEscape=n.handleEscape.bind(L(n)),n.handleStaticBackdropAnimation=n.handleStaticBackdropAnimation.bind(L(n)),n.handleTab=n.handleTab.bind(L(n)),n.onOpened=n.onOpened.bind(L(n)),n.onClosed=n.onClosed.bind(L(n)),n.manageFocusAfterClose=n.manageFocusAfterClose.bind(L(n)),n.clearBackdropAnimationTimeout=n.clearBackdropAnimationTimeout.bind(L(n)),n.trapFocus=n.trapFocus.bind(L(n)),n.state={isOpen:!1,showStaticBackdropAnimation:!1},n}j(e,t);var n=e.prototype;return n.componentDidMount=function(){var t=this.props,e=t.isOpen,n=t.autoFocus,r=t.onEnter;e&&(this.init(),this.setState({isOpen:!0}),n&&this.setFocus()),r&&r(),document.addEventListener("focus",this.trapFocus,!0),this._isMounted=!0},n.componentDidUpdate=function(t,e){if(this.props.isOpen&&!t.isOpen)return this.init(),void this.setState({isOpen:!0});this.props.autoFocus&&this.state.isOpen&&!e.isOpen&&this.setFocus(),this._element&&t.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(t){if(this.props.trapFocus&&this._element&&(!this._dialog||this._dialog.parentNode!==t.target)&&!(this.modalIndex0&&(t.preventDefault(),t.stopPropagation(),n[0].focus())}},n.onOpened=function(t,e){this.props.onOpened(),(this.props.modalTransition.onEntered||ri)(t,e)},n.onClosed=function(t){var e=this.props.unmountOnClose;this.props.onClosed(),(this.props.modalTransition.onExited||ri)(t),e&&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(dt.join(", "))},n.getFocusedChild=function(){var t,e=this.getFocusableChildren();try{t=document.activeElement}catch(n){t=e[0]}return t},n.handleBackdropClick=function(t){if(t.target===this._mouseDownElement){t.stopPropagation();var e=this._dialog?this._dialog.parentNode:null;if(e&&t.target===e&&"static"===this.props.backdrop&&this.handleStaticBackdropAnimation(),!this.props.isOpen||!0!==this.props.backdrop)return;e&&t.target===e&&this.props.toggle&&this.props.toggle(t)}},n.handleTab=function(t){if(9===t.which&&!(this.modalIndex-1,m=new RegExp("\\D","g"),v="select"===r,g=l||(v||"textarea"===r?r:"input"),y="form-control";f?(y+="-plaintext",g=l||"input"):"range"===r?y="form-range":v?y="form-select":p&&(y=c?null:"form-check-input"),h.size&&m.test(h.size)&&(V('Please use the prop "bsSize" instead of the "size" to bootstrap\'s input sizing.'),a=h.size,delete h.size);var b=B(u()(e,s&&"is-invalid",o&&"is-valid",!!a&&(v?"form-select-"+a:"form-control-"+a),y),n);return("input"===g||l&&"function"===typeof l)&&(h.type="switch"===r?"checkbox":r),h.children&&!f&&"select"!==r&&"string"===typeof g&&"select"!==g&&(V('Input with a type of "'+r+'" cannot have children. Please use "value"/"defaultValue" instead.'),delete h.children),i.a.createElement(g,P({},h,{ref:d,className:b,"aria-invalid":s}))},e}(i.a.Component);Zi.propTypes=qi,Zi.defaultProps={type:"text"};var Ki=Zi,Qi=["className","cssModule","tag","type","size"],Xi={tag:Q,type:o.a.bool,size:o.a.string,className:o.a.string,cssModule:o.a.object},$i=function(t){var e=t.className,n=t.cssModule,r=t.tag,a=t.size,o=N(t,Qi),s=B(u()(e,"input-group",a?"input-group-"+a:null),n);return"dropdown"===t.type?i.a.createElement(ke,P({},o,{className:s})):i.a.createElement(r,P({},o,{className:s}))};$i.propTypes=Xi,$i.defaultProps={tag:"div"};var Gi=$i,Ji=["className","cssModule","tag"],ta={tag:Q,className:o.a.string,cssModule:o.a.object},ea=function(t){var e=t.className,n=t.cssModule,r=t.tag,a=N(t,Ji),o=B(u()(e,"input-group-text"),n);return i.a.createElement(r,P({},a,{className:o}))};ea.propTypes=ta,ea.defaultProps={tag:"span"};var na=["className","cssModule","hidden","widths","tag","check","size","for"],ra=o.a.oneOfType([o.a.number,o.a.string]),ia=o.a.oneOfType([o.a.bool,o.a.string,o.a.number,o.a.shape({size:ra,order:ra,offset:ra})]),aa={children:o.a.node,hidden:o.a.bool,check:o.a.bool,size:o.a.string,for:o.a.string,tag:Q,className:o.a.string,cssModule:o.a.object,xs:ia,sm:ia,md:ia,lg:ia,xl:ia,xxl:ia,widths:o.a.array},oa={tag:"label",widths:["xs","sm","md","lg","xl","xxl"]},sa=function(t,e,n){return!0===n||""===n?t?"col":"col-"+e:"auto"===n?t?"col-auto":"col-"+e+"-auto":t?"col-"+n:"col-"+e+"-"+n},ua=function(t){var e=t.className,n=t.cssModule,r=t.hidden,a=t.widths,o=t.tag,s=t.check,l=t.size,c=t.for,f=N(t,na),d=[];a.forEach((function(e,r){var i=t[e];if(delete f[e],i||""===i){var a,o=!r;if(at(i)){var s,l=o?"-":"-"+e+"-";a=sa(o,e,i.size),d.push(B(u()(((s={})[a]=i.size||""===i.size,s["order"+l+i.order]=i.order||0===i.order,s["offset"+l+i.offset]=i.offset||0===i.offset,s))),n)}else a=sa(o,e,i),d.push(a)}}));var h=B(u()(e,!!r&&"visually-hidden",!!s&&"form-check-label",!!l&&"col-form-label-"+l,d,d.length?"col-form-label":"form-label"),n);return i.a.createElement(o,P({htmlFor:c},f,{className:h}))};ua.propTypes=aa,ua.defaultProps=oa;var la=["body","bottom","className","cssModule","heading","left","list","middle","object","right","tag","top"],ca={body:o.a.bool,bottom:o.a.bool,children:o.a.node,className:o.a.string,cssModule:o.a.object,heading:o.a.bool,left:o.a.bool,list:o.a.bool,middle:o.a.bool,object:o.a.bool,right:o.a.bool,tag:Q,top:o.a.bool},fa=function(t){var e,n=t.body,r=t.bottom,a=t.className,o=t.cssModule,s=t.heading,l=t.left,c=t.list,f=t.middle,d=t.object,h=t.right,p=t.tag,m=t.top,v=N(t,la);e=s?"h4":v.href?"a":v.src||d?"img":c?"ul":"div";var g=p||e,y=B(u()(a,{"media-body":n,"media-heading":s,"media-left":l,"media-right":h,"media-top":m,"media-bottom":r,"media-middle":f,"media-object":d,"media-list":c,media:!n&&!s&&!l&&!h&&!m&&!r&&!f&&!d&&!c}),o);return i.a.createElement(g,P({},v,{className:y}))};fa.propTypes=ca;function da(){}var ha=o.a.shape(Qe.propTypes),pa={autoFocus:o.a.bool,backdrop:o.a.bool,backdropClassName:o.a.string,backdropTransition:ha,children:o.a.node,className:o.a.string,container:K,cssModule:o.a.object,direction:o.a.oneOf(["start","end","bottom","top","left","right"]),fade:o.a.bool,innerRef:o.a.oneOfType([o.a.object,o.a.string,o.a.func]),isOpen:o.a.bool,keyboard:o.a.bool,labelledBy:o.a.string,offcanvasTransition:ha,onClosed:o.a.func,onEnter:o.a.func,onExit:o.a.func,onOpened:o.a.func,returnFocusAfterClose:o.a.bool,role:o.a.string,scrollable:o.a.bool,toggle:o.a.func,trapFocus:o.a.bool,unmountOnClose:o.a.bool,zIndex:o.a.oneOfType([o.a.number,o.a.string])},ma=Object.keys(pa),va={isOpen:!1,autoFocus:!0,direction:"start",scrollable:!1,role:"dialog",backdrop:!0,keyboard:!0,zIndex:1050,fade:!0,onOpened:da,onClosed:da,offcanvasTransition:{timeout:X.Offcanvas},backdropTransition:{mountOnEnter:!0,timeout:X.Fade},unmountOnClose:!0,returnFocusAfterClose:!0,container:"body",trapFocus:!1},ga=function(t){function e(e){var n;return(n=t.call(this,e)||this)._element=null,n._originalBodyPadding=null,n.getFocusableChildren=n.getFocusableChildren.bind(L(n)),n.handleBackdropClick=n.handleBackdropClick.bind(L(n)),n.handleBackdropMouseDown=n.handleBackdropMouseDown.bind(L(n)),n.handleEscape=n.handleEscape.bind(L(n)),n.handleTab=n.handleTab.bind(L(n)),n.onOpened=n.onOpened.bind(L(n)),n.onClosed=n.onClosed.bind(L(n)),n.manageFocusAfterClose=n.manageFocusAfterClose.bind(L(n)),n.clearBackdropAnimationTimeout=n.clearBackdropAnimationTimeout.bind(L(n)),n.trapFocus=n.trapFocus.bind(L(n)),n.state={isOpen:!1},n}j(e,t);var n=e.prototype;return n.componentDidMount=function(){var t=this.props,e=t.isOpen,n=t.autoFocus,r=t.onEnter;e&&(this.init(),this.setState({isOpen:!0}),n&&this.setFocus()),r&&r(),document.addEventListener("focus",this.trapFocus,!0),this._isMounted=!0},n.componentDidUpdate=function(t,e){if(this.props.isOpen&&!t.isOpen)return this.init(),void this.setState({isOpen:!0});this.props.autoFocus&&this.state.isOpen&&!e.isOpen&&this.setFocus(),this._element&&t.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(t){if(this.props.trapFocus&&this._element&&this._dialog!==t.target&&!(this.offcanvasIndex0&&(t.preventDefault(),t.stopPropagation(),n[0].focus())}},n.onOpened=function(t,e){this.props.onOpened(),(this.props.offcanvasTransition.onEntered||da)(t,e)},n.onClosed=function(t){var e=this.props.unmountOnClose;this.props.onClosed(),(this.props.offcanvasTransition.onExited||da)(t),e&&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(dt.join(", "))},n.getFocusedChild=function(){var t,e=this.getFocusableChildren();try{t=document.activeElement}catch(n){t=e[0]}return t},n.handleBackdropClick=function(t){if(t.target===this._mouseDownElement){t.stopPropagation();var e=this._backdrop;if(!this.props.isOpen||!0!==this.props.backdrop)return;e&&t.target===e&&this.props.toggle&&this.props.toggle(t)}},n.handleTab=function(t){if(9===t.which&&!(this.offcanvasIndex1?"s":"")+" required, but only "+e.length+" present")}n.d(e,"a",(function(){return r}))},function(t,e,n){t.exports=n(223)},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(105);var i=n(62),a=n(106);function o(t,e){return Object(r.a)(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(u){i=!0,a=u}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}}(t,e)||Object(i.a)(t,e)||Object(a.a)()}},function(t,e,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var t=[],e=0;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n0;)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return e}function nt(t){for(var e=[],n=(t||[]).length>>>0;n--;)e[n]=t[n];return e}function rt(t){return t.classList?nt(t.classList):(t.getAttribute("class")||"").split(" ").filter((function(t){return t}))}function it(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function at(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,": ").concat(t[n].trim(),";")}),"")}function ot(t){return t.size!==tt.size||t.x!==tt.x||t.y!==tt.y||t.rotate!==tt.rotate||t.flipX||t.flipY}function st(){var t="fa",e=C,n=$.familyPrefix,r=$.replacementClass,i=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-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-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\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-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: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\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-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\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: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\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@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 -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\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 z-index: var(--fa-stack-z-index, auto);\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: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\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.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';if(n!==t||r!==e){var a=new RegExp("\\.".concat(t,"\\-"),"g"),o=new RegExp("\\--".concat(t,"\\-"),"g"),s=new RegExp("\\.".concat(e),"g");i=i.replace(a,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(s,".".concat(r))}return i}var ut=!1;function lt(){$.autoAddCss&&!ut&&(!function(t){if(t&&k){var e=_.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var n=_.head.childNodes,r=null,i=n.length-1;i>-1;i--){var a=n[i],o=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=a)}_.head.insertBefore(e,r)}}(st()),ut=!0)}var ct={mixout:function(){return{dom:{css:st,insertCss:lt}}},hooks:function(){return{beforeDOMElementCreation:function(){lt()},beforeI2svg:function(){lt()}}}},ft=b||{};ft.___FONT_AWESOME___||(ft.___FONT_AWESOME___={}),ft.___FONT_AWESOME___.styles||(ft.___FONT_AWESOME___.styles={}),ft.___FONT_AWESOME___.hooks||(ft.___FONT_AWESOME___.hooks={}),ft.___FONT_AWESOME___.shims||(ft.___FONT_AWESOME___.shims=[]);var dt=ft.___FONT_AWESOME___,ht=[],pt=!1;function mt(t){k&&(pt?setTimeout(t,0):ht.push(t))}function vt(t){var e=t.tag,n=t.attributes,r=void 0===n?{}:n,i=t.children,a=void 0===i?[]:i;return"string"===typeof t?it(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,'="').concat(it(t[n]),'" ')}),"").trim()}(r),">").concat(a.map(vt).join(""),"")}function gt(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}k&&((pt=(_.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(_.readyState))||_.addEventListener("DOMContentLoaded",(function t(){_.removeEventListener("DOMContentLoaded",t),pt=1,ht.map((function(t){return t()}))})));var yt=function(t,e,n,r){var i,a,o,s=Object.keys(t),u=s.length,l=void 0!==r?function(t,e){return function(n,r,i,a){return t.call(e,n,r,i,a)}}(e,r):e;for(void 0===n?(i=1,o=t[s[0]]):(i=0,o=n);i=55296&&i<=56319&&n2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,a=void 0!==r&&r,o=_t(e);"function"!==typeof dt.hooks.addPack||a?dt.styles[t]=i(i({},dt.styles[t]||{}),o):dt.hooks.addPack(t,_t(e)),"fas"===t&&wt("fa",e)}var xt=dt.styles,kt=dt.shims,Ot=Object.values(A),Ct=null,Mt={},St={},Et={},Tt={},Pt={},jt=Object.keys(N);function Dt(t,e){var n,r=e.split("-"),i=r[0],a=r.slice(1).join("-");return i!==t||""===a||(n=a,~K.indexOf(n))?null:a}var Nt,Lt=function(){var t=function(t){return yt(xt,(function(e,n,r){return e[r]=yt(n,t,{}),e}),{})};Mt=t((function(t,e,n){(e[3]&&(t[e[3]]=n),e[2])&&e[2].filter((function(t){return"number"===typeof t})).forEach((function(e){t[e.toString(16)]=n}));return t})),St=t((function(t,e,n){(t[n]=n,e[2])&&e[2].filter((function(t){return"string"===typeof t})).forEach((function(e){t[e]=n}));return t})),Pt=t((function(t,e,n){var r=e[2];return t[n]=n,r.forEach((function(e){t[e]=n})),t}));var e="far"in xt||$.autoFetchSvg,n=yt(kt,(function(t,n){var r=n[0],i=n[1],a=n[2];return"far"!==i||e||(i="fas"),"string"===typeof r&&(t.names[r]={prefix:i,iconName:a}),"number"===typeof r&&(t.unicodes[r.toString(16)]={prefix:i,iconName:a}),t}),{names:{},unicodes:{}});Et=n.names,Tt=n.unicodes,Ct=Ft($.styleDefault)};function At(t,e){return(Mt[t]||{})[e]}function Rt(t,e){return(Pt[t]||{})[e]}function It(t){return Et[t]||{prefix:null,iconName:null}}function zt(){return Ct}Nt=function(t){Ct=Ft(t.styleDefault)},G.push(Nt),Lt();function Ft(t){var e=L[t]||L[N[t]],n=t in dt.styles?t:null;return e||n||null}function Bt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.skipLookups,r=void 0!==n&&n,i=null,a=t.reduce((function(t,e){var n=Dt($.familyPrefix,e);if(xt[e]?(e=Ot.includes(e)?R[e]:e,i=e,t.prefix=e):jt.indexOf(e)>-1?(i=e,t.prefix=Ft(e)):n?t.iconName=n:e!==$.replacementClass&&t.rest.push(e),!r&&t.prefix&&t.iconName){var a="fa"===i?It(t.iconName):{},o=Rt(t.prefix,t.iconName);a.prefix&&(i=null),t.iconName=a.iconName||o||t.iconName,t.prefix=a.prefix||t.prefix,"far"!==t.prefix||xt.far||!xt.fas||$.autoFetchSvg||(t.prefix="fas")}return t}),{prefix:null,iconName:null,rest:[]});return"fa"!==a.prefix&&"fa"!==i||(a.prefix=zt()||"fas"),a}var Ht=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e,n,r;return e=t,(n=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r0&&s.forEach((function(e){"string"===typeof e&&(t[i][e]=o)})),t[i][a]=o})),t}}])&&o(e.prototype,n),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),Ut=[],Wt={},Vt={},Yt=Object.keys(Vt);function qt(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i1?e-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{};return k?(Zt("beforeI2svg",t),Kt("pseudoElements2svg",t),Kt("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot;!1===$.autoReplaceSvg&&($.autoReplaceSvg=!0),$.observeMutations=!0,mt((function(){Jt({autoReplaceSvgRoot:e}),Zt("watch",t)}))}},Gt={noAuto:function(){$.autoReplaceSvg=!1,$.observeMutations=!1,Zt("noAuto")},config:$,dom:$t,parse:{icon:function(t){if(null===t)return null;if("object"===a(t)&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Rt(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&2===t.length){var e=0===t[1].indexOf("fa-")?t[1].slice(3):t[1],n=Ft(t[0]);return{prefix:n,iconName:Rt(n,e)||e}}if("string"===typeof t&&(t.indexOf("".concat($.familyPrefix,"-"))>-1||t.match(I))){var r=Bt(t.split(" "),{skipLookups:!0});return{prefix:r.prefix||zt(),iconName:Rt(r.prefix,r.iconName)||r.iconName}}if("string"===typeof t){var i=zt();return{prefix:i,iconName:Rt(i,t)||t}}}},library:Xt,findIconDefinition:Qt,toHtml:vt},Jt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot,n=void 0===e?_:e;(Object.keys(dt.styles).length>0||$.autoFetchSvg)&&k&&$.autoReplaceSvg&&Gt.dom.i2svg({node:n})};function te(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return vt(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(k){var e=_.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function ee(t){var e=t.icons,n=e.main,r=e.mask,a=t.prefix,o=t.iconName,s=t.transform,u=t.symbol,l=t.title,c=t.maskId,f=t.titleId,d=t.extra,h=t.watchable,p=void 0!==h&&h,m=r.found?r:n,v=m.width,g=m.height,y="fak"===a,b=[$.replacementClass,o?"".concat($.familyPrefix,"-").concat(o):""].filter((function(t){return-1===d.classes.indexOf(t)})).filter((function(t){return""!==t||!!t})).concat(d.classes).join(" "),_={children:[],attributes:i(i({},d.attributes),{},{"data-prefix":a,"data-icon":o,class:b,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(v," ").concat(g)})},w=y&&!~d.classes.indexOf("fa-fw")?{width:"".concat(v/g*16*.0625,"em")}:{};p&&(_.attributes[M]=""),l&&(_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(f||et())},children:[l]}),delete _.attributes.title);var x=i(i({},_),{},{prefix:a,iconName:o,main:n,mask:r,maskId:c,transform:s,symbol:u,styles:i(i({},w),d.styles)}),k=r.found&&n.found?Kt("generateAbstractMask",x)||{children:[],attributes:{}}:Kt("generateAbstractIcon",x)||{children:[],attributes:{}},O=k.children,C=k.attributes;return x.children=O,x.attributes=C,u?function(t){var e=t.prefix,n=t.iconName,r=t.children,a=t.attributes,o=t.symbol,s=!0===o?"".concat(e,"-").concat($.familyPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:i(i({},a),{},{id:s}),children:r}]}]}(x):function(t){var e=t.children,n=t.main,r=t.mask,a=t.attributes,o=t.styles,s=t.transform;if(ot(s)&&n.found&&!r.found){var u={x:n.width/n.height/2,y:.5};a.style=at(i(i({},o),{},{"transform-origin":"".concat(u.x+s.x/16,"em ").concat(u.y+s.y/16,"em")}))}return[{tag:"svg",attributes:a,children:e}]}(x)}function ne(t){var e=t.content,n=t.width,r=t.height,a=t.transform,o=t.title,s=t.extra,u=t.watchable,l=void 0!==u&&u,c=i(i(i({},s.attributes),o?{title:o}:{}),{},{class:s.classes.join(" ")});l&&(c[M]="");var f=i({},s.styles);ot(a)&&(f.transform=function(t){var e=t.transform,n=t.width,r=void 0===n?16:n,i=t.height,a=void 0===i?16:i,o=t.startCentered,s=void 0!==o&&o,u="";return u+=s&&O?"translate(".concat(e.x/J-r/2,"em, ").concat(e.y/J-a/2,"em) "):s?"translate(calc(-50% + ".concat(e.x/J,"em), calc(-50% + ").concat(e.y/J,"em)) "):"translate(".concat(e.x/J,"em, ").concat(e.y/J,"em) "),u+="scale(".concat(e.size/J*(e.flipX?-1:1),", ").concat(e.size/J*(e.flipY?-1:1),") "),u+"rotate(".concat(e.rotate,"deg) ")}({transform:a,startCentered:!0,width:n,height:r}),f["-webkit-transform"]=f.transform);var d=at(f);d.length>0&&(c.style=d);var h=[];return h.push({tag:"span",attributes:c,children:[e]}),o&&h.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),h}function re(t){var e=t.content,n=t.title,r=t.extra,a=i(i(i({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),o=at(r.styles);o.length>0&&(a.style=o);var s=[];return s.push({tag:"span",attributes:a,children:[e]}),n&&s.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),s}var ie=dt.styles;function ae(t){var e=t[0],n=t[1],r=u(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat($.familyPrefix,"-").concat(V)},children:[{tag:"path",attributes:{class:"".concat($.familyPrefix,"-").concat(Z),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat($.familyPrefix,"-").concat(q),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var oe={found:!1,width:512,height:512};function se(t,e){var n=e;return"fa"===e&&null!==$.styleDefault&&(e=zt()),new Promise((function(r,a){Kt("missingIconAbstract");if("fa"===n){var o=It(t)||{};t=o.iconName||t,e=o.prefix||e}if(t&&e&&ie[e]&&ie[e][t])return r(ae(ie[e][t]));!function(t,e){D||$.showMissingIcons||!t||console.error('Icon with name "'.concat(t,'" and prefix "').concat(e,'" is missing.'))}(t,e),r(i(i({},oe),{},{icon:$.showMissingIcons&&t&&Kt("missingIconAbstract")||{}}))}))}var ue=function(){},le=$.measurePerformance&&x&&x.mark&&x.measure?x:{mark:ue,measure:ue},ce='FA "6.0.0"',fe=function(t){le.mark("".concat(ce," ").concat(t," ends")),le.measure("".concat(ce," ").concat(t),"".concat(ce," ").concat(t," begins"),"".concat(ce," ").concat(t," ends"))},de=function(t){return le.mark("".concat(ce," ").concat(t," begins")),function(){return fe(t)}},he=function(){};function pe(t){return"string"===typeof(t.getAttribute?t.getAttribute(M):null)}function me(t){return _.createElementNS("http://www.w3.org/2000/svg",t)}function ve(t){return _.createElement(t)}function ge(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.ceFn,r=void 0===n?"svg"===t.tag?me:ve:n;if("string"===typeof t)return _.createTextNode(t);var i=r(t.tag);Object.keys(t.attributes||[]).forEach((function(e){i.setAttribute(e,t.attributes[e])}));var a=t.children||[];return a.forEach((function(t){i.appendChild(ge(t,{ceFn:r}))})),i}var ye={replace:function(t){var e=t[0];if(e.parentNode)if(t[1].forEach((function(t){e.parentNode.insertBefore(ge(t),e)})),null===e.getAttribute(M)&&$.keepOriginalSource){var n=_.createComment(function(t){var e=" ".concat(t.outerHTML," ");return"".concat(e,"Font Awesome fontawesome.com ")}(e));e.parentNode.replaceChild(n,e)}else e.remove()},nest:function(t){var e=t[0],n=t[1];if(~rt(e).indexOf($.replacementClass))return ye.replace(t);var r=new RegExp("".concat($.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce((function(t,e){return e===$.replacementClass||e.match(r)?t.toSvg.push(e):t.toNode.push(e),t}),{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?e.removeAttribute("class"):e.setAttribute("class",i.toNode.join(" "))}var a=n.map((function(t){return vt(t)})).join("\n");e.setAttribute(M,""),e.innerHTML=a}};function be(t){t()}function _e(t,e){var n="function"===typeof e?e:he;if(0===t.length)n();else{var r=be;"async"===$.mutateApproach&&(r=b.requestAnimationFrame||be),r((function(){var e=!0===$.autoReplaceSvg?ye.replace:ye[$.autoReplaceSvg]||ye.replace,r=de("mutate");t.map(e),r(),n()}))}}var we=!1;function xe(){we=!0}function ke(){we=!1}var Oe=null;function Ce(t){if(w&&$.observeMutations){var e=t.treeCallback,n=void 0===e?he:e,r=t.nodeCallback,i=void 0===r?he:r,a=t.pseudoElementsCallback,o=void 0===a?he:a,s=t.observeMutationsRoot,u=void 0===s?_:s;Oe=new w((function(t){if(!we){var e=zt();nt(t).forEach((function(t){if("childList"===t.type&&t.addedNodes.length>0&&!pe(t.addedNodes[0])&&($.searchPseudoElements&&o(t.target),n(t.target)),"attributes"===t.type&&t.target.parentNode&&$.searchPseudoElements&&o(t.target.parentNode),"attributes"===t.type&&pe(t.target)&&~W.indexOf(t.attributeName))if("class"===t.attributeName&&function(t){var e=t.getAttribute?t.getAttribute(E):null,n=t.getAttribute?t.getAttribute(T):null;return e&&n}(t.target)){var r=Bt(rt(t.target)),a=r.prefix,s=r.iconName;t.target.setAttribute(E,a||e),s&&t.target.setAttribute(T,s)}else(u=t.target)&&u.classList&&u.classList.contains&&u.classList.contains($.replacementClass)&&i(t.target);var u}))}})),k&&Oe.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Me(t){var e=t.getAttribute("style"),n=[];return e&&(n=e.split(";").reduce((function(t,e){var n=e.split(":"),r=n[0],i=n.slice(1);return r&&i.length>0&&(t[r]=i.join(":").trim()),t}),{})),n}function Se(t){var e,n,r=t.getAttribute("data-prefix"),i=t.getAttribute("data-icon"),a=void 0!==t.innerText?t.innerText.trim():"",o=Bt(rt(t));return o.prefix||(o.prefix=zt()),r&&i&&(o.prefix=r,o.iconName=i),o.iconName&&o.prefix||o.prefix&&a.length>0&&(o.iconName=(e=o.prefix,n=t.innerText,(St[e]||{})[n]||At(o.prefix,bt(t.innerText)))),o}function Ee(t){var e=nt(t.attributes).reduce((function(t,e){return"class"!==t.name&&"style"!==t.name&&(t[e.name]=e.value),t}),{}),n=t.getAttribute("title"),r=t.getAttribute("data-fa-title-id");return $.autoA11y&&(n?e["aria-labelledby"]="".concat($.replacementClass,"-title-").concat(r||et()):(e["aria-hidden"]="true",e.focusable="false")),e}function Te(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Se(t),r=n.iconName,a=n.prefix,o=n.rest,s=Ee(t),u=qt("parseNodeAttributes",{},t),l=e.styleParser?Me(t):[];return i({iconName:r,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:a,transform:tt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:l,attributes:s}},u)}var Pe=dt.styles;function je(t){var e="nest"===$.autoReplaceSvg?Te(t,{styleParser:!1}):Te(t);return~e.extra.classes.indexOf(z)?Kt("generateLayersText",t,e):Kt("generateSvgReplacementMutation",t,e)}function De(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!k)return Promise.resolve();var n=_.documentElement.classList,r=function(t){return n.add("".concat(P,"-").concat(t))},i=function(t){return n.remove("".concat(P,"-").concat(t))},a=$.autoFetchSvg?Object.keys(N):Object.keys(Pe),o=[".".concat(z,":not([").concat(M,"])")].concat(a.map((function(t){return".".concat(t,":not([").concat(M,"])")}))).join(", ");if(0===o.length)return Promise.resolve();var s=[];try{s=nt(t.querySelectorAll(o))}catch(yn){}if(!(s.length>0))return Promise.resolve();r("pending"),i("complete");var u=de("onTree"),l=s.reduce((function(t,e){try{var n=je(e);n&&t.push(n)}catch(yn){D||"MissingIcon"===yn.name&&console.error(yn)}return t}),[]);return new Promise((function(t,n){Promise.all(l).then((function(n){_e(n,(function(){r("active"),r("complete"),i("pending"),"function"===typeof e&&e(),u(),t()}))})).catch((function(t){u(),n(t)}))}))}function Ne(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;je(t).then((function(t){t&&_e([t],e)}))}var Le=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?tt:n,a=e.symbol,o=void 0!==a&&a,s=e.mask,u=void 0===s?null:s,l=e.maskId,c=void 0===l?null:l,f=e.title,d=void 0===f?null:f,h=e.titleId,p=void 0===h?null:h,m=e.classes,v=void 0===m?[]:m,g=e.attributes,y=void 0===g?{}:g,b=e.styles,_=void 0===b?{}:b;if(t){var w=t.prefix,x=t.iconName,k=t.icon;return te(i({type:"icon"},t),(function(){return Zt("beforeDOMElementCreation",{iconDefinition:t,params:e}),$.autoA11y&&(d?y["aria-labelledby"]="".concat($.replacementClass,"-title-").concat(p||et()):(y["aria-hidden"]="true",y.focusable="false")),ee({icons:{main:ae(k),mask:u?ae(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:x,transform:i(i({},tt),r),symbol:o,title:d,maskId:c,titleId:p,extra:{attributes:y,styles:_,classes:v}})}))}},Ae={mixout:function(){return{icon:(t=Le,function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(e||{}).icon?e:Qt(e||{}),a=n.mask;return a&&(a=(a||{}).icon?a:Qt(a||{})),t(r,i(i({},n),{},{mask:a}))})};var t},hooks:function(){return{mutationObserverCallbacks:function(t){return t.treeCallback=De,t.nodeCallback=Ne,t}}},provides:function(t){t.i2svg=function(t){var e=t.node,n=void 0===e?_:e,r=t.callback;return De(n,void 0===r?function(){}:r)},t.generateSvgReplacementMutation=function(t,e){var n=e.iconName,r=e.title,i=e.titleId,a=e.prefix,o=e.transform,s=e.symbol,l=e.mask,c=e.maskId,f=e.extra;return new Promise((function(e,d){Promise.all([se(n,a),l.iconName?se(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(l){var d=u(l,2),h=d[0],p=d[1];e([t,ee({icons:{main:h,mask:p},prefix:a,iconName:n,transform:o,symbol:s,maskId:c,title:r,titleId:i,extra:f,watchable:!0})])})).catch(d)}))},t.generateAbstractIcon=function(t){var e,n=t.children,r=t.attributes,i=t.main,a=t.transform,o=at(t.styles);return o.length>0&&(r.style=o),ot(a)&&(e=Kt("generateAbstractTransformGrouping",{main:i,transform:a,containerWidth:i.width,iconWidth:i.width})),n.push(e||i.icon),{children:n,attributes:r}}}},Re={mixout:function(){return{layer:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.classes,r=void 0===n?[]:n;return te({type:"layer"},(function(){Zt("beforeDOMElementCreation",{assembler:t,params:e});var n=[];return t((function(t){Array.isArray(t)?t.map((function(t){n=n.concat(t.abstract)})):n=n.concat(t.abstract)})),[{tag:"span",attributes:{class:["".concat($.familyPrefix,"-layers")].concat(l(r)).join(" ")},children:n}]}))}}}},Ie={mixout:function(){return{counter:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.title,r=void 0===n?null:n,i=e.classes,a=void 0===i?[]:i,o=e.attributes,s=void 0===o?{}:o,u=e.styles,c=void 0===u?{}:u;return te({type:"counter",content:t},(function(){return Zt("beforeDOMElementCreation",{content:t,params:e}),re({content:t.toString(),title:r,extra:{attributes:s,styles:c,classes:["".concat($.familyPrefix,"-layers-counter")].concat(l(a))}})}))}}}},ze={mixout:function(){return{text:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?tt:n,a=e.title,o=void 0===a?null:a,s=e.classes,u=void 0===s?[]:s,c=e.attributes,f=void 0===c?{}:c,d=e.styles,h=void 0===d?{}:d;return te({type:"text",content:t},(function(){return Zt("beforeDOMElementCreation",{content:t,params:e}),ne({content:t,transform:i(i({},tt),r),title:o,extra:{attributes:f,styles:h,classes:["".concat($.familyPrefix,"-layers-text")].concat(l(u))}})}))}}},provides:function(t){t.generateLayersText=function(t,e){var n=e.title,r=e.transform,i=e.extra,a=null,o=null;if(O){var s=parseInt(getComputedStyle(t).fontSize,10),u=t.getBoundingClientRect();a=u.width/s,o=u.height/s}return $.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,ne({content:t.innerHTML,width:a,height:o,transform:r,title:n,extra:i,watchable:!0})])}}},Fe=new RegExp('"',"ug"),Be=[1105920,1112319];function He(t,e){var n="".concat("data-fa-pseudo-element-pending").concat(e.replace(":","-"));return new Promise((function(r,a){if(null!==t.getAttribute(n))return r();var o=nt(t.children).filter((function(t){return t.getAttribute(S)===e}))[0],s=b.getComputedStyle(t,e),u=s.getPropertyValue("font-family").match(F),l=s.getPropertyValue("font-weight"),c=s.getPropertyValue("content");if(o&&!u)return t.removeChild(o),r();if(u&&"none"!==c&&""!==c){var f=s.getPropertyValue("content"),d=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?L[u[2].toLowerCase()]:B[l],h=function(t){var e=t.replace(Fe,""),n=function(t,e){var n,r=t.length,i=t.charCodeAt(e);return i>=55296&&i<=56319&&r>e+1&&(n=t.charCodeAt(e+1))>=56320&&n<=57343?1024*(i-55296)+n-56320+65536:i}(e,0),r=n>=Be[0]&&n<=Be[1],i=2===e.length&&e[0]===e[1];return{value:bt(i?e[0]:e),isSecondary:r||i}}(f),p=h.value,m=h.isSecondary,v=u[0].startsWith("FontAwesome"),g=At(d,p),y=g;if(v){var w=function(t){var e=Tt[t],n=At("fas",t);return e||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}(p);w.iconName&&w.prefix&&(g=w.iconName,d=w.prefix)}if(!g||m||o&&o.getAttribute(E)===d&&o.getAttribute(T)===y)r();else{t.setAttribute(n,y),o&&t.removeChild(o);var x={iconName:null,title:null,titleId:null,prefix:null,transform:tt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},k=x.extra;k.attributes[S]=e,se(g,d).then((function(a){var o=ee(i(i({},x),{},{icons:{main:a,mask:{prefix:null,iconName:null,rest:[]}},prefix:d,iconName:y,extra:k,watchable:!0})),s=_.createElement("svg");"::before"===e?t.insertBefore(s,t.firstChild):t.appendChild(s),s.outerHTML=o.map((function(t){return vt(t)})).join("\n"),t.removeAttribute(n),r()})).catch(a)}}else r()}))}function Ue(t){return Promise.all([He(t,"::before"),He(t,"::after")])}function We(t){return t.parentNode!==document.head&&!~j.indexOf(t.tagName.toUpperCase())&&!t.getAttribute(S)&&(!t.parentNode||"svg"!==t.parentNode.tagName)}function Ve(t){if(k)return new Promise((function(e,n){var r=nt(t.querySelectorAll("*")).filter(We).map(Ue),i=de("searchPseudoElements");xe(),Promise.all(r).then((function(){i(),ke(),e()})).catch((function(){i(),ke(),n()}))}))}var Ye=!1,qe=function(t){return t.toLowerCase().split(" ").reduce((function(t,e){var n=e.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return t.flipX=!0,t;if(r&&"v"===i)return t.flipY=!0,t;if(i=parseFloat(i),isNaN(i))return t;switch(r){case"grow":t.size=t.size+i;break;case"shrink":t.size=t.size-i;break;case"left":t.x=t.x-i;break;case"right":t.x=t.x+i;break;case"up":t.y=t.y-i;break;case"down":t.y=t.y+i;break;case"rotate":t.rotate=t.rotate+i}return t}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Ze={x:0,y:0,width:"100%",height:"100%"};function Ke(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}!function(t,e){var n=e.mixoutsTo;Ut=t,Wt={},Object.keys(Vt).forEach((function(t){-1===Yt.indexOf(t)&&delete Vt[t]})),Ut.forEach((function(t){var e=t.mixout?t.mixout():{};if(Object.keys(e).forEach((function(t){"function"===typeof e[t]&&(n[t]=e[t]),"object"===a(e[t])&&Object.keys(e[t]).forEach((function(r){n[t]||(n[t]={}),n[t][r]=e[t][r]}))})),t.hooks){var r=t.hooks();Object.keys(r).forEach((function(t){Wt[t]||(Wt[t]=[]),Wt[t].push(r[t])}))}t.provides&&t.provides(Vt)}))}([ct,Ae,Re,Ie,ze,{hooks:function(){return{mutationObserverCallbacks:function(t){return t.pseudoElementsCallback=Ve,t}}},provides:function(t){t.pseudoElements2svg=function(t){var e=t.node,n=void 0===e?_:e;$.searchPseudoElements&&Ve(n)}}},{mixout:function(){return{dom:{unwatch:function(){xe(),Ye=!0}}}},hooks:function(){return{bootstrap:function(){Ce(qt("mutationObserverCallbacks",{}))},noAuto:function(){Oe&&Oe.disconnect()},watch:function(t){var e=t.observeMutationsRoot;Ye?ke():Ce(qt("mutationObserverCallbacks",{observeMutationsRoot:e}))}}}},{mixout:function(){return{parse:{transform:function(t){return qe(t)}}}},hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-transform");return n&&(t.transform=qe(n)),t}}},provides:function(t){t.generateAbstractTransformGrouping=function(t){var e=t.main,n=t.transform,r=t.containerWidth,a=t.iconWidth,o={transform:"translate(".concat(r/2," 256)")},s="translate(".concat(32*n.x,", ").concat(32*n.y,") "),u="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),c={outer:o,inner:{transform:"".concat(s," ").concat(u," ").concat(l)},path:{transform:"translate(".concat(a/2*-1," -256)")}};return{tag:"g",attributes:i({},c.outer),children:[{tag:"g",attributes:i({},c.inner),children:[{tag:e.icon.tag,children:e.icon.children,attributes:i(i({},e.icon.attributes),c.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-mask"),r=n?Bt(n.split(" ").map((function(t){return t.trim()}))):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=zt()),t.mask=r,t.maskId=e.getAttribute("data-fa-mask-id"),t}}},provides:function(t){t.generateAbstractMask=function(t){var e,n=t.children,r=t.attributes,a=t.main,o=t.mask,s=t.maskId,u=t.transform,l=a.width,c=a.icon,f=o.width,d=o.icon,h=function(t){var e=t.transform,n=t.containerWidth,r=t.iconWidth,i={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(32*e.x,", ").concat(32*e.y,") "),o="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),s="rotate(".concat(e.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(a," ").concat(o," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:u,containerWidth:f,iconWidth:l}),p={tag:"rect",attributes:i(i({},Ze),{},{fill:"white"})},m=c.children?{children:c.children.map(Ke)}:{},v={tag:"g",attributes:i({},h.inner),children:[Ke(i({tag:c.tag,attributes:i(i({},c.attributes),h.path)},m))]},g={tag:"g",attributes:i({},h.outer),children:[v]},y="mask-".concat(s||et()),b="clip-".concat(s||et()),_={tag:"mask",attributes:i(i({},Ze),{},{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,g]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(e=d,"g"===e.tag?e.children:[e])},_]};return n.push(w,{tag:"rect",attributes:i({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(y,")")},Ze)}),{children:n,attributes:r}}}},{provides:function(t){var e=!1;b.matchMedia&&(e=b.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var t=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};t.push({tag:"path",attributes:i(i({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var a=i(i({},r),{},{attributeName:"opacity"}),o={tag:"circle",attributes:i(i({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return e||o.children.push({tag:"animate",attributes:i(i({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:i(i({},a),{},{values:"1;0;1;1;0;1;"})}),t.push(o),t.push({tag:"path",attributes:i(i({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:e?[]:[{tag:"animate",attributes:i(i({},a),{},{values:"1;0;0;0;0;1;"})}]}),e||t.push({tag:"path",attributes:i(i({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:i(i({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:t}}}},{hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return t.symbol=r,t}}}}],{mixoutsTo:Gt});var Qe=Gt.parse,Xe=Gt.icon,$e=n(1),Ge=n.n($e),Je=n(2),tn=n.n(Je);function en(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function nn(t){for(var e=1;e=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function sn(t){return function(t){if(Array.isArray(t))return un(t)}(t)||function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return un(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return un(t,e)}(t)||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 un(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0||!Array.isArray(e)&&e?an({},t,e):{}}var mn=["forwardedRef"];function vn(t){var e=t.forwardedRef,n=on(t,mn),r=n.icon,i=n.mask,a=n.symbol,o=n.className,s=n.title,u=n.titleId,l=hn(r),c=pn("classes",[].concat(sn(function(t){var e,n=t.beat,r=t.fade,i=t.flash,a=t.spin,o=t.spinPulse,s=t.spinReverse,u=t.pulse,l=t.fixedWidth,c=t.inverse,f=t.border,d=t.listItem,h=t.flip,p=t.size,m=t.rotation,v=t.pull,g=(an(e={"fa-beat":n,"fa-fade":r,"fa-flash":i,"fa-spin":a,"fa-spin-reverse":s,"fa-spin-pulse":o,"fa-pulse":u,"fa-fw":l,"fa-inverse":c,"fa-border":f,"fa-li":d,"fa-flip-horizontal":"horizontal"===h||"both"===h,"fa-flip-vertical":"vertical"===h||"both"===h},"fa-".concat(p),"undefined"!==typeof p&&null!==p),an(e,"fa-rotate-".concat(m),"undefined"!==typeof m&&null!==m&&0!==m),an(e,"fa-pull-".concat(v),"undefined"!==typeof v&&null!==v),an(e,"fa-swap-opacity",t.swapOpacity),e);return Object.keys(g).map((function(t){return g[t]?t:null})).filter((function(t){return t}))}(n)),sn(o.split(" ")))),f=pn("transform","string"===typeof n.transform?Qe.transform(n.transform):n.transform),d=pn("mask",hn(i)),h=Xe(l,nn(nn(nn(nn({},c),f),d),{},{symbol:a,title:s,titleId:u}));if(!h)return function(){var t;!dn&&console&&"function"===typeof console.error&&(t=console).error.apply(t,arguments)}("Could not find icon",l),null;var p=h.abstract,m={ref:e};return Object.keys(n).forEach((function(t){vn.defaultProps.hasOwnProperty(t)||(m[t]=n[t])})),gn(p[0],m)}vn.displayName="FontAwesomeIcon",vn.propTypes={beat:Ge.a.bool,border:Ge.a.bool,className:Ge.a.string,fade:Ge.a.bool,flash:Ge.a.bool,mask:Ge.a.oneOfType([Ge.a.object,Ge.a.array,Ge.a.string]),fixedWidth:Ge.a.bool,inverse:Ge.a.bool,flip:Ge.a.oneOf(["horizontal","vertical","both"]),icon:Ge.a.oneOfType([Ge.a.object,Ge.a.array,Ge.a.string]),listItem:Ge.a.bool,pull:Ge.a.oneOf(["right","left"]),pulse:Ge.a.bool,rotation:Ge.a.oneOf([0,90,180,270]),size:Ge.a.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Ge.a.bool,spinPulse:Ge.a.bool,spinReverse:Ge.a.bool,symbol:Ge.a.oneOfType([Ge.a.bool,Ge.a.string]),title:Ge.a.string,transform:Ge.a.oneOfType([Ge.a.string,Ge.a.object]),swapOpacity:Ge.a.bool},vn.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 gn=function t(e,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 t(e,n)})),a=Object.keys(n.attributes||{}).reduce((function(t,e){var r=n.attributes[e];switch(e){case"class":t.attrs.className=r,delete n.attributes.class;break;case"style":t.attrs.style=fn(r);break;default:0===e.indexOf("aria-")||0===e.indexOf("data-")?t.attrs[e.toLowerCase()]=r:t.attrs[ln(e)]=r}return t}),{attrs:{}}),o=r.style,s=void 0===o?{}:o,u=on(r,cn);return a.attrs.style=nn(nn({},a.attrs.style),s),e.apply(void 0,[n.tag,nn(nn({},a.attrs),u)].concat(sn(i)))}.bind(null,tn.a.createElement)},function(t,e,n){"use strict";n.d(e,"K",(function(){return i})),n.d(e,"a",(function(){return a})),n.d(e,"S",(function(){return s})),n.d(e,"L",(function(){return l})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return f})),n.d(e,"d",(function(){return h})),n.d(e,"e",(function(){return p})),n.d(e,"f",(function(){return m})),n.d(e,"g",(function(){return v})),n.d(e,"h",(function(){return g})),n.d(e,"i",(function(){return y})),n.d(e,"j",(function(){return b})),n.d(e,"m",(function(){return w})),n.d(e,"v",(function(){return k})),n.d(e,"z",(function(){return C})),n.d(e,"k",(function(){return M})),n.d(e,"o",(function(){return E})),n.d(e,"q",(function(){return T})),n.d(e,"r",(function(){return j})),n.d(e,"s",(function(){return N})),n.d(e,"l",(function(){return A})),n.d(e,"t",(function(){return R})),n.d(e,"u",(function(){return z})),n.d(e,"w",(function(){return F})),n.d(e,"x",(function(){return B})),n.d(e,"I",(function(){return U})),n.d(e,"y",(function(){return V})),n.d(e,"A",(function(){return Y})),n.d(e,"B",(function(){return q})),n.d(e,"C",(function(){return Z})),n.d(e,"n",(function(){return Q})),n.d(e,"D",(function(){return $})),n.d(e,"E",(function(){return G})),n.d(e,"F",(function(){return J})),n.d(e,"G",(function(){return tt})),n.d(e,"H",(function(){return et})),n.d(e,"N",(function(){return rt})),n.d(e,"J",(function(){return it})),n.d(e,"M",(function(){return at})),n.d(e,"P",(function(){return st})),n.d(e,"O",(function(){return ut})),n.d(e,"R",(function(){return lt})),n.d(e,"p",(function(){return ft})),n.d(e,"Q",(function(){return ht}));var r={prefix:"fas",iconName:"arrow-down-wide-short",icon:[576,512,["sort-amount-asc","sort-amount-down"],"f160","M416 288h-95.1c-17.67 0-32 14.33-32 32s14.33 32 32 32H416c17.67 0 32-14.33 32-32S433.7 288 416 288zM544 32h-223.1c-17.67 0-32 14.33-32 32s14.33 32 32 32H544c17.67 0 32-14.33 32-32S561.7 32 544 32zM352 416h-32c-17.67 0-32 14.33-32 32s14.33 32 32 32h32c17.67 0 31.1-14.33 31.1-32S369.7 416 352 416zM480 160h-159.1c-17.67 0-32 14.33-32 32s14.33 32 32 32H480c17.67 0 32-14.33 32-32S497.7 160 480 160zM192.4 330.7L160 366.1V64.03C160 46.33 145.7 32 128 32S96 46.33 96 64.03v302L63.6 330.7c-6.312-6.883-14.94-10.38-23.61-10.38c-7.719 0-15.47 2.781-21.61 8.414c-13.03 11.95-13.9 32.22-1.969 45.27l87.1 96.09c12.12 13.26 35.06 13.26 47.19 0l87.1-96.09c11.94-13.05 11.06-33.31-1.969-45.27C224.6 316.8 204.4 317.7 192.4 330.7z"]},i=r,a={prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M447.1 256C447.1 273.7 433.7 288 416 288H109.3l105.4 105.4c12.5 12.5 12.5 32.75 0 45.25C208.4 444.9 200.2 448 192 448s-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25l160-160c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25L109.3 224H416C433.7 224 447.1 238.3 447.1 256z"]},o={prefix:"fas",iconName:"arrow-rotate-left",icon:[512,512,[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],"f0e2","M480 256c0 123.4-100.5 223.9-223.9 223.9c-48.86 0-95.19-15.58-134.2-44.86c-14.14-10.59-17-30.66-6.391-44.81c10.61-14.09 30.69-16.97 44.8-6.375c27.84 20.91 61 31.94 95.89 31.94C344.3 415.8 416 344.1 416 256s-71.67-159.8-159.8-159.8C205.9 96.22 158.6 120.3 128.6 160H192c17.67 0 32 14.31 32 32S209.7 224 192 224H48c-17.67 0-32-14.31-32-32V48c0-17.69 14.33-32 32-32s32 14.31 32 32v70.23C122.1 64.58 186.1 32.11 256.1 32.11C379.5 32.11 480 132.6 480 256z"]},s=o,u={prefix:"fas",iconName:"arrow-up-wide-short",icon:[576,512,["sort-amount-up"],"f161","M416 288h-95.1c-17.67 0-32 14.33-32 32s14.33 32 32 32H416c17.67 0 32-14.33 32-32S433.7 288 416 288zM352 416h-32c-17.67 0-32 14.33-32 32s14.33 32 32 32h32c17.67 0 31.1-14.33 31.1-32S369.7 416 352 416zM480 160h-159.1c-17.67 0-32 14.33-32 32s14.33 32 32 32H480c17.67 0 32-14.33 32-32S497.7 160 480 160zM544 32h-223.1c-17.67 0-32 14.33-32 32s14.33 32 32 32H544c17.67 0 32-14.33 32-32S561.7 32 544 32zM151.6 41.95c-12.12-13.26-35.06-13.26-47.19 0l-87.1 96.09C4.475 151.1 5.35 171.4 18.38 183.3c6.141 5.629 13.89 8.414 21.61 8.414c8.672 0 17.3-3.504 23.61-10.39L96 145.9v302C96 465.7 110.3 480 128 480s32-14.33 32-32.03V145.9L192.4 181.3C204.4 194.3 224.6 195.3 237.6 183.3c13.03-11.95 13.9-32.22 1.969-45.27L151.6 41.95z"]},l=u,c={prefix:"fas",iconName:"ban",icon:[512,512,[128683,"cancel"],"f05e","M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM99.5 144.8C77.15 176.1 64 214.5 64 256C64 362 149.1 448 256 448C297.5 448 335.9 434.9 367.2 412.5L99.5 144.8zM448 256C448 149.1 362 64 256 64C214.5 64 176.1 77.15 144.8 99.5L412.5 367.2C434.9 335.9 448 297.5 448 256V256z"]},f={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.33 14.33 64 32 64H416C433.7 64 448 78.33 448 96C448 113.7 433.7 128 416 128H32C14.33 128 0 113.7 0 96zM0 256C0 238.3 14.33 224 32 224H416C433.7 224 448 238.3 448 256C448 273.7 433.7 288 416 288H32C14.33 288 0 273.7 0 256zM416 448H32C14.33 448 0 433.7 0 416C0 398.3 14.33 384 32 384H416C433.7 384 448 398.3 448 416C448 433.7 433.7 448 416 448z"]},d={prefix:"fas",iconName:"calendar-days",icon:[448,512,["calendar-alt"],"f073","M160 32V64H288V32C288 14.33 302.3 0 320 0C337.7 0 352 14.33 352 32V64H400C426.5 64 448 85.49 448 112V160H0V112C0 85.49 21.49 64 48 64H96V32C96 14.33 110.3 0 128 0C145.7 0 160 14.33 160 32zM0 192H448V464C448 490.5 426.5 512 400 512H48C21.49 512 0 490.5 0 464V192zM64 304C64 312.8 71.16 320 80 320H112C120.8 320 128 312.8 128 304V272C128 263.2 120.8 256 112 256H80C71.16 256 64 263.2 64 272V304zM192 304C192 312.8 199.2 320 208 320H240C248.8 320 256 312.8 256 304V272C256 263.2 248.8 256 240 256H208C199.2 256 192 263.2 192 272V304zM336 256C327.2 256 320 263.2 320 272V304C320 312.8 327.2 320 336 320H368C376.8 320 384 312.8 384 304V272C384 263.2 376.8 256 368 256H336zM64 432C64 440.8 71.16 448 80 448H112C120.8 448 128 440.8 128 432V400C128 391.2 120.8 384 112 384H80C71.16 384 64 391.2 64 400V432zM208 384C199.2 384 192 391.2 192 400V432C192 440.8 199.2 448 208 448H240C248.8 448 256 440.8 256 432V400C256 391.2 248.8 384 240 384H208zM320 432C320 440.8 327.2 448 336 448H368C376.8 448 384 440.8 384 432V400C384 391.2 376.8 384 368 384H336C327.2 384 320 391.2 320 400V432z"]},h=d,p={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M310.6 246.6l-127.1 128C176.4 380.9 168.2 384 160 384s-16.38-3.125-22.63-9.375l-127.1-128C.2244 237.5-2.516 223.7 2.438 211.8S19.07 192 32 192h255.1c12.94 0 24.62 7.781 29.58 19.75S319.8 237.5 310.6 246.6z"]},m={prefix:"fas",iconName:"caret-up",icon:[320,512,[],"f0d8","M9.39 265.4l127.1-128C143.6 131.1 151.8 128 160 128s16.38 3.125 22.63 9.375l127.1 128c9.156 9.156 11.9 22.91 6.943 34.88S300.9 320 287.1 320H32.01c-12.94 0-24.62-7.781-29.58-19.75S.2333 274.5 9.39 265.4z"]},v={prefix:"fas",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M304 16.58C304 7.555 310.1 0 320 0C443.7 0 544 100.3 544 224C544 233 536.4 240 527.4 240H304V16.58zM32 272C32 150.7 122.1 50.34 238.1 34.25C248.2 32.99 256 40.36 256 49.61V288L412.5 444.5C419.2 451.2 418.7 462.2 411 467.7C371.8 495.6 323.8 512 272 512C139.5 512 32 404.6 32 272zM558.4 288C567.6 288 575 295.8 573.8 305C566.1 360.9 539.1 410.6 499.9 447.3C493.9 452.1 484.5 452.5 478.7 446.7L320 288H558.4z"]},g={prefix:"fas",iconName:"check",icon:[448,512,[10004,10003],"f00c","M438.6 105.4C451.1 117.9 451.1 138.1 438.6 150.6L182.6 406.6C170.1 419.1 149.9 419.1 137.4 406.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4C21.87 220.9 42.13 220.9 54.63 233.4L159.1 338.7L393.4 105.4C405.9 92.88 426.1 92.88 438.6 105.4H438.6z"]},y={prefix:"fas",iconName:"chevron-down",icon:[448,512,[],"f078","M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z"]},b={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M96 480c-8.188 0-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L242.8 256L73.38 86.63c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l192 192c12.5 12.5 12.5 32.75 0 45.25l-192 192C112.4 476.9 104.2 480 96 480z"]},_={prefix:"fas",iconName:"circle-dot",icon:[512,512,[128280,"dot-circle"],"f192","M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 352C309 352 352 309 352 256C352 202.1 309 160 256 160C202.1 160 160 202.1 160 256C160 309 202.1 352 256 352z"]},w=_,x={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 128c17.67 0 32 14.33 32 32c0 17.67-14.33 32-32 32S224 177.7 224 160C224 142.3 238.3 128 256 128zM296 384h-80C202.8 384 192 373.3 192 360s10.75-24 24-24h16v-64H224c-13.25 0-24-10.75-24-24S210.8 224 224 224h32c13.25 0 24 10.75 24 24v88h16c13.25 0 24 10.75 24 24S309.3 384 296 384z"]},k=x,O={prefix:"fas",iconName:"circle-minus",icon:[512,512,["minus-circle"],"f056","M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM168 232C154.7 232 144 242.7 144 256C144 269.3 154.7 280 168 280H344C357.3 280 368 269.3 368 256C368 242.7 357.3 232 344 232H168z"]},C=O,M={prefix:"fas",iconName:"circle-notch",icon:[512,512,[],"f1ce","M222.7 32.15C227.7 49.08 218.1 66.9 201.1 71.94C121.8 95.55 64 169.1 64 255.1C64 362 149.1 447.1 256 447.1C362 447.1 448 362 448 255.1C448 169.1 390.2 95.55 310.9 71.94C293.9 66.9 284.3 49.08 289.3 32.15C294.4 15.21 312.2 5.562 329.1 10.6C434.9 42.07 512 139.1 512 255.1C512 397.4 397.4 511.1 256 511.1C114.6 511.1 0 397.4 0 255.1C0 139.1 77.15 42.07 182.9 10.6C199.8 5.562 217.6 15.21 222.7 32.15V32.15z"]},S={prefix:"fas",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 360C94.93 360 120 385.1 120 416C120 446.9 94.93 472 64 472C33.07 472 8 446.9 8 416C8 385.1 33.07 360 64 360zM64 200C94.93 200 120 225.1 120 256C120 286.9 94.93 312 64 312C33.07 312 8 286.9 8 256C8 225.1 33.07 200 64 200zM64 152C33.07 152 8 126.9 8 96C8 65.07 33.07 40 64 40C94.93 40 120 65.07 120 96C120 126.9 94.93 152 64 152z"]},E=S,T={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M279.6 160.4C282.4 160.1 285.2 160 288 160C341 160 384 202.1 384 256C384 309 341 352 288 352C234.1 352 192 309 192 256C192 253.2 192.1 250.4 192.4 247.6C201.7 252.1 212.5 256 224 256C259.3 256 288 227.3 288 192C288 180.5 284.1 169.7 279.6 160.4zM480.6 112.6C527.4 156 558.7 207.1 573.5 243.7C576.8 251.6 576.8 260.4 573.5 268.3C558.7 304 527.4 355.1 480.6 399.4C433.5 443.2 368.8 480 288 480C207.2 480 142.5 443.2 95.42 399.4C48.62 355.1 17.34 304 2.461 268.3C-.8205 260.4-.8205 251.6 2.461 243.7C17.34 207.1 48.62 156 95.42 112.6C142.5 68.84 207.2 32 288 32C368.8 32 433.5 68.84 480.6 112.6V112.6zM288 112C208.5 112 144 176.5 144 256C144 335.5 208.5 400 288 400C367.5 400 432 335.5 432 256C432 176.5 367.5 112 288 112z"]},P={prefix:"fas",iconName:"file-arrow-down",icon:[384,512,["file-download"],"f56d","M384 128h-128V0L384 128zM256 160H384v304c0 26.51-21.49 48-48 48h-288C21.49 512 0 490.5 0 464v-416C0 21.49 21.49 0 48 0H224l.0039 128C224 145.7 238.3 160 256 160zM255 295L216 334.1V232c0-13.25-10.75-24-24-24S168 218.8 168 232v102.1L128.1 295C124.3 290.3 118.2 288 112 288S99.72 290.3 95.03 295c-9.375 9.375-9.375 24.56 0 33.94l80 80c9.375 9.375 24.56 9.375 33.94 0l80-80c9.375-9.375 9.375-24.56 0-33.94S264.4 285.7 255 295z"]},j=P,D={prefix:"fas",iconName:"file-arrow-up",icon:[384,512,["file-upload"],"f574","M256 0v128h128L256 0zM224 128L224 0H48C21.49 0 0 21.49 0 48v416C0 490.5 21.49 512 48 512h288c26.51 0 48-21.49 48-48V160h-127.1C238.3 160 224 145.7 224 128zM288.1 344.1C284.3 349.7 278.2 352 272 352s-12.28-2.344-16.97-7.031L216 305.9V408c0 13.25-10.75 24-24 24s-24-10.75-24-24V305.9l-39.03 39.03c-9.375 9.375-24.56 9.375-33.94 0s-9.375-24.56 0-33.94l80-80c9.375-9.375 24.56-9.375 33.94 0l80 80C298.3 320.4 298.3 335.6 288.1 344.1z"]},N=D,L={prefix:"fas",iconName:"gears",icon:[640,512,["cogs"],"f085","M286.3 155.1C287.4 161.9 288 168.9 288 175.1C288 183.1 287.4 190.1 286.3 196.9L308.5 216.7C315.5 223 318.4 232.1 314.7 241.7C312.4 246.1 309.9 252.2 307.1 257.2L304 262.6C300.1 267.6 297.7 272.4 294.2 277.1C288.5 284.7 278.5 287.2 269.5 284.2L241.2 274.9C230.5 283.8 218.3 290.9 205 295.9L198.1 324.9C197 334.2 189.8 341.6 180.4 342.8C173.7 343.6 166.9 344 160 344C153.1 344 146.3 343.6 139.6 342.8C130.2 341.6 122.1 334.2 121 324.9L114.1 295.9C101.7 290.9 89.5 283.8 78.75 274.9L50.53 284.2C41.54 287.2 31.52 284.7 25.82 277.1C22.28 272.4 18.98 267.5 15.94 262.5L12.92 257.2C10.13 252.2 7.592 247 5.324 241.7C1.62 232.1 4.458 223 11.52 216.7L33.7 196.9C32.58 190.1 31.1 183.1 31.1 175.1C31.1 168.9 32.58 161.9 33.7 155.1L11.52 135.3C4.458 128.1 1.62 119 5.324 110.3C7.592 104.1 10.13 99.79 12.91 94.76L15.95 89.51C18.98 84.46 22.28 79.58 25.82 74.89C31.52 67.34 41.54 64.83 50.53 67.79L78.75 77.09C89.5 68.25 101.7 61.13 114.1 56.15L121 27.08C122.1 17.8 130.2 10.37 139.6 9.231C146.3 8.418 153.1 8 160 8C166.9 8 173.7 8.418 180.4 9.23C189.8 10.37 197 17.8 198.1 27.08L205 56.15C218.3 61.13 230.5 68.25 241.2 77.09L269.5 67.79C278.5 64.83 288.5 67.34 294.2 74.89C297.7 79.56 300.1 84.42 304 89.44L307.1 94.83C309.9 99.84 312.4 105 314.7 110.3C318.4 119 315.5 128.1 308.5 135.3L286.3 155.1zM160 127.1C133.5 127.1 112 149.5 112 175.1C112 202.5 133.5 223.1 160 223.1C186.5 223.1 208 202.5 208 175.1C208 149.5 186.5 127.1 160 127.1zM484.9 478.3C478.1 479.4 471.1 480 464 480C456.9 480 449.9 479.4 443.1 478.3L423.3 500.5C416.1 507.5 407 510.4 398.3 506.7C393 504.4 387.8 501.9 382.8 499.1L377.4 496C372.4 492.1 367.6 489.7 362.9 486.2C355.3 480.5 352.8 470.5 355.8 461.5L365.1 433.2C356.2 422.5 349.1 410.3 344.1 397L315.1 390.1C305.8 389 298.4 381.8 297.2 372.4C296.4 365.7 296 358.9 296 352C296 345.1 296.4 338.3 297.2 331.6C298.4 322.2 305.8 314.1 315.1 313L344.1 306.1C349.1 293.7 356.2 281.5 365.1 270.8L355.8 242.5C352.8 233.5 355.3 223.5 362.9 217.8C367.6 214.3 372.5 210.1 377.5 207.9L382.8 204.9C387.8 202.1 392.1 199.6 398.3 197.3C407 193.6 416.1 196.5 423.3 203.5L443.1 225.7C449.9 224.6 456.9 224 464 224C471.1 224 478.1 224.6 484.9 225.7L504.7 203.5C511 196.5 520.1 193.6 529.7 197.3C535 199.6 540.2 202.1 545.2 204.9L550.5 207.9C555.5 210.1 560.4 214.3 565.1 217.8C572.7 223.5 575.2 233.5 572.2 242.5L562.9 270.8C571.8 281.5 578.9 293.7 583.9 306.1L612.9 313C622.2 314.1 629.6 322.2 630.8 331.6C631.6 338.3 632 345.1 632 352C632 358.9 631.6 365.7 630.8 372.4C629.6 381.8 622.2 389 612.9 390.1L583.9 397C578.9 410.3 571.8 422.5 562.9 433.2L572.2 461.5C575.2 470.5 572.7 480.5 565.1 486.2C560.4 489.7 555.6 492.1 550.6 496L545.2 499.1C540.2 501.9 534.1 504.4 529.7 506.7C520.1 510.4 511 507.5 504.7 500.5L484.9 478.3zM512 352C512 325.5 490.5 304 464 304C437.5 304 416 325.5 416 352C416 378.5 437.5 400 464 400C490.5 400 512 378.5 512 352z"]},A=L,R={prefix:"fas",iconName:"globe",icon:[512,512,[127760],"f0ac","M352 256C352 278.2 350.8 299.6 348.7 320H163.3C161.2 299.6 159.1 278.2 159.1 256C159.1 233.8 161.2 212.4 163.3 192H348.7C350.8 212.4 352 233.8 352 256zM503.9 192C509.2 212.5 512 233.9 512 256C512 278.1 509.2 299.5 503.9 320H380.8C382.9 299.4 384 277.1 384 256C384 234 382.9 212.6 380.8 192H503.9zM493.4 160H376.7C366.7 96.14 346.9 42.62 321.4 8.442C399.8 29.09 463.4 85.94 493.4 160zM344.3 160H167.7C173.8 123.6 183.2 91.38 194.7 65.35C205.2 41.74 216.9 24.61 228.2 13.81C239.4 3.178 248.7 0 256 0C263.3 0 272.6 3.178 283.8 13.81C295.1 24.61 306.8 41.74 317.3 65.35C328.8 91.38 338.2 123.6 344.3 160H344.3zM18.61 160C48.59 85.94 112.2 29.09 190.6 8.442C165.1 42.62 145.3 96.14 135.3 160H18.61zM131.2 192C129.1 212.6 127.1 234 127.1 256C127.1 277.1 129.1 299.4 131.2 320H8.065C2.8 299.5 0 278.1 0 256C0 233.9 2.8 212.5 8.065 192H131.2zM194.7 446.6C183.2 420.6 173.8 388.4 167.7 352H344.3C338.2 388.4 328.8 420.6 317.3 446.6C306.8 470.3 295.1 487.4 283.8 498.2C272.6 508.8 263.3 512 255.1 512C248.7 512 239.4 508.8 228.2 498.2C216.9 487.4 205.2 470.3 194.7 446.6H194.7zM190.6 503.6C112.2 482.9 48.59 426.1 18.61 352H135.3C145.3 415.9 165.1 469.4 190.6 503.6V503.6zM321.4 503.6C346.9 469.4 366.7 415.9 376.7 352H493.4C463.4 426.1 399.8 482.9 321.4 503.6V503.6z"]},I={prefix:"fas",iconName:"house",icon:[576,512,[63498,63500,127968,"home","home-alt","home-lg-alt"],"f015","M575.8 255.5C575.8 273.5 560.8 287.6 543.8 287.6H511.8L512.5 447.7C512.5 450.5 512.3 453.1 512 455.8V472C512 494.1 494.1 512 472 512H456C454.9 512 453.8 511.1 452.7 511.9C451.3 511.1 449.9 512 448.5 512H392C369.9 512 352 494.1 352 472V384C352 366.3 337.7 352 320 352H256C238.3 352 224 366.3 224 384V472C224 494.1 206.1 512 184 512H128.1C126.6 512 125.1 511.9 123.6 511.8C122.4 511.9 121.2 512 120 512H104C81.91 512 64 494.1 64 472V360C64 359.1 64.03 358.1 64.09 357.2V287.6H32.05C14.02 287.6 0 273.5 0 255.5C0 246.5 3.004 238.5 10.01 231.5L266.4 8.016C273.4 1.002 281.4 0 288.4 0C295.4 0 303.4 2.004 309.5 7.014L564.8 231.5C572.8 238.5 576.9 246.5 575.8 255.5L575.8 255.5z"]},z=I,F={prefix:"fas",iconName:"link",icon:[640,512,[128279,"chain"],"f0c1","M172.5 131.1C228.1 75.51 320.5 75.51 376.1 131.1C426.1 181.1 433.5 260.8 392.4 318.3L391.3 319.9C381 334.2 361 337.6 346.7 327.3C332.3 317 328.9 297 339.2 282.7L340.3 281.1C363.2 249 359.6 205.1 331.7 177.2C300.3 145.8 249.2 145.8 217.7 177.2L105.5 289.5C73.99 320.1 73.99 372 105.5 403.5C133.3 431.4 177.3 435 209.3 412.1L210.9 410.1C225.3 400.7 245.3 404 255.5 418.4C265.8 432.8 262.5 452.8 248.1 463.1L246.5 464.2C188.1 505.3 110.2 498.7 60.21 448.8C3.741 392.3 3.741 300.7 60.21 244.3L172.5 131.1zM467.5 380C411 436.5 319.5 436.5 263 380C213 330 206.5 251.2 247.6 193.7L248.7 192.1C258.1 177.8 278.1 174.4 293.3 184.7C307.7 194.1 311.1 214.1 300.8 229.3L299.7 230.9C276.8 262.1 280.4 306.9 308.3 334.8C339.7 366.2 390.8 366.2 422.3 334.8L534.5 222.5C566 191 566 139.1 534.5 108.5C506.7 80.63 462.7 76.99 430.7 99.9L429.1 101C414.7 111.3 394.7 107.1 384.5 93.58C374.2 79.2 377.5 59.21 391.9 48.94L393.5 47.82C451 6.731 529.8 13.25 579.8 63.24C636.3 119.7 636.3 211.3 579.8 267.7L467.5 380z"]},B={prefix:"fas",iconName:"list",icon:[512,512,["list-squares"],"f03a","M88 48C101.3 48 112 58.75 112 72V120C112 133.3 101.3 144 88 144H40C26.75 144 16 133.3 16 120V72C16 58.75 26.75 48 40 48H88zM480 64C497.7 64 512 78.33 512 96C512 113.7 497.7 128 480 128H192C174.3 128 160 113.7 160 96C160 78.33 174.3 64 192 64H480zM480 224C497.7 224 512 238.3 512 256C512 273.7 497.7 288 480 288H192C174.3 288 160 273.7 160 256C160 238.3 174.3 224 192 224H480zM480 384C497.7 384 512 398.3 512 416C512 433.7 497.7 448 480 448H192C174.3 448 160 433.7 160 416C160 398.3 174.3 384 192 384H480zM16 232C16 218.7 26.75 208 40 208H88C101.3 208 112 218.7 112 232V280C112 293.3 101.3 304 88 304H40C26.75 304 16 293.3 16 280V232zM88 368C101.3 368 112 378.7 112 392V440C112 453.3 101.3 464 88 464H40C26.75 464 16 453.3 16 440V392C16 378.7 26.75 368 40 368H88z"]},H={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M500.3 443.7l-119.7-119.7c27.22-40.41 40.65-90.9 33.46-144.7C401.8 87.79 326.8 13.32 235.2 1.723C99.01-15.51-15.51 99.01 1.724 235.2c11.6 91.64 86.08 166.7 177.6 178.9c53.8 7.189 104.3-6.236 144.7-33.46l119.7 119.7c15.62 15.62 40.95 15.62 56.57 0C515.9 484.7 515.9 459.3 500.3 443.7zM79.1 208c0-70.58 57.42-128 128-128s128 57.42 128 128c0 70.58-57.42 128-128 128S79.1 278.6 79.1 208z"]},U=H,W={prefix:"fas",iconName:"map-location-dot",icon:[576,512,["map-marked-alt"],"f5a0","M408 120C408 174.6 334.9 271.9 302.8 311.1C295.1 321.6 280.9 321.6 273.2 311.1C241.1 271.9 168 174.6 168 120C168 53.73 221.7 0 288 0C354.3 0 408 53.73 408 120zM288 152C310.1 152 328 134.1 328 112C328 89.91 310.1 72 288 72C265.9 72 248 89.91 248 112C248 134.1 265.9 152 288 152zM425.6 179.8C426.1 178.6 426.6 177.4 427.1 176.1L543.1 129.7C558.9 123.4 576 135 576 152V422.8C576 432.6 570 441.4 560.9 445.1L416 503V200.4C419.5 193.5 422.7 186.7 425.6 179.8zM150.4 179.8C153.3 186.7 156.5 193.5 160 200.4V451.8L32.91 502.7C17.15 508.1 0 497.4 0 480.4V209.6C0 199.8 5.975 190.1 15.09 187.3L137.6 138.3C140 152.5 144.9 166.6 150.4 179.8H150.4zM327.8 331.1C341.7 314.6 363.5 286.3 384 255V504.3L192 449.4V255C212.5 286.3 234.3 314.6 248.2 331.1C268.7 357.6 307.3 357.6 327.8 331.1L327.8 331.1z"]},V=W,Y={prefix:"fas",iconName:"moon",icon:[512,512,[127769,9214],"f186","M32 256c0-123.8 100.3-224 223.8-224c11.36 0 29.7 1.668 40.9 3.746c9.616 1.777 11.75 14.63 3.279 19.44C245 86.5 211.2 144.6 211.2 207.8c0 109.7 99.71 193 208.3 172.3c9.561-1.805 16.28 9.324 10.11 16.95C387.9 448.6 324.8 480 255.8 480C132.1 480 32 379.6 32 256z"]},q={prefix:"fas",iconName:"palette",icon:[512,512,[127912],"f53f","M512 255.1C512 256.9 511.1 257.8 511.1 258.7C511.6 295.2 478.4 319.1 441.9 319.1H344C317.5 319.1 296 341.5 296 368C296 371.4 296.4 374.7 297 377.9C299.2 388.1 303.5 397.1 307.9 407.8C313.9 421.6 320 435.3 320 449.8C320 481.7 298.4 510.5 266.6 511.8C263.1 511.9 259.5 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256V255.1zM96 255.1C78.33 255.1 64 270.3 64 287.1C64 305.7 78.33 319.1 96 319.1C113.7 319.1 128 305.7 128 287.1C128 270.3 113.7 255.1 96 255.1zM128 191.1C145.7 191.1 160 177.7 160 159.1C160 142.3 145.7 127.1 128 127.1C110.3 127.1 96 142.3 96 159.1C96 177.7 110.3 191.1 128 191.1zM256 63.1C238.3 63.1 224 78.33 224 95.1C224 113.7 238.3 127.1 256 127.1C273.7 127.1 288 113.7 288 95.1C288 78.33 273.7 63.1 256 63.1zM384 191.1C401.7 191.1 416 177.7 416 159.1C416 142.3 401.7 127.1 384 127.1C366.3 127.1 352 142.3 352 159.1C352 177.7 366.3 191.1 384 191.1z"]},Z={prefix:"fas",iconName:"pen",icon:[512,512,[128394],"f304","M362.7 19.32C387.7-5.678 428.3-5.678 453.3 19.32L492.7 58.75C517.7 83.74 517.7 124.3 492.7 149.3L444.3 197.7L314.3 67.72L362.7 19.32zM421.7 220.3L188.5 453.4C178.1 463.8 165.2 471.5 151.1 475.6L30.77 511C22.35 513.5 13.24 511.2 7.03 504.1C.8198 498.8-1.502 489.7 .976 481.2L36.37 360.9C40.53 346.8 48.16 333.9 58.57 323.5L291.7 90.34L421.7 220.3z"]},K={prefix:"fas",iconName:"pen-to-square",icon:[512,512,["edit"],"f044","M490.3 40.4C512.2 62.27 512.2 97.73 490.3 119.6L460.3 149.7L362.3 51.72L392.4 21.66C414.3-.2135 449.7-.2135 471.6 21.66L490.3 40.4zM172.4 241.7L339.7 74.34L437.7 172.3L270.3 339.6C264.2 345.8 256.7 350.4 248.4 353.2L159.6 382.8C150.1 385.6 141.5 383.4 135 376.1C128.6 370.5 126.4 361 129.2 352.4L158.8 263.6C161.6 255.3 166.2 247.8 172.4 241.7V241.7zM192 63.1C209.7 63.1 224 78.33 224 95.1C224 113.7 209.7 127.1 192 127.1H96C78.33 127.1 64 142.3 64 159.1V416C64 433.7 78.33 448 96 448H352C369.7 448 384 433.7 384 416V319.1C384 302.3 398.3 287.1 416 287.1C433.7 287.1 448 302.3 448 319.1V416C448 469 405 512 352 512H96C42.98 512 0 469 0 416V159.1C0 106.1 42.98 63.1 96 63.1H192z"]},Q=K,X={prefix:"fas",iconName:"pencil",icon:[512,512,[61504,9999,"pencil-alt"],"f303","M421.7 220.3L188.5 453.4L154.6 419.5L158.1 416H112C103.2 416 96 408.8 96 400V353.9L92.51 357.4C87.78 362.2 84.31 368 82.42 374.4L59.44 452.6L137.6 429.6C143.1 427.7 149.8 424.2 154.6 419.5L188.5 453.4C178.1 463.8 165.2 471.5 151.1 475.6L30.77 511C22.35 513.5 13.24 511.2 7.03 504.1C.8198 498.8-1.502 489.7 .976 481.2L36.37 360.9C40.53 346.8 48.16 333.9 58.57 323.5L291.7 90.34L421.7 220.3zM492.7 58.75C517.7 83.74 517.7 124.3 492.7 149.3L444.3 197.7L314.3 67.72L362.7 19.32C387.7-5.678 428.3-5.678 453.3 19.32L492.7 58.75z"]},$=X,G={prefix:"fas",iconName:"plug",icon:[384,512,[128268],"f1e6","M320 32c0-17.62-14.38-32-32-32s-32 14.38-32 32v96h64V32zM368 159.1h-352c-8.875 0-16 7.125-16 16v32c0 8.875 7.125 16 16 16H32V256c0 76 53.5 141.6 128 156.8V512h64v-99.25C298.5 397.6 352 332 352 256V223.1h16c8.875 0 16-7.125 16-16v-32C384 167.1 376.9 159.1 368 159.1zM128 32c0-17.62-14.38-32-32-32S64 14.38 64 32v96h64V32z"]},J={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M432 256c0 17.69-14.33 32.01-32 32.01H256v144c0 17.69-14.33 31.99-32 31.99s-32-14.3-32-31.99v-144H48c-17.67 0-32-14.32-32-32.01s14.33-31.99 32-31.99H192v-144c0-17.69 14.33-32.01 32-32.01s32 14.32 32 32.01v144h144C417.7 224 432 238.3 432 256z"]},tt={prefix:"fas",iconName:"qrcode",icon:[448,512,[],"f029","M144 32C170.5 32 192 53.49 192 80V176C192 202.5 170.5 224 144 224H48C21.49 224 0 202.5 0 176V80C0 53.49 21.49 32 48 32H144zM128 96H64V160H128V96zM144 288C170.5 288 192 309.5 192 336V432C192 458.5 170.5 480 144 480H48C21.49 480 0 458.5 0 432V336C0 309.5 21.49 288 48 288H144zM128 352H64V416H128V352zM256 80C256 53.49 277.5 32 304 32H400C426.5 32 448 53.49 448 80V176C448 202.5 426.5 224 400 224H304C277.5 224 256 202.5 256 176V80zM320 160H384V96H320V160zM352 448H384V480H352V448zM448 480H416V448H448V480zM416 288H448V416H352V384H320V480H256V288H352V320H416V288z"]},et={prefix:"fas",iconName:"robot",icon:[640,512,[129302],"f544","M9.375 233.4C3.375 239.4 0 247.5 0 256v128c0 8.5 3.375 16.62 9.375 22.62S23.5 416 32 416h32V224H32C23.5 224 15.38 227.4 9.375 233.4zM464 96H352V32c0-17.62-14.38-32-32-32S288 14.38 288 32v64H176C131.8 96 96 131.8 96 176V448c0 35.38 28.62 64 64 64h320c35.38 0 64-28.62 64-64V176C544 131.8 508.3 96 464 96zM256 416H192v-32h64V416zM224 296C201.9 296 184 278.1 184 256S201.9 216 224 216S264 233.9 264 256S246.1 296 224 296zM352 416H288v-32h64V416zM448 416h-64v-32h64V416zM416 296c-22.12 0-40-17.88-40-40S393.9 216 416 216S456 233.9 456 256S438.1 296 416 296zM630.6 233.4C624.6 227.4 616.5 224 608 224h-32v192h32c8.5 0 16.62-3.375 22.62-9.375S640 392.5 640 384V256C640 247.5 636.6 239.4 630.6 233.4z"]},nt={prefix:"fas",iconName:"rotate",icon:[512,512,[128260,"sync-alt"],"f2f1","M449.9 39.96l-48.5 48.53C362.5 53.19 311.4 32 256 32C161.5 32 78.59 92.34 49.58 182.2c-5.438 16.81 3.797 34.88 20.61 40.28c16.97 5.5 34.86-3.812 40.3-20.59C130.9 138.5 189.4 96 256 96c37.96 0 73 14.18 100.2 37.8L311.1 178C295.1 194.8 306.8 223.4 330.4 224h146.9C487.7 223.7 496 215.3 496 204.9V59.04C496 34.99 466.9 22.95 449.9 39.96zM441.8 289.6c-16.94-5.438-34.88 3.812-40.3 20.59C381.1 373.5 322.6 416 256 416c-37.96 0-73-14.18-100.2-37.8L200 334C216.9 317.2 205.2 288.6 181.6 288H34.66C24.32 288.3 16 296.7 16 307.1v145.9c0 24.04 29.07 36.08 46.07 19.07l48.5-48.53C149.5 458.8 200.6 480 255.1 480c94.45 0 177.4-60.34 206.4-150.2C467.9 313 458.6 294.1 441.8 289.6z"]},rt=nt,it={prefix:"fas",iconName:"server",icon:[512,512,[],"f233","M480 288H32c-17.62 0-32 14.38-32 32v128c0 17.62 14.38 32 32 32h448c17.62 0 32-14.38 32-32v-128C512 302.4 497.6 288 480 288zM352 408c-13.25 0-24-10.75-24-24s10.75-24 24-24s24 10.75 24 24S365.3 408 352 408zM416 408c-13.25 0-24-10.75-24-24s10.75-24 24-24s24 10.75 24 24S429.3 408 416 408zM480 32H32C14.38 32 0 46.38 0 64v128c0 17.62 14.38 32 32 32h448c17.62 0 32-14.38 32-32V64C512 46.38 497.6 32 480 32zM352 152c-13.25 0-24-10.75-24-24S338.8 104 352 104S376 114.8 376 128S365.3 152 352 152zM416 152c-13.25 0-24-10.75-24-24S402.8 104 416 104S440 114.8 440 128S429.3 152 416 152z"]},at={prefix:"fas",iconName:"sun",icon:[512,512,[9728],"f185","M256 159.1c-53.02 0-95.1 42.98-95.1 95.1S202.1 351.1 256 351.1s95.1-42.98 95.1-95.1S309 159.1 256 159.1zM509.3 347L446.1 255.1l63.15-91.01c6.332-9.125 1.104-21.74-9.826-23.72l-109-19.7l-19.7-109c-1.975-10.93-14.59-16.16-23.72-9.824L256 65.89L164.1 2.736c-9.125-6.332-21.74-1.107-23.72 9.824L121.6 121.6L12.56 141.3C1.633 143.2-3.596 155.9 2.736 164.1L65.89 256l-63.15 91.01c-6.332 9.125-1.105 21.74 9.824 23.72l109 19.7l19.7 109c1.975 10.93 14.59 16.16 23.72 9.824L256 446.1l91.01 63.15c9.127 6.334 21.75 1.107 23.72-9.822l19.7-109l109-19.7C510.4 368.8 515.6 356.1 509.3 347zM256 383.1c-70.69 0-127.1-57.31-127.1-127.1c0-70.69 57.31-127.1 127.1-127.1s127.1 57.3 127.1 127.1C383.1 326.7 326.7 383.1 256 383.1z"]},ot={prefix:"fas",iconName:"table-cells-large",icon:[512,512,["th-large"],"f009","M448 32C483.3 32 512 60.65 512 96V416C512 451.3 483.3 480 448 480H64C28.65 480 0 451.3 0 416V96C0 60.65 28.65 32 64 32H448zM448 96H288V224H448V96zM448 288H288V416H448V288zM224 224V96H64V224H224zM64 416H224V288H64V416z"]},st=ot,ut={prefix:"fas",iconName:"tags",icon:[512,512,[],"f02c","M472.8 168.4C525.1 221.4 525.1 306.6 472.8 359.6L360.8 472.9C351.5 482.3 336.3 482.4 326.9 473.1C317.4 463.8 317.4 448.6 326.7 439.1L438.6 325.9C472.5 291.6 472.5 236.4 438.6 202.1L310.9 72.87C301.5 63.44 301.6 48.25 311.1 38.93C320.5 29.61 335.7 29.7 344.1 39.13L472.8 168.4zM.0003 229.5V80C.0003 53.49 21.49 32 48 32H197.5C214.5 32 230.7 38.74 242.7 50.75L410.7 218.7C435.7 243.7 435.7 284.3 410.7 309.3L277.3 442.7C252.3 467.7 211.7 467.7 186.7 442.7L18.75 274.7C6.743 262.7 0 246.5 0 229.5L.0003 229.5zM112 112C94.33 112 80 126.3 80 144C80 161.7 94.33 176 112 176C129.7 176 144 161.7 144 144C144 126.3 129.7 112 112 112z"]},lt={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.69C140.6 6.848 151.7 0 163.8 0H284.2C296.3 0 307.4 6.848 312.8 17.69L320 32H416C433.7 32 448 46.33 448 64C448 81.67 433.7 96 416 96H32C14.33 96 0 81.67 0 64C0 46.33 14.33 32 32 32H128L135.2 17.69zM394.8 466.1C393.2 492.3 372.3 512 346.9 512H101.1C75.75 512 54.77 492.3 53.19 466.1L31.1 128H416L394.8 466.1z"]},ct={prefix:"fas",iconName:"up-right-from-square",icon:[512,512,["external-link-alt"],"f35d","M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"]},ft=ct,dt={prefix:"fas",iconName:"xmark",icon:[320,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M310.6 361.4c12.5 12.5 12.5 32.75 0 45.25C304.4 412.9 296.2 416 288 416s-16.38-3.125-22.62-9.375L160 301.3L54.63 406.6C48.38 412.9 40.19 416 32 416S15.63 412.9 9.375 406.6c-12.5-12.5-12.5-32.75 0-45.25l105.4-105.4L9.375 150.6c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L160 210.8l105.4-105.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-105.4 105.4L310.6 361.4z"]},ht=dt},function(t,e,n){"use strict";function r(t,e,n,r,i,a,o){try{var s=t[a](o),u=s.value}catch(l){return void n(l)}s.done?e(u):Promise.resolve(u).then(r,i)}function i(t){return function(){var e=this,n=arguments;return new Promise((function(i,a){var o=t.apply(e,n);function s(t){r(o,i,a,s,u,"next",t)}function u(t){r(o,i,a,s,u,"throw",t)}s(void 0)}))}}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";function r(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}n.d(e,"a",(function(){return r}))},,function(t,e,n){"use strict";n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return h}));n(27);var r=n(7),i=n(2),a=n(37),o=n(24);function s(){return(s=Object.assign||function(t){for(var e=1;e=0||(i[n]=t[n]);return i}var l=["onClick","reloadDocument","replace","state","target","to"],c=["aria-current","caseSensitive","className","end","style","to","children"];function f(t){var e=t.basename,n=t.children,s=t.window,u=Object(i.useRef)();null==u.current&&(u.current=Object(a.b)({window:s}));var l=u.current,c=Object(i.useState)({action:l.action,location:l.location}),f=Object(r.a)(c,2),d=f[0],h=f[1];return Object(i.useLayoutEffect)((function(){return l.listen(h)}),[l]),Object(i.createElement)(o.c,{basename:e,children:n,location:d.location,navigationType:d.action,navigator:l})}var d=Object(i.forwardRef)((function(t,e){var n=t.onClick,r=t.reloadDocument,c=t.replace,f=void 0!==c&&c,d=t.state,h=t.target,p=t.to,m=u(t,l),v=Object(o.e)(p),g=function(t,e){var n=void 0===e?{}:e,r=n.target,s=n.replace,u=n.state,l=Object(o.g)(),c=Object(o.f)(),f=Object(o.i)(t);return Object(i.useCallback)((function(e){if(0===e.button&&(!r||"_self"===r)&&!function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}(e)){e.preventDefault();var n=!!s||Object(a.e)(c)===Object(a.e)(f);l(t,{replace:n,state:u})}}),[c,l,f,s,u,r,t])}(p,{replace:f,state:d,target:h});return Object(i.createElement)("a",s({},m,{href:v,onClick:function(t){n&&n(t),t.defaultPrevented||r||g(t)},ref:e,target:h}))}));var h=Object(i.forwardRef)((function(t,e){var n=t["aria-current"],r=void 0===n?"page":n,a=t.caseSensitive,l=void 0!==a&&a,f=t.className,h=void 0===f?"":f,p=t.end,m=void 0!==p&&p,v=t.style,g=t.to,y=t.children,b=u(t,c),_=Object(o.f)(),w=Object(o.i)(g),x=_.pathname,k=w.pathname;l||(x=x.toLowerCase(),k=k.toLowerCase());var O,C=x===k||!m&&x.startsWith(k)&&"/"===x.charAt(k.length),M=C?r:void 0;O="function"===typeof h?h({isActive:C}):[h,C?"active":null].filter(Boolean).join(" ");var S="function"===typeof v?v({isActive:C}):v;return Object(i.createElement)(d,s({},b,{"aria-current":M,className:O,ref:e,style:S,to:g}),"function"===typeof y?y({isActive:C}):y)}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(20),i=n(32);function a(t){return function e(n,a){switch(arguments.length){case 0:return e;case 1:return Object(i.a)(n)?e:Object(r.a)((function(e){return t(n,e)}));default:return Object(i.a)(n)&&Object(i.a)(a)?e:Object(i.a)(n)?Object(r.a)((function(e){return t(e,a)})):Object(i.a)(a)?Object(r.a)((function(e){return t(n,e)})):t(n,a)}}}},function(t,e,n){"use strict";function r(t,e){for(var n=0;n0&&(!0===t.index&&o(!1),w(t.children,e,u,s)),(null!=t.path||t.index)&&e.push({path:s,score:O(s,t.index),routesMeta:u})})),e}var x=/^:\w+$/,k=function(t){return"*"===t};function O(t,e){var n=t.split("/"),r=n.length;return n.some(k)&&(r+=-2),e&&(r+=2),n.filter((function(t){return!k(t)})).reduce((function(t,e){return t+(x.test(e)?3:""===e?1:10)}),r)}function C(t,e){for(var n=t.routesMeta,r={},i="/",a=[],o=0;o=0?e[s]:"/"}var l=function(t,e){void 0===e&&(e="/");var n="string"===typeof t?Object(a.f)(t):t,r=n.pathname,i=n.search,o=void 0===i?"":i,s=n.hash,u=void 0===s?"":s;return{pathname:r?r.startsWith("/")?r:function(t,e){var n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach((function(t){".."===t?n.length>1&&n.pop():"."!==t&&n.push(t)})),n.length>1?n.join("/"):"/"}(r,e):e,search:D(o),hash:N(u)}}(i,r);return o&&"/"!==o&&o.endsWith("/")&&!l.pathname.endsWith("/")&&(l.pathname+="/"),l}function T(t,e){if("/"===e)return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;var n=t.charAt(e.length);return n&&"/"!==n?null:t.slice(e.length)||"/"}var P=function(t){return t.join("/").replace(/\/\/+/g,"/")},j=function(t){return t.replace(/\/+$/,"").replace(/^\/*/,"/")},D=function(t){return t&&"?"!==t?t.startsWith("?")?t:"?"+t:""},N=function(t){return t&&"#"!==t?t.startsWith("#")?t:"#"+t:""}},,function(t,e,n){"use strict";function r(t,e){for(var n=t<0?"-":"",r=Math.abs(t).toString();r.length=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:a}}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 o,s=!0,u=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return s=t.done,t},e:function(t){u=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw o}}}}},function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},a=Object.keys(t);for(r=0;r=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}n.d(e,"a",(function(){return r}))},,,,function(t,e,n){"use strict";function r(t){return null!=t&&"object"===typeof t&&!0===t["@@functional/placeholder"]}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(36);var i=n(183),a=n(73);function o(t,e){return!e||"object"!==Object(i.a)(e)&&"function"!==typeof e?Object(a.a)(t):e}function s(t){var e=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(t){return!1}}();return function(){var n,i=Object(r.a)(t);if(e){var a=Object(r.a)(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return o(this,n)}}},function(t,e,n){"use strict";function r(t,e){return(r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&r(t,e)}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";function r(t,e){return Object.prototype.hasOwnProperty.call(e,t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return m})),n.d(e,"f",(function(){return v}));var r,i=n(43);!function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"}(r||(r={}));var a=function(t){return t};var o="beforeunload",s="popstate";function u(t){void 0===t&&(t={});var e=t.window,n=void 0===e?document.defaultView:e,u=n.history;function l(){var t=n.location,e=t.pathname,r=t.search,i=t.hash,o=u.state||{};return[o.idx,a({pathname:e,search:r,hash:i,state:o.usr||null,key:o.key||"default"})]}var c=null;n.addEventListener(s,(function(){if(c)w.call(c),c=null;else{var t=r.Pop,e=l(),n=e[0],i=e[1];if(w.length){if(null!=n){var a=y-n;a&&(c={action:t,location:i,retry:function(){S(-1*a)}},S(a))}}else M(t)}}));var f=r.Pop,g=l(),y=g[0],b=g[1],_=h(),w=h();function x(t){return"string"===typeof t?t:m(t)}function k(t,e){return void 0===e&&(e=null),a(Object(i.a)({pathname:b.pathname,hash:"",search:""},"string"===typeof t?v(t):t,{state:e,key:p()}))}function O(t,e){return[{usr:t.state,key:t.key,idx:e},x(t)]}function C(t,e,n){return!w.length||(w.call({action:t,location:e,retry:n}),!1)}function M(t){f=t;var e=l();y=e[0],b=e[1],_.call({action:f,location:b})}function S(t){u.go(t)}return null==y&&(y=0,u.replaceState(Object(i.a)({},u.state,{idx:y}),"")),{get action(){return f},get location(){return b},createHref:x,push:function t(e,i){var a=r.Push,o=k(e,i);if(C(a,o,(function(){t(e,i)}))){var s=O(o,y+1),l=s[0],c=s[1];try{u.pushState(l,"",c)}catch(f){n.location.assign(c)}M(a)}},replace:function t(e,n){var i=r.Replace,a=k(e,n);if(C(i,a,(function(){t(e,n)}))){var o=O(a,y),s=o[0],l=o[1];u.replaceState(s,"",l),M(i)}},go:S,back:function(){S(-1)},forward:function(){S(1)},listen:function(t){return _.push(t)},block:function(t){var e=w.push(t);return 1===w.length&&n.addEventListener(o,d),function(){e(),w.length||n.removeEventListener(o,d)}}}}function l(t){void 0===t&&(t={});var e=t.window,n=void 0===e?document.defaultView:e,u=n.history;function l(){var t=v(n.location.hash.substr(1)),e=t.pathname,r=void 0===e?"/":e,i=t.search,o=void 0===i?"":i,s=t.hash,l=void 0===s?"":s,c=u.state||{};return[c.idx,a({pathname:r,search:o,hash:l,state:c.usr||null,key:c.key||"default"})]}var c=null;function f(){if(c)x.call(c),c=null;else{var t=r.Pop,e=l(),n=e[0],i=e[1];if(x.length){if(null!=n){var a=b-n;a&&(c={action:t,location:i,retry:function(){E(-1*a)}},E(a))}}else S(t)}}n.addEventListener(s,f),n.addEventListener("hashchange",(function(){m(l()[1])!==m(_)&&f()}));var g=r.Pop,y=l(),b=y[0],_=y[1],w=h(),x=h();function k(t){return function(){var t=document.querySelector("base"),e="";if(t&&t.getAttribute("href")){var r=n.location.href,i=r.indexOf("#");e=-1===i?r:r.slice(0,i)}return e}()+"#"+("string"===typeof t?t:m(t))}function O(t,e){return void 0===e&&(e=null),a(Object(i.a)({pathname:_.pathname,hash:"",search:""},"string"===typeof t?v(t):t,{state:e,key:p()}))}function C(t,e){return[{usr:t.state,key:t.key,idx:e},k(t)]}function M(t,e,n){return!x.length||(x.call({action:t,location:e,retry:n}),!1)}function S(t){g=t;var e=l();b=e[0],_=e[1],w.call({action:g,location:_})}function E(t){u.go(t)}return null==b&&(b=0,u.replaceState(Object(i.a)({},u.state,{idx:b}),"")),{get action(){return g},get location(){return _},createHref:k,push:function t(e,i){var a=r.Push,o=O(e,i);if(M(a,o,(function(){t(e,i)}))){var s=C(o,b+1),l=s[0],c=s[1];try{u.pushState(l,"",c)}catch(f){n.location.assign(c)}S(a)}},replace:function t(e,n){var i=r.Replace,a=O(e,n);if(M(i,a,(function(){t(e,n)}))){var o=C(a,b),s=o[0],l=o[1];u.replaceState(s,"",l),S(i)}},go:E,back:function(){E(-1)},forward:function(){E(1)},listen:function(t){return w.push(t)},block:function(t){var e=x.push(t);return 1===x.length&&n.addEventListener(o,d),function(){e(),x.length||n.removeEventListener(o,d)}}}}function c(t){void 0===t&&(t={});var e=t,n=e.initialEntries,o=void 0===n?["/"]:n,s=e.initialIndex,u=o.map((function(t){return a(Object(i.a)({pathname:"/",search:"",hash:"",state:null,key:p()},"string"===typeof t?v(t):t))})),l=f(null==s?u.length-1:s,0,u.length-1),c=r.Pop,d=u[l],g=h(),y=h();function b(t,e){return void 0===e&&(e=null),a(Object(i.a)({pathname:d.pathname,search:"",hash:""},"string"===typeof t?v(t):t,{state:e,key:p()}))}function _(t,e,n){return!y.length||(y.call({action:t,location:e,retry:n}),!1)}function w(t,e){c=t,d=e,g.call({action:c,location:d})}function x(t){var e=f(l+t,0,u.length-1),n=r.Pop,i=u[e];_(n,i,(function(){x(t)}))&&(l=e,w(n,i))}return{get index(){return l},get action(){return c},get location(){return d},createHref:function(t){return"string"===typeof t?t:m(t)},push:function t(e,n){var i=r.Push,a=b(e,n);_(i,a,(function(){t(e,n)}))&&(l+=1,u.splice(l,u.length,a),w(i,a))},replace:function t(e,n){var i=r.Replace,a=b(e,n);_(i,a,(function(){t(e,n)}))&&(u[l]=a,w(i,a))},go:x,back:function(){x(-1)},forward:function(){x(1)},listen:function(t){return g.push(t)},block:function(t){return y.push(t)}}}function f(t,e,n){return Math.min(Math.max(t,e),n)}function d(t){t.preventDefault(),t.returnValue=""}function h(){var t=[];return{get length(){return t.length},push:function(e){return t.push(e),function(){t=t.filter((function(t){return t!==e}))}},call:function(e){t.forEach((function(t){return t&&t(e)}))}}}function p(){return Math.random().toString(36).substr(2,8)}function m(t){var e=t.pathname,n=void 0===e?"/":e,r=t.search,i=void 0===r?"":r,a=t.hash,o=void 0===a?"":a;return i&&"?"!==i&&(n+="?"===i.charAt(0)?i:"?"+i),o&&"#"!==o&&(n+="#"===o.charAt(0)?o:"#"+o),n}function v(t){var e={};if(t){var n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));var r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(2),i=n.n(r),a=function(){return(a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n1?e-1:0),r=1;r=0;)e=s[n],Object(i.a)(e,t)&&!l(r,e)&&(r[r.length]=e),n-=1;return r})):Object(r.a)((function(t){return Object(t)!==t?[]:Object.keys(t)}));e.a=c},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return s}));var r=n(2),i=1,a=Object(r.createContext)(null),o=a.Provider;function s(){var t=Object(r.useContext)(a);if(null==t)throw new Error("No context provided: useLeafletContext() can only be used in a descendant of ");return t}},function(t,e,n){!function(t){"use strict";var e="1.7.1";function n(t){var e,n,r,i;for(n=1,r=arguments.length;n0?Math.floor(t):Math.ceil(t)};function A(t,e,n){return t instanceof D?t:g(t)?new D(t[0],t[1]):void 0===t||null===t?t:"object"===typeof t&&"x"in t&&"y"in t?new D(t.x,t.y):new D(t,e,n)}function R(t,e){if(t)for(var n=e?[t,e]:t,r=0,i=n.length;r=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=I(t);var e=this.min,n=this.max,r=t.min,i=t.max,a=i.x>=e.x&&r.x<=n.x,o=i.y>=e.y&&r.y<=n.y;return a&&o},overlaps:function(t){t=I(t);var e=this.min,n=this.max,r=t.min,i=t.max,a=i.x>e.x&&r.xe.y&&r.y=r.lat&&n.lat<=i.lat&&e.lng>=r.lng&&n.lng<=i.lng},intersects:function(t){t=F(t);var e=this._southWest,n=this._northEast,r=t.getSouthWest(),i=t.getNorthEast(),a=i.lat>=e.lat&&r.lat<=n.lat,o=i.lng>=e.lng&&r.lng<=n.lng;return a&&o},overlaps:function(t){t=F(t);var e=this._southWest,n=this._northEast,r=t.getSouthWest(),i=t.getNorthEast(),a=i.lat>e.lat&&r.late.lng&&r.lng1,St=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",l,e),window.removeEventListener("testPassiveEventSupport",l,e)}catch(n){}return t}(),Et=!!document.createElement("canvas").getContext,Tt=!(!document.createElementNS||!X("svg").createSVGRect),Pt=!Tt&&function(){try{var t=document.createElement("div");t.innerHTML='';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"===typeof e.adj}catch(n){return!1}}();function jt(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Dt={ie:J,ielt9:tt,edge:et,webkit:nt,android:rt,android23:it,androidStock:ot,opera:st,chrome:ut,gecko:lt,safari:ct,phantom:ft,opera12:dt,win:ht,ie3d:pt,webkit3d:mt,gecko3d:vt,any3d:gt,mobile:yt,mobileWebkit:bt,mobileWebkit3d:_t,msPointer:wt,pointer:xt,touch:kt,mobileOpera:Ot,mobileGecko:Ct,retina:Mt,passiveEvents:St,canvas:Et,svg:Tt,vml:Pt},Nt=wt?"MSPointerDown":"pointerdown",Lt=wt?"MSPointerMove":"pointermove",At=wt?"MSPointerUp":"pointerup",Rt=wt?"MSPointerCancel":"pointercancel",It={},zt=!1;function Ft(t,e,n,r){return"touchstart"===e?Ht(t,n,r):"touchmove"===e?qt(t,n,r):"touchend"===e&&Zt(t,n,r),this}function Bt(t,e,n){var r=t["_leaflet_"+e+n];return"touchstart"===e?t.removeEventListener(Nt,r,!1):"touchmove"===e?t.removeEventListener(Lt,r,!1):"touchend"===e&&(t.removeEventListener(At,r,!1),t.removeEventListener(Rt,r,!1)),this}function Ht(t,e,n){var r=i((function(t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&We(t),Yt(t,e)}));t["_leaflet_touchstart"+n]=r,t.addEventListener(Nt,r,!1),zt||(document.addEventListener(Nt,Ut,!0),document.addEventListener(Lt,Wt,!0),document.addEventListener(At,Vt,!0),document.addEventListener(Rt,Vt,!0),zt=!0)}function Ut(t){It[t.pointerId]=t}function Wt(t){It[t.pointerId]&&(It[t.pointerId]=t)}function Vt(t){delete It[t.pointerId]}function Yt(t,e){for(var n in t.touches=[],It)t.touches.push(It[n]);t.changedTouches=[t],e(t)}function qt(t,e,n){var r=function(t){t.pointerType===(t.MSPOINTER_TYPE_MOUSE||"mouse")&&0===t.buttons||Yt(t,e)};t["_leaflet_touchmove"+n]=r,t.addEventListener(Lt,r,!1)}function Zt(t,e,n){var r=function(t){Yt(t,e)};t["_leaflet_touchend"+n]=r,t.addEventListener(At,r,!1),t.addEventListener(Rt,r,!1)}var Kt=wt?"MSPointerDown":xt?"pointerdown":"touchstart",Qt=wt?"MSPointerUp":xt?"pointerup":"touchend",Xt="_leaflet_";function $t(t,e,n){var r,i,a=!1,o=250;function s(t){if(xt){if(!t.isPrimary)return;if("mouse"===t.pointerType)return}else if(t.touches.length>1)return;var e=Date.now(),n=e-(r||e);i=t.touches?t.touches[0]:t,a=n>0&&n<=o,r=e}function u(t){if(a&&!i.cancelBubble){if(xt){if("mouse"===t.pointerType)return;var n,o,s={};for(o in i)n=i[o],s[o]=n&&n.bind?n.bind(i):n;i=s}i.type="dblclick",i.button=0,e(i),r=null}}return t[Xt+Kt+n]=s,t[Xt+Qt+n]=u,t[Xt+"dblclick"+n]=e,t.addEventListener(Kt,s,!!St&&{passive:!1}),t.addEventListener(Qt,u,!!St&&{passive:!1}),t.addEventListener("dblclick",e,!1),this}function Gt(t,e){var n=t[Xt+Kt+e],r=t[Xt+Qt+e],i=t[Xt+"dblclick"+e];return t.removeEventListener(Kt,n,!!St&&{passive:!1}),t.removeEventListener(Qt,r,!!St&&{passive:!1}),t.removeEventListener("dblclick",i,!1),this}var Jt,te,ee,ne,re,ie=we(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ae=we(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),oe="webkitTransition"===ae||"OTransition"===ae?ae+"End":"transitionend";function se(t){return"string"===typeof t?document.getElementById(t):t}function ue(t,e){var n=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!n||"auto"===n)&&document.defaultView){var r=document.defaultView.getComputedStyle(t,null);n=r?r[e]:null}return"auto"===n?null:n}function le(t,e,n){var r=document.createElement(t);return r.className=e||"",n&&n.appendChild(r),r}function ce(t){var e=t.parentNode;e&&e.removeChild(t)}function fe(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function de(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function he(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function pe(t,e){if(void 0!==t.classList)return t.classList.contains(e);var n=ye(t);return n.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(n)}function me(t,e){if(void 0!==t.classList)for(var n=d(e),r=0,i=n.length;rthis.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var n=this.getCenter(),r=this._limitCenter(n,this._zoom,F(t));return n.equals(r)||this.panTo(r,e),this._enforcingBounds=!1,this},panInside:function(t,e){var n=A((e=e||{}).paddingTopLeft||e.padding||[0,0]),r=A(e.paddingBottomRight||e.padding||[0,0]),i=this.getCenter(),a=this.project(i),o=this.project(t),s=this.getPixelBounds(),u=s.getSize().divideBy(2),l=I([s.min.add(n),s.max.subtract(r)]);if(!l.contains(o)){this._enforcingBounds=!0;var c=a.subtract(o),f=A(o.x+c.x,o.y+c.y);(o.xl.max.x)&&(f.x=a.x-c.x,c.x>0?f.x+=u.x-n.x:f.x-=u.x-r.x),(o.yl.max.y)&&(f.y=a.y-c.y,c.y>0?f.y+=u.y-n.y:f.y-=u.y-r.y),this.panTo(this.unproject(f),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=n({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var r=this.getSize(),a=e.divideBy(2).round(),o=r.divideBy(2).round(),s=a.subtract(o);return s.x||s.y?(t.animate&&t.pan?this.panBy(s):(t.pan&&this._rawPanBy(s),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:r})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=n({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=i(this._handleGeolocationResponse,this),r=i(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,r,t):navigator.geolocation.getCurrentPosition(e,r,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,n=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(t){var e=new B(t.coords.latitude,t.coords.longitude),n=e.toBounds(2*t.coords.accuracy),r=this._locateOptions;if(r.setView){var i=this.getBoundsZoom(n);this.setView(e,r.maxZoom?Math.min(i,r.maxZoom):i)}var a={latlng:e,bounds:n,timestamp:t.timestamp};for(var o in t.coords)"number"===typeof t.coords[o]&&(a[o]=t.coords[o]);this.fire("locationfound",a)},addHandler:function(t,e){if(!e)return this;var n=this[t]=new e(this);return this._handlers.push(n),this.options[t]&&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(e){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),ce(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[t].remove();for(t in this._panes)ce(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var n=le("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=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 t=this.getPixelBounds();return new z(this.unproject(t.getBottomLeft()),this.unproject(t.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(t,e,n){t=F(t),n=A(n||[0,0]);var r=this.getZoom()||0,i=this.getMinZoom(),a=this.getMaxZoom(),o=t.getNorthWest(),s=t.getSouthEast(),u=this.getSize().subtract(n),l=I(this.project(s,r),this.project(o,r)).getSize(),c=gt?this.options.zoomSnap:1,f=u.x/l.x,d=u.y/l.y,h=e?Math.max(f,d):Math.min(f,d);return r=this.getScaleZoom(h,r),c&&(r=Math.round(r/(c/100))*(c/100),r=e?Math.ceil(r/c)*c:Math.floor(r/c)*c),Math.max(i,Math.min(a,r))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new D(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var n=this._getTopLeftPoint(t,e);return new R(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"===typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var n=this.options.crs;return e=void 0===e?this._zoom:e,n.scale(t)/n.scale(e)},getScaleZoom:function(t,e){var n=this.options.crs;e=void 0===e?this._zoom:e;var r=n.zoom(t*n.scale(e));return isNaN(r)?1/0:r},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(H(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(A(t),e)},layerPointToLatLng:function(t){var e=A(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(H(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(H(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(F(t))},distance:function(t,e){return this.options.crs.distance(H(t),H(e))},containerPointToLayerPoint:function(t){return A(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return A(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(A(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(H(t)))},mouseEventToContainerPoint:function(t){return Ye(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=se(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");Ne(e,"scroll",this._onScroll,this),this._containerId=o(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&>,me(t,"leaflet-container"+(kt?" leaflet-touch":"")+(Mt?" leaflet-retina":"")+(tt?" leaflet-oldie":"")+(ct?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=ue(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),ke(this._mapPane,new D(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(me(t.markerPane,"leaflet-zoom-hide"),me(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){ke(this._mapPane,new D(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var r=this._zoom!==e;this._moveStart(r,!1)._move(t,e)._moveEnd(r),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,n){void 0===e&&(e=this._zoom);var r=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(r||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return M(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){ke(this._mapPane,this._getMapPanePos().subtract(t))},_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(t){this._targets={},this._targets[o(this._container)]=this;var e=t?Ae:Ne;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),gt&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){M(this._resizeRequest),this._resizeRequest=C((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var n,r=[],i="mouseout"===e||"mouseover"===e,a=t.target||t.srcElement,s=!1;a;){if((n=this._targets[o(a)])&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(n)){s=!0;break}if(n&&n.listens(e,!0)){if(i&&!$e(a,t))break;if(r.push(n),i)break}if(a===this._container)break;a=a.parentNode}return r.length||s||i||!$e(a,t)||(r=[this]),r},_handleDOMEvent:function(t){if(this._loaded&&!Xe(t)){var e=t.type;"mousedown"!==e&&"keypress"!==e&&"keyup"!==e&&"keydown"!==e||Ee(t.target||t.srcElement),this._fireDOMEvent(t,e)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,r){if("click"===t.type){var i=n({},t);i.type="preclick",this._fireDOMEvent(i,i.type,r)}if(!t._stopped&&(r=(r||[]).concat(this._findEventTargets(t,e))).length){var a=r[0];"contextmenu"===e&&a.listens(e,!0)&&We(t);var o={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var s=a.getLatLng&&(!a._radius||a._radius<=10);o.containerPoint=s?this.latLngToContainerPoint(a.getLatLng()):this.mouseEventToContainerPoint(t),o.layerPoint=this.containerPointToLayerPoint(o.containerPoint),o.latlng=s?a.getLatLng():this.layerPointToLatLng(o.layerPoint)}for(var u=0;u0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),n=this.getMaxZoom(),r=gt?this.options.zoomSnap:1;return r&&(t=Math.round(t/r)*r),Math.max(e,Math.min(n,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){ve(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var n=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(n))&&(this.panBy(n,e),!0)},_createAnimProxy:function(){var t=this._proxy=le("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var e=ie,n=this._proxy.style[e];xe(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),n===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ce(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();xe(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var r=this.getZoomScale(e),i=this._getCenterOffset(t)._divideBy(1-1/r);return!(!0!==n.animate&&!this.getSize().contains(i))&&(C((function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)}),this),!0)},_animateZoom:function(t,e,n,r){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,me(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:r}),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&ve(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),C((function(){this._moveEnd(!0)}),this))}});function en(t,e){return new tn(t,e)}var nn=E.extend({options:{position:"topright"},initialize:function(t){h(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),n=this.getPosition(),r=t._controlCorners[n];return me(e,"leaflet-control"),-1!==n.indexOf("bottom")?r.insertBefore(e,r.firstChild):r.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(ce(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),rn=function(t){return new nn(t)};tn.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",n=this._controlContainer=le("div",e+"control-container",this._container);function r(r,i){var a=e+r+" "+e+i;t[r+i]=le("div",a,n)}r("top","left"),r("top","right"),r("bottom","left"),r("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)ce(this._controlCorners[t]);ce(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var an=nn.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,n,r){return n1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(o(t.target)),n=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;n&&this._map.fire(n,e)},_createRadioElement:function(t,e){var n='",r=document.createElement("div");return r.innerHTML=n,r.firstChild},_addItem:function(t){var e,n=document.createElement("label"),r=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=r):e=this._createRadioElement("leaflet-base-layers_"+o(this),r),this._layerControlInputs.push(e),e.layerId=o(t.layer),Ne(e,"click",this._onInputClick,this);var i=document.createElement("span");i.innerHTML=" "+t.name;var a=document.createElement("div");return n.appendChild(a),a.appendChild(e),a.appendChild(i),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var t,e,n=this._layerControlInputs,r=[],i=[];this._handlingClick=!0;for(var a=n.length-1;a>=0;a--)t=n[a],e=this._getLayer(t.layerId).layer,t.checked?r.push(e):t.checked||i.push(e);for(a=0;a=0;i--)t=n[i],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&re.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),on=function(t,e,n){return new an(t,e,n)},sn=nn.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"−",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=le("div",e+" leaflet-bar"),r=this.options;return this._zoomInButton=this._createButton(r.zoomInText,r.zoomInTitle,e+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(r.zoomOutText,r.zoomOutTitle,e+"-out",n,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(t){t.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(t){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,n,r,i){var a=le("a",n,r);return a.innerHTML=t,a.href="#",a.title=e,a.setAttribute("role","button"),a.setAttribute("aria-label",e),Ue(a),Ne(a,"click",Ve),Ne(a,"click",i,this),Ne(a,"click",this._refocusOnMap,this),a},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";ve(this._zoomInButton,e),ve(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMinZoom())&&me(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMaxZoom())&&me(this._zoomInButton,e)}});tn.mergeOptions({zoomControl:!0}),tn.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new sn,this.addControl(this.zoomControl))}));var un=function(t){return new sn(t)},ln=nn.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",n=le("div",e),r=this.options;return this._addScales(r,e+"-line",n),t.on(r.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),n},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,n){t.metric&&(this._mScale=le("div",e,n)),t.imperial&&(this._iScale=le("div",e,n))},_update:function(){var t=this._map,e=t.getSize().y/2,n=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(n)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),n=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,n,e/t)},_updateImperial:function(t){var e,n,r,i=3.2808399*t;i>5280?(e=i/5280,n=this._getRoundNum(e),this._updateScale(this._iScale,n+" mi",n/e)):(r=this._getRoundNum(i),this._updateScale(this._iScale,r+" ft",r/i))},_updateScale:function(t,e,n){t.style.width=Math.round(this.options.maxWidth*n)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),n=t/e;return e*(n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1)}}),cn=function(t){return new ln(t)},fn=nn.extend({options:{position:"bottomright",prefix:'Leaflet'},initialize:function(t){h(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=le("div","leaflet-control-attribution"),Ue(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var n=[];this.options.prefix&&n.push(this.options.prefix),t.length&&n.push(t.join(", ")),this._container.innerHTML=n.join(" | ")}}});tn.mergeOptions({attributionControl:!0}),tn.addInitHook((function(){this.options.attributionControl&&(new fn).addTo(this)}));var dn=function(t){return new fn(t)};nn.Layers=an,nn.Zoom=sn,nn.Scale=ln,nn.Attribution=fn,rn.layers=on,rn.zoom=un,rn.scale=cn,rn.attribution=dn;var hn=E.extend({initialize:function(t){this._map=t},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}});hn.addTo=function(t,e){return t.addHandler(e,this),this};var pn,mn={Events:P},vn=kt?"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(t,e,n,r){h(this,r),this._element=t,this._dragStartTarget=e||t,this._preventOutline=n},enable:function(){this._enabled||(Ne(this._dragStartTarget,vn,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(bn._dragging===this&&this.finishDrag(),Ae(this._dragStartTarget,vn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!pe(this._element,"leaflet-zoom-anim")&&!(bn._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches)&&(bn._dragging=this,this._preventOutline&&Ee(this._element),Me(),Jt(),!this._moving))){this.fire("down");var e=t.touches?t.touches[0]:t,n=Pe(this._element);this._startPoint=new D(e.clientX,e.clientY),this._parentScale=je(n),Ne(document,yn[t.type],this._onMove,this),Ne(document,gn[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,n=new D(e.clientX,e.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)u&&(a=o,u=s);u>n&&(e[a]=1,On(t,e,n,r,a),On(t,e,n,a,i))}function Cn(t,e){for(var n=[t[0]],r=1,i=0,a=t.length;re&&(n.push(t[r]),i=r);return ie.max.x&&(n|=2),t.ye.max.y&&(n|=8),n}function Tn(t,e){var n=e.x-t.x,r=e.y-t.y;return n*n+r*r}function Pn(t,e,n,r){var i,a=e.x,o=e.y,s=n.x-a,u=n.y-o,l=s*s+u*u;return l>0&&((i=((t.x-a)*s+(t.y-o)*u)/l)>1?(a=n.x,o=n.y):i>0&&(a+=s*i,o+=u*i)),s=t.x-a,u=t.y-o,r?s*s+u*u:new D(a,o)}function jn(t){return!g(t[0])||"object"!==typeof t[0][0]&&"undefined"!==typeof t[0][0]}function Dn(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),jn(t)}var Nn={simplify:_n,pointToSegmentDistance:wn,closestPointOnSegment:xn,clipSegment:Mn,_getEdgeIntersection:Sn,_getBitCode:En,_sqClosestPointOnSegment:Pn,isFlat:jn,_flat:Dn};function Ln(t,e,n){var r,i,a,o,s,u,l,c,f,d=[1,4,2,8];for(i=0,l=t.length;i1e-7;u++)e=a*Math.sin(s),e=Math.pow((1-e)/(1+e),a/2),s+=l=Math.PI/2-2*Math.atan(o*e)-s;return new B(s*n,t.x*n/r)}},zn={LonLat:Rn,Mercator:In,SphericalMercator:Y},Fn=n({},W,{code:"EPSG:3395",projection:In,transformation:function(){var t=.5/(Math.PI*In.R);return Z(t,.5,-t,.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(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var n=e.lng-t.lng,r=e.lat-t.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(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[o(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[o(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var n=this.getEvents();e.on(n,this),this.once("remove",(function(){e.off(n,this)}),this)}this.onAdd(e),this.getAttribution&&e.attributionControl&&e.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),e.fire("layeradd",{layer:this})}}});tn.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=o(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=o(t);return this._layers[e]?(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return!!t&&o(t)in this._layers},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},_addLayers:function(t){for(var e=0,n=(t=t?g(t)?t:[t]:[]).length;ethis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()e)return o=(r-e)/n,this._map.layerPointToLatLng([a.x-o*(a.x-i.x),a.y-o*(a.y-i.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=H(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new z,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return jn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],n=jn(t),r=0,i=t.length;r=2&&e[0]instanceof B&&e[0].equals(e[n-1])&&e.pop(),e},_setLatLngs:function(t){ir.prototype._setLatLngs.call(this,t),jn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return jn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,n=new D(e,e);if(t=new R(t.min.subtract(n),t.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var r,i=0,a=this._rings.length;it.y!==r.y>t.y&&t.x<(r.x-n.x)*(t.y-n.y)/(r.y-n.y)+n.x&&(l=!l);return l||ir.prototype._containsPoint.call(this,t,!0)}});function sr(t,e){return new or(t,e)}var ur=Yn.extend({initialize:function(t,e){h(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,r,i=g(t)?t:t.features;if(i){for(e=0,n=i.length;e0?r:[e.src]}else{g(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted;for(var o=0;oi?(e.height=i+"px",me(t,a)):ve(t,a),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),n=this._getAnchor();ke(this._container,e.add(n))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var t=this._map,e=parseInt(ue(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+e,r=this._containerWidth,i=new D(this._containerLeft,-n-this._containerBottom);i._add(Oe(this._container));var a=t.layerPointToContainerPoint(i),o=A(this.options.autoPanPadding),s=A(this.options.autoPanPaddingTopLeft||o),u=A(this.options.autoPanPaddingBottomRight||o),l=t.getSize(),c=0,f=0;a.x+r+u.x>l.x&&(c=a.x+r-l.x+u.x),a.x-c-s.x<0&&(c=a.x-s.x),a.y+n+u.y>l.y&&(f=a.y+n-l.y+u.y),a.y-f-s.y<0&&(f=a.y-s.y),(c||f)&&t.fire("autopanstart").panBy([c,f])}},_onCloseButtonClick:function(t){this._close(),Ve(t)},_getAnchor:function(){return A(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Er=function(t,e){return new Sr(t,e)};tn.mergeOptions({closePopupOnClick:!0}),tn.include({openPopup:function(t,e,n){return t instanceof Sr||(t=new Sr(n).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),Un.include({bindPopup:function(t,e){return t instanceof Sr?(h(t,e),this._popup=t,t._source=this):(this._popup&&!e||(this._popup=new Sr(e,this)),this._popup.setContent(t)),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(t,e){return this._popup&&this._map&&(e=this._popup._prepareOpen(this,t,e),this._map.openPopup(this._popup,e)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e=t.layer||t.target;this._popup&&this._map&&(Ve(t),e instanceof Jn?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var Tr=Mr.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){Mr.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){Mr.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=Mr.prototype.getEvents.call(this);return kt&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=le("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,n,r=this._map,i=this._container,a=r.latLngToContainerPoint(r.getCenter()),o=r.layerPointToContainerPoint(t),s=this.options.direction,u=i.offsetWidth,l=i.offsetHeight,c=A(this.options.offset),f=this._getAnchor();"top"===s?(e=u/2,n=l):"bottom"===s?(e=u/2,n=0):"center"===s?(e=u/2,n=l/2):"right"===s?(e=0,n=l/2):"left"===s?(e=u,n=l/2):o.xthis.options.maxZoom||nr&&this._retainParent(i,a,o,r))},_retainChildren:function(t,e,n,r){for(var i=2*t;i<2*t+2;i++)for(var a=2*e;a<2*e+2;a++){var o=new D(i,a);o.z=n+1;var s=this._tileCoordsToKey(o),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(t,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 h=new D(d,f);if(h.z=this._tileZoom,this._isValidTile(h)){var p=this._tiles[this._tileCoordsToKey(h)];p?p.current=!0:o.push(h)}}if(o.sort((function(t,e){return t.distanceTo(a)-e.distanceTo(a)})),0!==o.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(d=0;dn.max.x)||!e.wrapLat&&(t.yn.max.y))return!1}if(!this.options.bounds)return!0;var r=this._tileCoordsToBounds(t);return F(this.options.bounds).overlaps(r)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,n=this.getTileSize(),r=t.scaleBy(n),i=r.add(n);return[e.unproject(r,t.z),e.unproject(i,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),n=new z(e[0],e[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),n=new D(+e[0],+e[1]);return n.z=+e[2],n},_removeTile:function(t){var e=this._tiles[t];e&&(ce(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){me(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=l,t.onmousemove=l,tt&&this.options.opacity<1&&be(t,this.options.opacity),rt&&!it&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var n=this._getTilePos(t),r=this._tileCoordsToKey(t),a=this.createTile(this._wrapCoords(t),i(this._tileReady,this,t));this._initTile(a),this.createTile.length<2&&C(i(this._tileReady,this,t,null,a)),ke(a,n),this._tiles[r]={el:a,coords:t,current:!0},e.appendChild(a),this.fire("tileloadstart",{tile:a,coords:t})},_tileReady:function(t,e,n){e&&this.fire("tileerror",{error:e,tile:n,coords:t});var r=this._tileCoordsToKey(t);(n=this._tiles[r])&&(n.loaded=+new Date,this._map._fadeAnimated?(be(n.el,0),M(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),e||(me(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),tt||!this._map._fadeAnimated?C(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new D(this._wrapX?u(t.x,this._wrapX):t.x,this._wrapY?u(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new R(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});function Lr(t){return new Nr(t)}var Ar=Nr.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,(e=h(this,e)).detectRetina&&Mt&&e.maxZoom>0&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"===typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),rt||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var n=document.createElement("img");return Ne(n,"load",i(this._tileOnLoad,this,e,n)),Ne(n,"error",i(this._tileOnError,this,e,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(t),n},getTileUrl:function(t){var e={r:Mt?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var r=this._globalTileRange.max.y-t.y;this.options.tms&&(e.y=r),e["-y"]=r}return v(this._url,n(e,this.options))},_tileOnLoad:function(t,e){tt?setTimeout(i(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,n){var r=this.options.errorTileUrl;r&&e.getAttribute("src")!==r&&(e.src=r),t(n,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return this.options.zoomReverse&&(t=e-t),t+this.options.zoomOffset},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=l,e.onerror=l,e.complete||(e.src=b,ce(e),delete this._tiles[t]))},_removeTile:function(t){var e=this._tiles[t];if(e)return ot||e.el.setAttribute("src",b),Nr.prototype._removeTile.call(this,t)},_tileReady:function(t,e,n){if(this._map&&(!n||n.getAttribute("src")!==b))return Nr.prototype._tileReady.call(this,t,e,n)}});function Rr(t,e){return new Ar(t,e)}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(t,e){this._url=t;var r=n({},this.defaultWmsParams);for(var i in e)i in this.options||(r[i]=e[i]);var a=(e=h(this,e)).detectRetina&&Mt?2:1,o=this.getTileSize();r.width=o.x*a,r.height=o.y*a,this.wmsParams=r},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,Ar.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),n=this._crs,r=I(n.project(e[0]),n.project(e[1])),i=r.min,a=r.max,o=(this._wmsVersion>=1.3&&this._crs===Bn?[i.y,i.x,a.y,a.x]:[i.x,i.y,a.x,a.y]).join(","),s=Ar.prototype.getTileUrl.call(this,t);return s+p(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+o},setParams:function(t,e){return n(this.wmsParams,t),e||this.redraw(),this}});function zr(t,e){return new Ir(t,e)}Ar.WMS=Ir,Rr.wms=zr;var Fr=Un.extend({options:{padding:.1,tolerance:0},initialize:function(t){h(this,t),o(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&me(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 t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var n=this._map.getZoomScale(e,this._zoom),r=Oe(this._container),i=this._map.getSize().multiplyBy(.5+this.options.padding),a=this._map.project(this._center,e),o=this._map.project(t,e).subtract(a),s=i.multiplyBy(-n).add(r).add(i).subtract(o);gt?xe(this._container,s,n):ke(this._container,s)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),n=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new R(n,n.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Br=Fr.extend({getEvents:function(){var t=Fr.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Fr.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Ne(t,"mousemove",this._onMouseMove,this),Ne(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Ne(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){M(this._redrawRequest),delete this._ctx,ce(this._container),Ae(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){Fr.prototype._update.call(this);var t=this._bounds,e=this._container,n=t.getSize(),r=Mt?2:1;ke(e,t.min),e.width=r*n.x,e.height=r*n.y,e.style.width=n.x+"px",e.style.height=n.y+"px",Mt&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){Fr.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[o(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,n=e.next,r=e.prev;n?n.prev=r:this._drawLast=r,r?r.next=n:this._drawFirst=n,delete t._order,delete this._layers[o(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"===typeof t.options.dashArray){var e,n,r=t.options.dashArray.split(/[, ]+/),i=[];for(n=0;n')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),Wr={_initContainer:function(){this._container=le("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Fr.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=Ur("shape");me(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=Ur("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[o(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;ce(e),t.removeInteractiveTarget(e),delete this._layers[o(t)]},_updateStyle:function(t){var e=t._stroke,n=t._fill,r=t.options,i=t._container;i.stroked=!!r.stroke,i.filled=!!r.fill,r.stroke?(e||(e=t._stroke=Ur("stroke")),i.appendChild(e),e.weight=r.weight+"px",e.color=r.color,e.opacity=r.opacity,r.dashArray?e.dashStyle=g(r.dashArray)?r.dashArray.join(" "):r.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=r.lineCap.replace("butt","flat"),e.joinstyle=r.lineJoin):e&&(i.removeChild(e),t._stroke=null),r.fill?(n||(n=t._fill=Ur("fill")),i.appendChild(n),n.color=r.fillColor||r.color,n.opacity=r.fillOpacity):n&&(i.removeChild(n),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),n=Math.round(t._radius),r=Math.round(t._radiusY||n);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+n+","+r+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){de(t._container)},_bringToBack:function(t){he(t._container)}},Vr=Pt?Ur:X,Yr=Fr.extend({getEvents:function(){var t=Fr.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=Vr("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Vr("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ce(this._container),Ae(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 t=this._bounds,e=t.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,n.setAttribute("width",e.x),n.setAttribute("height",e.y)),ke(n,t.min),n.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=Vr("path");t.options.className&&me(e,t.options.className),t.options.interactive&&me(e,"leaflet-interactive"),this._updateStyle(t),this._layers[o(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){ce(t._path),t.removeInteractiveTarget(t._path),delete this._layers[o(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,n=t.options;e&&(n.stroke?(e.setAttribute("stroke",n.color),e.setAttribute("stroke-opacity",n.opacity),e.setAttribute("stroke-width",n.weight),e.setAttribute("stroke-linecap",n.lineCap),e.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?e.setAttribute("stroke-dasharray",n.dashArray):e.removeAttribute("stroke-dasharray"),n.dashOffset?e.setAttribute("stroke-dashoffset",n.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),n.fill?(e.setAttribute("fill",n.fillColor||n.color),e.setAttribute("fill-opacity",n.fillOpacity),e.setAttribute("fill-rule",n.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,$(t._parts,e))},_updateCircle:function(t){var e=t._point,n=Math.max(Math.round(t._radius),1),r="a"+n+","+(Math.max(Math.round(t._radiusY),1)||n)+" 0 1,0 ",i=t._empty()?"M0 0":"M"+(e.x-n)+","+e.y+r+2*n+",0 "+r+2*-n+",0 ";this._setPath(t,i)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){de(t._path)},_bringToBack:function(t){he(t._path)}});function qr(t){return Tt||Pt?new Yr(t):null}Pt&&Yr.include(Wr),tn.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&Hr(t)||qr(t)}});var Zr=or.extend({initialize:function(t,e){or.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=F(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function Kr(t,e){return new Zr(t,e)}Yr.create=Vr,Yr.pointsToPath=$,ur.geometryToLayer=lr,ur.coordsToLatLng=fr,ur.coordsToLatLngs=dr,ur.latLngToCoords=hr,ur.latLngsToCoords=pr,ur.getFeature=mr,ur.asFeature=vr,tn.mergeOptions({boxZoom:!0});var Qr=hn.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){Ne(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ae(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ce(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(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),Jt(),Me(),this._startPoint=this._map.mouseEventToContainerPoint(t),Ne(document,{contextmenu:Ve,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=le("div","leaflet-zoom-box",this._container),me(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new R(this._point,this._startPoint),n=e.getSize();ke(this._box,e.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(ce(this._box),ve(this._container,"leaflet-crosshair")),te(),Se(),Ae(document,{contextmenu:Ve,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var e=new z(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});tn.addInitHook("addHandler","boxZoom",Qr),tn.mergeOptions({doubleClickZoom:!0});var Xr=hn.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,n=e.getZoom(),r=e.options.zoomDelta,i=t.originalEvent.shiftKey?n-r:n+r;"center"===e.options.doubleClickZoom?e.setZoom(i):e.setZoomAround(t.containerPoint,i)}});tn.addInitHook("addHandler","doubleClickZoom",Xr),tn.mergeOptions({dragging:!0,inertia:!it,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var $r=hn.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new bn(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}me(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){ve(this._map._container,"leaflet-grab"),ve(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 t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=F(this._map.options.maxBounds);this._offsetLimit=I(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.xe.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),n=this._initialWorldOffset,r=this._draggable._newPos.x,i=(r-e+n)%t+e-n,a=(r+e+n)%t-e-n,o=Math.abs(i+n)0?a:-a))-e;this._delta=0,this._startTime=null,o&&("center"===t.options.scrollWheelZoom?t.setZoom(e+o):t.setZoomAround(this._lastMousePos,e+o))}});tn.addInitHook("addHandler","scrollWheelZoom",Jr),tn.mergeOptions({tap:!0,tapTolerance:15});var ti=hn.extend({addHooks:function(){Ne(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ae(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(We(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var e=t.touches[0],n=e.target;this._startPos=this._newPos=new D(e.clientX,e.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&me(n,"leaflet-active"),this._holdTimeout=setTimeout(i((function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))}),this),1e3),this._simulateEvent("mousedown",e),Ne(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),Ae(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var e=t.changedTouches[0],n=e.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&ve(n,"leaflet-active"),this._simulateEvent("mouseup",e),this._isTapValid()&&this._simulateEvent("click",e)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new D(e.clientX,e.clientY),this._simulateEvent("mousemove",e)},_simulateEvent:function(t,e){var n=document.createEvent("MouseEvents");n._simulated=!0,e.target._simulatedClick=!0,n.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(n)}});!kt||xt&&!ct||tn.addInitHook("addHandler","tap",ti),tn.mergeOptions({touchZoom:kt&&!it,bounceAtZoomLimits:!0});var ei=hn.extend({addHooks:function(){me(this._map._container,"leaflet-touch-zoom"),Ne(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){ve(this._map._container,"leaflet-touch-zoom"),Ae(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var n=e.mouseEventToContainerPoint(t.touches[0]),r=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(n.add(r)._divideBy(2))),this._startDist=n.distanceTo(r),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),Ne(document,"touchmove",this._onTouchMove,this),Ne(document,"touchend",this._onTouchEnd,this),We(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,n=e.mouseEventToContainerPoint(t.touches[0]),r=e.mouseEventToContainerPoint(t.touches[1]),a=n.distanceTo(r)/this._startDist;if(this._zoom=e.getScaleZoom(a,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoome.getMaxZoom()&&a>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===a)return}else{var o=n._add(r)._divideBy(2)._subtract(this._centerPoint);if(1===a&&0===o.x&&0===o.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(o),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),M(this._animRequest);var s=i(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=C(s,this,!0),We(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,M(this._animRequest),Ae(document,"touchmove",this._onTouchMove,this),Ae(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}});tn.addInitHook("addHandler","touchZoom",ei),tn.BoxZoom=Qr,tn.DoubleClickZoom=Xr,tn.Drag=$r,tn.Keyboard=Gr,tn.ScrollWheelZoom=Jr,tn.Tap=ti,tn.TouchZoom=ei,t.version=e,t.Control=nn,t.control=rn,t.Browser=Dt,t.Evented=j,t.Mixin=mn,t.Util=S,t.Class=E,t.Handler=hn,t.extend=n,t.bind=i,t.stamp=o,t.setOptions=h,t.DomEvent=Ge,t.DomUtil=De,t.PosAnimation=Je,t.Draggable=bn,t.LineUtil=Nn,t.PolyUtil=An,t.Point=D,t.point=A,t.Bounds=R,t.bounds=I,t.Transformation=q,t.transformation=Z,t.Projection=zn,t.LatLng=B,t.latLng=H,t.LatLngBounds=z,t.latLngBounds=F,t.CRS=U,t.GeoJSON=ur,t.geoJSON=yr,t.geoJson=br,t.Layer=Un,t.LayerGroup=Wn,t.layerGroup=Vn,t.FeatureGroup=Yn,t.featureGroup=qn,t.ImageOverlay=_r,t.imageOverlay=wr,t.VideoOverlay=xr,t.videoOverlay=kr,t.SVGOverlay=Or,t.svgOverlay=Cr,t.DivOverlay=Mr,t.Popup=Sr,t.popup=Er,t.Tooltip=Tr,t.tooltip=Pr,t.Icon=Zn,t.icon=Kn,t.DivIcon=jr,t.divIcon=Dr,t.Marker=$n,t.marker=Gn,t.TileLayer=Ar,t.tileLayer=Rr,t.GridLayer=Nr,t.gridLayer=Lr,t.SVG=Yr,t.svg=qr,t.Renderer=Fr,t.Canvas=Br,t.canvas=Hr,t.Path=Jn,t.CircleMarker=tr,t.circleMarker=er,t.Circle=nr,t.circle=rr,t.Polyline=ir,t.polyline=ar,t.Polygon=or,t.polygon=sr,t.Rectangle=Zr,t.rectangle=Kr,t.Map=tn,t.map=en;var ni=window.L;t.noConflict=function(){return window.L=ni,this},window.L=t}(e)},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(9),i=n(5),a=n(14);function o(t,e){Object(i.a)(1,arguments);var n=e||{},o=n.locale,s=o&&o.options&&o.options.weekStartsOn,u=null==s?0:Object(a.a)(s),l=null==n.weekStartsOn?u:Object(a.a)(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=Object(r.default)(t),f=c.getUTCDay(),d=(f=0&&"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"d",(function(){return u}));var r={prefix:"far",iconName:"calendar-days",icon:[448,512,["calendar-alt"],"f073","M152 64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0C141.3 0 152 10.75 152 24V64zM48 248H128V192H48V248zM48 296V360H128V296H48zM176 296V360H272V296H176zM320 296V360H400V296H320zM400 192H320V248H400V192zM400 408H320V464H384C392.8 464 400 456.8 400 448V408zM272 408H176V464H272V408zM128 408H48V448C48 456.8 55.16 464 64 464H128V408zM272 192H176V248H272V192z"]},i=r,a={prefix:"far",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9898,9899,11044,61708,61915,9679],"f111","M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]},o={prefix:"far",iconName:"circle-right",icon:[512,512,[61838,"arrow-alt-circle-right"],"f35a","M280.2 150.2C273.1 143.8 262.1 142.2 254.3 146.1S239.1 158.5 239.1 167.1l.002 56L152 224C138.8 224 128 234.8 128 248v16C128 277.3 138.8 288 152 288L240 287.1v56c0 9.531 5.656 18.16 14.38 22c8.75 3.812 18.91 2.094 25.91-4.375l96-88.75C381.2 268.3 384 261.9 384 255.2c-.3125-7.781-2.875-13.25-7.844-17.75L280.2 150.2zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464z"]},s=o,u={prefix:"far",iconName:"copy",icon:[512,512,[],"f0c5","M502.6 70.63l-61.25-61.25C435.4 3.371 427.2 0 418.7 0H255.1c-35.35 0-64 28.66-64 64l.0195 256C192 355.4 220.7 384 256 384h192c35.2 0 64-28.8 64-64V93.25C512 84.77 508.6 76.63 502.6 70.63zM464 320c0 8.836-7.164 16-16 16H255.1c-8.838 0-16-7.164-16-16L239.1 64.13c0-8.836 7.164-16 16-16h128L384 96c0 17.67 14.33 32 32 32h47.1V320zM272 448c0 8.836-7.164 16-16 16H63.1c-8.838 0-16-7.164-16-16L47.98 192.1c0-8.836 7.164-16 16-16H160V128H63.99c-35.35 0-64 28.65-64 64l.0098 256C.002 483.3 28.66 512 64 512h192c35.2 0 64-28.8 64-64v-32h-47.1L272 448z"]}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(9),i=n(5);function a(t){Object(i.a)(1,arguments);var e=1,n=Object(r.default)(t),a=n.getUTCDay(),o=(a=0||(i[n]=t[n]);return i}n.d(e,"a",(function(){return r}))},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(96);function i(t,e){if(t){if("string"===typeof t)return Object(r.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(t,e):void 0}}},function(t,e,n){"use strict";function r(t){return"[object String]"===Object.prototype.toString.call(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";e.a={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}}},function(t,e,n){"use strict";var r=n(102),i=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=f;var a=n(95);a.inherits=n(75);var o=n(168),s=n(137);a.inherits(f,o);for(var u=i(s.prototype),l=0;l=l?u:(n.setFullYear(u.getFullYear(),u.getMonth(),s),n)}},function(t,e,n){"use strict";function r(t){return"[object Object]"===Object.prototype.toString.call(t)}n.d(e,"a",(function(){return r}))},,function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return a}));var r=n(9),i=n(5);function a(t){Object(i.a)(1,arguments);var e=Object(r.default)(t);return e.setHours(0,0,0,0),e}},function(t,e,n){"use strict";var r=n(48),i=n(20),a=n(17),o=n(81),s=Object(a.a)((function(t,e){return 1===t?Object(i.a)(e):Object(r.a)(t,Object(o.a)(t,[],e))}));e.a=s},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(82),i=n(5);function a(t){return Object(i.a)(1,arguments),Object(r.default)(t,{weekStartsOn:1})}},function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i}));Math.pow(10,8);var r=6e4,i=36e5},function(t,e){"function"===typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return o}));var r=n(2),i=r.createContext(),a=r.createContext();function o(t){var e=t.children,n=r.useState(null),o=n[0],s=n[1],u=r.useRef(!1);r.useEffect((function(){return function(){u.current=!0}}),[]);var l=r.useCallback((function(t){u.current||s(t)}),[]);return r.createElement(i.Provider,{value:o},r.createElement(a.Provider,{value:l},e))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(55);function i(t,e){return function(){var n=arguments.length;if(0===n)return e();var i=arguments[n-1];return Object(r.a)(i)||"function"!==typeof i[t]?e.apply(this,arguments):i[t].apply(i,Array.prototype.slice.call(arguments,0,n-1))}}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(14),i=n(9),a=n(5);function o(t,e){Object(a.a)(2,arguments);var n=Object(i.default)(t).getTime(),o=Object(r.a)(e);return new Date(n+o)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(9),i=n(5),a=n(54),o=n(14);function s(t,e){Object(i.a)(1,arguments);var n=Object(r.default)(t),s=n.getUTCFullYear(),u=e||{},l=u.locale,c=l&&l.options&&l.options.firstWeekContainsDate,f=null==c?1:Object(o.a)(c),d=null==u.firstWeekContainsDate?f:Object(o.a)(u.firstWeekContainsDate);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=new Date(0);h.setUTCFullYear(s+1,0,d),h.setUTCHours(0,0,0,0);var p=Object(a.a)(h,e),m=new Date(0);m.setUTCFullYear(s,0,d),m.setUTCHours(0,0,0,0);var v=Object(a.a)(m,e);return n.getTime()>=p.getTime()?s+1:n.getTime()>=v.getTime()?s:s-1}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(48),i=n(32);function a(t,e,n){return function(){for(var o=[],s=0,u=t,l=0;l=arguments.length)?c=e[l]:(c=arguments[s],s+=1),o[l]=c,Object(i.a)(c)||(u-=1),l+=1}return u<=0?n.apply(this,o):Object(r.a)(u,a(t,o,n))}}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return o}));var r=n(9),i=n(14),a=n(5);function o(t,e){Object(a.a)(1,arguments);var n=e||{},o=n.locale,s=o&&o.options&&o.options.weekStartsOn,u=null==s?0:Object(i.a)(s),l=null==n.weekStartsOn?u:Object(i.a)(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=Object(r.default)(t),f=c.getDay(),d=(f0?"in "+i:i+" ago":i};function a(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,r=t.formats[n]||t.formats[t.defaultWidth];return r}}var o={date:a({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:a({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:a({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function u(t){return function(e,n){var r,i=n||{};if("formatting"===(i.context?String(i.context):"standalone")&&t.formattingValues){var a=t.defaultFormattingWidth||t.defaultWidth,o=i.width?String(i.width):a;r=t.formattingValues[o]||t.formattingValues[a]}else{var s=t.defaultWidth,u=i.width?String(i.width):t.defaultWidth;r=t.values[u]||t.values[s]}return r[t.argumentCallback?t.argumentCallback(e):e]}}function l(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,i=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],a=e.match(i);if(!a)return null;var o,s=a[0],u=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(u)?f(u,(function(t){return t.test(s)})):c(u,(function(t){return t.test(s)}));o=t.valueCallback?t.valueCallback(l):l,o=n.valueCallback?n.valueCallback(o):o;var d=e.slice(s.length);return{value:o,rest:d}}}function c(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function f(t,e){for(var n=0;n20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:u({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:u({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:u({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:u({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:u({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:(d={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(d.matchPattern);if(!n)return null;var r=n[0],i=t.match(d.parsePattern);if(!i)return null;var a=d.valueCallback?d.valueCallback(i[0]):i[0];a=e.valueCallback?e.valueCallback(a):a;var o=t.slice(r.length);return{value:a,rest:o}}),era:l({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:l({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(t){return t+1}}),month:l({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:l({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:l({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}};e.a=h},function(t,e,n){"use strict";var r=n(17);function i(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function a(t,e,n){for(var r=0,i=n.length;r=0;){if(n[a]===t)return r[a]===e;a-=1}switch(i){case"Map":return t.size===e.size&&c(t.entries(),e.entries(),n.concat([t]),r.concat([e]));case"Set":return t.size===e.size&&c(t.values(),e.values(),n.concat([t]),r.concat([e]));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)(t);if(d.length!==Object(u.a)(e).length)return!1;var h=n.concat([t]),p=r.concat([e]);for(a=d.length-1;a>=0;){var m=d[a];if(!Object(o.a)(m,e)||!f(e[m],t[m],h,p))return!1;a-=1}return!0}var d=Object(r.a)((function(t,e){return f(t,e,[],[])}));e.a=d},function(t,e,n){"use strict";n.d(e,"a",(function(){return Wo})),n.d(e,"b",(function(){return Vo})),n.d(e,"c",(function(){return Uo}));var r=n(22),i=n(3),a=n(73),o=n(36);function s(t,e,n){return(s="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Object(o.a)(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}var u=n(34),l=n(33),c=n(7),f=n(10),d=n(27),h=n(19),p=n(18);var m="undefined"===typeof window?function(t){return t()}:window.requestAnimationFrame;function v(t,e,n){var r=n||function(t){return Array.prototype.slice.call(t)},i=!1,a=[];return function(){for(var n=arguments.length,o=new Array(n),s=0;s=0;i--)e.call(n,t[i],i);else for(i=0;in;)t=t[e.substr(n,r-n)],r=I(e,n=r+1);return t}function F(t){return t.charAt(0).toUpperCase()+t.slice(1)}var B=function(t){return"undefined"!==typeof t},H=function(t){return"function"===typeof t},U=function(t,e){if(t.size!==e.size)return!1;var n,r=Object(d.a)(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(!e.has(i))return!1}}catch(a){r.e(a)}finally{r.f()}return!0};var W=Math.PI,V=2*W,Y=V+W,q=Number.POSITIVE_INFINITY,Z=W/180,K=W/2,Q=W/4,X=2*W/3,$=Math.log10,G=Math.sign;function J(t){var e=Math.round(t);t=et(t,e,t/1e3)?e:t;var n=Math.pow(10,Math.floor($(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function tt(t){return!isNaN(parseFloat(t))&&isFinite(t)}function et(t,e,n){return Math.abs(t-e)u&&l3&&void 0!==arguments[3]?arguments[3]:1e-6;return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}var ht=function(t){return 0===t||1===t},pt=function(t,e,n){return-Math.pow(2,10*(t-=1))*Math.sin((t-e)*V/n)},mt=function(t,e,n){return Math.pow(2,-10*t)*Math.sin((t-e)*V/n)+1},vt={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*K)},easeOutSine:function(t){return Math.sin(t*K)},easeInOutSine:function(t){return-.5*(Math.cos(W*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return ht(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1)))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){return ht(t)?t:pt(t,.075,.3)},easeOutElastic:function(t){return ht(t)?t:mt(t,.075,.3)},easeInOutElastic:function(t){var e=.1125;return ht(t)?t:t<.5?.5*pt(2*t,e,.45):.5+.5*mt(2*t-1,e,.45)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-vt.easeOutBounce(1-t)},easeOutBounce:function(t){var e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*vt.easeInBounce(2*t):.5*vt.easeOutBounce(2*t-1)+.5}},gt={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},yt="0123456789ABCDEF",bt=function(t){return yt[15&t]},_t=function(t){return yt[(240&t)>>4]+yt[15&t]},wt=function(t){return(240&t)>>4===(15&t)};function xt(t){var e=function(t){return wt(t.r)&&wt(t.g)&&wt(t.b)&&wt(t.a)}(t)?bt:_t;return t?"#"+e(t.r)+e(t.g)+e(t.b)+(t.a<255?e(t.a):""):t}function kt(t){return t+.5|0}var Ot=function(t,e,n){return Math.max(Math.min(t,n),e)};function Ct(t){return Ot(kt(2.55*t),0,255)}function Mt(t){return Ot(kt(255*t),0,255)}function St(t){return Ot(kt(t/2.55)/100,0,1)}function Et(t){return Ot(kt(100*t),0,100)}var Tt=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;var Pt=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function jt(t,e,n){var r=e*Math.min(n,1-n),i=function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+t/30)%12;return n-r*Math.max(Math.min(i-3,9-i,1),-1)};return[i(0),i(8),i(4)]}function Dt(t,e,n){var r=function(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(r+t/60)%6;return n-n*e*Math.max(Math.min(i,4-i,1),0)};return[r(5),r(3),r(1)]}function Nt(t,e,n){var r,i=jt(t,1,.5);for(e+n>1&&(e*=r=1/(e+n),n*=r),r=0;r<3;r++)i[r]*=1-e-n,i[r]+=e;return i}function Lt(t){var e,n,r,i=t.r/255,a=t.g/255,o=t.b/255,s=Math.max(i,a,o),u=Math.min(i,a,o),l=(s+u)/2;return s!==u&&(r=s-u,n=l>.5?r/(2-s-u):r/(s+u),e=60*(e=s===i?(a-o)/r+(a>16&255,n>>8&255,255&n]}return a}()).transparent=[0,0,0,0]);var e=Ft[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}function Wt(t,e,n){if(t){var r=Lt(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,0===e?360:1)),r=Rt(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function Vt(t,e){return t?Object.assign(e||{},t):t}function Yt(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=Mt(t[3]))):(e=Vt(t,{r:0,g:0,b:0,a:1})).a=Mt(e.a),e}function qt(t){return"r"===t.charAt(0)?function(t){var e,n,r,i=Tt.exec(t),a=255;if(i){if(i[7]!==e){var o=+i[7];a=255&(i[8]?Ct(o):255*o)}return e=+i[1],n=+i[3],r=+i[5],{r:e=255&(i[2]?Ct(e):e),g:n=255&(i[4]?Ct(n):n),b:r=255&(i[6]?Ct(r):r),a:a}}}(t):zt(t)}var Zt=function(){function t(e){if(Object(h.a)(this,t),e instanceof t)return e;var n,r=typeof e;"object"===r?n=Yt(e):"string"===r&&(n=function(t){var e,n=t.length;return"#"===t[0]&&(4===n||5===n?e={r:255&17*gt[t[1]],g:255&17*gt[t[2]],b:255&17*gt[t[3]],a:5===n?17*gt[t[4]]:255}:7!==n&&9!==n||(e={r:gt[t[1]]<<4|gt[t[2]],g:gt[t[3]]<<4|gt[t[4]],b:gt[t[5]]<<4|gt[t[6]],a:9===n?gt[t[7]]<<4|gt[t[8]]:255})),e}(e)||Ut(e)||qt(e)),this._rgb=n,this._valid=!!n}return Object(p.a)(t,[{key:"valid",get:function(){return this._valid}},{key:"rgb",get:function(){var t=Vt(this._rgb);return t&&(t.a=St(t.a)),t},set:function(t){this._rgb=Yt(t)}},{key:"rgbString",value:function(){return this._valid?(t=this._rgb)&&(t.a<255?"rgba(".concat(t.r,", ").concat(t.g,", ").concat(t.b,", ").concat(St(t.a),")"):"rgb(".concat(t.r,", ").concat(t.g,", ").concat(t.b,")")):this._rgb;var t}},{key:"hexString",value:function(){return this._valid?xt(this._rgb):this._rgb}},{key:"hslString",value:function(){return this._valid?function(t){if(t){var e=Lt(t),n=e[0],r=Et(e[1]),i=Et(e[2]);return t.a<255?"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(St(t.a),")"):"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)")}}(this._rgb):this._rgb}},{key:"mix",value:function(t,e){var n=this;if(t){var r,i=n.rgb,a=t.rgb,o=e===r?.5:e,s=2*o-1,u=i.a-a.a,l=((s*u===-1?s:(s+u)/(1+s*u))+1)/2;r=1-l,i.r=255&l*i.r+r*a.r+.5,i.g=255&l*i.g+r*a.g+.5,i.b=255&l*i.b+r*a.b+.5,i.a=o*i.a+(1-o)*a.a,n.rgb=i}return n}},{key:"clone",value:function(){return new t(this.rgb)}},{key:"alpha",value:function(t){return this._rgb.a=Mt(t),this}},{key:"clearer",value:function(t){return this._rgb.a*=1-t,this}},{key:"greyscale",value:function(){var t=this._rgb,e=kt(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}},{key:"opaquer",value:function(t){return this._rgb.a*=1+t,this}},{key:"negate",value:function(){var t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}},{key:"lighten",value:function(t){return Wt(this._rgb,2,t),this}},{key:"darken",value:function(t){return Wt(this._rgb,2,-t),this}},{key:"saturate",value:function(t){return Wt(this._rgb,1,t),this}},{key:"desaturate",value:function(t){return Wt(this._rgb,1,-t),this}},{key:"rotate",value:function(t){return function(t,e){var n=Lt(t);n[0]=It(n[0]+e),n=Rt(n),t.r=n[0],t.g=n[1],t.b=n[2]}(this._rgb,t),this}}]),t}();function Kt(t){return new Zt(t)}var Qt=function(t){return t instanceof CanvasGradient||t instanceof CanvasPattern};function Xt(t){return Qt(t)?t:Kt(t)}function $t(t){return Qt(t)?t:Kt(t).saturate(.5).darken(.1).hexString()}var Gt=Object.create(null),Jt=Object.create(null);function te(t,e){if(!e)return t;for(var n=e.split("."),r=0,i=n.length;rr&&(r=a),r}function ie(t,e,n,r){var i=(r=r||{}).data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(i=r.data={},a=r.garbageCollect=[],r.font=e),t.save(),t.font=e;var o,s,u,l,c,f=0,d=n.length;for(o=0;on.length){for(o=0;o0&&t.stroke()}}function ue(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.xe.top-n&&t.y5&&void 0!==arguments[5]?arguments[5]:{},u=x(e)?e:[e],l=s.strokeWidth>0&&""!==s.strokeColor;for(t.save(),t.font=i.string,pe(t,s),a=0;a1;)n(r=a+i>>1)?a=r:i=r;return{lo:a,hi:i}}var Ee=function(t,e,n){return Se(t,n,(function(r){return t[r][e]=n}))};var Pe=["push","pop","shift","splice","unshift"];function je(t,e){var n=t._chartjs;if(n){var r=n.listeners,i=r.indexOf(e);-1!==i&&r.splice(i,1),r.length>0||(Pe.forEach((function(e){delete t[e]})),delete t._chartjs)}}function De(t){var e,n,r=new Set;for(e=0,n=t.length;e1&&void 0!==arguments[1]?arguments[1]:[""],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,a=arguments.length>3?arguments[3]:void 0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){return t[0]};B(a)||(a=Ye("_fallback",t));var s=(e={},Object(f.a)(e,Symbol.toStringTag,"Object"),Object(f.a)(e,"_cacheable",!0),Object(f.a)(e,"_scopes",t),Object(f.a)(e,"_rootScopes",i),Object(f.a)(e,"_fallback",a),Object(f.a)(e,"_getTarget",o),Object(f.a)(e,"override",(function(e){return Ne([e].concat(Object(r.a)(t)),n,i,a)})),e);return new Proxy(s,{deleteProperty:function(e,n){return delete e[n],delete e._keys,delete t[0][n],!0},get:function(e,r){return ze(e,r,(function(){return Ve(r,n,t,e)}))},getOwnPropertyDescriptor:function(t,e){return Reflect.getOwnPropertyDescriptor(t._scopes[0],e)},getPrototypeOf:function(){return Reflect.getPrototypeOf(t[0])},has:function(t,e){return qe(t).includes(e)},ownKeys:function(t){return qe(t)},set:function(t,e,n){var r=t._storage||(t._storage=o());return t[e]=r[e]=n,delete t._keys,!0}})}function Le(t,e,n,r){var i={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:Ae(t,r),setContext:function(e){return Le(t,e,n,r)},override:function(i){return Le(t.override(i),e,n,r)}};return new Proxy(i,{deleteProperty:function(e,n){return delete e[n],delete t[n],!0},get:function(t,e,n){return ze(t,e,(function(){return function(t,e,n){var r=t._proxy,i=t._context,a=t._subProxy,o=t._descriptors,s=r[e];H(s)&&o.isScriptable(e)&&(s=function(t,e,n,r){var i=n._proxy,a=n._context,o=n._subProxy,s=n._stack;if(s.has(t))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+t);s.add(t),e=e(a,o||r),s.delete(t),Ie(t,e)&&(e=Ue(i._scopes,i,t,e));return e}(e,s,t,n));x(s)&&s.length&&(s=function(t,e,n,r){var i=n._proxy,a=n._context,o=n._subProxy,s=n._descriptors;if(B(a.index)&&r(t))e=e[a.index%e.length];else if(k(e[0])){var u=e,l=i._scopes.filter((function(t){return t!==u}));e=[];var c,f=Object(d.a)(u);try{for(f.s();!(c=f.n()).done;){var h=Ue(l,i,t,c.value);e.push(Le(h,a,o&&o[t],s))}}catch(p){f.e(p)}finally{f.f()}}return e}(e,s,t,o.isIndexable));Ie(e,s)&&(s=Le(s,i,a&&a[e],o));return s}(t,e,n)}))},getOwnPropertyDescriptor:function(e,n){return e._descriptors.allKeys?Reflect.has(t,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,n)},getPrototypeOf:function(){return Reflect.getPrototypeOf(t)},has:function(e,n){return Reflect.has(t,n)},ownKeys:function(){return Reflect.ownKeys(t)},set:function(e,n,r){return t[n]=r,delete e[n],!0}})}function Ae(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{scriptable:!0,indexable:!0},n=t._scriptable,r=void 0===n?e.scriptable:n,i=t._indexable,a=void 0===i?e.indexable:i,o=t._allKeys,s=void 0===o?e.allKeys:o;return{allKeys:s,scriptable:r,indexable:a,isScriptable:H(r)?r:function(){return r},isIndexable:H(a)?a:function(){return a}}}var Re=function(t,e){return t?t+F(e):e},Ie=function(t,e){return k(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object)};function ze(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];var r=n();return t[e]=r,r}function Fe(t,e,n){return H(t)?t(e,n):t}var Be=function(t,e){return!0===t?e:"string"===typeof t?z(e,t):void 0};function He(t,e,n,r,i){var a,o=Object(d.a)(e);try{for(o.s();!(a=o.n()).done;){var s=a.value,u=Be(n,s);if(u){t.add(u);var l=Fe(u._fallback,n,i);if(B(l)&&l!==n&&l!==r)return l}else if(!1===u&&B(r)&&n!==r)return null}}catch(c){o.e(c)}finally{o.f()}return!1}function Ue(t,e,n,i){var a=e._rootScopes,o=Fe(e._fallback,n,i),s=[].concat(Object(r.a)(t),Object(r.a)(a)),u=new Set;u.add(i);var l=We(u,s,n,o||n,i);return null!==l&&((!B(o)||o===n||null!==(l=We(u,s,o,l,i)))&&Ne(Array.from(u),[""],a,o,(function(){return function(t,e,n){var r=t._getTarget();e in r||(r[e]={});var i=r[e];if(x(i)&&k(n))return n;return i}(e,n,i)})))}function We(t,e,n,r,i){for(;n;)n=He(t,e,n,r,i);return n}function Ve(t,e,n,r){var i,a,o=Object(d.a)(e);try{for(o.s();!(a=o.n()).done;){var s=a.value;if(i=Ye(Re(s,t),n),B(i))return Ie(t,i)?Ue(n,r,t,i):i}}catch(u){o.e(u)}finally{o.f()}}function Ye(t,e){var n,r=Object(d.a)(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i){var a=i[t];if(B(a))return a}}}catch(o){r.e(o)}finally{r.f()}}function qe(t){var e=t._keys;return e||(e=t._keys=function(t){var e,n=new Set,r=Object(d.a)(t);try{for(r.s();!(e=r.n()).done;){var i,a=e.value,o=Object(d.a)(Object.keys(a).filter((function(t){return!t.startsWith("_")})));try{for(o.s();!(i=o.n()).done;){var s=i.value;n.add(s)}}catch(u){o.e(u)}finally{o.f()}}}catch(u){r.e(u)}finally{r.f()}return Array.from(n)}(t._scopes)),e}var Ze=Number.EPSILON||1e-14,Ke=function(t,e){return e2&&void 0!==arguments[2]?arguments[2]:"x",o=Qe(a),s=t.length,u=Ke(t,0),l=0;l1&&void 0!==arguments[1]?arguments[1]:"x",a=Qe(i),o=t.length,s=Array(o).fill(0),u=Array(o),l=Ke(t,0);for(e=0;e0||e>0)&&(!n||!n.shadowRoot)}(s,u,i.target))n=s,r=u;else{var c=e.getBoundingClientRect();n=o.clientX-c.left,r=o.clientY-c.top,l=!0}return{x:n,y:r,box:l}}(t,n),l=u.x,c=u.y,f=u.box,d=o.left+(f&&s.left),h=o.top+(f&&s.top),p=e.width,m=e.height;return a&&(p-=o.width+s.width,m-=o.height+s.height),{x:Math.round((l-d)/p*n.width/r),y:Math.round((c-h)/m*n.height/r)}}var ln=function(t){return Math.round(10*t)/10};function cn(t,e,n,r){var i=an(t),a=sn(i,"margin"),o=rn(i.maxWidth,t,"clientWidth")||q,s=rn(i.maxHeight,t,"clientHeight")||q,u=function(t,e,n){var r,i;if(void 0===e||void 0===n){var a=nn(t);if(a){var o=a.getBoundingClientRect(),s=an(a),u=sn(s,"border","width"),l=sn(s,"padding");e=o.width-l.width-u.width,n=o.height-l.height-u.height,r=rn(s.maxWidth,a,"clientWidth"),i=rn(s.maxHeight,a,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:r||q,maxHeight:i||q}}(t,e,n),l=u.width,c=u.height;if("content-box"===i.boxSizing){var f=sn(i,"border","width"),d=sn(i,"padding");l-=d.width+f.width,c-=d.height+f.height}return l=Math.max(0,l-a.width),c=Math.max(0,r?Math.floor(l/r):c-a.height),l=ln(Math.min(l,o,u.maxWidth)),c=ln(Math.min(c,s,u.maxHeight)),l&&!c&&(c=ln(l/2)),{width:l,height:c}}function fn(t,e,n){var r=e||1,i=Math.floor(t.height*r),a=Math.floor(t.width*r);t.height=i/r,t.width=a/r;var o=t.canvas;return o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height="".concat(t.height,"px"),o.style.width="".concat(t.width,"px")),(t.currentDevicePixelRatio!==r||o.height!==i||o.width!==a)&&(t.currentDevicePixelRatio=r,o.height=i,o.width=a,t.ctx.setTransform(r,0,0,r,0,0),!0)}var dn=function(){var t=!1;try{var e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(n){}return t}();function hn(t,e){var n=function(t,e){return an(t).getPropertyValue(e)}(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function pn(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function mn(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:"middle"===r?n<.5?t.y:e.y:"after"===r?n<1?t.y:e.y:n>0?e.y:t.y}}function vn(t,e,n,r){var i={x:t.cp2x,y:t.cp2y},a={x:e.cp1x,y:e.cp1y},o=pn(t,i,n),s=pn(i,a,n),u=pn(a,e,n),l=pn(o,s,n),c=pn(s,u,n);return pn(l,c,n)}var gn=new Map;function yn(t,e,n){return function(t,e){e=e||{};var n=t+JSON.stringify(e),r=gn.get(n);return r||(r=new Intl.NumberFormat(t,e),gn.set(n,r)),r}(e,n).format(t)}function bn(t,e,n){return t?function(t,e){return{x:function(n){return t+t+e-n},setWidth:function(t){e=t},textAlign:function(t){return"center"===t?t:"right"===t?"left":"right"},xPlus:function(t,e){return t-e},leftForLtr:function(t,e){return t-e}}}(e,n):{x:function(t){return t},setWidth:function(t){},textAlign:function(t){return t},xPlus:function(t,e){return t+e},leftForLtr:function(t,e){return t}}}function _n(t,e){var n,r;"ltr"!==e&&"rtl"!==e||(r=[(n=t.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function wn(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function xn(t){return"angle"===t?{between:ct,compare:ut,normalize:lt}:{between:dt,compare:function(t,e){return t-e},normalize:function(t){return t}}}function kn(t){var e=t.start,n=t.end,r=t.count;return{start:e%r,end:n%r,loop:t.loop&&(n-e+1)%r===0,style:t.style}}function On(t,e,n){if(!n)return[t];for(var r,i,a,o=n.property,s=n.start,u=n.end,l=e.length,c=xn(o),f=c.compare,d=c.between,h=c.normalize,p=function(t,e,n){var r,i,a=n.property,o=n.start,s=n.end,u=xn(a),l=u.between,c=u.normalize,f=e.length,d=t.start,h=t.end,p=t.loop;if(p){for(d+=f,h+=f,r=0,i=f;r0&&void 0!==arguments[0]?arguments[0]:Date.now(),n=0;this._charts.forEach((function(r,i){if(r.running&&r.items.length){for(var a,o=r.items,s=o.length-1,u=!1;s>=0;--s)(a=o[s])._active?(a._total>r.duration&&(r.duration=a._total),a.tick(e),u=!0):(o[s]=o[o.length-1],o.pop());u&&(i.draw(),t._notify(i,r,e,"progress")),o.length||(r.running=!1,t._notify(i,r,e,"complete"),r.initial=!1),n+=o.length}})),this._lastDate=e,0===n&&(this._running=!1)}},{key:"_getAnims",value:function(t){var e=this._charts,n=e.get(t);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,n)),n}},{key:"listen",value:function(t,e,n){this._getAnims(t).listeners[e].push(n)}},{key:"add",value:function(t,e){var n;e&&e.length&&(n=this._getAnims(t).items).push.apply(n,Object(r.a)(e))}},{key:"has",value:function(t){return this._getAnims(t).items.length>0}},{key:"start",value:function(t){var e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((function(t,e){return Math.max(t,e._duration)}),0),this._refresh())}},{key:"running",value:function(t){if(!this._running)return!1;var e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}},{key:"stop",value:function(t){var e=this._charts.get(t);if(e&&e.items.length){for(var n=e.items,r=n.length-1;r>=0;--r)n[r].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}}},{key:"remove",value:function(t){return this._charts.delete(t)}}]),t}()),Pn="transparent",jn={boolean:function(t,e,n){return n>.5?e:t},color:function(t,e,n){var r=Xt(t||Pn),i=r.valid&&Xt(e||Pn);return i&&i.valid?i.mix(r,n).hexString():e},number:function(t,e,n){return t+(e-t)*n}},Dn=function(){function t(e,n,r,i){Object(h.a)(this,t);var a=n[r];i=Ce([e.to,i,a,e.from]);var o=Ce([e.from,a,i]);this._active=!0,this._fn=e.fn||jn[e.type||typeof o],this._easing=vt[e.easing]||vt.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=r,this._from=o,this._to=i,this._promises=void 0}return Object(p.a)(t,[{key:"active",value:function(){return this._active}},{key:"update",value:function(t,e,n){if(this._active){this._notify(!1);var r=this._target[this._prop],i=n-this._start,a=this._duration-i;this._start=n,this._duration=Math.floor(Math.max(a,t.duration)),this._total+=i,this._loop=!!t.loop,this._to=Ce([t.to,e,r,t.from]),this._from=Ce([t.from,r,e])}}},{key:"cancel",value:function(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}},{key:"tick",value:function(t){var e,n=t-this._start,r=this._duration,i=this._prop,a=this._from,o=this._loop,s=this._to;if(this._active=a!==s&&(o||n1?2-e:e,e=this._easing(Math.min(1,Math.max(0,e))),this._target[i]=this._fn(a,s,e))}},{key:"wait",value:function(){var t=this._promises||(this._promises=[]);return new Promise((function(e,n){t.push({res:e,rej:n})}))}},{key:"_notify",value:function(t){for(var e=t?"res":"rej",n=this._promises||[],r=0;r=0;--n){var l=s[n];if("$"!==l.charAt(0))if("options"!==l){var c=e[l],f=o[l],d=i.get(l);if(f){if(d&&f.active()){f.update(d,c,u);continue}f.cancel()}d&&d.duration?(o[l]=f=new Dn(d,t,l,c),a.push(f)):t[l]=c}else a.push.apply(a,Object(r.a)(this._animateOptions(t,e)))}return a}},{key:"update",value:function(t,e){if(0!==this._properties.size){var n=this._createAnimations(t,e);return n.length?(Tn.add(this._chart,n),!0):void 0}Object.assign(t,e)}}]),t}();function An(t,e){var n=t&&t.options||{},r=n.reverse,i=void 0===n.min?e:0,a=void 0===n.max?e:0;return{start:r?a:i,end:r?i:a}}function Rn(t,e){var n,r,i=[],a=t._getSortedDatasetMetas(e);for(n=0,r=a.length;n3&&void 0!==arguments[3]?arguments[3]:{},u=t.keys,l="single"===s.mode;if(null!==e){for(r=0,i=u.length;r0||!n&&s<0)return o.index}}catch(u){a.e(u)}finally{a.f()}return null}function Hn(t,e){for(var n,r=t.chart,i=t._cachedMeta,a=r._stacks||(r._stacks={}),o=i.iScale,s=i.vScale,u=i.index,l=o.axis,c=s.axis,f=function(t,e,n){return"".concat(t.id,".").concat(e.id,".").concat(n.stack||n.type)}(o,s,i),d=e.length,h=0;h0&&a._parsed[t-1];if(!1===this._parsing)a._parsed=o,a._sorted=!0,i=o;else{i=x(o[t])?this.parseArrayData(a,o,t,e):k(o[t])?this.parseObjectData(a,o,t,e):this.parsePrimitiveData(a,o,t,e);for(n=0;ne||h=0;--n)if(!p()){this.updateRangeFromParsed(c,t,r,l);break}return c}},{key:"getAllParsedValues",value:function(t){var e,n,r,i=this._cachedMeta._parsed,a=[];for(e=0,n=i.length;e=0&&t1&&void 0!==arguments[1]?arguments[1]:"default",r=arguments.length>2?arguments[2]:void 0,i="active"===n,a=this._cachedDataOpts,o=t+"-"+n,s=a[o],u=this.enableOptionSharing&&B(r);if(s)return Yn(s,u);var l=this.chart.config,c=l.datasetElementScopeKeys(this._type,t),f=i?["".concat(t,"Hover"),"hover",t,""]:[t,""],d=l.getOptionScopes(this.getDataset(),c),h=Object.keys(ne.elements[t]),p=function(){return e.getContext(r,i)},m=l.resolveNamedOptions(d,h,p,f);return m.$shared&&(m.$shared=u,a[o]=Object.freeze(Yn(m,u))),m}},{key:"_resolveAnimations",value:function(t,e,n){var r,i=this.chart,a=this._cachedDataOpts,o="animation-".concat(e),s=a[o];if(s)return s;if(!1!==i.options.animation){var u=this.chart.config,l=u.datasetAnimationScopeKeys(this._type,e),c=u.getOptionScopes(this.getDataset(),l);r=u.createResolver(c,this.getContext(t,n,e))}var f=new Ln(i,r&&r.animations);return r&&r._cacheable&&(a[o]=Object.freeze(f)),f}},{key:"getSharedOptions",value:function(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}},{key:"includeOptions",value:function(t,e){return!e||Vn(t)||this.chart._animationsDisabled}},{key:"updateElement",value:function(t,e,n,r){Vn(r)?Object.assign(t,n):this._resolveAnimations(e,r).update(t,n)}},{key:"updateSharedOptions",value:function(t,e,n){t&&!Vn(e)&&this._resolveAnimations(void 0,e).update(t,n)}},{key:"_setStyle",value:function(t,e,n,r){t.active=r;var i=this.getStyle(e,r);this._resolveAnimations(e,n,r).update(t,{options:!r&&this.getSharedOptions(i)||i})}},{key:"removeHoverStyle",value:function(t,e,n){this._setStyle(t,n,"active",!1)}},{key:"setHoverStyle",value:function(t,e,n){this._setStyle(t,n,"active",!0)}},{key:"_removeDatasetHoverStyle",value:function(){var t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}},{key:"_setDatasetHoverStyle",value:function(){var t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}},{key:"_resyncElements",value:function(t){var e,n=this._data,r=this._cachedMeta.data,i=Object(d.a)(this._syncList);try{for(i.s();!(e=i.n()).done;){var a=Object(c.a)(e.value,3),o=a[0],s=a[1],u=a[2];this[o](s,u)}}catch(p){i.e(p)}finally{i.f()}this._syncList=[];var l=r.length,f=n.length,h=Math.min(f,l);h&&this.parse(0,h),f>l?this._insertElements(l,f-l,t):f2&&void 0!==arguments[2])||arguments[2],i=this._cachedMeta,a=i.data,o=t+e,s=function(t){for(t.length+=e,n=t.length-1;n>=o;n--)t[n]=t[n-e]};for(s(a),n=t;nMath.abs(s)&&(u=s,l=o),e[n.axis]=l,e._custom={barStart:u,barEnd:l,start:i,end:a,min:o,max:s}}(t,e,n,r):e[n.axis]=n.parse(t,r),e}function Qn(t,e,n,r){var i,a,o,s,u=t.iScale,l=t.vScale,c=u.getLabels(),f=u===l,d=[];for(i=n,a=n+r;it.x,n="left",r="right"):(e=t.base=n?1:-1)}(n,i,l)*u,h===l&&(g-=n/2),e=g+n),g===i.getPixelForValue(l)){var y=G(n)*i.getLineWidthForValue(l)/2;g+=y,n-=y}return{size:n,base:g,head:e,center:e+n/2}}},{key:"_calculateBarIndexPixels",value:function(t,e){var n,r,i=e.scale,a=this.options,o=a.skipNull,s=M(a.maxBarThickness,1/0);if(e.grouped){var u=o?this._getStackCount(t):e.stackCount,l="flex"===a.barThickness?function(t,e,n,r){var i=e.pixels,a=i[t],o=t>0?i[t-1]:null,s=t=0;--n)e=Math.max(e,t[n].size(this.resolveDataElementOptions(n))/2);return e>0&&e}},{key:"getLabelAndValue",value:function(t){var e=this._cachedMeta,n=e.xScale,r=e.yScale,i=this.getParsed(t),a=n.getLabelForValue(i.x),o=r.getLabelForValue(i.y),s=i._custom;return{label:e.label,value:"("+a+", "+o+(s?", "+s:"")+")"}}},{key:"update",value:function(t){var e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}},{key:"updateElements",value:function(t,e,n,r){for(var i="reset"===r,a=this._cachedMeta,o=a.iScale,s=a.vScale,u=this.resolveDataElementOptions(e,r),l=this.getSharedOptions(u),c=this.includeOptions(r,l),f=o.axis,d=s.axis,h=e;h0&&!isNaN(t)?V*(Math.abs(t)/e):0}},{key:"getLabelAndValue",value:function(t){var e=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=yn(e._parsed[t],n.options.locale);return{label:r[t]||"",value:i}}},{key:"getMaxBorderWidth",value:function(t){var e,n,r,i,a,o=0,s=this.chart;if(!t)for(e=0,n=s.data.datasets.length;e0&&this.getParsed(e-1),x=e;x0&&O[h]-_[h]>y,g&&(C.parsed=O,C.raw=l.data[x]),d&&(C.options=f||this.resolveDataElementOptions(x,k.active?"active":r)),b||this.updateElement(k,x,C,r),_=O}this.updateSharedOptions(f,r,c)}},{key:"getMaxOverflow",value:function(){var t=this._cachedMeta,e=t.dataset,n=e.options&&e.options.borderWidth||0,r=t.data||[];if(!r.length)return n;var i=r[0].size(this.resolveDataElementOptions(0)),a=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,a)/2}},{key:"draw",value:function(){var t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),s(Object(o.a)(n.prototype),"draw",this).call(this)}}]),n}(qn);ir.id="line",ir.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},ir.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};var ar=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(t,r){var i;return Object(h.a)(this,n),(i=e.call(this,t,r)).innerRadius=void 0,i.outerRadius=void 0,i}return Object(p.a)(n,[{key:"getLabelAndValue",value:function(t){var e=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=yn(e._parsed[t].r,n.options.locale);return{label:r[t]||"",value:i}}},{key:"update",value:function(t){var e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}},{key:"_updateRadius",value:function(){var t=this.chart,e=t.chartArea,n=t.options,r=Math.min(e.right-e.left,e.bottom-e.top),i=Math.max(r/2,0),a=(i-Math.max(n.cutoutPercentage?i/100*n.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=i-a*this.index,this.innerRadius=this.outerRadius-a}},{key:"updateElements",value:function(t,e,n,r){var i,a="reset"===r,o=this.chart,s=this.getDataset(),u=o.options.animation,l=this._cachedMeta.rScale,c=l.xCenter,f=l.yCenter,d=l.getIndexAngle(0)-.5*W,h=d,p=360/this.countVisibleElements();for(i=0;i0){var s=o[0].datasetIndex,u=t.getDatasetMeta(s).data;o=[];for(var l=0;l1){var o=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(o<1e-4||o>1e15)&&(r="scientific"),a=function(t,e){var n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t));return n}(t,n)}var s=$(Math.abs(a)),u=Math.max(Math.min(-1*Math.floor(s),20),0),l={notation:r,minimumFractionDigits:u,maximumFractionDigits:u};return Object.assign(l,this.options.ticks.format),yn(t,i,l)},logarithmic:function(t,e,n){if(0===t)return"0";var r=t/Math.pow(10,Math.floor($(t)));return 1===r||2===r||5===r?ti.numeric.call(this,t,e,n):""}};var ei={formatters:ti};function ni(t,e){var n=t.options.ticks,r=n.maxTicksLimit||function(t){var e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),i=t._maxLength/n;return Math.floor(Math.min(r,i))}(t),i=n.major.enabled?function(t){var e,n,r=[];for(e=0,n=t.length;er)return function(t,e,n,r){var i,a=0,o=n[0];for(r=Math.ceil(r),i=0;ii)return u}return Math.max(i,1)}(i,e,r);if(a>0){var c,f,d=a>1?Math.round((s-o)/(a-1)):null;for(ri(e,u,l,w(d)?0:o-d,o),c=0,f=a-1;cs+u)))return l}function si(t){return t.drawTicks?t.tickLength:0}function ui(t,e){if(!t.display)return 0;var n=Oe(t.font,e),r=ke(t.padding);return(x(t.text)?t.text.length:1)*n.lineHeight+r.height}function li(t,e,n){var r=g(t);return(n&&"right"!==e||!n&&"right"===e)&&(r=function(t){return"left"===t?"right":"right"===t?"left":t}(r)),r}var ci=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(t){var r;return Object(h.a)(this,n),(r=e.call(this)).id=t.id,r.type=t.type,r.options=void 0,r.ctx=t.ctx,r.chart=t.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(p.a)(n,[{key:"init",value:function(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}},{key:"parse",value:function(t,e){return t}},{key:"getUserBounds",value:function(){var t=this._userMin,e=this._userMax,n=this._suggestedMin,r=this._suggestedMax;return t=C(t,Number.POSITIVE_INFINITY),e=C(e,Number.NEGATIVE_INFINITY),n=C(n,Number.POSITIVE_INFINITY),r=C(r,Number.NEGATIVE_INFINITY),{min:C(t,n),max:C(e,r),minDefined:O(t),maxDefined:O(e)}}},{key:"getMinMax",value:function(t){var e,n=this.getUserBounds(),r=n.min,i=n.max,a=n.minDefined,o=n.maxDefined;if(a&&o)return{min:r,max:i};for(var s=this.getMatchingVisibleMetas(),u=0,l=s.length;ui?i:r,C(i=a&&r>i?r:i,r)),max:C(i,C(r,i))}}},{key:"getPadding",value:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}},{key:"getTicks",value:function(){return this.ticks}},{key:"getLabels",value:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}},{key:"beforeLayout",value:function(){this._cache={},this._dataLimitsCached=!1}},{key:"beforeUpdate",value:function(){E(this.options.beforeUpdate,[this])}},{key:"update",value:function(t,e,n){var r=this.options,i=r.beginAtZero,a=r.grace,o=r.ticks,s=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(t,e,n){var r=t.min,i=t.max,a=S(e,(i-r)/2),o=function(t,e){return n&&0===t?0:t+e};return{min:o(r,-Math.abs(a)),max:o(i,a)}}(this,a,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();var u=s=s||a<=1||!this.isHorizontal())this.labelRotation=o;else{var l=this._getLabelSizes(),c=l.widest.width,f=l.highest.height,d=ft(this.chart.width-c,0,this.maxWidth);c+6>(t=r.offset?this.maxWidth/a:d/(a-1))&&(t=d/(a-(r.offset?.5:1)),e=this.maxHeight-si(r.grid)-i.padding-ui(r.title,this.chart.options.font),n=Math.sqrt(c*c+f*f),u=it(Math.min(Math.asin(ft((l.highest.height+6)/t,-1,1)),Math.asin(ft(e/n,-1,1))-Math.asin(ft(f/n,-1,1)))),u=Math.max(o,Math.min(s,u))),this.labelRotation=u}}},{key:"afterCalculateLabelRotation",value:function(){E(this.options.afterCalculateLabelRotation,[this])}},{key:"beforeFit",value:function(){E(this.options.beforeFit,[this])}},{key:"fit",value:function(){var t={width:0,height:0},e=this.chart,n=this.options,r=n.ticks,i=n.title,a=n.grid,o=this._isVisible(),s=this.isHorizontal();if(o){var u=ui(i,e.options.font);if(s?(t.width=this.maxWidth,t.height=si(a)+u):(t.height=this.maxHeight,t.width=si(a)+u),r.display&&this.ticks.length){var l=this._getLabelSizes(),c=l.first,f=l.last,d=l.widest,h=l.highest,p=2*r.padding,m=rt(this.labelRotation),v=Math.cos(m),g=Math.sin(m);if(s){var y=r.mirror?0:g*d.width+v*h.height;t.height=Math.min(this.maxHeight,t.height+y+p)}else{var b=r.mirror?0:v*d.width+g*h.height;t.width=Math.min(this.maxWidth,t.width+b+p)}this._calculatePadding(c,f,g,v)}}this._handleMargins(),s?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}},{key:"_calculatePadding",value:function(t,e,n,r){var i=this.options,a=i.ticks,o=a.align,s=a.padding,u=i.position,l=0!==this.labelRotation,c="top"!==u&&"x"===this.axis;if(this.isHorizontal()){var f=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1),h=0,p=0;l?c?(h=r*t.width,p=n*e.height):(h=n*t.height,p=r*e.width):"start"===o?p=e.width:"end"===o?h=t.width:(h=t.width/2,p=e.width/2),this.paddingLeft=Math.max((h-f+s)*this.width/(this.width-f),0),this.paddingRight=Math.max((p-d+s)*this.width/(this.width-d),0)}else{var m=e.height/2,v=t.height/2;"start"===o?(m=0,v=t.height):"end"===o&&(m=e.height,v=0),this.paddingTop=m+s,this.paddingBottom=v+s}}},{key:"_handleMargins",value:function(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}},{key:"afterFit",value:function(){E(this.options.afterFit,[this])}},{key:"isHorizontal",value:function(){var t=this.options,e=t.axis,n=t.position;return"top"===n||"bottom"===n||"x"===e}},{key:"isFullSize",value:function(){return this.options.fullSize}},{key:"_convertTicksToLabels",value:function(t){var e,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,n=t.length;ee){for(n=0;ne.length-1?null:this.getPixelForValue(e[t].value)}},{key:"getPixelForDecimal",value:function(t){this._reversePixels&&(t=1-t);var e=this._startPixel+t*this._length;return ft(this._alignToPixels?ae(this.chart,e,0):e,-32768,32767)}},{key:"getDecimalForPixel",value:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}},{key:"getBasePixel",value:function(){return this.getPixelForValue(this.getBaseValue())}},{key:"getBaseValue",value:function(){var t=this.min,e=this.max;return t<0&&e<0?e:t>0&&e>0?t:0}},{key:"getContext",value:function(t){var e=this.ticks||[];if(t>=0&&to*r?o/n:s/r:s*r0}},{key:"_computeGridLineItems",value:function(t){var e,n,r,i,a,o,s,u,l,c,f,d,h=this.axis,p=this.chart,m=this.options,v=m.grid,g=m.position,y=v.offset,b=this.isHorizontal(),_=this.ticks.length+(y?1:0),w=si(v),x=[],O=v.setContext(this.getContext()),C=O.drawBorder?O.borderWidth:0,S=C/2,E=function(t){return ae(p,t,C)};if("top"===g)e=E(this.bottom),o=this.bottom-w,u=e-S,c=E(t.top)+S,d=t.bottom;else if("bottom"===g)e=E(this.top),c=t.top,d=E(t.bottom)-S,o=e+S,u=this.top+w;else if("left"===g)e=E(this.right),a=this.right-w,s=e-S,l=E(t.left)+S,f=t.right;else if("right"===g)e=E(this.left),l=t.left,f=E(t.right)-S,a=e+S,s=this.left+w;else if("x"===h){if("center"===g)e=E((t.top+t.bottom)/2+.5);else if(k(g)){var T=Object.keys(g)[0],P=g[T];e=E(this.chart.scales[T].getPixelForValue(P))}c=t.top,d=t.bottom,u=(o=e+S)+w}else if("y"===h){if("center"===g)e=E((t.left+t.right)/2);else if(k(g)){var j=Object.keys(g)[0],D=g[j];e=E(this.chart.scales[j].getPixelForValue(D))}s=(a=e-S)-w,l=t.left,f=t.right}var N=M(m.ticks.maxTicksLimit,_),L=Math.max(1,Math.ceil(_/N));for(n=0;n<_;n+=L){var A=v.setContext(this.getContext(n)),R=A.lineWidth,I=A.color,z=v.borderDash||[],F=A.borderDashOffset,B=A.tickWidth,H=A.tickColor,U=A.tickBorderDash||[],W=A.tickBorderDashOffset;void 0!==(r=oi(this,n,y))&&(i=ae(p,r,R),b?a=s=l=f=i:o=u=c=d=i,x.push({tx1:a,ty1:o,tx2:s,ty2:u,x1:l,y1:c,x2:f,y2:d,width:R,color:I,borderDash:z,borderDashOffset:F,tickWidth:B,tickColor:H,tickBorderDash:U,tickBorderDashOffset:W}))}return this._ticksLength=_,this._borderValue=e,x}},{key:"_computeLabelItems",value:function(t){var e,n,r,i,a,o,s,u,l,c,f,d=this.axis,h=this.options,p=h.position,m=h.ticks,v=this.isHorizontal(),g=this.ticks,y=m.align,b=m.crossAlign,_=m.padding,w=m.mirror,O=si(h.grid),C=O+_,M=w?-_:C,S=-rt(this.labelRotation),E=[],T="middle";if("top"===p)a=this.bottom-M,o=this._getXAxisLabelAlignment();else if("bottom"===p)a=this.top+M,o=this._getXAxisLabelAlignment();else if("left"===p){var P=this._getYAxisLabelAlignment(O);o=P.textAlign,i=P.x}else if("right"===p){var j=this._getYAxisLabelAlignment(O);o=j.textAlign,i=j.x}else if("x"===d){if("center"===p)a=(t.top+t.bottom)/2+C;else if(k(p)){var D=Object.keys(p)[0],N=p[D];a=this.chart.scales[D].getPixelForValue(N)+C}o=this._getXAxisLabelAlignment()}else if("y"===d){if("center"===p)i=(t.left+t.right)/2-C;else if(k(p)){var L=Object.keys(p)[0],A=p[L];i=this.chart.scales[L].getPixelForValue(A)}o=this._getYAxisLabelAlignment(O).textAlign}"y"===d&&("start"===y?T="top":"end"===y&&(T="bottom"));var R=this._getLabelSizes();for(e=0,n=g.length;e=0?e.setContext(this.getContext(n)).lineWidth:0}},{key:"drawGrid",value:function(t){var e,n,r=this.options.grid,i=this.ctx,a=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t)),o=function(t,e,n){n.width&&n.color&&(i.save(),i.lineWidth=n.width,i.strokeStyle=n.color,i.setLineDash(n.borderDash||[]),i.lineDashOffset=n.borderDashOffset,i.beginPath(),i.moveTo(t.x,t.y),i.lineTo(e.x,e.y),i.stroke(),i.restore())};if(r.display)for(e=0,n=a.length;e3&&void 0!==arguments[3]?arguments[3]:[""],i={$shared:!0},a=Ci(this._resolverCache,t,r),o=a.resolver,s=a.subPrefixes,u=o;if(Si(o,e)){i.$shared=!1,n=H(n)?n():n;var l=this.createResolver(t,n,s);u=Le(o,n,l)}var c,f=Object(d.a)(e);try{for(f.s();!(c=f.n()).done;){var h=c.value;i[h]=u[h]}}catch(p){f.e(p)}finally{f.f()}return i}},{key:"createResolver",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[""],r=arguments.length>3?arguments[3]:void 0,i=Ci(this._resolverCache,t,n),a=i.resolver;return k(e)?Le(a,e,void 0,r):a}}]),t}();function Ci(t,e,n){var r=t.get(e);r||(r=new Map,t.set(e,r));var i=n.join(),a=r.get(i);a||(a={resolver:Ne(e,n),subPrefixes:n.filter((function(t){return!t.toLowerCase().includes("hover")}))},r.set(i,a));return a}var Mi=function(t){return k(t)&&Object.getOwnPropertyNames(t).reduce((function(e,n){return e||H(t[n])}),!1)};function Si(t,e){var n,r=Ae(t),i=r.isScriptable,a=r.isIndexable,o=Object(d.a)(e);try{for(o.s();!(n=o.n()).done;){var s=n.value,u=i(s),l=a(s),c=(l||u)&&t[s];if(u&&(H(c)||Mi(c))||l&&x(c))return!0}}catch(f){o.e(f)}finally{o.f()}return!1}var Ei=["top","bottom","left","right","chartArea"];function Ti(t,e){return"top"===t||"bottom"===t||-1===Ei.indexOf(t)&&"x"===e}function Pi(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function ji(t){var e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),E(n&&n.onComplete,[t],e)}function Di(t){var e=t.chart,n=e.options.animation;E(n&&n.onProgress,[t],e)}function Ni(t){return en()&&"string"===typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}var Li={},Ai=function(t){var e=Ni(t);return Object.values(Li).filter((function(t){return t.canvas===e})).pop()};function Ri(t,e,n){for(var r=0,i=Object.keys(t);r=e){var s=t[a];delete t[a],(n>0||o>e)&&(t[o+n]=s)}}}var Ii=function(){function t(e,n){var r=this;Object(h.a)(this,t);var i=this.config=new Oi(n),a=Ni(e),o=Ai(a);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas can be reused.");var s=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||function(t){return!en()||"undefined"!==typeof OffscreenCanvas&&t instanceof OffscreenCanvas?zr:Gr}(a)),this.platform.updateConfig(i);var u=this.platform.acquireContext(a,s.aspectRatio),l=u&&u.canvas,c=l&&l.height,f=l&&l.width;this.id=_(),this.ctx=u,this.canvas=l,this.width=f,this.height=c,this._options=s,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 hi,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(t,e){var n;return function(){for(var r=arguments.length,i=new Array(r),a=0;ae){for(var r=e;rn.length&&delete this._stacks,e.forEach((function(e,r){0===n.filter((function(t){return t===e._dataset})).length&&t._destroyDatasetMeta(r)}))}},{key:"buildOrUpdateControllers",value:function(){var t,e,n=[],r=this.data.datasets;for(this._removeUnreferencedMetasets(),t=0,e=r.length;t=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}}},{key:"_drawDataset",value:function(t){var e=this.ctx,n=t._clip,r=!n.disabled,i=this.chartArea,a={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",a)&&(r&&le(e,{left:!1===n.left?0:i.left-n.left,right:!1===n.right?this.width:i.right+n.right,top:!1===n.top?0:i.top-n.top,bottom:!1===n.bottom?this.height:i.bottom+n.bottom}),t.controller.draw(),r&&ce(e),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}},{key:"getElementsAtEventForMode",value:function(t,e,n,r){var i=_r.modes[e];return"function"===typeof i?i(this,t,n,r):[]}},{key:"getDatasetMeta",value:function(t){var e=this.data.datasets[t],n=this._metasets,r=n.filter((function(t){return t&&t._dataset===e})).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},n.push(r)),r}},{key:"getContext",value:function(){return this.$context||(this.$context=Me(null,{chart:this,type:"chart"}))}},{key:"getVisibleDatasetCount",value:function(){return this.getSortedVisibleDatasetMetas().length}},{key:"isDatasetVisible",value:function(t){var e=this.data.datasets[t];if(!e)return!1;var n=this.getDatasetMeta(t);return"boolean"===typeof n.hidden?!n.hidden:!e.hidden}},{key:"setDatasetVisibility",value:function(t,e){this.getDatasetMeta(t).hidden=!e}},{key:"toggleDataVisibility",value:function(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}},{key:"getDataVisibility",value:function(t){return!this._hiddenIndices[t]}},{key:"_updateVisibility",value:function(t,e,n){var r=n?"show":"hide",i=this.getDatasetMeta(t),a=i.controller._resolveAnimations(void 0,r);B(e)?(i.data[e].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),a.update(i,{visible:n}),this.update((function(e){return e.datasetIndex===t?r:void 0})))}},{key:"hide",value:function(t,e){this._updateVisibility(t,e,!1)}},{key:"show",value:function(t,e){this._updateVisibility(t,e,!0)}},{key:"_destroyDatasetMeta",value:function(t){var e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}},{key:"_stop",value:function(){var t,e;for(this.stop(),Tn.remove(this),t=0,e=this.data.datasets.length;ti?(l=i/u,t.arc(a,o,u,n+l,r-l,!0)):t.arc(a,o,i,n+K,r-K),t.closePath(),t.clip()}function Hi(t,e,n,r){var i=_e(t.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]),a=(n-e)/2,o=Math.min(a,r*e/2),s=function(t){var e=(n-Math.min(a,t))*r/2;return ft(t,0,Math.min(a,e))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:ft(i.innerStart,0,o),innerEnd:ft(i.innerEnd,0,o)}}function Ui(t,e,n,r){return{x:n+t*Math.cos(e),y:r+t*Math.sin(e)}}function Wi(t,e,n,r,i){var a=e.x,o=e.y,s=e.startAngle,u=e.pixelMargin,l=e.innerRadius,c=Math.max(e.outerRadius+r+n-u,0),f=l>0?l+r+n+u:0,d=0,h=i-s;if(r){var p=((l>0?l-r:0)+(c>0?c-r:0))/2;d=(h-(0!==p?h*p/(p+r):h))/2}var m=(h-Math.max(.001,h*c-n/W)/c)/2,v=s+m+d,g=i-m-d,y=Hi(e,f,c,g-v),b=y.outerStart,_=y.outerEnd,w=y.innerStart,x=y.innerEnd,k=c-b,O=c-_,C=v+b/k,M=g-_/O,S=f+w,E=f+x,T=v+w/S,P=g-x/E;if(t.beginPath(),t.arc(a,o,c,C,M),_>0){var j=Ui(O,M,a,o);t.arc(j.x,j.y,_,M,g+K)}var D=Ui(E,g,a,o);if(t.lineTo(D.x,D.y),x>0){var N=Ui(E,P,a,o);t.arc(N.x,N.y,x,g+K,P+Math.PI)}if(t.arc(a,o,f,g-x/f,v+w/f,!0),w>0){var L=Ui(S,T,a,o);t.arc(L.x,L.y,w,T+Math.PI,v-K)}var A=Ui(k,v,a,o);if(t.lineTo(A.x,A.y),b>0){var R=Ui(k,C,a,o);t.arc(R.x,R.y,b,v-K,C)}t.closePath()}function Vi(t,e,n,r,i){var a=e.options,o=a.borderWidth,s=a.borderJoinStyle,u="inner"===a.borderAlign;o&&(u?(t.lineWidth=2*o,t.lineJoin=s||"round"):(t.lineWidth=o,t.lineJoin=s||"bevel"),e.fullCircles&&function(t,e,n){var r,i=e.x,a=e.y,o=e.startAngle,s=e.pixelMargin,u=e.fullCircles,l=Math.max(e.outerRadius-s,0),c=e.innerRadius+s;for(n&&Bi(t,e,o+V),t.beginPath(),t.arc(i,a,c,o+V,o,!0),r=0;r=V||ct(i,s,u),p=dt(a,l+d,c+d);return h&&p}},{key:"getCenterPoint",value:function(t){var e=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),n=e.x,r=e.y,i=e.startAngle,a=e.endAngle,o=e.innerRadius,s=e.outerRadius,u=this.options,l=u.offset,c=(i+a)/2,f=(o+s+u.spacing+l)/2;return{x:n+Math.cos(c)*f,y:r+Math.sin(c)*f}}},{key:"tooltipPosition",value:function(t){return this.getCenterPoint(t)}},{key:"draw",value:function(t){var e=this.options,n=this.circumference,r=(e.offset||0)/2,i=(e.spacing||0)/2;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=n>V?Math.floor(n/V):0,!(0===n||this.innerRadius<0||this.outerRadius<0)){t.save();var a=0;if(r){a=r/2;var o=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(o)*a,Math.sin(o)*a),this.circumference>=W&&(a=r)}t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor;var s=function(t,e,n,r){var i=e.fullCircles,a=e.startAngle,o=e.circumference,s=e.endAngle;if(i){Wi(t,e,n,r,a+V);for(var u=0;u2&&void 0!==arguments[2]?arguments[2]:e;t.lineCap=M(n.borderCapStyle,e.borderCapStyle),t.setLineDash(M(n.borderDash,e.borderDash)),t.lineDashOffset=M(n.borderDashOffset,e.borderDashOffset),t.lineJoin=M(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=M(n.borderWidth,e.borderWidth),t.strokeStyle=M(n.borderColor,e.borderColor)}function Zi(t,e,n){t.lineTo(n.x,n.y)}function Ki(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.length,i=n.start,a=void 0===i?0:i,o=n.end,s=void 0===o?r-1:o,u=e.start,l=e.end,c=Math.max(a,u),f=Math.min(s,l),d=al&&s>l;return{count:r,start:c,loop:e.loop,ilen:fu&&(u=O),b=(_*b+k)/++_):(x(),t.lineTo(k,O),o=C,_=0,s=u=O),l=O}x()}function $i(t){var e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&"monotone"!==e.cubicInterpolationMode&&!e.stepped&&!n?Xi:Qi}Yi.id="arc",Yi.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0},Yi.defaultRoutes={backgroundColor:"backgroundColor"};var Gi="function"===typeof Path2D;function Ji(t,e,n,r){Gi&&!e.options.segment?function(t,e,n,r){var i=e._path;i||(i=e._path=new Path2D,e.path(i,n,r)&&i.closePath()),qi(t,e.options),t.stroke(i)}(t,e,n,r):function(t,e,n,r){var i,a=e.segments,o=e.options,s=$i(e),u=Object(d.a)(a);try{for(u.s();!(i=u.n()).done;){var l=i.value;qi(t,o,l.style),t.beginPath(),s(t,e,l,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}}catch(c){u.e(c)}finally{u.f()}}(t,e,n,r)}var ta=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(t){var r;return Object(h.a)(this,n),(r=e.call(this)).animated=!0,r.options=void 0,r._chart=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,t&&Object.assign(Object(a.a)(r),t),r}return Object(p.a)(n,[{key:"updateControlPoints",value:function(t,e){var n=this.options;if((n.tension||"monotone"===n.cubicInterpolationMode)&&!n.stepped&&!this._pointsUpdated){var r=n.spanGaps?this._loop:this._fullLoop;tn(this._points,n,t,r,e),this._pointsUpdated=!0}}},{key:"points",get:function(){return this._points},set:function(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}},{key:"segments",get:function(){return this._segments||(this._segments=function(t,e){var n=t.points,r=t.options.spanGaps,i=n.length;if(!i)return[];var a=!!t._loop,o=function(t,e,n,r){var i=0,a=e-1;if(n&&!r)for(;ii&&t[a%e].skip;)a--;return{start:i,end:a%=e}}(n,i,a,r),s=o.start,u=o.end;return Mn(t,!0===r?[{start:s,end:u,loop:a}]:function(t,e,n,r){var i,a=t.length,o=[],s=e,u=t[e];for(i=e+1;i<=n;++i){var l=t[i%a];l.skip||l.stop?u.skip||(r=!1,o.push({start:e%a,end:(i-1)%a,loop:r}),e=s=l.stop?i:null):(s=i,u.skip&&(e=i)),u=l}return null!==s&&o.push({start:e%a,end:s%a,loop:r}),o}(n,s,u2&&void 0!==arguments[2]?arguments[2]:{},r=t.x!==n.x?-e:0,i=t.y!==n.y?-e:0,a=(t.x+t.w!==n.x+n.w?e:0)-r,o=(t.y+t.h!==n.y+n.h?e:0)-i;return{x:t.x+r,y:t.y+i,w:t.w+a,h:t.h+o,radius:t.radius}}na.id="point",na.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},na.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var la=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(t){var r;return Object(h.a)(this,n),(r=e.call(this)).options=void 0,r.horizontal=void 0,r.base=void 0,r.width=void 0,r.height=void 0,r.inflateAmount=void 0,t&&Object.assign(Object(a.a)(r),t),r}return Object(p.a)(n,[{key:"draw",value:function(t){var e,n=this.inflateAmount,r=this.options,i=r.borderColor,a=r.backgroundColor,o=aa(this),s=o.inner,u=o.outer,l=(e=u.radius).topLeft||e.topRight||e.bottomLeft||e.bottomRight?ve:sa;t.save(),u.w===s.w&&u.h===s.h||(t.beginPath(),l(t,ua(u,n,s)),t.clip(),l(t,ua(s,-n,u)),t.fillStyle=i,t.fill("evenodd")),t.beginPath(),l(t,ua(s,n)),t.fillStyle=a,t.fill(),t.restore()}},{key:"inRange",value:function(t,e,n){return oa(this,t,e,n)}},{key:"inXRange",value:function(t,e){return oa(this,t,null,e)}},{key:"inYRange",value:function(t,e){return oa(this,null,t,e)}},{key:"getCenterPoint",value:function(t){var e=this.getProps(["x","y","base","horizontal"],t),n=e.x,r=e.y,i=e.base,a=e.horizontal;return{x:a?(n+i)/2:n,y:a?r:(r+i)/2}}},{key:"getRange",value:function(t){return"x"===t?this.width/2:this.height/2}}]),n}(Jr);la.id="bar",la.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0},la.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var ca=Object.freeze({__proto__:null,ArcElement:Yi,LineElement:ta,PointElement:na,BarElement:la});function fa(t){if(t._decimated){var e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{value:e})}}function da(t){t.data.datasets.forEach((function(t){fa(t)}))}var ha={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:function(t,e,n){if(n.enabled){var r=t.width;t.data.datasets.forEach((function(e,a){var o=e._data,s=e.indexAxis,u=t.getDatasetMeta(a),l=o||e.data;if("y"!==Ce([s,t.options.indexAxis])&&"line"===u.type){var c=t.scales[u.xAxisID];if(("linear"===c.type||"time"===c.type)&&!t.options.parsing){var f=function(t,e){var n=e.length,r=0,i=t.iScale,a=i.getUserBounds(),o=a.min,s=a.max,u=a.minDefined,l=a.maxDefined;return u&&(r=ft(Ee(e,i.axis,o).lo,0,n-1)),{start:r,count:l?ft(Ee(e,i.axis,s).hi+1,r,n)-r:n-r}}(u,l),d=f.start,h=f.count;if(h<=(n.threshold||4*r))fa(e);else{var p;switch(w(o)&&(e._data=l,delete e.data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),n.algorithm){case"lttb":p=function(t,e,n,r,i){var a=i.samples||r;if(a>=n)return t.slice(e,e+n);var o,s,u,l,c,f=[],d=(n-2)/(a-2),h=0,p=e+n-1,m=e;for(f[h++]=t[m],o=0;ou&&(u=l,s=t[y],c=y);f[h++]=s,m=c}return f[h++]=t[p],f}(l,d,h,r,n);break;case"min-max":p=function(t,e,n,r){var a,o,s,u,l,c,f,d,h,p,m=0,v=0,g=[],y=e+n-1,b=t[e].x,_=t[y].x-b;for(a=e;ap&&(p=u,f=a),m=(v*m+o.x)/++v;else{var k=a-1;if(!w(c)&&!w(f)){var O=Math.min(c,f),C=Math.max(c,f);O!==d&&O!==k&&g.push(Object(i.a)(Object(i.a)({},t[O]),{},{x:m})),C!==d&&C!==k&&g.push(Object(i.a)(Object(i.a)({},t[C]),{},{x:m}))}a>0&&k!==d&&g.push(t[k]),g.push(o),l=x,v=0,h=p=u,c=f=d=a}}return g}(l,d,h,r);break;default:throw new Error("Unsupported decimation algorithm '".concat(n.algorithm,"'"))}e._decimated=p}}}}))}else da(t)},destroy:function(t){da(t)}};function pa(t,e,n){var r=function(t){var e=t.options,n=e.fill,r=M(n&&n.target,n);return void 0===r&&(r=!!e.backgroundColor),!1!==r&&null!==r&&(!0===r?"origin":r)}(t);if(k(r))return!isNaN(r.value)&&r;var i=parseFloat(r);return O(i)&&Math.floor(i)===i?("-"!==r[0]&&"+"!==r[0]||(i=e+i),!(i===e||i<0||i>=n)&&i):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}var ma=function(){function t(e){Object(h.a)(this,t),this.x=e.x,this.y=e.y,this.radius=e.radius}return Object(p.a)(t,[{key:"pathSegment",value:function(t,e,n){var r=this.x,i=this.y,a=this.radius;return e=e||{start:0,end:V},t.arc(r,i,a,e.end,e.start,!0),!n.bounds}},{key:"interpolate",value:function(t){var e=this.x,n=this.y,r=this.radius,i=t.angle;return{x:e+Math.cos(i)*r,y:n+Math.sin(i)*r,angle:i}}}]),t}();function va(t){return(t.scale||{}).getPointPositionForValue?function(t){var e,n,r,i=t.scale,a=t.fill,o=i.options,s=i.getLabels().length,u=[],l=o.reverse?i.max:i.min,c=o.reverse?i.min:i.max;if(r="start"===a?l:"end"===a?c:k(a)?a.value:i.getBaseValue(),o.grid.circular)return n=i.getPointPositionForValue(0,l),new ma({x:n.x,y:n.y,radius:i.getDistanceFromCenterForValue(r)});for(e=0;et;e--){var r=n[e];if(!isNaN(r.x)&&!isNaN(r.y))break}return e}function ya(t,e,n){for(var r=[],i=0;i=0;--o){var s=i[o].$filler;s&&(s.line.updateControlPoints(a,s.axis),r&&Ta(t.ctx,s,a))}},beforeDatasetsDraw:function(t,e,n){if("beforeDatasetsDraw"===n.drawTime)for(var r=t.getSortedVisibleDatasetMetas(),i=r.length-1;i>=0;--i){var a=r[i].$filler;a&&Ta(t.ctx,a,t.chartArea)}},beforeDatasetDraw:function(t,e,n){var r=e.meta.$filler;r&&!1!==r.fill&&"beforeDatasetDraw"===n.drawTime&&Ta(t.ctx,r,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}},ja=function(t,e){var n=t.boxHeight,r=void 0===n?e:n,i=t.boxWidth,a=void 0===i?e:i;return t.usePointStyle&&(r=Math.min(r,e),a=Math.min(a,e)),{boxWidth:a,boxHeight:r,itemHeight:Math.max(e,r)}},Da=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(t){var r;return Object(h.a)(this,n),(r=e.call(this))._added=!1,r.legendHitBoxes=[],r._hoveredItem=null,r.doughnutMode=!1,r.chart=t.chart,r.options=t.options,r.ctx=t.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(p.a)(n,[{key:"update",value:function(t,e,n){this.maxWidth=t,this.maxHeight=e,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}},{key:"setDimensions",value:function(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}},{key:"buildLabels",value:function(){var t=this,e=this.options.labels||{},n=E(e.generateLabels,[this.chart],this)||[];e.filter&&(n=n.filter((function(n){return e.filter(n,t.chart.data)}))),e.sort&&(n=n.sort((function(n,r){return e.sort(n,r,t.chart.data)}))),this.options.reverse&&n.reverse(),this.legendItems=n}},{key:"fit",value:function(){var t=this.options,e=this.ctx;if(t.display){var n,r,i=t.labels,a=Oe(i.font),o=a.size,s=this._computeTitleHeight(),u=ja(i,o),l=u.boxWidth,c=u.itemHeight;e.font=a.string,this.isHorizontal()?(n=this.maxWidth,r=this._fitRows(s,o,l,c)+10):(r=this.maxHeight,n=this._fitCols(s,o,l,c)+10),this.width=Math.min(n,t.maxWidth||this.maxWidth),this.height=Math.min(r,t.maxHeight||this.maxHeight)}else this.width=this.height=0}},{key:"_fitRows",value:function(t,e,n,r){var i=this.ctx,a=this.maxWidth,o=this.options.labels.padding,s=this.legendHitBoxes=[],u=this.lineWidths=[0],l=r+o,c=t;i.textAlign="left",i.textBaseline="middle";var f=-1,d=-l;return this.legendItems.forEach((function(t,h){var p=n+e/2+i.measureText(t.text).width;(0===h||u[u.length-1]+p+2*o>a)&&(c+=l,u[u.length-(h>0?0:1)]=0,d+=l,f++),s[h]={left:0,top:d,row:f,width:p,height:r},u[u.length-1]+=p+o})),c}},{key:"_fitCols",value:function(t,e,n,r){var i=this.ctx,a=this.maxHeight,o=this.options.labels.padding,s=this.legendHitBoxes=[],u=this.columnSizes=[],l=a-t,c=o,f=0,d=0,h=0,p=0;return this.legendItems.forEach((function(t,a){var m=n+e/2+i.measureText(t.text).width;a>0&&d+r+2*o>l&&(c+=f+o,u.push({width:f,height:d}),h+=f+o,p++,f=d=0),s[a]={left:h,top:d,col:p,width:m,height:r},f=Math.max(f,m),d+=r+o})),c+=f,u.push({width:f,height:d}),c}},{key:"adjustHitBoxes",value:function(){if(this.options.display){var t=this._computeTitleHeight(),e=this.legendHitBoxes,n=this.options,r=n.align,i=n.labels.padding,a=bn(n.rtl,this.left,this.width);if(this.isHorizontal()){var o,s=0,u=y(r,this.left+i,this.right-this.lineWidths[s]),l=Object(d.a)(e);try{for(l.s();!(o=l.n()).done;){var c=o.value;s!==c.row&&(s=c.row,u=y(r,this.left+i,this.right-this.lineWidths[s])),c.top+=this.top+t+i,c.left=a.leftForLtr(a.x(u),c.width),u+=c.width+i}}catch(g){l.e(g)}finally{l.f()}}else{var f,h=0,p=y(r,this.top+t+i,this.bottom-this.columnSizes[h].height),m=Object(d.a)(e);try{for(m.s();!(f=m.n()).done;){var v=f.value;v.col!==h&&(h=v.col,p=y(r,this.top+t+i,this.bottom-this.columnSizes[h].height)),v.top=p,v.left+=this.left+i,v.left=a.leftForLtr(a.x(v.left),v.width),p+=v.height+i}}catch(g){m.e(g)}finally{m.f()}}}}},{key:"isHorizontal",value:function(){return"top"===this.options.position||"bottom"===this.options.position}},{key:"draw",value:function(){if(this.options.display){var t=this.ctx;le(t,this),this._draw(),ce(t)}}},{key:"_draw",value:function(){var t,e=this,n=this.options,r=this.columnSizes,i=this.lineWidths,a=this.ctx,o=n.align,s=n.labels,u=ne.color,l=bn(n.rtl,this.left,this.width),c=Oe(s.font),f=s.color,d=s.padding,h=c.size,p=h/2;this.drawTitle(),a.textAlign=l.textAlign("left"),a.textBaseline="middle",a.lineWidth=.5,a.font=c.string;var m=ja(s,h),v=m.boxWidth,g=m.boxHeight,b=m.itemHeight,_=this.isHorizontal(),w=this._computeTitleHeight();t=_?{x:y(o,this.left+d,this.right-i[0]),y:this.top+d+w,line:0}:{x:this.left+d,y:y(o,this.top+w+d,this.bottom-r[0].height),line:0},_n(this.ctx,n.textDirection);var x=b+d;this.legendItems.forEach((function(m,k){a.strokeStyle=m.fontColor||f,a.fillStyle=m.fontColor||f;var O=a.measureText(m.text).width,C=l.textAlign(m.textAlign||(m.textAlign=s.textAlign)),S=v+p+O,E=t.x,T=t.y;l.setWidth(e.width),_?k>0&&E+S+d>e.right&&(T=t.y+=x,t.line++,E=t.x=y(o,e.left+d,e.right-i[t.line])):k>0&&T+x>e.bottom&&(E=t.x=E+r[t.line].width+d,t.line++,T=t.y=y(o,e.top+w+d,e.bottom-r[t.line].height)),function(t,e,n){if(!(isNaN(v)||v<=0||isNaN(g)||g<0)){a.save();var r=M(n.lineWidth,1);if(a.fillStyle=M(n.fillStyle,u),a.lineCap=M(n.lineCap,"butt"),a.lineDashOffset=M(n.lineDashOffset,0),a.lineJoin=M(n.lineJoin,"miter"),a.lineWidth=r,a.strokeStyle=M(n.strokeStyle,u),a.setLineDash(M(n.lineDash,[])),s.usePointStyle){var i={radius:v*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:r},o=l.xPlus(t,v/2);se(a,i,o,e+p)}else{var c=e+Math.max((h-g)/2,0),f=l.leftForLtr(t,v),d=xe(n.borderRadius);a.beginPath(),Object.values(d).some((function(t){return 0!==t}))?ve(a,{x:f,y:c,w:v,h:g,radius:d}):a.rect(f,c,v,g),a.fill(),0!==r&&a.stroke()}a.restore()}}(l.x(E),T,m),E=function(t,e,n,r){return t===(r?"left":"right")?n:"center"===t?(e+n)/2:e}(C,E+v+p,_?E+S:e.right,n.rtl),function(t,e,n){he(a,n.text,t,e+b/2,c,{strikethrough:n.hidden,textAlign:l.textAlign(n.textAlign)})}(l.x(E),T,m),_?t.x+=S+d:t.y+=x})),wn(this.ctx,n.textDirection)}},{key:"drawTitle",value:function(){var t=this.options,e=t.title,n=Oe(e.font),i=ke(e.padding);if(e.display){var a,o=bn(t.rtl,this.left,this.width),s=this.ctx,u=e.position,l=n.size/2,c=i.top+l,f=this.left,d=this.width;if(this.isHorizontal())d=Math.max.apply(Math,Object(r.a)(this.lineWidths)),a=this.top+c,f=y(t.align,f,this.right-d);else{var h=this.columnSizes.reduce((function(t,e){return Math.max(t,e.height)}),0);a=c+y(t.align,this.top,this.bottom-h-t.labels.padding-this._computeTitleHeight())}var p=y(u,f,f+d);s.textAlign=o.textAlign(g(u)),s.textBaseline="middle",s.strokeStyle=e.color,s.fillStyle=e.color,s.font=n.string,he(s,e.text,p,a,n)}}},{key:"_computeTitleHeight",value:function(){var t=this.options.title,e=Oe(t.font),n=ke(t.padding);return t.display?e.lineHeight+n.height:0}},{key:"_getLegendItemAt",value:function(t,e){var n,r,i;if(dt(t,this.left,this.right)&&dt(e,this.top,this.bottom))for(i=this.legendHitBoxes,n=0;n-1?t.split("\n"):t}function Ha(t,e){var n=e.element,r=e.datasetIndex,i=e.index,a=t.getDatasetMeta(r).controller,o=a.getLabelAndValue(i),s=o.label,u=o.value;return{chart:t,label:s,parsed:a.getParsed(i),raw:t.data.datasets[r].data[i],formattedValue:u,dataset:a.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function Ua(t,e){var n=t.chart.ctx,r=t.body,i=t.footer,a=t.title,o=e.boxWidth,s=e.boxHeight,u=Oe(e.bodyFont),l=Oe(e.titleFont),c=Oe(e.footerFont),f=a.length,d=i.length,h=r.length,p=ke(e.padding),m=p.height,v=0,g=r.reduce((function(t,e){return t+e.before.length+e.lines.length+e.after.length}),0);(g+=t.beforeBody.length+t.afterBody.length,f&&(m+=f*l.lineHeight+(f-1)*e.titleSpacing+e.titleMarginBottom),g)&&(m+=h*(e.displayColors?Math.max(s,u.lineHeight):u.lineHeight)+(g-h)*u.lineHeight+(g-1)*e.bodySpacing);d&&(m+=e.footerMarginTop+d*c.lineHeight+(d-1)*e.footerSpacing);var y=0,b=function(t){v=Math.max(v,n.measureText(t).width+y)};return n.save(),n.font=l.string,T(t.title,b),n.font=u.string,T(t.beforeBody.concat(t.afterBody),b),y=e.displayColors?o+2+e.boxPadding:0,T(r,(function(t){T(t.before,b),T(t.lines,b),T(t.after,b)})),y=0,n.font=c.string,T(t.footer,b),n.restore(),{width:v+=p.width,height:m}}function Wa(t,e,n,r){var i=n.x,a=n.width,o=t.width,s=t.chartArea,u=s.left,l=s.right,c="center";return"center"===r?c=i<=(u+l)/2?"left":"right":i<=a/2?c="left":i>=o-a/2&&(c="right"),function(t,e,n,r){var i=r.x,a=r.width,o=n.caretSize+n.caretPadding;return"left"===t&&i+a+o>e.width||"right"===t&&i-a-o<0||void 0}(c,t,e,n)&&(c="center"),c}function Va(t,e,n){var r=n.yAlign||e.yAlign||function(t,e){var n=e.y,r=e.height;return nt.height-r/2?"bottom":"center"}(t,n);return{xAlign:n.xAlign||e.xAlign||Wa(t,e,n,r),yAlign:r}}function Ya(t,e,n,r){var i=t.caretSize,a=t.caretPadding,o=t.cornerRadius,s=n.xAlign,u=n.yAlign,l=i+a,c=xe(o),f=c.topLeft,d=c.topRight,h=c.bottomLeft,p=c.bottomRight,m=function(t,e){var n=t.x,r=t.width;return"right"===e?n-=r:"center"===e&&(n-=r/2),n}(e,s),v=function(t,e,n){var r=t.y,i=t.height;return"top"===e?r+=n:r-="bottom"===e?i+n:i/2,r}(e,u,l);return"center"===u?"left"===s?m+=l:"right"===s&&(m-=l):"left"===s?m-=Math.max(f,h)+i:"right"===s&&(m+=Math.max(d,p)+i),{x:ft(m,0,r.width-e.width),y:ft(v,0,r.height-e.height)}}function qa(t,e,n){var r=ke(n.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-r.right:t.x+r.left}function Za(t){return Fa([],Ba(t))}function Ka(t,e){var n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}var Qa=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(t){var r;return Object(h.a)(this,n),(r=e.call(this)).opacity=0,r._active=[],r._eventPosition=void 0,r._size=void 0,r._cachedAnimations=void 0,r._tooltipItems=[],r.$animations=void 0,r.$context=void 0,r.chart=t.chart||t._chart,r._chart=r.chart,r.options=t.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(p.a)(n,[{key:"initialize",value:function(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}},{key:"_resolveAnimations",value:function(){var t=this._cachedAnimations;if(t)return t;var e=this.chart,n=this.options.setContext(this.getContext()),r=n.enabled&&e.options.animation&&n.animations,i=new Ln(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}},{key:"getContext",value:function(){return this.$context||(this.$context=(t=this.chart.getContext(),e=this,n=this._tooltipItems,Me(t,{tooltip:e,tooltipItems:n,type:"tooltip"})));var t,e,n}},{key:"getTitle",value:function(t,e){var n=e.callbacks,r=n.beforeTitle.apply(this,[t]),i=n.title.apply(this,[t]),a=n.afterTitle.apply(this,[t]),o=[];return o=Fa(o,Ba(r)),o=Fa(o,Ba(i)),o=Fa(o,Ba(a))}},{key:"getBeforeBody",value:function(t,e){return Za(e.callbacks.beforeBody.apply(this,[t]))}},{key:"getBody",value:function(t,e){var n=this,r=e.callbacks,i=[];return T(t,(function(t){var e={before:[],lines:[],after:[]},a=Ka(r,t);Fa(e.before,Ba(a.beforeLabel.call(n,t))),Fa(e.lines,a.label.call(n,t)),Fa(e.after,Ba(a.afterLabel.call(n,t))),i.push(e)})),i}},{key:"getAfterBody",value:function(t,e){return Za(e.callbacks.afterBody.apply(this,[t]))}},{key:"getFooter",value:function(t,e){var n=e.callbacks,r=n.beforeFooter.apply(this,[t]),i=n.footer.apply(this,[t]),a=n.afterFooter.apply(this,[t]),o=[];return o=Fa(o,Ba(r)),o=Fa(o,Ba(i)),o=Fa(o,Ba(a))}},{key:"_createItems",value:function(t){var e,n,r=this,i=this._active,a=this.chart.data,o=[],s=[],u=[],l=[];for(e=0,n=i.length;e0&&e.stroke()}},{key:"_updateAnimationTarget",value:function(t){var e=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){var a=za[t.position].call(this,this._active,this._eventPosition);if(!a)return;var o=this._size=Ua(this,t),s=Object.assign({},a,this._size),u=Va(e,t,s),l=Ya(t,s,u,e);r._to===l.x&&i._to===l.y||(this.xAlign=u.xAlign,this.yAlign=u.yAlign,this.width=o.width,this.height=o.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,l))}}},{key:"draw",value:function(t){var e=this.options.setContext(this.getContext()),n=this.opacity;if(n){this._updateAnimationTarget(e);var r={width:this.width,height:this.height},i={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;var a=ke(e.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&o&&(t.save(),t.globalAlpha=n,this.drawBackground(i,t,r,e),_n(t,e.textDirection),i.y+=a.top,this.drawTitle(i,t,e),this.drawBody(i,t,e),this.drawFooter(i,t,e),wn(t,e.textDirection),t.restore())}}},{key:"getActiveElements",value:function(){return this._active||[]}},{key:"setActiveElements",value:function(t,e){var n=this,r=this._active,i=t.map((function(t){var e=t.datasetIndex,r=t.index,i=n.chart.getDatasetMeta(e);if(!i)throw new Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:i.data[r],index:r}})),a=!P(r,i),o=this._positionChanged(i,e);(a||o)&&(this._active=i,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}},{key:"handleEvent",value:function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;var r=this.options,i=this._active||[],a=this._getActiveElements(t,i,e,n),o=this._positionChanged(a,t),s=e||!P(a,i)||o;return s&&(this._active=a,(r.enabled||r.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),s}},{key:"_getActiveElements",value:function(t,e,n,r){var i=this.options;if("mouseout"===t.type)return[];if(!r)return e;var a=this.chart.getElementsAtEventForMode(t,i.mode,i,n);return i.reverse&&a.reverse(),a}},{key:"_positionChanged",value:function(t,e){var n=this.caretX,r=this.caretY,i=this.options,a=za[i.position].call(this,t,e);return!1!==a&&(n!==a.x||r!==a.y)}}]),n}(Jr);Qa.positioners=za;var Xa={id:"tooltip",_element:Qa,positioners:za,afterInit:function(t,e,n){n&&(t.tooltip=new Qa({chart:t,options:n}))},beforeUpdate:function(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset:function(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw:function(t){var e=t.tooltip,n={tooltip:e};!1!==t.notifyPlugins("beforeTooltipDraw",n)&&(e&&e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n))},afterEvent:function(t,e){if(t.tooltip){var n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.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(t,e){return e.bodyFont.size},boxWidth:function(t,e){return e.bodyFont.size},multiKeyBackground:"#fff",displayColors:!0,boxPadding: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:b,title:function(t){if(t.length>0){var e=t[0],n=e.chart.data.labels,r=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(r>0&&e.dataIndex=0&&te.length-1?null:this.getPixelForValue(e[t].value)}},{key:"getValueForPixel",value:function(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}},{key:"getBasePixel",value:function(){return this.bottom}}]),n}(ci);function to(t,e){var n,r,i,a,o=[],s=t.bounds,u=t.step,l=t.min,c=t.max,f=t.precision,d=t.count,h=t.maxTicks,p=t.maxDigits,m=t.includeBounds,v=u||1,g=h-1,y=e.min,b=e.max,_=!w(l),x=!w(c),k=!w(d),O=(b-y)/(p+1),C=J((b-y)/g/v)*v;if(C<1e-14&&!_&&!x)return[{value:y},{value:b}];(a=Math.ceil(b/C)-Math.floor(y/C))>g&&(C=J(a*C/g/v)*v),w(f)||(n=Math.pow(10,f),C=Math.ceil(C*n)/n),"ticks"===s?(r=Math.floor(y/C)*C,i=Math.ceil(b/C)*C):(r=y,i=b),_&&x&&u&&function(t,e){var n=Math.round(t);return n-e<=t&&n+e>=t}((c-l)/u,C/1e3)?(C=(c-l)/(a=Math.round(Math.min((c-l)/C,h))),r=l,i=c):k?C=((i=x?c:i)-(r=_?l:r))/(a=d-1):a=et(a=(i-r)/C,Math.round(a),C/1e3)?Math.round(a):Math.ceil(a);var M=Math.max(at(C),at(r));n=Math.pow(10,w(f)?M:f),r=Math.round(r*n)/n,i=Math.round(i*n)/n;var S=0;for(_&&(m&&r!==l?(o.push({value:l}),r0&&l>0&&o(0)}if(i===a){var c=1;(a>=Number.MAX_SAFE_INTEGER||i<=Number.MIN_SAFE_INTEGER)&&(c=Math.abs(.05*a)),s(a+c),t||o(i-c)}this.min=i,this.max=a}},{key:"getTickLimit",value:function(){var t,e=this.options.ticks,n=e.maxTicksLimit,r=e.stepSize;return r?(t=Math.ceil(this.max/r)-Math.floor(this.min/r)+1)>1e3&&(console.warn("scales.".concat(this.id,".ticks.stepSize: ").concat(r," would result generating up to ").concat(t," ticks. Limiting to 1000.")),t=1e3):(t=this.computeTickLimit(),n=n||11),n&&(t=Math.min(n,t)),t}},{key:"computeTickLimit",value:function(){return Number.POSITIVE_INFINITY}},{key:"buildTicks",value:function(){var t=this.options,e=t.ticks,n=this.getTickLimit(),r=to({maxTicks:n=Math.max(2,n),bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&nt(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}},{key:"configure",value:function(){var t=this.ticks,e=this.min,r=this.max;if(s(Object(o.a)(n.prototype),"configure",this).call(this),this.options.offset&&t.length){var i=(r-e)/Math.max(t.length-1,1)/2;e-=i,r+=i}this._startValue=e,this._endValue=r,this._valueRange=r-e}},{key:"getLabelForValue",value:function(t){return yn(t,this.chart.options.locale,this.options.ticks.format)}}]),n}(ci),ro=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(){return Object(h.a)(this,n),e.apply(this,arguments)}return Object(p.a)(n,[{key:"determineDataLimits",value:function(){var t=this.getMinMax(!0),e=t.min,n=t.max;this.min=O(e)?e:0,this.max=O(n)?n:1,this.handleTickRangeOptions()}},{key:"computeTickLimit",value:function(){var t=this.isHorizontal(),e=t?this.width:this.height,n=rt(this.options.ticks.minRotation),r=(t?Math.sin(n):Math.cos(n))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,i.lineHeight/r))}},{key:"getPixelForValue",value:function(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}},{key:"getValueForPixel",value:function(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}]),n}(no);function io(t){return 1===t/Math.pow(10,Math.floor($(t)))}ro.id="linear",ro.defaults={ticks:{callback:ei.formatters.numeric}};var ao=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(t){var r;return Object(h.a)(this,n),(r=e.call(this,t)).start=void 0,r.end=void 0,r._startValue=void 0,r._valueRange=0,r}return Object(p.a)(n,[{key:"parse",value:function(t,e){var n=no.prototype.parse.apply(this,[t,e]);if(0!==n)return O(n)&&n>0?n:null;this._zero=!0}},{key:"determineDataLimits",value:function(){var t=this.getMinMax(!0),e=t.min,n=t.max;this.min=O(e)?Math.max(0,e):null,this.max=O(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}},{key:"handleTickRangeOptions",value:function(){var t=this.getUserBounds(),e=t.minDefined,n=t.maxDefined,r=this.min,i=this.max,a=function(t){return r=e?r:t},o=function(t){return i=n?i:t},s=function(t,e){return Math.pow(10,Math.floor($(t))+e)};r===i&&(r<=0?(a(1),o(10)):(a(s(r,-1)),o(s(i,1)))),r<=0&&a(s(i,-1)),i<=0&&o(s(r,1)),this._zero&&this.min!==this._suggestedMin&&r===s(this.min,0)&&a(s(r,-1)),this.min=r,this.max=i}},{key:"buildTicks",value:function(){var t=this.options,e=function(t,e){var n=Math.floor($(e.max)),r=Math.ceil(e.max/Math.pow(10,n)),i=[],a=C(t.min,Math.pow(10,Math.floor($(e.min)))),o=Math.floor($(a)),s=Math.floor(a/Math.pow(10,o)),u=o<0?Math.pow(10,Math.abs(o)):1;do{i.push({value:a,major:io(a)}),10===++s&&(s=1,u=++o>=0?1:u),a=Math.round(s*Math.pow(10,o)*u)/u}while(oi?{start:e-n,end:e}:{start:e,end:e+n}}function uo(t){for(var e,n,r,i={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},a=Object.assign({},i),o=[],s=[],u=t._pointLabels.length,l=t.options.pointLabels,c=l.centerPointLabels?W/u:0,f=0;fe.r&&(s=(r.end-e.r)/a,t.r=Math.max(t.r,e.r+s)),i.starte.b&&(u=(i.end-e.b)/o,t.b=Math.max(t.b,e.b+u))}function co(t){return 0===t||180===t?"center":t<180?"left":"right"}function fo(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function ho(t,e,n){return 90===n||270===n?t-=e/2:(n>270||n<90)&&(t-=e),t}function po(t,e,n,r){var i=t.ctx;if(n)i.arc(t.xCenter,t.yCenter,e,0,V);else{var a=t.getPointPosition(0,e);i.moveTo(a.x,a.y);for(var o=1;o=0&&t2&&void 0!==arguments[2]?arguments[2]:0,r=this.getIndexAngle(t)-K+n;return{x:Math.cos(r)*e+this.xCenter,y:Math.sin(r)*e+this.yCenter,angle:r}}},{key:"getPointPositionForValue",value:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}},{key:"getBasePosition",value:function(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}},{key:"getPointLabelPosition",value:function(t){var e=this._pointLabelItems[t];return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}},{key:"drawBackground",value:function(){var t=this.options,e=t.backgroundColor,n=t.grid.circular;if(e){var r=this.ctx;r.save(),r.beginPath(),po(this,this.getDistanceFromCenterForValue(this._endValue),n,this._pointLabels.length),r.closePath(),r.fillStyle=e,r.fill(),r.restore()}}},{key:"drawGrid",value:function(){var t,e,n,r=this,i=this.ctx,a=this.options,o=a.angleLines,s=a.grid,u=this._pointLabels.length;if(a.pointLabels.display&&function(t,e){for(var n=t.ctx,r=t.options.pointLabels,i=e-1;i>=0;i--){var a=r.setContext(t.getPointLabelContext(i)),o=Oe(a.font),s=t._pointLabelItems[i],u=s.x,l=s.y,c=s.textAlign,f=s.left,d=s.top,h=s.right,p=s.bottom,m=a.backdropColor;if(!w(m)){var v=ke(a.backdropPadding);n.fillStyle=m,n.fillRect(f-v.left,d-v.top,h-f+v.width,p-d+v.height)}he(n,t._pointLabels[i],u,l+o.lineHeight/2,o,{color:a.color,textAlign:c,textBaseline:"middle"})}}(this,u),s.display&&this.ticks.forEach((function(t,n){if(0!==n){e=r.getDistanceFromCenterForValue(t.value);var i=s.setContext(r.getContext(n-1));!function(t,e,n,r){var i=t.ctx,a=e.circular,o=e.color,s=e.lineWidth;!a&&!r||!o||!s||n<0||(i.save(),i.strokeStyle=o,i.lineWidth=s,i.setLineDash(e.borderDash),i.lineDashOffset=e.borderDashOffset,i.beginPath(),po(t,n,a,r),i.closePath(),i.stroke(),i.restore())}(r,i,e,u)}})),o.display){for(i.save(),t=u-1;t>=0;t--){var l=o.setContext(this.getPointLabelContext(t)),c=l.color,f=l.lineWidth;f&&c&&(i.lineWidth=f,i.strokeStyle=c,i.setLineDash(l.borderDash),i.lineDashOffset=l.borderDashOffset,e=this.getDistanceFromCenterForValue(a.ticks.reverse?this.min:this.max),n=this.getPointPosition(t,e),i.beginPath(),i.moveTo(this.xCenter,this.yCenter),i.lineTo(n.x,n.y),i.stroke())}i.restore()}}},{key:"drawBorder",value:function(){}},{key:"drawLabels",value:function(){var t=this,e=this.ctx,n=this.options,r=n.ticks;if(r.display){var i,a,o=this.getIndexAngle(0);e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(o),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((function(o,s){if(0!==s||n.reverse){var u=r.setContext(t.getContext(s)),l=Oe(u.font);if(i=t.getDistanceFromCenterForValue(t.ticks[s].value),u.showLabelBackdrop){e.font=l.string,a=e.measureText(o.label).width,e.fillStyle=u.backdropColor;var c=ke(u.backdropPadding);e.fillRect(-a/2-c.left,-i-l.size/2-c.top,a+c.width,l.size+c.height)}he(e,o.label,0,-i,l,{color:u.color})}})),e.restore()}}},{key:"drawTitle",value:function(){}}]),n}(no);mo.id="radialLinear",mo.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:ei.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:function(t){return t},padding:5,centerPointLabels:!1}},mo.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},mo.descriptors={angleLines:{_fallback:"grid"}};var vo={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}},go=Object.keys(vo);function yo(t,e){return t-e}function bo(t,e){if(w(e))return null;var n=t._adapter,r=t._parseOpts,i=r.parser,a=r.round,o=r.isoWeekday,s=e;return"function"===typeof i&&(s=i(s)),O(s)||(s="string"===typeof i?n.parse(s,i):n.parse(s)),null===s?null:(a&&(s="week"!==a||!tt(o)&&!0!==o?n.startOf(s,a):n.startOf(s,"isoWeek",o)),+s)}function _o(t,e,n,r){for(var i=go.length,a=go.indexOf(t);a=e?n[i]:n[a]]=!0}}else t[e]=!0}function xo(t,e,n){var r,i,a=[],o={},s=e.length;for(r=0;r=0&&(e[a].major=!0);return e}(t,a,o,n):a}var ko=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(t){var r;return Object(h.a)(this,n),(r=e.call(this,t))._cache={data:[],labels:[],all:[]},r._unit="day",r._majorUnit=void 0,r._offsets={},r._normalized=!1,r._parseOpts=void 0,r}return Object(p.a)(n,[{key:"init",value:function(t,e){var r=t.time||(t.time={}),i=this._adapter=new dr._date(t.adapters.date);A(r.displayFormats,i.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},s(Object(o.a)(n.prototype),"init",this).call(this,t),this._normalized=e.normalized}},{key:"parse",value:function(t,e){return void 0===t?null:bo(this,t)}},{key:"beforeLayout",value:function(){s(Object(o.a)(n.prototype),"beforeLayout",this).call(this),this._cache={data:[],labels:[],all:[]}}},{key:"determineDataLimits",value:function(){var t=this.options,e=this._adapter,n=t.time.unit||"day",r=this.getUserBounds(),i=r.min,a=r.max,o=r.minDefined,s=r.maxDefined;function u(t){o||isNaN(t.min)||(i=Math.min(i,t.min)),s||isNaN(t.max)||(a=Math.max(a,t.max))}o&&s||(u(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||u(this.getMinMax(!1))),i=O(i)&&!isNaN(i)?i:+e.startOf(Date.now(),n),a=O(a)&&!isNaN(a)?a:+e.endOf(Date.now(),n)+1,this.min=Math.min(i,a-1),this.max=Math.max(i+1,a)}},{key:"_getLabelBounds",value:function(){var t=this.getLabelTimestamps(),e=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],n=t[t.length-1]),{min:e,max:n}}},{key:"buildTicks",value:function(){var t=this.options,e=t.time,n=t.ticks,r="labels"===n.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);var i=this.min,a=function(t,e,n){for(var r=0,i=t.length;rr&&t[i-1]>n;)i--;return r>0||i=go.indexOf(n);a--){var o=go[a];if(vo[o].common&&t._adapter.diff(i,r,o)>=e-1)return o}return go[n?go.indexOf(n):0]}(this,a.length,e.minUnit,this.min,this.max)),this._majorUnit=n.major.enabled&&"year"!==this._unit?function(t){for(var e=go.indexOf(t)+1,n=go.length;e1e5*u)throw new Error(r+" and "+i+" are too far apart with stepSize of "+u+" "+s);var h="data"===a.ticks.source&&this.getDataTimestamps();for(t=d,e=0;t0?o:1}},{key:"getDataTimestamps",value:function(){var t,e,n=this._cache.data||[];if(n.length)return n;var r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,e=r.length;t=t[s].pos&&e<=t[u].pos){var l=Ee(t,"pos",e);s=l.lo,u=l.hi}var c=t[s];r=c.pos,a=c.time;var f=t[u];i=f.pos,o=f.time}else{if(e>=t[s].time&&e<=t[u].time){var d=Ee(t,"time",e);s=d.lo,u=d.hi}var h=t[s];r=h.time,a=h.pos;var p=t[u];i=p.time,o=p.pos}var m=i-r;return m?a+(o-a)*(e-r)/m:a}ko.id="time",ko.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};var Co=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(t){var r;return Object(h.a)(this,n),(r=e.call(this,t))._table=[],r._minPos=void 0,r._tableRange=void 0,r}return Object(p.a)(n,[{key:"initOffsets",value:function(){var t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=Oo(e,this.min),this._tableRange=Oo(e,this.max)-this._minPos,s(Object(o.a)(n.prototype),"initOffsets",this).call(this,t)}},{key:"buildLookupTable",value:function(t){var e,n,r,i,a,o=this.min,s=this.max,u=[],l=[];for(e=0,n=t.length;e=o&&i<=s&&u.push(i);if(u.length<2)return[{time:o,pos:0},{time:s,pos:1}];for(e=0,n=u.length;e=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function No(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Lo(t,e){"function"===typeof t?t(e):t&&(t.current=e)}function Ao(t,e){t.labels=e}function Ro(t,e){t.datasets=e.map((function(e){var n=t.datasets.find((function(t){return t.label===e.label&&t.type===e.type}));return n&&e.data?(Object.assign(n,e),n):jo({},e)}))}function Io(t){var e={labels:[],datasets:[]};return Ao(e,t.labels),Ro(e,t.datasets),e}var zo={datasets:[]};function Fo(t,e){var n=t.height,r=void 0===n?150:n,i=t.width,a=void 0===i?300:i,o=t.redraw,s=void 0!==o&&o,u=t.type,l=t.data,c=t.options,f=t.plugins,d=void 0===f?[]:f,h=t.getDatasetAtEvent,p=t.getElementAtEvent,m=t.getElementsAtEvent,v=t.fallbackContent,g=t.onClick,y=Do(t,["height","width","redraw","type","data","options","plugins","getDatasetAtEvent","getElementAtEvent","getElementsAtEvent","fallbackContent","onClick"]),b=Object(Eo.useRef)(null),_=Object(Eo.useRef)(),w=No(Object(Eo.useState)()),x=w[0],k=w[1],O=x||("function"===typeof l?zo:l),C=function(){b.current&&(_.current=new So(b.current,{type:u,data:Io(O),options:c,plugins:d}),Lo(e,_.current))},M=function(){Lo(e,null),_.current&&(_.current.destroy(),_.current=null)};return Object(Eo.useEffect)((function(){"function"===typeof l&&b.current&&k(l(b.current))}),[l]),Object(Eo.useEffect)((function(){var t,e;!s&&_.current&&c&&(t=_.current,e=c,t.options=jo({},e))}),[s,c]),Object(Eo.useEffect)((function(){!s&&_.current&&Ao(_.current.config.data,O.labels)}),[s,O.labels]),Object(Eo.useEffect)((function(){!s&&_.current&&O.datasets&&Ro(_.current.config.data,O.datasets)}),[s,O.datasets]),Object(Eo.useEffect)((function(){_.current&&(s?(M(),setTimeout(C)):_.current.update())}),[s,c,O.labels,O.datasets]),Object(Eo.useEffect)((function(){return C(),function(){return M()}}),[]),To.a.createElement("canvas",Object.assign({ref:b,role:"img",height:r,width:a,onClick:function(t){g&&g(t);var e=_.current;e&&(h&&h(e.getElementsAtEventForMode(t.nativeEvent,"dataset",{intersect:!0},!1),t),p&&p(e.getElementsAtEventForMode(t.nativeEvent,"nearest",{intersect:!0},!1),t),m&&m(e.getElementsAtEventForMode(t.nativeEvent,"index",{intersect:!0},!1),t))}},y),v)}var Bo=Object(Eo.forwardRef)(Fo);function Ho(t){return Object(Eo.forwardRef)((function(e,n){return To.a.createElement(Bo,Object.assign({},e,{ref:n,type:t}))}))}var Uo=Ho("line"),Wo=Ho("bar"),Vo=(Ho("radar"),Ho("doughnut"));Ho("polarArea"),Ho("bubble"),Ho("pie"),Ho("scatter")},function(t,e,n){"use strict";var r=n(17),i=n(89),a=n(90),o=n(49),s=n(64),u=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=s.a.init,t.prototype["@@transducer/result"]=s.a.result,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}(),l=Object(r.a)((function(t,e){return new u(t,e)})),c=n(71),f=n(51),d=Object(r.a)(Object(i.a)(["fantasy-land/map","map"],l,(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return Object(c.a)(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return Object(o.a)((function(n,r){return n[r]=t(e[r]),n}),{},Object(f.a)(e));default:return Object(a.a)(t,e)}})));e.a=d},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(55);function i(t){return null!=t&&"function"===typeof t["@@transducer/step"]}function a(t,e,n){return function(){if(0===arguments.length)return n();var a=Array.prototype.slice.call(arguments,0),o=a.pop();if(!Object(r.a)(o)){for(var s=0;s0?1:o}},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e1)for(var n=1;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){u.headers[t]=r.merge(o)})),t.exports=u}).call(this,n(94))},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){"use strict";(function(e){!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,n,r,i){if("function"!==typeof t)throw new TypeError('"callback" argument must be a function');var a,o,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,n)}));case 3:return e.nextTick((function(){t.call(null,n,r)}));case 4:return e.nextTick((function(){t.call(null,n,r,i)}));default:for(a=new Array(s-1),o=0;o0&&(r=c(n.width)/s||1),a>0&&(i=c(n.height)/a||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 d(t){var e=i(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function h(t){return t?(t.nodeName||"").toLowerCase():null}function p(t){return((a(t)?t.ownerDocument:t.document)||window.document).documentElement}function m(t){return f(p(t)).left+d(t).scrollLeft}function v(t){return i(t).getComputedStyle(t)}function g(t){var e=v(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function y(t,e,n){void 0===n&&(n=!1);var r=o(e),a=o(e)&&function(t){var e=t.getBoundingClientRect(),n=c(e.width)/t.offsetWidth||1,r=c(e.height)/t.offsetHeight||1;return 1!==n||1!==r}(e),s=p(e),u=f(t,a),l={scrollLeft:0,scrollTop:0},v={x:0,y:0};return(r||!r&&!n)&&(("body"!==h(e)||g(s))&&(l=function(t){return t!==i(t)&&o(t)?{scrollLeft:(e=t).scrollLeft,scrollTop:e.scrollTop}:d(t);var e}(e)),o(e)?((v=f(e,!0)).x+=e.clientLeft,v.y+=e.clientTop):s&&(v.x=m(s))),{x:u.left+l.scrollLeft-v.x,y:u.top+l.scrollTop-v.y,width:u.width,height:u.height}}function b(t){var e=f(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function _(t){return"html"===h(t)?t:t.assignedSlot||t.parentNode||(s(t)?t.host:null)||p(t)}function w(t){return["html","body","#document"].indexOf(h(t))>=0?t.ownerDocument.body:o(t)&&g(t)?t:w(_(t))}function x(t,e){var n;void 0===e&&(e=[]);var r=w(t),a=r===(null==(n=t.ownerDocument)?void 0:n.body),o=i(r),s=a?[o].concat(o.visualViewport||[],g(r)?r:[]):r,u=e.concat(s);return a?u:u.concat(x(_(s)))}function k(t){return["table","td","th"].indexOf(h(t))>=0}function O(t){return o(t)&&"fixed"!==v(t).position?t.offsetParent:null}function C(t){for(var e=i(t),n=O(t);n&&k(n)&&"static"===v(n).position;)n=O(n);return n&&("html"===h(n)||"body"===h(n)&&"static"===v(n).position)?e:n||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&o(t)&&"fixed"===v(t).position)return null;for(var n=_(t);o(n)&&["html","body"].indexOf(h(n))<0;){var r=v(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||e&&"filter"===r.willChange||e&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(t)||e}var M="top",S="bottom",E="right",T="left",P="auto",j=[M,S,E,T],D="start",N="end",L="viewport",A="popper",R=j.reduce((function(t,e){return t.concat([e+"-"+D,e+"-"+N])}),[]),I=[].concat(j,[P]).reduce((function(t,e){return t.concat([e,e+"-"+D,e+"-"+N])}),[]),z=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function F(t){var e=new Map,n=new Set,r=[];function i(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var r=e.get(t);r&&i(r)}})),r.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||i(t)})),r}function B(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}var H={placement:"bottom",modifiers:[],strategy:"absolute"};function U(){for(var t=arguments.length,e=new Array(t),n=0;n=0?"x":"y"}function K(t){var e,n=t.reference,r=t.element,i=t.placement,a=i?Y(i):null,o=i?q(i):null,s=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(a){case M:e={x:s,y:n.y-r.height};break;case S:e={x:s,y:n.y+n.height};break;case E:e={x:n.x+n.width,y:u};break;case T:e={x:n.x-r.width,y:u};break;default:e={x:n.x,y:n.y}}var l=a?Z(a):null;if(null!=l){var c="y"===l?"height":"width";switch(o){case D:e[l]=e[l]-(n[c]/2-r[c]/2);break;case N:e[l]=e[l]+(n[c]/2-r[c]/2)}}return e}var Q={top:"auto",right:"auto",bottom:"auto",left:"auto"};function X(t){var e,n=t.popper,r=t.popperRect,a=t.placement,o=t.variation,s=t.offsets,u=t.position,l=t.gpuAcceleration,f=t.adaptive,d=t.roundOffsets,h=t.isFixed,m=s.x,g=void 0===m?0:m,y=s.y,b=void 0===y?0:y,_="function"===typeof d?d({x:g,y:b}):{x:g,y:b};g=_.x,b=_.y;var w=s.hasOwnProperty("x"),x=s.hasOwnProperty("y"),k=T,O=M,P=window;if(f){var j=C(n),D="clientHeight",L="clientWidth";if(j===i(n)&&"static"!==v(j=p(n)).position&&"absolute"===u&&(D="scrollHeight",L="scrollWidth"),j=j,a===M||(a===T||a===E)&&o===N)O=S,b-=(h&&P.visualViewport?P.visualViewport.height:j[D])-r.height,b*=l?1:-1;if(a===T||(a===M||a===S)&&o===N)k=E,g-=(h&&P.visualViewport?P.visualViewport.width:j[L])-r.width,g*=l?1:-1}var A,R=Object.assign({position:u},f&&Q),I=!0===d?function(t){var e=t.x,n=t.y,r=window.devicePixelRatio||1;return{x:c(e*r)/r||0,y:c(n*r)/r||0}}({x:g,y:b}):{x:g,y:b};return g=I.x,b=I.y,l?Object.assign({},R,((A={})[O]=x?"0":"",A[k]=w?"0":"",A.transform=(P.devicePixelRatio||1)<=1?"translate("+g+"px, "+b+"px)":"translate3d("+g+"px, "+b+"px, 0)",A)):Object.assign({},R,((e={})[O]=x?b+"px":"",e[k]=w?g+"px":"",e.transform="",e))}var $={left:"right",right:"left",bottom:"top",top:"bottom"};function G(t){return t.replace(/left|right|bottom|top/g,(function(t){return $[t]}))}var J={start:"end",end:"start"};function tt(t){return t.replace(/start|end/g,(function(t){return J[t]}))}function et(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&s(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function nt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function rt(t,e){return e===L?nt(function(t){var e=i(t),n=p(t),r=e.visualViewport,a=n.clientWidth,o=n.clientHeight,s=0,u=0;return r&&(a=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,u=r.offsetTop)),{width:a,height:o,x:s+m(t),y:u}}(t)):a(e)?function(t){var e=f(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):nt(function(t){var e,n=p(t),r=d(t),i=null==(e=t.ownerDocument)?void 0:e.body,a=u(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=u(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+m(t),l=-r.scrollTop;return"rtl"===v(i||n).direction&&(s+=u(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:s,y:l}}(p(t)))}function it(t,e,n){var r="clippingParents"===e?function(t){var e=x(_(t)),n=["absolute","fixed"].indexOf(v(t).position)>=0&&o(t)?C(t):t;return a(n)?e.filter((function(t){return a(t)&&et(t,n)&&"body"!==h(t)})):[]}(t):[].concat(e),i=[].concat(r,[n]),s=i[0],c=i.reduce((function(e,n){var r=rt(t,n);return e.top=u(r.top,e.top),e.right=l(r.right,e.right),e.bottom=l(r.bottom,e.bottom),e.left=u(r.left,e.left),e}),rt(t,s));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function at(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function ot(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function st(t,e){void 0===e&&(e={});var n=e,r=n.placement,i=void 0===r?t.placement:r,o=n.boundary,s=void 0===o?"clippingParents":o,u=n.rootBoundary,l=void 0===u?L:u,c=n.elementContext,d=void 0===c?A:c,h=n.altBoundary,m=void 0!==h&&h,v=n.padding,g=void 0===v?0:v,y=at("number"!==typeof g?g:ot(g,j)),b=d===A?"reference":A,_=t.rects.popper,w=t.elements[m?b:d],x=it(a(w)?w:w.contextElement||p(t.elements.popper),s,l),k=f(t.elements.reference),O=K({reference:k,element:_,strategy:"absolute",placement:i}),C=nt(Object.assign({},_,O)),T=d===A?C:k,P={top:x.top-T.top+y.top,bottom:T.bottom-x.bottom+y.bottom,left:x.left-T.left+y.left,right:T.right-x.right+y.right},D=t.modifiersData.offset;if(d===A&&D){var N=D[i];Object.keys(P).forEach((function(t){var e=[E,S].indexOf(t)>=0?1:-1,n=[M,S].indexOf(t)>=0?"y":"x";P[t]+=N[n]*e}))}return P}function ut(t,e,n){return u(t,l(e,n))}function lt(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function ct(t){return[M,E,S,T].some((function(e){return t[e]>=0}))}var ft=W({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,r=t.options,a=r.scroll,o=void 0===a||a,s=r.resize,u=void 0===s||s,l=i(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",n.update,V)})),u&&l.addEventListener("resize",n.update,V),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",n.update,V)})),u&&l.removeEventListener("resize",n.update,V)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=K({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=void 0===r||r,a=n.adaptive,o=void 0===a||a,s=n.roundOffsets,u=void 0===s||s,l={placement:Y(e.placement),variation:q(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,X(Object.assign({},l,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:u})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,X(Object.assign({},l,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},r=e.attributes[t]||{},i=e.elements[t];o(i)&&h(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(t){var e=r[t];!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var r=e.elements[t],i=e.attributes[t]||{},a=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});o(r)&&h(r)&&(Object.assign(r.style,a),Object.keys(i).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,r=t.name,i=n.offset,a=void 0===i?[0,0]:i,o=I.reduce((function(t,n){return t[n]=function(t,e,n){var r=Y(t),i=[T,M].indexOf(r)>=0?-1:1,a="function"===typeof n?n(Object.assign({},e,{placement:t})):n,o=a[0],s=a[1];return o=o||0,s=(s||0)*i,[T,E].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}(n,e.rects,a),t}),{}),s=o[e.placement],u=s.x,l=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=l),e.modifiersData[r]=o}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,a=void 0===i||i,o=n.altAxis,s=void 0===o||o,u=n.fallbackPlacements,l=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=void 0===h||h,m=n.allowedAutoPlacements,v=e.options.placement,g=Y(v),y=u||(g===v||!p?[G(v)]:function(t){if(Y(t)===P)return[];var e=G(t);return[tt(t),e,tt(e)]}(v)),b=[v].concat(y).reduce((function(t,n){return t.concat(Y(n)===P?function(t,e){void 0===e&&(e={});var n=e,r=n.placement,i=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,l=void 0===u?I:u,c=q(r),f=c?s?R:R.filter((function(t){return q(t)===c})):j,d=f.filter((function(t){return l.indexOf(t)>=0}));0===d.length&&(d=f);var h=d.reduce((function(e,n){return e[n]=st(t,{placement:n,boundary:i,rootBoundary:a,padding:o})[Y(n)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}(e,{placement:n,boundary:c,rootBoundary:f,padding:l,flipVariations:p,allowedAutoPlacements:m}):n)}),[]),_=e.rects.reference,w=e.rects.popper,x=new Map,k=!0,O=b[0],C=0;C=0,F=z?"width":"height",B=st(e,{placement:N,boundary:c,rootBoundary:f,altBoundary:d,padding:l}),H=z?A?E:T:A?S:M;_[F]>w[F]&&(H=G(H));var U=G(H),W=[];if(a&&W.push(B[L]<=0),s&&W.push(B[H]<=0,B[U]<=0),W.every((function(t){return t}))){O=N,k=!1;break}x.set(N,W)}if(k)for(var V=function(t){var e=b.find((function(e){var n=x.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return O=e,"break"},Z=p?3:1;Z>0;Z--){if("break"===V(Z))break}e.placement!==O&&(e.modifiersData[r]._skip=!0,e.placement=O,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,a=void 0===i||i,o=n.altAxis,s=void 0!==o&&o,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.padding,p=n.tether,m=void 0===p||p,v=n.tetherOffset,g=void 0===v?0:v,y=st(e,{boundary:c,rootBoundary:f,padding:h,altBoundary:d}),_=Y(e.placement),w=q(e.placement),x=!w,k=Z(_),O="x"===k?"y":"x",P=e.modifiersData.popperOffsets,j=e.rects.reference,N=e.rects.popper,L="function"===typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,A="number"===typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),R=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,I={x:0,y:0};if(P){if(a){var z,F="y"===k?M:T,B="y"===k?S:E,H="y"===k?"height":"width",U=P[k],W=U+y[F],V=U-y[B],K=m?-N[H]/2:0,Q=w===D?j[H]:N[H],X=w===D?-N[H]:-j[H],$=e.elements.arrow,G=m&&$?b($):{width:0,height:0},J=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},tt=J[F],et=J[B],nt=ut(0,j[H],G[H]),rt=x?j[H]/2-K-nt-tt-A.mainAxis:Q-nt-tt-A.mainAxis,it=x?-j[H]/2+K+nt+et+A.mainAxis:X+nt+et+A.mainAxis,at=e.elements.arrow&&C(e.elements.arrow),ot=at?"y"===k?at.clientTop||0:at.clientLeft||0:0,lt=null!=(z=null==R?void 0:R[k])?z:0,ct=U+it-lt,ft=ut(m?l(W,U+rt-lt-ot):W,U,m?u(V,ct):V);P[k]=ft,I[k]=ft-U}if(s){var dt,ht="x"===k?M:T,pt="x"===k?S:E,mt=P[O],vt="y"===O?"height":"width",gt=mt+y[ht],yt=mt-y[pt],bt=-1!==[M,T].indexOf(_),_t=null!=(dt=null==R?void 0:R[O])?dt:0,wt=bt?gt:mt-j[vt]-N[vt]-_t+A.altAxis,xt=bt?mt+j[vt]+N[vt]-_t-A.altAxis:yt,kt=m&&bt?function(t,e,n){var r=ut(t,e,n);return r>n?n:r}(wt,mt,xt):ut(m?wt:gt,mt,m?xt:yt);P[O]=kt,I[O]=kt-mt}e.modifiersData[r]=I}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,r=t.name,i=t.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=Y(n.placement),u=Z(s),l=[T,E].indexOf(s)>=0?"height":"width";if(a&&o){var c=function(t,e){return at("number"!==typeof(t="function"===typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:ot(t,j))}(i.padding,n),f=b(a),d="y"===u?M:T,h="y"===u?S:E,p=n.rects.reference[l]+n.rects.reference[u]-o[u]-n.rects.popper[l],m=o[u]-n.rects.reference[u],v=C(a),g=v?"y"===u?v.clientHeight||0:v.clientWidth||0:0,y=p/2-m/2,_=c[d],w=g-f[l]-c[h],x=g/2-f[l]/2+y,k=ut(_,x,w),O=u;n.modifiersData[r]=((e={})[O]=k,e.centerOffset=k-x,e)}},effect:function(t){var e=t.state,n=t.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=e.elements.popper.querySelector(r)))&&et(e.elements.popper,r)&&(e.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,a=e.modifiersData.preventOverflow,o=st(e,{elementContext:"reference"}),s=st(e,{altBoundary:!0}),u=lt(o,r),l=lt(s,i,a),c=ct(u),f=ct(l);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}}]}),dt=n(180),ht=n.n(dt),pt=n(47),mt=[],vt=function(t,e,n){void 0===n&&(n={});var i=r.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||mt},o=r.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=o[0],u=o[1],l=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(t){var e=t.state,n=Object.keys(e.elements);u({styles:Object(pt.a)(n.map((function(t){return[t,e.styles[t]||{}]}))),attributes:Object(pt.a)(n.map((function(t){return[t,e.attributes[t]]})))})},requires:["computeStyles"]}}),[]),c=r.useMemo((function(){var t={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[l,{name:"applyStyles",enabled:!1}])};return ht()(i.current,t)?i.current||t:(i.current=t,t)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,l]),f=r.useRef();return Object(pt.e)((function(){f.current&&f.current.setOptions(c)}),[c]),Object(pt.e)((function(){if(null!=t&&null!=e){var r=(n.createPopper||ft)(t,e,c);return f.current=r,function(){r.destroy(),f.current=null}}}),[t,e,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}}},,function(t,e,n){"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(20),i=n(55),a=n(63),o=Object(r.a)((function(t){return!!Object(i.a)(t)||!!t&&("object"===typeof t&&(!Object(a.a)(t)&&(1===t.nodeType?!!t.length:0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));e.a=o},function(t,e,n){"use strict";var r=n(35),i=Object.prototype.toString,a=function(){return"[object Arguments]"===i.call(arguments)?function(t){return"[object Arguments]"===i.call(t)}:function(t){return Object(r.a)("callee",t)}}();e.a=a},function(t,e,n){"use strict";var r=n(17),i=n(63),a=Object(r.a)((function(t,e){var n=t<0?e.length+t:t;return Object(i.a)(e)?e.charAt(n):e[n]}));e.a=a},,,function(t,e,n){"use strict";var r=n(41),i=n(49),a=Object(r.a)(i.a);e.a=a},function(t,e,n){"use strict";var r=n(77),i=n(41),a=Object(i.a)(Object(r.a)("slice",(function(t,e,n){return Array.prototype.slice.call(n,t,e)})));e.a=a},,function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(14),i=n(79),a=n(5);function o(t,e){Object(a.a)(2,arguments);var n=Object(r.a)(e);return Object(i.a)(t,-n)}},function(t,e,n){"use strict";function r(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}}function i(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}}var a={p:i,P:function(t,e){var n,a=t.match(/(P+)(p+)?/)||[],o=a[1],s=a[2];if(!s)return r(t,e);switch(o){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;case"PPPP":default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",r(o,e)).replace("{{time}}",i(s,e))}};e.a=a},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(9),i=n(5),a=n(58);function o(t){Object(i.a)(1,arguments);var e=Object(r.default)(t),n=e.getUTCFullYear(),o=new Date(0);o.setUTCFullYear(n+1,0,4),o.setUTCHours(0,0,0,0);var s=Object(a.a)(o),u=new Date(0);u.setUTCFullYear(n,0,4),u.setUTCHours(0,0,0,0);var l=Object(a.a)(u);return e.getTime()>=s.getTime()?n+1:e.getTime()>=l.getTime()?n:n-1}},function(t,e,n){"use strict";function r(t,e){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in e=e||{})Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return a}));var r=n(9),i=n(5);function a(t){Object(i.a)(1,arguments);var e=Object(r.default)(t),n=e.getMonth(),a=n-n%3;return e.setMonth(a,1),e.setHours(0,0,0,0),e}},function(t,e,n){"use strict";function r(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(281).CopyToClipboard;r.CopyToClipboard=r,t.exports=r},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(9),i=n(5);function a(t,e){return Object(i.a)(2,arguments),Object(r.default)(t).getTime()-Object(r.default)(e).getTime()}},function(t,e,n){"use strict";n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return V}));var r=n(2),i=n.n(r),a=i.a.createContext(null);var o=function(t){t()};function s(){var t=o,e=null,n=null;return{clear:function(){e=null,n=null},notify:function(){t((function(){for(var t=e;t;)t.callback(),t=t.next}))},get:function(){for(var t=[],n=e;n;)t.push(n),n=n.next;return t},subscribe:function(t){var r=!0,i=n={callback:t,next:null,prev:n};return i.prev?i.prev.next=i:e=i,function(){r&&null!==e&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var u={notify:function(){},get:function(){return[]}};function l(t,e){var n,r=u;function i(){o.onStateChange&&o.onStateChange()}function a(){n||(n=e?e.addNestedSub(i):t.subscribe(i),r=s())}var o={addNestedSub:function(t){return a(),r.subscribe(t)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(n)},trySubscribe:a,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=u)},getListeners:function(){return r}};return o}var c="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect;var f=function(t){var e=t.store,n=t.context,o=t.children,s=Object(r.useMemo)((function(){var t=l(e);return t.onStateChange=t.notifyNestedSubs,{store:e,subscription:t}}),[e]),u=Object(r.useMemo)((function(){return e.getState()}),[e]);c((function(){var t=s.subscription;return t.trySubscribe(),u!==e.getState()&&t.notifyNestedSubs(),function(){t.tryUnsubscribe(),t.onStateChange=null}}),[s,u]);var f=n||a;return i.a.createElement(f.Provider,{value:s},o)},d=n(43),h=n(60),p=n(151),m=n.n(p),v=n(174),g=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],y=["reactReduxForwardedRef"],b=[],_=[null,null];function w(t,e){var n=t[1];return[e.payload,n+1]}function x(t,e,n){c((function(){return t.apply(void 0,e)}),n)}function k(t,e,n,r,i,a,o){t.current=r,e.current=i,n.current=!1,a.current&&(a.current=null,o())}function O(t,e,n,r,i,a,o,s,u,l){if(t){var c=!1,f=null,d=function(){if(!c){var t,n,d=e.getState();try{t=r(d,i.current)}catch(h){n=h,f=h}n||(f=null),t===a.current?o.current||u():(a.current=t,s.current=t,o.current=!0,l({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=d,n.trySubscribe(),d();return function(){if(c=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}}var C=function(){return[null,0]};function M(t,e){void 0===e&&(e={});var n=e,o=n.getDisplayName,s=void 0===o?function(t){return"ConnectAdvanced("+t+")"}:o,u=n.methodName,c=void 0===u?"connectAdvanced":u,f=n.renderCountProp,p=void 0===f?void 0:f,M=n.shouldHandleStateChanges,S=void 0===M||M,E=n.storeKey,T=void 0===E?"store":E,P=(n.withRef,n.forwardRef),j=void 0!==P&&P,D=n.context,N=void 0===D?a:D,L=Object(h.a)(n,g),A=N;return function(e){var n=e.displayName||e.name||"Component",a=s(n),o=Object(d.a)({},L,{getDisplayName:s,methodName:c,renderCountProp:p,shouldHandleStateChanges:S,storeKey:T,displayName:a,wrappedComponentName:n,WrappedComponent:e}),u=L.pure;var f=u?r.useMemo:function(t){return t()};function g(n){var a=Object(r.useMemo)((function(){var t=n.reactReduxForwardedRef,e=Object(h.a)(n,y);return[n.context,t,e]}),[n]),s=a[0],u=a[1],c=a[2],p=Object(r.useMemo)((function(){return s&&s.Consumer&&Object(v.isContextConsumer)(i.a.createElement(s.Consumer,null))?s:A}),[s,A]),m=Object(r.useContext)(p),g=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(m)&&Boolean(m.store);var M=g?n.store:m.store,E=Object(r.useMemo)((function(){return function(e){return t(e.dispatch,o)}(M)}),[M]),T=Object(r.useMemo)((function(){if(!S)return _;var t=l(M,g?null:m.subscription),e=t.notifyNestedSubs.bind(t);return[t,e]}),[M,g,m]),P=T[0],j=T[1],D=Object(r.useMemo)((function(){return g?m:Object(d.a)({},m,{subscription:P})}),[g,m,P]),N=Object(r.useReducer)(w,b,C),L=N[0][0],R=N[1];if(L&&L.error)throw L.error;var I=Object(r.useRef)(),z=Object(r.useRef)(c),F=Object(r.useRef)(),B=Object(r.useRef)(!1),H=f((function(){return F.current&&c===z.current?F.current:E(M.getState(),c)}),[M,L,c]);x(k,[z,I,B,c,H,F,j]),x(O,[S,M,P,E,z,I,B,F,j,R],[M,P,E]);var U=Object(r.useMemo)((function(){return i.a.createElement(e,Object(d.a)({},H,{ref:u}))}),[u,e,H]);return Object(r.useMemo)((function(){return S?i.a.createElement(p.Provider,{value:D},U):U}),[p,U,D])}var M=u?i.a.memo(g):g;if(M.WrappedComponent=e,M.displayName=g.displayName=a,j){var E=i.a.forwardRef((function(t,e){return i.a.createElement(M,Object(d.a)({},t,{reactReduxForwardedRef:e}))}));return E.displayName=a,E.WrappedComponent=e,m()(E,e)}return m()(M,e)}}function S(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function E(t,e){if(S(t,e))return!0;if("object"!==typeof t||null===t||"object"!==typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(var i=0;i=0;r--){var i=e[r](t);if(i)return i}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function U(t,e){return t===e}function W(t){var e=void 0===t?{}:t,n=e.connectHOC,r=void 0===n?M:n,i=e.mapStateToPropsFactories,a=void 0===i?N:i,o=e.mapDispatchToPropsFactories,s=void 0===o?D:o,u=e.mergePropsFactories,l=void 0===u?A:u,c=e.selectorFactory,f=void 0===c?F:c;return function(t,e,n,i){void 0===i&&(i={});var o=i,u=o.pure,c=void 0===u||u,p=o.areStatesEqual,m=void 0===p?U:p,v=o.areOwnPropsEqual,g=void 0===v?E:v,y=o.areStatePropsEqual,b=void 0===y?E:y,_=o.areMergedPropsEqual,w=void 0===_?E:_,x=Object(h.a)(o,B),k=H(t,a,"mapStateToProps"),O=H(e,s,"mapDispatchToProps"),C=H(n,l,"mergeProps");return r(f,Object(d.a)({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:k,initMapDispatchToProps:O,initMergeProps:C,pure:c,areStatesEqual:m,areOwnPropsEqual:g,areStatePropsEqual:b,areMergedPropsEqual:w},x))}}var V=W();var Y,q=n(40);Y=q.unstable_batchedUpdates,o=Y},function(t,e,n){"use strict";var r=n(97);function i(t,e,n,a){var o,s=function(r){for(var o=e.length,s=0;s=~^]+)/),i=n?n[1]:"=";if("^"!==i&&"~"!==i)return a(t,e,i);var o=s(t),u=Object(r.a)(o,3),l=u[0],d=u[1],h=u[2],p=s(e),m=Object(r.a)(p,3),v=m[0],g=m[1],y=m[2];return 0===c(l,v)&&("^"===i?f([d,h],[g,y])>=0:0===c(d,g)&&c(h,y)>=0)};var o=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,s=function(t){if("string"!==typeof t)throw new TypeError("Invalid argument expected string");var e=t.match(o);if(!e)throw new Error("Invalid argument not valid semver ('".concat(t,"' received)"));return e.shift(),e},u=function(t){return"*"===t||"x"===t||"X"===t},l=function(t){var e=parseInt(t,10);return isNaN(e)?t:e},c=function(t,e){if(u(t)||u(e))return 0;var n=function(t,e){return typeof t!==typeof e?[String(t),String(e)]:[t,e]}(l(t),l(e)),i=Object(r.a)(n,2),a=i[0],o=i[1];return a>o?1:a":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},h=Object.keys(d),p=function(t){if("string"!==typeof t)throw new TypeError("Invalid operator type, expected string but got ".concat(typeof t));if(-1===h.indexOf(t))throw new Error("Invalid operator, expected one of ".concat(h.join("|")))}},,function(t,e,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(t,e){for(var n,s,u=o(t),l=1;l0&&o.length>i&&!o.warned){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=o.length,s=u,console&&console.warn&&console.warn(s)}return t}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 h(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function p(t,e,n){var r=t._events;if(void 0===r)return[];var i=r[e];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?function(t){for(var e=new Array(t.length),n=0;n0&&(o=e[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var u=i[t];if(void 0===u)return!1;if("function"===typeof u)a(u,this,e);else{var l=u.length,c=v(u,l);for(n=0;n=0;a--)if(n[a]===e||n[a].listener===e){o=n[a].listener,i=a;break}if(i<0)return this;0===i?n.shift():function(t,e){for(;e+1=0;r--)this.removeListener(t,e[r]);return this},s.prototype.listeners=function(t){return p(this,t,!0)},s.prototype.rawListeners=function(t){return p(this,t,!1)},s.listenerCount=function(t,e){return"function"===typeof t.listenerCount?t.listenerCount(e):m.call(t,e)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(t,e,n){(e=t.exports=n(168)).Stream=e,e.Readable=e,e.Writable=n(137),e.Duplex=n(65),e.Transform=n(173),e.PassThrough=n(296)},function(t,e,n){var r=n(136),i=r.Buffer;function a(t,e){for(var n in t)e[n]=t[n]}function o(t,e,n){return i(t,e,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(a(r,e),e.Buffer=o),a(i,o),o.from=function(t,e,n){if("number"===typeof t)throw new TypeError("Argument must not be a number");return i(t,e,n)},o.alloc=function(t,e,n){if("number"!==typeof t)throw new TypeError("Argument must be a number");var r=i(t);return void 0!==e?"string"===typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},o.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return i(t)},o.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},function(t,e,n){"use strict";(function(t){var r=n(287),i=n(288),a=n(169);function o(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function p(t,e){if(u.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return H(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return U(t).length;default:if(r)return H(t).length;e=(""+e).toLowerCase(),r=!0}}function m(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return P(this,e,n);case"utf8":case"utf-8":return M(this,e,n);case"ascii":return E(this,e,n);case"latin1":case"binary":return T(this,e,n);case"base64":return C(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function v(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function g(t,e,n,r,i){if(0===t.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:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof e&&(e=u.from(e,r)),u.isBuffer(e))return 0===e.length?-1:y(t,e,n,r,i);if("number"===typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):y(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(t,e,n,r,i){var a,o=1,s=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;o=2,s/=2,u/=2,n/=2}function l(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(i){var c=-1;for(a=n;as&&(n=s-u),a=n;a>=0;a--){for(var f=!0,d=0;di&&(r=i):r=i;var a=e.length;if(a%2!==0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o>8,i=n%256,a.push(i),a.push(r);return a}(e,t.length-n),t,n,r)}function C(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function M(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i239?4:l>223?3:l>191?2:1;if(i+f<=n)switch(f){case 1:l<128&&(c=l);break;case 2:128===(192&(a=t[i+1]))&&(u=(31&l)<<6|63&a)>127&&(c=u);break;case 3:a=t[i+1],o=t[i+2],128===(192&a)&&128===(192&o)&&(u=(15&l)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:a=t[i+1],o=t[i+2],s=t[i+3],128===(192&a)&&128===(192&o)&&128===(192&s)&&(u=(15&l)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return function(t){var e=t.length;if(e<=S)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},u.prototype.compare=function(t,e,n,r,i){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var a=(i>>>=0)-(r>>>=0),o=(n>>>=0)-(e>>>=0),s=Math.min(a,o),l=this.slice(r,i),c=t.slice(e,n),f=0;fi)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return b(this,t,e,n);case"utf8":case"utf-8":return _(this,t,e,n);case"ascii":return w(this,t,e,n);case"latin1":case"binary":return x(this,t,e,n);case"base64":return k(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,e,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var S=4096;function E(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;ir)&&(n=r);for(var i="",a=e;an)throw new RangeError("Trying to access beyond buffer length")}function N(t,e,n,r,i,a){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function L(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,a=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function A(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,a=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function R(t,e,n,r,i,a){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function I(t,e,n,r,a){return a||R(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function z(t,e,n,r,a){return a||R(t,0,n,8),i.write(t,e,n,r,52,8),n+8}u.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(i*=256);)r+=this[t+--e]*i;return r},u.prototype.readUInt8=function(t,e){return e||D(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||D(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||D(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||D(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||D(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||D(t,e,this.length);for(var r=this[t],i=1,a=0;++a=(i*=128)&&(r-=Math.pow(2,8*e)),r},u.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||D(t,e,this.length);for(var r=e,i=1,a=this[t+--r];r>0&&(i*=256);)a+=this[t+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*e)),a},u.prototype.readInt8=function(t,e){return e||D(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||D(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(t,e){e||D(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(t,e){return e||D(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||D(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||D(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||D(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||D(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||D(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||N(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[e]=255&t;++a=0&&(a*=256);)this[e+i]=t/a&255;return e+n},u.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):A(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):A(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);N(this,t,e,n,i-1,-i)}var a=0,o=1,s=0;for(this[e]=255&t;++a>0)-s&255;return e+n},u.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);N(this,t,e,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[e+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+n},u.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):A(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):A(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,n){return I(this,t,e,!0,n)},u.prototype.writeFloatBE=function(t,e,n){return I(this,t,e,!1,n)},u.prototype.writeDoubleLE=function(t,e,n){return z(this,t,e,!0,n)},u.prototype.writeDoubleBE=function(t,e,n){return z(this,t,e,!1,n)},u.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=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),t.length-e=0;--i)t[i+e]=this[i+n];else if(a<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(a=e;a55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(e-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;a.push(n)}else if(n<2048){if((e-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function U(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(F,"")).length<2)return"";for(;t.length%4!==0;)t+="=";return t}(t))}function W(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(this,n(61))},function(t,e,n){"use strict";(function(e,r,i){var a=n(102);function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var r=t.entry;t.entry=null;for(;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}t.exports=y;var s,u=!e.browser&&["v0.10","v0.9."].indexOf(e.version.slice(0,5))>-1?r:a.nextTick;y.WritableState=g;var l=n(95);l.inherits=n(75);var c={deprecate:n(294)},f=n(170),d=n(135).Buffer,h=i.Uint8Array||function(){};var p,m=n(171);function v(){}function g(t,e){s=s||n(65),t=t||{};var r=e instanceof s;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,l=t.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(l||0===l)?l:c,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===t.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,r=n.sync,i=n.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,r,i){--e.pendingcb,n?(a.nextTick(i,r),a.nextTick(O,t,e),t._writableState.errorEmitted=!0,t.emit("error",r)):(i(r),t._writableState.errorEmitted=!0,t.emit("error",r),O(t,e))}(t,n,r,e,i);else{var o=x(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||w(t,n),r?u(_,t,n,o,i):_(t,n,o,i)}}(e,t)},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 o(this)}function y(t){if(s=s||n(65),!p.call(y,this)&&!(this instanceof s))return new y(t);this._writableState=new g(t,this),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),f.call(this)}function b(t,e,n,r,i,a,o){e.writelen=r,e.writecb=o,e.writing=!0,e.sync=!0,n?t._writev(i,e.onwrite):t._write(i,a,e.onwrite),e.sync=!1}function _(t,e,n,r){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,r(),O(t,e)}function w(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var r=e.bufferedRequestCount,i=new Array(r),a=e.corkedRequestsFree;a.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(t,e,!0,e.length,i,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new o(e),e.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,f=n.callback;if(b(t,e,!1,e.objectMode?1:l.length,l,c,f),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function x(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function k(t,e){t._final((function(n){e.pendingcb--,n&&t.emit("error",n),e.prefinished=!0,t.emit("prefinish"),O(t,e)}))}function O(t,e){var n=x(e);return n&&(!function(t,e){e.prefinished||e.finalCalled||("function"===typeof t._final?(e.pendingcb++,e.finalCalled=!0,a.nextTick(k,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),n}l.inherits(y,f),g.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(g.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(t){return!!p.call(this,t)||this===y&&(t&&t._writableState instanceof g)}})):p=function(t){return t instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(t,e,n){var r,i=this._writableState,o=!1,s=!i.objectMode&&(r=t,d.isBuffer(r)||r instanceof h);return s&&!d.isBuffer(t)&&(t=function(t){return d.from(t)}(t)),"function"===typeof e&&(n=e,e=null),s?e="buffer":e||(e=i.defaultEncoding),"function"!==typeof n&&(n=v),i.ended?function(t,e){var n=new Error("write after end");t.emit("error",n),a.nextTick(e,n)}(this,n):(s||function(t,e,n,r){var i=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"===typeof n||void 0===n||e.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(t.emit("error",o),a.nextTick(r,o),i=!1),i}(this,i,t,n))&&(i.pendingcb++,o=function(t,e,n,r,i,a){if(!n){var o=function(t,e,n){t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=d.from(e,n));return e}(e,r,i);r!==o&&(n=!0,i="buffer",r=o)}var s=e.objectMode?1:r.length;e.length+=s;var u=e.length-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(t,e,n){n(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(t,e,n){var r=this._writableState;"function"===typeof t?(n=t,t=null,e=null):"function"===typeof e&&(n=e,e=null),null!==t&&void 0!==t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(t,e,n){e.ending=!0,O(t,e),n&&(e.finished?a.nextTick(n):t.once("finish",n));e.ended=!0,t.writable=!1}(this,r,n)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,n(94),n(292).setImmediate,n(61))},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return o}));var r=n(139),i=n(9),a=n(5);function o(t){if(Object(a.a)(1,arguments),!Object(r.default)(t)&&"number"!==typeof t)return!1;var e=Object(i.default)(t);return!isNaN(Number(e))}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return i}));var r=n(5);function i(t){return Object(r.a)(1,arguments),t instanceof Date||"object"===typeof t&&"[object Date]"===Object.prototype.toString.call(t)}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return a}));var r=n(9),i=n(5);function a(t){Object(i.a)(1,arguments);var e=Object(r.default)(t);return e.setHours(23,59,59,999),e}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return o}));var r=n(14),i=n(79),a=n(5);function o(t,e){Object(a.a)(2,arguments);var n=Object(r.a)(e);return Object(i.a)(t,6e4*n)}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return s}));var r=n(14),i=n(79),a=n(5),o=36e5;function s(t,e){Object(a.a)(2,arguments);var n=Object(r.a)(e);return Object(i.a)(t,n*o)}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return o}));var r=n(14),i=n(66),a=n(5);function o(t,e){Object(a.a)(2,arguments);var n=Object(r.a)(e),o=7*n;return Object(i.default)(t,o)}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return o}));var r=n(14),i=n(67),a=n(5);function o(t,e){Object(a.a)(2,arguments);var n=Object(r.a)(e);return Object(i.default)(t,12*n)}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return a}));var r=n(9),i=n(5);function a(t){Object(i.a)(1,arguments);var e=Object(r.default)(t),n=e.getTime();return n}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return s}));var r=n(46),i=n(70),a=n(5),o=864e5;function s(t,e){Object(a.a)(2,arguments);var n=Object(i.default)(t),s=Object(i.default)(e),u=n.getTime()-Object(r.a)(n),l=s.getTime()-Object(r.a)(s);return Math.round((u-l)/o)}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return a}));var r=n(9),i=n(5);function a(t,e){Object(i.a)(2,arguments);var n=Object(r.default)(t),a=Object(r.default)(e),o=n.getFullYear()-a.getFullYear(),s=n.getMonth()-a.getMonth();return 12*o+s}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return o}));var r=n(9),i=n(14),a=n(5);function o(t,e){Object(a.a)(1,arguments);var n=e||{},o=n.locale,s=o&&o.options&&o.options.weekStartsOn,u=null==s?0:Object(i.a)(s),l=null==n.weekStartsOn?u:Object(i.a)(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=Object(r.default)(t),f=c.getDay(),d=6+(ft.length)&&(e=t.length);for(var n=0,r=Array(e);n1;){var e=t.pop(),n=e.obj[e.prop];if(a(n)){for(var r=[],i=0;i=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||a===r.RFC1738&&(40===c||41===c)?u+=s.charAt(l):c<128?u+=o[c]:c<2048?u+=o[192|c>>6]+o[128|63&c]:c<55296||c>=57344?u+=o[224|c>>12]+o[128|c>>6&63]+o[128|63&c]:(l+=1,c=65536+((1023&c)<<10|1023&s.charCodeAt(l)),u+=o[240|c>>18]+o[128|c>>12&63]+o[128|c>>6&63]+o[128|63&c])}return u},isBuffer:function(t){return!(!t||"object"!==typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(a(t)){for(var n=[],r=0;r0?("string"===typeof e||o.objectMode||Object.getPrototypeOf(e)===l.prototype||(e=function(t){return l.from(t)}(e)),r?o.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):w(t,o,e,!0):o.ended?t.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!n?(e=o.decoder.write(e),o.objectMode||0!==e.length?w(t,o,e,!1):M(t,o)):w(t,o,e,!1))):r||(o.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.lengthe.highWaterMark&&(e.highWaterMark=function(t){return t>=x?t=x:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function O(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(h("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?i.nextTick(C,t):C(t))}function C(t){h("emit readable"),t.emit("readable"),P(t)}function M(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(S,t,e))}function S(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=function(t,e,n){var r;ta.length?a.length:t;if(o===a.length?i+=a:i+=a.slice(0,t),0===(t-=o)){o===a.length?(++r,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=a.slice(o));break}++r}return e.length-=r,i}(t,e):function(t,e){var n=l.allocUnsafe(t),r=e.head,i=1;r.data.copy(n),t-=r.data.length;for(;r=r.next;){var a=r.data,o=t>a.length?a.length:t;if(a.copy(n,n.length-t,0,o),0===(t-=o)){o===a.length?(++i,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=a.slice(o));break}++i}return e.length-=i,n}(t,e);return r}(t,e.buffer,e.decoder),n);var n}function D(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,i.nextTick(N,e,t))}function N(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function L(t,e){for(var n=0,r=t.length;n=e.highWaterMark||e.ended))return h("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?D(this):O(this),null;if(0===(t=k(t,e))&&e.ended)return 0===e.length&&D(this),null;var r,i=e.needReadable;return h("need readable",i),(0===e.length||e.length-t0?j(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&D(this)),null!==r&&this.emit("data",r),r},b.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(t,e){var n=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=t;break;case 1:a.pipes=[a.pipes,t];break;default:a.pipes.push(t)}a.pipesCount+=1,h("pipe count=%d opts=%j",a.pipesCount,e);var u=(!e||!1!==e.end)&&t!==r.stdout&&t!==r.stderr?c:b;function l(e,r){h("onunpipe"),e===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,h("cleanup"),t.removeListener("close",g),t.removeListener("finish",y),t.removeListener("drain",f),t.removeListener("error",v),t.removeListener("unpipe",l),n.removeListener("end",c),n.removeListener("end",b),n.removeListener("data",m),d=!0,!a.awaitDrain||t._writableState&&!t._writableState.needDrain||f())}function c(){h("onend"),t.end()}a.endEmitted?i.nextTick(u):n.once("end",u),t.on("unpipe",l);var f=function(t){return function(){var e=t._readableState;h("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&s(t,"data")&&(e.flowing=!0,P(t))}}(n);t.on("drain",f);var d=!1;var p=!1;function m(e){h("ondata"),p=!1,!1!==t.write(e)||p||((1===a.pipesCount&&a.pipes===t||a.pipesCount>1&&-1!==L(a.pipes,t))&&!d&&(h("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function v(e){h("onerror",e),b(),t.removeListener("error",v),0===s(t,"error")&&t.emit("error",e)}function g(){t.removeListener("finish",y),b()}function y(){h("onfinish"),t.removeListener("close",g),b()}function b(){h("unpipe"),n.unpipe(t)}return n.on("data",m),function(t,e,n){if("function"===typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?o(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",v),t.once("close",g),t.once("finish",y),t.emit("pipe",n),a.flowing||(h("pipe resume"),n.resume()),t},b.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var a=0;a>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,n=function(t,e,n){if(128!==(192&e[0]))return t.lastNeed=0,"\ufffd";if(t.lastNeed>1&&e.length>1){if(128!==(192&e[1]))return t.lastNeed=1,"\ufffd";if(t.lastNeed>2&&e.length>2&&128!==(192&e[2]))return t.lastNeed=2,"\ufffd"}}(this,t);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function u(t,e){if((t.length-e)%2===0){var n=t.toString("utf16le",e);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function l(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function c(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function f(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function d(t){return t.toString(this.encoding)}function h(t){return t&&t.length?this.write(t):""}e.StringDecoder=a,a.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return i>0&&(t.lastNeed=i-1),i;if(--r=0)return i>0&&(t.lastNeed=i-2),i;if(--r=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var r=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)},a.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},function(t,e,n){"use strict";t.exports=o;var r=n(65),i=n(95);function a(t,e){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!=e&&this.push(e),r(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length3?c.call(arguments,3):[],i=this;return y.call(this,t,(function(){var t=e,a=r.map(h,i.container);return n?new(e.bind.apply(e,[null].concat(a))):t.apply(null,a)}))},_=function(t,e){Object.defineProperty(this,t,{configurable:!0,enumerable:!0,value:e,writable:!0})},w=function(t,e){var n=t[e];return n||_.call(t,e,n={}),n},x=function(t,e){Object.defineProperty(this,t,{configurable:!1,enumerable:!0,value:e,writable:!1})},k=function(t,e){var n,r;return typeof t===a&&(e=t,t=s),r=(n=t.split(i)).shift(),n.length?d.call(this,r).decorator(n.join(i),e):(this.decorators[r]||(this.decorators[r]=[]),this.decorators[r].push(e)),this},O=function(t){return!/^\$(?:decorator|register|list)$|Provider$/.test(t)},C=function(t){return Object.keys(t||this.container||{}).filter(O)},M={},S=function(t){var e=void 0===t.$value?t:t.$value;return this[t.$type||"service"].apply(this,[t.$name,e].concat(t.$inject||[]))},E=function(t){delete this.providerMap[t],delete this.container[t],delete this.container[t+u]};(r=function t(e){if(!(this instanceof t))return t.pop(e);this.id=l++,this.decorators={},this.middlewares={},this.nested={},this.providerMap={},this.originalProviders={},this.deferred=[],this.container={$decorator:k.bind(this),$register:S.bind(this),$list:C.bind(this)}}).prototype={constant:function(t,e){var n=t.split(i);return t=n.pop(),x.call(n.reduce(w,this.container),t,e),this},decorator:k,defer:function(t){return this.deferred.push(t),this},digest:function(t){return(t||[]).map(h,this.container)},factory:y,instanceFactory:function(t,e){return y.call(this,t,(function(t){return{instance:e.bind(e,t)}}))},list:C,middleware:function(t,e){var n,r;return typeof t===a&&(e=t,t=s),r=(n=t.split(i)).shift(),n.length?d.call(this,r).middleware(n.join(i),e):(this.middlewares[r]||(this.middlewares[r]=[]),this.middlewares[r].push(e)),this},provider:g,resetProviders:function(t){var e=this.originalProviders,n=Array.isArray(t);Object.keys(this.originalProviders).forEach((function(r){if(!n||-1!==t.indexOf(r)){var a=r.split(i);a.length>1&&a.forEach(E,d.call(this,a[0])),E.call(this,r),this.provider(r,e[r])}}),this)},register:S,resolve:function(t){return this.deferred.forEach((function(e){e(t)})),this},service:function(t,e){return b.apply(this,[t,e,!0].concat(c.call(arguments,2)))},serviceFactory:function(t,e){return b.apply(this,[t,e,!1].concat(c.call(arguments,2)))},value:function(t,e){var n;return n=t.split(i),t=n.pop(),_.call(n.reduce(w,this.container),t,e),this}},r.pop=function(t){var e;return typeof t===o?((e=M[t])||(M[t]=e=new r,e.constant("BOTTLE_NAME",t)),e):new r},r.clear=function(t){typeof t===o?delete M[t]:M={}},r.list=C,r.config={strict:!1},e.a=r},,function(t,e,n){t.exports=n(226)},,function(t,e,n){!function(t,e){function n(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})),e.default=t,e}var r=n(e);function i(){return(i=Object.assign||function(t){for(var e=1;ee?n>0?o:a:r>0?u:s}function g(t,e){if(0===e)return t;var n=Math.PI/180*e;return[t[0]*Math.cos(n)+t[1]*Math.sin(n),t[1]*Math.cos(n)-t[0]*Math.sin(n)]}function y(t,e){var n=function(e){e&&"touches"in e&&e.touches.length>1||t((function(t,n){n.trackMouse&&(document.addEventListener(f,r),document.addEventListener(d,s));var a="touches"in e?e.touches[0]:e,o=g([a.clientX,a.clientY],n.rotationAngle);return i({},t,c,{initial:[].concat(o),xy:o,start:e.timeStamp||0})}))},r=function(e){t((function(t,n){if("touches"in e&&e.touches.length>1)return t;var r="touches"in e?e.touches[0]:e,a=g([r.clientX,r.clientY],n.rotationAngle),o=a[0],s=a[1],u=o-t.xy[0],c=s-t.xy[1],f=Math.abs(u),d=Math.abs(c),h=(e.timeStamp||0)-t.start,p=Math.sqrt(f*f+d*d)/(h||1),m=[u/(h||1),c/(h||1)],y=v(f,d,u,c),b="number"===typeof n.delta?n.delta:n.delta[y.toLowerCase()]||l.delta;if(ft?e:t}));e.a=i},function(t,e,n){!function(t,e,n,r,i,a,o,s,u,l,c,f,d,h,p,m,v,g,y,b,_,w,x,k,O,C,M,S,E,T,P,j,D,N,L,A,R,I,z,F,B,H,U,W,V,Y,q,Z,K,Q,X,$,G,J,tt,et,nt,rt,it,at,ot,st,ut){"use strict";function lt(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var ct=lt(e),ft=lt(r),dt=lt(i),ht=lt(a),pt=lt(o),mt=lt(s),vt=lt(u),gt=lt(l),yt=lt(c),bt=lt(f),_t=lt(d),wt=lt(m),xt=lt(v),kt=lt(g),Ot=lt(y),Ct=lt(b),Mt=lt(_),St=lt(w),Et=lt(x),Tt=lt(k),Pt=lt(O),jt=lt(C),Dt=lt(M),Nt=lt(S),Lt=lt(E),At=lt(T),Rt=lt(P),It=lt(j),zt=lt(D),Ft=lt(N),Bt=lt(L),Ht=lt(A),Ut=lt(R),Wt=lt(I),Vt=lt(z),Yt=lt(B),qt=lt(H),Zt=lt(U),Kt=lt(W),Qt=lt(V),Xt=lt(Y),$t=lt(q),Gt=lt(Q),Jt=lt(X),te=lt($),ee=lt(G),ne=lt(J),re=lt(tt),ie=lt(et),ae=lt(nt),oe=lt(rt),se=lt(it),ue=lt(at),le=lt(ot),ce=lt(st);function fe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function de(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&(a=se.default(t,e.slice(0,t.length),new Date)),Le(a)||(a=new Date(t))),Le(a)&&s?a:null)}function Le(t,e){return e=e||new Date("1/1/1000"),ht.default(t)&&!ie.default(t,e)}function Ae(t,e,n){if("en"===n)return pt.default(t,e,{awareOfUnicodeTokens:!0});var r=Ge(n);return n&&!r&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),!r&&$e()&&Ge($e())&&(r=Ge($e())),pt.default(t,e,{locale:r||null,awareOfUnicodeTokens:!0})}function Re(t,e){var n=e.dateFormat,r=e.locale;return t&&Ae(t,Array.isArray(n)?n[0]:n,r)||""}function Ie(t,e){var n=e.hour,r=void 0===n?0:n,i=e.minute,a=void 0===i?0:i,o=e.second,s=void 0===o?0:o;return It.default(Rt.default(At.default(t,s),a),r)}function ze(t,e){var n=e&&Ge(e)||$e()&&Ge($e());return Pt.default(t,n?{locale:n}:null)}function Fe(t,e){return Ae(t,"ddd",e)}function Be(t){return qt.default(t)}function He(t,e,n){var r=Ge(e||$e());return Zt.default(t,{locale:r,weekStartsOn:n})}function Ue(t){return Kt.default(t)}function We(t){return Xt.default(t)}function Ve(t){return Qt.default(t)}function Ye(t,e){return t&&e?ee.default(t,e):!t&&!e}function qe(t,e){return t&&e?te.default(t,e):!t&&!e}function Ze(t,e){return t&&e?ne.default(t,e):!t&&!e}function Ke(t,e){return t&&e?Jt.default(t,e):!t&&!e}function Qe(t,e){return t&&e?Gt.default(t,e):!t&&!e}function Xe(t,e,n){var r,i=qt.default(e),a=$t.default(n);try{r=ae.default(t,{start:i,end:a})}catch(t){r=!1}return r}function $e(){return("undefined"!=typeof window?window:globalThis).__localeId__}function Ge(t){if("string"==typeof t){var e="undefined"!=typeof window?window:globalThis;return e.__localeData__?e.__localeData__[t]:null}return t}function Je(t,e){return Ae(zt.default(De(),t),"LLLL",e)}function tn(t,e){return Ae(zt.default(De(),t),"LLL",e)}function en(t,e){return Ae(Ft.default(De(),t),"QQQ",e)}function nn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.minDate,r=e.maxDate,i=e.excludeDates,a=e.excludeDateIntervals,o=e.includeDates,s=e.includeDateIntervals,u=e.filterDate;return cn(t,{minDate:n,maxDate:r})||i&&i.some((function(e){return Ke(t,e)}))||a&&a.some((function(e){var n=e.start,r=e.end;return ae.default(t,{start:n,end:r})}))||o&&!o.some((function(e){return Ke(t,e)}))||s&&!s.some((function(e){var n=e.start,r=e.end;return ae.default(t,{start:n,end:r})}))||u&&!u(De(t))||!1}function rn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.excludeDates,r=e.excludeDateIntervals;return r&&r.length>0?r.some((function(e){var n=e.start,r=e.end;return ae.default(t,{start:n,end:r})})):n&&n.some((function(e){return Ke(t,e)}))||!1}function an(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.minDate,r=e.maxDate,i=e.excludeDates,a=e.includeDates,o=e.filterDate;return cn(t,{minDate:n,maxDate:r})||i&&i.some((function(e){return qe(t,e)}))||a&&!a.some((function(e){return qe(t,e)}))||o&&!o(De(t))||!1}function on(t,e,n,r){var i=Nt.default(t),a=jt.default(t),o=Nt.default(e),s=jt.default(e),u=Nt.default(r);return i===o&&i===u?a<=n&&n<=s:i=n||ui:void 0}function sn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.minDate,r=e.maxDate,i=e.excludeDates,a=e.includeDates,o=e.filterDate;return cn(t,{minDate:n,maxDate:r})||i&&i.some((function(e){return Ze(t,e)}))||a&&!a.some((function(e){return Ze(t,e)}))||o&&!o(De(t))||!1}function un(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.minDate,r=e.maxDate;return cn(new Date(t,0,1),{minDate:n,maxDate:r})||!1}function ln(t,e,n,r){var i=Nt.default(t),a=Dt.default(t),o=Nt.default(e),s=Dt.default(e),u=Nt.default(r);return i===o&&i===u?a<=n&&n<=s:i=n||ui:void 0}function cn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.minDate,r=e.maxDate;return n&&Wt.default(t,n)<0||r&&Wt.default(t,r)>0}function fn(t,e){return e.some((function(e){return St.default(e)===St.default(t)&&Mt.default(e)===Mt.default(t)}))}function dn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.excludeTimes,r=e.includeTimes,i=e.filterTime;return n&&fn(t,n)||r&&!fn(t,r)||i&&!i(t)||!1}function hn(t,e){var n=e.minTime,r=e.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var i,a=De(),o=It.default(Rt.default(a,Mt.default(t)),St.default(t)),s=It.default(Rt.default(a,Mt.default(n)),St.default(n)),u=It.default(Rt.default(a,Mt.default(r)),St.default(r));try{i=!ae.default(o,{start:s,end:u})}catch(t){i=!1}return i}function pn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.minDate,r=e.includeDates,i=kt.default(t,1);return n&&Vt.default(n,i)>0||r&&r.every((function(t){return Vt.default(t,i)>0}))||!1}function mn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.maxDate,r=e.includeDates,i=bt.default(t,1);return n&&Vt.default(i,n)>0||r&&r.every((function(t){return Vt.default(i,t)>0}))||!1}function vn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.minDate,r=e.includeDates,i=Ot.default(t,1);return n&&Yt.default(n,i)>0||r&&r.every((function(t){return Yt.default(t,i)>0}))||!1}function gn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.maxDate,r=e.includeDates,i=_t.default(t,1);return n&&Yt.default(i,n)>0||r&&r.every((function(t){return Yt.default(i,t)>0}))||!1}function yn(t){var e=t.minDate,n=t.includeDates;if(n&&e){var r=n.filter((function(t){return Wt.default(t,e)>=0}));return Ht.default(r)}return n?Ht.default(n):e}function bn(t){var e=t.maxDate,n=t.includeDates;if(n&&e){var r=n.filter((function(t){return Wt.default(t,e)<=0}));return Ut.default(r)}return n?Ut.default(n):e}function _n(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--highlighted",n=new Map,r=0,i=t.length;r1&&void 0!==arguments[1]?arguments[1]:Pe,n=Math.ceil(Nt.default(t)/e)*e;return{startPeriod:n-(e-1),endPeriod:n}}function On(t,e,n,r){for(var i=[],a=0;a<2*e+1;a++){var o=t+e-a,s=!0;n&&(s=Nt.default(n)<=o),r&&s&&(s=Nt.default(r)>=o),s&&i.push(o)}return i}var Cn=function(t){be(r,t);var n=Oe(r);function r(t){var i;pe(this,r),ge(xe(i=n.call(this,t)),"renderOptions",(function(){var t=i.props.year,e=i.state.yearsList.map((function(e){return ct.default.createElement("div",{className:t===e?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:e,onClick:i.onChange.bind(xe(i),e),"aria-selected":t===e?"true":void 0},t===e?ct.default.createElement("span",{className:"react-datepicker__year-option--selected"},"\u2713"):"",e)})),n=i.props.minDate?Nt.default(i.props.minDate):null,r=i.props.maxDate?Nt.default(i.props.maxDate):null;return r&&i.state.yearsList.find((function(t){return t===r}))||e.unshift(ct.default.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:i.incrementYears},ct.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),n&&i.state.yearsList.find((function(t){return t===n}))||e.push(ct.default.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:i.decrementYears},ct.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),e})),ge(xe(i),"onChange",(function(t){i.props.onChange(t)})),ge(xe(i),"handleClickOutside",(function(){i.props.onCancel()})),ge(xe(i),"shiftYears",(function(t){var e=i.state.yearsList.map((function(e){return e+t}));i.setState({yearsList:e})})),ge(xe(i),"incrementYears",(function(){return i.shiftYears(1)})),ge(xe(i),"decrementYears",(function(){return i.shiftYears(-1)}));var a=t.yearDropdownItemNumber,o=t.scrollableYearDropdown,s=a||(o?10:5);return i.state={yearsList:On(i.props.year,s,i.props.minDate,i.props.maxDate)},i.dropdownRef=e.createRef(),i}return ve(r,[{key:"componentDidMount",value:function(){var t=this.dropdownRef.current;t&&(t.scrollTop=t.scrollHeight/2-t.clientHeight/2)}},{key:"render",value:function(){var t=ft.default({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return ct.default.createElement("div",{className:t,ref:this.dropdownRef},this.renderOptions())}}]),r}(ct.default.Component),Mn=le.default(Cn),Sn=function(t){be(n,t);var e=Oe(n);function n(){var t;pe(this,n);for(var r=arguments.length,i=new Array(r),a=0;a0&&void 0!==arguments[0]?arguments[0]:{},n=!1;0===t.getTabIndex()&&!e.isInputFocused&&t.isSameDay(t.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),t.props.inline&&!t.props.shouldFocusDayInline&&(n=!1),t.props.containerRef&&t.props.containerRef.current&&t.props.containerRef.current.contains(document.activeElement)&&document.activeElement.classList.contains("react-datepicker__day")&&(n=!0)),n&&t.dayEl.current.focus({preventScroll:!0})})),ge(xe(t),"renderDayContents",(function(){return t.props.monthShowsDuplicateDaysEnd&&t.isAfterMonth()||t.props.monthShowsDuplicateDaysStart&&t.isBeforeMonth()?null:t.props.renderDayContents?t.props.renderDayContents(Tt.default(t.props.day),t.props.day):Tt.default(t.props.day)})),ge(xe(t),"render",(function(){return ct.default.createElement("div",{ref:t.dayEl,className:t.getClassNames(t.props.day),onKeyDown:t.handleOnKeyDown,onClick:t.handleClick,onMouseEnter:t.handleMouseEnter,tabIndex:t.getTabIndex(),"aria-label":t.getAriaLabel(),role:"option","aria-disabled":t.isDisabled(),"aria-current":t.isCurrentDay()?"date":void 0,"aria-selected":t.isSelected()},t.renderDayContents())})),t}return ve(n,[{key:"componentDidMount",value:function(){this.handleFocusDay()}},{key:"componentDidUpdate",value:function(t){this.handleFocusDay(t)}}]),n}(ct.default.Component),Rn=function(t){be(n,t);var e=Oe(n);function n(){var t;pe(this,n);for(var r=arguments.length,i=new Array(r),a=0;a=6,s=!n&&!t.isWeekInMonth(a);if(o||s){if(!t.props.peekNextMonth)break;i=!0}}return e})),ge(xe(t),"onMonthClick",(function(e,n){t.handleDayClick(Ue(zt.default(t.props.day,n)),e)})),ge(xe(t),"handleMonthNavigation",(function(e,n){t.isDisabled(n)||t.isExcluded(n)||(t.props.setPreSelection(n),t.MONTH_REFS[e].current&&t.MONTH_REFS[e].current.focus())})),ge(xe(t),"onMonthKeyDown",(function(e,n){var r=e.key;if(!t.props.disabledKeyboardNavigation)switch(r){case"Enter":t.onMonthClick(e,n),t.props.setPreSelection(t.props.selected);break;case"ArrowRight":t.handleMonthNavigation(11===n?0:n+1,bt.default(t.props.preSelection,1));break;case"ArrowLeft":t.handleMonthNavigation(0===n?11:n-1,kt.default(t.props.preSelection,1))}})),ge(xe(t),"onQuarterClick",(function(e,n){t.handleDayClick(Ve(Ft.default(t.props.day,n)),e)})),ge(xe(t),"getMonthClassNames",(function(e){var n=t.props,r=n.day,i=n.startDate,a=n.endDate,o=n.selected,s=n.minDate,u=n.maxDate,l=n.preSelection,c=n.monthClassName,f=c?c(r):void 0;return ft.default("react-datepicker__month-text","react-datepicker__month-".concat(e),f,{"react-datepicker__month--disabled":(s||u)&&an(zt.default(r,e),t.props),"react-datepicker__month--selected":t.isSelectedMonth(r,e,o),"react-datepicker__month-text--keyboard-selected":jt.default(l)===e,"react-datepicker__month--in-range":on(i,a,e,r),"react-datepicker__month--range-start":t.isRangeStartMonth(e),"react-datepicker__month--range-end":t.isRangeEndMonth(e),"react-datepicker__month-text--today":t.isCurrentMonth(r,e)})})),ge(xe(t),"getTabIndex",(function(e){var n=jt.default(t.props.preSelection);return t.props.disabledKeyboardNavigation||e!==n?"-1":"0"})),ge(xe(t),"getAriaLabel",(function(e){var n=t.props,r=n.ariaLabelPrefix,i=void 0===r?"Choose":r,a=n.disabledDayAriaLabelPrefix,o=void 0===a?"Not available":a,s=n.day,u=zt.default(s,e),l=t.isDisabled(u)||t.isExcluded(u)?o:i;return"".concat(l," ").concat(Ae(u,"MMMM yyyy"))})),ge(xe(t),"getQuarterClassNames",(function(e){var n=t.props,r=n.day,i=n.startDate,a=n.endDate,o=n.selected,s=n.minDate,u=n.maxDate;return ft.default("react-datepicker__quarter-text","react-datepicker__quarter-".concat(e),{"react-datepicker__quarter--disabled":(s||u)&&sn(Ft.default(r,e),t.props),"react-datepicker__quarter--selected":t.isSelectedQuarter(r,e,o),"react-datepicker__quarter--in-range":ln(i,a,e,r),"react-datepicker__quarter--range-start":t.isRangeStartQuarter(e),"react-datepicker__quarter--range-end":t.isRangeEndQuarter(e)})})),ge(xe(t),"renderMonths",(function(){var e=t.props,n=e.showFullMonthYearPicker,r=e.showTwoColumnMonthYearPicker,i=e.showFourColumnMonthYearPicker,a=e.locale,o=e.day,s=e.selected;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(e,r){return ct.default.createElement("div",{className:"react-datepicker__month-wrapper",key:r},e.map((function(e,r){return ct.default.createElement("div",{ref:t.MONTH_REFS[e],key:r,onClick:function(n){t.onMonthClick(n,e)},onKeyDown:function(n){t.onMonthKeyDown(n,e)},tabIndex:t.getTabIndex(e),className:t.getMonthClassNames(e),role:"option","aria-label":t.getAriaLabel(e),"aria-current":t.isCurrentMonth(o,e)?"date":void 0,"aria-selected":t.isSelectedMonth(o,e,s)},n?Je(e,a):tn(e,a))})))}))})),ge(xe(t),"renderQuarters",(function(){var e=t.props,n=e.day,r=e.selected;return ct.default.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map((function(e,i){return ct.default.createElement("div",{key:i,role:"option",onClick:function(n){t.onQuarterClick(n,e)},className:t.getQuarterClassNames(e),"aria-selected":t.isSelectedQuarter(n,e,r)},en(e,t.props.locale))})))})),ge(xe(t),"getClassNames",(function(){var e=t.props;e.day;var n=e.selectingDate,r=e.selectsStart,i=e.selectsEnd,a=e.showMonthYearPicker,o=e.showQuarterYearPicker;return ft.default("react-datepicker__month",{"react-datepicker__month--selecting-range":n&&(r||i)},{"react-datepicker__monthPicker":a},{"react-datepicker__quarterPicker":o})})),t}return ve(n,[{key:"render",value:function(){var t=this.props,e=t.showMonthYearPicker,n=t.showQuarterYearPicker,r=t.day,i=t.ariaLabelPrefix,a=void 0===i?"month ":i;return ct.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.handleMouseLeave,"aria-label":"".concat(a," ").concat(Ae(r,"yyyy-MM")),role:"listbox"},e?this.renderMonths():n?this.renderQuarters():this.renderWeeks())}}]),n}(ct.default.Component),Fn=function(t){be(n,t);var e=Oe(n);function n(){var t;pe(this,n);for(var r=arguments.length,i=new Array(r),a=0;a0&&void 0!==arguments[0]?arguments[0]:{}).className||"").split(/\s+/);return Wn.some((function(e){return t.indexOf(e)>=0}))})(t.target)&&r.props.onDropdownFocus()})),ge(xe(r),"getDateInView",(function(){var t=r.props,e=t.preSelection,n=t.selected,i=t.openToDate,a=yn(r.props),o=bn(r.props),s=De();return i||n||e||(a&&ie.default(s,a)?a:o&&re.default(s,o)?o:s)})),ge(xe(r),"increaseMonth",(function(){r.setState((function(t){var e=t.date;return{date:bt.default(e,1)}}),(function(){return r.handleMonthChange(r.state.date)}))})),ge(xe(r),"decreaseMonth",(function(){r.setState((function(t){var e=t.date;return{date:kt.default(e,1)}}),(function(){return r.handleMonthChange(r.state.date)}))})),ge(xe(r),"handleDayClick",(function(t,e,n){r.props.onSelect(t,e,n),r.props.setPreSelection&&r.props.setPreSelection(t)})),ge(xe(r),"handleDayMouseEnter",(function(t){r.setState({selectingDate:t}),r.props.onDayMouseEnter&&r.props.onDayMouseEnter(t)})),ge(xe(r),"handleMonthMouseLeave",(function(){r.setState({selectingDate:null}),r.props.onMonthMouseLeave&&r.props.onMonthMouseLeave()})),ge(xe(r),"handleYearChange",(function(t){r.props.onYearChange&&r.props.onYearChange(t),r.props.adjustDateOnChange&&(r.props.onSelect&&r.props.onSelect(t),r.props.setOpen&&r.props.setOpen(!0)),r.props.setPreSelection&&r.props.setPreSelection(t)})),ge(xe(r),"handleMonthChange",(function(t){r.props.onMonthChange&&r.props.onMonthChange(t),r.props.adjustDateOnChange&&(r.props.onSelect&&r.props.onSelect(t),r.props.setOpen&&r.props.setOpen(!0)),r.props.setPreSelection&&r.props.setPreSelection(t)})),ge(xe(r),"handleMonthYearChange",(function(t){r.handleYearChange(t),r.handleMonthChange(t)})),ge(xe(r),"changeYear",(function(t){r.setState((function(e){var n=e.date;return{date:Bt.default(n,t)}}),(function(){return r.handleYearChange(r.state.date)}))})),ge(xe(r),"changeMonth",(function(t){r.setState((function(e){var n=e.date;return{date:zt.default(n,t)}}),(function(){return r.handleMonthChange(r.state.date)}))})),ge(xe(r),"changeMonthYear",(function(t){r.setState((function(e){var n=e.date;return{date:Bt.default(zt.default(n,jt.default(t)),Nt.default(t))}}),(function(){return r.handleMonthYearChange(r.state.date)}))})),ge(xe(r),"header",(function(){var t=He(arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.state.date,r.props.locale,r.props.calendarStartDay),e=[];return r.props.showWeekNumbers&&e.push(ct.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},r.props.weekLabel||"#")),e.concat([0,1,2,3,4,5,6].map((function(e){var n=gt.default(t,e),i=r.formatWeekday(n,r.props.locale),a=r.props.weekDayClassName?r.props.weekDayClassName(n):void 0;return ct.default.createElement("div",{key:e,className:ft.default("react-datepicker__day-name",a)},i)})))})),ge(xe(r),"formatWeekday",(function(t,e){return r.props.formatWeekDay?function(t,e,n){return e(Ae(t,"EEEE",n))}(t,r.props.formatWeekDay,e):r.props.useWeekdaysShort?function(t,e){return Ae(t,"EEE",e)}(t,e):function(t,e){return Ae(t,"EEEEEE",e)}(t,e)})),ge(xe(r),"decreaseYear",(function(){r.setState((function(t){var e=t.date;return{date:Ot.default(e,r.props.showYearPicker?r.props.yearItemNumber:1)}}),(function(){return r.handleYearChange(r.state.date)}))})),ge(xe(r),"renderPreviousButton",(function(){if(!r.props.renderCustomHeader){var t;switch(!0){case r.props.showMonthYearPicker:t=vn(r.state.date,r.props);break;case r.props.showYearPicker:t=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.minDate,r=e.yearItemNumber,i=void 0===r?Pe:r,a=kn(We(Ot.default(t,i)),i).endPeriod,o=n&&Nt.default(n);return o&&o>a||!1}(r.state.date,r.props);break;default:t=pn(r.state.date,r.props)}if((r.props.forceShowMonthNavigation||r.props.showDisabledMonthNavigation||!t)&&!r.props.showTimeSelectOnly){var e=["react-datepicker__navigation","react-datepicker__navigation--previous"],n=r.decreaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(n=r.decreaseYear),t&&r.props.showDisabledMonthNavigation&&(e.push("react-datepicker__navigation--previous--disabled"),n=null);var i=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,a=r.props,o=a.previousMonthButtonLabel,s=a.previousYearButtonLabel,u=r.props,l=u.previousMonthAriaLabel,c=void 0===l?"string"==typeof o?o:"Previous Month":l,f=u.previousYearAriaLabel,d=void 0===f?"string"==typeof s?s:"Previous Year":f;return ct.default.createElement("button",{type:"button",className:e.join(" "),onClick:n,onKeyDown:r.props.handleOnKeyDown,"aria-label":i?d:c},ct.default.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"].join(" ")},i?r.props.previousYearButtonLabel:r.props.previousMonthButtonLabel))}}})),ge(xe(r),"increaseYear",(function(){r.setState((function(t){var e=t.date;return{date:_t.default(e,r.props.showYearPicker?r.props.yearItemNumber:1)}}),(function(){return r.handleYearChange(r.state.date)}))})),ge(xe(r),"renderNextButton",(function(){if(!r.props.renderCustomHeader){var t;switch(!0){case r.props.showMonthYearPicker:t=gn(r.state.date,r.props);break;case r.props.showYearPicker:t=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.maxDate,r=e.yearItemNumber,i=void 0===r?Pe:r,a=kn(_t.default(t,i),i).startPeriod,o=n&&Nt.default(n);return o&&o0&&void 0!==arguments[0]?arguments[0]:r.state.date,e=["react-datepicker__current-month"];return r.props.showYearDropdown&&e.push("react-datepicker__current-month--hasYearDropdown"),r.props.showMonthDropdown&&e.push("react-datepicker__current-month--hasMonthDropdown"),r.props.showMonthYearDropdown&&e.push("react-datepicker__current-month--hasMonthYearDropdown"),ct.default.createElement("div",{className:e.join(" ")},Ae(t,r.props.dateFormat,r.props.locale))})),ge(xe(r),"renderYearDropdown",(function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showYearDropdown&&!t)return ct.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:Nt.default(r.state.date),scrollableYearDropdown:r.props.scrollableYearDropdown,yearDropdownItemNumber:r.props.yearDropdownItemNumber})})),ge(xe(r),"renderMonthDropdown",(function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showMonthDropdown&&!t)return ct.default.createElement(Pn,{dropdownMode:r.props.dropdownMode,locale:r.props.locale,onChange:r.changeMonth,month:jt.default(r.state.date),useShortMonthInDropdown:r.props.useShortMonthInDropdown})})),ge(xe(r),"renderMonthYearDropdown",(function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showMonthYearDropdown&&!t)return ct.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})})),ge(xe(r),"renderTodayButton",(function(){if(r.props.todayButton&&!r.props.showTimeSelectOnly)return ct.default.createElement("div",{className:"react-datepicker__today-button",onClick:function(t){return r.props.onSelect(qt.default(De()),t)}},r.props.todayButton)})),ge(xe(r),"renderDefaultHeader",(function(t){var e=t.monthDate,n=t.i;return ct.default.createElement("div",{className:"react-datepicker__header ".concat(r.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},r.renderCurrentMonth(e),ct.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)),ct.default.createElement("div",{className:"react-datepicker__day-names"},r.header(e)))})),ge(xe(r),"renderCustomHeader",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.monthDate,n=t.i;if(r.props.showTimeSelect&&!r.state.monthContainer||r.props.showTimeSelectOnly)return null;var i=pn(r.state.date,r.props),a=mn(r.state.date,r.props),o=vn(r.state.date,r.props),s=gn(r.state.date,r.props),u=!r.props.showMonthYearPicker&&!r.props.showQuarterYearPicker&&!r.props.showYearPicker;return ct.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:r.props.onDropdownFocus},r.props.renderCustomHeader(de(de({},r.state),{},{customHeaderCount:n,monthDate:e,changeMonth:r.changeMonth,changeYear:r.changeYear,decreaseMonth:r.decreaseMonth,increaseMonth:r.increaseMonth,decreaseYear:r.decreaseYear,increaseYear:r.increaseYear,prevMonthButtonDisabled:i,nextMonthButtonDisabled:a,prevYearButtonDisabled:o,nextYearButtonDisabled:s})),u&&ct.default.createElement("div",{className:"react-datepicker__day-names"},r.header(e)))})),ge(xe(r),"renderYearHeader",(function(){var t=r.state.date,e=r.props,n=e.showYearPicker,i=kn(t,e.yearItemNumber),a=i.startPeriod,o=i.endPeriod;return ct.default.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},n?"".concat(a," - ").concat(o):Nt.default(t))})),ge(xe(r),"renderHeader",(function(t){switch(!0){case void 0!==r.props.renderCustomHeader:return r.renderCustomHeader(t);case r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker:return r.renderYearHeader(t);default:return r.renderDefaultHeader(t)}})),ge(xe(r),"renderMonths",(function(){if(!r.props.showTimeSelectOnly&&!r.props.showYearPicker){for(var t=[],e=r.props.showPreviousMonths?r.props.monthsShown-1:0,n=kt.default(r.state.date,e),i=0;i0;t.push(ct.default.createElement("div",{key:s,ref:function(t){r.monthContainer=t},className:"react-datepicker__month-container"},r.renderHeader({monthDate:o,i:i}),ct.default.createElement(zn,{chooseDayAriaLabelPrefix:r.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:r.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:r.props.weekAriaLabelPrefix,onChange:r.changeMonthYear,day:o,dayClassName:r.props.dayClassName,calendarStartDay:r.props.calendarStartDay,monthClassName:r.props.monthClassName,onDayClick:r.handleDayClick,handleOnKeyDown:r.props.handleOnDayKeyDown,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,excludeDateIntervals:r.props.excludeDateIntervals,highlightDates:r.props.highlightDates,selectingDate:r.state.selectingDate,includeDates:r.props.includeDates,includeDateIntervals:r.props.includeDateIntervals,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,selectsDisabledDaysInRange:r.props.selectsDisabledDaysInRange,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:l})))}return t}})),ge(xe(r),"renderYears",(function(){if(!r.props.showTimeSelectOnly)return r.props.showYearPicker?ct.default.createElement("div",{className:"react-datepicker__year--container"},r.renderHeader(),ct.default.createElement(Bn,ye({onDayClick:r.handleDayClick,date:r.state.date},r.props))):void 0})),ge(xe(r),"renderTimeSection",(function(){if(r.props.showTimeSelect&&(r.state.monthContainer||r.props.showTimeSelectOnly))return ct.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,handleOnKeyDown:r.props.handleOnKeyDown,showTimeSelectOnly:r.props.showTimeSelectOnly})})),ge(xe(r),"renderInputTimeSection",(function(){var t=new Date(r.props.selected),e=Le(t)&&Boolean(r.props.selected)?"".concat(xn(t.getHours()),":").concat(xn(t.getMinutes())):"";if(r.props.showTimeInput)return ct.default.createElement(Hn,{date:t,timeString:e,timeInputLabel:r.props.timeInputLabel,onChange:r.props.onTimeChange,customTimeInput:r.props.customTimeInput})})),r.containerRef=ct.default.createRef(),r.state={date:r.getDateInView(),selectingDate:null,monthContainer:null},r}return ve(n,[{key:"componentDidMount",value:function(){var t=this;this.props.showTimeSelect&&(this.assignMonthContainer=void t.setState({monthContainer:t.monthContainer}))}},{key:"componentDidUpdate",value:function(t){this.props.preSelection&&!Ke(this.props.preSelection,t.preSelection)?this.setState({date:this.props.preSelection}):this.props.openToDate&&!Ke(this.props.openToDate,t.openToDate)&&this.setState({date:this.props.openToDate})}},{key:"render",value:function(){var t=this.props.container||Un;return ct.default.createElement("div",{ref:this.containerRef},ct.default.createElement(t,{className:ft.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:Pe}}}]),n}(ct.default.Component),Yn=function(t){be(n,t);var e=Oe(n);function n(t){var r;return pe(this,n),(r=e.call(this,t)).el=document.createElement("div"),r}return ve(n,[{key:"componentDidMount",value:function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){this.portalRoot.removeChild(this.el)}},{key:"render",value:function(){return ce.default.createPortal(this.props.children,this.el)}}]),n}(ct.default.Component),qn=function(t){return!t.disabled&&-1!==t.tabIndex},Zn=function(t){be(n,t);var e=Oe(n);function n(t){var r;return pe(this,n),ge(xe(r=e.call(this,t)),"getTabChildren",(function(){return Array.prototype.slice.call(r.tabLoopRef.current.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(qn)})),ge(xe(r),"handleFocusStart",(function(t){var e=r.getTabChildren();e&&e.length>1&&e[e.length-1].focus()})),ge(xe(r),"handleFocusEnd",(function(t){var e=r.getTabChildren();e&&e.length>1&&e[0].focus()})),r.tabLoopRef=ct.default.createRef(),r}return ve(n,[{key:"render",value:function(){return this.props.enableTabLoop?ct.default.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},ct.default.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:"0",onFocus:this.handleFocusStart}),this.props.children,ct.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}(ct.default.Component),Kn=function(t){be(n,t);var e=Oe(n);function n(){return pe(this,n),e.apply(this,arguments)}return ve(n,[{key:"render",value:function(){var t,e=this.props,n=e.className,r=e.wrapperClassName,i=e.hidePopper,a=e.popperComponent,o=e.popperModifiers,s=e.popperPlacement,u=e.popperProps,l=e.targetComponent,c=e.enableTabLoop,f=e.popperOnKeyDown,d=e.portalId,h=e.portalHost;if(!i){var p=ft.default("react-datepicker-popper",n);t=ct.default.createElement(ut.Popper,ye({modifiers:o,placement:s},u),(function(t){var e=t.ref,n=t.style,r=t.placement,i=t.arrowProps;return ct.default.createElement(Zn,{enableTabLoop:c},ct.default.createElement("div",{ref:e,style:n,className:p,"data-placement":r,onKeyDown:f},ct.default.cloneElement(a,{arrowProps:i})))}))}this.props.popperContainer&&(t=ct.default.createElement(this.props.popperContainer,{},t)),d&&!i&&(t=ct.default.createElement(Yn,{portalId:d,portalHost:h},t));var m=ft.default("react-datepicker-wrapper",r);return ct.default.createElement(ut.Manager,{className:"react-datepicker-manager"},ct.default.createElement(ut.Reference,null,(function(t){var e=t.ref;return ct.default.createElement("div",{ref:e,className:m},l)})),t)}}],[{key:"defaultProps",get:function(){return{hidePopper:!0,popperModifiers:[],popperProps:{},popperPlacement:"bottom-start"}}}]),n}(ct.default.Component),Qn="react-datepicker-ignore-onclickoutside",Xn=le.default(Vn),$n="Date input not valid.",Gn=function(t){be(n,t);var e=Oe(n);function n(t){var r;return pe(this,n),ge(xe(r=e.call(this,t)),"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:De()})),ge(xe(r),"calcInitialState",(function(){var t,e=r.getPreSelection(),n=yn(r.props),i=bn(r.props),a=n&&ie.default(e,qt.default(n))?n:i&&re.default(e,$t.default(i))?i:e;return{open:r.props.startOpen||!1,preventFocus:!1,preSelection:null!==(t=r.props.selectsRange?r.props.startDate:r.props.selected)&&void 0!==t?t:a,highlightDates:_n(r.props.highlightDates),focused:!1,shouldFocusDayInline:!1}})),ge(xe(r),"clearPreventFocusTimeout",(function(){r.preventFocusTimeout&&clearTimeout(r.preventFocusTimeout)})),ge(xe(r),"setFocus",(function(){r.input&&r.input.focus&&r.input.focus({preventScroll:!0})})),ge(xe(r),"setBlur",(function(){r.input&&r.input.blur&&r.input.blur(),r.cancelFocusInput()})),ge(xe(r),"setOpen",(function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.setState({open:t,preSelection:t&&r.state.open?r.state.preSelection:r.calcInitialState().preSelection,lastPreSelectChange:tr},(function(){t||r.setState((function(t){return{focused:!!e&&t.focused}}),(function(){!e&&r.setBlur(),r.setState({inputValue:null})}))}))})),ge(xe(r),"inputOk",(function(){return dt.default(r.state.preSelection)})),ge(xe(r),"isCalendarOpen",(function(){return void 0===r.props.open?r.state.open&&!r.props.disabled&&!r.props.readOnly:r.props.open})),ge(xe(r),"handleFocus",(function(t){r.state.preventFocus||(r.props.onFocus(t),r.props.preventOpenOnFocus||r.props.readOnly||r.setOpen(!0)),r.setState({focused:!0})})),ge(xe(r),"cancelFocusInput",(function(){clearTimeout(r.inputFocusTimeout),r.inputFocusTimeout=null})),ge(xe(r),"deferFocusInput",(function(){r.cancelFocusInput(),r.inputFocusTimeout=setTimeout((function(){return r.setFocus()}),1)})),ge(xe(r),"handleDropdownFocus",(function(){r.cancelFocusInput()})),ge(xe(r),"handleBlur",(function(t){(!r.state.open||r.props.withPortal||r.props.showTimeInput)&&r.props.onBlur(t),r.setState({focused:!1})})),ge(xe(r),"handleCalendarClickOutside",(function(t){r.props.inline||r.setOpen(!1),r.props.onClickOutside(t),r.props.withPortal&&t.preventDefault()})),ge(xe(r),"handleChange",(function(){for(var t=arguments.length,e=new Array(t),n=0;n=128>>e&&t<=2048>>e&&t<=57344>>e&&t<=65536>>e&&t<>6>15?3:e>31?2:1;if(12===t)return e>15?3:2;if(18===t)return 3;throw new Error}for(var r=65533,i="",a=this.bitsNeeded,o=this.codePoint,s=0;s191||!e(o<<6|63&u,a-6,n(a,o)))&&(a=0,o=r,i+=String.fromCharCode(o)),0===a?(u>=0&&u<=127?(a=0,o=u):u>=192&&u<=223?(a=6,o=31&u):u>=224&&u<=239?(a=12,o=15&u):u>=240&&u<=247?(a=18,o=7&u):(a=0,o=r),0===a||e(o,a,n(a,o))||(a=0,o=r)):(a-=6,o=o<<6|63&u),0===a&&(o<=65535?i+=String.fromCharCode(o):(i+=String.fromCharCode(55296+(o-65535-1>>10)),i+=String.fromCharCode(56320+(o-65535-1&1023))))}return this.bitsNeeded=a,this.codePoint=o,i};void 0!=v&&void 0!=g&&function(){try{return"test"===(new v).decode((new g).encode("test"),{stream:!0})}catch(t){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+t)}return!1}()||(v=_);var w=function(){};function x(t){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=t,this._sendTimeout=0,this._abort=w}function k(t){return t.replace(/[A-Z]/g,(function(t){return String.fromCharCode(t.charCodeAt(0)+32)}))}function O(t){for(var e=Object.create(null),n=t.split("\r\n"),r=0;r0&&n[1]||""},t.getSecondMatch=function(t,e){var n=e.match(t);return n&&n.length>1&&n[2]||""},t.matchAndReturnConst=function(t,e,n){if(t.test(e))return n},t.getWindowsVersionName=function(t){switch(t){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},t.getMacOSVersionName=function(t){var e=t.split(".").splice(0,2).map((function(t){return parseInt(t,10)||0}));if(e.push(0),10===e[0])switch(e[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}},t.getAndroidVersionName=function(t){var e=t.split(".").splice(0,2).map((function(t){return parseInt(t,10)||0}));if(e.push(0),!(1===e[0]&&e[1]<5))return 1===e[0]&&e[1]<6?"Cupcake":1===e[0]&&e[1]>=6?"Donut":2===e[0]&&e[1]<2?"Eclair":2===e[0]&&2===e[1]?"Froyo":2===e[0]&&e[1]>2?"Gingerbread":3===e[0]?"Honeycomb":4===e[0]&&e[1]<1?"Ice Cream Sandwich":4===e[0]&&e[1]<4?"Jelly Bean":4===e[0]&&e[1]>=4?"KitKat":5===e[0]?"Lollipop":6===e[0]?"Marshmallow":7===e[0]?"Nougat":8===e[0]?"Oreo":9===e[0]?"Pie":void 0},t.getVersionPrecision=function(t){return t.split(".").length},t.compareVersions=function(e,n,r){void 0===r&&(r=!1);var i=t.getVersionPrecision(e),a=t.getVersionPrecision(n),o=Math.max(i,a),s=0,u=t.map([e,n],(function(e){var n=o-t.getVersionPrecision(e),r=e+new Array(n+1).join(".0");return t.map(r.split("."),(function(t){return new Array(20-t.length).join("0")+t})).reverse()}));for(r&&(s=o-Math.min(i,a)),o-=1;o>=s;){if(u[0][o]>u[1][o])return 1;if(u[0][o]===u[1][o]){if(o===s)return 0;o-=1}else if(u[0][o]1?i-1:0),o=1;o0){var o=Object.keys(n),u=s.default.find(o,(function(t){return e.isOS(t)}));if(u){var l=this.satisfies(n[u]);if(void 0!==l)return l}var c=s.default.find(o,(function(t){return e.isPlatform(t)}));if(c){var f=this.satisfies(n[c]);if(void 0!==f)return f}}if(a>0){var d=Object.keys(i),h=s.default.find(d,(function(t){return e.isBrowser(t,!0)}));if(void 0!==h)return this.compareVersion(i[h])}},e.isBrowser=function(t,e){void 0===e&&(e=!1);var n=this.getBrowserName().toLowerCase(),r=t.toLowerCase(),i=s.default.getBrowserTypeByAlias(r);return e&&i&&(r=i.toLowerCase()),r===n},e.compareVersion=function(t){var e=[0],n=t,r=!1,i=this.getBrowserVersion();if("string"==typeof i)return">"===t[0]||"<"===t[0]?(n=t.substr(1),"="===t[1]?(r=!0,n=t.substr(2)):e=[],">"===t[0]?e.push(1):e.push(-1)):"="===t[0]?n=t.substr(1):"~"===t[0]&&(r=!0,n=t.substr(1)),e.indexOf(s.default.compareVersions(i,n,r))>-1},e.isOS=function(t){return this.getOSName(!0)===String(t).toLowerCase()},e.isPlatform=function(t){return this.getPlatformType(!0)===String(t).toLowerCase()},e.isEngine=function(t){return this.getEngineName(!0)===String(t).toLowerCase()},e.is=function(t,e){return void 0===e&&(e=!1),this.isBrowser(t,e)||this.isOS(t)||this.isPlatform(t)},e.some=function(t){var e=this;return void 0===t&&(t=[]),t.some((function(t){return e.is(t)}))},t}();e.default=l,t.exports=e.default},92:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},a=/version\/(\d+(\.?_?\d+)+)/i,o=[{test:[/googlebot/i],describe:function(t){var e={name:"Googlebot"},n=i.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,t)||i.default.getFirstMatch(a,t);return n&&(e.version=n),e}},{test:[/opera/i],describe:function(t){var e={name:"Opera"},n=i.default.getFirstMatch(a,t)||i.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/opr\/|opios/i],describe:function(t){var e={name:"Opera"},n=i.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,t)||i.default.getFirstMatch(a,t);return n&&(e.version=n),e}},{test:[/SamsungBrowser/i],describe:function(t){var e={name:"Samsung Internet for Android"},n=i.default.getFirstMatch(a,t)||i.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/Whale/i],describe:function(t){var e={name:"NAVER Whale Browser"},n=i.default.getFirstMatch(a,t)||i.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/MZBrowser/i],describe:function(t){var e={name:"MZ Browser"},n=i.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,t)||i.default.getFirstMatch(a,t);return n&&(e.version=n),e}},{test:[/focus/i],describe:function(t){var e={name:"Focus"},n=i.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,t)||i.default.getFirstMatch(a,t);return n&&(e.version=n),e}},{test:[/swing/i],describe:function(t){var e={name:"Swing"},n=i.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,t)||i.default.getFirstMatch(a,t);return n&&(e.version=n),e}},{test:[/coast/i],describe:function(t){var e={name:"Opera Coast"},n=i.default.getFirstMatch(a,t)||i.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(t){var e={name:"Opera Touch"},n=i.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(a,t);return n&&(e.version=n),e}},{test:[/yabrowser/i],describe:function(t){var e={name:"Yandex Browser"},n=i.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(a,t);return n&&(e.version=n),e}},{test:[/ucbrowser/i],describe:function(t){var e={name:"UC Browser"},n=i.default.getFirstMatch(a,t)||i.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/Maxthon|mxios/i],describe:function(t){var e={name:"Maxthon"},n=i.default.getFirstMatch(a,t)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/epiphany/i],describe:function(t){var e={name:"Epiphany"},n=i.default.getFirstMatch(a,t)||i.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/puffin/i],describe:function(t){var e={name:"Puffin"},n=i.default.getFirstMatch(a,t)||i.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/sleipnir/i],describe:function(t){var e={name:"Sleipnir"},n=i.default.getFirstMatch(a,t)||i.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/k-meleon/i],describe:function(t){var e={name:"K-Meleon"},n=i.default.getFirstMatch(a,t)||i.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/micromessenger/i],describe:function(t){var e={name:"WeChat"},n=i.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(a,t);return n&&(e.version=n),e}},{test:[/qqbrowser/i],describe:function(t){var e={name:/qqbrowserlite/i.test(t)?"QQ Browser Lite":"QQ Browser"},n=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(a,t);return n&&(e.version=n),e}},{test:[/msie|trident/i],describe:function(t){var e={name:"Internet Explorer"},n=i.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/\sedg\//i],describe:function(t){var e={name:"Microsoft Edge"},n=i.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/edg([ea]|ios)/i],describe:function(t){var e={name:"Microsoft Edge"},n=i.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/vivaldi/i],describe:function(t){var e={name:"Vivaldi"},n=i.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/seamonkey/i],describe:function(t){var e={name:"SeaMonkey"},n=i.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/sailfish/i],describe:function(t){var e={name:"Sailfish"},n=i.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,t);return n&&(e.version=n),e}},{test:[/silk/i],describe:function(t){var e={name:"Amazon Silk"},n=i.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/phantom/i],describe:function(t){var e={name:"PhantomJS"},n=i.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/slimerjs/i],describe:function(t){var e={name:"SlimerJS"},n=i.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var e={name:"BlackBerry"},n=i.default.getFirstMatch(a,t)||i.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var e={name:"WebOS Browser"},n=i.default.getFirstMatch(a,t)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/bada/i],describe:function(t){var e={name:"Bada"},n=i.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/tizen/i],describe:function(t){var e={name:"Tizen"},n=i.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(a,t);return n&&(e.version=n),e}},{test:[/qupzilla/i],describe:function(t){var e={name:"QupZilla"},n=i.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(a,t);return n&&(e.version=n),e}},{test:[/firefox|iceweasel|fxios/i],describe:function(t){var e={name:"Firefox"},n=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/electron/i],describe:function(t){var e={name:"Electron"},n=i.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/MiuiBrowser/i],describe:function(t){var e={name:"Miui"},n=i.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/chromium/i],describe:function(t){var e={name:"Chromium"},n=i.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(a,t);return n&&(e.version=n),e}},{test:[/chrome|crios|crmo/i],describe:function(t){var e={name:"Chrome"},n=i.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/GSA/i],describe:function(t){var e={name:"Google Search"},n=i.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:function(t){var e=!t.test(/like android/i),n=t.test(/android/i);return e&&n},describe:function(t){var e={name:"Android Browser"},n=i.default.getFirstMatch(a,t);return n&&(e.version=n),e}},{test:[/playstation 4/i],describe:function(t){var e={name:"PlayStation 4"},n=i.default.getFirstMatch(a,t);return n&&(e.version=n),e}},{test:[/safari|applewebkit/i],describe:function(t){var e={name:"Safari"},n=i.default.getFirstMatch(a,t);return n&&(e.version=n),e}},{test:[/.*/i],describe:function(t){var e=-1!==t.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:i.default.getFirstMatch(e,t),version:i.default.getSecondMatch(e,t)}}}];e.default=o,t.exports=e.default},93:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},a=n(18),o=[{test:[/Roku\/DVP/],describe:function(t){var e=i.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,t);return{name:a.OS_MAP.Roku,version:e}}},{test:[/windows phone/i],describe:function(t){var e=i.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,t);return{name:a.OS_MAP.WindowsPhone,version:e}}},{test:[/windows /i],describe:function(t){var e=i.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,t),n=i.default.getWindowsVersionName(e);return{name:a.OS_MAP.Windows,version:e,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(t){var e={name:a.OS_MAP.iOS},n=i.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,t);return n&&(e.version=n),e}},{test:[/macintosh/i],describe:function(t){var e=i.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,t).replace(/[_\s]/g,"."),n=i.default.getMacOSVersionName(e),r={name:a.OS_MAP.MacOS,version:e};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe:function(t){var e=i.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,t).replace(/[_\s]/g,".");return{name:a.OS_MAP.iOS,version:e}}},{test:function(t){var e=!t.test(/like android/i),n=t.test(/android/i);return e&&n},describe:function(t){var e=i.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,t),n=i.default.getAndroidVersionName(e),r={name:a.OS_MAP.Android,version:e};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var e=i.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,t),n={name:a.OS_MAP.WebOS};return e&&e.length&&(n.version=e),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var e=i.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,t)||i.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,t)||i.default.getFirstMatch(/\bbb(\d+)/i,t);return{name:a.OS_MAP.BlackBerry,version:e}}},{test:[/bada/i],describe:function(t){var e=i.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,t);return{name:a.OS_MAP.Bada,version:e}}},{test:[/tizen/i],describe:function(t){var e=i.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,t);return{name:a.OS_MAP.Tizen,version:e}}},{test:[/linux/i],describe:function(){return{name:a.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:a.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(t){var e=i.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,t);return{name:a.OS_MAP.PlayStation4,version:e}}}];e.default=o,t.exports=e.default},94:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},a=n(18),o=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(t){var e=i.default.getFirstMatch(/(can-l01)/i,t)&&"Nova",n={type:a.PLATFORMS_MAP.mobile,vendor:"Huawei"};return e&&(n.model=e),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet}}},{test:function(t){var e=t.test(/ipod|iphone/i),n=t.test(/like (ipod|iphone)/i);return e&&!n},describe:function(t){var e=i.default.getFirstMatch(/(ipod|iphone)/i,t);return{type:a.PLATFORMS_MAP.mobile,vendor:"Apple",model:e}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(t){return"blackberry"===t.getBrowserName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(t){return"bada"===t.getBrowserName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(t){return"windows phone"===t.getBrowserName()},describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(t){var e=Number(String(t.getOSVersion()).split(".")[0]);return"android"===t.getOSName(!0)&&e>=3},describe:function(){return{type:a.PLATFORMS_MAP.tablet}}},{test:function(t){return"android"===t.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(t){return"macos"===t.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(t){return"windows"===t.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.desktop}}},{test:function(t){return"linux"===t.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.desktop}}},{test:function(t){return"playstation 4"===t.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.tv}}},{test:function(t){return"roku"===t.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.tv}}}];e.default=o,t.exports=e.default},95:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},a=n(18),o=[{test:function(t){return"microsoft edge"===t.getBrowserName(!0)},describe:function(t){if(/\sedg\//i.test(t))return{name:a.ENGINE_MAP.Blink};var e=i.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,t);return{name:a.ENGINE_MAP.EdgeHTML,version:e}}},{test:[/trident/i],describe:function(t){var e={name:a.ENGINE_MAP.Trident},n=i.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:function(t){return t.test(/presto/i)},describe:function(t){var e={name:a.ENGINE_MAP.Presto},n=i.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:function(t){var e=t.test(/gecko/i),n=t.test(/like gecko/i);return e&&!n},describe:function(t){var e={name:a.ENGINE_MAP.Gecko},n=i.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:a.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(t){var e={name:a.ENGINE_MAP.WebKit},n=i.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}}];e.default=o,t.exports=e.default}})},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(9),i=n(146),a=n(5);function o(t,e){var n=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return n<0?-1:n>0?1:n}function s(t,e){Object(a.a)(2,arguments);var n=Object(r.default)(t),s=Object(r.default)(e),u=o(n,s),l=Math.abs(Object(i.default)(n,s));n.setDate(n.getDate()-u*l);var c=Number(o(n,s)===-u),f=u*(l-c);return 0===f?0:f}},function(t,e,n){t.exports=function(t,e){"use strict";function n(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var r=n(t),i=n(e);function a(t){return r.default.createElement("button",{type:"button",className:t.classNames.selectedTag,title:t.removeButtonText,onClick:t.onDelete},r.default.createElement("span",{className:t.classNames.selectedTagName},t.tag.name))}var o={position:"absolute",width:0,height:0,visibility:"hidden",overflow:"scroll",whiteSpace:"pre"},s=["fontSize","fontFamily","fontWeight","fontStyle","letterSpacing","textTransform"],u=function(t){function e(e){t.call(this,e),this.state={inputWidth:null},this.input=r.default.createRef(),this.sizer=r.default.createRef()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.componentDidMount=function(){this.props.autoresize&&(this.copyInputStyles(),this.updateInputWidth())},e.prototype.componentDidUpdate=function(t){var e=t.query,n=t.placeholderText;e===this.props.query&&n===this.props.placeholderText||this.updateInputWidth()},e.prototype.copyInputStyles=function(){var t=this,e=window.getComputedStyle(this.input.current);s.forEach((function(n){t.sizer.current.style[n]=e[n]}))},e.prototype.updateInputWidth=function(){var t;this.props.autoresize&&(t=Math.ceil(this.sizer.current.scrollWidth)+2),t!==this.state.inputWidth&&this.setState({inputWidth:t})},e.prototype.render=function(){var t=this.props,e=t.id,n=t.query,i=t.ariaLabelText,a=t.placeholderText,s=t.expanded,u=t.classNames,l=t.inputAttributes,c=t.inputEventHandlers,f=t.index;return r.default.createElement("div",{className:u.searchWrapper},r.default.createElement("input",Object.assign({},l,c,{ref:this.input,value:n,placeholder:a,className:u.searchInput,role:"combobox","aria-autocomplete":"list","aria-label":i||a,"aria-owns":e,"aria-activedescendant":f>-1?e+"-"+f:null,"aria-expanded":s,style:{width:this.state.inputWidth}})),r.default.createElement("div",{ref:this.sizer,style:o},n||a))},e}(r.default.Component);function l(t){return t.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function c(t){return new RegExp(l(t),"gi")}function f(t){return new RegExp("(?:^|\\s)"+l(t),"i")}function d(t){return new RegExp("^"+l(t)+"$","i")}function h(t,e){var n=c(e);return t.replace(n,"$&")}function p(t){var e=t.item,n=t.query;return r.default.createElement("span",{dangerouslySetInnerHTML:{__html:h(e.name,n)}})}function m(t){var e=t.suggestionComponent||p,n=t.options.map((function(n,i){var a=t.id+"-"+i,o=[];return t.index===i&&o.push(t.classNames.suggestionActive),n.disabled&&o.push(t.classNames.suggestionDisabled),r.default.createElement("li",{id:a,key:a,role:"option",className:o.join(" "),"aria-disabled":Boolean(n.disabled),onMouseDown:function(t){return t.preventDefault()},onClick:function(){return t.addTag(n)}},n.prefix?r.default.createElement("span",{className:t.classNames.suggestionPrefix},n.prefix," "):null,n.disableMarkIt?n.name:r.default.createElement(e,{item:n,query:t.query}))}));return r.default.createElement("div",{className:t.classNames.suggestions},r.default.createElement("ul",{role:"listbox",id:t.id},n))}function v(t,e){var n=t.querySelectorAll("a,button,input"),r=Array.prototype.findIndex.call(n,(function(t){return t===e})),i=n[r-1]||n[r+1];i&&i.focus()}var g={ENTER:"Enter",TAB:"Tab",BACKSPACE:"Backspace",UP_ARROW:"ArrowUp",UP_ARROW_COMPAT:"Up",DOWN_ARROW:"ArrowDown",DOWN_ARROW_COMPAT:"Down"},y={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",suggestionPrefix:"react-tags__suggestion-prefix"};function b(t,e){return t.findIndex((function(t){return d(e).test(t.name)}))}function _(){if(this.state.query.length>=this.props.minQueryLength){var t=b(this.state.options,this.state.query),e=-1===this.state.index?t:this.state.index,n=e>-1?this.state.options[e]:null;n?this.addTag(n):this.props.allowNew&&this.addTag({name:this.state.query})}}function w(t){t.preventDefault();var e=this.state.options.length-1;this.setState({index:this.state.index<=0?e:this.state.index-1})}function x(t){t.preventDefault();var e=this.state.options.length-1;this.setState({index:this.state.index>=e?0:this.state.index+1})}function k(){this.state.query.length||this.deleteTag(this.props.tags.length-1)}function O(t,e){return f(e).test(t.name)}function C(t,e){var n;return n=(n=t.suggestionsTransform?t.suggestionsTransform(e.query,t.suggestions):t.suggestions.filter((function(n){return t.suggestionsFilter(n,e.query)}))).slice(0,t.maxSuggestionsLength),t.allowNew&&t.newTagText&&-1===b(n,e.query)?n.push({id:0,name:e.query,prefix:t.newTagText,disableMarkIt:!0}):t.noSuggestionsText&&0===n.length&&n.push({id:0,name:t.noSuggestionsText,disabled:!0,disableMarkIt:!0}),n}var M=function(t){function e(e){t.call(this,e),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=r.default.createRef(),this.input=r.default.createRef()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.onInput=function(t){var e=t.target.value;this.props.onInput&&this.props.onInput(e),e.length===this.state.query.length+1&&this.props.delimiters.indexOf(e.slice(-1))>-1?_.call(this):e!==this.state.query&&this.setState({query:e})},e.prototype.onKeyDown=function(t){this.props.delimiters.indexOf(t.key)>-1&&((this.state.query||this.state.index>-1)&&t.preventDefault(),_.call(this)),t.key===g.BACKSPACE&&this.props.allowBackspace&&k.call(this,t),t.key!==g.UP_ARROW&&t.key!==g.UP_ARROW_COMPAT||w.call(this,t),t.key!==g.DOWN_ARROW&&t.key!==g.DOWN_ARROW_COMPAT||x.call(this,t)},e.prototype.onClick=function(t){document.activeElement!==t.target&&this.focusInput()},e.prototype.onBlur=function(){this.setState({focused:!1,index:-1}),this.props.onBlur&&this.props.onBlur(),this.props.addOnBlur&&_.call(this)},e.prototype.onFocus=function(){this.setState({focused:!0}),this.props.onFocus&&this.props.onFocus()},e.prototype.onDeleteTag=function(t,e){this.container.current&&v(this.container.current,e.currentTarget),this.deleteTag(t)},e.prototype.addTag=function(t){t.disabled||("function"!==typeof this.props.onValidate||this.props.onValidate(t))&&(this.props.onAddition({id:t.id,name:t.name}),this.clearInput())},e.prototype.deleteTag=function(t){this.props.onDelete(t)},e.prototype.clearInput=function(){this.setState({query:"",index:-1})},e.prototype.clearSelectedIndex=function(){this.setState({index:-1})},e.prototype.focusInput=function(){this.input.current&&this.input.current.input.current&&this.input.current.input.current.focus()},e.prototype.render=function(){var t=this,e=this.props.tagComponent||a,n=this.state.focused&&this.state.query.length>=this.props.minQueryLength,i=Object.assign({},y,this.props.classNames),o=[i.root];return this.state.focused&&o.push(i.rootFocused),r.default.createElement("div",{ref:this.container,className:o.join(" "),onClick:this.onClick.bind(this)},r.default.createElement("div",{className:i.selected,"aria-relevant":"additions removals","aria-live":"polite"},this.props.tags.map((function(n,a){return r.default.createElement(e,{key:a,tag:n,removeButtonText:t.props.removeButtonText,classNames:i,onDelete:t.onDeleteTag.bind(t,a)})}))),r.default.createElement("div",{className:i.search},r.default.createElement(u,Object.assign({},this.state,{id:this.props.id,ref:this.input,classNames:i,inputAttributes:this.props.inputAttributes,inputEventHandlers:this.inputEventHandlers,autoresize:this.props.autoresize,expanded:n,placeholderText:this.props.placeholderText,ariaLabelText:this.props.ariaLabelText})),n&&this.state.options.length?r.default.createElement(m,Object.assign({},this.state,{id:this.props.id,classNames:i,expanded:n,addTag:this.addTag.bind(this),suggestionComponent:this.props.suggestionComponent})):null))},e.getDerivedStateFromProps=function(t,e){return e.prevQuery!==e.query||e.prevSuggestions!==t.suggestions?{prevQuery:e.query,prevSuggestions:t.suggestions,options:C(t,e)}:null},e}(r.default.Component);return M.defaultProps={id:"ReactTags",tags:[],placeholderText:"Add new tag",removeButtonText:"Click to remove tag",noSuggestionsText:null,newTagText:null,suggestions:[],suggestionsFilter:O,suggestionsTransform:null,autoresize:!0,classNames:y,delimiters:[g.TAB,g.ENTER],minQueryLength:2,maxSuggestionsLength:6,allowNew:!1,allowBackspace:!0,addOnBlur:!1,tagComponent:null,suggestionComponent:null,inputAttributes:{}},M.propTypes={id:i.default.string,tags:i.default.arrayOf(i.default.object),placeholderText:i.default.string,ariaLabelText:i.default.string,removeButtonText:i.default.string,noSuggestionsText:i.default.string,newTagText:i.default.string,suggestions:i.default.arrayOf(i.default.object),suggestionsFilter:i.default.func,suggestionsTransform:i.default.func,autoresize:i.default.bool,delimiters:i.default.arrayOf(i.default.string),onDelete:i.default.func.isRequired,onAddition:i.default.func.isRequired,onInput:i.default.func,onFocus:i.default.func,onBlur:i.default.func,onValidate:i.default.func,minQueryLength:i.default.number,maxSuggestionsLength:i.default.number,classNames:i.default.object,allowNew:i.default.bool,allowBackspace:i.default.bool,addOnBlur:i.default.bool,tagComponent:i.default.oneOfType([i.default.func,i.default.element]),suggestionComponent:i.default.oneOfType([i.default.func,i.default.element]),inputAttributes:i.default.object},M}(n(2),n(1))},function(t,e,n){"use strict";n.d(e,"a",(function(){return N}));var r=n(2),i=n.n(r);function a(){return(a=Object.assign||function(t){for(var e=1;e=0||(i[n]=t[n]);return i}function s(t){var e=Object(r.useRef)(t),n=Object(r.useRef)((function(t){e.current&&e.current(t)}));return e.current=t,n.current}var u=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=1),t>n?n:t0:t.buttons>0)&&h.current?p(f(h.current,t,v.current)):n(!1)},e=function(){return n(!1)};function n(n){var r=g.current,i=c(h.current),a=n?i.addEventListener:i.removeEventListener;a(r?"touchmove":"mousemove",t),a(r?"touchend":"mouseup",e)}return[function(t){var e=t.nativeEvent,r=h.current;if(r&&(d(e),!function(t,e){return e&&!l(t)}(e,g.current)&&r)){if(l(e)){g.current=!0;var i=e.changedTouches||[];i.length&&(v.current=i[0].identifier)}r.focus(),p(f(r,e,v.current)),n(!0)}},function(t){var e=t.which||t.keyCode;e<37||e>40||(t.preventDefault(),m({left:39===e?.05:37===e?-.05:0,top:40===e?.05:38===e?-.05:0}))},n]}),[m,p]),b=y[0],_=y[1],w=y[2];return Object(r.useEffect)((function(){return w}),[w]),i.a.createElement("div",a({},u,{onTouchStart:b,onMouseDown:b,className:"react-colorful__interactive",ref:h,onKeyDown:_,tabIndex:0,role:"slider"}))})),p=function(t){return t.filter(Boolean).join(" ")},m=function(t){var e=t.color,n=t.left,r=t.top,a=void 0===r?.5:r,o=p(["react-colorful__pointer",t.className]);return i.a.createElement("div",{className:o,style:{top:100*a+"%",left:100*n+"%"}},i.a.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:e}}))},v=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=Math.pow(10,e)),Math.round(n*t)/n},g=(Math.PI,function(t){return"#"===t[0]&&(t=t.substr(1)),t.length<6?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:1}:{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:1}}),y=function(t){var e=t.s,n=t.v,r=t.a,i=(200-e)*n/100;return{h:v(t.h),s:v(i>0&&i<200?e*n/100/(i<=100?i:200-i)*100:0),l:v(i/2),a:v(r,2)}},b=function(t){var e=y(t);return"hsl("+e.h+", "+e.s+"%, "+e.l+"%)"},_=function(t){var e=t.h,n=t.s,r=t.v,i=t.a;e=e/360*6,n/=100,r/=100;var a=Math.floor(e),o=r*(1-n),s=r*(1-(e-a)*n),u=r*(1-(1-e+a)*n),l=a%6;return{r:v(255*[r,s,o,o,u,r][l]),g:v(255*[u,r,r,s,o,o][l]),b:v(255*[o,o,u,r,r,s][l]),a:v(i,2)}},w=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},x=function(t){var e=t.r,n=t.g,r=t.b,i=t.a,a=Math.max(e,n,r),o=a-Math.min(e,n,r),s=o?a===e?(n-r)/o:a===n?2+(r-e)/o:4+(e-n)/o:0;return{h:v(60*(s<0?s+6:s)),s:v(a?o/a*100:0),v:v(a/255*100),a:i}},k=i.a.memo((function(t){var e=t.hue,n=t.onChange,r=p(["react-colorful__hue",t.className]);return i.a.createElement("div",{className:r},i.a.createElement(h,{onMove:function(t){n({h:360*t.left})},onKey:function(t){n({h:u(e+360*t.left,0,360)})},"aria-label":"Hue","aria-valuetext":v(e)},i.a.createElement(m,{className:"react-colorful__hue-pointer",left:e/360,color:b({h:e,s:100,v:100,a:1})})))})),O=i.a.memo((function(t){var e=t.hsva,n=t.onChange,r={backgroundColor:b({h:e.h,s:100,v:100,a:1})};return i.a.createElement("div",{className:"react-colorful__saturation",style:r},i.a.createElement(h,{onMove:function(t){n({s:100*t.left,v:100-100*t.top})},onKey:function(t){n({s:u(e.s+100*t.left,0,100),v:u(e.v-100*t.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+v(e.s)+"%, Brightness "+v(e.v)+"%"},i.a.createElement(m,{className:"react-colorful__saturation-pointer",top:1-e.v/100,left:e.s/100,color:b(e)})))})),C=function(t,e){if(t===e)return!0;for(var n in t)if(t[n]!==e[n])return!1;return!0};function M(t,e,n){var i=s(n),a=Object(r.useState)((function(){return t.toHsva(e)})),o=a[0],u=a[1],l=Object(r.useRef)({color:e,hsva:o});Object(r.useEffect)((function(){if(!t.equal(e,l.current.color)){var n=t.toHsva(e);l.current={hsva:n,color:e},u(n)}}),[e,t]),Object(r.useEffect)((function(){var e;C(o,l.current.hsva)||t.equal(e=t.fromHsva(o),l.current.color)||(l.current={hsva:o,color:e},i(e))}),[o,t,i]);var c=Object(r.useCallback)((function(t){u((function(e){return Object.assign({},e,t)}))}),[]);return[o,c]}var S,E="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,T=new Map,P=function(t){E((function(){var e=t.current?t.current.ownerDocument:document;if(void 0!==e&&!T.has(e)){var r=e.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(e,r);var i=S||n.nc;i&&r.setAttribute("nonce",i),e.head.appendChild(r)}}),[])},j=function(t){var e=t.className,n=t.colorModel,s=t.color,u=void 0===s?n.defaultColor:s,l=t.onChange,c=o(t,["className","colorModel","color","onChange"]),f=Object(r.useRef)(null);P(f);var d=M(n,u,l),h=d[0],m=d[1],v=p(["react-colorful",e]);return i.a.createElement("div",a({},c,{ref:f,className:v}),i.a.createElement(O,{hsva:h,onChange:m}),i.a.createElement(k,{hue:h.h,onChange:m,className:"react-colorful__last-control"}))},D={defaultColor:"000",toHsva:function(t){return x(g(t))},fromHsva:function(t){return n=(e=_(t)).g,r=e.b,"#"+w(e.r)+w(n)+w(r);var e,n,r},equal:function(t,e){return t.toLowerCase()===e.toLowerCase()||C(g(t),g(e))}},N=function(t){return i.a.createElement(j,a({},t,{colorModel:D}))}},,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(105),i=n(120),a=n(62),o=n(106);function s(t){return Object(r.a)(t)||Object(i.a)(t)||Object(a.a)(t)||Object(o.a)()}},function(t,e,n){"use strict";function r(t){return function(e){var n=e.dispatch,r=e.getState;return function(e){return function(i){return"function"===typeof i?i(n,r,t):e(i)}}}}var i=r();i.withExtraArgument=r,e.a=i},function(t,e,n){"use strict";e.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(t,e,n){"use strict";e.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(t,e,n){"use strict";e.a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC"},function(t,e,n){"use strict";var r=n(17),i=n(89);var a=n(68),o=n(49),s=n(64),u=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=s.a.init,t.prototype["@@transducer/result"]=s.a.result,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}(),l=Object(r.a)((function(t,e){return new u(t,e)})),c=n(51),f=Object(r.a)(Object(i.a)(["filter"],l,(function(t,e){return Object(a.a)(e)?Object(o.a)((function(n,r){return t(e[r])&&(n[r]=e[r]),n}),{},Object(c.a)(e)):function(t,e){for(var n=0,r=e.length,i=[];n27&&s.setDate(30),s.setMonth(s.getMonth()-c*f);var d=Object(a.a)(s,u)===-c;l(Object(r.default)(t))&&1===f&&1===Object(a.a)(t,u)&&(d=!1),n=c*(f-Number(d))}return 0===n?0:n}},function(t,e,n){"use strict";n.d(e,"a",(function(){return v})),n.d(e,"b",(function(){return g})),n.d(e,"c",(function(){return y}));var r=n(7),i=n(2),a=n.n(i),o=n(40),s=n(52);function u(t){function e(e,n){var r=t(e).current,o=r.instance,u=r.context;return Object(i.useImperativeHandle)(n,(function(){return o})),null==e.children?null:a.a.createElement(s.b,{value:u},e.children)}return Object(i.forwardRef)(e)}function l(t){function e(e,n){var r=t(e).current.instance;return Object(i.useImperativeHandle)(n,(function(){return r})),null}return Object(i.forwardRef)(e)}function c(t,e){return null==e?function(e,n){return Object(i.useRef)(t(e,n))}:function(n,r){var a=Object(i.useRef)(t(n,r)),o=Object(i.useRef)(n),s=a.current.instance;return Object(i.useEffect)((function(){o.current!==n&&(e(s,n,o.current),o.current=n)}),[s,n,r]),a}}function f(t,e){var n=Object(i.useRef)(e);Object(i.useEffect)((function(){e!==n.current&&null!=t.attributionControl&&(null!=n.current&&t.attributionControl.removeAttribution(n.current),null!=e&&t.attributionControl.addAttribution(e)),n.current=e}),[t,e])}function d(t,e){var n=Object(i.useRef)();Object(i.useEffect)((function(){return null!=e&&t.instance.on(e),n.current=e,function(){null!=n.current&&t.instance.off(n.current),n.current=null}}),[t,e])}var h=n(84);function p(t,e){Object(i.useEffect)((function(){var n;return(null!==(n=e.layerContainer)&&void 0!==n?n:e.map).addLayer(t.instance),function(){var n;null==(n=e.layerContainer)||n.removeLayer(t.instance),e.map.removeLayer(t.instance)}}),[e,t])}function m(t){return function(e){var n=Object(s.c)(),r=t(Object(h.a)(e,n),n);return f(n.map,e.attribution),d(r.current,e.eventHandlers),p(r.current,n),r}}function v(t,e){return u(m(c(t,e)))}function g(t,e){return function(t){function e(e,n){var a=Object(i.useState)(!1),s=Object(r.a)(a,2),u=s[0],l=s[1],c=t(e,l).current.instance;Object(i.useImperativeHandle)(n,(function(){return c})),Object(i.useEffect)((function(){u&&c.update()}),[c,u,e.children]);var f=c._contentNode;return f?Object(o.createPortal)(e.children,f):null}return Object(i.forwardRef)(e)}(function(t,e){return function(n,r){var i=Object(s.c)(),a=t(Object(h.a)(n,i),i);return f(i.map,n.attribution),d(a.current,n.eventHandlers),e(a.current,i,n,r),a}}(c(t),e))}function y(t,e){return l(m(c(t,e)))}},function(t,e,n){"use strict";var r=n(20),i=n(108),a=n(55),o=n(68),s=n(63),u=Object(r.a)((function(t){return null!=t&&"function"===typeof t["fantasy-land/empty"]?t["fantasy-land/empty"]():null!=t&&null!=t.constructor&&"function"===typeof t.constructor["fantasy-land/empty"]?t.constructor["fantasy-land/empty"]():null!=t&&"function"===typeof t.empty?t.empty():null!=t&&null!=t.constructor&&"function"===typeof t.constructor.empty?t.constructor.empty():Object(a.a)(t)?[]:Object(s.a)(t)?"":Object(o.a)(t)?{}:Object(i.a)(t)?function(){return arguments}():void 0})),l=n(86),c=Object(r.a)((function(t){return null!=t&&Object(l.a)(t,u(t))}));e.a=c},,,,function(t,e,n){"use strict";var r=n(2),i=n(131),a=n(218);function o(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n